@thera-hr/api-sdk 0.0.1-prerelease3047-dev-2 → 0.0.1-prerelease3047-dev-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  19. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  21. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  24. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  26. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  27. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  28. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  30. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  52. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  53. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  54. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  55. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  56. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  57. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  59. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  60. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  61. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  63. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  66. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  67. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  68. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  69. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  70. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  71. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  72. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  73. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  74. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  75. package/api/resources/db/resources/company/types/index.d.ts +1 -0
  76. package/api/resources/db/resources/company/types/index.js +1 -0
  77. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  78. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  79. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  80. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  81. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  82. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  83. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  84. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  89. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  90. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  91. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  92. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  93. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  94. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  95. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  97. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  98. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  100. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  118. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  119. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  120. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  121. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  122. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  123. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  125. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  126. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  127. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  128. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  129. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  132. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  133. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  134. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  135. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  136. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  137. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  138. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  139. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  140. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  141. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  142. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  143. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  144. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  145. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  146. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  147. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  148. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  149. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  150. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  151. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  152. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  153. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  154. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  155. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
  156. package/dist/api/resources/db/resources/company/types/index.js +1 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  158. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  159. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  160. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  199. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  202. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  211. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  212. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  213. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  214. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  215. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  216. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  217. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  218. package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
  219. package/dist/version.d.ts +1 -1
  220. package/dist/version.js +1 -1
  221. package/package.json +1 -1
  222. package/reference.md +332 -1023
  223. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  224. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  225. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  226. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  228. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  230. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  234. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  240. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  241. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  242. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  243. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  244. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  245. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  246. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  247. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  248. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  249. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  250. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  251. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  252. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  253. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  254. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  255. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  256. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  257. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  258. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  259. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  260. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  261. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  262. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  263. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  264. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  265. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  266. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  267. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  268. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  269. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  270. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  271. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  272. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  273. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  274. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  275. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  276. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  277. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  278. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  279. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  280. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  281. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  282. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  283. package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  284. package/serialization/resources/db/resources/company/types/index.js +1 -0
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
  287. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  288. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  289. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  290. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  291. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  292. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  293. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  294. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
package/reference.md CHANGED
@@ -2499,8 +2499,6 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalDeliveryEstimate("string"
2499
2499
  await client.api.thera.bank.bankApi.getPayInHistory("string", {
2500
2500
  status: "PENDING",
2501
2501
  offPlatformOnly: true,
2502
- pageSize: 1000000,
2503
- afterCursor: "string",
2504
2502
  });
2505
2503
  ```
2506
2504
 
@@ -2967,150 +2965,6 @@ await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
2967
2965
  </dl>
2968
2966
  </details>
2969
2967
 
2970
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPaymentByTypeAndId</a>(companyId, paymentId, { ...params }) -> TheraApi.HistoricPayment</code></summary>
2971
- <dl>
2972
- <dd>
2973
-
2974
- #### 📝 Description
2975
-
2976
- <dl>
2977
- <dd>
2978
-
2979
- <dl>
2980
- <dd>
2981
-
2982
- Get a specific W2 subscription or EOR payment by its ID. This endpoint is optimized for direct retrieval without pagination concerns.
2983
-
2984
- </dd>
2985
- </dl>
2986
- </dd>
2987
- </dl>
2988
-
2989
- #### 🔌 Usage
2990
-
2991
- <dl>
2992
- <dd>
2993
-
2994
- <dl>
2995
- <dd>
2996
-
2997
- ```typescript
2998
- await client.api.thera.bank.bankApi.getPaymentByTypeAndId("string", "string", {
2999
- paymentType: "string",
3000
- });
3001
- ```
3002
-
3003
- </dd>
3004
- </dl>
3005
- </dd>
3006
- </dl>
3007
-
3008
- #### ⚙️ Parameters
3009
-
3010
- <dl>
3011
- <dd>
3012
-
3013
- <dl>
3014
- <dd>
3015
-
3016
- **companyId:** `string`
3017
-
3018
- </dd>
3019
- </dl>
3020
-
3021
- <dl>
3022
- <dd>
3023
-
3024
- **paymentId:** `string`
3025
-
3026
- </dd>
3027
- </dl>
3028
-
3029
- <dl>
3030
- <dd>
3031
-
3032
- **request:** `TheraApi.api.thera.bank.GetPaymentByTypeRequest`
3033
-
3034
- </dd>
3035
- </dl>
3036
-
3037
- <dl>
3038
- <dd>
3039
-
3040
- **requestOptions:** `BankApi.RequestOptions`
3041
-
3042
- </dd>
3043
- </dl>
3044
- </dd>
3045
- </dl>
3046
-
3047
- </dd>
3048
- </dl>
3049
- </details>
3050
-
3051
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPayInCount</a>(companyId) -> TheraApi.GetPayInCountResponse</code></summary>
3052
- <dl>
3053
- <dd>
3054
-
3055
- #### 📝 Description
3056
-
3057
- <dl>
3058
- <dd>
3059
-
3060
- <dl>
3061
- <dd>
3062
-
3063
- Get the total count of pay-ins for a company. This endpoint is optimized for counting large datasets efficiently.
3064
-
3065
- </dd>
3066
- </dl>
3067
- </dd>
3068
- </dl>
3069
-
3070
- #### 🔌 Usage
3071
-
3072
- <dl>
3073
- <dd>
3074
-
3075
- <dl>
3076
- <dd>
3077
-
3078
- ```typescript
3079
- await client.api.thera.bank.bankApi.getPayInCount("string");
3080
- ```
3081
-
3082
- </dd>
3083
- </dl>
3084
- </dd>
3085
- </dl>
3086
-
3087
- #### ⚙️ Parameters
3088
-
3089
- <dl>
3090
- <dd>
3091
-
3092
- <dl>
3093
- <dd>
3094
-
3095
- **companyId:** `string`
3096
-
3097
- </dd>
3098
- </dl>
3099
-
3100
- <dl>
3101
- <dd>
3102
-
3103
- **requestOptions:** `BankApi.RequestOptions`
3104
-
3105
- </dd>
3106
- </dl>
3107
- </dd>
3108
- </dl>
3109
-
3110
- </dd>
3111
- </dl>
3112
- </details>
3113
-
3114
2968
  ## Bridge APIs
3115
2969
 
3116
2970
  <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">requestTosLink</a>() -> TheraApi.TosLinkResponse</code></summary>
@@ -8570,7 +8424,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8570
8424
 
8571
8425
  ## Oncycle API
8572
8426
 
8573
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
8427
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId, checkPayScheduleId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
8574
8428
  <dl>
8575
8429
  <dd>
8576
8430
 
@@ -8596,7 +8450,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8596
8450
  <dd>
8597
8451
 
8598
8452
  ```typescript
8599
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8453
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
8600
8454
  ```
8601
8455
 
8602
8456
  </dd>
@@ -8620,6 +8474,14 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8620
8474
  <dl>
8621
8475
  <dd>
8622
8476
 
8477
+ **checkPayScheduleId:** `string`
8478
+
8479
+ </dd>
8480
+ </dl>
8481
+
8482
+ <dl>
8483
+ <dd>
8484
+
8623
8485
  **requestOptions:** `OncycleApi.RequestOptions`
8624
8486
 
8625
8487
  </dd>
@@ -8631,7 +8493,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8631
8493
  </dl>
8632
8494
  </details>
8633
8495
 
8634
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleChecks</a>(companyId) -> TheraApi.OnCycleChecksResponse | undefined</code></summary>
8496
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleChecks</a>(companyId) -> TheraApi.OnCycleChecksResponse[]</code></summary>
8635
8497
  <dl>
8636
8498
  <dd>
8637
8499
 
@@ -8692,7 +8554,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8692
8554
  </dl>
8693
8555
  </details>
8694
8556
 
8695
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">cancelCurrentAutopilotPayroll</a>(companyId) -> void</code></summary>
8557
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleCheckDetails</a>(companyId, checkPayrollId) -> TheraApi.OnCycleChecksResponse | undefined</code></summary>
8696
8558
  <dl>
8697
8559
  <dd>
8698
8560
 
@@ -8718,7 +8580,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8718
8580
  <dd>
8719
8581
 
8720
8582
  ```typescript
8721
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string");
8583
+ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
8722
8584
  ```
8723
8585
 
8724
8586
  </dd>
@@ -8742,6 +8604,14 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8742
8604
  <dl>
8743
8605
  <dd>
8744
8606
 
8607
+ **checkPayrollId:** `string`
8608
+
8609
+ </dd>
8610
+ </dl>
8611
+
8612
+ <dl>
8613
+ <dd>
8614
+
8745
8615
  **requestOptions:** `OncycleApi.RequestOptions`
8746
8616
 
8747
8617
  </dd>
@@ -8753,9 +8623,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8753
8623
  </dl>
8754
8624
  </details>
8755
8625
 
8756
- ## Time Off Management
8757
-
8758
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
8626
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">cancelCurrentAutopilotPayroll</a>(companyId, checkPayScheduleId) -> void</code></summary>
8759
8627
  <dl>
8760
8628
  <dd>
8761
8629
 
@@ -8767,8 +8635,6 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8767
8635
  <dl>
8768
8636
  <dd>
8769
8637
 
8770
- Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
8771
-
8772
8638
  </dd>
8773
8639
  </dl>
8774
8640
  </dd>
@@ -8783,10 +8649,7 @@ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed
8783
8649
  <dd>
8784
8650
 
8785
8651
  ```typescript
8786
- await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8787
- invoiceId: "string",
8788
- timeOffRequestId: "string",
8789
- });
8652
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
8790
8653
  ```
8791
8654
 
8792
8655
  </dd>
@@ -8810,7 +8673,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8810
8673
  <dl>
8811
8674
  <dd>
8812
8675
 
8813
- **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
8676
+ **checkPayScheduleId:** `string`
8814
8677
 
8815
8678
  </dd>
8816
8679
  </dl>
@@ -8818,7 +8681,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8818
8681
  <dl>
8819
8682
  <dd>
8820
8683
 
8821
- **requestOptions:** `TimeoffApi.RequestOptions`
8684
+ **requestOptions:** `OncycleApi.RequestOptions`
8822
8685
 
8823
8686
  </dd>
8824
8687
  </dl>
@@ -8829,7 +8692,9 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8829
8692
  </dl>
8830
8693
  </details>
8831
8694
 
8832
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">associateTimeOffPolicyToContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
8695
+ ## W2 Pay Schedule APIs
8696
+
8697
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">createW2PaySchedule</a>(companyId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
8833
8698
  <dl>
8834
8699
  <dd>
8835
8700
 
@@ -8841,8 +8706,6 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8841
8706
  <dl>
8842
8707
  <dd>
8843
8708
 
8844
- Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
8845
-
8846
8709
  </dd>
8847
8710
  </dl>
8848
8711
  </dd>
@@ -8857,8 +8720,13 @@ Submit a list of complete contractors to be associated to the policy. Contractor
8857
8720
  <dd>
8858
8721
 
8859
8722
  ```typescript
