@cobo/cobo-waas2 1.10.0 → 1.11.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 (76) hide show
  1. package/README.md +8 -1
  2. package/dist/ApiClient.js +1 -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/StakingsApi.js +14 -14
  7. package/dist/api/SwapsApi.js +2 -2
  8. package/dist/api/TransactionsApi.js +14 -14
  9. package/dist/api/TravelRuleApi.js +4 -4
  10. package/dist/api/WalletsApi.js +19 -19
  11. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  12. package/dist/api/WalletsMPCWalletsApi.js +19 -19
  13. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  14. package/dist/index.js +49 -0
  15. package/dist/model/ChainInfo.js +2 -2
  16. package/dist/model/ContractCallDestination.js +42 -8
  17. package/dist/model/ContractCallDestinationType.js +5 -0
  18. package/dist/model/CreateBabylonAirdropRegistration201Response.js +1 -1
  19. package/dist/model/CreateBabylonStakingRegistration201Response.js +1 -1
  20. package/dist/model/EstimatedEvmEip1559FeeSlow.js +23 -0
  21. package/dist/model/EstimatedEvmLegacyFeeSlow.js +23 -0
  22. package/dist/model/ExtendedTokenInfo.js +3 -3
  23. package/dist/model/FeeReserved.js +87 -0
  24. package/dist/model/MaxFeeAmount.js +1 -1
  25. package/dist/model/SolContractCallAccount.js +133 -0
  26. package/dist/model/SolContractCallDestination.js +139 -0
  27. package/dist/model/SolContractCallInstruction.js +158 -0
  28. package/dist/model/TokenInfo.js +2 -2
  29. package/dist/model/TransactionDestination.js +42 -8
  30. package/dist/model/TransactionDestinationType.js +5 -0
  31. package/dist/model/TransactionFee.js +1 -1
  32. package/dist/model/TransactionFixedFee.js +2 -2
  33. package/dist/model/TransactionRequestFee.js +1 -1
  34. package/dist/model/TransactionRequestFixedFee.js +2 -2
  35. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  36. package/dist/model/TransactionSolContractAccount.js +106 -0
  37. package/dist/model/TransactionSolContractDestination.js +137 -0
  38. package/dist/model/TransactionSolContractInstruction.js +134 -0
  39. package/dist/model/TransactionTokeApproval.js +3 -3
  40. package/docs/AddressBooksApi.md +1 -1
  41. package/docs/ChainInfo.md +1 -1
  42. package/docs/ContractCallDestination.md +1 -0
  43. package/docs/ContractCallDestinationType.md +2 -0
  44. package/docs/CreateBabylonAirdropRegistration201Response.md +1 -1
  45. package/docs/CreateBabylonStakingRegistration201Response.md +1 -1
  46. package/docs/DevelopersApi.md +3 -3
  47. package/docs/DevelopersWebhooksApi.md +8 -8
  48. package/docs/EstimatedEvmEip1559FeeSlow.md +1 -0
  49. package/docs/EstimatedEvmLegacyFeeSlow.md +1 -0
  50. package/docs/ExtendedTokenInfo.md +1 -1
  51. package/docs/FeeReserved.md +9 -0
  52. package/docs/MaxFeeAmount.md +1 -1
  53. package/docs/SolContractCallAccount.md +11 -0
  54. package/docs/SolContractCallDestination.md +10 -0
  55. package/docs/SolContractCallInstruction.md +11 -0
  56. package/docs/StakingsApi.md +13 -13
  57. package/docs/SwapsApi.md +2 -2
  58. package/docs/TokenInfo.md +1 -1
  59. package/docs/TransactionDestination.md +1 -0
  60. package/docs/TransactionDestinationType.md +2 -0
  61. package/docs/TransactionFee.md +1 -1
  62. package/docs/TransactionFixedFee.md +1 -1
  63. package/docs/TransactionRequestFee.md +1 -1
  64. package/docs/TransactionRequestFixedFee.md +1 -1
  65. package/docs/TransactionRequestUtxoFee.md +1 -1
  66. package/docs/TransactionSolContractAccount.md +11 -0
  67. package/docs/TransactionSolContractDestination.md +10 -0
  68. package/docs/TransactionSolContractInstruction.md +11 -0
  69. package/docs/TransactionTokeApproval.md +1 -1
  70. package/docs/TransactionsApi.md +14 -14
  71. package/docs/TravelRuleApi.md +4 -4
  72. package/docs/WalletsApi.md +16 -16
  73. package/docs/WalletsExchangeWalletApi.md +1 -1
  74. package/docs/WalletsMPCWalletsApi.md +19 -19
  75. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  76. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
