@cobo/cobo-waas2 1.8.0 → 1.9.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.
Files changed (132) hide show
  1. package/README.md +78 -30
  2. package/dist/ApiClient.js +11 -1
  3. package/dist/api/AddressBooksApi.js +1 -1
  4. package/dist/api/DevelopersApi.js +3 -3
  5. package/dist/api/DevelopersWebhooksApi.js +8 -8
  6. package/dist/api/PrimeBrokerApi.js +317 -0
  7. package/dist/api/StakingsApi.js +12 -12
  8. package/dist/api/TransactionsApi.js +60 -16
  9. package/dist/api/TravelRuleApi.js +18 -18
  10. package/dist/api/WalletsApi.js +84 -13
  11. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  12. package/dist/api/WalletsMPCWalletsApi.js +151 -39
  13. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  14. package/dist/index.js +112 -7
  15. package/dist/model/ActivityExtra.js +5 -5
  16. package/dist/model/AddressBalance.js +129 -0
  17. package/dist/model/AddressTransferDestination.js +36 -0
  18. package/dist/model/ApprovalStatementStatus.js +81 -0
  19. package/dist/model/AssetBalance.js +6 -6
  20. package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
  21. package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
  22. package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
  23. package/dist/model/ChangeGuardPubkey200Response.js +110 -0
  24. package/dist/model/ContractCallParams.js +36 -0
  25. package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
  26. package/dist/model/CreateAddressRequest.js +28 -2
  27. package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
  28. package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
  29. package/dist/model/DeleteGuardPubkey201Response.js +110 -0
  30. package/dist/model/EthStakeEstimatedFee.js +1 -1
  31. package/dist/model/EthStakingActivityDetailExtra.js +1 -1
  32. package/dist/model/GetStakingEstimationFee201Response.js +1 -1
  33. package/dist/model/GetTransactionLimitation200Response.js +4 -4
  34. package/dist/model/GuardPubkeyStatus.js +91 -0
  35. package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
  36. package/dist/model/ListKeyShareHolders200Response.js +123 -0
  37. package/dist/model/MessageSignDestination.js +70 -8
  38. package/dist/model/MessageSignDestinationType.js +12 -2
  39. package/dist/model/OrgInfo.js +3 -3
  40. package/dist/model/QueryApprovalStatement200Response.js +122 -0
  41. package/dist/model/QueryGuardPubkey200Response.js +129 -0
  42. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
  43. package/dist/model/RootPubkey.js +1 -1
  44. package/dist/model/SelfCustodyWallet.js +7 -7
  45. package/dist/model/SubWalletAssetBalance.js +6 -6
  46. package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
  47. package/dist/model/TSSGroups.js +1 -1
  48. package/dist/model/TokenBalance.js +6 -6
  49. package/dist/model/TransactionDepositToAddressDestination.js +16 -0
  50. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
  51. package/dist/model/TransactionDestination.js +6 -0
  52. package/dist/model/TransactionRawTxInfo.js +13 -0
  53. package/dist/model/TransactionSubStatus.js +5 -0
  54. package/dist/model/TransactionUserApprovalDetail.js +3 -3
  55. package/dist/model/TransferDestination.js +6 -0
  56. package/dist/model/TransferParams.js +36 -0
  57. package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
  58. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
  59. package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
  60. package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
  61. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
  62. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
  63. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
  64. package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
  65. package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
  66. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
  67. package/dist/model/Vasp.js +7 -7
  68. package/docs/ActivityExtra.md +5 -5
  69. package/docs/AddressBalance.md +10 -0
  70. package/docs/AddressBooksApi.md +1 -1
  71. package/docs/AddressTransferDestination.md +14 -0
  72. package/docs/ApprovalStatementStatus.md +20 -0
  73. package/docs/AssetBalance.md +1 -1
  74. package/docs/BTCEIP191MessageSignDestination.md +10 -0
  75. package/docs/BabylonStakingActivityDetailExtra.md +1 -1
  76. package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
  77. package/docs/ChangeGuardPubkey200Response.md +9 -0
  78. package/docs/ContractCallParams.md +14 -0
  79. package/docs/CoreStakingActivityDetailExtra.md +3 -3
  80. package/docs/CreateAddressRequest.md +3 -1
  81. package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
  82. package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
  83. package/docs/DeleteGuardPubkey201Response.md +9 -0
  84. package/docs/DevelopersApi.md +3 -3
  85. package/docs/DevelopersWebhooksApi.md +8 -8
  86. package/docs/EthStakeEstimatedFee.md +1 -1
  87. package/docs/EthStakingActivityDetailExtra.md +1 -1
  88. package/docs/GetStakingEstimationFee201Response.md +1 -1
  89. package/docs/GetTransactionLimitation200Response.md +4 -4
  90. package/docs/GuardPubkeyStatus.md +24 -0
  91. package/docs/ListAddressBalancesByToken200Response.md +10 -0
  92. package/docs/ListKeyShareHolders200Response.md +10 -0
  93. package/docs/MessageSignDestination.md +1 -0
  94. package/docs/MessageSignDestinationType.md +6 -2
  95. package/docs/OrgInfo.md +1 -1
  96. package/docs/PrimeBrokerApi.md +318 -0
  97. package/docs/QueryApprovalStatement200Response.md +12 -0
  98. package/docs/QueryGuardPubkey200Response.md +11 -0
  99. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
  100. package/docs/RootPubkey.md +1 -1
  101. package/docs/SelfCustodyWallet.md +3 -3
  102. package/docs/StakingsApi.md +12 -12
  103. package/docs/SubWalletAssetBalance.md +1 -1
  104. package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
  105. package/docs/TSSGroups.md +1 -1
  106. package/docs/TokenBalance.md +1 -1
  107. package/docs/TransactionDepositToAddressDestination.md +1 -0
  108. package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
  109. package/docs/TransactionDestination.md +1 -0
  110. package/docs/TransactionRawTxInfo.md +1 -0
  111. package/docs/TransactionSubStatus.md +2 -0
  112. package/docs/TransactionUserApprovalDetail.md +3 -3
  113. package/docs/TransactionsApi.md +66 -15
  114. package/docs/TransferDestination.md +14 -0
  115. package/docs/TransferParams.md +14 -0
  116. package/docs/TravelRuleApi.md +13 -13
  117. package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
  118. package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
  119. package/docs/TravelRuleDepositLegalEntity.md +3 -3
  120. package/docs/TravelRuleDepositNaturalEntity.md +5 -5
  121. package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
  122. package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
  123. package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
  124. package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
  125. package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
  126. package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
  127. package/docs/Vasp.md +3 -3
  128. package/docs/WalletsApi.md +78 -13
  129. package/docs/WalletsExchangeWalletApi.md +1 -1
  130. package/docs/WalletsMPCWalletsApi.md +141 -27
  131. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  132. package/package.json +1 -1
