@thera-hr/api-sdk 0.0.1-prerelease3181-dev-3 → 0.0.1-prerelease3181-production

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 (376) 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 +7 -7
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  13. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  14. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +21 -0
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -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/incorporation/resources/incorporationApi/client/Client.js +3 -3
  24. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  26. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +11 -6
  27. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
  28. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
  29. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
  30. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  49. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  50. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  52. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
  53. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
  54. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
  55. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
  56. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
  57. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
  58. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
  59. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
  60. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
  61. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  62. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  63. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +2 -1
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
  66. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  67. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  68. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  69. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  70. package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
  71. package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
  72. package/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
  73. package/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
  74. package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
  75. package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
  76. package/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
  77. package/api/resources/db/resources/company/types/Holiday.js +5 -0
  78. package/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
  79. package/api/resources/db/resources/company/types/HolidayDate.js +5 -0
  80. package/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
  81. package/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
  82. package/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
  83. package/api/resources/db/resources/company/types/HolidayType.js +10 -0
  84. package/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
  85. package/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
  86. package/api/resources/db/resources/company/types/TimeOffType.js +1 -0
  87. package/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
  88. package/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
  89. package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  90. package/api/resources/db/resources/company/types/index.d.ts +8 -0
  91. package/api/resources/db/resources/company/types/index.js +8 -0
  92. package/api/resources/db/resources/expense/index.d.ts +1 -0
  93. package/api/resources/db/resources/expense/index.js +17 -0
  94. package/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
  95. package/api/resources/db/resources/expense/types/Expense.js +5 -0
  96. package/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
  97. package/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
  98. package/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
  99. package/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
  100. package/api/resources/db/resources/expense/types/index.d.ts +3 -0
  101. package/api/resources/db/resources/expense/types/index.js +19 -0
  102. package/api/resources/db/resources/index.d.ts +2 -0
  103. package/api/resources/db/resources/index.js +3 -1
  104. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  105. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  106. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  107. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  108. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  109. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +7 -7
  110. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
  111. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  112. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
  113. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
  114. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  115. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  116. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  117. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +21 -0
  118. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -3
  119. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  120. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  121. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  122. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  123. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  124. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  125. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  126. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  127. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  128. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  129. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +11 -6
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
  132. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
  133. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
  134. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  135. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
  136. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  137. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
  138. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
  139. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
  140. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  141. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
  142. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  143. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  144. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
  145. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
  146. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
  147. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
  148. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  149. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  150. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  151. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  152. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  153. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
  154. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  155. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
  156. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
  157. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
  158. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
  159. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
  160. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
  161. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
  162. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
  163. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
  164. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  165. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  166. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  167. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +2 -1
  168. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
  169. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  170. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  171. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  172. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  173. package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
  174. package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
  175. package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
  176. package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
  177. package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
  178. package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
  179. package/dist/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
  180. package/dist/api/resources/db/resources/company/types/Holiday.js +5 -0
  181. package/dist/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
  182. package/dist/api/resources/db/resources/company/types/HolidayDate.js +5 -0
  183. package/dist/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
  184. package/dist/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
  185. package/dist/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
  186. package/dist/api/resources/db/resources/company/types/HolidayType.js +10 -0
  187. package/dist/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
  188. package/dist/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
  189. package/dist/api/resources/db/resources/company/types/TimeOffType.js +1 -0
  190. package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
  191. package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
  192. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  193. package/dist/api/resources/db/resources/company/types/index.d.ts +8 -0
  194. package/dist/api/resources/db/resources/company/types/index.js +8 -0
  195. package/dist/api/resources/db/resources/expense/index.d.ts +1 -0
  196. package/dist/api/resources/db/resources/expense/index.js +17 -0
  197. package/dist/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
  198. package/dist/api/resources/db/resources/expense/types/Expense.js +5 -0
  199. package/dist/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
  200. package/dist/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
  201. package/dist/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
  202. package/dist/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
  203. package/dist/api/resources/db/resources/expense/types/index.d.ts +3 -0
  204. package/dist/api/resources/db/resources/expense/types/index.js +19 -0
  205. package/dist/api/resources/db/resources/index.d.ts +2 -0
  206. package/dist/api/resources/db/resources/index.js +3 -1
  207. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  208. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
  209. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
  211. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  212. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
  213. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
  214. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
  215. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
  216. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
  217. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
  218. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
  219. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
  220. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
  221. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
  222. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
  223. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  224. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
  225. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  226. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
  227. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
  228. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
  229. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  230. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
  231. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  232. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  233. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
  234. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
  235. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
  236. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
  237. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  238. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  239. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  240. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  241. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
  242. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
  243. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
  244. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
  245. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
  246. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
  247. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  248. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  249. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  250. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  251. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  252. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  253. package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
  254. package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
  255. package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
  256. package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
  257. package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
  258. package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
  259. package/dist/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
  260. package/dist/serialization/resources/db/resources/company/types/Holiday.js +52 -0
  261. package/dist/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
  262. package/dist/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
  263. package/dist/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
  264. package/dist/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
  265. package/dist/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
  266. package/dist/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
  267. package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
  268. package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
  269. package/dist/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
  270. package/dist/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
  271. package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
  272. package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
  273. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  274. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  275. package/dist/serialization/resources/db/resources/company/types/index.d.ts +8 -0
  276. package/dist/serialization/resources/db/resources/company/types/index.js +8 -0
  277. package/dist/serialization/resources/db/resources/expense/index.d.ts +1 -0
  278. package/dist/serialization/resources/db/resources/expense/index.js +17 -0
  279. package/dist/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
  280. package/dist/serialization/resources/db/resources/expense/types/Expense.js +59 -0
  281. package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
  282. package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
  283. package/dist/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
  284. package/dist/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
  285. package/dist/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
  286. package/dist/serialization/resources/db/resources/expense/types/index.js +19 -0
  287. package/dist/serialization/resources/db/resources/index.d.ts +2 -0
  288. package/dist/serialization/resources/db/resources/index.js +3 -1
  289. package/dist/version.d.ts +1 -1
  290. package/dist/version.js +1 -1
  291. package/package.json +1 -1
  292. package/reference.md +1048 -113
  293. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  294. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
  295. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  296. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
  297. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  298. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
  299. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
  300. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
  301. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
  302. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
  303. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
  304. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
  305. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
  306. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
  307. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
  308. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
  309. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  310. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
  311. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  312. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
  313. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
  314. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
  315. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  316. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
  317. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  318. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  319. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
  320. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
  321. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
  322. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
  323. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  324. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  325. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  326. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  327. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
  328. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
  329. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
  330. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
  331. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
  332. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
  333. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  334. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  335. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  336. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  337. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  338. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  339. package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
  340. package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
  341. package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
  342. package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
  343. package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
  344. package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
  345. package/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
  346. package/serialization/resources/db/resources/company/types/Holiday.js +52 -0
  347. package/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
  348. package/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
  349. package/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
  350. package/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
  351. package/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
  352. package/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
  353. package/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
  354. package/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
  355. package/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
  356. package/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
  357. package/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
  358. package/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
  359. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  360. package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  361. package/serialization/resources/db/resources/company/types/index.d.ts +8 -0
  362. package/serialization/resources/db/resources/company/types/index.js +8 -0
  363. package/serialization/resources/db/resources/expense/index.d.ts +1 -0
  364. package/serialization/resources/db/resources/expense/index.js +17 -0
  365. package/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
  366. package/serialization/resources/db/resources/expense/types/Expense.js +59 -0
  367. package/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
  368. package/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
  369. package/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
  370. package/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
  371. package/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
  372. package/serialization/resources/db/resources/expense/types/index.js +19 -0
  373. package/serialization/resources/db/resources/index.d.ts +2 -0
  374. package/serialization/resources/db/resources/index.js +3 -1
  375. package/version.d.ts +1 -1
  376. package/version.js +1 -1
