@cobo/cobo-waas2 1.3.0 → 1.5.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 +22 -10
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +105 -0
- package/dist/api/DevelopersWebhooksApi.js +43 -0
- package/dist/api/OAuthApi.js +18 -18
- package/dist/api/TransactionsApi.js +14 -14
- package/dist/api/WalletsApi.js +4 -4
- package/dist/api/WalletsExchangeWalletApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +10 -10
- package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
- package/dist/index.js +108 -31
- package/dist/model/AddressBook.js +217 -0
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/ApiLogDetails.js +238 -0
- package/dist/model/ApiLogSummary.js +161 -0
- package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
- package/dist/model/CoboSafeDelegate.js +2 -2
- package/dist/model/ContractCallSource.js +0 -6
- package/dist/model/CreateKeyShareHolder.js +2 -2
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +2 -2
- package/dist/model/EstimateTransferFeeParams.js +2 -2
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +1 -1
- package/dist/model/ExchangeId.js +10 -0
- package/dist/model/ExtendedTokenInfo.js +17 -4
- package/dist/model/GetToken200Response.js +4 -4
- package/dist/model/KeyShareHolder.js +1 -1
- package/dist/model/ListAddressBooks200Response.js +123 -0
- package/dist/model/MPCDelegate.js +4 -4
- package/dist/model/MessageSignParams.js +1 -1
- package/dist/model/MpcContractCallSource.js +0 -9
- package/dist/model/{RefreshToken200Response.js → RefreshToken201Response.js} +25 -25
- package/dist/model/RefreshTokenRequest.js +2 -2
- package/dist/model/SafeWalletDelegates.js +210 -0
- package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
- package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
- package/dist/model/TSSRequestStatus.js +5 -0
- package/dist/model/TokenAssetModelType.js +61 -0
- package/dist/model/TokenBalanceBalance.js +6 -6
- package/dist/model/TokenInfo.js +11 -2
- package/dist/model/Transaction.js +1 -1
- package/dist/model/TransactionDestination.js +50 -10
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionEvmCalldataInfo.js +177 -0
- package/dist/model/TransactionEvmContractDestination.js +16 -0
- package/dist/model/TransactionEvmContractMethod.js +136 -0
- package/dist/model/TransactionRawMessageSignDestination.js +120 -0
- package/dist/model/TransactionSignatureResult.js +1 -1
- package/dist/model/TransactionSmartContractSafeWalletSource.js +4 -6
- package/dist/model/TransactionStatus.js +0 -5
- package/dist/model/TransactionSubStatus.js +40 -5
- package/dist/model/TransactionTokeApproval.js +17 -4
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +2 -2
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
- package/dist/model/{WalletBalanceSnapshot.js → TriggerTestWebhookEventRequest.js} +31 -36
- package/dist/model/WebhookEventData.js +1 -1
- package/docs/AddressBook.md +17 -0
- package/docs/AddressBooksApi.md +71 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/ApiLogDetails.md +18 -0
- package/docs/ApiLogSummary.md +13 -0
- package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
- package/docs/CoboSafeDelegate.md +2 -2
- package/docs/ContractCallSource.md +0 -1
- package/docs/CreateKeyShareHolder.md +2 -2
- package/docs/DevelopersWebhooksApi.md +53 -0
- package/docs/ErrorResponse.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimateTransferFeeParams.md +1 -1
- package/docs/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/ExchangeId.md +4 -0
- package/docs/ExtendedTokenInfo.md +3 -2
- package/docs/GetToken200Response.md +4 -4
- package/docs/KeyShareHolder.md +1 -1
- package/docs/ListAddressBooks200Response.md +10 -0
- package/docs/MPCDelegate.md +2 -2
- package/docs/MessageSignParams.md +1 -1
- package/docs/MpcContractCallSource.md +0 -1
- package/docs/OAuthApi.md +11 -11
- package/docs/RefreshToken201Response.md +13 -0
- package/docs/RefreshTokenRequest.md +2 -2
- package/docs/SafeWalletDelegates.md +14 -0
- package/docs/SafeWalletDelegatesContractCall.md +12 -0
- package/docs/SafeWalletDelegatesTransfer.md +12 -0
- package/docs/TSSRequestStatus.md +2 -0
- package/docs/TokenAssetModelType.md +12 -0
- package/docs/TokenBalanceBalance.md +4 -4
- package/docs/TokenInfo.md +3 -2
- package/docs/Transaction.md +1 -1
- package/docs/TransactionDestination.md +4 -2
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionEvmCalldataInfo.md +16 -0
- package/docs/TransactionEvmContractDestination.md +1 -0
- package/docs/TransactionEvmContractMethod.md +13 -0
- package/docs/TransactionRawMessageSignDestination.md +10 -0
- package/docs/TransactionSmartContractSafeWalletSource.md +1 -1
- package/docs/TransactionSource.md +1 -1
- package/docs/TransactionStatus.md +0 -2
- package/docs/TransactionSubStatus.md +16 -2
- package/docs/TransactionTokeApproval.md +3 -2
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionWebhookEventData.md +1 -1
- package/docs/TransactionsApi.md +8 -8
- package/docs/TransferDestination.md +2 -2
- package/docs/TriggerTestWebhookEvent201Response.md +9 -0
- package/docs/TriggerTestWebhookEventRequest.md +10 -0
- package/docs/WalletsApi.md +2 -2
- package/docs/WalletsExchangeWalletApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +5 -5
- package/docs/WalletsSmartContractWalletsApi.md +63 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +2 -2
- package/dist/model/BookkeepingRecord.js +0 -243
- package/docs/BookkeepingRecord.md +0 -19
- package/docs/BookkeepingSummary.md +0 -12
- package/docs/RefreshToken200Response.md +0 -13
- package/docs/WalletBalanceSnapshot.md +0 -10
- package/docs/WalletBalanceSnapshotRecord.md +0 -13
|
@@ -146,7 +146,7 @@ var WalletsExchangeWalletApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
146
146
|
/**
|
|
147
147
|
* List supported assets
|
|
148
148
|
* This operation retrieves all the assets supported by a specified exchange.
|
|
149
|
-
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget
|
|
149
|
+
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex
|
|
150
150
|
* @param {Object} opts Optional parameters
|
|
151
151
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
152
152
|
* @param {String} [before] An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned.
|
|
@@ -185,7 +185,7 @@ var WalletsExchangeWalletApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
185
185
|
/**
|
|
186
186
|
* List supported assets
|
|
187
187
|
* This operation retrieves all the assets supported by a specified exchange.
|
|
188
|
-
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget
|
|
188
|
+
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex
|
|
189
189
|
* @param {Object} opts Optional parameters
|
|
190
190
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
191
191
|
* @param {String} opts.before An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned.
|
|
@@ -203,7 +203,7 @@ var WalletsExchangeWalletApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
203
|
/**
|
|
204
204
|
* List supported chains
|
|
205
205
|
* This operation retrieves all the chains supported by a specified exchange for a given asset. You can use this operation to confirm whether you can transfer an asset from or to your Exchange Wallet when using a specific chain.
|
|
206
|
-
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget
|
|
206
|
+
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex
|
|
207
207
|
* @param {String} asset_id (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. You can get the ID of the assets supported by an exchanges by calling [List supported assets](/v2/api-references/wallets--exchange-wallet/list-supported-assets).
|
|
208
208
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ChainInfo>} and HTTP response
|
|
209
209
|
*/
|
|
@@ -239,7 +239,7 @@ var WalletsExchangeWalletApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
239
239
|
/**
|
|
240
240
|
* List supported chains
|
|
241
241
|
* This operation retrieves all the chains supported by a specified exchange for a given asset. You can use this operation to confirm whether you can transfer an asset from or to your Exchange Wallet when using a specific chain.
|
|
242
|
-
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget
|
|
242
|
+
* @param {module:model/ExchangeId} exchange_id The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex
|
|
243
243
|
* @param {String} asset_id (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. You can get the ID of the assets supported by an exchanges by calling [List supported assets](/v2/api-references/wallets--exchange-wallet/list-supported-assets).
|
|
244
244
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ChainInfo>}
|
|
245
245
|
*/
|
|
@@ -111,7 +111,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* Create key share holder group
|
|
114
|
-
* This operation creates a key share holder group for a specified vault.
|
|
114
|
+
* This operation creates a key share holder group for a specified vault. <Note>This operation will not return the `tss_key_share_groups` property until key shares have been created using the [Create TSS request](/v2/api-references/wallets--mpc-wallets/create-tss-request) operation. Creating a wallet with the [Create wallet](/v2/api-references/wallets/create-wallet) operation is only possible after you've completed the previous actions.</Note>
|
|
115
115
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
116
116
|
* @param {Object} opts Optional parameters
|
|
117
117
|
* @param {module:model/CreateKeyShareHolderGroupRequest} [CreateKeyShareHolderGroupRequest] The request body to create a key share holder group.
|
|
@@ -144,7 +144,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Create key share holder group
|
|
147
|
-
* This operation creates a key share holder group for a specified vault.
|
|
147
|
+
* This operation creates a key share holder group for a specified vault. <Note>This operation will not return the `tss_key_share_groups` property until key shares have been created using the [Create TSS request](/v2/api-references/wallets--mpc-wallets/create-tss-request) operation. Creating a wallet with the [Create wallet](/v2/api-references/wallets/create-wallet) operation is only possible after you've completed the previous actions.</Note>
|
|
148
148
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
149
149
|
* @param {Object} opts Optional parameters
|
|
150
150
|
* @param {module:model/CreateKeyShareHolderGroupRequest} opts.CreateKeyShareHolderGroupRequest The request body to create a key share holder group.
|
|
@@ -201,7 +201,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Create vault
|
|
204
|
-
* This operation creates a vault.
|
|
204
|
+
* This operation creates a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
205
205
|
* @param {Object} opts Optional parameters
|
|
206
206
|
* @param {module:model/CreateMpcVaultRequest} [CreateMpcVaultRequest] The request body to create a vault.
|
|
207
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MPCVault} and HTTP response
|
|
@@ -227,7 +227,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* Create vault
|
|
230
|
-
* This operation creates a vault.
|
|
230
|
+
* This operation creates a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
231
231
|
* @param {Object} opts Optional parameters
|
|
232
232
|
* @param {module:model/CreateMpcVaultRequest} opts.CreateMpcVaultRequest The request body to create a vault.
|
|
233
233
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MPCVault}
|
|
@@ -437,7 +437,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
437
437
|
|
|
438
438
|
/**
|
|
439
439
|
* Get vault information
|
|
440
|
-
* This operation retrieves detailed information about a vault.
|
|
440
|
+
* This operation retrieves detailed information about a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
441
441
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
442
442
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MPCVault} and HTTP response
|
|
443
443
|
*/
|
|
@@ -467,7 +467,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* Get vault information
|
|
470
|
-
* This operation retrieves detailed information about a vault.
|
|
470
|
+
* This operation retrieves detailed information about a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
471
471
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
472
472
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MPCVault}
|
|
473
473
|
*/
|
|
@@ -677,7 +677,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* List all vaults
|
|
680
|
-
* This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`.
|
|
680
|
+
* This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
681
681
|
* @param {module:model/MPCVaultType} vault_type The vault type. Possible values include: - `Org-Controlled`: This vault is a collection of [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#organization-controlled-wallets). - `User-Controlled`: This vault is a collection of [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#user-controlled-wallets).
|
|
682
682
|
* @param {Object} opts Optional parameters
|
|
683
683
|
* @param {String} [project_id] The project ID, which you can retrieve by calling [List all projects](/v2/api-references/wallets--mpc-wallets/list-all-projects).
|
|
@@ -717,7 +717,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* List all vaults
|
|
720
|
-
* This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`.
|
|
720
|
+
* This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
721
721
|
* @param {module:model/MPCVaultType} vault_type The vault type. Possible values include: - `Org-Controlled`: This vault is a collection of [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#organization-controlled-wallets). - `User-Controlled`: This vault is a collection of [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#user-controlled-wallets).
|
|
722
722
|
* @param {Object} opts Optional parameters
|
|
723
723
|
* @param {String} opts.project_id The project ID, which you can retrieve by calling [List all projects](/v2/api-references/wallets--mpc-wallets/list-all-projects).
|
|
@@ -905,7 +905,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
905
905
|
|
|
906
906
|
/**
|
|
907
907
|
* Update vault name
|
|
908
|
-
* This operation updates a vault's name.
|
|
908
|
+
* This operation updates a vault's name. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
909
909
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
910
910
|
* @param {Object} opts Optional parameters
|
|
911
911
|
* @param {module:model/UpdateMpcVaultByIdRequest} [UpdateMpcVaultByIdRequest] The request body to update a vault's name.
|
|
@@ -938,7 +938,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
938
938
|
|
|
939
939
|
/**
|
|
940
940
|
* Update vault name
|
|
941
|
-
* This operation updates a vault's name.
|
|
941
|
+
* This operation updates a vault's name. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
|
|
942
942
|
* @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
|
|
943
943
|
* @param {Object} opts Optional parameters
|
|
944
944
|
* @param {module:model/UpdateMpcVaultByIdRequest} opts.UpdateMpcVaultByIdRequest The request body to update a vault's name.
|
|
@@ -0,0 +1,93 @@
|
|
|
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 _CoboSafeDelegate = _interopRequireDefault(require("../model/CoboSafeDelegate"));
|
|
9
|
+
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
10
|
+
var _SafeWalletDelegates = _interopRequireDefault(require("../model/SafeWalletDelegates"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Cobo Wallet as a Service 2.0
|
|
19
|
+
*
|
|
20
|
+
* Contact: help@cobo.com
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* WalletsSmartContractWallets service.
|
|
29
|
+
* @module api/WalletsSmartContractWalletsApi
|
|
30
|
+
*/
|
|
31
|
+
var WalletsSmartContractWalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new WalletsSmartContractWalletsApi.
|
|
34
|
+
* @alias module:api/WalletsSmartContractWalletsApi
|
|
35
|
+
* @class
|
|
36
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
37
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
38
|
+
*/
|
|
39
|
+
function WalletsSmartContractWalletsApi(apiClient) {
|
|
40
|
+
_classCallCheck(this, WalletsSmartContractWalletsApi);
|
|
41
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* List Delegates
|
|
46
|
+
* This operation retrieves all available Delegates of a Safe\\{Wallet\\} for a given transfer or contract call request.
|
|
47
|
+
* @param {String} wallet_id The wallet ID.
|
|
48
|
+
* @param {Object} opts Optional parameters
|
|
49
|
+
* @param {module:model/SafeWalletDelegates} [SafeWalletDelegates] The request body to query the Delegates of a Safe{Wallet}.
|
|
50
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CoboSafeDelegate>} and HTTP response
|
|
51
|
+
*/
|
|
52
|
+
return _createClass(WalletsSmartContractWalletsApi, [{
|
|
53
|
+
key: "listSafeWalletDelegatesWithHttpInfo",
|
|
54
|
+
value: function listSafeWalletDelegatesWithHttpInfo(wallet_id, opts) {
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
var postBody = opts['SafeWalletDelegates'];
|
|
57
|
+
if (postBody && postBody.toJSON) {
|
|
58
|
+
postBody = postBody.toJSON();
|
|
59
|
+
}
|
|
60
|
+
// verify the required parameter 'wallet_id' is set
|
|
61
|
+
if (wallet_id === undefined || wallet_id === null) {
|
|
62
|
+
throw new Error("Missing the required parameter 'wallet_id' when calling listSafeWalletDelegates");
|
|
63
|
+
}
|
|
64
|
+
var pathParams = {
|
|
65
|
+
'wallet_id': wallet_id
|
|
66
|
+
};
|
|
67
|
+
var queryParams = {};
|
|
68
|
+
var headerParams = {};
|
|
69
|
+
var formParams = {};
|
|
70
|
+
var authNames = ['CoboAuth'];
|
|
71
|
+
var contentTypes = ['application/json'];
|
|
72
|
+
var accepts = ['application/json'];
|
|
73
|
+
var returnType = [_CoboSafeDelegate["default"]];
|
|
74
|
+
return this.apiClient.callApi('/wallets/{wallet_id}/smart_contracts/delegates', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* List Delegates
|
|
79
|
+
* This operation retrieves all available Delegates of a Safe\\{Wallet\\} for a given transfer or contract call request.
|
|
80
|
+
* @param {String} wallet_id The wallet ID.
|
|
81
|
+
* @param {Object} opts Optional parameters
|
|
82
|
+
* @param {module:model/SafeWalletDelegates} opts.SafeWalletDelegates The request body to query the Delegates of a Safe{Wallet}.
|
|
83
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CoboSafeDelegate>}
|
|
84
|
+
*/
|
|
85
|
+
}, {
|
|
86
|
+
key: "listSafeWalletDelegates",
|
|
87
|
+
value: function listSafeWalletDelegates(wallet_id, opts) {
|
|
88
|
+
return this.listSafeWalletDelegatesWithHttpInfo(wallet_id, opts).then(function (response_and_data) {
|
|
89
|
+
return response_and_data.data;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}]);
|
|
93
|
+
}();
|
package/dist/index.js
CHANGED
|
@@ -39,6 +39,18 @@ Object.defineProperty(exports, "ActivityType", {
|
|
|
39
39
|
return _ActivityType["default"];
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "AddressBook", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _AddressBook["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "AddressBooksApi", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _AddressBooksApi["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
42
54
|
Object.defineProperty(exports, "AddressEncoding", {
|
|
43
55
|
enumerable: true,
|
|
44
56
|
get: function get() {
|
|
@@ -87,6 +99,18 @@ Object.defineProperty(exports, "ApiClient", {
|
|
|
87
99
|
return _ApiClient["default"];
|
|
88
100
|
}
|
|
89
101
|
});
|
|
102
|
+
Object.defineProperty(exports, "ApiLogDetails", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _ApiLogDetails["default"];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "ApiLogSummary", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _ApiLogSummary["default"];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
90
114
|
Object.defineProperty(exports, "AssetBalance", {
|
|
91
115
|
enumerable: true,
|
|
92
116
|
get: function get() {
|
|
@@ -141,18 +165,6 @@ Object.defineProperty(exports, "BaseStakeSource", {
|
|
|
141
165
|
return _BaseStakeSource["default"];
|
|
142
166
|
}
|
|
143
167
|
});
|
|
144
|
-
Object.defineProperty(exports, "BookkeepingRecord", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function get() {
|
|
147
|
-
return _BookkeepingRecord["default"];
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
Object.defineProperty(exports, "BookkeepingSummary", {
|
|
151
|
-
enumerable: true,
|
|
152
|
-
get: function get() {
|
|
153
|
-
return _BookkeepingSummary["default"];
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
168
|
Object.defineProperty(exports, "BroadcastSignedTransactions201ResponseInner", {
|
|
157
169
|
enumerable: true,
|
|
158
170
|
get: function get() {
|
|
@@ -687,6 +699,12 @@ Object.defineProperty(exports, "KeyShareHolderType", {
|
|
|
687
699
|
return _KeyShareHolderType["default"];
|
|
688
700
|
}
|
|
689
701
|
});
|
|
702
|
+
Object.defineProperty(exports, "ListAddressBooks200Response", {
|
|
703
|
+
enumerable: true,
|
|
704
|
+
get: function get() {
|
|
705
|
+
return _ListAddressBooks200Response["default"];
|
|
706
|
+
}
|
|
707
|
+
});
|
|
690
708
|
Object.defineProperty(exports, "ListAddresses200Response", {
|
|
691
709
|
enumerable: true,
|
|
692
710
|
get: function get() {
|
|
@@ -969,10 +987,10 @@ Object.defineProperty(exports, "RawMessageSignDestination", {
|
|
|
969
987
|
return _RawMessageSignDestination["default"];
|
|
970
988
|
}
|
|
971
989
|
});
|
|
972
|
-
Object.defineProperty(exports, "
|
|
990
|
+
Object.defineProperty(exports, "RefreshToken201Response", {
|
|
973
991
|
enumerable: true,
|
|
974
992
|
get: function get() {
|
|
975
|
-
return
|
|
993
|
+
return _RefreshToken201Response["default"];
|
|
976
994
|
}
|
|
977
995
|
});
|
|
978
996
|
Object.defineProperty(exports, "RefreshTokenRequest", {
|
|
@@ -1017,6 +1035,24 @@ Object.defineProperty(exports, "SafeWallet", {
|
|
|
1017
1035
|
return _SafeWallet["default"];
|
|
1018
1036
|
}
|
|
1019
1037
|
});
|
|
1038
|
+
Object.defineProperty(exports, "SafeWalletDelegates", {
|
|
1039
|
+
enumerable: true,
|
|
1040
|
+
get: function get() {
|
|
1041
|
+
return _SafeWalletDelegates["default"];
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
Object.defineProperty(exports, "SafeWalletDelegatesContractCall", {
|
|
1045
|
+
enumerable: true,
|
|
1046
|
+
get: function get() {
|
|
1047
|
+
return _SafeWalletDelegatesContractCall["default"];
|
|
1048
|
+
}
|
|
1049
|
+
});
|
|
1050
|
+
Object.defineProperty(exports, "SafeWalletDelegatesTransfer", {
|
|
1051
|
+
enumerable: true,
|
|
1052
|
+
get: function get() {
|
|
1053
|
+
return _SafeWalletDelegatesTransfer["default"];
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1020
1056
|
Object.defineProperty(exports, "SmartContractInitiator", {
|
|
1021
1057
|
enumerable: true,
|
|
1022
1058
|
get: function get() {
|
|
@@ -1125,6 +1161,12 @@ Object.defineProperty(exports, "TSSRequestWebhookEventData", {
|
|
|
1125
1161
|
return _TSSRequestWebhookEventData["default"];
|
|
1126
1162
|
}
|
|
1127
1163
|
});
|
|
1164
|
+
Object.defineProperty(exports, "TokenAssetModelType", {
|
|
1165
|
+
enumerable: true,
|
|
1166
|
+
get: function get() {
|
|
1167
|
+
return _TokenAssetModelType["default"];
|
|
1168
|
+
}
|
|
1169
|
+
});
|
|
1128
1170
|
Object.defineProperty(exports, "TokenBalance", {
|
|
1129
1171
|
enumerable: true,
|
|
1130
1172
|
get: function get() {
|
|
@@ -1221,12 +1263,24 @@ Object.defineProperty(exports, "TransactionDetails", {
|
|
|
1221
1263
|
return _TransactionDetails["default"];
|
|
1222
1264
|
}
|
|
1223
1265
|
});
|
|
1266
|
+
Object.defineProperty(exports, "TransactionEvmCalldataInfo", {
|
|
1267
|
+
enumerable: true,
|
|
1268
|
+
get: function get() {
|
|
1269
|
+
return _TransactionEvmCalldataInfo["default"];
|
|
1270
|
+
}
|
|
1271
|
+
});
|
|
1224
1272
|
Object.defineProperty(exports, "TransactionEvmContractDestination", {
|
|
1225
1273
|
enumerable: true,
|
|
1226
1274
|
get: function get() {
|
|
1227
1275
|
return _TransactionEvmContractDestination["default"];
|
|
1228
1276
|
}
|
|
1229
1277
|
});
|
|
1278
|
+
Object.defineProperty(exports, "TransactionEvmContractMethod", {
|
|
1279
|
+
enumerable: true,
|
|
1280
|
+
get: function get() {
|
|
1281
|
+
return _TransactionEvmContractMethod["default"];
|
|
1282
|
+
}
|
|
1283
|
+
});
|
|
1230
1284
|
Object.defineProperty(exports, "TransactionEvmEip1559Fee", {
|
|
1231
1285
|
enumerable: true,
|
|
1232
1286
|
get: function get() {
|
|
@@ -1287,6 +1341,12 @@ Object.defineProperty(exports, "TransactionMessageSignEIP712Destination", {
|
|
|
1287
1341
|
return _TransactionMessageSignEIP712Destination["default"];
|
|
1288
1342
|
}
|
|
1289
1343
|
});
|
|
1344
|
+
Object.defineProperty(exports, "TransactionRawMessageSignDestination", {
|
|
1345
|
+
enumerable: true,
|
|
1346
|
+
get: function get() {
|
|
1347
|
+
return _TransactionRawMessageSignDestination["default"];
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1290
1350
|
Object.defineProperty(exports, "TransactionRawTxInfo", {
|
|
1291
1351
|
enumerable: true,
|
|
1292
1352
|
get: function get() {
|
|
@@ -1497,6 +1557,18 @@ Object.defineProperty(exports, "TransferSource", {
|
|
|
1497
1557
|
return _TransferSource["default"];
|
|
1498
1558
|
}
|
|
1499
1559
|
});
|
|
1560
|
+
Object.defineProperty(exports, "TriggerTestWebhookEvent201Response", {
|
|
1561
|
+
enumerable: true,
|
|
1562
|
+
get: function get() {
|
|
1563
|
+
return _TriggerTestWebhookEvent201Response["default"];
|
|
1564
|
+
}
|
|
1565
|
+
});
|
|
1566
|
+
Object.defineProperty(exports, "TriggerTestWebhookEventRequest", {
|
|
1567
|
+
enumerable: true,
|
|
1568
|
+
get: function get() {
|
|
1569
|
+
return _TriggerTestWebhookEventRequest["default"];
|
|
1570
|
+
}
|
|
1571
|
+
});
|
|
1500
1572
|
Object.defineProperty(exports, "UTXO", {
|
|
1501
1573
|
enumerable: true,
|
|
1502
1574
|
get: function get() {
|
|
@@ -1575,18 +1647,6 @@ Object.defineProperty(exports, "UtxoFeeRate", {
|
|
|
1575
1647
|
return _UtxoFeeRate["default"];
|
|
1576
1648
|
}
|
|
1577
1649
|
});
|
|
1578
|
-
Object.defineProperty(exports, "WalletBalanceSnapshot", {
|
|
1579
|
-
enumerable: true,
|
|
1580
|
-
get: function get() {
|
|
1581
|
-
return _WalletBalanceSnapshot["default"];
|
|
1582
|
-
}
|
|
1583
|
-
});
|
|
1584
|
-
Object.defineProperty(exports, "WalletBalanceSnapshotRecord", {
|
|
1585
|
-
enumerable: true,
|
|
1586
|
-
get: function get() {
|
|
1587
|
-
return _WalletBalanceSnapshotRecord["default"];
|
|
1588
|
-
}
|
|
1589
|
-
});
|
|
1590
1650
|
Object.defineProperty(exports, "WalletInfo", {
|
|
1591
1651
|
enumerable: true,
|
|
1592
1652
|
get: function get() {
|
|
@@ -1623,6 +1683,12 @@ Object.defineProperty(exports, "WalletsMPCWalletsApi", {
|
|
|
1623
1683
|
return _WalletsMPCWalletsApi["default"];
|
|
1624
1684
|
}
|
|
1625
1685
|
});
|
|
1686
|
+
Object.defineProperty(exports, "WalletsSmartContractWalletsApi", {
|
|
1687
|
+
enumerable: true,
|
|
1688
|
+
get: function get() {
|
|
1689
|
+
return _WalletsSmartContractWalletsApi["default"];
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1626
1692
|
Object.defineProperty(exports, "WebhookEndpoint", {
|
|
1627
1693
|
enumerable: true,
|
|
1628
1694
|
get: function get() {
|
|
@@ -1679,6 +1745,7 @@ var _ActivityInitiator = _interopRequireDefault(require("./model/ActivityInitiat
|
|
|
1679
1745
|
var _ActivityStatus = _interopRequireDefault(require("./model/ActivityStatus"));
|
|
1680
1746
|
var _ActivityTimeline = _interopRequireDefault(require("./model/ActivityTimeline"));
|
|
1681
1747
|
var _ActivityType = _interopRequireDefault(require("./model/ActivityType"));
|
|
1748
|
+
var _AddressBook = _interopRequireDefault(require("./model/AddressBook"));
|
|
1682
1749
|
var _AddressEncoding = _interopRequireDefault(require("./model/AddressEncoding"));
|
|
1683
1750
|
var _AddressInfo = _interopRequireDefault(require("./model/AddressInfo"));
|
|
1684
1751
|
var _AddressTransferDestination = _interopRequireDefault(require("./model/AddressTransferDestination"));
|
|
@@ -1686,6 +1753,8 @@ var _AddressTransferDestinationAccountOutput = _interopRequireDefault(require(".
|
|
|
1686
1753
|
var _AddressTransferDestinationUtxoOutputsInner = _interopRequireDefault(require("./model/AddressTransferDestinationUtxoOutputsInner"));
|
|
1687
1754
|
var _AmountDetailsInner = _interopRequireDefault(require("./model/AmountDetailsInner"));
|
|
1688
1755
|
var _AmountStatus = _interopRequireDefault(require("./model/AmountStatus"));
|
|
1756
|
+
var _ApiLogDetails = _interopRequireDefault(require("./model/ApiLogDetails"));
|
|
1757
|
+
var _ApiLogSummary = _interopRequireDefault(require("./model/ApiLogSummary"));
|
|
1689
1758
|
var _AssetBalance = _interopRequireDefault(require("./model/AssetBalance"));
|
|
1690
1759
|
var _AssetInfo = _interopRequireDefault(require("./model/AssetInfo"));
|
|
1691
1760
|
var _BabylonStakeExtra = _interopRequireDefault(require("./model/BabylonStakeExtra"));
|
|
@@ -1695,8 +1764,6 @@ var _BaseContractCallSource = _interopRequireDefault(require("./model/BaseContra
|
|
|
1695
1764
|
var _BaseEstimateStakingFee = _interopRequireDefault(require("./model/BaseEstimateStakingFee"));
|
|
1696
1765
|
var _BaseStakeExtra = _interopRequireDefault(require("./model/BaseStakeExtra"));
|
|
1697
1766
|
var _BaseStakeSource = _interopRequireDefault(require("./model/BaseStakeSource"));
|
|
1698
|
-
var _BookkeepingRecord = _interopRequireDefault(require("./model/BookkeepingRecord"));
|
|
1699
|
-
var _BookkeepingSummary = _interopRequireDefault(require("./model/BookkeepingSummary"));
|
|
1700
1767
|
var _BroadcastSignedTransactions201ResponseInner = _interopRequireDefault(require("./model/BroadcastSignedTransactions201ResponseInner"));
|
|
1701
1768
|
var _BroadcastSignedTransactionsRequest = _interopRequireDefault(require("./model/BroadcastSignedTransactionsRequest"));
|
|
1702
1769
|
var _ChainInfo = _interopRequireDefault(require("./model/ChainInfo"));
|
|
@@ -1784,6 +1851,7 @@ var _KeyShareHolderGroupStatus = _interopRequireDefault(require("./model/KeyShar
|
|
|
1784
1851
|
var _KeyShareHolderGroupType = _interopRequireDefault(require("./model/KeyShareHolderGroupType"));
|
|
1785
1852
|
var _KeyShareHolderStatus = _interopRequireDefault(require("./model/KeyShareHolderStatus"));
|
|
1786
1853
|
var _KeyShareHolderType = _interopRequireDefault(require("./model/KeyShareHolderType"));
|
|
1854
|
+
var _ListAddressBooks200Response = _interopRequireDefault(require("./model/ListAddressBooks200Response"));
|
|
1787
1855
|
var _ListAddresses200Response = _interopRequireDefault(require("./model/ListAddresses200Response"));
|
|
1788
1856
|
var _ListAssetBalancesForExchangeWallet200Response = _interopRequireDefault(require("./model/ListAssetBalancesForExchangeWallet200Response"));
|
|
1789
1857
|
var _ListExchanges200ResponseInner = _interopRequireDefault(require("./model/ListExchanges200ResponseInner"));
|
|
@@ -1830,7 +1898,7 @@ var _PoolDetails = _interopRequireDefault(require("./model/PoolDetails"));
|
|
|
1830
1898
|
var _PoolDetailsAllOfValidatorsInfo = _interopRequireDefault(require("./model/PoolDetailsAllOfValidatorsInfo"));
|
|
1831
1899
|
var _PoolSummary = _interopRequireDefault(require("./model/PoolSummary"));
|
|
1832
1900
|
var _RawMessageSignDestination = _interopRequireDefault(require("./model/RawMessageSignDestination"));
|
|
1833
|
-
var
|
|
1901
|
+
var _RefreshToken201Response = _interopRequireDefault(require("./model/RefreshToken201Response"));
|
|
1834
1902
|
var _RefreshTokenRequest = _interopRequireDefault(require("./model/RefreshTokenRequest"));
|
|
1835
1903
|
var _ReplaceType = _interopRequireDefault(require("./model/ReplaceType"));
|
|
1836
1904
|
var _RetryWebhookEventById201Response = _interopRequireDefault(require("./model/RetryWebhookEventById201Response"));
|
|
@@ -1838,6 +1906,9 @@ var _RootPubkey = _interopRequireDefault(require("./model/RootPubkey"));
|
|
|
1838
1906
|
var _SafeContractCallSource = _interopRequireDefault(require("./model/SafeContractCallSource"));
|
|
1839
1907
|
var _SafeTransferSource = _interopRequireDefault(require("./model/SafeTransferSource"));
|
|
1840
1908
|
var _SafeWallet = _interopRequireDefault(require("./model/SafeWallet"));
|
|
1909
|
+
var _SafeWalletDelegates = _interopRequireDefault(require("./model/SafeWalletDelegates"));
|
|
1910
|
+
var _SafeWalletDelegatesContractCall = _interopRequireDefault(require("./model/SafeWalletDelegatesContractCall"));
|
|
1911
|
+
var _SafeWalletDelegatesTransfer = _interopRequireDefault(require("./model/SafeWalletDelegatesTransfer"));
|
|
1841
1912
|
var _SmartContractInitiator = _interopRequireDefault(require("./model/SmartContractInitiator"));
|
|
1842
1913
|
var _SmartContractWalletInfo = _interopRequireDefault(require("./model/SmartContractWalletInfo"));
|
|
1843
1914
|
var _SmartContractWalletOperationType = _interopRequireDefault(require("./model/SmartContractWalletOperationType"));
|
|
@@ -1855,6 +1926,7 @@ var _TSSRequest = _interopRequireDefault(require("./model/TSSRequest"));
|
|
|
1855
1926
|
var _TSSRequestStatus = _interopRequireDefault(require("./model/TSSRequestStatus"));
|
|
1856
1927
|
var _TSSRequestType = _interopRequireDefault(require("./model/TSSRequestType"));
|
|
1857
1928
|
var _TSSRequestWebhookEventData = _interopRequireDefault(require("./model/TSSRequestWebhookEventData"));
|
|
1929
|
+
var _TokenAssetModelType = _interopRequireDefault(require("./model/TokenAssetModelType"));
|
|
1858
1930
|
var _TokenBalance = _interopRequireDefault(require("./model/TokenBalance"));
|
|
1859
1931
|
var _TokenBalanceBalance = _interopRequireDefault(require("./model/TokenBalanceBalance"));
|
|
1860
1932
|
var _TokenInfo = _interopRequireDefault(require("./model/TokenInfo"));
|
|
@@ -1871,7 +1943,9 @@ var _TransactionDestination = _interopRequireDefault(require("./model/Transactio
|
|
|
1871
1943
|
var _TransactionDestinationType = _interopRequireDefault(require("./model/TransactionDestinationType"));
|
|
1872
1944
|
var _TransactionDetail = _interopRequireDefault(require("./model/TransactionDetail"));
|
|
1873
1945
|
var _TransactionDetails = _interopRequireDefault(require("./model/TransactionDetails"));
|
|
1946
|
+
var _TransactionEvmCalldataInfo = _interopRequireDefault(require("./model/TransactionEvmCalldataInfo"));
|
|
1874
1947
|
var _TransactionEvmContractDestination = _interopRequireDefault(require("./model/TransactionEvmContractDestination"));
|
|
1948
|
+
var _TransactionEvmContractMethod = _interopRequireDefault(require("./model/TransactionEvmContractMethod"));
|
|
1875
1949
|
var _TransactionEvmEip1559Fee = _interopRequireDefault(require("./model/TransactionEvmEip1559Fee"));
|
|
1876
1950
|
var _TransactionEvmLegacyFee = _interopRequireDefault(require("./model/TransactionEvmLegacyFee"));
|
|
1877
1951
|
var _TransactionExchangeWalletSource = _interopRequireDefault(require("./model/TransactionExchangeWalletSource"));
|
|
@@ -1882,6 +1956,7 @@ var _TransactionInitiatorType = _interopRequireDefault(require("./model/Transact
|
|
|
1882
1956
|
var _TransactionMPCWalletSource = _interopRequireDefault(require("./model/TransactionMPCWalletSource"));
|
|
1883
1957
|
var _TransactionMessageSignEIP191Destination = _interopRequireDefault(require("./model/TransactionMessageSignEIP191Destination"));
|
|
1884
1958
|
var _TransactionMessageSignEIP712Destination = _interopRequireDefault(require("./model/TransactionMessageSignEIP712Destination"));
|
|
1959
|
+
var _TransactionRawMessageSignDestination = _interopRequireDefault(require("./model/TransactionRawMessageSignDestination"));
|
|
1885
1960
|
var _TransactionRawTxInfo = _interopRequireDefault(require("./model/TransactionRawTxInfo"));
|
|
1886
1961
|
var _TransactionRbf = _interopRequireDefault(require("./model/TransactionRbf"));
|
|
1887
1962
|
var _TransactionRbfSource = _interopRequireDefault(require("./model/TransactionRbfSource"));
|
|
@@ -1916,6 +1991,8 @@ var _TransferDestination = _interopRequireDefault(require("./model/TransferDesti
|
|
|
1916
1991
|
var _TransferDestinationType = _interopRequireDefault(require("./model/TransferDestinationType"));
|
|
1917
1992
|
var _TransferParams = _interopRequireDefault(require("./model/TransferParams"));
|
|
1918
1993
|
var _TransferSource = _interopRequireDefault(require("./model/TransferSource"));
|
|
1994
|
+
var _TriggerTestWebhookEvent201Response = _interopRequireDefault(require("./model/TriggerTestWebhookEvent201Response"));
|
|
1995
|
+
var _TriggerTestWebhookEventRequest = _interopRequireDefault(require("./model/TriggerTestWebhookEventRequest"));
|
|
1919
1996
|
var _UTXO = _interopRequireDefault(require("./model/UTXO"));
|
|
1920
1997
|
var _UpdateCustodialWalletParams = _interopRequireDefault(require("./model/UpdateCustodialWalletParams"));
|
|
1921
1998
|
var _UpdateExchangeWalletParams = _interopRequireDefault(require("./model/UpdateExchangeWalletParams"));
|
|
@@ -1929,8 +2006,6 @@ var _UpdateWalletParams = _interopRequireDefault(require("./model/UpdateWalletPa
|
|
|
1929
2006
|
var _UpdateWebhookEndpointByIdRequest = _interopRequireDefault(require("./model/UpdateWebhookEndpointByIdRequest"));
|
|
1930
2007
|
var _UtxoFeeBasePrice = _interopRequireDefault(require("./model/UtxoFeeBasePrice"));
|
|
1931
2008
|
var _UtxoFeeRate = _interopRequireDefault(require("./model/UtxoFeeRate"));
|
|
1932
|
-
var _WalletBalanceSnapshot = _interopRequireDefault(require("./model/WalletBalanceSnapshot"));
|
|
1933
|
-
var _WalletBalanceSnapshotRecord = _interopRequireDefault(require("./model/WalletBalanceSnapshotRecord"));
|
|
1934
2009
|
var _WalletInfo = _interopRequireDefault(require("./model/WalletInfo"));
|
|
1935
2010
|
var _WalletSubtype = _interopRequireDefault(require("./model/WalletSubtype"));
|
|
1936
2011
|
var _WalletType = _interopRequireDefault(require("./model/WalletType"));
|
|
@@ -1942,6 +2017,7 @@ var _WebhookEventDataType = _interopRequireDefault(require("./model/WebhookEvent
|
|
|
1942
2017
|
var _WebhookEventLog = _interopRequireDefault(require("./model/WebhookEventLog"));
|
|
1943
2018
|
var _WebhookEventStatus = _interopRequireDefault(require("./model/WebhookEventStatus"));
|
|
1944
2019
|
var _WebhookEventType = _interopRequireDefault(require("./model/WebhookEventType"));
|
|
2020
|
+
var _AddressBooksApi = _interopRequireDefault(require("./api/AddressBooksApi"));
|
|
1945
2021
|
var _DevelopersWebhooksApi = _interopRequireDefault(require("./api/DevelopersWebhooksApi"));
|
|
1946
2022
|
var _OAuthApi = _interopRequireDefault(require("./api/OAuthApi"));
|
|
1947
2023
|
var _StakingsApi = _interopRequireDefault(require("./api/StakingsApi"));
|
|
@@ -1949,4 +2025,5 @@ var _TransactionsApi = _interopRequireDefault(require("./api/TransactionsApi"));
|
|
|
1949
2025
|
var _WalletsApi = _interopRequireDefault(require("./api/WalletsApi"));
|
|
1950
2026
|
var _WalletsExchangeWalletApi = _interopRequireDefault(require("./api/WalletsExchangeWalletApi"));
|
|
1951
2027
|
var _WalletsMPCWalletsApi = _interopRequireDefault(require("./api/WalletsMPCWalletsApi"));
|
|
2028
|
+
var _WalletsSmartContractWalletsApi = _interopRequireDefault(require("./api/WalletsSmartContractWalletsApi"));
|
|
1952
2029
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|