@@ -15,6 +15,7 @@ var _KeyShareHolder = _interopRequireDefault(require("../model/KeyShareHolder"))
15
15
  var _KeyShareHolderGroup = _interopRequireDefault(require("../model/KeyShareHolderGroup"));
16
16
  var _KeyShareHolderGroupType = _interopRequireDefault(require("../model/KeyShareHolderGroupType"));
17
17
  var _ListKeyShareHolderGroups200Response = _interopRequireDefault(require("../model/ListKeyShareHolderGroups200Response"));
18
+ var _ListKeyShareHolders200Response = _interopRequireDefault(require("../model/ListKeyShareHolders200Response"));
18
19
  var _ListMpcProjects200Response = _interopRequireDefault(require("../model/ListMpcProjects200Response"));
19
20
  var _ListMpcVaults200Response = _interopRequireDefault(require("../model/ListMpcVaults200Response"));
20
21
  var _ListTssRequests200Response = _interopRequireDefault(require("../model/ListTssRequests200Response"));
@@ -61,7 +62,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
61
62
  /**
62
63
  * Cancel TSS request
63
64
  * This operation cancels a TSS request.
64
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
65
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
65
66
  * @param {String} tss_request_id The TSS request ID, which you can retrieve by calling [List TSS requests](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-tss-requests).
66
67
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TSSRequest} and HTTP response
67
68
  */
@@ -87,7 +88,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
87
88
  var queryParams = {};
88
89
  var headerParams = {};
89
90
  var formParams = {};
90
- var authNames = ['OAuth2', 'CoboAuth'];
91
+ var authNames = ['OAuth2'];
91
92
  var contentTypes = [];
92
93
  var accepts = ['application/json'];
