@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
|
@@ -28,7 +28,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
var UtxoFeeBasePrice = /*#__PURE__*/function () {
|
|
29
29
|
/**
|
|
30
30
|
* Constructs a new <code>UtxoFeeBasePrice</code>.
|
|
31
|
-
* The transaction fee rate for UTXO-based chains (such as Bitcoin).
|
|
32
31
|
* @alias module:model/UtxoFeeBasePrice
|
|
33
32
|
*/
|
|
34
33
|
function UtxoFeeBasePrice() {
|
|
@@ -36,7 +36,7 @@ var UtxoFeeRate = /*#__PURE__*/function () {
|
|
|
36
36
|
* The transaction fee rate for UTXO-based chains.
|
|
37
37
|
* @alias module:model/UtxoFeeRate
|
|
38
38
|
* @param fee_type {module:model/FeeType}
|
|
39
|
-
* @param token_id {String} The token
|
|
39
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
40
40
|
* @param recommended {module:model/UtxoFeeBasePrice}
|
|
41
41
|
*/
|
|
42
42
|
function UtxoFeeRate(fee_type, token_id, recommended) {
|
|
@@ -148,7 +148,7 @@ UtxoFeeRate.RequiredProperties = ["fee_type", "token_id", "recommended"];
|
|
|
148
148
|
UtxoFeeRate.prototype['fee_type'] = undefined;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
|
-
* The token
|
|
151
|
+
* The token used to pay the transaction fee.
|
|
152
152
|
* @member {String} token_id
|
|
153
153
|
*/
|
|
154
154
|
UtxoFeeRate.prototype['token_id'] = undefined;
|
|
@@ -35,7 +35,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
35
35
|
* Constructs a new <code>WalletInfoEventData</code>.
|
|
36
36
|
* @alias module:model/WalletInfoEventData
|
|
37
37
|
* @implements module:model/WebhookEventDataType
|
|
38
|
-
* @param data_type {module:model/WalletInfoEventData.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.
|
|
38
|
+
* @param data_type {module:model/WalletInfoEventData.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.
|
|
39
39
|
*/
|
|
40
40
|
function WalletInfoEventData(data_type) {
|
|
41
41
|
_classCallCheck(this, WalletInfoEventData);
|
|
@@ -118,7 +118,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
118
118
|
WalletInfoEventData.RequiredProperties = ["data_type"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* 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.
|
|
121
|
+
* 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.
|
|
122
122
|
* @member {module:model/WalletInfoEventData.DataTypeEnum} data_type
|
|
123
123
|
*/
|
|
124
124
|
WalletInfoEventData.prototype['data_type'] = undefined;
|
|
@@ -130,7 +130,7 @@ WalletInfoEventData.prototype['wallet'] = undefined;
|
|
|
130
130
|
|
|
131
131
|
// Implement WebhookEventDataType interface:
|
|
132
132
|
/**
|
|
133
|
-
* 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.
|
|
133
|
+
* 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.
|
|
134
134
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
135
135
|
*/
|
|
136
136
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -196,6 +196,16 @@ WalletInfoEventData['DataTypeEnum'] = {
|
|
|
196
196
|
* @const
|
|
197
197
|
*/
|
|
198
198
|
"PaymentSettlement": "PaymentSettlement",
|
|
199
|
+
/**
|
|
200
|
+
* value: "BalanceUpdateInfo"
|
|
201
|
+
* @const
|
|
202
|
+
*/
|
|
203
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
204
|
+
/**
|
|
205
|
+
* value: "SuspendedToken"
|
|
206
|
+
* @const
|
|
207
|
+
*/
|
|
208
|
+
"SuspendedToken": "SuspendedToken",
|
|
199
209
|
/**
|
|
200
210
|
* value: "unknown_default_open_api"
|
|
201
211
|
* @const
|
|
@@ -37,7 +37,7 @@ var WebhookEvent = /*#__PURE__*/function () {
|
|
|
37
37
|
* The webhook event payload.
|
|
38
38
|
* @alias module:model/WebhookEvent
|
|
39
39
|
* @param url {String} The webhook endpoint URL.
|
|
40
|
-
* @param created_timestamp {Number} The time when the event
|
|
40
|
+
* @param created_timestamp {Number} The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
41
41
|
* @param type {module:model/WebhookEventType}
|
|
42
42
|
* @param data {module:model/WebhookEventData}
|
|
43
43
|
*/
|
|
@@ -157,7 +157,7 @@ WebhookEvent.prototype['event_id'] = undefined;
|
|
|
157
157
|
WebhookEvent.prototype['url'] = undefined;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* The time when the event
|
|
160
|
+
* The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
161
161
|
* @member {Number} created_timestamp
|
|
162
162
|
*/
|
|
163
163
|
WebhookEvent.prototype['created_timestamp'] = undefined;
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _AddressesEventData = _interopRequireDefault(require("./AddressesEventData"));
|
|
9
9
|
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./AddressesEventDataAllOfAddresses"));
|
|
10
|
+
var _Balance = _interopRequireDefault(require("./Balance"));
|
|
11
|
+
var _BalanceUpdateInfoEventData = _interopRequireDefault(require("./BalanceUpdateInfoEventData"));
|
|
10
12
|
var _ChainInfo = _interopRequireDefault(require("./ChainInfo"));
|
|
11
13
|
var _ChainsEventData = _interopRequireDefault(require("./ChainsEventData"));
|
|
12
14
|
var _MPCVaultEventData = _interopRequireDefault(require("./MPCVaultEventData"));
|
|
@@ -18,8 +20,11 @@ var _PaymentTransaction = _interopRequireDefault(require("./PaymentTransaction")
|
|
|
18
20
|
var _RefundType = _interopRequireDefault(require("./RefundType"));
|
|
19
21
|
var _RootPubkey = _interopRequireDefault(require("./RootPubkey"));
|
|
20
22
|
var _SettleRequestStatus = _interopRequireDefault(require("./SettleRequestStatus"));
|
|
23
|
+
var _SettleStatus = _interopRequireDefault(require("./SettleStatus"));
|
|
21
24
|
var _SettlementDetail = _interopRequireDefault(require("./SettlementDetail"));
|
|
22
25
|
var _SourceGroup = _interopRequireDefault(require("./SourceGroup"));
|
|
26
|
+
var _SuspendedTokenEventData = _interopRequireDefault(require("./SuspendedTokenEventData"));
|
|
27
|
+
var _SuspendedTokenOperationType = _interopRequireDefault(require("./SuspendedTokenOperationType"));
|
|
23
28
|
var _TSSRequestWebhookEventData = _interopRequireDefault(require("./TSSRequestWebhookEventData"));
|
|
24
29
|
var _TokenInfo = _interopRequireDefault(require("./TokenInfo"));
|
|
25
30
|
var _TokenListingEventData = _interopRequireDefault(require("./TokenListingEventData"));
|
|
@@ -65,7 +70,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
65
70
|
/**
|
|
66
71
|
* Constructs a new <code>WebhookEventData</code>.
|
|
67
72
|
* @alias module:model/WebhookEventData
|
|
68
|
-
* @param {(module:model/AddressesEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
73
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
69
74
|
*/
|
|
70
75
|
function WebhookEventData() {
|
|
71
76
|
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
@@ -90,6 +95,10 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
90
95
|
this.actualInstance = _AddressesEventData["default"].constructFromObject(instance);
|
|
91
96
|
match++;
|
|
92
97
|
break;
|
|
98
|
+
case "BalanceUpdateInfo":
|
|
99
|
+
this.actualInstance = _BalanceUpdateInfoEventData["default"].constructFromObject(instance);
|
|
100
|
+
match++;
|
|
101
|
+
break;
|
|
93
102
|
case "Chains":
|
|
94
103
|
this.actualInstance = _ChainsEventData["default"].constructFromObject(instance);
|
|
95
104
|
match++;
|
|
@@ -110,6 +119,10 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
110
119
|
this.actualInstance = _PaymentSettlementEvent["default"].constructFromObject(instance);
|
|
111
120
|
match++;
|
|
112
121
|
break;
|
|
122
|
+
case "SuspendedToken":
|
|
123
|
+
this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
|
|
124
|
+
match++;
|
|
125
|
+
break;
|
|
113
126
|
case "TSSRequest":
|
|
114
127
|
this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
|
|
115
128
|
match++;
|
|
@@ -320,6 +333,52 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
320
333
|
// json data failed to deserialize into TokenListingEventData
|
|
321
334
|
errorMessages.push("Failed to construct TokenListingEventData: " + err);
|
|
322
335
|
}
|
|
336
|
+
try {
|
|
337
|
+
if (instance instanceof _BalanceUpdateInfoEventData["default"]) {
|
|
338
|
+
this.actualInstance = instance;
|
|
339
|
+
} else if (!!_BalanceUpdateInfoEventData["default"].validateJSON && _BalanceUpdateInfoEventData["default"].validateJSON(instance)) {
|
|
340
|
+
// plain JS object
|
|
341
|
+
// create BalanceUpdateInfoEventData from JS object
|
|
342
|
+
this.actualInstance = _BalanceUpdateInfoEventData["default"].constructFromObject(instance);
|
|
343
|
+
} else {
|
|
344
|
+
if (_BalanceUpdateInfoEventData["default"].constructFromObject(instance)) {
|
|
345
|
+
if (!!_BalanceUpdateInfoEventData["default"].constructFromObject(instance).toJSON) {
|
|
346
|
+
if (_BalanceUpdateInfoEventData["default"].constructFromObject(instance).toJSON()) {
|
|
347
|
+
this.actualInstance = _BalanceUpdateInfoEventData["default"].constructFromObject(instance);
|
|
348
|
+
}
|
|
349
|
+
} else {
|
|
350
|
+
this.actualInstance = _BalanceUpdateInfoEventData["default"].constructFromObject(instance);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
match++;
|
|
355
|
+
} catch (err) {
|
|
356
|
+
// json data failed to deserialize into BalanceUpdateInfoEventData
|
|
357
|
+
errorMessages.push("Failed to construct BalanceUpdateInfoEventData: " + err);
|
|
358
|
+
}
|
|
359
|
+
try {
|
|
360
|
+
if (instance instanceof _SuspendedTokenEventData["default"]) {
|
|
361
|
+
this.actualInstance = instance;
|
|
362
|
+
} else if (!!_SuspendedTokenEventData["default"].validateJSON && _SuspendedTokenEventData["default"].validateJSON(instance)) {
|
|
363
|
+
// plain JS object
|
|
364
|
+
// create SuspendedTokenEventData from JS object
|
|
365
|
+
this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
|
|
366
|
+
} else {
|
|
367
|
+
if (_SuspendedTokenEventData["default"].constructFromObject(instance)) {
|
|
368
|
+
if (!!_SuspendedTokenEventData["default"].constructFromObject(instance).toJSON) {
|
|
369
|
+
if (_SuspendedTokenEventData["default"].constructFromObject(instance).toJSON()) {
|
|
370
|
+
this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
|
|
371
|
+
}
|
|
372
|
+
} else {
|
|
373
|
+
this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
match++;
|
|
378
|
+
} catch (err) {
|
|
379
|
+
// json data failed to deserialize into SuspendedTokenEventData
|
|
380
|
+
errorMessages.push("Failed to construct SuspendedTokenEventData: " + err);
|
|
381
|
+
}
|
|
323
382
|
try {
|
|
324
383
|
if (instance instanceof _PaymentOrderEventData["default"]) {
|
|
325
384
|
this.actualInstance = instance;
|
|
@@ -391,11 +450,11 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
391
450
|
}
|
|
392
451
|
|
|
393
452
|
// if (match > 1) {
|
|
394
|
-
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
453
|
+
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
395
454
|
// } else
|
|
396
455
|
if (match === 0) {
|
|
397
456
|
// this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
398
|
-
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
457
|
+
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
399
458
|
// errorMessages.join(", "));
|
|
400
459
|
return;
|
|
401
460
|
} else {// only 1 match
|
|
@@ -414,16 +473,16 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
414
473
|
key: "getActualInstance",
|
|
415
474
|
value:
|
|
416
475
|
/**
|
|
417
|
-
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
418
|
-
* @return {(module:model/AddressesEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
476
|
+
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
477
|
+
* @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
419
478
|
*/
|
|
420
479
|
function getActualInstance() {
|
|
421
480
|
return this.actualInstance;
|
|
422
481
|
}
|
|
423
482
|
|
|
424
483
|
/**
|
|
425
|
-
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
426
|
-
* @param {(module:model/AddressesEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
484
|
+
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
485
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
427
486
|
*/
|
|
428
487
|
}, {
|
|
429
488
|
key: "setActualInstance",
|
|
@@ -438,7 +497,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
438
497
|
}]);
|
|
439
498
|
}();
|
|
440
499
|
/**
|
|
441
|
-
* 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.
|
|
500
|
+
* 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.
|
|
442
501
|
* @member {module:model/WebhookEventData.DataTypeEnum} data_type
|
|
443
502
|
*/
|
|
444
503
|
_WebhookEventData = WebhookEventData;
|
|
@@ -536,7 +595,7 @@ WebhookEventData.prototype['result'] = undefined;
|
|
|
536
595
|
WebhookEventData.prototype['fee'] = undefined;
|
|
537
596
|
|
|
538
597
|
/**
|
|
539
|
-
*
|
|
598
|
+
* The initiator of this settlement request. Can return either an API key or the Payment Management App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payment API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payment Management App using the App ID.
|
|
540
599
|
* @member {String} initiator
|
|
541
600
|
*/
|
|
542
601
|
WebhookEventData.prototype['initiator'] = undefined;
|
|
@@ -615,13 +674,13 @@ WebhookEventData.prototype['extra'] = undefined;
|
|
|
615
674
|
WebhookEventData.prototype['fueling_info'] = undefined;
|
|
616
675
|
|
|
617
676
|
/**
|
|
618
|
-
* The
|
|
677
|
+
* The creation time of the settlement request, represented as a UNIX timestamp in seconds.
|
|
619
678
|
* @member {Number} created_timestamp
|
|
620
679
|
*/
|
|
621
680
|
WebhookEventData.prototype['created_timestamp'] = undefined;
|
|
622
681
|
|
|
623
682
|
/**
|
|
624
|
-
* The
|
|
683
|
+
* The last update time of the settlement request, represented as a UNIX timestamp in seconds.
|
|
625
684
|
* @member {Number} updated_timestamp
|
|
626
685
|
*/
|
|
627
686
|
WebhookEventData.prototype['updated_timestamp'] = undefined;
|
|
@@ -722,7 +781,35 @@ WebhookEventData.prototype['token'] = undefined;
|
|
|
722
781
|
WebhookEventData.prototype['feedback'] = undefined;
|
|
723
782
|
|
|
724
783
|
/**
|
|
725
|
-
* The
|
|
784
|
+
* The wallet address.
|
|
785
|
+
* @member {String} address
|
|
786
|
+
*/
|
|
787
|
+
WebhookEventData.prototype['address'] = undefined;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* The wallet ID.
|
|
791
|
+
* @member {String} wallet_uuid
|
|
792
|
+
*/
|
|
793
|
+
WebhookEventData.prototype['wallet_uuid'] = undefined;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* @member {module:model/Balance} balance
|
|
797
|
+
*/
|
|
798
|
+
WebhookEventData.prototype['balance'] = undefined;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* A list of token IDs, separated by comma.
|
|
802
|
+
* @member {String} token_ids
|
|
803
|
+
*/
|
|
804
|
+
WebhookEventData.prototype['token_ids'] = undefined;
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* @member {module:model/SuspendedTokenOperationType} operation_type
|
|
808
|
+
*/
|
|
809
|
+
WebhookEventData.prototype['operation_type'] = undefined;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* The ID of the pay-in order corresponding to this refund.
|
|
726
813
|
* @member {String} order_id
|
|
727
814
|
*/
|
|
728
815
|
WebhookEventData.prototype['order_id'] = undefined;
|
|
@@ -799,6 +886,11 @@ WebhookEventData.prototype['received_token_amount'] = undefined;
|
|
|
799
886
|
*/
|
|
800
887
|
WebhookEventData.prototype['transactions'] = undefined;
|
|
801
888
|
|
|
889
|
+
/**
|
|
890
|
+
* @member {module:model/SettleStatus} settlement_status
|
|
891
|
+
*/
|
|
892
|
+
WebhookEventData.prototype['settlement_status'] = undefined;
|
|
893
|
+
|
|
802
894
|
/**
|
|
803
895
|
* The refund order ID.
|
|
804
896
|
* @member {String} refund_id
|
|
@@ -822,6 +914,24 @@ WebhookEventData.prototype['to_address'] = undefined;
|
|
|
822
914
|
*/
|
|
823
915
|
WebhookEventData.prototype['refund_type'] = undefined;
|
|
824
916
|
|
|
917
|
+
/**
|
|
918
|
+
* Whether to charge developer fee to the merchant for the refund. - `true`: The fee amount (specified in `merchant_fee_amount`) will be deducted from the merchant's balance and added to the developer's balance - `false`: The merchant is not charged any developer fee.
|
|
919
|
+
* @member {Boolean} charge_merchant_fee
|
|
920
|
+
*/
|
|
921
|
+
WebhookEventData.prototype['charge_merchant_fee'] = undefined;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by `merchant_fee_token_id`. This is only applicable if `charge_merchant_fee` is set to `true`.
|
|
925
|
+
* @member {String} merchant_fee_amount
|
|
926
|
+
*/
|
|
927
|
+
WebhookEventData.prototype['merchant_fee_amount'] = undefined;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* The ID of the cryptocurrency used for the developer fee. This is only applicable if `charge_merchant_fee` is set to true.
|
|
931
|
+
* @member {String} merchant_fee_token_id
|
|
932
|
+
*/
|
|
933
|
+
WebhookEventData.prototype['merchant_fee_token_id'] = undefined;
|
|
934
|
+
|
|
825
935
|
/**
|
|
826
936
|
* The settlement request ID generated by Cobo.
|
|
827
937
|
* @member {String} settlement_request_id
|
|
@@ -832,5 +942,5 @@ WebhookEventData.prototype['settlement_request_id'] = undefined;
|
|
|
832
942
|
* @member {Array.<module:model/SettlementDetail>} settlements
|
|
833
943
|
*/
|
|
834
944
|
WebhookEventData.prototype['settlements'] = undefined;
|
|
835
|
-
WebhookEventData.OneOf = ["AddressesEventData", "ChainsEventData", "MPCVaultEventData", "PaymentOrderEventData", "PaymentRefundEventData", "PaymentSettlementEvent", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
|
|
945
|
+
WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "MPCVaultEventData", "PaymentOrderEventData", "PaymentRefundEventData", "PaymentSettlementEvent", "SuspendedTokenEventData", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
|
|
836
946
|
var _default = exports["default"] = WebhookEventData;
|
|
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
33
33
|
* Constructs a new <code>WebhookEventDataType</code>.
|
|
34
34
|
* The data type of the event.
|
|
35
35
|
* @alias module:model/WebhookEventDataType
|
|
36
|
-
* @param data_type {module:model/WebhookEventDataType.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.
|
|
36
|
+
* @param data_type {module:model/WebhookEventDataType.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.
|
|
37
37
|
*/
|
|
38
38
|
function WebhookEventDataType(data_type) {
|
|
39
39
|
_classCallCheck(this, WebhookEventDataType);
|
|
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
104
104
|
WebhookEventDataType.RequiredProperties = ["data_type"];
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* 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.
|
|
107
|
+
* 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.
|
|
108
108
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
109
109
|
*/
|
|
110
110
|
WebhookEventDataType.prototype['data_type'] = undefined;
|
|
@@ -170,6 +170,16 @@ WebhookEventDataType['DataTypeEnum'] = {
|
|
|
170
170
|
* @const
|
|
171
171
|
*/
|
|
172
172
|
"PaymentSettlement": "PaymentSettlement",
|
|
173
|
+
/**
|
|
174
|
+
* value: "BalanceUpdateInfo"
|
|
175
|
+
* @const
|
|
176
|
+
*/
|
|
177
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
178
|
+
/**
|
|
179
|
+
* value: "SuspendedToken"
|
|
180
|
+
* @const
|
|
181
|
+
*/
|
|
182
|
+
"SuspendedToken": "SuspendedToken",
|
|
173
183
|
/**
|
|
174
184
|
* value: "unknown_default_open_api"
|
|
175
185
|
* @const
|
|
@@ -35,7 +35,7 @@ var WebhookEventLog = /*#__PURE__*/function () {
|
|
|
35
35
|
* The webhook event log.
|
|
36
36
|
* @alias module:model/WebhookEventLog
|
|
37
37
|
* @param id {String} The event log ID.
|
|
38
|
-
* @param created_timestamp {Number} The time when the
|
|
38
|
+
* @param created_timestamp {Number} The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
39
39
|
* @param request_headers {Object} The request headers of the webhook event.
|
|
40
40
|
* @param request_body {module:model/WebhookEvent}
|
|
41
41
|
* @param success {Boolean} Whether the webhook event has been successfully delivered.
|
|
@@ -158,7 +158,7 @@ WebhookEventLog.RequiredProperties = ["id", "created_timestamp", "request_header
|
|
|
158
158
|
WebhookEventLog.prototype['id'] = undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* The time when the
|
|
161
|
+
* The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
162
162
|
* @member {Number} created_timestamp
|
|
163
163
|
*/
|
|
164
164
|
WebhookEventLog.prototype['created_timestamp'] = undefined;
|
|
@@ -125,6 +125,36 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
|
|
|
125
125
|
* @const
|
|
126
126
|
*/
|
|
127
127
|
_defineProperty(this, "wallet.chain.enabled", "wallet.chain.enabled");
|
|
128
|
+
/**
|
|
129
|
+
* value: "wallet.mpc.balance.updated"
|
|
130
|
+
* @const
|
|
131
|
+
*/
|
|
132
|
+
_defineProperty(this, "wallet.mpc.balance.updated", "wallet.mpc.balance.updated");
|
|
133
|
+
/**
|
|
134
|
+
* value: "wallet.web3.balance.updated"
|
|
135
|
+
* @const
|
|
136
|
+
*/
|
|
137
|
+
_defineProperty(this, "wallet.web3.balance.updated", "wallet.web3.balance.updated");
|
|
138
|
+
/**
|
|
139
|
+
* value: "wallet.token.disabled"
|
|
140
|
+
* @const
|
|
141
|
+
*/
|
|
142
|
+
_defineProperty(this, "wallet.token.disabled", "wallet.token.disabled");
|
|
143
|
+
/**
|
|
144
|
+
* value: "wallet.chain.disabled"
|
|
145
|
+
* @const
|
|
146
|
+
*/
|
|
147
|
+
_defineProperty(this, "wallet.chain.disabled", "wallet.chain.disabled");
|
|
148
|
+
/**
|
|
149
|
+
* value: "token.suspended.deposit"
|
|
150
|
+
* @const
|
|
151
|
+
*/
|
|
152
|
+
_defineProperty(this, "token.suspended.deposit", "token.suspended.deposit");
|
|
153
|
+
/**
|
|
154
|
+
* value: "token.suspended.withdraw"
|
|
155
|
+
* @const
|
|
156
|
+
*/
|
|
157
|
+
_defineProperty(this, "token.suspended.withdraw", "token.suspended.withdraw");
|
|
128
158
|
/**
|
|
129
159
|
* value: "payment.transaction.created"
|
|
130
160
|
* @const
|
|
@@ -135,6 +165,11 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
|
|
|
135
165
|
* @const
|
|
136
166
|
*/
|
|
137
167
|
_defineProperty(this, "payment.transaction.late", "payment.transaction.late");
|
|
168
|
+
/**
|
|
169
|
+
* value: "payment.transaction.completed"
|
|
170
|
+
* @const
|
|
171
|
+
*/
|
|
172
|
+
_defineProperty(this, "payment.transaction.completed", "payment.transaction.completed");
|
|
138
173
|
/**
|
|
139
174
|
* value: "payment.transaction.held"
|
|
140
175
|
* @const
|
package/docs/Account.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.Account
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**token_id** | **String** | The ID of the cryptocurrency that this account is configured to handle. |
|
|
8
|
+
**address** | **String** | The top-up address corresponding to the account. |
|
|
9
|
+
**merchant_balance** | **String** | The amount of merchant funds under this account. |
|
|
10
|
+
**psp_balance** | **String** | The amount of developer funds under this account. |
|
|
11
|
+
**created_timestamp** | **Number** | The creation time of the account, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
12
|
+
**updated_timestamp** | **Number** | The last update time of the account, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
|
|
10
10
|
**change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
|
|
11
11
|
**change_output_type** | **String** | The position of the change output in the transaction's outputs. Possible values are: - `Last`: The change output is placed at the end of the transaction's outputs. - `First`: The change output is placed at the beginning of the transaction's outputs. | [optional]
|
|
12
|
-
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional]
|
|
13
|
-
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional]
|
|
12
|
+
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
13
|
+
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. |
|
|
8
8
|
**addresses** | [**[AddressesEventDataAllOfAddresses]**](AddressesEventDataAllOfAddresses.md) | A list of addresses. | [optional]
|
|
9
9
|
|
|
10
10
|
|
|
@@ -34,6 +34,10 @@ Name | Type | Description | Notes
|
|
|
34
34
|
|
|
35
35
|
* `PaymentSettlement` (value: `"PaymentSettlement"`)
|
|
36
36
|
|
|
37
|
+
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
38
|
+
|
|
39
|
+
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
40
|
+
|
|
37
41
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
38
42
|
|
|
39
43
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.ApprovalDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The transaction ID. | [optional]
|
|
8
|
+
**cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
|
|
9
|
+
**request_id** | **String** | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
10
|
+
**broker_user** | [**RoleDetail**](RoleDetail.md) | | [optional]
|
|
11
|
+
**spender** | [**RoleDetail**](RoleDetail.md) | | [optional]
|
|
12
|
+
**approver** | [**RoleDetail**](RoleDetail.md) | | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.ApprovalShowInfo
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**org_name** | **String** | The name of the organization that the transaction belongs to. | [optional]
|
|
8
|
+
**wallet_name** | **String** | The name of the wallet that the transaction belongs to. | [optional]
|
|
9
|
+
**environment** | **String** | The environment in which the transaction is processed. | [optional]
|
|
10
|
+
**from_address_label** | **String** | The label of the address from which the transaction is initiated. | [optional]
|
|
11
|
+
**to_address_label** | **String** | The label of the address to which the transaction is sent. | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.ApprovalTemplate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**business_key** | **String** | The business key that is used to identify the transaction. | [optional]
|
|
8
|
+
**template_text** | **String** | The template text that is used for the transaction approval. | [optional]
|
|
9
|
+
**template_version** | **String** | The version of the template used for the transaction approval. | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# CoboWaas2.ApprovalUserDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**user_email** | **String** | The email address of the user who approved the transaction. | [optional]
|
|
8
|
+
**pubkey** | **String** | The public key of the user who approved the transaction. | [optional]
|
|
9
|
+
**signature** | **String** | The signature of the transaction approval. | [optional]
|
|
10
|
+
**statement_uuid** | **String** | The UUID of the statement associated with the transaction approval. | [optional]
|
|
11
|
+
**result** | [**ApprovalResult**](ApprovalResult.md) | | [optional]
|
|
12
|
+
**created_time** | **Number** | The timestamp when the approval was created. | [optional]
|
|
13
|
+
**template_version** | **String** | The version of the template used for the transaction approval. | [optional]
|
|
14
|
+
**header_title** | **String** | The title of the header for the transaction approval. | [optional]
|
|
15
|
+
**is_for_sign** | **Boolean** | Indicates whether the approval is for signing. | [optional]
|
|
16
|
+
**show_info** | [**ApprovalShowInfo**](ApprovalShowInfo.md) | | [optional]
|
|
17
|
+
|
|
18
|
+
|