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

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 (328) 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 +114 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -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 +22 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -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 +7 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  45. package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  46. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  47. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  48. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  49. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  50. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  51. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  52. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  53. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  54. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  55. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  56. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  57. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  59. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  60. package/api/resources/db/resources/company/types/Company.d.ts +0 -1
  61. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  62. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  63. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  64. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  65. package/api/resources/db/resources/company/types/index.d.ts +1 -2
  66. package/api/resources/db/resources/company/types/index.js +1 -2
  67. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  68. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  69. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  70. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  71. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  72. package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
  73. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  74. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  75. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  76. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  77. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  79. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  80. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  81. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  82. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  83. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  84. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  85. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  87. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  88. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  89. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  90. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  99. package/dist/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  118. package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  119. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  120. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  121. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  122. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  123. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  124. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  125. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  126. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  127. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  128. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  129. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  130. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  132. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  133. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  134. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  135. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  136. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  137. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  138. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  139. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -2
  140. package/dist/api/resources/db/resources/company/types/index.js +1 -2
  141. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  142. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  143. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  145. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  146. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  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 +35 -1
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  153. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  154. package/{api/resources/api/resources/thera/resources/incorporation/resources → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +3 -3
  155. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  159. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  166. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  172. package/dist/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  179. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  189. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  190. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -2
  191. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  192. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  193. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  194. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  195. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  196. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  197. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  198. package/dist/serialization/resources/db/resources/company/types/index.js +1 -2
  199. package/dist/version.d.ts +1 -1
  200. package/dist/version.js +1 -1
  201. package/package.json +1 -1
  202. package/reference.md +657 -106
  203. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  204. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  205. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  206. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  207. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  208. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  209. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  210. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  211. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  212. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  213. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  214. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  215. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  216. package/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +3 -3
  217. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  218. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  219. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  220. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  221. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  222. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  223. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  224. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  225. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  226. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  228. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  230. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  234. package/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  240. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  241. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  242. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  243. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  244. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  245. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  246. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  247. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  248. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  249. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  250. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  251. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  252. package/serialization/resources/db/resources/company/types/Company.js +0 -2
  253. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  254. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  255. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  256. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  257. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  258. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  259. package/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  260. package/serialization/resources/db/resources/company/types/index.js +1 -2
  261. package/version.d.ts +1 -1
  262. package/version.js +1 -1
  263. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  264. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  265. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  266. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  267. package/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  268. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  269. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  270. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  271. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  272. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  273. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  274. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  275. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  276. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  277. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  278. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  279. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  280. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +0 -2
  281. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  282. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  283. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  284. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  285. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  286. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +0 -2
  287. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  288. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  289. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  290. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  291. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  292. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  293. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  294. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  295. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  296. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  297. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  298. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  299. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  300. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  301. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  302. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  303. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  304. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  305. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  306. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  307. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  308. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  309. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  310. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  311. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  312. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  313. package/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  314. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  315. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  316. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  317. /package/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  318. /package/api/resources/api/resources/thera/resources/{incorporation/client → payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  319. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  320. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
  321. /package/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
  322. /package/{dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
  323. /package/{dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
  324. /package/{dist/api/resources/db/resources/company/types/IncorporationDetails.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
  325. /package/{dist/api/resources/db/resources/company/types/IncorporationDocument.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js} +0 -0
  326. /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
  327. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  328. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.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,22 +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
- appointedAgent: true,
7935
- registrationDate: "string",
7936
- status: "string",
7937
- password: "string",
7922
+ await client.api.thera.misc.misc.regularCron({
7923
+ theraWebhookSignatureHeader: "string",
7938
7924
  });
7939
7925
  ```
7940
7926
 
@@ -7951,7 +7937,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7951
7937
  <dl>
7952
7938
  <dd>
7953
7939
 
7954
- **request:** `TheraApi.IncorporationSignupRequest`
7940
+ **request:** `TheraApi.api.thera.misc.DailyCronRequest`
7955
7941
 
7956
7942
  </dd>
7957
7943
  </dl>
@@ -7959,7 +7945,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7959
7945
  <dl>
7960
7946
  <dd>
7961
7947
 
7962
- **requestOptions:** `IncorporationApi.RequestOptions`
7948
+ **requestOptions:** `Misc.RequestOptions`
7963
7949
 
7964
7950
  </dd>
7965
7951
  </dl>
@@ -7970,9 +7956,412 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7970
7956
  </dl>
7971
7957
  </details>
7972
7958
 
7973
- ## Miscellaneous API
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>
7960
+ <dl>
7961
+ <dd>
7962
+
7963
+ #### 📝 Description
7964
+
7965
+ <dl>
7966
+ <dd>
7967
+
7968
+ <dl>
7969
+ <dd>
7970
+
7971
+ Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
7972
+
7973
+ </dd>
7974
+ </dl>
7975
+ </dd>
7976
+ </dl>
7977
+
7978
+ #### 🔌 Usage
7979
+
7980
+ <dl>
7981
+ <dd>
7982
+
7983
+ <dl>
7984
+ <dd>
7985
+
7986
+ ```typescript
7987
+ await client.api.thera.misc.misc.autoWithdrawalCron({
7988
+ theraWebhookSignatureHeader: "string",
7989
+ });
7990
+ ```
7991
+
7992
+ </dd>
7993
+ </dl>
7994
+ </dd>
7995
+ </dl>
7996
+
7997
+ #### ⚙️ Parameters
7998
+
7999
+ <dl>
8000
+ <dd>
8001
+
8002
+ <dl>
8003
+ <dd>
8004
+
8005
+ **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8006
+
8007
+ </dd>
8008
+ </dl>
8009
+
8010
+ <dl>
8011
+ <dd>
8012
+
8013
+ **requestOptions:** `Misc.RequestOptions`
8014
+
8015
+ </dd>
8016
+ </dl>
8017
+ </dd>
8018
+ </dl>
8019
+
8020
+ </dd>
8021
+ </dl>
8022
+ </details>
8023
+
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>
8025
+ <dl>
8026
+ <dd>
8027
+
8028
+ #### 📝 Description
8029
+
8030
+ <dl>
8031
+ <dd>
8032
+
8033
+ <dl>
8034
+ <dd>
8035
+
8036
+ Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8037
+
8038
+ </dd>
8039
+ </dl>
8040
+ </dd>
8041
+ </dl>
8042
+
8043
+ #### 🔌 Usage
8044
+
8045
+ <dl>
8046
+ <dd>
8047
+
8048
+ <dl>
8049
+ <dd>
8050
+
8051
+ ```typescript
8052
+ await client.api.thera.misc.misc.autoPayCron({
8053
+ theraWebhookSignatureHeader: "string",
8054
+ });
8055
+ ```
8056
+
8057
+ </dd>
8058
+ </dl>
8059
+ </dd>
8060
+ </dl>
8061
+
8062
+ #### ⚙️ Parameters
8063
+
8064
+ <dl>
8065
+ <dd>
8066
+
8067
+ <dl>
8068
+ <dd>
8069
+
8070
+ **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8071
+
8072
+ </dd>
8073
+ </dl>
8074
+
8075
+ <dl>
8076
+ <dd>
8077
+
8078
+ **requestOptions:** `Misc.RequestOptions`
8079
+
8080
+ </dd>
8081
+ </dl>
8082
+ </dd>
8083
+ </dl>
8084
+
8085
+ </dd>
8086
+ </dl>
8087
+ </details>
8088
+
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>
8090
+ <dl>
8091
+ <dd>
8092
+
8093
+ #### 📝 Description
8094
+
8095
+ <dl>
8096
+ <dd>
8097
+
8098
+ <dl>
8099
+ <dd>
8100
+
8101
+ Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8102
+
8103
+ </dd>
8104
+ </dl>
8105
+ </dd>
8106
+ </dl>
8107
+
8108
+ #### 🔌 Usage
8109
+
8110
+ <dl>
8111
+ <dd>
8112
+
8113
+ <dl>
8114
+ <dd>
8115
+
8116
+ ```typescript
8117
+ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8118
+ theraWebhookSignatureHeader: "string",
8119
+ });
8120
+ ```
8121
+
8122
+ </dd>
8123
+ </dl>
8124
+ </dd>
8125
+ </dl>
8126
+
8127
+ #### ⚙️ Parameters
8128
+
8129
+ <dl>
8130
+ <dd>
8131
+
8132
+ <dl>
8133
+ <dd>
8134
+
8135
+ **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8136
+
8137
+ </dd>
8138
+ </dl>
8139
+
8140
+ <dl>
8141
+ <dd>
8142
+
8143
+ **requestOptions:** `Misc.RequestOptions`
8144
+
8145
+ </dd>
8146
+ </dl>
8147
+ </dd>
8148
+ </dl>
8149
+
8150
+ </dd>
8151
+ </dl>
8152
+ </details>
8153
+
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>
8155
+ <dl>
8156
+ <dd>
8157
+
8158
+ #### 📝 Description
8159
+
8160
+ <dl>
8161
+ <dd>
8162
+
8163
+ <dl>
8164
+ <dd>
8165
+
8166
+ Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8167
+
8168
+ </dd>
8169
+ </dl>
8170
+ </dd>
8171
+ </dl>
8172
+
8173
+ #### 🔌 Usage
8174
+
8175
+ <dl>
8176
+ <dd>
8177
+
8178
+ <dl>
8179
+ <dd>
8180
+
8181
+ ```typescript
8182
+ await client.api.thera.misc.misc.contractRenewalCron({
8183
+ theraWebhookSignatureHeader: "string",
8184
+ });
8185
+ ```
8186
+
8187
+ </dd>
8188
+ </dl>
8189
+ </dd>
8190
+ </dl>
8191
+
8192
+ #### ⚙️ Parameters
8193
+
8194
+ <dl>
8195
+ <dd>
8196
+
8197
+ <dl>
8198
+ <dd>
8199
+
8200
+ **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8201
+
8202
+ </dd>
8203
+ </dl>
8204
+
8205
+ <dl>
8206
+ <dd>
8207
+
8208
+ **requestOptions:** `Misc.RequestOptions`
8209
+
8210
+ </dd>
8211
+ </dl>
8212
+ </dd>
8213
+ </dl>
8214
+
8215
+ </dd>
8216
+ </dl>
8217
+ </details>
8218
+
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>
8220
+ <dl>
8221
+ <dd>
8222
+
8223
+ #### 📝 Description
8224
+
8225
+ <dl>
8226
+ <dd>
8227
+
8228
+ <dl>
8229
+ <dd>
8230
+
8231
+ Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8232
+
8233
+ </dd>
8234
+ </dl>
8235
+ </dd>
8236
+ </dl>
8237
+
8238
+ #### 🔌 Usage
8239
+
8240
+ <dl>
8241
+ <dd>
8242
+
8243
+ <dl>
8244
+ <dd>
8245
+
8246
+ ```typescript
8247
+ await client.api.thera.misc.misc.processAchTpInvoices({
8248
+ theraWebhookSignatureHeader: "string",
8249
+ });
8250
+ ```
8251
+
8252
+ </dd>
8253
+ </dl>
8254
+ </dd>
8255
+ </dl>
8256
+
8257
+ #### ⚙️ Parameters
8258
+
8259
+ <dl>
8260
+ <dd>
8261
+
8262
+ <dl>
8263
+ <dd>
8264
+
8265
+ **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8266
+
8267
+ </dd>
8268
+ </dl>
8269
+
8270
+ <dl>
8271
+ <dd>
8272
+
8273
+ **requestOptions:** `Misc.RequestOptions`
8274
+
8275
+ </dd>
8276
+ </dl>
8277
+ </dd>
8278
+ </dl>
8279
+
8280
+ </dd>
8281
+ </dl>
8282
+ </details>
8283
+
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>
8285
+ <dl>
8286
+ <dd>
8287
+
8288
+ #### 📝 Description
8289
+
8290
+ <dl>
8291
+ <dd>
8292
+
8293
+ <dl>
8294
+ <dd>
8295
+
8296
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8297
+
8298
+ </dd>
8299
+ </dl>
8300
+ </dd>
8301
+ </dl>
8302
+
8303
+ #### 🔌 Usage
8304
+
8305
+ <dl>
8306
+ <dd>
8307
+
8308
+ <dl>
8309
+ <dd>
8310
+
8311
+ ```typescript
8312
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
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
+ },
8327
+ });
8328
+ ```
8329
+
8330
+ </dd>
8331
+ </dl>
8332
+ </dd>
8333
+ </dl>
8334
+
8335
+ #### ⚙️ Parameters
8336
+
8337
+ <dl>
8338
+ <dd>
8339
+
8340
+ <dl>
8341
+ <dd>
8342
+
8343
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8344
+
8345
+ </dd>
8346
+ </dl>
8347
+
8348
+ <dl>
8349
+ <dd>
8350
+
8351
+ **requestOptions:** `Misc.RequestOptions`
8352
+
8353
+ </dd>
8354
+ </dl>
8355
+ </dd>
8356
+ </dl>
8357
+
8358
+ </dd>
8359
+ </dl>
8360
+ </details>
8361
+
8362
+ ## Offcycle API
7974
8363
 
7975
- <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>
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>
7976
8365
  <dl>
7977
8366
  <dd>
7978
8367
 
@@ -7984,8 +8373,6 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
7984
8373
  <dl>
7985
8374
  <dd>
7986
8375
 
7987
- 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
7988
-
7989
8376
  </dd>
7990
8377
  </dl>
7991
8378
  </dd>
@@ -8000,9 +8387,7 @@ Calling this API will trigger automatic payouts for all workers that have auto-w
8000
8387
  <dd>
8001
8388
 
8002
8389
  ```typescript
