@thera-hr/api-sdk 0.0.1-prerelease3102-dev → 0.0.1-prerelease3102-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 (250) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +7 -7
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +42 -42
  8. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -28
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -178
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -20
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -20
  12. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  13. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  15. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  16. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  17. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  19. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  20. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  21. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  23. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  24. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
  25. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  26. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  27. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  28. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  29. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  30. package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -1
  31. package/api/resources/db/resources/user/types/index.d.ts +0 -1
  32. package/api/resources/db/resources/user/types/index.js +0 -1
  33. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  34. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  35. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  36. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  37. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  38. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +7 -7
  39. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +42 -42
  40. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -28
  41. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -178
  42. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -20
  43. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -20
  44. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  45. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  46. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  48. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  49. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  50. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  51. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  52. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  53. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  55. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  56. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
  57. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  58. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  59. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  60. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  61. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  62. package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -1
  63. package/dist/api/resources/db/resources/user/types/index.d.ts +0 -1
  64. package/dist/api/resources/db/resources/user/types/index.js +0 -1
  65. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -20
  66. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -20
  67. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -2
  68. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +0 -2
  69. package/dist/serialization/resources/db/resources/user/types/index.d.ts +0 -1
  70. package/dist/serialization/resources/db/resources/user/types/index.js +0 -1
  71. package/dist/version.d.ts +1 -1
  72. package/dist/version.js +1 -1
  73. package/package.json +1 -1
  74. package/reference.md +6 -181
  75. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -20
  76. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -20
  77. package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -2
  78. package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +0 -2
  79. package/serialization/resources/db/resources/user/types/index.d.ts +0 -1
  80. package/serialization/resources/db/resources/user/types/index.js +0 -1
  81. package/version.d.ts +1 -1
  82. package/version.js +1 -1
  83. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +0 -15
  84. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +0 -17
  85. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +0 -18
  86. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +0 -5
  87. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +0 -8
  88. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +0 -5
  89. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +0 -8
  90. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +0 -5
  91. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +0 -12
  92. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +0 -5
  93. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +0 -9
  94. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +0 -11
  95. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +0 -11
  96. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +0 -13
  97. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +0 -10
  98. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +0 -12
  99. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +0 -15
  100. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +0 -5
  101. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +0 -12
  102. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +0 -5
  103. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +0 -9
  104. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +0 -5
  105. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +0 -8
  106. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +0 -5
  107. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +0 -8
  108. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +0 -10
  109. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +0 -7
  110. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +0 -5
  111. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +0 -7
  112. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +0 -9
  113. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +0 -10
  114. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +0 -5
  115. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +0 -7
  116. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +0 -5
  117. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +0 -8
  118. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +0 -5
  119. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +0 -13
  120. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +0 -15
  121. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +0 -8
  122. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +0 -10
  123. package/api/resources/db/resources/user/types/CardAccountDetails.d.ts +0 -12
  124. package/api/resources/db/resources/user/types/CardAccountDetails.js +0 -5
  125. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +0 -15
  126. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +0 -17
  127. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +0 -18
  128. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +0 -5
  129. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +0 -8
  130. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +0 -5
  131. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +0 -8
  132. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +0 -5
  133. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +0 -12
  134. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +0 -5
  135. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +0 -9
  136. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +0 -11
  137. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +0 -11
  138. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +0 -13
  139. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +0 -10
  140. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +0 -12
  141. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +0 -15
  142. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +0 -5
  143. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +0 -12
  144. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +0 -5
  145. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +0 -9
  146. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +0 -5
  147. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +0 -8
  148. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +0 -5
  149. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +0 -8
  150. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +0 -10
  151. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +0 -7
  152. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +0 -5
  153. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +0 -7
  154. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +0 -9
  155. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +0 -10
  156. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +0 -5
  157. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +0 -7
  158. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +0 -5
  159. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +0 -8
  160. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +0 -5
  161. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +0 -13
  162. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +0 -15
  163. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +0 -8
  164. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +0 -10
  165. package/dist/api/resources/db/resources/user/types/CardAccountDetails.d.ts +0 -12
  166. package/dist/api/resources/db/resources/user/types/CardAccountDetails.js +0 -5
  167. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +0 -10
  168. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +0 -51
  169. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +0 -29
  170. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +0 -60
  171. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +0 -14
  172. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +0 -45
  173. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +0 -14
  174. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +0 -45
  175. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +0 -19
  176. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +0 -50
  177. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +0 -10
  178. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +0 -41
  179. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +0 -10
  180. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +0 -47
  181. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +0 -10
  182. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +0 -41
  183. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +0 -23
  184. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +0 -54
  185. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +0 -18
  186. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +0 -49
  187. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +0 -15
  188. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +0 -46
  189. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +0 -14
  190. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +0 -45
  191. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +0 -10
  192. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +0 -41
  193. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +0 -13
  194. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +0 -44
  195. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +0 -10
  196. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +0 -41
  197. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +0 -17
  198. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +0 -48
  199. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +0 -13
  200. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +0 -44
  201. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +0 -14
  202. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +0 -45
  203. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +0 -10
  204. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +0 -49
  205. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +0 -10
  206. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +0 -41
  207. package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +0 -18
  208. package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.js +0 -49
  209. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +0 -10
  210. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +0 -51
  211. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +0 -29
  212. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +0 -60
  213. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +0 -14
  214. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +0 -45
  215. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +0 -14
  216. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +0 -45
  217. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +0 -19
  218. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +0 -50
  219. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +0 -10
  220. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +0 -41
  221. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +0 -10
  222. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +0 -47
  223. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +0 -10
  224. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +0 -41
  225. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +0 -23
  226. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +0 -54
  227. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +0 -18
  228. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +0 -49
  229. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +0 -15
  230. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +0 -46
  231. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +0 -14
  232. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +0 -45
  233. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +0 -10
  234. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +0 -41
  235. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +0 -13
  236. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +0 -44
  237. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +0 -10
  238. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +0 -41
  239. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +0 -17
  240. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +0 -48
  241. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +0 -13
  242. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +0 -44
  243. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +0 -14
  244. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +0 -45
  245. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +0 -10
  246. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +0 -49
  247. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +0 -10
  248. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +0 -41
  249. package/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +0 -18
  250. package/serialization/resources/db/resources/user/types/CardAccountDetails.js +0 -49
