@thera-hr/api-sdk 0.0.1-prerelease3047-dev-3 → 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 (297) 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/client/Client.d.ts +0 -3
  6. package/api/resources/api/resources/thera/client/Client.js +12 -17
  7. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  10. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  11. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  12. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  13. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  14. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  15. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  17. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  18. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  20. package/api/resources/api/resources/thera/resources/index.js +1 -2
  21. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  22. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  23. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  24. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  26. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  27. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  28. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  30. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  33. package/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  46. package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -5
  47. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  48. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  49. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  50. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  51. package/api/resources/db/resources/company/types/Company.d.ts +0 -1
  52. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  53. package/api/resources/db/resources/company/types/index.d.ts +0 -2
  54. package/api/resources/db/resources/company/types/index.js +0 -2
  55. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  56. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  57. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  58. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  59. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  60. package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
  61. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  62. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  63. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  64. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  65. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  66. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  67. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  68. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  69. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  70. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  71. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  72. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  73. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  74. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  75. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  76. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  77. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  78. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  79. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  80. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  81. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  82. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  83. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  84. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  85. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  86. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  87. package/dist/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  88. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  89. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  90. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  99. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  102. package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -5
  103. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  104. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  105. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  106. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  107. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  108. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  109. package/dist/api/resources/db/resources/company/types/index.d.ts +0 -2
  110. package/dist/api/resources/db/resources/company/types/index.js +0 -2
  111. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  112. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  113. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  114. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  115. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  116. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  117. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  118. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  119. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  120. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  121. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  122. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  123. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  124. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  125. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  126. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +4 -3
  127. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  128. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → payroll/resources/payscheduleApi/client/listW2PaySchedules.js} +3 -5
  129. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  130. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  131. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  132. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +10 -9
  133. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  134. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  135. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  136. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  137. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  138. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  139. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  140. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  141. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  142. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  143. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  145. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  146. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  147. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  148. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentStatusResponse.js → payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +11 -10
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  150. package/{serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -5
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -5
  153. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  154. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -2
  155. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  156. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  157. package/dist/serialization/resources/db/resources/company/types/index.d.ts +0 -2
  158. package/dist/serialization/resources/db/resources/company/types/index.js +0 -2
  159. package/dist/version.d.ts +1 -1
  160. package/dist/version.js +1 -1
  161. package/package.json +1 -1
  162. package/reference.md +487 -1352
  163. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  164. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  165. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  166. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  167. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  168. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  169. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  170. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  171. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  172. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  173. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  174. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  175. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  176. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  177. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  178. package/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +4 -3
  179. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  180. package/{dist/serialization/resources/db/resources/company/types/IncorporationDocument.js → serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js} +4 -6
  181. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  182. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  183. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  184. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +10 -9
  185. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  186. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  187. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  188. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  189. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  190. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  191. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  192. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  193. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  194. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  195. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  196. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  197. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  198. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  199. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  200. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  201. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  202. package/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +3 -6
  203. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  204. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -5
  205. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  206. package/serialization/resources/db/resources/company/types/Company.js +0 -2
  207. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  208. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  209. package/serialization/resources/db/resources/company/types/index.d.ts +0 -2
  210. package/serialization/resources/db/resources/company/types/index.js +0 -2
  211. package/version.d.ts +1 -1
  212. package/version.js +1 -1
  213. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  214. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  215. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  216. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  217. package/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  218. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -87
  219. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -261
  220. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  221. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -11
  222. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -7
  223. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -24
  224. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  225. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -13
  226. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -5
  227. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  228. package/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  229. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -23
  230. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  231. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  232. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  233. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  234. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +0 -2
  235. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  236. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  237. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -87
  238. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -261
  239. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  240. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +0 -2
  241. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -11
  242. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -7
  243. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -24
  244. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  245. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -13
  246. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -5
  247. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  248. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  249. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -23
  250. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  251. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  252. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  253. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -17
  254. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -13
  255. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -30
  256. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -61
  257. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  258. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -19
  259. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -5
  260. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  261. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -29
  262. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -60
  263. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  264. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  265. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  266. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -17
  267. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -13
  268. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -30
  269. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -61
  270. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  271. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -19
  272. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +0 -50
  273. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -5
  274. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  275. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -29
  276. package/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -60
  277. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  278. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  279. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  280. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  281. /package/api/resources/api/resources/thera/resources/{incorporation/client → payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  282. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  283. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
  284. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
  285. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentStatusResponse.js → payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
  286. /package/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
  287. /package/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js} +0 -0
  288. /package/{dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
  289. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  290. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  291. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  292. /package/{api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client → dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  293. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  294. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
  295. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentStatusResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
  296. /package/dist/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
  297. /package/dist/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
package/reference.md CHANGED
@@ -7889,9 +7889,9 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
7889
7889
  </dl>
7890
7890
  </details>
7891
7891
 
7892
- ## Incorporation Integration
7892
+ ## Miscellaneous API
7893
7893
 
7894
- <details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">incorporationSignup</a>({ ...params }) -> TheraApi.IncorporationSignupResponse</code></summary>
7894
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
7895
7895
  <dl>
7896
7896
  <dd>
7897
7897
 
@@ -7903,7 +7903,7 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
7903
7903
  <dl>
7904
7904
  <dd>
7905
7905
 
7906
- Create a new user account and company for someone who has incorporated
7906
+ Calling this API will trigger automatic payouts for all workers that have auto-withdrawals turned on. This cron may be re-used for other daily tasks in the future
7907
7907
 
7908
7908
  </dd>
7909
7909
  </dl>
@@ -7919,26 +7919,8 @@ Create a new user account and company for someone who has incorporated
7919
7919
  <dd>
7920
7920
 
7921
7921
  ```typescript
7922
- await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7923
- businessName: "string",
7924
- state: "string",
7925
- firstName: "string",
7926
- lastName: "string",
7927
- email: "string",
7928
- phone: "string",
7929
- experience: "string",
7930
- progress: "string",
7931
- industry: "string",
7932
- agent: "string",
7933
- packageType: "string",
7934
- dbaService: true,
7935
- worryFreeCompliance: true,
7936
- einDocuments: ["string"],
7937
- tradeMarkCompany: true,
7938
- appointedAgent: true,
7939
- registrationDate: "string",
7940
- status: "string",
7941
- password: "string",
7922
+ await client.api.thera.misc.misc.regularCron({
7923
+ theraWebhookSignatureHeader: "string",
7942
7924
  });
7943
7925
  ```
7944
7926
 
@@ -7955,7 +7937,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7955
7937
  <dl>
7956
7938
  <dd>
7957
7939
 
7958
- **request:** `TheraApi.IncorporationSignupRequest`
7940
+ **request:** `TheraApi.api.thera.misc.DailyCronRequest`
7959
7941
 
7960
7942
  </dd>
7961
7943
  </dl>
@@ -7963,7 +7945,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7963
7945
  <dl>
7964
7946
  <dd>
7965
7947
 
7966
- **requestOptions:** `IncorporationApi.RequestOptions`
7948
+ **requestOptions:** `Misc.RequestOptions`
7967
7949
 
7968
7950
  </dd>
7969
7951
  </dl>
@@ -7974,7 +7956,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7974
7956
  </dl>
7975
7957
  </details>
7976
7958
 
7977
- <details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">createCheckoutSession</a>({ ...params }) -> TheraApi.CheckoutSessionResponse</code></summary>
7959
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoWithdrawalCron</a>({ ...params }) -> TheraApi.AutoWithdrawalResults</code></summary>
7978
7960
  <dl>
7979
7961
  <dd>
7980
7962
 
@@ -7986,7 +7968,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7986
7968
  <dl>
7987
7969
  <dd>
7988
7970
 
7989
- Create a Stripe checkout session for payment
7971
+ Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
7990
7972
 
7991
7973
  </dd>
7992
7974
  </dl>
@@ -8002,15 +7984,8 @@ Create a Stripe checkout session for payment
8002
7984
  <dd>
8003
7985
 
8004
7986
  ```typescript
8005
- await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8006
- amount: 1.1,
8007
- productName: "string",
8008
- currency: "string",
8009
- successUrl: "string",
8010
- cancelUrl: "string",
8011
- metadata: {
8012
- string: "string",
8013
- },
7987
+ await client.api.thera.misc.misc.autoWithdrawalCron({
7988
+ theraWebhookSignatureHeader: "string",
8014
7989
  });
8015
7990
  ```
8016
7991
 
@@ -8027,7 +8002,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8027
8002
  <dl>
8028
8003
  <dd>
8029
8004
 
8030
- **request:** `TheraApi.CheckoutSessionRequest`
8005
+ **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8031
8006
 
8032
8007
  </dd>
8033
8008
  </dl>
@@ -8035,7 +8010,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8035
8010
  <dl>
8036
8011
  <dd>
8037
8012
 
8038
- **requestOptions:** `IncorporationApi.RequestOptions`
8013
+ **requestOptions:** `Misc.RequestOptions`
8039
8014
 
8040
8015
  </dd>
8041
8016
  </dl>
@@ -8046,7 +8021,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8046
8021
  </dl>
8047
8022
  </details>
8048
8023
 
8049
- <details><summary><code>client.api.thera.incorporation.incorporationApi.<a href="/src/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.ts">checkPaymentStatus</a>(sessionId) -> TheraApi.PaymentStatusResponse</code></summary>
8024
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayCron</a>({ ...params }) -> void</code></summary>
8050
8025
  <dl>
8051
8026
  <dd>
8052
8027
 
@@ -8058,7 +8033,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8058
8033
  <dl>
8059
8034
  <dd>
8060
8035
 
8061
- Check the status of a Stripe payment session
8036
+ Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8062
8037
 
8063
8038
  </dd>
8064
8039
  </dl>
@@ -8074,7 +8049,9 @@ Check the status of a Stripe payment session
8074
8049
  <dd>
8075
8050
 
8076
8051
  ```typescript
8077
- await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string");
8052
+ await client.api.thera.misc.misc.autoPayCron({
8053
+ theraWebhookSignatureHeader: "string",
8054
+ });
8078
8055
  ```
8079
8056
 
8080
8057
  </dd>
@@ -8090,7 +8067,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
8090
8067
  <dl>
8091
8068
  <dd>
8092
8069
 
8093
- **sessionId:** `string`
8070
+ **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8094
8071
 
8095
8072
  </dd>
8096
8073
  </dl>
@@ -8098,7 +8075,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
8098
8075
  <dl>
8099
8076
  <dd>
8100
8077
 
8101
- **requestOptions:** `IncorporationApi.RequestOptions`
8078
+ **requestOptions:** `Misc.RequestOptions`
8102
8079
 
8103
8080
  </dd>
8104
8081
  </dl>
@@ -8109,9 +8086,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
8109
8086
  </dl>
8110
8087
  </details>
8111
8088
 
8112
- ## Miscellaneous API
8113
-
8114
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
8089
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
8115
8090
  <dl>
8116
8091
  <dd>
8117
8092
 
@@ -8123,7 +8098,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
8123
8098
  <dl>
8124
8099
  <dd>
8125
8100
 
8126
- Calling this API will trigger automatic payouts for all workers that have auto-withdrawals turned on. This cron may be re-used for other daily tasks in the future
8101
+ Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8127
8102
 
8128
8103
  </dd>
8129
8104
  </dl>
@@ -8139,7 +8114,7 @@ Calling this API will trigger automatic payouts for all workers that have auto-w
8139
8114
  <dd>
8140
8115
 
8141
8116
  ```typescript
8142
- await client.api.thera.misc.misc.regularCron({
8117
+ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8143
8118
  theraWebhookSignatureHeader: "string",
8144
8119
  });
8145
8120
  ```
@@ -8157,7 +8132,7 @@ await client.api.thera.misc.misc.regularCron({
8157
8132
  <dl>
8158
8133
  <dd>
8159
8134
 
8160
- **request:** `TheraApi.api.thera.misc.DailyCronRequest`
8135
+ **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8161
8136
 
8162
8137
  </dd>
8163
8138
  </dl>
@@ -8176,7 +8151,7 @@ await client.api.thera.misc.misc.regularCron({
8176
8151
  </dl>
8177
8152
  </details>
8178
8153
 
8179
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoWithdrawalCron</a>({ ...params }) -> TheraApi.AutoWithdrawalResults</code></summary>
8154
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">contractRenewalCron</a>({ ...params }) -> TheraApi.ContractRenewalCronResponse</code></summary>
8180
8155
  <dl>
8181
8156
  <dd>
8182
8157
 
@@ -8188,7 +8163,7 @@ await client.api.thera.misc.misc.regularCron({
8188
8163
  <dl>
8189
8164
  <dd>
8190
8165
 
8191
- Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
8166
+ Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8192
8167
 
8193
8168
  </dd>
8194
8169
  </dl>
@@ -8204,7 +8179,7 @@ Calling this API will trigger automatic withdrawals for all workers that have au
8204
8179
  <dd>
8205
8180
 
8206
8181
  ```typescript
8207
- await client.api.thera.misc.misc.autoWithdrawalCron({
8182
+ await client.api.thera.misc.misc.contractRenewalCron({
8208
8183
  theraWebhookSignatureHeader: "string",
8209
8184
  });
8210
8185
  ```
@@ -8222,7 +8197,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8222
8197
  <dl>
8223
8198
  <dd>
8224
8199
 
8225
- **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8200
+ **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8226
8201
 
8227
8202
  </dd>
8228
8203
  </dl>
@@ -8241,7 +8216,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8241
8216
  </dl>
8242
8217
  </details>
8243
8218
 
8244
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayCron</a>({ ...params }) -> void</code></summary>
8219
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">processAchTpInvoices</a>({ ...params }) -> void</code></summary>
8245
8220
  <dl>
8246
8221
  <dd>
8247
8222
 
@@ -8253,7 +8228,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8253
8228
  <dl>
8254
8229
  <dd>
8255
8230
 
8256
- Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8231
+ Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8257
8232
 
8258
8233
  </dd>
8259
8234
  </dl>
@@ -8269,7 +8244,7 @@ Calling this API will trigger automatic auto payment of invoices for all compani
8269
8244
  <dd>
8270
8245
 
8271
8246
  ```typescript
8272
- await client.api.thera.misc.misc.autoPayCron({
8247
+ await client.api.thera.misc.misc.processAchTpInvoices({
8273
8248
  theraWebhookSignatureHeader: "string",
8274
8249
  });
8275
8250
  ```
@@ -8287,7 +8262,7 @@ await client.api.thera.misc.misc.autoPayCron({
8287
8262
  <dl>
8288
8263
  <dd>
8289
8264
 
8290
- **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8265
+ **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8291
8266
 
8292
8267
  </dd>
8293
8268
  </dl>
@@ -8306,7 +8281,7 @@ await client.api.thera.misc.misc.autoPayCron({
8306
8281
  </dl>
8307
8282
  </details>
8308
8283
 
8309
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
8284
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
8310
8285
  <dl>
8311
8286
  <dd>
8312
8287
 
@@ -8318,7 +8293,7 @@ await client.api.thera.misc.misc.autoPayCron({
8318
8293
  <dl>
8319
8294
  <dd>
8320
8295
 
8321
- Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8296
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8322
8297
 
8323
8298
  </dd>
8324
8299
  </dl>
@@ -8334,8 +8309,21 @@ Calling this API will trigger automatic email notifications for all companies th
8334
8309
  <dd>
8335
8310
 
8336
8311
  ```typescript
8337
- await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8312
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8338
8313
  theraWebhookSignatureHeader: "string",
8314
+ body: {
8315
+ firstName: "string",
8316
+ lastName: "string",
8317
+ email: "string",
8318
+ country: "string",
8319
+ companyId: "string",
8320
+ teamId: "string",
8321
+ jobTitle: "string",
8322
+ startDate: "2023-01-15",
8323
+ rate: 1.1,
8324
+ wageType: "HOURLY",
8325
+ currency: "string",
8326
+ },
8339
8327
  });
8340
8328
  ```
8341
8329
 
@@ -8352,7 +8340,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8352
8340
  <dl>
8353
8341
  <dd>
8354
8342
 
8355
- **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8343
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8356
8344
 
8357
8345
  </dd>
8358
8346
  </dl>
@@ -8371,7 +8359,9 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8371
8359
  </dl>
8372
8360
  </details>
8373
8361
 
8374
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">contractRenewalCron</a>({ ...params }) -> TheraApi.ContractRenewalCronResponse</code></summary>
8362
+ ## Offcycle API
8363
+
8364
+ <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
8375
8365
  <dl>
8376
8366
  <dd>
8377
8367
 
@@ -8383,8 +8373,6 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8383
8373
  <dl>
8384
8374
  <dd>
8385
8375
 
8386
- Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8387
-
8388
8376
  </dd>
8389
8377
  </dl>
8390
8378
  </dd>
@@ -8399,9 +8387,7 @@ Calling this API will trigger a check for contracts that need renewal and notify
8399
8387
  <dd>
8400
8388
 
8401
8389
  ```typescript
8402
- await client.api.thera.misc.misc.contractRenewalCron({
8403
- theraWebhookSignatureHeader: "string",
8404
- });
8390
+ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8405
8391
  ```
8406
8392
 
8407
8393
  </dd>
@@ -8417,7 +8403,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8417
8403
  <dl>
8418
8404
  <dd>
8419
8405
 
8420
- **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8406
+ **companyId:** `string`
8421
8407
 
8422
8408
  </dd>
8423
8409
  </dl>
@@ -8425,7 +8411,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8425
8411
  <dl>
8426
8412
  <dd>
8427
8413
 
8428
- **requestOptions:** `Misc.RequestOptions`
8414
+ **requestOptions:** `OffcycleApi.RequestOptions`
8429
8415
 
8430
8416
  </dd>
8431
8417
  </dl>
@@ -8436,7 +8422,9 @@ await client.api.thera.misc.misc.contractRenewalCron({
8436
8422
  </dl>
8437
8423
  </details>
8438
8424
 
8439
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">processAchTpInvoices</a>({ ...params }) -> void</code></summary>
8425
+ ## Oncycle API
8426
+
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>
8440
8428
  <dl>
8441
8429
  <dd>
8442
8430
 
@@ -8448,8 +8436,6 @@ await client.api.thera.misc.misc.contractRenewalCron({
8448
8436
  <dl>
8449
8437
  <dd>
8450
8438
 
8451
- Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8452
-
8453
8439
  </dd>
8454
8440
  </dl>
8455
8441
  </dd>
@@ -8464,9 +8450,7 @@ Calling this API will trigger automatic transfer of funds from fbo to omnibus fo
8464
8450
  <dd>
8465
8451
 
8466
8452
  ```typescript
8467
- await client.api.thera.misc.misc.processAchTpInvoices({
8468
- theraWebhookSignatureHeader: "string",
8469
- });
8453
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
8470
8454
  ```
8471
8455
 
8472
8456
  </dd>
@@ -8482,7 +8466,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8482
8466
  <dl>
8483
8467
  <dd>
8484
8468
 
8485
- **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8469
+ **companyId:** `string`
8486
8470
 
8487
8471
  </dd>
8488
8472
  </dl>
@@ -8490,7 +8474,15 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8490
8474
  <dl>
8491
8475
  <dd>
8492
8476
 
8493
- **requestOptions:** `Misc.RequestOptions`
8477
+ **checkPayScheduleId:** `string`
8478
+
8479
+ </dd>
8480
+ </dl>
8481
+
8482
+ <dl>
8483
+ <dd>
8484
+
8485
+ **requestOptions:** `OncycleApi.RequestOptions`
8494
8486
 
8495
8487
  </dd>
8496
8488
  </dl>
@@ -8501,7 +8493,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8501
8493
  </dl>
8502
8494
  </details>
8503
8495
 
8504
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</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>
8505
8497
  <dl>
8506
8498
  <dd>
8507
8499
 
@@ -8513,8 +8505,6 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8513
8505
  <dl>
8514
8506
  <dd>
8515
8507
 
8516
- Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8517
-
8518
8508
  </dd>
8519
8509
  </dl>
8520
8510
  </dd>
@@ -8529,22 +8519,7 @@ Webhook endpoint that receives submissions from Fillout forms to create EOR empl
8529
8519
  <dd>
8530
8520
 
8531
8521
  ```typescript
8532
- await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8533
- theraWebhookSignatureHeader: "string",
8534
- body: {
8535
- firstName: "string",
8536
- lastName: "string",
8537
- email: "string",
8538
- country: "string",
8539
- companyId: "string",
8540
- teamId: "string",
8541
- jobTitle: "string",
8542
- startDate: "2023-01-15",
8543
- rate: 1.1,
8544
- wageType: "HOURLY",
8545
- currency: "string",
8546
- },
8547
- });
8522
+ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8548
8523
  ```
8549
8524
 
8550
8525
  </dd>
@@ -8560,7 +8535,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8560
8535
  <dl>
8561
8536
  <dd>
8562
8537
 
8563
- **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8538
+ **companyId:** `string`
8564
8539
 
8565
8540
  </dd>
8566
8541
  </dl>
@@ -8568,7 +8543,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8568
8543
  <dl>
8569
8544
  <dd>
8570
8545
 
8571
- **requestOptions:** `Misc.RequestOptions`
8546
+ **requestOptions:** `OncycleApi.RequestOptions`
8572
8547
 
8573
8548
  </dd>
8574
8549
  </dl>
@@ -8579,9 +8554,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8579
8554
  </dl>
8580
8555
  </details>
8581
8556
 
8582
- ## Offcycle API
8583
-
8584
- <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</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>
8585
8558
  <dl>
8586
8559
  <dd>
8587
8560
 
@@ -8607,7 +8580,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8607
8580
  <dd>
8608
8581
 
8609
8582
  ```typescript
8610
- await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8583
+ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
8611
8584
  ```
8612
8585
 
8613
8586
  </dd>
@@ -8631,7 +8604,15 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8631
8604
  <dl>
8632
8605
  <dd>
8633
8606
 
8634
- **requestOptions:** `OffcycleApi.RequestOptions`
8607
+ **checkPayrollId:** `string`
8608
+
8609
+ </dd>
8610
+ </dl>
8611
+
8612
+ <dl>
8613
+ <dd>
8614
+
8615
+ **requestOptions:** `OncycleApi.RequestOptions`
8635
8616
 
8636
8617
  </dd>
8637
8618
  </dl>
@@ -8642,9 +8623,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8642
8623
  </dl>
8643
8624
  </details>
8644
8625
 
8645
- ## Oncycle API
8646
-
8647
- <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>
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>
8648
8627
  <dl>
8649
8628
  <dd>
8650
8629
 
@@ -8670,7 +8649,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8670
8649
  <dd>
8671
8650
 
8672
8651
  ```typescript
8673
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8652
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
8674
8653
  ```
8675
8654
 
8676
8655
  </dd>
@@ -8694,6 +8673,14 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8694
8673
  <dl>
8695
8674
  <dd>
8696
8675
 
8676
+ **checkPayScheduleId:** `string`
8677
+
8678
+ </dd>
8679
+ </dl>
8680
+
8681
+ <dl>
8682
+ <dd>
8683
+
8697
8684
  **requestOptions:** `OncycleApi.RequestOptions`
8698
8685
 
8699
8686
  </dd>
@@ -8705,7 +8692,9 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8705
8692
  </dl>
8706
8693
  </details>
8707
8694
 
8708
- <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>
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>
8709
8698
  <dl>
8710
8699
  <dd>
8711
8700
 
@@ -8731,7 +8720,14 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8731
8720
  <dd>
8732
8721
 
8733
8722
  ```typescript
8734
- await client.api.thera.payroll.oncycleApi.getOnCycleChecks("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,
8730
+ });
8735
8731
  ```
8736
8732
 
8737
8733
  </dd>
@@ -8755,7 +8751,15 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8755
8751
  <dl>
8756
8752
  <dd>
8757
8753
 
8758
- **requestOptions:** `OncycleApi.RequestOptions`
8754
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8755
+
8756
+ </dd>
8757
+ </dl>
8758
+
8759
+ <dl>
8760
+ <dd>
8761
+
8762
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8759
8763
 
8760
8764
  </dd>
8761
8765
  </dl>
@@ -8766,7 +8770,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8766
8770
  </dl>
8767
8771
  </details>
8768
8772
 
8769
- <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>
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>
8770
8774
  <dl>
8771
8775
  <dd>
8772
8776
 
@@ -8792,7 +8796,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8792
8796
  <dd>
8793
8797
 
8794
8798
  ```typescript
8795
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string");
8799
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8796
8800
  ```
8797
8801
 
8798
8802
  </dd>
@@ -8816,7 +8820,15 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8816
8820
  <dl>
8817
8821
  <dd>
8818
8822
 
8819
- **requestOptions:** `OncycleApi.RequestOptions`
8823
+ **checkPayScheduleId:** `string`
8824
+
8825
+ </dd>
8826
+ </dl>
8827
+
8828
+ <dl>
8829
+ <dd>
8830
+
8831
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8820
8832
 
8821
8833
  </dd>
8822
8834
  </dl>
@@ -8827,9 +8839,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8827
8839
  </dl>
8828
8840
  </details>
8829
8841
 
8830
- ## Time Off Management
8831
-
8832
- <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>
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>
8833
8843
  <dl>
8834
8844
  <dd>
8835
8845
 
@@ -8841,8 +8851,6 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8841
8851
  <dl>
8842
8852
  <dd>
8843
8853
 
8844
- Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
8845
-
8846
8854
  </dd>
8847
8855
  </dl>
8848
8856
  </dd>
@@ -8857,10 +8865,7 @@ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed
8857
8865
  <dd>
8858
8866
 
8859
8867
  ```typescript
8860
- await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8861
- invoiceId: "string",
8862
- timeOffRequestId: "string",
8863
- });
8868
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8864
8869
  ```
8865
8870
 
8866
8871
  </dd>
@@ -8884,15 +8889,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8884
8889
  <dl>
8885
8890
  <dd>
8886
8891
 
8887
- **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
8888
-
8889
- </dd>
8890
- </dl>
8891
-
8892
- <dl>
8893
- <dd>
8894
-
8895
- **requestOptions:** `TimeoffApi.RequestOptions`
8892
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8896
8893
 
8897
8894
  </dd>
8898
8895
  </dl>
@@ -8903,7 +8900,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8903
8900
  </dl>
8904
8901
  </details>
8905
8902
 
8906
- <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>
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>
8907
8904
  <dl>
8908
8905
  <dd>
8909
8906
 
@@ -8915,7 +8912,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8915
8912
  <dl>
8916
8913
  <dd>
8917
8914
 
8918
- Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
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
8919
8916
 
8920
8917
  </dd>
8921
8918
  </dl>
@@ -8931,9 +8928,7 @@ Submit a list of complete contractors to be associated to the policy. Contractor
8931
8928
  <dd>
8932
8929
 
8933
8930
  ```typescript
8934
- await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
8935
- contractIds: ["string"],
8936
- });
8931
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
8937
8932
  ```
8938
8933
 
8939
8934
  </dd>
@@ -8957,15 +8952,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8957
8952
  <dl>
8958
8953
  <dd>
8959
8954
 
8960
- **policyId:** `string`
8961
-
8962
- </dd>
8963
- </dl>
8964
-
8965
- <dl>
8966
- <dd>
8967
-
8968
- **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
8955
+ **checkPayScheduleId:** `string`
8969
8956
 
8970
8957
  </dd>
8971
8958
  </dl>
@@ -8973,7 +8960,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8973
8960
  <dl>
8974
8961
  <dd>
8975
8962
 
8976
- **requestOptions:** `TimeoffApi.RequestOptions`
8963
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8977
8964
 
8978
8965
  </dd>
8979
8966
  </dl>
@@ -8984,7 +8971,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8984
8971
  </dl>
8985
8972
  </details>
8986
8973
 
8987
- <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>
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>
8988
8975
  <dl>
8989
8976
  <dd>
8990
8977
 
@@ -9010,16 +8997,15 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
9010
8997
  <dd>
9011
8998
 
9012
8999
  ```typescript
9013
- await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
9014
- contractId: "string",
9015
- ptoRequest: {
9016
- description: "string",
9017
- dates: {
9018
- "2023-01-15": {
9019
- timeOffLength: "FULL_DAY",
9020
- },
9021
- },
9022
- attachmentFileId: "string",
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",
9023
9009
  },
9024
9010
  });
9025
9011
  ```
@@ -9045,7 +9031,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9045
9031
  <dl>
9046
9032
  <dd>
9047
9033
 
9048
- **policyId:** `string`
9034
+ **checkPayScheduleId:** `string`
9049
9035
 
9050
9036
  </dd>
9051
9037
  </dl>
@@ -9053,7 +9039,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9053
9039
  <dl>
9054
9040
  <dd>
9055
9041
 
9056
- **request:** `TheraApi.CreatePtoForContractorRequest`
9042
+ **request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
9057
9043
 
9058
9044
  </dd>
9059
9045
  </dl>
@@ -9061,7 +9047,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9061
9047
  <dl>
9062
9048
  <dd>
9063
9049
 
9064
- **requestOptions:** `TimeoffApi.RequestOptions`
9050
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9065
9051
 
9066
9052
  </dd>
9067
9053
  </dl>
@@ -9072,7 +9058,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9072
9058
  </dl>
9073
9059
  </details>
9074
9060
 
9075
- <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>
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>
9076
9062
  <dl>
9077
9063
  <dd>
9078
9064
 
@@ -9084,7 +9070,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9084
9070
  <dl>
9085
9071
  <dd>
9086
9072
 
9087
- Adds a timeoff policy to 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
9088
9074
 
9089
9075
  </dd>
9090
9076
  </dl>
@@ -9100,23 +9086,10 @@ Adds a timeoff policy to company
9100
9086
  <dd>
9101
9087
 
9102
9088
  ```typescript
9103
- await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9104
- policyName: "string",
9105
- allowanceType: {
9106
- type: "limitedAllowance",
9107
- },
9108
- midYearJoiningAllowance: "FULL_AMOUNT",
9109
- payType: "UNPAID",
9110
- leaveType: "string",
9111
- isDefaultPolicy: true,
9112
- contractIds: new Set(["string"]),
9113
- accrualType: {
9114
- ["EMPLOYEE"]: "MONTHLY",
9115
- },
9116
- autoDeductEnabled: {
9117
- ["EMPLOYEE"]: true,
9089
+ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", {
9090
+ checkPayScheduleIdByUserId: {
9091
+ string: "string",
9118
9092
  },
9119
- addPolicyFor: new Set(["EMPLOYEE"]),
9120
9093
  });
9121
9094
  ```
9122
9095
 
@@ -9141,7 +9114,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9141
9114
  <dl>
9142
9115
  <dd>
9143
9116
 
9144
- **request:** `TheraApi.AddTimeOffPolicyRequest`
9117
+ **request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
9145
9118
 
9146
9119
  </dd>
9147
9120
  </dl>
@@ -9149,7 +9122,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9149
9122
  <dl>
9150
9123
  <dd>
9151
9124
 
9152
- **requestOptions:** `TimeoffApi.RequestOptions`
9125
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9153
9126
 
9154
9127
  </dd>
9155
9128
  </dl>
@@ -9160,7 +9133,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9160
9133
  </dl>
9161
9134
  </details>
9162
9135
 
9163
- <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>
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>
9164
9137
  <dl>
9165
9138
  <dd>
9166
9139
 
@@ -9172,7 +9145,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9172
9145
  <dl>
9173
9146
  <dd>
9174
9147
 
9175
- Gets a timeoff policy from company
9148
+ Return several upcoming paydays (not all of them!)
9176
9149
 
9177
9150
  </dd>
9178
9151
  </dl>
@@ -9188,7 +9161,7 @@ Gets a timeoff policy from company
9188
9161
  <dd>
9189
9162
 
9190
9163
  ```typescript
9191
- await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9164
+ await client.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays("string", "string");
9192
9165
  ```
9193
9166
 
9194
9167
  </dd>
@@ -9212,7 +9185,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9212
9185
  <dl>
9213
9186
  <dd>
9214
9187
 
9215
- **policyId:** `string`
9188
+ **checkPayScheduleId:** `string`
9216
9189
 
9217
9190
  </dd>
9218
9191
  </dl>
@@ -9220,7 +9193,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9220
9193
  <dl>
9221
9194
  <dd>
9222
9195
 
9223
- **requestOptions:** `TimeoffApi.RequestOptions`
9196
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9224
9197
 
9225
9198
  </dd>
9226
9199
  </dl>
@@ -9231,7 +9204,9 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9231
9204
  </dl>
9232
9205
  </details>
9233
9206
 
9234
- <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>
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>
9235
9210
  <dl>
9236
9211
  <dd>
9237
9212
 
@@ -9243,7 +9218,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9243
9218
  <dl>
9244
9219
  <dd>
9245
9220
 
9246
- Modifys a timeoff policy to company
9221
+ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
9247
9222
 
9248
9223
  </dd>
9249
9224
  </dl>
@@ -9259,23 +9234,9 @@ Modifys a timeoff policy to company
9259
9234
  <dd>
9260
9235
 
9261
9236
  ```typescript
9262
- await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9263
- policyName: "string",
9264
- allowanceType: {
9265
- type: "limitedAllowance",
9266
- },
9267
- midYearJoiningAllowance: "FULL_AMOUNT",
9268
- payType: "UNPAID",
9269
- leaveType: "string",
9270
- isDefaultPolicy: true,
9271
- contractIds: new Set(["string"]),
9272
- accrualType: {
9273
- ["EMPLOYEE"]: "MONTHLY",
9274
- },
9275
- autoDeductEnabled: {
9276
- ["EMPLOYEE"]: true,
9277
- },
9278
- addPolicyFor: new Set(["EMPLOYEE"]),
9237
+ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
9238
+ invoiceId: "string",
9239
+ timeOffRequestId: "string",
9279
9240
  });
9280
9241
  ```
9281
9242
 
@@ -9300,15 +9261,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9300
9261
  <dl>
9301
9262
  <dd>
9302
9263
 
9303
- **policyId:** `string`
9304
-
9305
- </dd>
9306
- </dl>
9307
-
9308
- <dl>
9309
- <dd>
9310
-
9311
- **request:** `TheraApi.UpdateTimeOffPolicyRequest`
9264
+ **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
9312
9265
 
9313
9266
  </dd>
9314
9267
  </dl>
@@ -9327,7 +9280,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9327
9280
  </dl>
9328
9281
  </details>
9329
9282
 
9330
- <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>
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>
9331
9284
  <dl>
9332
9285
  <dd>
9333
9286
 
@@ -9339,7 +9292,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
9339
9292
  <dl>
9340
9293
  <dd>
9341
9294
 
9342
- Deletes a timeoff policy from company
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.
9343
9296
 
9344
9297
  </dd>
9345
9298
  </dl>
@@ -9355,7 +9308,9 @@ Deletes a timeoff policy from company
9355
9308
  <dd>
9356
9309
 
9357
9310
  ```typescript
9358
- await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string");
9311
+ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
9312
+ contractIds: ["string"],
9313
+ });
9359
9314
  ```
9360
9315
 
9361
9316
  </dd>
@@ -9387,6 +9342,14 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9387
9342
  <dl>
9388
9343
  <dd>
9389
9344
 
9345
+ **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
9346
+
9347
+ </dd>
9348
+ </dl>
9349
+
9350
+ <dl>
9351
+ <dd>
9352
+
9390
9353
  **requestOptions:** `TimeoffApi.RequestOptions`
9391
9354
 
9392
9355
  </dd>
@@ -9398,7 +9361,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9398
9361
  </dl>
9399
9362
  </details>
9400
9363
 
9401
- <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>
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>
9402
9365
  <dl>
9403
9366
  <dd>
9404
9367
 
@@ -9410,8 +9373,6 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
9410
9373
  <dl>
9411
9374
  <dd>
9412
9375
 
9413
- Get All Contractors' Time Offs by Company
9414
-
9415
9376
  </dd>
9416
9377
  </dl>
9417
9378
  </dd>
@@ -9426,9 +9387,17 @@ Get All Contractors' Time Offs by Company
9426
9387
  <dd>
9427
9388
 
9428
9389
  ```typescript
9429
- await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany("string", {
9430
- timeOffStatus: "IN_REVIEW",
9431
- timeOffPolicyId: "string",
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
+ },
9432
9401
  });
9433
9402
  ```
9434
9403
 
@@ -9453,7 +9422,15 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9453
9422
  <dl>
9454
9423
  <dd>
9455
9424
 
9456
- **request:** `TheraApi.api.thera.timeoff.GetAllContractorsTimeOffHistoryByCompanyRequest`
9425
+ **policyId:** `string`
9426
+
9427
+ </dd>
9428
+ </dl>
9429
+
9430
+ <dl>
9431
+ <dd>
9432
+
9433
+ **request:** `TheraApi.CreatePtoForContractorRequest`
9457
9434
 
9458
9435
  </dd>
9459
9436
  </dl>
@@ -9472,7 +9449,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9472
9449
  </dl>
9473
9450
  </details>
9474
9451
 
9475
- <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>
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>
9476
9453
  <dl>
9477
9454
  <dd>
9478
9455
 
@@ -9484,7 +9461,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
9484
9461
  <dl>
9485
9462
  <dd>
9486
9463
 
9487
- Get Time Off History By Contractor
9464
+ Adds a timeoff policy to company
9488
9465
 
9489
9466
  </dd>
9490
9467
  </dl>
@@ -9500,7 +9477,24 @@ Get Time Off History By Contractor
9500
9477
  <dd>
9501
9478
 
9502
9479
  ```typescript
9503
- await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string", "string");
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"]),
9497
+ });
9504
9498
  ```
9505
9499
 
9506
9500
  </dd>
@@ -9524,7 +9518,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9524
9518
  <dl>
9525
9519
  <dd>
9526
9520
 
9527
- **userId:** `string`
9521
+ **request:** `TheraApi.AddTimeOffPolicyRequest`
9528
9522
 
9529
9523
  </dd>
9530
9524
  </dl>
@@ -9543,7 +9537,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9543
9537
  </dl>
9544
9538
  </details>
9545
9539
 
9546
- <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>
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>
9547
9541
  <dl>
9548
9542
  <dd>
9549
9543
 
@@ -9555,7 +9549,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
9555
9549
  <dl>
9556
9550
  <dd>
9557
9551
 
9558
- Get Contractor Policies' Details By Policy
9552
+ Gets a timeoff policy from company
9559
9553
 
9560
9554
  </dd>
9561
9555
  </dl>
@@ -9571,9 +9565,7 @@ Get Contractor Policies' Details By Policy
9571
9565
  <dd>
9572
9566
 
9573
9567
  ```typescript
9574
- await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy("string", "string", {
9575
- year: 1,
9576
- });
9568
+ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9577
9569
  ```
9578
9570
 
9579
9571
  </dd>
@@ -9605,14 +9597,6 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9605
9597
  <dl>
9606
9598
  <dd>
9607
9599
 
9608
- **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByPolicyRequest`
9609
-
9610
- </dd>
9611
- </dl>
9612
-
9613
- <dl>
9614
- <dd>
9615
-
9616
9600
  **requestOptions:** `TimeoffApi.RequestOptions`
9617
9601
 
9618
9602
  </dd>
@@ -9624,7 +9608,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9624
9608
  </dl>
9625
9609
  </details>
9626
9610
 
9627
- <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>
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>
9628
9612
  <dl>
9629
9613
  <dd>
9630
9614
 
@@ -9636,7 +9620,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy(
9636
9620
  <dl>
9637
9621
  <dd>
9638
9622
 
9639
- Get Contractor's Policies Details
9623
+ Modifys a timeoff policy to company
9640
9624
 
9641
9625
  </dd>
9642
9626
  </dl>
@@ -9652,8 +9636,23 @@ Get Contractor's Policies Details
9652
9636
  <dd>
9653
9637
 
9654
9638
  ```typescript
9655
- await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContractor("string", "string", {
9656
- year: 1,
9639
+ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9640
+ policyName: "string",
9641
+ allowanceType: {
9642
+ type: "limitedAllowance",
9643
+ },
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"]),
9657
9656
  });
9658
9657
  ```
9659
9658
 
@@ -9678,7 +9677,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9678
9677
  <dl>
9679
9678
  <dd>
9680
9679
 
9681
- **userId:** `string`
9680
+ **policyId:** `string`
9682
9681
 
9683
9682
  </dd>
9684
9683
  </dl>
@@ -9686,7 +9685,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9686
9685
  <dl>
9687
9686
  <dd>
9688
9687
 
9689
- **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByContractor`
9688
+ **request:** `TheraApi.UpdateTimeOffPolicyRequest`
9690
9689
 
9691
9690
  </dd>
9692
9691
  </dl>
@@ -9705,7 +9704,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9705
9704
  </dl>
9706
9705
  </details>
9707
9706
 
9708
- <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>
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>
9709
9708
  <dl>
9710
9709
  <dd>
9711
9710
 
@@ -9717,7 +9716,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContrac
9717
9716
  <dl>
9718
9717
  <dd>
9719
9718
 
9720
- Modify Time Off Status
9719
+ Deletes a timeoff policy from company
9721
9720
 
9722
9721
  </dd>
9723
9722
  </dl>
@@ -9733,10 +9732,7 @@ Modify Time Off Status
9733
9732
  <dd>
9734
9733
 
9735
9734
  ```typescript
9736
- await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string", "string", {
9737
- userId: "string",
9738
- status: "IN_REVIEW",
9739
- });
9735
+ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string");
9740
9736
  ```
9741
9737
 
9742
9738
  </dd>
@@ -9768,22 +9764,6 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9768
9764
  <dl>
9769
9765
  <dd>
9770
9766
 
9771
- **timeOffId:** `string`
9772
-
9773
- </dd>
9774
- </dl>
9775
-
9776
- <dl>
9777
- <dd>
9778
-
9779
- **request:** `TheraApi.ModifyTimeOffStatusRequest`
9780
-
9781
- </dd>
9782
- </dl>
9783
-
9784
- <dl>
9785
- <dd>
9786
-
9787
9767
  **requestOptions:** `TimeoffApi.RequestOptions`
9788
9768
 
9789
9769
  </dd>
@@ -9795,7 +9775,7 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9795
9775
  </dl>
9796
9776
  </details>
9797
9777
 
9798
- <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>
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>
9799
9779
  <dl>
9800
9780
  <dd>
9801
9781
 
@@ -9807,7 +9787,7 @@ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string"
9807
9787
  <dl>
9808
9788
  <dd>
9809
9789
 
9810
- Bulk Modify Time Off Statuses
9790
+ Get All Contractors' Time Offs by Company
9811
9791
 
9812
9792
  </dd>
9813
9793
  </dl>
@@ -9823,12 +9803,10 @@ Bulk Modify Time Off Statuses
9823
9803
  <dd>
9824
9804
 
9825
9805
  ```typescript
9826
- await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "string", [
9827
- {
9828
- userId: "string",
9829
- timeoffId: "string",
9830
- },
9831
- ]);
9806
+ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany("string", {
9807
+ timeOffStatus: "IN_REVIEW",
9808
+ timeOffPolicyId: "string",
9809
+ });
9832
9810
  ```
9833
9811
 
9834
9812
  </dd>
@@ -9852,15 +9830,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9852
9830
  <dl>
9853
9831
  <dd>
9854
9832
 
9855
- **status:** `string`
9856
-
9857
- </dd>
9858
- </dl>
9859
-
9860
- <dl>
9861
- <dd>
9862
-
9863
- **request:** `TheraApi.BulkModifyTimeOffStatusesRequest[]`
9833
+ **request:** `TheraApi.api.thera.timeoff.GetAllContractorsTimeOffHistoryByCompanyRequest`
9864
9834
 
9865
9835
  </dd>
9866
9836
  </dl>
@@ -9879,7 +9849,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9879
9849
  </dl>
9880
9850
  </details>
9881
9851
 
9882
- <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>
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>
9883
9853
  <dl>
9884
9854
  <dd>
9885
9855
 
@@ -9891,7 +9861,7 @@ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "s
9891
9861
  <dl>
9892
9862
  <dd>
9893
9863
 
9894
- Update PTO For Contractor
9864
+ Get Time Off History By Contractor
9895
9865
 
9896
9866
  </dd>
9897
9867
  </dl>
@@ -9907,16 +9877,7 @@ Update PTO For Contractor
9907
9877
  <dd>
9908
9878
 
9909
9879
  ```typescript
9910
- await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "string", "string", {
9911
- description: "string",
9912
- dates: {
9913
- "2023-01-15": {
9914
- timeOffLength: "FULL_DAY",
9915
- },
9916
- },
9917
- attachmentFileId: "string",
9918
- contractId: "string",
9919
- });
9880
+ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string", "string");
9920
9881
  ```
9921
9882
 
9922
9883
  </dd>
@@ -9942,944 +9903,13 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
9942
9903
 
9943
9904
  **userId:** `string`
9944
9905
 
9945
- </dd>
9946
- </dl>
9947
-
9948
- <dl>
9949
- <dd>
9950
-
9951
- **timeOffId:** `string`
9952
-
9953
- </dd>
9954
- </dl>
9955
-
9956
- <dl>
9957
- <dd>
9958
-
9959
- **request:** `TheraApi.UpdatePtoRequest`
9960
-
9961
- </dd>
9962
- </dl>
9963
-
9964
- <dl>
9965
- <dd>
9966
-
9967
- **requestOptions:** `TimeoffApi.RequestOptions`
9968
-
9969
- </dd>
9970
- </dl>
9971
- </dd>
9972
- </dl>
9973
-
9974
- </dd>
9975
- </dl>
9976
- </details>
9977
-
9978
- ## Time Tracking Management
9979
-
9980
- <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>
9981
- <dl>
9982
- <dd>
9983
-
9984
- #### 📝 Description
9985
-
9986
- <dl>
9987
- <dd>
9988
-
9989
- <dl>
9990
- <dd>
9991
-
9992
- Create a time tracking entry for a specific time period
9993
-
9994
- </dd>
9995
- </dl>
9996
- </dd>
9997
- </dl>
9998
-
9999
- #### 🔌 Usage
10000
-
10001
- <dl>
10002
- <dd>
10003
-
10004
- <dl>
10005
- <dd>
10006
-
10007
- ```typescript
10008
- await client.api.thera.timetracking.timetrackingApi.createTimeEntry("string", "string", {
10009
- description: "string",
10010
- startTime: 1000000,
10011
- endTime: 1000000,
10012
- contractId: "string",
10013
- isBillable: true,
10014
- rate: 1000000,
10015
- });
10016
- ```
10017
-
10018
- </dd>
10019
- </dl>
10020
- </dd>
10021
- </dl>
10022
-
10023
- #### ⚙️ Parameters
10024
-
10025
- <dl>
10026
- <dd>
10027
-
10028
- <dl>
10029
- <dd>
10030
-
10031
- **companyId:** `string`
10032
-
10033
- </dd>
10034
- </dl>
10035
-
10036
- <dl>
10037
- <dd>
10038
-
10039
- **userId:** `string`
10040
-
10041
- </dd>
10042
- </dl>
10043
-
10044
- <dl>
10045
- <dd>
10046
-
10047
- **request:** `TheraApi.CreateTimeEntryRequest`
10048
-
10049
- </dd>
10050
- </dl>
10051
-
10052
- <dl>
10053
- <dd>
10054
-
10055
- **requestOptions:** `TimetrackingApi.RequestOptions`
10056
-
10057
- </dd>
10058
- </dl>
10059
- </dd>
10060
- </dl>
10061
-
10062
- </dd>
10063
- </dl>
10064
- </details>
10065
-
10066
- <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>
10067
- <dl>
10068
- <dd>
10069
-
10070
- #### 📝 Description
10071
-
10072
- <dl>
10073
- <dd>
10074
-
10075
- <dl>
10076
- <dd>
10077
-
10078
- Start tracking time for a user
10079
-
10080
- </dd>
10081
- </dl>
10082
- </dd>
10083
- </dl>
10084
-
10085
- #### 🔌 Usage
10086
-
10087
- <dl>
10088
- <dd>
10089
-
10090
- <dl>
10091
- <dd>
10092
-
10093
- ```typescript
10094
- await client.api.thera.timetracking.timetrackingApi.startTimeTracking("string", "string", {
10095
- description: "string",
10096
- contractId: "string",
10097
- userId: "string",
10098
- isBillable: true,
10099
- rate: 1000000,
10100
- });
10101
- ```
10102
-
10103
- </dd>
10104
- </dl>
10105
- </dd>
10106
- </dl>
10107
-
10108
- #### ⚙️ Parameters
10109
-
10110
- <dl>
10111
- <dd>
10112
-
10113
- <dl>
10114
- <dd>
10115
-
10116
- **companyId:** `string`
10117
-
10118
- </dd>
10119
- </dl>
10120
-
10121
- <dl>
10122
- <dd>
10123
-
10124
- **userId:** `string`
10125
-
10126
- </dd>
10127
- </dl>
10128
-
10129
- <dl>
10130
- <dd>
10131
-
10132
- **request:** `TheraApi.StartTimeTrackingRequest`
10133
-
10134
- </dd>
10135
- </dl>
10136
-
10137
- <dl>
10138
- <dd>
10139
-
10140
- **requestOptions:** `TimetrackingApi.RequestOptions`
10141
-
10142
- </dd>
10143
- </dl>
10144
- </dd>
10145
- </dl>
10146
-
10147
- </dd>
10148
- </dl>
10149
- </details>
10150
-
10151
- <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>
10152
- <dl>
10153
- <dd>
10154
-
10155
- #### 📝 Description
10156
-
10157
- <dl>
10158
- <dd>
10159
-
10160
- <dl>
10161
- <dd>
10162
-
10163
- Stop tracking time for a user
10164
-
10165
- </dd>
10166
- </dl>
10167
- </dd>
10168
- </dl>
10169
-
10170
- #### 🔌 Usage
10171
-
10172
- <dl>
10173
- <dd>
10174
-
10175
- <dl>
10176
- <dd>
10177
-
10178
- ```typescript
10179
- await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "string", {
10180
- entryId: "string",
10181
- userId: "string",
10182
- endTime: 1000000,
10183
- });
10184
- ```
10185
-
10186
- </dd>
10187
- </dl>
10188
- </dd>
10189
- </dl>
10190
-
10191
- #### ⚙️ Parameters
10192
-
10193
- <dl>
10194
- <dd>
10195
-
10196
- <dl>
10197
- <dd>
10198
-
10199
- **companyId:** `string`
10200
-
10201
- </dd>
10202
- </dl>
10203
-
10204
- <dl>
10205
- <dd>
10206
-
10207
- **userId:** `string`
10208
-
10209
- </dd>
10210
- </dl>
10211
-
10212
- <dl>
10213
- <dd>
10214
-
10215
- **request:** `TheraApi.StopTimeTrackingRequest`
10216
-
10217
- </dd>
10218
- </dl>
10219
-
10220
- <dl>
10221
- <dd>
10222
-
10223
- **requestOptions:** `TimetrackingApi.RequestOptions`
10224
-
10225
- </dd>
10226
- </dl>
10227
- </dd>
10228
- </dl>
10229
-
10230
- </dd>
10231
- </dl>
10232
- </details>
10233
-
10234
- <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>
10235
- <dl>
10236
- <dd>
10237
-
10238
- #### 📝 Description
10239
-
10240
- <dl>
10241
- <dd>
10242
-
10243
- <dl>
10244
- <dd>
10245
-
10246
- Update a time tracking entry
10247
-
10248
- </dd>
10249
- </dl>
10250
- </dd>
10251
- </dl>
10252
-
10253
- #### 🔌 Usage
10254
-
10255
- <dl>
10256
- <dd>
10257
-
10258
- <dl>
10259
- <dd>
10260
-
10261
- ```typescript
10262
- await client.api.thera.timetracking.timetrackingApi.updateTimeTracking("string", "string", "string", {
10263
- description: "string",
10264
- startTime: 1000000,
10265
- endTime: 1000000,
10266
- isBillable: true,
10267
- rate: 1000000,
10268
- });
10269
- ```
10270
-
10271
- </dd>
10272
- </dl>
10273
- </dd>
10274
- </dl>
10275
-
10276
- #### ⚙️ Parameters
10277
-
10278
- <dl>
10279
- <dd>
10280
-
10281
- <dl>
10282
- <dd>
10283
-
10284
- **companyId:** `string`
10285
-
10286
- </dd>
10287
- </dl>
10288
-
10289
- <dl>
10290
- <dd>
10291
-
10292
- **userId:** `string`
10293
-
10294
- </dd>
10295
- </dl>
10296
-
10297
- <dl>
10298
- <dd>
10299
-
10300
- **entryId:** `string`
10301
-
10302
- </dd>
10303
- </dl>
10304
-
10305
- <dl>
10306
- <dd>
10307
-
10308
- **request:** `TheraApi.UpdateTimeTrackingRequest`
10309
-
10310
- </dd>
10311
- </dl>
10312
-
10313
- <dl>
10314
- <dd>
10315
-
10316
- **requestOptions:** `TimetrackingApi.RequestOptions`
10317
-
10318
- </dd>
10319
- </dl>
10320
- </dd>
10321
- </dl>
10322
-
10323
- </dd>
10324
- </dl>
10325
- </details>
10326
-
10327
- <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>
10328
- <dl>
10329
- <dd>
10330
-
10331
- #### 📝 Description
10332
-
10333
- <dl>
10334
- <dd>
10335
-
10336
- <dl>
10337
- <dd>
10338
-
10339
- Delete a time tracking entry
10340
-
10341
- </dd>
10342
- </dl>
10343
- </dd>
10344
- </dl>
10345
-
10346
- #### 🔌 Usage
10347
-
10348
- <dl>
10349
- <dd>
10350
-
10351
- <dl>
10352
- <dd>
10353
-
10354
- ```typescript
10355
- await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string", "string", "string");
10356
- ```
10357
-
10358
- </dd>
10359
- </dl>
10360
- </dd>
10361
- </dl>
10362
-
10363
- #### ⚙️ Parameters
10364
-
10365
- <dl>
10366
- <dd>
10367
-
10368
- <dl>
10369
- <dd>
10370
-
10371
- **companyId:** `string`
10372
-
10373
- </dd>
10374
- </dl>
10375
-
10376
- <dl>
10377
- <dd>
10378
-
10379
- **userId:** `string`
10380
-
10381
- </dd>
10382
- </dl>
10383
-
10384
- <dl>
10385
- <dd>
10386
-
10387
- **entryId:** `string`
10388
-
10389
- </dd>
10390
- </dl>
10391
-
10392
- <dl>
10393
- <dd>
10394
-
10395
- **requestOptions:** `TimetrackingApi.RequestOptions`
10396
-
10397
- </dd>
10398
- </dl>
10399
- </dd>
10400
- </dl>
10401
-
10402
- </dd>
10403
- </dl>
10404
- </details>
10405
-
10406
- <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>
10407
- <dl>
10408
- <dd>
10409
-
10410
- #### 📝 Description
10411
-
10412
- <dl>
10413
- <dd>
10414
-
10415
- <dl>
10416
- <dd>
10417
-
10418
- Get all time tracking entries for a user within a date range
10419
-
10420
- </dd>
10421
- </dl>
10422
- </dd>
10423
- </dl>
10424
-
10425
- #### 🔌 Usage
10426
-
10427
- <dl>
10428
- <dd>
10429
-
10430
- <dl>
10431
- <dd>
10432
-
10433
- ```typescript
10434
- await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10435
- startDate: "string",
10436
- endDate: "string",
10437
- timezone: "string",
10438
- });
10439
- ```
10440
-
10441
- </dd>
10442
- </dl>
10443
- </dd>
10444
- </dl>
10445
-
10446
- #### ⚙️ Parameters
10447
-
10448
- <dl>
10449
- <dd>
10450
-
10451
- <dl>
10452
- <dd>
10453
-
10454
- **companyId:** `string`
10455
-
10456
- </dd>
10457
- </dl>
10458
-
10459
- <dl>
10460
- <dd>
10461
-
10462
- **userId:** `string`
10463
-
10464
- </dd>
10465
- </dl>
10466
-
10467
- <dl>
10468
- <dd>
10469
-
10470
- **request:** `TheraApi.api.thera.timetracking.GetAllTimeTrackingRequest`
10471
-
10472
- </dd>
10473
- </dl>
10474
-
10475
- <dl>
10476
- <dd>
10477
-
10478
- **requestOptions:** `TimetrackingApi.RequestOptions`
10479
-
10480
- </dd>
10481
- </dl>
10482
- </dd>
10483
- </dl>
10484
-
10485
- </dd>
10486
- </dl>
10487
- </details>
10488
-
10489
- <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>
10490
- <dl>
10491
- <dd>
10492
-
10493
- #### 📝 Description
10494
-
10495
- <dl>
10496
- <dd>
10497
-
10498
- <dl>
10499
- <dd>
10500
-
10501
- Get all time tracking entries associated with an invoice
10502
-
10503
- </dd>
10504
- </dl>
10505
- </dd>
10506
- </dl>
10507
-
10508
- #### 🔌 Usage
10509
-
10510
- <dl>
10511
- <dd>
10512
-
10513
- <dl>
10514
- <dd>
10515
-
10516
- ```typescript
10517
- await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("string", "string");
10518
- ```
10519
-
10520
- </dd>
10521
- </dl>
10522
- </dd>
10523
- </dl>
10524
-
10525
- #### ⚙️ Parameters
10526
-
10527
- <dl>
10528
- <dd>
10529
-
10530
- <dl>
10531
- <dd>
10532
-
10533
- **companyId:** `string`
10534
-
10535
- </dd>
10536
- </dl>
10537
-
10538
- <dl>
10539
- <dd>
10540
-
10541
- **invoiceId:** `string`
10542
-
10543
- </dd>
10544
- </dl>
10545
-
10546
- <dl>
10547
- <dd>
10548
-
10549
- **requestOptions:** `TimetrackingApi.RequestOptions`
10550
-
10551
- </dd>
10552
- </dl>
10553
- </dd>
10554
- </dl>
10555
-
10556
- </dd>
10557
- </dl>
10558
- </details>
10559
-
10560
- <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>
10561
- <dl>
10562
- <dd>
10563
-
10564
- #### 📝 Description
10565
-
10566
- <dl>
10567
- <dd>
10568
-
10569
- <dl>
10570
- <dd>
10571
-
10572
- Update multiple time entries with invoice association
10573
-
10574
- </dd>
10575
- </dl>
10576
- </dd>
10577
- </dl>
10578
-
10579
- #### 🔌 Usage
10580
-
10581
- <dl>
10582
- <dd>
10583
-
10584
- <dl>
10585
- <dd>
10586
-
10587
- ```typescript
10588
- await client.api.thera.timetracking.timetrackingApi.bulkUpdateTimeEntries("string", "string", {
10589
- entryIds: ["string"],
10590
- invoiceId: "string",
10591
- });
10592
- ```
10593
-
10594
- </dd>
10595
- </dl>
10596
- </dd>
10597
- </dl>
10598
-
10599
- #### ⚙️ Parameters
10600
-
10601
- <dl>
10602
- <dd>
10603
-
10604
- <dl>
10605
- <dd>
10606
-
10607
- **companyId:** `string`
10608
-
10609
- </dd>
10610
- </dl>
10611
-
10612
- <dl>
10613
- <dd>
10614
-
10615
- **userId:** `string`
10616
-
10617
- </dd>
10618
- </dl>
10619
-
10620
- <dl>
10621
- <dd>
10622
-
10623
- **request:** `TheraApi.BulkTimeEntryUpdateRequest`
10624
-
10625
- </dd>
10626
- </dl>
10627
-
10628
- <dl>
10629
- <dd>
10630
-
10631
- **requestOptions:** `TimetrackingApi.RequestOptions`
10632
-
10633
- </dd>
10634
- </dl>
10635
- </dd>
10636
- </dl>
10637
-
10638
- </dd>
10639
- </dl>
10640
- </details>
10641
-
10642
- <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>
10643
- <dl>
10644
- <dd>
10645
-
10646
- #### 📝 Description
10647
-
10648
- <dl>
10649
- <dd>
10650
-
10651
- <dl>
10652
- <dd>
10653
-
10654
- Get complete time tracking history for a user with year/month/week breakdowns
10655
-
10656
- </dd>
10657
- </dl>
10658
- </dd>
10659
- </dl>
10660
-
10661
- #### 🔌 Usage
10662
-
10663
- <dl>
10664
- <dd>
10665
-
10666
- <dl>
10667
- <dd>
10668
-
10669
- ```typescript
10670
- await client.api.thera.timetracking.timetrackingApi.getTimeTrackingHistory("string", "string", {
10671
- fromYear: "string",
10672
- });
10673
- ```
10674
-
10675
- </dd>
10676
- </dl>
10677
- </dd>
10678
- </dl>
10679
-
10680
- #### ⚙️ Parameters
10681
-
10682
- <dl>
10683
- <dd>
10684
-
10685
- <dl>
10686
- <dd>
10687
-
10688
- **companyId:** `string`
10689
-
10690
- </dd>
10691
- </dl>
10692
-
10693
- <dl>
10694
- <dd>
10695
-
10696
- **userId:** `string`
10697
-
10698
- </dd>
10699
- </dl>
10700
-
10701
- <dl>
10702
- <dd>
10703
-
10704
- **request:** `TheraApi.api.thera.timetracking.GetTimeTrackingHistoryRequest`
10705
-
10706
- </dd>
10707
- </dl>
10708
-
10709
- <dl>
10710
- <dd>
10711
-
10712
- **requestOptions:** `TimetrackingApi.RequestOptions`
10713
-
10714
- </dd>
10715
- </dl>
10716
- </dd>
10717
- </dl>
10718
-
10719
- </dd>
10720
- </dl>
10721
- </details>
10722
-
10723
- ## Treasury Prime
10724
-
10725
- <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>
10726
- <dl>
10727
- <dd>
10728
-
10729
- #### 📝 Description
10730
-
10731
- <dl>
10732
- <dd>
10733
-
10734
- <dl>
10735
- <dd>
10736
-
10737
- Final step of company onboarding, if the company is using Thera banking.
10738
-
10739
- </dd>
10740
- </dl>
10741
- </dd>
10742
- </dl>
10743
-
10744
- #### 🔌 Usage
10745
-
10746
- <dl>
10747
- <dd>
10748
-
10749
- <dl>
10750
- <dd>
10751
-
10752
- ```typescript
10753
- await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
10754
- details: {
10755
- establishedOn: "2023-01-15",
10756
- incorporationState: "string",
10757
- legalStructure: "ccorp",
10758
- naics: "string",
10759
- callerUserBeneficiaryInformation: {
10760
- dateOfBirth: "2023-01-15",
10761
- emailAddress: "string",
10762
- firstName: "string",
10763
- lastName: "string",
10764
- middleName: {
10765
- key: "value",
10766
- },
10767
- phoneNumber: "string",
10768
- mailingAddress: {
10769
- key: "value",
10770
- },
10771
- physicalAddress: {
10772
- city: "string",
10773
- country: "string",
10774
- line1: "string",
10775
- line2: "string",
10776
- postalCode: "string",
10777
- state: "string",
10778
- },
10779
- tin: "string",
10780
- ownershipPercentage: 1,
10781
- title: "string",
10782
- makeOrgAdmin: {
10783
- key: "value",
10784
- },
10785
- isControlPerson: true,
10786
- },
10787
- beneficiaries: [
10788
- {
10789
- key: "value",
10790
- },
10791
- ],
10792
- },
10793
- skipTpApplication: true,
10794
- setupDepositFbo: true,
10795
- });
10796
- ```
10797
-
10798
- </dd>
10799
- </dl>
10800
- </dd>
10801
- </dl>
10802
-
10803
- #### ⚙️ Parameters
10804
-
10805
- <dl>
10806
- <dd>
10807
-
10808
- <dl>
10809
- <dd>
10810
-
10811
- **companyId:** `string`
10812
-
10813
- </dd>
10814
- </dl>
10815
-
10816
- <dl>
10817
- <dd>
10818
-
10819
- **request:** `TheraApi.api.thera.tp.AddCompanyBankingDetailsRequest`
10820
-
10821
- </dd>
10822
- </dl>
10823
-
10824
- <dl>
10825
- <dd>
10826
-
10827
- **requestOptions:** `TpApi.RequestOptions`
10828
-
10829
- </dd>
10830
- </dl>
10831
- </dd>
10832
- </dl>
10833
-
10834
- </dd>
10835
- </dl>
10836
- </details>
10837
-
10838
- <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>
10839
- <dl>
10840
- <dd>
10841
-
10842
- #### 📝 Description
10843
-
10844
- <dl>
10845
- <dd>
10846
-
10847
- <dl>
10848
- <dd>
10849
-
10850
- Get Industry codes to be usd in the `addCompanyBankingDetails` endpoint.
10851
-
10852
- </dd>
10853
- </dl>
10854
- </dd>
10855
- </dl>
10856
-
10857
- #### 🔌 Usage
10858
-
10859
- <dl>
10860
- <dd>
10861
-
10862
- <dl>
10863
- <dd>
10864
-
10865
- ```typescript
10866
- await client.api.thera.tp.tpApi.getIndustryCodesTp();
10867
- ```
10868
-
10869
- </dd>
10870
- </dl>
10871
- </dd>
10872
- </dl>
10873
-
10874
- #### ⚙️ Parameters
10875
-
10876
- <dl>
10877
- <dd>
9906
+ </dd>
9907
+ </dl>
10878
9908
 
10879
9909
  <dl>
10880
9910
  <dd>
10881
9911
 
10882
- **requestOptions:** `TpApi.RequestOptions`
9912
+ **requestOptions:** `TimeoffApi.RequestOptions`
10883
9913
 
10884
9914
  </dd>
10885
9915
  </dl>
@@ -10890,7 +9920,7 @@ await client.api.thera.tp.tpApi.getIndustryCodesTp();
10890
9920
  </dl>
10891
9921
  </details>
10892
9922
 
10893
- <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>
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>
10894
9924
  <dl>
10895
9925
  <dd>
10896
9926
 
@@ -10902,7 +9932,7 @@ await client.api.thera.tp.tpApi.getIndustryCodesTp();
10902
9932
  <dl>
10903
9933
  <dd>
10904
9934
 
10905
- Process funds from company account to fbo account
9935
+ Get Contractor Policies' Details By Policy
10906
9936
 
10907
9937
  </dd>
10908
9938
  </dl>
@@ -10918,14 +9948,8 @@ Process funds from company account to fbo account
10918
9948
  <dd>
10919
9949
 
10920
9950
  ```typescript
10921
- await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10922
- accountId: "string",
10923
- amount: "string",
10924
- direction: "string",
10925
- paymentMethodId: "string",
10926
- secCode: "string",
10927
- service: "string",
10928
- revenueAmount: "string",
9951
+ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy("string", "string", {
9952
+ year: 1,
10929
9953
  });
10930
9954
  ```
10931
9955
 
@@ -10950,7 +9974,15 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10950
9974
  <dl>
10951
9975
  <dd>
10952
9976
 
10953
- **request:** `TheraApi.ProcessFundsTransfer`
9977
+ **policyId:** `string`
9978
+
9979
+ </dd>
9980
+ </dl>
9981
+
9982
+ <dl>
9983
+ <dd>
9984
+
9985
+ **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByPolicyRequest`
10954
9986
 
10955
9987
  </dd>
10956
9988
  </dl>
@@ -10958,7 +9990,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10958
9990
  <dl>
10959
9991
  <dd>
10960
9992
 
10961
- **requestOptions:** `TpApi.RequestOptions`
9993
+ **requestOptions:** `TimeoffApi.RequestOptions`
10962
9994
 
10963
9995
  </dd>
10964
9996
  </dl>
@@ -10969,7 +10001,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10969
10001
  </dl>
10970
10002
  </details>
10971
10003
 
10972
- <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>
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>
10973
10005
  <dl>
10974
10006
  <dd>
10975
10007
 
@@ -10981,7 +10013,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
10981
10013
  <dl>
10982
10014
  <dd>
10983
10015
 
10984
- Create TP counter party required for processing payments, each payment method needs to have a counterparty before initiating payments
10016
+ Get Contractor's Policies Details
10985
10017
 
10986
10018
  </dd>
10987
10019
  </dl>
@@ -10997,8 +10029,8 @@ Create TP counter party required for processing payments, each payment method ne
10997
10029
  <dd>
10998
10030
 
10999
10031
  ```typescript
11000
- await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
11001
- paymentMethodId: "string",
10032
+ await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByContractor("string", "string", {
10033
+ year: 1,
11002
10034
  });
11003
10035
  ```
11004
10036
 
@@ -11023,7 +10055,15 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
11023
10055
  <dl>
11024
10056
  <dd>
11025
10057
 
11026
- **request:** `TheraApi.CreateCounterPartyForBankingRequest`
10058
+ **userId:** `string`
10059
+
10060
+ </dd>
10061
+ </dl>
10062
+
10063
+ <dl>
10064
+ <dd>
10065
+
10066
+ **request:** `TheraApi.api.thera.timeoff.GetContractorsPoliciesDetailByContractor`
11027
10067
 
11028
10068
  </dd>
11029
10069
  </dl>
@@ -11031,7 +10071,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
11031
10071
  <dl>
11032
10072
  <dd>
11033
10073
 
11034
- **requestOptions:** `TpApi.RequestOptions`
10074
+ **requestOptions:** `TimeoffApi.RequestOptions`
11035
10075
 
11036
10076
  </dd>
11037
10077
  </dl>
@@ -11042,7 +10082,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
11042
10082
  </dl>
11043
10083
  </details>
11044
10084
 
11045
- <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>
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>
11046
10086
  <dl>
11047
10087
  <dd>
11048
10088
 
@@ -11054,7 +10094,7 @@ await client.api.thera.tp.tpApi.createCounterPartyForBanking("string", {
11054
10094
  <dl>
11055
10095
  <dd>
11056
10096
 
11057
- Get all tp accounts to display the account info by fe
10097
+ Modify Time Off Status
11058
10098
 
11059
10099
  </dd>
11060
10100
  </dl>
@@ -11070,7 +10110,10 @@ Get all tp accounts to display the account info by fe
11070
10110
  <dd>
11071
10111
 
11072
10112
  ```typescript
11073
- await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
10113
+ await client.api.thera.timeoff.timeoffApi.modifyTimeOffStatus("string", "string", "string", {
10114
+ userId: "string",
10115
+ status: "IN_REVIEW",
10116
+ });
11074
10117
  ```
11075
10118
 
11076
10119
  </dd>
@@ -11094,7 +10137,31 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11094
10137
  <dl>
11095
10138
  <dd>
11096
10139
 
11097
- **requestOptions:** `TpApi.RequestOptions`
10140
+ **policyId:** `string`
10141
+
10142
+ </dd>
10143
+ </dl>
10144
+
10145
+ <dl>
10146
+ <dd>
10147
+
10148
+ **timeOffId:** `string`
10149
+
10150
+ </dd>
10151
+ </dl>
10152
+
10153
+ <dl>
10154
+ <dd>
10155
+
10156
+ **request:** `TheraApi.ModifyTimeOffStatusRequest`
10157
+
10158
+ </dd>
10159
+ </dl>
10160
+
10161
+ <dl>
10162
+ <dd>
10163
+
10164
+ **requestOptions:** `TimeoffApi.RequestOptions`
11098
10165
 
11099
10166
  </dd>
11100
10167
  </dl>
@@ -11105,7 +10172,7 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11105
10172
  </dl>
11106
10173
  </details>
11107
10174
 
11108
- <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>
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>
11109
10176
  <dl>
11110
10177
  <dd>
11111
10178
 
@@ -11117,7 +10184,7 @@ await client.api.thera.tp.tpApi.getTpAccountsForCompany("string");
11117
10184
  <dl>
11118
10185
  <dd>
11119
10186
 
11120
- Get a tp accounts to display the detailed account info
10187
+ Bulk Modify Time Off Statuses
11121
10188
 
11122
10189
  </dd>
11123
10190
  </dl>
@@ -11133,9 +10200,12 @@ Get a tp accounts to display the detailed account info
11133
10200
  <dd>
11134
10201
 
11135
10202
  ```typescript
11136
- await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11137
- fboType: "PAYROLL",
11138
- });
10203
+ await client.api.thera.timeoff.timeoffApi.bulkModifyTimeOffStatuses("string", "string", [
10204
+ {
10205
+ userId: "string",
10206
+ timeoffId: "string",
10207
+ },
10208
+ ]);
11139
10209
  ```
11140
10210
 
11141
10211
  </dd>
@@ -11159,7 +10229,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11159
10229
  <dl>
11160
10230
  <dd>
11161
10231
 
11162
- **accountId:** `string`
10232
+ **status:** `string`
11163
10233
 
11164
10234
  </dd>
11165
10235
  </dl>
@@ -11167,7 +10237,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11167
10237
  <dl>
11168
10238
  <dd>
11169
10239
 
11170
- **request:** `TheraApi.api.thera.tp.TpAccountRequest`
10240
+ **request:** `TheraApi.BulkModifyTimeOffStatusesRequest[]`
11171
10241
 
11172
10242
  </dd>
11173
10243
  </dl>
@@ -11175,7 +10245,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11175
10245
  <dl>
11176
10246
  <dd>
11177
10247
 
11178
- **requestOptions:** `TpApi.RequestOptions`
10248
+ **requestOptions:** `TimeoffApi.RequestOptions`
11179
10249
 
11180
10250
  </dd>
11181
10251
  </dl>
@@ -11186,7 +10256,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11186
10256
  </dl>
11187
10257
  </details>
11188
10258
 
11189
- <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>
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>
11190
10260
  <dl>
11191
10261
  <dd>
11192
10262
 
@@ -11198,7 +10268,7 @@ await client.api.thera.tp.tpApi.getTpAccount("string", "string", {
11198
10268
  <dl>
11199
10269
  <dd>
11200
10270
 
11201
- Transfer funds from FBO to omnibus account
10271
+ Update PTO For Contractor
11202
10272
 
11203
10273
  </dd>
11204
10274
  </dl>
@@ -11214,9 +10284,15 @@ Transfer funds from FBO to omnibus account
11214
10284
  <dd>
11215
10285
 
11216
10286
  ```typescript
11217
- await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11218
- amount: "string",
11219
- sourceAccountId: "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",
11220
10296
  });
11221
10297
  ```
11222
10298
 
@@ -11241,7 +10317,23 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11241
10317
  <dl>
11242
10318
  <dd>
11243
10319
 
11244
- **request:** `TheraApi.TransferFundsToOmnibusAccount`
10320
+ **userId:** `string`
10321
+
10322
+ </dd>
10323
+ </dl>
10324
+
10325
+ <dl>
10326
+ <dd>
10327
+
10328
+ **timeOffId:** `string`
10329
+
10330
+ </dd>
10331
+ </dl>
10332
+
10333
+ <dl>
10334
+ <dd>
10335
+
10336
+ **request:** `TheraApi.UpdatePtoRequest`
11245
10337
 
11246
10338
  </dd>
11247
10339
  </dl>
@@ -11249,7 +10341,7 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11249
10341
  <dl>
11250
10342
  <dd>
11251
10343
 
11252
- **requestOptions:** `TpApi.RequestOptions`
10344
+ **requestOptions:** `TimeoffApi.RequestOptions`
11253
10345
 
11254
10346
  </dd>
11255
10347
  </dl>
@@ -11260,7 +10352,9 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11260
10352
  </dl>
11261
10353
  </details>
11262
10354
 
11263
- <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>
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>
11264
10358
  <dl>
11265
10359
  <dd>
11266
10360
 
@@ -11272,7 +10366,7 @@ await client.api.thera.tp.tpApi.transferFundsToOmnibusAccount("string", {
11272
10366
  <dl>
11273
10367
  <dd>
11274
10368
 
11275
- Get all account Transactions
10369
+ Create a time tracking entry for a specific time period
11276
10370
 
11277
10371
  </dd>
11278
10372
  </dl>
@@ -11288,7 +10382,14 @@ Get all account Transactions
11288
10382
  <dd>
11289
10383
 
11290
10384
  ```typescript
11291
- await client.api.thera.tp.tpApi.transactionHistory("string", "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,
10392
+ });
11292
10393
  ```
11293
10394
 
11294
10395
  </dd>
@@ -11312,7 +10413,15 @@ await client.api.thera.tp.tpApi.transactionHistory("string", "string");
11312
10413
  <dl>
11313
10414
  <dd>
11314
10415
 
11315
- **accountId:** `string`
10416
+ **userId:** `string`
10417
+
10418
+ </dd>
10419
+ </dl>
10420
+
10421
+ <dl>
10422
+ <dd>
10423
+
10424
+ **request:** `TheraApi.CreateTimeEntryRequest`
11316
10425
 
11317
10426
  </dd>
11318
10427
  </dl>
@@ -11320,7 +10429,7 @@ await client.api.thera.tp.tpApi.transactionHistory("string", "string");
11320
10429
  <dl>
11321
10430
  <dd>
11322
10431
 
11323
- **requestOptions:** `TpApi.RequestOptions`
10432
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11324
10433
 
11325
10434
  </dd>
11326
10435
  </dl>
@@ -11331,7 +10440,7 @@ await client.api.thera.tp.tpApi.transactionHistory("string", "string");
11331
10440
  </dl>
11332
10441
  </details>
11333
10442
 
11334
- <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>
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>
11335
10444
  <dl>
11336
10445
  <dd>
11337
10446
 
@@ -11343,7 +10452,7 @@ await client.api.thera.tp.tpApi.transactionHistory("string", "string");
11343
10452
  <dl>
11344
10453
  <dd>
11345
10454
 
11346
- Get a detailed account transaction
10455
+ Start tracking time for a user
11347
10456
 
11348
10457
  </dd>
11349
10458
  </dl>
@@ -11359,7 +10468,13 @@ Get a detailed account transaction
11359
10468
  <dd>
11360
10469
 
11361
10470
  ```typescript
11362
- await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
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,
10477
+ });
11363
10478
  ```
11364
10479
 
11365
10480
  </dd>
@@ -11383,7 +10498,15 @@ await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
11383
10498
  <dl>
11384
10499
  <dd>
11385
10500
 
11386
- **transactionId:** `string`
10501
+ **userId:** `string`
10502
+
10503
+ </dd>
10504
+ </dl>
10505
+
10506
+ <dl>
10507
+ <dd>
10508
+
10509
+ **request:** `TheraApi.StartTimeTrackingRequest`
11387
10510
 
11388
10511
  </dd>
11389
10512
  </dl>
@@ -11391,7 +10514,7 @@ await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
11391
10514
  <dl>
11392
10515
  <dd>
11393
10516
 
11394
- **requestOptions:** `TpApi.RequestOptions`
10517
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11395
10518
 
11396
10519
  </dd>
11397
10520
  </dl>
@@ -11402,7 +10525,7 @@ await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
11402
10525
  </dl>
11403
10526
  </details>
11404
10527
 
11405
- <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>
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>
11406
10529
  <dl>
11407
10530
  <dd>
11408
10531
 
@@ -11414,7 +10537,7 @@ await client.api.thera.tp.tpApi.deatiledTpTransaction("string", "string");
11414
10537
  <dl>
11415
10538
  <dd>
11416
10539
 
11417
- Use for sending funds to wise/dlocal from omnibus Account
10540
+ Stop tracking time for a user
11418
10541
 
11419
10542
  </dd>
11420
10543
  </dl>
@@ -11430,15 +10553,10 @@ Use for sending funds to wise/dlocal from omnibus Account
11430
10553
  <dd>
11431
10554
 
11432
10555
  ```typescript
11433
- await client.api.thera.tp.tpApi.externalTransferFund({
11434
- password: "string",
11435
- body: {
11436
- amount: "string",
11437
- routingNumber: "string",
11438
- accountNumber: "string",
11439
- externalFundTransferCode: "string",
11440
- consumer: "string",
11441
- },
10556
+ await client.api.thera.timetracking.timetrackingApi.stopTimeTracking("string", "string", {
10557
+ entryId: "string",
10558
+ userId: "string",
10559
+ endTime: 1000000,
11442
10560
  });
11443
10561
  ```
11444
10562
 
@@ -11455,7 +10573,23 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11455
10573
  <dl>
11456
10574
  <dd>
11457
10575
 
11458
- **request:** `TheraApi.api.thera.tp.ExternalTransferFundRequest`
10576
+ **companyId:** `string`
10577
+
10578
+ </dd>
10579
+ </dl>
10580
+
10581
+ <dl>
10582
+ <dd>
10583
+
10584
+ **userId:** `string`
10585
+
10586
+ </dd>
10587
+ </dl>
10588
+
10589
+ <dl>
10590
+ <dd>
10591
+
10592
+ **request:** `TheraApi.StopTimeTrackingRequest`
11459
10593
 
11460
10594
  </dd>
11461
10595
  </dl>
@@ -11463,7 +10597,7 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11463
10597
  <dl>
11464
10598
  <dd>
11465
10599
 
11466
- **requestOptions:** `TpApi.RequestOptions`
10600
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11467
10601
 
11468
10602
  </dd>
11469
10603
  </dl>
@@ -11474,7 +10608,7 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11474
10608
  </dl>
11475
10609
  </details>
11476
10610
 
11477
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">withdrawalTheraCash</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>
11478
10612
  <dl>
11479
10613
  <dd>
11480
10614
 
@@ -11486,7 +10620,7 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11486
10620
  <dl>
11487
10621
  <dd>
11488
10622
 
11489
- Withdrawal funds from thera cash to user's personal account via ach or wire
10623
+ Update a time tracking entry
11490
10624
 
11491
10625
  </dd>
11492
10626
  </dl>
@@ -11502,35 +10636,12 @@ Withdrawal funds from thera cash to user's personal account via ach or wire
11502
10636
  <dd>
11503
10637
 
11504
10638
  ```typescript
11505
- await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11506
- nameOnAccount: "string",
11507
- amount: "string",
11508
- ach: {
11509
- accountNumber: "string",
11510
- accountType: "string",
11511
- routingNumber: "string",
11512
- },
11513
- wire: {
11514
- accountNumber: "string",
11515
- routingNumber: "string",
11516
- addressOnAccount: {
11517
- streetLine1: "string",
11518
- streetLine2: "string",
11519
- city: "string",
11520
- state: "string",
11521
- postalCode: "string",
11522
- country: "string",
11523
- },
11524
- bankName: "string",
11525
- bankAddress: {
11526
- streetLine1: "string",
11527
- streetLine2: "string",
11528
- city: "string",
11529
- state: "string",
11530
- postalCode: "string",
11531
- country: "string",
11532
- },
11533
- },
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,
11534
10645
  });
11535
10646
  ```
11536
10647
 
@@ -11555,7 +10666,7 @@ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11555
10666
  <dl>
11556
10667
  <dd>
11557
10668
 
11558
- **request:** `TheraApi.WithdrawalTheraCash`
10669
+ **userId:** `string`
11559
10670
 
11560
10671
  </dd>
11561
10672
  </dl>
@@ -11563,20 +10674,34 @@ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11563
10674
  <dl>
11564
10675
  <dd>
11565
10676
 
11566
- **requestOptions:** `TpApi.RequestOptions`
10677
+ **entryId:** `string`
11567
10678
 
11568
10679
  </dd>
11569
10680
  </dl>
10681
+
10682
+ <dl>
10683
+ <dd>
10684
+
10685
+ **request:** `TheraApi.UpdateTimeTrackingRequest`
10686
+
11570
10687
  </dd>
11571
10688
  </dl>
11572
10689
 
10690
+ <dl>
10691
+ <dd>
10692
+
10693
+ **requestOptions:** `TimetrackingApi.RequestOptions`
10694
+
10695
+ </dd>
10696
+ </dl>
11573
10697
  </dd>
11574
10698
  </dl>
11575
- </details>
11576
10699
 
11577
- ## User API
10700
+ </dd>
10701
+ </dl>
10702
+ </details>
11578
10703
 
11579
- <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>
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>
11580
10705
  <dl>
11581
10706
  <dd>
11582
10707
 
@@ -11588,7 +10713,7 @@ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11588
10713
  <dl>
11589
10714
  <dd>
11590
10715
 
11591
- Set User Compliance Setting (KYC and Compliance docs)
10716
+ Delete a time tracking entry
11592
10717
 
11593
10718
  </dd>
11594
10719
  </dl>
@@ -11604,11 +10729,7 @@ Set User Compliance Setting (KYC and Compliance docs)
11604
10729
  <dd>
11605
10730
 
11606
10731
  ```typescript
11607
- await client.api.thera.user.userApi.setUserComplianceSetting("string", "string", {
11608
- teamId: "string",
11609
- kycEnabled: true,
11610
- complianceDocsEnabled: true,
11611
- });
10732
+ await client.api.thera.timetracking.timetrackingApi.deleteTimeTracking("string", "string", "string");
11612
10733
  ```
11613
10734
 
11614
10735
  </dd>
@@ -11624,7 +10745,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11624
10745
  <dl>
11625
10746
  <dd>
11626
10747
 
11627
- **userId:** `string`
10748
+ **companyId:** `string`
11628
10749
 
11629
10750
  </dd>
11630
10751
  </dl>
@@ -11632,7 +10753,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11632
10753
  <dl>
11633
10754
  <dd>
11634
10755
 
11635
- **companyId:** `string`
10756
+ **userId:** `string`
11636
10757
 
11637
10758
  </dd>
11638
10759
  </dl>
@@ -11640,7 +10761,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11640
10761
  <dl>
11641
10762
  <dd>
11642
10763
 
11643
- **request:** `TheraApi.SetUserComplianceSettingsRequest`
10764
+ **entryId:** `string`
11644
10765
 
11645
10766
  </dd>
11646
10767
  </dl>
@@ -11648,7 +10769,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11648
10769
  <dl>
11649
10770
  <dd>
11650
10771
 
11651
- **requestOptions:** `UserApi.RequestOptions`
10772
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11652
10773
 
11653
10774
  </dd>
11654
10775
  </dl>
@@ -11659,7 +10780,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11659
10780
  </dl>
11660
10781
  </details>
11661
10782
 
11662
- <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>
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>
11663
10784
  <dl>
11664
10785
  <dd>
11665
10786
 
@@ -11671,7 +10792,7 @@ await client.api.thera.user.userApi.setUserComplianceSetting("string", "string",
11671
10792
  <dl>
11672
10793
  <dd>
11673
10794
 
11674
- 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.
10795
+ Get all time tracking entries for a user within a date range
11675
10796
 
11676
10797
  </dd>
11677
10798
  </dl>
@@ -11687,9 +10808,10 @@ Get Compliance User Setting (KYC and Compliance docs). How it works: 1. If ANY o
11687
10808
  <dd>
11688
10809
 
11689
10810
  ```typescript
11690
- await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11691
- userId: "string",
11692
- email: "string",
10811
+ await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10812
+ startDate: "string",
10813
+ endDate: "string",
10814
+ timezone: "string",
11693
10815
  });
11694
10816
  ```
11695
10817
 
@@ -11714,7 +10836,15 @@ await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11714
10836
  <dl>
11715
10837
  <dd>
11716
10838
 
11717
- **request:** `TheraApi.api.thera.user.GetUserComplianceSettingsRequest`
10839
+ **userId:** `string`
10840
+
10841
+ </dd>
10842
+ </dl>
10843
+
10844
+ <dl>
10845
+ <dd>
10846
+
10847
+ **request:** `TheraApi.api.thera.timetracking.GetAllTimeTrackingRequest`
11718
10848
 
11719
10849
  </dd>
11720
10850
  </dl>
@@ -11722,7 +10852,7 @@ await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11722
10852
  <dl>
11723
10853
  <dd>
11724
10854
 
11725
- **requestOptions:** `UserApi.RequestOptions`
10855
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11726
10856
 
11727
10857
  </dd>
11728
10858
  </dl>
@@ -11733,7 +10863,7 @@ await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11733
10863
  </dl>
11734
10864
  </details>
11735
10865
 
11736
- <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>
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>
11737
10867
  <dl>
11738
10868
  <dd>
11739
10869
 
@@ -11745,7 +10875,7 @@ await client.api.thera.user.userApi.getComplianceUserSetting("string", {
11745
10875
  <dl>
11746
10876
  <dd>
11747
10877
 
11748
- Get User API
10878
+ Get all time tracking entries associated with an invoice
11749
10879
 
11750
10880
  </dd>
11751
10881
  </dl>
@@ -11761,9 +10891,7 @@ Get User API
11761
10891
  <dd>
11762
10892
 
11763
10893
  ```typescript
11764
- await client.api.thera.user.userApi.getUser({
11765
- userId: "string",
11766
- });
10894
+ await client.api.thera.timetracking.timetrackingApi.getTimeTrackingByInvoice("string", "string");
11767
10895
  ```
11768
10896
 
11769
10897
  </dd>
@@ -11779,7 +10907,15 @@ await client.api.thera.user.userApi.getUser({
11779
10907
  <dl>
11780
10908
  <dd>
11781
10909
 
11782
- **request:** `TheraApi.api.thera.user.GetUserRequest`
10910
+ **companyId:** `string`
10911
+
10912
+ </dd>
10913
+ </dl>
10914
+
10915
+ <dl>
10916
+ <dd>
10917
+
10918
+ **invoiceId:** `string`
11783
10919
 
11784
10920
  </dd>
11785
10921
  </dl>
@@ -11787,7 +10923,7 @@ await client.api.thera.user.userApi.getUser({
11787
10923
  <dl>
11788
10924
  <dd>
11789
10925
 
11790
- **requestOptions:** `UserApi.RequestOptions`
10926
+ **requestOptions:** `TimetrackingApi.RequestOptions`
11791
10927
 
11792
10928
  </dd>
11793
10929
  </dl>
@@ -11796,4 +10932,3 @@ await client.api.thera.user.userApi.getUser({
11796
10932
 
11797
10933
  </dd>
11798
10934
  </dl>
11799
- </details>