8860
- await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
8861
- contractIds: ["string"],
8723
+ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
8724
+ name: "string",
8725
+ payFrequency: "weekly",
8726
+ firstPayDate: "2023-01-15",
8727
+ secondPayDate: "2023-01-15",
8728
+ firstPeriodEndDate: "2023-01-15",
8729
+ autopilotEnabled: true,
8862
8730
  });
8863
8731
  ```
8864
8732
 
@@ -8883,15 +8751,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8883
8751
  <dl>
8884
8752
  <dd>
8885
8753
 
8886
- **policyId:** `string`
8887
-
8888
- </dd>
8889
- </dl>
8890
-
8891
- <dl>
8892
- <dd>
8893
-
8894
- **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
8754
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8895
8755
 
8896
8756
  </dd>
8897
8757
  </dl>
@@ -8899,7 +8759,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8899
8759
  <dl>
8900
8760
  <dd>
8901
8761
 
8902
- **requestOptions:** `TimeoffApi.RequestOptions`
8762
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8903
8763
 
8904
8764
  </dd>
8905
8765
  </dl>
@@ -8910,7 +8770,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8910
8770
  </dl>
8911
8771
  </details>
8912
8772
 
8913
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">requestPtoForContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
8773
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getW2PaySchedule</a>(companyId, checkPayScheduleId) -> TheraApi.GetPayScheduleResponse</code></summary>
8914
8774
  <dl>
8915
8775
  <dd>
8916
8776
 
@@ -8936,18 +8796,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8936
8796
  <dd>
8937
8797
 
8938
8798
  ```typescript
8939
- await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
8940
- contractId: "string",
8941
- ptoRequest: {
8942
- description: "string",
8943
- dates: {
8944
- "2023-01-15": {
8945
- timeOffLength: "FULL_DAY",
8946
- },
8947
- },
8948
- attachmentFileId: "string",
8949
- },
8950
- });
8799
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8951
8800
  ```
8952
8801
 
8953
8802
  </dd>
@@ -8971,15 +8820,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8971
8820
  <dl>
8972
8821
  <dd>
8973
8822
 
8974
- **policyId:** `string`
8975
-
8976
- </dd>
8977
- </dl>
8978
-
8979
- <dl>
8980
- <dd>
8981
-
8982
- **request:** `TheraApi.CreatePtoForContractorRequest`
8823
+ **checkPayScheduleId:** `string`
8983
8824
 
8984
8825
  </dd>
8985
8826
  </dl>
@@ -8987,7 +8828,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8987
8828
  <dl>
8988
8829
  <dd>
8989
8830
 
8990
- **requestOptions:** `TimeoffApi.RequestOptions`
8831
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8991
8832
 
8992
8833
  </dd>
8993
8834
  </dl>
@@ -8998,7 +8839,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8998
8839
  </dl>
8999
8840
  </details>
9000
8841
 
9001
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">addTimeOffPolicy</a>(companyId, { ...params }) -> unknown</code></summary>
8842
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">listW2PaySchedules</a>(companyId) -> TheraApi.GetPayScheduleResponse[]</code></summary>
9002
8843
  <dl>
9003
8844
  <dd>
9004
8845
 
@@ -9010,8 +8851,6 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9010
8851
  <dl>
9011
8852
  <dd>
9012
8853
 
9013
- Adds a timeoff policy to company
9014
-
9015
8854
  </dd>
9016
8855
  </dl>
9017
8856
  </dd>
@@ -9026,24 +8865,7 @@ Adds a timeoff policy to company
9026
8865
  <dd>
9027
8866
 
9028
8867
  ```typescript
9029
- await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9030
- policyName: "string",
9031
- allowanceType: {
9032
- type: "limitedAllowance",
9033
- },
9034
- midYearJoiningAllowance: "FULL_AMOUNT",
9035
- payType: "UNPAID",
9036
- leaveType: "string",
9037
- isDefaultPolicy: true,
9038
- contractIds: new Set(["string"]),
9039
- accrualType: {
9040
- ["EMPLOYEE"]: "MONTHLY",
9041
- },
9042
- autoDeductEnabled: {
9043
- ["EMPLOYEE"]: true,
9044
- },
9045
- addPolicyFor: new Set(["EMPLOYEE"]),
9046
- });
8868
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9047
8869
  ```
9048
8870
 
9049
8871
  </dd>
@@ -9067,15 +8889,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9067
8889
  <dl>
9068
8890
  <dd>
9069
8891
 
9070
- **request:** `TheraApi.AddTimeOffPolicyRequest`
9071
-
9072
- </dd>
9073
- </dl>
9074
-
9075
- <dl>
9076
- <dd>
9077
-
9078
- **requestOptions:** `TimeoffApi.RequestOptions`
8892
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9079
8893
 
9080
8894
  </dd>
9081
8895
  </dl>
@@ -9086,7 +8900,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9086
8900
  </dl>
9087
8901
  </details>
9088
8902
 
9089
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffPolicy</a>(companyId, policyId) -> TheraApi.TimeOffPolicy</code></summary>
8903
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">deleteW2PaySchedule</a>(companyId, checkPayScheduleId) -> void</code></summary>
9090
8904
  <dl>
9091
8905
  <dd>
9092
8906
 
@@ -9098,7 +8912,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9098
8912
  <dl>
9099
8913
  <dd>
9100
8914
 
9101
- Gets a timeoff policy from company
8915
+ Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete Check W2 Pay Schedule by API. https://support.checkhq.com/hc/en-us/articles/24948436554263-Pay-Schedules
9102
8916
 
9103
8917
  </dd>
9104
8918
  </dl>
@@ -9114,7 +8928,7 @@ Gets a timeoff policy from company
9114
8928
  <dd>
9115
8929
 
9116
8930
  ```typescript
9117
- await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
8931
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
9118
8932
  ```
9119
8933
 
9120
8934
  </dd>
@@ -9138,7 +8952,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9138
8952
  <dl>
9139
8953
  <dd>
9140
8954
 
9141
- **policyId:** `string`
8955
+ **checkPayScheduleId:** `string`
9142
8956
 
9143
8957
  </dd>
9144
8958
  </dl>
@@ -9146,7 +8960,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9146
8960
  <dl>
9147
8961
  <dd>
9148
8962
 
9149
- **requestOptions:** `TimeoffApi.RequestOptions`
8963
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9150
8964
 
9151
8965
  </dd>
9152
8966
  </dl>
@@ -9157,7 +8971,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9157
8971
  </dl>
9158
8972
  </details>
9159
8973
 
9160
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updateTimeOffPolicy</a>(companyId, policyId, { ...params }) -> unknown</code></summary>
8974
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">updateW2PaySchedule</a>(companyId, checkPayScheduleId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
9161
8975
  <dl>
9162
8976
  <dd>
9163
8977
 
@@ -9169,8 +8983,6 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9169
8983
  <dl>
9170
8984
  <dd>
9171
8985
 
9172
- Modifys a timeoff policy to company
9173
-
9174
8986
  </dd>
9175
8987
  </dl>
9176
8988
  </dd>
@@ -9185,23 +8997,16 @@ Modifys a timeoff policy to company
9185
8997
  <dd>
9186
8998
 
9187
8999
  ```typescript
9188
- await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9189
- policyName: "string",
9190
- allowanceType: {
9191
- type: "limitedAllowance",
9192
- },
9193
- midYearJoiningAllowance: "FULL_AMOUNT",
9194
- payType: "UNPAID",
9195
- leaveType: "string",
9196
- isDefaultPolicy: true,
9197
- contractIds: new Set(["string"]),
9198
- accrualType: {
9199
- ["EMPLOYEE"]: "MONTHLY",
9200
- },
9201
- autoDeductEnabled: {
9202
- ["EMPLOYEE"]: true,
9000
+ await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
9001
+ name: "string",
9002
+ payFrequency: "weekly",
9003
+ firstPeriodEndDate: "2023-01-15",
9004
+ firstPayDate: "2023-01-15",
9005
+ secondPayDate: "2023-01-15",
9006
+ metadata: {
9007
+ deleted: "string",
9008
+ autopilotEnabled: "string",
9203
9009
  },
9204
- addPolicyFor: new Set(["EMPLOYEE"]),
9205
9010
  });
