@cobo/cobo-waas2 1.1.2 → 1.2.1

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 (143) hide show
  1. package/README.md +16 -3
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/PreRequestScript.js +640 -0
  4. package/dist/api/OAuthApi.js +16 -15
  5. package/dist/api/TransactionsApi.js +18 -18
  6. package/dist/api/WalletsApi.js +123 -12
  7. package/dist/api/WalletsExchangeWalletApi.js +254 -0
  8. package/dist/api/WalletsMPCWalletsApi.js +8 -8
  9. package/dist/index.js +56 -0
  10. package/dist/model/AddressInfo.js +1 -1
  11. package/dist/model/AddressTransferDestination.js +3 -3
  12. package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
  13. package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +1 -1
  14. package/dist/model/AssetInfo.js +2 -2
  15. package/dist/model/BabylonStakeExtra.js +9 -0
  16. package/dist/model/CheckAddressValidity200Response.js +2 -2
  17. package/dist/model/CheckAddressesValidity200ResponseInner.js +121 -0
  18. package/dist/model/CheckLoopTransfers200ResponseInner.js +96 -0
  19. package/dist/model/CoboSafeDelegate.js +27 -2
  20. package/dist/model/ContractCallDestination.js +24 -3
  21. package/dist/model/ContractCallSource.js +41 -4
  22. package/dist/model/CreateSmartContractWalletParams.js +23 -2
  23. package/dist/model/CreateStakeActivity.js +14 -1
  24. package/dist/model/CreateStakeActivityExtra.js +57 -6
  25. package/dist/model/CreateTssRequestRequest.js +13 -0
  26. package/dist/model/CreateUnstakeActivity.js +13 -0
  27. package/dist/model/CreateWalletParams.js +51 -6
  28. package/dist/model/CreateWithdrawActivity.js +13 -0
  29. package/dist/model/CreatedWalletInfo.js +63 -6
  30. package/dist/model/EstimateFeeParams.js +37 -4
  31. package/dist/model/EstimateStakeFee.js +19 -1
  32. package/dist/model/EstimateUnstakeFee.js +18 -0
  33. package/dist/model/EstimateWithdrawFee.js +18 -0
  34. package/dist/model/EstimatedFee.js +65 -8
  35. package/dist/model/EvmContractCallDestination.js +1 -1
  36. package/dist/model/ExchangeId.js +5 -0
  37. package/dist/model/ExchangeTransferDestination.js +16 -16
  38. package/dist/model/ExchangeTransferSource.js +14 -14
  39. package/dist/model/FeeRate.js +65 -8
  40. package/dist/model/GetToken200Response.js +4 -4
  41. package/dist/model/KeyShareHolder.js +13 -0
  42. package/dist/model/ListAssetBalancesForExchangeWallet200Response.js +123 -0
  43. package/dist/model/ListExchanges200ResponseInner.js +122 -0
  44. package/dist/model/ListSupportedAssetsForExchange200Response.js +123 -0
  45. package/dist/model/MPCWalletInfo.js +26 -0
  46. package/dist/model/MessageSignDestination.js +37 -4
  47. package/dist/model/MessageSignSource.js +27 -2
  48. package/dist/model/PoolDetailsAllOfValidatorsInfo.js +20 -4
  49. package/dist/model/RefreshToken200Response.js +135 -0
  50. package/dist/model/RefreshTokenRequest.js +2 -2
  51. package/dist/model/SmartContractWalletInfo.js +23 -2
  52. package/dist/model/SmartContractWalletType.js +2 -2
  53. package/dist/model/StakingSource.js +41 -4
  54. package/dist/model/SubWalletAssetBalance.js +10 -10
  55. package/dist/model/TSSRequest.js +23 -1
  56. package/dist/model/TSSRequestWebhookEventData.js +263 -0
  57. package/dist/model/TransactionDepositFromWalletSource.js +6 -6
  58. package/dist/model/TransactionDepositToAddressDestination.js +2 -2
  59. package/dist/model/TransactionDepositToWalletDestination.js +9 -9
  60. package/dist/model/TransactionDestination.js +112 -19
  61. package/dist/model/TransactionEvmContractDestination.js +1 -1
  62. package/dist/model/TransactionExchangeWalletSource.js +6 -6
  63. package/dist/model/TransactionFee.js +65 -8
  64. package/dist/model/TransactionMPCWalletSource.js +13 -0
  65. package/dist/model/TransactionRbfSource.js +27 -2
  66. package/dist/model/TransactionRequestFee.js +65 -8
  67. package/dist/model/TransactionResult.js +23 -2
  68. package/dist/model/TransactionSource.js +123 -16
  69. package/dist/model/TransactionSubStatus.js +5 -0
  70. package/dist/model/TransactionTransferToAddressDestinationAccountOutput.js +1 -1
  71. package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +1 -1
  72. package/dist/model/TransactionTransferToWalletDestination.js +9 -9
  73. package/dist/model/TransactionWebhookEventData.js +8 -3
  74. package/dist/model/TransferDestination.js +43 -10
  75. package/dist/model/TransferParams.js +2 -2
  76. package/dist/model/TransferSource.js +76 -11
  77. package/dist/model/UpdateWalletParams.js +65 -8
  78. package/dist/model/WalletInfo.js +77 -8
  79. package/dist/model/WebhookEventData.js +84 -17
  80. package/dist/model/WebhookEventDataType.js +7 -2
  81. package/dist/model/WebhookEventType.js +24 -4
  82. package/docs/AddressInfo.md +1 -1
  83. package/docs/AddressTransferDestination.md +2 -2
  84. package/docs/AddressTransferDestinationAccountOutput.md +1 -1
  85. package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -1
  86. package/docs/AssetInfo.md +1 -1
  87. package/docs/BabylonStakeExtra.md +1 -0
  88. package/docs/CheckAddressValidity200Response.md +1 -1
  89. package/docs/CheckAddressesValidity200ResponseInner.md +10 -0
  90. package/docs/CheckLoopTransfers200ResponseInner.md +10 -0
  91. package/docs/ContractCallDestination.md +1 -1
  92. package/docs/CreateStakeActivity.md +1 -0
  93. package/docs/CreateStakeActivityExtra.md +1 -0
  94. package/docs/CreateTssRequestRequest.md +1 -0
  95. package/docs/CreateUnstakeActivity.md +1 -0
  96. package/docs/CreateWithdrawActivity.md +1 -0
  97. package/docs/CreatedWalletInfo.md +2 -0
  98. package/docs/DevelopersWebhooksApi.md +78 -69
  99. package/docs/EstimateStakeFee.md +1 -0
  100. package/docs/EstimateUnstakeFee.md +1 -0
  101. package/docs/EstimateWithdrawFee.md +1 -0
  102. package/docs/EvmContractCallDestination.md +1 -1
  103. package/docs/ExchangeId.md +2 -0
  104. package/docs/ExchangeTransferDestination.md +2 -2
  105. package/docs/ExchangeTransferSource.md +1 -1
  106. package/docs/GetToken200Response.md +4 -4
  107. package/docs/KeyShareHolder.md +1 -0
  108. package/docs/ListAssetBalancesForExchangeWallet200Response.md +10 -0
  109. package/docs/ListExchanges200ResponseInner.md +10 -0
  110. package/docs/ListSupportedAssetsForExchange200Response.md +10 -0
  111. package/docs/MPCWalletInfo.md +2 -0
  112. package/docs/OAuthApi.md +26 -24
  113. package/docs/RefreshToken200Response.md +13 -0
  114. package/docs/RefreshTokenRequest.md +2 -2
  115. package/docs/SmartContractWalletType.md +1 -1
  116. package/docs/SubWalletAssetBalance.md +2 -2
  117. package/docs/TSSRequest.md +2 -0
  118. package/docs/TSSRequestWebhookEventData.md +29 -0
  119. package/docs/TransactionDepositFromWalletSource.md +1 -1
  120. package/docs/TransactionDepositToAddressDestination.md +1 -1
  121. package/docs/TransactionDepositToWalletDestination.md +2 -2
  122. package/docs/TransactionDestination.md +3 -3
  123. package/docs/TransactionEvmContractDestination.md +1 -1
  124. package/docs/TransactionExchangeWalletSource.md +1 -1
  125. package/docs/TransactionMPCWalletSource.md +1 -0
  126. package/docs/TransactionSource.md +2 -1
  127. package/docs/TransactionSubStatus.md +2 -0
  128. package/docs/TransactionTransferToAddressDestinationAccountOutput.md +1 -1
  129. package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +1 -1
  130. package/docs/TransactionTransferToWalletDestination.md +2 -2
  131. package/docs/TransactionWebhookEventData.md +3 -1
  132. package/docs/TransactionsApi.md +98 -88
  133. package/docs/TransferDestination.md +4 -4
  134. package/docs/TransferParams.md +1 -1
  135. package/docs/TransferSource.md +1 -1
  136. package/docs/WalletInfo.md +2 -0
  137. package/docs/WalletsApi.md +316 -187
  138. package/docs/WalletsExchangeWalletApi.md +230 -0
  139. package/docs/WalletsMPCWalletsApi.md +153 -135
  140. package/docs/WebhookEventData.md +10 -5
  141. package/docs/WebhookEventDataType.md +3 -1
  142. package/docs/WebhookEventType.md +12 -4
  143. package/package.json +1 -1