@@ -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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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, {
@@ -262,7 +262,7 @@ class CompanyApi {
262
262
  const _response = yield core.fetcher({
263
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"),
264
264
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
266
266
  contentType: "application/json",
267
267
  requestType: "json",
268
268
  body: serializers.api.thera.company.InviteContractorRequest.jsonOrThrow(request, {
@@ -331,7 +331,7 @@ class CompanyApi {
331
331
  const _response = yield core.fetcher({
332
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`),
333
333
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
335
335
  contentType: "application/json",
336
336
  requestType: "json",
337
337
  body: serializers.api.thera.company.InviteManagerRequest.jsonOrThrow(request, {
@@ -398,7 +398,7 @@ class CompanyApi {
398
398
  const _response = yield core.fetcher({
399
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)}`),
400
400
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
402
  contentType: "application/json",
403
403
  requestType: "json",
404
404
  body: serializers.api.thera.company.EditManagerRolesRequest.jsonOrThrow(request, {
@@ -468,7 +468,7 @@ class CompanyApi {
468
468
  const _response = yield core.fetcher({
469
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`),
470
470
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
472
472
  contentType: "application/json",
473
473
  requestType: "json",
474
474
  body: serializers.api.thera.company.EditOrgRolesRequest.jsonOrThrow(request, {
@@ -524,7 +524,7 @@ class CompanyApi {
524
524
  const _response = yield core.fetcher({
525
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)}`),
526
526
  method: "DELETE",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
528
528
  contentType: "application/json",
529
529
  requestType: "json",
530
530
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -581,7 +581,7 @@ class CompanyApi {
581
581
  const _response = yield core.fetcher({
582
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`),
583
583
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
585
  contentType: "application/json",
586
586
  requestType: "json",
587
587
  body: serializers.api.thera.company.ChangeContractTeamRequest.jsonOrThrow(request, {
@@ -636,7 +636,7 @@ class CompanyApi {
636
636
  const _response = yield core.fetcher({
637
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`),
638
638
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
640
640
  contentType: "application/json",
641
641
  requestType: "json",
642
642
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -688,7 +688,7 @@ class CompanyApi {
688
688
  const _response = yield core.fetcher({
689
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`),
690
690
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
692
692
  contentType: "application/json",
693
693
  requestType: "json",
694
694
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -752,7 +752,7 @@ class CompanyApi {
752
752
  const _response = yield core.fetcher({
753
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`),
754
754
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
756
756
  contentType: "application/json",
757
757
  requestType: "json",
758
758
  body: serializers.api.thera.company.CreateTeamRequest.jsonOrThrow(request, {
@@ -808,7 +808,7 @@ class CompanyApi {
808
808
  const _response = yield core.fetcher({
809
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)}`),
810
810
  method: "DELETE",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
812
812
  contentType: "application/json",
813
813
  requestType: "json",
814
814
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -864,7 +864,7 @@ class CompanyApi {
864
864
  const _response = yield core.fetcher({
865
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)}`),
866
866
  method: "PATCH",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
868
868
  contentType: "application/json",
869
869
  requestType: "json",
870
870
  body: serializers.api.thera.company.EditTeamRequest.jsonOrThrow(request, {
@@ -919,7 +919,7 @@ class CompanyApi {
919
919
  const _response = yield core.fetcher({
920
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`),
921
921
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
923
923
  contentType: "application/json",
924
924
  requestType: "json",
925
925
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -976,7 +976,7 @@ class CompanyApi {
976
976
  const _response = yield core.fetcher({
977
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"),
978
978
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
980
980
  contentType: "application/json",
981
981
  queryParameters: _queryParams,
982
982
  requestType: "json",
@@ -1035,7 +1035,7 @@ class CompanyApi {
1035
1035
  const _response = yield core.fetcher({
1036
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`),
1037
1037
  method: "POST",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1039
1039
  contentType: "application/json",
1040
1040
  requestType: "json",
1041
1041
  body: serializers.api.thera.company.AddEorEmployeeRequest.jsonOrThrow(request, {
@@ -1098,7 +1098,7 @@ class CompanyApi {
1098
1098
  const _response = yield core.fetcher({
1099
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`),
1100
1100
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1102
1102
  contentType: "application/json",
1103
1103
  queryParameters: _queryParams,
1104
1104
  requestType: "json",
@@ -1167,7 +1167,7 @@ class CompanyApi {
1167
1167
  const _response = yield core.fetcher({
1168
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`),
1169
1169
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1171
1171
  contentType: "application/json",
1172
1172
  queryParameters: _queryParams,
1173
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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",
@@ -110,7 +110,7 @@ class DisbursementApi {
110
110
  const _response = yield core.fetcher({
111
111
  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)}/invoices/csv`),
112
112
  method: "POST",
113
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
116
116
  requestType: "json",
@@ -177,7 +177,7 @@ class DisbursementApi {
177
177
  const _response = yield core.fetcher({
178
178
  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)), "disbursement"),
179
179
  method: "POST",
180
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  body: serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
@@ -226,7 +226,7 @@ class DisbursementApi {
226
226
  const _response = yield core.fetcher({
227
227
  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)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/approve`),
228
228
  method: "POST",
229
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
230
  contentType: "application/json",
231
231
  requestType: "json",
232
232
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -277,7 +277,7 @@ class DisbursementApi {
277
277
  const _response = yield core.fetcher({
278
278
  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)), `disbursement/invoices/${encodeURIComponent(invoiceId)}`),
279
279
  method: "PATCH",
280
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
281
281
  contentType: "application/json",
282
282
  requestType: "json",
283
283
  body: serializers.api.thera.disbursement.EditInvoiceRequest.jsonOrThrow(request, {
@@ -333,7 +333,7 @@ class DisbursementApi {
333
333
  const _response = yield core.fetcher({
334
334
  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)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/deduction`),
335
335
  method: "POST",
336
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
336
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
337
  contentType: "application/json",
338
338
  requestType: "json",
339
339
  body: serializers.api.thera.disbursement.CreateInvoiceDeductionRequest.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class DisbursementApi {
383
383
  const _response = yield core.fetcher({
384
384
  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)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/deduction/${encodeURIComponent(deductionId)}`),
385
385
  method: "DELETE",
386
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
386
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class DisbursementApi {
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)), `companies/${encodeURIComponent(companyId)}/invoices/csv`),
447
447
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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
  queryParameters: _queryParams,
451
451
  requestType: "json",
@@ -78,7 +78,7 @@ class DisbursementWebhookApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/disbursement/invoice"),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.disbursement.InvoiceWebhookEvent.jsonOrThrow(_body, {
@@ -75,7 +75,7 @@ class DocumentApi {
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)), "w9-document"),
77
77
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -134,7 +134,7 @@ class DocumentApi {
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)}/1099-nec-document`),
136
136
  method: "GET",
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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-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
  queryParameters: _queryParams,
140
140
  requestType: "json",
@@ -190,7 +190,7 @@ class DocumentApi {
190
190
  const _response = yield core.fetcher({
191
191
  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)), "1099-nec-document/file"),
192
192
  method: "POST",
193
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.api.thera.document.BulkFileUsIrs1099NecDocumentRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class EmailApi {
73
73
  const _response = yield core.fetcher({
74
74
  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)), "email/login"),
75
75
  method: "POST",
76
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  body: serializers.api.thera.email.SendLoginEmailRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class EmailApi {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `user/${encodeURIComponent(userId)}/update-email`),
127
127
  method: "PUT",
128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  body: serializers.api.thera.email.UpdateEmailRequest.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class EmploymentApi {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/pay-cycle/recurrences/${encodeURIComponent(recurrenceId)}`),
76
76
  method: "DELETE",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.api.thera.employment.DeleteContractInvoiceItemRecurrenceRequest.jsonOrThrow(request, {
@@ -140,7 +140,7 @@ class EmploymentApi {
140
140
  const _response = yield core.fetcher({
141
141
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "contracts/estimate"),
142
142
  method: "POST",
143
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
144
  contentType: "application/json",
145
145
  requestType: "json",
146
146
  body: serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -195,7 +195,7 @@ class EmploymentApi {
195
195
  const _response = yield core.fetcher({
196
196
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}`),
197
197
  method: "DELETE",
198
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
199
  contentType: "application/json",
200
200
  requestType: "json",
201
201
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -244,7 +244,7 @@ class EmploymentApi {
244
244
  const _response = yield core.fetcher({
245
245
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/termination-cancellation`),
246
246
  method: "POST",
247
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
247
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
248
  contentType: "application/json",
249
249
  requestType: "json",
250
250
  body: serializers.api.thera.employment.CancelContractTerminationRequest.jsonOrThrow(request, {
@@ -294,7 +294,7 @@ class EmploymentApi {
294
294
  const _response = yield core.fetcher({
295
295
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/payCycle/${encodeURIComponent(baseDate)}`),
296
296
  method: "GET",
297
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
297
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
298
  contentType: "application/json",
299
299
  requestType: "json",
300
300
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -72,7 +72,7 @@ class EorTrackerApi {
72
72
  const _response = yield core.fetcher({
73
73
  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-tracker`),
74
74
  method: "GET",
75
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -124,7 +124,7 @@ class EorTrackerApi {
124
124
  const _response = yield core.fetcher({
125
125
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `eor-tracker/employee/${encodeURIComponent(email)}`),
126
126
  method: "GET",
127
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -176,7 +176,7 @@ class EorTrackerApi {
176
176
  const _response = yield core.fetcher({
177
177
  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-tracker/latest-email`),
178
178
  method: "GET",
179
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
180
  contentType: "application/json",
181
181
  requestType: "json",
182
182
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -100,7 +100,7 @@ class IncorporationApi {
100
100
  const _response = yield core.fetcher({
101
101
  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)), "incorporation/signup"),
102
102
  method: "POST",
103
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
104
  contentType: "application/json",
105
105
  requestType: "json",
106
106
  body: serializers.api.thera.incorporation.IncorporationSignupRequest.jsonOrThrow(request, {
@@ -164,7 +164,7 @@ class IncorporationApi {
164
164
  const _response = yield core.fetcher({
165
165
  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)), "incorporation/create-checkout-session"),
166
166
  method: "POST",
167
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.api.thera.incorporation.CheckoutSessionRequest.jsonOrThrow(request, {
@@ -219,7 +219,7 @@ class IncorporationApi {
219
219
  const _response = yield core.fetcher({
220
220
  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)), `incorporation/check-payment-status/${encodeURIComponent(sessionId)}`),
221
221
  method: "GET",
222
- 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-prerelease3102-dev", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-dev", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
+ 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-prerelease3102-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3102-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
223
  contentType: "application/json",
224
224
  requestType: "json",
225
225
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,