@thera-hr/api-sdk 0.0.1-prerelease3182-dev-3 → 0.0.1-prerelease3182-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
@@ -3,12 +3,12 @@ export * from "./GetIndustryCodesResponse";
3
3
  export * from "./IndustryCodes";
4
4
  export * from "./SubmitCompanyBeneficiariesResponse";
5
5
  export * from "./ProcessFundsTransfer";
6
+ export * from "./WithdrawalTheraCash";
7
+ export * from "./WithdrawalAch";
8
+ export * from "./WithdrawalWire";
9
+ export * from "./WithdrawalWireAddress";
6
10
  export * from "./CreateCounterPartyForBankingRequest";
7
11
  export * from "./TransferFundsToOmnibusAccount";
8
12
  export * from "./TpTransactionHistory";
9
13
  export * from "./ExternalTransferFund";
10
14
  export * from "./FboType";
11
- export * from "./WithdrawalTheraCash";
12
- export * from "./WithdrawalAch";
13
- export * from "./WithdrawalWire";
14
- export * from "./WithdrawalWireAddress";
@@ -19,12 +19,12 @@ __exportStar(require("./GetIndustryCodesResponse"), exports);
19
19
  __exportStar(require("./IndustryCodes"), exports);
20
20
  __exportStar(require("./SubmitCompanyBeneficiariesResponse"), exports);
21
21
  __exportStar(require("./ProcessFundsTransfer"), exports);
22
+ __exportStar(require("./WithdrawalTheraCash"), exports);
23
+ __exportStar(require("./WithdrawalAch"), exports);
24
+ __exportStar(require("./WithdrawalWire"), exports);
25
+ __exportStar(require("./WithdrawalWireAddress"), exports);
22
26
  __exportStar(require("./CreateCounterPartyForBankingRequest"), exports);
23
27
  __exportStar(require("./TransferFundsToOmnibusAccount"), exports);
24
28
  __exportStar(require("./TpTransactionHistory"), exports);
25
29
  __exportStar(require("./ExternalTransferFund"), exports);
26
30
  __exportStar(require("./FboType"), exports);
