@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
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.0
|
|
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)
|
|
@@ -91,10 +91,12 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
92
92
|
*CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
|
|
93
93
|
*CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List Fee Station token balances
|
|
94
|
-
*CoboWaas2.OAuthApi* | [**exchangePermissionToken**](docs/OAuthApi.md#exchangePermissionToken) | **POST** /oauth/permission_token/exchange |
|
|
94
|
+
*CoboWaas2.OAuthApi* | [**exchangePermissionToken**](docs/OAuthApi.md#exchangePermissionToken) | **POST** /oauth/permission_token/exchange | Get Access Token
|
|
95
95
|
*CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
|
|
96
|
-
*CoboWaas2.OAuthApi* | [**refreshPermissionToken**](docs/OAuthApi.md#refreshPermissionToken) | **POST** /oauth/permission_token/refresh | Refresh
|
|
96
|
+
*CoboWaas2.OAuthApi* | [**refreshPermissionToken**](docs/OAuthApi.md#refreshPermissionToken) | **POST** /oauth/permission_token/refresh | Refresh Access Token
|
|
97
97
|
*CoboWaas2.OAuthApi* | [**refreshToken**](docs/OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
|
|
98
|
+
*CoboWaas2.OrganizationsApi* | [**getOrgInfo**](docs/OrganizationsApi.md#getOrgInfo) | **GET** /organizations/info | Get organization information
|
|
99
|
+
*CoboWaas2.PaymentApi* | [**cancelRefundById**](docs/PaymentApi.md#cancelRefundById) | **PUT** /payments/refunds/{refund_id}/cancel | Cancel refund order
|
|
98
100
|
*CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
|
|
99
101
|
*CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
|
|
100
102
|
*CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
|
|
@@ -105,14 +107,17 @@ Class | Method | HTTP request | Description
|
|
|
105
107
|
*CoboWaas2.PaymentApi* | [**getRefunds**](docs/PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
|
|
106
108
|
*CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
|
|
107
109
|
*CoboWaas2.PaymentApi* | [**getSettlementInfoByIds**](docs/PaymentApi.md#getSettlementInfoByIds) | **GET** /payments/settlement_info | Get withdrawable balances
|
|
110
|
+
*CoboWaas2.PaymentApi* | [**getTopUpAddress**](docs/PaymentApi.md#getTopUpAddress) | **GET** /payments/topup/address | Get top-up address
|
|
108
111
|
*CoboWaas2.PaymentApi* | [**listBankAccounts**](docs/PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
|
|
109
112
|
*CoboWaas2.PaymentApi* | [**listCryptoAddresses**](docs/PaymentApi.md#listCryptoAddresses) | **GET** /payments/crypto_addresses | List crypto addresses
|
|
110
113
|
*CoboWaas2.PaymentApi* | [**listMerchants**](docs/PaymentApi.md#listMerchants) | **GET** /payments/merchants | List all merchants
|
|
111
114
|
*CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
|
|
112
115
|
*CoboWaas2.PaymentApi* | [**listPaymentSupportedTokens**](docs/PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List all supported tokens
|
|
113
116
|
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
117
|
+
*CoboWaas2.PaymentApi* | [**listTopUpPayers**](docs/PaymentApi.md#listTopUpPayers) | **GET** /payments/topup/payers | List payers
|
|
114
118
|
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
115
119
|
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
120
|
+
*CoboWaas2.PaymentApi* | [**updateRefundById**](docs/PaymentApi.md#updateRefundById) | **PUT** /payments/refunds/{refund_id} | Update refund order information
|
|
116
121
|
*CoboWaas2.PrimeBrokerApi* | [**changeGuardPubkey**](docs/PrimeBrokerApi.md#changeGuardPubkey) | **PUT** /prime_broker/user/{user_id}/guard_pubkey | Change Guard pubkey binding
|
|
117
122
|
*CoboWaas2.PrimeBrokerApi* | [**createGuardPubkey**](docs/PrimeBrokerApi.md#createGuardPubkey) | **POST** /prime_broker/user/{user_id}/guard_pubkey | Create Guard pubkey binding
|
|
118
123
|
*CoboWaas2.PrimeBrokerApi* | [**createPrimeBrokerAddress**](docs/PrimeBrokerApi.md#createPrimeBrokerAddress) | **POST** /prime_broker/user/{user_id}/addresses | Bind addresses to a broker user
|
|
@@ -147,9 +152,7 @@ Class | Method | HTTP request | Description
|
|
|
147
152
|
*CoboWaas2.TransactionsApi* | [**createTransferTransaction**](docs/TransactionsApi.md#createTransferTransaction) | **POST** /transactions/transfer | Transfer token
|
|
148
153
|
*CoboWaas2.TransactionsApi* | [**dropTransactionById**](docs/TransactionsApi.md#dropTransactionById) | **POST** /transactions/{transaction_id}/drop | Drop transaction
|
|
149
154
|
*CoboWaas2.TransactionsApi* | [**estimateFee**](docs/TransactionsApi.md#estimateFee) | **POST** /transactions/estimate_fee | Estimate transaction fee
|
|
150
|
-
*CoboWaas2.TransactionsApi* | [**getTransactionApprovalDetail**](docs/TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval details
|
|
151
155
|
*CoboWaas2.TransactionsApi* | [**getTransactionById**](docs/TransactionsApi.md#getTransactionById) | **GET** /transactions/{transaction_id} | Get transaction information
|
|
152
|
-
*CoboWaas2.TransactionsApi* | [**listTransactionApprovalDetails**](docs/TransactionsApi.md#listTransactionApprovalDetails) | **GET** /transactions/approval_details | List transaction approval details
|
|
153
156
|
*CoboWaas2.TransactionsApi* | [**listTransactions**](docs/TransactionsApi.md#listTransactions) | **GET** /transactions | List all transactions
|
|
154
157
|
*CoboWaas2.TransactionsApi* | [**resendTransactionById**](docs/TransactionsApi.md#resendTransactionById) | **POST** /transactions/{transaction_id}/resend | Resend transaction
|
|
155
158
|
*CoboWaas2.TransactionsApi* | [**signAndBroadcastTransactionById**](docs/TransactionsApi.md#signAndBroadcastTransactionById) | **POST** /transactions/{transaction_id}/sign_and_broadcast | Sign and broadcast transaction
|
|
@@ -168,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
|
168
171
|
*CoboWaas2.WalletsApi* | [**deleteWalletById**](docs/WalletsApi.md#deleteWalletById) | **POST** /wallets/{wallet_id}/delete | Delete wallet
|
|
169
172
|
*CoboWaas2.WalletsApi* | [**getChainById**](docs/WalletsApi.md#getChainById) | **GET** /wallets/chains/{chain_id} | Get chain information
|
|
170
173
|
*CoboWaas2.WalletsApi* | [**getMaxTransferableValue**](docs/WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
|
|
174
|
+
*CoboWaas2.WalletsApi* | [**getMaxTransferableValueWithFeeModel**](docs/WalletsApi.md#getMaxTransferableValueWithFeeModel) | **POST** /wallets/{wallet_id}/max_transferable_value_with_fee_model | Estimate maximum transferable value
|
|
171
175
|
*CoboWaas2.WalletsApi* | [**getTokenById**](docs/WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
|
|
172
176
|
*CoboWaas2.WalletsApi* | [**getTokenListingRequestByRequestId**](docs/WalletsApi.md#getTokenListingRequestByRequestId) | **GET** /wallets/tokens/listing_requests/{request_id} | Get token listing request
|
|
173
177
|
*CoboWaas2.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
|
|
@@ -215,6 +219,8 @@ Class | Method | HTTP request | Description
|
|
|
215
219
|
|
|
216
220
|
## Documentation for Models
|
|
217
221
|
|
|
222
|
+
- [CoboWaas2.Account](docs/Account.md)
|
|
223
|
+
- [CoboWaas2.AcquiringType](docs/AcquiringType.md)
|
|
218
224
|
- [CoboWaas2.Activity](docs/Activity.md)
|
|
219
225
|
- [CoboWaas2.ActivityAction](docs/ActivityAction.md)
|
|
220
226
|
- [CoboWaas2.ActivityExtra](docs/ActivityExtra.md)
|
|
@@ -238,12 +244,18 @@ Class | Method | HTTP request | Description
|
|
|
238
244
|
- [CoboWaas2.AppWorkflow](docs/AppWorkflow.md)
|
|
239
245
|
- [CoboWaas2.AppWorkflowField](docs/AppWorkflowField.md)
|
|
240
246
|
- [CoboWaas2.AppWorkflowPolicy](docs/AppWorkflowPolicy.md)
|
|
247
|
+
- [CoboWaas2.ApprovalDetail](docs/ApprovalDetail.md)
|
|
241
248
|
- [CoboWaas2.ApprovalEntry](docs/ApprovalEntry.md)
|
|
242
249
|
- [CoboWaas2.ApprovalRequest](docs/ApprovalRequest.md)
|
|
243
250
|
- [CoboWaas2.ApprovalRequestDetail](docs/ApprovalRequestDetail.md)
|
|
251
|
+
- [CoboWaas2.ApprovalResult](docs/ApprovalResult.md)
|
|
252
|
+
- [CoboWaas2.ApprovalShowInfo](docs/ApprovalShowInfo.md)
|
|
244
253
|
- [CoboWaas2.ApprovalStatementStatus](docs/ApprovalStatementStatus.md)
|
|
245
254
|
- [CoboWaas2.ApprovalStatus](docs/ApprovalStatus.md)
|
|
255
|
+
- [CoboWaas2.ApprovalTemplate](docs/ApprovalTemplate.md)
|
|
256
|
+
- [CoboWaas2.ApprovalTransactionResult](docs/ApprovalTransactionResult.md)
|
|
246
257
|
- [CoboWaas2.ApprovalUser](docs/ApprovalUser.md)
|
|
258
|
+
- [CoboWaas2.ApprovalUserDetail](docs/ApprovalUserDetail.md)
|
|
247
259
|
- [CoboWaas2.AssetBalance](docs/AssetBalance.md)
|
|
248
260
|
- [CoboWaas2.AssetInfo](docs/AssetInfo.md)
|
|
249
261
|
- [CoboWaas2.AutoFuelType](docs/AutoFuelType.md)
|
|
@@ -262,6 +274,8 @@ Class | Method | HTTP request | Description
|
|
|
262
274
|
- [CoboWaas2.BabylonStakingRegistration](docs/BabylonStakingRegistration.md)
|
|
263
275
|
- [CoboWaas2.BabylonValidator](docs/BabylonValidator.md)
|
|
264
276
|
- [CoboWaas2.Balance](docs/Balance.md)
|
|
277
|
+
- [CoboWaas2.BalanceUpdateInfo](docs/BalanceUpdateInfo.md)
|
|
278
|
+
- [CoboWaas2.BalanceUpdateInfoEventData](docs/BalanceUpdateInfoEventData.md)
|
|
265
279
|
- [CoboWaas2.BankAccount](docs/BankAccount.md)
|
|
266
280
|
- [CoboWaas2.BaseContractCallSource](docs/BaseContractCallSource.md)
|
|
267
281
|
- [CoboWaas2.BaseEstimateStakingFee](docs/BaseEstimateStakingFee.md)
|
|
@@ -361,8 +375,12 @@ Class | Method | HTTP request | Description
|
|
|
361
375
|
- [CoboWaas2.EstimatedEvmEip1559FeeSlow](docs/EstimatedEvmEip1559FeeSlow.md)
|
|
362
376
|
- [CoboWaas2.EstimatedEvmLegacyFee](docs/EstimatedEvmLegacyFee.md)
|
|
363
377
|
- [CoboWaas2.EstimatedEvmLegacyFeeSlow](docs/EstimatedEvmLegacyFeeSlow.md)
|
|
378
|
+
- [CoboWaas2.EstimatedFILFee](docs/EstimatedFILFee.md)
|
|
379
|
+
- [CoboWaas2.EstimatedFILFeeSlow](docs/EstimatedFILFeeSlow.md)
|
|
364
380
|
- [CoboWaas2.EstimatedFee](docs/EstimatedFee.md)
|
|
365
381
|
- [CoboWaas2.EstimatedFixedFee](docs/EstimatedFixedFee.md)
|
|
382
|
+
- [CoboWaas2.EstimatedSOLFee](docs/EstimatedSOLFee.md)
|
|
383
|
+
- [CoboWaas2.EstimatedSOLFeeSlow](docs/EstimatedSOLFeeSlow.md)
|
|
366
384
|
- [CoboWaas2.EstimatedUtxoFee](docs/EstimatedUtxoFee.md)
|
|
367
385
|
- [CoboWaas2.EstimatedUtxoFeeSlow](docs/EstimatedUtxoFeeSlow.md)
|
|
368
386
|
- [CoboWaas2.EthStakeEstimatedFee](docs/EthStakeEstimatedFee.md)
|
|
@@ -385,6 +403,8 @@ Class | Method | HTTP request | Description
|
|
|
385
403
|
- [CoboWaas2.ExchangeTransferSource](docs/ExchangeTransferSource.md)
|
|
386
404
|
- [CoboWaas2.ExchangeWalletInfo](docs/ExchangeWalletInfo.md)
|
|
387
405
|
- [CoboWaas2.ExtendedTokenInfo](docs/ExtendedTokenInfo.md)
|
|
406
|
+
- [CoboWaas2.FILBase](docs/FILBase.md)
|
|
407
|
+
- [CoboWaas2.FILPrice](docs/FILPrice.md)
|
|
388
408
|
- [CoboWaas2.FeeAmount](docs/FeeAmount.md)
|
|
389
409
|
- [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
|
|
390
410
|
- [CoboWaas2.FeeRate](docs/FeeRate.md)
|
|
@@ -396,6 +416,7 @@ Class | Method | HTTP request | Description
|
|
|
396
416
|
- [CoboWaas2.FixedFeeRate](docs/FixedFeeRate.md)
|
|
397
417
|
- [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
|
|
398
418
|
- [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
|
|
419
|
+
- [CoboWaas2.GetMaxTransferableValueWithFeeModelRequest](docs/GetMaxTransferableValueWithFeeModelRequest.md)
|
|
399
420
|
- [CoboWaas2.GetRefunds200Response](docs/GetRefunds200Response.md)
|
|
400
421
|
- [CoboWaas2.GetSettlementInfoByIds200Response](docs/GetSettlementInfoByIds200Response.md)
|
|
401
422
|
- [CoboWaas2.GetStakingEstimationFee201Response](docs/GetStakingEstimationFee201Response.md)
|
|
@@ -403,6 +424,10 @@ Class | Method | HTTP request | Description
|
|
|
403
424
|
- [CoboWaas2.GetToken2XXResponse](docs/GetToken2XXResponse.md)
|
|
404
425
|
- [CoboWaas2.GetToken4XXResponse](docs/GetToken4XXResponse.md)
|
|
405
426
|
- [CoboWaas2.GetTransactionLimitation200Response](docs/GetTransactionLimitation200Response.md)
|
|
427
|
+
- [CoboWaas2.GraphQLError](docs/GraphQLError.md)
|
|
428
|
+
- [CoboWaas2.GraphQLErrorLocationsInner](docs/GraphQLErrorLocationsInner.md)
|
|
429
|
+
- [CoboWaas2.GraphQLRequest](docs/GraphQLRequest.md)
|
|
430
|
+
- [CoboWaas2.GraphQLResponse](docs/GraphQLResponse.md)
|
|
406
431
|
- [CoboWaas2.GuardPubkeyStatus](docs/GuardPubkeyStatus.md)
|
|
407
432
|
- [CoboWaas2.KeyShareHolder](docs/KeyShareHolder.md)
|
|
408
433
|
- [CoboWaas2.KeyShareHolderGroup](docs/KeyShareHolderGroup.md)
|
|
@@ -440,7 +465,8 @@ Class | Method | HTTP request | Description
|
|
|
440
465
|
- [CoboWaas2.ListTokenBalancesForFeeStation200Response](docs/ListTokenBalancesForFeeStation200Response.md)
|
|
441
466
|
- [CoboWaas2.ListTokenBalancesForFeeStation200ResponseDataInner](docs/ListTokenBalancesForFeeStation200ResponseDataInner.md)
|
|
442
467
|
- [CoboWaas2.ListTokenListingRequests200Response](docs/ListTokenListingRequests200Response.md)
|
|
443
|
-
- [CoboWaas2.
|
|
468
|
+
- [CoboWaas2.ListTopUpPayers200Response](docs/ListTopUpPayers200Response.md)
|
|
469
|
+
- [CoboWaas2.ListTopUpPayers200ResponseDataInner](docs/ListTopUpPayers200ResponseDataInner.md)
|
|
444
470
|
- [CoboWaas2.ListTransactions200Response](docs/ListTransactions200Response.md)
|
|
445
471
|
- [CoboWaas2.ListTssRequests200Response](docs/ListTssRequests200Response.md)
|
|
446
472
|
- [CoboWaas2.ListUtxos200Response](docs/ListUtxos200Response.md)
|
|
@@ -475,6 +501,7 @@ Class | Method | HTTP request | Description
|
|
|
475
501
|
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
476
502
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
477
503
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
504
|
+
- [CoboWaas2.PayerAccount](docs/PayerAccount.md)
|
|
478
505
|
- [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
|
|
479
506
|
- [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
|
|
480
507
|
- [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
|
|
@@ -507,8 +534,11 @@ Class | Method | HTTP request | Description
|
|
|
507
534
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
508
535
|
- [CoboWaas2.RevokeApprovalRequest201Response](docs/RevokeApprovalRequest201Response.md)
|
|
509
536
|
- [CoboWaas2.RevokeApprovalRequestRequest](docs/RevokeApprovalRequestRequest.md)
|
|
537
|
+
- [CoboWaas2.RoleDetail](docs/RoleDetail.md)
|
|
510
538
|
- [CoboWaas2.RoleScopes](docs/RoleScopes.md)
|
|
511
539
|
- [CoboWaas2.RootPubkey](docs/RootPubkey.md)
|
|
540
|
+
- [CoboWaas2.SOLBase](docs/SOLBase.md)
|
|
541
|
+
- [CoboWaas2.SOLComputeUnit](docs/SOLComputeUnit.md)
|
|
512
542
|
- [CoboWaas2.SafeContractCallSource](docs/SafeContractCallSource.md)
|
|
513
543
|
- [CoboWaas2.SafeTransferSource](docs/SafeTransferSource.md)
|
|
514
544
|
- [CoboWaas2.SafeTxDecodedData](docs/SafeTxDecodedData.md)
|
|
@@ -545,13 +575,17 @@ Class | Method | HTTP request | Description
|
|
|
545
575
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
546
576
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
547
577
|
- [CoboWaas2.SupportedToken](docs/SupportedToken.md)
|
|
578
|
+
- [CoboWaas2.SuspendedTokenEventData](docs/SuspendedTokenEventData.md)
|
|
579
|
+
- [CoboWaas2.SuspendedTokenOperationType](docs/SuspendedTokenOperationType.md)
|
|
548
580
|
- [CoboWaas2.SwapActivity](docs/SwapActivity.md)
|
|
549
581
|
- [CoboWaas2.SwapActivityApprovers](docs/SwapActivityApprovers.md)
|
|
550
582
|
- [CoboWaas2.SwapActivityDetail](docs/SwapActivityDetail.md)
|
|
583
|
+
- [CoboWaas2.SwapActivitySigners](docs/SwapActivitySigners.md)
|
|
551
584
|
- [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
|
|
552
585
|
- [CoboWaas2.SwapActivityTimeline](docs/SwapActivityTimeline.md)
|
|
553
586
|
- [CoboWaas2.SwapApproversStatus](docs/SwapApproversStatus.md)
|
|
554
587
|
- [CoboWaas2.SwapQuote](docs/SwapQuote.md)
|
|
588
|
+
- [CoboWaas2.SwapSingingStatus](docs/SwapSingingStatus.md)
|
|
555
589
|
- [CoboWaas2.SwapToken](docs/SwapToken.md)
|
|
556
590
|
- [CoboWaas2.SwapType](docs/SwapType.md)
|
|
557
591
|
- [CoboWaas2.TSSBaseRequestEventData](docs/TSSBaseRequestEventData.md)
|
|
@@ -601,7 +635,72 @@ Class | Method | HTTP request | Description
|
|
|
601
635
|
- [CoboWaas2.TokenListingEventData](docs/TokenListingEventData.md)
|
|
602
636
|
- [CoboWaas2.TokenListingRequestSource](docs/TokenListingRequestSource.md)
|
|
603
637
|
- [CoboWaas2.TokenListingRequestStatus](docs/TokenListingRequestStatus.md)
|
|
638
|
+
- [CoboWaas2.TokenizationActivityInfo](docs/TokenizationActivityInfo.md)
|
|
639
|
+
- [CoboWaas2.TokenizationActivityStatus](docs/TokenizationActivityStatus.md)
|
|
640
|
+
- [CoboWaas2.TokenizationAddressPermission](docs/TokenizationAddressPermission.md)
|
|
641
|
+
- [CoboWaas2.TokenizationAllowlistActivationParams](docs/TokenizationAllowlistActivationParams.md)
|
|
642
|
+
- [CoboWaas2.TokenizationAllowlistActivationRequest](docs/TokenizationAllowlistActivationRequest.md)
|
|
643
|
+
- [CoboWaas2.TokenizationAllowlistAddressNote](docs/TokenizationAllowlistAddressNote.md)
|
|
644
|
+
- [CoboWaas2.TokenizationAppInitiator](docs/TokenizationAppInitiator.md)
|
|
645
|
+
- [CoboWaas2.TokenizationBlocklistAddressNote](docs/TokenizationBlocklistAddressNote.md)
|
|
646
|
+
- [CoboWaas2.TokenizationBurnEstimateFeeParams](docs/TokenizationBurnEstimateFeeParams.md)
|
|
647
|
+
- [CoboWaas2.TokenizationBurnTokenParams](docs/TokenizationBurnTokenParams.md)
|
|
648
|
+
- [CoboWaas2.TokenizationBurnTokenParamsBurnsInner](docs/TokenizationBurnTokenParamsBurnsInner.md)
|
|
649
|
+
- [CoboWaas2.TokenizationBurnTokenRequest](docs/TokenizationBurnTokenRequest.md)
|
|
650
|
+
- [CoboWaas2.TokenizationContractCallEstimateFeeParams](docs/TokenizationContractCallEstimateFeeParams.md)
|
|
651
|
+
- [CoboWaas2.TokenizationContractCallParams](docs/TokenizationContractCallParams.md)
|
|
652
|
+
- [CoboWaas2.TokenizationContractCallParamsData](docs/TokenizationContractCallParamsData.md)
|
|
653
|
+
- [CoboWaas2.TokenizationContractCallRequest](docs/TokenizationContractCallRequest.md)
|
|
654
|
+
- [CoboWaas2.TokenizationContractCallType](docs/TokenizationContractCallType.md)
|
|
655
|
+
- [CoboWaas2.TokenizationERC20TokenParams](docs/TokenizationERC20TokenParams.md)
|
|
656
|
+
- [CoboWaas2.TokenizationEstimateFeeRequest](docs/TokenizationEstimateFeeRequest.md)
|
|
657
|
+
- [CoboWaas2.TokenizationEstimateFeeRequestOperationParams](docs/TokenizationEstimateFeeRequestOperationParams.md)
|
|
658
|
+
- [CoboWaas2.TokenizationEvmContractCallParams](docs/TokenizationEvmContractCallParams.md)
|
|
659
|
+
- [CoboWaas2.TokenizationHoldingInfo](docs/TokenizationHoldingInfo.md)
|
|
660
|
+
- [CoboWaas2.TokenizationIssueEstimateFeeParams](docs/TokenizationIssueEstimateFeeParams.md)
|
|
661
|
+
- [CoboWaas2.TokenizationIssueTokenParams](docs/TokenizationIssueTokenParams.md)
|
|
662
|
+
- [CoboWaas2.TokenizationIssueTokenParamsTokenParams](docs/TokenizationIssueTokenParamsTokenParams.md)
|
|
663
|
+
- [CoboWaas2.TokenizationIssuedTokenRequest](docs/TokenizationIssuedTokenRequest.md)
|
|
664
|
+
- [CoboWaas2.TokenizationListActivitiesResponse](docs/TokenizationListActivitiesResponse.md)
|
|
665
|
+
- [CoboWaas2.TokenizationListEnabledChainsResponse](docs/TokenizationListEnabledChainsResponse.md)
|
|
666
|
+
- [CoboWaas2.TokenizationListHoldingsResponse](docs/TokenizationListHoldingsResponse.md)
|
|
667
|
+
- [CoboWaas2.TokenizationListTokenInfoResponse](docs/TokenizationListTokenInfoResponse.md)
|
|
668
|
+
- [CoboWaas2.TokenizationMintEstimateFeeParams](docs/TokenizationMintEstimateFeeParams.md)
|
|
669
|
+
- [CoboWaas2.TokenizationMintTokenParams](docs/TokenizationMintTokenParams.md)
|
|
670
|
+
- [CoboWaas2.TokenizationMintTokenParamsMintsInner](docs/TokenizationMintTokenParamsMintsInner.md)
|
|
671
|
+
- [CoboWaas2.TokenizationMintTokenRequest](docs/TokenizationMintTokenRequest.md)
|
|
672
|
+
- [CoboWaas2.TokenizationMpcOperationSource](docs/TokenizationMpcOperationSource.md)
|
|
673
|
+
- [CoboWaas2.TokenizationOperationResponse](docs/TokenizationOperationResponse.md)
|
|
674
|
+
- [CoboWaas2.TokenizationOperationSourceType](docs/TokenizationOperationSourceType.md)
|
|
675
|
+
- [CoboWaas2.TokenizationOperationType](docs/TokenizationOperationType.md)
|
|
676
|
+
- [CoboWaas2.TokenizationPauseEstimateFeeParams](docs/TokenizationPauseEstimateFeeParams.md)
|
|
677
|
+
- [CoboWaas2.TokenizationPauseTokenParams](docs/TokenizationPauseTokenParams.md)
|
|
678
|
+
- [CoboWaas2.TokenizationPauseTokenRequest](docs/TokenizationPauseTokenRequest.md)
|
|
679
|
+
- [CoboWaas2.TokenizationStatus](docs/TokenizationStatus.md)
|
|
680
|
+
- [CoboWaas2.TokenizationToggleAllowlistEstimateFeeParams](docs/TokenizationToggleAllowlistEstimateFeeParams.md)
|
|
681
|
+
- [CoboWaas2.TokenizationTokenDetailInfo](docs/TokenizationTokenDetailInfo.md)
|
|
682
|
+
- [CoboWaas2.TokenizationTokenInfo](docs/TokenizationTokenInfo.md)
|
|
683
|
+
- [CoboWaas2.TokenizationTokenOperationSource](docs/TokenizationTokenOperationSource.md)
|
|
684
|
+
- [CoboWaas2.TokenizationTokenPermission](docs/TokenizationTokenPermission.md)
|
|
685
|
+
- [CoboWaas2.TokenizationTokenPermissionParams](docs/TokenizationTokenPermissionParams.md)
|
|
686
|
+
- [CoboWaas2.TokenizationTokenPermissionType](docs/TokenizationTokenPermissionType.md)
|
|
687
|
+
- [CoboWaas2.TokenizationTokenPermissionsResponse](docs/TokenizationTokenPermissionsResponse.md)
|
|
688
|
+
- [CoboWaas2.TokenizationTokenStandard](docs/TokenizationTokenStandard.md)
|
|
689
|
+
- [CoboWaas2.TokenizationUnpauseEstimateFeeParams](docs/TokenizationUnpauseEstimateFeeParams.md)
|
|
690
|
+
- [CoboWaas2.TokenizationUnpauseTokenParams](docs/TokenizationUnpauseTokenParams.md)
|
|
691
|
+
- [CoboWaas2.TokenizationUnpauseTokenRequest](docs/TokenizationUnpauseTokenRequest.md)
|
|
692
|
+
- [CoboWaas2.TokenizationUpdateAddressAction](docs/TokenizationUpdateAddressAction.md)
|
|
693
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesEstimateFeeParams](docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md)
|
|
694
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParams](docs/TokenizationUpdateAllowlistAddressesParams.md)
|
|
695
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParamsAddressesInner](docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md)
|
|
696
|
+
- [CoboWaas2.TokenizationUpdateAllowlistAddressesRequest](docs/TokenizationUpdateAllowlistAddressesRequest.md)
|
|
697
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesEstimateFeeParams](docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md)
|
|
698
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParams](docs/TokenizationUpdateBlocklistAddressesParams.md)
|
|
699
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParamsAddressesInner](docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md)
|
|
700
|
+
- [CoboWaas2.TokenizationUpdateBlocklistAddressesRequest](docs/TokenizationUpdateBlocklistAddressesRequest.md)
|
|
701
|
+
- [CoboWaas2.TokenizationWeb3OperationSource](docs/TokenizationWeb3OperationSource.md)
|
|
604
702
|
- [CoboWaas2.TokensEventData](docs/TokensEventData.md)
|
|
703
|
+
- [CoboWaas2.TopUpAddress](docs/TopUpAddress.md)
|
|
605
704
|
- [CoboWaas2.Transaction](docs/Transaction.md)
|
|
606
705
|
- [CoboWaas2.TransactionApprovalDetail](docs/TransactionApprovalDetail.md)
|
|
607
706
|
- [CoboWaas2.TransactionApprovalResult](docs/TransactionApprovalResult.md)
|
|
@@ -636,13 +735,13 @@ Class | Method | HTTP request | Description
|
|
|
636
735
|
- [CoboWaas2.TransactionExchangeWalletSource](docs/TransactionExchangeWalletSource.md)
|
|
637
736
|
- [CoboWaas2.TransactionExtra](docs/TransactionExtra.md)
|
|
638
737
|
- [CoboWaas2.TransactionExtraType](docs/TransactionExtraType.md)
|
|
738
|
+
- [CoboWaas2.TransactionFILFee](docs/TransactionFILFee.md)
|
|
639
739
|
- [CoboWaas2.TransactionFee](docs/TransactionFee.md)
|
|
640
740
|
- [CoboWaas2.TransactionFeeStationWalletSource](docs/TransactionFeeStationWalletSource.md)
|
|
641
741
|
- [CoboWaas2.TransactionFixedFee](docs/TransactionFixedFee.md)
|
|
642
742
|
- [CoboWaas2.TransactionFuelingInfo](docs/TransactionFuelingInfo.md)
|
|
643
743
|
- [CoboWaas2.TransactionInitiatorType](docs/TransactionInitiatorType.md)
|
|
644
744
|
- [CoboWaas2.TransactionMPCWalletSource](docs/TransactionMPCWalletSource.md)
|
|
645
|
-
- [CoboWaas2.TransactionMessageSignBTCEIP191Destination](docs/TransactionMessageSignBTCEIP191Destination.md)
|
|
646
745
|
- [CoboWaas2.TransactionMessageSignEIP191Destination](docs/TransactionMessageSignEIP191Destination.md)
|
|
647
746
|
- [CoboWaas2.TransactionMessageSignEIP712Destination](docs/TransactionMessageSignEIP712Destination.md)
|
|
648
747
|
- [CoboWaas2.TransactionProcessType](docs/TransactionProcessType.md)
|
|
@@ -653,13 +752,16 @@ Class | Method | HTTP request | Description
|
|
|
653
752
|
- [CoboWaas2.TransactionReplacement](docs/TransactionReplacement.md)
|
|
654
753
|
- [CoboWaas2.TransactionRequestEvmEip1559Fee](docs/TransactionRequestEvmEip1559Fee.md)
|
|
655
754
|
- [CoboWaas2.TransactionRequestEvmLegacyFee](docs/TransactionRequestEvmLegacyFee.md)
|
|
755
|
+
- [CoboWaas2.TransactionRequestFILFee](docs/TransactionRequestFILFee.md)
|
|
656
756
|
- [CoboWaas2.TransactionRequestFee](docs/TransactionRequestFee.md)
|
|
657
757
|
- [CoboWaas2.TransactionRequestFixedFee](docs/TransactionRequestFixedFee.md)
|
|
758
|
+
- [CoboWaas2.TransactionRequestSOLFee](docs/TransactionRequestSOLFee.md)
|
|
658
759
|
- [CoboWaas2.TransactionRequestUtxoFee](docs/TransactionRequestUtxoFee.md)
|
|
659
760
|
- [CoboWaas2.TransactionResend](docs/TransactionResend.md)
|
|
660
761
|
- [CoboWaas2.TransactionResult](docs/TransactionResult.md)
|
|
661
762
|
- [CoboWaas2.TransactionResultType](docs/TransactionResultType.md)
|
|
662
763
|
- [CoboWaas2.TransactionRoleApprovalDetail](docs/TransactionRoleApprovalDetail.md)
|
|
764
|
+
- [CoboWaas2.TransactionSOLFee](docs/TransactionSOLFee.md)
|
|
663
765
|
- [CoboWaas2.TransactionSelectedUtxo](docs/TransactionSelectedUtxo.md)
|
|
664
766
|
- [CoboWaas2.TransactionSignatureResult](docs/TransactionSignatureResult.md)
|
|
665
767
|
- [CoboWaas2.TransactionSigner](docs/TransactionSigner.md)
|
|
@@ -712,7 +814,9 @@ Class | Method | HTTP request | Description
|
|
|
712
814
|
- [CoboWaas2.UpdateMpcVaultByIdRequest](docs/UpdateMpcVaultByIdRequest.md)
|
|
713
815
|
- [CoboWaas2.UpdateMpcWalletParams](docs/UpdateMpcWalletParams.md)
|
|
714
816
|
- [CoboWaas2.UpdatePaymentOrderRequest](docs/UpdatePaymentOrderRequest.md)
|
|
817
|
+
- [CoboWaas2.UpdateRefundByIdRequest](docs/UpdateRefundByIdRequest.md)
|
|
715
818
|
- [CoboWaas2.UpdateSmartContractWalletParams](docs/UpdateSmartContractWalletParams.md)
|
|
819
|
+
- [CoboWaas2.UpdateTopUpAddress](docs/UpdateTopUpAddress.md)
|
|
716
820
|
- [CoboWaas2.UpdateWalletParams](docs/UpdateWalletParams.md)
|
|
717
821
|
- [CoboWaas2.UpdateWebhookEndpointByIdRequest](docs/UpdateWebhookEndpointByIdRequest.md)
|
|
718
822
|
- [CoboWaas2.UtxoFeeBasePrice](docs/UtxoFeeBasePrice.md)
|
|
@@ -809,4 +913,6 @@ Authentication schemes defined for the API:
|
|
|
809
913
|
- payment_merchant.create: Create payment merchant
|
|
810
914
|
- payment_merchant.read: Read payment merchant information
|
|
811
915
|
- payment_merchant.update: Update payment merchant
|
|
916
|
+
- payment_force_sweep.create: Create payment force sweep request
|
|
917
|
+
- payment_force_sweep.read: Read payment force sweep request information
|
|
812
918
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -203,7 +203,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
203
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
204
204
|
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
205
205
|
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
206
|
-
* @param {module:model/String} [direction = '')] The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order.
|
|
206
|
+
* @param {module:model/String} [direction = 'ASC')] The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order.
|
|
207
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTransactions200Response} and HTTP response
|
|
208
208
|
*/
|
|
209
209
|
}, {
|
|
@@ -259,7 +259,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
259
259
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
260
260
|
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
261
261
|
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
262
|
-
* @param {module:model/String} opts.direction The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. (default to '')
|
|
262
|
+
* @param {module:model/String} opts.direction The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. (default to 'ASC')
|
|
263
263
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTransactions200Response}
|
|
264
264
|
*/
|
|
265
265
|
}, {
|
package/dist/api/OAuthApi.js
CHANGED
|
@@ -47,9 +47,9 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body
|
|
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](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
|
+
* @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
|
*/
|
|
55
55
|
return _createClass(OAuthApi, [{
|
|
@@ -75,9 +75,9 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body
|
|
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](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
|
+
* @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
|
*/
|
|
83
83
|
}, {
|
|
@@ -147,9 +147,9 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* Refresh
|
|
151
|
-
*
|
|
152
|
-
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body
|
|
150
|
+
* Refresh Access Token
|
|
151
|
+
* This operation refreshes the Access Token and Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
152
|
+
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body to refresh the Access Token and the Refresh Token.
|
|
153
153
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExchangePermissionToken201Response} and HTTP response
|
|
154
154
|
*/
|
|
155
155
|
}, {
|
|
@@ -175,9 +175,9 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* Refresh
|
|
179
|
-
*
|
|
180
|
-
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body
|
|
178
|
+
* Refresh Access Token
|
|
179
|
+
* This operation refreshes the Access Token and Refresh Token for the Checkout SDK. For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
180
|
+
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body to refresh the Access Token and the Refresh Token.
|
|
181
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExchangePermissionToken201Response}
|
|
182
182
|
*/
|
|
183
183
|
}, {
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
9
|
+
var _OrgInfo = _interopRequireDefault(require("../model/OrgInfo"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
|
+
* Cobo Wallet as a Service 2.0
|
|
18
|
+
*
|
|
19
|
+
* Contact: help@cobo.com
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Organizations service.
|
|
28
|
+
* @module api/OrganizationsApi
|
|
29
|
+
*/
|
|
30
|
+
var OrganizationsApi = exports["default"] = /*#__PURE__*/function () {
|
|
31
|
+
/**
|
|
32
|
+
* Constructs a new OrganizationsApi.
|
|
33
|
+
* @alias module:api/OrganizationsApi
|
|
34
|
+
* @class
|
|
35
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
36
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
37
|
+
*/
|
|
38
|
+
function OrganizationsApi(apiClient) {
|
|
39
|
+
_classCallCheck(this, OrganizationsApi);
|
|
40
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Get organization information
|
|
45
|
+
* This operation retrieves the detailed information about the organization associated with the current API key.
|
|
46
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrgInfo} and HTTP response
|
|
47
|
+
*/
|
|
48
|
+
return _createClass(OrganizationsApi, [{
|
|
49
|
+
key: "getOrgInfoWithHttpInfo",
|
|
50
|
+
value: function getOrgInfoWithHttpInfo() {
|
|
51
|
+
var postBody = null;
|
|
52
|
+
if (postBody && postBody.toJSON) {
|
|
53
|
+
postBody = postBody.toJSON();
|
|
54
|
+
}
|
|
55
|
+
var pathParams = {};
|
|
56
|
+
var queryParams = {};
|
|
57
|
+
var headerParams = {};
|
|
58
|
+
var formParams = {};
|
|
59
|
+
var authNames = ['CoboAuth'];
|
|
60
|
+
var contentTypes = [];
|
|
61
|
+
var accepts = ['application/json'];
|
|
62
|
+
var returnType = _OrgInfo["default"];
|
|
63
|
+
return this.apiClient.callApi('/organizations/info', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Get organization information
|
|
68
|
+
* This operation retrieves the detailed information about the organization associated with the current API key.
|
|
69
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrgInfo}
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "getOrgInfo",
|
|
73
|
+
value: function getOrgInfo() {
|
|
74
|
+
return this.getOrgInfoWithHttpInfo().then(function (response_and_data) {
|
|
75
|
+
return response_and_data.data;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}]);
|
|
79
|
+
}();
|