9206
9011
  ```
9207
9012
 
@@ -9226,7 +9031,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9226
9031
  <dl>
9227
9032
  <dd>
9228
9033
 
9229
- **policyId:** `string`
9034
+ **checkPayScheduleId:** `string`
9230
9035
 
9231
9036
  </dd>
9232
9037
  </dl>
@@ -9234,7 +9039,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9234
9039
  <dl>
9235
9040
  <dd>
9236
9041
 
9237
- **request:** `TheraApi.UpdateTimeOffPolicyRequest`
9042
+ **request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
9238
9043
 
9239
9044
  </dd>
9240
9045
  </dl>
@@ -9242,7 +9047,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9242
9047
  <dl>
9243
9048
  <dd>
9244
9049
 
9245
- **requestOptions:** `TimeoffApi.RequestOptions`
9050
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9246
9051
 
9247
9052
  </dd>
9248
9053
  </dl>
@@ -9253,7 +9058,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9253
9058
  </dl>
9254
9059
  </details>
9255
9060
 
9256
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">deleteTimeOffPolicy</a>(companyId, policyId) -> unknown</code></summary>
9061
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">assignW2EmployeesPaySchedule</a>(companyId, { ...params }) -> TheraApi.AssignW2EmployeeToPayScheduleResponse</code></summary>
9257
9062
  <dl>
9258
9063
  <dd>
9259
9064
 
@@ -9265,7 +9070,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9265
9070
  <dl>
9266
9071
  <dd>
9267
9072
 
9268
- Deletes a timeoff policy from company
9073
+ If user ID is not provided in the request, it'll use the old value in DB. The response body always return the schedules for all employees
9269
9074
 
9270
9075
  </dd>
9271
9076
  </dl>
@@ -9281,7 +9086,11 @@ Deletes a timeoff policy from company
9281
9086
  <dd>
9282
9087
 
9283
9088
  ```typescript
9284
- await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string");
9089
+ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", {
9090
+ checkPayScheduleIdByUserId: {
9091
+ string: "string",
9092
+ },
9093
+ });
9285
9094
  ```
9286
9095
 
9287
9096
  </dd>
@@ -9305,7 +9114,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9305
9114
  <dl>
9306
9115
  <dd>
9307
9116
 
9308
- **policyId:** `string`
9117
+ **request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
9309
9118
 
9310
9119
  </dd>
9311
9120
  </dl>
@@ -9313,7 +9122,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9313
9122
  <dl>
9314
9123
  <dd>
9315
9124
 
9316
- **requestOptions:** `TimeoffApi.RequestOptions`
9125
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9317
9126
 
9318
9127
  </dd>
9319
9128
  </dl>
@@ -9324,7 +9133,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9324
9133
  </dl>
9325
9134
  </details>
9326
9135
 
9327
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsTimeOffHistoryByCompany</a>(companyId, { ...params }) -> TheraApi.GetContractorsTimeOffsByCompany</code></summary>
9136
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getSomePaySchedulePaydays</a>(companyId, checkPayScheduleId) -> TheraApi.GetPaySchedulePaydaysResponse[]</code></summary>
9328
9137
  <dl>
9329
9138
  <dd>
9330
9139
 
@@ -9336,7 +9145,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9336
9145
  <dl>
9337
9146
  <dd>
9338
9147
 
9339
- Get All Contractors' Time Offs by Company
9148
+ Return several upcoming paydays (not all of them!)
9340
9149
 
9341
9150
  </dd>
9342
9151
  </dl>
@@ -9352,10 +9161,7 @@ Get All Contractors' Time Offs by Company
9352
9161
  <dd>
9353
9162
 
9354
9163
  ```typescript
9355
- await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany("string", {
9356
- timeOffStatus: "IN_REVIEW",
9357
- timeOffPolicyId: "string",
9358
- });
9164
+ await client.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays("string", "string");
9359
9165
  ```
9360
9166
 
9361
9167
  </dd>
@@ -9379,7 +9185,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9379
9185
  <dl>
9380
9186
  <dd>
9381
9187
 
9382
- **request:** `TheraApi.api.thera.timeoff.GetAllContractorsTimeOffHistoryByCompanyRequest`
9188
+ **checkPayScheduleId:** `string`
9383
9189
 
9384
9190
  </dd>
9385
9191
  </dl>
@@ -9387,7 +9193,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9387
9193
  <dl>
9388
9194
  <dd>
9389
9195
 
9390
- **requestOptions:** `TimeoffApi.RequestOptions`
9196
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9391
9197
 
9392
9198
  </dd>
9393
9199
  </dl>
@@ -9398,7 +9204,9 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9398
9204
  </dl>
9399
9205
  </details>
9400
9206
 
9401
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffHistoryByContractor</a>(companyId, userId) -> TheraApi.GetTimeOffHistoryByContractorResponse</code></summary>
9207
+ ## Time Off Management
9208
+
9209
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
9402
9210
  <dl>
9403
9211
  <dd>
9404
9212
 
@@ -9410,7 +9218,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9410
9218
  <dl>
9411
9219
  <dd>
9412
9220
 
9413
- Get Time Off History By Contractor
9221
+ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
9414
9222
 
9415
9223
  </dd>
9416
9224
  </dl>
@@ -9426,7 +9234,10 @@ Get Time Off History By Contractor
9426
9234
  <dd>
9427
9235
 
9428
9236
  ```typescript
9429
- await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string", "string");
9237
+ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
9238
+ invoiceId: "string",
9239
+ timeOffRequestId: "string",
9240
+ });
9430
9241
  ```
9431
9242
 
9432
9243
  </dd>
@@ -9450,7 +9261,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9450
9261
  <dl>
9451
9262
  <dd>
9452
9263
 
9453
- **userId:** `string`
9264
+ **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
9454
9265
 
9455
9266
  </dd>
9456
9267
  </dl>
@@ -9469,7 +9280,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9469
9280
  </dl>
9470
9281
  </details>
9471
9282
 
9472
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsPoliciesDetailsByPolicy</a>(companyId, policyId, { ...params }) -> TheraApi.GetContractorPoliciesDetailsByPolicy</code></summary>
9283
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">associateTimeOffPolicyToContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
9473
9284
  <dl>
9474
9285
  <dd>
9475
9286
 
@@ -9481,7 +9292,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9481
9292
  <dl>
9482
9293
  <dd>
9483
9294
 
9484
- Get Contractor Policies' Details By Policy
9295
+ Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
9485
9296
 
9486
9297
  </dd>
9487
9298
  </dl>
@@ -9497,8 +9308,8 @@ Get Contractor Policies' Details By Policy
9497
9308
  <dd>
9498
9309
 
9499
9310
  ```typescript
9500
- await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy("string", "string", {
9501
- year: 1,
9311
+ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
9312
+ contractIds: ["string"],
9502
9313
  });
9503
9314
  ```
9504
9315
 
@@ -9531,7 +9342,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9531
9342
  <dl>
9532
9343
  <dd>
9533
9344
 
9534
- **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByPolicyRequest`
9345
+ **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
9535
9346
 
9536
9347
  </dd>
9537
9348
  </dl>
@@ -9550,7 +9361,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9550
9361
  </dl>
9551
9362
  </details>
9552
9363
 
9553
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsPoliciesDetailsByContractor</a>(companyId, userId, { ...params }) -> TheraApi.GetContractorPoliciesDetailsByContractor</code></summary>
9364
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">requestPtoForContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
9554
9365
  <dl>
9555
9366
  <dd>
9556
9367
 
@@ -9562,8 +9373,6 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9562
9373
  <dl>
9563
9374
  <dd>
9564
9375
 
9565
- Get Contractor's Policies Details
9566
-
9567
9376
  </dd>
9568
9377
  </dl>
9569
9378
  </dd>
@@ -9578,8 +9387,17 @@ Get Contractor's Policies Details
9578
9387
  <dd>
9579
9388
 
9580
9389
  ```typescript
9581
- await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContractor("string", "string", {
9582
- year: 1,
9390
+ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
9391
+ contractId: "string",
9392
+ ptoRequest: {
9393
+ description: "string",
9394
+ dates: {
9395
+ "2023-01-15": {
9396
+ timeOffLength: "FULL_DAY",
9397
+ },
9398
+ },
9399
+ attachmentFileId: "string",
9400
+ },
9583
9401
  });
9584
9402
  ```
9585
9403
 
@@ -9604,7 +9422,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9604
9422
  <dl>
9605
9423
  <dd>
9606
9424
 
9607
- **userId:** `string`
9425
+ **policyId:** `string`
9608
9426
 
9609
9427
  </dd>
9610
9428
  </dl>
@@ -9612,7 +9430,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9612
9430
  <dl>
9613
9431
  <dd>
9614
9432
 
9615
- **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByContractor`
9433
+ **request:** `TheraApi.CreatePtoForContractorRequest`
9616
9434
 
9617
9435
  </dd>
9618
9436
  </dl>
@@ -9631,7 +9449,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9631
9449
  </dl>
9632
9450
  </details>
9633
9451
 
9634
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">modifyTimeOffStatus</a>(companyId, policyId, timeOffId, { ...params }) -> TheraApi.User</code></summary>
9452
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">addTimeOffPolicy</a>(companyId, { ...params }) -> unknown</code></summary>
9635
9453
  <dl>
9636
9454
  <dd>
9637
9455
 
@@ -9643,7 +9461,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9643
9461
  <dl>
9644
9462
  <dd>
9645
9463
 
9646
- Modify Time Off Status
9464
+ Adds a timeoff policy to company
9647
9465
 
9648
9466
  </dd>
9649
9467
  </dl>
@@ -9659,9 +9477,23 @@ Modify Time Off Status
9659
9477
  <dd>
9660
9478
 
9661
9479
  ```typescript
