@thera-hr/api-sdk 0.0.1-prerelease3559-dev-2 → 0.0.1-prerelease3559-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 (314) 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.js +37 -37
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +49 -0
  8. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +280 -24
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +15 -0
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +17 -0
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +18 -0
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +5 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +8 -0
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +5 -0
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +8 -0
  16. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +5 -0
  17. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +12 -0
  18. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +5 -0
  19. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +9 -0
  20. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +11 -0
  21. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +11 -0
  22. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +13 -0
  23. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.d.ts +6 -0
  24. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +5 -0
  25. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
  26. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +12 -0
  27. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +15 -0
  28. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +5 -0
  29. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +12 -0
  30. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +5 -0
  31. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +9 -0
  32. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +5 -0
  33. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +8 -0
  34. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +5 -0
  35. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +8 -0
  36. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +10 -0
  37. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +7 -0
  38. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +5 -0
  39. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +7 -0
  40. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +9 -0
  41. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.d.ts +6 -0
  42. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +5 -0
  43. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +10 -0
  44. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +5 -0
  45. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +7 -0
  46. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +5 -0
  47. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +8 -0
  48. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +5 -0
  49. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +13 -0
  50. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +15 -0
  51. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +8 -0
  52. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +10 -0
  53. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +22 -0
  54. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
  55. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  56. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  57. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  58. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  59. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  60. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  61. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  62. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  63. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  64. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  65. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  66. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  67. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  68. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  69. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  70. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  71. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  72. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +37 -0
  73. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +186 -11
  74. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +16 -0
  75. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.js +5 -0
  76. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  77. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +22 -0
  78. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +5 -0
  79. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +9 -0
  80. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +5 -0
  81. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +14 -0
  82. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +5 -0
  83. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
  84. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
  85. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  86. package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
  87. package/api/resources/db/resources/user/types/CardAccountDetails.d.ts +13 -0
  88. package/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
  89. package/api/resources/db/resources/user/types/CardExpInfo.d.ts +8 -0
  90. package/api/resources/db/resources/user/types/CardExpInfo.js +5 -0
  91. package/api/resources/db/resources/user/types/index.d.ts +2 -0
  92. package/api/resources/db/resources/user/types/index.js +2 -0
  93. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  94. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  95. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  96. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  97. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  98. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
  99. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +49 -0
  100. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +280 -24
  101. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +15 -0
  102. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +17 -0
  103. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +18 -0
  104. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +5 -0
  105. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +8 -0
  106. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +5 -0
  107. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +8 -0
  108. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +5 -0
  109. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +12 -0
  110. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +5 -0
  111. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +9 -0
  112. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +11 -0
  113. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +11 -0
  114. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +13 -0
  115. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.d.ts +6 -0
  116. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +5 -0
  117. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
  118. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +12 -0
  119. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +15 -0
  120. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +5 -0
  121. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +12 -0
  122. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +5 -0
  123. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +9 -0
  124. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +5 -0
  125. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +8 -0
  126. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +5 -0
  127. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +8 -0
  128. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +10 -0
  129. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +7 -0
  130. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +7 -0
  132. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +9 -0
  133. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.d.ts +6 -0
  134. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +5 -0
  135. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +10 -0
  136. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +5 -0
  137. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +7 -0
  138. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +5 -0
  139. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +8 -0
  140. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +5 -0
  141. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +13 -0
  142. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +15 -0
  143. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +8 -0
  144. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +10 -0
  145. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +22 -0
  146. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
  147. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  148. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  149. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  150. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  151. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  152. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  153. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  154. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  155. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  156. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  157. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  158. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  159. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  160. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  161. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  162. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  163. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  164. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +37 -0
  165. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +186 -11
  166. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +16 -0
  167. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.js +5 -0
  168. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
  169. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +22 -0
  170. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +5 -0
  171. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +9 -0
  172. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +5 -0
  173. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +14 -0
  174. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +5 -0
  175. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
  176. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
  177. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  178. package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
  179. package/dist/api/resources/db/resources/user/types/CardAccountDetails.d.ts +13 -0
  180. package/dist/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
  181. package/dist/api/resources/db/resources/user/types/CardExpInfo.d.ts +8 -0
  182. package/dist/api/resources/db/resources/user/types/CardExpInfo.js +5 -0
  183. package/dist/api/resources/db/resources/user/types/index.d.ts +2 -0
  184. package/dist/api/resources/db/resources/user/types/index.js +2 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +10 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +51 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +29 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +60 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +14 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +45 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +14 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +45 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +19 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +50 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +10 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +41 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +10 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +47 -0
  199. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.d.ts +12 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +43 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
  202. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +41 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +23 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +54 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +18 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +49 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +15 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +46 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +14 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +45 -0
  211. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +10 -0
  212. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +41 -0
  213. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +13 -0
  214. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +44 -0
  215. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +10 -0
  216. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +41 -0
  217. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.d.ts +12 -0
  218. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +43 -0
  219. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +17 -0
  220. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +48 -0
  221. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +13 -0
  222. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +44 -0
  223. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +14 -0
  224. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +45 -0
  225. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +10 -0
  226. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +49 -0
  227. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +10 -0
  228. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +41 -0
  229. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +22 -0
  230. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
  231. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +28 -0
  232. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +59 -0
  233. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +15 -0
  234. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +46 -0
  235. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +20 -0
  236. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +51 -0
  237. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
  238. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
  239. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
  240. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
  241. package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +20 -0
  242. package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.js +51 -0
  243. package/dist/serialization/resources/db/resources/user/types/CardExpInfo.d.ts +14 -0
  244. package/dist/serialization/resources/db/resources/user/types/CardExpInfo.js +45 -0
  245. package/dist/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  246. package/dist/serialization/resources/db/resources/user/types/index.js +2 -0
  247. package/dist/version.d.ts +1 -1
  248. package/dist/version.js +1 -1
  249. package/package.json +1 -1
  250. package/reference.md +514 -0
  251. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +10 -0
  252. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +51 -0
  253. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +29 -0
  254. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +60 -0
  255. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +14 -0
  256. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +45 -0
  257. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +14 -0
  258. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +45 -0
  259. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +19 -0
  260. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +50 -0
  261. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +10 -0
  262. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +41 -0
  263. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +10 -0
  264. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +47 -0
  265. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.d.ts +12 -0
  266. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +43 -0
  267. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
  268. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +41 -0
  269. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +23 -0
  270. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +54 -0
  271. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +18 -0
  272. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +49 -0
  273. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +15 -0
  274. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +46 -0
  275. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +14 -0
  276. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +45 -0
  277. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +10 -0
  278. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +41 -0
  279. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +13 -0
  280. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +44 -0
  281. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +10 -0
  282. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +41 -0
  283. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.d.ts +12 -0
  284. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +43 -0
  285. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +17 -0
  286. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +48 -0
  287. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +13 -0
  288. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +44 -0
  289. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +14 -0
  290. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +45 -0
  291. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +10 -0
  292. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +49 -0
  293. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +10 -0
  294. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +41 -0
  295. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +22 -0
  296. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
  297. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +28 -0
  298. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +59 -0
  299. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +15 -0
  300. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +46 -0
  301. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +20 -0
  302. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +51 -0
  303. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
  304. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
  305. package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
  306. package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
  307. package/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +20 -0
  308. package/serialization/resources/db/resources/user/types/CardAccountDetails.js +51 -0
  309. package/serialization/resources/db/resources/user/types/CardExpInfo.d.ts +14 -0
  310. package/serialization/resources/db/resources/user/types/CardExpInfo.js +45 -0
  311. package/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  312. package/serialization/resources/db/resources/user/types/index.js +2 -0
  313. package/version.d.ts +1 -1
  314. package/version.js +1 -1
