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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  19. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  21. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  24. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  26. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  27. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  28. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  30. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  52. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  53. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  54. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  55. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  56. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  57. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  59. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  60. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  61. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  63. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  66. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  67. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  68. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  69. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  70. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  71. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  72. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  73. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  74. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  75. package/api/resources/db/resources/company/types/index.d.ts +1 -0
  76. package/api/resources/db/resources/company/types/index.js +1 -0
  77. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  78. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  79. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  80. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  81. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  82. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  83. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  84. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  89. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  90. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  91. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  92. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  93. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  94. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  95. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  97. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  98. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  100. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  118. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  119. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  120. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  121. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  122. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  123. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  125. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  126. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  127. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  128. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  129. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  132. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  133. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  134. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  135. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  136. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  137. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  138. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  139. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  140. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  141. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  142. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  143. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  144. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  145. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  146. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  147. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  148. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  149. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  150. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  151. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  152. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  153. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  154. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  155. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
  156. package/dist/api/resources/db/resources/company/types/index.js +1 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  158. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  159. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  160. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  199. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  202. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  211. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  212. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  213. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  214. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  215. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  216. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  217. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  218. package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
  219. package/dist/version.d.ts +1 -1
  220. package/dist/version.js +1 -1
  221. package/package.json +1 -1
  222. package/reference.md +804 -253
  223. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  224. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  225. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  226. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  228. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  230. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  234. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  240. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  241. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  242. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  243. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  244. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  245. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  246. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  247. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  248. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  249. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  250. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  251. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  252. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  253. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  254. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  255. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  256. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  257. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  258. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  259. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  260. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  261. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  262. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  263. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  264. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  265. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  266. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  267. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  268. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  269. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  270. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  271. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  272. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  273. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  274. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  275. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  276. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  277. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  278. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  279. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  280. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  281. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  282. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  283. package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  284. package/serialization/resources/db/resources/company/types/index.js +1 -0
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
  287. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  288. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  289. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  290. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  291. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  292. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  293. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  294. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