9662
- await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string", "string", {
9663
- userId: "string",
9664
- status: "IN_REVIEW",
9480
+ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9481
+ policyName: "string",
9482
+ allowanceType: {
9483
+ type: "limitedAllowance",
9484
+ },
9485
+ midYearJoiningAllowance: "FULL_AMOUNT",
9486
+ payType: "UNPAID",
9487
+ leaveType: "string",
9488
+ isDefaultPolicy: true,
9489
+ contractIds: new Set(["string"]),
9490
+ accrualType: {
9491
+ ["EMPLOYEE"]: "MONTHLY",
9492
+ },
9493
+ autoDeductEnabled: {
9494
+ ["EMPLOYEE"]: true,
9495
+ },
9496
+ addPolicyFor: new Set(["EMPLOYEE"]),
9665
9497
  });
9666
9498
  ```
9667
9499
 
@@ -9686,23 +9518,7 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9686
9518
  <dl>
9687
9519
  <dd>
9688
9520
 
9689
- **policyId:** `string`
9690
-
9691
- </dd>
9692
- </dl>
9693
-
9694
- <dl>
9695
- <dd>
9696
-
9697
- **timeOffId:** `string`
9698
-
9699
- </dd>
9700
- </dl>
9701
-
9702
- <dl>
9703
- <dd>
9704
-
9705
- **request:** `TheraApi.ModifyTimeOffStatusRequest`
9521
+ **request:** `TheraApi.AddTimeOffPolicyRequest`
9706
9522
 
9707
9523
  </dd>
9708
9524
  </dl>
@@ -9721,7 +9537,7 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9721
9537
  </dl>
9722
9538
  </details>
9723
9539
 
9724
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">bulkModifyTimeOffStatuses</a>(companyId, status, { ...params }) -> void</code></summary>
9540
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffPolicy</a>(companyId, policyId) -> TheraApi.TimeOffPolicy</code></summary>
9725
9541
  <dl>
9726
9542
  <dd>
9727
9543
 
@@ -9733,7 +9549,7 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9733
9549
  <dl>
9734
9550
  <dd>
9735
9551
 
9736
- Bulk Modify Time Off Statuses
9552
+ Gets a timeoff policy from company
9737
9553
 
9738
9554
  </dd>
9739
9555
  </dl>
@@ -9749,12 +9565,7 @@ Bulk Modify Time Off Statuses
9749
9565
  <dd>
9750
9566
 
9751
9567
  ```typescript
9752
- await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "string", [
9753
- {
9754
- userId: "string",
9755
- timeoffId: "string",
9756
- },
9757
- ]);
9568
+ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9758
9569
  ```
9759
9570
 
9760
9571
  </dd>
@@ -9778,15 +9589,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9778
9589
  <dl>
9779
9590
  <dd>
9780
9591
 
9781
- **status:** `string`
9782
-
9783
- </dd>
9784
- </dl>
9785
-
9786
- <dl>
9787
- <dd>
9788
-
9789
- **request:** `TheraApi.BulkModifyTimeOffStatusesRequest[]`
9592
+ **policyId:** `string`
9790
9593
 
9791
9594
  </dd>
9792
9595
  </dl>
@@ -9805,7 +9608,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9805
9608
  </dl>
9806
9609
  </details>
9807
9610
 
9808
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updatePtoForContractor</a>(companyId, userId, timeOffId, { ...params }) -> unknown</code></summary>
9611
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updateTimeOffPolicy</a>(companyId, policyId, { ...params }) -> unknown</code></summary>
9809
9612
  <dl>
9810
9613
  <dd>
9811
9614
 
@@ -9817,7 +9620,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9817
9620
  <dl>
9818
9621
  <dd>
9819
9622
 
9820
- Update PTO For Contractor
9623
+ Modifys a timeoff policy to company
9821
9624
 
9822
9625
  </dd>
9823
9626
  </dl>
@@ -9833,15 +9636,23 @@ Update PTO For Contractor
9833
9636
  <dd>
9834
9637
 
9835
9638
  ```typescript
9836
- await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "string", "string", {
9837
- description: "string",
9838
- dates: {
9839
- "2023-01-15": {
9840
- timeOffLength: "FULL_DAY",
9841
- },
9639
+ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9640
+ policyName: "string",
9641
+ allowanceType: {
9642
+ type: "limitedAllowance",
9842
9643
  },
9843
- attachmentFileId: "string",
9844
- contractId: "string",
9644
+ midYearJoiningAllowance: "FULL_AMOUNT",
9645
+ payType: "UNPAID",
9646
+ leaveType: "string",
9647
+ isDefaultPolicy: true,
9648
+ contractIds: new Set(["string"]),
9649
+ accrualType: {
9650
+ ["EMPLOYEE"]: "MONTHLY",
9651
+ },
9652
+ autoDeductEnabled: {
9653
+ ["EMPLOYEE"]: true,
9654
+ },
9655
+ addPolicyFor: new Set(["EMPLOYEE"]),
9845
9656
  });
9846
9657
  ```
9847
9658
 
@@ -9866,15 +9677,7 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
9866
9677
  <dl>
9867
9678
  <dd>
9868
9679
 
9869
- **userId:** `string`
9870
-
9871
- </dd>
9872
- </dl>
9873
-
9874
- <dl>
9875
- <dd>
9876
-
9877
- **timeOffId:** `string`
9680
+ **policyId:** `string`
9878
9681
 
9879
9682
  </dd>
9880
9683
  </dl>
@@ -9882,7 +9685,7 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
9882
9685
  <dl>
9883
9686
  <dd>
9884
9687
 
9885
- **request:** `TheraApi.UpdatePtoRequest`
9688
+ **request:** `TheraApi.UpdateTimeOffPolicyRequest`
9886
9689
 
9887
9690
  </dd>
9888
9691
  </dl>
@@ -9901,9 +9704,7 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
9901
9704
  </dl>
9902
9705
  </details>
9903
9706
 
9904
- ## Time Tracking Management
9905
-
9906
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">createTimeEntry</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
9707
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">deleteTimeOffPolicy</a>(companyId, policyId) -> unknown</code></summary>
9907
9708
  <dl>
9908
9709
  <dd>
9909
9710
 
@@ -9915,7 +9716,7 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
9915
9716
  <dl>
9916
9717
  <dd>
9917
9718
 
9918
- Create a time tracking entry for a specific time period
9719
+ Deletes a timeoff policy from company
9919
9720
 
9920
9721
  </dd>
9921
9722
  </dl>
@@ -9931,14 +9732,7 @@ Create a time tracking entry for a specific time period
9931
9732
  <dd>
9932
9733
 
9933
9734
  ```typescript
9934
- await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "string", {
9935
- description: "string",
9936
- startTime: 1000000,
9937
- endTime: 1000000,
9938
- contractId: "string",
9939
- isBillable: true,
9940
- rate: 1000000,
9941
- });
9735
+ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string");
9942
9736
  ```
9943
9737
 
9944
9738
  </dd>
@@ -9962,15 +9756,7 @@ await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "s
9962
9756
  <dl>
9963
9757
  <dd>
9964
9758
 
9965
- **userId:** `string`
9966
-
9967
- </dd>
9968
- </dl>
9969
-
9970
- <dl>
9971
- <dd>
9972
-
9973
- **request:** `TheraApi.CreateTimeEntryRequest`
9759
+ **policyId:** `string`
9974
9760
 
9975
9761
  </dd>
9976
9762
  </dl>
@@ -9978,7 +9764,7 @@ await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "s
9978
9764
  <dl>
9979
9765
  <dd>
9980
9766
 
9981
- **requestOptions:** `TimetrackingApi.RequestOptions`
9767
+ **requestOptions:** `TimeoffApi.RequestOptions`
9982
9768
 
9983
9769
  </dd>
9984
9770
  </dl>
@@ -9989,7 +9775,7 @@ await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "s
9989
9775
  </dl>
9990
9776
  </details>
9991
9777
 
9992
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">startTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
9778
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsTimeOffHistoryByCompany</a>(companyId, { ...params }) -> TheraApi.GetContractorsTimeOffsByCompany</code></summary>
9993
9779
  <dl>
9994
9780
  <dd>
9995
9781
 
@@ -10001,7 +9787,7 @@ await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "s
10001
9787
  <dl>
10002
9788
  <dd>
10003
9789
 
10004
- Start tracking time for a user
9790
+ Get All Contractors' Time Offs by Company
10005
9791
 
10006
9792
  </dd>
10007
9793
  </dl>
@@ -10017,12 +9803,9 @@ Start tracking time for a user
10017
9803
  <dd>
10018
9804
 
10019
9805
  ```typescript
10020
- await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string", "string", {
10021
- description: "string",
10022
- contractId: "string",
10023
- userId: "string",
10024
- isBillable: true,
10025
- rate: 1000000,
9806
+ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany("string", {
9807
+ timeOffStatus: "IN_REVIEW",
9808
+ timeOffPolicyId: "string",
10026
9809
  });
10027
9810
  ```
10028
9811
 
@@ -10047,15 +9830,7 @@ await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string",
10047
9830
  <dl>
10048
9831
  <dd>
10049
9832
 
10050
- **userId:** `string`
10051
-
10052
- </dd>
10053
- </dl>
10054
-
10055
- <dl>
10056
- <dd>
10057
-
10058
- **request:** `TheraApi.StartTimeTrackingRequest`
9833
+ **request:** `TheraApi.api.thera.timeoff.GetAllContractorsTimeOffHistoryByCompanyRequest`
10059
9834
 
10060
9835
  </dd>
10061
9836
  </dl>
@@ -10063,7 +9838,7 @@ await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string",
10063
9838
  <dl>
10064
9839
  <dd>
10065
9840
 
10066
- **requestOptions:** `TimetrackingApi.RequestOptions`
9841
+ **requestOptions:** `TimeoffApi.RequestOptions`
10067
9842
 
10068
9843
  </dd>
10069
9844
  </dl>
@@ -10074,7 +9849,7 @@ await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string",
10074
9849
  </dl>
10075
9850
  </details>
10076
9851
 
10077
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">stopTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
9852
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffHistoryByContractor</a>(companyId, userId) -> TheraApi.GetTimeOffHistoryByContractorResponse</code></summary>
10078
9853
  <dl>
10079
9854
  <dd>
10080
9855
 
@@ -10086,7 +9861,7 @@ await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string",
10086
9861
  <dl>
10087
9862
  <dd>
10088
9863
 
10089
- Stop tracking time for a user
9864
+ Get Time Off History By Contractor
10090
9865
 
10091
9866
  </dd>
10092
9867
  </dl>
@@ -10102,11 +9877,7 @@ Stop tracking time for a user
10102
9877
  <dd>
10103
9878
 
10104
9879
  ```typescript
