@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
|
@@ -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);
|
|
@@ -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
|
+
});
|
|
@@ -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
|
+
export declare const CardDetails: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardDetails.Raw, TheraApi.api.thera.bridge.CardDetails>;
|
|
8
|
+
export declare namespace CardDetails {
|
|
9
|
+
interface Raw {
|
|
10
|
+
last_4: string;
|
|
11
|
+
expiry: string;
|
|
12
|
+
bin: string;
|
|
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.CardDetails = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CardDetails = core.serialization.object({
|
|
42
|
+
last4: core.serialization.property("last_4", core.serialization.string()),
|
|
43
|
+
expiry: core.serialization.string(),
|
|
44
|
+
bin: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { CardFreezeInitiator } from "./CardFreezeInitiator";
|
|
8
|
+
import { CardFreezeReason } from "./CardFreezeReason";
|
|
9
|
+
export declare const CardFreeze: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardFreeze.Raw, TheraApi.api.thera.bridge.CardFreeze>;
|
|
10
|
+
export declare namespace CardFreeze {
|
|
11
|
+
interface Raw {
|
|
12
|
+
initiator: CardFreezeInitiator.Raw;
|
|
13
|
+
reason: CardFreezeReason.Raw;
|
|
14
|
+
reason_detail?: string | null;
|
|
15
|
+
starting_at?: string | null;
|
|
16
|
+
ending_at?: string | null;
|
|
17
|
+
created_at: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.CardFreeze = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const CardFreezeInitiator_1 = require("./CardFreezeInitiator");
|
|
42
|
+
const CardFreezeReason_1 = require("./CardFreezeReason");
|
|
43
|
+
exports.CardFreeze = core.serialization.object({
|
|
44
|
+
initiator: CardFreezeInitiator_1.CardFreezeInitiator,
|
|
45
|
+
reason: CardFreezeReason_1.CardFreezeReason,
|
|
46
|
+
reasonDetail: core.serialization.property("reason_detail", core.serialization.string().optional()),
|
|
47
|
+
startingAt: core.serialization.property("starting_at", core.serialization.date().optional()),
|
|
48
|
+
endingAt: core.serialization.property("ending_at", core.serialization.date().optional()),
|
|
49
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
50
|
+
});
|
|
@@ -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 CardFreezeInitiator: core.serialization.Schema<serializers.api.thera.bridge.CardFreezeInitiator.Raw, TheraApi.api.thera.bridge.CardFreezeInitiator>;
|
|
8
|
+
export declare namespace CardFreezeInitiator {
|
|
9
|
+
type Raw = "bridge" | "developer" | "customer";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CardFreezeInitiator = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CardFreezeInitiator = core.serialization.enum_(["bridge", "developer", "customer"]);
|
|
@@ -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 CardFreezeReason: core.serialization.Schema<serializers.api.thera.bridge.CardFreezeReason.Raw, TheraApi.api.thera.bridge.CardFreezeReason>;
|
|
8
|
+
export declare namespace CardFreezeReason {
|
|
9
|
+
type Raw = "lost_or_stolen" | "suspicious_activity" | "planned_inactivity" | "suspected_fraud" | "other";
|
|
10
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.CardFreezeReason = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CardFreezeReason = core.serialization.enum_([
|
|
42
|
+
"lost_or_stolen",
|
|
43
|
+
"suspicious_activity",
|
|
44
|
+
"planned_inactivity",
|
|
45
|
+
"suspected_fraud",
|
|
46
|
+
"other",
|
|
47
|
+
]);
|
|
@@ -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 CardStatus: core.serialization.Schema<serializers.api.thera.bridge.CardStatus.Raw, TheraApi.api.thera.bridge.CardStatus>;
|
|
8
|
+
export declare namespace CardStatus {
|
|
9
|
+
type Raw = "active" | "pending" | "inactive" | "frozen";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CardStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CardStatus = core.serialization.enum_(["active", "pending", "inactive", "frozen"]);
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { TransactionCategory } from "./TransactionCategory";
|
|
8
|
+
import { TransactionCurrency } from "./TransactionCurrency";
|
|
9
|
+
import { LocalTransactionDetails } from "./LocalTransactionDetails";
|
|
10
|
+
export declare const CardTransaction: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardTransaction.Raw, TheraApi.api.thera.bridge.CardTransaction>;
|
|
11
|
+
export declare namespace CardTransaction {
|
|
12
|
+
interface Raw {
|
|
13
|
+
id: string;
|
|
14
|
+
category: TransactionCategory.Raw;
|
|
15
|
+
amount: string;
|
|
16
|
+
currency: TransactionCurrency.Raw;
|
|
17
|
+
merchantCategoryCode?: string | null;
|
|
18
|
+
merchantName?: string | null;
|
|
19
|
+
merchantLocation?: string | null;
|
|
20
|
+
description: string;
|
|
21
|
+
localTransactionDetails?: LocalTransactionDetails.Raw | null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.CardTransaction = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const TransactionCategory_1 = require("./TransactionCategory");
|
|
42
|
+
const TransactionCurrency_1 = require("./TransactionCurrency");
|
|
43
|
+
const LocalTransactionDetails_1 = require("./LocalTransactionDetails");
|
|
44
|
+
exports.CardTransaction = core.serialization.object({
|
|
45
|
+
id: core.serialization.string(),
|
|
46
|
+
category: TransactionCategory_1.TransactionCategory,
|
|
47
|
+
amount: core.serialization.string(),
|
|
48
|
+
currency: TransactionCurrency_1.TransactionCurrency,
|
|
49
|
+
merchantCategoryCode: core.serialization.string().optional(),
|
|
50
|
+
merchantName: core.serialization.string().optional(),
|
|
51
|
+
merchantLocation: core.serialization.string().optional(),
|
|
52
|
+
description: core.serialization.string(),
|
|
53
|
+
localTransactionDetails: LocalTransactionDetails_1.LocalTransactionDetails.optional(),
|
|
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 { CardTransaction } from "./CardTransaction";
|
|
8
|
+
export declare const CardTransactionList: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardTransactionList.Raw, TheraApi.api.thera.bridge.CardTransactionList>;
|
|
9
|
+
export declare namespace CardTransactionList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
page: number;
|
|
12
|
+
paginationToken?: string | null;
|
|
13
|
+
count: number;
|
|
14
|
+
totalPages: number;
|
|
15
|
+
totalCount: number;
|
|
16
|
+
data: CardTransaction.Raw[];
|
|
17
|
+
}
|
|
18
|
+
}
|