@cobo/cobo-waas2 1.17.0 → 1.19.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 +113 -7
- package/dist/ApiClient.js +1 -1
- package/dist/api/FeeStationApi.js +2 -2
- package/dist/api/OAuthApi.js +12 -12
- package/dist/api/OrganizationsApi.js +79 -0
- package/dist/api/PaymentApi.js +233 -16
- package/dist/api/TransactionsApi.js +2 -94
- package/dist/api/WalletsApi.js +55 -2
- package/dist/index.js +717 -10
- package/dist/model/Account.js +174 -0
- package/dist/model/AcquiringType.js +61 -0
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/AddressesEventData.js +13 -3
- package/dist/model/ApprovalDetail.js +160 -0
- package/dist/model/ApprovalResult.js +66 -0
- package/dist/model/ApprovalShowInfo.js +140 -0
- package/dist/model/ApprovalTemplate.js +114 -0
- package/dist/model/ApprovalTransactionResult.js +66 -0
- package/dist/model/ApprovalUserDetail.js +196 -0
- package/dist/model/AutoFuelType.js +5 -0
- package/dist/model/BalanceUpdateInfo.js +170 -0
- package/dist/model/BalanceUpdateInfoEventData.js +302 -0
- package/dist/model/BankAccount.js +2 -2
- package/dist/model/ChainsEventData.js +13 -3
- package/dist/model/CreateMerchantRequest.js +13 -0
- package/dist/model/CreatePaymentOrderRequest.js +16 -6
- package/dist/model/CreateRefundRequest.js +9 -11
- package/dist/model/CreateSettlement.js +7 -27
- package/dist/model/CreateSettlementRequestRequest.js +27 -0
- package/dist/model/CryptoAddress.js +7 -7
- package/dist/model/CustodialTransferDestination.js +1 -1
- package/dist/model/CustodialWeb3TransferSource.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +1 -1
- package/dist/model/EstimatedEvmEip1559Fee.js +2 -2
- package/dist/model/EstimatedEvmLegacyFee.js +2 -2
- package/dist/model/EstimatedFILFee.js +170 -0
- package/dist/model/EstimatedFILFeeSlow.js +186 -0
- package/dist/model/EstimatedFee.js +69 -13
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +170 -0
- package/dist/model/EstimatedSOLFeeSlow.js +184 -0
- package/dist/model/EstimatedUtxoFee.js +2 -2
- package/dist/model/EvmEip1559FeeBasePrice.js +0 -1
- package/dist/model/EvmEip1559FeeRate.js +2 -2
- package/dist/model/EvmLegacyFeeBasePrice.js +0 -1
- package/dist/model/EvmLegacyFeeRate.js +2 -2
- package/dist/model/ExchangePermissionToken201Response.js +4 -4
- package/dist/model/ExchangePermissionTokenRequest.js +2 -2
- package/dist/model/FILBase.js +88 -0
- package/dist/model/FILPrice.js +113 -0
- package/dist/model/FeeRate.js +1 -1
- package/dist/model/FeeType.js +10 -0
- package/dist/model/FixedFeeRate.js +2 -2
- package/dist/model/GetExchangeRate200Response.js +2 -2
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +156 -0
- package/dist/model/GraphQLError.js +135 -0
- package/dist/model/GraphQLErrorLocationsInner.js +92 -0
- package/dist/model/GraphQLRequest.js +135 -0
- package/dist/model/GraphQLResponse.js +119 -0
- package/dist/model/{ListTransactionApprovalDetails200Response.js → ListTopUpPayers200Response.js} +37 -21
- package/dist/model/ListTopUpPayers200ResponseDataInner.js +189 -0
- package/dist/model/MPCVaultEventData.js +13 -3
- package/dist/model/MaxFeeAmount.js +0 -1
- package/dist/model/MaxTransferableValue.js +2 -2
- package/dist/model/Merchant.js +15 -2
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/Order.js +12 -3
- package/dist/model/PayerAccount.js +189 -0
- package/dist/model/PaymentOrderEventData.js +32 -9
- package/dist/model/PaymentRefundEventData.js +71 -11
- package/dist/model/PaymentSettlementEvent.js +19 -9
- package/dist/model/RefreshPermissionTokenRequest.js +2 -2
- package/dist/model/Refund.js +39 -4
- package/dist/model/RefundStatus.js +5 -0
- package/dist/model/RoleDetail.js +126 -0
- package/dist/model/SOLBase.js +101 -0
- package/dist/model/SOLComputeUnit.js +100 -0
- package/dist/model/Settlement.js +3 -3
- package/dist/model/SettlementDetail.js +15 -6
- package/dist/model/SettlementInfo.js +11 -2
- package/dist/model/SuspendedTokenEventData.js +225 -0
- package/dist/model/SuspendedTokenOperationType.js +61 -0
- package/dist/model/SwapActivity.js +29 -0
- package/dist/model/SwapActivityDetail.js +68 -0
- package/dist/model/SwapActivitySigners.js +110 -0
- package/dist/model/SwapQuote.js +17 -4
- package/dist/model/SwapSingingStatus.js +71 -0
- package/dist/model/TSSRequestWebhookEventData.js +13 -3
- package/dist/model/TokenListingEventData.js +13 -3
- package/dist/model/TokenizationActivityInfo.js +224 -0
- package/dist/model/TokenizationActivityStatus.js +66 -0
- package/dist/model/TokenizationAddressPermission.js +135 -0
- package/dist/model/TokenizationAllowlistActivationParams.js +124 -0
- package/dist/model/TokenizationAllowlistActivationRequest.js +180 -0
- package/dist/model/{TransactionMessageSignBTCEIP191Destination.js → TokenizationAllowlistAddressNote.js} +46 -36
- package/dist/model/TokenizationAppInitiator.js +87 -0
- package/dist/model/TokenizationBlocklistAddressNote.js +132 -0
- package/dist/model/TokenizationBurnEstimateFeeParams.js +187 -0
- package/dist/model/TokenizationBurnTokenParams.js +146 -0
- package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +125 -0
- package/dist/model/TokenizationBurnTokenRequest.js +202 -0
- package/dist/model/TokenizationContractCallEstimateFeeParams.js +167 -0
- package/dist/model/TokenizationContractCallParams.js +107 -0
- package/dist/model/TokenizationContractCallParamsData.js +164 -0
- package/dist/model/TokenizationContractCallRequest.js +182 -0
- package/dist/model/TokenizationContractCallType.js +56 -0
- package/dist/model/TokenizationERC20TokenParams.js +173 -0
- package/dist/model/TokenizationEstimateFeeRequest.js +113 -0
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +439 -0
- package/dist/model/TokenizationEvmContractCallParams.js +133 -0
- package/dist/model/TokenizationHoldingInfo.js +166 -0
- package/dist/model/TokenizationIssueEstimateFeeParams.js +176 -0
- package/dist/model/TokenizationIssueTokenParams.js +146 -0
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +183 -0
- package/dist/model/TokenizationIssuedTokenRequest.js +206 -0
- package/dist/model/TokenizationListActivitiesResponse.js +146 -0
- package/dist/model/TokenizationListEnabledChainsResponse.js +128 -0
- package/dist/model/TokenizationListHoldingsResponse.js +146 -0
- package/dist/model/TokenizationListTokenInfoResponse.js +146 -0
- package/dist/model/TokenizationMintEstimateFeeParams.js +187 -0
- package/dist/model/TokenizationMintTokenParams.js +146 -0
- package/dist/model/TokenizationMintTokenParamsMintsInner.js +125 -0
- package/dist/model/TokenizationMintTokenRequest.js +202 -0
- package/dist/model/TokenizationMpcOperationSource.js +136 -0
- package/dist/model/TokenizationOperationResponse.js +110 -0
- package/dist/model/TokenizationOperationSourceType.js +61 -0
- package/dist/model/TokenizationOperationType.js +96 -0
- package/dist/model/TokenizationPauseEstimateFeeParams.js +149 -0
- package/dist/model/TokenizationPauseTokenParams.js +113 -0
- package/dist/model/TokenizationPauseTokenRequest.js +164 -0
- package/dist/model/TokenizationStatus.js +71 -0
- package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +165 -0
- package/dist/model/TokenizationTokenDetailInfo.js +309 -0
- package/dist/model/TokenizationTokenInfo.js +223 -0
- package/dist/model/TokenizationTokenOperationSource.js +192 -0
- package/dist/model/TokenizationTokenPermission.js +147 -0
- package/dist/model/TokenizationTokenPermissionParams.js +166 -0
- package/dist/model/TokenizationTokenPermissionType.js +86 -0
- package/dist/model/TokenizationTokenPermissionsResponse.js +139 -0
- package/dist/model/TokenizationTokenStandard.js +56 -0
- package/dist/model/TokenizationUnpauseEstimateFeeParams.js +149 -0
- package/dist/model/TokenizationUnpauseTokenParams.js +113 -0
- package/dist/model/TokenizationUnpauseTokenRequest.js +164 -0
- package/dist/model/TokenizationUpdateAddressAction.js +61 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +202 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +157 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +123 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +217 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +202 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +157 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +123 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +217 -0
- package/dist/model/TokenizationWeb3OperationSource.js +136 -0
- package/dist/model/TokensEventData.js +13 -3
- package/dist/model/TopUpAddress.js +230 -0
- package/dist/model/TransactionCoboCategory.js +20 -0
- package/dist/model/TransactionDestination.js +10 -38
- package/dist/model/TransactionEvmCalldataInfo.js +1 -1
- package/dist/model/TransactionEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionEvmLegacyFee.js +2 -2
- package/dist/model/TransactionFILFee.js +229 -0
- package/dist/model/TransactionFee.js +109 -11
- package/dist/model/TransactionFixedFee.js +2 -2
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionRequestEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
- package/dist/model/TransactionRequestFILFee.js +186 -0
- package/dist/model/TransactionRequestFee.js +90 -10
- package/dist/model/TransactionRequestFixedFee.js +2 -2
- package/dist/model/TransactionRequestSOLFee.js +168 -0
- package/dist/model/TransactionRequestUtxoFee.js +2 -2
- package/dist/model/TransactionSOLFee.js +229 -0
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionTransferToWalletDestination.js +1 -1
- package/dist/model/TransactionUtxoFee.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +13 -3
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/UpdateMerchantByIdRequest.js +13 -0
- package/dist/model/UpdateRefundByIdRequest.js +110 -0
- package/dist/model/UpdateTopUpAddress.js +141 -0
- package/dist/model/UtxoFeeBasePrice.js +0 -1
- package/dist/model/UtxoFeeRate.js +2 -2
- package/dist/model/WalletInfoEventData.js +13 -3
- package/dist/model/WebhookEvent.js +2 -2
- package/dist/model/WebhookEventData.js +123 -13
- package/dist/model/WebhookEventDataType.js +12 -2
- package/dist/model/WebhookEventLog.js +2 -2
- package/dist/model/WebhookEventType.js +35 -0
- package/docs/Account.md +14 -0
- package/docs/AcquiringType.md +12 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressesEventData.md +5 -1
- package/docs/ApprovalDetail.md +14 -0
- package/docs/ApprovalResult.md +14 -0
- package/docs/ApprovalShowInfo.md +13 -0
- package/docs/ApprovalTemplate.md +11 -0
- package/docs/ApprovalTransactionResult.md +14 -0
- package/docs/ApprovalUserDetail.md +18 -0
- package/docs/AutoFuelType.md +2 -0
- package/docs/BalanceUpdateInfo.md +13 -0
- package/docs/BalanceUpdateInfoEventData.md +49 -0
- package/docs/BankAccount.md +2 -2
- package/docs/ChainsEventData.md +5 -1
- package/docs/CreateMerchantRequest.md +1 -0
- package/docs/CreatePaymentOrderRequest.md +5 -4
- package/docs/CreateRefundRequest.md +5 -5
- package/docs/CreateSettlement.md +7 -9
- package/docs/CreateSettlementRequestRequest.md +3 -0
- package/docs/CryptoAddress.md +5 -5
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimatedEvmEip1559Fee.md +1 -1
- package/docs/EstimatedEvmLegacyFee.md +1 -1
- package/docs/EstimatedFILFee.md +13 -0
- package/docs/EstimatedFILFeeSlow.md +12 -0
- package/docs/EstimatedFee.md +4 -4
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/EstimatedSOLFee.md +13 -0
- package/docs/EstimatedSOLFeeSlow.md +12 -0
- package/docs/EstimatedUtxoFee.md +1 -1
- package/docs/EvmEip1559FeeRate.md +1 -1
- package/docs/EvmLegacyFeeRate.md +1 -1
- package/docs/ExchangePermissionToken201Response.md +4 -4
- package/docs/ExchangePermissionTokenRequest.md +1 -1
- package/docs/FILBase.md +9 -0
- package/docs/FILPrice.md +11 -0
- package/docs/FeeRate.md +1 -1
- package/docs/FeeStationApi.md +1 -1
- package/docs/FeeType.md +4 -0
- package/docs/FixedFeeRate.md +1 -1
- package/docs/GetExchangeRate200Response.md +1 -1
- package/docs/GetMaxTransferableValueWithFeeModelRequest.md +12 -0
- package/docs/GraphQLError.md +11 -0
- package/docs/GraphQLErrorLocationsInner.md +10 -0
- package/docs/GraphQLRequest.md +11 -0
- package/docs/GraphQLResponse.md +10 -0
- package/docs/ListTopUpPayers200Response.md +10 -0
- package/docs/ListTopUpPayers200ResponseDataInner.md +14 -0
- package/docs/MPCVaultEventData.md +5 -1
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/Merchant.md +3 -2
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +8 -8
- package/docs/Order.md +4 -3
- package/docs/OrganizationsApi.md +55 -0
- package/docs/PayerAccount.md +14 -0
- package/docs/PaymentApi.md +230 -6
- package/docs/PaymentOrderEventData.md +9 -4
- package/docs/PaymentRefundEventData.md +12 -5
- package/docs/PaymentSettlementEvent.md +8 -4
- package/docs/RefreshPermissionTokenRequest.md +1 -1
- package/docs/Refund.md +7 -4
- package/docs/RefundStatus.md +2 -0
- package/docs/RoleDetail.md +11 -0
- package/docs/SOLBase.md +10 -0
- package/docs/SOLComputeUnit.md +10 -0
- package/docs/Settlement.md +3 -3
- package/docs/SettlementDetail.md +7 -6
- package/docs/SettlementInfo.md +3 -2
- package/docs/SuspendedTokenEventData.md +46 -0
- package/docs/SuspendedTokenOperationType.md +12 -0
- package/docs/SwapActivity.md +2 -0
- package/docs/SwapActivityDetail.md +3 -0
- package/docs/SwapActivitySigners.md +11 -0
- package/docs/SwapQuote.md +3 -2
- package/docs/SwapSingingStatus.md +16 -0
- package/docs/TSSRequestWebhookEventData.md +5 -1
- package/docs/TokenListingEventData.md +5 -1
- package/docs/TokenizationActivityInfo.md +18 -0
- package/docs/TokenizationActivityStatus.md +14 -0
- package/docs/TokenizationAddressPermission.md +11 -0
- package/docs/TokenizationAllowlistActivationParams.md +10 -0
- package/docs/TokenizationAllowlistActivationRequest.md +12 -0
- package/docs/TokenizationAllowlistAddressNote.md +11 -0
- package/docs/TokenizationAppInitiator.md +9 -0
- package/docs/TokenizationBlocklistAddressNote.md +11 -0
- package/docs/TokenizationBurnEstimateFeeParams.md +12 -0
- package/docs/TokenizationBurnTokenParams.md +10 -0
- package/docs/TokenizationBurnTokenParamsBurnsInner.md +10 -0
- package/docs/TokenizationBurnTokenRequest.md +12 -0
- package/docs/TokenizationContractCallEstimateFeeParams.md +12 -0
- package/docs/TokenizationContractCallParams.md +10 -0
- package/docs/TokenizationContractCallParamsData.md +11 -0
- package/docs/TokenizationContractCallRequest.md +12 -0
- package/docs/TokenizationContractCallType.md +10 -0
- package/docs/TokenizationERC20TokenParams.md +14 -0
- package/docs/TokenizationEstimateFeeRequest.md +9 -0
- package/docs/TokenizationEstimateFeeRequestOperationParams.md +19 -0
- package/docs/TokenizationEvmContractCallParams.md +11 -0
- package/docs/TokenizationHoldingInfo.md +13 -0
- package/docs/TokenizationIssueEstimateFeeParams.md +12 -0
- package/docs/TokenizationIssueTokenParams.md +11 -0
- package/docs/TokenizationIssueTokenParamsTokenParams.md +14 -0
- package/docs/TokenizationIssuedTokenRequest.md +13 -0
- package/docs/TokenizationListActivitiesResponse.md +10 -0
- package/docs/TokenizationListEnabledChainsResponse.md +10 -0
- package/docs/TokenizationListHoldingsResponse.md +10 -0
- package/docs/TokenizationListTokenInfoResponse.md +10 -0
- package/docs/TokenizationMintEstimateFeeParams.md +12 -0
- package/docs/TokenizationMintTokenParams.md +10 -0
- package/docs/TokenizationMintTokenParamsMintsInner.md +10 -0
- package/docs/TokenizationMintTokenRequest.md +12 -0
- package/docs/TokenizationMpcOperationSource.md +11 -0
- package/docs/TokenizationOperationResponse.md +9 -0
- package/docs/TokenizationOperationSourceType.md +12 -0
- package/docs/TokenizationOperationType.md +26 -0
- package/docs/TokenizationPauseEstimateFeeParams.md +11 -0
- package/docs/TokenizationPauseTokenParams.md +9 -0
- package/docs/TokenizationPauseTokenRequest.md +11 -0
- package/docs/TokenizationStatus.md +16 -0
- package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +12 -0
- package/docs/TokenizationTokenDetailInfo.md +19 -0
- package/docs/TokenizationTokenInfo.md +18 -0
- package/docs/TokenizationTokenOperationSource.md +11 -0
- package/docs/TokenizationTokenPermission.md +12 -0
- package/docs/TokenizationTokenPermissionParams.md +15 -0
- package/docs/TokenizationTokenPermissionType.md +22 -0
- package/docs/TokenizationTokenPermissionsResponse.md +10 -0
- package/docs/TokenizationTokenStandard.md +10 -0
- package/docs/TokenizationUnpauseEstimateFeeParams.md +11 -0
- package/docs/TokenizationUnpauseTokenParams.md +9 -0
- package/docs/TokenizationUnpauseTokenRequest.md +11 -0
- package/docs/TokenizationUpdateAddressAction.md +12 -0
- package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdateAllowlistAddressesParams.md +11 -0
- package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +10 -0
- package/docs/TokenizationUpdateAllowlistAddressesRequest.md +13 -0
- package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdateBlocklistAddressesParams.md +11 -0
- package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +10 -0
- package/docs/TokenizationUpdateBlocklistAddressesRequest.md +13 -0
- package/docs/TokenizationWeb3OperationSource.md +11 -0
- package/docs/TokensEventData.md +5 -1
- package/docs/TopUpAddress.md +18 -0
- package/docs/TransactionCoboCategory.md +8 -0
- package/docs/TransactionDestination.md +2 -2
- package/docs/TransactionEvmCalldataInfo.md +1 -1
- package/docs/TransactionEvmEip1559Fee.md +2 -2
- package/docs/TransactionEvmLegacyFee.md +2 -2
- package/docs/TransactionFILFee.md +16 -0
- package/docs/TransactionFee.md +10 -3
- package/docs/TransactionFixedFee.md +2 -2
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
- package/docs/TransactionRequestEvmLegacyFee.md +1 -1
- package/docs/TransactionRequestFILFee.md +13 -0
- package/docs/TransactionRequestFee.md +6 -2
- package/docs/TransactionRequestFixedFee.md +1 -1
- package/docs/TransactionRequestSOLFee.md +12 -0
- package/docs/TransactionRequestUtxoFee.md +1 -1
- package/docs/TransactionSOLFee.md +16 -0
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionTransferToWalletDestination.md +1 -1
- package/docs/TransactionUtxoFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +5 -1
- package/docs/TransactionsApi.md +1 -107
- package/docs/TransferDestination.md +2 -2
- package/docs/UpdateMerchantByIdRequest.md +1 -0
- package/docs/UpdateRefundByIdRequest.md +9 -0
- package/docs/UpdateTopUpAddress.md +11 -0
- package/docs/UtxoFeeRate.md +1 -1
- package/docs/WalletInfoEventData.md +5 -1
- package/docs/WalletsApi.md +58 -1
- package/docs/WebhookEvent.md +1 -1
- package/docs/WebhookEventData.md +18 -5
- package/docs/WebhookEventDataType.md +5 -1
- package/docs/WebhookEventLog.md +1 -1
- package/docs/WebhookEventType.md +14 -0
- package/package.json +1 -1
- package/docs/ListTransactionApprovalDetails200Response.md +0 -9
- package/docs/TransactionMessageSignBTCEIP191Destination.md +0 -10
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _Balance = _interopRequireDefault(require("./Balance"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* Cobo Wallet as a Service 2.0
|
|
20
|
+
*
|
|
21
|
+
* Contact: help@cobo.com
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* The BalanceUpdateInfo model module.
|
|
30
|
+
* @module model/BalanceUpdateInfo
|
|
31
|
+
*/
|
|
32
|
+
var BalanceUpdateInfo = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>BalanceUpdateInfo</code>.
|
|
35
|
+
* The balance information.
|
|
36
|
+
* @alias module:model/BalanceUpdateInfo
|
|
37
|
+
* @param token_id {String} The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
38
|
+
* @param address {String} The wallet address.
|
|
39
|
+
* @param wallet_uuid {String} The wallet ID.
|
|
40
|
+
* @param updated_timestamp {Number} The time when the balance updated, in Unix timestamp format, measured in milliseconds.
|
|
41
|
+
* @param balance {module:model/Balance}
|
|
42
|
+
*/
|
|
43
|
+
function BalanceUpdateInfo(token_id, address, wallet_uuid, updated_timestamp, balance) {
|
|
44
|
+
_classCallCheck(this, BalanceUpdateInfo);
|
|
45
|
+
BalanceUpdateInfo.initialize(this, token_id, address, wallet_uuid, updated_timestamp, balance);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the fields of this object.
|
|
50
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
51
|
+
* Only for internal use.
|
|
52
|
+
*/
|
|
53
|
+
return _createClass(BalanceUpdateInfo, null, [{
|
|
54
|
+
key: "initialize",
|
|
55
|
+
value: function initialize(obj, token_id, address, wallet_uuid, updated_timestamp, balance) {
|
|
56
|
+
obj['token_id'] = token_id;
|
|
57
|
+
obj['address'] = address;
|
|
58
|
+
obj['wallet_uuid'] = wallet_uuid;
|
|
59
|
+
obj['updated_timestamp'] = updated_timestamp;
|
|
60
|
+
obj['balance'] = balance;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Constructs a <code>BalanceUpdateInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
|
65
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
66
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
67
|
+
* @param {module:model/BalanceUpdateInfo} obj Optional instance to populate.
|
|
68
|
+
* @return {module:model/BalanceUpdateInfo} The populated <code>BalanceUpdateInfo</code> instance.
|
|
69
|
+
*/
|
|
70
|
+
}, {
|
|
71
|
+
key: "constructFromObject",
|
|
72
|
+
value: function constructFromObject(data, obj) {
|
|
73
|
+
if (data) {
|
|
74
|
+
obj = obj || new BalanceUpdateInfo();
|
|
75
|
+
if (data.hasOwnProperty('token_id')) {
|
|
76
|
+
obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('address')) {
|
|
79
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('wallet_uuid')) {
|
|
82
|
+
obj['wallet_uuid'] = _ApiClient["default"].convertToType(data['wallet_uuid'], 'String');
|
|
83
|
+
}
|
|
84
|
+
if (data.hasOwnProperty('updated_timestamp')) {
|
|
85
|
+
obj['updated_timestamp'] = _ApiClient["default"].convertToType(data['updated_timestamp'], 'Number');
|
|
86
|
+
}
|
|
87
|
+
if (data.hasOwnProperty('balance')) {
|
|
88
|
+
obj['balance'] = _Balance["default"].constructFromObject(data['balance']);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Validates the JSON data with respect to <code>BalanceUpdateInfo</code>.
|
|
96
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
97
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>BalanceUpdateInfo</code>.
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "validateJSON",
|
|
101
|
+
value: function validateJSON(data) {
|
|
102
|
+
// check to make sure all required properties are present in the JSON string
|
|
103
|
+
var _iterator = _createForOfIteratorHelper(BalanceUpdateInfo.RequiredProperties),
|
|
104
|
+
_step;
|
|
105
|
+
try {
|
|
106
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
107
|
+
var property = _step.value;
|
|
108
|
+
if (!data.hasOwnProperty(property)) {
|
|
109
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
// ensure the json data is a string
|
|
113
|
+
} catch (err) {
|
|
114
|
+
_iterator.e(err);
|
|
115
|
+
} finally {
|
|
116
|
+
_iterator.f();
|
|
117
|
+
}
|
|
118
|
+
if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
119
|
+
throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
|
|
120
|
+
}
|
|
121
|
+
// ensure the json data is a string
|
|
122
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
123
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
124
|
+
}
|
|
125
|
+
// ensure the json data is a string
|
|
126
|
+
if (data['wallet_uuid'] && !(typeof data['wallet_uuid'] === 'string' || data['wallet_uuid'] instanceof String)) {
|
|
127
|
+
throw new Error("Expected the field `wallet_uuid` to be a primitive type in the JSON string but got " + data['wallet_uuid']);
|
|
128
|
+
}
|
|
129
|
+
// validate the optional field `balance`
|
|
130
|
+
if (data['balance']) {
|
|
131
|
+
// data not null
|
|
132
|
+
if (!!_Balance["default"].validateJSON) {
|
|
133
|
+
_Balance["default"].validateJSON(data['balance']);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
}]);
|
|
139
|
+
}();
|
|
140
|
+
BalanceUpdateInfo.RequiredProperties = ["token_id", "address", "wallet_uuid", "updated_timestamp", "balance"];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
144
|
+
* @member {String} token_id
|
|
145
|
+
*/
|
|
146
|
+
BalanceUpdateInfo.prototype['token_id'] = undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The wallet address.
|
|
150
|
+
* @member {String} address
|
|
151
|
+
*/
|
|
152
|
+
BalanceUpdateInfo.prototype['address'] = undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The wallet ID.
|
|
156
|
+
* @member {String} wallet_uuid
|
|
157
|
+
*/
|
|
158
|
+
BalanceUpdateInfo.prototype['wallet_uuid'] = undefined;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The time when the balance updated, in Unix timestamp format, measured in milliseconds.
|
|
162
|
+
* @member {Number} updated_timestamp
|
|
163
|
+
*/
|
|
164
|
+
BalanceUpdateInfo.prototype['updated_timestamp'] = undefined;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @member {module:model/Balance} balance
|
|
168
|
+
*/
|
|
169
|
+
BalanceUpdateInfo.prototype['balance'] = undefined;
|
|
170
|
+
var _default = exports["default"] = BalanceUpdateInfo;
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _Balance = _interopRequireDefault(require("./Balance"));
|
|
9
|
+
var _BalanceUpdateInfo = _interopRequireDefault(require("./BalanceUpdateInfo"));
|
|
10
|
+
var _WebhookEventDataType = _interopRequireDefault(require("./WebhookEventDataType"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
14
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
17
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
18
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
21
|
+
* Cobo Wallet as a Service 2.0
|
|
22
|
+
*
|
|
23
|
+
* Contact: help@cobo.com
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The BalanceUpdateInfoEventData model module.
|
|
32
|
+
* @module model/BalanceUpdateInfoEventData
|
|
33
|
+
*/
|
|
34
|
+
var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>BalanceUpdateInfoEventData</code>.
|
|
37
|
+
* @alias module:model/BalanceUpdateInfoEventData
|
|
38
|
+
* @implements module:model/WebhookEventDataType
|
|
39
|
+
* @implements module:model/BalanceUpdateInfo
|
|
40
|
+
* @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
41
|
+
* @param token_id {String} The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
42
|
+
* @param address {String} The wallet address.
|
|
43
|
+
* @param wallet_uuid {String} The wallet ID.
|
|
44
|
+
* @param updated_timestamp {Number} The time when the balance updated, in Unix timestamp format, measured in milliseconds.
|
|
45
|
+
* @param balance {module:model/Balance}
|
|
46
|
+
*/
|
|
47
|
+
function BalanceUpdateInfoEventData(data_type, token_id, address, wallet_uuid, updated_timestamp, balance) {
|
|
48
|
+
_classCallCheck(this, BalanceUpdateInfoEventData);
|
|
49
|
+
_WebhookEventDataType["default"].initialize(this, data_type);
|
|
50
|
+
_BalanceUpdateInfo["default"].initialize(this, token_id, address, wallet_uuid, updated_timestamp, balance);
|
|
51
|
+
BalanceUpdateInfoEventData.initialize(this, data_type, token_id, address, wallet_uuid, updated_timestamp, balance);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Initializes the fields of this object.
|
|
56
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
57
|
+
* Only for internal use.
|
|
58
|
+
*/
|
|
59
|
+
return _createClass(BalanceUpdateInfoEventData, null, [{
|
|
60
|
+
key: "initialize",
|
|
61
|
+
value: function initialize(obj, data_type, token_id, address, wallet_uuid, updated_timestamp, balance) {
|
|
62
|
+
obj['data_type'] = data_type;
|
|
63
|
+
obj['token_id'] = token_id;
|
|
64
|
+
obj['address'] = address;
|
|
65
|
+
obj['wallet_uuid'] = wallet_uuid;
|
|
66
|
+
obj['updated_timestamp'] = updated_timestamp;
|
|
67
|
+
obj['balance'] = balance;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Constructs a <code>BalanceUpdateInfoEventData</code> from a plain JavaScript object, optionally creating a new instance.
|
|
72
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
73
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
74
|
+
* @param {module:model/BalanceUpdateInfoEventData} obj Optional instance to populate.
|
|
75
|
+
* @return {module:model/BalanceUpdateInfoEventData} The populated <code>BalanceUpdateInfoEventData</code> instance.
|
|
76
|
+
*/
|
|
77
|
+
}, {
|
|
78
|
+
key: "constructFromObject",
|
|
79
|
+
value: function constructFromObject(data, obj) {
|
|
80
|
+
if (data) {
|
|
81
|
+
obj = obj || new BalanceUpdateInfoEventData();
|
|
82
|
+
_WebhookEventDataType["default"].constructFromObject(data, obj);
|
|
83
|
+
_BalanceUpdateInfo["default"].constructFromObject(data, obj);
|
|
84
|
+
if (data.hasOwnProperty('data_type')) {
|
|
85
|
+
obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
|
|
86
|
+
}
|
|
87
|
+
if (data.hasOwnProperty('token_id')) {
|
|
88
|
+
obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
|
|
89
|
+
}
|
|
90
|
+
if (data.hasOwnProperty('address')) {
|
|
91
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
92
|
+
}
|
|
93
|
+
if (data.hasOwnProperty('wallet_uuid')) {
|
|
94
|
+
obj['wallet_uuid'] = _ApiClient["default"].convertToType(data['wallet_uuid'], 'String');
|
|
95
|
+
}
|
|
96
|
+
if (data.hasOwnProperty('updated_timestamp')) {
|
|
97
|
+
obj['updated_timestamp'] = _ApiClient["default"].convertToType(data['updated_timestamp'], 'Number');
|
|
98
|
+
}
|
|
99
|
+
if (data.hasOwnProperty('balance')) {
|
|
100
|
+
obj['balance'] = _Balance["default"].constructFromObject(data['balance']);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return obj;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Validates the JSON data with respect to <code>BalanceUpdateInfoEventData</code>.
|
|
108
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
109
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>BalanceUpdateInfoEventData</code>.
|
|
110
|
+
*/
|
|
111
|
+
}, {
|
|
112
|
+
key: "validateJSON",
|
|
113
|
+
value: function validateJSON(data) {
|
|
114
|
+
// check to make sure all required properties are present in the JSON string
|
|
115
|
+
var _iterator = _createForOfIteratorHelper(BalanceUpdateInfoEventData.RequiredProperties),
|
|
116
|
+
_step;
|
|
117
|
+
try {
|
|
118
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
119
|
+
var property = _step.value;
|
|
120
|
+
if (!data.hasOwnProperty(property)) {
|
|
121
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
// ensure the json data is a string
|
|
125
|
+
} catch (err) {
|
|
126
|
+
_iterator.e(err);
|
|
127
|
+
} finally {
|
|
128
|
+
_iterator.f();
|
|
129
|
+
}
|
|
130
|
+
if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
|
|
131
|
+
throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
|
|
132
|
+
}
|
|
133
|
+
// ensure the json data is a string
|
|
134
|
+
if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
135
|
+
throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
|
|
136
|
+
}
|
|
137
|
+
// ensure the json data is a string
|
|
138
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
139
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
140
|
+
}
|
|
141
|
+
// ensure the json data is a string
|
|
142
|
+
if (data['wallet_uuid'] && !(typeof data['wallet_uuid'] === 'string' || data['wallet_uuid'] instanceof String)) {
|
|
143
|
+
throw new Error("Expected the field `wallet_uuid` to be a primitive type in the JSON string but got " + data['wallet_uuid']);
|
|
144
|
+
}
|
|
145
|
+
// validate the optional field `balance`
|
|
146
|
+
if (data['balance']) {
|
|
147
|
+
// data not null
|
|
148
|
+
if (!!_Balance["default"].validateJSON) {
|
|
149
|
+
_Balance["default"].validateJSON(data['balance']);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return true;
|
|
153
|
+
}
|
|
154
|
+
}]);
|
|
155
|
+
}();
|
|
156
|
+
BalanceUpdateInfoEventData.RequiredProperties = ["data_type", "token_id", "address", "wallet_uuid", "updated_timestamp", "balance"];
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
160
|
+
* @member {module:model/BalanceUpdateInfoEventData.DataTypeEnum} data_type
|
|
161
|
+
*/
|
|
162
|
+
BalanceUpdateInfoEventData.prototype['data_type'] = undefined;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
166
|
+
* @member {String} token_id
|
|
167
|
+
*/
|
|
168
|
+
BalanceUpdateInfoEventData.prototype['token_id'] = undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The wallet address.
|
|
172
|
+
* @member {String} address
|
|
173
|
+
*/
|
|
174
|
+
BalanceUpdateInfoEventData.prototype['address'] = undefined;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The wallet ID.
|
|
178
|
+
* @member {String} wallet_uuid
|
|
179
|
+
*/
|
|
180
|
+
BalanceUpdateInfoEventData.prototype['wallet_uuid'] = undefined;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The time when the balance updated, in Unix timestamp format, measured in milliseconds.
|
|
184
|
+
* @member {Number} updated_timestamp
|
|
185
|
+
*/
|
|
186
|
+
BalanceUpdateInfoEventData.prototype['updated_timestamp'] = undefined;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @member {module:model/Balance} balance
|
|
190
|
+
*/
|
|
191
|
+
BalanceUpdateInfoEventData.prototype['balance'] = undefined;
|
|
192
|
+
|
|
193
|
+
// Implement WebhookEventDataType interface:
|
|
194
|
+
/**
|
|
195
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
196
|
+
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
197
|
+
*/
|
|
198
|
+
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
199
|
+
// Implement BalanceUpdateInfo interface:
|
|
200
|
+
/**
|
|
201
|
+
* The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
202
|
+
* @member {String} token_id
|
|
203
|
+
*/
|
|
204
|
+
_BalanceUpdateInfo["default"].prototype['token_id'] = undefined;
|
|
205
|
+
/**
|
|
206
|
+
* The wallet address.
|
|
207
|
+
* @member {String} address
|
|
208
|
+
*/
|
|
209
|
+
_BalanceUpdateInfo["default"].prototype['address'] = undefined;
|
|
210
|
+
/**
|
|
211
|
+
* The wallet ID.
|
|
212
|
+
* @member {String} wallet_uuid
|
|
213
|
+
*/
|
|
214
|
+
_BalanceUpdateInfo["default"].prototype['wallet_uuid'] = undefined;
|
|
215
|
+
/**
|
|
216
|
+
* The time when the balance updated, in Unix timestamp format, measured in milliseconds.
|
|
217
|
+
* @member {Number} updated_timestamp
|
|
218
|
+
*/
|
|
219
|
+
_BalanceUpdateInfo["default"].prototype['updated_timestamp'] = undefined;
|
|
220
|
+
/**
|
|
221
|
+
* @member {module:model/Balance} balance
|
|
222
|
+
*/
|
|
223
|
+
_BalanceUpdateInfo["default"].prototype['balance'] = undefined;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Allowed values for the <code>data_type</code> property.
|
|
227
|
+
* @enum {String}
|
|
228
|
+
* @readonly
|
|
229
|
+
*/
|
|
230
|
+
BalanceUpdateInfoEventData['DataTypeEnum'] = {
|
|
231
|
+
/**
|
|
232
|
+
* value: "Transaction"
|
|
233
|
+
* @const
|
|
234
|
+
*/
|
|
235
|
+
"Transaction": "Transaction",
|
|
236
|
+
/**
|
|
237
|
+
* value: "TSSRequest"
|
|
238
|
+
* @const
|
|
239
|
+
*/
|
|
240
|
+
"TSSRequest": "TSSRequest",
|
|
241
|
+
/**
|
|
242
|
+
* value: "Addresses"
|
|
243
|
+
* @const
|
|
244
|
+
*/
|
|
245
|
+
"Addresses": "Addresses",
|
|
246
|
+
/**
|
|
247
|
+
* value: "WalletInfo"
|
|
248
|
+
* @const
|
|
249
|
+
*/
|
|
250
|
+
"WalletInfo": "WalletInfo",
|
|
251
|
+
/**
|
|
252
|
+
* value: "MPCVault"
|
|
253
|
+
* @const
|
|
254
|
+
*/
|
|
255
|
+
"MPCVault": "MPCVault",
|
|
256
|
+
/**
|
|
257
|
+
* value: "Chains"
|
|
258
|
+
* @const
|
|
259
|
+
*/
|
|
260
|
+
"Chains": "Chains",
|
|
261
|
+
/**
|
|
262
|
+
* value: "Tokens"
|
|
263
|
+
* @const
|
|
264
|
+
*/
|
|
265
|
+
"Tokens": "Tokens",
|
|
266
|
+
/**
|
|
267
|
+
* value: "TokenListing"
|
|
268
|
+
* @const
|
|
269
|
+
*/
|
|
270
|
+
"TokenListing": "TokenListing",
|
|
271
|
+
/**
|
|
272
|
+
* value: "PaymentOrder"
|
|
273
|
+
* @const
|
|
274
|
+
*/
|
|
275
|
+
"PaymentOrder": "PaymentOrder",
|
|
276
|
+
/**
|
|
277
|
+
* value: "PaymentRefund"
|
|
278
|
+
* @const
|
|
279
|
+
*/
|
|
280
|
+
"PaymentRefund": "PaymentRefund",
|
|
281
|
+
/**
|
|
282
|
+
* value: "PaymentSettlement"
|
|
283
|
+
* @const
|
|
284
|
+
*/
|
|
285
|
+
"PaymentSettlement": "PaymentSettlement",
|
|
286
|
+
/**
|
|
287
|
+
* value: "BalanceUpdateInfo"
|
|
288
|
+
* @const
|
|
289
|
+
*/
|
|
290
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
291
|
+
/**
|
|
292
|
+
* value: "SuspendedToken"
|
|
293
|
+
* @const
|
|
294
|
+
*/
|
|
295
|
+
"SuspendedToken": "SuspendedToken",
|
|
296
|
+
/**
|
|
297
|
+
* value: "unknown_default_open_api"
|
|
298
|
+
* @const
|
|
299
|
+
*/
|
|
300
|
+
"unknown_default_open_api": "unknown_default_open_api"
|
|
301
|
+
};
|
|
302
|
+
var _default = exports["default"] = BalanceUpdateInfoEventData;
|
|
@@ -128,13 +128,13 @@ BankAccount.prototype['bank_account_id'] = undefined;
|
|
|
128
128
|
BankAccount.prototype['info'] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* The
|
|
131
|
+
* The creation time of the bank account, represented as a UNIX timestamp in seconds.
|
|
132
132
|
* @member {Number} created_timestamp
|
|
133
133
|
*/
|
|
134
134
|
BankAccount.prototype['created_timestamp'] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* The
|
|
137
|
+
* The last update time of the bank account, represented as a UNIX timestamp in seconds.
|
|
138
138
|
* @member {Number} updated_timestamp
|
|
139
139
|
*/
|
|
140
140
|
BankAccount.prototype['updated_timestamp'] = undefined;
|
|
@@ -37,7 +37,7 @@ var ChainsEventData = /*#__PURE__*/function () {
|
|
|
37
37
|
* Constructs a new <code>ChainsEventData</code>.
|
|
38
38
|
* @alias module:model/ChainsEventData
|
|
39
39
|
* @implements module:model/WebhookEventDataType
|
|
40
|
-
* @param data_type {module:model/ChainsEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data.
|
|
40
|
+
* @param data_type {module:model/ChainsEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
41
41
|
* @param chains {Array.<module:model/ChainInfo>} The enabled chains.
|
|
42
42
|
*/
|
|
43
43
|
function ChainsEventData(data_type, chains) {
|
|
@@ -146,7 +146,7 @@ var ChainsEventData = /*#__PURE__*/function () {
|
|
|
146
146
|
ChainsEventData.RequiredProperties = ["data_type", "chains"];
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data.
|
|
149
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
150
150
|
* @member {module:model/ChainsEventData.DataTypeEnum} data_type
|
|
151
151
|
*/
|
|
152
152
|
ChainsEventData.prototype['data_type'] = undefined;
|
|
@@ -169,7 +169,7 @@ ChainsEventData.prototype['wallet_subtypes'] = undefined;
|
|
|
169
169
|
|
|
170
170
|
// Implement WebhookEventDataType interface:
|
|
171
171
|
/**
|
|
172
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data.
|
|
172
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
173
173
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
174
174
|
*/
|
|
175
175
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -235,6 +235,16 @@ ChainsEventData['DataTypeEnum'] = {
|
|
|
235
235
|
* @const
|
|
236
236
|
*/
|
|
237
237
|
"PaymentSettlement": "PaymentSettlement",
|
|
238
|
+
/**
|
|
239
|
+
* value: "BalanceUpdateInfo"
|
|
240
|
+
* @const
|
|
241
|
+
*/
|
|
242
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
243
|
+
/**
|
|
244
|
+
* value: "SuspendedToken"
|
|
245
|
+
* @const
|
|
246
|
+
*/
|
|
247
|
+
"SuspendedToken": "SuspendedToken",
|
|
238
248
|
/**
|
|
239
249
|
* value: "unknown_default_open_api"
|
|
240
250
|
* @const
|
|
@@ -70,6 +70,9 @@ var CreateMerchantRequest = /*#__PURE__*/function () {
|
|
|
70
70
|
if (data.hasOwnProperty('wallet_id')) {
|
|
71
71
|
obj['wallet_id'] = _ApiClient["default"].convertToType(data['wallet_id'], 'String');
|
|
72
72
|
}
|
|
73
|
+
if (data.hasOwnProperty('developer_fee_rate')) {
|
|
74
|
+
obj['developer_fee_rate'] = _ApiClient["default"].convertToType(data['developer_fee_rate'], 'String');
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
return obj;
|
|
75
78
|
}
|
|
@@ -105,6 +108,10 @@ var CreateMerchantRequest = /*#__PURE__*/function () {
|
|
|
105
108
|
if (data['wallet_id'] && !(typeof data['wallet_id'] === 'string' || data['wallet_id'] instanceof String)) {
|
|
106
109
|
throw new Error("Expected the field `wallet_id` to be a primitive type in the JSON string but got " + data['wallet_id']);
|
|
107
110
|
}
|
|
111
|
+
// ensure the json data is a string
|
|
112
|
+
if (data['developer_fee_rate'] && !(typeof data['developer_fee_rate'] === 'string' || data['developer_fee_rate'] instanceof String)) {
|
|
113
|
+
throw new Error("Expected the field `developer_fee_rate` to be a primitive type in the JSON string but got " + data['developer_fee_rate']);
|
|
114
|
+
}
|
|
108
115
|
return true;
|
|
109
116
|
}
|
|
110
117
|
}]);
|
|
@@ -122,4 +129,10 @@ CreateMerchantRequest.prototype['name'] = undefined;
|
|
|
122
129
|
* @member {String} wallet_id
|
|
123
130
|
*/
|
|
124
131
|
CreateMerchantRequest.prototype['wallet_id'] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions.
|
|
135
|
+
* @member {String} developer_fee_rate
|
|
136
|
+
*/
|
|
137
|
+
CreateMerchantRequest.prototype['developer_fee_rate'] = undefined;
|
|
125
138
|
var _default = exports["default"] = CreateMerchantRequest;
|
|
@@ -36,7 +36,7 @@ var CreatePaymentOrderRequest = /*#__PURE__*/function () {
|
|
|
36
36
|
* @param token_id {String} The ID of the cryptocurrency used for payment. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
|
|
37
37
|
* @param order_amount {String} The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`). Values must be greater than `0` and contain two decimal places.
|
|
38
38
|
* @param fee_amount {String} The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge. For example, if order_amount is \"100.00\" and fee_amount is \"2.00\", the customer will be charged \"102.00\" in total, with \"100.00\" being settled to the merchant and \"2.00\" settled to the developer. Values must be greater than 0 and contain two decimal places.
|
|
39
|
-
* @param psp_order_code {String} A unique reference code assigned by
|
|
39
|
+
* @param psp_order_code {String} A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters.
|
|
40
40
|
*/
|
|
41
41
|
function CreatePaymentOrderRequest(merchant_id, token_id, order_amount, fee_amount, psp_order_code) {
|
|
42
42
|
_classCallCheck(this, CreatePaymentOrderRequest);
|
|
@@ -94,6 +94,9 @@ var CreatePaymentOrderRequest = /*#__PURE__*/function () {
|
|
|
94
94
|
if (data.hasOwnProperty('expired_in')) {
|
|
95
95
|
obj['expired_in'] = _ApiClient["default"].convertToType(data['expired_in'], 'Number');
|
|
96
96
|
}
|
|
97
|
+
if (data.hasOwnProperty('use_dedicated_address')) {
|
|
98
|
+
obj['use_dedicated_address'] = _ApiClient["default"].convertToType(data['use_dedicated_address'], 'Boolean');
|
|
99
|
+
}
|
|
97
100
|
}
|
|
98
101
|
return obj;
|
|
99
102
|
}
|
|
@@ -168,7 +171,7 @@ CreatePaymentOrderRequest.prototype['merchant_id'] = undefined;
|
|
|
168
171
|
CreatePaymentOrderRequest.prototype['token_id'] = undefined;
|
|
169
172
|
|
|
170
173
|
/**
|
|
171
|
-
* The fiat currency of the order.
|
|
174
|
+
* The fiat currency of the order. Currently, only `USD` is supported.
|
|
172
175
|
* @member {String} currency
|
|
173
176
|
* @default 'USD'
|
|
174
177
|
*/
|
|
@@ -187,20 +190,27 @@ CreatePaymentOrderRequest.prototype['order_amount'] = undefined;
|
|
|
187
190
|
CreatePaymentOrderRequest.prototype['fee_amount'] = undefined;
|
|
188
191
|
|
|
189
192
|
/**
|
|
190
|
-
* A unique reference code assigned by the merchant to identify this order in their system.
|
|
193
|
+
* A unique reference code assigned by the merchant to identify this order in their system. The code should have a maximum length of 128 characters.
|
|
191
194
|
* @member {String} merchant_order_code
|
|
192
195
|
*/
|
|
193
196
|
CreatePaymentOrderRequest.prototype['merchant_order_code'] = undefined;
|
|
194
197
|
|
|
195
198
|
/**
|
|
196
|
-
* A unique reference code assigned by
|
|
199
|
+
* A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters.
|
|
197
200
|
* @member {String} psp_order_code
|
|
198
201
|
*/
|
|
199
202
|
CreatePaymentOrderRequest.prototype['psp_order_code'] = undefined;
|
|
200
203
|
|
|
201
204
|
/**
|
|
202
|
-
* The pay-in order will expire
|
|
205
|
+
* The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to `1800`, the order will expire in 30 minutes. After expiration: - The order status becomes final and cannot be changed - The `received_token_amount` field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a `transactionLate` webhook event.
|
|
203
206
|
* @member {Number} expired_in
|
|
207
|
+
* @default 1800
|
|
208
|
+
*/
|
|
209
|
+
CreatePaymentOrderRequest.prototype['expired_in'] = 1800;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Whether to allocate a dedicated address for this order. - `true`: A dedicated address will be allocated for this order. - `false`: A shared address from the address pool will be used.
|
|
213
|
+
* @member {Boolean} use_dedicated_address
|
|
204
214
|
*/
|
|
205
|
-
CreatePaymentOrderRequest.prototype['
|
|
215
|
+
CreatePaymentOrderRequest.prototype['use_dedicated_address'] = undefined;
|
|
206
216
|
var _default = exports["default"] = CreatePaymentOrderRequest;
|