93
94
  var returnType = _TSSRequest["default"];
@@ -97,7 +98,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
97
98
  /**
98
99
  * Cancel TSS request
99
100
  * This operation cancels a TSS request.
100
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
101
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
101
102
  * @param {String} tss_request_id The TSS request ID, which you can retrieve by calling [List TSS requests](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-tss-requests).
102
103
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TSSRequest}
103
104
  */
@@ -112,7 +113,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
112
113
  /**
113
114
  * Create key share holder group
114
115
  * 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](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/create-tss-request) operation. Creating a wallet with the [Create wallet](https://www.cobo.com/developers/v2/api-references/wallets/create-wallet) operation is only possible after you've completed the previous actions.</Note>
115
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
116
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
116
117
  * @param {Object} opts Optional parameters
117
118
  * @param {module:model/CreateKeyShareHolderGroupRequest} [CreateKeyShareHolderGroupRequest] The request body to create a key share holder group.
118
119
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/KeyShareHolderGroup} and HTTP response
@@ -135,7 +136,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
135
136
  var queryParams = {};
136
137
  var headerParams = {};
137
138
  var formParams = {};
138
- var authNames = ['OAuth2', 'CoboAuth'];
139
+ var authNames = ['OAuth2'];
139
140
  var contentTypes = ['application/json'];
140
141
  var accepts = ['application/json'];
141
142
  var returnType = _KeyShareHolderGroup["default"];
@@ -145,7 +146,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
145
146
  /**
146
147
  * Create key share holder group
147
148
  * 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](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/create-tss-request) operation. Creating a wallet with the [Create wallet](https://www.cobo.com/developers/v2/api-references/wallets/create-wallet) operation is only possible after you've completed the previous actions.</Note>
148
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
149
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
149
150
  * @param {Object} opts Optional parameters
150
151
  * @param {module:model/CreateKeyShareHolderGroupRequest} opts.CreateKeyShareHolderGroupRequest The request body to create a key share holder group.
151
152
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/KeyShareHolderGroup}
@@ -177,7 +178,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
177
178
  var queryParams = {};
178
179
  var headerParams = {};
179
180
  var formParams = {};
180
- var authNames = ['OAuth2', 'CoboAuth'];
181
+ var authNames = ['OAuth2'];
181
182
  var contentTypes = ['application/json'];
182
183
  var accepts = ['application/json'];
183
184
  var returnType = _MPCProject["default"];
@@ -218,7 +219,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
218
219
  var queryParams = {};
219
220
  var headerParams = {};
220
221
  var formParams = {};
221
- var authNames = ['OAuth2', 'CoboAuth'];
222
+ var authNames = ['OAuth2'];
222
223
  var contentTypes = ['application/json'];
223
224
  var accepts = ['application/json'];
224
225
  var returnType = _MPCVault["default"];
@@ -243,7 +244,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
243
244
  /**
244
245
  * Create TSS request
245
246
  * This operation creates a TSS request under a specified vault. You can use this operation to perform actions such as key generation and recovery.
246
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
247
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
247
248
  * @param {Object} opts Optional parameters
248
249
  * @param {module:model/CreateTssRequestRequest} [CreateTssRequestRequest] The request body to create a TSS request.
249
250
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TSSRequest} and HTTP response
@@ -266,7 +267,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
266
267
  var queryParams = {};
267
268
  var headerParams = {};
268
269
  var formParams = {};
269
- var authNames = ['OAuth2', 'CoboAuth'];
270
+ var authNames = ['OAuth2'];
270
271
  var contentTypes = ['application/json'];
271
272
  var accepts = ['application/json'];
272
273
  var returnType = _TSSRequest["default"];
@@ -276,7 +277,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
276
277
  /**
277
278
  * Create TSS request
278
279
  * This operation creates a TSS request under a specified vault. You can use this operation to perform actions such as key generation and recovery.
279
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
280
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
280
281
  * @param {Object} opts Optional parameters
281
282
  * @param {module:model/CreateTssRequestRequest} opts.CreateTssRequestRequest The request body to create a TSS request.
282
283
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TSSRequest}
@@ -292,7 +293,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
292
293
  /**
293
294
  * Delete key share holder group
294
295
  * This operation deletes a specified key share holder group.
295
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
296
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
296
297
  * @param {String} key_share_holder_group_id The key share holder group ID.
297
298
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteKeyShareHolderGroupById201Response} and HTTP response
298
299
  */
