@cobo/cobo-waas2 1.8.0 → 1.10.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 (205) hide show
  1. package/README.md +117 -33
  2. package/dist/ApiClient.js +11 -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/PrimeBrokerApi.js +317 -0
  7. package/dist/api/StakingsApi.js +412 -18
  8. package/dist/api/SwapsApi.js +360 -0
  9. package/dist/api/TransactionsApi.js +64 -20
  10. package/dist/api/TravelRuleApi.js +18 -18
  11. package/dist/api/WalletsApi.js +84 -13
  12. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  13. package/dist/api/WalletsMPCWalletsApi.js +151 -39
  14. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  15. package/dist/index.js +276 -10
  16. package/dist/model/ActivityExtra.js +5 -5
  17. package/dist/model/AddressBalance.js +129 -0
  18. package/dist/model/AddressTransferDestination.js +36 -0
  19. package/dist/model/AddressesEventData.js +4 -4
  20. package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
  21. package/dist/model/ApprovalStatementStatus.js +81 -0
  22. package/dist/model/AssetBalance.js +6 -6
  23. package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
  24. package/dist/model/BabylonAirdropPop.js +186 -0
  25. package/dist/model/BabylonAirdropRegistration.js +172 -0
  26. package/dist/model/BabylonEligibleAirdrop.js +157 -0
  27. package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
  28. package/dist/model/BabylonRegistrationStatus.js +66 -0
  29. package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
  30. package/dist/model/BabylonStakingRegistration.js +185 -0
  31. package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
  32. package/dist/model/{SwapSummary.js → ChangeGuardPubkey200Response.js} +28 -39
  33. package/dist/model/ContractCallParams.js +36 -0
  34. package/dist/model/ContractCallSource.js +6 -0
  35. package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
  36. package/dist/model/CreateAddressRequest.js +28 -2
  37. package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
  38. package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
  39. package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
  40. package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
  41. package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
  42. package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
  43. package/dist/model/CreateSwapActivityRequest.js +153 -0
  44. package/dist/model/CreateSwapQuote201Response.js +264 -0
  45. package/dist/model/CreateSwapQuoteRequest.js +166 -0
  46. package/dist/model/DeleteGuardPubkey201Response.js +110 -0
  47. package/dist/model/EthStakeEstimatedFee.js +1 -1
  48. package/dist/model/EthStakingActivityDetailExtra.js +1 -1
  49. package/dist/model/GetStakingEstimationFee201Response.js +1 -1
  50. package/dist/model/GetTransactionLimitation200Response.js +4 -4
  51. package/dist/model/GuardPubkeyStatus.js +91 -0
  52. package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
  53. package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
  54. package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
  55. package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
  56. package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
  57. package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
  58. package/dist/model/ListEnableTokenPairs200Response.js +123 -0
  59. package/dist/model/ListKeyShareHolders200Response.js +123 -0
  60. package/dist/model/ListSwapActivities200Response.js +123 -0
  61. package/dist/model/MessageSignDestination.js +70 -8
  62. package/dist/model/MessageSignDestinationType.js +12 -2
  63. package/dist/model/MessageSignSource.js +6 -0
  64. package/dist/model/MpcContractCallSource.js +16 -0
  65. package/dist/model/MpcMessageSignSource.js +16 -0
  66. package/dist/model/MpcSigningGroup.js +27 -4
  67. package/dist/model/MpcTransferSource.js +16 -0
  68. package/dist/model/OrgInfo.js +3 -3
  69. package/dist/model/QueryApprovalStatement200Response.js +122 -0
  70. package/dist/model/QueryGuardPubkey200Response.js +129 -0
  71. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
  72. package/dist/model/RootPubkey.js +1 -1
  73. package/dist/model/SelfCustodyWallet.js +7 -7
  74. package/dist/model/StakingPoolId.js +30 -0
  75. package/dist/model/StakingPoolType.js +15 -0
  76. package/dist/model/SubWalletAssetBalance.js +6 -6
  77. package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
  78. package/dist/model/SwapQuote.js +203 -0
  79. package/dist/model/TSSGroups.js +1 -1
  80. package/dist/model/TokenBalance.js +6 -6
  81. package/dist/model/TransactionDepositToAddressDestination.js +16 -0
  82. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
  83. package/dist/model/TransactionDestination.js +10 -4
  84. package/dist/model/TransactionRawTxInfo.js +29 -0
  85. package/dist/model/TransactionRbfSource.js +6 -0
  86. package/dist/model/TransactionSubStatus.js +5 -0
  87. package/dist/model/TransactionUserApprovalDetail.js +3 -3
  88. package/dist/model/TransactionUtxoChange.js +101 -0
  89. package/dist/model/TransferDestination.js +6 -0
  90. package/dist/model/TransferParams.js +36 -0
  91. package/dist/model/TransferSource.js +6 -0
  92. package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
  93. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
  94. package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
  95. package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
  96. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
  97. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
  98. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
  99. package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
  100. package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
  101. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
  102. package/dist/model/Vasp.js +7 -7
  103. package/dist/model/WebhookEventData.js +2 -2
  104. package/docs/ActivityExtra.md +5 -5
  105. package/docs/AddressBalance.md +10 -0
  106. package/docs/AddressBooksApi.md +1 -1
  107. package/docs/AddressTransferDestination.md +14 -0
  108. package/docs/AddressesEventData.md +1 -1
  109. package/docs/AddressesEventDataAllOfAddresses.md +19 -0
  110. package/docs/ApprovalStatementStatus.md +20 -0
  111. package/docs/AssetBalance.md +1 -1
  112. package/docs/BTCEIP191MessageSignDestination.md +10 -0
  113. package/docs/BabylonAirdropPop.md +14 -0
  114. package/docs/BabylonAirdropRegistration.md +16 -0
  115. package/docs/BabylonEligibleAirdrop.md +14 -0
  116. package/docs/BabylonRegistrationRequestStatus.md +14 -0
  117. package/docs/BabylonRegistrationStatus.md +14 -0
  118. package/docs/BabylonStakingActivityDetailExtra.md +1 -1
  119. package/docs/BabylonStakingRegistration.md +17 -0
  120. package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
  121. package/docs/ChangeGuardPubkey200Response.md +9 -0
  122. package/docs/ContractCallParams.md +14 -0
  123. package/docs/ContractCallSource.md +1 -0
  124. package/docs/CoreStakingActivityDetailExtra.md +3 -3
  125. package/docs/CreateAddressRequest.md +3 -1
  126. package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
  127. package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
  128. package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
  129. package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
  130. package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
  131. package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
  132. package/docs/CreateSwapActivityRequest.md +12 -0
  133. package/docs/CreateSwapQuote201Response.md +17 -0
  134. package/docs/CreateSwapQuoteRequest.md +13 -0
  135. package/docs/DeleteGuardPubkey201Response.md +9 -0
  136. package/docs/DevelopersApi.md +5 -5
  137. package/docs/DevelopersWebhooksApi.md +8 -8
  138. package/docs/EthStakeEstimatedFee.md +1 -1
  139. package/docs/EthStakingActivityDetailExtra.md +1 -1
  140. package/docs/GetStakingEstimationFee201Response.md +1 -1
  141. package/docs/GetTransactionLimitation200Response.md +4 -4
  142. package/docs/GuardPubkeyStatus.md +24 -0
  143. package/docs/ListAddressBalancesByToken200Response.md +10 -0
  144. package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
  145. package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
  146. package/docs/ListBabylonEligibleStakings200Response.md +10 -0
  147. package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
  148. package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
  149. package/docs/ListEnableTokenPairs200Response.md +10 -0
  150. package/docs/ListKeyShareHolders200Response.md +10 -0
  151. package/docs/ListSwapActivities200Response.md +10 -0
  152. package/docs/MessageSignDestination.md +1 -0
  153. package/docs/MessageSignDestinationType.md +6 -2
  154. package/docs/MessageSignSource.md +1 -0
  155. package/docs/MpcContractCallSource.md +1 -0
  156. package/docs/MpcMessageSignSource.md +1 -0
  157. package/docs/MpcSigningGroup.md +1 -1
  158. package/docs/MpcTransferSource.md +1 -0
  159. package/docs/OrgInfo.md +1 -1
  160. package/docs/PrimeBrokerApi.md +318 -0
  161. package/docs/QueryApprovalStatement200Response.md +12 -0
  162. package/docs/QueryGuardPubkey200Response.md +11 -0
  163. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
  164. package/docs/RootPubkey.md +1 -1
  165. package/docs/SelfCustodyWallet.md +3 -3
  166. package/docs/StakingPoolId.md +12 -0
  167. package/docs/StakingPoolType.md +6 -0
  168. package/docs/StakingsApi.md +460 -12
  169. package/docs/SubWalletAssetBalance.md +1 -1
  170. package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
  171. package/docs/SwapQuote.md +16 -0
  172. package/docs/SwapsApi.md +348 -0
  173. package/docs/TSSGroups.md +1 -1
  174. package/docs/TokenBalance.md +1 -1
  175. package/docs/TransactionDepositToAddressDestination.md +1 -0
  176. package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
  177. package/docs/TransactionDestination.md +1 -0
  178. package/docs/TransactionRawTxInfo.md +2 -0
  179. package/docs/TransactionRbfSource.md +1 -0
  180. package/docs/TransactionSubStatus.md +2 -0
  181. package/docs/TransactionUserApprovalDetail.md +3 -3
  182. package/docs/TransactionUtxoChange.md +10 -0
  183. package/docs/TransactionsApi.md +68 -17
  184. package/docs/TransferDestination.md +14 -0
  185. package/docs/TransferParams.md +14 -0
  186. package/docs/TransferSource.md +1 -0
  187. package/docs/TravelRuleApi.md +13 -13
  188. package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
  189. package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
  190. package/docs/TravelRuleDepositLegalEntity.md +3 -3
  191. package/docs/TravelRuleDepositNaturalEntity.md +5 -5
  192. package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
  193. package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
  194. package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
  195. package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
  196. package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
  197. package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
  198. package/docs/Vasp.md +3 -3
  199. package/docs/WalletsApi.md +78 -13
  200. package/docs/WalletsExchangeWalletApi.md +1 -1
  201. package/docs/WalletsMPCWalletsApi.md +141 -27
  202. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  203. package/docs/WebhookEventData.md +1 -1
  204. package/package.json +2 -2
  205. package/docs/SwapSummary.md +0 -10
