@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.
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
- package/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
- package/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
- package/{dist/api/resources/api/resources/thera/resources/address → api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +5 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.d.ts → CreateOnCycleInvoiceDetail.d.ts} +5 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +5 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/index.js +2 -2
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
- package/api/resources/db/resources/user/types/BankTransfer.js +5 -0
- package/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
- package/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
- package/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
- package/api/resources/db/resources/user/types/index.d.ts +2 -0
- package/api/resources/db/resources/user/types/index.js +2 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
- package/dist/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
- package/{serialization/resources/api/resources/thera/resources/address → dist/api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.d.ts → CreateOnCycleInvoiceDetail.d.ts} +5 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOnCycleInvoiceDetail.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.d.ts +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
- package/dist/api/resources/db/resources/user/types/BankTransfer.js +5 -0
- package/dist/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
- package/dist/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
- package/dist/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
- package/dist/api/resources/db/resources/user/types/index.d.ts +2 -0
- package/dist/api/resources/db/resources/user/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
- 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
- package/dist/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
- package/{api/resources/api/resources/thera/resources/address → dist/serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +35 -0
- 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
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.js → CreateOnCycleInvoiceDetail.js} +3 -2
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -2
- package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
- package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
- package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
- package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/user/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
- 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
- package/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
- package/{dist/serialization/resources/api/resources/thera/resources/address → serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.d.ts +6 -3
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateDisbursementDetail.js +2 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateOffCycleInvoiceDetail.js +35 -0
- 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
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/{CreateInvoiceDetail.js → CreateOnCycleInvoiceDetail.js} +3 -2
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/index.js +2 -2
- package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
- package/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
- package/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
- package/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
- package/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
- package/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
- package/serialization/resources/db/resources/user/types/index.d.ts +2 -0
- package/serialization/resources/db/resources/user/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
- /package/api/resources/api/resources/thera/resources/{address/resources/address/types/Address.js → bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{disbursement/resources/disbursementApi/types/CreateInvoiceDetail.js → bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js} +0 -0
- /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
- /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
- /package/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
- /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
- /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
|
+
}
|
|
@@ -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.
|
|
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
|
+
}
|
|
@@ -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"));
|
|
@@ -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
|
+
}
|