@thera-hr/api-sdk 0.0.1-prerelease3032-dev-2 → 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 (282) 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 +114 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -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 +22 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -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 +7 -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/GetPayScheduleResponse.d.ts +14 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  52. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  53. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
  54. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  55. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  56. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  57. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  59. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  60. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  61. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  63. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  66. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  67. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  68. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  69. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  70. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  71. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  72. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  73. package/api/resources/db/resources/company/types/index.d.ts +1 -0
  74. package/api/resources/db/resources/company/types/index.js +1 -0
  75. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  76. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  77. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  78. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  79. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  80. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  81. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  82. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  83. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  84. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  87. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  88. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  89. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  90. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  91. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  92. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  93. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  94. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  95. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  96. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  97. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  98. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  99. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  118. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  119. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  120. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  121. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  122. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  123. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
  125. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  126. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  127. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  128. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  129. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
  132. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  133. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  134. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  135. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  136. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  137. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  138. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  139. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  140. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  141. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  142. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  143. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  144. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  145. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  146. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  147. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  148. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  149. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  150. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  151. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
  152. package/dist/api/resources/db/resources/company/types/index.js +1 -0
  153. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  154. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  155. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  156. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  157. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  159. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -0
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts} +3 -3
  186. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +43 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  191. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  199. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  202. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  203. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  204. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  205. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  206. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  207. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  208. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  209. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  210. package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
  211. package/dist/version.d.ts +1 -1
  212. package/dist/version.js +1 -1
  213. package/package.json +1 -1
  214. package/reference.md +740 -254
  215. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  216. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  217. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  218. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  219. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  220. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  221. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  222. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  223. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  224. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  225. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  226. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  228. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  230. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -0
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  234. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  240. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  241. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  242. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  243. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  244. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  245. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  246. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  247. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts} +3 -3
  248. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +43 -0
  249. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  250. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  251. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  252. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  253. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  254. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
  255. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  256. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  257. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  258. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  259. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  260. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  261. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  262. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  263. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  264. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  265. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  266. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  267. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  268. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  269. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  270. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  271. package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  272. package/serialization/resources/db/resources/company/types/index.js +1 -0
  273. package/version.d.ts +1 -1
  274. package/version.js +1 -1
  275. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  276. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  277. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  278. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  279. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  280. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  281. /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
  282. /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, checkPayrollId) -> 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
+ **checkPayrollId:** `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, checkPayrollId) -> 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
+ **checkPayrollId:** `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,12 @@ 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",
8862
8729
  });
8863
8730
  ```
8864
8731
 
@@ -8883,15 +8750,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8883
8750
  <dl>
8884
8751
  <dd>
8885
8752
 
8886
- **policyId:** `string`
8887
-
8888
- </dd>
8889
- </dl>
8890
-
8891
- <dl>
8892
- <dd>
8893
-
8894
- **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
8753
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
8895
8754
 
8896
8755
  </dd>
8897
8756
  </dl>
@@ -8899,7 +8758,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8899
8758
  <dl>
8900
8759
  <dd>
8901
8760
 
8902
- **requestOptions:** `TimeoffApi.RequestOptions`
8761
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8903
8762
 
8904
8763
  </dd>
8905
8764
  </dl>
@@ -8910,7 +8769,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8910
8769
  </dl>
8911
8770
  </details>
8912
8771
 
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>
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>
8914
8773
  <dl>
8915
8774
  <dd>
8916
8775
 
@@ -8936,18 +8795,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
8936
8795
  <dd>
8937
8796
 
8938
8797
  ```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