15
15
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
16
16
 
17
17
  - API version: v2
18
- - Package version: 1.10.0
18
+ - Package version: 1.11.0
19
19
  - Generator version: 7.6.0
20
20
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
21
21
  For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
@@ -328,6 +328,7 @@ Class | Method | HTTP request | Description
328
328
  - [CoboWaas2.FeeAmount](docs/FeeAmount.md)
329
329
  - [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
330
330
  - [CoboWaas2.FeeRate](docs/FeeRate.md)
331
+ - [CoboWaas2.FeeReserved](docs/FeeReserved.md)
331
332
  - [CoboWaas2.FeeType](docs/FeeType.md)
332
333
  - [CoboWaas2.FixedFeeRate](docs/FixedFeeRate.md)
333
334
  - [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
@@ -426,6 +427,9 @@ Class | Method | HTTP request | Description
426
427
  - [CoboWaas2.SmartContractWalletInfo](docs/SmartContractWalletInfo.md)
427
428
  - [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
428
429
  - [CoboWaas2.SmartContractWalletType](docs/SmartContractWalletType.md)
430
+ - [CoboWaas2.SolContractCallAccount](docs/SolContractCallAccount.md)
431
+ - [CoboWaas2.SolContractCallDestination](docs/SolContractCallDestination.md)
432
+ - [CoboWaas2.SolContractCallInstruction](docs/SolContractCallInstruction.md)
429
433
  - [CoboWaas2.SourceGroup](docs/SourceGroup.md)
430
434
  - [CoboWaas2.StakeSourceType](docs/StakeSourceType.md)
431
435
  - [CoboWaas2.StakingPoolId](docs/StakingPoolId.md)
@@ -493,6 +497,9 @@ Class | Method | HTTP request | Description
493
497
  - [CoboWaas2.TransactionSignatureResult](docs/TransactionSignatureResult.md)
494
498
  - [CoboWaas2.TransactionSigner](docs/TransactionSigner.md)
495
499
  - [CoboWaas2.TransactionSmartContractSafeWalletSource](docs/TransactionSmartContractSafeWalletSource.md)
500
+ - [CoboWaas2.TransactionSolContractAccount](docs/TransactionSolContractAccount.md)
501
+ - [CoboWaas2.TransactionSolContractDestination](docs/TransactionSolContractDestination.md)
502
+ - [CoboWaas2.TransactionSolContractInstruction](docs/TransactionSolContractInstruction.md)
496
503
  - [CoboWaas2.TransactionSource](docs/TransactionSource.md)
497
504
  - [CoboWaas2.TransactionSourceType](docs/TransactionSourceType.md)
498
505
  - [CoboWaas2.TransactionStatus](docs/TransactionStatus.md)
package/dist/ApiClient.js CHANGED
@@ -102,7 +102,7 @@ var ApiClient = /*#__PURE__*/function () {
102
102
  * @default {}
103
103
  */
104
104
  this.defaultHeaders = {
105
- 'User-Agent': 'cobo-waas2-js-sdk/1.10.0'
105
+ 'User-Agent': 'cobo-waas2-js-sdk/1.11.0'
106
106
  };
107
107
 
108
108
  /**
@@ -75,7 +75,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
75
75
  };
76
76
  var headerParams = {};
77
77
  var formParams = {};
78
- var authNames = ['OAuth2'];
78
+ var authNames = ['OAuth2', 'CoboAuth'];
79
79
  var contentTypes = [];
80
80
  var accepts = ['application/json'];
81
81
  var returnType = _ListAddressBooks200Response["default"];
@@ -58,7 +58,7 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
58
58
  var queryParams = {};
59
59
  var headerParams = {};
60
60
  var formParams = {};
61
- var authNames = ['OAuth2'];
61
+ var authNames = ['OAuth2', 'CoboAuth'];
62
62
  var contentTypes = [];
63
63
  var accepts = ['application/json'];
64
64
  var returnType = _GetApiKeyInfo200Response["default"];
@@ -113,7 +113,7 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
113
113
  };
114
114
  var headerParams = {};
115
115
  var formParams = {};
116
- var authNames = ['OAuth2'];
116
+ var authNames = ['OAuth2', 'CoboAuth'];
117
117
  var contentTypes = [];
118
118
  var accepts = ['application/json'];
119
119
  var returnType = _ListCallbackMessages200Response["default"];
@@ -165,7 +165,7 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
165
165
  var queryParams = {};
166
166
  var headerParams = {};
167
167
  var formParams = {};
168
- var authNames = ['OAuth2'];
168
+ var authNames = ['OAuth2', 'CoboAuth'];
169
169
  var contentTypes = [];
170
170
  var accepts = ['application/json'];
171
171
  var returnType = _RetryCallbackMessage201Response["default"];
@@ -72,7 +72,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
72
72
  var queryParams = {};
73
73
  var headerParams = {};
74
74
  var formParams = {};
75
- var authNames = ['OAuth2'];
75
+ var authNames = ['OAuth2', 'CoboAuth'];
76
76
  var contentTypes = ['application/json'];
77
77
  var accepts = ['application/json'];
78
78
  var returnType = _WebhookEndpoint["default"];
@@ -117,7 +117,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
117
117
  var queryParams = {};
118
118
  var headerParams = {};
119
119
  var formParams = {};
120
- var authNames = ['OAuth2'];
120
+ var authNames = ['OAuth2', 'CoboAuth'];
121
121
  var contentTypes = [];
122
122
  var accepts = ['application/json'];
123
123
  var returnType = _WebhookEndpoint["default"];
@@ -167,7 +167,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
167
167
  var queryParams = {};
168
168
  var headerParams = {};
169
169
  var formParams = {};
170
- var authNames = ['OAuth2'];
170
+ var authNames = ['OAuth2', 'CoboAuth'];
171
171
  var contentTypes = [];
172
172
  var accepts = ['application/json'];
173
173
  var returnType = _WebhookEvent["default"];
@@ -218,7 +218,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
218
218
  };
219
219
  var headerParams = {};
220
220
  var formParams = {};
221
- var authNames = ['OAuth2'];
221
+ var authNames = ['OAuth2', 'CoboAuth'];
222
222
  var contentTypes = [];
223
223
  var accepts = ['application/json'];
224
224
  var returnType = _ListWebhookEndpoints200Response["default"];
@@ -318,7 +318,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
318
318
  };
319
319
  var headerParams = {};
320
320
  var formParams = {};
321
- var authNames = ['OAuth2'];
321
+ var authNames = ['OAuth2', 'CoboAuth'];
322
322
  var contentTypes = [];
323
323
  var accepts = ['application/json'];
324
324
  var returnType = _ListWebhookEventLogs200Response["default"];
@@ -380,7 +380,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
380
380
  };
381
381
  var headerParams = {};
382
382
  var formParams = {};
383
- var authNames = ['OAuth2'];
383
+ var authNames = ['OAuth2', 'CoboAuth'];
384
384
  var contentTypes = [];
385
385
  var accepts = ['application/json'];
386
386
  var returnType = _ListWebhookEvents200Response["default"];
@@ -436,7 +436,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
436
436
  var queryParams = {};
437
437
  var headerParams = {};
438
438
  var formParams = {};
439
- var authNames = ['OAuth2'];
439
+ var authNames = ['OAuth2', 'CoboAuth'];
440
440
  var contentTypes = [];
441
441
  var accepts = ['application/json'];
442
442
  var returnType = _RetryWebhookEventById201Response["default"];
@@ -525,7 +525,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
525
525
  var queryParams = {};
526
526
  var headerParams = {};
527
527
  var formParams = {};
528
- var authNames = ['OAuth2'];
528
+ var authNames = ['OAuth2', 'CoboAuth'];
529
529
  var contentTypes = ['application/json'];
530
530
  var accepts = ['application/json'];
531
531
  var returnType = _WebhookEndpoint["default"];
@@ -108,7 +108,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
108
108
 
109
109
  /**
110
110
  * Register for Babylon Phase-2
111
- * This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-eligible-staking-positions-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
111
+ * This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions-eligible-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
112
112
  * @param {Object} opts Optional parameters
113
113
  * @param {module:model/CreateBabylonStakingRegistrationRequest} [CreateBabylonStakingRegistrationRequest] The request body to transit Babylon BTC staking to phase 2
114
114
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateBabylonStakingRegistration201Response} and HTTP response
@@ -134,7 +134,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
134
134
 
135
135
  /**
136
136
  * Register for Babylon Phase-2
137
- * This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-eligible-staking-positions-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
137
+ * This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions-eligible-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
138
138
  * @param {Object} opts Optional parameters
139
139
  * @param {module:model/CreateBabylonStakingRegistrationRequest} opts.CreateBabylonStakingRegistrationRequest The request body to transit Babylon BTC staking to phase 2
140
140
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateBabylonStakingRegistration201Response}
@@ -166,7 +166,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
166
166
  var queryParams = {};
167
167
  var headerParams = {};
168
168
  var formParams = {};
169
- var authNames = ['OAuth2'];
169
+ var authNames = ['OAuth2', 'CoboAuth'];
170
170
  var contentTypes = ['application/json'];
171
171
  var accepts = ['application/json'];
172
172
  var returnType = _CreateStakeActivity201Response["default"];
@@ -207,7 +207,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
207
207
  var queryParams = {};
208
208
  var headerParams = {};
209
209
  var formParams = {};
210
- var authNames = ['OAuth2'];
210
+ var authNames = ['OAuth2', 'CoboAuth'];
211
211
  var contentTypes = ['application/json'];
212
212
  var accepts = ['application/json'];
213
213
  var returnType = _CreateStakeActivity201Response["default"];
@@ -248,7 +248,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
248
248
  var queryParams = {};
249
249
  var headerParams = {};
250
250
  var formParams = {};
251
- var authNames = ['OAuth2'];
251
+ var authNames = ['OAuth2', 'CoboAuth'];
252
252
  var contentTypes = ['application/json'];
253
253
  var accepts = ['application/json'];
254
254
  var returnType = _CreateStakeActivity201Response["default"];
@@ -289,7 +289,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
289
289
  var queryParams = {};
290
290
  var headerParams = {};
291
291
  var formParams = {};
292
- var authNames = ['OAuth2'];
292
+ var authNames = ['OAuth2', 'CoboAuth'];
293
293
  var contentTypes = ['application/json'];
294
294
  var accepts = ['application/json'];
295
295
  var returnType = _CreateStakeActivity201Response["default"];
@@ -422,7 +422,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
422
422
  var queryParams = {};
423
423
  var headerParams = {};
424
424
  var formParams = {};
425
- var authNames = ['OAuth2'];
425
+ var authNames = ['OAuth2', 'CoboAuth'];
426
426
  var contentTypes = [];
427
427
  var accepts = ['application/json'];
428
428
  var returnType = _Activity["default"];
@@ -466,7 +466,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
466
466
  var queryParams = {};
467
467
  var headerParams = {};
468
468
  var formParams = {};
469
- var authNames = ['OAuth2'];
469
+ var authNames = ['OAuth2', 'CoboAuth'];
470
470
  var contentTypes = [];
471
471
  var accepts = ['application/json'];
472
472
  var returnType = _Stakings["default"];
@@ -506,7 +506,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
506
506
  var queryParams = {};
507
507
  var headerParams = {};
508
508
  var formParams = {};
509
- var authNames = ['OAuth2'];
509
+ var authNames = ['OAuth2', 'CoboAuth'];
510
510
  var contentTypes = ['application/json'];
511
511
  var accepts = ['application/json'];
512
512
  var returnType = _GetStakingEstimationFee201Response["default"];
@@ -547,7 +547,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
547
547
  var queryParams = {};
548
548
  var headerParams = {};
549
549
  var formParams = {};
550
- var authNames = ['OAuth2'];
550
+ var authNames = ['OAuth2', 'CoboAuth'];
551
551
  var contentTypes = ['application/json'];
552
552
  var accepts = ['application/json'];
553
553
  var returnType = _EthStakeEstimatedFee["default"];
@@ -592,7 +592,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
592
592
  var queryParams = {};
593
593
  var headerParams = {};
594
594
  var formParams = {};
595
- var authNames = ['OAuth2'];
595
+ var authNames = ['OAuth2', 'CoboAuth'];
596
596
  var contentTypes = [];
597
597
  var accepts = ['application/json'];
598
598
  var returnType = _PoolDetails["default"];
@@ -868,7 +868,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
868
868
  };
869
869
  var headerParams = {};
870
870
  var formParams = {};
871
- var authNames = ['OAuth2'];
871
+ var authNames = ['OAuth2', 'CoboAuth'];
872
872
  var contentTypes = [];
873
873
  var accepts = ['application/json'];
874
874
  var returnType = _ListStakingActivities200Response["default"];
@@ -929,7 +929,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
929
929
  };
930
930
  var headerParams = {};
931
931
  var formParams = {};
932
- var authNames = ['OAuth2'];
932
+ var authNames = ['OAuth2', 'CoboAuth'];
933
933
  var contentTypes = [];
934
934
  var accepts = ['application/json'];
935
935
  var returnType = _ListStakingPools200Response["default"];
@@ -988,7 +988,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
988
988
  };
989
989
  var headerParams = {};
990
990
  var formParams = {};
991
- var authNames = ['OAuth2'];
991
+ var authNames = ['OAuth2', 'CoboAuth'];
992
992
  var contentTypes = [];
993
993
  var accepts = ['application/json'];
994
994
  var returnType = _ListStakings200Response["default"];
@@ -67,7 +67,7 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
67
67
  var queryParams = {};
68
68
  var headerParams = {};
69
69
  var formParams = {};
70
- var authNames = ['OAuth2'];
70
+ var authNames = ['OAuth2', 'CoboAuth'];
71
71
  var contentTypes = ['application/json'];
72
72
  var accepts = ['application/json'];
73
73
  var returnType = _SwapActivity["default"];
@@ -109,7 +109,7 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
109
109
  var queryParams = {};
110
110
  var headerParams = {};
111
111
  var formParams = {};
112
- var authNames = ['OAuth2'];
112
+ var authNames = ['OAuth2', 'CoboAuth'];
113
113
  var contentTypes = ['application/json'];
114
114
  var accepts = ['application/json'];
115
115
  var returnType = _CreateSwapQuote201Response["default"];
@@ -72,7 +72,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
72
72
  var queryParams = {};
73
73
  var headerParams = {};
74
74
  var formParams = {};
75
- var authNames = ['OAuth2'];
75
+ var authNames = ['OAuth2', 'CoboAuth'];
76
76
  var contentTypes = ['application/json'];
77
77
  var accepts = ['application/json'];
78
78
  var returnType = [_BroadcastSignedTransactions201ResponseInner["default"]];
@@ -117,7 +117,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
117
117
  var queryParams = {};
118
118
  var headerParams = {};
119
119
  var formParams = {};
120
- var authNames = ['OAuth2'];
120
+ var authNames = ['OAuth2', 'CoboAuth'];
121
121
  var contentTypes = [];
122
122
  var accepts = ['application/json'];
123
123
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -173,7 +173,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
173
173
  };
174
174
  var headerParams = {};
175
175
  var formParams = {};
176
- var authNames = ['OAuth2'];
176
+ var authNames = ['OAuth2', 'CoboAuth'];
177
177
  var contentTypes = [];
178
178
  var accepts = ['application/json'];
179
179
  var returnType = [_CheckLoopTransfers200ResponseInner["default"]];
@@ -215,7 +215,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
215
215
  var queryParams = {};
216
216
  var headerParams = {};
217
217
  var formParams = {};
218
- var authNames = ['OAuth2'];
218
+ var authNames = ['OAuth2', 'CoboAuth'];
219
219
  var contentTypes = ['application/json'];
220
220
  var accepts = ['application/json'];
221
221
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -256,7 +256,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
256
256
  var queryParams = {};
257
257
  var headerParams = {};
258
258
  var formParams = {};
259
- var authNames = ['OAuth2'];
259
+ var authNames = ['OAuth2', 'CoboAuth'];
260
260
  var contentTypes = ['application/json'];
261
261
  var accepts = ['application/json'];
262
262
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -297,7 +297,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
297
297
  var queryParams = {};
298
298
  var headerParams = {};
299
299
  var formParams = {};
300
- var authNames = ['OAuth2'];
300
+ var authNames = ['OAuth2', 'CoboAuth'];
301
301
  var contentTypes = ['application/json'];
302
302
  var accepts = ['application/json'];
303
303
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -345,7 +345,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
345
345
  var queryParams = {};
346
346
  var headerParams = {};
347
347
  var formParams = {};
348
- var authNames = ['OAuth2'];
348
+ var authNames = ['OAuth2', 'CoboAuth'];
349
349
  var contentTypes = ['application/json'];
350
350
  var accepts = ['application/json'];
351
351
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -387,7 +387,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
387
387
  var queryParams = {};
388
388
  var headerParams = {};
389
389
  var formParams = {};
390
- var authNames = ['OAuth2'];
390
+ var authNames = ['OAuth2', 'CoboAuth'];
391
391
  var contentTypes = ['application/json'];
392
392
  var accepts = ['application/json'];
393
393
  var returnType = _EstimatedFee["default"];
@@ -432,7 +432,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
432
432
  var queryParams = {};
433
433
  var headerParams = {};
434
434
  var formParams = {};
435
- var authNames = ['CoboAuth'];
435
+ var authNames = ['OAuth2', 'CoboAuth'];
436
436
  var contentTypes = [];
437
437
  var accepts = ['application/json'];
438
438
  var returnType = _TransactionApprovalDetail["default"];
@@ -476,7 +476,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
476
476
  var queryParams = {};
477
477
  var headerParams = {};
478
478
  var formParams = {};
479
- var authNames = ['OAuth2'];
479
+ var authNames = ['OAuth2', 'CoboAuth'];
480
480
  var contentTypes = [];
481
481
  var accepts = ['application/json'];
482
482
  var returnType = _TransactionDetail["default"];
@@ -550,7 +550,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
550
550
  };
551
551
  var headerParams = {};
552
552
  var formParams = {};
553
- var authNames = ['OAuth2'];
553
+ var authNames = ['OAuth2', 'CoboAuth'];
554
554
  var contentTypes = [];
555
555
  var accepts = ['application/json'];
556
556
  var returnType = _ListTransactions200Response["default"];
@@ -614,7 +614,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
614
614
  var queryParams = {};
615
615
  var headerParams = {};
616
616
  var formParams = {};
617
- var authNames = ['OAuth2'];
617
+ var authNames = ['OAuth2', 'CoboAuth'];
618
618
  var contentTypes = ['application/json'];
619
619
  var accepts = ['application/json'];
620
620
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -660,7 +660,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
660
660
  var queryParams = {};
661
661
  var headerParams = {};
662
662
  var formParams = {};
663
- var authNames = ['CoboAuth'];
663
+ var authNames = ['OAuth2', 'CoboAuth'];
664
664
  var contentTypes = [];
665
665
  var accepts = ['application/json'];
666
666
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -707,7 +707,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
707
707
  var queryParams = {};
708
708
  var headerParams = {};
709
709
  var formParams = {};
710
- var authNames = ['OAuth2'];
710
+ var authNames = ['OAuth2', 'CoboAuth'];
711
711
  var contentTypes = ['application/json'];
712
712
  var accepts = ['application/json'];
713
713
  var returnType = _CreateTransferTransaction201Response["default"];
@@ -73,7 +73,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
73
73
  };
74
74
  var headerParams = {};
75
75
  var formParams = {};
76
- var authNames = ['OAuth2'];
76
+ var authNames = ['OAuth2', 'CoboAuth'];
77
77
  var contentTypes = [];
78
78
  var accepts = ['application/json'];
79
79
  var returnType = _GetTransactionLimitation200Response["default"];
@@ -111,7 +111,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
111
111
  var queryParams = {};
112
112
  var headerParams = {};
113
113
  var formParams = {};
114
- var authNames = ['OAuth2'];
114
+ var authNames = ['OAuth2', 'CoboAuth'];
115
115
  var contentTypes = [];
116
116
  var accepts = ['application/json'];
117
117
  var returnType = [_ListSupportedCountries200ResponseInner["default"]];
@@ -150,7 +150,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
150
150
  var queryParams = {};
151
151
  var headerParams = {};
152
152
  var formParams = {};
153
- var authNames = ['OAuth2'];
153
+ var authNames = ['OAuth2', 'CoboAuth'];
154
154
  var contentTypes = ['application/json'];
155
155
  var accepts = ['application/json'];
156
156
  var returnType = _SubmitDepositTravelRuleInfo201Response["default"];
@@ -191,7 +191,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
191
191
  var queryParams = {};
192
192
  var headerParams = {};
193
193
  var formParams = {};
194
- var authNames = ['OAuth2'];
194
+ var authNames = ['OAuth2', 'CoboAuth'];
195
195
  var contentTypes = ['application/json'];
196
196
  var accepts = ['application/json'];
197
197
  var returnType = _SubmitDepositTravelRuleInfo201Response["default"];
@@ -242,7 +242,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
242
242
  var queryParams = {};
243
243
  var headerParams = {};
244
244
  var formParams = {};
245
- var authNames = ['OAuth2'];
245
+ var authNames = ['OAuth2', 'CoboAuth'];
246
246
  var contentTypes = ['application/json'];
247
247
  var accepts = ['application/json'];
248
248
  var returnType = [_AddressInfo["default"]];
@@ -284,7 +284,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
284
284
  var queryParams = {};
285
285
  var headerParams = {};
286
286
  var formParams = {};
287
- var authNames = ['OAuth2'];
287
+ var authNames = ['OAuth2', 'CoboAuth'];
288
288
  var contentTypes = ['application/json'];
289
289
  var accepts = ['application/json'];
290
290
  var returnType = _CreatedWalletInfo["default"];
@@ -329,7 +329,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
329
329
  var queryParams = {};
330
330
  var headerParams = {};
331
331
  var formParams = {};
332
- var authNames = ['OAuth2'];
332
+ var authNames = ['OAuth2', 'CoboAuth'];
333
333
  var contentTypes = [];
334
334
  var accepts = ['application/json'];
335
335
  var returnType = _DeleteWalletById201Response["default"];
@@ -353,7 +353,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
353
353
  /**
354
354
  * Get chain information
355
355
  * This operation retrieves the detailed information about a specified chain.
356
- * @param {String} chain_id The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
356
+ * @param {String} chain_id The chain ID, which is the unique identifier of a blockchain.
357
357
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ChainInfo} and HTTP response
358
358
  */
359
359
  }, {
@@ -383,7 +383,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
383
383
  /**
384
384
  * Get chain information
385
385
  * This operation retrieves the detailed information about a specified chain.
386
- * @param {String} chain_id The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
386
+ * @param {String} chain_id The chain ID, which is the unique identifier of a blockchain.
387
387
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ChainInfo}
388
388
  */
389
389
  }, {
@@ -440,7 +440,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
440
440
  };
441
441
  var headerParams = {};
442
442
  var formParams = {};
443
- var authNames = ['OAuth2'];
443
+ var authNames = ['OAuth2', 'CoboAuth'];
444
444
  var contentTypes = [];
445
445
  var accepts = ['application/json'];
446
446
  var returnType = _MaxTransferableValue["default"];
@@ -469,7 +469,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
469
469
  /**
470
470
  * Get token information
471
471
  * This operation retrieves the detailed information about a specified token.
472
- * @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
472
+ * @param {String} token_id The token ID, which is the unique identifier of a token.
473
473
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExtendedTokenInfo} and HTTP response
474
474
  */
475
475
  }, {
@@ -499,7 +499,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
499
499
  /**
500
500
  * Get token information
501
501
  * This operation retrieves the detailed information about a specified token.
502
- * @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
502
+ * @param {String} token_id The token ID, which is the unique identifier of a token.
503
503
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExtendedTokenInfo}
504
504
  */
505
505
  }, {
@@ -533,7 +533,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
533
533
  var queryParams = {};
534
534
  var headerParams = {};
535
535
  var formParams = {};
536
- var authNames = ['OAuth2'];
536
+ var authNames = ['OAuth2', 'CoboAuth'];
537
537
  var contentTypes = [];
538
538
  var accepts = ['application/json'];
539
539
  var returnType = _WalletInfo["default"];
@@ -558,7 +558,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
558
558
  * List address balances by token
559
559
  * This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets only.</Note>
560
560
  * @param {String} wallet_id The wallet ID.
561
- * @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
561
+ * @param {String} token_id The token ID, which is the unique identifier of a token.
562
562
  * @param {Object} opts Optional parameters
563
563
  * @param {String} [addresses] A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
564
564
  * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
@@ -594,7 +594,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
594
594
  };
595
595
  var headerParams = {};
596
596
  var formParams = {};
597
- var authNames = ['OAuth2'];
597
+ var authNames = ['OAuth2', 'CoboAuth'];
598
598
  var contentTypes = [];
599
599
  var accepts = ['application/json'];
600
600
  var returnType = _ListAddressBalancesByToken200Response["default"];
@@ -605,7 +605,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
605
605
  * List address balances by token
606
606
  * This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets only.</Note>
607
607
  * @param {String} wallet_id The wallet ID.
608
- * @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
608
+ * @param {String} token_id The token ID, which is the unique identifier of a token.
609
609
  * @param {Object} opts Optional parameters
610
610
  * @param {String} opts.addresses A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
611
611
  * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
@@ -657,7 +657,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
657
657
  };
658
658
  var headerParams = {};
659
659
  var formParams = {};
660
- var authNames = ['OAuth2'];
660
+ var authNames = ['OAuth2', 'CoboAuth'];
661
661
  var contentTypes = [];
662
662
  var accepts = ['application/json'];
663
663
  var returnType = _ListAddresses200Response["default"];
@@ -956,7 +956,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
956
956
  };
