@thera-hr/api-sdk 0.0.1-prerelease3032-dev-anthony → 0.0.1-prerelease3032-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  6. package/api/resources/api/resources/thera/client/Client.js +17 -12
  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/companyApi/types/CreateCompanyRequest.d.ts +2 -0
  12. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  13. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  15. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  16. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  18. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  19. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
  21. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
  22. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
  23. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
  24. package/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
  25. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +95 -0
  26. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +269 -0
  27. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
  28. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
  29. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
  30. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
  31. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
  32. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +7 -0
  33. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
  34. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
  35. package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -5
  36. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  37. package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → api/resources/api/resources/thera/resources/incorporation/resources}/index.js +3 -3
  38. package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  39. package/api/resources/api/resources/thera/resources/index.js +2 -1
  40. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  41. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
  42. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
  43. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  44. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  45. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  46. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
  47. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
  48. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  49. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  50. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  51. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  52. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  53. package/api/resources/db/resources/company/types/Company.d.ts +1 -0
  54. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
  55. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
  56. package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
  57. package/api/resources/db/resources/company/types/index.d.ts +2 -0
  58. package/api/resources/db/resources/company/types/index.js +2 -0
  59. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  60. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  61. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  62. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  63. package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  64. package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
  65. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  66. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  67. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  68. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  69. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +2 -0
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  71. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  72. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  73. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  74. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  75. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  76. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  77. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
  79. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
  80. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
  81. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
  82. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
  83. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
  84. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +95 -0
  85. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +269 -0
  86. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
  87. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
  88. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
  89. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
  90. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +26 -0
  91. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
  92. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +7 -0
  93. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +15 -0
  94. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
  95. package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -5
  96. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  97. package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → dist/api/resources/api/resources/thera/resources/incorporation/resources}/index.js +3 -3
  98. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  99. package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
  100. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  101. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
  102. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  109. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  110. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  111. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  112. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  113. package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
  114. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +24 -0
  115. package/dist/api/resources/db/resources/company/types/IncorporationDetails.js +5 -0
  116. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
  117. package/dist/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
  118. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
  119. package/dist/api/resources/db/resources/company/types/index.d.ts +2 -0
  120. package/dist/api/resources/db/resources/company/types/index.js +2 -0
  121. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
  122. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -0
  123. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
  124. package/dist/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → serialization/resources/api/resources/thera/resources/incorporation}/index.js +1 -1
  125. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
  126. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -1
  127. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
  128. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
  129. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
  130. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/listW2PaySchedules.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +5 -3
  131. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +32 -0
  132. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +23 -11
  133. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
  134. package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +6 -3
  135. package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts → dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts} +4 -3
  136. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +4 -3
  137. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
  138. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/PaymentStatusResponse.js} +12 -11
  139. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
  140. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -5
  141. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  142. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  143. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
  145. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  146. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  147. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  148. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  152. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
  153. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  154. package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
  155. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +31 -0
  156. package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → db/resources/company/types/IncorporationDetails.js} +23 -4
  157. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
  158. package/dist/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → db/resources/company/types/IncorporationDocument.js} +6 -3
  159. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  160. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  161. package/dist/serialization/resources/db/resources/company/types/index.d.ts +2 -0
  162. package/dist/serialization/resources/db/resources/company/types/index.js +2 -0
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +1 -1
  166. package/reference.md +117 -421
  167. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +1 -0
  168. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +1 -0
  169. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
  170. package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client → serialization/resources/api/resources/thera/resources/incorporation}/index.js +1 -1
  171. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
  172. package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -1
  173. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
  174. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
  175. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
  176. package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/listW2PaySchedules.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +5 -3
  177. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +32 -0
  178. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +63 -0
  179. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
  180. package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +6 -3
  181. package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts → serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts} +4 -3
  182. package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +4 -3
  183. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +21 -0
  184. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +52 -0
  185. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +6 -0
  186. package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/types/index.js +6 -5
  187. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  188. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  189. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  190. package/serialization/resources/api/resources/thera/resources/index.js +2 -1
  191. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  192. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  193. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  194. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
  195. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
  196. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
  197. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  198. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
  199. package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  200. package/serialization/resources/db/resources/company/types/Company.js +2 -0
  201. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +31 -0
  202. package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → serialization/resources/db/resources/company/types/IncorporationDetails.js} +23 -9
  203. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
  204. package/serialization/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → db/resources/company/types/IncorporationDocument.js} +6 -3
  205. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  206. package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  207. package/serialization/resources/db/resources/company/types/index.d.ts +2 -0
  208. package/serialization/resources/db/resources/company/types/index.js +2 -0
  209. package/version.d.ts +1 -1
  210. package/version.js +1 -1
  211. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
  212. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
  213. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
  214. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
  215. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
  216. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
  217. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  218. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
  219. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
  220. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +0 -7
  221. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
  222. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  223. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
  224. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  225. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
  226. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
  227. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
  228. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
  229. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
  230. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
  231. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  232. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
  233. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
  234. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +0 -7
  235. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
  236. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  237. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
  238. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  239. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
  240. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
  241. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
  242. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
  243. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
  244. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
  245. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -19
  246. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -50
  247. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  248. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
  249. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  250. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
  251. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
  252. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
  253. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  254. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  255. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
  256. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
  257. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
  258. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
  259. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
  260. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +0 -43
  261. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
  262. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -48
  263. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -19
  264. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -50
  265. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  266. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
  267. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  268. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
  269. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
  270. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -51
  271. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
  272. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -51
  273. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  274. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  275. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests → incorporation/client}/index.js +0 -0
  276. /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client}/index.js +0 -0
  277. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.d.ts +0 -0
  278. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -0
  279. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js} +0 -0
  280. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +0 -0
  281. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
  282. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
  283. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +0 -0
  284. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js → incorporation/resources/incorporationApi/types/PaymentStatusResponse.js} +0 -0
  285. /package/api/resources/{api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → db/resources/company/types/IncorporationDetails.js} +0 -0
  286. /package/{dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → api/resources/db/resources/company/types/IncorporationDocument.js} +0 -0
  287. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.d.ts +0 -0
  288. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi → incorporation/resources/incorporationApi}/index.js +0 -0
  289. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js} +0 -0
  290. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +0 -0
  291. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
  292. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
  293. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js → incorporation/resources/incorporationApi/types/PaymentItemResponse.js} +0 -0
  294. /package/dist/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js → incorporation/resources/incorporationApi/types/PaymentStatusResponse.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