@@ -0,0 +1,66 @@
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
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ 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); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ 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); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ 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); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class BabylonRegistrationRequestStatus.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var BabylonRegistrationRequestStatus = exports["default"] = /*#__PURE__*/function () {
31
+ function BabylonRegistrationRequestStatus() {
32
+ _classCallCheck(this, BabylonRegistrationRequestStatus);
33
+ /**
34
+ * value: "Processing"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Processing", "Processing");
38
+ /**
39
+ * value: "Completed"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Completed", "Completed");
43
+ /**
44
+ * value: "Failed"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Failed", "Failed");
48
+ /**
49
+ * value: "unknown_default_open_api"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
53
+ }
54
+ return _createClass(BabylonRegistrationRequestStatus, null, [{
55
+ key: "constructFromObject",
56
+ value:
57
+ /**
58
+ * Returns a <code>BabylonRegistrationRequestStatus</code> enum value from a Javascript object name.
59
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
60
+ * @return {module:model/BabylonRegistrationRequestStatus} The enum <code>BabylonRegistrationRequestStatus</code> value.
61
+ */
62
+ function constructFromObject(object) {
63
+ return object;
64
+ }
65
+ }]);
66
+ }();
@@ -0,0 +1,66 @@
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
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ 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); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ 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); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ 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); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class BabylonRegistrationStatus.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var BabylonRegistrationStatus = exports["default"] = /*#__PURE__*/function () {
31
+ function BabylonRegistrationStatus() {
32
+ _classCallCheck(this, BabylonRegistrationStatus);
33
+ /**
34
+ * value: "Registered"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Registered", "Registered");
38
+ /**
39
+ * value: "Unregistered"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Unregistered", "Unregistered");
43
+ /**
44
+ * value: "Registering"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Registering", "Registering");
48
+ /**
49
+ * value: "unknown_default_open_api"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
53
+ }
54
+ return _createClass(BabylonRegistrationStatus, null, [{
55
+ key: "constructFromObject",
56
+ value:
57
+ /**
58
+ * Returns a <code>BabylonRegistrationStatus</code> enum value from a Javascript object name.
59
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
60
+ * @return {module:model/BabylonRegistrationStatus} The enum <code>BabylonRegistrationStatus</code> value.
61
+ */
62
+ function constructFromObject(object) {
63
+ return object;
64
+ }
65
+ }]);
66
+ }();
@@ -141,7 +141,7 @@ BabylonStakingActivityDetailExtra.prototype['finality_provider_public_key'] = un
141
141
  BabylonStakingActivityDetailExtra.prototype['stake_block_time'] = undefined;
