@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,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
+ }
@@ -0,0 +1,46 @@
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.WithdrawalMethodsRequest = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.WithdrawalMethodsRequest = core.serialization.object({
41
+ currency: core.serialization.string(),
42
+ recipientAddress: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.common.Address; })),
43
+ type: core.serialization.string(),
44
+ accountHolderName: core.serialization.string(),
45
+ details: core.serialization.record(core.serialization.string(), core.serialization.string()),
46
+ });
@@ -2,3 +2,11 @@ export * from "./VerifyMicrodepositRequest";
2
2
  export * from "./VerifyAccountSignupRequest";
3
3
  export * from "./GetSandboxPublicKey";
4
4
  export * from "./GetBankAccountSignupKey";
5
+ export * from "./WithdrawalMethodsRequest";
6
+ export * from "./SingleWithdrawalMethodResponse";
7
+ export * from "./WithdrawalMethodField";
8
+ export * from "./WithdrawalMethodGroup";
9
+ export * from "./WithdrawalMethodValidationAsync";
10
+ export * from "./ValidationAsyncParam";
11
+ export * from "./WithdrawalMethodValuesAllowed";
12
+ export * from "./SaveWithdrawalMethodResponse";
@@ -18,3 +18,11 @@ __exportStar(require("./VerifyMicrodepositRequest"), exports);
18
18
  __exportStar(require("./VerifyAccountSignupRequest"), exports);
19
19
  __exportStar(require("./GetSandboxPublicKey"), exports);
20
20
  __exportStar(require("./GetBankAccountSignupKey"), exports);
21
+ __exportStar(require("./WithdrawalMethodsRequest"), exports);
22
+ __exportStar(require("./SingleWithdrawalMethodResponse"), exports);
23
+ __exportStar(require("./WithdrawalMethodField"), exports);
24
+ __exportStar(require("./WithdrawalMethodGroup"), exports);
25
+ __exportStar(require("./WithdrawalMethodValidationAsync"), exports);
26
+ __exportStar(require("./ValidationAsyncParam"), exports);
27
+ __exportStar(require("./WithdrawalMethodValuesAllowed"), exports);
28
+ __exportStar(require("./SaveWithdrawalMethodResponse"), exports);
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../../../../../..";
5
5
  import * as TheraApi from "../../../../../../../../../../api";
6
6
  import * as core from "../../../../../../../../../../core";
7
- export declare const Address: core.serialization.ObjectSchema<serializers.api.thera.address.Address.Raw, TheraApi.api.thera.address.Address>;
7
+ export declare const Address: core.serialization.ObjectSchema<serializers.api.thera.common.Address.Raw, TheraApi.api.thera.common.Address>;
8
8
  export declare namespace Address {
9
9
  interface Raw {
10
10
  city: string;
@@ -0,0 +1,2 @@
1
+ export * as common from "./common";
2
+ export * from "./common/types";
@@ -26,6 +26,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.address = void 0;
30
- exports.address = __importStar(require("./address"));
31
- __exportStar(require("./address/types"), exports);
29
+ exports.common = void 0;
30
+ exports.common = __importStar(require("./common"));
31
+ __exportStar(require("./common/types"), exports);
@@ -6,11 +6,14 @@ import * as TheraApi from "../../../../../../../../../../api";
6
6
  import * as core from "../../../../../../../../../../core";
7
7
  export declare const CreateDisbursementDetail: core.serialization.Schema<serializers.api.thera.disbursement.CreateDisbursementDetail.Raw, TheraApi.api.thera.disbursement.CreateDisbursementDetail>;
8
8
  export declare namespace CreateDisbursementDetail {
9
- type Raw = CreateDisbursementDetail.Invoice | CreateDisbursementDetail.Expense;
10
- interface Invoice extends serializers.api.thera.disbursement.CreateInvoiceDetail.Raw {
11
- type: "invoice";
9
+ type Raw = CreateDisbursementDetail.OnCycleInvoice | CreateDisbursementDetail.Expense | CreateDisbursementDetail.OffCycleInvoice;
10
+ interface OnCycleInvoice extends serializers.api.thera.disbursement.CreateOnCycleInvoiceDetail.Raw {
11
+ type: "onCycleInvoice";
12
12
  }
13
13
  interface Expense extends serializers.api.thera.disbursement.CreateExpenseDetail.Raw {
14
14
  type: "expense";
15
15
  }
16
+ interface OffCycleInvoice extends serializers.api.thera.disbursement.CreateOffCycleInvoiceDetail.Raw {
17
+ type: "offCycleInvoice";
18
+ }
16
19
  }
@@ -39,8 +39,9 @@ exports.CreateDisbursementDetail = void 0;
39
39
  const core = __importStar(require("../../../../../../../../../../core"));
40
40
  exports.CreateDisbursementDetail = core.serialization
41
41
  .union("type", {
42
- invoice: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.disbursement.CreateInvoiceDetail; })),
42
+ onCycleInvoice: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.disbursement.CreateOnCycleInvoiceDetail; })),
43
43
  expense: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.disbursement.CreateExpenseDetail; })),