- ## Miscellaneous API
7892
+ ## Incorporation Integration
7893
7893
 
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>
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>
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
- 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
7906
+ Create a new user account and company for someone who has incorporated
7907
7907
 
7908
7908
  </dd>
7909
7909
  </dl>
@@ -7919,8 +7919,34 @@ Calling this API will trigger automatic payouts for all workers that have auto-w
7919
7919
  <dd>
7920
7920
 
7921
7921
  ```typescript
7922
- await client.api.thera.misc.misc.regularCron({
7923
- theraWebhookSignatureHeader: "string",
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
+ userPersonalAddress: {
7942
+ city: "string",
7943
+ country: "string",
7944
+ line1: "string",
7945
+ line2: "string",
7946
+ postalCode: "string",
7947
+ state: "string",
7948
+ },
7949
+ password: "string",
7924
7950
  });
7925
7951
  ```
7926
7952
 
@@ -7937,7 +7963,7 @@ await client.api.thera.misc.misc.regularCron({
7937
7963
  <dl>
7938
7964
  <dd>
7939
7965
 
7940
- **request:** `TheraApi.api.thera.misc.DailyCronRequest`
7966
+ **request:** `TheraApi.IncorporationSignupRequest`
7941
7967
 
7942
7968
  </dd>
7943
7969
  </dl>
@@ -7945,7 +7971,7 @@ await client.api.thera.misc.misc.regularCron({
7945
7971
  <dl>
7946
7972
  <dd>
7947
7973
 
7948
- **requestOptions:** `Misc.RequestOptions`
7974
+ **requestOptions:** `IncorporationApi.RequestOptions`
7949
7975
 
7950
7976
  </dd>
7951
7977
  </dl>
@@ -7956,7 +7982,7 @@ await client.api.thera.misc.misc.regularCron({
7956
7982
  </dl>
7957
7983
  </details>
7958
7984
 
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>
7985
+ <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>
7960
7986
  <dl>
7961
7987
  <dd>
7962
7988
 
@@ -7968,7 +7994,7 @@ await client.api.thera.misc.misc.regularCron({
7968
7994
  <dl>
7969
7995
  <dd>
7970
7996
 
7971
- Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
7997
+ Create a Stripe checkout session for payment
7972
7998
 
7973
7999
  </dd>
7974
8000
  </dl>
@@ -7984,8 +8010,15 @@ Calling this API will trigger automatic withdrawals for all workers that have au
7984
8010
  <dd>
7985
8011
 
7986
8012
  ```typescript
7987
- await client.api.thera.misc.misc.autoWithdrawalCron({
7988
- theraWebhookSignatureHeader: "string",
8013
+ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
8014
+ amount: 1.1,
8015
+ productName: "string",
8016
+ currency: "string",
8017
+ successUrl: "string",
8018
+ cancelUrl: "string",
8019
+ metadata: {
8020
+ string: "string",
8021
+ },
7989
8022
  });
7990
8023
  ```
7991
8024
 
@@ -8002,7 +8035,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8002
8035
  <dl>
8003
8036
  <dd>
8004
8037
 
8005
- **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8038
+ **request:** `TheraApi.CheckoutSessionRequest`
8006
8039
 
8007
8040
  </dd>
8008
8041
  </dl>
@@ -8010,7 +8043,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8010
8043
  <dl>
8011
8044
  <dd>
8012
8045
 
8013
- **requestOptions:** `Misc.RequestOptions`
8046
+ **requestOptions:** `IncorporationApi.RequestOptions`
8014
8047
 
8015
8048
  </dd>
8016
8049
  </dl>
@@ -8021,7 +8054,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8021
8054
  </dl>
8022
8055
  </details>
8023
8056
 
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>
8057
+ <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>
8025
8058
  <dl>
8026
8059
  <dd>
8027
8060
 
@@ -8033,7 +8066,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8033
8066
  <dl>
8034
8067
  <dd>
8035
8068
 
8036
- Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8069
+ Check the status of a Stripe payment session
8037
8070
 
8038
8071
  </dd>
8039
8072
  </dl>
@@ -8049,9 +8082,7 @@ Calling this API will trigger automatic auto payment of invoices for all compani
8049
8082
  <dd>
8050
8083
 
8051
8084
  ```typescript
8052
- await client.api.thera.misc.misc.autoPayCron({
8053
- theraWebhookSignatureHeader: "string",
8054
- });
8085
+ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string");
8055
8086
  ```
8056
8087
 
8057
8088
  </dd>
@@ -8067,7 +8098,7 @@ await client.api.thera.misc.misc.autoPayCron({
8067
8098
  <dl>
8068
8099
  <dd>
8069
8100
 
8070
- **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8101
+ **sessionId:** `string`
8071
8102
 
8072
8103
  </dd>
8073
8104
  </dl>
@@ -8075,7 +8106,7 @@ await client.api.thera.misc.misc.autoPayCron({
8075
8106
  <dl>
8076
8107
  <dd>
8077
8108
 
8078
- **requestOptions:** `Misc.RequestOptions`
8109
+ **requestOptions:** `IncorporationApi.RequestOptions`
8079
8110
 
8080
8111
  </dd>
8081
8112
  </dl>
@@ -8086,7 +8117,9 @@ await client.api.thera.misc.misc.autoPayCron({
8086
8117
  </dl>
8087
8118
  </details>
8088
8119
 
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>
8120
+ ## Miscellaneous API
8121
+
8122
+ <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>
8090
8123
  <dl>
8091
8124
  <dd>
8092
8125
 
@@ -8098,7 +8131,7 @@ await client.api.thera.misc.misc.autoPayCron({
8098
8131
  <dl>
8099
8132
  <dd>
8100
8133
 
8101
- Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8134
+ 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
8102
8135
 
8103
8136
  </dd>
8104
8137
  </dl>
@@ -8114,7 +8147,7 @@ Calling this API will trigger automatic email notifications for all companies th
8114
8147
  <dd>
8115
8148
 
8116
8149
  ```typescript
8117
- await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8150
+ await client.api.thera.misc.misc.regularCron({
8118
8151
  theraWebhookSignatureHeader: "string",
8119
8152
  });
8120
8153
  ```
@@ -8132,7 +8165,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8132
8165
  <dl>
8133
8166
  <dd>
8134
8167
 
8135
- **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8168
+ **request:** `TheraApi.api.thera.misc.DailyCronRequest`
8136
8169
 
8137
8170
  </dd>
8138
8171
  </dl>
@@ -8151,7 +8184,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8151
8184
  </dl>
8152
8185
  </details>
8153
8186
 
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>
8187
+ <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>
8155
8188
  <dl>
8156
8189
  <dd>
8157
8190
 
@@ -8163,7 +8196,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8163
8196
  <dl>
8164
8197
  <dd>
8165
8198
 
8166
- Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8199
+ Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
8167
8200
 
8168
8201
  </dd>
8169
8202
  </dl>
@@ -8179,7 +8212,7 @@ Calling this API will trigger a check for contracts that need renewal and notify
8179
8212
  <dd>
8180
8213
 
8181
8214
  ```typescript
8182
- await client.api.thera.misc.misc.contractRenewalCron({
8215
+ await client.api.thera.misc.misc.autoWithdrawalCron({
8183
8216
  theraWebhookSignatureHeader: "string",
8184
8217
  });
8185
8218
  ```
@@ -8197,7 +8230,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8197
8230
  <dl>
8198
8231
  <dd>
8199
8232
 
8200
- **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8233
+ **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8201
8234
 
8202
8235
  </dd>
8203
8236
  </dl>
@@ -8216,7 +8249,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8216
8249
  </dl>
8217
8250
  </details>
8218
8251
 
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>
8252
+ <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>
8220
8253
  <dl>
8221
8254
  <dd>
8222
8255
 
@@ -8228,7 +8261,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8228
8261
  <dl>
8229
8262
  <dd>
8230
8263
 
8231
- Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8264
+ Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8232
8265
 
8233
8266
  </dd>
8234
8267
  </dl>
@@ -8244,7 +8277,7 @@ Calling this API will trigger automatic transfer of funds from fbo to omnibus fo
8244
8277
  <dd>
8245
8278
 
8246
8279
  ```typescript
8247
- await client.api.thera.misc.misc.processAchTpInvoices({
8280
+ await client.api.thera.misc.misc.autoPayCron({
8248
8281
  theraWebhookSignatureHeader: "string",
8249
8282
  });
8250
8283
  ```
@@ -8262,7 +8295,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8262
8295
  <dl>
8263
8296
  <dd>
8264
8297
 
8265
- **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8298
+ **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8266
8299
 
8267
8300
  </dd>
8268
8301
  </dl>
@@ -8281,7 +8314,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8281
8314
  </dl>
8282
8315
  </details>
8283
8316
 
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>
8317
+ <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>
8285
8318
  <dl>
8286
8319
  <dd>
8287
8320
 
@@ -8293,7 +8326,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8293
8326
  <dl>
8294
8327
  <dd>
8295
8328
 
8296
- Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8329
+ Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8297
8330
 
8298
8331
  </dd>
8299
8332
  </dl>
@@ -8309,21 +8342,8 @@ Webhook endpoint that receives submissions from Fillout forms to create EOR empl
8309
8342
  <dd>
8310
8343
 
8311
8344
  ```typescript
8312
- await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8345
+ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8313
8346
  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
- },
8327
8347
  });
8328
8348
  ```
8329
8349
 
@@ -8340,7 +8360,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8340
8360
  <dl>
8341
8361
  <dd>
8342
8362
 
8343
- **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8363
+ **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8344
8364
 
8345
8365
  </dd>
8346
8366
  </dl>
@@ -8359,9 +8379,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8359
8379
  </dl>
8360
8380
  </details>
8361
8381
 
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>
8382
+ <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>
8365
8383
  <dl>
8366
8384
  <dd>
8367
8385
 
@@ -8373,68 +8391,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8373
8391
  <dl>
8374
8392
  <dd>
8375
8393
 
8376
- </dd>
8377
- </dl>
8378
- </dd>
8379
- </dl>
8380
-
8381
- #### 🔌 Usage
8382
-
8383
- <dl>
8384
- <dd>
8385
-
8386
- <dl>
8387
- <dd>
8388
-
8389
- ```typescript
8390
- await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8391
- ```
8392
-
8393
- </dd>
8394
- </dl>
8395
- </dd>
8396
- </dl>
8397
-
8398
- #### ⚙️ Parameters
8399
-
8400
- <dl>
8401
- <dd>
8402
-
8403
- <dl>
8404
- <dd>
8405
-
8406
- **companyId:** `string`
8407
-
8408
- </dd>
8409
- </dl>
8410
-
8411
- <dl>
8412
- <dd>
8413
-
8414
- **requestOptions:** `OffcycleApi.RequestOptions`
8415
-
8416
- </dd>
8417
- </dl>
8418
- </dd>
8419
- </dl>
8420
-
8421
- </dd>
8422
- </dl>
8423
- </details>
8424
-
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, checkPayrollId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
8428
- <dl>
8429
- <dd>
8430
-
8431
- #### 📝 Description
8432
-
8433
- <dl>
8434
- <dd>
8435
-
8436
- <dl>
8437
- <dd>
8394
+ Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8438
8395
 
8439
8396
  </dd>
8440
8397
  </dl>
@@ -8450,7 +8407,9 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8450
8407
  <dd>
8451
8408
 
8452
8409
  ```typescript
8453
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
8410
+ await client.api.thera.misc.misc.contractRenewalCron({
8411
+ theraWebhookSignatureHeader: "string",
8412
+ });
8454
8413
  ```
8455
8414
 
8456
8415
  </dd>
@@ -8466,15 +8425,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8466
8425
  <dl>
8467
8426
  <dd>
8468
8427
 
8469
- **companyId:** `string`
8470
-
8471
- </dd>
8472
- </dl>
8473
-
8474
- <dl>
8475
- <dd>
8476
-
8477
- **checkPayrollId:** `string`
8428
+ **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8478
8429
 
8479
8430
  </dd>
8480
8431
  </dl>
@@ -8482,7 +8433,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8482
8433
  <dl>
8483
8434
  <dd>
8484
8435
 
8485
- **requestOptions:** `OncycleApi.RequestOptions`
8436
+ **requestOptions:** `Misc.RequestOptions`
8486
8437
 
8487
8438
  </dd>
8488
8439
  </dl>
@@ -8493,7 +8444,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8493
8444
  </dl>
8494
8445
  </details>
8495
8446
 
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>
8447
+ <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>
8497
8448
  <dl>
8498
8449
  <dd>
8499
8450
 
@@ -8505,66 +8456,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8505
8456
  <dl>
8506
8457
  <dd>
8507
8458
 
8508
- </dd>
8509
- </dl>
8510
- </dd>
8511
- </dl>
8512
-
8513
- #### 🔌 Usage
8514
-
8515
- <dl>
8516
- <dd>
8517
-
8518
- <dl>
8519
- <dd>
8520
-
8521
- ```typescript
8522
- await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8523
- ```
8524
-
8525
- </dd>
8526
- </dl>
8527
- </dd>
8528
- </dl>
8529
-
8530
- #### ⚙️ Parameters
8531
-
8532
- <dl>
8533
- <dd>
8534
-
8535
- <dl>
8536
- <dd>
8537
-
8538
- **companyId:** `string`
8539
-
8540
- </dd>
8541
- </dl>
8542
-
8543
- <dl>
8544
- <dd>
8545
-
8546
- **requestOptions:** `OncycleApi.RequestOptions`
8547
-
8548
- </dd>
8549
- </dl>
8550
- </dd>
8551
- </dl>
8552
-
8553
- </dd>
8554
- </dl>
8555
- </details>
8556
-
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>
8558
- <dl>
8559
- <dd>
8560
-
8561
- #### 📝 Description
8562
-
8563
- <dl>
8564
- <dd>
8565
-
8566
- <dl>
8567
- <dd>
8459
+ Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8568
8460
 
8569
8461
  </dd>
8570
8462
  </dl>
@@ -8580,7 +8472,9 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8580
8472
  <dd>
8581
8473
 
8582
8474
  ```typescript
8583
- await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
8475
+ await client.api.thera.misc.misc.processAchTpInvoices({
8476
+ theraWebhookSignatureHeader: "string",
8477
+ });
8584
8478
  ```
8585
8479
 
8586
8480
  </dd>
@@ -8596,15 +8490,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
8596
8490
  <dl>
8597
8491
  <dd>
8598
8492
 
8599
- **companyId:** `string`
8600
-
8601
- </dd>
8602
- </dl>
8603
-
8604
- <dl>
8605
- <dd>
8606
-
8607
- **checkPayrollId:** `string`
8493
+ **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8608
8494
 
8609
8495
  </dd>
8610
8496
  </dl>
@@ -8612,7 +8498,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
8612
8498
  <dl>
8613
8499
  <dd>
8614
8500
 
8615
- **requestOptions:** `OncycleApi.RequestOptions`
8501
+ **requestOptions:** `Misc.RequestOptions`
8616
8502
 
8617
8503
  </dd>
8618
8504
  </dl>
@@ -8623,7 +8509,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
8623
8509
  </dl>
8624
8510
  </details>
8625
8511
 
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, checkPayrollId) -> void</code></summary>
8512
+ <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>
8627
8513
  <dl>
8628
8514
  <dd>
8629
8515
 
@@ -8635,76 +8521,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
8635
8521
  <dl>
8636
8522
  <dd>
8637
8523
 
8638
- </dd>
8639
- </dl>
8640
- </dd>
8641
- </dl>
8642
-
8643
- #### 🔌 Usage
8644
-
8645
- <dl>
8646
- <dd>
8647
-
8648
- <dl>
8649
- <dd>
8650
-
8651
- ```typescript
8652
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
8653
- ```
8654
-
8655
- </dd>
8656
- </dl>
8657
- </dd>
8658
- </dl>
8659
-
8660
- #### ⚙️ Parameters
8661
-
8662
- <dl>
8663
- <dd>
8664
-
8665
- <dl>
8666
- <dd>
8667
-
8668
- **companyId:** `string`
8669
-
8670
- </dd>
8671
- </dl>
8672
-
8673
- <dl>
8674
- <dd>
8675
-
8676
- **checkPayrollId:** `string`
8677
-
8678
- </dd>
8679
- </dl>
8680
-
8681
- <dl>
8682
- <dd>
8683
-
8684
- **requestOptions:** `OncycleApi.RequestOptions`
8685
-
8686
- </dd>
8687
- </dl>
8688
- </dd>
8689
- </dl>
8690
-
8691
- </dd>
8692
- </dl>
8693
- </details>
8694
-
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>
8698
- <dl>
8699
- <dd>
8700
-
8701
- #### 📝 Description
8702
-
8703
- <dl>
8704
- <dd>
8705
-
8706
- <dl>
8707
- <dd>
8524
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8708
8525
 
8709
8526
  </dd>
8710
8527
  </dl>
@@ -8720,12 +8537,21 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8720
8537
  <dd>
8721
8538
 
8722
8539
  ```typescript
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",
8540
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8541
+ theraWebhookSignatureHeader: "string",
8542
+ body: {
8543
+ firstName: "string",
8544
+ lastName: "string",
8545
+ email: "string",
8546
+ country: "string",
8547
+ companyId: "string",
8548
+ teamId: "string",
8549
+ jobTitle: "string",
8550
+ startDate: "2023-01-15",
8551
+ rate: 1.1,
8552
+ wageType: "HOURLY",
8553
+ currency: "string",
8554
+ },
8729
8555
  });
8730
8556
  ```
8731
8557
 
@@ -8742,15 +8568,7 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
8742
8568
  <dl>
8743
8569
  <dd>
8744
8570
 
8745
- **companyId:** `string`
8746
-
8747
- </dd>
8748
- </dl>
8749
-
8750
- <dl>
8751
- <dd>
8752
-
8753
- **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8571
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8754
8572
 
8755
8573
  </dd>
8756
8574
  </dl>
@@ -8758,7 +8576,7 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
8758
8576
  <dl>
8759
8577
  <dd>
8760
8578
 
8761
- **requestOptions:** `PayscheduleApi.RequestOptions`
8579
+ **requestOptions:** `Misc.RequestOptions`
8762
8580
 
8763
8581
  </dd>
8764
8582
  </dl>
@@ -8769,76 +8587,9 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
8769
8587
  </dl>
8770
8588
  </details>
8771
8589
 
8772
- <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>
8773
- <dl>
8774
- <dd>
8775
-
8776
- #### 📝 Description
8777
-
8778
- <dl>
8779
- <dd>
8780
-
8781
- <dl>
8782
- <dd>
8783
-
8784
- </dd>
8785
- </dl>
8786
- </dd>
8787
- </dl>
8788
-
8789
- #### 🔌 Usage
8790
-
8791
- <dl>
8792
- <dd>
8793
-
8794
- <dl>
8795
- <dd>
8796
-
8797
- ```typescript
8798
- await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8799
- ```
8800
-
8801
- </dd>
8802
- </dl>
8803
- </dd>
8804
- </dl>
8805
-
8806
- #### ⚙️ Parameters
8807
-
8808
- <dl>
8809
- <dd>
8810
-
8811
- <dl>
8812
- <dd>
8813
-
8814
- **companyId:** `string`
8815
-
8816
- </dd>
8817
- </dl>
8818
-
8819
- <dl>
8820
- <dd>
8821
-
8822
- **checkPayScheduleId:** `string`
8823
-
8824
- </dd>
8825
- </dl>
8826
-
8827
- <dl>
8828
- <dd>
8829
-
8830
- **requestOptions:** `PayscheduleApi.RequestOptions`
8831
-
8832
- </dd>
8833
- </dl>
8834
- </dd>
8835
- </dl>
8836
-
8837
- </dd>
8838
- </dl>
8839
- </details>
8590
+ ## Offcycle API
8840
8591
 
8841
- <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>
8592
+ <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>
8842
8593
  <dl>
8843
8594
  <dd>
8844
8595
 
@@ -8864,7 +8615,7 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
8864
8615
  <dd>
8865
8616
 
8866
8617
  ```typescript
8867
- await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8618
+ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8868
8619
  ```
8869
8620
 
8870
8621
  </dd>
@@ -8888,7 +8639,7 @@ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8888
8639
  <dl>
8889
8640
  <dd>
8890
8641
 
8891
- **requestOptions:** `PayscheduleApi.RequestOptions`
8642
+ **requestOptions:** `OffcycleApi.RequestOptions`
8892
8643
 
8893
8644
  </dd>
8894
8645
  </dl>
@@ -8899,7 +8650,9 @@ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8899
8650
  </dl>
8900
8651
  </details>
8901
8652
 
8902
- <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>
8653
+ ## Oncycle API
8654
+
8655
+ <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>
8903
8656
  <dl>
8904
8657
  <dd>
8905
8658
 
@@ -8911,8 +8664,6 @@ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8911
8664
  <dl>
8912
8665
  <dd>
8913
8666
 
8914
- 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
8915
-
8916
8667
  </dd>
8917
8668
  </dl>
8918
8669
  </dd>
@@ -8927,7 +8678,7 @@ Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete
8927
8678
  <dd>
8928
8679
 
8929
8680
  ```typescript
8930
- await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
8681
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8931
8682
  ```
8932
8683
 
8933
8684
  </dd>
@@ -8951,15 +8702,7 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
8951
8702
  <dl>
8952
8703
  <dd>
8953
8704
 
8954
- **checkPayScheduleId:** `string`
8955
-
8956
- </dd>
8957
- </dl>
8958
-
8959
- <dl>
8960
- <dd>
8961
-
8962
- **requestOptions:** `PayscheduleApi.RequestOptions`
8705
+ **requestOptions:** `OncycleApi.RequestOptions`
8963
8706
 
8964
8707
  </dd>
8965
8708
  </dl>
@@ -8970,7 +8713,7 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
8970
8713
  </dl>
8971
8714
  </details>
8972
8715
 
8973
- <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>
8716
+ <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>
8974
8717
  <dl>
8975
8718
  <dd>
8976
8719
 
@@ -8996,16 +8739,7 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
8996
8739
  <dd>
8997
8740
 
8998
8741
  ```typescript
8999
- await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
9000
- name: "string",
9001
- payFrequency: "weekly",
9002
- firstPeriodEndDate: "2023-01-15",
9003
- firstPayDate: "2023-01-15",
9004
- secondPayDate: "2023-01-15",
9005
- metadata: {
9006
- deleted: "string",
9007
- },
9008
- });
8742
+ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9009
8743
  ```
9010
8744
 
9011
8745
  </dd>
@@ -9029,23 +8763,7 @@ await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "str
9029
8763
  <dl>
9030
8764
  <dd>
9031
8765
 
9032
- **checkPayScheduleId:** `string`
9033
-
9034
- </dd>
9035
- </dl>
9036
-
9037
- <dl>
9038
- <dd>
9039
-
9040
- **request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
9041
-
9042
- </dd>
9043
- </dl>
9044
-
9045
- <dl>
9046
- <dd>
9047
-
9048
- **requestOptions:** `PayscheduleApi.RequestOptions`
8766
+ **requestOptions:** `OncycleApi.RequestOptions`
9049
8767
 
9050
8768
  </dd>
9051
8769
  </dl>
@@ -9056,7 +8774,7 @@ await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "str
9056
8774
  </dl>
9057
8775
  </details>
9058
8776
 
9059
- <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, checkPayScheduleId, { ...params }) -> TheraApi.AssignW2EmployeeToPayScheduleResponse</code></summary>
8777
+ <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>
9060
8778
  <dl>
9061
8779
  <dd>
9062
8780
 
@@ -9068,8 +8786,6 @@ await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "str
9068
8786
  <dl>
9069
8787
  <dd>
9070
8788
 
9071
- 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
9072
-
9073
8789
  </dd>
9074
8790
  </dl>
9075
8791
  </dd>
@@ -9084,11 +8800,7 @@ If user ID is not provided in the request, it'll use the old value in DB. The re
9084
8800
  <dd>
9085
8801
 
9086
8802
  ```typescript
9087
- await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
9088
- checkPayScheduleIdByUserId: {
9089
- string: "string",
9090
- },
9091
- });
8803
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string");
9092
8804
  ```
9093
8805
 
9094
8806
  </dd>
@@ -9112,23 +8824,7 @@ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("stri
9112
8824
  <dl>
9113
8825
  <dd>
9114
8826
 
9115
- **checkPayScheduleId:** `string`
9116
-
9117
- </dd>
9118
- </dl>
9119
-
9120
- <dl>
9121
- <dd>
9122
-
9123
- **request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
9124
-
9125
- </dd>
9126
- </dl>
9127
-
9128
- <dl>
9129
- <dd>
9130
-
9131
- **requestOptions:** `PayscheduleApi.RequestOptions`
8827
+ **requestOptions:** `OncycleApi.RequestOptions`
9132
8828
 
9133
8829
  </dd>
9134
8830
  </dl>