@thera-hr/api-sdk 0.0.1-prerelease2885-dev-2 → 0.0.1-prerelease2885-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 (218) hide show
  1. package/api/resources/api/client/Client.d.ts +3 -0
  2. package/api/resources/api/client/Client.js +9 -4
  3. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  5. package/api/resources/api/resources/external/client/Client.d.ts +19 -0
  6. package/api/resources/api/resources/external/client/Client.js +17 -0
  7. package/api/resources/api/resources/external/client/index.d.ts +1 -0
  8. package/api/resources/api/resources/external/client/index.js +2 -0
  9. package/api/resources/api/resources/external/index.d.ts +2 -0
  10. package/api/resources/api/resources/external/index.js +18 -0
  11. package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
  12. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
  13. package/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
  14. package/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
  15. package/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
  16. package/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
  17. package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
  18. package/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
  19. package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  20. package/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  21. package/api/resources/api/resources/external/resources/index.d.ts +2 -0
  22. package/api/resources/api/resources/external/resources/index.js +41 -0
  23. package/api/resources/api/resources/index.d.ts +1 -0
  24. package/api/resources/api/resources/index.js +2 -1
  25. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  26. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  27. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  28. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  29. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  30. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  31. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  32. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  33. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  34. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  35. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  36. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  37. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  38. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  39. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  40. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  41. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -4
  42. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  43. package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  44. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  45. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  46. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  47. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  48. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  49. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  50. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  51. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  52. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  53. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  54. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  55. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  56. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  57. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  58. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  59. package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  60. package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  61. package/dist/api/resources/api/client/Client.d.ts +3 -0
  62. package/dist/api/resources/api/client/Client.js +9 -4
  63. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  64. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  65. package/dist/api/resources/api/resources/external/client/Client.d.ts +19 -0
  66. package/dist/api/resources/api/resources/external/client/Client.js +17 -0
  67. package/dist/api/resources/api/resources/external/client/index.d.ts +1 -0
  68. package/dist/api/resources/api/resources/external/client/index.js +2 -0
  69. package/dist/api/resources/api/resources/external/index.d.ts +2 -0
  70. package/dist/api/resources/api/resources/external/index.js +18 -0
  71. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
  72. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
  73. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
  74. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
  75. package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
  76. package/dist/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
  77. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
  78. package/dist/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
  79. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  80. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  81. package/dist/api/resources/api/resources/external/resources/index.d.ts +2 -0
  82. package/dist/api/resources/api/resources/external/resources/index.js +41 -0
  83. package/dist/api/resources/api/resources/index.d.ts +1 -0
  84. package/dist/api/resources/api/resources/index.js +2 -1
  85. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  86. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  89. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  90. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  91. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  92. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  93. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  94. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  95. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  97. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  98. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  100. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  101. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -4
  102. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  103. package/{api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  104. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  105. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  106. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  107. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  108. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  109. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  110. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  113. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  114. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  115. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  116. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  117. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  118. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  119. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  120. package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  121. package/dist/serialization/resources/api/resources/external/index.d.ts +1 -0
  122. package/dist/serialization/resources/api/resources/external/index.js +17 -0
  123. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  124. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  125. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  126. package/{serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
  127. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  128. package/dist/serialization/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  129. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  130. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  131. package/dist/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  132. package/dist/serialization/resources/api/resources/external/resources/index.js +41 -0
  133. package/dist/serialization/resources/api/resources/index.d.ts +1 -0
  134. package/dist/serialization/resources/api/resources/index.js +2 -1
  135. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  136. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  137. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  138. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  139. package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
  140. package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
  141. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  142. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  143. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  144. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  145. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  146. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  147. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  148. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  149. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  150. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +95 -83
  155. package/serialization/resources/api/resources/external/index.d.ts +1 -0
  156. package/serialization/resources/api/resources/external/index.js +17 -0
  157. package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  158. package/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  159. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  160. package/{dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
  161. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  162. package/serialization/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  163. package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  164. package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  165. package/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  166. package/serialization/resources/api/resources/external/resources/index.js +41 -0
  167. package/serialization/resources/api/resources/index.d.ts +1 -0
  168. package/serialization/resources/api/resources/index.js +2 -1
  169. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  170. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  171. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  172. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  173. package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
  174. package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
  175. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  176. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  177. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  178. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  179. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  180. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  181. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  182. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  183. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  184. package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  185. package/version.d.ts +1 -1
  186. package/version.js +1 -1
  187. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  188. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  189. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  190. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  191. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  192. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -5
  193. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js +0 -5
  194. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  195. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +0 -5
  196. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  197. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +0 -5
  198. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +0 -5
  199. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  200. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -5
  201. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  202. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
  203. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  204. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  205. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  206. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  207. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  208. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
  209. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  210. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  211. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  212. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  213. /package/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  214. /package/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  215. /package/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
  216. /package/{api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  217. /package/{api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  218. /package/{api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
@@ -71,7 +71,7 @@ class BridgeApi {
71
71
  const _response = yield core.fetcher({
72
72
  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)), "/bridge/customers/tos_links"),
73
73
  method: "POST",
74
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -171,7 +171,7 @@ class BridgeApi {
171
171
  const _response = yield core.fetcher({
172
172
  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)), "/bridge/customers"),
173
173
  method: "POST",
174
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  body: serializers.api.thera.bridge.CreateCustomer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -224,7 +224,7 @@ class BridgeApi {
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)), `/bridge/customers/${encodeURIComponent(userId)}/kyc-link`),
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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-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,
@@ -281,7 +281,7 @@ class BridgeApi {
281
281
  const _response = yield core.fetcher({
282
282
  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)), `/bridge/external-accounts/${encodeURIComponent(customerId)}/accounts`),
283
283
  method: "POST",
284
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.api.thera.bridge.ExternalAccount.jsonOrThrow(request, {
@@ -336,7 +336,7 @@ class BridgeApi {
336
336
  const _response = yield core.fetcher({
337
337
  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)), `/bridge/customers/${encodeURIComponent(customerId)}`),
338
338
  method: "GET",
339
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
339
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
340
  contentType: "application/json",
341
341
  requestType: "json",
342
342
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -387,7 +387,7 @@ class BridgeApi {
387
387
  const _response = yield core.fetcher({
388
388
  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)), "/bridge/customers"),
389
389
  method: "GET",
390
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class BridgeApi {
445
445
  const _response = yield core.fetcher({
446
446
  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)), "/bridge/payments/crypto"),
447
447
  method: "POST",
448
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
448
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
449
449
  contentType: "application/json",
450
450
  requestType: "json",
451
451
  body: serializers.api.thera.bridge.CryptoPayout.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -498,7 +498,7 @@ class BridgeApi {
498
498
  const _response = yield core.fetcher({
499
499
  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)), `/bridge/payments/crypto/${encodeURIComponent(transactionId)}`),
500
500
  method: "GET",
501
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
501
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
502
  contentType: "application/json",
503
503
  requestType: "json",
504
504
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -553,7 +553,7 @@ class BridgeApi {
553
553
  const _response = yield core.fetcher({
554
554
  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)), "/bridge/wallets"),
555
555
  method: "POST",
556
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
556
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
557
557
  contentType: "application/json",
558
558
  requestType: "json",
559
559
  body: serializers.api.thera.bridge.CreateWalletRequest.jsonOrThrow(request, {
@@ -608,7 +608,7 @@ class BridgeApi {
608
608
  const _response = yield core.fetcher({
609
609
  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)), `/bridge/wallets/${encodeURIComponent(walletId)}`),
610
610
  method: "GET",
611
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
611
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
612
612
  contentType: "application/json",
613
613
  requestType: "json",
614
614
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -660,7 +660,7 @@ class BridgeApi {
660
660
  const _response = yield core.fetcher({
661
661
  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)), `/bridge/customers/${encodeURIComponent(customerId)}/wallets`),
662
662
  method: "GET",
663
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
663
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
664
664
  contentType: "application/json",
665
665
  requestType: "json",
666
666
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -719,7 +719,7 @@ class BridgeApi {
719
719
  const _response = yield core.fetcher({
720
720
  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)), "/bridge/wallets/transfer"),
721
721
  method: "POST",
722
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
722
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
723
723
  contentType: "application/json",
724
724
  requestType: "json",
725
725
  body: serializers.api.thera.bridge.TransferFundsRequest.jsonOrThrow(request, {
@@ -774,7 +774,7 @@ class BridgeApi {
774
774
  const _response = yield core.fetcher({
775
775
  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)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
776
776
  method: "GET",
777
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
777
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
778
778
  contentType: "application/json",
779
779
  requestType: "json",
780
780
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -826,7 +826,7 @@ class BridgeApi {
826
826
  const _response = yield core.fetcher({
827
827
  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)), `/bridge/${encodeURIComponent(customerId)}/external-accounts`),
828
828
  method: "GET",
829
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
829
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
830
830
  contentType: "application/json",
831
831
  requestType: "json",
832
832
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -882,7 +882,7 @@ class BridgeApi {
882
882
  const _response = yield core.fetcher({
883
883
  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)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
884
884
  method: "PUT",
885
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
885
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
886
886
  contentType: "application/json",
887
887
  requestType: "json",
888
888
  body: serializers.api.thera.bridge.UpdateExternalAccountRequest.jsonOrThrow(request, {
@@ -937,7 +937,7 @@ class BridgeApi {
937
937
  const _response = yield core.fetcher({
938
938
  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)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
939
939
  method: "DELETE",
940
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
940
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
941
941
  contentType: "application/json",
942
942
  requestType: "json",
943
943
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -983,7 +983,7 @@ class BridgeApi {
983
983
  const _response = yield core.fetcher({
984
984
  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)), `/bridge/external-accounts/${encodeURIComponent(accountId)}/reactivate`),
985
985
  method: "POST",
986
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
986
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
987
987
  contentType: "application/json",
988
988
  requestType: "json",
989
989
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1053,7 +1053,7 @@ class BridgeApi {
1053
1053
  const _response = yield core.fetcher({
1054
1054
  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)), "/bridge/transfers"),
1055
1055
  method: "POST",
1056
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1056
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1057
1057
  contentType: "application/json",
1058
1058
  requestType: "json",
1059
1059
  body: serializers.api.thera.bridge.Transfer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1106,7 +1106,7 @@ class BridgeApi {
1106
1106
  const _response = yield core.fetcher({
1107
1107
  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)), `/bridge/transfers/${encodeURIComponent(transactionId)}`),
1108
1108
  method: "GET",
1109
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1109
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1110
1110
  contentType: "application/json",
1111
1111
  requestType: "json",
1112
1112
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1158,7 +1158,7 @@ class BridgeApi {
1158
1158
  const _response = yield core.fetcher({
1159
1159
  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)), `/bridge/${encodeURIComponent(customerId)}/transfers`),
1160
1160
  method: "GET",
1161
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1161
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1162
1162
  contentType: "application/json",
1163
1163
  requestType: "json",
1164
1164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1210,7 +1210,7 @@ class BridgeApi {
1210
1210
  const _response = yield core.fetcher({
1211
1211
  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)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
1212
1212
  method: "POST",
1213
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1213
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1214
1214
  contentType: "application/json",
1215
1215
  requestType: "json",
1216
1216
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1262,7 +1262,7 @@ class BridgeApi {
1262
1262
  const _response = yield core.fetcher({
1263
1263
  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)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
1264
1264
  method: "GET",
1265
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1265
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1266
1266
  contentType: "application/json",
1267
1267
  requestType: "json",
1268
1268
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1314,7 +1314,7 @@ class BridgeApi {
1314
1314
  const _response = yield core.fetcher({
1315
1315
  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)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts-history`),
1316
1316
  method: "GET",
1317
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1317
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1318
1318
  contentType: "application/json",
1319
1319
  requestType: "json",
1320
1320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -104,7 +104,14 @@ export declare class CompanyApi {
104
104
  * lastPayTotal: 1000000,
105
105
  * itemRecurrencesById: {
106
106
  * "string": {
107
- * "key": "value"
107
+ * itemType: "EXPENSE",
108
+ * description: "string",
109
+ * amount: 1000000,
110
+ * firstInvoiceDate: "2023-01-15",
111
+ * paymentCurrency: "string",
112
+ * deletedDateTime: {
113
+ * "key": "value"
114
+ * }
108
115
  * }
109
116
  * }
110
117
  * },
@@ -75,7 +75,7 @@ class CompanyApi {
75
75
  const _response = yield core.fetcher({
76
76
  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)}/monite/token`),
77
77
  method: "POST",
78
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  body: serializers.api.thera.company.GetMoniteTokenRequest.jsonOrThrow(request, {
@@ -134,7 +134,7 @@ class CompanyApi {
134
134
  const _response = yield core.fetcher({
135
135
  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)}/mercoa/token`),
136
136
  method: "POST",
137
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
137
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
138
  contentType: "application/json",
139
139
  requestType: "json",
140
140
  body: serializers.api.thera.company.GetMercoaTokenRequest.jsonOrThrow(request, {
@@ -227,7 +227,14 @@ class CompanyApi {
227
227
  * lastPayTotal: 1000000,
228
228
  * itemRecurrencesById: {
229
229
  * "string": {
230
- * "key": "value"
230
+ * itemType: "EXPENSE",
231
+ * description: "string",
232
+ * amount: 1000000,
233
+ * firstInvoiceDate: "2023-01-15",
234
+ * paymentCurrency: "string",
235
+ * deletedDateTime: {
236
+ * "key": "value"
237
+ * }
231
238
  * }
232
239
  * }
233
240
  * },
@@ -255,7 +262,7 @@ class CompanyApi {
255
262
  const _response = yield core.fetcher({
256
263
  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/employees"),
257
264
  method: "POST",
258
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
265
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
259
266
  contentType: "application/json",
260
267
  requestType: "json",
261
268
  body: serializers.api.thera.company.InviteContractorRequest.jsonOrThrow(request, {
@@ -324,7 +331,7 @@ class CompanyApi {
324
331
  const _response = yield core.fetcher({
325
332
  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)}/managers`),
326
333
  method: "POST",
327
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
335
  contentType: "application/json",
329
336
  requestType: "json",
330
337
  body: serializers.api.thera.company.InviteManagerRequest.jsonOrThrow(request, {
@@ -391,7 +398,7 @@ class CompanyApi {
391
398
  const _response = yield core.fetcher({
392
399
  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)}/managers/${encodeURIComponent(userId)}`),
393
400
  method: "POST",
394
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
401
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
395
402
  contentType: "application/json",
396
403
  requestType: "json",
397
404
  body: serializers.api.thera.company.EditManagerRolesRequest.jsonOrThrow(request, {
@@ -461,7 +468,7 @@ class CompanyApi {
461
468
  const _response = yield core.fetcher({
462
469
  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)}/admins`),
463
470
  method: "POST",
464
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
471
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
465
472
  contentType: "application/json",
466
473
  requestType: "json",
467
474
  body: serializers.api.thera.company.EditOrgRolesRequest.jsonOrThrow(request, {
@@ -517,7 +524,7 @@ class CompanyApi {
517
524
  const _response = yield core.fetcher({
518
525
  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)}/managers/${encodeURIComponent(userId)}`),
519
526
  method: "DELETE",
520
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
527
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
521
528
  contentType: "application/json",
522
529
  requestType: "json",
523
530
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -574,7 +581,7 @@ class CompanyApi {
574
581
  const _response = yield core.fetcher({
575
582
  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/${encodeURIComponent(contractId)}/team`),
576
583
  method: "POST",
577
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
584
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
578
585
  contentType: "application/json",
579
586
  requestType: "json",
580
587
  body: serializers.api.thera.company.ChangeContractTeamRequest.jsonOrThrow(request, {
@@ -629,7 +636,7 @@ class CompanyApi {
629
636
  const _response = yield core.fetcher({
630
637
  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)}/teams`),
631
638
  method: "GET",
632
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
639
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
633
640
  contentType: "application/json",
634
641
  requestType: "json",
635
642
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -681,7 +688,7 @@ class CompanyApi {
681
688
  const _response = yield core.fetcher({
682
689
  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)}/managers`),
683
690
  method: "GET",
684
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
685
692
  contentType: "application/json",
686
693
  requestType: "json",
687
694
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -745,7 +752,7 @@ class CompanyApi {
745
752
  const _response = yield core.fetcher({
746
753
  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)}/teams`),
747
754
  method: "POST",
748
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
755
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
749
756
  contentType: "application/json",
750
757
  requestType: "json",
751
758
  body: serializers.api.thera.company.CreateTeamRequest.jsonOrThrow(request, {
@@ -801,7 +808,7 @@ class CompanyApi {
801
808
  const _response = yield core.fetcher({
802
809
  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)}/teams/${encodeURIComponent(teamId)}`),
803
810
  method: "DELETE",
804
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
811
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
805
812
  contentType: "application/json",
806
813
  requestType: "json",
807
814
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -857,7 +864,7 @@ class CompanyApi {
857
864
  const _response = yield core.fetcher({
858
865
  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)}/teams/${encodeURIComponent(teamId)}`),
859
866
  method: "PATCH",
860
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
867
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
861
868
  contentType: "application/json",
862
869
  requestType: "json",
863
870
  body: serializers.api.thera.company.EditTeamRequest.jsonOrThrow(request, {
@@ -912,7 +919,7 @@ class CompanyApi {
912
919
  const _response = yield core.fetcher({
913
920
  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)), `users/${encodeURIComponent(userId)}/affiliations`),
914
921
  method: "GET",
915
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
922
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
916
923
  contentType: "application/json",
917
924
  requestType: "json",
918
925
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -969,7 +976,7 @@ class CompanyApi {
969
976
  const _response = yield core.fetcher({
970
977
  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)), "check-can-create-account"),
971
978
  method: "GET",
972
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
979
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
973
980
  contentType: "application/json",
974
981
  queryParameters: _queryParams,
975
982
  requestType: "json",
@@ -1028,7 +1035,7 @@ class CompanyApi {
1028
1035
  const _response = yield core.fetcher({
1029
1036
  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)}/eor`),
1030
1037
  method: "POST",
1031
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1038
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1032
1039
  contentType: "application/json",
1033
1040
  requestType: "json",
1034
1041
  body: serializers.api.thera.company.AddEorEmployeeRequest.jsonOrThrow(request, {
@@ -1091,7 +1098,7 @@ class CompanyApi {
1091
1098
  const _response = yield core.fetcher({
1092
1099
  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)}/contractors/csv`),
1093
1100
  method: "GET",
1094
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1101
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1095
1102
  contentType: "application/json",
1096
1103
  queryParameters: _queryParams,
1097
1104
  requestType: "json",
@@ -1160,7 +1167,7 @@ class CompanyApi {
1160
1167
  const _response = yield core.fetcher({
1161
1168
  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/csv`),
1162
1169
  method: "GET",
1163
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1170
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1164
1171
  contentType: "application/json",
1165
1172
  queryParameters: _queryParams,
1166
1173
  requestType: "json",
@@ -79,7 +79,7 @@ class CompanyW2PayrollApi {
79
79
  const _response = yield core.fetcher({
80
80
  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/w2Payroll"),
81
81
  method: "POST",
82
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  body: serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class CompanyW2PayrollApi {
138
138
  const _response = yield core.fetcher({
139
139
  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)}/w2/toggle-onboarding-flow-complete`),
140
140
  method: "POST",
141
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
141
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
142
  contentType: "application/json",
143
143
  requestType: "json",
144
144
  body: serializers.api.thera.company.ToggleW2PayrollOnboardingFlowCompleteRequest.jsonOrThrow(request, {
@@ -203,7 +203,7 @@ class CompanyW2PayrollApi {
203
203
  const _response = yield core.fetcher({
204
204
  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)}/w2/payroll/setup`),
205
205
  method: "POST",
206
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
206
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
207
207
  contentType: "application/json",
208
208
  requestType: "json",
209
209
  body: serializers.api.thera.company.SetupW2PayrollRequest.jsonOrThrow(request, {
@@ -87,7 +87,7 @@ class ContractorApi {
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)), `companies/${encodeURIComponent(companyId)}/us-contractors/tax-info`),
89
89
  method: "GET",
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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-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
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -143,7 +143,7 @@ class ContractorApi {
143
143
  const _response = yield core.fetcher({
144
144
  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)}/us-contractors/${encodeURIComponent(userId)}/tax-info`),
145
145
  method: "PUT",
146
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  body: serializers.api.thera.contractor.UpdateUsContractorsTaxInfoRequest.jsonOrThrow(request, {
@@ -237,7 +237,7 @@ class ContractorApi {
237
237
  const _response = yield core.fetcher({
238
238
  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)}/contractors/csv`),
239
239
  method: "POST",
240
- 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-prerelease2885-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ 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-prerelease2885-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease2885-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
241
  contentType: "application/json",
242
242
  queryParameters: _queryParams,
243
243
  requestType: "json",