@cobo/cobo-waas2 1.18.0 → 1.19.1
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 +78 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/OAuthApi.js +2 -2
- package/dist/api/WalletsApi.js +50 -0
- package/dist/index.js +518 -0
- package/dist/model/AddressesEventData.js +13 -8
- 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/BalanceUpdateInfoEventData.js +13 -8
- package/dist/model/ChainsEventData.js +13 -8
- package/dist/model/CreatePaymentOrderRequest.js +7 -6
- package/dist/model/CreateSettlement.js +1 -2
- package/dist/model/CustodialWeb3TransferSource.js +2 -2
- package/dist/model/EstimatedEvmEip1559Fee.js +2 -2
- package/dist/model/EstimatedEvmLegacyFee.js +2 -2
- package/dist/model/EstimatedFILFee.js +2 -2
- package/dist/model/EstimatedFILFeeSlow.js +12 -12
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +2 -2
- package/dist/model/EstimatedSOLFeeSlow.js +11 -11
- 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/FILBase.js +1 -2
- package/dist/model/FILPrice.js +3 -4
- package/dist/model/FeeRate.js +1 -1
- package/dist/model/FixedFeeRate.js +2 -2
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +156 -0
- package/dist/model/MPCVaultEventData.js +13 -8
- package/dist/model/MaxFeeAmount.js +0 -1
- package/dist/model/MaxTransferableValue.js +2 -2
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/PaymentOrderEventData.js +13 -8
- package/dist/model/PaymentRefundEventData.js +13 -8
- package/dist/model/PaymentSettlementEvent.js +13 -8
- package/dist/model/RoleDetail.js +126 -0
- package/dist/model/SOLBase.js +2 -3
- package/dist/model/SOLComputeUnit.js +2 -3
- 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 +38 -0
- package/dist/model/TSSRequestWebhookEventData.js +13 -8
- package/dist/model/TokenListingEventData.js +13 -8
- 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/TokenizationAllowlistAddressNote.js +132 -0
- 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 -8
- package/dist/model/TopUpAddress.js +2 -2
- package/dist/model/TransactionEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionEvmLegacyFee.js +2 -2
- package/dist/model/TransactionFILFee.js +11 -11
- package/dist/model/TransactionFee.js +10 -10
- 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 +11 -11
- package/dist/model/TransactionRequestFee.js +6 -6
- package/dist/model/TransactionRequestFixedFee.js +2 -2
- package/dist/model/TransactionRequestSOLFee.js +9 -9
- package/dist/model/TransactionRequestUtxoFee.js +2 -2
- package/dist/model/TransactionSOLFee.js +11 -11
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionUtxoFee.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +13 -8
- package/dist/model/UtxoFeeBasePrice.js +0 -1
- package/dist/model/UtxoFeeRate.js +2 -2
- package/dist/model/WalletInfoEventData.js +13 -8
- package/dist/model/WebhookEvent.js +2 -2
- package/dist/model/WebhookEventData.js +49 -9
- package/dist/model/WebhookEventDataType.js +12 -7
- package/dist/model/WebhookEventLog.js +2 -2
- package/dist/model/WebhookEventType.js +20 -0
- package/docs/AddressesEventData.md +5 -3
- 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/BalanceUpdateInfoEventData.md +5 -3
- package/docs/ChainsEventData.md +5 -3
- package/docs/CreatePaymentOrderRequest.md +4 -4
- package/docs/CreateSettlement.md +2 -2
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/EstimatedEvmEip1559Fee.md +1 -1
- package/docs/EstimatedEvmLegacyFee.md +1 -1
- package/docs/EstimatedFILFee.md +1 -1
- package/docs/EstimatedFILFeeSlow.md +4 -4
- package/docs/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/EstimatedSOLFee.md +1 -1
- package/docs/EstimatedSOLFeeSlow.md +4 -4
- package/docs/EstimatedUtxoFee.md +1 -1
- package/docs/EvmEip1559FeeRate.md +1 -1
- package/docs/EvmLegacyFeeRate.md +1 -1
- package/docs/FILBase.md +1 -1
- package/docs/FILPrice.md +3 -3
- package/docs/FeeRate.md +1 -1
- package/docs/FixedFeeRate.md +1 -1
- package/docs/GetMaxTransferableValueWithFeeModelRequest.md +12 -0
- package/docs/MPCVaultEventData.md +5 -3
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +1 -1
- package/docs/PaymentOrderEventData.md +5 -3
- package/docs/PaymentRefundEventData.md +5 -3
- package/docs/PaymentSettlementEvent.md +5 -3
- package/docs/RoleDetail.md +11 -0
- package/docs/SOLBase.md +2 -2
- package/docs/SOLComputeUnit.md +2 -2
- package/docs/SuspendedTokenEventData.md +46 -0
- package/docs/SuspendedTokenOperationType.md +12 -0
- package/docs/SwapActivity.md +2 -0
- package/docs/SwapActivityDetail.md +2 -0
- package/docs/TSSRequestWebhookEventData.md +5 -3
- package/docs/TokenListingEventData.md +5 -3
- 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 -3
- package/docs/TopUpAddress.md +1 -1
- package/docs/TransactionEvmEip1559Fee.md +2 -2
- package/docs/TransactionEvmLegacyFee.md +2 -2
- package/docs/TransactionFILFee.md +6 -6
- package/docs/TransactionFee.md +10 -10
- 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 +4 -4
- package/docs/TransactionRequestFee.md +6 -6
- package/docs/TransactionRequestFixedFee.md +1 -1
- package/docs/TransactionRequestSOLFee.md +3 -3
- package/docs/TransactionRequestUtxoFee.md +1 -1
- package/docs/TransactionSOLFee.md +6 -6
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionUtxoFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +5 -3
- package/docs/UtxoFeeRate.md +1 -1
- package/docs/WalletInfoEventData.md +5 -3
- package/docs/WalletsApi.md +55 -0
- package/docs/WebhookEvent.md +1 -1
- package/docs/WebhookEventData.md +7 -3
- package/docs/WebhookEventDataType.md +5 -3
- package/docs/WebhookEventLog.md +1 -1
- package/docs/WebhookEventType.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
|
|
|
15
15
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
16
16
|
|
|
17
17
|
- API version: v2
|
|
18
|
-
- Package version: 1.
|
|
18
|
+
- Package version: 1.19.1
|
|
19
19
|
- Generator version: 7.6.0
|
|
20
20
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
21
21
|
For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
|
|
@@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
|
|
|
173
173
|
*CoboWaas2.WalletsApi* | [**deleteWalletById**](docs/WalletsApi.md#deleteWalletById) | **POST** /wallets/{wallet_id}/delete | Delete wallet
|
|
174
174
|
*CoboWaas2.WalletsApi* | [**getChainById**](docs/WalletsApi.md#getChainById) | **GET** /wallets/chains/{chain_id} | Get chain information
|
|
175
175
|
*CoboWaas2.WalletsApi* | [**getMaxTransferableValue**](docs/WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
|
|
176
|
+
*CoboWaas2.WalletsApi* | [**getMaxTransferableValueWithFeeModel**](docs/WalletsApi.md#getMaxTransferableValueWithFeeModel) | **POST** /wallets/{wallet_id}/max_transferable_value_with_fee_model | Estimate maximum transferable value
|
|
176
177
|
*CoboWaas2.WalletsApi* | [**getTokenById**](docs/WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
|
|
177
178
|
*CoboWaas2.WalletsApi* | [**getTokenListingRequestByRequestId**](docs/WalletsApi.md#getTokenListingRequestByRequestId) | **GET** /wallets/tokens/listing_requests/{request_id} | Get token listing request
|
|
178
179
|
*CoboWaas2.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
|
|
@@ -245,12 +246,18 @@ Class | Method | HTTP request | Description
|
|
|
245
246
|
- [CoboWaas2.AppWorkflow](docs/AppWorkflow.md)
|
|
246
247
|
- [CoboWaas2.AppWorkflowField](docs/AppWorkflowField.md)
|
|
247
248
|
- [CoboWaas2.AppWorkflowPolicy](docs/AppWorkflowPolicy.md)
|
|
249
|
+
- [CoboWaas2.ApprovalDetail](docs/ApprovalDetail.md)
|
|
248
250
|
- [CoboWaas2.ApprovalEntry](docs/ApprovalEntry.md)
|
|
249
251
|
- [CoboWaas2.ApprovalRequest](docs/ApprovalRequest.md)
|
|
250
252
|
- [CoboWaas2.ApprovalRequestDetail](docs/ApprovalRequestDetail.md)
|
|
253
|
+
- [CoboWaas2.ApprovalResult](docs/ApprovalResult.md)
|
|
254
|
+
- [CoboWaas2.ApprovalShowInfo](docs/ApprovalShowInfo.md)
|
|
251
255
|
- [CoboWaas2.ApprovalStatementStatus](docs/ApprovalStatementStatus.md)
|
|
252
256
|
- [CoboWaas2.ApprovalStatus](docs/ApprovalStatus.md)
|
|
257
|
+
- [CoboWaas2.ApprovalTemplate](docs/ApprovalTemplate.md)
|
|
258
|
+
- [CoboWaas2.ApprovalTransactionResult](docs/ApprovalTransactionResult.md)
|
|
253
259
|
- [CoboWaas2.ApprovalUser](docs/ApprovalUser.md)
|
|
260
|
+
- [CoboWaas2.ApprovalUserDetail](docs/ApprovalUserDetail.md)
|
|
254
261
|
- [CoboWaas2.AssetBalance](docs/AssetBalance.md)
|
|
255
262
|
- [CoboWaas2.AssetInfo](docs/AssetInfo.md)
|
|
256
263
|
- [CoboWaas2.AutoFuelType](docs/AutoFuelType.md)
|
|
@@ -411,6 +418,7 @@ Class | Method | HTTP request | Description
|
|
|
411
418
|
- [CoboWaas2.FixedFeeRate](docs/FixedFeeRate.md)
|
|
412
419
|
- [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
|
|
413
420
|
- [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
|
|
421
|
+
- [CoboWaas2.GetMaxTransferableValueWithFeeModelRequest](docs/GetMaxTransferableValueWithFeeModelRequest.md)
|
|
414
422
|
- [CoboWaas2.GetRefunds200Response](docs/GetRefunds200Response.md)
|
|
415
423
|
- [CoboWaas2.GetSettlementInfoByIds200Response](docs/GetSettlementInfoByIds200Response.md)
|
|
416
424
|
- [CoboWaas2.GetStakingEstimationFee201Response](docs/GetStakingEstimationFee201Response.md)
|
|
@@ -529,6 +537,7 @@ Class | Method | HTTP request | Description
|
|
|
529
537
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
530
538
|
- [CoboWaas2.RevokeApprovalRequest201Response](docs/RevokeApprovalRequest201Response.md)
|
|
531
539
|
- [CoboWaas2.RevokeApprovalRequestRequest](docs/RevokeApprovalRequestRequest.md)
|
|
540
|
+
- [CoboWaas2.RoleDetail](docs/RoleDetail.md)
|
|
532
541
|
- [CoboWaas2.RoleScopes](docs/RoleScopes.md)
|
|
533
542
|
- [CoboWaas2.RootPubkey](docs/RootPubkey.md)
|
|
534
543
|
- [CoboWaas2.SOLBase](docs/SOLBase.md)
|
|
@@ -569,6 +578,8 @@ Class | Method | HTTP request | Description
|
|
|
569
578
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
570
579
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
571
580
|
- [CoboWaas2.SupportedToken](docs/SupportedToken.md)
|
|
581
|
+
- [CoboWaas2.SuspendedTokenEventData](docs/SuspendedTokenEventData.md)
|
|
582
|
+
- [CoboWaas2.SuspendedTokenOperationType](docs/SuspendedTokenOperationType.md)
|
|
572
583
|
- [CoboWaas2.SwapActivity](docs/SwapActivity.md)
|
|
573
584
|
- [CoboWaas2.SwapActivityApprovers](docs/SwapActivityApprovers.md)
|
|
574
585
|
- [CoboWaas2.SwapActivityDetail](docs/SwapActivityDetail.md)
|
|
@@ -627,6 +638,70 @@ Class | Method | HTTP request | Description
|
|
|
627
638
|
- [CoboWaas2.TokenListingEventData](docs/TokenListingEventData.md)
|
|
628
639
|
- [CoboWaas2.TokenListingRequestSource](docs/TokenListingRequestSource.md)
|
|
629
640
|
- [CoboWaas2.TokenListingRequestStatus](docs/TokenListingRequestStatus.md)
|
|
641
|
+
- [CoboWaas2.TokenizationActivityInfo](docs/TokenizationActivityInfo.md)
|
|
642
|
+
- [CoboWaas2.TokenizationActivityStatus](docs/TokenizationActivityStatus.md)
|
|
643
|
+
- [CoboWaas2.TokenizationAddressPermission](docs/TokenizationAddressPermission.md)
|
|
644
|
+
- [CoboWaas2.TokenizationAllowlistActivationParams](docs/TokenizationAllowlistActivationParams.md)
|
|
645
|
+
- [CoboWaas2.TokenizationAllowlistActivationRequest](docs/TokenizationAllowlistActivationRequest.md)
|
|
646
|
+
- [CoboWaas2.TokenizationAllowlistAddressNote](docs/TokenizationAllowlistAddressNote.md)
|
|
647
|
+
- [CoboWaas2.TokenizationAppInitiator](docs/TokenizationAppInitiator.md)
|
|
648
|
+
- [CoboWaas2.TokenizationBlocklistAddressNote](docs/TokenizationBlocklistAddressNote.md)
|
|
649
|
+
- [CoboWaas2.TokenizationBurnEstimateFeeParams](docs/TokenizationBurnEstimateFeeParams.md)
|
|
650
|
+
- [CoboWaas2.TokenizationBurnTokenParams](docs/TokenizationBurnTokenParams.md)
|
|
651
|
+
- [CoboWaas2.TokenizationBurnTokenParamsBurnsInner](docs/TokenizationBurnTokenParamsBurnsInner.md)
|
|
652
|
+
- [CoboWaas2.TokenizationBurnTokenRequest](docs/TokenizationBurnTokenRequest.md)
|
|
653
|
+
- [CoboWaas2.TokenizationContractCallEstimateFeeParams](docs/TokenizationContractCallEstimateFeeParams.md)
|
|
654
|
+
- [CoboWaas2.TokenizationContractCallParams](docs/TokenizationContractCallParams.md)
|
|
655
|
+
- [CoboWaas2.TokenizationContractCallParamsData](docs/TokenizationContractCallParamsData.md)
|
|
656
|
+
- [CoboWaas2.TokenizationContractCallRequest](docs/TokenizationContractCallRequest.md)
|
|
657
|
+
- [CoboWaas2.TokenizationContractCallType](docs/TokenizationContractCallType.md)
|
|
658
|
+
- [CoboWaas2.TokenizationERC20TokenParams](docs/TokenizationERC20TokenParams.md)
|
|
659
|
+
- [CoboWaas2.TokenizationEstimateFeeRequest](docs/TokenizationEstimateFeeRequest.md)
|
|
660
|
+
- [CoboWaas2.TokenizationEstimateFeeRequestOperationParams](docs/TokenizationEstimateFeeRequestOperationParams.md)
|
|
661
|
+
- [CoboWaas2.TokenizationEvmContractCallParams](docs/TokenizationEvmContractCallParams.md)
|
|
662
|
+
- [CoboWaas2.TokenizationHoldingInfo](docs/TokenizationHoldingInfo.md)
|
|
663
|
+
- [CoboWaas2.TokenizationIssueEstimateFeeParams](docs/TokenizationIssueEstimateFeeParams.md)
|
|
664
|
+
- [CoboWaas2.TokenizationIssueTokenParams](docs/TokenizationIssueTokenParams.md)
|
|
665
|
+
- [CoboWaas2.TokenizationIssueTokenParamsTokenParams](docs/TokenizationIssueTokenParamsTokenParams.md)
|
|
666
|
+
- [CoboWaas2.TokenizationIssuedTokenRequest](docs/TokenizationIssuedTokenRequest.md)
|
|
667
|
+
- [CoboWaas2.TokenizationListActivitiesResponse](docs/TokenizationListActivitiesResponse.md)
|
|
668
|
+
- [CoboWaas2.TokenizationListEnabledChainsResponse](docs/TokenizationListEnabledChainsResponse.md)
|
|
669
|
+
- [CoboWaas2.TokenizationListHoldingsResponse](docs/TokenizationListHoldingsResponse.md)
|
|
670
|
+
- [CoboWaas2.TokenizationListTokenInfoResponse](docs/TokenizationListTokenInfoResponse.md)
|
|
671
|
+
- [CoboWaas2.TokenizationMintEstimateFeeParams](docs/TokenizationMintEstimateFeeParams.md)
|
|
672
|
+
- [CoboWaas2.TokenizationMintTokenParams](docs/TokenizationMintTokenParams.md)
|
|
673
|
+
- [CoboWaas2.TokenizationMintTokenParamsMintsInner](docs/TokenizationMintTokenParamsMintsInner.md)
|
|
674
|
+
- [CoboWaas2.TokenizationMintTokenRequest](docs/TokenizationMintTokenRequest.md)
|
|
675
|
+
- [CoboWaas2.TokenizationMpcOperationSource](docs/TokenizationMpcOperationSource.md)
|
|
676
|
+
- [CoboWaas2.TokenizationOperationResponse](docs/TokenizationOperationResponse.md)
|
|
677
|
+
- [CoboWaas2.TokenizationOperationSourceType](docs/TokenizationOperationSourceType.md)
|
|
678
|
+
- [CoboWaas2.TokenizationOperationType](docs/TokenizationOperationType.md)
|
|
679
|
+
- [CoboWaas2.TokenizationPauseEstimateFeeParams](docs/TokenizationPauseEstimateFeeParams.md)
|
|
680
|
+
- [CoboWaas2.TokenizationPauseTokenParams](docs/TokenizationPauseTokenParams.md)
|
|
681
|
+
- [CoboWaas2.TokenizationPauseTokenRequest](docs/TokenizationPauseTokenRequest.md)
|
|
682
|
+
- [CoboWaas2.TokenizationStatus](docs/TokenizationStatus.md)
|
|
683
|
+
- [CoboWaas2.TokenizationToggleAllowlistEstimateFeeParams](docs/TokenizationToggleAllowlistEstimateFeeParams.md)
|
|
684
|
+
- [CoboWaas2.TokenizationTokenDetailInfo](docs/TokenizationTokenDetailInfo.md)
|
|
685
|
+
- [CoboWaas2.TokenizationTokenInfo](docs/TokenizationTokenInfo.md)
|
|
686
|
+
- [CoboWaas2.TokenizationTokenOperationSource](docs/TokenizationTokenOperationSource.md)
|
|
687
|
+
- [CoboWaas2.TokenizationTokenPermission](docs/TokenizationTokenPermission.md)
|
|
688
|
+
- [CoboWaas2.TokenizationTokenPermissionParams](docs/TokenizationTokenPermissionParams.md)
|
|
689
|
+
- [CoboWaas2.TokenizationTokenPermissionType](docs/TokenizationTokenPermissionType.md)
|
|
690
|
+
- [CoboWaas2.TokenizationTokenPermissionsResponse](docs/TokenizationTokenPermissionsResponse.md)
|
|
691
|
+
- [CoboWaas2.TokenizationTokenStandard](docs/TokenizationTokenStandard.md)
|
|
692
|
+
- [CoboWaas2.TokenizationUnpauseEstimateFeeParams](docs/TokenizationUnpauseEstimateFeeParams.md)
|
|
693
|
+
- [CoboWaas2.TokenizationUnpauseTokenParams](docs/TokenizationUnpauseTokenParams.md)
|
|
694
|
+
- [CoboWaas2.TokenizationUnpauseTokenRequest](docs/TokenizationUnpauseTokenRequest.md)
|
|
695
|
+
- [CoboWaas2.TokenizationUpdateAddressAction](docs/TokenizationUpdateAddressAction.md)
|
|
696
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesEstimateFeeParams](docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md)
|
|
697
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParams](docs/TokenizationUpdateAllowlistAddressesParams.md)
|
|
698
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParamsAddressesInner](docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md)
|
|
699
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesRequest](docs/TokenizationUpdateAllowlistAddressesRequest.md)
|
|
700
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesEstimateFeeParams](docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md)
|
|
701
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParams](docs/TokenizationUpdateBlocklistAddressesParams.md)
|
|
702
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParamsAddressesInner](docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md)
|
|
703
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesRequest](docs/TokenizationUpdateBlocklistAddressesRequest.md)
|
|
704
|
+
- [CoboWaas2.TokenizationWeb3OperationSource](docs/TokenizationWeb3OperationSource.md)
|
|
630
705
|
- [CoboWaas2.TokensEventData](docs/TokensEventData.md)
|
|
631
706
|
- [CoboWaas2.TopUpAddress](docs/TopUpAddress.md)
|
|
632
707
|
- [CoboWaas2.Transaction](docs/Transaction.md)
|
|
@@ -841,4 +916,6 @@ Authentication schemes defined for the API:
|
|
|
841
916
|
- payment_merchant.create: Create payment merchant
|
|
842
917
|
- payment_merchant.read: Read payment merchant information
|
|
843
918
|
- payment_merchant.update: Update payment merchant
|
|
919
|
+
- payment_force_sweep.create: Create payment force sweep request
|
|
920
|
+
- payment_force_sweep.read: Read payment force sweep request information
|
|
844
921
|
|
package/dist/ApiClient.js
CHANGED
package/dist/api/OAuthApi.js
CHANGED
|
@@ -48,7 +48,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Get Access Token
|
|
51
|
-
* This operation acquires an Access Token and a Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
51
|
+
* This operation acquires an Access Token and a Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
52
52
|
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body to acquire an Access Token.
|
|
53
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExchangePermissionToken201Response} and HTTP response
|
|
54
54
|
*/
|
|
@@ -76,7 +76,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* Get Access Token
|
|
79
|
-
* This operation acquires an Access Token and a Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
79
|
+
* This operation acquires an Access Token and a Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
80
80
|
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body to acquire an Access Token.
|
|
81
81
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExchangePermissionToken201Response}
|
|
82
82
|
*/
|
package/dist/api/WalletsApi.js
CHANGED
|
@@ -20,6 +20,7 @@ var _CreatedWalletInfo = _interopRequireDefault(require("../model/CreatedWalletI
|
|
|
20
20
|
var _DeleteWalletById201Response = _interopRequireDefault(require("../model/DeleteWalletById201Response"));
|
|
21
21
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
22
22
|
var _ExtendedTokenInfo = _interopRequireDefault(require("../model/ExtendedTokenInfo"));
|
|
23
|
+
var _GetMaxTransferableValueWithFeeModelRequest = _interopRequireDefault(require("../model/GetMaxTransferableValueWithFeeModelRequest"));
|
|
23
24
|
var _ListAddressBalancesByToken200Response = _interopRequireDefault(require("../model/ListAddressBalancesByToken200Response"));
|
|
24
25
|
var _ListAddresses200Response = _interopRequireDefault(require("../model/ListAddresses200Response"));
|
|
25
26
|
var _ListSupportedChains200Response = _interopRequireDefault(require("../model/ListSupportedChains200Response"));
|
|
@@ -566,6 +567,55 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
566
567
|
});
|
|
567
568
|
}
|
|
568
569
|
|
|
570
|
+
/**
|
|
571
|
+
* Estimate maximum transferable value
|
|
572
|
+
* This operation estimates the maximum transferable value from a wallet or a specific wallet address, based on the specified fee settings. The `to_address` property is required because it affects the fee calculation. <Note>This operation is applicable to Custodial Wallets (Web3 Wallets) and MPC Wallets only.</Note>
|
|
573
|
+
* @param {String} wallet_id The wallet ID.
|
|
574
|
+
* @param {Object} opts Optional parameters
|
|
575
|
+
* @param {module:model/GetMaxTransferableValueWithFeeModelRequest} [GetMaxTransferableValueWithFeeModelRequest] The request body for retrieving the maximum transferable value from a specified wallet.
|
|
576
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MaxTransferableValue} and HTTP response
|
|
577
|
+
*/
|
|
578
|
+
}, {
|
|
579
|
+
key: "getMaxTransferableValueWithFeeModelWithHttpInfo",
|
|
580
|
+
value: function getMaxTransferableValueWithFeeModelWithHttpInfo(wallet_id, opts) {
|
|
581
|
+
opts = opts || {};
|
|
582
|
+
var postBody = opts['GetMaxTransferableValueWithFeeModelRequest'];
|
|
583
|
+
if (postBody && postBody.toJSON) {
|
|
584
|
+
postBody = postBody.toJSON();
|
|
585
|
+
}
|
|
586
|
+
// verify the required parameter 'wallet_id' is set
|
|
587
|
+
if (wallet_id === undefined || wallet_id === null) {
|
|
588
|
+
throw new Error("Missing the required parameter 'wallet_id' when calling getMaxTransferableValueWithFeeModel");
|
|
589
|
+
}
|
|
590
|
+
var pathParams = {
|
|
591
|
+
'wallet_id': wallet_id
|
|
592
|
+
};
|
|
593
|
+
var queryParams = {};
|
|
594
|
+
var headerParams = {};
|
|
595
|
+
var formParams = {};
|
|
596
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
597
|
+
var contentTypes = ['application/json'];
|
|
598
|
+
var accepts = ['application/json'];
|
|
599
|
+
var returnType = _MaxTransferableValue["default"];
|
|
600
|
+
return this.apiClient.callApi('/wallets/{wallet_id}/max_transferable_value_with_fee_model', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Estimate maximum transferable value
|
|
605
|
+
* This operation estimates the maximum transferable value from a wallet or a specific wallet address, based on the specified fee settings. The `to_address` property is required because it affects the fee calculation. <Note>This operation is applicable to Custodial Wallets (Web3 Wallets) and MPC Wallets only.</Note>
|
|
606
|
+
* @param {String} wallet_id The wallet ID.
|
|
607
|
+
* @param {Object} opts Optional parameters
|
|
608
|
+
* @param {module:model/GetMaxTransferableValueWithFeeModelRequest} opts.GetMaxTransferableValueWithFeeModelRequest The request body for retrieving the maximum transferable value from a specified wallet.
|
|
609
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MaxTransferableValue}
|
|
610
|
+
*/
|
|
611
|
+
}, {
|
|
612
|
+
key: "getMaxTransferableValueWithFeeModel",
|
|
613
|
+
value: function getMaxTransferableValueWithFeeModel(wallet_id, opts) {
|
|
614
|
+
return this.getMaxTransferableValueWithFeeModelWithHttpInfo(wallet_id, opts).then(function (response_and_data) {
|
|
615
|
+
return response_and_data.data;
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
|
|
569
619
|
/**
|
|
570
620
|
* Get token information
|
|
571
621
|
* This operation retrieves the detailed information about a specified token.
|