@thera-hr/api-sdk 0.0.1-prerelease3559-dev-2 → 0.0.1-prerelease3559-production
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 +49 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +280 -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/CardPinUrl.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +5 -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/EphemeralKeyRequest.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +5 -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 +22 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -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.js +9 -9
- 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.d.ts +37 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +186 -11
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +16 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +22 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/api/resources/db/resources/user/types/CardAccountDetails.d.ts +13 -0
- package/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
- package/api/resources/db/resources/user/types/CardExpInfo.d.ts +8 -0
- package/api/resources/db/resources/user/types/CardExpInfo.js +5 -0
- package/api/resources/db/resources/user/types/index.d.ts +2 -0
- package/api/resources/db/resources/user/types/index.js +2 -0
- package/dist/api/resources/api/resources/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 +49 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +280 -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/CardPinUrl.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +5 -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/EphemeralKeyRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +5 -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 +22 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -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.js +9 -9
- 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.d.ts +37 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +186 -11
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +16 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +22 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/user/types/BridgeUserDetails.d.ts +1 -0
- package/dist/api/resources/db/resources/user/types/CardAccountDetails.d.ts +13 -0
- package/dist/api/resources/db/resources/user/types/CardAccountDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/CardExpInfo.d.ts +8 -0
- package/dist/api/resources/db/resources/user/types/CardExpInfo.js +5 -0
- package/dist/api/resources/db/resources/user/types/index.d.ts +2 -0
- package/dist/api/resources/db/resources/user/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/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/CardPinUrl.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +43 -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/EphemeralKeyRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +43 -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 +22 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +28 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +59 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +51 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -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 +20 -0
- package/dist/serialization/resources/db/resources/user/types/CardAccountDetails.js +51 -0
- package/dist/serialization/resources/db/resources/user/types/CardExpInfo.d.ts +14 -0
- package/dist/serialization/resources/db/resources/user/types/CardExpInfo.js +45 -0
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/user/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +514 -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/CardPinUrl.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/CardPinUrl.js +43 -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/EphemeralKeyRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/EphemeralKeyRequest.js +43 -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 +22 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +22 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +28 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +59 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +46 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +51 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +3 -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 +20 -0
- package/serialization/resources/db/resources/user/types/CardAccountDetails.js +51 -0
- package/serialization/resources/db/resources/user/types/CardExpInfo.d.ts +14 -0
- package/serialization/resources/db/resources/user/types/CardExpInfo.js +45 -0
- package/serialization/resources/db/resources/user/types/index.d.ts +2 -0
- package/serialization/resources/db/resources/user/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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,12 @@
|
|
|
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 CardPinUrl: core.serialization.ObjectSchema<serializers.api.thera.bridge.CardPinUrl.Raw, TheraApi.api.thera.bridge.CardPinUrl>;
|
|
8
|
+
export declare namespace CardPinUrl {
|
|
9
|
+
interface Raw {
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
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.CardPinUrl = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.CardPinUrl = core.serialization.object({
|
|
42
|
+
url: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -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
|
+
}
|
|
@@ -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.CardTransactionList = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const CardTransaction_1 = require("./CardTransaction");
|
|
42
|
+
exports.CardTransactionList = core.serialization.object({
|
|
43
|
+
page: core.serialization.number(),
|
|
44
|
+
paginationToken: core.serialization.string().optional(),
|
|
45
|
+
count: core.serialization.number(),
|
|
46
|
+
totalPages: core.serialization.number(),
|
|
47
|
+
totalCount: core.serialization.number(),
|
|
48
|
+
data: core.serialization.list(CardTransaction_1.CardTransaction),
|
|
49
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { CryptoCardAccount } from "./CryptoCardAccount";
|
|
8
|
+
export declare const CreateCardRequest: core.serialization.ObjectSchema<serializers.api.thera.bridge.CreateCardRequest.Raw, TheraApi.api.thera.bridge.CreateCardRequest>;
|
|
9
|
+
export declare namespace CreateCardRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
currency: string;
|
|
12
|
+
chain: string;
|
|
13
|
+
crypto_account: CryptoCardAccount.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
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.CreateCardRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const CryptoCardAccount_1 = require("./CryptoCardAccount");
|
|
42
|
+
exports.CreateCardRequest = core.serialization.object({
|
|
43
|
+
currency: core.serialization.string(),
|
|
44
|
+
chain: core.serialization.string(),
|
|
45
|
+
cryptoAccount: core.serialization.property("crypto_account", CryptoCardAccount_1.CryptoCardAccount),
|
|
46
|
+
});
|
|
@@ -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 { CryptoAccountType } from "./CryptoAccountType";
|
|
8
|
+
export declare const CryptoAccount: core.serialization.ObjectSchema<serializers.api.thera.bridge.CryptoAccount.Raw, TheraApi.api.thera.bridge.CryptoAccount>;
|
|
9
|
+
export declare namespace CryptoAccount {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: CryptoAccountType.Raw;
|
|
12
|
+
address: string;
|
|
13
|
+
}
|
|
14
|
+
}
|