@@ -5,6 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _SourceGroup = _interopRequireDefault(require("./SourceGroup"));
9
+ var _TSSRequestStatus = _interopRequireDefault(require("./TSSRequestStatus"));
10
+ var _TSSRequestType = _interopRequireDefault(require("./TSSRequestType"));
11
+ var _TSSRequestWebhookEventData = _interopRequireDefault(require("./TSSRequestWebhookEventData"));
8
12
  var _TransactionBlockInfo = _interopRequireDefault(require("./TransactionBlockInfo"));
9
13
  var _TransactionDestination = _interopRequireDefault(require("./TransactionDestination"));
10
14
  var _TransactionFee = _interopRequireDefault(require("./TransactionFee"));
@@ -13,9 +17,7 @@ var _TransactionRawTxInfo = _interopRequireDefault(require("./TransactionRawTxIn
13
17
  var _TransactionReplacement = _interopRequireDefault(require("./TransactionReplacement"));
14
18
  var _TransactionResult = _interopRequireDefault(require("./TransactionResult"));
15
19
  var _TransactionSource = _interopRequireDefault(require("./TransactionSource"));
16
- var _TransactionStatus = _interopRequireDefault(require("./TransactionStatus"));
17
20
  var _TransactionSubStatus = _interopRequireDefault(require("./TransactionSubStatus"));
18
- var _TransactionType = _interopRequireDefault(require("./TransactionType"));
19
21
  var _TransactionWebhookEventData = _interopRequireDefault(require("./TransactionWebhookEventData"));
20
22
  var _WebhookEventData;
21
23
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -43,7 +45,7 @@ var WebhookEventData = /*#__PURE__*/function () {
43
45
  /**
44
46
  * Constructs a new <code>WebhookEventData</code>.
45
47
  * @alias module:model/WebhookEventData
46
- * @param {(module:model/TransactionWebhookEventData)} instance The actual instance to initialize WebhookEventData.
48
+ * @param {(module:model/TSSRequestWebhookEventData|module:model/TransactionWebhookEventData)} instance The actual instance to initialize WebhookEventData.
47
49
  */
48
50
  function WebhookEventData() {
49
51
  var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
@@ -61,6 +63,23 @@ var WebhookEventData = /*#__PURE__*/function () {
61
63
  }
62
64
  var match = 0;
63
65
  var errorMessages = [];
66
+ var discriminatorValue = instance["data_type"];
67
+ if (discriminatorValue) {
68
+ switch (discriminatorValue) {
69
+ case "TSSRequest":
70
+ this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
71
+ match++;
72
+ break;
73
+ case "Transaction":
74
+ this.actualInstance = _TransactionWebhookEventData["default"].constructFromObject(instance);
75
+ match++;
76
+ break;
77
+ default:
78
+ errorMessages.push("Unrecognized discriminator value: " + discriminatorValue);
79
+ break;
80
+ }
81
+ return;
82
+ }
64
83
  try {
65
84
  if (instance instanceof _TransactionWebhookEventData["default"]) {
66
85
  this.actualInstance = instance;
@@ -68,21 +87,52 @@ var WebhookEventData = /*#__PURE__*/function () {
68
87
  // plain JS object
69
88
  // create TransactionWebhookEventData from JS object
70
89
  this.actualInstance = _TransactionWebhookEventData["default"].constructFromObject(instance);
71
- } else if (_TransactionWebhookEventData["default"].constructFromObject(instance)) {
72
- this.actualInstance = _TransactionWebhookEventData["default"].constructFromObject(instance);
90
+ } else {
91
+ if (_TransactionWebhookEventData["default"].constructFromObject(instance)) {
92
+ if (!!_TransactionWebhookEventData["default"].constructFromObject(instance).toJSON) {
93
+ if (_TransactionWebhookEventData["default"].constructFromObject(instance).toJSON()) {
94
+ this.actualInstance = _TransactionWebhookEventData["default"].constructFromObject(instance);
95
+ }
96
+ } else {
97
+ this.actualInstance = _TransactionWebhookEventData["default"].constructFromObject(instance);
98
+ }
99
+ }
73
100
  }
74
101
  match++;
75
102
  } catch (err) {
76
103
  // json data failed to deserialize into TransactionWebhookEventData
77
104
  errorMessages.push("Failed to construct TransactionWebhookEventData: " + err);
78
105
  }
106
+ try {
107
+ if (instance instanceof _TSSRequestWebhookEventData["default"]) {
108
+ this.actualInstance = instance;
109
+ } else if (!!_TSSRequestWebhookEventData["default"].validateJSON && _TSSRequestWebhookEventData["default"].validateJSON(instance)) {
110
+ // plain JS object
111
+ // create TSSRequestWebhookEventData from JS object
112
+ this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
113
+ } else {
114
+ if (_TSSRequestWebhookEventData["default"].constructFromObject(instance)) {
115
+ if (!!_TSSRequestWebhookEventData["default"].constructFromObject(instance).toJSON) {
116
+ if (_TSSRequestWebhookEventData["default"].constructFromObject(instance).toJSON()) {
117
+ this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
118
+ }
119
+ } else {
120
+ this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
121
+ }
122
+ }
123
+ }
124
+ match++;
125
+ } catch (err) {
126
+ // json data failed to deserialize into TSSRequestWebhookEventData
127
+ errorMessages.push("Failed to construct TSSRequestWebhookEventData: " + err);
128
+ }
79
129
 
80
130
  // if (match > 1) {
81
- // throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas TransactionWebhookEventData. Input: " + JSON.stringify(instance));
131
+ // throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas TSSRequestWebhookEventData, TransactionWebhookEventData. Input: " + JSON.stringify(instance));
82
132
  // } else
83
133
  if (match === 0) {
84
134
  // this.actualInstance = null; // clear the actual instance in case there are multiple matches
85
- // throw new Error("No match found constructing `WebhookEventData` with oneOf schemas TransactionWebhookEventData. Details: " +
135
+ // throw new Error("No match found constructing `WebhookEventData` with oneOf schemas TSSRequestWebhookEventData, TransactionWebhookEventData. Details: " +
86
136
  // errorMessages.join(", "));
87
137
  return;
88
138
  } else {// only 1 match
@@ -101,16 +151,16 @@ var WebhookEventData = /*#__PURE__*/function () {
101
151
  key: "getActualInstance",
102
152
  value:
103
153
  /**
104
- * Gets the actual instance, which can be <code>TransactionWebhookEventData</code>.
105
- * @return {(module:model/TransactionWebhookEventData)} The actual instance.
154
+ * Gets the actual instance, which can be <code>TSSRequestWebhookEventData</code>, <code>TransactionWebhookEventData</code>.
155
+ * @return {(module:model/TSSRequestWebhookEventData|module:model/TransactionWebhookEventData)} The actual instance.
106
156
  */
107
157
  function getActualInstance() {
108
158
  return this.actualInstance;
109
159
  }
110
160
 
111
161
  /**
112
- * Sets the actual instance, which can be <code>TransactionWebhookEventData</code>.
113
- * @param {(module:model/TransactionWebhookEventData)} obj The actual instance.
162
+ * Sets the actual instance, which can be <code>TSSRequestWebhookEventData</code>, <code>TransactionWebhookEventData</code>.
163
+ * @param {(module:model/TSSRequestWebhookEventData|module:model/TransactionWebhookEventData)} obj The actual instance.
114
164
  */
115
165
  }, {
116
166
  key: "setActualInstance",
@@ -125,7 +175,7 @@ var WebhookEventData = /*#__PURE__*/function () {
125
175
  }]);
126
176
  }();
127
177
  /**
128
- * The data type of the event. When `data_type` is `Transaction`, it means the event uses the `transaction` schema as its data type.
178
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data.
129
179
  * @member {module:model/WebhookEventData.DataTypeEnum} data_type
130
180
  */
131
181
  _WebhookEventData = WebhookEventData;
@@ -164,12 +214,12 @@ WebhookEventData.prototype['request_id'] = undefined;
164
214
  WebhookEventData.prototype['wallet_id'] = undefined;
165
215
 
166
216
  /**
167
- * @member {module:model/TransactionType} type
217
+ * @member {module:model/TSSRequestType} type
168
218
  */
169
219
  WebhookEventData.prototype['type'] = undefined;
170
220
 
171
221
  /**
172
- * @member {module:model/TransactionStatus} status
222
+ * @member {module:model/TSSRequestStatus} status
173
223
  */
174
224
  WebhookEventData.prototype['status'] = undefined;
175
225
 
@@ -273,7 +323,7 @@ WebhookEventData.prototype['replacement'] = undefined;
273
323
  WebhookEventData.prototype['category'] = undefined;
274
324
 
275
325
  /**
276
- * The description for your transaction.
326
+ * The description of the TSS request.
277
327
  * @member {String} description
278
328
  */
279
329
  WebhookEventData.prototype['description'] = undefined;
@@ -285,7 +335,7 @@ WebhookEventData.prototype['description'] = undefined;
285
335
  WebhookEventData.prototype['is_loop'] = undefined;
286
336
 
287
337
  /**
288
- * The time when the transaction was created, in Unix timestamp format, measured in milliseconds.
338
+ * The TSS request's creation time in Unix timestamp format, measured in milliseconds.
289
339
  * @member {Number} created_timestamp
290
340
  */
291
341
  WebhookEventData.prototype['created_timestamp'] = undefined;
@@ -295,5 +345,22 @@ WebhookEventData.prototype['created_timestamp'] = undefined;
295
345
  * @member {Number} updated_timestamp
296
346
  */
297
347
  WebhookEventData.prototype['updated_timestamp'] = undefined;
298
- WebhookEventData.OneOf = ["TransactionWebhookEventData"];
348
+
349
+ /**
350
+ * The TSS request ID.
351
+ * @member {String} tss_request_id
352
+ */
353
+ WebhookEventData.prototype['tss_request_id'] = undefined;
354
+
355
+ /**
356
+ * @member {module:model/SourceGroup} source_key_share_holder_group
357
+ */
358
+ WebhookEventData.prototype['source_key_share_holder_group'] = undefined;
359
+
360
+ /**
361
+ * The target key share holder group ID.
362
+ * @member {String} target_key_share_holder_group_id
363
+ */
364
+ WebhookEventData.prototype['target_key_share_holder_group_id'] = undefined;
365
+ WebhookEventData.OneOf = ["TSSRequestWebhookEventData", "TransactionWebhookEventData"];
299
366
  var _default = exports["default"] = WebhookEventData;
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
33
33
  * Constructs a new <code>WebhookEventDataType</code>.
34
34
  * The data type of the event.
35
35
  * @alias module:model/WebhookEventDataType
36
- * @param data_type {module:model/WebhookEventDataType.DataTypeEnum} The data type of the event. When `data_type` is `Transaction`, it means the event uses the `transaction` schema as its data type.
36
+ * @param data_type {module:model/WebhookEventDataType.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data.
37
37
  */
38
38
  function WebhookEventDataType(data_type) {
39
39
  _classCallCheck(this, WebhookEventDataType);
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
104
104
  WebhookEventDataType.RequiredProperties = ["data_type"];
105
105
 
106
106
  /**
107
- * The data type of the event. When `data_type` is `Transaction`, it means the event uses the `transaction` schema as its data type.
107
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data.
108
108
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
109
109
  */
110
110
  WebhookEventDataType.prototype['data_type'] = undefined;
@@ -120,6 +120,11 @@ WebhookEventDataType['DataTypeEnum'] = {
120
120
  * @const
121
121
  */
122
122
  "Transaction": "Transaction",
123
+ /**
124
+ * value: "TSSRequest"
125
+ * @const
126
+ */
127
+ "TSSRequest": "TSSRequest",
123
128
  /**
124
129
  * value: "unknown_default_open_api"
125
130
  * @const
@@ -34,22 +34,42 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
34
34
  * value: "wallets.transaction.created"
35
35
  * @const
36
36
  */
37
- _defineProperty(this, "created", "wallets.transaction.created");
37
+ _defineProperty(this, "transaction.created", "wallets.transaction.created");
38
38
  /**
39
39
  * value: "wallets.transaction.updated"
40
40
  * @const
41
41
  */
42
- _defineProperty(this, "updated", "wallets.transaction.updated");
42
+ _defineProperty(this, "transaction.updated", "wallets.transaction.updated");
43
43
  /**
44
44
  * value: "wallets.transaction.failed"
45
45
  * @const
46
46
  */
47
- _defineProperty(this, "failed", "wallets.transaction.failed");
47
+ _defineProperty(this, "transaction.failed", "wallets.transaction.failed");
48
48
  /**
49
49
  * value: "wallets.transaction.succeeded"
50
50
  * @const
51
51
  */
52
- _defineProperty(this, "succeeded", "wallets.transaction.succeeded");
52
+ _defineProperty(this, "transaction.succeeded", "wallets.transaction.succeeded");
53
+ /**
54
+ * value: "wallets.mpc.tss_request.created"
55
+ * @const
56
+ */
57
+ _defineProperty(this, "mpc.tss_request.created", "wallets.mpc.tss_request.created");
58
+ /**
59
+ * value: "wallets.mpc.tss_request.updated"
60
+ * @const
61
+ */
62
+ _defineProperty(this, "mpc.tss_request.updated", "wallets.mpc.tss_request.updated");
63
+ /**
64
+ * value: "wallets.mpc.tss_request.failed"
65
+ * @const
66
+ */
67
+ _defineProperty(this, "mpc.tss_request.failed", "wallets.mpc.tss_request.failed");
68
+ /**
69
+ * value: "wallets.mpc.tss_request.succeeded"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "mpc.tss_request.succeeded", "wallets.mpc.tss_request.succeeded");
53
73
  /**
54
74
  * value: "unknown_default_open_api"
55
75
  * @const
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **address** | **String** | The wallet address. |
8
8
  **chain_id** | **String** | 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](/v2/api-references/wallets/list-enabled-chains). |
9
9
  **memo** | **String** | The memo code. | [optional]
10
- **path** | **String** | The derivation path of the address. This property applies to MPC Wallets only. | [optional]
10
+ **path** | **String** | The derivation path of the address. This property applies to MPC Wallets only. To learn the meaning of each level in the path, see [Path levels](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#path-levels). | [optional]
11
11
  **encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
12
12
  **pubkey** | **String** | The public key of the address. This property applies to MPC Wallets only. | [optional]
13
13
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**AddressTransferDestinationAccountOutput**](AddressTransferDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
- **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request may not be executed as a Loop transfer. | [optional]
12
- **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must not be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request can be executed as a Loop transfer. | [optional]
11
+ **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request may not be executed as a Loop transfer. &lt;Note&gt;Please do not set both &#x60;force_internal&#x60; and &#x60;force_internal&#x60; as &#x60;true&#x60;.&lt;/Note&gt; | [optional]
12
+ **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must not be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request can be executed as a Loop transfer. &lt;Note&gt;Please do not set both &#x60;force_internal&#x60; and &#x60;force_internal&#x60; as &#x60;true&#x60;.&lt;/Note&gt; | [optional]
13
13
 
14
14
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. |
8
8
  **memo** | **String** | The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. | [optional]
9
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
9
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
10
10
 
11
11
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. |
8
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
8
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
9
9
  **script** | **String** | The script of the output. It is a programmable code fragment that defines the conditions under which the UTXO can be spent. | [optional]
10
10
 
11
11
 
package/docs/AssetInfo.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **asset_id** | **String** | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. |
7
+ **asset_id** | **String** | The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. |
8
8
  **display_code** | **String** | The asset symbol. You can use the value for display purposes. | [optional]
9
9
  **description** | **String** | The description of the asset. | [optional]
10
10
  **icon_url** | **String** | The URL of the asset icon. | [optional]
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of finality provider. |
9
9
  **stake_block_time** | **Number** | The stake block time. |
10
+ **only_sign** | **Boolean** | Whether to only sign transactions. Default is &#x60;false&#x60;, if set to &#x60;true&#x60;, the transaction will not be submitted to the blockchain automatically. You can call &#x60;Broadcast transactions&#x60; to submit the transaction to the blockchain, Or you can find the signed raw_tx by &#x60;Get transaction information&#x60; and broadcast it yourself. | [optional]
10
11
 
11
12
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: the address is invalid. |
7
+ **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: The address is invalid. |
8
8
 
9
9
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CheckAddressesValidity200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. |
8
+ **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: The address is invalid. |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CheckLoopTransfers200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. | [optional]
8
+ **is_loop** | **Boolean** | Whether the transaction from the given source wallet to the destination address can be executed as a Loop transfer. - &#x60;true&#x60;: The transaction can be executed as a Loop transfer. - &#x60;false&#x60;: The transaction cannot be executed as a Loop transfer. | [optional]
9
+
10
+
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
8
  **address** | **String** | The destination address. |
9
- **value** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
9
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
10
10
  **calldata** | **Blob** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
11
 
12
12
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **source** | [**StakingSource**](StakingSource.md) | | [optional]
8
9
  **pool_id** | **String** | The id of the staking pool |
9
10
  **amount** | **String** | The amount to stake |
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of finality provider. |
9
9
  **stake_block_time** | **Number** | The stake block time. |
10
+ **only_sign** | **Boolean** | Whether to only sign transactions. Default is &#x60;false&#x60;, if set to &#x60;true&#x60;, the transaction will not be submitted to the blockchain automatically. You can call &#x60;Broadcast transactions&#x60; to submit the transaction to the blockchain, Or you can find the signed raw_tx by &#x60;Get transaction information&#x60; and broadcast it yourself. | [optional]
10
11
  **operator** | **String** | The operator address. | [optional]
11
12
  **fee_recipient** | **Number** | The fee recipient address, if not provided the staker address will be used. | [optional]
12
13
 
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **type** | [**TSSRequestType**](TSSRequestType.md) | |
8
8
  **target_key_share_holder_group_id** | **String** | The target key share holder group ID. |
9
9
  **source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
10
+ **description** | **String** | The description of the TSS request. | [optional]
10
11
 
11
12
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **staking_id** | **String** | The id of the related staking. |
8
9
  **amount** | **String** | The amount to stake | [optional]
9
10
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
@@ -4,6 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **staking_id** | **String** | The id of the related staking. |
8
9
  **amount** | **String** | The amount to stake | [optional]
9
10
  **address** | **String** | The withdraw to address. | [optional]
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
12
  **project_id** | **String** | The project ID. | [optional]
13
+ **project_name** | **String** | The project name. | [optional]
13
14
  **vault_id** | **String** | The ID of the owning vault. |
15
+ **vault_name** | **String** | The vault name. | [optional]
14
16
  **apikey** | **String** | The API key of your exchange account. |
15
17
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
16
18
  **main_wallet_id** | **String** | The wallet ID of the Main Account associated with the Sub Account. This property is returned only if you are creating or querying an Exchange Wallet (Sub Account). | [optional]