@thera-hr/api-sdk 0.0.1644 → 0.0.1672

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 (219) hide show
  1. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  2. package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  3. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  4. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
  15. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
  16. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
  17. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  18. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  19. package/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
  20. package/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  21. package/{dist/api/resources/api/resources/thera/resources/address → api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  22. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
  23. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  24. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  25. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
  26. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +11 -0
  27. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +5 -0
  28. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.d.ts → CreateOnCycleInvoiceDetail.d.ts} +5 -1
  29. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +5 -0
  30. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
  31. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
  32. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  33. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -2
  34. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -4
  35. package/api/resources/api/resources/thera/resources/index.d.ts +1 -1
  36. package/api/resources/api/resources/thera/resources/index.js +2 -2
  37. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  38. package/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
  39. package/api/resources/db/resources/user/types/BankTransfer.js +5 -0
  40. package/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  41. package/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
  42. package/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
  43. package/api/resources/db/resources/user/types/index.d.ts +2 -0
  44. package/api/resources/db/resources/user/types/index.js +2 -0
  45. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  46. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  47. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  48. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
  49. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
  50. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +5 -0
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
  52. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +5 -0
  53. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
  54. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +5 -0
  55. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
  56. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +5 -0
  57. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
  58. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
  59. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
  60. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
  61. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
  62. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
  63. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
  64. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
  65. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  66. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  67. package/dist/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
  68. package/dist/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  69. package/{serialization/resources/api/resources/thera/resources/address → dist/api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
  71. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  72. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  73. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
  74. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +11 -0
  75. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +5 -0
  76. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.d.ts → CreateOnCycleInvoiceDetail.d.ts} +5 -1
  77. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +5 -0
  78. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
  79. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
  80. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  81. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -2
  82. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -4
  83. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -1
  84. package/dist/api/resources/api/resources/thera/resources/index.js +2 -2
  85. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  86. package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
  87. package/dist/api/resources/db/resources/user/types/BankTransfer.js +5 -0
  88. package/dist/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  89. package/dist/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
  90. package/dist/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
  91. package/dist/api/resources/db/resources/user/types/index.d.ts +2 -0
  92. package/dist/api/resources/db/resources/user/types/index.js +2 -0
  93. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
  94. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
  95. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
  96. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
  97. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
  98. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
  99. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
  100. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
  101. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
  102. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
  103. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
  104. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
  105. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
  106. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
  107. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
  108. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
  109. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
  110. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
  111. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
  112. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
  113. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
  114. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
  115. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  116. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  117. package/{serialization/resources/api/resources/thera/resources/address/resources/address → dist/serialization/resources/api/resources/thera/resources/common/resources/common}/types/Address.d.ts +1 -1
  118. package/dist/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  119. package/{api/resources/api/resources/thera/resources/address → dist/serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  120. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
  121. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +2 -1
  122. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +14 -0
  123. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +35 -0
  124. package/{serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceDetail.d.ts → dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts} +3 -2
  125. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.js → CreateOnCycleInvoiceDetail.js} +3 -2
  126. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
  127. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
  128. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
  129. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -2
  130. package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
  131. package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
  132. package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  133. package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
  134. package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
  135. package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
  136. package/dist/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  137. package/dist/serialization/resources/db/resources/user/types/index.js +2 -0
  138. package/package.json +1 -1
  139. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
  140. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
  141. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
  142. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
  143. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
  144. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
  145. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
  146. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
  147. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
  148. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
  149. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
  150. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
  151. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
  152. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
  153. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
  154. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
  155. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
  156. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
  157. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
  158. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
  159. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
  160. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
  161. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  162. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  163. package/{dist/serialization/resources/api/resources/thera/resources/address/resources/address → serialization/resources/api/resources/thera/resources/common/resources/common}/types/Address.d.ts +1 -1
  164. package/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  165. package/{dist/serialization/resources/api/resources/thera/resources/address → serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  166. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
  167. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +2 -1
  168. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +14 -0
  169. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +35 -0
  170. package/{dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceDetail.d.ts → serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.d.ts} +3 -2
  171. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.js → CreateOnCycleInvoiceDetail.js} +3 -2
  172. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
  173. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
  174. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
  175. package/serialization/resources/api/resources/thera/resources/index.js +2 -2
  176. package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
  177. package/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
  178. package/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  179. package/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
  180. package/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
  181. package/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
  182. package/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  183. package/serialization/resources/db/resources/user/types/index.js +2 -0
  184. package/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  185. package/dist/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  186. package/dist/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  187. package/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  188. /package/api/resources/api/resources/thera/resources/{address/resources/address/types/Address.js → bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js} +0 -0
  189. /package/api/resources/api/resources/thera/resources/{disbursement/resources/disbursementApi/types/CreateInvoiceDetail.js → bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js} +0 -0
  190. /package/{dist/api/resources/api/resources/thera/resources/address/resources/address/types/Address.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js} +0 -0
  191. /package/{dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceDetail.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js} +0 -0
  192. /package/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  193. /package/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  194. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  195. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  196. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
  197. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  198. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  199. /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  200. /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  201. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  202. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  203. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
  204. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  205. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  206. /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  207. /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  208. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  209. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  210. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
  211. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  212. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  213. /package/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  214. /package/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  215. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  216. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  217. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
  218. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  219. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export interface BankTransfer {
6
+ recipientAddress: TheraApi.api.thera.common.Address;
7
+ currency: string;
8
+ methodType: string;
9
+ accountHolderName: string;
10
+ details: Record<string, string>;
11
+ wiseRecipientAccountId: number;
12
+ }
@@ -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 });
@@ -7,7 +7,8 @@ export interface EmployeeInformation {
7
7
  onboardingStatus: TheraApi.db.EmployeeOnboardingStatus;
8
8
  employeeOnboardingStatus: TheraApi.db.EmployeeOnboardingStatus;
9
9
  country: string;
10
- address: TheraApi.api.thera.address.Address;
10
+ address: TheraApi.api.thera.common.Address;
11
11
  complianceInformation: TheraApi.db.ComplianceInformation;
12
12
  w8BenFileS3Key: string;
13
+ withdrawalMethods: Record<string, TheraApi.db.WithdrawalMethod>;
13
14
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export declare type WithdrawalMethod = TheraApi.db.WithdrawalMethod.BankTransfer;
6
+ export declare namespace WithdrawalMethod {
7
+ interface BankTransfer extends TheraApi.db.BankTransfer {
8
+ type: "bankTransfer";
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,6 @@ export * from "./ComplianceDocument";
3
3
  export * from "./ComplianceInformation";
4
4
  export * from "./EmployeeOnboardingStatus";
5
5
  export * from "./EmployeeInformation";
6
+ export * from "./WithdrawalMethod";
7
+ export * from "./BankTransfer";
6
8
  export * from "./User";
@@ -19,4 +19,6 @@ __exportStar(require("./ComplianceDocument"), exports);
19
19
  __exportStar(require("./ComplianceInformation"), exports);
20
20
  __exportStar(require("./EmployeeOnboardingStatus"), exports);
21
21
  __exportStar(require("./EmployeeInformation"), exports);
22
+ __exportStar(require("./WithdrawalMethod"), exports);
23
+ __exportStar(require("./BankTransfer"), exports);
22
24
  __exportStar(require("./User"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const Response: core.serialization.Schema<serializers.api.thera.bank.bankApi.getSupportedWithdrawalMethods.Response.Raw, TheraApi.api.thera.bank.SingleWithdrawalMethodResponse[]>;
8
+ export declare namespace Response {
9
+ type Raw = serializers.api.thera.bank.SingleWithdrawalMethodResponse.Raw[];
10
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.Response = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.Response = core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.SingleWithdrawalMethodResponse; })));
@@ -0,0 +1 @@
1
+ export * as getSupportedWithdrawalMethods from "./getSupportedWithdrawalMethods";
@@ -0,0 +1,27 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.getSupportedWithdrawalMethods = void 0;
27
+ exports.getSupportedWithdrawalMethods = __importStar(require("./getSupportedWithdrawalMethods"));
@@ -1 +1,2 @@
1
1
  export * from "./types";
2
+ export * from "./client";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const SaveWithdrawalMethodResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.SaveWithdrawalMethodResponse.Raw, TheraApi.api.thera.bank.SaveWithdrawalMethodResponse>;
8
+ export declare namespace SaveWithdrawalMethodResponse {
9
+ interface Raw {
10
+ withdrawalMethods: Record<string, serializers.db.WithdrawalMethod.Raw>;
11
+ }
12
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.SaveWithdrawalMethodResponse = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.SaveWithdrawalMethodResponse = core.serialization.object({
41
+ withdrawalMethods: core.serialization.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.WithdrawalMethod; }))),
42
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const SingleWithdrawalMethodResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.SingleWithdrawalMethodResponse.Raw, TheraApi.api.thera.bank.SingleWithdrawalMethodResponse>;
8
+ export declare namespace SingleWithdrawalMethodResponse {
9
+ interface Raw {
10
+ type: string;
11
+ title: string;
12
+ fields: serializers.api.thera.bank.WithdrawalMethodField.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.SingleWithdrawalMethodResponse = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.SingleWithdrawalMethodResponse = core.serialization.object({
41
+ type: core.serialization.string(),
42
+ title: core.serialization.string(),
43
+ fields: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.WithdrawalMethodField; }))),
44
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const ValidationAsyncParam: core.serialization.ObjectSchema<serializers.api.thera.bank.ValidationAsyncParam.Raw, TheraApi.api.thera.bank.ValidationAsyncParam>;
8
+ export declare namespace ValidationAsyncParam {
9
+ interface Raw {
10
+ key: string;
11
+ parameterName: string;
12
+ required: boolean;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ValidationAsyncParam = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.ValidationAsyncParam = core.serialization.object({
32
+ key: core.serialization.string(),
33
+ parameterName: core.serialization.string(),
34
+ required: core.serialization.boolean(),
35
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const WithdrawalMethodField: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalMethodField.Raw, TheraApi.api.thera.bank.WithdrawalMethodField>;
8
+ export declare namespace WithdrawalMethodField {
9
+ interface Raw {
10
+ name: string;
11
+ group: serializers.api.thera.bank.WithdrawalMethodGroup.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.WithdrawalMethodField = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.WithdrawalMethodField = core.serialization.object({
41
+ name: core.serialization.string(),
42
+ group: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.WithdrawalMethodGroup; }))),
43
+ });
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const WithdrawalMethodGroup: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalMethodGroup.Raw, TheraApi.api.thera.bank.WithdrawalMethodGroup>;
8
+ export declare namespace WithdrawalMethodGroup {
9
+ interface Raw {
10
+ key: string;
11
+ name: string;
12
+ type: string;
13
+ refreshRequirementsOnChange: boolean;
14
+ required: boolean;
15
+ displayFormat: string;
16
+ example: string;
17
+ minLength: number;
18
+ maxLength: number;
19
+ validationRegexp: string;
20
+ validationAsync: serializers.api.thera.bank.WithdrawalMethodValidationAsync.Raw;
21
+ valuesAllowed: serializers.api.thera.bank.WithdrawalMethodValuesAllowed.Raw[];
22
+ }
23
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.WithdrawalMethodGroup = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.WithdrawalMethodGroup = core.serialization.object({
41
+ key: core.serialization.string(),
42
+ name: core.serialization.string(),
43
+ type: core.serialization.string(),
44
+ refreshRequirementsOnChange: core.serialization.boolean(),
45
+ required: core.serialization.boolean(),
46
+ displayFormat: core.serialization.string(),
47
+ example: core.serialization.string(),
48
+ minLength: core.serialization.number(),
49
+ maxLength: core.serialization.number(),
50
+ validationRegexp: core.serialization.string(),
51
+ validationAsync: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.WithdrawalMethodValidationAsync; })),
52
+ valuesAllowed: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.WithdrawalMethodValuesAllowed; }))),
53
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const WithdrawalMethodValidationAsync: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalMethodValidationAsync.Raw, TheraApi.api.thera.bank.WithdrawalMethodValidationAsync>;
8
+ export declare namespace WithdrawalMethodValidationAsync {
9
+ interface Raw {
10
+ key: string;
11
+ params: serializers.api.thera.bank.ValidationAsyncParam.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.WithdrawalMethodValidationAsync = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.WithdrawalMethodValidationAsync = core.serialization.object({
41
+ key: core.serialization.string(),
42
+ params: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.bank.ValidationAsyncParam; }))),
43
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const WithdrawalMethodValuesAllowed: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalMethodValuesAllowed.Raw, TheraApi.api.thera.bank.WithdrawalMethodValuesAllowed>;
8
+ export declare namespace WithdrawalMethodValuesAllowed {
9
+ interface Raw {
10
+ key: string;
11
+ name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.WithdrawalMethodValuesAllowed = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.WithdrawalMethodValuesAllowed = core.serialization.object({
32
+ key: core.serialization.string(),
33
+ name: core.serialization.string(),
34
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const WithdrawalMethodsRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.WithdrawalMethodsRequest.Raw, TheraApi.api.thera.bank.WithdrawalMethodsRequest>;
8
+ export declare namespace WithdrawalMethodsRequest {
9
+ interface Raw {
10
+ currency: string;
11
+ recipientAddress: serializers.api.thera.common.Address.Raw;
12
+ type: string;
13
+ accountHolderName: string;
14
+ details: Record<string, string>;
15
+ }
16
+ }