@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
|
@@ -78,12 +78,9 @@ var UpdateWebhookEndpointByIdRequest = /*#__PURE__*/function () {
|
|
|
78
78
|
}, {
|
|
79
79
|
key: "validateJSON",
|
|
80
80
|
value: function validateJSON(data) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
if (!Array.isArray(data['subscribed_events'])) {
|
|
85
|
-
throw new Error("Expected the field `subscribed_events` to be an array in the JSON data but got " + data['subscribed_events']);
|
|
86
|
-
}
|
|
81
|
+
// ensure the json data is an array
|
|
82
|
+
if (!Array.isArray(data['subscribed_events'])) {
|
|
83
|
+
throw new Error("Expected the field `subscribed_events` to be an array in the JSON data but got " + data['subscribed_events']);
|
|
87
84
|
}
|
|
88
85
|
// ensure the json data is a string
|
|
89
86
|
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
@@ -112,7 +112,7 @@ var UtxoFeeRate = /*#__PURE__*/function () {
|
|
|
112
112
|
} finally {
|
|
113
113
|
_iterator.f();
|
|
114
114
|
}
|
|
115
|
-
if (!(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
115
|
+
if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
116
116
|
throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
|
|
117
117
|
}
|
|
118
118
|
// validate the optional field `slow`
|
|
@@ -122,8 +122,13 @@ var UtxoFeeRate = /*#__PURE__*/function () {
|
|
|
122
122
|
_UtxoFeeBasePrice["default"].validateJSON(data['slow']);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
// validate the
|
|
126
|
-
|
|
125
|
+
// validate the optional field `recommended`
|
|
126
|
+
if (data['recommended']) {
|
|
127
|
+
// data not null
|
|
128
|
+
if (!!_UtxoFeeBasePrice["default"].validateJSON) {
|
|
129
|
+
_UtxoFeeBasePrice["default"].validateJSON(data['recommended']);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
127
132
|
// validate the optional field `fast`
|
|
128
133
|
if (data['fast']) {
|
|
129
134
|
// data not null
|
package/dist/model/Vasp.js
CHANGED
|
@@ -104,15 +104,15 @@ var Vasp = /*#__PURE__*/function () {
|
|
|
104
104
|
} finally {
|
|
105
105
|
_iterator.f();
|
|
106
106
|
}
|
|
107
|
-
if (!(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
107
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
108
108
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
109
109
|
}
|
|
110
110
|
// ensure the json data is a string
|
|
111
|
-
if (!(typeof data['vendor_code'] === 'string' || data['vendor_code'] instanceof String)) {
|
|
111
|
+
if (data['vendor_code'] && !(typeof data['vendor_code'] === 'string' || data['vendor_code'] instanceof String)) {
|
|
112
112
|
throw new Error("Expected the field `vendor_code` to be a primitive type in the JSON string but got " + data['vendor_code']);
|
|
113
113
|
}
|
|
114
114
|
// ensure the json data is a string
|
|
115
|
-
if (!(typeof data['vendor_vasp_id'] === 'string' || data['vendor_vasp_id'] instanceof String)) {
|
|
115
|
+
if (data['vendor_vasp_id'] && !(typeof data['vendor_vasp_id'] === 'string' || data['vendor_vasp_id'] instanceof String)) {
|
|
116
116
|
throw new Error("Expected the field `vendor_vasp_id` to be a primitive type in the JSON string but got " + data['vendor_vasp_id']);
|
|
117
117
|
}
|
|
118
118
|
return true;
|
|
@@ -115,15 +115,15 @@ var WalletAddress = /*#__PURE__*/function () {
|
|
|
115
115
|
} finally {
|
|
116
116
|
_iterator.f();
|
|
117
117
|
}
|
|
118
|
-
if (!(typeof data['wallet_address_id'] === 'string' || data['wallet_address_id'] instanceof String)) {
|
|
118
|
+
if (data['wallet_address_id'] && !(typeof data['wallet_address_id'] === 'string' || data['wallet_address_id'] instanceof String)) {
|
|
119
119
|
throw new Error("Expected the field `wallet_address_id` to be a primitive type in the JSON string but got " + data['wallet_address_id']);
|
|
120
120
|
}
|
|
121
121
|
// ensure the json data is a string
|
|
122
|
-
if (!(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
122
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
123
123
|
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
124
124
|
}
|
|
125
125
|
// ensure the json data is a string
|
|
126
|
-
if (!(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
|
|
126
|
+
if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
|
|
127
127
|
throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
|
|
128
128
|
}
|
|
129
129
|
return true;
|
package/dist/model/WalletInfo.js
CHANGED
|
@@ -56,11 +56,6 @@ var WalletInfo = /*#__PURE__*/function () {
|
|
|
56
56
|
this.actualInstance = null;
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
-
// Unwrap if already a wrapped oneOf instance of the same class
|
|
60
|
-
if (instance instanceof WalletInfo) {
|
|
61
|
-
this.actualInstance = instance.getActualInstance();
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
59
|
var match = 0;
|
|
65
60
|
var errorMessages = [];
|
|
66
61
|
var discriminatorValue = instance["wallet_type"];
|
|
@@ -101,7 +101,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
101
101
|
} finally {
|
|
102
102
|
_iterator.f();
|
|
103
103
|
}
|
|
104
|
-
if (!(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
|
|
104
|
+
if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
|
|
105
105
|
throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
|
|
106
106
|
}
|
|
107
107
|
// validate the optional field `wallet`
|
|
@@ -117,7 +117,7 @@ var WebhookEndpoint = /*#__PURE__*/function () {
|
|
|
117
117
|
} finally {
|
|
118
118
|
_iterator.f();
|
|
119
119
|
}
|
|
120
|
-
if (!(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
120
|
+
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
121
121
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
122
122
|
}
|
|
123
123
|
// ensure the json data is an array
|
|
@@ -128,11 +128,16 @@ var WebhookEvent = /*#__PURE__*/function () {
|
|
|
128
128
|
throw new Error("Expected the field `event_id` to be a primitive type in the JSON string but got " + data['event_id']);
|
|
129
129
|
}
|
|
130
130
|
// ensure the json data is a string
|
|
131
|
-
if (!(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
131
|
+
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
132
132
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
133
133
|
}
|
|
134
|
-
// validate the
|
|
135
|
-
|
|
134
|
+
// validate the optional field `data`
|
|
135
|
+
if (data['data']) {
|
|
136
|
+
// data not null
|
|
137
|
+
if (!!_WebhookEventData["default"].validateJSON) {
|
|
138
|
+
_WebhookEventData["default"].validateJSON(data['data']);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
136
141
|
return true;
|
|
137
142
|
}
|
|
138
143
|
}]);
|
|
@@ -106,11 +106,6 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
106
106
|
this.actualInstance = null;
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
// Unwrap if already a wrapped oneOf instance of the same class
|
|
110
|
-
if (instance instanceof WebhookEventData) {
|
|
111
|
-
this.actualInstance = instance.getActualInstance();
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
109
|
var match = 0;
|
|
115
110
|
var errorMessages = [];
|
|
116
111
|
var discriminatorValue = instance["data_type"];
|
|
@@ -738,7 +733,7 @@ WebhookEventData.prototype['transaction_id'] = undefined;
|
|
|
738
733
|
WebhookEventData.prototype['cobo_id'] = undefined;
|
|
739
734
|
|
|
740
735
|
/**
|
|
741
|
-
* The request ID
|
|
736
|
+
* The request ID.
|
|
742
737
|
* @member {String} request_id
|
|
743
738
|
*/
|
|
744
739
|
WebhookEventData.prototype['request_id'] = undefined;
|
|
@@ -94,7 +94,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
94
94
|
} finally {
|
|
95
95
|
_iterator.f();
|
|
96
96
|
}
|
|
97
|
-
if (!(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
|
|
97
|
+
if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
|
|
98
98
|
throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
|
|
99
99
|
}
|
|
100
100
|
return true;
|
|
@@ -127,11 +127,16 @@ var WebhookEventLog = /*#__PURE__*/function () {
|
|
|
127
127
|
} finally {
|
|
128
128
|
_iterator.f();
|
|
129
129
|
}
|
|
130
|
-
if (!(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
130
|
+
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
131
131
|
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
132
132
|
}
|
|
133
|
-
// validate the
|
|
134
|
-
|
|
133
|
+
// validate the optional field `request_body`
|
|
134
|
+
if (data['request_body']) {
|
|
135
|
+
// data not null
|
|
136
|
+
if (!!_WebhookEvent["default"].validateJSON) {
|
|
137
|
+
_WebhookEvent["default"].validateJSON(data['request_body']);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
135
140
|
// ensure the json data is a string
|
|
136
141
|
if (data['response_body'] && !(typeof data['response_body'] === 'string' || data['response_body'] instanceof String)) {
|
|
137
142
|
throw new Error("Expected the field `response_body` to be a primitive type in the JSON string but got " + data['response_body']);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.AddressVerification
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**verification_id** | **String** | The unique identifier of this verification record. |
|
|
8
|
+
**address** | **String** | The counterparty (self-custody) wallet address being verified. |
|
|
9
|
+
**chain_id** | **String** | The chain on which this address is verified. |
|
|
10
|
+
**status** | [**AddressVerificationStatus**](AddressVerificationStatus.md) | |
|
|
11
|
+
**verification_method** | [**AddressVerificationMethod**](AddressVerificationMethod.md) | |
|
|
12
|
+
**verified_at** | **Number** | Timestamp (milliseconds) when verification completed. `null` while `status=PENDING` or `FAILED`. | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# CoboWaas2.AddressVerificationDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**verification_id** | **String** | The unique identifier of this verification record. |
|
|
8
|
+
**address** | **String** | The counterparty (self-custody) wallet address being verified. |
|
|
9
|
+
**chain_id** | **String** | The chain on which this address is verified. |
|
|
10
|
+
**status** | [**AddressVerificationStatus**](AddressVerificationStatus.md) | |
|
|
11
|
+
**verification_method** | [**AddressVerificationMethod**](AddressVerificationMethod.md) | |
|
|
12
|
+
**verified_at** | **Number** | Timestamp (milliseconds) when verification completed. `null` while `status=PENDING` or `FAILED`. | [optional]
|
|
13
|
+
**satoshi_test_detail** | [**AddressVerificationDetailSatoshiTestDetail**](AddressVerificationDetailSatoshiTestDetail.md) | | [optional]
|
|
14
|
+
**signature_detail** | [**AddressVerificationDetailSignatureDetail**](AddressVerificationDetailSignatureDetail.md) | | [optional]
|
|
15
|
+
|
|
16
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CoboWaas2.AddressVerificationDetailSatoshiTestDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**challenge_id** | **String** | The unique identifier of the Satoshi Test challenge. |
|
|
8
|
+
**from_address** | **String** | The counterparty (self-custody) wallet address that must transfer the micro-deposit. |
|
|
9
|
+
**to_address** | **String** | The Cobo-generated verification address that will receive the micro-deposit. |
|
|
10
|
+
**amount** | **String** | The exact amount (in the token's smallest unit) that must be transferred. The amount is unique per challenge and is used together with `to_address` to identify a matching on-chain transfer. |
|
|
11
|
+
**token_id** | **String** | The ID of the token used for the micro-deposit (typically the chain's native asset). |
|
|
12
|
+
**chain_id** | **String** | The chain on which the micro-deposit is expected. |
|
|
13
|
+
**status** | [**SatoshiTestChallengeStatus**](SatoshiTestChallengeStatus.md) | |
|
|
14
|
+
**remaining_seconds** | **Number** | Remaining time (in seconds) before the challenge expires. `0` when the challenge is not yet submitted or has already completed/expired. |
|
|
15
|
+
**matched_txid** | **String** | The on-chain transaction hash of the matching transfer, once matched. | [optional]
|
|
16
|
+
**started_at** | **Number** | Timestamp (milliseconds) when the challenge was submitted and the countdown started. | [optional]
|
|
17
|
+
**expires_at** | **Number** | Timestamp (milliseconds) when the challenge will expire if not matched. | [optional]
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.AddressVerificationDetailSignatureDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**address** | **String** | The self-custody wallet address that signed the challenge. |
|
|
8
|
+
**challenge** | **String** | The challenge string that was signed. | [optional]
|
|
9
|
+
**signature** | **String** | The wallet signature submitted by the client. | [optional]
|
|
10
|
+
**verified_at** | **Number** | Timestamp (milliseconds) when the signature was verified. | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**result** | [**ApprovalResult**](ApprovalResult.md) | | [optional]
|
|
13
13
|
**approval_result_code** | **Number** | Integer value representing the result of the approval. | [optional]
|
|
14
14
|
**created_time** | **Number** | Timestamp when the approval was created. | [optional]
|
|
15
|
+
**expired_time** | **Number** | The timestamp when the approval was expired. | [optional]
|
|
15
16
|
**template_version** | **String** | Version of the template used for the transaction approval. | [optional]
|
|
16
17
|
**header_title** | **String** | Display title used in the transaction approval. | [optional]
|
|
17
18
|
**is_for_sign** | **Boolean** | Indicates whether this approval requires signing: - `true`: The user must sign the transaction. - `false`: The user only needs to approve or reject without signing. | [optional]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**request_id** | **String** | The request ID that is used to track a bulk send request. The request ID is provided by you and must be unique within your system. | [optional]
|
|
7
8
|
**source_account** | **String** | The source account from which the bulk send will be made. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`. |
|
|
8
9
|
**execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
|
|
9
10
|
**description** | **String** | The description for the entire bulk send batch. | [optional]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.CreateSatoshiTestChallengeRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**action** | [**SatoshiTestChallengeAction**](SatoshiTestChallengeAction.md) | |
|
|
8
|
+
**chain_id** | **String** | The chain ID of the counterparty address. See the operation description for supported chains. |
|
|
9
|
+
**from_address** | **String** | The counterparty (self-custody) wallet address that will transfer the micro-deposit. |
|
|
10
|
+
**transaction_id** | **String** | The Cobo transaction ID that this Satoshi Test is verifying for. |
|
|
11
|
+
**transaction_type** | [**TravelRuleTransactionType**](TravelRuleTransactionType.md) | |
|
|
12
|
+
**challenge_id** | **String** | The `challenge_id` returned by a previous `PREPARE` call. - When `action=SUBMIT`: if provided, activates that specific challenge by id (recommended when you cached the id client-side after `PREPARE`). If omitted, the server activates the latest matching challenge identified by `(chain_id, from_address)`. - When `action=PREPARE`: **must be omitted**. A new challenge is always generated; passing a `challenge_id` here will cause the request to be rejected. | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -6,7 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**vasp_list** | [**[Vasp]**](Vasp.md) | A list of virtual asset service providers (VASP) you can select as the transaction source or destination. | [optional]
|
|
8
8
|
**is_threshold_reached** | **Boolean** | Indicates whether the transaction amount exceeds a predefined threshold. If exceeded, additional information is required when filling Travel Rule details. - `true`: Threshold exceeded. - `false`: Threshold not exceeded. | [optional]
|
|
9
|
-
**self_custody_wallet_challenge** | **String** | A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
|
|
9
|
+
**self_custody_wallet_challenge** | **String** | **Deprecated.** Use [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This field will be removed in a future release. A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
|
|
10
10
|
**connect_wallet_list** | **[String]** | A list of self-custody wallet providers you can select as the transaction source or destination. | [optional]
|
|
11
|
+
**satoshi_test_supported** | **Boolean** | Indicates whether Satoshi Test (on-chain micro-deposit verification) is supported for the transaction's chain. - `true`: You can initiate a Satoshi Test challenge to verify the counterparty address. - `false`: The chain does not support Satoshi Test; use signature verification instead. | [optional]
|
|
11
12
|
|
|
12
13
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListAddressVerifications200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[AddressVerification]**](AddressVerification.md) | The page of address verification records. |
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListBulkSends200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[PaymentBulkSend]**](PaymentBulkSend.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
package/docs/PaymentApi.md
CHANGED
|
@@ -49,6 +49,7 @@ Method | HTTP request | Description
|
|
|
49
49
|
[**listAllocationItems**](PaymentApi.md#listAllocationItems) | **GET** /payments/allocation_items | List all allocation items
|
|
50
50
|
[**listBatchAllocations**](PaymentApi.md#listBatchAllocations) | **GET** /payments/batch_allocations | List all batch allocations
|
|
51
51
|
[**listBulkSendItems**](PaymentApi.md#listBulkSendItems) | **GET** /payments/bulk_sends/{bulk_send_id}/items | List bulk send items
|
|
52
|
+
[**listBulkSends**](PaymentApi.md#listBulkSends) | **GET** /payments/bulk_sends | List bulk sends
|
|
52
53
|
[**listCounterparties**](PaymentApi.md#listCounterparties) | **GET** /payments/counterparty | List all counterparties
|
|
53
54
|
[**listCounterpartyEntries**](PaymentApi.md#listCounterpartyEntries) | **GET** /payments/counterparty_entry | List counterparty entries
|
|
54
55
|
[**listCryptoAddresses**](PaymentApi.md#listCryptoAddresses) | **GET** /payments/crypto_addresses | List crypto addresses
|
|
@@ -2446,6 +2447,64 @@ Name | Type | Description | Notes
|
|
|
2446
2447
|
- **Accept**: application/json
|
|
2447
2448
|
|
|
2448
2449
|
|
|
2450
|
+
## listBulkSends
|
|
2451
|
+
|
|
2452
|
+
> ListBulkSends200Response listBulkSends(opts)
|
|
2453
|
+
|
|
2454
|
+
List bulk sends
|
|
2455
|
+
|
|
2456
|
+
This operation retrieves the list of bulk sends.
|
|
2457
|
+
|
|
2458
|
+
### Example
|
|
2459
|
+
|
|
2460
|
+
```javascript
|
|
2461
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
2462
|
+
// Initialize the API client
|
|
2463
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
2464
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
2465
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
2466
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
2467
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
2468
|
+
// Call the API
|
|
2469
|
+
const apiInstance = new CoboWaas2.PaymentApi();
|
|
2470
|
+
const opts = {
|
|
2471
|
+
'limit': 10,
|
|
2472
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
2473
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk",
|
|
2474
|
+
'request_id': "random_request_id"
|
|
2475
|
+
};
|
|
2476
|
+
apiInstance.listBulkSends(opts).then((data) => {
|
|
2477
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
2478
|
+
}, (error) => {
|
|
2479
|
+
console.error(error);
|
|
2480
|
+
});
|
|
2481
|
+
|
|
2482
|
+
```
|
|
2483
|
+
|
|
2484
|
+
### Parameters
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
Name | Type | Description | Notes
|
|
2488
|
+
------------- | ------------- | ------------- | -------------
|
|
2489
|
+
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
2490
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
2491
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
2492
|
+
**request_id** | **String**| The request ID. | [optional]
|
|
2493
|
+
|
|
2494
|
+
### Return type
|
|
2495
|
+
|
|
2496
|
+
[**ListBulkSends200Response**](ListBulkSends200Response.md)
|
|
2497
|
+
|
|
2498
|
+
### Authorization
|
|
2499
|
+
|
|
2500
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
2501
|
+
|
|
2502
|
+
### HTTP request headers
|
|
2503
|
+
|
|
2504
|
+
- **Content-Type**: Not defined
|
|
2505
|
+
- **Accept**: application/json
|
|
2506
|
+
|
|
2507
|
+
|
|
2449
2508
|
## listCounterparties
|
|
2450
2509
|
|
|
2451
2510
|
> ListCounterparties200Response listCounterparties(opts)
|
package/docs/PaymentBulkSend.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**bulk_send_id** | **String** | The bulk send ID. |
|
|
8
|
+
**request_id** | **String** | The request ID. | [optional]
|
|
8
9
|
**source_account** | **String** | The source account from which the bulk send will be made. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`. |
|
|
9
10
|
**description** | **String** | The description for the entire bulk send batch. | [optional]
|
|
10
11
|
**execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. |
|
|
8
8
|
**bulk_send_id** | **String** | The bulk send ID. |
|
|
9
|
+
**request_id** | **String** | The request ID. | [optional]
|
|
9
10
|
**source_account** | **String** | The source account from which the bulk send will be made. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`. |
|
|
10
11
|
**description** | **String** | The description for the entire bulk send batch. | [optional]
|
|
11
12
|
**execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# CoboWaas2.SatoshiTestCancelResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**challenge_id** | **String** | The challenge that was cancelled. |
|
|
8
|
+
**status** | **String** | Final status after cancellation. |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Enum: StatusEnum
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* `DELETED` (value: `"DELETED"`)
|
|
16
|
+
|
|
17
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CoboWaas2.SatoshiTestChallenge
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**challenge_id** | **String** | The unique identifier of the Satoshi Test challenge. |
|
|
8
|
+
**from_address** | **String** | The counterparty (self-custody) wallet address that must transfer the micro-deposit. |
|
|
9
|
+
**to_address** | **String** | The Cobo-generated verification address that will receive the micro-deposit. |
|
|
10
|
+
**amount** | **String** | The exact amount (in the token's smallest unit) that must be transferred. The amount is unique per challenge and is used together with `to_address` to identify a matching on-chain transfer. |
|
|
11
|
+
**token_id** | **String** | The ID of the token used for the micro-deposit (typically the chain's native asset). |
|
|
12
|
+
**chain_id** | **String** | The chain on which the micro-deposit is expected. |
|
|
13
|
+
**status** | [**SatoshiTestChallengeStatus**](SatoshiTestChallengeStatus.md) | |
|
|
14
|
+
**remaining_seconds** | **Number** | Remaining time (in seconds) before the challenge expires. `0` when the challenge is not yet submitted or has already completed/expired. |
|
|
15
|
+
**matched_txid** | **String** | The on-chain transaction hash of the matching transfer, once matched. | [optional]
|
|
16
|
+
**started_at** | **Number** | Timestamp (milliseconds) when the challenge was submitted and the countdown started. | [optional]
|
|
17
|
+
**expires_at** | **Number** | Timestamp (milliseconds) when the challenge will expire if not matched. | [optional]
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CoboWaas2.SatoshiTestChallengeStatus
|
|
2
|
+
|
|
3
|
+
## Enum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* `PREPARE` (value: `"PREPARE"`)
|
|
7
|
+
|
|
8
|
+
* `PENDING` (value: `"PENDING"`)
|
|
9
|
+
|
|
10
|
+
* `MATCHED` (value: `"MATCHED"`)
|
|
11
|
+
|
|
12
|
+
* `VERIFIED` (value: `"VERIFIED"`)
|
|
13
|
+
|
|
14
|
+
* `EXPIRED` (value: `"EXPIRED"`)
|
|
15
|
+
|
|
16
|
+
* `DELETED` (value: `"DELETED"`)
|
|
17
|
+
|
|
18
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
19
|
+
|
|
20
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.SignatureChallenge
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**address** | **String** | The self-custody wallet address that must sign this challenge. This is the counterparty address for the transaction: for deposits it is the sender's wallet, and for withdrawals it is the recipient's wallet. |
|
|
8
|
+
**challenge** | **String** | The human-readable, time-sensitive message to sign. Contains the wallet address, a unique nonce, and a timestamp. |
|
|
9
|
+
**expires_in** | **Number** | Number of seconds before the challenge expires. The signature must be submitted within this window. |
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.SignatureDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**address** | **String** | The self-custody wallet address that signed the challenge. |
|
|
8
|
+
**challenge** | **String** | The challenge string that was signed. | [optional]
|
|
9
|
+
**signature** | **String** | The wallet signature submitted by the client. | [optional]
|
|
10
|
+
**verified_at** | **Number** | Timestamp (milliseconds) when the signature was verified. | [optional]
|
|
11
|
+
|
|
12
|
+
|