- });
8798
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
8951
8799
  ```
8952
8800
 
8953
8801
  </dd>
@@ -8971,15 +8819,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8971
8819
  <dl>
8972
8820
  <dd>
8973
8821
 
8974
- **policyId:** `string`
8975
-
8976
- </dd>
8977
- </dl>
8978
-
8979
- <dl>
8980
- <dd>
8981
-
8982
- **request:** `TheraApi.CreatePtoForContractorRequest`
8822
+ **checkPayScheduleId:** `string`
8983
8823
 
8984
8824
  </dd>
8985
8825
  </dl>
@@ -8987,7 +8827,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8987
8827
  <dl>
8988
8828
  <dd>
8989
8829
 
8990
- **requestOptions:** `TimeoffApi.RequestOptions`
8830
+ **requestOptions:** `PayscheduleApi.RequestOptions`
8991
8831
 
8992
8832
  </dd>
8993
8833
  </dl>
@@ -8998,7 +8838,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
8998
8838
  </dl>
8999
8839
  </details>
9000
8840
 
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>
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>
9002
8842
  <dl>
9003
8843
  <dd>
9004
8844
 
@@ -9010,8 +8850,6 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
9010
8850
  <dl>
9011
8851
  <dd>
9012
8852
 
9013
- Adds a timeoff policy to company
9014
-
9015
8853
  </dd>
9016
8854
  </dl>
9017
8855
  </dd>
@@ -9026,24 +8864,7 @@ Adds a timeoff policy to company
9026
8864
  <dd>
9027
8865
 
9028
8866
  ```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
- });
8867
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9047
8868
  ```
9048
8869
 
9049
8870
  </dd>
@@ -9067,15 +8888,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9067
8888
  <dl>
9068
8889
  <dd>
9069
8890
 
9070
- **request:** `TheraApi.AddTimeOffPolicyRequest`
9071
-
9072
- </dd>
9073
- </dl>
9074
-
9075
- <dl>
9076
- <dd>
9077
-
9078
- **requestOptions:** `TimeoffApi.RequestOptions`
8891
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9079
8892
 
9080
8893
  </dd>
9081
8894
  </dl>
@@ -9086,7 +8899,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9086
8899
  </dl>
9087
8900
  </details>
9088
8901
 
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>
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>
9090
8903
  <dl>
9091
8904
  <dd>
9092
8905
 
@@ -9098,7 +8911,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9098
8911
  <dl>
9099
8912
  <dd>
9100
8913
 
9101
- Gets a timeoff policy from company
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
9102
8915
 
9103
8916
  </dd>
9104
8917
  </dl>
@@ -9114,7 +8927,7 @@ Gets a timeoff policy from company
9114
8927
  <dd>
9115
8928
 
9116
8929
  ```typescript
9117
- await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
8930
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
9118
8931
  ```
9119
8932
 
9120
8933
  </dd>
@@ -9138,7 +8951,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9138
8951
  <dl>
9139
8952
  <dd>
9140
8953
 
9141
- **policyId:** `string`
8954
+ **checkPayScheduleId:** `string`
9142
8955
 
9143
8956
  </dd>
9144
8957
  </dl>
@@ -9146,7 +8959,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9146
8959
  <dl>
9147
8960
  <dd>
9148
8961
 
9149
- **requestOptions:** `TimeoffApi.RequestOptions`
8962
+ **requestOptions:** `PayscheduleApi.RequestOptions`
9150
8963
 
9151
8964
  </dd>
9152
8965
  </dl>
@@ -9157,7 +8970,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9157
8970
  </dl>
9158
8971
  </details>
9159
8972
 
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>
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>
9161
8974
  <dl>
9162
8975
  <dd>
9163
8976
 
@@ -9169,8 +8982,6 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9169
8982
  <dl>
9170
8983
  <dd>
9171
8984
 
9172
- Modifys a timeoff policy to company
9173
-
9174
8985
  </dd>
9175
8986
  </dl>
9176
8987
  </dd>
@@ -9185,23 +8996,598 @@ Modifys a timeoff policy to company
9185
8996
  <dd>
9186
8997
 
9187
8998
  ```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,
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",
9203
9007
  },