8003
- await client.api.thera.misc.misc.regularCron({
8004
- theraWebhookSignatureHeader: "string",
8005
- });
8390
+ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8006
8391
  ```
8007
8392
 
8008
8393
  </dd>
@@ -8018,7 +8403,7 @@ await client.api.thera.misc.misc.regularCron({
8018
8403
  <dl>
8019
8404
  <dd>
8020
8405
 
8021
- **request:** `TheraApi.api.thera.misc.DailyCronRequest`
8406
+ **companyId:** `string`
8022
8407
 
8023
8408
  </dd>
8024
8409
  </dl>
@@ -8026,7 +8411,7 @@ await client.api.thera.misc.misc.regularCron({
8026
8411
  <dl>
8027
8412
  <dd>
8028
8413
 
8029
- **requestOptions:** `Misc.RequestOptions`
8414
+ **requestOptions:** `OffcycleApi.RequestOptions`
8030
8415
 
8031
8416
  </dd>
8032
8417
  </dl>
@@ -8037,7 +8422,9 @@ await client.api.thera.misc.misc.regularCron({
8037
8422
  </dl>
8038
8423
  </details>
8039
8424
 
8040
- <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>
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>
8041
8428
  <dl>
8042
8429
  <dd>
8043
8430
 
@@ -8049,8 +8436,6 @@ await client.api.thera.misc.misc.regularCron({
8049
8436
  <dl>
8050
8437
  <dd>
8051
8438
 
8052
- Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
8053
-
8054
8439
  </dd>
8055
8440
  </dl>
8056
8441
  </dd>
@@ -8065,9 +8450,7 @@ Calling this API will trigger automatic withdrawals for all workers that have au
8065
8450
  <dd>
8066
8451
 
8067
8452
  ```typescript