@@ -127,7 +127,7 @@ class TpApi {
127
127
  const _response = yield core.fetcher({
128
128
  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)}/banking-details`),
129
129
  method: "POST",
130
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  requestType: "json",
133
133
  body: serializers.api.thera.tp.AddCompanyBankingDetailsRequest.jsonOrThrow(request, {
@@ -181,7 +181,7 @@ class TpApi {
181
181
  const _response = yield core.fetcher({
182
182
  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)), "naics-codes"),
183
183
  method: "GET",
184
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -243,7 +243,7 @@ class TpApi {
243
243
  const _response = yield core.fetcher({
244
244
  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)}/process-funds`),
245
245
  method: "POST",
246
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
247
247
  contentType: "application/json",
248
248
  requestType: "json",
249
249
  body: serializers.api.thera.tp.ProcessFundsTransfer.jsonOrThrow(request, {
@@ -295,7 +295,7 @@ class TpApi {
295
295
  const _response = yield core.fetcher({
296
296
  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)}/create-counterparty`),
297
297
  method: "POST",
298
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
299
  contentType: "application/json",
300
300
  requestType: "json",
301
301
  body: serializers.api.thera.tp.CreateCounterPartyForBankingRequest.jsonOrThrow(request, {
@@ -344,7 +344,7 @@ class TpApi {
344
344
  const _response = yield core.fetcher({
345
345
  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)}/fetch-accounts`),
346
346
  method: "GET",
347
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
347
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
348
348
  contentType: "application/json",
349
349
  requestType: "json",
350
350
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -399,7 +399,7 @@ class TpApi {
399
399
  const _response = yield core.fetcher({
400
400
  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)}/fetch-accounts/${encodeURIComponent(accountId)}`),
401
401
  method: "GET",
402
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
403
  contentType: "application/json",
404
404
  queryParameters: _queryParams,
405
405
  requestType: "json",
@@ -450,7 +450,7 @@ class TpApi {
450
450
  const _response = yield core.fetcher({
451
451
  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)}/transfer-fbo-omnibus`),
452
452
  method: "POST",
453
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
453
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
454
454
  contentType: "application/json",
455
455
  requestType: "json",
456
456
  body: serializers.api.thera.tp.TransferFundsToOmnibusAccount.jsonOrThrow(request, {
@@ -500,7 +500,7 @@ class TpApi {
500
500
  const _response = yield core.fetcher({
501
501
  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)}/fetch-transactions/${encodeURIComponent(accountId)}`),
502
502
  method: "GET",
503
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
504
  contentType: "application/json",
505
505
  requestType: "json",
506
506
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -553,7 +553,7 @@ class TpApi {
553
553
  const _response = yield core.fetcher({
554
554
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/tp-transaction/${encodeURIComponent(transactionId)}`),
555
555
  method: "GET",
556
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
556
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
557
557
  contentType: "application/json",
558
558
  requestType: "json",
559
559
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -617,7 +617,7 @@ class TpApi {
617
617
  const _response = yield core.fetcher({
618
618
  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/tp/external-transfer-funds"),
619
619
  method: "POST",
620
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
620
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
621
621
  contentType: "application/json",
622
622
  queryParameters: _queryParams,
623
623
  requestType: "json",
@@ -695,7 +695,7 @@ class TpApi {
695
695
  const _response = yield core.fetcher({
696
696
  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)}/withdraw-funds`),
697
697
  method: "POST",
698
- 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-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
698
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
699
699
  contentType: "application/json",
700
700
  requestType: "json",
701
701
  body: serializers.api.thera.tp.WithdrawalTheraCash.jsonOrThrow(request, {
@@ -729,6 +729,181 @@ class TpApi {
729
729
  }
730
730
  });
731
731
  }
732
+ /**
733
+ * Get a list of ACH transfers for a company with optional filtering. Use status parameter to filter by specific status (e.g., 'error', 'canceled', 'returned' for failed transfers)
734
+ *
735
+ * @param {string} companyId
736
+ * @param {TheraApi.api.thera.tp.ListAchTransfersRequest} request
737
+ * @param {TpApi.RequestOptions} requestOptions - Request-specific configuration.
738
+ *
739
+ * @example
740
+ * await client.api.thera.tp.tpApi.listAchTransfers("string", {
741
+ * status: "string",
742
+ * fromDate: "string",
743
+ * toDate: "string"
744
+ * })
745
+ */
746
+ listAchTransfers(companyId_1) {
747
+ return __awaiter(this, arguments, void 0, function* (companyId, request = {}, requestOptions) {
748
+ var _a;
749
+ const { status, fromDate, toDate } = request;
750
+ const _queryParams = {};
751
+ if (status != null) {
752
+ _queryParams["status"] = status;
753
+ }
754
+ if (fromDate != null) {
755
+ _queryParams["fromDate"] = fromDate;
756
+ }
757
+ if (toDate != null) {
758
+ _queryParams["toDate"] = toDate;
759
+ }
760
+ const _response = yield core.fetcher({
761
+ 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)}/ach-transfers`),
762
+ method: "GET",
763
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
764
+ contentType: "application/json",
765
+ queryParameters: _queryParams,
766
+ requestType: "json",
767
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
768
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
769
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
770
+ });
771
+ if (_response.ok) {
772
+ return serializers.api.thera.tp.AchTransferListResponse.parseOrThrow(_response.body, {
773
+ unrecognizedObjectKeys: "passthrough",
774
+ allowUnrecognizedUnionMembers: true,
775
+ allowUnrecognizedEnumValues: true,
776
+ skipValidation: true,
777
+ breadcrumbsPrefix: ["response"],
778
+ });
779
+ }
780
+ if (_response.error.reason === "status-code") {
781
+ throw new errors.TheraApiError({
782
+ statusCode: _response.error.statusCode,
783
+ body: _response.error.body,
784
+ });
785
+ }
786
+ switch (_response.error.reason) {
787
+ case "non-json":
788
+ throw new errors.TheraApiError({
789
+ statusCode: _response.error.statusCode,
790
+ body: _response.error.rawBody,
791
+ });
792
+ case "timeout":
793
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /companies/{companyId}/ach-transfers.");
794
+ case "unknown":
795
+ throw new errors.TheraApiError({
796
+ message: _response.error.errorMessage,
797
+ });
798
+ }
799
+ });
800
+ }
801
+ /**
802
+ * Retrieve detailed information about a specific ACH transfer
803
+ *
804
+ * @param {string} companyId
805
+ * @param {string} achId
806
+ * @param {TpApi.RequestOptions} requestOptions - Request-specific configuration.
807
+ *
808
+ * @example
809
+ * await client.api.thera.tp.tpApi.getAchTransferDetails("string", "string")
810
+ */
811
+ getAchTransferDetails(companyId, achId, requestOptions) {
812
+ return __awaiter(this, void 0, void 0, function* () {
813
+ var _a;
814
+ const _response = yield core.fetcher({
815
+ 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)}/ach-transfers/${encodeURIComponent(achId)}`),
816
+ method: "GET",
817
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
818
+ contentType: "application/json",
819
+ requestType: "json",
820
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
821
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
822
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
823
+ });
824
+ if (_response.ok) {
825
+ return serializers.api.thera.tp.AchTransferDetail.parseOrThrow(_response.body, {
826
+ unrecognizedObjectKeys: "passthrough",
827
+ allowUnrecognizedUnionMembers: true,
828
+ allowUnrecognizedEnumValues: true,
829
+ skipValidation: true,
830
+ breadcrumbsPrefix: ["response"],
831
+ });
832
+ }
833
+ if (_response.error.reason === "status-code") {
834
+ throw new errors.TheraApiError({
835
+ statusCode: _response.error.statusCode,
836
+ body: _response.error.body,
837
+ });
838
+ }
839
+ switch (_response.error.reason) {
840
+ case "non-json":
841
+ throw new errors.TheraApiError({
842
+ statusCode: _response.error.statusCode,
843
+ body: _response.error.rawBody,
844
+ });
845
+ case "timeout":
846
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /companies/{companyId}/ach-transfers/{achId}.");
847
+ case "unknown":
848
+ throw new errors.TheraApiError({
849
+ message: _response.error.errorMessage,
850
+ });
851
+ }
852
+ });
853
+ }
854
+ /**
855
+ * Creates a new ACH transfer with the same parameters as a failed one
856
+ *
857
+ * @param {string} companyId
858
+ * @param {string} achId
859
+ * @param {TpApi.RequestOptions} requestOptions - Request-specific configuration.
860
+ *
861
+ * @example
862
+ * await client.api.thera.tp.tpApi.retryAchTransfer("string", "string")
863
+ */
864
+ retryAchTransfer(companyId, achId, requestOptions) {
865
+ return __awaiter(this, void 0, void 0, function* () {
866
+ var _a;
867
+ const _response = yield core.fetcher({
868
+ 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)}/ach-transfers/${encodeURIComponent(achId)}/retry`),
869
+ method: "POST",
870
+ 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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
871
+ contentType: "application/json",
872
+ requestType: "json",
873
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
874
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
875
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
876
+ });
877
+ if (_response.ok) {
878
+ return serializers.api.thera.tp.AchTransferDetail.parseOrThrow(_response.body, {
879
+ unrecognizedObjectKeys: "passthrough",
880
+ allowUnrecognizedUnionMembers: true,
881
+ allowUnrecognizedEnumValues: true,
882
+ skipValidation: true,
883
+ breadcrumbsPrefix: ["response"],
884
+ });
885
+ }
886
+ if (_response.error.reason === "status-code") {
887
+ throw new errors.TheraApiError({
888
+ statusCode: _response.error.statusCode,
889
+ body: _response.error.body,
890
+ });
891
+ }
892
+ switch (_response.error.reason) {
893
+ case "non-json":
894
+ throw new errors.TheraApiError({
895
+ statusCode: _response.error.statusCode,
896
+ body: _response.error.rawBody,
897
+ });
898
+ case "timeout":
899
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /companies/{companyId}/ach-transfers/{achId}/retry.");
900
+ case "unknown":
901
+ throw new errors.TheraApiError({
902
+ message: _response.error.errorMessage,
903
+ });
904
+ }
905
+ });
906
+ }
732
907
  _getAuthorizationHeader() {
733
908
  return __awaiter(this, void 0, void 0, function* () {
734
909
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * status: "string",
8
+ * fromDate: "string",
9
+ * toDate: "string"
10
+ * }
11
+ */
12
+ export interface ListAchTransfersRequest {
13
+ status?: string;
14
+ fromDate?: string;
15
+ toDate?: string;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
1
  export { type AddCompanyBankingDetailsRequest } from "./AddCompanyBankingDetailsRequest";
2
2
  export { type TpAccountRequest } from "./TpAccountRequest";
3
3
  export { type ExternalTransferFundRequest } from "./ExternalTransferFundRequest";
4
+ export { type ListAchTransfersRequest } from "./ListAchTransfersRequest";
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AchTransferDetail {
5
+ id: string;
6
+ status: string;
7
+ amount: string;
8
+ description?: string;
9
+ createdAt?: string;
10
+ error?: string;
11
+ updatedAt?: string;
12
+ service?: string;
13
+ accountId: string;
14
+ counterpartyId: string;
15
+ direction: string;
16
+ secCode: string;
17
+ scheduledSettlement?: string;
18
+ bankId?: string;
19
+ orgId?: string;
20
+ userdata?: Record<string, unknown>;
21
+ bankdata?: Record<string, unknown>;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../../index";
5
+ export interface AchTransferListResponse {
6
+ data: TheraApi.api.thera.tp.AchTransferSummary[];
7
+ totalCount: number;
8
+ failedCount?: number;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AchTransferSummary {
5
+ id: string;
6
+ status: string;
7
+ amount: string;
8
+ createdAt: string;
9
+ error?: string;
10
+ accountId: string;
11
+ counterpartyId: string;
12
+ direction: string;
13
+ service: string;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,9 @@ export * from "./GetIndustryCodesResponse";
3
3
  export * from "./IndustryCodes";
4
4
  export * from "./SubmitCompanyBeneficiariesResponse";
5
5
  export * from "./ProcessFundsTransfer";
6
+ export * from "./AchTransferListResponse";
7
+ export * from "./AchTransferSummary";
8
+ export * from "./AchTransferDetail";
6
9
  export * from "./WithdrawalTheraCash";
7
10
  export * from "./WithdrawalAch";
8
11
  export * from "./WithdrawalWire";
@@ -19,6 +19,9 @@ __exportStar(require("./GetIndustryCodesResponse"), exports);
19
19
  __exportStar(require("./IndustryCodes"), exports);
20
20
  __exportStar(require("./SubmitCompanyBeneficiariesResponse"), exports);
21
21
  __exportStar(require("./ProcessFundsTransfer"), exports);
22
+ __exportStar(require("./AchTransferListResponse"), exports);
23
+ __exportStar(require("./AchTransferSummary"), exports);
24
+ __exportStar(require("./AchTransferDetail"), exports);
22
25
  __exportStar(require("./WithdrawalTheraCash"), exports);
23
26
  __exportStar(require("./WithdrawalAch"), exports);
24
27
  __exportStar(require("./WithdrawalWire"), exports);
@@ -78,7 +78,7 @@ class UserApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
@@ -139,7 +139,7 @@ class UserApi {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user`),
141
141
  method: "GET",
142
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -197,7 +197,7 @@ class UserApi {
197
197
  const _response = yield core.fetcher({
198
198
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "user"),
199
199
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  queryParameters: _queryParams,
203
203
  requestType: "json",
@@ -10,4 +10,5 @@ export interface BridgeUserDetails {
10
10
  externalAccount: TheraApi.api.thera.bridge.ExternalAccount[];
11
11
  virtualAccount: TheraApi.api.thera.bridge.VirtualAccount[];
12
12
  rejectionReason?: string;
13
+ cardAccount?: TheraApi.db.CardAccountDetails;
13
14
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface CardAccountDetails {
6
+ id: string;
7
+ expiry?: string;
8
+ last4?: string;
9
+ bin?: string;
10
+ status?: TheraApi.api.thera.bridge.CardStatus;
11
+ imageUrl?: string;
12
+ cardNumberInfo?: TheraApi.db.CardExpInfo;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CardExpInfo {
5
+ cardNumber: string;
6
+ cardSecurityCode: string;
7
+ expiryDate: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -37,3 +37,5 @@ export * from "./MfaType";
37
37
  export * from "./MfaUserDetails";
38
38
  export * from "./NotificationAlerts";
39
39
  export * from "./BridgeUserDetails";
40
+ export * from "./CardAccountDetails";
41
+ export * from "./CardExpInfo";
@@ -53,3 +53,5 @@ __exportStar(require("./MfaType"), exports);
53
53
  __exportStar(require("./MfaUserDetails"), exports);
54
54
  __exportStar(require("./NotificationAlerts"), exports);
55
55
  __exportStar(require("./BridgeUserDetails"), exports);
56
+ __exportStar(require("./CardAccountDetails"), exports);
57
+ __exportStar(require("./CardExpInfo"), exports);
@@ -108,7 +108,7 @@ class AipriseWebhookApi {
108
108
  const _response = yield core.fetcher({
109
109
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/aiprise/webhook/verification/callback"),
110
110
  method: "POST",
111
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
112
  contentType: "application/json",
113
113
  requestType: "json",
114
114
  body: serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -87,7 +87,7 @@ class Dev {
87
87
  const _response = yield core.fetcher({
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/dev/eor"),
89
89
  method: "POST",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  requestType: "json",
93
93
  body: serializers.api.dev.AddEorEmployeeRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -113,7 +113,7 @@ class ExternalApi {
113
113
  const _response = yield core.fetcher({
114
114
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/external/v2/contractor"),
115
115
  method: "POST",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  body: serializers.api.external.ExternalCreateContractorRequestV2.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class File_ {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document`),
76
76
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class File_ {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}`),
127
127
  method: "DELETE",
128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "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-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  body: serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -173,7 +173,7 @@ class File_ {
173
173
  const _response = yield core.fetcher({
174
174
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}/file-url`),
175
175
  method: "GET",
176
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
177
  contentType: "application/json",
178
178
  requestType: "json",
179
179
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -224,7 +224,7 @@ class File_ {
224
224
  const _response = yield core.fetcher({
225
225
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/contracts/eor/${encodeURIComponent(contractId)}/payslips/${encodeURIComponent(s3Key)}/fileUrl`),
226
226
  method: "GET",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -275,7 +275,7 @@ class File_ {
275
275
  const _response = yield core.fetcher({
276
276
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/companies/${encodeURIComponent(companyId)}/contracts/eor/pay-in/${encodeURIComponent(s3Key)}/file-url`),
277
277
  method: "GET",
278
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3559-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3559-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,