10105
- await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "string", {
10106
- entryId: "string",
10107
- userId: "string",
10108
- endTime: 1000000,
10109
- });
9880
+ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string", "string");
10110
9881
  ```
10111
9882
 
10112
9883
  </dd>
@@ -10138,15 +9909,7 @@ await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "
10138
9909
  <dl>
10139
9910
  <dd>
10140
9911
 
10141
- **request:** `TheraApi.StopTimeTrackingRequest`
10142
-
10143
- </dd>
10144
- </dl>
10145
-
10146
- <dl>
10147
- <dd>
10148
-
10149
- **requestOptions:** `TimetrackingApi.RequestOptions`
9912
+ **requestOptions:** `TimeoffApi.RequestOptions`
10150
9913
 
10151
9914
  </dd>
10152
9915
  </dl>
@@ -10157,7 +9920,7 @@ await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "
10157
9920
  </dl>
10158
9921
  </details>
10159
9922
 
10160
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">updateTimeTracking</a>(companyId, userId, entryId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
9923
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsPoliciesDetailsByPolicy</a>(companyId, policyId, { ...params }) -> TheraApi.GetContractorPoliciesDetailsByPolicy</code></summary>
10161
9924
  <dl>
10162
9925
  <dd>
10163
9926
 
@@ -10169,7 +9932,7 @@ await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "
10169
9932
  <dl>
10170
9933
  <dd>
10171
9934
 
10172
- Update a time tracking entry
9935
+ Get Contractor Policies' Details By Policy
10173
9936
 
10174
9937
  </dd>
10175
9938
  </dl>
@@ -10185,12 +9948,8 @@ Update a time tracking entry
10185
9948
  <dd>
10186
9949
 
10187
9950
  ```typescript
10188
- await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string", "string", "string", {
10189
- description: "string",
10190
- startTime: 1000000,
10191
- endTime: 1000000,
10192
- isBillable: true,
10193
- rate: 1000000,
9951
+ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy("string", "string", {
9952
+ year: 1,
10194
9953
  });
10195
9954
  ```
10196
9955
 
@@ -10215,7 +9974,7 @@ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string",
10215
9974
  <dl>
10216
9975
  <dd>
10217
9976
 
10218
- **userId:** `string`
9977
+ **policyId:** `string`
10219
9978
 
10220
9979
  </dd>
10221
9980
  </dl>
@@ -10223,7 +9982,7 @@ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string",
10223
9982
  <dl>
10224
9983
  <dd>
10225
9984
 
10226
- **entryId:** `string`
9985
+ **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByPolicyRequest`
10227
9986
 
10228
9987
  </dd>
10229
9988
  </dl>
@@ -10231,15 +9990,7 @@ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string",
10231
9990
  <dl>
10232
9991
  <dd>
10233
9992
 
10234
- **request:** `TheraApi.UpdateTimeTrackingRequest`
10235
-
10236
- </dd>
10237
- </dl>
10238
-
10239
- <dl>
10240
- <dd>
10241
-
10242
- **requestOptions:** `TimetrackingApi.RequestOptions`
9993
+ **requestOptions:** `TimeoffApi.RequestOptions`
10243
9994
 
10244
9995
  </dd>
10245
9996
  </dl>
@@ -10250,7 +10001,7 @@ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string",
10250
10001
  </dl>
10251
10002
  </details>
10252
10003
 
10253
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">deleteTimeTracking</a>(companyId, userId, entryId) -> void</code></summary>
10004
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsPoliciesDetailsByContractor</a>(companyId, userId, { ...params }) -> TheraApi.GetContractorPoliciesDetailsByContractor</code></summary>
10254
10005
  <dl>
10255
10006
  <dd>
10256
10007
 
@@ -10262,7 +10013,7 @@ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string",
10262
10013
  <dl>
10263
10014
  <dd>
10264
10015
 
10265
- Delete a time tracking entry
10016
+ Get Contractor's Policies Details
10266
10017
 
10267
10018
  </dd>
10268
10019
  </dl>
@@ -10278,7 +10029,9 @@ Delete a time tracking entry
10278
10029
  <dd>
10279
10030
 
10280
10031
  ```typescript
10281
- await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string", "string", "string");
10032
+ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContractor("string", "string", {
10033
+ year: 1,
10034
+ });
10282
10035
  ```
10283
10036
 
10284
10037
  </dd>
@@ -10310,7 +10063,7 @@ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string",
10310
10063
  <dl>
10311
10064
  <dd>
10312
10065
 
10313
- **entryId:** `string`
10066
+ **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByContractor`
10314
10067
 
10315
10068
  </dd>
10316
10069
  </dl>
@@ -10318,7 +10071,7 @@ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string",
10318
10071
  <dl>
10319
10072
  <dd>
10320
10073
 
10321
- **requestOptions:** `TimetrackingApi.RequestOptions`
10074
+ **requestOptions:** `TimeoffApi.RequestOptions`
10322
10075
 
10323
10076
  </dd>
10324
10077
  </dl>
@@ -10329,7 +10082,7 @@ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string",
10329
10082
  </dl>
10330
10083
  </details>
10331
10084
 
10332
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">getAllTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingHistory</code></summary>
10085
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">modifyTimeOffStatus</a>(companyId, policyId, timeOffId, { ...params }) -> TheraApi.User</code></summary>
10333
10086
  <dl>
10334
10087
  <dd>
10335
10088
 
@@ -10341,7 +10094,7 @@ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string",
10341
10094
  <dl>
10342
10095
  <dd>
10343
10096
 
10344
- Get all time tracking entries for a user within a date range
10097
+ Modify Time Off Status
10345
10098
 
10346
10099
  </dd>
10347
10100
  </dl>
@@ -10357,10 +10110,9 @@ Get all time tracking entries for a user within a date range
10357
10110
  <dd>
10358
10111
 
10359
10112
  ```typescript
10360
- await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10361
- startDate: "string",
10362
- endDate: "string",
10363
- timezone: "string",
10113
+ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string", "string", {
10114
+ userId: "string",
10115
+ status: "IN_REVIEW",
10364
10116
  });
10365
10117
  ```
10366
10118
 
@@ -10385,7 +10137,7 @@ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string",
10385
10137
  <dl>
10386
10138
  <dd>
10387
10139
 
10388
- **userId:** `string`
10140
+ **policyId:** `string`
10389
10141
 
10390
10142
  </dd>
10391
10143
  </dl>
@@ -10393,7 +10145,7 @@ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string",
10393
10145
  <dl>
10394
10146
  <dd>
10395
10147
 
10396
- **request:** `TheraApi.api.thera.timetracking.GetAllTimeTrackingRequest`
10148
+ **timeOffId:** `string`
10397
10149
 
10398
10150
  </dd>
10399
10151
  </dl>
@@ -10401,7 +10153,15 @@ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string",
10401
10153
  <dl>
10402
10154
  <dd>
10403
10155
 
10404
- **requestOptions:** `TimetrackingApi.RequestOptions`
10156
+ **request:** `TheraApi.ModifyTimeOffStatusRequest`
10157
+
10158
+ </dd>
10159
+ </dl>
10160
+
10161
+ <dl>
10162
+ <dd>
10163
+
10164
+ **requestOptions:** `TimeoffApi.RequestOptions`
10405
10165
 
10406
10166
  </dd>
10407
10167
  </dl>
@@ -10412,7 +10172,7 @@ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string",
10412
10172
  </dl>
10413
10173
  </details>
10414
10174
 
10415
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">getTimeTrackingByInvoice</a>(companyId, invoiceId) -> TheraApi.TimeTrackingHistory</code></summary>
10175
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">bulkModifyTimeOffStatuses</a>(companyId, status, { ...params }) -> void</code></summary>
10416
10176
  <dl>
10417
10177
  <dd>
10418
10178
 
@@ -10424,7 +10184,7 @@ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string",
10424
10184
  <dl>
10425
10185
  <dd>
10426
10186
 
10427
- Get all time tracking entries associated with an invoice
10187
+ Bulk Modify Time Off Statuses
10428
10188
 
10429
10189
  </dd>
10430
10190
  </dl>
@@ -10440,7 +10200,12 @@ Get all time tracking entries associated with an invoice
10440
10200
  <dd>
10441
10201
 
10442
10202
  ```typescript