8068
- await client.api.thera.misc.misc.autoWithdrawalCron({
8069
- theraWebhookSignatureHeader: "string",
8070
- });
8453
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
8071
8454
  ```
8072
8455
 
8073
8456
  </dd>
@@ -8083,7 +8466,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8083
8466
  <dl>
8084
8467
  <dd>
8085
8468
 
8086
- **request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
8469
+ **companyId:** `string`
8087
8470
 
8088
8471
  </dd>
8089
8472
  </dl>
@@ -8091,7 +8474,15 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8091
8474
  <dl>
8092
8475
  <dd>
8093
8476
 
8094
- **requestOptions:** `Misc.RequestOptions`
8477
+ **checkPayrollId:** `string`
8478
+
8479
+ </dd>
8480
+ </dl>
8481
+
8482
+ <dl>
8483
+ <dd>
8484
+
8485
+ **requestOptions:** `OncycleApi.RequestOptions`
8095
8486
 
8096
8487
  </dd>
8097
8488
  </dl>
@@ -8102,7 +8493,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8102
8493
  </dl>
8103
8494
  </details>
8104
8495
 
8105
- <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>
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>
8106
8497
  <dl>
8107
8498
  <dd>
8108
8499
 
@@ -8114,8 +8505,6 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
8114
8505
  <dl>
8115
8506
  <dd>
8116
8507
 
8117
- Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
8118
-
8119
8508
  </dd>
8120
8509
  </dl>
8121
8510
  </dd>
@@ -8130,9 +8519,7 @@ Calling this API will trigger automatic auto payment of invoices for all compani
8130
8519
  <dd>
8131
8520
 
8132
8521
  ```typescript