27
- __exportStar(require("./WithdrawalTheraCash"), exports);
28
- __exportStar(require("./WithdrawalAch"), exports);
29
- __exportStar(require("./WithdrawalWire"), exports);
30
- __exportStar(require("./WithdrawalWireAddress"), exports);
@@ -78,7 +78,7 @@ class UserApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
@@ -139,7 +139,7 @@ class UserApi {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user`),
141
141
  method: "GET",
142
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -197,7 +197,7 @@ class UserApi {
197
197
  const _response = yield core.fetcher({
198
198
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "user"),
199
199
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  queryParameters: _queryParams,
203
203
  requestType: "json",
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AssociateUsersToHolidayPolicyResponse {
5
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface CompanyHolidaysResponse {
6
+ year: number;
7
+ holidays: TheraApi.db.HolidayDate[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface DeleteCustomHolidayResponse {
5
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface Holiday {
6
+ id: string;
7
+ name: string;
8
+ type: TheraApi.db.HolidayType;
9
+ enabled: boolean;
10
+ dateRule?: string;
11
+ startDate?: string;
12
+ endDate?: string;
13
+ createdBy?: string;
14
+ createdAt?: number;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface HolidayDate {
5
+ id: string;
6
+ name: string;
7
+ date: string;
8
+ enabled: boolean;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface HolidaySettings {
6
+ holidays: TheraApi.db.Holiday[];
7
+ associatedUserIdsToHolidayPolicy: Set<string>;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type HolidayType = "FEDERAL" | "CUSTOM";
5
+ export declare const HolidayType: {
6
+ readonly Federal: "FEDERAL";
7
+ readonly Custom: "CUSTOM";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HolidayType = void 0;
7
+ exports.HolidayType = {
8
+ Federal: "FEDERAL",
9
+ Custom: "CUSTOM",
10
+ };
@@ -18,4 +18,5 @@ export interface TimeOffPolicy {
18
18
  lastUpdationTimestamp: number;
19
19
  timeOffPolicyAddedFor: Set<TheraApi.model.thera.EmploymentType>;
20
20
  deletionDetails?: TheraApi.db.TimeOffTerminationDetails;
21
+ holidayDefinitions?: TheraApi.db.Holiday[];
21
22
  }
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TimeOffType = "UNPAID" | "PAID";
4
+ export type TimeOffType = "UNPAID" | "PAID" | "US_HOLIDAY";
5
5
  export declare const TimeOffType: {
6
6
  readonly Unpaid: "UNPAID";
7
7
  readonly Paid: "PAID";
8
+ readonly UsHoliday: "US_HOLIDAY";
8
9
  };
@@ -7,4 +7,5 @@ exports.TimeOffType = void 0;
7
7
  exports.TimeOffType = {
8
8
  Unpaid: "UNPAID",
9
9
  Paid: "PAID",
10
+ UsHoliday: "US_HOLIDAY",
10
11
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface UserHolidaysResponse {
6
+ userId: string;
7
+ startYear: number;
8
+ endYear: number;
9
+ hasAccess: boolean;
10
+ holidays: TheraApi.db.HolidayDate[];
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,7 +19,6 @@ export interface W2Payroll {
19
19
  /** Check Pay Schedule IDs by Thera User ID */
20
20
  checkPayScheduleIdByUserId: Record<string, Set<string>>;
21
21
  lastSubscriptionPayDate: string;
22
- autopilotOn: boolean;
23
22
  activePaymentMethodId?: string;
24
23
  /**
25
24
  * This has been added to be able to know when a company transitions into a blocking state. We need to know the
@@ -45,3 +45,11 @@ export * from "./CompanyBankingDetails";
45
45
  export * from "./CompanyLegalStructure";
46
46
  export * from "./IncorporationDetails";
47
47
  export * from "./IncorporationDocument";
48
+ export * from "./HolidaySettings";
49
+ export * from "./Holiday";
50
+ export * from "./HolidayType";
51
+ export * from "./CompanyHolidaysResponse";
52
+ export * from "./HolidayDate";
53
+ export * from "./UserHolidaysResponse";
54
+ export * from "./AssociateUsersToHolidayPolicyResponse";
55
+ export * from "./DeleteCustomHolidayResponse";
@@ -61,3 +61,11 @@ __exportStar(require("./CompanyBankingDetails"), exports);
61
61
  __exportStar(require("./CompanyLegalStructure"), exports);
62
62
  __exportStar(require("./IncorporationDetails"), exports);
63
63
  __exportStar(require("./IncorporationDocument"), exports);
64
+ __exportStar(require("./HolidaySettings"), exports);
65
+ __exportStar(require("./Holiday"), exports);
66
+ __exportStar(require("./HolidayType"), exports);
67
+ __exportStar(require("./CompanyHolidaysResponse"), exports);
68
+ __exportStar(require("./HolidayDate"), exports);
69
+ __exportStar(require("./UserHolidaysResponse"), exports);
70
+ __exportStar(require("./AssociateUsersToHolidayPolicyResponse"), exports);
71
+ __exportStar(require("./DeleteCustomHolidayResponse"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface Expense {
6
+ id: string;
7
+ contractId: string;
8
+ incurredDateTime: string;
9
+ /** The type of expense used internally to differentiate between different expense types */
10
+ type: TheraApi.db.ExpenseType;
11
+ /** The type we exposed to user to define */
12
+ categoryType: string;
13
+ description: string;
14
+ amount: number;
15
+ createdDateTime: string;
16
+ createdBy: string;
17
+ status: TheraApi.db.ExpenseStatus;
18
+ paidDateTime?: string;
19
+ checkPayrollId?: string;
20
+ approvedByUserName?: string;
21
+ approvalDateTime?: string;
22
+ /** S3 key of the attachment */
23
+ attachmentId?: string;
24
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ExpenseStatus = "REVIEW" | "APPROVED" | "DENIED" | "PENDING" | "PROCESSING" | "PAID" | "PAYMENT_FAILED";
5
+ export declare const ExpenseStatus: {
6
+ readonly Review: "REVIEW";
7
+ readonly Approved: "APPROVED";
8
+ readonly Denied: "DENIED";
9
+ readonly Pending: "PENDING";
10
+ readonly Processing: "PROCESSING";
11
+ readonly Paid: "PAID";
12
+ readonly PaymentFailed: "PAYMENT_FAILED";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ExpenseStatus = void 0;
7
+ exports.ExpenseStatus = {
8
+ Review: "REVIEW",
9
+ Approved: "APPROVED",
10
+ Denied: "DENIED",
11
+ Pending: "PENDING",
12
+ Processing: "PROCESSING",
13
+ Paid: "PAID",
14
+ PaymentFailed: "PAYMENT_FAILED",
15
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ExpenseType = "US_PAYROLL";
5
+ export declare const ExpenseType: {
6
+ readonly UsPayroll: "US_PAYROLL";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ExpenseType = void 0;
7
+ exports.ExpenseType = {
8
+ UsPayroll: "US_PAYROLL",
9
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./ExpenseType";
2
+ export * from "./ExpenseStatus";
3
+ export * from "./Expense";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ExpenseType"), exports);
18
+ __exportStar(require("./ExpenseStatus"), exports);
19
+ __exportStar(require("./Expense"), exports);
@@ -6,6 +6,8 @@ export * as document from "./document";
6
6
  export * from "./document/types";
7
7
  export * as employment from "./employment";
8
8
  export * from "./employment/types";
9
+ export * as expense from "./expense";
10
+ export * from "./expense/types";
9
11
  export * as generic from "./generic";
10
12
  export * from "./generic/types";
11
13
  export * as invoice from "./invoice";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.employment = exports.document = exports.contract = exports.company = void 0;
39
+ exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
40
40
  exports.company = __importStar(require("./company"));
41
41
  __exportStar(require("./company/types"), exports);
42
42
  exports.contract = __importStar(require("./contract"));
@@ -45,6 +45,8 @@ exports.document = __importStar(require("./document"));
45
45
  __exportStar(require("./document/types"), exports);
46
46
  exports.employment = __importStar(require("./employment"));
47
47
  __exportStar(require("./employment/types"), exports);
48
+ exports.expense = __importStar(require("./expense"));
49
+ __exportStar(require("./expense/types"), exports);
48
50
  exports.generic = __importStar(require("./generic"));
49
51
  __exportStar(require("./generic/types"), exports);
50
52
  exports.invoice = __importStar(require("./invoice"));
@@ -108,7 +108,7 @@ class AipriseWebhookApi {
108
108
  const _response = yield core.fetcher({
109
109
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/aiprise/webhook/verification/callback"),
110
110
  method: "POST",
111
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
112
  contentType: "application/json",
113
113
  requestType: "json",
114
114
  body: serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -87,7 +87,7 @@ class Dev {
87
87
  const _response = yield core.fetcher({
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/dev/eor"),
89
89
  method: "POST",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  requestType: "json",
93
93
  body: serializers.api.dev.AddEorEmployeeRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -113,7 +113,7 @@ class ExternalApi {
113
113
  const _response = yield core.fetcher({
114
114
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/external/v2/contractor"),
115
115
  method: "POST",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  body: serializers.api.external.ExternalCreateContractorRequestV2.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class File_ {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document`),