package/reference.md CHANGED
@@ -2499,8 +2499,6 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalDeliveryEstimate("string"
2499
2499
  await client.api.thera.bank.bankApi.getPayInHistory("string", {
2500
2500
  status: "PENDING",
2501
2501
  offPlatformOnly: true,
2502
- pageSize: 1000000,
2503
- afterCursor: "string",
2504
2502
  });
2505
2503
  ```
2506
2504
 
@@ -2967,150 +2965,6 @@ await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
2967
2965
  </dl>
2968
2966
  </details>
2969
2967
 
2970
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPaymentByTypeAndId</a>(companyId, paymentId, { ...params }) -> TheraApi.HistoricPayment</code></summary>
2971
- <dl>
2972
- <dd>
2973
-
2974
- #### 📝 Description
2975
-
2976
- <dl>
2977
- <dd>
2978
-
2979
- <dl>
2980
- <dd>
2981
-
2982
- Get a specific W2 subscription or EOR payment by its ID. This endpoint is optimized for direct retrieval without pagination concerns.
2983
-
2984
- </dd>
2985
- </dl>
2986
- </dd>
2987
- </dl>
2988
-
2989
- #### 🔌 Usage
2990
-
2991
- <dl>
2992
- <dd>
2993
-
2994
- <dl>
2995
- <dd>
2996
-
2997
- ```typescript
2998
- await client.api.thera.bank.bankApi.getPaymentByTypeAndId("string", "string", {
2999
- paymentType: "string",
3000
- });
3001
- ```
3002
-
3003
- </dd>
3004
- </dl>
3005
- </dd>
3006
- </dl>
3007
-
3008
- #### ⚙️ Parameters
3009
-
3010
- <dl>
3011
- <dd>
3012
-
3013
- <dl>
3014
- <dd>
3015
-
3016
- **companyId:** `string`
3017
-
3018
- </dd>
3019
- </dl>
3020
-
3021
- <dl>
3022
- <dd>
3023
-
3024
- **paymentId:** `string`
3025
-
3026
- </dd>
3027
- </dl>
3028
-
3029
- <dl>
3030
- <dd>
3031
-
3032
- **request:** `TheraApi.api.thera.bank.GetPaymentByTypeRequest`
3033
-
3034
- </dd>
3035
- </dl>
3036
-
3037
- <dl>
3038
- <dd>
3039
-
3040
- **requestOptions:** `BankApi.RequestOptions`
3041
-
3042
- </dd>
3043
- </dl>
3044
- </dd>
3045
- </dl>
3046
-
3047
- </dd>
3048
- </dl>
3049
- </details>
3050
-
3051
- <details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPayInCount</a>(companyId) -> TheraApi.GetPayInCountResponse</code></summary>
3052
- <dl>
3053
- <dd>
3054
-
3055
- #### 📝 Description
3056
-
3057
- <dl>
3058
- <dd>
3059
-
3060
- <dl>
3061
- <dd>
3062
-
3063
- Get the total count of pay-ins for a company. This endpoint is optimized for counting large datasets efficiently.
3064
-
3065
- </dd>
3066
- </dl>
3067
- </dd>
3068
- </dl>
3069
-
3070
- #### 🔌 Usage
3071
-
3072
- <dl>
3073
- <dd>
3074
-
3075
- <dl>
3076
- <dd>
3077
-
3078
- ```typescript
3079
- await client.api.thera.bank.bankApi.getPayInCount("string");
3080
- ```
3081
-
3082
- </dd>
3083
- </dl>
3084
- </dd>
3085
- </dl>
3086
-
3087
- #### ⚙️ Parameters
3088
-
3089
- <dl>
3090
- <dd>
3091
-
3092
- <dl>
3093
- <dd>
3094
-
3095
- **companyId:** `string`
3096
-
3097
- </dd>
3098
- </dl>
3099
-
3100
- <dl>
3101
- <dd>
3102
-
3103
- **requestOptions:** `BankApi.RequestOptions`
3104
-
3105
- </dd>
3106
- </dl>
3107
- </dd>
3108
- </dl>
3109
-
3110
- </dd>
3111
- </dl>
3112
- </details>
3113
-
3114
2968
  ## Bridge APIs
3115
2969
 
3116
2970
  <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">requestTosLink</a>() -> TheraApi.TosLinkResponse</code></summary>
@@ -8570,7 +8424,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8570
8424
 
8571
8425
  ## Oncycle API
8572
8426
 
8573
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
8427
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId, checkPayScheduleId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
8574
8428
  <dl>
8575
8429
  <dd>
8576
8430
 
@@ -8596,7 +8450,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8596
8450
  <dd>
8597
8451
 
8598
8452
  ```typescript
8599
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8453
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
8600
8454
  ```
8601
8455
 
8602
8456
  </dd>
@@ -8620,6 +8474,14 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8620
8474
  <dl>
8621
8475
  <dd>
8622
8476
 
8477
+ **checkPayScheduleId:** `string`
8478
+
8479
+ </dd>
8480
+ </dl>
8481
+
8482
+ <dl>
8483
+ <dd>
8484
+
8623
8485
  **requestOptions:** `OncycleApi.RequestOptions`
8624
8486
 
8625
8487
  </dd>
@@ -8631,7 +8493,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
8631
8493
  </dl>
8632
8494
  </details>
8633
8495
 
8634
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleChecks</a>(companyId) -> TheraApi.OnCycleChecksResponse | undefined</code></summary>
8496
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleChecks</a>(companyId) -> TheraApi.OnCycleChecksResponse[]</code></summary>
8635
8497
  <dl>
8636
8498
  <dd>
8637
8499
 
@@ -8692,7 +8554,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8692
8554
  </dl>
8693
8555
  </details>
8694
8556
 
8695
- <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">cancelCurrentAutopilotPayroll</a>(companyId) -> void</code></summary>
8557
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleCheckDetails</a>(companyId, checkPayrollId) -> TheraApi.OnCycleChecksResponse | undefined</code></summary>
8696
8558
  <dl>
8697
8559
  <dd>
8698
8560
 
@@ -8718,7 +8580,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
8718
8580
  <dd>
8719
8581
 
8720
8582
  ```typescript
8721
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string");
8583
+ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
8722
8584
  ```
8723
8585
 
8724
8586
  </dd>
@@ -8742,6 +8604,14 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8742
8604
  <dl>
8743
8605
  <dd>
8744
8606
 
8607
+ **checkPayrollId:** `string`
8608
+
8609
+ </dd>
8610
+ </dl>
8611
+
8612
+ <dl>
8613
+ <dd>
8614
+
8745
8615
  **requestOptions:** `OncycleApi.RequestOptions`
8746
8616
 
8747
8617
  </dd>
@@ -8753,9 +8623,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8753
8623
  </dl>
8754
8624
  </details>
8755
8625
 
8756
- ## Time Off Management
8757
-
8758
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
8626
+ <details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">cancelCurrentAutopilotPayroll</a>(companyId, checkPayScheduleId) -> void</code></summary>
8759
8627
  <dl>
8760
8628
  <dd>
8761
8629
 
@@ -8767,8 +8635,6 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
8767
8635
  <dl>
8768
8636
  <dd>
8769
8637
 
8770
- Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
8771
-
8772
8638
  </dd>
8773
8639
  </dl>
8774
8640
  </dd>
@@ -8783,10 +8649,7 @@ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed
8783
8649
  <dd>
8784
8650
 
8785
8651
  ```typescript
8786
- await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8787
- invoiceId: "string",
8788
- timeOffRequestId: "string",
8789
- });
8652
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
8790
8653
  ```
8791
8654
 
8792
8655
  </dd>
@@ -8810,7 +8673,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8810
8673
  <dl>
8811
8674
  <dd>
8812
8675
 
8813
- **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
8676
+ **checkPayScheduleId:** `string`
8814
8677
 
8815
8678
  </dd>
8816
8679
  </dl>
@@ -8818,7 +8681,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8818
8681
  <dl>
8819
8682
  <dd>
8820
8683
 
8821
- **requestOptions:** `TimeoffApi.RequestOptions`
8684
+ **requestOptions:** `OncycleApi.RequestOptions`
8822
8685
 
8823
8686
  </dd>
8824
8687
  </dl>
@@ -8829,7 +8692,9 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8829
8692
  </dl>
8830
8693
  </details>
8831
8694
 
8832
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">associateTimeOffPolicyToContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
8695
+ ## W2 Pay Schedule APIs
8696
+
8697
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">createW2PaySchedule</a>(companyId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
8833
8698
  <dl>
8834
8699
  <dd>
8835
8700
 
@@ -8841,8 +8706,6 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
8841
8706
  <dl>
8842
8707
  <dd>
8843
8708
 
8844
- Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
8845
-
8846
8709
  </dd>
8847
8710
  </dl>
8848
8711
  </dd>
@@ -8857,8 +8720,13 @@ Submit a list of complete contractors to be associated to the policy. Contractor
8857
8720
  <dd>
8858
8721
 
8859
8722
  ```typescript