8133
- await client.api.thera.misc.misc.autoPayCron({
8134
- theraWebhookSignatureHeader: "string",
8135
- });
8522
+ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8136
8523
  ```
8137
8524
 
8138
8525
  </dd>
@@ -8148,7 +8535,7 @@ await client.api.thera.misc.misc.autoPayCron({
8148
8535
  <dl>
8149
8536
  <dd>
8150
8537
 
8151
- **request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
8538
+ **companyId:** `string`
8152
8539
 
8153
8540
  </dd>
8154
8541
  </dl>
@@ -8156,7 +8543,7 @@ await client.api.thera.misc.misc.autoPayCron({
8156
8543
  <dl>
8157
8544
  <dd>
8158
8545
 
8159
- **requestOptions:** `Misc.RequestOptions`
8546
+ **requestOptions:** `OncycleApi.RequestOptions`
8160
8547
 
8161
8548
  </dd>
8162
8549
  </dl>
@@ -8167,7 +8554,7 @@ await client.api.thera.misc.misc.autoPayCron({
8167
8554
  </dl>
8168
8555
  </details>
8169
8556
 
8170
- <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>
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>
8171
8558
  <dl>
8172
8559
  <dd>
8173
8560
 
@@ -8179,8 +8566,6 @@ await client.api.thera.misc.misc.autoPayCron({
8179
8566
  <dl>
8180
8567
  <dd>
8181
8568
 
8182
- Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
8183
-
8184
8569
  </dd>
8185
8570
  </dl>
8186
8571
  </dd>
@@ -8195,9 +8580,7 @@ Calling this API will trigger automatic email notifications for all companies th
8195
8580
  <dd>
8196
8581
 
8197
8582
  ```typescript