957
957
  var headerParams = {};
958
958
  var formParams = {};
959
- var authNames = ['OAuth2'];
959
+ var authNames = ['OAuth2', 'CoboAuth'];
960
960
  var contentTypes = [];
961
961
  var accepts = ['application/json'];
962
962
  var returnType = _ListTokenBalancesForAddress200Response["default"];
@@ -1017,7 +1017,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
1017
1017
  };
1018
1018
  var headerParams = {};
1019
1019
  var formParams = {};
1020
- var authNames = ['OAuth2'];
1020
+ var authNames = ['OAuth2', 'CoboAuth'];
1021
1021
  var contentTypes = [];
1022
1022
  var accepts = ['application/json'];
1023
1023
  var returnType = _ListTokenBalancesForAddress200Response["default"];
@@ -1085,7 +1085,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
1085
1085
  };
1086
1086
  var headerParams = {};
1087
1087
  var formParams = {};
1088
- var authNames = ['OAuth2'];
1088
+ var authNames = ['OAuth2', 'CoboAuth'];
1089
1089
  var contentTypes = [];
1090
1090
  var accepts = ['application/json'];
1091
1091
  var returnType = _ListUtxos200Response["default"];
@@ -1146,7 +1146,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
1146
1146
  };
1147
1147
  var headerParams = {};