8860
- await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
8861
- contractIds: ["string"],
8723
+ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
8724
+ name: "string",
8725
+ payFrequency: "weekly",
8726
+ firstPayDate: "2023-01-15",
8727
+ secondPayDate: "2023-01-15",
8728
+ firstPeriodEndDate: "2023-01-15",
8729
+ autopilotEnabled: true,
8862
8730
  });
8863
8731
  ```
8864
8732
 
@@ -8883,15 +8751,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8883
8751
  <dl>
8884
8752
  <dd>
8885
8753
 
8886
- **policyId:** `string`
8887
-
8888
- </dd>
8889
- </dl>
8890
-
8891
- <dl>
8892
- <dd>
8893
-
8894
- **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
8754
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8895
8755
 
8896
8756
  </dd>
8897
8757
  </dl>
@@ -8899,7 +8759,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8899
8759
  <dl>
8900
8760
  <dd>
8901
8761
 
8902
- **requestOptions:** `TimeoffApi.RequestOptions`
8762
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8903
8763
 
8904
8764
  </dd>
8905
8765
  </dl>
@@ -8910,7 +8770,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8910
8770
  </dl>
8911
8771
  </details>
8912
8772
 
8913
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">requestPtoForContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
8773
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getW2PaySchedule</a>(companyId, checkPayScheduleId) -> TheraApi.GetPayScheduleResponse</code></summary>
8914
8774
  <dl>
8915
8775
  <dd>
8916
8776
 
@@ -8936,18 +8796,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8936
8796
  <dd>
8937
8797
 
8938
8798
  ```typescript
8939
- await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
8940
- contractId: "string",
8941
- ptoRequest: {
8942
- description: "string",
8943
- dates: {
8944
- "2023-01-15": {
8945
- timeOffLength: "FULL_DAY",
8946
- },
8947
- },
8948
- attachmentFileId: "string",
8949
- },
8950
- });
8799
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8951
8800
  ```
8952
8801
 
8953
8802
  </dd>
@@ -8971,15 +8820,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8971
8820
  <dl>
8972
8821
  <dd>
8973
8822
 
8974
- **policyId:** `string`
8975
-
8976
- </dd>
8977
- </dl>
8978
-
8979
- <dl>
8980
- <dd>
8981
-
8982
- **request:** `TheraApi.CreatePtoForContractorRequest`
8823
+ **checkPayScheduleId:** `string`
8983
8824
 
8984
8825
  </dd>
8985
8826
  </dl>
@@ -8987,7 +8828,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8987
8828
  <dl>
8988
8829
  <dd>
8989
8830
 
8990
- **requestOptions:** `TimeoffApi.RequestOptions`
8831
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8991
8832
 
8992
8833
  </dd>
8993
8834
  </dl>
@@ -8998,7 +8839,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8998
8839
  </dl>
8999
8840
  </details>
9000
8841
 
9001
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">addTimeOffPolicy</a>(companyId, { ...params }) -> unknown</code></summary>
8842
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">listW2PaySchedules</a>(companyId) -> TheraApi.GetPayScheduleResponse[]</code></summary>
9002
8843
  <dl>
9003
8844
  <dd>
9004
8845
 
@@ -9010,8 +8851,6 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9010
8851
  <dl>
9011
8852
  <dd>
9012
8853
 
9013
- Adds a timeoff policy to company
9014
-
9015
8854
  </dd>
9016
8855
  </dl>
9017
8856
  </dd>
@@ -9026,24 +8865,7 @@ Adds a timeoff policy to company
9026
8865
  <dd>
9027
8866
 
9028
8867
  ```typescript
