@cobo/cobo-waas2 1.4.0 → 1.6.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 (180) hide show
  1. package/README.md +32 -10
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/ServerDemo.js +80 -0
  4. package/dist/api/AddressBooksApi.js +105 -0
  5. package/dist/api/DevelopersApi.js +79 -0
  6. package/dist/api/DevelopersWebhooksApi.js +43 -0
  7. package/dist/api/OAuthApi.js +10 -10
  8. package/dist/api/TransactionsApi.js +12 -12
  9. package/dist/api/WalletsApi.js +60 -59
  10. package/dist/api/WalletsExchangeWalletApi.js +4 -4
  11. package/dist/api/WalletsMPCWalletsApi.js +8 -8
  12. package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
  13. package/dist/index.js +181 -34
  14. package/dist/model/AddressBook.js +25 -10
  15. package/dist/model/AddressTransferDestination.js +2 -2
  16. package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +6 -17
  17. package/dist/model/ApiLogDetails.js +238 -0
  18. package/dist/model/ApiLogSummary.js +161 -0
  19. package/dist/model/BabylonStakeEstimatedFee.js +118 -0
  20. package/dist/model/BabylonValidator.js +5 -0
  21. package/dist/model/CheckAddressChainsValidity200ResponseInner.js +121 -0
  22. package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
  23. package/dist/model/CoboSafeDelegate.js +2 -2
  24. package/dist/model/CreateSmartContractWalletParams.js +1 -1
  25. package/dist/model/CreateStakeActivityExtra.js +42 -8
  26. package/dist/model/CreateUnstakeActivity.js +16 -0
  27. package/dist/model/CreateUnstakeActivityExtra.js +159 -0
  28. package/dist/model/CreateUnstakeActivityRequest.js +20 -0
  29. package/dist/model/ErrorResponse.js +2 -2
  30. package/dist/model/EstimateContractCallFeeParams.js +5 -7
  31. package/dist/model/EstimateFeeParams.js +1 -1
  32. package/dist/model/EstimateTransferFeeParams.js +5 -9
  33. package/dist/model/EstimateUnstakeFee.js +20 -0
  34. package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -5
  35. package/dist/model/EstimatedEvmLegacyFeeSlow.js +3 -5
  36. package/dist/model/EstimatedFee.js +1 -1
  37. package/dist/model/EstimatedFixedFee.js +1 -1
  38. package/dist/model/EthStakeEstimatedFee.js +112 -0
  39. package/dist/model/EthStakeExtra.js +131 -0
  40. package/dist/model/EthStakingExtra.js +131 -0
  41. package/dist/model/EthUnstakeExtra.js +131 -0
  42. package/dist/model/ExchangeId.js +10 -0
  43. package/dist/model/ExtendedTokenInfo.js +17 -4
  44. package/dist/model/FeeGasLimit.js +1 -2
  45. package/dist/model/GetApiKeyInfo200Response.js +251 -0
  46. package/dist/model/GetStakingEstimationFee201Response.js +144 -43
  47. package/dist/model/GetStakingEstimationFeeRequest.js +2 -2
  48. package/dist/model/{GetToken200Response.js → GetToken2XXResponse.js} +21 -21
  49. package/dist/model/GetToken4XXResponse.js +12 -10
  50. package/dist/model/ListAddressBooks200Response.js +123 -0
  51. package/dist/model/MPCDelegate.js +5 -5
  52. package/dist/model/MpcTransferSource.js +2 -2
  53. package/dist/model/{RefreshToken200Response.js → RefreshToken2XXResponse.js} +21 -21
  54. package/dist/model/{WalletBalanceSnapshot.js → RoleScopes.js} +42 -34
  55. package/dist/model/SafeWalletDelegates.js +210 -0
  56. package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
  57. package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
  58. package/dist/model/Scopes.js +142 -0
  59. package/dist/model/SmartContractWalletInfo.js +1 -1
  60. package/dist/model/StakingPoolType.js +5 -0
  61. package/dist/model/StakingsExtra.js +36 -8
  62. package/dist/model/TokenAssetModelType.js +61 -0
  63. package/dist/model/TokenBalanceBalance.js +6 -6
  64. package/dist/model/TokenInfo.js +11 -2
  65. package/dist/model/Transaction.js +1 -1
  66. package/dist/model/TransactionDestination.js +50 -10
  67. package/dist/model/TransactionDestinationType.js +5 -0
  68. package/dist/model/TransactionDetail.js +2 -2
  69. package/dist/model/TransactionDetails.js +2 -2
  70. package/dist/model/TransactionEvmCalldataInfo.js +177 -0
  71. package/dist/model/TransactionEvmContractDestination.js +16 -0
  72. package/dist/model/TransactionEvmContractMethod.js +136 -0
  73. package/dist/model/TransactionEvmEip1559Fee.js +2 -4
  74. package/dist/model/TransactionEvmLegacyFee.js +2 -4
  75. package/dist/model/TransactionFee.js +1 -2
  76. package/dist/model/TransactionRawMessageSignDestination.js +120 -0
  77. package/dist/model/TransactionRbfSource.js +1 -1
  78. package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -2
  79. package/dist/model/TransactionRequestEvmLegacyFee.js +1 -2
  80. package/dist/model/TransactionRequestFee.js +1 -2
  81. package/dist/model/TransactionSmartContractSafeWalletSource.js +4 -6
  82. package/dist/model/TransactionSource.js +1 -1
  83. package/dist/model/TransactionTokeApproval.js +17 -4
  84. package/dist/model/TransactionTransferToAddressDestination.js +2 -2
  85. package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +0 -13
  86. package/dist/model/TransactionWebhookEventData.js +2 -2
  87. package/dist/model/TransferDestination.js +2 -2
  88. package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
  89. package/dist/model/TriggerTestWebhookEventRequest.js +115 -0
  90. package/dist/model/WebhookEventData.js +1 -1
  91. package/docs/AddressBook.md +8 -7
  92. package/docs/AddressBooksApi.md +71 -0
  93. package/docs/AddressTransferDestination.md +2 -2
  94. package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -2
  95. package/docs/ApiLogDetails.md +18 -0
  96. package/docs/ApiLogSummary.md +13 -0
  97. package/docs/BabylonStakeEstimatedFee.md +12 -0
  98. package/docs/BabylonValidator.md +2 -0
  99. package/docs/CheckAddressChainsValidity200ResponseInner.md +10 -0
  100. package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
  101. package/docs/CoboSafeDelegate.md +2 -2
  102. package/docs/CreateStakeActivityExtra.md +1 -0
  103. package/docs/CreateUnstakeActivity.md +1 -0
  104. package/docs/CreateUnstakeActivityExtra.md +10 -0
  105. package/docs/CreateUnstakeActivityRequest.md +1 -0
  106. package/docs/DevelopersApi.md +55 -0
  107. package/docs/DevelopersWebhooksApi.md +53 -0
  108. package/docs/ErrorResponse.md +1 -1
  109. package/docs/EstimateContractCallFeeParams.md +1 -1
  110. package/docs/EstimateFeeParams.md +1 -1
  111. package/docs/EstimateTransferFeeParams.md +2 -2
  112. package/docs/EstimateUnstakeFee.md +1 -0
  113. package/docs/EstimatedEvmEip1559FeeSlow.md +1 -1
  114. package/docs/EstimatedEvmLegacyFeeSlow.md +1 -1
  115. package/docs/EstimatedFee.md +1 -1
  116. package/docs/EstimatedFixedFee.md +1 -1
  117. package/docs/EthStakeEstimatedFee.md +11 -0
  118. package/docs/EthStakeExtra.md +10 -0
  119. package/docs/EthStakingExtra.md +10 -0
  120. package/docs/EthUnstakeExtra.md +10 -0
  121. package/docs/ExchangeId.md +4 -0
  122. package/docs/ExtendedTokenInfo.md +3 -2
  123. package/docs/FeeGasLimit.md +1 -1
  124. package/docs/GetApiKeyInfo200Response.md +30 -0
  125. package/docs/GetStakingEstimationFee201Response.md +3 -0
  126. package/docs/GetStakingEstimationFeeRequest.md +1 -1
  127. package/docs/{GetToken200Response.md → GetToken2XXResponse.md} +1 -1
  128. package/docs/GetToken4XXResponse.md +1 -1
  129. package/docs/ListAddressBooks200Response.md +10 -0
  130. package/docs/MPCDelegate.md +2 -2
  131. package/docs/MpcTransferSource.md +1 -1
  132. package/docs/OAuthApi.md +5 -5
  133. package/docs/PoolDetailsAllOfValidatorsInfo.md +2 -0
  134. package/docs/{RefreshToken200Response.md → RefreshToken2XXResponse.md} +1 -1
  135. package/docs/RoleScopes.md +10 -0
  136. package/docs/SafeWalletDelegates.md +14 -0
  137. package/docs/SafeWalletDelegatesContractCall.md +12 -0
  138. package/docs/SafeWalletDelegatesTransfer.md +12 -0
  139. package/docs/Scopes.md +13 -0
  140. package/docs/StakingPoolType.md +2 -0
  141. package/docs/TokenAssetModelType.md +12 -0
  142. package/docs/TokenBalanceBalance.md +4 -4
  143. package/docs/TokenInfo.md +3 -2
  144. package/docs/Transaction.md +1 -1
  145. package/docs/TransactionDestination.md +4 -2
  146. package/docs/TransactionDestinationType.md +2 -0
  147. package/docs/TransactionDetail.md +1 -1
  148. package/docs/TransactionDetails.md +1 -1
  149. package/docs/TransactionEvmCalldataInfo.md +16 -0
  150. package/docs/TransactionEvmContractDestination.md +1 -0
  151. package/docs/TransactionEvmContractMethod.md +13 -0
  152. package/docs/TransactionEvmEip1559Fee.md +1 -1
  153. package/docs/TransactionEvmLegacyFee.md +1 -1
  154. package/docs/TransactionFee.md +1 -1
  155. package/docs/TransactionRawMessageSignDestination.md +10 -0
  156. package/docs/TransactionRbfSource.md +1 -1
  157. package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
  158. package/docs/TransactionRequestEvmLegacyFee.md +1 -1
  159. package/docs/TransactionRequestFee.md +1 -1
  160. package/docs/TransactionSmartContractSafeWalletSource.md +1 -1
  161. package/docs/TransactionSource.md +1 -1
  162. package/docs/TransactionTokeApproval.md +3 -2
  163. package/docs/TransactionTransferToAddressDestination.md +2 -2
  164. package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +0 -1
  165. package/docs/TransactionWebhookEventData.md +1 -1
  166. package/docs/TransactionsApi.md +7 -7
  167. package/docs/TransferDestination.md +2 -2
  168. package/docs/TriggerTestWebhookEvent201Response.md +9 -0
  169. package/docs/TriggerTestWebhookEventRequest.md +10 -0
  170. package/docs/WalletsApi.md +55 -55
  171. package/docs/WalletsExchangeWalletApi.md +2 -2
  172. package/docs/WalletsMPCWalletsApi.md +4 -4
  173. package/docs/WalletsSmartContractWalletsApi.md +63 -0
  174. package/docs/WebhookEventData.md +1 -1
  175. package/package.json +3 -2
  176. package/dist/model/BookkeepingRecord.js +0 -243
  177. package/docs/BookkeepingRecord.md +0 -19
  178. package/docs/BookkeepingSummary.md +0 -12
  179. package/docs/WalletBalanceSnapshot.md +0 -10
  180. package/docs/WalletBalanceSnapshotRecord.md +0 -13