@@ -318,7 +319,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
318
319
  var queryParams = {};
319
320
  var headerParams = {};
320
321
  var formParams = {};
321
- var authNames = ['OAuth2', 'CoboAuth'];
322
+ var authNames = ['OAuth2'];
322
323
  var contentTypes = [];
323
324
  var accepts = ['application/json'];
324
325
  var returnType = _DeleteKeyShareHolderGroupById201Response["default"];
@@ -328,7 +329,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
328
329
  /**
329
330
  * Delete key share holder group
330
331
  * This operation deletes a specified key share holder group.
331
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
332
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
332
333
  * @param {String} key_share_holder_group_id The key share holder group ID.
333
334
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteKeyShareHolderGroupById201Response}
334
335
  */
@@ -340,10 +341,61 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
340
341
  });
341
342
  }
342
343
 
344
+ /**
345
+ * Get key share holder information
346
+ * This operation retrieves detailed information about a specified key share holder.
347
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
348
+ * @param {String} tss_node_id The TSS Node ID.
349
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/KeyShareHolder} and HTTP response
350
+ */
351
+ }, {
352
+ key: "getKeyShareHolderByTssNodeIdWithHttpInfo",
353
+ value: function getKeyShareHolderByTssNodeIdWithHttpInfo(vault_id, tss_node_id) {
354
+ var postBody = null;
355
+ if (postBody && postBody.toJSON) {
356
+ postBody = postBody.toJSON();
357
+ }
358
+ // verify the required parameter 'vault_id' is set
359
+ if (vault_id === undefined || vault_id === null) {
360
+ throw new Error("Missing the required parameter 'vault_id' when calling getKeyShareHolderByTssNodeId");
361
+ }
362
+ // verify the required parameter 'tss_node_id' is set
363
+ if (tss_node_id === undefined || tss_node_id === null) {
364
+ throw new Error("Missing the required parameter 'tss_node_id' when calling getKeyShareHolderByTssNodeId");
365
+ }
366
+ var pathParams = {
367
+ 'vault_id': vault_id,
368
+ 'tss_node_id': tss_node_id
369
+ };
370
+ var queryParams = {};
371
+ var headerParams = {};
372
+ var formParams = {};
373
+ var authNames = ['CoboAuth'];
374
+ var contentTypes = [];
375
+ var accepts = ['application/json'];
376
+ var returnType = _KeyShareHolder["default"];
377
+ return this.apiClient.callApi('/wallets/mpc/vaults/{vault_id}/key_share_holders/{tss_node_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
378
+ }
379
+
380
+ /**
381
+ * Get key share holder information
382
+ * This operation retrieves detailed information about a specified key share holder.
383
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
384
+ * @param {String} tss_node_id The TSS Node ID.
385
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/KeyShareHolder}
386
+ */
387
+ }, {
388
+ key: "getKeyShareHolderByTssNodeId",
389
+ value: function getKeyShareHolderByTssNodeId(vault_id, tss_node_id) {
390
+ return this.getKeyShareHolderByTssNodeIdWithHttpInfo(vault_id, tss_node_id).then(function (response_and_data) {
391
+ return response_and_data.data;
392
+ });
393
+ }
394
+
343
395
  /**
344
396
  * Get key share holder group information
345
397
  * This operation retrieves detailed information about a specified key share holder group.
346
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
398
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
347
399
  * @param {String} key_share_holder_group_id The key share holder group ID.
348
400
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/KeyShareHolderGroup} and HTTP response
349
401
  */
@@ -369,7 +421,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
369
421
  var queryParams = {};
370
422
  var headerParams = {};
371
423
  var formParams = {};
372
- var authNames = ['CoboAuth'];
424
+ var authNames = ['OAuth2'];
373
425
  var contentTypes = [];
374
426
  var accepts = ['application/json'];
375
427
  var returnType = _KeyShareHolderGroup["default"];
@@ -379,7 +431,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
379
431
  /**
380
432
  * Get key share holder group information
381
433
  * This operation retrieves detailed information about a specified key share holder group.
382
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
434
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
383
435
  * @param {String} key_share_holder_group_id The key share holder group ID.
384
436
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/KeyShareHolderGroup}
385
437
  */
@@ -414,7 +466,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
414
466
  var queryParams = {};
415
467
  var headerParams = {};
416
468
  var formParams = {};
417
- var authNames = ['CoboAuth'];
469
+ var authNames = ['OAuth2'];
418
470
  var contentTypes = [];
419
471
  var accepts = ['application/json'];
420
472
  var returnType = _MPCProject["default"];
@@ -438,7 +490,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
438
490
  /**
439
491
  * Get vault information
440
492
  * 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](https://www.cobo.com/developers/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
441
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
493
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
442
494
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MPCVault} and HTTP response
443
495
  */
444
496
  }, {
@@ -458,7 +510,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
458
510
  var queryParams = {};
459
511
  var headerParams = {};
460
512
  var formParams = {};
461
- var authNames = ['CoboAuth'];
513
+ var authNames = ['OAuth2'];
462
514
  var contentTypes = [];
463
515
  var accepts = ['application/json'];
464
516
  var returnType = _MPCVault["default"];
@@ -468,7 +520,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
468
520
  /**
469
521
  * Get vault information
470
522
  * 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](https://www.cobo.com/developers/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
471
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
523
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
472
524
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MPCVault}
473
525
  */
474
526
  }, {
@@ -482,7 +534,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
482
534
  /**
483
535
  * Get TSS request
484
536
  * This operation retrieves detailed information about a TSS request.
485
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
537
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
486
538
  * @param {String} tss_request_id The TSS request ID, which you can retrieve by calling [List TSS requests](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-tss-requests).
487
539
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TSSRequest} and HTTP response
488
540
  */
@@ -508,7 +560,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
508
560
  var queryParams = {};
509
561
  var headerParams = {};
510
562
  var formParams = {};
511
- var authNames = ['OAuth2', 'CoboAuth'];
563
+ var authNames = ['OAuth2'];
512
564
  var contentTypes = [];
513
565
  var accepts = ['application/json'];
514
566
  var returnType = _TSSRequest["default"];
@@ -518,7 +570,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
518
570
  /**
519
571
  * Get TSS request
520
572
  * This operation retrieves detailed information about a TSS request.
521
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
573
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
522
574
  * @param {String} tss_request_id The TSS request ID, which you can retrieve by calling [List TSS requests](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-tss-requests).
523
575
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TSSRequest}
524
576
  */
@@ -569,7 +621,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
569
621
  /**
570
622
  * List all key share holder groups
571
623
  * This operation retrieves all key share holder groups under a specified vault. You can filter the result by group type.
572
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
624
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
573
625
  * @param {Object} opts Optional parameters
574
626
  * @param {module:model/KeyShareHolderGroupType} [key_share_holder_group_type] The key share holder group type. Possible values include: - `MainGroup`: The [Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#main-group). - `SigningGroup`: The [Signing Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#signing-group). - `RecoveryGroup`: The [Recovery Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#recovery-group). **Note**: If this parameter is left empty, all key share holder group types will be retrieved.
575
627
  * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
@@ -600,7 +652,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
600
652
  };
601
653
  var headerParams = {};
602
654
  var formParams = {};
603
- var authNames = ['CoboAuth'];
655
+ var authNames = ['OAuth2'];
604
656
  var contentTypes = [];
605
657
  var accepts = ['application/json'];
606
658
  var returnType = _ListKeyShareHolderGroups200Response["default"];
@@ -610,7 +662,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
610
662
  /**
611
663
  * List all key share holder groups
612
664
  * This operation retrieves all key share holder groups under a specified vault. You can filter the result by group type.
613
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
665
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
614
666
  * @param {Object} opts Optional parameters
615
667
  * @param {module:model/KeyShareHolderGroupType} opts.key_share_holder_group_type The key share holder group type. Possible values include: - `MainGroup`: The [Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#main-group). - `SigningGroup`: The [Signing Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#signing-group). - `RecoveryGroup`: The [Recovery Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#recovery-group). **Note**: If this parameter is left empty, all key share holder group types will be retrieved.
616
668
  * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
@@ -626,6 +678,66 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
626
678
  });
627
679
  }
628
680
 
681
+ /**
682
+ * List all key share holders
683
+ * This operation retrieves a list of all key share holders under a specified vault. You can filter the result by key share holder group ID.
684
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
685
+ * @param {Object} opts Optional parameters
686
+ * @param {String} [key_share_holder_group_ids] A list of key share holder group IDs, separated by comma. You can retrieve the IDs of all the key share holder groups by calling [List all key share holder groups](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-key-share-holder-groups).
687
+ * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
688
+ * @param {String} [before] This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - 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 it to `infinity`, the last page of data is returned.
689
+ * @param {String} [after] This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - 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.
690
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListKeyShareHolders200Response} and HTTP response
691
+ */
692
+ }, {
693
+ key: "listKeyShareHoldersWithHttpInfo",
694
+ value: function listKeyShareHoldersWithHttpInfo(vault_id, opts) {
695
+ opts = opts || {};
696
+ var postBody = null;
697
+ if (postBody && postBody.toJSON) {
698
+ postBody = postBody.toJSON();
699
+ }
700
+ // verify the required parameter 'vault_id' is set
701
+ if (vault_id === undefined || vault_id === null) {
702
+ throw new Error("Missing the required parameter 'vault_id' when calling listKeyShareHolders");
703
+ }
704
+ var pathParams = {
705
+ 'vault_id': vault_id
706
+ };
707
+ var queryParams = {
708
+ 'key_share_holder_group_ids': opts['key_share_holder_group_ids'],
709
+ 'limit': opts['limit'],
710
+ 'before': opts['before'],
711
+ 'after': opts['after']
712
+ };
713
+ var headerParams = {};
714
+ var formParams = {};
715
+ var authNames = ['CoboAuth'];
716
+ var contentTypes = [];
717
+ var accepts = ['application/json'];
718
+ var returnType = _ListKeyShareHolders200Response["default"];
719
+ return this.apiClient.callApi('/wallets/mpc/vaults/{vault_id}/key_share_holders', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
720
+ }
721
+
722
+ /**
723
+ * List all key share holders
724
+ * This operation retrieves a list of all key share holders under a specified vault. You can filter the result by key share holder group ID.
725
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
726
+ * @param {Object} opts Optional parameters
727
+ * @param {String} opts.key_share_holder_group_ids A list of key share holder group IDs, separated by comma. You can retrieve the IDs of all the key share holder groups by calling [List all key share holder groups](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-key-share-holder-groups).
728
+ * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
729
+ * @param {String} opts.before This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - 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 it to `infinity`, the last page of data is returned.
730
+ * @param {String} opts.after This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - 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.
731
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListKeyShareHolders200Response}
732
+ */
733
+ }, {
734
+ key: "listKeyShareHolders",
735
+ value: function listKeyShareHolders(vault_id, opts) {
736
+ return this.listKeyShareHoldersWithHttpInfo(vault_id, opts).then(function (response_and_data) {
737
+ return response_and_data.data;
738
+ });
739
+ }
740
+
629
741
  /**
630
742
  * List all projects
631
743
  * This operation retrieves a list of all projects. <Note>This operation applies to MPC Wallets (User-Controlled Wallets) only.</Note>
@@ -651,7 +763,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
651
763
  };
652
764
  var headerParams = {};
653
765
  var formParams = {};
654
- var authNames = ['CoboAuth'];
766
+ var authNames = ['OAuth2'];
655
767
  var contentTypes = [];
656
768
  var accepts = ['application/json'];
657
769
  var returnType = _ListMpcProjects200Response["default"];
@@ -708,7 +820,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
708
820
  };
709
821
  var headerParams = {};
710
822
  var formParams = {};
711
- var authNames = ['CoboAuth'];
823
+ var authNames = ['OAuth2'];
712
824
  var contentTypes = [];
713
825
  var accepts = ['application/json'];
714
826
  var returnType = _ListMpcVaults200Response["default"];
@@ -737,7 +849,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
737
849
  /**
738
850
  * List TSS requests
739
851
  * This operation retrieves a list of TSS requests and their details.
740
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
852
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
741
853
  * @param {String} key_share_holder_group_id The key share holder group ID of the TSS request, which you can retrieve by calling [List all key share holder groups](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-key-share-holder-groups).
742
854
  * @param {Object} opts Optional parameters
743
855
  * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
@@ -772,7 +884,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
772
884
  };
773
885
  var headerParams = {};
774
886
  var formParams = {};
775
- var authNames = ['CoboAuth'];
887
+ var authNames = ['OAuth2'];
776
888
  var contentTypes = [];
777
889
  var accepts = ['application/json'];
778
890
  var returnType = _ListTssRequests200Response["default"];
@@ -782,7 +894,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
782
894
  /**
783
895
  * List TSS requests
784
896
  * This operation retrieves a list of TSS requests and their details.
785
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
897
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
786
898
  * @param {String} key_share_holder_group_id The key share holder group ID of the TSS request, which you can retrieve by calling [List all key share holder groups](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-key-share-holder-groups).
787
899
  * @param {Object} opts Optional parameters
788
900
  * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
@@ -801,7 +913,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
801
913
  /**
802
914
  * Update key share holder group
803
915
  * This operation updates a specified active [Signing Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups). For example, you can use this operation to upgrade a Signing Group to the [Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups).
804
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
916
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
805
917
  * @param {String} key_share_holder_group_id The key share holder group ID.
806
918
  * @param {Object} opts Optional parameters
807
919
  * @param {module:model/UpdateKeyShareHolderGroupByIdRequest} [UpdateKeyShareHolderGroupByIdRequest]
@@ -830,7 +942,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
830
942
  var queryParams = {};
831
943
  var headerParams = {};
832
944
  var formParams = {};
833
- var authNames = ['OAuth2', 'CoboAuth'];
945
+ var authNames = ['OAuth2'];
834
946
  var contentTypes = ['application/json'];
835
947
  var accepts = ['application/json'];
836
948
  var returnType = _KeyShareHolderGroup["default"];
@@ -840,7 +952,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
840
952
  /**
841
953
  * Update key share holder group
842
954
  * This operation updates a specified active [Signing Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups). For example, you can use this operation to upgrade a Signing Group to the [Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups).
843
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
955
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
844
956
  * @param {String} key_share_holder_group_id The key share holder group ID.
845
957
  * @param {Object} opts Optional parameters
846
958
  * @param {module:model/UpdateKeyShareHolderGroupByIdRequest} opts.UpdateKeyShareHolderGroupByIdRequest
@@ -880,7 +992,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
880
992
  var queryParams = {};
881
993
  var headerParams = {};
882
994
  var formParams = {};
883
- var authNames = ['OAuth2', 'CoboAuth'];
995
+ var authNames = ['OAuth2'];
884
996
  var contentTypes = ['application/json'];
885
997
  var accepts = ['application/json'];
886
998
  var returnType = _MPCProject["default"];
@@ -906,7 +1018,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
906
1018
  /**
907
1019
  * Update vault name
908
1020
  * 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](https://www.cobo.com/developers/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
909
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
1021
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
910
1022
  * @param {Object} opts Optional parameters
911
1023
  * @param {module:model/UpdateMpcVaultByIdRequest} [UpdateMpcVaultByIdRequest] The request body to update a vault's name.
912
1024
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MPCVault} and HTTP response
@@ -929,7 +1041,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
929
1041
  var queryParams = {};
930
1042
  var headerParams = {};
931
1043
  var formParams = {};
932
- var authNames = ['OAuth2', 'CoboAuth'];
1044
+ var authNames = ['OAuth2'];
933
1045
  var contentTypes = ['application/json'];
934
1046
  var accepts = ['application/json'];
935
1047
  var returnType = _MPCVault["default"];
@@ -939,7 +1051,7 @@ var WalletsMPCWalletsApi = exports["default"] = /*#__PURE__*/function () {
939
1051
  /**
940
1052
  * Update vault name
941
1053
  * 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](https://www.cobo.com/developers/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
942
- * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallet/list-all-mpc-vaults).
1054
+ * @param {String} vault_id The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults).
943
1055
  * @param {Object} opts Optional parameters
944
1056
  * @param {module:model/UpdateMpcVaultByIdRequest} opts.UpdateMpcVaultByIdRequest The request body to update a vault's name.
945
1057
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MPCVault}
@@ -67,7 +67,7 @@ var WalletsSmartContractWalletsApi = exports["default"] = /*#__PURE__*/function
67
67
  var queryParams = {};
68
68
  var headerParams = {};
69
69
  var formParams = {};
70
- var authNames = ['CoboAuth'];
70
+ var authNames = ['OAuth2'];
71
71
  var contentTypes = ['application/json'];
72
72
  var accepts = ['application/json'];
73
73
  var returnType = [_CoboSafeDelegate["default"]];