@cobo/cobo-waas2 1.34.0 → 1.35.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 +4 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +41 -0
- package/dist/api/AppWorkflowsApi.js +42 -0
- package/dist/api/AutoSweepApi.js +41 -0
- package/dist/api/ComplianceApi.js +107 -0
- package/dist/api/DevelopersApi.js +8 -0
- package/dist/api/DevelopersWebhooksApi.js +64 -0
- package/dist/api/FeeStationApi.js +45 -0
- package/dist/api/GraphQLApi.js +22 -0
- package/dist/api/OAuthApi.js +30 -0
- package/dist/api/OrganizationsApi.js +6 -0
- package/dist/api/PaymentApi.js +559 -91
- package/dist/api/PrimeBrokerApi.js +26 -0
- package/dist/api/StakingsApi.js +167 -0
- package/dist/api/SwapsApi.js +26 -0
- package/dist/api/TokenizationApi.js +161 -0
- package/dist/api/TransactionsApi.js +144 -0
- package/dist/api/TravelRuleApi.js +40 -0
- package/dist/api/WalletsApi.js +165 -0
- package/dist/api/WalletsExchangeWalletApi.js +10 -0
- package/dist/api/WalletsMPCWalletsApi.js +130 -0
- package/dist/api/WalletsSmartContractWalletsApi.js +22 -0
- package/dist/index.js +14 -7
- package/dist/model/Account.js +4 -4
- package/dist/model/Activity.js +14 -8
- package/dist/model/ActivityExtra.js +5 -0
- package/dist/model/AddressBalance.js +3 -8
- package/dist/model/AddressBook.js +10 -7
- package/dist/model/AddressInfo.js +8 -5
- package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +2 -2
- package/dist/model/AddressesEventData.js +1 -1
- package/dist/model/AddressesEventDataAllOfAddresses.js +9 -6
- 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 +19 -22
- package/dist/model/AppWorkflowField.js +2 -2
- package/dist/model/AppWorkflowPolicy.js +2 -7
- package/dist/model/ApprovalRequest.js +18 -21
- package/dist/model/ApprovalRequestDetail.js +2 -7
- package/dist/model/ApprovalUser.js +1 -1
- package/dist/model/AssetBalance.js +3 -8
- package/dist/model/AssetInfo.js +1 -1
- package/dist/model/AutoSweepTask.js +15 -9
- 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 +3 -8
- package/dist/model/BabylonStakeExtra.js +7 -4
- package/dist/model/BabylonStakingExtra.js +1 -1
- package/dist/model/BabylonValidator.js +7 -4
- package/dist/model/Balance.js +2 -2
- package/dist/model/BalanceUpdateInfo.js +5 -10
- package/dist/model/BalanceUpdateInfoEventData.js +6 -11
- 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 +17 -20
- package/dist/model/BatchUTXOParam.js +7 -4
- package/dist/model/BridgingFee.js +1 -1
- package/dist/model/BroadcastSignedTransactions201ResponseInner.js +2 -2
- package/dist/model/BroadcastSignedTransactionsRequest.js +6 -3
- package/dist/model/CallbackMessage.js +7 -12
- package/dist/model/ChainInfo.js +14 -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 +5 -0
- 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 +5 -0
- package/dist/model/ContractCallParams.js +12 -19
- package/dist/model/ContractCallSource.js +5 -0
- 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 +16 -19
- package/dist/model/CosmosContractCallMessage.js +2 -2
- package/dist/model/Counterparty.js +1 -1
- package/dist/model/CounterpartyDetail.js +17 -20
- package/dist/model/CounterpartyWalletAddressDetail.js +5 -5
- package/dist/model/CreateAddressBookParam.js +1 -1
- package/dist/model/CreateAddressBooksParam.js +16 -19
- package/dist/model/CreateAddressRequest.js +7 -4
- package/dist/model/CreateApprovalRequest201Response.js +1 -1
- package/dist/model/CreateAutoSweepTask.js +2 -2
- package/dist/model/CreateBatchAllocationRequest.js +17 -20
- package/dist/model/CreateBulkSendRequest.js +17 -20
- 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 +17 -20
- package/dist/model/CreateCounterpartyEntryRequest.js +1 -1
- package/dist/model/CreateCounterpartyRequest.js +17 -20
- 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 +16 -19
- package/dist/model/CreateKyaScreeningsBody.js +16 -19
- 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 +2 -7
- package/dist/model/CreatePaymentOrderRequest.js +4 -4
- package/dist/model/CreatePayoutRequest.js +19 -27
- package/dist/model/CreatePrimeBrokerAddress201Response.js +1 -1
- package/dist/model/CreateRefundLinkRequest.js +2 -7
- package/dist/model/CreateRefundRequest.js +3 -3
- package/dist/model/CreateReportRequest.js +6 -3
- package/dist/model/CreateSafeWalletParams.js +8 -5
- package/dist/model/CreateSettlement.js +7 -4
- package/dist/model/CreateSettlementRequestRequest.js +17 -20
- package/dist/model/CreateSmartContractWalletParams.js +5 -0
- package/dist/model/CreateStakeActivity.js +3 -8
- package/dist/model/CreateStakeActivity201Response.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +5 -0
- package/dist/model/CreateStakeActivityRequest.js +3 -8
- 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 +5 -0
- package/dist/model/CreateUnstakeActivityRequest.js +1 -1
- package/dist/model/CreateWalletAddress.js +2 -2
- package/dist/model/CreateWalletParams.js +5 -0
- package/dist/model/CreateWebhookEndpointRequest.js +1 -1
- package/dist/model/CreateWithdrawActivity.js +3 -8
- package/dist/model/CreateWithdrawActivityRequest.js +3 -8
- package/dist/model/CreatedWalletInfo.js +5 -0
- 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 +3 -8
- package/dist/model/EstimateFeeParams.js +5 -0
- package/dist/model/EstimateStakeFee.js +3 -8
- package/dist/model/EstimateTransferFeeParams.js +3 -8
- package/dist/model/EstimateUnstakeFee.js +1 -1
- package/dist/model/EstimateWithdrawFee.js +3 -8
- package/dist/model/EstimatedEvmEip1559Fee.js +3 -8
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -3
- package/dist/model/EstimatedEvmLegacyFee.js +3 -8
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +2 -2
- package/dist/model/EstimatedFILFee.js +3 -8
- package/dist/model/EstimatedFILFeeSlow.js +4 -4
- package/dist/model/EstimatedFee.js +5 -0
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +3 -8
- package/dist/model/EstimatedSOLFeeSlow.js +3 -3
- package/dist/model/EstimatedUtxoFee.js +3 -8
- package/dist/model/EstimatedUtxoFeeSlow.js +2 -2
- package/dist/model/EthStakeEstimatedFee.js +6 -3
- package/dist/model/EthStakeExtra.js +1 -1
- package/dist/model/EthStakingActivityDetailExtra.js +6 -3
- 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 +3 -8
- package/dist/model/EvmLegacyFeeRate.js +3 -8
- 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 +5 -0
- 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 +10 -7
- 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 +9 -6
- package/dist/model/GetExchangeRate200Response.js +3 -3
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +4 -9
- package/dist/model/GetStakingEstimationFee201Response.js +5 -0
- package/dist/model/GetStakingEstimationFeeRequest.js +5 -0
- package/dist/model/GetToken4XXResponse.js +2 -2
- package/dist/model/GetTransactionLimitation200Response.js +6 -3
- package/dist/model/GraphQLError.js +6 -3
- package/dist/model/GraphQLRequest.js +1 -1
- package/dist/model/IntermediaryBankInfo.js +2 -2
- package/dist/model/IsolateDisposition.js +9 -6
- 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/ListCallbackMessages200Response.js +17 -25
- package/dist/model/ListKyaScreenings200Response.js +17 -25
- package/dist/model/{UpdateBankAccountByIdRequest.js → ListPayerTransactions200Response.js} +55 -40
- package/dist/model/ListSupportedCountries200ResponseInner.js +3 -3
- package/dist/model/ListTokenBalancesForFeeStation200ResponseDataInner.js +3 -8
- package/dist/model/ListTokenizationBlocklistAddresses200Response.js +17 -25
- package/dist/model/ListTopUpPayers200ResponseDataInner.js +17 -4
- package/dist/model/LockUtxosRequest.js +16 -19
- 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 +5 -0
- package/dist/model/MessageSignParams.js +12 -19
- package/dist/model/MessageSignSource.js +5 -0
- package/dist/model/MpcContractCallSource.js +2 -2
- package/dist/model/MpcMessageSignSource.js +2 -2
- package/dist/model/MpcSigningGroup.js +7 -4
- 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 +13 -10
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -2
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +2 -2
- package/dist/model/OrgInfo.js +1 -1
- package/dist/model/OriginalMainGroupHandling.js +61 -0
- 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 +2 -2
- package/dist/model/PaymentBulkSendEvent.js +3 -3
- package/dist/model/PaymentBulkSendItem.js +4 -4
- package/dist/model/PaymentEstimateFee.js +2 -2
- package/dist/model/PaymentEstimateFeeRequest.js +16 -19
- 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 +19 -22
- package/dist/model/PaymentTransaction.js +4 -4
- package/dist/model/PaymentTransactionEventData.js +25 -26
- package/dist/model/PaymentWalletBalance.js +2 -2
- package/dist/model/PolicyActionContent.js +13 -7
- package/dist/model/PolicyCondition.js +2 -2
- package/dist/model/PoolDetails.js +21 -24
- package/dist/model/PoolDetailsAllOfValidatorsInfo.js +5 -0
- package/dist/model/PoolSummary.js +5 -5
- package/dist/model/PreCheck.js +6 -3
- 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 +9 -6
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Report.js +2 -2
- package/dist/model/RequestApproval.js +20 -23
- package/dist/model/RevokeApprovalRequest201Response.js +1 -1
- package/dist/model/RevokeApprovalRequestRequest.js +1 -1
- package/dist/model/RoleScopes.js +3 -8
- package/dist/model/SafeContractCallSource.js +4 -9
- package/dist/model/SafeTransferSource.js +4 -9
- package/dist/model/SafeTxExtraData.js +8 -8
- package/dist/model/SafeWallet.js +9 -6
- package/dist/model/SafeWalletDelegates.js +5 -0
- package/dist/model/SafeWalletDelegatesTransfer.js +1 -1
- package/dist/model/Scopes.js +30 -15
- package/dist/model/SelfCustodyWallet.js +3 -3
- package/dist/model/Settlement.js +18 -21
- package/dist/model/SettlementDetail.js +6 -3
- package/dist/model/SettlementInfo.js +1 -1
- package/dist/model/SmartContractInitiator.js +2 -2
- package/dist/model/SmartContractWalletInfo.js +5 -0
- package/dist/model/SolContractCallAccount.js +1 -1
- package/dist/model/SolContractCallAddressLookupTableAccount.js +1 -1
- package/dist/model/SolContractCallDestination.js +18 -21
- package/dist/model/SolContractCallInstruction.js +18 -21
- package/dist/model/SourceGroup.js +7 -4
- package/dist/model/StakingSource.js +5 -0
- package/dist/model/Stakings.js +22 -25
- package/dist/model/StakingsExtra.js +5 -0
- package/dist/model/StellarContractCallContractParam.js +5 -0
- package/dist/model/StellarContractCallDestination.js +2 -7
- package/dist/model/StellarContractCallTrustLineParam.js +1 -1
- package/dist/model/SubWalletAssetBalance.js +3 -8
- 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 +5 -0
- package/dist/model/TSSKeyGenRequest.js +6 -3
- package/dist/model/TSSKeyReshareRequest.js +12 -6
- package/dist/model/TSSKeySignRequest.js +24 -12
- package/dist/model/TSSRequestWebhookEventData.js +1 -1
- package/dist/model/TokenBalance.js +3 -8
- 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 +5 -10
- package/dist/model/TokenizationAddressPermission.js +1 -1
- package/dist/model/TokenizationAllowlistActivationParams.js +2 -7
- package/dist/model/TokenizationAllowlistActivationRequest.js +4 -14
- package/dist/model/TokenizationAllowlistAddressNote.js +1 -1
- package/dist/model/TokenizationAllowlistAddressesResponse.js +17 -25
- package/dist/model/TokenizationBlocklistAddressNote.js +1 -1
- package/dist/model/TokenizationBurnEstimateFeeParams.js +18 -26
- package/dist/model/TokenizationBurnTokenParams.js +17 -25
- package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +2 -2
- package/dist/model/TokenizationBurnTokenRequest.js +19 -32
- package/dist/model/TokenizationContractCallEstimateFeeParams.js +1 -1
- package/dist/model/TokenizationContractCallParamsData.js +5 -0
- package/dist/model/TokenizationContractCallRequest.js +2 -7
- package/dist/model/TokenizationERC20TokenParams.js +2 -2
- package/dist/model/TokenizationERC20TokenPermissionParams.js +42 -21
- package/dist/model/TokenizationERC20WrappedTokenParams.js +3 -3
- package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +42 -21
- package/dist/model/TokenizationEstimateFeeRequest.js +2 -7
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +5 -0
- package/dist/model/TokenizationEvmContractCallParams.js +1 -1
- package/dist/model/TokenizationHoldingInfo.js +3 -3
- package/dist/model/TokenizationIssueEstimateFeeParams.js +5 -15
- package/dist/model/TokenizationIssueTokenParams.js +5 -15
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +5 -0
- package/dist/model/TokenizationIssuedTokenRequest.js +7 -22
- package/dist/model/TokenizationListActivitiesResponse.js +17 -25
- package/dist/model/TokenizationListEnabledChainsResponse.js +2 -7
- package/dist/model/TokenizationListHoldingsResponse.js +17 -25
- package/dist/model/TokenizationListPermissionsResponse.js +17 -25
- package/dist/model/TokenizationListPermissionsResponseDataInner.js +1 -1
- package/dist/model/TokenizationListTokenInfoResponse.js +17 -25
- package/dist/model/TokenizationMintEstimateFeeParams.js +18 -26
- package/dist/model/TokenizationMintTokenParams.js +17 -25
- package/dist/model/TokenizationMintTokenParamsMintsInner.js +2 -2
- package/dist/model/TokenizationMintTokenRequest.js +19 -32
- package/dist/model/TokenizationMpcOperationSource.js +2 -2
- package/dist/model/TokenizationOperationResponse.js +1 -1
- package/dist/model/TokenizationPauseEstimateFeeParams.js +3 -8
- package/dist/model/TokenizationPauseTokenParams.js +2 -7
- package/dist/model/TokenizationPauseTokenRequest.js +4 -14
- package/dist/model/TokenizationSOLTokenParams.js +2 -2
- package/dist/model/TokenizationSOLWrappedTokenParams.js +3 -3
- package/dist/model/TokenizationSolContractCallParams.js +16 -19
- package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +6 -3
- package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +3 -8
- package/dist/model/TokenizationTokenDetailInfo.js +3 -3
- package/dist/model/TokenizationTokenInfo.js +3 -3
- package/dist/model/TokenizationTokenOperationSource.js +5 -0
- package/dist/model/TokenizationTokenPermission.js +2 -2
- package/dist/model/TokenizationUnpauseEstimateFeeParams.js +3 -8
- package/dist/model/TokenizationUnpauseTokenParams.js +2 -7
- package/dist/model/TokenizationUnpauseTokenRequest.js +4 -14
- package/dist/model/TokenizationUpdateAddressPermissions.js +1 -1
- package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +18 -26
- package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +17 -25
- package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
- package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +19 -32
- package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +18 -26
- package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +17 -25
- package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
- package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +19 -32
- package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +18 -26
- package/dist/model/TokenizationUpdatePermissionsParams.js +17 -25
- package/dist/model/TokenizationUpdatePermissionsRequest.js +19 -32
- 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 +24 -25
- package/dist/model/TransactionBIP137Destination.js +1 -1
- package/dist/model/TransactionBIP322Destination.js +1 -1
- package/dist/model/TransactionCoboCategory.js +20 -0
- package/dist/model/TransactionCosmosAdr36Destination.js +1 -1
- package/dist/model/TransactionCosmosContractDestination.js +16 -19
- 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 +5 -0
- package/dist/model/TransactionDetail.js +24 -25
- package/dist/model/TransactionDetails.js +24 -25
- package/dist/model/TransactionEvmContractDestination.js +2 -2
- package/dist/model/TransactionExchangeWalletSource.js +1 -1
- package/dist/model/TransactionExtra.js +5 -0
- package/dist/model/TransactionFee.js +5 -0
- 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 +9 -11
- package/dist/model/TransactionRbfSource.js +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- package/dist/model/TransactionStellarContractParam.js +5 -0
- package/dist/model/TransactionStellarDestination.js +2 -7
- 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 +25 -26
- package/dist/model/TransferDestination.js +5 -0
- package/dist/model/TransferParams.js +10 -17
- package/dist/model/TransferSource.js +5 -0
- package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -9
- package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +5 -0
- package/dist/model/TravelRuleDepositLegalEntity.js +2 -2
- package/dist/model/TravelRuleDepositNaturalEntity.js +3 -3
- package/dist/model/TravelRuleDepositRequest.js +3 -8
- package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +4 -9
- package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -0
- package/dist/model/TravelRuleWithdrawLegalEntity.js +1 -1
- package/dist/model/TravelRuleWithdrawNaturalEntity.js +2 -2
- package/dist/model/TravelRuleWithdrawRequest.js +3 -8
- package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +5 -0
- 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/UpdateKeyShareHolderGroupByIdRequest.js +9 -0
- 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 +5 -0
- package/dist/model/UpdateWebhookEndpointByIdRequest.js +6 -3
- package/dist/model/UtxoFeeRate.js +3 -8
- package/dist/model/Vasp.js +3 -3
- package/dist/model/WalletAddress.js +3 -3
- package/dist/model/WalletInfo.js +5 -0
- package/dist/model/WalletInfoEventData.js +1 -1
- package/dist/model/WebhookEndpoint.js +1 -1
- package/dist/model/WebhookEvent.js +3 -8
- package/dist/model/WebhookEventData.js +5 -0
- package/dist/model/WebhookEventDataType.js +1 -1
- package/dist/model/WebhookEventLog.js +3 -8
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/ChainInfo.md +1 -0
- package/docs/ListPayerTransactions200Response.md +10 -0
- package/docs/ListTopUpPayers200ResponseDataInner.md +2 -1
- package/docs/OrderLinkBusinessInfo.md +1 -1
- package/docs/OriginalMainGroupHandling.md +12 -0
- package/docs/PaymentApi.md +69 -104
- package/docs/TransactionCoboCategory.md +8 -0
- package/docs/UpdateKeyShareHolderGroupByIdRequest.md +1 -0
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
- package/docs/UpdateBankAccountByIdRequest.md +0 -9
|
@@ -28,6 +28,17 @@ 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
|
+
|
|
31
42
|
/**
|
|
32
43
|
* PrimeBroker service.
|
|
33
44
|
* @module api/PrimeBrokerApi
|
|
@@ -153,6 +164,21 @@ var PrimeBrokerApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
153
164
|
if (user_id === undefined || user_id === null) {
|
|
154
165
|
throw new Error("Missing the required parameter 'user_id' when calling createPrimeBrokerAddress");
|
|
155
166
|
}
|
|
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
|
+
}
|
|
156
182
|
var pathParams = {
|
|
157
183
|
'user_id': user_id
|
|
158
184
|
};
|
package/dist/api/StakingsApi.js
CHANGED
|
@@ -49,6 +49,38 @@ 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
|
+
|
|
52
84
|
/**
|
|
53
85
|
* Stakings service.
|
|
54
86
|
* @module api/StakingsApi
|
|
@@ -81,6 +113,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
81
113
|
if (postBody && postBody.toJSON) {
|
|
82
114
|
postBody = postBody.toJSON();
|
|
83
115
|
}
|
|
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
|
+
}
|
|
84
131
|
var pathParams = {};
|
|
85
132
|
var queryParams = {};
|
|
86
133
|
var headerParams = {};
|
|
@@ -122,6 +169,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
122
169
|
if (postBody && postBody.toJSON) {
|
|
123
170
|
postBody = postBody.toJSON();
|
|
124
171
|
}
|
|
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
|
+
}
|
|
125
187
|
var pathParams = {};
|
|
126
188
|
var queryParams = {};
|
|
127
189
|
var headerParams = {};
|
|
@@ -163,6 +225,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
163
225
|
if (postBody && postBody.toJSON) {
|
|
164
226
|
postBody = postBody.toJSON();
|
|
165
227
|
}
|
|
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
|
+
}
|
|
166
243
|
var pathParams = {};
|
|
167
244
|
var queryParams = {};
|
|
168
245
|
var headerParams = {};
|
|
@@ -204,6 +281,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
204
281
|
if (postBody && postBody.toJSON) {
|
|
205
282
|
postBody = postBody.toJSON();
|
|
206
283
|
}
|
|
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
|
+
}
|
|
207
299
|
var pathParams = {};
|
|
208
300
|
var queryParams = {};
|
|
209
301
|
var headerParams = {};
|
|
@@ -245,6 +337,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
245
337
|
if (postBody && postBody.toJSON) {
|
|
246
338
|
postBody = postBody.toJSON();
|
|
247
339
|
}
|
|
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
|
+
}
|
|
248
355
|
var pathParams = {};
|
|
249
356
|
var queryParams = {};
|
|
250
357
|
var headerParams = {};
|
|
@@ -286,6 +393,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
286
393
|
if (postBody && postBody.toJSON) {
|
|
287
394
|
postBody = postBody.toJSON();
|
|
288
395
|
}
|
|
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
|
+
}
|
|
289
411
|
var pathParams = {};
|
|
290
412
|
var queryParams = {};
|
|
291
413
|
var headerParams = {};
|
|
@@ -327,6 +449,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
327
449
|
if (postBody && postBody.toJSON) {
|
|
328
450
|
postBody = postBody.toJSON();
|
|
329
451
|
}
|
|
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
|
+
}
|
|
330
467
|
var pathParams = {};
|
|
331
468
|
var queryParams = {};
|
|
332
469
|
var headerParams = {};
|
|
@@ -544,6 +681,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
544
681
|
if (postBody && postBody.toJSON) {
|
|
545
682
|
postBody = postBody.toJSON();
|
|
546
683
|
}
|
|
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
|
+
}
|
|
547
699
|
var pathParams = {};
|
|
548
700
|
var queryParams = {};
|
|
549
701
|
var headerParams = {};
|
|
@@ -585,6 +737,21 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
585
737
|
if (postBody && postBody.toJSON) {
|
|
586
738
|
postBody = postBody.toJSON();
|
|
587
739
|
}
|
|
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
|
+
}
|
|
588
755
|
var pathParams = {};
|
|
589
756
|
var queryParams = {};
|
|
590
757
|
var headerParams = {};
|
package/dist/api/SwapsApi.js
CHANGED
|
@@ -31,6 +31,20 @@ 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
|
+
|
|
34
48
|
/**
|
|
35
49
|
* Swaps service.
|
|
36
50
|
* @module api/SwapsApi
|
|
@@ -65,6 +79,12 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
65
79
|
if (CreateSwapActivityRequest === undefined || CreateSwapActivityRequest === null) {
|
|
66
80
|
throw new Error("Missing the required parameter 'CreateSwapActivityRequest' when calling createSwapActivity");
|
|
67
81
|
}
|
|
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
|
+
}
|
|
68
88
|
var pathParams = {};
|
|
69
89
|
var queryParams = {};
|
|
70
90
|
var headerParams = {};
|
|
@@ -107,6 +127,12 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
107
127
|
if (SwapEstimateFee === undefined || SwapEstimateFee === null) {
|
|
108
128
|
throw new Error("Missing the required parameter 'SwapEstimateFee' when calling estimateSwapFee");
|
|
109
129
|
}
|
|
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
|
+
}
|
|
110
136
|
var pathParams = {};
|
|
111
137
|
var queryParams = {};
|
|
112
138
|
var headerParams = {};
|
|
@@ -49,6 +49,38 @@ 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
|
+
|
|
52
84
|
/**
|
|
53
85
|
* Tokenization service.
|
|
54
86
|
* @module api/TokenizationApi
|
|
@@ -86,6 +118,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
118
|
if (token_id === undefined || token_id === null) {
|
|
87
119
|
throw new Error("Missing the required parameter 'token_id' when calling burnTokenization");
|
|
88
120
|
}
|
|
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
|
+
}
|
|
89
136
|
var pathParams = {
|
|
90
137
|
'token_id': token_id
|
|
91
138
|
};
|
|
@@ -132,6 +179,12 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
132
179
|
if (TokenizationEstimateFeeRequest === undefined || TokenizationEstimateFeeRequest === null) {
|
|
133
180
|
throw new Error("Missing the required parameter 'TokenizationEstimateFeeRequest' when calling estimateTokenizationFee");
|
|
134
181
|
}
|
|
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
|
+
}
|
|
135
188
|
var pathParams = {};
|
|
136
189
|
var queryParams = {};
|
|
137
190
|
var headerParams = {};
|
|
@@ -306,6 +359,12 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
306
359
|
if (TokenizationIssuedTokenRequest === undefined || TokenizationIssuedTokenRequest === null) {
|
|
307
360
|
throw new Error("Missing the required parameter 'TokenizationIssuedTokenRequest' when calling issueToken");
|
|
308
361
|
}
|
|
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
|
+
}
|
|
309
368
|
var pathParams = {};
|
|
310
369
|
var queryParams = {};
|
|
311
370
|
var headerParams = {};
|
|
@@ -767,6 +826,12 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
767
826
|
if (TokenizationMintTokenRequest === undefined || TokenizationMintTokenRequest === null) {
|
|
768
827
|
throw new Error("Missing the required parameter 'TokenizationMintTokenRequest' when calling mintTokenization");
|
|
769
828
|
}
|
|
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
|
+
}
|
|
770
835
|
var pathParams = {
|
|
771
836
|
'token_id': token_id
|
|
772
837
|
};
|
|
@@ -815,6 +880,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
815
880
|
if (token_id === undefined || token_id === null) {
|
|
816
881
|
throw new Error("Missing the required parameter 'token_id' when calling pauseTokenization");
|
|
817
882
|
}
|
|
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
|
+
}
|
|
818
898
|
var pathParams = {
|
|
819
899
|
'token_id': token_id
|
|
820
900
|
};
|
|
@@ -864,6 +944,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
864
944
|
if (token_id === undefined || token_id === null) {
|
|
865
945
|
throw new Error("Missing the required parameter 'token_id' when calling tokenizationContractCall");
|
|
866
946
|
}
|
|
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
|
+
}
|
|
867
962
|
var pathParams = {
|
|
868
963
|
'token_id': token_id
|
|
869
964
|
};
|
|
@@ -913,6 +1008,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
913
1008
|
if (token_id === undefined || token_id === null) {
|
|
914
1009
|
throw new Error("Missing the required parameter 'token_id' when calling unpauseTokenization");
|
|
915
1010
|
}
|
|
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
|
+
}
|
|
916
1026
|
var pathParams = {
|
|
917
1027
|
'token_id': token_id
|
|
918
1028
|
};
|
|
@@ -962,6 +1072,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
962
1072
|
if (token_id === undefined || token_id === null) {
|
|
963
1073
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationAllowlistActivation");
|
|
964
1074
|
}
|
|
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
|
+
}
|
|
965
1090
|
var pathParams = {
|
|
966
1091
|
'token_id': token_id
|
|
967
1092
|
};
|
|
@@ -1011,6 +1136,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1011
1136
|
if (token_id === undefined || token_id === null) {
|
|
1012
1137
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationAllowlistAddresses");
|
|
1013
1138
|
}
|
|
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
|
+
}
|
|
1014
1154
|
var pathParams = {
|
|
1015
1155
|
'token_id': token_id
|
|
1016
1156
|
};
|
|
@@ -1060,6 +1200,21 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1060
1200
|
if (token_id === undefined || token_id === null) {
|
|
1061
1201
|
throw new Error("Missing the required parameter 'token_id' when calling updateTokenizationBlocklistAddresses");
|
|
1062
1202
|
}
|
|
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
|
+
}
|
|
1063
1218
|
var pathParams = {
|
|
1064
1219
|
'token_id': token_id
|
|
1065
1220
|
};
|
|
@@ -1111,6 +1266,12 @@ var TokenizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1111
1266
|
if (TokenizationUpdatePermissionsRequest === undefined || TokenizationUpdatePermissionsRequest === null) {
|
|
1112
1267
|
throw new Error("Missing the required parameter 'TokenizationUpdatePermissionsRequest' when calling updateTokenizationPermissions");
|
|
1113
1268
|
}
|
|
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
|
+
}
|
|
1114
1275
|
var pathParams = {
|
|
1115
1276
|
'token_id': token_id
|
|
1116
1277
|
};
|