10443
- await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("string", "string");
10203
+ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "string", [
10204
+ {
10205
+ userId: "string",
10206
+ timeoffId: "string",
10207
+ },
10208
+ ]);
10444
10209
  ```
10445
10210
 
10446
10211
  </dd>
@@ -10464,7 +10229,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("st
10464
10229
  <dl>
10465
10230
  <dd>
10466
10231
 
10467
- **invoiceId:** `string`
10232
+ **status:** `string`
10468
10233
 
10469
10234
  </dd>
10470
10235
  </dl>
@@ -10472,7 +10237,15 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("st
10472
10237
  <dl>
10473
10238
  <dd>
10474
10239
 
10475
- **requestOptions:** `TimetrackingApi.RequestOptions`
10240
+ **request:** `TheraApi.BulkModifyTimeOffStatusesRequest[]`
10241
+
10242
+ </dd>
10243
+ </dl>
10244
+
10245
+ <dl>
10246
+ <dd>
10247
+
10248
+ **requestOptions:** `TimeoffApi.RequestOptions`
10476
10249
 
10477
10250
  </dd>
10478
10251
  </dl>
@@ -10483,7 +10256,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("st
10483
10256
  </dl>
10484
10257
  </details>
10485
10258
 
10486
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">bulkUpdateTimeEntries</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry[]</code></summary>
10259
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updatePtoForContractor</a>(companyId, userId, timeOffId, { ...params }) -> unknown</code></summary>
10487
10260
  <dl>
10488
10261
  <dd>
10489
10262
 
@@ -10495,7 +10268,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("st
10495
10268
  <dl>
10496
10269
  <dd>
10497
10270
 
10498
- Update multiple time entries with invoice association
10271
+ Update PTO For Contractor
10499
10272
 
10500
10273
  </dd>
10501
10274
  </dl>
@@ -10511,9 +10284,15 @@ Update multiple time entries with invoice association
10511
10284
  <dd>
10512
10285
 
10513
10286
  ```typescript
10514
- await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("string", "string", {
10515
- entryIds: ["string"],
10516
- invoiceId: "string",
10287
+ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "string", "string", {
10288
+ description: "string",
10289
+ dates: {
10290
+ "2023-01-15": {
10291
+ timeOffLength: "FULL_DAY",
10292
+ },
10293
+ },
10294
+ attachmentFileId: "string",
10295
+ contractId: "string",
10517
10296
  });
10518
10297
  ```
10519
10298
 
@@ -10546,7 +10325,7 @@ await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("strin
10546
10325
  <dl>
10547
10326
  <dd>
10548
10327
 
10549
- **request:** `TheraApi.BulkTimeEntryUpdateRequest`
10328
+ **timeOffId:** `string`
10550
10329
 
10551
10330
  </dd>
10552
10331
  </dl>
@@ -10554,7 +10333,15 @@ await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("strin
10554
10333
  <dl>
10555
10334
  <dd>
10556
10335
 
10557
- **requestOptions:** `TimetrackingApi.RequestOptions`
10336
+ **request:** `TheraApi.UpdatePtoRequest`
10337
+
10338
+ </dd>
10339
+ </dl>
10340
+
10341
+ <dl>
10342
+ <dd>
10343
+
10344
+ **requestOptions:** `TimeoffApi.RequestOptions`
10558
10345
 
10559
10346
  </dd>
10560
10347
  </dl>
@@ -10565,7 +10352,9 @@ await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("strin
10565
10352
  </dl>
10566
10353
  </details>
10567
10354
 
10568
- <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">getTimeTrackingHistory</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingHistory</code></summary>
10355
+ ## Time Tracking Management
10356
+
10357
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">createTimeEntry</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
10569
10358
  <dl>
10570
10359
  <dd>
10571
10360
 
@@ -10577,7 +10366,7 @@ await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("strin
10577
10366
  <dl>
10578
10367
  <dd>
10579
10368
 
10580
- Get complete time tracking history for a user with year/month/week breakdowns
10369
+ Create a time tracking entry for a specific time period
10581
10370
 
10582
10371
  </dd>
10583
10372
  </dl>
@@ -10593,8 +10382,13 @@ Get complete time tracking history for a user with year/month/week breakdowns
10593
10382
  <dd>
10594
10383
 
10595
10384
  ```typescript
10596
- await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("string", "string", {
10597
- fromYear: "string",
10385
+ await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "string", {
10386
+ description: "string",
10387
+ startTime: 1000000,
10388
+ endTime: 1000000,
10389
+ contractId: "string",
10390
+ isBillable: true,
10391
+ rate: 1000000,
10598
10392
  });
10599
10393
  ```
10600
10394
 
@@ -10627,7 +10421,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("stri
10627
10421
  <dl>
10628
10422
  <dd>
10629
10423
 
10630
- **request:** `TheraApi.api.thera.timetracking.GetTimeTrackingHistoryRequest`
10424
+ **request:** `TheraApi.CreateTimeEntryRequest`
10631
10425
 
10632
10426
  </dd>
10633
10427
  </dl>
@@ -10646,9 +10440,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("stri
10646
10440
  </dl>
10647
10441
  </details>
10648
10442
 
10649
- ## Treasury Prime
10650
-
10651
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">addCompanyBankingDetails</a>(companyId, { ...params }) -> TheraApi.AddCompanyBankingDetailsResponse</code></summary>
10443
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">startTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
10652
10444
  <dl>
10653
10445
  <dd>
10654
10446
 
@@ -10660,7 +10452,7 @@ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("stri
10660
10452
  <dl>
10661
10453
  <dd>
10662
10454
 
10663
- Final step of company onboarding, if the company is using Thera banking.
10455
+ Start tracking time for a user
10664
10456
 
10665
10457
  </dd>
10666
10458
  </dl>
@@ -10676,48 +10468,12 @@ Final step of company onboarding, if the company is using Thera banking.
10676
10468
  <dd>
10677
10469
 
10678
10470
  ```typescript
10679
- await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
10680
- details: {
10681
- establishedOn: "2023-01-15",
10682
- incorporationState: "string",
10683
- legalStructure: "ccorp",
10684
- naics: "string",
10685
- callerUserBeneficiaryInformation: {
10686
- dateOfBirth: "2023-01-15",
10687
- emailAddress: "string",
10688
- firstName: "string",
10689
- lastName: "string",
10690
- middleName: {
10691
- key: "value",
10692
- },
10693
- phoneNumber: "string",
10694
- mailingAddress: {
10695
- key: "value",
10696
- },
10697
- physicalAddress: {
10698
- city: "string",
10699
- country: "string",
10700
- line1: "string",
10701
- line2: "string",
10702
- postalCode: "string",
10703
- state: "string",
10704
- },
10705
- tin: "string",
10706
- ownershipPercentage: 1,
10707
- title: "string",
10708
- makeOrgAdmin: {
10709
- key: "value",
10710
- },
10711
- isControlPerson: true,
10712
- },
10713
- beneficiaries: [
10714
- {
10715
- key: "value",
10716
- },
10717
- ],
10718
- },
10719
- skipTpApplication: true,
10720
- setupDepositFbo: true,
10471
+ await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string", "string", {
10472
+ description: "string",
10473
+ contractId: "string",
10474
+ userId: "string",
10475
+ isBillable: true,
10476
+ rate: 1000000,
10721
10477
  });
10722
10478
  ```
10723
10479
 
@@ -10742,70 +10498,23 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
10742
10498
  <dl>
10743
10499
  <dd>
10744
10500
 
10745
- **request:** `TheraApi.api.thera.tp.AddCompanyBankingDetailsRequest`
10746
-
10747
- </dd>
10748
- </dl>
10749
-
10750
- <dl>
10751
- <dd>
10752
-
10753
- **requestOptions:** `TpApi.RequestOptions`
10754
-
10755
- </dd>
10756
- </dl>
10757
- </dd>
10758
- </dl>
10759
-
10760
- </dd>
10761
- </dl>
10762
- </details>
10763
-
10764
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">getIndustryCodesTp</a>() -> TheraApi.GetIndustryCodesResponse</code></summary>
10765
- <dl>
10766
- <dd>
10767
-
10768
- #### 📝 Description
10769
-
10770
- <dl>
10771
- <dd>
10772
-
10773
- <dl>
10774
- <dd>
10775
-
10776
- Get Industry codes to be usd in the `addCompanyBankingDetails` endpoint.
10501
+ **userId:** `string`
10777
10502
 
10778
10503
  </dd>
10779
10504
  </dl>
10780
- </dd>
10781
- </dl>
10782
-
10783
- #### 🔌 Usage
10784
10505
 
10785
10506
  <dl>
10786
10507
  <dd>
10787
10508
 
10788
- <dl>
10789
- <dd>
10790
-
10791
- ```typescript
10792
- await client.api.thera.tp.tpApi.getIndustryCodesTp();
10793
- ```
10509
+ **request:** `TheraApi.StartTimeTrackingRequest`
10794
10510
 
10795
- </dd>
10796
- </dl>
10797
10511
  </dd>
10798
10512
  </dl>
10799
10513
 
10800
- #### ⚙️ Parameters
10801
-
10802
- <dl>
10803
- <dd>
10804
-
10805
10514
  <dl>
10806
10515
  <dd>
10807
10516
 
10808
- **requestOptions:** `TpApi.RequestOptions`
10517
+ **requestOptions:** `TimetrackingApi.RequestOptions`
10809
10518
 
10810
10519
  </dd>
10811
10520
  </dl>
@@ -10816,7 +10525,7 @@ await client.api.thera.tp.tpApi.getIndustryCodesTp();
10816
10525
  </dl>
10817
10526
  </details>
10818
10527
 
10819
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">processTreasuryPrimePayment</a>(companyId, { ...params }) -> unknown</code></summary>
10528
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">stopTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
10820
10529
  <dl>
10821
10530
  <dd>
10822
10531
 
@@ -10828,7 +10537,7 @@ await client.api.thera.tp.tpApi.getIndustryCodesTp();
10828
10537
  <dl>
10829
10538
  <dd>
10830
10539
 
10831
- Process funds from company account to fbo account
10540
+ Stop tracking time for a user
10832
10541
 
10833
10542
  </dd>
10834
10543
  </dl>
@@ -10844,14 +10553,10 @@ Process funds from company account to fbo account
10844
10553
  <dd>
10845
10554
 
10846
10555
  ```typescript
