@thera-hr/api-sdk 0.0.1-prerelease2682-dev → 0.0.1-prerelease2682-dev-2

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 (261) 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/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  5. package/api/resources/api/resources/thera/client/Client.js +24 -29
  6. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +32 -32
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  11. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  12. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  13. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  15. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  16. package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  17. package/api/resources/api/resources/thera/resources/index.js +1 -2
  18. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +12 -0
  19. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
  20. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
  21. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  22. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
  23. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  24. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  25. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  26. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  27. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  28. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  29. package/api/resources/db/resources/user/types/index.d.ts +0 -1
  30. package/api/resources/db/resources/user/types/index.js +0 -1
  31. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  32. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  33. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  34. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  35. package/dist/api/resources/api/resources/thera/client/Client.js +24 -29
  36. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  37. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +32 -32
  38. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  39. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  40. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  41. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  42. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  43. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  44. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  45. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  46. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  47. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  48. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +12 -0
  49. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
  50. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
  51. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  52. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
  53. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  54. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  55. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  56. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  57. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  58. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  59. package/dist/api/resources/db/resources/user/types/index.d.ts +0 -1
  60. package/dist/api/resources/db/resources/user/types/index.js +0 -1
  61. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  62. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  63. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
  64. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
  65. package/dist/serialization/resources/db/resources/user/types/index.d.ts +0 -1
  66. package/dist/serialization/resources/db/resources/user/types/index.js +0 -1
  67. package/package.json +1 -1
  68. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  69. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  70. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
  71. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
  72. package/serialization/resources/db/resources/user/types/index.d.ts +0 -1
  73. package/serialization/resources/db/resources/user/types/index.js +0 -1
  74. package/api/resources/api/resources/thera/resources/bridge/client/Client.d.ts +0 -22
  75. package/api/resources/api/resources/thera/resources/bridge/client/Client.js +0 -17
  76. package/api/resources/api/resources/thera/resources/bridge/client/index.d.ts +0 -1
  77. package/api/resources/api/resources/thera/resources/bridge/client/index.js +0 -2
  78. package/api/resources/api/resources/thera/resources/bridge/index.d.ts +0 -2
  79. package/api/resources/api/resources/thera/resources/bridge/index.js +0 -18
  80. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -164
  81. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +0 -735
  82. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.d.ts +0 -1
  83. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +0 -17
  84. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.d.ts +0 -14
  85. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +0 -18
  86. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.d.ts +0 -2
  87. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.js +0 -2
  88. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.d.ts +0 -2
  89. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.js +0 -18
  90. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +0 -11
  91. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +0 -5
  92. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +0 -15
  93. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +0 -5
  94. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.d.ts +0 -7
  95. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +0 -5
  96. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.d.ts +0 -10
  97. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +0 -5
  98. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.d.ts +0 -12
  99. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +0 -5
  100. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +0 -7
  101. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +0 -5
  102. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.d.ts +0 -6
  103. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +0 -5
  104. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.d.ts +0 -7
  105. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +0 -5
  106. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.d.ts +0 -8
  107. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +0 -5
  108. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.d.ts +0 -6
  109. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +0 -5
  110. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +0 -8
  111. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +0 -5
  112. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +0 -10
  113. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +0 -5
  114. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -12
  115. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -28
  116. package/api/resources/api/resources/thera/resources/bridge/resources/index.d.ts +0 -3
  117. package/api/resources/api/resources/thera/resources/bridge/resources/index.js +0 -32
  118. package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -7
  119. package/api/resources/db/resources/user/types/BridgeUserDetails.js +0 -5
  120. package/dist/api/resources/api/resources/thera/resources/bridge/client/Client.d.ts +0 -22
  121. package/dist/api/resources/api/resources/thera/resources/bridge/client/Client.js +0 -17
  122. package/dist/api/resources/api/resources/thera/resources/bridge/client/index.d.ts +0 -1
  123. package/dist/api/resources/api/resources/thera/resources/bridge/client/index.js +0 -2
  124. package/dist/api/resources/api/resources/thera/resources/bridge/index.d.ts +0 -2
  125. package/dist/api/resources/api/resources/thera/resources/bridge/index.js +0 -18
  126. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -164
  127. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +0 -735
  128. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.d.ts +0 -1
  129. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +0 -17
  130. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.d.ts +0 -14
  131. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js +0 -5
  132. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +0 -18
  133. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js +0 -5
  134. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.d.ts +0 -2
  135. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.js +0 -2
  136. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.d.ts +0 -2
  137. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.js +0 -18
  138. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +0 -11
  139. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +0 -5
  140. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +0 -15
  141. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +0 -5
  142. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.d.ts +0 -7
  143. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +0 -5
  144. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.d.ts +0 -10
  145. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +0 -5
  146. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.d.ts +0 -12
  147. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +0 -5
  148. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +0 -7
  149. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +0 -5
  150. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.d.ts +0 -6
  151. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +0 -5
  152. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.d.ts +0 -7
  153. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +0 -5
  154. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.d.ts +0 -8
  155. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +0 -5
  156. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.d.ts +0 -6
  157. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +0 -5
  158. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +0 -8
  159. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +0 -5
  160. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +0 -10
  161. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +0 -5
  162. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -12
  163. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -28
  164. package/dist/api/resources/api/resources/thera/resources/bridge/resources/index.d.ts +0 -3
  165. package/dist/api/resources/api/resources/thera/resources/bridge/resources/index.js +0 -32
  166. package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -7
  167. package/dist/api/resources/db/resources/user/types/BridgeUserDetails.js +0 -5
  168. package/dist/serialization/resources/api/resources/thera/resources/bridge/index.d.ts +0 -1
  169. package/dist/serialization/resources/api/resources/thera/resources/bridge/index.js +0 -17
  170. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.d.ts +0 -11
  171. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.js +0 -32
  172. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.d.ts +0 -3
  173. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +0 -32
  174. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.d.ts +0 -11
  175. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.js +0 -32
  176. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.d.ts +0 -13
  177. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js +0 -34
  178. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +0 -15
  179. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js +0 -36
  180. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.d.ts +0 -2
  181. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.js +0 -7
  182. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.d.ts +0 -2
  183. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.js +0 -18
  184. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +0 -17
  185. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +0 -38
  186. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +0 -21
  187. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +0 -42
  188. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.d.ts +0 -13
  189. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +0 -34
  190. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.d.ts +0 -16
  191. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +0 -37
  192. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.d.ts +0 -18
  193. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +0 -39
  194. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +0 -13
  195. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +0 -34
  196. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.d.ts +0 -12
  197. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +0 -33
  198. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.d.ts +0 -13
  199. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +0 -34
  200. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.d.ts +0 -14
  201. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +0 -35
  202. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.d.ts +0 -12
  203. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +0 -33
  204. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +0 -14
  205. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +0 -35
  206. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +0 -16
  207. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +0 -37
  208. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -12
  209. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -28
  210. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/index.d.ts +0 -3
  211. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/index.js +0 -32
  212. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -13
  213. package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +0 -34
  214. package/serialization/resources/api/resources/thera/resources/bridge/index.d.ts +0 -1
  215. package/serialization/resources/api/resources/thera/resources/bridge/index.js +0 -17
  216. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.d.ts +0 -11
  217. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/getAllCustomers.js +0 -32
  218. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.d.ts +0 -3
  219. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/index.js +0 -32
  220. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.d.ts +0 -11
  221. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/listWallets.js +0 -32
  222. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.d.ts +0 -13
  223. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js +0 -34
  224. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.d.ts +0 -15
  225. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js +0 -36
  226. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.d.ts +0 -2
  227. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/index.js +0 -7
  228. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.d.ts +0 -2
  229. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/index.js +0 -18
  230. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.d.ts +0 -17
  231. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Address.js +0 -38
  232. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.d.ts +0 -21
  233. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomer.js +0 -42
  234. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.d.ts +0 -13
  235. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCustomerResponse.js +0 -34
  236. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.d.ts +0 -16
  237. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoPayout.js +0 -37
  238. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.d.ts +0 -18
  239. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CustomerDetails.js +0 -39
  240. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +0 -13
  241. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +0 -34
  242. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.d.ts +0 -12
  243. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LinkExternalAccountResponse.js +0 -33
  244. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.d.ts +0 -13
  245. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutResponse.js +0 -34
  246. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.d.ts +0 -14
  247. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/PayoutStatus.js +0 -35
  248. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.d.ts +0 -12
  249. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TosLinkResponse.js +0 -33
  250. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.d.ts +0 -14
  251. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransferFundsResponse.js +0 -35
  252. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.d.ts +0 -16
  253. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails.js +0 -37
  254. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -12
  255. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -28
  256. package/serialization/resources/api/resources/thera/resources/bridge/resources/index.d.ts +0 -3
  257. package/serialization/resources/api/resources/thera/resources/bridge/resources/index.js +0 -32
  258. package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +0 -13
  259. package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +0 -34
  260. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/client/requests/CreateWalletRequest.js → misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js} +0 -0
  261. /package/{api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/requests/TransferFundsRequest.js → dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js} +0 -0
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./requests"), exports);
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * customerId: "string",
8
- * currency: "string"
9
- * }
10
- */
11
- export interface CreateWalletRequest {
12
- customerId: string;
13
- currency: string;
14
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * fromWalletId: "string",
8
- * toWalletId: "string",
9
- * amount: "string",
10
- * currency: "string"
11
- * }
12
- */
13
- export interface TransferFundsRequest {
14
- fromWalletId: string;
15
- toWalletId: string;
16
- amount: string;
17
- currency: string;
18
- }
@@ -1,2 +0,0 @@
1
- export { type CreateWalletRequest } from "./CreateWalletRequest";
2
- export { type TransferFundsRequest } from "./TransferFundsRequest";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./types";
2
- export * from "./client";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
18
- __exportStar(require("./client"), exports);
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface Address {
5
- streetLine1: string;
6
- streetLine2?: string;
7
- city: string;
8
- state: string;
9
- postalCode: string;
10
- country: string;
11
- }
@@ -1,5 +0,0 @@
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,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface CreateCustomer {
6
- type: string;
7
- firstName: string;
8
- lastName: string;
9
- email: string;
10
- phone: string;
11
- address: TheraApi.api.thera.bridge.Address;
12
- signedAgreementId: string;
13
- birthDate: string;
14
- taxIdentificationNumber: string;
15
- }
@@ -1,5 +0,0 @@
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,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface CreateCustomerResponse {
5
- customerId: string;
6
- status: string;
7
- }
@@ -1,5 +0,0 @@
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,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface CryptoPayout {
5
- customerId: string;
6
- amount: string;
7
- currency: string;
8
- recipientWallet: string;
9
- network: string;
10
- }
@@ -1,5 +0,0 @@
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,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface CustomerDetails {
6
- customerId: string;
7
- firstName: string;
8
- lastName: string;
9
- email: string;
10
- status: string;
11
- accounts: TheraApi.api.thera.bridge.ExternalAccount[];
12
- }
@@ -1,5 +0,0 @@
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,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ExternalAccount {
5
- address: string;
6
- currency: string;
7
- }
@@ -1,5 +0,0 @@
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,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface LinkExternalAccountResponse {
5
- accountId: string;
6
- }
@@ -1,5 +0,0 @@
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,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PayoutResponse {
5
- transactionId: string;
6
- status: string;
7
- }
@@ -1,5 +0,0 @@
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,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PayoutStatus {
5
- transactionId: string;
6
- status: string;
7
- timestamp: string;
8
- }
@@ -1,5 +0,0 @@
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,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TosLinkResponse {
5
- url: string;
6
- }
@@ -1,5 +0,0 @@
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,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface TransferFundsResponse {
5
- transactionId: string;
6
- status: string;
7
- createdAt: string;
8
- }
@@ -1,5 +0,0 @@
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,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface WalletDetails {
5
- walletId: string;
6
- customerId: string;
7
- balance: string;
8
- currency: string;
9
- createdAt: string;
10
- }
@@ -1,5 +0,0 @@
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,12 +0,0 @@
1
- export * from "./TosLinkResponse";
2
- export * from "./CreateCustomer";
3
- export * from "./CreateCustomerResponse";
4
- export * from "./ExternalAccount";
5
- export * from "./LinkExternalAccountResponse";
6
- export * from "./CustomerDetails";
7
- export * from "./Address";
8
- export * from "./CryptoPayout";
9
- export * from "./PayoutResponse";
10
- export * from "./PayoutStatus";
11
- export * from "./WalletDetails";
12
- export * from "./TransferFundsResponse";
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TosLinkResponse"), exports);
18
- __exportStar(require("./CreateCustomer"), exports);
19
- __exportStar(require("./CreateCustomerResponse"), exports);
20
- __exportStar(require("./ExternalAccount"), exports);
21
- __exportStar(require("./LinkExternalAccountResponse"), exports);
22
- __exportStar(require("./CustomerDetails"), exports);
23
- __exportStar(require("./Address"), exports);
24
- __exportStar(require("./CryptoPayout"), exports);
25
- __exportStar(require("./PayoutResponse"), exports);
26
- __exportStar(require("./PayoutStatus"), exports);
27
- __exportStar(require("./WalletDetails"), exports);
28
- __exportStar(require("./TransferFundsResponse"), exports);
@@ -1,3 +0,0 @@
1
- export * as bridgeApi from "./bridgeApi";
2
- export * from "./bridgeApi/types";
3
- export * from "./bridgeApi/client/requests";
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.bridgeApi = void 0;
30
- exports.bridgeApi = __importStar(require("./bridgeApi"));
31
- __exportStar(require("./bridgeApi/types"), exports);
32
- __exportStar(require("./bridgeApi/client/requests"), exports);
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface BridgeUserDetails {
5
- customerId: string;
6
- walletId: string;
7
- }
@@ -1,5 +0,0 @@
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,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../../../../../core";
5
- import { BridgeApi } from "../resources/bridgeApi/client/Client";
6
- export declare namespace Bridge {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- token?: core.Supplier<core.BearerToken | undefined>;
10
- }
11
- interface RequestOptions {
12
- timeoutInSeconds?: number;
13
- maxRetries?: number;
14
- abortSignal?: AbortSignal;
15
- }
16
- }
17
- export declare class Bridge {
18
- protected readonly _options: Bridge.Options;
19
- constructor(_options: Bridge.Options);
20
- protected _bridgeApi: BridgeApi | undefined;
21
- get bridgeApi(): BridgeApi;
22
- }
@@ -1,17 +0,0 @@
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.Bridge = void 0;
7
- const Client_1 = require("../resources/bridgeApi/client/Client");
8
- class Bridge {
9
- constructor(_options) {
10
- this._options = _options;
11
- }
12
- get bridgeApi() {
13
- var _a;
14
- return ((_a = this._bridgeApi) !== null && _a !== void 0 ? _a : (this._bridgeApi = new Client_1.BridgeApi(this._options)));
15
- }
16
- }
17
- exports.Bridge = Bridge;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./resources";
2
- export * from "./client";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./resources"), exports);
18
- __exportStar(require("./client"), exports);
@@ -1,164 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../../../../../../../core";
5
- import * as TheraApi from "../../../../../../../../../index";
6
- export declare namespace BridgeApi {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- token?: core.Supplier<core.BearerToken | undefined>;
10
- }
11
- interface RequestOptions {
12
- timeoutInSeconds?: number;
13
- maxRetries?: number;
14
- abortSignal?: AbortSignal;
15
- }
16
- }
17
- export declare class BridgeApi {
18
- protected readonly _options: BridgeApi.Options;
19
- constructor(_options: BridgeApi.Options);
20
- /**
21
- * Customers need to accept Bridge's terms of service before KYC processing.
22
- *
23
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
24
- *
25
- * @example
26
- * await client.api.thera.bridge.bridgeApi.requestTosLink()
27
- */
28
- requestTosLink(requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.TosLinkResponse>;
29
- /**
30
- * Create a new customer and start the KYC process.
31
- *
32
- * @param {TheraApi.api.thera.bridge.CreateCustomer} request
33
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @example
36
- * await client.api.thera.bridge.bridgeApi.createCustomer({
37
- * type: "string",
38
- * firstName: "string",
39
- * lastName: "string",
40
- * email: "string",
41
- * phone: "string",
42
- * address: {
43
- * streetLine1: "string",
44
- * streetLine2: "string",
45
- * city: "string",
46
- * state: "string",
47
- * postalCode: "string",
48
- * country: "string"
49
- * },
50
- * signedAgreementId: "string",
51
- * birthDate: "string",
52
- * taxIdentificationNumber: "string"
53
- * })
54
- */
55
- createCustomer(request: TheraApi.api.thera.bridge.CreateCustomer, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.CreateCustomerResponse>;
56
- /**
57
- * Links an external crypto wallet to a customer.
58
- *
59
- * @param {string} customerId
60
- * @param {TheraApi.api.thera.bridge.ExternalAccount} request
61
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
62
- *
63
- * @example
64
- * await client.api.thera.bridge.bridgeApi.linkExternalAccount("string", {
65
- * address: "string",
66
- * currency: "string"
67
- * })
68
- */
69
- linkExternalAccount(customerId: string, request: TheraApi.api.thera.bridge.ExternalAccount, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.LinkExternalAccountResponse>;
70
- /**
71
- * Retrieve customer details, including linked accounts and KYC status.
72
- *
73
- * @param {string} customerId
74
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
75
- *
76
- * @example
77
- * await client.api.thera.bridge.bridgeApi.getCustomerDetails("string")
78
- */
79
- getCustomerDetails(customerId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.CustomerDetails>;
80
- /**
81
- * Retrieve a list of all registered customers.
82
- *
83
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
84
- *
85
- * @example
86
- * await client.api.thera.bridge.bridgeApi.getAllCustomers()
87
- */
88
- getAllCustomers(requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.CustomerDetails[]>;
89
- /**
90
- * Initiates a payout transaction to an external crypto wallet.
91
- *
92
- * @param {TheraApi.api.thera.bridge.CryptoPayout} request
93
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
94
- *
95
- * @example
96
- * await client.api.thera.bridge.bridgeApi.processCryptoPayout({
97
- * customerId: "string",
98
- * amount: "string",
99
- * currency: "string",
100
- * recipientWallet: "string",
101
- * network: "string"
102
- * })
103
- */
104
- processCryptoPayout(request: TheraApi.api.thera.bridge.CryptoPayout, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.PayoutResponse>;
105
- /**
106
- * Retrieve the status of a previously processed crypto payout.
107
- *
108
- * @param {string} transactionId
109
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
110
- *
111
- * @example
112
- * await client.api.thera.bridge.bridgeApi.getPayoutStatus("string")
113
- */
114
- getPayoutStatus(transactionId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.PayoutStatus>;
115
- /**
116
- * Creates a new custodial wallet for a customer.
117
- *
118
- * @param {TheraApi.api.thera.bridge.CreateWalletRequest} request
119
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
120
- *
121
- * @example
122
- * await client.api.thera.bridge.bridgeApi.createWallet({
123
- * customerId: "string",
124
- * currency: "string"
125
- * })
126
- */
127
- createWallet(request: TheraApi.api.thera.bridge.CreateWalletRequest, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.WalletDetails>;
128
- /**
129
- * Retrieves details of a specific wallet.
130
- *
131
- * @param {string} walletId
132
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
133
- *
134
- * @example
135
- * await client.api.thera.bridge.bridgeApi.getWalletDetails("string")
136
- */
137
- getWalletDetails(walletId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.WalletDetails>;
138
- /**
139
- * Retrieves all wallets associated with a customer.
140
- *
141
- * @param {string} customerId
142
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
143
- *
144
- * @example
145
- * await client.api.thera.bridge.bridgeApi.listWallets("string")
146
- */
147
- listWallets(customerId: string, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.WalletDetails[]>;
148
- /**
149
- * Transfers funds between custodial wallets.
150
- *
151
- * @param {TheraApi.api.thera.bridge.TransferFundsRequest} request
152
- * @param {BridgeApi.RequestOptions} requestOptions - Request-specific configuration.
153
- *
154
- * @example
155
- * await client.api.thera.bridge.bridgeApi.transferFunds({
156
- * fromWalletId: "string",
157
- * toWalletId: "string",
158
- * amount: "string",
159
- * currency: "string"
160
- * })
161
- */
162
- transferFunds(request: TheraApi.api.thera.bridge.TransferFundsRequest, requestOptions?: BridgeApi.RequestOptions): Promise<TheraApi.api.thera.bridge.TransferFundsResponse>;
163
- protected _getAuthorizationHeader(): Promise<string | undefined>;
164
- }