@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
|
@@ -28,17 +28,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
* Do not edit the class manually.
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
32
|
-
var _modelClasses = {
|
|
33
|
-
'ChangeGuardPubkey200Response': _ChangeGuardPubkey200Response["default"],
|
|
34
|
-
'CreatePrimeBrokerAddress201Response': _CreatePrimeBrokerAddress201Response["default"],
|
|
35
|
-
'CreatePrimeBrokerAddressRequest': _CreatePrimeBrokerAddressRequest["default"],
|
|
36
|
-
'DeleteGuardPubkey201Response': _DeleteGuardPubkey201Response["default"],
|
|
37
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
38
|
-
'QueryApprovalStatement200Response': _QueryApprovalStatement200Response["default"],
|
|
39
|
-
'QueryGuardPubkey200Response': _QueryGuardPubkey200Response["default"]
|
|
40
|
-
};
|
|
41
|
-
|
|
42
31
|
/**
|
|
43
32
|
* PrimeBroker service.
|
|
44
33
|
* @module api/PrimeBrokerApi
|
|
@@ -164,21 +153,6 @@ var PrimeBrokerApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
164
153
|
if (user_id === undefined || user_id === null) {
|
|
165
154
|
throw new Error("Missing the required parameter 'user_id' when calling createPrimeBrokerAddress");
|
|
166
155
|
}
|
|
167
|
-
// Validate opts key — must be exactly 'CreatePrimeBrokerAddressRequest'
|
|
168
|
-
if (postBody === undefined && opts) {
|
|
169
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
170
|
-
return k !== '_base_path_index';
|
|
171
|
-
});
|
|
172
|
-
if (_providedKeys.length > 0) {
|
|
173
|
-
throw new Error('createPrimeBrokerAddress(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreatePrimeBrokerAddressRequest".');
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
// Validate request body before sending
|
|
177
|
-
if (postBody !== null && postBody !== undefined) {
|
|
178
|
-
if (_modelClasses['CreatePrimeBrokerAddressRequest'] && typeof _modelClasses['CreatePrimeBrokerAddressRequest'].validateJSON === 'function') {
|
|
179
|
-
_modelClasses['CreatePrimeBrokerAddressRequest'].validateJSON(postBody);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
156
|
var pathParams = {
|
|
183
157
|
'user_id': user_id
|
|
184
158
|
};
|
package/dist/api/StakingsApi.js
CHANGED
|
@@ -49,38 +49,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
53
|
-
var _modelClasses = {
|
|
54
|
-
'Activity': _Activity["default"],
|
|
55
|
-
'ActivityStatus': _ActivityStatus["default"],
|
|
56
|
-
'ActivityType': _ActivityType["default"],
|
|
57
|
-
'BabylonAirdropRegistration': _BabylonAirdropRegistration["default"],
|
|
58
|
-
'BabylonCreateStakingExpansion': _BabylonCreateStakingExpansion["default"],
|
|
59
|
-
'BabylonStakingRegistration': _BabylonStakingRegistration["default"],
|
|
60
|
-
'CreateBabylonAirdropRegistration201Response': _CreateBabylonAirdropRegistration201Response["default"],
|
|
61
|
-
'CreateBabylonAirdropRegistrationRequest': _CreateBabylonAirdropRegistrationRequest["default"],
|
|
62
|
-
'CreateBabylonStakingRegistration201Response': _CreateBabylonStakingRegistration201Response["default"],
|
|
63
|
-
'CreateBabylonStakingRegistrationRequest': _CreateBabylonStakingRegistrationRequest["default"],
|
|
64
|
-
'CreateClaimActivityRequest': _CreateClaimActivityRequest["default"],
|
|
65
|
-
'CreateStakeActivity201Response': _CreateStakeActivity201Response["default"],
|
|
66
|
-
'CreateStakeActivityRequest': _CreateStakeActivityRequest["default"],
|
|
67
|
-
'CreateUnstakeActivityRequest': _CreateUnstakeActivityRequest["default"],
|
|
68
|
-
'CreateWithdrawActivityRequest': _CreateWithdrawActivityRequest["default"],
|
|
69
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
70
|
-
'EthStakeEstimatedFee': _EthStakeEstimatedFee["default"],
|
|
71
|
-
'GetStakingEstimationFee201Response': _GetStakingEstimationFee201Response["default"],
|
|
72
|
-
'GetStakingEstimationFeeRequest': _GetStakingEstimationFeeRequest["default"],
|
|
73
|
-
'ListBabylonAirdropRegistrations200Response': _ListBabylonAirdropRegistrations200Response["default"],
|
|
74
|
-
'ListBabylonEligibleAirdrops200Response': _ListBabylonEligibleAirdrops200Response["default"],
|
|
75
|
-
'ListBabylonEligibleStakings200Response': _ListBabylonEligibleStakings200Response["default"],
|
|
76
|
-
'ListBabylonStakingRegistrations200Response': _ListBabylonStakingRegistrations200Response["default"],
|
|
77
|
-
'ListStakingActivities200Response': _ListStakingActivities200Response["default"],
|
|
78
|
-
'ListStakingPools200Response': _ListStakingPools200Response["default"],
|
|
79
|
-
'ListStakings200Response': _ListStakings200Response["default"],
|
|
80
|
-
'PoolDetails': _PoolDetails["default"],
|
|
81
|
-
'Stakings': _Stakings["default"]
|
|
82
|
-
};
|
|
83
|
-
|
|
84
52
|
/**
|
|
85
53
|
* Stakings service.
|
|
86
54
|
* @module api/StakingsApi
|
|
@@ -113,21 +81,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
113
81
|
if (postBody && postBody.toJSON) {
|
|
114
82
|
postBody = postBody.toJSON();
|
|
115
83
|
}
|
|
116
|
-
// Validate opts key — must be exactly 'CreateBabylonAirdropRegistrationRequest'
|
|
117
|
-
if (postBody === undefined && opts) {
|
|
118
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
119
|
-
return k !== '_base_path_index';
|
|
120
|
-
});
|
|
121
|
-
if (_providedKeys.length > 0) {
|
|
122
|
-
throw new Error('createBabylonAirdropRegistration(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateBabylonAirdropRegistrationRequest".');
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
// Validate request body before sending
|
|
126
|
-
if (postBody !== null && postBody !== undefined) {
|
|
127
|
-
if (_modelClasses['CreateBabylonAirdropRegistrationRequest'] && typeof _modelClasses['CreateBabylonAirdropRegistrationRequest'].validateJSON === 'function') {
|
|
128
|
-
_modelClasses['CreateBabylonAirdropRegistrationRequest'].validateJSON(postBody);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
84
|
var pathParams = {};
|
|
132
85
|
var queryParams = {};
|
|
133
86
|
var headerParams = {};
|
|
@@ -169,21 +122,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
122
|
if (postBody && postBody.toJSON) {
|
|
170
123
|
postBody = postBody.toJSON();
|
|
171
124
|
}
|
|
172
|
-
// Validate opts key — must be exactly 'BabylonCreateStakingExpansion'
|
|
173
|
-
if (postBody === undefined && opts) {
|
|
174
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
175
|
-
return k !== '_base_path_index';
|
|
176
|
-
});
|
|
177
|
-
if (_providedKeys.length > 0) {
|
|
178
|
-
throw new Error('createBabylonStakingExpansion(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "BabylonCreateStakingExpansion".');
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
// Validate request body before sending
|
|
182
|
-
if (postBody !== null && postBody !== undefined) {
|
|
183
|
-
if (_modelClasses['BabylonCreateStakingExpansion'] && typeof _modelClasses['BabylonCreateStakingExpansion'].validateJSON === 'function') {
|
|
184
|
-
_modelClasses['BabylonCreateStakingExpansion'].validateJSON(postBody);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
125
|
var pathParams = {};
|
|
188
126
|
var queryParams = {};
|
|
189
127
|
var headerParams = {};
|
|
@@ -225,21 +163,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
225
163
|
if (postBody && postBody.toJSON) {
|
|
226
164
|
postBody = postBody.toJSON();
|
|
227
165
|
}
|
|
228
|
-
// Validate opts key — must be exactly 'CreateBabylonStakingRegistrationRequest'
|
|
229
|
-
if (postBody === undefined && opts) {
|
|
230
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
231
|
-
return k !== '_base_path_index';
|
|
232
|
-
});
|
|
233
|
-
if (_providedKeys.length > 0) {
|
|
234
|
-
throw new Error('createBabylonStakingRegistration(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateBabylonStakingRegistrationRequest".');
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
// Validate request body before sending
|
|
238
|
-
if (postBody !== null && postBody !== undefined) {
|
|
239
|
-
if (_modelClasses['CreateBabylonStakingRegistrationRequest'] && typeof _modelClasses['CreateBabylonStakingRegistrationRequest'].validateJSON === 'function') {
|
|
240
|
-
_modelClasses['CreateBabylonStakingRegistrationRequest'].validateJSON(postBody);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
166
|
var pathParams = {};
|
|
244
167
|
var queryParams = {};
|
|
245
168
|
var headerParams = {};
|
|
@@ -281,21 +204,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
281
204
|
if (postBody && postBody.toJSON) {
|
|
282
205
|
postBody = postBody.toJSON();
|
|
283
206
|
}
|
|
284
|
-
// Validate opts key — must be exactly 'CreateClaimActivityRequest'
|
|
285
|
-
if (postBody === undefined && opts) {
|
|
286
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
287
|
-
return k !== '_base_path_index';
|
|
288
|
-
});
|
|
289
|
-
if (_providedKeys.length > 0) {
|
|
290
|
-
throw new Error('createClaimActivity(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateClaimActivityRequest".');
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
// Validate request body before sending
|
|
294
|
-
if (postBody !== null && postBody !== undefined) {
|
|
295
|
-
if (_modelClasses['CreateClaimActivityRequest'] && typeof _modelClasses['CreateClaimActivityRequest'].validateJSON === 'function') {
|
|
296
|
-
_modelClasses['CreateClaimActivityRequest'].validateJSON(postBody);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
207
|
var pathParams = {};
|
|
300
208
|
var queryParams = {};
|
|
301
209
|
var headerParams = {};
|
|
@@ -337,21 +245,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
337
245
|
if (postBody && postBody.toJSON) {
|
|
338
246
|
postBody = postBody.toJSON();
|
|
339
247
|
}
|
|
340
|
-
// Validate opts key — must be exactly 'CreateStakeActivityRequest'
|
|
341
|
-
if (postBody === undefined && opts) {
|
|
342
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
343
|
-
return k !== '_base_path_index';
|
|
344
|
-
});
|
|
345
|
-
if (_providedKeys.length > 0) {
|
|
346
|
-
throw new Error('createStakeActivity(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateStakeActivityRequest".');
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
// Validate request body before sending
|
|
350
|
-
if (postBody !== null && postBody !== undefined) {
|
|
351
|
-
if (_modelClasses['CreateStakeActivityRequest'] && typeof _modelClasses['CreateStakeActivityRequest'].validateJSON === 'function') {
|
|
352
|
-
_modelClasses['CreateStakeActivityRequest'].validateJSON(postBody);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
248
|
var pathParams = {};
|
|
356
249
|
var queryParams = {};
|
|
357
250
|
var headerParams = {};
|
|
@@ -393,21 +286,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
393
286
|
if (postBody && postBody.toJSON) {
|
|
394
287
|
postBody = postBody.toJSON();
|
|
395
288
|
}
|
|
396
|
-
// Validate opts key — must be exactly 'CreateUnstakeActivityRequest'
|
|
397
|
-
if (postBody === undefined && opts) {
|
|
398
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
399
|
-
return k !== '_base_path_index';
|
|
400
|
-
});
|
|
401
|
-
if (_providedKeys.length > 0) {
|
|
402
|
-
throw new Error('createUnstakeActivity(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateUnstakeActivityRequest".');
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
// Validate request body before sending
|
|
406
|
-
if (postBody !== null && postBody !== undefined) {
|
|
407
|
-
if (_modelClasses['CreateUnstakeActivityRequest'] && typeof _modelClasses['CreateUnstakeActivityRequest'].validateJSON === 'function') {
|
|
408
|
-
_modelClasses['CreateUnstakeActivityRequest'].validateJSON(postBody);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
289
|
var pathParams = {};
|
|
412
290
|
var queryParams = {};
|
|
413
291
|
var headerParams = {};
|
|
@@ -449,21 +327,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
449
327
|
if (postBody && postBody.toJSON) {
|
|
450
328
|
postBody = postBody.toJSON();
|
|
451
329
|
}
|
|
452
|
-
// Validate opts key — must be exactly 'CreateWithdrawActivityRequest'
|
|
453
|
-
if (postBody === undefined && opts) {
|
|
454
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
455
|
-
return k !== '_base_path_index';
|
|
456
|
-
});
|
|
457
|
-
if (_providedKeys.length > 0) {
|
|
458
|
-
throw new Error('createWithdrawActivity(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "CreateWithdrawActivityRequest".');
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
// Validate request body before sending
|
|
462
|
-
if (postBody !== null && postBody !== undefined) {
|
|
463
|
-
if (_modelClasses['CreateWithdrawActivityRequest'] && typeof _modelClasses['CreateWithdrawActivityRequest'].validateJSON === 'function') {
|
|
464
|
-
_modelClasses['CreateWithdrawActivityRequest'].validateJSON(postBody);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
330
|
var pathParams = {};
|
|
468
331
|
var queryParams = {};
|
|
469
332
|
var headerParams = {};
|
|
@@ -681,21 +544,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
681
544
|
if (postBody && postBody.toJSON) {
|
|
682
545
|
postBody = postBody.toJSON();
|
|
683
546
|
}
|
|
684
|
-
// Validate opts key — must be exactly 'GetStakingEstimationFeeRequest'
|
|
685
|
-
if (postBody === undefined && opts) {
|
|
686
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
687
|
-
return k !== '_base_path_index';
|
|
688
|
-
});
|
|
689
|
-
if (_providedKeys.length > 0) {
|
|
690
|
-
throw new Error('getStakingEstimationFee(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "GetStakingEstimationFeeRequest".');
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
// Validate request body before sending
|
|
694
|
-
if (postBody !== null && postBody !== undefined) {
|
|
695
|
-
if (_modelClasses['GetStakingEstimationFeeRequest'] && typeof _modelClasses['GetStakingEstimationFeeRequest'].validateJSON === 'function') {
|
|
696
|
-
_modelClasses['GetStakingEstimationFeeRequest'].validateJSON(postBody);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
547
|
var pathParams = {};
|
|
700
548
|
var queryParams = {};
|
|
701
549
|
var headerParams = {};
|
|
@@ -737,21 +585,6 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
737
585
|
if (postBody && postBody.toJSON) {
|
|
738
586
|
postBody = postBody.toJSON();
|
|
739
587
|
}
|
|
740
|
-
// Validate opts key — must be exactly 'GetStakingEstimationFeeRequest'
|
|
741
|
-
if (postBody === undefined && opts) {
|
|
742
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
743
|
-
return k !== '_base_path_index';
|
|
744
|
-
});
|
|
745
|
-
if (_providedKeys.length > 0) {
|
|
746
|
-
throw new Error('getStakingEstimationFeeV2(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "GetStakingEstimationFeeRequest".');
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
// Validate request body before sending
|
|
750
|
-
if (postBody !== null && postBody !== undefined) {
|
|
751
|
-
if (_modelClasses['GetStakingEstimationFeeRequest'] && typeof _modelClasses['GetStakingEstimationFeeRequest'].validateJSON === 'function') {
|
|
752
|
-
_modelClasses['GetStakingEstimationFeeRequest'].validateJSON(postBody);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
588
|
var pathParams = {};
|
|
756
589
|
var queryParams = {};
|
|
757
590
|
var headerParams = {};
|
package/dist/api/SwapsApi.js
CHANGED
|
@@ -31,20 +31,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
* Do not edit the class manually.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
35
|
-
var _modelClasses = {
|
|
36
|
-
'CreateSwapActivityRequest': _CreateSwapActivityRequest["default"],
|
|
37
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
38
|
-
'EstimatedFee': _EstimatedFee["default"],
|
|
39
|
-
'ListSwapActivities200Response': _ListSwapActivities200Response["default"],
|
|
40
|
-
'ListSwapEnabledTokens200Response': _ListSwapEnabledTokens200Response["default"],
|
|
41
|
-
'SwapActivityDetail': _SwapActivityDetail["default"],
|
|
42
|
-
'SwapActivityStatus': _SwapActivityStatus["default"],
|
|
43
|
-
'SwapEstimateFee': _SwapEstimateFee["default"],
|
|
44
|
-
'SwapQuote': _SwapQuote["default"],
|
|
45
|
-
'SwapType': _SwapType["default"]
|
|
46
|
-
};
|
|
47
|
-
|
|
48
34
|
/**
|
|
49
35
|
* Swaps service.
|
|
50
36
|
* @module api/SwapsApi
|
|
@@ -79,12 +65,6 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
79
65
|
if (CreateSwapActivityRequest === undefined || CreateSwapActivityRequest === null) {
|
|
80
66
|
throw new Error("Missing the required parameter 'CreateSwapActivityRequest' when calling createSwapActivity");
|
|
81
67
|
}
|
|
82
|
-
// Validate request body before sending
|
|
83
|
-
if (postBody !== null && postBody !== undefined) {
|
|
84
|
-
if (_modelClasses['CreateSwapActivityRequest'] && typeof _modelClasses['CreateSwapActivityRequest'].validateJSON === 'function') {
|
|
85
|
-
_modelClasses['CreateSwapActivityRequest'].validateJSON(postBody);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
68
|
var pathParams = {};
|
|
89
69
|
var queryParams = {};
|
|
90
70
|
var headerParams = {};
|
|
@@ -127,12 +107,6 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
127
107
|
if (SwapEstimateFee === undefined || SwapEstimateFee === null) {
|
|
128
108
|
throw new Error("Missing the required parameter 'SwapEstimateFee' when calling estimateSwapFee");
|
|
129
109
|
}
|
|
130
|
-
// Validate request body before sending
|
|
131
|
-
if (postBody !== null && postBody !== undefined) {
|
|
132
|
-
if (_modelClasses['SwapEstimateFee'] && typeof _modelClasses['SwapEstimateFee'].validateJSON === 'function') {
|
|
133
|
-
_modelClasses['SwapEstimateFee'].validateJSON(postBody);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
110
|
var pathParams = {};
|
|
137
111
|
var queryParams = {};
|
|
138
112
|
var headerParams = {};
|
|
@@ -49,38 +49,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
|
-
// Model class table — access class refs by name to avoid parameter-name shadowing
|
|
53
|
-
var _modelClasses = {
|
|
54
|
-
'ErrorResponse': _ErrorResponse["default"],
|
|
55
|
-
'EstimatedFee': _EstimatedFee["default"],
|
|
56
|
-
'GetTokenizationAllowlistActivation200Response': _GetTokenizationAllowlistActivation200Response["default"],
|
|
57
|
-
'ListTokenizationBlocklistAddresses200Response': _ListTokenizationBlocklistAddresses200Response["default"],
|
|
58
|
-
'TokenizationActivityInfo': _TokenizationActivityInfo["default"],
|
|
59
|
-
'TokenizationActivityStatus': _TokenizationActivityStatus["default"],
|
|
60
|
-
'TokenizationAllowlistActivationRequest': _TokenizationAllowlistActivationRequest["default"],
|
|
61
|
-
'TokenizationAllowlistAddressesResponse': _TokenizationAllowlistAddressesResponse["default"],
|
|
62
|
-
'TokenizationBurnTokenRequest': _TokenizationBurnTokenRequest["default"],
|
|
63
|
-
'TokenizationContractCallRequest': _TokenizationContractCallRequest["default"],
|
|
64
|
-
'TokenizationEstimateFeeRequest': _TokenizationEstimateFeeRequest["default"],
|
|
65
|
-
'TokenizationIssuedTokenRequest': _TokenizationIssuedTokenRequest["default"],
|
|
66
|
-
'TokenizationListActivitiesResponse': _TokenizationListActivitiesResponse["default"],
|
|
67
|
-
'TokenizationListEnabledChainsResponse': _TokenizationListEnabledChainsResponse["default"],
|
|
68
|
-
'TokenizationListHoldingsResponse': _TokenizationListHoldingsResponse["default"],
|
|
69
|
-
'TokenizationListPermissionsResponse': _TokenizationListPermissionsResponse["default"],
|
|
70
|
-
'TokenizationListTokenInfoResponse': _TokenizationListTokenInfoResponse["default"],
|
|
71
|
-
'TokenizationMintTokenRequest': _TokenizationMintTokenRequest["default"],
|
|
72
|
-
'TokenizationOperationResponse': _TokenizationOperationResponse["default"],
|
|
73
|
-
'TokenizationOperationType': _TokenizationOperationType["default"],
|
|
74
|
-
'TokenizationPauseTokenRequest': _TokenizationPauseTokenRequest["default"],
|
|
75
|
-
'TokenizationStatus': _TokenizationStatus["default"],
|
|
76
|
-
'TokenizationTokenDetailInfo': _TokenizationTokenDetailInfo["default"],
|
|
77
|
-
'TokenizationTokenStandard': _TokenizationTokenStandard["default"],
|
|
78
|
-
'TokenizationUnpauseTokenRequest': _TokenizationUnpauseTokenRequest["default"],
|
|
79
|
-
'TokenizationUpdateAllowlistAddressesRequest': _TokenizationUpdateAllowlistAddressesRequest["default"],
|
|
80
|
-
'TokenizationUpdateBlocklistAddressesRequest': _TokenizationUpdateBlocklistAddressesRequest["default"],
|
|
81
|
-
'TokenizationUpdatePermissionsRequest': _TokenizationUpdatePermissionsRequest["default"]
|
|
82
|
-
};
|
|
83
|
-
|
|
84
52
|
/**
|
|
85
53
|
* Tokenization service.
|
|
86
54
|
* @module api/TokenizationApi
|
|
@@ -118,21 +86,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
118
86
|
if (token_id === undefined || token_id === null) {
|
|
119
87
|
throw new Error("Missing the required parameter 'token_id' when calling burnTokenization");
|
|
120
88
|
}
|
|
121
|
-
// Validate opts key — must be exactly 'TokenizationBurnTokenRequest'
|
|
122
|
-
if (postBody === undefined && opts) {
|
|
123
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
124
|
-
return k !== '_base_path_index';
|
|
125
|
-
});
|
|
126
|
-
if (_providedKeys.length > 0) {
|
|
127
|
-
throw new Error('burnTokenization(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationBurnTokenRequest".');
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
// Validate request body before sending
|
|
131
|
-
if (postBody !== null && postBody !== undefined) {
|
|
132
|
-
if (_modelClasses['TokenizationBurnTokenRequest'] && typeof _modelClasses['TokenizationBurnTokenRequest'].validateJSON === 'function') {
|
|
133
|
-
_modelClasses['TokenizationBurnTokenRequest'].validateJSON(postBody);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
89
|
var pathParams = {
|
|
137
90
|
'token_id': token_id
|
|
138
91
|
};
|
|
@@ -179,12 +132,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
179
132
|
if (TokenizationEstimateFeeRequest === undefined || TokenizationEstimateFeeRequest === null) {
|
|
180
133
|
throw new Error("Missing the required parameter 'TokenizationEstimateFeeRequest' when calling estimateTokenizationFee");
|
|
181
134
|
}
|
|
182
|
-
// Validate request body before sending
|
|
183
|
-
if (postBody !== null && postBody !== undefined) {
|
|
184
|
-
if (_modelClasses['TokenizationEstimateFeeRequest'] && typeof _modelClasses['TokenizationEstimateFeeRequest'].validateJSON === 'function') {
|
|
185
|
-
_modelClasses['TokenizationEstimateFeeRequest'].validateJSON(postBody);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
135
|
var pathParams = {};
|
|
189
136
|
var queryParams = {};
|
|
190
137
|
var headerParams = {};
|
|
@@ -359,12 +306,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
359
306
|
if (TokenizationIssuedTokenRequest === undefined || TokenizationIssuedTokenRequest === null) {
|
|
360
307
|
throw new Error("Missing the required parameter 'TokenizationIssuedTokenRequest' when calling issueToken");
|
|
361
308
|
}
|
|
362
|
-
// Validate request body before sending
|
|
363
|
-
if (postBody !== null && postBody !== undefined) {
|
|
364
|
-
if (_modelClasses['TokenizationIssuedTokenRequest'] && typeof _modelClasses['TokenizationIssuedTokenRequest'].validateJSON === 'function') {
|
|
365
|
-
_modelClasses['TokenizationIssuedTokenRequest'].validateJSON(postBody);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
309
|
var pathParams = {};
|
|
369
310
|
var queryParams = {};
|
|
370
311
|
var headerParams = {};
|
|
@@ -826,12 +767,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
826
767
|
if (TokenizationMintTokenRequest === undefined || TokenizationMintTokenRequest === null) {
|
|
827
768
|
throw new Error("Missing the required parameter 'TokenizationMintTokenRequest' when calling mintTokenization");
|
|
828
769
|
}
|
|
829
|
-
// Validate request body before sending
|
|
830
|
-
if (postBody !== null && postBody !== undefined) {
|
|
831
|
-
if (_modelClasses['TokenizationMintTokenRequest'] && typeof _modelClasses['TokenizationMintTokenRequest'].validateJSON === 'function') {
|
|
832
|
-
_modelClasses['TokenizationMintTokenRequest'].validateJSON(postBody);
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
770
|
var pathParams = {
|
|
836
771
|
'token_id': token_id
|
|
837
772
|
};
|
|
@@ -880,21 +815,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
880
815
|
if (token_id === undefined || token_id === null) {
|
|
881
816
|
throw new Error("Missing the required parameter 'token_id' when calling pauseTokenization");
|
|
882
817
|
}
|
|
883
|
-
// Validate opts key — must be exactly 'TokenizationPauseTokenRequest'
|
|
884
|
-
if (postBody === undefined && opts) {
|
|
885
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
886
|
-
return k !== '_base_path_index';
|
|
887
|
-
});
|
|
888
|
-
if (_providedKeys.length > 0) {
|
|
889
|
-
throw new Error('pauseTokenization(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationPauseTokenRequest".');
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
// Validate request body before sending
|
|
893
|
-
if (postBody !== null && postBody !== undefined) {
|
|
894
|
-
if (_modelClasses['TokenizationPauseTokenRequest'] && typeof _modelClasses['TokenizationPauseTokenRequest'].validateJSON === 'function') {
|
|
895
|
-
_modelClasses['TokenizationPauseTokenRequest'].validateJSON(postBody);
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
818
|
var pathParams = {
|
|
899
819
|
'token_id': token_id
|
|
900
820
|
};
|
|
@@ -944,21 +864,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
944
864
|
if (token_id === undefined || token_id === null) {
|
|
945
865
|
throw new Error("Missing the required parameter 'token_id' when calling tokenizationContractCall");
|
|
946
866
|
}
|
|
947
|
-
// Validate opts key — must be exactly 'TokenizationContractCallRequest'
|
|
948
|
-
if (postBody === undefined && opts) {
|
|
949
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
950
|
-
return k !== '_base_path_index';
|
|
951
|
-
});
|
|
952
|
-
if (_providedKeys.length > 0) {
|
|
953
|
-
throw new Error('tokenizationContractCall(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationContractCallRequest".');
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
// Validate request body before sending
|
|
957
|
-
if (postBody !== null && postBody !== undefined) {
|
|
958
|
-
if (_modelClasses['TokenizationContractCallRequest'] && typeof _modelClasses['TokenizationContractCallRequest'].validateJSON === 'function') {
|
|
959
|
-
_modelClasses['TokenizationContractCallRequest'].validateJSON(postBody);
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
867
|
var pathParams = {
|
|
963
868
|
'token_id': token_id
|
|
964
869
|
};
|
|
@@ -1008,21 +913,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1008
913
|
if (token_id === undefined || token_id === null) {
|
|
1009
914
|
throw new Error("Missing the required parameter 'token_id' when calling unpauseTokenization");
|
|
1010
915
|
}
|
|
1011
|
-
// Validate opts key — must be exactly 'TokenizationUnpauseTokenRequest'
|
|
1012
|
-
if (postBody === undefined && opts) {
|
|
1013
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1014
|
-
return k !== '_base_path_index';
|
|
1015
|
-
});
|
|
1016
|
-
if (_providedKeys.length > 0) {
|
|
1017
|
-
throw new Error('unpauseTokenization(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationUnpauseTokenRequest".');
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
// Validate request body before sending
|
|
1021
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1022
|
-
if (_modelClasses['TokenizationUnpauseTokenRequest'] && typeof _modelClasses['TokenizationUnpauseTokenRequest'].validateJSON === 'function') {
|
|
1023
|
-
_modelClasses['TokenizationUnpauseTokenRequest'].validateJSON(postBody);
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
916
|
var pathParams = {
|
|
1027
917
|
'token_id': token_id
|
|
1028
918
|
};
|
|
@@ -1072,21 +962,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1072
962
|
if (token_id === undefined || token_id === null) {
|
|
1073
963
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationAllowlistActivation");
|
|
1074
964
|
}
|
|
1075
|
-
// Validate opts key — must be exactly 'TokenizationAllowlistActivationRequest'
|
|
1076
|
-
if (postBody === undefined && opts) {
|
|
1077
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1078
|
-
return k !== '_base_path_index';
|
|
1079
|
-
});
|
|
1080
|
-
if (_providedKeys.length > 0) {
|
|
1081
|
-
throw new Error('updateTokenizationAllowlistActivation(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationAllowlistActivationRequest".');
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
// Validate request body before sending
|
|
1085
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1086
|
-
if (_modelClasses['TokenizationAllowlistActivationRequest'] && typeof _modelClasses['TokenizationAllowlistActivationRequest'].validateJSON === 'function') {
|
|
1087
|
-
_modelClasses['TokenizationAllowlistActivationRequest'].validateJSON(postBody);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
965
|
var pathParams = {
|
|
1091
966
|
'token_id': token_id
|
|
1092
967
|
};
|
|
@@ -1136,21 +1011,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1136
1011
|
if (token_id === undefined || token_id === null) {
|
|
1137
1012
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationAllowlistAddresses");
|
|
1138
1013
|
}
|
|
1139
|
-
// Validate opts key — must be exactly 'TokenizationUpdateAllowlistAddressesRequest'
|
|
1140
|
-
if (postBody === undefined && opts) {
|
|
1141
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1142
|
-
return k !== '_base_path_index';
|
|
1143
|
-
});
|
|
1144
|
-
if (_providedKeys.length > 0) {
|
|
1145
|
-
throw new Error('updateTokenizationAllowlistAddresses(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationUpdateAllowlistAddressesRequest".');
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
// Validate request body before sending
|
|
1149
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1150
|
-
if (_modelClasses['TokenizationUpdateAllowlistAddressesRequest'] && typeof _modelClasses['TokenizationUpdateAllowlistAddressesRequest'].validateJSON === 'function') {
|
|
1151
|
-
_modelClasses['TokenizationUpdateAllowlistAddressesRequest'].validateJSON(postBody);
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
1014
|
var pathParams = {
|
|
1155
1015
|
'token_id': token_id
|
|
1156
1016
|
};
|
|
@@ -1200,21 +1060,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1200
1060
|
if (token_id === undefined || token_id === null) {
|
|
1201
1061
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationBlocklistAddresses");
|
|
1202
1062
|
}
|
|
1203
|
-
// Validate opts key — must be exactly 'TokenizationUpdateBlocklistAddressesRequest'
|
|
1204
|
-
if (postBody === undefined && opts) {
|
|
1205
|
-
var _providedKeys = Object.keys(opts).filter(function (k) {
|
|
1206
|
-
return k !== '_base_path_index';
|
|
1207
|
-
});
|
|
1208
|
-
if (_providedKeys.length > 0) {
|
|
1209
|
-
throw new Error('updateTokenizationBlocklistAddresses(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TokenizationUpdateBlocklistAddressesRequest".');
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
// Validate request body before sending
|
|
1213
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1214
|
-
if (_modelClasses['TokenizationUpdateBlocklistAddressesRequest'] && typeof _modelClasses['TokenizationUpdateBlocklistAddressesRequest'].validateJSON === 'function') {
|
|
1215
|
-
_modelClasses['TokenizationUpdateBlocklistAddressesRequest'].validateJSON(postBody);
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
1063
|
var pathParams = {
|
|
1219
1064
|
'token_id': token_id
|
|
1220
1065
|
};
|
|
@@ -1266,12 +1111,6 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1266
1111
|
if (TokenizationUpdatePermissionsRequest === undefined || TokenizationUpdatePermissionsRequest === null) {
|
|
1267
1112
|
throw new Error("Missing the required parameter 'TokenizationUpdatePermissionsRequest' when calling updateTokenizationPermissions");
|
|
1268
1113
|
}
|
|
1269
|
-
// Validate request body before sending
|
|
1270
|
-
if (postBody !== null && postBody !== undefined) {
|
|
1271
|
-
if (_modelClasses['TokenizationUpdatePermissionsRequest'] && typeof _modelClasses['TokenizationUpdatePermissionsRequest'].validateJSON === 'function') {
|
|
1272
|
-
_modelClasses['TokenizationUpdatePermissionsRequest'].validateJSON(postBody);
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
1114
|
var pathParams = {
|
|
1276
1115
|
'token_id': token_id
|
|
1277
1116
|
};
|