8198
- await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8199
- theraWebhookSignatureHeader: "string",
8200
- });
8583
+ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
8201
8584
  ```
8202
8585
 
8203
8586
  </dd>
@@ -8213,7 +8596,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8213
8596
  <dl>
8214
8597
  <dd>
8215
8598
 
8216
- **request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
8599
+ **companyId:** `string`
8217
8600
 
8218
8601
  </dd>
8219
8602
  </dl>
@@ -8221,7 +8604,15 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8221
8604
  <dl>
8222
8605
  <dd>
8223
8606
 
8224
- **requestOptions:** `Misc.RequestOptions`
8607
+ **checkPayrollId:** `string`
8608
+
8609
+ </dd>
8610
+ </dl>
8611
+
8612
+ <dl>
8613
+ <dd>
8614
+
8615
+ **requestOptions:** `OncycleApi.RequestOptions`
8225
8616
 
8226
8617
  </dd>
8227
8618
  </dl>
@@ -8232,7 +8623,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8232
8623
  </dl>
8233
8624
  </details>
8234
8625
 
8235
- <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>
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>
8236
8627
  <dl>
8237
8628
  <dd>
8238
8629
 
@@ -8244,8 +8635,6 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
8244
8635
  <dl>
8245
8636
  <dd>
8246
8637
 
8247
- Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
8248
-
8249
8638
  </dd>
8250
8639
  </dl>
8251
8640
  </dd>
@@ -8260,9 +8649,7 @@ Calling this API will trigger a check for contracts that need renewal and notify
8260
8649
  <dd>
8261
8650
 
8262
8651
  ```typescript