9029
- await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9030
- policyName: "string",
9031
- allowanceType: {
9032
- type: "limitedAllowance",
9033
- },
9034
- midYearJoiningAllowance: "FULL_AMOUNT",
9035
- payType: "UNPAID",
9036
- leaveType: "string",
9037
- isDefaultPolicy: true,
9038
- contractIds: new Set(["string"]),
9039
- accrualType: {
9040
- ["EMPLOYEE"]: "MONTHLY",
9041
- },
9042
- autoDeductEnabled: {
9043
- ["EMPLOYEE"]: true,
9044
- },
9045
- addPolicyFor: new Set(["EMPLOYEE"]),
9046
- });
8868
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9047
8869
  ```
9048
8870
 
9049
8871
  </dd>
@@ -9067,15 +8889,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9067
8889
  <dl>
9068
8890
  <dd>
9069
8891
 
9070
- **request:** `TheraApi.AddTimeOffPolicyRequest`
9071
-
9072
- </dd>
9073
- </dl>
9074
-
9075
- <dl>
9076
- <dd>
9077
-
9078
- **requestOptions:** `TimeoffApi.RequestOptions`
8892
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9079
8893
 
9080
8894
  </dd>
9081
8895
  </dl>
@@ -9086,7 +8900,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9086
8900
  </dl>
9087
8901
  </details>
9088
8902
 
9089
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffPolicy</a>(companyId, policyId) -> TheraApi.TimeOffPolicy</code></summary>
8903
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">deleteW2PaySchedule</a>(companyId, checkPayScheduleId) -> void</code></summary>
9090
8904
  <dl>
9091
8905
  <dd>
9092
8906
 
@@ -9098,7 +8912,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9098
8912
  <dl>
9099
8913
  <dd>
9100
8914
 
9101
- Gets a timeoff policy from company
8915
+ Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete Check W2 Pay Schedule by API. https://support.checkhq.com/hc/en-us/articles/24948436554263-Pay-Schedules
9102
8916
 
9103
8917
  </dd>
9104
8918
  </dl>
@@ -9114,7 +8928,7 @@ Gets a timeoff policy from company
9114
8928
  <dd>
9115
8929
 
9116
8930
  ```typescript
9117
- await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
8931
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
9118
8932
  ```
9119
8933
 
9120
8934
  </dd>
@@ -9138,7 +8952,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9138
8952
  <dl>
9139
8953
  <dd>
9140
8954
 
9141
- **policyId:** `string`
8955
+ **checkPayScheduleId:** `string`
9142
8956
 
9143
8957
  </dd>
9144
8958
  </dl>
@@ -9146,7 +8960,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9146
8960
  <dl>
9147
8961
  <dd>
9148
8962
 
9149
- **requestOptions:** `TimeoffApi.RequestOptions`
8963
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9150
8964
 
9151
8965
  </dd>
9152
8966
  </dl>
@@ -9157,7 +8971,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9157
8971
  </dl>
9158
8972
  </details>
9159
8973
 
9160
- <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updateTimeOffPolicy</a>(companyId, policyId, { ...params }) -> unknown</code></summary>
8974
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">updateW2PaySchedule</a>(companyId, checkPayScheduleId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
9161
8975
  <dl>
9162
8976
  <dd>
9163
8977
 
@@ -9169,8 +8983,6 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9169
8983
  <dl>
9170
8984
  <dd>
9171
8985
 
9172
- Modifys a timeoff policy to company
9173
-
9174
8986
  </dd>
9175
8987
  </dl>
9176
8988
  </dd>
@@ -9185,21 +8997,660 @@ Modifys a timeoff policy to company
9185
8997
  <dd>
9186
8998
 
9187
8999
  ```typescript
