@cobo/cobo-waas2 1.9.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 (148) hide show
  1. package/README.md +47 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +1 -1
  4. package/dist/api/DevelopersApi.js +7 -7
  5. package/dist/api/DevelopersWebhooksApi.js +8 -8
  6. package/dist/api/StakingsApi.js +412 -18
  7. package/dist/api/SwapsApi.js +360 -0
  8. package/dist/api/TransactionsApi.js +18 -18
  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 +213 -3
  15. package/dist/model/AddressesEventData.js +4 -4
  16. package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
  17. package/dist/model/BTCEIP191MessageSignDestination.js +1 -1
  18. package/dist/model/BabylonAirdropPop.js +186 -0
  19. package/dist/model/BabylonAirdropRegistration.js +172 -0
  20. package/dist/model/BabylonEligibleAirdrop.js +157 -0
  21. package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
  22. package/dist/model/BabylonRegistrationStatus.js +66 -0
  23. package/dist/model/BabylonStakingRegistration.js +185 -0
  24. package/dist/model/ChainInfo.js +2 -2
  25. package/dist/model/ContractCallDestination.js +42 -8
  26. package/dist/model/ContractCallDestinationType.js +5 -0
  27. package/dist/model/ContractCallSource.js +6 -0
  28. package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
  29. package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
  30. package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
  31. package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
  32. package/dist/model/CreateSwapActivityRequest.js +153 -0
  33. package/dist/model/CreateSwapQuote201Response.js +264 -0
  34. package/dist/model/CreateSwapQuoteRequest.js +166 -0
  35. package/dist/model/EstimatedEvmEip1559FeeSlow.js +23 -0
  36. package/dist/model/EstimatedEvmLegacyFeeSlow.js +23 -0
  37. package/dist/model/ExtendedTokenInfo.js +3 -3
  38. package/dist/model/FeeReserved.js +87 -0
  39. package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
  40. package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
  41. package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
  42. package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
  43. package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
  44. package/dist/model/{SwapSummary.js → ListEnableTokenPairs200Response.js} +51 -49
  45. package/dist/model/ListSwapActivities200Response.js +123 -0
  46. package/dist/model/MaxFeeAmount.js +1 -1
  47. package/dist/model/MessageSignSource.js +6 -0
  48. package/dist/model/MpcContractCallSource.js +16 -0
  49. package/dist/model/MpcMessageSignSource.js +16 -0
  50. package/dist/model/MpcSigningGroup.js +27 -4
  51. package/dist/model/MpcTransferSource.js +16 -0
  52. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +2 -2
  53. package/dist/model/SolContractCallAccount.js +133 -0
  54. package/dist/model/SolContractCallDestination.js +139 -0
  55. package/dist/model/SolContractCallInstruction.js +158 -0
  56. package/dist/model/StakingPoolId.js +30 -0
  57. package/dist/model/StakingPoolType.js +15 -0
  58. package/dist/model/SwapQuote.js +203 -0
  59. package/dist/model/TokenInfo.js +2 -2
  60. package/dist/model/TransactionDestination.js +45 -11
  61. package/dist/model/TransactionDestinationType.js +5 -0
  62. package/dist/model/TransactionFee.js +1 -1
  63. package/dist/model/TransactionFixedFee.js +2 -2
  64. package/dist/model/TransactionRawTxInfo.js +16 -0
  65. package/dist/model/TransactionRbfSource.js +6 -0
  66. package/dist/model/TransactionRequestFee.js +1 -1
  67. package/dist/model/TransactionRequestFixedFee.js +2 -2
  68. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  69. package/dist/model/TransactionSolContractAccount.js +106 -0
  70. package/dist/model/TransactionSolContractDestination.js +137 -0
  71. package/dist/model/TransactionSolContractInstruction.js +134 -0
  72. package/dist/model/TransactionTokeApproval.js +3 -3
  73. package/dist/model/TransactionUtxoChange.js +101 -0
  74. package/dist/model/TransferSource.js +6 -0
  75. package/dist/model/WebhookEventData.js +2 -2
  76. package/docs/AddressBooksApi.md +1 -1
  77. package/docs/AddressesEventData.md +1 -1
  78. package/docs/AddressesEventDataAllOfAddresses.md +19 -0
  79. package/docs/BabylonAirdropPop.md +14 -0
  80. package/docs/BabylonAirdropRegistration.md +16 -0
  81. package/docs/BabylonEligibleAirdrop.md +14 -0
  82. package/docs/BabylonRegistrationRequestStatus.md +14 -0
  83. package/docs/BabylonRegistrationStatus.md +14 -0
  84. package/docs/BabylonStakingRegistration.md +17 -0
  85. package/docs/ChainInfo.md +1 -1
  86. package/docs/ContractCallDestination.md +1 -0
  87. package/docs/ContractCallDestinationType.md +2 -0
  88. package/docs/ContractCallSource.md +1 -0
  89. package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
  90. package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
  91. package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
  92. package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
  93. package/docs/CreateSwapActivityRequest.md +12 -0
  94. package/docs/CreateSwapQuote201Response.md +17 -0
  95. package/docs/CreateSwapQuoteRequest.md +13 -0
  96. package/docs/DevelopersApi.md +5 -5
  97. package/docs/DevelopersWebhooksApi.md +8 -8
  98. package/docs/EstimatedEvmEip1559FeeSlow.md +1 -0
  99. package/docs/EstimatedEvmLegacyFeeSlow.md +1 -0
  100. package/docs/ExtendedTokenInfo.md +1 -1
  101. package/docs/FeeReserved.md +9 -0
  102. package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
  103. package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
  104. package/docs/ListBabylonEligibleStakings200Response.md +10 -0
  105. package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
  106. package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
  107. package/docs/ListEnableTokenPairs200Response.md +10 -0
  108. package/docs/ListSwapActivities200Response.md +10 -0
  109. package/docs/MaxFeeAmount.md +1 -1
  110. package/docs/MessageSignSource.md +1 -0
  111. package/docs/MpcContractCallSource.md +1 -0
  112. package/docs/MpcMessageSignSource.md +1 -0
  113. package/docs/MpcSigningGroup.md +1 -1
  114. package/docs/MpcTransferSource.md +1 -0
  115. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +1 -1
  116. package/docs/SolContractCallAccount.md +11 -0
  117. package/docs/SolContractCallDestination.md +10 -0
  118. package/docs/SolContractCallInstruction.md +11 -0
  119. package/docs/StakingPoolId.md +12 -0
  120. package/docs/StakingPoolType.md +6 -0
  121. package/docs/StakingsApi.md +461 -13
  122. package/docs/SwapQuote.md +16 -0
  123. package/docs/SwapsApi.md +348 -0
  124. package/docs/TokenInfo.md +1 -1
  125. package/docs/TransactionDestination.md +1 -0
  126. package/docs/TransactionDestinationType.md +2 -0
  127. package/docs/TransactionFee.md +1 -1
  128. package/docs/TransactionFixedFee.md +1 -1
  129. package/docs/TransactionRawTxInfo.md +1 -0
  130. package/docs/TransactionRbfSource.md +1 -0
  131. package/docs/TransactionRequestFee.md +1 -1
  132. package/docs/TransactionRequestFixedFee.md +1 -1
  133. package/docs/TransactionRequestUtxoFee.md +1 -1
  134. package/docs/TransactionSolContractAccount.md +11 -0
  135. package/docs/TransactionSolContractDestination.md +10 -0
  136. package/docs/TransactionSolContractInstruction.md +11 -0
  137. package/docs/TransactionTokeApproval.md +1 -1
  138. package/docs/TransactionUtxoChange.md +10 -0
  139. package/docs/TransactionsApi.md +16 -16
  140. package/docs/TransferSource.md +1 -0
  141. package/docs/TravelRuleApi.md +4 -4
  142. package/docs/WalletsApi.md +16 -16
  143. package/docs/WalletsExchangeWalletApi.md +1 -1
  144. package/docs/WalletsMPCWalletsApi.md +19 -19
  145. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  146. package/docs/WebhookEventData.md +1 -1
  147. package/package.json +2 -2
  148. package/docs/SwapSummary.md +0 -10