44
+ offCycleInvoice: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.disbursement.CreateOffCycleInvoiceDetail; })),
44
45
  })
45
46
  .transform({
46
47
  transform: (value) => value,
@@ -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 CreateOffCycleInvoiceDetail: core.serialization.ObjectSchema<serializers.api.thera.disbursement.CreateOffCycleInvoiceDetail.Raw, TheraApi.api.thera.disbursement.CreateOffCycleInvoiceDetail>;
8
+ export declare namespace CreateOffCycleInvoiceDetail {
9
+ interface Raw {
10
+ description?: string | null;
11
+ uploadedFileId?: string | null;
12
+ amount: number;
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.CreateOffCycleInvoiceDetail = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.CreateOffCycleInvoiceDetail = core.serialization.object({
32
+ description: core.serialization.string().optional(),
33
+ uploadedFileId: core.serialization.string().optional(),
34
+ amount: core.serialization.number(),
35
+ });
@@ -4,13 +4,14 @@
4
4
  import * as serializers from "../../../../../../../../..";
5
5
  import * as TheraApi from "../../../../../../../../../../api";
6
6
  import * as core from "../../../../../../../../../../core";
7
- export declare const CreateInvoiceDetail: core.serialization.ObjectSchema<serializers.api.thera.disbursement.CreateInvoiceDetail.Raw, TheraApi.api.thera.disbursement.CreateInvoiceDetail>;
8
- export declare namespace CreateInvoiceDetail {
7
+ export declare const CreateOnCycleInvoiceDetail: core.serialization.ObjectSchema<serializers.api.thera.disbursement.CreateOnCycleInvoiceDetail.Raw, TheraApi.api.thera.disbursement.CreateOnCycleInvoiceDetail>;
8
+ export declare namespace CreateOnCycleInvoiceDetail {
9
9
  interface Raw {
10
10
  workUnit?: serializers.api.thera.disbursement.InvoiceWorkUnit.Raw | null;
11
11
  rate: number;
12
12
  amount: number;
13
13
  startDate: string;
14
14
  endDate: string;
15
+ date?: string | null;
15
16
  }
16
17
  }
@@ -35,9 +35,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35
35
  });
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CreateInvoiceDetail = void 0;
38
+ exports.CreateOnCycleInvoiceDetail = void 0;
39
39
  const core = __importStar(require("../../../../../../../../../../core"));
40
- exports.CreateInvoiceDetail = core.serialization.object({
40
+ exports.CreateOnCycleInvoiceDetail = core.serialization.object({
41
41
  workUnit: core.serialization
42
42
  .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.disbursement.InvoiceWorkUnit; }))
43
43
  .optional(),
@@ -45,4 +45,5 @@ exports.CreateInvoiceDetail = core.serialization.object({
45
45
  amount: core.serialization.number(),
46
46
  startDate: core.serialization.string(),
47
47
  endDate: core.serialization.string(),
48
+ date: core.serialization.string().optional(),
48
49
  });
@@ -1,6 +1,7 @@
1
1
  export * from "./InvoiceWorkUnitType";
2
2
  export * from "./InvoiceWorkUnit";
3
- export * from "./CreateInvoiceDetail";
3
+ export * from "./CreateOnCycleInvoiceDetail";
4
4
  export * from "./CreateExpenseDetail";
5
+ export * from "./CreateOffCycleInvoiceDetail";
5
6
  export * from "./CreateDisbursementDetail";
6
7
  export * from "./CreateDisbursementRequest";
@@ -16,7 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InvoiceWorkUnitType"), exports);
18
18
  __exportStar(require("./InvoiceWorkUnit"), exports);
19
- __exportStar(require("./CreateInvoiceDetail"), exports);
19
+ __exportStar(require("./CreateOnCycleInvoiceDetail"), exports);
20
20
  __exportStar(require("./CreateExpenseDetail"), exports);
21
+ __exportStar(require("./CreateOffCycleInvoiceDetail"), exports);
21
22
  __exportStar(require("./CreateDisbursementDetail"), exports);
22
23
  __exportStar(require("./CreateDisbursementRequest"), exports);
@@ -1,5 +1,5 @@
1
- export * as address from "./address";
2
1
  export * as bank from "./bank";
2
+ export * as common from "./common";
3
3
  export * as company from "./company";
4
4
  export * as disbursement from "./disbursement";
5
5
  export * as employment from "./employment";
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.payroll = exports.employment = exports.disbursement = exports.company = exports.bank = exports.address = void 0;
27
- exports.address = __importStar(require("./address"));
26
+ exports.payroll = exports.employment = exports.disbursement = exports.company = exports.common = exports.bank = void 0;
28
27
  exports.bank = __importStar(require("./bank"));
28
+ exports.common = __importStar(require("./common"));
29
29
  exports.company = __importStar(require("./company"));
30
30
  exports.disbursement = __importStar(require("./disbursement"));
31
31
  exports.employment = __importStar(require("./employment"));