package/reference.md CHANGED
@@ -2334,12 +2334,12 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalQuote("string", "string",
2334
2334
 
2335
2335
  ```typescript
2336
2336
  await client.api.thera.bank.bankApi.workerWithdraw("string", "string", {
2337
- debitAmount: 1000000,
2338
- debitCurrency: "string",
2339
- creditAmount: 1000000,
2340
- creditCurrency: "string",
2337
+ amount: 1000000,
2338
+ currency: "string",
2341
2339
  withdrawalMethodId: "string",
2342
- providerId: "string",
2340
+ debugSettings: {
2341
+ forceContractorsFxPassthrough: true,
2342
+ },
2343
2343
  });
2344
2344
  ```
2345
2345
 
@@ -2372,7 +2372,7 @@ await client.api.thera.bank.bankApi.workerWithdraw("string", "string", {
2372
2372
  <dl>
2373
2373
  <dd>
2374
2374
 
2375
- **request:** `TheraApi.WorkerWithdrawalRequest`
2375
+ **request:** `TheraApi.InitiateWorkerWithdrawalRequest`
2376
2376
 
2377
2377
  </dd>
2378
2378
  </dl>
@@ -3516,6 +3516,7 @@ Links an external crypto wallet to a customer.
3516
3516
 
3517
3517
  ```typescript
3518
3518
  await client.api.thera.bridge.bridgeApi.createExternalAccount("string", {
3519
+ id: "string",
3519
3520
  walletAddress: "string",
3520
3521
  currency: "string",
3521
3522
  paymentRail: "string",
@@ -4496,6 +4497,7 @@ await client.api.thera.bridge.bridgeApi.createTransfer({
4496
4497
  amount: "string",
4497
4498
  onBehalfOf: "string",
4498
4499
  developerFee: "string",
4500
+ developerFeePercent: "string",
4499
4501
  source: {
4500
4502
  currency: "string",
4501
4503
  paymentRail: "string",
@@ -6518,6 +6520,128 @@ await client.api.thera.company.companyW2PayrollApi.setupPayroll("string", {
6518
6520
  </dl>
6519
6521
  </details>
6520
6522
 
6523
+ <details><summary><code>client.api.thera.company.companyW2PayrollApi.<a href="/src/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.ts">updatePayrollItemReimbursements</a>(companyId, payrollItemId, { ...params }) -> unknown</code></summary>
6524
+ <dl>
6525
+ <dd>
6526
+
6527
+ #### 🔌 Usage
6528
+
6529
+ <dl>
6530
+ <dd>
6531
+
6532
+ <dl>
6533
+ <dd>
6534
+
6535
+ ```typescript
6536
+ await client.api.thera.company.companyW2PayrollApi.updatePayrollItemReimbursements("string", "string", {
6537
+ key: "value",
6538
+ });
6539
+ ```
6540
+
6541
+ </dd>
6542
+ </dl>
6543
+ </dd>
6544
+ </dl>
6545
+
6546
+ #### ⚙️ Parameters
6547
+
6548
+ <dl>
6549
+ <dd>
6550
+
6551
+ <dl>
6552
+ <dd>
6553
+
6554
+ **companyId:** `string`
6555
+
6556
+ </dd>
6557
+ </dl>
6558
+
6559
+ <dl>
6560
+ <dd>
6561
+
6562
+ **payrollItemId:** `string`
6563
+
6564
+ </dd>
6565
+ </dl>
6566
+
6567
+ <dl>
6568
+ <dd>
6569
+
6570
+ **request:** `unknown`
6571
+
6572
+ </dd>
6573
+ </dl>
6574
+
6575
+ <dl>
6576
+ <dd>
6577
+
6578
+ **requestOptions:** `CompanyW2PayrollApi.RequestOptions`
6579
+
6580
+ </dd>
6581
+ </dl>
6582
+ </dd>
6583
+ </dl>
6584
+
6585
+ </dd>
6586
+ </dl>
6587
+ </details>
6588
+
6589
+ <details><summary><code>client.api.thera.company.companyW2PayrollApi.<a href="/src/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.ts">deletePayrollItem</a>(companyId, payrollItemId) -> void</code></summary>
6590
+ <dl>
6591
+ <dd>
6592
+
6593
+ #### 🔌 Usage
6594
+
6595
+ <dl>
6596
+ <dd>
6597
+
6598
+ <dl>
6599
+ <dd>
6600
+
6601
+ ```typescript
6602
+ await client.api.thera.company.companyW2PayrollApi.deletePayrollItem("string", "string");
6603
+ ```
6604
+
6605
+ </dd>
6606
+ </dl>
6607
+ </dd>
6608
+ </dl>
6609
+
6610
+ #### ⚙️ Parameters
6611
+
6612
+ <dl>
6613
+ <dd>
6614
+
6615
+ <dl>
6616
+ <dd>
6617
+
6618
+ **companyId:** `string`
6619
+
6620
+ </dd>
6621
+ </dl>
6622
+
6623
+ <dl>
6624
+ <dd>
6625
+
6626
+ **payrollItemId:** `string`
6627
+
6628
+ </dd>
6629
+ </dl>
6630
+
6631
+ <dl>
6632
+ <dd>
6633
+
6634
+ **requestOptions:** `CompanyW2PayrollApi.RequestOptions`
6635
+
6636
+ </dd>
6637
+ </dl>
6638
+ </dd>
6639
+ </dl>
6640
+
6641
+ </dd>
6642
+ </dl>
6643
+ </details>
6644
+
6521
6645
  ## Contractor API
6522
6646
 
6523
6647
  <details><summary><code>client.api.thera.contractor.contractorApi.<a href="/src/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.ts">getUsContractorsTaxInfo</a>(companyId, { ...params }) -> TheraApi.GetUsContractorsTaxInfoResponse</code></summary>
@@ -8872,9 +8996,9 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8872
8996
  </dl>
8873
8997
  </details>
8874
8998
 
8875
- ## Offcycle API
8999
+ ## W2 Expense APIs
8876
9000
 
8877
- <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
9001
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">createW2Expense</a>(companyId, { ...params }) -> TheraApi.Expense</code></summary>
8878
9002
  <dl>
8879
9003
  <dd>
8880
9004
 
@@ -8900,7 +9024,17 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8900
9024
  <dd>
8901
9025
 
8902
9026
  ```typescript
8903
- await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
9027
+ await client.api.thera.payroll.expenseApi.createW2Expense("string", {
9028
+ contractId: "string",
9029
+ incurredDateTime: "string",
9030
+ type: "US_PAYROLL",
9031
+ categoryType: "string",
9032
+ description: "string",
9033
+ amount: 1000000,
9034
+ createdDateTime: "string",
9035
+ createdBy: "string",
9036
+ attachmentId: "string",
9037
+ });
8904
9038
  ```
8905
9039
 
8906
9040
  </dd>
@@ -8924,7 +9058,15 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8924
9058
  <dl>
8925
9059
  <dd>
8926
9060
 
8927
- **requestOptions:** `OffcycleApi.RequestOptions`
9061
+ **request:** `TheraApi.api.thera.payroll.CreateExpenseRequest`
9062
+
9063
+ </dd>
9064
+ </dl>
9065
+
9066
+ <dl>
9067
+ <dd>
9068
+
9069
+ **requestOptions:** `ExpenseApi.RequestOptions`
8928
9070
 
8929
9071
  </dd>
8930
9072
  </dl>
@@ -8935,9 +9077,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8935
9077
  </dl>
8936
9078
  </details>
8937
9079
 
8938
- ## Oncycle API
8939
-
8940
- <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>
9080
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">getW2Expense</a>(companyId, expenseId) -> TheraApi.Expense</code></summary>
8941
9081
  <dl>
8942
9082
  <dd>
8943
9083
 
@@ -8963,7 +9103,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
8963
9103
  <dd>
8964
9104
 
8965
9105
  ```typescript
8966
- await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
9106
+ await client.api.thera.payroll.expenseApi.getW2Expense("string", "string");
8967
9107
  ```
8968
9108
 
8969
9109
  </dd>
@@ -8987,7 +9127,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8987
9127
  <dl>
8988
9128
  <dd>
8989
9129
 
8990
- **checkPayScheduleId:** `string`
9130
+ **expenseId:** `string`
8991
9131
 
8992
9132
  </dd>
8993
9133
  </dl>
@@ -8995,7 +9135,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
8995
9135
  <dl>
8996
9136
  <dd>
8997
9137
 
8998
- **requestOptions:** `OncycleApi.RequestOptions`
9138
+ **requestOptions:** `ExpenseApi.RequestOptions`
8999
9139
 
9000
9140
  </dd>
9001
9141
  </dl>
@@ -9006,7 +9146,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
9006
9146
  </dl>
9007
9147
  </details>
9008
9148
 
9009
- <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>
9149
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">listW2Expenses</a>(companyId) -> TheraApi.Expense[]</code></summary>
9010
9150
  <dl>
9011
9151
  <dd>
9012
9152
 
@@ -9032,7 +9172,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string
9032
9172
  <dd>
9033
9173
 
9034
9174
  ```typescript
9035
- await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9175
+ await client.api.thera.payroll.expenseApi.listW2Expenses("string");
9036
9176
  ```
9037
9177
 
9038
9178
  </dd>
@@ -9056,7 +9196,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9056
9196
  <dl>
9057
9197
  <dd>
9058
9198
 
9059
- **requestOptions:** `OncycleApi.RequestOptions`
9199
+ **requestOptions:** `ExpenseApi.RequestOptions`
9060
9200
 
9061
9201
  </dd>
9062
9202
  </dl>
@@ -9067,7 +9207,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9067
9207
  </dl>
9068
9208
  </details>
9069
9209
 
9070
- <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>
9210
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">listW2ExpensesByContract</a>(contractId) -> TheraApi.Expense[]</code></summary>
9071
9211
  <dl>
9072
9212
  <dd>
9073
9213
 
@@ -9093,7 +9233,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9093
9233
  <dd>
9094
9234
 
9095
9235
  ```typescript
9096
- await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
9236
+ await client.api.thera.payroll.expenseApi.listW2ExpensesByContract("string");
9097
9237
  ```
9098
9238
 
9099
9239
  </dd>
@@ -9109,15 +9249,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
9109
9249
  <dl>
9110
9250
  <dd>
9111
9251
 
9112
- **companyId:** `string`
9113
-
9114
- </dd>
9115
- </dl>
9116
-
9117
- <dl>
9118
- <dd>
9119
-
9120
- **checkPayrollId:** `string`
9252
+ **contractId:** `string`
9121
9253
 
9122
9254
  </dd>
9123
9255
  </dl>
@@ -9125,7 +9257,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
9125
9257
  <dl>
9126
9258
  <dd>
9127
9259
 
9128
- **requestOptions:** `OncycleApi.RequestOptions`
9260
+ **requestOptions:** `ExpenseApi.RequestOptions`
9129
9261
 
9130
9262
  </dd>
9131
9263
  </dl>
@@ -9136,23 +9268,10 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
9136
9268
  </dl>
9137
9269
  </details>
9138
9270
 
9139
- <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>
9140
- <dl>
9141
- <dd>
9142
-
9143
- #### 📝 Description
9144
-
9145
- <dl>
9146
- <dd>
9147
-
9271
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">deleteW2Expense</a>(companyId, expenseId) -> void</code></summary>
9148
9272
  <dl>
9149
9273
  <dd>
9150
9274
 
9151
- </dd>
9152
- </dl>
9153
- </dd>
9154
- </dl>
9155
-
9156
9275
  #### 🔌 Usage
9157
9276
 
9158
9277
  <dl>
@@ -9162,7 +9281,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "stri
9162
9281
  <dd>
9163
9282
 
9164
9283
  ```typescript
9165
- await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
9284
+ await client.api.thera.payroll.expenseApi.deleteW2Expense("string", "string");
9166
9285
  ```
9167
9286
 
9168
9287
  </dd>
@@ -9186,7 +9305,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
9186
9305
  <dl>
9187
9306
  <dd>
9188
9307
 
9189
- **checkPayScheduleId:** `string`
9308
+ **expenseId:** `string`
9190
9309
 
9191
9310
  </dd>
9192
9311
  </dl>
@@ -9194,7 +9313,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
9194
9313
  <dl>
9195
9314
  <dd>
9196
9315
 
9197
- **requestOptions:** `OncycleApi.RequestOptions`
9316
+ **requestOptions:** `ExpenseApi.RequestOptions`
9198
9317
 
9199
9318
  </dd>
9200
9319
  </dl>
@@ -9205,9 +9324,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
9205
9324
  </dl>
9206
9325
  </details>
9207
9326
 
9208
- ## W2 Pay Schedule APIs
9209
-
9210
- <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>
9327
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">updateW2Expense</a>(companyId, expenseId, { ...params }) -> TheraApi.Expense</code></summary>
9211
9328
  <dl>
9212
9329
  <dd>
9213
9330
 
@@ -9233,13 +9350,14 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
9233
9350
  <dd>
9234
9351
 
9235
9352
  ```typescript
9236
- await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
9237
- name: "string",
9238
- payFrequency: "weekly",
9239
- firstPayDate: "2023-01-15",
9240
- secondPayDate: "2023-01-15",
9241
- firstPeriodEndDate: "2023-01-15",
9242
- autopilotEnabled: true,
9353
+ await client.api.thera.payroll.expenseApi.updateW2Expense("string", "string", {
9354
+ id: "string",
9355
+ incurredDateTime: "string",
9356
+ type: "US_PAYROLL",
9357
+ categoryType: "string",
9358
+ description: "string",
9359
+ amount: 1000000,
9360
+ attachmentId: "string",
9243
9361
  });
9244
9362
  ```
9245
9363
 
@@ -9264,7 +9382,7 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
9264
9382
  <dl>
9265
9383
  <dd>
9266
9384
 
9267
- **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
9385
+ **expenseId:** `string`
9268
9386
 
9269
9387
  </dd>
9270
9388
  </dl>
@@ -9272,34 +9390,29 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
9272
9390
  <dl>
9273
9391
  <dd>
9274
9392
 
9275
- **requestOptions:** `PayscheduleApi.RequestOptions`
9276
-
9277
- </dd>
9278
- </dl>
9279
- </dd>
9280
- </dl>
9393
+ **request:** `TheraApi.UpdateExpenseRequest`
9281
9394
 
9282
9395
  </dd>
9283
9396
  </dl>
9284
- </details>
9285
-
9286
- <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>
9287
- <dl>
9288
- <dd>
9289
-
9290
- #### 📝 Description
9291
9397
 
9292
9398
  <dl>
9293
9399
  <dd>
9294
9400
 
9295
- <dl>
9296
- <dd>
9401
+ **requestOptions:** `ExpenseApi.RequestOptions`
9297
9402
 
9298
9403
  </dd>
9299
9404
  </dl>
9300
9405
  </dd>
9301
9406
  </dl>
9302
9407
 
9408
+ </dd>
9409
+ </dl>
9410
+ </details>
9411
+
9412
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">approveW2Expense</a>(companyId, expenseId) -> TheraApi.Expense</code></summary>
9413
+ <dl>
9414
+ <dd>
9415
+
9303
9416
  #### 🔌 Usage
9304
9417
 
9305
9418
  <dl>
@@ -9309,7 +9422,7 @@ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
9309
9422
  <dd>
9310
9423
 
9311
9424
  ```typescript
9312
- await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
9425
+ await client.api.thera.payroll.expenseApi.approveW2Expense("string", "string");
9313
9426
  ```
9314
9427
 
9315
9428
  </dd>
@@ -9333,7 +9446,7 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
9333
9446
  <dl>
9334
9447
  <dd>
9335
9448
 
9336
- **checkPayScheduleId:** `string`
9449
+ **expenseId:** `string`
9337
9450
 
9338
9451
  </dd>
9339
9452
  </dl>
@@ -9341,7 +9454,7 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
9341
9454
  <dl>
9342
9455
  <dd>
9343
9456
 
9344
- **requestOptions:** `PayscheduleApi.RequestOptions`
9457
+ **requestOptions:** `ExpenseApi.RequestOptions`
9345
9458
 
9346
9459
  </dd>
9347
9460
  </dl>
@@ -9352,11 +9465,11 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
9352
9465
  </dl>
9353
9466
  </details>
9354
9467
 
9355
- <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>
9468
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">bulkApproveW2Expense</a>(companyId, { ...params }) -> TheraApi.Expense[]</code></summary>
9356
9469
  <dl>
9357
9470
  <dd>
9358
9471
 
9359
- #### 📝 Description
9472
+ #### 🔌 Usage
9360
9473
 
9361
9474
  <dl>
9362
9475
  <dd>
@@ -9364,12 +9477,18 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
9364
9477
  <dl>
9365
9478
  <dd>
9366
9479
 
9480
+ ```typescript
9481
+ await client.api.thera.payroll.expenseApi.bulkApproveW2Expense("string", {
9482
+ expenseIds: ["string"],
9483
+ });
9484
+ ```
9485
+
9367
9486
  </dd>
9368
9487
  </dl>
9369
9488
  </dd>
9370
9489
  </dl>
9371
9490
 
9372
- #### 🔌 Usage
9491
+ #### ⚙️ Parameters
9373
9492
 
9374
9493
  <dl>
9375
9494
  <dd>
@@ -9377,24 +9496,15 @@ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string
9377
9496
  <dl>
9378
9497
  <dd>
9379
9498
 
9380
- ```typescript
9381
- await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9382
- ```
9499
+ **companyId:** `string`
9383
9500
 
9384
9501
  </dd>
9385
9502
  </dl>
9386
- </dd>
9387
- </dl>
9388
-
9389
- #### ⚙️ Parameters
9390
-
9391
- <dl>
9392
- <dd>
9393
9503
 
9394
9504
  <dl>
9395
9505
  <dd>
9396
9506
 
9397
- **companyId:** `string`
9507
+ **request:** `TheraApi.api.thera.payroll.BulkApproveW2ExpenseRequest`
9398
9508
 
9399
9509
  </dd>
9400
9510
  </dl>
@@ -9402,7 +9512,7 @@ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9402
9512
  <dl>
9403
9513
  <dd>
9404
9514
 
9405
- **requestOptions:** `PayscheduleApi.RequestOptions`
9515
+ **requestOptions:** `ExpenseApi.RequestOptions`
9406
9516
 
9407
9517
  </dd>
9408
9518
  </dl>
@@ -9413,25 +9523,10 @@ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
9413
9523
  </dl>
9414
9524
  </details>
9415
9525
 
9416
- <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>
9417
- <dl>
9418
- <dd>
9419
-
9420
- #### 📝 Description
9421
-
9526
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">bulkDenyW2Expense</a>(companyId, { ...params }) -> TheraApi.Expense[]</code></summary>
9422
9527
  <dl>
9423
9528
  <dd>
9424
9529
 
9425
- <dl>
9426
- <dd>
9427
-
9428
- 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
9429
-
9430
- </dd>
9431
- </dl>
9432
- </dd>
9433
- </dl>
9434
-
9435
9530
  #### 🔌 Usage
9436
9531
 
9437
9532
  <dl>
@@ -9441,7 +9536,9 @@ Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete
9441
9536
  <dd>
9442
9537
 
9443
9538
  ```typescript
9444
- await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
9539
+ await client.api.thera.payroll.expenseApi.bulkDenyW2Expense("string", {
9540
+ expenseIds: ["string"],
9541
+ });
9445
9542
  ```
9446
9543
 
9447
9544
  </dd>
@@ -9465,7 +9562,7 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
9465
9562
  <dl>
9466
9563
  <dd>
9467
9564
 
9468
- **checkPayScheduleId:** `string`
9565
+ **request:** `TheraApi.api.thera.payroll.BulkDenyW2ExpenseRequest`
9469
9566
 
9470
9567
  </dd>
9471
9568
  </dl>
@@ -9473,7 +9570,7 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
9473
9570
  <dl>
9474
9571
  <dd>
9475
9572
 
9476
- **requestOptions:** `PayscheduleApi.RequestOptions`
9573
+ **requestOptions:** `ExpenseApi.RequestOptions`
9477
9574
 
9478
9575
  </dd>
9479
9576
  </dl>
@@ -9484,11 +9581,735 @@ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "str
9484
9581
  </dl>
9485
9582
  </details>
9486
9583
 
9487
- <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>
9584
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">denyW2Expense</a>(companyId, expenseId) -> TheraApi.Expense</code></summary>
9488
9585
  <dl>
9489
9586
  <dd>
9490
9587
 
9491
- #### 📝 Description
9588
+ #### 🔌 Usage
9589
+
9590
+ <dl>
9591
+ <dd>
9592
+
9593
+ <dl>
9594
+ <dd>
9595
+
9596
+ ```typescript
9597
+ await client.api.thera.payroll.expenseApi.denyW2Expense("string", "string");
9598
+ ```
9599
+
9600
+ </dd>
9601
+ </dl>
9602
+ </dd>
9603
+ </dl>
9604
+
9605
+ #### ⚙️ Parameters
9606
+
9607
+ <dl>
9608
+ <dd>
9609
+
9610
+ <dl>
9611
+ <dd>
9612
+
9613
+ **companyId:** `string`
9614
+
9615
+ </dd>
9616
+ </dl>
9617
+
9618
+ <dl>
9619
+ <dd>
9620
+
9621
+ **expenseId:** `string`
9622
+
9623
+ </dd>
9624
+ </dl>
9625
+
9626
+ <dl>
9627
+ <dd>
9628
+
9629
+ **requestOptions:** `ExpenseApi.RequestOptions`
9630
+
9631
+ </dd>
9632
+ </dl>
9633
+ </dd>
9634
+ </dl>
9635
+
9636
+ </dd>
9637
+ </dl>
9638
+ </details>
9639
+
9640
+ <details><summary><code>client.api.thera.payroll.expenseApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.ts">removeW2ExpenseFromPayroll</a>(companyId, expenseId) -> void</code></summary>
9641
+ <dl>
9642
+ <dd>
9643
+
9644
+ #### 🔌 Usage
9645
+
9646
+ <dl>
9647
+ <dd>
9648
+
9649
+ <dl>
9650
+ <dd>
9651
+
9652
+ ```typescript
9653
+ await client.api.thera.payroll.expenseApi.removeW2ExpenseFromPayroll("string", "string");
9654
+ ```
9655
+
9656
+ </dd>
9657
+ </dl>
9658
+ </dd>
9659
+ </dl>
9660
+
9661
+ #### ⚙️ Parameters
9662
+
9663
+ <dl>
9664
+ <dd>
9665
+
9666
+ <dl>
9667
+ <dd>
9668
+
9669
+ **companyId:** `string`
9670
+
9671
+ </dd>
9672
+ </dl>
9673
+
9674
+ <dl>
9675
+ <dd>
9676
+
9677
+ **expenseId:** `string`
9678
+
9679
+ </dd>
9680
+ </dl>
9681
+
9682
+ <dl>
9683
+ <dd>
9684
+
9685
+ **requestOptions:** `ExpenseApi.RequestOptions`
9686
+
9687
+ </dd>
9688
+ </dl>
9689
+ </dd>
9690
+ </dl>
9691
+
9692
+ </dd>
9693
+ </dl>
9694
+ </details>
9695
+
9696
+ ## Offcycle API
9697
+
9698
+ <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
9699
+ <dl>
9700
+ <dd>
9701
+
9702
+ #### 📝 Description
9703
+
9704
+ <dl>
9705
+ <dd>
9706
+
9707
+ <dl>
9708
+ <dd>
9709
+
9710
+ </dd>
9711
+ </dl>
9712
+ </dd>
9713
+ </dl>
9714
+
9715
+ #### 🔌 Usage
9716
+
9717
+ <dl>
9718
+ <dd>
9719
+
9720
+ <dl>
9721
+ <dd>
9722
+
9723
+ ```typescript
9724
+ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
9725
+ ```
9726
+
9727
+ </dd>
9728
+ </dl>
9729
+ </dd>
9730
+ </dl>
9731
+
9732
+ #### ⚙️ Parameters
9733
+
9734
+ <dl>
9735
+ <dd>
9736
+
9737
+ <dl>
9738
+ <dd>
9739
+
9740
+ **companyId:** `string`
9741
+
9742
+ </dd>
9743
+ </dl>
9744
+
9745
+ <dl>
9746
+ <dd>
9747
+
9748
+ **requestOptions:** `OffcycleApi.RequestOptions`
9749
+
9750
+ </dd>
9751
+ </dl>
9752
+ </dd>
9753
+ </dl>
9754
+
9755
+ </dd>
9756
+ </dl>
9757
+ </details>
9758
+
9759
+ ## Oncycle API
9760
+
9761
+ <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>
9762
+ <dl>
9763
+ <dd>
9764
+
9765
+ #### 📝 Description
9766
+
9767
+ <dl>
9768
+ <dd>
9769
+
9770
+ <dl>
9771
+ <dd>
9772
+
9773
+ </dd>
9774
+ </dl>
9775
+ </dd>
9776
+ </dl>
9777
+
9778
+ #### 🔌 Usage
9779
+
9780
+ <dl>
9781
+ <dd>
9782
+
9783
+ <dl>
9784
+ <dd>
9785
+
9786
+ ```typescript
9787
+ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
9788
+ ```
9789
+
9790
+ </dd>
9791
+ </dl>
9792
+ </dd>
9793
+ </dl>
9794
+
9795
+ #### ⚙️ Parameters
9796
+
9797
+ <dl>
9798
+ <dd>
9799
+
9800
+ <dl>
9801
+ <dd>
9802
+
9803
+ **companyId:** `string`
9804
+
9805
+ </dd>
9806
+ </dl>
9807
+
9808
+ <dl>
9809
+ <dd>
9810
+
9811
+ **checkPayScheduleId:** `string`
9812
+
9813
+ </dd>
9814
+ </dl>
9815
+
9816
+ <dl>
9817
+ <dd>
9818
+
9819
+ **requestOptions:** `OncycleApi.RequestOptions`
9820
+
9821
+ </dd>
9822
+ </dl>
9823
+ </dd>
9824
+ </dl>
9825
+
9826
+ </dd>
9827
+ </dl>
9828
+ </details>
9829
+
9830
+ <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>
9831
+ <dl>
9832
+ <dd>
9833
+
9834
+ #### 📝 Description
9835
+
9836
+ <dl>
9837
+ <dd>
9838
+
9839
+ <dl>
9840
+ <dd>
9841
+
9842
+ </dd>
9843
+ </dl>
9844
+ </dd>
9845
+ </dl>
9846
+
9847
+ #### 🔌 Usage
9848
+
9849
+ <dl>
9850
+ <dd>
9851
+
9852
+ <dl>
9853
+ <dd>
9854
+
9855
+ ```typescript
9856
+ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
9857
+ ```
9858
+
9859
+ </dd>
9860
+ </dl>
9861
+ </dd>
9862
+ </dl>
9863
+
9864
+ #### ⚙️ Parameters
9865
+
9866
+ <dl>
9867
+ <dd>
9868
+
9869
+ <dl>
9870
+ <dd>
9871
+
9872
+ **companyId:** `string`
9873
+
9874
+ </dd>
9875
+ </dl>
9876
+
9877
+ <dl>
9878
+ <dd>
9879
+
9880
+ **requestOptions:** `OncycleApi.RequestOptions`
9881
+
9882
+ </dd>
9883
+ </dl>
9884
+ </dd>
9885
+ </dl>
9886
+
9887
+ </dd>
9888
+ </dl>
9889
+ </details>
9890
+
9891
+ <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>
9892
+ <dl>
9893
+ <dd>
9894
+
9895
+ #### 📝 Description
9896
+
9897
+ <dl>
9898
+ <dd>
9899
+
9900
+ <dl>
9901
+ <dd>
9902
+
9903
+ </dd>
9904
+ </dl>
9905
+ </dd>
9906
+ </dl>
9907
+
9908
+ #### 🔌 Usage
9909
+
9910
+ <dl>
9911
+ <dd>
9912
+
9913
+ <dl>
9914
+ <dd>
9915
+
9916
+ ```typescript
9917
+ await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
9918
+ ```
9919
+
9920
+ </dd>
9921
+ </dl>
9922
+ </dd>
9923
+ </dl>
9924
+
9925
+ #### ⚙️ Parameters
9926
+
9927
+ <dl>
9928
+ <dd>
9929
+
9930
+ <dl>
9931
+ <dd>
9932
+
9933
+ **companyId:** `string`
9934
+
9935
+ </dd>
9936
+ </dl>
9937
+
9938
+ <dl>
9939
+ <dd>
9940
+
9941
+ **checkPayrollId:** `string`
9942
+
9943
+ </dd>
9944
+ </dl>
9945
+
9946
+ <dl>
9947
+ <dd>
9948
+
9949
+ **requestOptions:** `OncycleApi.RequestOptions`
9950
+
9951
+ </dd>
9952
+ </dl>
9953
+ </dd>
9954
+ </dl>
9955
+
9956
+ </dd>
9957
+ </dl>
9958
+ </details>
9959
+
9960
+ <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>
9961
+ <dl>
9962
+ <dd>
9963
+
9964
+ #### 📝 Description
9965
+
9966
+ <dl>
9967
+ <dd>
9968
+
9969
+ <dl>
9970
+ <dd>
9971
+
9972
+ </dd>
9973
+ </dl>
9974
+ </dd>
9975
+ </dl>
9976
+
9977
+ #### 🔌 Usage
9978
+
9979
+ <dl>
9980
+ <dd>
9981
+
9982
+ <dl>
9983
+ <dd>
9984
+
9985
+ ```typescript
9986
+ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
9987
+ ```
9988
+
9989
+ </dd>
9990
+ </dl>
9991
+ </dd>
9992
+ </dl>
9993
+
9994
+ #### ⚙️ Parameters
9995
+
9996
+ <dl>
9997
+ <dd>
9998
+
9999
+ <dl>
10000
+ <dd>
10001
+
10002
+ **companyId:** `string`
10003
+
10004
+ </dd>
10005
+ </dl>
10006
+
10007
+ <dl>
10008
+ <dd>
10009
+
10010
+ **checkPayScheduleId:** `string`
10011
+
10012
+ </dd>
10013
+ </dl>
10014
+
10015
+ <dl>
10016
+ <dd>
10017
+
10018
+ **requestOptions:** `OncycleApi.RequestOptions`
10019
+
10020
+ </dd>
10021
+ </dl>
10022
+ </dd>
10023
+ </dl>
10024
+
10025
+ </dd>
10026
+ </dl>
10027
+ </details>
10028
+
10029
+ ## W2 Pay Schedule APIs
10030
+
10031
+ <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>
10032
+ <dl>
10033
+ <dd>
10034
+
10035
+ #### 📝 Description
10036
+
10037
+ <dl>
10038
+ <dd>
10039
+
10040
+ <dl>
10041
+ <dd>
10042
+
10043
+ </dd>
10044
+ </dl>
10045
+ </dd>
10046
+ </dl>
10047
+
10048
+ #### 🔌 Usage
10049
+
10050
+ <dl>
10051
+ <dd>
10052
+
10053
+ <dl>
10054
+ <dd>
10055
+
10056
+ ```typescript
10057
+ await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
10058
+ name: "string",
10059
+ payFrequency: "weekly",
10060
+ firstPayDate: "2023-01-15",
10061
+ secondPayDate: "2023-01-15",
10062
+ firstPeriodEndDate: "2023-01-15",
10063
+ autopilotEnabled: true,
10064
+ });
10065
+ ```
10066
+
10067
+ </dd>
10068
+ </dl>
10069
+ </dd>
10070
+ </dl>
10071
+
10072
+ #### ⚙️ Parameters
10073
+
10074
+ <dl>
10075
+ <dd>
10076
+
10077
+ <dl>
10078
+ <dd>
10079
+
10080
+ **companyId:** `string`
10081
+
10082
+ </dd>
10083
+ </dl>
10084
+
10085
+ <dl>
10086
+ <dd>
10087
+
10088
+ **request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
10089
+
10090
+ </dd>
10091
+ </dl>
10092
+
10093
+ <dl>
10094
+ <dd>
10095
+
10096
+ **requestOptions:** `PayscheduleApi.RequestOptions`
10097
+
10098
+ </dd>
10099
+ </dl>
10100
+ </dd>
10101
+ </dl>
10102
+
10103
+ </dd>
10104
+ </dl>
10105
+ </details>
10106
+
10107
+ <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>
10108
+ <dl>
10109
+ <dd>
10110
+
10111
+ #### 📝 Description
10112
+
10113
+ <dl>
10114
+ <dd>
10115
+
10116
+ <dl>
10117
+ <dd>
10118
+
10119
+ </dd>
10120
+ </dl>
10121
+ </dd>
10122
+ </dl>
10123
+
10124
+ #### 🔌 Usage
10125
+
10126
+ <dl>
10127
+ <dd>
10128
+
10129
+ <dl>
10130
+ <dd>
10131
+
10132
+ ```typescript
10133
+ await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
10134
+ ```
10135
+
10136
+ </dd>
10137
+ </dl>
10138
+ </dd>
10139
+ </dl>
10140
+
10141
+ #### ⚙️ Parameters
10142
+
10143
+ <dl>
10144
+ <dd>
10145
+
10146
+ <dl>
10147
+ <dd>
10148
+
10149
+ **companyId:** `string`
10150
+
10151
+ </dd>
10152
+ </dl>
10153
+
10154
+ <dl>
10155
+ <dd>
10156
+
10157
+ **checkPayScheduleId:** `string`
10158
+
10159
+ </dd>
10160
+ </dl>
10161
+
10162
+ <dl>
10163
+ <dd>
10164
+
10165
+ **requestOptions:** `PayscheduleApi.RequestOptions`
10166
+
10167
+ </dd>
10168
+ </dl>
10169
+ </dd>
10170
+ </dl>
10171
+
10172
+ </dd>
10173
+ </dl>
10174
+ </details>
10175
+
10176
+ <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>
10177
+ <dl>
10178
+ <dd>
10179
+
10180
+ #### 📝 Description
10181
+
10182
+ <dl>
10183
+ <dd>
10184
+
10185
+ <dl>
10186
+ <dd>
10187
+
10188
+ </dd>
10189
+ </dl>
10190
+ </dd>
10191
+ </dl>
10192
+
10193
+ #### 🔌 Usage
10194
+
10195
+ <dl>
10196
+ <dd>
10197
+
10198
+ <dl>
10199
+ <dd>
10200
+
10201
+ ```typescript
10202
+ await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
10203
+ ```
10204
+
10205
+ </dd>
10206
+ </dl>
10207
+ </dd>
10208
+ </dl>
10209
+
10210
+ #### ⚙️ Parameters
10211
+
10212
+ <dl>
10213
+ <dd>
10214
+
10215
+ <dl>
10216
+ <dd>
10217
+
10218
+ **companyId:** `string`
10219
+
10220
+ </dd>
10221
+ </dl>
10222
+
10223
+ <dl>
10224
+ <dd>
10225
+
10226
+ **requestOptions:** `PayscheduleApi.RequestOptions`
10227
+
10228
+ </dd>
10229
+ </dl>
10230
+ </dd>
10231
+ </dl>
10232
+
10233
+ </dd>
10234
+ </dl>
10235
+ </details>
10236
+
10237
+ <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>
10238
+ <dl>
10239
+ <dd>
10240
+
10241
+ #### 📝 Description
10242
+
10243
+ <dl>
10244
+ <dd>
10245
+
10246
+ <dl>
10247
+ <dd>
10248
+
10249
+ 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
10250
+
10251
+ </dd>
10252
+ </dl>
10253
+ </dd>
10254
+ </dl>
10255
+
10256
+ #### 🔌 Usage
10257
+
10258
+ <dl>
10259
+ <dd>
10260
+
10261
+ <dl>
10262
+ <dd>
10263
+
10264
+ ```typescript
10265
+ await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
10266
+ ```
10267
+
10268
+ </dd>
10269
+ </dl>
10270
+ </dd>
10271
+ </dl>
10272
+
10273
+ #### ⚙️ Parameters
10274
+
10275
+ <dl>
10276
+ <dd>
10277
+
10278
+ <dl>
10279
+ <dd>
10280
+
10281
+ **companyId:** `string`
10282
+
10283
+ </dd>
10284
+ </dl>
10285
+
10286
+ <dl>
10287
+ <dd>
10288
+
10289
+ **checkPayScheduleId:** `string`
10290
+
10291
+ </dd>
10292
+ </dl>
10293
+
10294
+ <dl>
10295
+ <dd>
10296
+
10297
+ **requestOptions:** `PayscheduleApi.RequestOptions`
10298
+
10299
+ </dd>
10300
+ </dl>
10301
+ </dd>
10302
+ </dl>
10303
+
10304
+ </dd>
10305
+ </dl>
10306
+ </details>
10307
+
10308
+ <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>
10309
+ <dl>
10310
+ <dd>
10311
+
10312
+ #### 📝 Description
9492
10313
 
9493
10314
  <dl>
9494
10315
  <dd>
@@ -10007,6 +10828,29 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
10007
10828
  ["EMPLOYEE"]: true,
10008
10829
  },
10009
10830
  addPolicyFor: new Set(["EMPLOYEE"]),
10831
+ holidays: [
10832
+ {
10833
+ id: "string",
10834
+ name: "string",
10835
+ type: "FEDERAL",
10836
+ enabled: true,
10837
+ dateRule: {
10838
+ key: "value",
10839
+ },
10840
+ startDate: {
10841
+ key: "value",
10842
+ },
10843
+ endDate: {
10844
+ key: "value",
10845
+ },
10846
+ createdBy: {
10847
+ key: "value",
10848
+ },
10849
+ createdAt: {
10850
+ key: "value",
10851
+ },
10852
+ },
10853
+ ],
10010
10854
  });
10011
10855
  ```
10012
10856
 
@@ -10166,6 +11010,29 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
10166
11010
  ["EMPLOYEE"]: true,
10167
11011
  },