142
142
 
143
143
  /**
144
- * Whether to automatically broadcast the transaction. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling [Get transaction information](/v2/api-references/transactions/get-transaction-information) and broadcast it yourself.
144
+ * Whether to automatically broadcast the transaction. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](https://www.cobo.com/developers/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information) and broadcast it yourself.
145
145
  * @member {Boolean} auto_broadcast
146
146
  */
147
147
  BabylonStakingActivityDetailExtra.prototype['auto_broadcast'] = undefined;
@@ -0,0 +1,185 @@
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 _BabylonRegistrationRequestStatus = _interopRequireDefault(require("./BabylonRegistrationRequestStatus"));
9
+ var _StakingSource = _interopRequireDefault(require("./StakingSource"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ 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); }
12
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
13
+ 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); } }
14
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ 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); } /**
17
+ * Cobo Wallet as a Service 2.0
18
+ *
19
+ * Contact: help@cobo.com
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The BabylonStakingRegistration model module.
28
+ * @module model/BabylonStakingRegistration
29
+ */
30
+ var BabylonStakingRegistration = /*#__PURE__*/function () {
31
+ /**
32
+ * Constructs a new <code>BabylonStakingRegistration</code>.
33
+ * The details of aBabylon Phase-2 registration.
34
+ * @alias module:model/BabylonStakingRegistration
35
+ */
36
+ function BabylonStakingRegistration() {
37
+ _classCallCheck(this, BabylonStakingRegistration);
38
+ BabylonStakingRegistration.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(BabylonStakingRegistration, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>BabylonStakingRegistration</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/BabylonStakingRegistration} obj Optional instance to populate.
55
+ * @return {module:model/BabylonStakingRegistration} The populated <code>BabylonStakingRegistration</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new BabylonStakingRegistration();
62
+ if (data.hasOwnProperty('id')) {
63
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('staking_id')) {
66
+ obj['staking_id'] = _ApiClient["default"].convertToType(data['staking_id'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('babylon_address')) {
69
+ obj['babylon_address'] = _StakingSource["default"].constructFromObject(data['babylon_address']);
70
+ }
71
+ if (data.hasOwnProperty('btc_address')) {
72
+ obj['btc_address'] = _StakingSource["default"].constructFromObject(data['btc_address']);
73
+ }
74
+ if (data.hasOwnProperty('status')) {
75
+ obj['status'] = _BabylonRegistrationRequestStatus["default"].constructFromObject(data['status']);
76
+ }
77
+ if (data.hasOwnProperty('staked_amount')) {
78
+ obj['staked_amount'] = _ApiClient["default"].convertToType(data['staked_amount'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('error_message')) {
81
+ obj['error_message'] = _ApiClient["default"].convertToType(data['error_message'], 'String');
82
+ }
83
+ if (data.hasOwnProperty('created_timestamp')) {
84
+ obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
85
+ }
86
+ if (data.hasOwnProperty('updated_timestamp')) {
87
+ obj['updated_timestamp'] = _ApiClient["default"].convertToType(data['updated_timestamp'], 'Number');
88
+ }
89
+ }
90
+ return obj;
91
+ }
92
+
93
+ /**
94
+ * Validates the JSON data with respect to <code>BabylonStakingRegistration</code>.
95
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
96
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>BabylonStakingRegistration</code>.
97
+ */
98
+ }, {
99
+ key: "validateJSON",
100
+ value: function validateJSON(data) {
101
+ // ensure the json data is a string
102
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
103
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
104
+ }
105
+ // ensure the json data is a string
106
+ if (data['staking_id'] && !(typeof data['staking_id'] === 'string' || data['staking_id'] instanceof String)) {
107
+ throw new Error("Expected the field `staking_id` to be a primitive type in the JSON string but got " + data['staking_id']);
108
+ }
109
+ // validate the optional field `babylon_address`
110
+ if (data['babylon_address']) {
111
+ // data not null
112
+ if (!!_StakingSource["default"].validateJSON) {
113
+ _StakingSource["default"].validateJSON(data['babylon_address']);
114
+ }
115
+ }
116
+ // validate the optional field `btc_address`
117
+ if (data['btc_address']) {
118
+ // data not null
119
+ if (!!_StakingSource["default"].validateJSON) {
120
+ _StakingSource["default"].validateJSON(data['btc_address']);
121
+ }
122
+ }
123
+ // ensure the json data is a string
124
+ if (data['staked_amount'] && !(typeof data['staked_amount'] === 'string' || data['staked_amount'] instanceof String)) {
125
+ throw new Error("Expected the field `staked_amount` to be a primitive type in the JSON string but got " + data['staked_amount']);
126
+ }
127
+ // ensure the json data is a string
128
+ if (data['error_message'] && !(typeof data['error_message'] === 'string' || data['error_message'] instanceof String)) {
129
+ throw new Error("Expected the field `error_message` to be a primitive type in the JSON string but got " + data['error_message']);
130
+ }
131
+ return true;
132
+ }
133
+ }]);
134
+ }();
135
+ /**
136
+ * The registration ID, a unique identifier for tracking the staking registration.
137
+ * @member {String} id
138
+ */
139
+ BabylonStakingRegistration.prototype['id'] = undefined;
140
+
141
+ /**
142
+ * The ID of the Phase-1 BTC staking position.
143
+ * @member {String} staking_id
144
+ */
145
+ BabylonStakingRegistration.prototype['staking_id'] = undefined;
146
+
147
+ /**
148
+ * @member {module:model/StakingSource} babylon_address
149
+ */
150
+ BabylonStakingRegistration.prototype['babylon_address'] = undefined;
151
+
152
+ /**
153
+ * @member {module:model/StakingSource} btc_address
154
+ */
155
+ BabylonStakingRegistration.prototype['btc_address'] = undefined;
156
+
157
+ /**
158
+ * @member {module:model/BabylonRegistrationRequestStatus} status
159
+ */
160
+ BabylonStakingRegistration.prototype['status'] = undefined;
161
+
162
+ /**
163
+ * The amount of BTC that is staked.
164
+ * @member {String} staked_amount
165
+ */
166
+ BabylonStakingRegistration.prototype['staked_amount'] = undefined;
167
+
168
+ /**
169
+ * The error message if the Babylon Phase-2 registration request failed.
170
+ * @member {String} error_message
171
+ */
172
+ BabylonStakingRegistration.prototype['error_message'] = undefined;
173
+
174
+ /**
175
+ * The time when the registration was created, in Unix timestamp format, measured in milliseconds.
176
+ * @member {Number} created_timestamp
177
+ */
178
+ BabylonStakingRegistration.prototype['created_timestamp'] = undefined;
179
+
180
+ /**
181
+ * The time when the registration was updated, in Unix timestamp format, measured in milliseconds.
182
+ * @member {Number} updated_timestamp
183
+ */
184
+ BabylonStakingRegistration.prototype['updated_timestamp'] = undefined;
185
+ var _default = exports["default"] = BabylonStakingRegistration;
@@ -25,20 +25,20 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  *
26
26
  */