8263
- await client.api.thera.misc.misc.contractRenewalCron({
8264
- theraWebhookSignatureHeader: "string",
8265
- });
8652
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
8266
8653
  ```
8267
8654
 
8268
8655
  </dd>
@@ -8278,7 +8665,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
8278
8665
  <dl>
8279
8666
  <dd>
8280
8667
 
8281
- **request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
8668
+ **companyId:** `string`
8282
8669
 
8283
8670
  </dd>
8284
8671
  </dl>
@@ -8286,7 +8673,15 @@ await client.api.thera.misc.misc.contractRenewalCron({
8286
8673
  <dl>
8287
8674
  <dd>
8288
8675
 
8289
- **requestOptions:** `Misc.RequestOptions`
8676
+ **checkPayrollId:** `string`
8677
+
8678
+ </dd>
8679
+ </dl>
8680
+
8681
+ <dl>
8682
+ <dd>
8683
+
8684
+ **requestOptions:** `OncycleApi.RequestOptions`
8290
8685
 
8291
8686
  </dd>
8292
8687
  </dl>
@@ -8297,7 +8692,9 @@ await client.api.thera.misc.misc.contractRenewalCron({
8297
8692
  </dl>
8298
8693
  </details>
8299
8694
 
8300
- <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>
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>
8301
8698
  <dl>
8302
8699
  <dd>
8303
8700
 
@@ -8309,8 +8706,6 @@ await client.api.thera.misc.misc.contractRenewalCron({
8309
8706
  <dl>
8310
8707
  <dd>
8311
8708
 
8312
- Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
8313
-
8314
8709
  </dd>
8315
8710
  </dl>
8316
8711
  </dd>
@@ -8325,8 +8720,12 @@ Calling this API will trigger automatic transfer of funds from fbo to omnibus fo
8325
8720
  <dd>
8326
8721
 
8327
8722
  ```typescript
8328
- await client.api.thera.misc.misc.processAchTpInvoices({
8329
- theraWebhookSignatureHeader: "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",
8330
8729
  });
8331
8730
  ```
8332
8731
 
@@ -8343,7 +8742,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8343
8742
  <dl>
8344
8743
  <dd>
8345
8744
 
8346
- **request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
8745
+ **companyId:** `string`
8347
8746
 
8348
8747
  </dd>
8349
8748
  </dl>
@@ -8351,7 +8750,15 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8351
8750
  <dl>
8352
8751
  <dd>
8353
8752
 
8354
- **requestOptions:** `Misc.RequestOptions`
8753
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8754
+
8755
+ </dd>
8756
+ </dl>
8757
+
8758
+ <dl>
8759
+ <dd>
8760
+
8761
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8355
8762
 
8356
8763
  </dd>
8357
8764
  </dl>
@@ -8362,7 +8769,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8362
8769
  </dl>
8363
8770
  </details>
8364
8771
 
8365
- <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>
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>
8366
8773
  <dl>
8367
8774
  <dd>
8368
8775
 
@@ -8374,8 +8781,6 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8374
8781
  <dl>
8375
8782
  <dd>
8376
8783
 
8377
- Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8378
-
8379
8784
  </dd>
8380
8785
  </dl>
8381
8786
  </dd>
@@ -8390,22 +8795,7 @@ Webhook endpoint that receives submissions from Fillout forms to create EOR empl
8390
8795
  <dd>
8391
8796
 
8392
8797
  ```typescript