10847
- await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10848
- accountId: "string",
10849
- amount: "string",
10850
- direction: "string",
10851
- paymentMethodId: "string",
10852
- secCode: "string",
10853
- service: "string",
10854
- revenueAmount: "string",
10556
+ await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "string", {
10557
+ entryId: "string",
10558
+ userId: "string",
10559
+ endTime: 1000000,
10855
10560
  });
10856
10561
  ```
10857
10562
 
@@ -10876,7 +10581,15 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10876
10581
  <dl>
10877
10582
  <dd>
10878
10583
 
10879
- **request:** `TheraApi.ProcessFundsTransfer`
10584
+ **userId:** `string`
10585
+
10586
+ </dd>
10587
+ </dl>
10588
+
10589
+ <dl>
10590
+ <dd>
10591
+
10592
+ **request:** `TheraApi.StopTimeTrackingRequest`
10880
10593
 
10881
10594
  </dd>
10882
10595
  </dl>
@@ -10884,7 +10597,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10884
10597
  <dl>
10885
10598
  <dd>
10886
10599
 
10887
- **requestOptions:** `TpApi.RequestOptions`
10600
+ **requestOptions:** `TimetrackingApi.RequestOptions`
10888
10601
 
10889
10602
  </dd>
10890
10603
  </dl>
@@ -10895,7 +10608,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10895
10608
  </dl>
10896
10609
  </details>
10897
10610
 
10898
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">createCounterPartyForBanking</a>(companyId, { ...params }) -> unknown</code></summary>
10611
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">updateTimeTracking</a>(companyId, userId, entryId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
10899
10612
  <dl>
10900
10613
  <dd>
10901
10614
 
@@ -10907,7 +10620,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10907
10620
  <dl>
10908
10621
  <dd>
10909
10622
 
10910
- Create TP counter party required for processing payments, each payment method needs to have a counterparty before initiating payments
10623
+ Update a time tracking entry
10911
10624
 
10912
10625
  </dd>
10913
10626
  </dl>
@@ -10923,8 +10636,12 @@ Create TP counter party required for processing payments, each payment method ne
10923
10636
  <dd>
10924
10637
 
10925
10638
  ```typescript
10926
- await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
10927
- paymentMethodId: "string",
10639
+ await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string", "string", "string", {
10640
+ description: "string",
10641
+ startTime: 1000000,
10642
+ endTime: 1000000,
10643
+ isBillable: true,
10644
+ rate: 1000000,
10928
10645
  });
10929
10646
  ```
10930
10647
 
@@ -10949,7 +10666,23 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
10949
10666
  <dl>
10950
10667
  <dd>
10951
10668
 
10952
- **request:** `TheraApi.CreateCounterPartyForBankingRequest`
10669
+ **userId:** `string`
10670
+
10671
+ </dd>
10672
+ </dl>
10673
+
10674
+ <dl>
10675
+ <dd>
10676
+
10677
+ **entryId:** `string`
10678
+
10679
+ </dd>
10680
+ </dl>
10681
+
10682
+ <dl>
10683
+ <dd>
10684
+
10685
+ **request:** `TheraApi.UpdateTimeTrackingRequest`
10953
10686
 
10954
10687
  </dd>
10955
10688
  </dl>
@@ -10957,7 +10690,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
10957
10690
  <dl>
10958
10691
  <dd>
10959
10692
 
10960
- **requestOptions:** `TpApi.RequestOptions`
10693
+ **requestOptions:** `TimetrackingApi.RequestOptions`
10961
10694
 
10962
10695
  </dd>
10963
10696
  </dl>
@@ -10968,7 +10701,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
10968
10701
  </dl>
10969
10702
  </details>
10970
10703
 
10971
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">getTpAccountsForCompany</a>(companyId) -> unknown</code></summary>
10704
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">deleteTimeTracking</a>(companyId, userId, entryId) -> void</code></summary>
10972
10705
  <dl>
10973
10706
  <dd>
10974
10707
 
@@ -10980,7 +10713,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
10980
10713
  <dl>
10981
10714
  <dd>
10982
10715
 
10983
- Get all tp accounts to display the account info by fe
10716
+ Delete a time tracking entry
10984
10717
 
10985
10718
  </dd>
10986
10719
  </dl>
@@ -10996,7 +10729,7 @@ Get all tp accounts to display the account info by fe
10996
10729
  <dd>
10997
10730
 
10998
10731
  ```typescript
10999
- await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
10732
+ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string", "string", "string");
11000
10733
  ```
11001
10734
 
11002
10735
  </dd>
@@ -11020,7 +10753,23 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11020
10753
  <dl>
11021
10754
  <dd>
11022
10755
 
11023
- **requestOptions:** `TpApi.RequestOptions`
10756
+ **userId:** `string`
10757
+
10758
+ </dd>
10759
+ </dl>
10760
+
10761
+ <dl>
10762
+ <dd>
10763
+
10764
+ **entryId:** `string`
10765
+
10766
+ </dd>
10767
+ </dl>
10768
+
10769
+ <dl>
10770
+ <dd>
10771
+
10772
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11024
10773
 
11025
10774
  </dd>
11026
10775
  </dl>
@@ -11031,7 +10780,7 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11031
10780
  </dl>
11032
10781
  </details>
11033
10782
 
11034
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">getTpAccount</a>(companyId, accountId, { ...params }) -> unknown</code></summary>
10783
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">getAllTimeTracking</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingHistory</code></summary>
11035
10784
  <dl>
11036
10785
  <dd>
11037
10786
 
@@ -11043,7 +10792,7 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11043
10792
  <dl>
11044
10793
  <dd>
11045
10794
 
11046
- Get a tp accounts to display the detailed account info
10795
+ Get all time tracking entries for a user within a date range
11047
10796
 
11048
10797
  </dd>
11049
10798
  </dl>
@@ -11059,8 +10808,10 @@ Get a tp accounts to display the detailed account info
11059
10808
  <dd>
11060
10809
 
11061
10810
  ```typescript
11062
- await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11063
- fboType: "PAYROLL",
10811
+ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10812
+ startDate: "string",
10813
+ endDate: "string",
10814
+ timezone: "string",
11064
10815
  });
11065
10816
  ```
11066
10817
 
@@ -11085,7 +10836,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11085
10836
  <dl>
11086
10837
  <dd>
11087
10838
 
11088
- **accountId:** `string`
10839
+ **userId:** `string`
11089
10840
 
11090
10841
  </dd>
11091
10842
  </dl>
@@ -11093,7 +10844,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11093
10844
  <dl>
11094
10845
  <dd>
11095
10846
 
11096
- **request:** `TheraApi.api.thera.tp.TpAccountRequest`
10847
+ **request:** `TheraApi.api.thera.timetracking.GetAllTimeTrackingRequest`
11097
10848
 
11098
10849
  </dd>
11099
10850
  </dl>
@@ -11101,7 +10852,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11101
10852
  <dl>
11102
10853
  <dd>
11103
10854
 
11104
- **requestOptions:** `TpApi.RequestOptions`
10855
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11105
10856
 
11106
10857
  </dd>
11107
10858
  </dl>
@@ -11112,7 +10863,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11112
10863
  </dl>
11113
10864
  </details>
11114
10865
 
11115
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">transferFundsToOmnibusAccount</a>(companyId, { ...params }) -> unknown</code></summary>
10866
+ <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">getTimeTrackingByInvoice</a>(companyId, invoiceId) -> TheraApi.TimeTrackingHistory</code></summary>
11116
10867
  <dl>
11117
10868
  <dd>
11118
10869
 
@@ -11124,7 +10875,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11124
10875
  <dl>
11125
10876
  <dd>
11126
10877
 
11127
- Transfer funds from FBO to omnibus account
10878
+ Get all time tracking entries associated with an invoice
11128
10879
 
11129
10880
  </dd>
11130
10881
  </dl>
@@ -11140,10 +10891,7 @@ Transfer funds from FBO to omnibus account
11140
10891
  <dd>
11141
10892
 
11142
10893
  ```typescript