9188
- await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9189
- policyName: "string",
9190
- allowanceType: {
9191
- type: "limitedAllowance",
9192
- },
9193
- midYearJoiningAllowance: "FULL_AMOUNT",
9194
- payType: "UNPAID",
9195
- leaveType: "string",
9196
- isDefaultPolicy: true,
9197
- contractIds: new Set(["string"]),
9198
- accrualType: {
9199
- ["EMPLOYEE"]: "MONTHLY",
9200
- },
9201
- autoDeductEnabled: {
9202
- ["EMPLOYEE"]: true,
9000
+ await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
9001
+ name: "string",
9002
+ payFrequency: "weekly",
9003
+ firstPeriodEndDate: "2023-01-15",
9004
+ firstPayDate: "2023-01-15",
9005
+ secondPayDate: "2023-01-15",
9006
+ metadata: {
9007
+ deleted: "string",
9008
+ autopilotEnabled: "string",
9009
+ },
9010
+ });
9011
+ ```
9012
+
9013
+ </dd>
9014
+ </dl>
9015
+ </dd>
9016
+ </dl>
9017
+
9018
+ #### ⚙️ Parameters
9019
+
9020
+ <dl>
9021
+ <dd>
9022
+
9023
+ <dl>
9024
+ <dd>
9025
+
9026
+ **companyId:** `string`
9027
+
9028
+ </dd>
9029
+ </dl>
9030
+
9031
+ <dl>
9032
+ <dd>
9033
+
9034
+ **checkPayScheduleId:** `string`
9035
+
9036
+ </dd>
9037
+ </dl>
9038
+
9039
+ <dl>
9040
+ <dd>
9041
+
9042
+ **request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
9043
+
9044
+ </dd>
9045
+ </dl>
9046
+
9047
+ <dl>
9048
+ <dd>
9049
+
9050
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9051
+
9052
+ </dd>
9053
+ </dl>
9054
+ </dd>
9055
+ </dl>
9056
+
9057
+ </dd>
9058
+ </dl>
9059
+ </details>
9060
+
9061
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">assignW2EmployeesPaySchedule</a>(companyId, { ...params }) -> TheraApi.AssignW2EmployeeToPayScheduleResponse</code></summary>
9062
+ <dl>
9063
+ <dd>
9064
+
9065
+ #### 📝 Description
9066
+
9067
+ <dl>
9068
+ <dd>
9069
+
9070
+ <dl>
9071
+ <dd>
9072
+
9073
+ If user ID is not provided in the request, it'll use the old value in DB. The response body always return the schedules for all employees
9074
+
9075
+ </dd>
9076
+ </dl>
9077
+ </dd>
9078
+ </dl>
9079
+
9080
+ #### 🔌 Usage
9081
+
9082
+ <dl>
9083
+ <dd>
9084
+
9085
+ <dl>
9086
+ <dd>
9087
+
9088
+ ```typescript
9089
+ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", {
9090
+ checkPayScheduleIdByUserId: {
9091
+ string: "string",
9092
+ },
9093
+ });
9094
+ ```
9095
+
9096
+ </dd>
9097
+ </dl>
9098
+ </dd>
9099
+ </dl>
9100
+
9101
+ #### ⚙️ Parameters
9102
+
9103
+ <dl>
9104
+ <dd>
9105
+
9106
+ <dl>
9107
+ <dd>
9108
+
9109
+ **companyId:** `string`
9110
+
9111
+ </dd>
9112
+ </dl>
9113
+
9114
+ <dl>
9115
+ <dd>
9116
+
9117
+ **request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
9118
+
9119
+ </dd>
9120
+ </dl>
9121
+
9122
+ <dl>
9123
+ <dd>
9124
+
9125
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9126
+
9127
+ </dd>
9128
+ </dl>
9129
+ </dd>
9130
+ </dl>
9131
+
9132
+ </dd>
9133
+ </dl>
9134
+ </details>
9135
+
9136
+ <details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getSomePaySchedulePaydays</a>(companyId, checkPayScheduleId) -> TheraApi.GetPaySchedulePaydaysResponse[]</code></summary>
9137
+ <dl>
9138
+ <dd>
9139
+
9140
+ #### 📝 Description
9141
+
9142
+ <dl>
9143
+ <dd>
9144
+
9145
+ <dl>
9146
+ <dd>
9147
+
9148
+ Return several upcoming paydays (not all of them!)
9149
+
9150
+ </dd>
9151
+ </dl>
9152
+ </dd>
9153
+ </dl>
9154
+
9155
+ #### 🔌 Usage
9156
+
9157
+ <dl>
9158
+ <dd>
9159
+
9160
+ <dl>
9161
+ <dd>
9162
+
9163
+ ```typescript
9164
+ await client.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays("string", "string");
9165
+ ```
9166
+
9167
+ </dd>
9168
+ </dl>
9169
+ </dd>
9170
+ </dl>
9171
+
9172
+ #### ⚙️ Parameters
9173
+
9174
+ <dl>
9175
+ <dd>
9176
+
9177
+ <dl>
9178
+ <dd>
9179
+
9180
+ **companyId:** `string`
9181
+
9182
+ </dd>
9183
+ </dl>
9184
+
9185
+ <dl>
9186
+ <dd>
9187
+
9188
+ **checkPayScheduleId:** `string`
9189
+
9190
+ </dd>
9191
+ </dl>
9192
+
9193
+ <dl>
9194
+ <dd>
9195
+
9196
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9197
+
9198
+ </dd>
9199
+ </dl>
9200
+ </dd>
9201
+ </dl>
9202
+
9203
+ </dd>
9204
+ </dl>
9205
+ </details>
9206
+
9207
+ ## Time Off Management
9208
+
9209
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
9210
+ <dl>
9211
+ <dd>
9212
+
9213
+ #### 📝 Description
9214
+
9215
+ <dl>
9216
+ <dd>
9217
+
9218
+ <dl>
9219
+ <dd>
9220
+
9221
+ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
9222
+
9223
+ </dd>
9224
+ </dl>
9225
+ </dd>
9226
+ </dl>
9227
+
9228
+ #### 🔌 Usage
9229
+
9230
+ <dl>
9231
+ <dd>
9232
+
9233
+ <dl>
9234
+ <dd>
9235
+
9236
+ ```typescript
9237
+ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
9238
+ invoiceId: "string",
9239
+ timeOffRequestId: "string",
9240
+ });
9241
+ ```
9242
+
9243
+ </dd>
9244
+ </dl>
9245
+ </dd>
9246
+ </dl>
9247
+
9248
+ #### ⚙️ Parameters
9249
+
9250
+ <dl>
9251
+ <dd>
9252
+
9253
+ <dl>
9254
+ <dd>
9255
+
9256
+ **companyId:** `string`
9257
+
9258
+ </dd>
9259
+ </dl>
9260
+
9261
+ <dl>
9262
+ <dd>
9263
+
9264
+ **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
9265
+
9266
+ </dd>
9267
+ </dl>
9268
+
9269
+ <dl>
9270
+ <dd>
9271
+
9272
+ **requestOptions:** `TimeoffApi.RequestOptions`
9273
+
9274
+ </dd>
9275
+ </dl>
9276
+ </dd>
9277
+ </dl>
9278
+
9279
+ </dd>
9280
+ </dl>
9281
+ </details>
9282
+
9283
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">associateTimeOffPolicyToContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
9284
+ <dl>
9285
+ <dd>
9286
+
9287
+ #### 📝 Description
9288
+
9289
+ <dl>
9290
+ <dd>
9291
+
9292
+ <dl>
9293
+ <dd>
9294
+
9295
+ Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
9296
+
9297
+ </dd>
9298
+ </dl>
9299
+ </dd>
9300
+ </dl>
9301
+
9302
+ #### 🔌 Usage
9303
+
9304
+ <dl>
9305
+ <dd>
9306
+
9307
+ <dl>
9308
+ <dd>
9309
+
9310
+ ```typescript
9311
+ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
9312
+ contractIds: ["string"],
9313
+ });
9314
+ ```
9315
+
9316
+ </dd>
9317
+ </dl>
9318
+ </dd>
9319
+ </dl>
9320
+
9321
+ #### ⚙️ Parameters
9322
+
9323
+ <dl>
9324
+ <dd>
9325
+
9326
+ <dl>
9327
+ <dd>
9328
+
9329
+ **companyId:** `string`
9330
+
9331
+ </dd>
9332
+ </dl>
9333
+
9334
+ <dl>
9335
+ <dd>
9336
+
9337
+ **policyId:** `string`
9338
+
9339
+ </dd>
9340
+ </dl>
9341
+
9342
+ <dl>
9343
+ <dd>
9344
+
9345
+ **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
9346
+
9347
+ </dd>
9348
+ </dl>
9349
+
9350
+ <dl>
9351
+ <dd>
9352
+
9353
+ **requestOptions:** `TimeoffApi.RequestOptions`
9354
+
9355
+ </dd>
9356
+ </dl>
9357
+ </dd>
9358
+ </dl>
9359
+
9360
+ </dd>
9361
+ </dl>
9362
+ </details>
9363
+
9364
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">requestPtoForContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
9365
+ <dl>
9366
+ <dd>
9367
+
9368
+ #### 📝 Description
9369
+
9370
+ <dl>
9371
+ <dd>
9372
+
9373
+ <dl>
9374
+ <dd>
9375
+
9376
+ </dd>
9377
+ </dl>
9378
+ </dd>
9379
+ </dl>
9380
+
9381
+ #### 🔌 Usage
9382
+
9383
+ <dl>
9384
+ <dd>
9385
+
9386
+ <dl>
9387
+ <dd>
9388
+
9389
+ ```typescript
9390
+ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
9391
+ contractId: "string",
9392
+ ptoRequest: {
9393
+ description: "string",
9394
+ dates: {
9395
+ "2023-01-15": {
9396
+ timeOffLength: "FULL_DAY",
9397
+ },
9398
+ },
9399
+ attachmentFileId: "string",
9400
+ },
9401
+ });
9402
+ ```
9403
+
9404
+ </dd>
9405
+ </dl>
9406
+ </dd>
9407
+ </dl>
9408
+
9409
+ #### ⚙️ Parameters
9410
+
9411
+ <dl>
9412
+ <dd>
9413
+
9414
+ <dl>
9415
+ <dd>
9416
+
9417
+ **companyId:** `string`
9418
+
9419
+ </dd>
9420
+ </dl>
9421
+
9422
+ <dl>
9423
+ <dd>
9424
+
9425
+ **policyId:** `string`
9426
+
9427
+ </dd>
9428
+ </dl>
9429
+
9430
+ <dl>
9431
+ <dd>
9432
+
9433
+ **request:** `TheraApi.CreatePtoForContractorRequest`
9434
+
9435
+ </dd>
9436
+ </dl>
9437
+
9438
+ <dl>
9439
+ <dd>
9440
+
9441
+ **requestOptions:** `TimeoffApi.RequestOptions`
9442
+
9443
+ </dd>
9444
+ </dl>
9445
+ </dd>
9446
+ </dl>
9447
+
9448
+ </dd>
9449
+ </dl>
9450
+ </details>
9451
+
9452
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">addTimeOffPolicy</a>(companyId, { ...params }) -> unknown</code></summary>
9453
+ <dl>
9454
+ <dd>
9455
+
9456
+ #### 📝 Description
9457
+
9458
+ <dl>
9459
+ <dd>
9460
+
9461
+ <dl>
9462
+ <dd>
9463
+
9464
+ Adds a timeoff policy to company
9465
+
9466
+ </dd>
9467
+ </dl>
9468
+ </dd>
9469
+ </dl>
9470
+
9471
+ #### 🔌 Usage
9472
+
9473
+ <dl>
9474
+ <dd>
9475
+
9476
+ <dl>
9477
+ <dd>
9478
+
9479
+ ```typescript
9480
+ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9481
+ policyName: "string",
9482
+ allowanceType: {
9483
+ type: "limitedAllowance",
9484
+ },
9485
+ midYearJoiningAllowance: "FULL_AMOUNT",
9486
+ payType: "UNPAID",
9487
+ leaveType: "string",
9488
+ isDefaultPolicy: true,
9489
+ contractIds: new Set(["string"]),
9490
+ accrualType: {
9491
+ ["EMPLOYEE"]: "MONTHLY",
9492
+ },
9493
+ autoDeductEnabled: {
9494
+ ["EMPLOYEE"]: true,
9495
+ },
9496
+ addPolicyFor: new Set(["EMPLOYEE"]),
9497
+ });
9498
+ ```
9499
+
9500
+ </dd>
9501
+ </dl>
9502
+ </dd>
9503
+ </dl>
9504
+
9505
+ #### ⚙️ Parameters
9506
+
9507
+ <dl>
9508
+ <dd>
9509
+
9510
+ <dl>
9511
+ <dd>
9512
+
9513
+ **companyId:** `string`
9514
+
9515
+ </dd>
9516
+ </dl>
9517
+
9518
+ <dl>
9519
+ <dd>
9520
+
9521
+ **request:** `TheraApi.AddTimeOffPolicyRequest`
9522
+
9523
+ </dd>
9524
+ </dl>
9525
+
9526
+ <dl>
9527
+ <dd>
9528
+
9529
+ **requestOptions:** `TimeoffApi.RequestOptions`
9530
+
9531
+ </dd>
9532
+ </dl>
9533
+ </dd>
9534
+ </dl>
9535
+
9536
+ </dd>
9537
+ </dl>
9538
+ </details>
9539
+
9540
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffPolicy</a>(companyId, policyId) -> TheraApi.TimeOffPolicy</code></summary>
9541
+ <dl>
9542
+ <dd>
9543
+
9544
+ #### 📝 Description
9545
+
9546
+ <dl>
9547
+ <dd>
9548
+
9549
+ <dl>
9550
+ <dd>
9551
+
9552
+ Gets a timeoff policy from company
9553
+
9554
+ </dd>
9555
+ </dl>
9556
+ </dd>
9557
+ </dl>
9558
+
9559
+ #### 🔌 Usage
9560
+
9561
+ <dl>
9562
+ <dd>
9563
+
9564
+ <dl>
9565
+ <dd>
9566
+
9567
+ ```typescript
9568
+ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9569
+ ```
9570
+
9571
+ </dd>
9572
+ </dl>
9573
+ </dd>
9574
+ </dl>
9575
+
9576
+ #### ⚙️ Parameters
9577
+
9578
+ <dl>
9579
+ <dd>
9580
+
9581
+ <dl>
9582
+ <dd>
9583
+
9584
+ **companyId:** `string`
9585
+
9586
+ </dd>
9587
+ </dl>
9588
+
9589
+ <dl>
9590
+ <dd>
9591
+
9592
+ **policyId:** `string`
9593
+
9594
+ </dd>
9595
+ </dl>
9596
+
9597
+ <dl>
9598
+ <dd>
9599
+
9600
+ **requestOptions:** `TimeoffApi.RequestOptions`
9601
+
9602
+ </dd>
9603
+ </dl>
9604
+ </dd>
9605
+ </dl>
9606
+
9607
+ </dd>
9608
+ </dl>
9609
+ </details>
9610
+
9611
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updateTimeOffPolicy</a>(companyId, policyId, { ...params }) -> unknown</code></summary>
9612
+ <dl>
9613
+ <dd>
9614
+
9615
+ #### 📝 Description
9616
+
9617
+ <dl>
9618
+ <dd>
9619
+
9620
+ <dl>
9621
+ <dd>
9622
+
9623
+ Modifys a timeoff policy to company
9624
+
9625
+ </dd>
9626
+ </dl>
9627
+ </dd>
9628
+ </dl>
9629
+
9630
+ #### 🔌 Usage
9631
+
9632
+ <dl>
9633
+ <dd>
9634
+
9635
+ <dl>
9636
+ <dd>
9637
+
9638
+ ```typescript
9639
+ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9640
+ policyName: "string",
9641
+ allowanceType: {
9642
+ type: "limitedAllowance",
9643
+ },
9644
+ midYearJoiningAllowance: "FULL_AMOUNT",
9645
+ payType: "UNPAID",
9646
+ leaveType: "string",
9647
+ isDefaultPolicy: true,
9648
+ contractIds: new Set(["string"]),
9649
+ accrualType: {
9650
+ ["EMPLOYEE"]: "MONTHLY",
9651
+ },
9652
+ autoDeductEnabled: {
9653
+ ["EMPLOYEE"]: true,
9203
9654
  },