10168
11012
  addPolicyFor: new Set(["EMPLOYEE"]),
11013
+ holidays: [
11014
+ {
11015
+ id: "string",
11016
+ name: "string",
11017
+ type: "FEDERAL",
11018
+ enabled: true,
11019
+ dateRule: {
11020
+ key: "value",
11021
+ },
11022
+ startDate: {
11023
+ key: "value",
11024
+ },
11025
+ endDate: {
11026
+ key: "value",
11027
+ },
11028
+ createdBy: {
11029
+ key: "value",
11030
+ },
11031
+ createdAt: {
11032
+ key: "value",
11033
+ },
11034
+ },
11035
+ ],
10169
11036
  });
10170
11037
  ```
10171
11038
 
@@ -10865,6 +11732,73 @@ await client.api.thera.timeoff.timeoffApi.updatePtoForContractor("string", "stri
10865
11732
  </dl>
10866
11733
  </details>
10867
11734
 
11735
+ <details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getHolidayDatesByUserId</a>(companyId, userId, { ...params }) -> TheraApi.GetHolidayDatesByUserIdResponse</code></summary>
11736
+ <dl>
11737
+ <dd>
11738
+
11739
+ #### 🔌 Usage
11740
+
11741
+ <dl>
11742
+ <dd>
11743
+
11744
+ <dl>
11745
+ <dd>
11746
+
11747
+ ```typescript
11748
+ await client.api.thera.timeoff.timeoffApi.getHolidayDatesByUserId("string", "string", {
11749
+ startYear: 1,
11750
+ endYear: 1,
11751
+ });
11752
+ ```
11753
+
11754
+ </dd>
11755
+ </dl>
11756
+ </dd>
11757
+ </dl>
11758
+
11759
+ #### ⚙️ Parameters
11760
+
11761
+ <dl>
11762
+ <dd>
11763
+
11764
+ <dl>
11765
+ <dd>
11766
+
11767
+ **companyId:** `string`
11768
+
11769
+ </dd>
11770
+ </dl>
11771
+
11772
+ <dl>
11773
+ <dd>
11774
+
11775
+ **userId:** `string`
11776
+
11777
+ </dd>
11778
+ </dl>
11779
+
11780
+ <dl>
11781
+ <dd>
11782
+
11783
+ **request:** `TheraApi.api.thera.timeoff.GetHolidayDatesByUserIdRequest`
11784
+
11785
+ </dd>
11786
+ </dl>
11787
+
11788
+ <dl>
11789
+ <dd>
11790
+
11791
+ **requestOptions:** `TimeoffApi.RequestOptions`
11792
+
11793
+ </dd>
11794
+ </dl>
11795
+ </dd>
11796
+ </dl>
11797
+
11798
+ </dd>
11799
+ </dl>
11800
+ </details>
11801
+
10868
11802
  ## Time Tracking Management
10869
11803
 
10870
11804
  <details><summary><code>client.api.thera.timetracking.timetrackingApi.<a href="/src/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.ts">createTimeEntry</a>(companyId, userId, { ...params }) -> TheraApi.TimeTrackingEntry</code></summary>
@@ -11816,6 +12750,7 @@ await client.api.thera.tp.tpApi.processTreasuryPrimePayment("string", {
11816
12750
  secCode: "string",
11817
12751
  service: "string",
11818
12752
  revenueAmount: "string",
12753
+ cashDeposit: true,
11819
12754
  });
11820
12755
  ```
11821
12756