@thera-hr/api-sdk 0.0.1-prerelease3557-dev-3 → 0.0.1-prerelease3557-dev
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/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +28 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +178 -24
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +17 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +18 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +11 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +13 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +12 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +9 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +5 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +13 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +15 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +10 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +20 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +5 -0
- package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/api/resources/db/resources/user/types/CardAccountDetails.d.ts +12 -0
- package/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
- package/api/resources/db/resources/user/types/index.d.ts +1 -0
- package/api/resources/db/resources/user/types/index.js +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +28 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +178 -24
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +18 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +11 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +13 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +12 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +9 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +13 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +15 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +20 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +5 -0
- package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/CardAccountDetails.d.ts +12 -0
- package/dist/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +51 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +29 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +60 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +23 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +54 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +49 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +49 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +20 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/dist/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
- package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +18 -0
- package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.js +49 -0
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +240 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/BlockChain.js +51 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.d.ts +29 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardAccount.js +60 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardBalances.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardDetails.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.d.ts +19 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreeze.js +50 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeInitiator.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardFreezeReason.js +47 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.d.ts +23 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransaction.js +54 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.d.ts +18 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardTransactionList.js +49 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CreateCardRequest.js +46 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccount.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoAccountType.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CryptoCardAccount.js +44 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Currency.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/FundingInstructions.js +48 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/LocalTransactionDetails.js +44 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/MoneyAmount.js +45 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCategory.js +49 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/TransactionCurrency.js +41 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +20 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.d.ts +2 -0
- package/serialization/resources/db/resources/user/types/BridgeUserDetails.js +2 -0
- package/serialization/resources/db/resources/user/types/CardAccountDetails.d.ts +18 -0
- package/serialization/resources/db/resources/user/types/CardAccountDetails.js +49 -0
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/user/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -39,3 +39,23 @@ export * from "./WalletHistory";
|
|
|
39
39
|
export * from "./WalletHistorySource";
|
|
40
40
|
export * from "./WalletHistoryDestination";
|
|
41
41
|
export * from "./WalletHistoryResponse";
|
|
42
|
+
export * from "./CardAccount";
|
|
43
|
+
export * from "./CardStatus";
|
|
44
|
+
export * from "./CardDetails";
|
|
45
|
+
export * from "./CardBalances";
|
|
46
|
+
export * from "./MoneyAmount";
|
|
47
|
+
export * from "./Currency";
|
|
48
|
+
export * from "./CardFreeze";
|
|
49
|
+
export * from "./CardFreezeInitiator";
|
|
50
|
+
export * from "./CardFreezeReason";
|
|
51
|
+
export * from "./CryptoAccount";
|
|
52
|
+
export * from "./CryptoAccountType";
|
|
53
|
+
export * from "./FundingInstructions";
|
|
54
|
+
export * from "./BlockChain";
|
|
55
|
+
export * from "./CardTransactionList";
|
|
56
|
+
export * from "./CardTransaction";
|
|
57
|
+
export * from "./LocalTransactionDetails";
|
|
58
|
+
export * from "./TransactionCategory";
|
|
59
|
+
export * from "./TransactionCurrency";
|
|
60
|
+
export * from "./CreateCardRequest";
|
|
61
|
+
export * from "./CryptoCardAccount";
|
|
@@ -55,3 +55,23 @@ __exportStar(require("./WalletHistory"), exports);
|
|
|
55
55
|
__exportStar(require("./WalletHistorySource"), exports);
|
|
56
56
|
__exportStar(require("./WalletHistoryDestination"), exports);
|
|
57
57
|
__exportStar(require("./WalletHistoryResponse"), exports);
|
|
58
|
+
__exportStar(require("./CardAccount"), exports);
|
|
59
|
+
__exportStar(require("./CardStatus"), exports);
|
|
60
|
+
__exportStar(require("./CardDetails"), exports);
|
|
61
|
+
__exportStar(require("./CardBalances"), exports);
|
|
62
|
+
__exportStar(require("./MoneyAmount"), exports);
|
|
63
|
+
__exportStar(require("./Currency"), exports);
|
|
64
|
+
__exportStar(require("./CardFreeze"), exports);
|
|
65
|
+
__exportStar(require("./CardFreezeInitiator"), exports);
|
|
66
|
+
__exportStar(require("./CardFreezeReason"), exports);
|
|
67
|
+
__exportStar(require("./CryptoAccount"), exports);
|
|
68
|
+
__exportStar(require("./CryptoAccountType"), exports);
|
|
69
|
+
__exportStar(require("./FundingInstructions"), exports);
|
|
70
|
+
__exportStar(require("./BlockChain"), exports);
|
|
71
|
+
__exportStar(require("./CardTransactionList"), exports);
|
|
72
|
+
__exportStar(require("./CardTransaction"), exports);
|
|
73
|
+
__exportStar(require("./LocalTransactionDetails"), exports);
|
|
74
|
+
__exportStar(require("./TransactionCategory"), exports);
|
|
75
|
+
__exportStar(require("./TransactionCurrency"), exports);
|
|
76
|
+
__exportStar(require("./CreateCardRequest"), exports);
|
|
77
|
+
__exportStar(require("./CryptoCardAccount"), exports);
|
|
@@ -52,4 +52,5 @@ exports.CompanySettings = core.serialization.object({
|
|
|
52
52
|
autoApproveTimeOffRequests: core.serialization.boolean(),
|
|
53
53
|
isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
|
|
54
54
|
active: core.serialization.boolean().optional(),
|
|
55
|
+
autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
|
|
55
56
|
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
import { WalletDetails } from "../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails";
|
|
8
8
|
import { ExternalAccount } from "../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount";
|
|
9
9
|
import { VirtualAccount } from "../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount";
|
|
10
|
+
import { CardAccountDetails } from "./CardAccountDetails";
|
|
10
11
|
export declare const BridgeUserDetails: core.serialization.ObjectSchema<serializers.db.BridgeUserDetails.Raw, TheraApi.db.BridgeUserDetails>;
|
|
11
12
|
export declare namespace BridgeUserDetails {
|
|
12
13
|
interface Raw {
|
|
@@ -17,5 +18,6 @@ export declare namespace BridgeUserDetails {
|
|
|
17
18
|
externalAccount: ExternalAccount.Raw[];
|
|
18
19
|
virtualAccount: VirtualAccount.Raw[];
|
|
19
20
|
rejectionReason?: string | null;
|
|
21
|
+
cardAccount?: CardAccountDetails.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const WalletDetails_1 = require("../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletDetails");
|
|
42
42
|
const ExternalAccount_1 = require("../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount");
|
|
43
43
|
const VirtualAccount_1 = require("../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/VirtualAccount");
|
|
44
|
+
const CardAccountDetails_1 = require("./CardAccountDetails");
|
|
44
45
|
exports.BridgeUserDetails = core.serialization.object({
|
|
45
46
|
customerId: core.serialization.string(),
|
|
46
47
|
onboardingStatus: core.serialization.string(),
|
|
@@ -49,4 +50,5 @@ exports.BridgeUserDetails = core.serialization.object({
|
|
|
49
50
|
externalAccount: core.serialization.list(ExternalAccount_1.ExternalAccount),
|
|
50
51
|
virtualAccount: core.serialization.list(VirtualAccount_1.VirtualAccount),
|
|
51
52
|
rejectionReason: core.serialization.string().optional(),
|
|
53
|
+
cardAccount: CardAccountDetails_1.CardAccountDetails.optional(),
|
|
52
54
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { CardStatus } from "../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus";
|
|
8
|
+
export declare const CardAccountDetails: core.serialization.ObjectSchema<serializers.db.CardAccountDetails.Raw, TheraApi.db.CardAccountDetails>;
|
|
9
|
+
export declare namespace CardAccountDetails {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
expiry?: string | null;
|
|
13
|
+
last4?: string | null;
|
|
14
|
+
bin?: string | null;
|
|
15
|
+
status?: CardStatus.Raw | null;
|
|
16
|
+
image_url?: string | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CardAccountDetails = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const CardStatus_1 = require("../../../../api/resources/thera/resources/bridge/resources/bridgeApi/types/CardStatus");
|
|
42
|
+
exports.CardAccountDetails = core.serialization.object({
|
|
43
|
+
id: core.serialization.string(),
|
|
44
|
+
expiry: core.serialization.string().optional(),
|
|
45
|
+
last4: core.serialization.string().optional(),
|
|
46
|
+
bin: core.serialization.string().optional(),
|
|
47
|
+
status: CardStatus_1.CardStatus.optional(),
|
|
48
|
+
imageUrl: core.serialization.property("image_url", core.serialization.string().optional()),
|
|
49
|
+
});
|
|
@@ -53,3 +53,4 @@ __exportStar(require("./MfaType"), exports);
|
|
|
53
53
|
__exportStar(require("./MfaUserDetails"), exports);
|
|
54
54
|
__exportStar(require("./NotificationAlerts"), exports);
|
|
55
55
|
__exportStar(require("./BridgeUserDetails"), exports);
|
|
56
|
+
__exportStar(require("./CardAccountDetails"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease3557-dev
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3557-dev";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4867,6 +4867,181 @@ await client.api.thera.bridge.bridgeApi.listHistoryOfVirtualAccounts("string");
|
|
|
4867
4867
|
</dl>
|
|
4868
4868
|
</details>
|
|
4869
4869
|
|
|
4870
|
+
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">createCards</a>(userId) -> TheraApi.CardAccount</code></summary>
|
|
4871
|
+
<dl>
|
|
4872
|
+
<dd>
|
|
4873
|
+
|
|
4874
|
+
#### 📝 Description
|
|
4875
|
+
|
|
4876
|
+
<dl>
|
|
4877
|
+
<dd>
|
|
4878
|
+
|
|
4879
|
+
<dl>
|
|
4880
|
+
<dd>
|
|
4881
|
+
|
|
4882
|
+
Creates a bridge cards for a customer.
|
|
4883
|
+
|
|
4884
|
+
</dd>
|
|
4885
|
+
</dl>
|
|
4886
|
+
</dd>
|
|
4887
|
+
</dl>
|
|
4888
|
+
|
|
4889
|
+
#### 🔌 Usage
|
|
4890
|
+
|
|
4891
|
+
<dl>
|
|
4892
|
+
<dd>
|
|
4893
|
+
|
|
4894
|
+
<dl>
|
|
4895
|
+
<dd>
|
|
4896
|
+
|
|
4897
|
+
```typescript
|
|
4898
|
+
await client.api.thera.bridge.bridgeApi.createCards("string");
|
|
4899
|
+
```
|
|
4900
|
+
|
|
4901
|
+
</dd>
|
|
4902
|
+
</dl>
|
|
4903
|
+
</dd>
|
|
4904
|
+
</dl>
|
|
4905
|
+
|
|
4906
|
+
#### ⚙️ Parameters
|
|
4907
|
+
|
|
4908
|
+
<dl>
|
|
4909
|
+
<dd>
|
|
4910
|
+
|
|
4911
|
+
<dl>
|
|
4912
|
+
<dd>
|
|
4913
|
+
|
|
4914
|
+
**userId:** `string`
|
|
4915
|
+
|
|
4916
|
+
</dd>
|
|
4917
|
+
</dl>
|
|
4918
|
+
|
|
4919
|
+
<dl>
|
|
4920
|
+
<dd>
|
|
4921
|
+
|
|
4922
|
+
**requestOptions:** `BridgeApi.RequestOptions`
|
|
4923
|
+
|
|
4924
|
+
</dd>
|
|
4925
|
+
</dl>
|
|
4926
|
+
</dd>
|
|
4927
|
+
</dl>
|
|
4928
|
+
|
|
4929
|
+
</dd>
|
|
4930
|
+
</dl>
|
|
4931
|
+
</details>
|
|
4932
|
+
|
|
4933
|
+
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">retrieveCardById</a>(customerId, cardAccountId) -> TheraApi.CardAccount</code></summary>
|
|
4934
|
+
<dl>
|
|
4935
|
+
<dd>
|
|
4936
|
+
|
|
4937
|
+
#### 🔌 Usage
|
|
4938
|
+
|
|
4939
|
+
<dl>
|
|
4940
|
+
<dd>
|
|
4941
|
+
|
|
4942
|
+
<dl>
|
|
4943
|
+
<dd>
|
|
4944
|
+
|
|
4945
|
+
```typescript
|
|
4946
|
+
await client.api.thera.bridge.bridgeApi.retrieveCardById("string", "string");
|
|
4947
|
+
```
|
|
4948
|
+
|
|
4949
|
+
</dd>
|
|
4950
|
+
</dl>
|
|
4951
|
+
</dd>
|
|
4952
|
+
</dl>
|
|
4953
|
+
|
|
4954
|
+
#### ⚙️ Parameters
|
|
4955
|
+
|
|
4956
|
+
<dl>
|
|
4957
|
+
<dd>
|
|
4958
|
+
|
|
4959
|
+
<dl>
|
|
4960
|
+
<dd>
|
|
4961
|
+
|
|
4962
|
+
**customerId:** `string`
|
|
4963
|
+
|
|
4964
|
+
</dd>
|
|
4965
|
+
</dl>
|
|
4966
|
+
|
|
4967
|
+
<dl>
|
|
4968
|
+
<dd>
|
|
4969
|
+
|
|
4970
|
+
**cardAccountId:** `string`
|
|
4971
|
+
|
|
4972
|
+
</dd>
|
|
4973
|
+
</dl>
|
|
4974
|
+
|
|
4975
|
+
<dl>
|
|
4976
|
+
<dd>
|
|
4977
|
+
|
|
4978
|
+
**requestOptions:** `BridgeApi.RequestOptions`
|
|
4979
|
+
|
|
4980
|
+
</dd>
|
|
4981
|
+
</dl>
|
|
4982
|
+
</dd>
|
|
4983
|
+
</dl>
|
|
4984
|
+
|
|
4985
|
+
</dd>
|
|
4986
|
+
</dl>
|
|
4987
|
+
</details>
|
|
4988
|
+
|
|
4989
|
+
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">cardTransactions</a>(customerId, cardAccountId) -> TheraApi.CardTransactionList</code></summary>
|
|
4990
|
+
<dl>
|
|
4991
|
+
<dd>
|
|
4992
|
+
|
|
4993
|
+
#### 🔌 Usage
|
|
4994
|
+
|
|
4995
|
+
<dl>
|
|
4996
|
+
<dd>
|
|
4997
|
+
|
|
4998
|
+
<dl>
|
|
4999
|
+
<dd>
|
|
5000
|
+
|
|
5001
|
+
```typescript
|
|
5002
|
+
await client.api.thera.bridge.bridgeApi.cardTransactions("string", "string");
|
|
5003
|
+
```
|
|
5004
|
+
|
|
5005
|
+
</dd>
|
|
5006
|
+
</dl>
|
|
5007
|
+
</dd>
|
|
5008
|
+
</dl>
|
|
5009
|
+
|
|
5010
|
+
#### ⚙️ Parameters
|
|
5011
|
+
|
|
5012
|
+
<dl>
|
|
5013
|
+
<dd>
|
|
5014
|
+
|
|
5015
|
+
<dl>
|
|
5016
|
+
<dd>
|
|
5017
|
+
|
|
5018
|
+
**customerId:** `string`
|
|
5019
|
+
|
|
5020
|
+
</dd>
|
|
5021
|
+
</dl>
|
|
5022
|
+
|
|
5023
|
+
<dl>
|
|
5024
|
+
<dd>
|
|
5025
|
+
|
|
5026
|
+
**cardAccountId:** `string`
|
|
5027
|
+
|
|
5028
|
+
</dd>
|
|
5029
|
+
</dl>
|
|
5030
|
+
|
|
5031
|
+
<dl>
|
|
5032
|
+
<dd>
|
|
5033
|
+
|
|
5034
|
+
**requestOptions:** `BridgeApi.RequestOptions`
|
|
5035
|
+
|
|
5036
|
+
</dd>
|
|
5037
|
+
</dl>
|
|
5038
|
+
</dd>
|
|
5039
|
+
</dl>
|
|
5040
|
+
|
|
5041
|
+
</dd>
|
|
5042
|
+
</dl>
|
|
5043
|
+
</details>
|
|
5044
|
+
|
|
4870
5045
|
## Company
|
|
4871
5046
|
|
|
4872
5047
|
<details><summary><code>client.api.thera.company.companyApi.<a href="/src/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.ts">getMoniteToken</a>(companyId, { ...params }) -> TheraApi.GetMoniteTokenResponse</code></summary>
|
|
@@ -8823,6 +8998,71 @@ await client.api.thera.misc.misc.autoPayCron({
|
|
|
8823
8998
|
</dl>
|
|
8824
8999
|
</details>
|
|
8825
9000
|
|
|
9001
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">distributeTpPayrollAccountCron</a>({ ...params }) -> void</code></summary>
|
|
9002
|
+
<dl>
|
|
9003
|
+
<dd>
|
|
9004
|
+
|
|
9005
|
+
#### 📝 Description
|
|
9006
|
+
|
|
9007
|
+
<dl>
|
|
9008
|
+
<dd>
|
|
9009
|
+
|
|
9010
|
+
<dl>
|
|
9011
|
+
<dd>
|
|
9012
|
+
|
|
9013
|
+
Calling this API will trigger automatic distribution of Tp payroll amount to omnibus.
|
|
9014
|
+
|
|
9015
|
+
</dd>
|
|
9016
|
+
</dl>
|
|
9017
|
+
</dd>
|
|
9018
|
+
</dl>
|
|
9019
|
+
|
|
9020
|
+
#### 🔌 Usage
|
|
9021
|
+
|
|
9022
|
+
<dl>
|
|
9023
|
+
<dd>
|
|
9024
|
+
|
|
9025
|
+
<dl>
|
|
9026
|
+
<dd>
|
|
9027
|
+
|
|
9028
|
+
```typescript
|
|
9029
|
+
await client.api.thera.misc.misc.distributeTpPayrollAccountCron({
|
|
9030
|
+
theraWebhookSignatureHeader: "string",
|
|
9031
|
+
});
|
|
9032
|
+
```
|
|
9033
|
+
|
|
9034
|
+
</dd>
|
|
9035
|
+
</dl>
|
|
9036
|
+
</dd>
|
|
9037
|
+
</dl>
|
|
9038
|
+
|
|
9039
|
+
#### ⚙️ Parameters
|
|
9040
|
+
|
|
9041
|
+
<dl>
|
|
9042
|
+
<dd>
|
|
9043
|
+
|
|
9044
|
+
<dl>
|
|
9045
|
+
<dd>
|
|
9046
|
+
|
|
9047
|
+
**request:** `TheraApi.api.thera.misc.DistributeTpPayrollAccountCronRequest`
|
|
9048
|
+
|
|
9049
|
+
</dd>
|
|
9050
|
+
</dl>
|
|
9051
|
+
|
|
9052
|
+
<dl>
|
|
9053
|
+
<dd>
|
|
9054
|
+
|
|
9055
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
9056
|
+
|
|
9057
|
+
</dd>
|
|
9058
|
+
</dl>
|
|
9059
|
+
</dd>
|
|
9060
|
+
</dl>
|
|
9061
|
+
|
|
9062
|
+
</dd>
|
|
9063
|
+
</dl>
|
|
9064
|
+
</details>
|
|
9065
|
+
|
|
8826
9066
|
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
|
|
8827
9067
|
<dl>
|
|
8828
9068
|
<dd>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const BlockChain: core.serialization.Schema<serializers.api.thera.bridge.BlockChain.Raw, TheraApi.api.thera.bridge.BlockChain>;
|
|
8
|
+
export declare namespace BlockChain {
|
|
9
|
+
type Raw = "arbitrum" | "avalanche_c_chain" | "base" | "ethereum" | "optimism" | "polygon" | "solana" | "stellar" | "tron";
|
|
10
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BlockChain = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.BlockChain = core.serialization.enum_([
|
|
42
|
+
"arbitrum",
|
|
43
|
+
"avalanche_c_chain",
|
|
44
|
+
"base",
|
|
45
|
+
"ethereum",
|
|
46
|
+
"optimism",
|
|
47
|
+
"polygon",
|
|
48
|
+
"solana",
|
|
49
|
+
"stellar",
|
|
50
|
+
"tron",
|
|
51
|
+
]);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { CardStatus } from "./CardStatus";
|
|
8
|
+
import { CardDetails } from "./CardDetails";
|
|
9
|
+
import { CardBalances } from "./CardBalances";
|
|
10
|
+
import { CardFreeze } from "./CardFreeze";
|
|
11
|
+
import { CryptoAccount } from "./CryptoAccount";
|
|
12
|
+
import { FundingInstructions } from "./FundingInstructions";
|
|
13
|
+
export declare const CardAccount: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardAccount.Raw, TheraApi.api.thera.bridge.CardAccount>;
|
|
14
|
+
export declare namespace CardAccount {
|
|
15
|
+
interface Raw {
|
|
16
|
+
id: string;
|
|
17
|
+
client_reference_id?: string | null;
|
|
18
|
+
customer_id: string;
|
|
19
|
+
card_image_url: string;
|
|
20
|
+
status: CardStatus.Raw;
|
|
21
|
+
status_reason?: string | null;
|
|
22
|
+
card_details: CardDetails.Raw;
|
|
23
|
+
balances: CardBalances.Raw;
|
|
24
|
+
freezes: CardFreeze.Raw[];
|
|
25
|
+
card_account_id: string;
|
|
26
|
+
crypto_account?: CryptoAccount.Raw | null;
|
|
27
|
+
funding_instructions?: FundingInstructions.Raw | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CardAccount = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const CardStatus_1 = require("./CardStatus");
|
|
42
|
+
const CardDetails_1 = require("./CardDetails");
|
|
43
|
+
const CardBalances_1 = require("./CardBalances");
|
|
44
|
+
const CardFreeze_1 = require("./CardFreeze");
|
|
45
|
+
const CryptoAccount_1 = require("./CryptoAccount");
|
|
46
|
+
const FundingInstructions_1 = require("./FundingInstructions");
|
|
47
|
+
exports.CardAccount = core.serialization.object({
|
|
48
|
+
id: core.serialization.string(),
|
|
49
|
+
clientReferenceId: core.serialization.property("client_reference_id", core.serialization.string().optional()),
|
|
50
|
+
customerId: core.serialization.property("customer_id", core.serialization.string()),
|
|
51
|
+
cardImageUrl: core.serialization.property("card_image_url", core.serialization.string()),
|
|
52
|
+
status: CardStatus_1.CardStatus,
|
|
53
|
+
statusReason: core.serialization.property("status_reason", core.serialization.string().optional()),
|
|
54
|
+
cardDetails: core.serialization.property("card_details", CardDetails_1.CardDetails),
|
|
55
|
+
balances: CardBalances_1.CardBalances,
|
|
56
|
+
freezes: core.serialization.list(CardFreeze_1.CardFreeze),
|
|
57
|
+
cardAccountId: core.serialization.property("card_account_id", core.serialization.string()),
|
|
58
|
+
cryptoAccount: core.serialization.property("crypto_account", CryptoAccount_1.CryptoAccount.optional()),
|
|
59
|
+
fundingInstructions: core.serialization.property("funding_instructions", FundingInstructions_1.FundingInstructions.optional()),
|
|
60
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { MoneyAmount } from "./MoneyAmount";
|
|
8
|
+
export declare const CardBalances: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardBalances.Raw, TheraApi.api.thera.bridge.CardBalances>;
|
|
9
|
+
export declare namespace CardBalances {
|
|
10
|
+
interface Raw {
|
|
11
|
+
available: MoneyAmount.Raw;
|
|
12
|
+
hold: MoneyAmount.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CardBalances = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const MoneyAmount_1 = require("./MoneyAmount");
|
|
42
|
+
exports.CardBalances = core.serialization.object({
|
|
43
|
+
available: MoneyAmount_1.MoneyAmount,
|
|
44
|
+
hold: MoneyAmount_1.MoneyAmount,
|
|
45
|
+
});
|