9204
9655
  addPolicyFor: new Set(["EMPLOYEE"]),
9205
9656
  });
@@ -11400,6 +11851,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11400
11851
  </dl>
11401
11852
  </details>
11402
11853
 
11854
+ <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>
11855
+ <dl>
11856
+ <dd>
11857
+
11858
+ #### 📝 Description
11859
+
11860
+ <dl>
11861
+ <dd>
11862
+
11863
+ <dl>
11864
+ <dd>
11865
+
11866
+ Withdrawal funds from thera cash to user's personal account via ach or wire
11867
+
11868
+ </dd>
11869
+ </dl>
11870
+ </dd>
11871
+ </dl>
11872
+
11873
+ #### 🔌 Usage
11874
+
11875
+ <dl>
11876
+ <dd>
11877
+
11878
+ <dl>
11879
+ <dd>
11880
+
11881
+ ```typescript
11882
+ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
11883
+ nameOnAccount: "string",
11884
+ amount: "string",
11885
+ ach: {
11886
+ accountNumber: "string",
11887
+ accountType: "string",
11888
+ routingNumber: "string",
11889
+ },
11890
+ wire: {
11891
+ accountNumber: "string",
11892
+ routingNumber: "string",
11893
+ addressOnAccount: {
11894
+ streetLine1: "string",
11895
+ streetLine2: "string",
11896
+ city: "string",
11897
+ state: "string",
11898
+ postalCode: "string",
11899
+ country: "string",
11900
+ },
11901
+ bankName: "string",
11902
+ bankAddress: {
11903
+ streetLine1: "string",
11904
+ streetLine2: "string",
11905
+ city: "string",
11906
+ state: "string",
11907
+ postalCode: "string",
11908
+ country: "string",
11909
+ },
11910
+ },
11911
+ });
11912
+ ```
11913
+
11914
+ </dd>
11915
+ </dl>
11916
+ </dd>
11917
+ </dl>
11918
+
11919
+ #### ⚙️ Parameters
11920
+
11921
+ <dl>
11922
+ <dd>
11923
+
11924
+ <dl>
11925
+ <dd>
11926
+
11927
+ **companyId:** `string`
11928
+
11929
+ </dd>
11930
+ </dl>
11931
+
11932
+ <dl>
11933
+ <dd>
11934
+
11935
+ **request:** `TheraApi.WithdrawalTheraCash`
11936
+
11937
+ </dd>
11938
+ </dl>
11939
+
11940
+ <dl>
11941
+ <dd>
11942
+
11943
+ **requestOptions:** `TpApi.RequestOptions`
11944
+
11945
+ </dd>
11946
+ </dl>
11947
+ </dd>
11948
+ </dl>
11949
+
11950
+ </dd>
11951
+ </dl>
11952
+ </details>
11953
+
11403
11954
  ## User API
11404
11955
 
11405
11956
  <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>