1148
1148
  var formParams = {};
1149
- var authNames = ['OAuth2'];
1149
+ var authNames = ['OAuth2', 'CoboAuth'];
1150
1150
  var contentTypes = [];
1151
1151
  var accepts = ['application/json'];
1152
1152
  var returnType = _ListWallets200Response["default"];
@@ -1200,7 +1200,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
1200
1200
  var queryParams = {};
1201
1201
  var headerParams = {};
1202
1202
  var formParams = {};
1203
- var authNames = ['OAuth2'];
1203
+ var authNames = ['OAuth2', 'CoboAuth'];
1204
1204
  var contentTypes = ['application/json'];
1205
1205
  var accepts = ['application/json'];
1206
1206
  var returnType = _LockUtxos201Response["default"];
@@ -1249,7 +1249,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
1249
1249
  var queryParams = {};
1250
1250
  var headerParams = {};
1251
1251
  var formParams = {};
1252
- var authNames = ['OAuth2'];
1252
+ var authNames = ['OAuth2', 'CoboAuth'];
1253
1253
  var contentTypes = ['application/json'];
1254
1254
  var accepts = ['application/json'];
1255
1255
  var returnType = _LockUtxos201Response["default"];
@@ -80,7 +80,7 @@ var WalletsExchangeWalletApi = exports["default"] = /*#__PURE__*/function () {
80
80
  };
81
81
  var headerParams = {};
82
82
  var formParams = {};
83
- var authNames = ['OAuth2'];
83
+ var authNames = ['OAuth2', 'CoboAuth'];
84
84
  var contentTypes = [];
85
85
  var accepts = ['application/json'];
86
86
  var returnType = _ListAssetBalancesForExchangeWallet200Response["default"];