@@ -0,0 +1,360 @@
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 _CreateSwapActivityRequest = _interopRequireDefault(require("../model/CreateSwapActivityRequest"));
9
+ var _CreateSwapQuote201Response = _interopRequireDefault(require("../model/CreateSwapQuote201Response"));
10
+ var _CreateSwapQuoteRequest = _interopRequireDefault(require("../model/CreateSwapQuoteRequest"));
11
+ var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
12
+ var _ListEnableTokenPairs200Response = _interopRequireDefault(require("../model/ListEnableTokenPairs200Response"));
13
+ var _ListSwapActivities200Response = _interopRequireDefault(require("../model/ListSwapActivities200Response"));
14
+ var _SwapActivity = _interopRequireDefault(require("../model/SwapActivity"));
15
+ var _SwapQuote = _interopRequireDefault(require("../model/SwapQuote"));
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ 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); }
18
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
19
+ 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); } }
20
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22
+ 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); } /**
23
+ * Cobo Wallet as a Service 2.0
24
+ *
25
+ * Contact: help@cobo.com
26
+ *
27
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
28
+ * https://openapi-generator.tech
29
+ * Do not edit the class manually.
30
+ *
31
+ */
32
+ /**
33
+ * Swaps service.
34
+ * @module api/SwapsApi
35
+ */
36
+ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new SwapsApi.
39
+ * @alias module:api/SwapsApi
40
+ * @class
41
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
42
+ * default to {@link module:ApiClient#instance} if unspecified.
43
+ */
44
+ function SwapsApi(apiClient) {
45
+ _classCallCheck(this, SwapsApi);
46
+ this.apiClient = apiClient || _ApiClient["default"].instance;
47
+ }
48
+
49
+ /**
50
+ * Create Swap Activity
51
+ * This operation to create a swap activity.
52
+ * @param {module:model/CreateSwapActivityRequest} CreateSwapActivityRequest The request body for creating a swap activity.
53
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SwapActivity} and HTTP response
54
+ */
55
+ return _createClass(SwapsApi, [{
56
+ key: "createSwapActivityWithHttpInfo",
57
+ value: function createSwapActivityWithHttpInfo(CreateSwapActivityRequest) {
58
+ var postBody = CreateSwapActivityRequest;
59
+ if (postBody && postBody.toJSON) {
60
+ postBody = postBody.toJSON();
61
+ }
62
+ // verify the required parameter 'CreateSwapActivityRequest' is set
63
+ if (CreateSwapActivityRequest === undefined || CreateSwapActivityRequest === null) {
64
+ throw new Error("Missing the required parameter 'CreateSwapActivityRequest' when calling createSwapActivity");
65
+ }
66
+ var pathParams = {};
67
+ var queryParams = {};
68
+ var headerParams = {};
69
+ var formParams = {};
70
+ var authNames = ['OAuth2', 'CoboAuth'];
71
+ var contentTypes = ['application/json'];
72
+ var accepts = ['application/json'];
73
+ var returnType = _SwapActivity["default"];
74
+ return this.apiClient.callApi('/swaps/swap', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
75
+ }
76
+
77
+ /**
78
+ * Create Swap Activity
79
+ * This operation to create a swap activity.
80
+ * @param {module:model/CreateSwapActivityRequest} CreateSwapActivityRequest The request body for creating a swap activity.
81
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SwapActivity}
82
+ */
83
+ }, {
84
+ key: "createSwapActivity",
85
+ value: function createSwapActivity(CreateSwapActivityRequest) {
86
+ return this.createSwapActivityWithHttpInfo(CreateSwapActivityRequest).then(function (response_and_data) {
87
+ return response_and_data.data;
88
+ });
89
+ }
90
+
91
+ /**
92
+ * Create Swap Quote
93
+ * This operation retrieves a quote for swapping between two tokens. Either pay_amount or receive_amount must be provided.
94
+ * @param {module:model/CreateSwapQuoteRequest} CreateSwapQuoteRequest The request body for creating a swap activity.
95
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateSwapQuote201Response} and HTTP response
96
+ */
97
+ }, {
98
+ key: "createSwapQuoteWithHttpInfo",
99
+ value: function createSwapQuoteWithHttpInfo(CreateSwapQuoteRequest) {
100
+ var postBody = CreateSwapQuoteRequest;
101
+ if (postBody && postBody.toJSON) {
102
+ postBody = postBody.toJSON();
103
+ }
104
+ // verify the required parameter 'CreateSwapQuoteRequest' is set
105
+ if (CreateSwapQuoteRequest === undefined || CreateSwapQuoteRequest === null) {
106
+ throw new Error("Missing the required parameter 'CreateSwapQuoteRequest' when calling createSwapQuote");
107
+ }
108
+ var pathParams = {};
109
+ var queryParams = {};
110
+ var headerParams = {};
111
+ var formParams = {};
112
+ var authNames = ['OAuth2', 'CoboAuth'];
113
+ var contentTypes = ['application/json'];
114
+ var accepts = ['application/json'];
115
+ var returnType = _CreateSwapQuote201Response["default"];
116
+ return this.apiClient.callApi('/swaps/quote', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
117
+ }
118
+
119
+ /**
120
+ * Create Swap Quote
121
+ * This operation retrieves a quote for swapping between two tokens. Either pay_amount or receive_amount must be provided.
122
+ * @param {module:model/CreateSwapQuoteRequest} CreateSwapQuoteRequest The request body for creating a swap activity.
123
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateSwapQuote201Response}
124
+ */
125
+ }, {
126
+ key: "createSwapQuote",
127
+ value: function createSwapQuote(CreateSwapQuoteRequest) {
128
+ return this.createSwapQuoteWithHttpInfo(CreateSwapQuoteRequest).then(function (response_and_data) {
129
+ return response_and_data.data;
130
+ });
131
+ }
132
+
133
+ /**
134
+ * Get Swap Activity Details
135
+ * This operation retrieves the details of a swap activity.
136
+ * @param {String} activity_id The unique id of the activity.
137
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SwapActivity} and HTTP response
138
+ */
139
+ }, {
140
+ key: "getSwapActivityWithHttpInfo",
141
+ value: function getSwapActivityWithHttpInfo(activity_id) {
142
+ var postBody = null;
143
+ if (postBody && postBody.toJSON) {
144
+ postBody = postBody.toJSON();
145
+ }
146
+ // verify the required parameter 'activity_id' is set
147
+ if (activity_id === undefined || activity_id === null) {
148
+ throw new Error("Missing the required parameter 'activity_id' when calling getSwapActivity");
149
+ }
150
+ var pathParams = {
151
+ 'activity_id': activity_id
152
+ };
153
+ var queryParams = {};
154
+ var headerParams = {};
155
+ var formParams = {};
156
+ var authNames = ['CoboAuth'];
157
+ var contentTypes = [];
158
+ var accepts = ['application/json'];
159
+ var returnType = _SwapActivity["default"];
160
+ return this.apiClient.callApi('/swaps/activities/{activity_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
161
+ }
162
+
163
+ /**
164
+ * Get Swap Activity Details
165
+ * This operation retrieves the details of a swap activity.
166
+ * @param {String} activity_id The unique id of the activity.
167
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SwapActivity}
168
+ */
169
+ }, {
170
+ key: "getSwapActivity",
171
+ value: function getSwapActivity(activity_id) {
172
+ return this.getSwapActivityWithHttpInfo(activity_id).then(function (response_and_data) {
173
+ return response_and_data.data;
174
+ });
175
+ }
176
+
177
+ /**
178
+ * Get Current Swap Rate
179
+ * This operation retrieves the current market exchange rate and estimated amount for swapping between two tokens. Either pay_amount or receive_amount must be provided.
180
+ * @param {String} wallet_id The wallet ID.
181
+ * @param {String} pay_token_id Unique id of the token to pay.
182
+ * @param {String} receive_token_id Unique id of the token to receive.
183
+ * @param {Object} opts Optional parameters
184
+ * @param {String} [pay_amount] The amount of pay token to swap.
185
+ * @param {String} [receive_amount] The amount of token to receive.
186
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SwapQuote} and HTTP response
187
+ */
188
+ }, {
189
+ key: "getSwapQuoteWithHttpInfo",
190
+ value: function getSwapQuoteWithHttpInfo(wallet_id, pay_token_id, receive_token_id, opts) {
191
+ opts = opts || {};
192
+ var postBody = null;
193
+ if (postBody && postBody.toJSON) {
194
+ postBody = postBody.toJSON();
195
+ }
196
+ // verify the required parameter 'wallet_id' is set
197
+ if (wallet_id === undefined || wallet_id === null) {
198
+ throw new Error("Missing the required parameter 'wallet_id' when calling getSwapQuote");
199
+ }
200
+ // verify the required parameter 'pay_token_id' is set
201
+ if (pay_token_id === undefined || pay_token_id === null) {
202
+ throw new Error("Missing the required parameter 'pay_token_id' when calling getSwapQuote");
203
+ }
204
+ // verify the required parameter 'receive_token_id' is set
205
+ if (receive_token_id === undefined || receive_token_id === null) {
206
+ throw new Error("Missing the required parameter 'receive_token_id' when calling getSwapQuote");
207
+ }
208
+ var pathParams = {};
209
+ var queryParams = {
210
+ 'wallet_id': wallet_id,
211
+ 'pay_token_id': pay_token_id,
212
+ 'receive_token_id': receive_token_id,
213
+ 'pay_amount': opts['pay_amount'],
214
+ 'receive_amount': opts['receive_amount']
215
+ };
216
+ var headerParams = {};
217
+ var formParams = {};
218
+ var authNames = ['CoboAuth'];
219
+ var contentTypes = [];
220
+ var accepts = ['application/json'];
221
+ var returnType = _SwapQuote["default"];
222
+ return this.apiClient.callApi('/swaps/quote', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
223
+ }
224
+
225
+ /**
226
+ * Get Current Swap Rate
227
+ * This operation retrieves the current market exchange rate and estimated amount for swapping between two tokens. Either pay_amount or receive_amount must be provided.
228
+ * @param {String} wallet_id The wallet ID.
229
+ * @param {String} pay_token_id Unique id of the token to pay.
230
+ * @param {String} receive_token_id Unique id of the token to receive.
231
+ * @param {Object} opts Optional parameters
232
+ * @param {String} opts.pay_amount The amount of pay token to swap.
233
+ * @param {String} opts.receive_amount The amount of token to receive.
234
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SwapQuote}
235
+ */
236
+ }, {
237
+ key: "getSwapQuote",
238
+ value: function getSwapQuote(wallet_id, pay_token_id, receive_token_id, opts) {
239
+ return this.getSwapQuoteWithHttpInfo(wallet_id, pay_token_id, receive_token_id, opts).then(function (response_and_data) {
240
+ return response_and_data.data;
241
+ });
242
+ }
243
+
244
+ /**
245
+ * List Supported Token Pairs
246
+ * This operation retrieves all supported token pairs for swaps in a specified wallet.
247
+ * @param {Object} opts Optional parameters
248
+ * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
249
+ * @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.
250
+ * @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.
251
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListEnableTokenPairs200Response} and HTTP response
252
+ */
253
+ }, {
254
+ key: "listEnableTokenPairsWithHttpInfo",
255
+ value: function listEnableTokenPairsWithHttpInfo(opts) {
256
+ opts = opts || {};
257
+ var postBody = null;
258
+ if (postBody && postBody.toJSON) {
259
+ postBody = postBody.toJSON();
260
+ }
261
+ var pathParams = {};
262
+ var queryParams = {
263
+ 'limit': opts['limit'],
264
+ 'before': opts['before'],
265
+ 'after': opts['after']
266
+ };
267
+ var headerParams = {};
268
+ var formParams = {};
269
+ var authNames = ['CoboAuth'];
270
+ var contentTypes = [];
271
+ var accepts = ['application/json'];
272
+ var returnType = _ListEnableTokenPairs200Response["default"];
273
+ return this.apiClient.callApi('/swaps/enabled_pairs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
274
+ }
275
+
276
+ /**
277
+ * List Supported Token Pairs
278
+ * This operation retrieves all supported token pairs for swaps in a specified wallet.
279
+ * @param {Object} opts Optional parameters
280
+ * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
281
+ * @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.
282
+ * @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.
283
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListEnableTokenPairs200Response}
284
+ */
285
+ }, {
286
+ key: "listEnableTokenPairs",
287
+ value: function listEnableTokenPairs(opts) {
288
+ return this.listEnableTokenPairsWithHttpInfo(opts).then(function (response_and_data) {
289
+ return response_and_data.data;
290
+ });
291
+ }
292
+
293
+ /**
294
+ * List Swap Activities
295
+ * This operation retrieves a list of swap activities.
296
+ * @param {Object} opts Optional parameters
297
+ * @param {module:model/String} [status]
298
+ * @param {Number} [min_updated_timestamp] The start time of the query. All staking activities updated after the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
299
+ * @param {Number} [max_updated_timestamp] The end time of the query. All staking activities updated before the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
300
+ * @param {String} [initiator] The activity initiator, which is your API key by default. You can also specify the initiator when creating the activity.
301
+ * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
302
+ * @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.
303
+ * @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.
304
+ * @param {String} [sort_by = '')] The field used for sorting.
305
+ * @param {module:model/String} [direction = '')] The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order.
306
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListSwapActivities200Response} and HTTP response
307
+ */
308
+ }, {
309
+ key: "listSwapActivitiesWithHttpInfo",
310
+ value: function listSwapActivitiesWithHttpInfo(opts) {
311
+ opts = opts || {};
312
+ var postBody = null;
313
+ if (postBody && postBody.toJSON) {
314
+ postBody = postBody.toJSON();
315
+ }
316
+ var pathParams = {};
317
+ var queryParams = {
318
+ 'status': opts['status'],
319
+ 'min_updated_timestamp': opts['min_updated_timestamp'],
320
+ 'max_updated_timestamp': opts['max_updated_timestamp'],
321
+ 'initiator': opts['initiator'],
322
+ 'limit': opts['limit'],
323
+ 'before': opts['before'],
324
+ 'after': opts['after'],
325
+ 'sort_by': opts['sort_by'],
326
+ 'direction': opts['direction']
327
+ };
328
+ var headerParams = {};
329
+ var formParams = {};
330
+ var authNames = ['CoboAuth'];
331
+ var contentTypes = [];
332
+ var accepts = ['application/json'];
333
+ var returnType = _ListSwapActivities200Response["default"];
334
+ return this.apiClient.callApi('/swaps/activities', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
335
+ }
336
+
337
+ /**
338
+ * List Swap Activities
339
+ * This operation retrieves a list of swap activities.
340
+ * @param {Object} opts Optional parameters
341
+ * @param {module:model/String} opts.status
342
+ * @param {Number} opts.min_updated_timestamp The start time of the query. All staking activities updated after the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
343
+ * @param {Number} opts.max_updated_timestamp The end time of the query. All staking activities updated before the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
344
+ * @param {String} opts.initiator The activity initiator, which is your API key by default. You can also specify the initiator when creating the activity.
345
+ * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
346
+ * @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.
347
+ * @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.
348
+ * @param {String} opts.sort_by The field used for sorting. (default to '')
349
+ * @param {module:model/String} opts.direction The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. (default to '')
350
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListSwapActivities200Response}
351
+ */
352
+ }, {
353
+ key: "listSwapActivities",
354
+ value: function listSwapActivities(opts) {
355
+ return this.listSwapActivitiesWithHttpInfo(opts).then(function (response_and_data) {
356
+ return response_and_data.data;
357
+ });
358
+ }
359
+ }]);
360
+ }();
@@ -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"];
@@ -590,7 +590,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
590
590
 
591
591
  /**
592
592
  * Resend transaction
593
- * This operation resends a specified transaction. Resending a transaction means retrying a previously failed transaction. For more details about resending a transaction, see [Resend a transaction](/v2/guides/transactions/manage-transactions#resend-a-transaction). A transaction can be resent if its status is `failed`. <Note>This operation only applies to transactions from MPC Wallets in the SOL token.</Note>
593
+ * This operation resends a specified transaction. Resending a transaction means retrying a previously failed transaction. For more details about resending a transaction, see [Resend a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#resend-a-transaction). A transaction can be resent if its status is `failed`. <Note>This operation only applies to transactions from MPC Wallets in the SOL token.</Note>
594
594
  * @param {String} transaction_id The transaction ID.
595
595
  * @param {Object} opts Optional parameters
596
596
  * @param {module:model/TransactionResend} [TransactionResend] The request body to resend transactions
@@ -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"];
@@ -623,7 +623,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
623
623
 
624
624
  /**
625
625
  * Resend transaction
626
- * This operation resends a specified transaction. Resending a transaction means retrying a previously failed transaction. For more details about resending a transaction, see [Resend a transaction](/v2/guides/transactions/manage-transactions#resend-a-transaction). A transaction can be resent if its status is `failed`. <Note>This operation only applies to transactions from MPC Wallets in the SOL token.</Note>
626
+ * This operation resends a specified transaction. Resending a transaction means retrying a previously failed transaction. For more details about resending a transaction, see [Resend a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#resend-a-transaction). A transaction can be resent if its status is `failed`. <Note>This operation only applies to transactions from MPC Wallets in the SOL token.</Note>
627
627
  * @param {String} transaction_id The transaction ID.
628
628
  * @param {Object} opts Optional parameters
629
629
  * @param {module:model/TransactionResend} opts.TransactionResend The request body to resend transactions
@@ -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"];
@@ -683,7 +683,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
683
683
 
684
684
  /**
685
685
  * Speed up transaction
686
- * This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. For more details about speeding up a transaction, refer to [Speed up a transaction](/v2/guides/transactions/manage-transactions#speed-up-a-transaction). You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction can be sped up only if its status is `Broadcasting`. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
686
+ * This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. For more details about speeding up a transaction, refer to [Speed up a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#speed-up-a-transaction). You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction can be sped up only if its status is `Broadcasting`. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
687
687
  * @param {String} transaction_id The transaction ID.
688
688
  * @param {Object} opts Optional parameters
689
689
  * @param {module:model/TransactionRbf} [TransactionRbf] The request body to drop or to speed up transactions
@@ -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"];
@@ -716,7 +716,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
716
716
 
717
717
  /**
718
718
  * Speed up transaction
719
- * This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. For more details about speeding up a transaction, refer to [Speed up a transaction](/v2/guides/transactions/manage-transactions#speed-up-a-transaction). You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction can be sped up only if its status is `Broadcasting`. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
719
+ * This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. For more details about speeding up a transaction, refer to [Speed up a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#speed-up-a-transaction). You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction can be sped up only if its status is `Broadcasting`. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
720
720
  * @param {String} transaction_id The transaction ID.
721
721
  * @param {Object} opts Optional parameters
722
722
  * @param {module:model/TransactionRbf} opts.TransactionRbf The request body to drop or to speed up transactions
@@ -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"];