@@ -0,0 +1,112 @@
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 _EstimatedFee = _interopRequireDefault(require("./EstimatedFee"));
9
+ var _StakingPoolType = _interopRequireDefault(require("./StakingPoolType"));
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 EthStakeEstimatedFee model module.
28
+ * @module model/EthStakeEstimatedFee
29
+ */
30
+ var EthStakeEstimatedFee = /*#__PURE__*/function () {
31
+ /**
32
+ * Constructs a new <code>EthStakeEstimatedFee</code>.
33
+ * @alias module:model/EthStakeEstimatedFee
34
+ */
35
+ function EthStakeEstimatedFee() {
36
+ _classCallCheck(this, EthStakeEstimatedFee);
37
+ EthStakeEstimatedFee.initialize(this);
38
+ }
39
+
40
+ /**
41
+ * Initializes the fields of this object.
42
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
43
+ * Only for internal use.
44
+ */
45
+ return _createClass(EthStakeEstimatedFee, null, [{
46
+ key: "initialize",
47
+ value: function initialize(obj) {}
48
+
49
+ /**
50
+ * Constructs a <code>EthStakeEstimatedFee</code> from a plain JavaScript object, optionally creating a new instance.
51
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
52
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
53
+ * @param {module:model/EthStakeEstimatedFee} obj Optional instance to populate.
54
+ * @return {module:model/EthStakeEstimatedFee} The populated <code>EthStakeEstimatedFee</code> instance.
55
+ */
56
+ }, {
57
+ key: "constructFromObject",
58
+ value: function constructFromObject(data, obj) {
59
+ if (data) {
60
+ obj = obj || new EthStakeEstimatedFee();
61
+ if (data.hasOwnProperty('pool_type')) {
62
+ obj['pool_type'] = _StakingPoolType["default"].constructFromObject(data['pool_type']);
63
+ }
64
+ if (data.hasOwnProperty('fee')) {
65
+ obj['fee'] = _EstimatedFee["default"].constructFromObject(data['fee']);
66
+ }
67
+ if (data.hasOwnProperty('validator_pubkeys')) {
68
+ obj['validator_pubkeys'] = _ApiClient["default"].convertToType(data['validator_pubkeys'], ['String']);
69
+ }
70
+ }
71
+ return obj;
72
+ }
73
+
74
+ /**
75
+ * Validates the JSON data with respect to <code>EthStakeEstimatedFee</code>.
76
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
77
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>EthStakeEstimatedFee</code>.
78
+ */
79
+ }, {
80
+ key: "validateJSON",
81
+ value: function validateJSON(data) {
82
+ // validate the optional field `fee`
83
+ if (data['fee']) {
84
+ // data not null
85
+ if (!!_EstimatedFee["default"].validateJSON) {
86
+ _EstimatedFee["default"].validateJSON(data['fee']);
87
+ }
88
+ }
89
+ // ensure the json data is an array
90
+ if (!Array.isArray(data['validator_pubkeys'])) {
91
+ throw new Error("Expected the field `validator_pubkeys` to be an array in the JSON data but got " + data['validator_pubkeys']);
92
+ }
93
+ return true;
94
+ }
95
+ }]);
96
+ }();
97
+ /**
98
+ * @member {module:model/StakingPoolType} pool_type
99
+ */
100
+ EthStakeEstimatedFee.prototype['pool_type'] = undefined;
101
+
102
+ /**
103
+ * @member {module:model/EstimatedFee} fee
104
+ */
105
+ EthStakeEstimatedFee.prototype['fee'] = undefined;
106
+
107
+ /**
108
+ * A list of public keys associated with the Ethereum validators for this staking operation.
109
+ * @member {Array.<String>} validator_pubkeys
110
+ */
111
+ EthStakeEstimatedFee.prototype['validator_pubkeys'] = undefined;
112
+ var _default = exports["default"] = EthStakeEstimatedFee;
@@ -0,0 +1,131 @@
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 _BaseStakeExtra = _interopRequireDefault(require("./BaseStakeExtra"));
9
+ var _StakingPoolType = _interopRequireDefault(require("./StakingPoolType"));
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 _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ 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); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ 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); } /**
20
+ * Cobo Wallet as a Service 2.0
21
+ *
22
+ * Contact: help@cobo.com
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The EthStakeExtra model module.
31
+ * @module model/EthStakeExtra
32
+ */
33
+ var EthStakeExtra = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>EthStakeExtra</code>.
36
+ * @alias module:model/EthStakeExtra
37
+ * @implements module:model/BaseStakeExtra
38
+ * @param pool_type {module:model/StakingPoolType}
39
+ * @param provider_name {String} The name of the provider.
40
+ */
41
+ function EthStakeExtra(pool_type, provider_name) {
42
+ _classCallCheck(this, EthStakeExtra);
43
+ _BaseStakeExtra["default"].initialize(this, pool_type);
44
+ EthStakeExtra.initialize(this, pool_type, provider_name);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ return _createClass(EthStakeExtra, null, [{
53
+ key: "initialize",
54
+ value: function initialize(obj, pool_type, provider_name) {
55
+ obj['pool_type'] = pool_type;
56
+ obj['provider_name'] = provider_name;
57
+ }
58
+
59
+ /**
60
+ * Constructs a <code>EthStakeExtra</code> from a plain JavaScript object, optionally creating a new instance.
61
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
62
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
63
+ * @param {module:model/EthStakeExtra} obj Optional instance to populate.
64
+ * @return {module:model/EthStakeExtra} The populated <code>EthStakeExtra</code> instance.
65
+ */
66
+ }, {
67
+ key: "constructFromObject",
68
+ value: function constructFromObject(data, obj) {
69
+ if (data) {
70
+ obj = obj || new EthStakeExtra();
71
+ _BaseStakeExtra["default"].constructFromObject(data, obj);
72
+ if (data.hasOwnProperty('pool_type')) {
73
+ obj['pool_type'] = _StakingPoolType["default"].constructFromObject(data['pool_type']);
74
+ }
75
+ if (data.hasOwnProperty('provider_name')) {
76
+ obj['provider_name'] = _ApiClient["default"].convertToType(data['provider_name'], 'String');
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>EthStakeExtra</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>EthStakeExtra</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // check to make sure all required properties are present in the JSON string
91
+ var _iterator = _createForOfIteratorHelper(EthStakeExtra.RequiredProperties),
92
+ _step;
93
+ try {
94
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
95
+ var property = _step.value;
96
+ if (!data.hasOwnProperty(property)) {
97
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
98
+ }
99
+ }
100
+ // ensure the json data is a string
101
+ } catch (err) {
102
+ _iterator.e(err);
103
+ } finally {
104
+ _iterator.f();
105
+ }
106
+ if (data['provider_name'] && !(typeof data['provider_name'] === 'string' || data['provider_name'] instanceof String)) {
107
+ throw new Error("Expected the field `provider_name` to be a primitive type in the JSON string but got " + data['provider_name']);
108
+ }
109
+ return true;
110
+ }
111
+ }]);
112
+ }();
113
+ EthStakeExtra.RequiredProperties = ["pool_type", "provider_name"];
114
+
115
+ /**
116
+ * @member {module:model/StakingPoolType} pool_type
117
+ */
118
+ EthStakeExtra.prototype['pool_type'] = undefined;
119
+
120
+ /**
121
+ * The name of the provider.
122
+ * @member {String} provider_name
123
+ */
124
+ EthStakeExtra.prototype['provider_name'] = undefined;
125
+
126
+ // Implement BaseStakeExtra interface:
127
+ /**
128
+ * @member {module:model/StakingPoolType} pool_type
129
+ */
130
+ _BaseStakeExtra["default"].prototype['pool_type'] = undefined;
131
+ var _default = exports["default"] = EthStakeExtra;
@@ -0,0 +1,131 @@
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 _BaseStakeExtra = _interopRequireDefault(require("./BaseStakeExtra"));
9
+ var _StakingPoolType = _interopRequireDefault(require("./StakingPoolType"));
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 _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ 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); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ 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); } /**
20
+ * Cobo Wallet as a Service 2.0
21
+ *
22
+ * Contact: help@cobo.com
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The EthStakingExtra model module.
31
+ * @module model/EthStakingExtra
32
+ */
33
+ var EthStakingExtra = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>EthStakingExtra</code>.
36
+ * @alias module:model/EthStakingExtra
37
+ * @implements module:model/BaseStakeExtra
38
+ * @param pool_type {module:model/StakingPoolType}
39
+ * @param pos_chain {String} The Proof-of-Stake (PoS) chain.
40
+ */
41
+ function EthStakingExtra(pool_type, pos_chain) {
42
+ _classCallCheck(this, EthStakingExtra);
43
+ _BaseStakeExtra["default"].initialize(this, pool_type);
44
+ EthStakingExtra.initialize(this, pool_type, pos_chain);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ return _createClass(EthStakingExtra, null, [{
53
+ key: "initialize",
54
+ value: function initialize(obj, pool_type, pos_chain) {
55
+ obj['pool_type'] = pool_type;
56
+ obj['pos_chain'] = pos_chain;
57
+ }
58
+
59
+ /**
60
+ * Constructs a <code>EthStakingExtra</code> from a plain JavaScript object, optionally creating a new instance.
61
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
62
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
63
+ * @param {module:model/EthStakingExtra} obj Optional instance to populate.
64
+ * @return {module:model/EthStakingExtra} The populated <code>EthStakingExtra</code> instance.
65
+ */
66
+ }, {
67
+ key: "constructFromObject",
68
+ value: function constructFromObject(data, obj) {
69
+ if (data) {
70
+ obj = obj || new EthStakingExtra();
71
+ _BaseStakeExtra["default"].constructFromObject(data, obj);
72
+ if (data.hasOwnProperty('pool_type')) {
73
+ obj['pool_type'] = _StakingPoolType["default"].constructFromObject(data['pool_type']);
74
+ }
75
+ if (data.hasOwnProperty('pos_chain')) {
76
+ obj['pos_chain'] = _ApiClient["default"].convertToType(data['pos_chain'], 'String');
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>EthStakingExtra</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>EthStakingExtra</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // check to make sure all required properties are present in the JSON string
91
+ var _iterator = _createForOfIteratorHelper(EthStakingExtra.RequiredProperties),
92
+ _step;
93
+ try {
94
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
95
+ var property = _step.value;
96
+ if (!data.hasOwnProperty(property)) {
97
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
98
+ }
99
+ }
100
+ // ensure the json data is a string
101
+ } catch (err) {
102
+ _iterator.e(err);
103
+ } finally {
104
+ _iterator.f();
105
+ }
106
+ if (data['pos_chain'] && !(typeof data['pos_chain'] === 'string' || data['pos_chain'] instanceof String)) {
107
+ throw new Error("Expected the field `pos_chain` to be a primitive type in the JSON string but got " + data['pos_chain']);
108
+ }
109
+ return true;
110
+ }
111
+ }]);
112
+ }();
113
+ EthStakingExtra.RequiredProperties = ["pool_type", "pos_chain"];
114
+
115
+ /**
116
+ * @member {module:model/StakingPoolType} pool_type
117
+ */
118
+ EthStakingExtra.prototype['pool_type'] = undefined;
119
+
120
+ /**
121
+ * The Proof-of-Stake (PoS) chain.
122
+ * @member {String} pos_chain
123
+ */
124
+ EthStakingExtra.prototype['pos_chain'] = undefined;
125
+
126
+ // Implement BaseStakeExtra interface:
127
+ /**
128
+ * @member {module:model/StakingPoolType} pool_type
129
+ */
130
+ _BaseStakeExtra["default"].prototype['pool_type'] = undefined;
131
+ var _default = exports["default"] = EthStakingExtra;
@@ -0,0 +1,131 @@
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 _BaseStakeExtra = _interopRequireDefault(require("./BaseStakeExtra"));
9
+ var _StakingPoolType = _interopRequireDefault(require("./StakingPoolType"));
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 _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ 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); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ 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); } /**
20
+ * Cobo Wallet as a Service 2.0
21
+ *
22
+ * Contact: help@cobo.com
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The EthUnstakeExtra model module.
31
+ * @module model/EthUnstakeExtra
32
+ */
33
+ var EthUnstakeExtra = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>EthUnstakeExtra</code>.
36
+ * @alias module:model/EthUnstakeExtra
37
+ * @implements module:model/BaseStakeExtra
38
+ * @param pool_type {module:model/StakingPoolType}
39
+ * @param validator_pubkeys {Array.<String>} A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain.
40
+ */
41
+ function EthUnstakeExtra(pool_type, validator_pubkeys) {
42
+ _classCallCheck(this, EthUnstakeExtra);
43
+ _BaseStakeExtra["default"].initialize(this, pool_type);
44
+ EthUnstakeExtra.initialize(this, pool_type, validator_pubkeys);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ return _createClass(EthUnstakeExtra, null, [{
53
+ key: "initialize",
54
+ value: function initialize(obj, pool_type, validator_pubkeys) {
55
+ obj['pool_type'] = pool_type;
56
+ obj['validator_pubkeys'] = validator_pubkeys;
57
+ }
58
+
59
+ /**
60
+ * Constructs a <code>EthUnstakeExtra</code> from a plain JavaScript object, optionally creating a new instance.
61
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
62
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
63
+ * @param {module:model/EthUnstakeExtra} obj Optional instance to populate.
64
+ * @return {module:model/EthUnstakeExtra} The populated <code>EthUnstakeExtra</code> instance.
65
+ */
66
+ }, {
67
+ key: "constructFromObject",
68
+ value: function constructFromObject(data, obj) {
69
+ if (data) {
70
+ obj = obj || new EthUnstakeExtra();
71
+ _BaseStakeExtra["default"].constructFromObject(data, obj);
72
+ if (data.hasOwnProperty('pool_type')) {
73
+ obj['pool_type'] = _StakingPoolType["default"].constructFromObject(data['pool_type']);
74
+ }
75
+ if (data.hasOwnProperty('validator_pubkeys')) {
76
+ obj['validator_pubkeys'] = _ApiClient["default"].convertToType(data['validator_pubkeys'], ['String']);
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>EthUnstakeExtra</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>EthUnstakeExtra</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // check to make sure all required properties are present in the JSON string
91
+ var _iterator = _createForOfIteratorHelper(EthUnstakeExtra.RequiredProperties),
92
+ _step;
93
+ try {
94
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
95
+ var property = _step.value;
96
+ if (!data.hasOwnProperty(property)) {
97
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
98
+ }
99
+ }
100
+ // ensure the json data is an array
101
+ } catch (err) {
102
+ _iterator.e(err);
103
+ } finally {
104
+ _iterator.f();
105
+ }
106
+ if (!Array.isArray(data['validator_pubkeys'])) {
107
+ throw new Error("Expected the field `validator_pubkeys` to be an array in the JSON data but got " + data['validator_pubkeys']);
108
+ }
109
+ return true;
110
+ }
111
+ }]);
112
+ }();
113
+ EthUnstakeExtra.RequiredProperties = ["pool_type", "validator_pubkeys"];
114
+
115
+ /**
116
+ * @member {module:model/StakingPoolType} pool_type
117
+ */
118
+ EthUnstakeExtra.prototype['pool_type'] = undefined;
119
+
120
+ /**
121
+ * A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain.
122
+ * @member {Array.<String>} validator_pubkeys
123
+ */
124
+ EthUnstakeExtra.prototype['validator_pubkeys'] = undefined;
125
+
126
+ // Implement BaseStakeExtra interface:
127
+ /**
128
+ * @member {module:model/StakingPoolType} pool_type
129
+ */
130
+ _BaseStakeExtra["default"].prototype['pool_type'] = undefined;
131
+ var _default = exports["default"] = EthUnstakeExtra;
@@ -60,6 +60,16 @@ var ExchangeId = exports["default"] = /*#__PURE__*/function () {
60
60
  * @const
61
61
  */
62
62
  _defineProperty(this, "bitget", "bitget");
63
+ /**
64
+ * value: "bitmart"
65
+ * @const
66
+ */
67
+ _defineProperty(this, "bitmart", "bitmart");
68
+ /**
69
+ * value: "bitfinex"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "bitfinex", "bitfinex");
63
73
  /**
64
74
  * value: "unknown_default_open_api"
65
75
  * @const
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _TokenAssetModelType = _interopRequireDefault(require("./TokenAssetModelType"));
8
9
  var _TokenInfo = _interopRequireDefault(require("./TokenInfo"));
9
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
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); }
@@ -108,6 +109,9 @@ var ExtendedTokenInfo = /*#__PURE__*/function () {
108
109
  if (data.hasOwnProperty('custodial_minimum_deposit_threshold')) {
109
110
  obj['custodial_minimum_deposit_threshold'] = _ApiClient["default"].convertToType(data['custodial_minimum_deposit_threshold'], 'String');
110
111
  }
112
+ if (data.hasOwnProperty('asset_model_type')) {
113
+ obj['asset_model_type'] = _TokenAssetModelType["default"].constructFromObject(data['asset_model_type']);
114
+ }
111
115
  }
112
116
  return obj;
113
117
  }
@@ -250,17 +254,22 @@ ExtendedTokenInfo.prototype['can_deposit'] = false;
250
254
  ExtendedTokenInfo.prototype['can_withdraw'] = false;
251
255
 
252
256
  /**
253
- * The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop transfers](https://loop.top/) do not have this limitation.
257
+ * The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers do not have this limitation.
254
258
  * @member {String} dust_threshold
255
259
  */
256
260
  ExtendedTokenInfo.prototype['dust_threshold'] = undefined;
257
261
 
258
262
  /**
259
- * The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Loop transfers](https://loop.top/) do not have this limitation.
263
+ * The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation.
260
264
  * @member {String} custodial_minimum_deposit_threshold
261
265
  */
262
266
  ExtendedTokenInfo.prototype['custodial_minimum_deposit_threshold'] = undefined;
263
267
 
268
+ /**
269
+ * @member {module:model/TokenAssetModelType} asset_model_type
270
+ */
271
+ ExtendedTokenInfo.prototype['asset_model_type'] = undefined;
272
+
264
273
  // Implement TokenInfo interface:
265
274
  /**
266
275
  * The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens).
@@ -318,13 +327,17 @@ _TokenInfo["default"].prototype['can_deposit'] = undefined;
318
327
  */
319
328
  _TokenInfo["default"].prototype['can_withdraw'] = undefined;
320
329
  /**
321
- * The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop transfers](https://loop.top/) do not have this limitation.
330
+ * The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers do not have this limitation.
322
331
  * @member {String} dust_threshold
323
332
  */
324
333
  _TokenInfo["default"].prototype['dust_threshold'] = undefined;
325
334
  /**
326
- * The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Loop transfers](https://loop.top/) do not have this limitation.
335
+ * The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation.
327
336
  * @member {String} custodial_minimum_deposit_threshold
328
337
  */
329
338
  _TokenInfo["default"].prototype['custodial_minimum_deposit_threshold'] = undefined;
339
+ /**
340
+ * @member {module:model/TokenAssetModelType} asset_model_type
341
+ */
342
+ _TokenInfo["default"].prototype['asset_model_type'] = undefined;
330
343
  var _default = exports["default"] = ExtendedTokenInfo;
@@ -82,7 +82,6 @@ var FeeGasLimit = /*#__PURE__*/function () {
82
82
  /**
83
83
  * The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies.
84
84
  * @member {String} gas_limit
85
- * @default '21000'
86
85
  */
87
- FeeGasLimit.prototype['gas_limit'] = '21000';
86
+ FeeGasLimit.prototype['gas_limit'] = undefined;
88
87
  var _default = exports["default"] = FeeGasLimit;