@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
@@ -71,7 +71,7 @@ class BridgeApi {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers/tos_links"),
73
73
  method: "POST",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -171,7 +171,7 @@ class BridgeApi {
171
171
  const _response = yield core.fetcher({
172
172
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers"),
173
173
  method: "POST",
174
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
174
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
175
175
  contentType: "application/json",
176
176
  requestType: "json",
177
177
  body: serializers.api.thera.bridge.CreateCustomer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -224,7 +224,7 @@ class BridgeApi {
224
224
  const _response = yield core.fetcher({
225
225
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(userId)}/kyc-link`),
226
226
  method: "GET",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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,
@@ -282,7 +282,7 @@ class BridgeApi {
282
282
  const _response = yield core.fetcher({
283
283
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(customerId)}/accounts`),
284
284
  method: "POST",
285
- headers: Object.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),
285
+ headers: Object.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),
286
286
  contentType: "application/json",
287
287
  requestType: "json",
288
288
  body: serializers.api.thera.bridge.ExternalAccount.jsonOrThrow(request, {
@@ -337,7 +337,7 @@ class BridgeApi {
337
337
  const _response = yield core.fetcher({
338
338
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}`),
339
339
  method: "GET",
340
- headers: Object.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),
340
+ headers: Object.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),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -388,7 +388,7 @@ class BridgeApi {
388
388
  const _response = yield core.fetcher({
389
389
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/customers"),
390
390
  method: "GET",
391
- headers: Object.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),
391
+ headers: Object.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),
392
392
  contentType: "application/json",
393
393
  requestType: "json",
394
394
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -446,7 +446,7 @@ class BridgeApi {
446
446
  const _response = yield core.fetcher({
447
447
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/payments/crypto"),
448
448
  method: "POST",
449
- headers: Object.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),
449
+ headers: Object.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),
450
450
  contentType: "application/json",
451
451
  requestType: "json",
452
452
  body: serializers.api.thera.bridge.CryptoPayout.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -499,7 +499,7 @@ class BridgeApi {
499
499
  const _response = yield core.fetcher({
500
500
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/payments/crypto/${encodeURIComponent(transactionId)}`),
501
501
  method: "GET",
502
- headers: Object.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),
502
+ headers: Object.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),
503
503
  contentType: "application/json",
504
504
  requestType: "json",
505
505
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -554,7 +554,7 @@ class BridgeApi {
554
554
  const _response = yield core.fetcher({
555
555
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/wallets"),
556
556
  method: "POST",
557
- headers: Object.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),
557
+ headers: Object.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),
558
558
  contentType: "application/json",
559
559
  requestType: "json",
560
560
  body: serializers.api.thera.bridge.CreateWalletRequest.jsonOrThrow(request, {
@@ -609,7 +609,7 @@ class BridgeApi {
609
609
  const _response = yield core.fetcher({
610
610
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/wallets/${encodeURIComponent(walletId)}`),
611
611
  method: "GET",
612
- headers: Object.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),
612
+ headers: Object.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),
613
613
  contentType: "application/json",
614
614
  requestType: "json",
615
615
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -661,7 +661,7 @@ class BridgeApi {
661
661
  const _response = yield core.fetcher({
662
662
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/wallets`),
663
663
  method: "GET",
664
- headers: Object.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),
664
+ headers: Object.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),
665
665
  contentType: "application/json",
666
666
  requestType: "json",
667
667
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -713,7 +713,7 @@ class BridgeApi {
713
713
  const _response = yield core.fetcher({
714
714
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/wallets/${encodeURIComponent(walletId)}/history`),
715
715
  method: "GET",
716
- headers: Object.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),
716
+ headers: Object.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),
717
717
  contentType: "application/json",
718
718
  requestType: "json",
719
719
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -772,7 +772,7 @@ class BridgeApi {
772
772
  const _response = yield core.fetcher({
773
773
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/wallets/transfer"),
774
774
  method: "POST",
775
- headers: Object.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),
775
+ headers: Object.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),
776
776
  contentType: "application/json",
777
777
  requestType: "json",
778
778
  body: serializers.api.thera.bridge.TransferFundsRequest.jsonOrThrow(request, {
@@ -827,7 +827,7 @@ class BridgeApi {
827
827
  const _response = yield core.fetcher({
828
828
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
829
829
  method: "GET",
830
- headers: Object.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),
830
+ headers: Object.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),
831
831
  contentType: "application/json",
832
832
  requestType: "json",
833
833
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -879,7 +879,7 @@ class BridgeApi {
879
879
  const _response = yield core.fetcher({
880
880
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/${encodeURIComponent(customerId)}/external-accounts`),
881
881
  method: "GET",
882
- headers: Object.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),
882
+ headers: Object.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),
883
883
  contentType: "application/json",
884
884
  requestType: "json",
885
885
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -935,7 +935,7 @@ class BridgeApi {
935
935
  const _response = yield core.fetcher({
936
936
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
937
937
  method: "PUT",
938
- headers: Object.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),
938
+ headers: Object.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),
939
939
  contentType: "application/json",
940
940
  requestType: "json",
941
941
  body: serializers.api.thera.bridge.UpdateExternalAccountRequest.jsonOrThrow(request, {
@@ -990,7 +990,7 @@ class BridgeApi {
990
990
  const _response = yield core.fetcher({
991
991
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}`),
992
992
  method: "DELETE",
993
- headers: Object.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),
993
+ headers: Object.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),
994
994
  contentType: "application/json",
995
995
  requestType: "json",
996
996
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1036,7 +1036,7 @@ class BridgeApi {
1036
1036
  const _response = yield core.fetcher({
1037
1037
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/external-accounts/${encodeURIComponent(accountId)}/reactivate`),
1038
1038
  method: "POST",
1039
- headers: Object.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),
1039
+ headers: Object.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),
1040
1040
  contentType: "application/json",
1041
1041
  requestType: "json",
1042
1042
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1107,7 +1107,7 @@ class BridgeApi {
1107
1107
  const _response = yield core.fetcher({
1108
1108
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/bridge/transfers"),
1109
1109
  method: "POST",
1110
- headers: Object.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),
1110
+ headers: Object.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),
1111
1111
  contentType: "application/json",
1112
1112
  requestType: "json",
1113
1113
  body: serializers.api.thera.bridge.Transfer.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1160,7 +1160,7 @@ class BridgeApi {
1160
1160
  const _response = yield core.fetcher({
1161
1161
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/transfers/${encodeURIComponent(transactionId)}`),
1162
1162
  method: "GET",
1163
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
1163
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-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),
1164
1164
  contentType: "application/json",
1165
1165
  requestType: "json",
1166
1166
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1212,7 +1212,7 @@ class BridgeApi {
1212
1212
  const _response = yield core.fetcher({
1213
1213
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/${encodeURIComponent(customerId)}/transfers`),
1214
1214
  method: "GET",
1215
- headers: Object.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),
1215
+ headers: Object.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),
1216
1216
  contentType: "application/json",
1217
1217
  requestType: "json",
1218
1218
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1264,7 +1264,7 @@ class BridgeApi {
1264
1264
  const _response = yield core.fetcher({
1265
1265
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
1266
1266
  method: "POST",
1267
- headers: Object.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),
1267
+ headers: Object.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),
1268
1268
  contentType: "application/json",
1269
1269
  requestType: "json",
1270
1270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1316,7 +1316,7 @@ class BridgeApi {
1316
1316
  const _response = yield core.fetcher({
1317
1317
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts`),
1318
1318
  method: "GET",
1319
- headers: Object.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),
1319
+ headers: Object.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),
1320
1320
  contentType: "application/json",
1321
1321
  requestType: "json",
1322
1322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1368,7 +1368,7 @@ class BridgeApi {
1368
1368
  const _response = yield core.fetcher({
1369
1369
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/virtual-accounts-history`),
1370
1370
  method: "GET",
1371
- headers: Object.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),
1371
+ headers: Object.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),
1372
1372
  contentType: "application/json",
1373
1373
  requestType: "json",
1374
1374
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1405,6 +1405,262 @@ class BridgeApi {
1405
1405
  }
1406
1406
  });
1407
1407
  }
1408
+ /**
1409
+ * Creates a bridge cards for a customer.
1410
+ *
1411
+ * @param {string} userId
1412
+ * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
1413
+ *
1414
+ * @example
1415
+ * await client.api.thera.bridge.bridgeApi.createCards("string")
1416
+ */
1417
+ createCards(userId, requestOptions) {
1418
+ return __awaiter(this, void 0, void 0, function* () {
1419
+ var _a;
1420
+ const _response = yield core.fetcher({
1421
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/users/${encodeURIComponent(userId)}/card-accounts`),
1422
+ method: "POST",
1423
+ headers: Object.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),
1424
+ contentType: "application/json",
1425
+ requestType: "json",
1426
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1427
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1428
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1429
+ });
1430
+ if (_response.ok) {
1431
+ return serializers.api.thera.bridge.CardAccount.parseOrThrow(_response.body, {
1432
+ unrecognizedObjectKeys: "passthrough",
1433
+ allowUnrecognizedUnionMembers: true,
1434
+ allowUnrecognizedEnumValues: true,
1435
+ skipValidation: true,
1436
+ breadcrumbsPrefix: ["response"],
1437
+ });
1438
+ }
1439
+ if (_response.error.reason === "status-code") {
1440
+ throw new errors.TheraApiError({
1441
+ statusCode: _response.error.statusCode,
1442
+ body: _response.error.body,
1443
+ });
1444
+ }
1445
+ switch (_response.error.reason) {
1446
+ case "non-json":
1447
+ throw new errors.TheraApiError({
1448
+ statusCode: _response.error.statusCode,
1449
+ body: _response.error.rawBody,
1450
+ });
1451
+ case "timeout":
1452
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/users/{userId}/card-accounts.");
1453
+ case "unknown":
1454
+ throw new errors.TheraApiError({
1455
+ message: _response.error.errorMessage,
1456
+ });
1457
+ }
1458
+ });
1459
+ }
1460
+ /**
1461
+ * @param {string} customerId
1462
+ * @param {string} cardAccountId
1463
+ * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
1464
+ *
1465
+ * @example
1466
+ * await client.api.thera.bridge.bridgeApi.retrieveCardById("string", "string")
1467
+ */
1468
+ retrieveCardById(customerId, cardAccountId, requestOptions) {
1469
+ return __awaiter(this, void 0, void 0, function* () {
1470
+ var _a;
1471
+ const _response = yield core.fetcher({
1472
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/card-account/${encodeURIComponent(cardAccountId)}`),
1473
+ method: "GET",
1474
+ headers: Object.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),
1475
+ contentType: "application/json",
1476
+ requestType: "json",
1477
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1478
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1479
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1480
+ });
1481
+ if (_response.ok) {
1482
+ return serializers.api.thera.bridge.CardAccount.parseOrThrow(_response.body, {
1483
+ unrecognizedObjectKeys: "passthrough",
1484
+ allowUnrecognizedUnionMembers: true,
1485
+ allowUnrecognizedEnumValues: true,
1486
+ skipValidation: true,
1487
+ breadcrumbsPrefix: ["response"],
1488
+ });
1489
+ }
1490
+ if (_response.error.reason === "status-code") {
1491
+ throw new errors.TheraApiError({
1492
+ statusCode: _response.error.statusCode,
1493
+ body: _response.error.body,
1494
+ });
1495
+ }
1496
+ switch (_response.error.reason) {
1497
+ case "non-json":
1498
+ throw new errors.TheraApiError({
1499
+ statusCode: _response.error.statusCode,
1500
+ body: _response.error.rawBody,
1501
+ });
1502
+ case "timeout":
1503
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{customerId}/card-account/{cardAccountId}.");
1504
+ case "unknown":
1505
+ throw new errors.TheraApiError({
1506
+ message: _response.error.errorMessage,
1507
+ });
1508
+ }
1509
+ });
1510
+ }
1511
+ /**
1512
+ * @param {string} customerId
1513
+ * @param {string} cardAccountId
1514
+ * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
1515
+ *
1516
+ * @example
1517
+ * await client.api.thera.bridge.bridgeApi.cardTransactions("string", "string")
1518
+ */
1519
+ cardTransactions(customerId, cardAccountId, requestOptions) {
1520
+ return __awaiter(this, void 0, void 0, function* () {
1521
+ var _a;
1522
+ const _response = yield core.fetcher({
1523
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/card-accounts/${encodeURIComponent(cardAccountId)}/transactions`),
1524
+ method: "GET",
1525
+ headers: Object.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),
1526
+ contentType: "application/json",
1527
+ requestType: "json",
1528
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1529
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1530
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1531
+ });
1532
+ if (_response.ok) {
1533
+ return serializers.api.thera.bridge.CardTransactionList.parseOrThrow(_response.body, {
1534
+ unrecognizedObjectKeys: "passthrough",
1535
+ allowUnrecognizedUnionMembers: true,
1536
+ allowUnrecognizedEnumValues: true,
1537
+ skipValidation: true,
1538
+ breadcrumbsPrefix: ["response"],
1539
+ });
1540
+ }
1541
+ if (_response.error.reason === "status-code") {
1542
+ throw new errors.TheraApiError({
1543
+ statusCode: _response.error.statusCode,
1544
+ body: _response.error.body,
1545
+ });
1546
+ }
1547
+ switch (_response.error.reason) {
1548
+ case "non-json":
1549
+ throw new errors.TheraApiError({
1550
+ statusCode: _response.error.statusCode,
1551
+ body: _response.error.rawBody,
1552
+ });
1553
+ case "timeout":
1554
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{customerId}/card-accounts/{cardAccountId}/transactions.");
1555
+ case "unknown":
1556
+ throw new errors.TheraApiError({
1557
+ message: _response.error.errorMessage,
1558
+ });
1559
+ }
1560
+ });
1561
+ }
1562
+ /**
1563
+ * @param {string} customerId
1564
+ * @param {string} cardAccountId
1565
+ * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
1566
+ *
1567
+ * @example
1568
+ * await client.api.thera.bridge.bridgeApi.cardPinUpdate("string", "string")
1569
+ */
1570
+ cardPinUpdate(customerId, cardAccountId, requestOptions) {
1571
+ return __awaiter(this, void 0, void 0, function* () {
1572
+ var _a;
1573
+ const _response = yield core.fetcher({
1574
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/card-accounts/${encodeURIComponent(cardAccountId)}/generate-pin`),
1575
+ method: "GET",
1576
+ headers: Object.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),
1577
+ contentType: "application/json",
1578
+ requestType: "json",
1579
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1580
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1581
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1582
+ });
1583
+ if (_response.ok) {
1584
+ return serializers.api.thera.bridge.CardPinUrl.parseOrThrow(_response.body, {
1585
+ unrecognizedObjectKeys: "passthrough",
1586
+ allowUnrecognizedUnionMembers: true,
1587
+ allowUnrecognizedEnumValues: true,
1588
+ skipValidation: true,
1589
+ breadcrumbsPrefix: ["response"],
1590
+ });
1591
+ }
1592
+ if (_response.error.reason === "status-code") {
1593
+ throw new errors.TheraApiError({
1594
+ statusCode: _response.error.statusCode,
1595
+ body: _response.error.body,
1596
+ });
1597
+ }
1598
+ switch (_response.error.reason) {
1599
+ case "non-json":
1600
+ throw new errors.TheraApiError({
1601
+ statusCode: _response.error.statusCode,
1602
+ body: _response.error.rawBody,
1603
+ });
1604
+ case "timeout":
1605
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /bridge/customers/{customerId}/card-accounts/{cardAccountId}/generate-pin.");
1606
+ case "unknown":
1607
+ throw new errors.TheraApiError({
1608
+ message: _response.error.errorMessage,
1609
+ });
1610
+ }
1611
+ });
1612
+ }
1613
+ /**
1614
+ * @param {string} customerId
1615
+ * @param {string} cardAccountId
1616
+ * @param {TheraApi.api.thera.bridge.EphemeralKeyRequest} request
1617
+ * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
1618
+ *
1619
+ * @example
1620
+ * await client.api.thera.bridge.bridgeApi.createEphemeralKey("string", "string", {
1621
+ * clientNonce: "string"
1622
+ * })
1623
+ */
1624
+ createEphemeralKey(customerId, cardAccountId, request, requestOptions) {
1625
+ return __awaiter(this, void 0, void 0, function* () {
1626
+ var _a;
1627
+ const _response = yield core.fetcher({
1628
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/bridge/customers/${encodeURIComponent(customerId)}/card-accounts/${encodeURIComponent(cardAccountId)}/ephemeralKey`),
1629
+ method: "POST",
1630
+ headers: Object.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),
1631
+ contentType: "application/json",
1632
+ requestType: "json",
1633
+ body: serializers.api.thera.bridge.EphemeralKeyRequest.jsonOrThrow(request, {
1634
+ unrecognizedObjectKeys: "strip",
1635
+ }),
1636
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1637
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1638
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1639
+ });
1640
+ if (_response.ok) {
1641
+ return _response.body;
1642
+ }
1643
+ if (_response.error.reason === "status-code") {
1644
+ throw new errors.TheraApiError({
1645
+ statusCode: _response.error.statusCode,
1646
+ body: _response.error.body,
1647
+ });
1648
+ }
1649
+ switch (_response.error.reason) {
1650
+ case "non-json":
1651
+ throw new errors.TheraApiError({
1652
+ statusCode: _response.error.statusCode,
1653
+ body: _response.error.rawBody,
1654
+ });
1655
+ case "timeout":
1656
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /bridge/customers/{customerId}/card-accounts/{cardAccountId}/ephemeralKey.");
1657
+ case "unknown":
1658
+ throw new errors.TheraApiError({
1659
+ message: _response.error.errorMessage,
1660
+ });
1661
+ }
1662
+ });
1663
+ }
1408
1664
  _getAuthorizationHeader() {
1409
1665
  return __awaiter(this, void 0, void 0, function* () {
1410
1666
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BlockChain = "arbitrum" | "avalanche_c_chain" | "base" | "ethereum" | "optimism" | "polygon" | "solana" | "stellar" | "tron";
5
+ export declare const BlockChain: {
6
+ readonly Arbitrum: "arbitrum";
7
+ readonly AvalancheCChain: "avalanche_c_chain";
8
+ readonly Base: "base";
9
+ readonly Ethereum: "ethereum";
10
+ readonly Optimism: "optimism";
11
+ readonly Polygon: "polygon";
12
+ readonly Solana: "solana";
13
+ readonly Stellar: "stellar";
14
+ readonly Tron: "tron";
15
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BlockChain = void 0;
7
+ exports.BlockChain = {
8
+ Arbitrum: "arbitrum",
9
+ AvalancheCChain: "avalanche_c_chain",
10
+ Base: "base",
11
+ Ethereum: "ethereum",
12
+ Optimism: "optimism",
13
+ Polygon: "polygon",
14
+ Solana: "solana",
15
+ Stellar: "stellar",
16
+ Tron: "tron",
17
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../../index";
5
+ export interface CardAccount {
6
+ id: string;
7
+ clientReferenceId?: string;
8
+ customerId: string;
9
+ cardImageUrl: string;
10
+ status: TheraApi.api.thera.bridge.CardStatus;
11
+ statusReason?: string;
12
+ cardDetails: TheraApi.api.thera.bridge.CardDetails;
13
+ balances: TheraApi.api.thera.bridge.CardBalances;
14
+ freezes: TheraApi.api.thera.bridge.CardFreeze[];
15
+ cardAccountId: string;
16
+ cryptoAccount?: TheraApi.api.thera.bridge.CryptoAccount;
17
+ fundingInstructions?: TheraApi.api.thera.bridge.FundingInstructions;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../../index";
5
+ export interface CardBalances {
6
+ available: TheraApi.api.thera.bridge.MoneyAmount;
7
+ hold: TheraApi.api.thera.bridge.MoneyAmount;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CardDetails {
5
+ last4: string;
6
+ expiry: string;
7
+ bin: 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 });