8393
- await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8394
- theraWebhookSignatureHeader: "string",
8395
- body: {
8396
- firstName: "string",
8397
- lastName: "string",
8398
- email: "string",
8399
- country: "string",
8400
- companyId: "string",
8401
- teamId: "string",
8402
- jobTitle: "string",
8403
- startDate: "2023-01-15",
8404
- rate: 1.1,
8405
- wageType: "HOURLY",
8406
- currency: "string",
8407
- },
8408
- });
8798
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8409
8799
  ```
8410
8800
 
8411
8801
  </dd>
@@ -8421,7 +8811,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8421
8811
  <dl>
8422
8812
  <dd>
8423
8813
 
8424
- **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8814
+ **companyId:** `string`
8425
8815
 
8426
8816
  </dd>
8427
8817
  </dl>
@@ -8429,7 +8819,15 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8429
8819
  <dl>
8430
8820
  <dd>
8431
8821
 
8432
- **requestOptions:** `Misc.RequestOptions`
8822
+ **checkPayScheduleId:** `string`
8823
+
8824
+ </dd>
8825
+ </dl>
8826
+
8827
+ <dl>
8828
+ <dd>
8829
+
8830
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8433
8831
 
8434
8832
  </dd>
8435
8833
  </dl>
@@ -8440,9 +8838,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8440
8838
  </dl>
8441
8839
  </details>
8442
8840
 
8443
- ## Offcycle API
8444
-
8445
- <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>
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>
8446
8842
  <dl>
8447
8843
  <dd>
8448
8844
 
@@ -8468,7 +8864,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8468
8864
  <dd>
8469
8865
 
8470
8866
  ```typescript
8471
- await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8867
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
8472
8868
  ```
8473
8869
 
8474
8870
  </dd>
@@ -8492,7 +8888,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8492
8888
  <dl>
8493
8889
  <dd>
8494
8890
 
8495
- **requestOptions:** `OffcycleApi.RequestOptions`
8891
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8496
8892
 
8497
8893
  </dd>
8498
8894
  </dl>
@@ -8503,9 +8899,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8503
8899
  </dl>
8504
8900
  </details>
8505
8901
 
8506
- ## Oncycle API
8507
-
8508
- <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>
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>
8509
8903
  <dl>
8510
8904
  <dd>
8511
8905
 
@@ -8517,6 +8911,8 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8517
8911
  <dl>
8518
8912
  <dd>
8519
8913
 
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
+
8520
8916
  </dd>
8521
8917
  </dl>
8522
8918
  </dd>
@@ -8531,7 +8927,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8531
8927
  <dd>
8532
8928
 
8533
8929
  ```typescript
8534
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8930
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
8535
8931
  ```
8536
8932
 
8537
8933
  </dd>
@@ -8555,7 +8951,15 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8555
8951
  <dl>
8556
8952
  <dd>
8557
8953
 
8558
- **requestOptions:** `OncycleApi.RequestOptions`
8954
+ **checkPayScheduleId:** `string`
8955
+
8956
+ </dd>
8957
+ </dl>
8958
+
8959
+ <dl>
8960
+ <dd>
8961
+
8962
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8559
8963
 
8560
8964
  </dd>
8561
8965
  </dl>
@@ -8566,7 +8970,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8566
8970
  </dl>
8567
8971
  </details>
8568
8972
 
8569
- <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>
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>
8570
8974
  <dl>
8571
8975
  <dd>
8572
8976
 
@@ -8592,7 +8996,16 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8592
8996
  <dd>
8593
8997
 
8594
8998
  ```typescript
8595
- await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
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
+ });
8596
9009
  ```
8597
9010
 
8598
9011
  </dd>
@@ -8616,7 +9029,23 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8616
9029
  <dl>
8617
9030
  <dd>
8618
9031
 
8619
- **requestOptions:** `OncycleApi.RequestOptions`
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`
8620
9049
 
