@cobo/cobo-waas2 1.35.0 → 1.36.0
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/README.md +25 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +0 -41
- package/dist/api/AppWorkflowsApi.js +0 -42
- package/dist/api/AutoSweepApi.js +0 -41
- package/dist/api/ComplianceApi.js +0 -107
- package/dist/api/DevelopersApi.js +0 -8
- package/dist/api/DevelopersWebhooksApi.js +0 -64
- package/dist/api/FeeStationApi.js +0 -45
- package/dist/api/GraphQLApi.js +0 -22
- package/dist/api/OAuthApi.js +0 -30
- package/dist/api/OrganizationsApi.js +0 -6
- package/dist/api/PaymentApi.js +53 -486
- package/dist/api/PrimeBrokerApi.js +0 -26
- package/dist/api/StakingsApi.js +0 -167
- package/dist/api/SwapsApi.js +0 -26
- package/dist/api/TokenizationApi.js +0 -161
- package/dist/api/TransactionsApi.js +0 -144
- package/dist/api/TravelRuleApi.js +293 -46
- package/dist/api/WalletsApi.js +0 -165
- package/dist/api/WalletsExchangeWalletApi.js +0 -10
- package/dist/api/WalletsMPCWalletsApi.js +0 -130
- package/dist/api/WalletsSmartContractWalletsApi.js +0 -22
- package/dist/index.js +119 -0
- package/dist/model/Account.js +4 -4
- package/dist/model/Activity.js +8 -14
- package/dist/model/ActivityExtra.js +0 -5
- package/dist/model/AddressBalance.js +8 -3
- package/dist/model/AddressBook.js +7 -10
- package/dist/model/AddressInfo.js +5 -8
- package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +2 -2
- package/dist/model/AddressVerification.js +172 -0
- package/dist/model/AddressVerificationDetail.js +204 -0
- package/dist/model/AddressVerificationDetailSatoshiTestDetail.js +299 -0
- package/dist/model/AddressVerificationDetailSignatureDetail.js +172 -0
- package/dist/model/AddressVerificationMethod.js +61 -0
- package/dist/model/AddressVerificationStatus.js +66 -0
- package/dist/model/AddressesEventData.js +1 -1
- package/dist/model/AddressesEventDataAllOfAddresses.js +6 -9
- package/dist/model/AllocationItem.js +5 -5
- package/dist/model/AllocationParam.js +5 -5
- package/dist/model/AmountDetailsInner.js +1 -1
- package/dist/model/ApiLogDetails.js +8 -8
- package/dist/model/ApiLogSummary.js +2 -2
- package/dist/model/AppWorkflow.js +22 -19
- package/dist/model/AppWorkflowField.js +2 -2
- package/dist/model/AppWorkflowPolicy.js +7 -2
- package/dist/model/ApprovalRequest.js +21 -18
- package/dist/model/ApprovalRequestDetail.js +7 -2
- package/dist/model/ApprovalUser.js +1 -1
- package/dist/model/ApprovalUserDetail.js +9 -0
- package/dist/model/AssetBalance.js +8 -3
- package/dist/model/AssetInfo.js +1 -1
- package/dist/model/AutoSweepTask.js +9 -15
- package/dist/model/BTCBIP137MessageSignDestination.js +1 -1
- package/dist/model/BTCBIP322MessageSignDestination.js +1 -1
- package/dist/model/BabylonAirdropPop.js +6 -6
- package/dist/model/BabylonCreateStakingExpansion.js +8 -3
- package/dist/model/BabylonStakeExtra.js +4 -7
- package/dist/model/BabylonStakingExtra.js +1 -1
- package/dist/model/BabylonValidator.js +4 -7
- package/dist/model/Balance.js +2 -2
- package/dist/model/BalanceUpdateInfo.js +10 -5
- package/dist/model/BalanceUpdateInfoEventData.js +11 -6
- package/dist/model/BankAccount.js +1 -1
- package/dist/model/BaseContractCallSource.js +2 -2
- package/dist/model/BaseStakeSource.js +2 -2
- package/dist/model/BatchAllocation.js +2 -2
- package/dist/model/BatchAllocationDetail.js +2 -2
- package/dist/model/BatchCheckUtxoRequest.js +20 -17
- package/dist/model/BatchUTXOParam.js +4 -7
- package/dist/model/BridgingFee.js +1 -1
- package/dist/model/BroadcastSignedTransactions201ResponseInner.js +2 -2
- package/dist/model/BroadcastSignedTransactionsRequest.js +3 -6
- package/dist/model/CallbackMessage.js +12 -7
- package/dist/model/CancelSatoshiTestChallengeRequest.js +111 -0
- package/dist/model/ChainInfo.js +1 -1
- package/dist/model/ChainsEventData.js +22 -22
- package/dist/model/ChangeGuardPubkey200Response.js +1 -1
- package/dist/model/CheckAddressChainsValidity200ResponseInner.js +1 -1
- package/dist/model/CheckAddressesValidity200ResponseInner.js +1 -1
- package/dist/model/CoboSafeDelegate.js +0 -5
- package/dist/model/CommissionFee.js +1 -1
- package/dist/model/ComplianceDispositionUpdateEventData.js +2 -2
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +4 -4
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +2 -2
- package/dist/model/ContractCallDestination.js +0 -5
- package/dist/model/ContractCallParams.js +19 -12
- package/dist/model/ContractCallSource.js +0 -5
- package/dist/model/CoreStakeExtra.js +2 -2
- package/dist/model/CoreStakingExtra.js +4 -4
- package/dist/model/CosmosAdr36MessageSignDestination.js +1 -1
- package/dist/model/CosmosContractCallDestination.js +19 -16
- package/dist/model/CosmosContractCallMessage.js +2 -2
- package/dist/model/Counterparty.js +1 -1
- package/dist/model/CounterpartyDetail.js +20 -17
- package/dist/model/CounterpartyWalletAddressDetail.js +5 -5
- package/dist/model/CreateAddressBookParam.js +1 -1
- package/dist/model/CreateAddressBooksParam.js +19 -16
- package/dist/model/CreateAddressRequest.js +4 -7
- package/dist/model/CreateApprovalRequest201Response.js +1 -1
- package/dist/model/CreateAutoSweepTask.js +2 -2
- package/dist/model/CreateBatchAllocationRequest.js +20 -17
- package/dist/model/CreateBulkSendRequest.js +33 -17
- package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +3 -3
- package/dist/model/CreateClaimActivity.js +1 -1
- package/dist/model/CreateClaimActivityRequest.js +1 -1
- package/dist/model/CreateCounterpartyEntry201Response.js +20 -17
- package/dist/model/CreateCounterpartyEntryRequest.js +1 -1
- package/dist/model/CreateCounterpartyRequest.js +20 -17
- package/dist/model/CreateCryptoAddressRequest.js +2 -2
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateDestinationBankAccount.js +8 -8
- package/dist/model/CreateDestinationEntry201Response.js +1 -1
- package/dist/model/CreateDestinationEntryRequest.js +1 -1
- package/dist/model/CreateDestinationRequest.js +1 -1
- package/dist/model/CreateExchangeWalletParams.js +3 -3
- package/dist/model/CreateKeyShareHolderGroupRequest.js +19 -16
- package/dist/model/CreateKyaScreeningsBody.js +19 -16
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreateMpcProjectRequest.js +1 -1
- package/dist/model/CreateMpcVaultRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreateOrderLinkRequest.js +7 -2
- package/dist/model/CreatePaymentOrderRequest.js +4 -4
- package/dist/model/CreatePayoutRequest.js +27 -19
- package/dist/model/CreatePrimeBrokerAddress201Response.js +1 -1
- package/dist/model/CreateRefundLinkRequest.js +7 -2
- package/dist/model/CreateRefundRequest.js +3 -3
- package/dist/model/CreateReportRequest.js +3 -6
- package/dist/model/CreateSafeWalletParams.js +5 -8
- package/dist/model/CreateSatoshiTestChallengeRequest.js +176 -0
- package/dist/model/CreateSettlement.js +4 -7
- package/dist/model/CreateSettlementRequestRequest.js +20 -17
- package/dist/model/CreateSmartContractWalletParams.js +0 -5
- package/dist/model/CreateStakeActivity.js +8 -3
- package/dist/model/CreateStakeActivity201Response.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +0 -5
- package/dist/model/CreateStakeActivityRequest.js +8 -3
- package/dist/model/CreateSwapActivityRequest.js +2 -2
- package/dist/model/CreateSweepToAddress.js +2 -2
- package/dist/model/CreateTokenListingRequest201Response.js +1 -1
- package/dist/model/CreateTokenListingRequestRequest.js +2 -2
- package/dist/model/CreateTopUpAddresses.js +1 -1
- package/dist/model/CreateTransferTransaction201Response.js +2 -2
- package/dist/model/CreateTssRequestRequest.js +1 -1
- package/dist/model/CreateUnstakeActivity.js +1 -1
- package/dist/model/CreateUnstakeActivityExtra.js +0 -5
- package/dist/model/CreateUnstakeActivityRequest.js +1 -1
- package/dist/model/CreateWalletAddress.js +2 -2
- package/dist/model/CreateWalletParams.js +0 -5
- package/dist/model/CreateWebhookEndpointRequest.js +1 -1
- package/dist/model/CreateWithdrawActivity.js +8 -3
- package/dist/model/CreateWithdrawActivityRequest.js +8 -3
- package/dist/model/CreatedWalletInfo.js +0 -5
- package/dist/model/CryptoAddress.js +3 -3
- package/dist/model/CustodialTransferDestination.js +2 -2
- package/dist/model/CustodialTransferSource.js +1 -1
- package/dist/model/CustodialWalletInfo.js +3 -3
- package/dist/model/CustodialWeb3ContractCallSource.js +2 -2
- package/dist/model/CustodialWeb3MessageSignSource.js +2 -2
- package/dist/model/CustodialWeb3TransferSource.js +1 -1
- package/dist/model/DeleteCounterpartyById200Response.js +1 -1
- package/dist/model/DeleteCounterpartyEntry200Response.js +1 -1
- package/dist/model/DeleteCryptoAddress201Response.js +1 -1
- package/dist/model/DeleteDestinationById200Response.js +1 -1
- package/dist/model/DeleteDestinationEntry200Response.js +1 -1
- package/dist/model/DeleteGuardPubkey201Response.js +1 -1
- package/dist/model/Destination.js +1 -1
- package/dist/model/DestinationBankAccount.js +9 -9
- package/dist/model/DestinationBankAccountDetail.js +11 -11
- package/dist/model/DestinationDetail.js +2 -2
- package/dist/model/DestinationWalletAddressDetail.js +5 -5
- package/dist/model/DispositionEventData.js +1 -1
- package/dist/model/DispositionQueryResponse.js +1 -1
- package/dist/model/DispositionResponse.js +1 -1
- package/dist/model/EigenlayerValidator.js +3 -3
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +8 -3
- package/dist/model/EstimateFeeParams.js +0 -5
- package/dist/model/EstimateStakeFee.js +8 -3
- package/dist/model/EstimateTransferFeeParams.js +8 -3
- package/dist/model/EstimateUnstakeFee.js +1 -1
- package/dist/model/EstimateWithdrawFee.js +8 -3
- package/dist/model/EstimatedEvmEip1559Fee.js +8 -3
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -3
- package/dist/model/EstimatedEvmLegacyFee.js +8 -3
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +2 -2
- package/dist/model/EstimatedFILFee.js +8 -3
- package/dist/model/EstimatedFILFeeSlow.js +4 -4
- package/dist/model/EstimatedFee.js +0 -5
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +8 -3
- package/dist/model/EstimatedSOLFeeSlow.js +3 -3
- package/dist/model/EstimatedUtxoFee.js +8 -3
- package/dist/model/EstimatedUtxoFeeSlow.js +2 -2
- package/dist/model/EthStakeEstimatedFee.js +3 -6
- package/dist/model/EthStakeExtra.js +1 -1
- package/dist/model/EthStakingActivityDetailExtra.js +3 -6
- package/dist/model/EthStakingExtra.js +1 -1
- package/dist/model/EvmContractCallDestination.js +2 -2
- package/dist/model/EvmEIP191MessageSignDestination.js +1 -1
- package/dist/model/EvmEip1559FeeRate.js +8 -3
- package/dist/model/EvmLegacyFeeRate.js +8 -3
- package/dist/model/ExchangePermissionTokenRequest.js +1 -1
- package/dist/model/ExchangeRate.js +3 -3
- package/dist/model/ExchangeTransferDestination.js +3 -3
- package/dist/model/ExchangeTransferSource.js +2 -2
- package/dist/model/ExchangeWalletInfo.js +4 -4
- package/dist/model/ExtendedTokenInfo.js +2 -2
- package/dist/model/FeeRate.js +0 -5
- package/dist/model/FeeStationCheckFeeStationUsage.js +4 -4
- package/dist/model/FeeStationCheckFeeStationUsageResponse.js +4 -4
- package/dist/model/FeeStationDestination.js +1 -1
- package/dist/model/FeeStationFiatTransaction.js +7 -10
- package/dist/model/FeeStationSponsorTransactionDescription.js +2 -2
- package/dist/model/FeeStationTransfer.js +1 -1
- package/dist/model/FixedFeeRate.js +1 -1
- package/dist/model/ForcedSweep.js +2 -2
- package/dist/model/ForcedSweepRequest.js +4 -4
- package/dist/model/GetApiKeyInfo200Response.js +6 -9
- package/dist/model/GetExchangeRate200Response.js +3 -3
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +9 -4
- package/dist/model/GetStakingEstimationFee201Response.js +0 -5
- package/dist/model/GetStakingEstimationFeeRequest.js +0 -5
- package/dist/model/GetToken4XXResponse.js +2 -2
- package/dist/model/GetTransactionLimitation200Response.js +13 -7
- package/dist/model/GraphQLError.js +3 -6
- package/dist/model/GraphQLRequest.js +1 -1
- package/dist/model/IntermediaryBankInfo.js +2 -2
- package/dist/model/IsolateDisposition.js +6 -9
- package/dist/model/KyaRiskDetail.js +2 -2
- package/dist/model/KyaScreeningRequest.js +3 -3
- package/dist/model/KyaScreeningResult.js +5 -5
- package/dist/model/KyaScreeningsEventData.js +3 -3
- package/dist/model/KytScreeningsEventData.js +1 -1
- package/dist/model/KytScreeningsTransaction.js +1 -1
- package/dist/model/Link.js +2 -2
- package/dist/model/ListAddressVerifications200Response.js +147 -0
- package/dist/model/ListBulkSends200Response.js +123 -0
- package/dist/model/ListCallbackMessages200Response.js +25 -17
- package/dist/model/ListKyaScreenings200Response.js +25 -17
- package/dist/model/ListSupportedCountries200ResponseInner.js +3 -3
- package/dist/model/ListTokenBalancesForFeeStation200ResponseDataInner.js +8 -3
- package/dist/model/ListTokenizationBlocklistAddresses200Response.js +25 -17
- package/dist/model/ListTopUpPayers200ResponseDataInner.js +3 -3
- package/dist/model/LockUtxosRequest.js +19 -16
- package/dist/model/LockUtxosRequestUtxosInner.js +2 -2
- package/dist/model/MPCDelegate.js +2 -2
- package/dist/model/MPCVaultEventData.js +1 -1
- package/dist/model/MPCWalletInfo.js +4 -4
- package/dist/model/Merchant.js +3 -3
- package/dist/model/MerchantBalance.js +2 -2
- package/dist/model/MessageSignDestination.js +0 -5
- package/dist/model/MessageSignParams.js +19 -12
- package/dist/model/MessageSignSource.js +0 -5
- package/dist/model/MpcContractCallSource.js +2 -2
- package/dist/model/MpcMessageSignSource.js +2 -2
- package/dist/model/MpcSigningGroup.js +4 -7
- package/dist/model/MpcStakeSource.js +2 -2
- package/dist/model/MpcTransferSource.js +1 -1
- package/dist/model/Order.js +8 -8
- package/dist/model/OrderLinkBusinessInfo.js +8 -11
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -2
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +2 -2
- package/dist/model/OrgInfo.js +1 -1
- package/dist/model/OtcFee.js +1 -1
- package/dist/model/Pagination.js +2 -2
- package/dist/model/PayerAccount.js +3 -3
- package/dist/model/PaymentAddressUpdateEventData.js +6 -6
- package/dist/model/PaymentAllocationAmount.js +2 -2
- package/dist/model/PaymentBulkSend.js +15 -2
- package/dist/model/PaymentBulkSendEvent.js +21 -3
- package/dist/model/PaymentBulkSendItem.js +4 -4
- package/dist/model/PaymentEstimateFee.js +2 -2
- package/dist/model/PaymentEstimateFeeRequest.js +19 -16
- package/dist/model/PaymentEstimatedFee.js +2 -2
- package/dist/model/PaymentOrderEventData.js +9 -9
- package/dist/model/PaymentPayout.js +2 -2
- package/dist/model/PaymentPayoutDetail.js +2 -2
- package/dist/model/PaymentPayoutEvent.js +3 -3
- package/dist/model/PaymentPayoutItem.js +2 -2
- package/dist/model/PaymentPayoutParam.js +2 -2
- package/dist/model/PaymentRefundEventData.js +6 -6
- package/dist/model/PaymentSettlementEvent.js +22 -19
- package/dist/model/PaymentTransaction.js +4 -4
- package/dist/model/PaymentTransactionEventData.js +26 -25
- package/dist/model/PaymentWalletBalance.js +2 -2
- package/dist/model/PolicyActionContent.js +7 -13
- package/dist/model/PolicyCondition.js +2 -2
- package/dist/model/PoolDetails.js +24 -21
- package/dist/model/PoolDetailsAllOfValidatorsInfo.js +0 -5
- package/dist/model/PoolSummary.js +5 -5
- package/dist/model/PreCheck.js +3 -6
- package/dist/model/PspBalance.js +1 -1
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +2 -2
- package/dist/model/RefreshPermissionTokenRequest.js +1 -1
- package/dist/model/Refund.js +5 -5
- package/dist/model/RefundDisposition.js +6 -9
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Report.js +2 -2
- package/dist/model/RequestApproval.js +23 -20
- package/dist/model/RevokeApprovalRequest201Response.js +1 -1
- package/dist/model/RevokeApprovalRequestRequest.js +1 -1
- package/dist/model/RoleScopes.js +8 -3
- package/dist/model/SafeContractCallSource.js +9 -4
- package/dist/model/SafeTransferSource.js +9 -4
- package/dist/model/SafeTxExtraData.js +8 -8
- package/dist/model/SafeWallet.js +6 -9
- package/dist/model/SafeWalletDelegates.js +0 -5
- package/dist/model/SafeWalletDelegatesTransfer.js +1 -1
- package/dist/model/SatoshiTestCancelResult.js +144 -0
- package/dist/model/SatoshiTestChallenge.js +239 -0
- package/dist/model/SatoshiTestChallengeAction.js +61 -0
- package/dist/model/SatoshiTestChallengeStatus.js +81 -0
- package/dist/model/Scopes.js +15 -30
- package/dist/model/SelfCustodyWallet.js +3 -3
- package/dist/model/Settlement.js +21 -18
- package/dist/model/SettlementDetail.js +3 -6
- package/dist/model/SettlementInfo.js +1 -1
- package/dist/model/SignatureChallenge.js +137 -0
- package/dist/model/SignatureDetail.js +146 -0
- package/dist/model/SmartContractInitiator.js +2 -2
- package/dist/model/SmartContractWalletInfo.js +0 -5
- package/dist/model/SolContractCallAccount.js +1 -1
- package/dist/model/SolContractCallAddressLookupTableAccount.js +1 -1
- package/dist/model/SolContractCallDestination.js +21 -18
- package/dist/model/SolContractCallInstruction.js +21 -18
- package/dist/model/SourceGroup.js +4 -7
- package/dist/model/StakingSource.js +0 -5
- package/dist/model/Stakings.js +25 -22
- package/dist/model/StakingsExtra.js +0 -5
- package/dist/model/StellarContractCallContractParam.js +0 -5
- package/dist/model/StellarContractCallDestination.js +7 -2
- package/dist/model/StellarContractCallTrustLineParam.js +1 -1
- package/dist/model/SubWalletAssetBalance.js +8 -3
- package/dist/model/SubmitKytResponse.js +1 -1
- package/dist/model/SubmitKytScreeningsDecisionsBody.js +1 -1
- package/dist/model/SubmitKytScreeningsReviewBody.js +1 -1
- package/dist/model/SupportedToken.js +6 -6
- package/dist/model/SuspendedTokenEventData.js +2 -2
- package/dist/model/SwapActivityApprovers.js +1 -1
- package/dist/model/SwapActivityTimeline.js +2 -2
- package/dist/model/SwapEstimateFee.js +2 -2
- package/dist/model/SwapQuote.js +7 -7
- package/dist/model/SwapReceivingTransaction.js +1 -1
- package/dist/model/SwapToken.js +3 -3
- package/dist/model/SweepToAddress.js +2 -2
- package/dist/model/TSSEventData.js +0 -5
- package/dist/model/TSSKeyGenRequest.js +3 -6
- package/dist/model/TSSKeyReshareRequest.js +6 -12
- package/dist/model/TSSKeySignRequest.js +12 -24
- package/dist/model/TSSRequestWebhookEventData.js +1 -1
- package/dist/model/TokenBalance.js +8 -3
- package/dist/model/TokenInfo.js +2 -2
- package/dist/model/TokenListing.js +3 -3
- package/dist/model/TokenListingEventData.js +4 -4
- package/dist/model/TokenizationActivityInfo.js +10 -5
- package/dist/model/TokenizationAddressPermission.js +1 -1
- package/dist/model/TokenizationAllowlistActivationParams.js +7 -2
- package/dist/model/TokenizationAllowlistActivationRequest.js +14 -4
- package/dist/model/TokenizationAllowlistAddressNote.js +1 -1
- package/dist/model/TokenizationAllowlistAddressesResponse.js +25 -17
- package/dist/model/TokenizationBlocklistAddressNote.js +1 -1
- package/dist/model/TokenizationBurnEstimateFeeParams.js +26 -18
- package/dist/model/TokenizationBurnTokenParams.js +25 -17
- package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +2 -2
- package/dist/model/TokenizationBurnTokenRequest.js +32 -19
- package/dist/model/TokenizationContractCallEstimateFeeParams.js +1 -1
- package/dist/model/TokenizationContractCallParamsData.js +0 -5
- package/dist/model/TokenizationContractCallRequest.js +7 -2
- package/dist/model/TokenizationERC20TokenParams.js +2 -2
- package/dist/model/TokenizationERC20TokenPermissionParams.js +21 -42
- package/dist/model/TokenizationERC20WrappedTokenParams.js +3 -3
- package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +21 -42
- package/dist/model/TokenizationEstimateFeeRequest.js +7 -2
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +0 -5
- package/dist/model/TokenizationEvmContractCallParams.js +1 -1
- package/dist/model/TokenizationHoldingInfo.js +3 -3
- package/dist/model/TokenizationIssueEstimateFeeParams.js +15 -5
- package/dist/model/TokenizationIssueTokenParams.js +15 -5
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +0 -5
- package/dist/model/TokenizationIssuedTokenRequest.js +22 -7
- package/dist/model/TokenizationListActivitiesResponse.js +25 -17
- package/dist/model/TokenizationListEnabledChainsResponse.js +7 -2
- package/dist/model/TokenizationListHoldingsResponse.js +25 -17
- package/dist/model/TokenizationListPermissionsResponse.js +25 -17
- package/dist/model/TokenizationListPermissionsResponseDataInner.js +1 -1
- package/dist/model/TokenizationListTokenInfoResponse.js +25 -17
- package/dist/model/TokenizationMintEstimateFeeParams.js +26 -18
- package/dist/model/TokenizationMintTokenParams.js +25 -17
- package/dist/model/TokenizationMintTokenParamsMintsInner.js +2 -2
- package/dist/model/TokenizationMintTokenRequest.js +32 -19
- package/dist/model/TokenizationMpcOperationSource.js +2 -2
- package/dist/model/TokenizationOperationResponse.js +1 -1
- package/dist/model/TokenizationPauseEstimateFeeParams.js +8 -3
- package/dist/model/TokenizationPauseTokenParams.js +7 -2
- package/dist/model/TokenizationPauseTokenRequest.js +14 -4
- package/dist/model/TokenizationSOLTokenParams.js +2 -2
- package/dist/model/TokenizationSOLWrappedTokenParams.js +3 -3
- package/dist/model/TokenizationSolContractCallParams.js +19 -16
- package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +3 -6
- package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +8 -3
- package/dist/model/TokenizationTokenDetailInfo.js +3 -3
- package/dist/model/TokenizationTokenInfo.js +3 -3
- package/dist/model/TokenizationTokenOperationSource.js +0 -5
- package/dist/model/TokenizationTokenPermission.js +2 -2
- package/dist/model/TokenizationUnpauseEstimateFeeParams.js +8 -3
- package/dist/model/TokenizationUnpauseTokenParams.js +7 -2
- package/dist/model/TokenizationUnpauseTokenRequest.js +14 -4
- package/dist/model/TokenizationUpdateAddressPermissions.js +1 -1
- package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +26 -18
- package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +25 -17
- package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
- package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +32 -19
- package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +26 -18
- package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +25 -17
- package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
- package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +32 -19
- package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +26 -18
- package/dist/model/TokenizationUpdatePermissionsParams.js +25 -17
- package/dist/model/TokenizationUpdatePermissionsRequest.js +32 -19
- package/dist/model/TokenizationWeb3OperationSource.js +2 -2
- package/dist/model/TokensEventData.js +22 -22
- package/dist/model/TopUpAddress.js +6 -6
- package/dist/model/Transaction.js +25 -24
- package/dist/model/TransactionBIP137Destination.js +1 -1
- package/dist/model/TransactionBIP322Destination.js +1 -1
- package/dist/model/TransactionCosmosAdr36Destination.js +1 -1
- package/dist/model/TransactionCosmosContractDestination.js +19 -16
- package/dist/model/TransactionCosmosMessage.js +2 -2
- package/dist/model/TransactionCustodialAssetWalletSource.js +1 -1
- package/dist/model/TransactionCustodialWeb3WalletSource.js +1 -1
- package/dist/model/TransactionDepositFromWalletSource.js +1 -1
- package/dist/model/TransactionDepositToAddressDestination.js +3 -3
- package/dist/model/TransactionDepositToWalletDestination.js +2 -2
- package/dist/model/TransactionDestination.js +0 -5
- package/dist/model/TransactionDetail.js +25 -24
- package/dist/model/TransactionDetails.js +25 -24
- package/dist/model/TransactionEvmContractDestination.js +2 -2
- package/dist/model/TransactionExchangeWalletSource.js +1 -1
- package/dist/model/TransactionExtra.js +0 -5
- package/dist/model/TransactionFee.js +0 -5
- package/dist/model/TransactionFeeStationWalletSource.js +1 -1
- package/dist/model/TransactionMPCWalletSource.js +1 -1
- package/dist/model/TransactionMessageSignEIP191Destination.js +1 -1
- package/dist/model/TransactionRbf.js +11 -9
- package/dist/model/TransactionRbfSource.js +0 -5
- package/dist/model/TransactionRequestEvmEip1559Fee.js +3 -3
- package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
- package/dist/model/TransactionRequestFILFee.js +3 -3
- package/dist/model/TransactionRequestFee.js +0 -5
- package/dist/model/TransactionRequestFixedFee.js +1 -1
- package/dist/model/TransactionRequestSOLFee.js +3 -3
- package/dist/model/TransactionRequestUtxoFee.js +1 -1
- package/dist/model/TransactionResend.js +1 -1
- package/dist/model/TransactionResult.js +0 -5
- package/dist/model/TransactionSignatureResult.js +1 -1
- package/dist/model/TransactionSmartContractSafeWalletSource.js +2 -2
- package/dist/model/TransactionSolContractAddressLookupTableAccount.js +1 -1
- package/dist/model/TransactionSource.js +0 -5
- package/dist/model/TransactionStellarContractParam.js +0 -5
- package/dist/model/TransactionStellarDestination.js +7 -2
- package/dist/model/TransactionStellarTrustLineParam.js +1 -1
- package/dist/model/TransactionTokeApproval.js +2 -2
- package/dist/model/TransactionTokenAmount.js +2 -2
- package/dist/model/TransactionTransferToWalletDestination.js +2 -2
- package/dist/model/TransactionTronContractDestination.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +26 -25
- package/dist/model/TransferDestination.js +0 -5
- package/dist/model/TransferParams.js +17 -10
- package/dist/model/TransferSource.js +0 -5
- package/dist/model/TravelRuleDepositExchangesOrVASP.js +9 -4
- package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +0 -5
- package/dist/model/TravelRuleDepositLegalEntity.js +2 -2
- package/dist/model/TravelRuleDepositNaturalEntity.js +3 -3
- package/dist/model/TravelRuleDepositRequest.js +8 -3
- package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +0 -5
- package/dist/model/TravelRuleTransactionType.js +61 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +9 -4
- package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +0 -5
- package/dist/model/TravelRuleWithdrawLegalEntity.js +1 -1
- package/dist/model/TravelRuleWithdrawNaturalEntity.js +2 -2
- package/dist/model/TravelRuleWithdrawRequest.js +8 -3
- package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +0 -5
- package/dist/model/TronContractCallDestination.js +2 -2
- package/dist/model/UnfreezeDisposition.js +1 -1
- package/dist/model/UpdateCounterpartyRequest.js +1 -1
- package/dist/model/UpdateDestinationBankAccount.js +8 -8
- package/dist/model/UpdateDestinationEntryRequest.js +1 -1
- package/dist/model/UpdateDestinationRequest.js +1 -1
- package/dist/model/UpdateExchangeWalletParams.js +1 -1
- package/dist/model/UpdateMpcProjectByIdRequest.js +1 -1
- package/dist/model/UpdateMpcVaultByIdRequest.js +1 -1
- package/dist/model/UpdateRefundByIdRequest.js +1 -1
- package/dist/model/UpdateSmartContractWalletParams.js +1 -1
- package/dist/model/UpdateTopUpAddress.js +2 -2
- package/dist/model/UpdateWalletParams.js +0 -5
- package/dist/model/UpdateWebhookEndpointByIdRequest.js +3 -6
- package/dist/model/UtxoFeeRate.js +8 -3
- package/dist/model/Vasp.js +3 -3
- package/dist/model/WalletAddress.js +3 -3
- package/dist/model/WalletInfo.js +0 -5
- package/dist/model/WalletInfoEventData.js +1 -1
- package/dist/model/WebhookEndpoint.js +1 -1
- package/dist/model/WebhookEvent.js +8 -3
- package/dist/model/WebhookEventData.js +1 -6
- package/dist/model/WebhookEventDataType.js +1 -1
- package/dist/model/WebhookEventLog.js +8 -3
- package/docs/AddressVerification.md +14 -0
- package/docs/AddressVerificationDetail.md +16 -0
- package/docs/AddressVerificationDetailSatoshiTestDetail.md +19 -0
- package/docs/AddressVerificationDetailSignatureDetail.md +12 -0
- package/docs/AddressVerificationMethod.md +12 -0
- package/docs/AddressVerificationStatus.md +14 -0
- package/docs/ApprovalUserDetail.md +1 -0
- package/docs/CancelSatoshiTestChallengeRequest.md +9 -0
- package/docs/CreateBulkSendRequest.md +1 -0
- package/docs/CreateSatoshiTestChallengeRequest.md +14 -0
- package/docs/GetTransactionLimitation200Response.md +2 -1
- package/docs/ListAddressVerifications200Response.md +10 -0
- package/docs/ListBulkSends200Response.md +10 -0
- package/docs/PaymentApi.md +59 -0
- package/docs/PaymentBulkSend.md +1 -0
- package/docs/PaymentBulkSendEvent.md +1 -0
- package/docs/SatoshiTestCancelResult.md +21 -0
- package/docs/SatoshiTestChallenge.md +19 -0
- package/docs/SatoshiTestChallengeAction.md +12 -0
- package/docs/SatoshiTestChallengeStatus.md +20 -0
- package/docs/SignatureChallenge.md +11 -0
- package/docs/SignatureDetail.md +12 -0
- package/docs/TravelRuleApi.md +325 -1
- package/docs/TravelRuleTransactionType.md +12 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +1 -1
package/dist/api/WalletsApi.js
CHANGED
|
@@ -56,45 +56,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
56
56
|
* Do not edit the class manually.
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
60
|
-
var _modelClasses = {
|
|
61
|
-
'AddressInfo': _AddressInfo["default"],
|
|
62
|
-
'BatchCheckUtxo201Response': _BatchCheckUtxo201Response["default"],
|
|
63
|
-
'BatchCheckUtxoRequest': _BatchCheckUtxoRequest["default"],
|
|
64
|
-
'ChainInfo': _ChainInfo["default"],
|
|
65
|
-
'CheckAddressChainsValidity200ResponseInner': _CheckAddressChainsValidity200ResponseInner["default"],
|
|
66
|
-
'CheckAddressValidity200Response': _CheckAddressValidity200Response["default"],
|
|
67
|
-
'CheckAddressesValidity200ResponseInner': _CheckAddressesValidity200ResponseInner["default"],
|
|
68
|
-
'CreateAddressRequest': _CreateAddressRequest["default"],
|
|
69
|
-
'CreateTokenListingRequest201Response': _CreateTokenListingRequest201Response["default"],
|
|
70
|
-
'CreateTokenListingRequestRequest': _CreateTokenListingRequestRequest["default"],
|
|
71
|
-
'CreateWalletParams': _CreateWalletParams["default"],
|
|
72
|
-
'CreatedWalletInfo': _CreatedWalletInfo["default"],
|
|
73
|
-
'DeleteWalletById201Response': _DeleteWalletById201Response["default"],
|
|
74
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
75
|
-
'ExtendedTokenInfo': _ExtendedTokenInfo["default"],
|
|
76
|
-
'GetMaxTransferableValueWithFeeModelRequest': _GetMaxTransferableValueWithFeeModelRequest["default"],
|
|
77
|
-
'ListAddressBalancesByToken200Response': _ListAddressBalancesByToken200Response["default"],
|
|
78
|
-
'ListAddresses200Response': _ListAddresses200Response["default"],
|
|
79
|
-
'ListSupportedChains200Response': _ListSupportedChains200Response["default"],
|
|
80
|
-
'ListSupportedTokens200Response': _ListSupportedTokens200Response["default"],
|
|
81
|
-
'ListTokenBalancesForAddress200Response': _ListTokenBalancesForAddress200Response["default"],
|
|
82
|
-
'ListTokenListingRequests200Response': _ListTokenListingRequests200Response["default"],
|
|
83
|
-
'ListUtxos200Response': _ListUtxos200Response["default"],
|
|
84
|
-
'ListWallets200Response': _ListWallets200Response["default"],
|
|
85
|
-
'LockUtxos201Response': _LockUtxos201Response["default"],
|
|
86
|
-
'LockUtxosRequest': _LockUtxosRequest["default"],
|
|
87
|
-
'MaxTransferableValue': _MaxTransferableValue["default"],
|
|
88
|
-
'RefreshAddressBalancesByToken200Response': _RefreshAddressBalancesByToken200Response["default"],
|
|
89
|
-
'RefreshAddressBalancesByTokenRequest': _RefreshAddressBalancesByTokenRequest["default"],
|
|
90
|
-
'TokenListing': _TokenListing["default"],
|
|
91
|
-
'TokenListingRequestStatus': _TokenListingRequestStatus["default"],
|
|
92
|
-
'UpdateWalletParams': _UpdateWalletParams["default"],
|
|
93
|
-
'WalletInfo': _WalletInfo["default"],
|
|
94
|
-
'WalletSubtype': _WalletSubtype["default"],
|
|
95
|
-
'WalletType': _WalletType["default"]
|
|
96
|
-
};
|
|
97
|
-
|
|
98
59
|
/**
|
|
99
60
|
* Wallets service.
|
|
100
61
|
* @module api/WalletsApi
|
|
@@ -132,21 +93,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
132
93
|
if (wallet_id === undefined || wallet_id === null) {
|
|
133
94
|
throw new Error("Missing the required parameter 'wallet_id' when calling batchCheckUtxo");
|
|
134
95
|
}
|
|
135
|
-
// Validate opts key — must be exactly 'BatchCheckUtxoRequest'
|
|
136
|
-
if (postBody === undefined && opts) {
|
|
137
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
138
|
-
return k !== '_base_path_index';
|
|
139
|
-
});
|
|
140
|
-
if (_providedKeys.length > 0) {
|
|
141
|
-
throw new Error('batchCheckUtxo(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "BatchCheckUtxoRequest".');
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
// Validate request body before sending
|
|
145
|
-
if (postBody !== null && postBody !== undefined) {
|
|
146
|
-
if (_modelClasses['BatchCheckUtxoRequest'] && typeof _modelClasses['BatchCheckUtxoRequest'].validateJSON === 'function') {
|
|
147
|
-
_modelClasses['BatchCheckUtxoRequest'].validateJSON(postBody);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
96
|
var pathParams = {
|
|
151
97
|
'wallet_id': wallet_id
|
|
152
98
|
};
|
|
@@ -349,21 +295,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
349
295
|
if (wallet_id === undefined || wallet_id === null) {
|
|
350
296
|
throw new Error("Missing the required parameter 'wallet_id' when calling createAddress");
|
|
351
297
|
}
|
|
352
|
-
// Validate opts key — must be exactly 'CreateAddressRequest'
|
|
353
|
-
if (postBody === undefined && opts) {
|
|
354
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
355
|
-
return k !== '_base_path_index';
|
|
356
|
-
});
|
|
357
|
-
if (_providedKeys.length > 0) {
|
|
358
|
-
throw new Error('createAddress(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateAddressRequest".');
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
// Validate request body before sending
|
|
362
|
-
if (postBody !== null && postBody !== undefined) {
|
|
363
|
-
if (_modelClasses['CreateAddressRequest'] && typeof _modelClasses['CreateAddressRequest'].validateJSON === 'function') {
|
|
364
|
-
_modelClasses['CreateAddressRequest'].validateJSON(postBody);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
298
|
var pathParams = {
|
|
368
299
|
'wallet_id': wallet_id
|
|
369
300
|
};
|
|
@@ -410,12 +341,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
410
341
|
if (CreateTokenListingRequestRequest === undefined || CreateTokenListingRequestRequest === null) {
|
|
411
342
|
throw new Error("Missing the required parameter 'CreateTokenListingRequestRequest' when calling createTokenListingRequest");
|
|
412
343
|
}
|
|
413
|
-
// Validate request body before sending
|
|
414
|
-
if (postBody !== null && postBody !== undefined) {
|
|
415
|
-
if (_modelClasses['CreateTokenListingRequestRequest'] && typeof _modelClasses['CreateTokenListingRequestRequest'].validateJSON === 'function') {
|
|
416
|
-
_modelClasses['CreateTokenListingRequestRequest'].validateJSON(postBody);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
344
|
var pathParams = {};
|
|
420
345
|
var queryParams = {};
|
|
421
346
|
var headerParams = {};
|
|
@@ -456,21 +381,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
456
381
|
if (postBody && postBody.toJSON) {
|
|
457
382
|
postBody = postBody.toJSON();
|
|
458
383
|
}
|
|
459
|
-
// Validate opts key — must be exactly 'CreateWalletParams'
|
|
460
|
-
if (postBody === undefined && opts) {
|
|
461
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
462
|
-
return k !== '_base_path_index';
|
|
463
|
-
});
|
|
464
|
-
if (_providedKeys.length > 0) {
|
|
465
|
-
throw new Error('createWallet(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateWalletParams".');
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
// Validate request body before sending
|
|
469
|
-
if (postBody !== null && postBody !== undefined) {
|
|
470
|
-
if (_modelClasses['CreateWalletParams'] && typeof _modelClasses['CreateWalletParams'].validateJSON === 'function') {
|
|
471
|
-
_modelClasses['CreateWalletParams'].validateJSON(postBody);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
384
|
var pathParams = {};
|
|
475
385
|
var queryParams = {};
|
|
476
386
|
var headerParams = {};
|
|
@@ -677,21 +587,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
677
587
|
if (wallet_id === undefined || wallet_id === null) {
|
|
678
588
|
throw new Error("Missing the required parameter 'wallet_id' when calling getMaxTransferableValueWithFeeModel");
|
|
679
589
|
}
|
|
680
|
-
// Validate opts key — must be exactly 'GetMaxTransferableValueWithFeeModelRequest'
|
|
681
|
-
if (postBody === undefined && opts) {
|
|
682
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
683
|
-
return k !== '_base_path_index';
|
|
684
|
-
});
|
|
685
|
-
if (_providedKeys.length > 0) {
|
|
686
|
-
throw new Error('getMaxTransferableValueWithFeeModel(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "GetMaxTransferableValueWithFeeModelRequest".');
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
// Validate request body before sending
|
|
690
|
-
if (postBody !== null && postBody !== undefined) {
|
|
691
|
-
if (_modelClasses['GetMaxTransferableValueWithFeeModelRequest'] && typeof _modelClasses['GetMaxTransferableValueWithFeeModelRequest'].validateJSON === 'function') {
|
|
692
|
-
_modelClasses['GetMaxTransferableValueWithFeeModelRequest'].validateJSON(postBody);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
590
|
var pathParams = {
|
|
696
591
|
'wallet_id': wallet_id
|
|
697
592
|
};
|
|
@@ -1631,21 +1526,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1631
1526
|
if (wallet_id === undefined || wallet_id === null) {
|
|
1632
1527
|
throw new Error("Missing the required parameter 'wallet_id' when calling lockUtxos");
|
|
1633
1528
|
}
|
|
1634
|
-
// Validate opts key — must be exactly 'LockUtxosRequest'
|
|
1635
|
-
if (postBody === undefined && opts) {
|
|
1636
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1637
|
-
return k !== '_base_path_index';
|
|
1638
|
-
});
|
|
1639
|
-
if (_providedKeys.length > 0) {
|
|
1640
|
-
throw new Error('lockUtxos(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "LockUtxosRequest".');
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
// Validate request body before sending
|
|
1644
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1645
|
-
if (_modelClasses['LockUtxosRequest'] && typeof _modelClasses['LockUtxosRequest'].validateJSON === 'function') {
|
|
1646
|
-
_modelClasses['LockUtxosRequest'].validateJSON(postBody);
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
1529
|
var pathParams = {
|
|
1650
1530
|
'wallet_id': wallet_id
|
|
1651
1531
|
};
|
|
@@ -1700,21 +1580,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1700
1580
|
if (token_id === undefined || token_id === null) {
|
|
1701
1581
|
throw new Error("Missing the required parameter 'token_id' when calling refreshAddressBalancesByToken");
|
|
1702
1582
|
}
|
|
1703
|
-
// Validate opts key — must be exactly 'RefreshAddressBalancesByTokenRequest'
|
|
1704
|
-
if (postBody === undefined && opts) {
|
|
1705
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1706
|
-
return k !== '_base_path_index';
|
|
1707
|
-
});
|
|
1708
|
-
if (_providedKeys.length > 0) {
|
|
1709
|
-
throw new Error('refreshAddressBalancesByToken(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "RefreshAddressBalancesByTokenRequest".');
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
// Validate request body before sending
|
|
1713
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1714
|
-
if (_modelClasses['RefreshAddressBalancesByTokenRequest'] && typeof _modelClasses['RefreshAddressBalancesByTokenRequest'].validateJSON === 'function') {
|
|
1715
|
-
_modelClasses['RefreshAddressBalancesByTokenRequest'].validateJSON(postBody);
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
1583
|
var pathParams = {
|
|
1719
1584
|
'wallet_id': wallet_id,
|
|
1720
1585
|
'token_id': token_id
|
|
@@ -1766,21 +1631,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1766
1631
|
if (wallet_id === undefined || wallet_id === null) {
|
|
1767
1632
|
throw new Error("Missing the required parameter 'wallet_id' when calling unlockUtxos");
|
|
1768
1633
|
}
|
|
1769
|
-
// Validate opts key — must be exactly 'LockUtxosRequest'
|
|
1770
|
-
if (postBody === undefined && opts) {
|
|
1771
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1772
|
-
return k !== '_base_path_index';
|
|
1773
|
-
});
|
|
1774
|
-
if (_providedKeys.length > 0) {
|
|
1775
|
-
throw new Error('unlockUtxos(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "LockUtxosRequest".');
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
// Validate request body before sending
|
|
1779
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1780
|
-
if (_modelClasses['LockUtxosRequest'] && typeof _modelClasses['LockUtxosRequest'].validateJSON === 'function') {
|
|
1781
|
-
_modelClasses['LockUtxosRequest'].validateJSON(postBody);
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
1634
|
var pathParams = {
|
|
1785
1635
|
'wallet_id': wallet_id
|
|
1786
1636
|
};
|
|
@@ -1830,21 +1680,6 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1830
1680
|
if (wallet_id === undefined || wallet_id === null) {
|
|
1831
1681
|
throw new Error("Missing the required parameter 'wallet_id' when calling updateWalletById");
|
|
1832
1682
|
}
|
|
1833
|
-
// Validate opts key — must be exactly 'UpdateWalletParams'
|
|
1834
|
-
if (postBody === undefined && opts) {
|
|
1835
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1836
|
-
return k !== '_base_path_index';
|
|
1837
|
-
});
|
|
1838
|
-
if (_providedKeys.length > 0) {
|
|
1839
|
-
throw new Error('updateWalletById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "UpdateWalletParams".');
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
// Validate request body before sending
|
|
1843
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1844
|
-
if (_modelClasses['UpdateWalletParams'] && typeof _modelClasses['UpdateWalletParams'].validateJSON === 'function') {
|
|
1845
|
-
_modelClasses['UpdateWalletParams'].validateJSON(postBody);
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
1683
|
var pathParams = {
|
|
1849
1684
|
'wallet_id': wallet_id
|
|
1850
1685
|
};
|
|
@@ -27,16 +27,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
* Do not edit the class manually.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
31
|
-
var _modelClasses = {
|
|
32
|
-
'ChainInfo': _ChainInfo["default"],
|
|
33
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
34
|
-
'ExchangeId': _ExchangeId["default"],
|
|
35
|
-
'ListAssetBalancesForExchangeWallet200Response': _ListAssetBalancesForExchangeWallet200Response["default"],
|
|
36
|
-
'ListExchanges200ResponseInner': _ListExchanges200ResponseInner["default"],
|
|
37
|
-
'ListSupportedAssetsForExchange200Response': _ListSupportedAssetsForExchange200Response["default"]
|
|
38
|
-
};
|
|
39
|
-
|
|
40
30
|
/**
|
|
41
31
|
* WalletsExchangeWallet service.
|
|
42
32
|
* @module api/WalletsExchangeWalletApi
|
|
@@ -42,31 +42,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
42
42
|
* Do not edit the class manually.
|
|
43
43
|
*
|
|
44
44
|
*/
|
|
45
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
46
|
-
var _modelClasses = {
|
|
47
|
-
'CreateKeyShareHolderGroupRequest': _CreateKeyShareHolderGroupRequest["default"],
|
|
48
|
-
'CreateMpcProjectRequest': _CreateMpcProjectRequest["default"],
|
|
49
|
-
'CreateMpcVaultRequest': _CreateMpcVaultRequest["default"],
|
|
50
|
-
'CreateTssRequestRequest': _CreateTssRequestRequest["default"],
|
|
51
|
-
'DeleteKeyShareHolderGroupById201Response': _DeleteKeyShareHolderGroupById201Response["default"],
|
|
52
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
53
|
-
'KeyShareHolder': _KeyShareHolder["default"],
|
|
54
|
-
'KeyShareHolderGroup': _KeyShareHolderGroup["default"],
|
|
55
|
-
'KeyShareHolderGroupType': _KeyShareHolderGroupType["default"],
|
|
56
|
-
'ListKeyShareHolderGroups200Response': _ListKeyShareHolderGroups200Response["default"],
|
|
57
|
-
'ListKeyShareHolders200Response': _ListKeyShareHolders200Response["default"],
|
|
58
|
-
'ListMpcProjects200Response': _ListMpcProjects200Response["default"],
|
|
59
|
-
'ListMpcVaults200Response': _ListMpcVaults200Response["default"],
|
|
60
|
-
'ListTssRequests200Response': _ListTssRequests200Response["default"],
|
|
61
|
-
'MPCProject': _MPCProject["default"],
|
|
62
|
-
'MPCVault': _MPCVault["default"],
|
|
63
|
-
'MPCVaultType': _MPCVaultType["default"],
|
|
64
|
-
'TSSRequest': _TSSRequest["default"],
|
|
65
|
-
'UpdateKeyShareHolderGroupByIdRequest': _UpdateKeyShareHolderGroupByIdRequest["default"],
|
|
66
|
-
'UpdateMpcProjectByIdRequest': _UpdateMpcProjectByIdRequest["default"],
|
|
67
|
-
'UpdateMpcVaultByIdRequest': _UpdateMpcVaultByIdRequest["default"]
|
|
68
|
-
};
|
|
69
|
-
|
|
70
45
|
/**
|
|
71
46
|
* WalletsMPCWallets service.
|
|
72
47
|
* @module api/WalletsMPCWalletsApi
|
|
@@ -155,21 +130,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
155
130
|
if (vault_id === undefined || vault_id === null) {
|
|
156
131
|
throw new Error("Missing the required parameter 'vault_id' when calling createKeyShareHolderGroup");
|
|
157
132
|
}
|
|
158
|
-
// Validate opts key — must be exactly 'CreateKeyShareHolderGroupRequest'
|
|
159
|
-
if (postBody === undefined && opts) {
|
|
160
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
161
|
-
return k !== '_base_path_index';
|
|
162
|
-
});
|
|
163
|
-
if (_providedKeys.length > 0) {
|
|
164
|
-
throw new Error('createKeyShareHolderGroup(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateKeyShareHolderGroupRequest".');
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
// Validate request body before sending
|
|
168
|
-
if (postBody !== null && postBody !== undefined) {
|
|
169
|
-
if (_modelClasses['CreateKeyShareHolderGroupRequest'] && typeof _modelClasses['CreateKeyShareHolderGroupRequest'].validateJSON === 'function') {
|
|
170
|
-
_modelClasses['CreateKeyShareHolderGroupRequest'].validateJSON(postBody);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
133
|
var pathParams = {
|
|
174
134
|
'vault_id': vault_id
|
|
175
135
|
};
|
|
@@ -214,21 +174,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
214
174
|
if (postBody && postBody.toJSON) {
|
|
215
175
|
postBody = postBody.toJSON();
|
|
216
176
|
}
|
|
217
|
-
// Validate opts key — must be exactly 'CreateMpcProjectRequest'
|
|
218
|
-
if (postBody === undefined && opts) {
|
|
219
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
220
|
-
return k !== '_base_path_index';
|
|
221
|
-
});
|
|
222
|
-
if (_providedKeys.length > 0) {
|
|
223
|
-
throw new Error('createMpcProject(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateMpcProjectRequest".');
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
// Validate request body before sending
|
|
227
|
-
if (postBody !== null && postBody !== undefined) {
|
|
228
|
-
if (_modelClasses['CreateMpcProjectRequest'] && typeof _modelClasses['CreateMpcProjectRequest'].validateJSON === 'function') {
|
|
229
|
-
_modelClasses['CreateMpcProjectRequest'].validateJSON(postBody);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
177
|
var pathParams = {};
|
|
233
178
|
var queryParams = {};
|
|
234
179
|
var headerParams = {};
|
|
@@ -270,21 +215,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
270
215
|
if (postBody && postBody.toJSON) {
|
|
271
216
|
postBody = postBody.toJSON();
|
|
272
217
|
}
|
|
273
|
-
// Validate opts key — must be exactly 'CreateMpcVaultRequest'
|
|
274
|
-
if (postBody === undefined && opts) {
|
|
275
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
276
|
-
return k !== '_base_path_index';
|
|
277
|
-
});
|
|
278
|
-
if (_providedKeys.length > 0) {
|
|
279
|
-
throw new Error('createMpcVault(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateMpcVaultRequest".');
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
// Validate request body before sending
|
|
283
|
-
if (postBody !== null && postBody !== undefined) {
|
|
284
|
-
if (_modelClasses['CreateMpcVaultRequest'] && typeof _modelClasses['CreateMpcVaultRequest'].validateJSON === 'function') {
|
|
285
|
-
_modelClasses['CreateMpcVaultRequest'].validateJSON(postBody);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
218
|
var pathParams = {};
|
|
289
219
|
var queryParams = {};
|
|
290
220
|
var headerParams = {};
|
|
@@ -331,21 +261,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
331
261
|
if (vault_id === undefined || vault_id === null) {
|
|
332
262
|
throw new Error("Missing the required parameter 'vault_id' when calling createTssRequest");
|
|
333
263
|
}
|
|
334
|
-
// Validate opts key — must be exactly 'CreateTssRequestRequest'
|
|
335
|
-
if (postBody === undefined && opts) {
|
|
336
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
337
|
-
return k !== '_base_path_index';
|
|
338
|
-
});
|
|
339
|
-
if (_providedKeys.length > 0) {
|
|
340
|
-
throw new Error('createTssRequest(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateTssRequestRequest".');
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
// Validate request body before sending
|
|
344
|
-
if (postBody !== null && postBody !== undefined) {
|
|
345
|
-
if (_modelClasses['CreateTssRequestRequest'] && typeof _modelClasses['CreateTssRequestRequest'].validateJSON === 'function') {
|
|
346
|
-
_modelClasses['CreateTssRequestRequest'].validateJSON(postBody);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
264
|
var pathParams = {
|
|
350
265
|
'vault_id': vault_id
|
|
351
266
|
};
|
|
@@ -1020,21 +935,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1020
935
|
if (key_share_holder_group_id === undefined || key_share_holder_group_id === null) {
|
|
1021
936
|
throw new Error("Missing the required parameter 'key_share_holder_group_id' when calling updateKeyShareHolderGroupById");
|
|
1022
937
|
}
|
|
1023
|
-
// Validate opts key — must be exactly 'UpdateKeyShareHolderGroupByIdRequest'
|
|
1024
|
-
if (postBody === undefined && opts) {
|
|
1025
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1026
|
-
return k !== '_base_path_index';
|
|
1027
|
-
});
|
|
1028
|
-
if (_providedKeys.length > 0) {
|
|
1029
|
-
throw new Error('updateKeyShareHolderGroupById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "UpdateKeyShareHolderGroupByIdRequest".');
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
// Validate request body before sending
|
|
1033
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1034
|
-
if (_modelClasses['UpdateKeyShareHolderGroupByIdRequest'] && typeof _modelClasses['UpdateKeyShareHolderGroupByIdRequest'].validateJSON === 'function') {
|
|
1035
|
-
_modelClasses['UpdateKeyShareHolderGroupByIdRequest'].validateJSON(postBody);
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
938
|
var pathParams = {
|
|
1039
939
|
'vault_id': vault_id,
|
|
1040
940
|
'key_share_holder_group_id': key_share_holder_group_id
|
|
@@ -1086,21 +986,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1086
986
|
if (project_id === undefined || project_id === null) {
|
|
1087
987
|
throw new Error("Missing the required parameter 'project_id' when calling updateMpcProjectById");
|
|
1088
988
|
}
|
|
1089
|
-
// Validate opts key — must be exactly 'UpdateMpcProjectByIdRequest'
|
|
1090
|
-
if (postBody === undefined && opts) {
|
|
1091
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1092
|
-
return k !== '_base_path_index';
|
|
1093
|
-
});
|
|
1094
|
-
if (_providedKeys.length > 0) {
|
|
1095
|
-
throw new Error('updateMpcProjectById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "UpdateMpcProjectByIdRequest".');
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
// Validate request body before sending
|
|
1099
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1100
|
-
if (_modelClasses['UpdateMpcProjectByIdRequest'] && typeof _modelClasses['UpdateMpcProjectByIdRequest'].validateJSON === 'function') {
|
|
1101
|
-
_modelClasses['UpdateMpcProjectByIdRequest'].validateJSON(postBody);
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
989
|
var pathParams = {
|
|
1105
990
|
'project_id': project_id
|
|
1106
991
|
};
|
|
@@ -1150,21 +1035,6 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1150
1035
|
if (vault_id === undefined || vault_id === null) {
|
|
1151
1036
|
throw new Error("Missing the required parameter 'vault_id' when calling updateMpcVaultById");
|
|
1152
1037
|
}
|
|
1153
|
-
// Validate opts key — must be exactly 'UpdateMpcVaultByIdRequest'
|
|
1154
|
-
if (postBody === undefined && opts) {
|
|
1155
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1156
|
-
return k !== '_base_path_index';
|
|
1157
|
-
});
|
|
1158
|
-
if (_providedKeys.length > 0) {
|
|
1159
|
-
throw new Error('updateMpcVaultById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "UpdateMpcVaultByIdRequest".');
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
// Validate request body before sending
|
|
1163
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1164
|
-
if (_modelClasses['UpdateMpcVaultByIdRequest'] && typeof _modelClasses['UpdateMpcVaultByIdRequest'].validateJSON === 'function') {
|
|
1165
|
-
_modelClasses['UpdateMpcVaultByIdRequest'].validateJSON(postBody);
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
1038
|
var pathParams = {
|
|
1169
1039
|
'vault_id': vault_id
|
|
1170
1040
|
};
|
|
@@ -24,13 +24,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
24
24
|
* Do not edit the class manually.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
28
|
-
var _modelClasses = {
|
|
29
|
-
'CoboSafeDelegate': _CoboSafeDelegate["default"],
|
|
30
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
31
|
-
'SafeWalletDelegates': _SafeWalletDelegates["default"]
|
|
32
|
-
};
|
|
33
|
-
|
|
34
27
|
/**
|
|
35
28
|
* WalletsSmartContractWallets service.
|
|
36
29
|
* @module api/WalletsSmartContractWalletsApi
|
|
@@ -68,21 +61,6 @@ var WalletsSmartContractWalletsApi = exports["default"] = /*#__PURE__*/function
|
|
|
68
61
|
if (wallet_id === undefined || wallet_id === null) {
|
|
69
62
|
throw new Error("Missing the required parameter 'wallet_id' when calling listSafeWalletDelegates");
|
|
70
63
|
}
|
|
71
|
-
// Validate opts key — must be exactly 'SafeWalletDelegates'
|
|
72
|
-
if (postBody === undefined && opts) {
|
|
73
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
74
|
-
return k !== '_base_path_index';
|
|
75
|
-
});
|
|
76
|
-
if (_providedKeys.length > 0) {
|
|
77
|
-
throw new Error('listSafeWalletDelegates(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "SafeWalletDelegates".');
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
// Validate request body before sending
|
|
81
|
-
if (postBody !== null && postBody !== undefined) {
|
|
82
|
-
if (_modelClasses['SafeWalletDelegates'] && typeof _modelClasses['SafeWalletDelegates'].validateJSON === 'function') {
|
|
83
|
-
_modelClasses['SafeWalletDelegates'].validateJSON(postBody);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
64
|
var pathParams = {
|
|
87
65
|
'wallet_id': wallet_id
|
|
88
66
|
};
|