76
76
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class File_ {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}`),
127
127
  method: "DELETE",
128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  body: serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -173,7 +173,7 @@ class File_ {
173
173
  const _response = yield core.fetcher({
174
174
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}/file-url`),
175
175
  method: "GET",
176
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
177
  contentType: "application/json",
178
178
  requestType: "json",
179
179
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -224,7 +224,7 @@ class File_ {
224
224
  const _response = yield core.fetcher({
225
225
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/eor/${encodeURIComponent(contractId)}/payslips/${encodeURIComponent(s3Key)}/fileUrl`),
226
226
  method: "GET",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -275,7 +275,7 @@ class File_ {
275
275
  const _response = yield core.fetcher({
276
276
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/companies/${encodeURIComponent(companyId)}/contracts/eor/pay-in/${encodeURIComponent(s3Key)}/file-url`),
277
277
  method: "GET",
278
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -77,7 +77,7 @@ class AccountingApi {
77
77
  const _response = yield core.fetcher({
78
78
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/settings`),
79
79
  method: "PUT",
80
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  body: serializers.api.thera.accounting.ModifyAccountingIntegrationSetting.jsonOrThrow(request, {
@@ -124,7 +124,7 @@ class AccountingApi {
124
124
  const _response = yield core.fetcher({
125
125
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/info`),
126
126
  method: "GET",
127
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -174,7 +174,7 @@ class AccountingApi {
174
174
  const _response = yield core.fetcher({
175
175
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/account-mapping`),
176
176
  method: "GET",
177
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  contentType: "application/json",
179
179
  requestType: "json",
180
180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -227,7 +227,7 @@ class AccountingApi {
227
227
  const _response = yield core.fetcher({
228
228
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/accounting/authorize`),
229
229
  method: "POST",
230
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
231
  contentType: "application/json",
232
232
  requestType: "json",
233
233
  body: serializers.api.thera.accounting.CompleteAccountingIntegrationAuth.jsonOrThrow(request, {
@@ -350,20 +350,20 @@ export declare class BankApi {
350
350
  /**
351
351
  * @param {string} userId
352
352
  * @param {string} companyId
353
- * @param {TheraApi.api.thera.bank.WorkerWithdrawalRequest} request
353
+ * @param {TheraApi.api.thera.bank.InitiateWorkerWithdrawalRequest} request
354
354
  * @param {BankApi.RequestOptions} requestOptions - Request-specific configuration.
355
355
  *
356
356
  * @example
357
357
  * await client.api.thera.bank.bankApi.workerWithdraw("string", "string", {
358
- * debitAmount: 1000000,
359
- * debitCurrency: "string",
360
- * creditAmount: 1000000,
361
- * creditCurrency: "string",
358
+ * amount: 1000000,
359
+ * currency: "string",
362
360
  * withdrawalMethodId: "string",
363
- * providerId: "string"
361
+ * debugSettings: {
362
+ * forceContractorsFxPassthrough: true
363
+ * }
364
364
  * })
365
365
  */
366
- workerWithdraw(userId: string, companyId: string, request: TheraApi.api.thera.bank.WorkerWithdrawalRequest, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.WorkerWithdrawalResponse>;
366
+ workerWithdraw(userId: string, companyId: string, request: TheraApi.api.thera.bank.InitiateWorkerWithdrawalRequest, requestOptions?: BankApi.RequestOptions): Promise<TheraApi.api.thera.bank.WorkerWithdrawalResponse>;
367
367
  /**
368
368
  * @param {string} userId
369
369
  * @param {string} companyId