27
27
  /**
28
- * The TokenBalanceBalance model module.
29
- * @module model/TokenBalanceBalance
28
+ * The Balance model module.
29
+ * @module model/Balance
30
30
  */
31
- var TokenBalanceBalance = /*#__PURE__*/function () {
31
+ var Balance = /*#__PURE__*/function () {
32
32
  /**
33
- * Constructs a new <code>TokenBalanceBalance</code>.
33
+ * Constructs a new <code>Balance</code>.
34
34
  * The balance details.
35
- * @alias module:model/TokenBalanceBalance
35
+ * @alias module:model/Balance
36
36
  * @param total {String} The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
37
37
  * @param available {String} The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
38
38
  */
39
- function TokenBalanceBalance(total, available) {
40
- _classCallCheck(this, TokenBalanceBalance);
41
- TokenBalanceBalance.initialize(this, total, available);
39
+ function Balance(total, available) {
40
+ _classCallCheck(this, Balance);
41
+ Balance.initialize(this, total, available);
42
42
  }
43
43
 
44
44
  /**
@@ -46,7 +46,7 @@ var TokenBalanceBalance = /*#__PURE__*/function () {
46
46
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
47
47
  * Only for internal use.
48
48
  */
49
- return _createClass(TokenBalanceBalance, null, [{
49
+ return _createClass(Balance, null, [{
50
50
  key: "initialize",
51
51
  value: function initialize(obj, total, available) {
52
52
  obj['total'] = total;
@@ -54,17 +54,17 @@ var TokenBalanceBalance = /*#__PURE__*/function () {
54
54
  }
55
55
 
56
56
  /**
57
- * Constructs a <code>TokenBalanceBalance</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Constructs a <code>Balance</code> from a plain JavaScript object, optionally creating a new instance.
58
58
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
59
59
  * @param {Object} data The plain JavaScript object bearing properties of interest.
60
- * @param {module:model/TokenBalanceBalance} obj Optional instance to populate.
61
- * @return {module:model/TokenBalanceBalance} The populated <code>TokenBalanceBalance</code> instance.
60
+ * @param {module:model/Balance} obj Optional instance to populate.
61
+ * @return {module:model/Balance} The populated <code>Balance</code> instance.
62
62
  */
63
63
  }, {
64
64
  key: "constructFromObject",
65
65
  value: function constructFromObject(data, obj) {
66
66
  if (data) {
67
- obj = obj || new TokenBalanceBalance();
67
+ obj = obj || new Balance();
68
68
  if (data.hasOwnProperty('total')) {
69
69
  obj['total'] = _ApiClient["default"].convertToType(data['total'], 'String');
70
70
  }
@@ -82,15 +82,15 @@ var TokenBalanceBalance = /*#__PURE__*/function () {
82
82
  }
83
83
 
84
84
  /**
85
- * Validates the JSON data with respect to <code>TokenBalanceBalance</code>.
85
+ * Validates the JSON data with respect to <code>Balance</code>.
86
86
  * @param {Object} data The plain JavaScript object bearing properties of interest.
87
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>TokenBalanceBalance</code>.
87
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Balance</code>.
88
88
  */
89
89
  }, {
90
90
  key: "validateJSON",
91
91
  value: function validateJSON(data) {
92
92
  // check to make sure all required properties are present in the JSON string
93
- var _iterator = _createForOfIteratorHelper(TokenBalanceBalance.RequiredProperties),
93
+ var _iterator = _createForOfIteratorHelper(Balance.RequiredProperties),
94
94
  _step;
95
95
  try {
96
96
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -124,31 +124,31 @@ var TokenBalanceBalance = /*#__PURE__*/function () {
124
124
  }
125
125
  }]);
126
126
  }();
127
- TokenBalanceBalance.RequiredProperties = ["total", "available"];
127
+ Balance.RequiredProperties = ["total", "available"];
128
128
 
129
129
  /**
130
130
  * The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
131
131
  * @member {String} total
132
132
  */
133
- TokenBalanceBalance.prototype['total'] = undefined;
133
+ Balance.prototype['total'] = undefined;
134
134
 
135
135
  /**
136
136
  * The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
137
137
  * @member {String} available
138
138
  */
139
- TokenBalanceBalance.prototype['available'] = undefined;
139
+ Balance.prototype['available'] = undefined;
140
140
 
141
141
  /**
142
142
  * The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
143
143
  * @member {String} pending
144
144
  * @default '0'
145
145
  */
146
- TokenBalanceBalance.prototype['pending'] = '0';
146
+ Balance.prototype['pending'] = '0';
147
147
 
148
148
  /**
149
149
  * For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
150
150
  * @member {String} locked
151
151
  * @default '0'
152
152
  */
153
- TokenBalanceBalance.prototype['locked'] = '0';
154
- var _default = exports["default"] = TokenBalanceBalance;
153
+ Balance.prototype['locked'] = '0';
154
+ var _default = exports["default"] = Balance;
@@ -25,19 +25,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  *
26
26
  */
27
27
  /**
28
- * The SwapSummary model module.
29
- * @module model/SwapSummary
28
+ * The ChangeGuardPubkey200Response model module.
29
+ * @module model/ChangeGuardPubkey200Response
30
30
  */
31
- var SwapSummary = /*#__PURE__*/function () {
31
+ var ChangeGuardPubkey200Response = /*#__PURE__*/function () {
32
32
  /**
33
- * Constructs a new <code>SwapSummary</code>.
34
- * @alias module:model/SwapSummary
35
- * @param total_usd_value {String} The total USD value of the swap activities, represented as a string.
36
- * @param activity_count {Number} The total number of swap activities.
33
+ * Constructs a new <code>ChangeGuardPubkey200Response</code>.
34
+ * @alias module:model/ChangeGuardPubkey200Response
35
+ * @param binder_id {String} The binding ID.
37
36
  */
38
- function SwapSummary(total_usd_value, activity_count) {
39
- _classCallCheck(this, SwapSummary);
40
- SwapSummary.initialize(this, total_usd_value, activity_count);
37
+ function ChangeGuardPubkey200Response(binder_id) {
38
+ _classCallCheck(this, ChangeGuardPubkey200Response);
39
+ ChangeGuardPubkey200Response.initialize(this, binder_id);
41
40
  }
42
41
 
43
42
  /**
@@ -45,45 +44,41 @@ var SwapSummary = /*#__PURE__*/function () {
45
44
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
45
  * Only for internal use.
47
46
  */
48
- return _createClass(SwapSummary, null, [{
47
+ return _createClass(ChangeGuardPubkey200Response, null, [{
49
48
  key: "initialize",
50
- value: function initialize(obj, total_usd_value, activity_count) {
51
- obj['total_usd_value'] = total_usd_value;
52
- obj['activity_count'] = activity_count;
49
+ value: function initialize(obj, binder_id) {
50
+ obj['binder_id'] = binder_id;
53
51
  }
54
52
 
55
53
  /**
56
- * Constructs a <code>SwapSummary</code> from a plain JavaScript object, optionally creating a new instance.
54
+ * Constructs a <code>ChangeGuardPubkey200Response</code> from a plain JavaScript object, optionally creating a new instance.
57
55
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
56
  * @param {Object} data The plain JavaScript object bearing properties of interest.
59
- * @param {module:model/SwapSummary} obj Optional instance to populate.
60
- * @return {module:model/SwapSummary} The populated <code>SwapSummary</code> instance.
57
+ * @param {module:model/ChangeGuardPubkey200Response} obj Optional instance to populate.
58
+ * @return {module:model/ChangeGuardPubkey200Response} The populated <code>ChangeGuardPubkey200Response</code> instance.
61
59
  */
62
60
  }, {
63
61
  key: "constructFromObject",
64
62
  value: function constructFromObject(data, obj) {
65
63
  if (data) {
66
- obj = obj || new SwapSummary();
67
- if (data.hasOwnProperty('total_usd_value')) {
68
- obj['total_usd_value'] = _ApiClient["default"].convertToType(data['total_usd_value'], 'String');
69
- }
70
- if (data.hasOwnProperty('activity_count')) {
71
- obj['activity_count'] = _ApiClient["default"].convertToType(data['activity_count'], 'Number');
64
+ obj = obj || new ChangeGuardPubkey200Response();
65
+ if (data.hasOwnProperty('binder_id')) {
66
+ obj['binder_id'] = _ApiClient["default"].convertToType(data['binder_id'], 'String');
72
67
  }
73
68
  }
74
69
  return obj;
75
70
  }
76
71
 
77
72
  /**
78
- * Validates the JSON data with respect to <code>SwapSummary</code>.
73
+ * Validates the JSON data with respect to <code>ChangeGuardPubkey200Response</code>.
79
74
  * @param {Object} data The plain JavaScript object bearing properties of interest.
80
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>SwapSummary</code>.
75
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ChangeGuardPubkey200Response</code>.
81
76
  */
82
77
  }, {
83
78
  key: "validateJSON",
84
79
  value: function validateJSON(data) {
85
80
  // check to make sure all required properties are present in the JSON string
86
- var _iterator = _createForOfIteratorHelper(SwapSummary.RequiredProperties),
81
+ var _iterator = _createForOfIteratorHelper(ChangeGuardPubkey200Response.RequiredProperties),
87
82
  _step;
88
83
  try {
89
84
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -98,24 +93,18 @@ var SwapSummary = /*#__PURE__*/function () {
98
93
  } finally {
99
94
  _iterator.f();
100
95
  }
101
- if (data['total_usd_value'] && !(typeof data['total_usd_value'] === 'string' || data['total_usd_value'] instanceof String)) {
102
- throw new Error("Expected the field `total_usd_value` to be a primitive type in the JSON string but got " + data['total_usd_value']);
96
+ if (data['binder_id'] && !(typeof data['binder_id'] === 'string' || data['binder_id'] instanceof String)) {
97
+ throw new Error("Expected the field `binder_id` to be a primitive type in the JSON string but got " + data['binder_id']);
103
98
  }
104
99
  return true;
105
100
  }
106
101
  }]);
107
102
  }();
108
- SwapSummary.RequiredProperties = ["total_usd_value", "activity_count"];
109
-
110
- /**
111
- * The total USD value of the swap activities, represented as a string.
112
- * @member {String} total_usd_value
113
- */
114
- SwapSummary.prototype['total_usd_value'] = undefined;
103
+ ChangeGuardPubkey200Response.RequiredProperties = ["binder_id"];
115
104
 
116
105
  /**
117
- * The total number of swap activities.
118
- * @member {Number} activity_count
106
+ * The binding ID.
107
+ * @member {String} binder_id
119
108
  */
120
- SwapSummary.prototype['activity_count'] = undefined;
121
- var _default = exports["default"] = SwapSummary;
109
+ ChangeGuardPubkey200Response.prototype['binder_id'] = undefined;
110
+ var _default = exports["default"] = ChangeGuardPubkey200Response;
@@ -94,6 +94,9 @@ var ContractCallParams = /*#__PURE__*/function () {
94
94
  if (data.hasOwnProperty('fee')) {
95
95
  obj['fee'] = _TransactionRequestFee["default"].constructFromObject(data['fee']);
96
96
  }
97
+ if (data.hasOwnProperty('transaction_process_type')) {
98
+ obj['transaction_process_type'] = _ApiClient["default"].convertToType(data['transaction_process_type'], 'String');
99
+ }
97
100
  if (data.hasOwnProperty('auto_fuel')) {
98
101
  obj['auto_fuel'] = _AutoFuelType["default"].constructFromObject(data['auto_fuel']);
99
102
  }
@@ -161,6 +164,10 @@ var ContractCallParams = /*#__PURE__*/function () {
161
164
  _TransactionRequestFee["default"].validateJSON(data['fee']);
162
165
  }
163
166
  }
167
+ // ensure the json data is a string
168
+ if (data['transaction_process_type'] && !(typeof data['transaction_process_type'] === 'string' || data['transaction_process_type'] instanceof String)) {
169
+ throw new Error("Expected the field `transaction_process_type` to be a primitive type in the JSON string but got " + data['transaction_process_type']);
170
+ }
164
171
  return true;
165
172
  }
166
173
  }]);
@@ -206,8 +213,37 @@ ContractCallParams.prototype['category_names'] = undefined;
206
213
  */
207
214
  ContractCallParams.prototype['fee'] = undefined;
208
215
 
216
+ /**
217
+ * Transaction processing type. Possible values are: - `AutoProcess` (default): After the transaction is constructed, it will be automatically signed and broadcast. - `BuildOnly`: Set to this value if you want to build the transaction first without automatically signing and broadcasting it. You can manually call the [Sign and broadcast transaction](https://www.cobo.com/developers/v2/api-references/transactions/sign-and-broadcast-transaction) operation to complete the signing and broadcasting process.
218
+ * @member {module:model/ContractCallParams.TransactionProcessTypeEnum} transaction_process_type
219
+ */
220
+ ContractCallParams.prototype['transaction_process_type'] = undefined;
221
+
209
222
  /**
210
223
  * @member {module:model/AutoFuelType} auto_fuel
211
224
  */
212
225
  ContractCallParams.prototype['auto_fuel'] = undefined;
226
+
227
+ /**
228
+ * Allowed values for the <code>transaction_process_type</code> property.
229
+ * @enum {String}
230
+ * @readonly
231
+ */
232
+ ContractCallParams['TransactionProcessTypeEnum'] = {
233
+ /**
234
+ * value: "AutoProcess"
235
+ * @const
236
+ */
237
+ "AutoProcess": "AutoProcess",
238
+ /**
239
+ * value: "BuildOnly"
240
+ * @const
241
+ */
242
+ "BuildOnly": "BuildOnly",
243
+ /**
244
+ * value: "unknown_default_open_api"
245
+ * @const
246
+ */
247
+ "unknown_default_open_api": "unknown_default_open_api"
248
+ };
213
249
  var _default = exports["default"] = ContractCallParams;
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _CoboSafeDelegate = _interopRequireDefault(require("./CoboSafeDelegate"));
9
9
  var _ContractCallSourceType = _interopRequireDefault(require("./ContractCallSourceType"));
10
10
  var _MpcContractCallSource = _interopRequireDefault(require("./MpcContractCallSource"));
11
+ var _MpcSigningGroup = _interopRequireDefault(require("./MpcSigningGroup"));
11
12
  var _SafeContractCallSource = _interopRequireDefault(require("./SafeContractCallSource"));
12
13
  var _ContractCallSource;
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -194,6 +195,11 @@ ContractCallSource.prototype['wallet_id'] = undefined;
194
195
  */
195
196
  ContractCallSource.prototype['address'] = undefined;
196
197
 
198
+ /**
199
+ * @member {module:model/MpcSigningGroup} mpc_used_key_share_holder_group
200
+ */
201
+ ContractCallSource.prototype['mpc_used_key_share_holder_group'] = undefined;
202
+
197
203
  /**
198
204
  * @member {module:model/CoboSafeDelegate} delegate
199
205
  */