11143
- await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11144
- amount: "string",
11145
- sourceAccountId: "string",
11146
- });
10894
+ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("string", "string");
11147
10895
  ```
11148
10896
 
11149
10897
  </dd>
@@ -11167,7 +10915,7 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11167
10915
  <dl>
11168
10916
  <dd>
11169
10917
 
11170
- **request:** `TheraApi.TransferFundsToOmnibusAccount`
10918
+ **invoiceId:** `string`
11171
10919
 
11172
10920
  </dd>
11173
10921
  </dl>
@@ -11175,7 +10923,7 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11175
10923
  <dl>
11176
10924
  <dd>
11177
10925
 
11178
- **requestOptions:** `TpApi.RequestOptions`
10926
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11179
10927
 
11180
10928
  </dd>
11181
10929
  </dl>
@@ -11184,442 +10932,3 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11184
10932
 
11185
10933
  </dd>
11186
10934
  </dl>
11187
- </details>
11188
-
11189
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">transactionHistory</a>(companyId, accountId) -> TheraApi.TpTransactionHistory[]</code></summary>
11190
- <dl>
11191
- <dd>
11192
-
11193
- #### 📝 Description
11194
-
11195
- <dl>
11196
- <dd>
11197
-
11198
- <dl>
11199
- <dd>
11200
-
11201
- Get all account Transactions
11202
-
11203
- </dd>
11204
- </dl>
11205
- </dd>
11206
- </dl>
11207
-
11208
- #### 🔌 Usage
11209
-
11210
- <dl>
11211
- <dd>
11212
-
11213
- <dl>
11214
- <dd>
11215
-
11216
- ```typescript
11217
- await client.api.thera.tp.tpApi.transactionHistory("string", "string");
11218
- ```
11219
-
11220
- </dd>
11221
- </dl>
11222
- </dd>
11223
- </dl>
11224
-
11225
- #### ⚙️ Parameters
11226
-
11227
- <dl>
11228
- <dd>
11229
-
11230
- <dl>
11231
- <dd>
11232
-
11233
- **companyId:** `string`
11234
-
11235
- </dd>
11236
- </dl>
11237
-
11238
- <dl>
11239
- <dd>
11240
-
11241
- **accountId:** `string`
11242
-
11243
- </dd>
11244
- </dl>
11245
-
11246
- <dl>
11247
- <dd>
11248
-
11249
- **requestOptions:** `TpApi.RequestOptions`
11250
-
11251
- </dd>
11252
- </dl>
11253
- </dd>
11254
- </dl>
11255
-
11256
- </dd>
11257
- </dl>
11258
- </details>
11259
-
11260
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">deatiledTpTransaction</a>(companyId, transactionId) -> TheraApi.TpTransactionHistory</code></summary>
11261
- <dl>
11262
- <dd>
11263
-
11264
- #### 📝 Description
11265
-
11266
- <dl>
11267
- <dd>
11268
-
11269
- <dl>
11270
- <dd>
11271
-
11272
- Get a detailed account transaction
11273
-
11274
- </dd>
11275
- </dl>
11276
- </dd>
11277
- </dl>
11278
-
11279
- #### 🔌 Usage
11280
-
11281
- <dl>
11282
- <dd>
11283
-
11284
- <dl>
11285
- <dd>
11286
-
11287
- ```typescript
11288
- await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
11289
- ```
11290
-
11291
- </dd>
11292
- </dl>
11293
- </dd>
11294
- </dl>
11295
-
11296
- #### ⚙️ Parameters
11297
-
11298
- <dl>
11299
- <dd>
11300
-
11301
- <dl>
11302
- <dd>
11303
-
11304
- **companyId:** `string`
11305
-
11306
- </dd>
11307
- </dl>
11308
-
11309
- <dl>
11310
- <dd>
11311
-
11312
- **transactionId:** `string`
11313
-
11314
- </dd>
11315
- </dl>
11316
-
11317
- <dl>
11318
- <dd>
11319
-
11320
- **requestOptions:** `TpApi.RequestOptions`
11321
-
11322
- </dd>
11323
- </dl>
11324
- </dd>
11325
- </dl>
11326
-
11327
- </dd>
11328
- </dl>
11329
- </details>
11330
-
11331
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">externalTransferFund</a>({ ...params }) -> unknown</code></summary>
11332
- <dl>
11333
- <dd>
11334
-
11335
- #### 📝 Description
11336
-
11337
- <dl>
11338
- <dd>
11339
-
11340
- <dl>
11341
- <dd>
11342
-
11343
- Use for sending funds to wise/dlocal from omnibus Account
11344
-
11345
- </dd>
11346
- </dl>
11347
- </dd>
11348
- </dl>
11349
-
11350
- #### 🔌 Usage
11351
-
11352
- <dl>
11353
- <dd>
11354
-
11355
- <dl>
11356
- <dd>
11357
-
11358
- ```typescript
11359
- await client.api.thera.tp.tpApi.externalTransferFund({
11360
- password: "string",
11361
- body: {
11362
- amount: "string",
11363
- routingNumber: "string",
11364
- accountNumber: "string",
11365
- externalFundTransferCode: "string",
11366
- consumer: "string",
11367
- },
11368
- });
11369
- ```
11370
-
11371
- </dd>
11372
- </dl>
11373
- </dd>
11374
- </dl>
11375
-
11376
- #### ⚙️ Parameters
11377
-
11378
- <dl>
11379
- <dd>
11380
-
11381
- <dl>
11382
- <dd>
11383
-
11384
- **request:** `TheraApi.api.thera.tp.ExternalTransferFundRequest`
11385
-
11386
- </dd>
11387
- </dl>
11388
-
11389
- <dl>
11390
- <dd>
11391
-
11392
- **requestOptions:** `TpApi.RequestOptions`
11393
-
11394
- </dd>
11395
- </dl>
11396
- </dd>
11397
- </dl>
11398
-
11399
- </dd>
11400
- </dl>
11401
- </details>
11402
-
11403
- ## User API
11404
-
11405
- <details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">setUserComplianceSetting</a>(userId, companyId, { ...params }) -> void</code></summary>
11406
- <dl>
11407
- <dd>
11408
-
11409
- #### 📝 Description
11410
-
11411
- <dl>
11412
- <dd>
11413
-
11414
- <dl>
11415
- <dd>
11416
-
11417
- Set User Compliance Setting (KYC and Compliance docs)
11418
-
11419
- </dd>
11420
- </dl>
11421
- </dd>
11422
- </dl>
11423
-
11424
- #### 🔌 Usage
11425
-
11426
- <dl>
11427
- <dd>
11428
-
11429
- <dl>
11430
- <dd>
11431
-
11432
- ```typescript
11433
- await client.api.thera.user.userApi.setUserComplianceSetting("string", "string", {
11434
- teamId: "string",
11435
- kycEnabled: true,
11436
- complianceDocsEnabled: true,
11437
- });
11438
- ```
11439
-
11440
- </dd>
11441
- </dl>
11442
- </dd>
11443
- </dl>
11444
-
11445
- #### ⚙️ Parameters
11446
-
11447
- <dl>
11448
- <dd>
11449
-
11450
- <dl>
11451
- <dd>
11452
-
11453
- **userId:** `string`
11454
-
11455
- </dd>
11456
- </dl>
11457
-
11458
- <dl>
11459
- <dd>
11460
-
11461
- **companyId:** `string`
11462
-
11463
- </dd>
11464
- </dl>
11465
-
11466
- <dl>
11467
- <dd>
11468
-
11469
- **request:** `TheraApi.SetUserComplianceSettingsRequest`
11470
-
11471
- </dd>
11472
- </dl>
11473
-
11474
- <dl>
11475
- <dd>
11476
-
11477
- **requestOptions:** `UserApi.RequestOptions`
11478
-
11479
- </dd>
11480
- </dl>
11481
- </dd>
11482
- </dl>
11483
-
11484
- </dd>
11485
- </dl>
11486
- </details>
11487
-
11488
- <details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">getComplianceUserSetting</a>(companyId, { ...params }) -> TheraApi.GetUserComplianceSettingsResponse</code></summary>
11489
- <dl>
11490
- <dd>
11491
-
11492
- #### 📝 Description
11493
-
11494
- <dl>
11495
- <dd>
11496
-
11497
- <dl>
11498
- <dd>
11499
-
11500
- Get Compliance User Setting (KYC and Compliance docs). How it works: 1. If ANY of the created contract has KYC or Compliance setting enabled, then the respective setting for that user will be considered as enabled. 2. If ALL of the contracts has KYC or Compliant Setting disabled, then the respective setting for that user is disabled In the future, this API will accept team ID.
11501
-
11502
- </dd>
11503
- </dl>
11504
- </dd>
11505
- </dl>
11506
-
11507
- #### 🔌 Usage
11508
-
11509
- <dl>
11510
- <dd>
11511
-
11512
- <dl>
11513
- <dd>
11514
-
11515
- ```typescript
11516
- await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11517
- userId: "string",
11518
- email: "string",
11519
- });
11520
- ```
11521
-
11522
- </dd>
11523
- </dl>
11524
- </dd>
11525
- </dl>
11526
-
11527
- #### ⚙️ Parameters
11528
-
11529
- <dl>
11530
- <dd>
11531
-
11532
- <dl>
11533
- <dd>
11534
-
11535
- **companyId:** `string`
11536
-
11537
- </dd>
11538
- </dl>
11539
-
11540
- <dl>
11541
- <dd>
11542
-
11543
- **request:** `TheraApi.api.thera.user.GetUserComplianceSettingsRequest`
11544
-
11545
- </dd>
11546
- </dl>
11547
-
11548
- <dl>
11549
- <dd>
11550
-
11551
- **requestOptions:** `UserApi.RequestOptions`
11552
-
11553
- </dd>
11554
- </dl>
11555
- </dd>
11556
- </dl>
11557
-
11558
- </dd>
11559
- </dl>
11560
- </details>
11561
-
11562
- <details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">getUser</a>({ ...params }) -> TheraApi.User</code></summary>
11563
- <dl>
11564
- <dd>
11565
-
11566
- #### 📝 Description
11567
-
11568
- <dl>
11569
- <dd>
11570
-
11571
- <dl>
11572
- <dd>
11573
-
11574
- Get User API
11575
-
11576
- </dd>
11577
- </dl>
11578
- </dd>
11579
- </dl>
11580
-
11581
- #### 🔌 Usage
11582
-
11583
- <dl>
11584
- <dd>
11585
-
11586
- <dl>
11587
- <dd>
11588
-
11589
- ```typescript
11590
- await client.api.thera.user.userApi.getUser({
11591
- userId: "string",
11592
- });
11593
- ```
11594
-
11595
- </dd>
11596
- </dl>
11597
- </dd>
11598
- </dl>
11599
-
11600
- #### ⚙️ Parameters
11601
-
11602
- <dl>
11603
- <dd>
11604
-
11605
- <dl>
11606
- <dd>
11607
-
11608
- **request:** `TheraApi.api.thera.user.GetUserRequest`
11609
-
11610
- </dd>
11611
- </dl>
11612
-
11613
- <dl>
11614
- <dd>
11615
-
11616
- **requestOptions:** `UserApi.RequestOptions`
11617
-
11618
- </dd>
11619
- </dl>
11620
- </dd>
11621
- </dl>
11622
-
11623
- </dd>
11624
- </dl>
11625
- </details>