9204
- addPolicyFor: new Set(["EMPLOYEE"]),
9008
+ });
9009
+ ```
9010
+
9011
+ </dd>
9012
+ </dl>
9013
+ </dd>
9014
+ </dl>
9015
+
9016
+ #### ⚙️ Parameters
9017
+
9018
+ <dl>
9019
+ <dd>
9020
+
9021
+ <dl>
9022
+ <dd>
9023
+
9024
+ **companyId:** `string`
9025
+
9026
+ </dd>
9027
+ </dl>
9028
+
9029
+ <dl>
9030
+ <dd>
9031
+
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`
9049
+
9050
+ </dd>
9051
+ </dl>
9052
+ </dd>
9053
+ </dl>
9054
+
9055
+ </dd>
9056
+ </dl>
9057
+ </details>
9058
+
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>
9060
+ <dl>
9061
+ <dd>
9062
+
9063
+ #### 📝 Description
9064
+
9065
+ <dl>
9066
+ <dd>
9067
+
9068
+ <dl>
9069
+ <dd>
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
+
9073
+ </dd>
9074
+ </dl>
9075
+ </dd>
9076
+ </dl>
9077
+
9078
+ #### 🔌 Usage
9079
+
9080
+ <dl>
9081
+ <dd>
9082
+
9083
+ <dl>
9084
+ <dd>
9085
+
9086
+ ```typescript
9087
+ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
9088
+ checkPayScheduleIdByUserId: {
9089
+ string: "string",
9090
+ },
9091
+ });
9092
+ ```
9093
+
9094
+ </dd>
9095
+ </dl>
9096
+ </dd>
9097
+ </dl>
9098
+
9099
+ #### ⚙️ Parameters
9100
+
9101
+ <dl>
9102
+ <dd>
9103
+
9104
+ <dl>
9105
+ <dd>
9106
+
9107
+ **companyId:** `string`
9108
+
9109
+ </dd>
9110
+ </dl>
9111
+
9112
+ <dl>
9113
+ <dd>
9114
+
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`
9132
+
9133
+ </dd>
9134
+ </dl>
9135
+ </dd>
9136
+ </dl>
9137
+
9138
+ </dd>
9139
+ </dl>
9140
+ </details>
9141
+
9142
+ ## Time Off Management
9143
+
9144
+ <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>
9145
+ <dl>
9146
+ <dd>
9147
+
9148
+ #### 📝 Description
9149
+
9150
+ <dl>
9151
+ <dd>
9152
+
9153
+ <dl>
9154
+ <dd>
9155
+
9156
+ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
9157
+
9158
+ </dd>
9159
+ </dl>
9160
+ </dd>
9161
+ </dl>
9162
+
9163
+ #### 🔌 Usage
9164
+
9165
+ <dl>
9166
+ <dd>
9167
+
9168
+ <dl>
9169
+ <dd>
9170
+
9171
+ ```typescript
9172
+ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
9173
+ invoiceId: "string",
9174
+ timeOffRequestId: "string",
9175
+ });
9176
+ ```
9177
+
9178
+ </dd>
9179
+ </dl>
9180
+ </dd>
9181
+ </dl>
9182
+
9183
+ #### ⚙️ Parameters
9184
+
9185
+ <dl>
9186
+ <dd>
9187
+
9188
+ <dl>
9189
+ <dd>
9190
+
9191
+ **companyId:** `string`
9192
+
9193
+ </dd>
9194
+ </dl>
9195
+
9196
+ <dl>
9197
+ <dd>
9198
+
9199
+ **request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
9200
+
9201
+ </dd>
9202
+ </dl>
9203
+
9204
+ <dl>
9205
+ <dd>
9206
+
9207
+ **requestOptions:** `TimeoffApi.RequestOptions`
9208
+
9209
+ </dd>
9210
+ </dl>
9211
+ </dd>
9212
+ </dl>
9213
+
9214
+ </dd>
9215
+ </dl>
9216
+ </details>
9217
+
9218
+ <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>
9219
+ <dl>
9220
+ <dd>
9221
+
9222
+ #### 📝 Description
9223
+
9224
+ <dl>
9225
+ <dd>
9226
+
9227
+ <dl>
9228
+ <dd>
9229
+
9230
+ Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
9231
+
9232
+ </dd>
9233
+ </dl>
9234
+ </dd>
9235
+ </dl>
9236
+
9237
+ #### 🔌 Usage
9238
+
9239
+ <dl>
9240
+ <dd>
9241
+
9242
+ <dl>
9243
+ <dd>
9244
+
9245
+ ```typescript
9246
+ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
9247
+ contractIds: ["string"],
9248
+ });
9249
+ ```
9250
+
9251
+ </dd>
9252
+ </dl>
9253
+ </dd>
9254
+ </dl>
9255
+
9256
+ #### ⚙️ Parameters
9257
+
9258
+ <dl>
9259
+ <dd>
9260
+
9261
+ <dl>
9262
+ <dd>
9263
+
9264
+ **companyId:** `string`
9265
+
9266
+ </dd>
9267
+ </dl>
9268
+
9269
+ <dl>
9270
+ <dd>
9271
+
9272
+ **policyId:** `string`
9273
+
9274
+ </dd>
9275
+ </dl>
9276
+
9277
+ <dl>
9278
+ <dd>
9279
+
9280
+ **request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
9281
+
9282
+ </dd>
9283
+ </dl>
9284
+
9285
+ <dl>
9286
+ <dd>
9287
+
9288
+ **requestOptions:** `TimeoffApi.RequestOptions`
9289
+
9290
+ </dd>
9291
+ </dl>
9292
+ </dd>
9293
+ </dl>
9294
+
9295
+ </dd>
9296
+ </dl>
9297
+ </details>
9298
+
9299
+ <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>
9300
+ <dl>
9301
+ <dd>
9302
+
9303
+ #### 📝 Description
9304
+
9305
+ <dl>
9306
+ <dd>
9307
+
9308
+ <dl>
9309
+ <dd>
9310
+
9311
+ </dd>
9312
+ </dl>
9313
+ </dd>
9314
+ </dl>
9315
+
9316
+ #### 🔌 Usage
9317
+
9318
+ <dl>
9319
+ <dd>
9320
+
9321
+ <dl>
9322
+ <dd>
9323
+
9324
+ ```typescript
9325
+ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
9326
+ contractId: "string",
9327
+ ptoRequest: {
9328
+ description: "string",
9329
+ dates: {
9330
+ "2023-01-15": {
9331
+ timeOffLength: "FULL_DAY",
9332
+ },
9333
+ },
9334
+ attachmentFileId: "string",
9335
+ },
9336
+ });
9337
+ ```
9338
+
9339
+ </dd>
9340
+ </dl>
9341
+ </dd>
9342
+ </dl>
9343
+
9344
+ #### ⚙️ Parameters
9345
+
9346
+ <dl>
9347
+ <dd>
9348
+
9349
+ <dl>
9350
+ <dd>
9351
+
9352
+ **companyId:** `string`
9353
+
9354
+ </dd>
9355
+ </dl>
9356
+
9357
+ <dl>
9358
+ <dd>
9359
+
9360
+ **policyId:** `string`
9361
+
9362
+ </dd>
9363
+ </dl>
9364
+
9365
+ <dl>
9366
+ <dd>
9367
+
9368
+ **request:** `TheraApi.CreatePtoForContractorRequest`
9369
+
9370
+ </dd>
9371
+ </dl>
9372
+
9373
+ <dl>
9374
+ <dd>
9375
+
9376
+ **requestOptions:** `TimeoffApi.RequestOptions`
9377
+
9378
+ </dd>
9379
+ </dl>
9380
+ </dd>
9381
+ </dl>
9382
+
9383
+ </dd>
9384
+ </dl>
9385
+ </details>
9386
+
9387
+ <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>
9388
+ <dl>
9389
+ <dd>
9390
+
9391
+ #### 📝 Description
9392
+
9393
+ <dl>
9394
+ <dd>
9395
+
9396
+ <dl>
9397
+ <dd>
9398
+
9399
+ Adds a timeoff policy to company
9400
+
9401
+ </dd>
9402
+ </dl>
9403
+ </dd>
9404
+ </dl>
9405
+
9406
+ #### 🔌 Usage
9407
+
9408
+ <dl>
9409
+ <dd>
9410
+
9411
+ <dl>
9412
+ <dd>
9413
+
9414
+ ```typescript
9415
+ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
9416
+ policyName: "string",
9417
+ allowanceType: {
9418
+ type: "limitedAllowance",
9419
+ },
9420
+ midYearJoiningAllowance: "FULL_AMOUNT",
9421
+ payType: "UNPAID",
9422
+ leaveType: "string",
9423
+ isDefaultPolicy: true,
9424
+ contractIds: new Set(["string"]),
9425
+ accrualType: {
9426
+ ["EMPLOYEE"]: "MONTHLY",
9427
+ },
9428
+ autoDeductEnabled: {
9429
+ ["EMPLOYEE"]: true,
9430
+ },
9431
+ addPolicyFor: new Set(["EMPLOYEE"]),
9432
+ });
9433
+ ```
9434
+
9435
+ </dd>
9436
+ </dl>
9437
+ </dd>
9438
+ </dl>
9439
+
9440
+ #### ⚙️ Parameters
9441
+
9442
+ <dl>
9443
+ <dd>
9444
+
9445
+ <dl>
9446
+ <dd>
9447
+
9448
+ **companyId:** `string`
9449
+
9450
+ </dd>
9451
+ </dl>
9452
+
9453
+ <dl>
9454
+ <dd>
9455
+
9456
+ **request:** `TheraApi.AddTimeOffPolicyRequest`
9457
+
9458
+ </dd>
9459
+ </dl>
9460
+
9461
+ <dl>
9462
+ <dd>
9463
+
9464
+ **requestOptions:** `TimeoffApi.RequestOptions`
9465
+
9466
+ </dd>
9467
+ </dl>
9468
+ </dd>
9469
+ </dl>
9470
+
9471
+ </dd>
9472
+ </dl>
9473
+ </details>
9474
+
9475
+ <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>
9476
+ <dl>
9477
+ <dd>
9478
+
9479
+ #### 📝 Description
9480
+
9481
+ <dl>
9482
+ <dd>
9483
+
9484
+ <dl>
9485
+ <dd>
9486
+
9487
+ Gets a timeoff policy from company
9488
+
9489
+ </dd>
9490
+ </dl>
9491
+ </dd>
9492
+ </dl>
9493
+
9494
+ #### 🔌 Usage
9495
+
9496
+ <dl>
9497
+ <dd>
9498
+
9499
+ <dl>
9500
+ <dd>
9501
+
9502
+ ```typescript
9503
+ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
9504
+ ```
9505
+
9506
+ </dd>
9507
+ </dl>
9508
+ </dd>
9509
+ </dl>
9510
+
9511
+ #### ⚙️ Parameters
9512
+
9513
+ <dl>
9514
+ <dd>
9515
+
9516
+ <dl>
9517
+ <dd>
9518
+
9519
+ **companyId:** `string`
9520
+
9521
+ </dd>
9522
+ </dl>
9523
+
9524
+ <dl>
9525
+ <dd>
9526
+
9527
+ **policyId:** `string`
9528
+
9529
+ </dd>
9530
+ </dl>
9531
+
9532
+ <dl>
9533
+ <dd>
9534
+
9535
+ **requestOptions:** `TimeoffApi.RequestOptions`
9536
+
9537
+ </dd>
9538
+ </dl>
9539
+ </dd>
9540
+ </dl>
9541
+
9542
+ </dd>
9543
+ </dl>
9544
+ </details>
9545
+
9546
+ <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>
9547
+ <dl>
9548
+ <dd>
9549
+
9550
+ #### 📝 Description
9551
+
9552
+ <dl>
9553
+ <dd>
9554
+
9555
+ <dl>
9556
+ <dd>
9557
+
9558
+ Modifys a timeoff policy to company
9559
+
9560
+ </dd>
9561
+ </dl>
9562
+ </dd>
9563
+ </dl>
9564
+
9565
+ #### 🔌 Usage
9566
+
9567
+ <dl>
9568
+ <dd>
9569
+
9570
+ <dl>
9571
+ <dd>
9572
+
9573
+ ```typescript
9574
+ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
9575
+ policyName: "string",
9576
+ allowanceType: {
9577
+ type: "limitedAllowance",
9578
+ },
9579
+ midYearJoiningAllowance: "FULL_AMOUNT",
9580
+ payType: "UNPAID",
9581
+ leaveType: "string",
9582
+ isDefaultPolicy: true,
9583
+ contractIds: new Set(["string"]),
9584
+ accrualType: {
9585
+ ["EMPLOYEE"]: "MONTHLY",
9586
+ },
9587
+ autoDeductEnabled: {
9588
+ ["EMPLOYEE"]: true,
9589
+ },
9590
+ addPolicyFor: new Set(["EMPLOYEE"]),
9205
9591
  });
9206
9592
  ```
9207
9593
 
@@ -11400,6 +11786,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
11400
11786
  </dl>
11401
11787
  </details>
11402
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
+
11403
11889
  ## User API
11404
11890
 
11405
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>