8621
9050
  </dd>
8622
9051
  </dl>
@@ -8627,7 +9056,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8627
9056
  </dl>
8628
9057
  </details>
8629
9058
 
8630
- <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>
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>
8631
9060
  <dl>
8632
9061
  <dd>
8633
9062
 
@@ -8639,6 +9068,8 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8639
9068
  <dl>
8640
9069
  <dd>
8641
9070
 
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
+
8642
9073
  </dd>
8643
9074
  </dl>
8644
9075
  </dd>
@@ -8653,7 +9084,11 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8653
9084
  <dd>
8654
9085
 
8655
9086
  ```typescript
8656
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string");
9087
+ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
9088
+ checkPayScheduleIdByUserId: {
9089
+ string: "string",
9090
+ },
9091
+ });
8657
9092
  ```
8658
9093
 
8659
9094
  </dd>
@@ -8677,7 +9112,23 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8677
9112
  <dl>
8678
9113
  <dd>
8679
9114
 
8680
- **requestOptions:** `OncycleApi.RequestOptions`
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`
8681
9132
 
8682
9133
  </dd>
8683
9134
  </dl>
@@ -11335,6 +11786,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11335
11786
  </dl>
11336
11787
  </details>
11337
11788
 
11789
+ <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>
11790
+ <dl>
11791
+ <dd>
11792
+
11793
+ #### 📝 Description
11794
+
11795
+ <dl>
11796
+ <dd>
11797
+
11798
+ <dl>
11799
+ <dd>
11800
+
11801
+ Withdrawal funds from thera cash to user's personal account via ach or wire
11802
+
11803
+ </dd>
11804
+ </dl>
11805
+ </dd>
11806
+ </dl>
11807
+
11808
+ #### 🔌 Usage
11809
+
11810
+ <dl>
11811
+ <dd>
11812
+
11813
+ <dl>
11814
+ <dd>
11815
+
11816
+ ```typescript
11817
+ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11818
+ nameOnAccount: "string",
11819
+ amount: "string",
11820
+ ach: {
11821
+ accountNumber: "string",
11822
+ accountType: "string",
11823
+ routingNumber: "string",
11824
+ },
11825
+ wire: {
11826
+ accountNumber: "string",
11827
+ routingNumber: "string",
11828
+ addressOnAccount: {
11829
+ streetLine1: "string",
11830
+ streetLine2: "string",
11831
+ city: "string",
11832
+ state: "string",
11833
+ postalCode: "string",
11834
+ country: "string",
11835
+ },
11836
+ bankName: "string",
11837
+ bankAddress: {
11838
+ streetLine1: "string",
11839
+ streetLine2: "string",
11840
+ city: "string",
11841
+ state: "string",
11842
+ postalCode: "string",
11843
+ country: "string",
11844
+ },
11845
+ },
11846
+ });
11847
+ ```
11848
+
11849
+ </dd>
11850
+ </dl>
11851
+ </dd>
11852
+ </dl>
11853
+
11854
+ #### ⚙️ Parameters
11855
+
11856
+ <dl>
11857
+ <dd>
11858
+
11859
+ <dl>
11860
+ <dd>
11861
+
11862
+ **companyId:** `string`
11863
+
11864
+ </dd>
11865
+ </dl>
11866
+
11867
+ <dl>
11868
+ <dd>
11869
+
11870
+ **request:** `TheraApi.WithdrawalTheraCash`
11871
+
11872
+ </dd>
11873
+ </dl>
11874
+
11875
+ <dl>
11876
+ <dd>
11877
+
11878
+ **requestOptions:** `TpApi.RequestOptions`
11879
+
11880
+ </dd>
11881
+ </dl>
11882
+ </dd>
11883
+ </dl>
11884
+
11885
+ </dd>
11886
+ </dl>
11887
+ </details>
11888
+
11338
11889
  ## User API
11339
11890
 
11340
11891
  <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>