@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.
- package/README.md +117 -33
- package/dist/ApiClient.js +11 -1
- package/dist/api/AddressBooksApi.js +1 -1
- package/dist/api/DevelopersApi.js +7 -7
- package/dist/api/DevelopersWebhooksApi.js +8 -8
- package/dist/api/PrimeBrokerApi.js +317 -0
- package/dist/api/StakingsApi.js +412 -18
- package/dist/api/SwapsApi.js +360 -0
- package/dist/api/TransactionsApi.js +64 -20
- package/dist/api/TravelRuleApi.js +18 -18
- package/dist/api/WalletsApi.js +84 -13
- package/dist/api/WalletsExchangeWalletApi.js +1 -1
- package/dist/api/WalletsMPCWalletsApi.js +151 -39
- package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
- package/dist/index.js +276 -10
- package/dist/model/ActivityExtra.js +5 -5
- package/dist/model/AddressBalance.js +129 -0
- package/dist/model/AddressTransferDestination.js +36 -0
- package/dist/model/AddressesEventData.js +4 -4
- package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
- package/dist/model/ApprovalStatementStatus.js +81 -0
- package/dist/model/AssetBalance.js +6 -6
- package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
- package/dist/model/BabylonAirdropPop.js +186 -0
- package/dist/model/BabylonAirdropRegistration.js +172 -0
- package/dist/model/BabylonEligibleAirdrop.js +157 -0
- package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
- package/dist/model/BabylonRegistrationStatus.js +66 -0
- package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
- package/dist/model/BabylonStakingRegistration.js +185 -0
- package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
- package/dist/model/{SwapSummary.js → ChangeGuardPubkey200Response.js} +28 -39
- package/dist/model/ContractCallParams.js +36 -0
- package/dist/model/ContractCallSource.js +6 -0
- package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
- package/dist/model/CreateAddressRequest.js +28 -2
- package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
- package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
- package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
- package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
- package/dist/model/CreateSwapActivityRequest.js +153 -0
- package/dist/model/CreateSwapQuote201Response.js +264 -0
- package/dist/model/CreateSwapQuoteRequest.js +166 -0
- package/dist/model/DeleteGuardPubkey201Response.js +110 -0
- package/dist/model/EthStakeEstimatedFee.js +1 -1
- package/dist/model/EthStakingActivityDetailExtra.js +1 -1
- package/dist/model/GetStakingEstimationFee201Response.js +1 -1
- package/dist/model/GetTransactionLimitation200Response.js +4 -4
- package/dist/model/GuardPubkeyStatus.js +91 -0
- package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
- package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
- package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
- package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
- package/dist/model/ListEnableTokenPairs200Response.js +123 -0
- package/dist/model/ListKeyShareHolders200Response.js +123 -0
- package/dist/model/ListSwapActivities200Response.js +123 -0
- package/dist/model/MessageSignDestination.js +70 -8
- package/dist/model/MessageSignDestinationType.js +12 -2
- package/dist/model/MessageSignSource.js +6 -0
- package/dist/model/MpcContractCallSource.js +16 -0
- package/dist/model/MpcMessageSignSource.js +16 -0
- package/dist/model/MpcSigningGroup.js +27 -4
- package/dist/model/MpcTransferSource.js +16 -0
- package/dist/model/OrgInfo.js +3 -3
- package/dist/model/QueryApprovalStatement200Response.js +122 -0
- package/dist/model/QueryGuardPubkey200Response.js +129 -0
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
- package/dist/model/RootPubkey.js +1 -1
- package/dist/model/SelfCustodyWallet.js +7 -7
- package/dist/model/StakingPoolId.js +30 -0
- package/dist/model/StakingPoolType.js +15 -0
- package/dist/model/SubWalletAssetBalance.js +6 -6
- package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
- package/dist/model/SwapQuote.js +203 -0
- package/dist/model/TSSGroups.js +1 -1
- package/dist/model/TokenBalance.js +6 -6
- package/dist/model/TransactionDepositToAddressDestination.js +16 -0
- package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
- package/dist/model/TransactionDestination.js +10 -4
- package/dist/model/TransactionRawTxInfo.js +29 -0
- package/dist/model/TransactionRbfSource.js +6 -0
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionUserApprovalDetail.js +3 -3
- package/dist/model/TransactionUtxoChange.js +101 -0
- package/dist/model/TransferDestination.js +6 -0
- package/dist/model/TransferParams.js +36 -0
- package/dist/model/TransferSource.js +6 -0
- package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
- package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
- package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
- package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
- package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
- package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
- package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
- package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
- package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
- package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
- package/dist/model/Vasp.js +7 -7
- package/dist/model/WebhookEventData.js +2 -2
- package/docs/ActivityExtra.md +5 -5
- package/docs/AddressBalance.md +10 -0
- package/docs/AddressBooksApi.md +1 -1
- package/docs/AddressTransferDestination.md +14 -0
- package/docs/AddressesEventData.md +1 -1
- package/docs/AddressesEventDataAllOfAddresses.md +19 -0
- package/docs/ApprovalStatementStatus.md +20 -0
- package/docs/AssetBalance.md +1 -1
- package/docs/BTCEIP191MessageSignDestination.md +10 -0
- package/docs/BabylonAirdropPop.md +14 -0
- package/docs/BabylonAirdropRegistration.md +16 -0
- package/docs/BabylonEligibleAirdrop.md +14 -0
- package/docs/BabylonRegistrationRequestStatus.md +14 -0
- package/docs/BabylonRegistrationStatus.md +14 -0
- package/docs/BabylonStakingActivityDetailExtra.md +1 -1
- package/docs/BabylonStakingRegistration.md +17 -0
- package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
- package/docs/ChangeGuardPubkey200Response.md +9 -0
- package/docs/ContractCallParams.md +14 -0
- package/docs/ContractCallSource.md +1 -0
- package/docs/CoreStakingActivityDetailExtra.md +3 -3
- package/docs/CreateAddressRequest.md +3 -1
- package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
- package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
- package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
- package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
- package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
- package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
- package/docs/CreateSwapActivityRequest.md +12 -0
- package/docs/CreateSwapQuote201Response.md +17 -0
- package/docs/CreateSwapQuoteRequest.md +13 -0
- package/docs/DeleteGuardPubkey201Response.md +9 -0
- package/docs/DevelopersApi.md +5 -5
- package/docs/DevelopersWebhooksApi.md +8 -8
- package/docs/EthStakeEstimatedFee.md +1 -1
- package/docs/EthStakingActivityDetailExtra.md +1 -1
- package/docs/GetStakingEstimationFee201Response.md +1 -1
- package/docs/GetTransactionLimitation200Response.md +4 -4
- package/docs/GuardPubkeyStatus.md +24 -0
- package/docs/ListAddressBalancesByToken200Response.md +10 -0
- package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
- package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
- package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
- package/docs/ListEnableTokenPairs200Response.md +10 -0
- package/docs/ListKeyShareHolders200Response.md +10 -0
- package/docs/ListSwapActivities200Response.md +10 -0
- package/docs/MessageSignDestination.md +1 -0
- package/docs/MessageSignDestinationType.md +6 -2
- package/docs/MessageSignSource.md +1 -0
- package/docs/MpcContractCallSource.md +1 -0
- package/docs/MpcMessageSignSource.md +1 -0
- package/docs/MpcSigningGroup.md +1 -1
- package/docs/MpcTransferSource.md +1 -0
- package/docs/OrgInfo.md +1 -1
- package/docs/PrimeBrokerApi.md +318 -0
- package/docs/QueryApprovalStatement200Response.md +12 -0
- package/docs/QueryGuardPubkey200Response.md +11 -0
- package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
- package/docs/RootPubkey.md +1 -1
- package/docs/SelfCustodyWallet.md +3 -3
- package/docs/StakingPoolId.md +12 -0
- package/docs/StakingPoolType.md +6 -0
- package/docs/StakingsApi.md +460 -12
- package/docs/SubWalletAssetBalance.md +1 -1
- package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
- package/docs/SwapQuote.md +16 -0
- package/docs/SwapsApi.md +348 -0
- package/docs/TSSGroups.md +1 -1
- package/docs/TokenBalance.md +1 -1
- package/docs/TransactionDepositToAddressDestination.md +1 -0
- package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
- package/docs/TransactionDestination.md +1 -0
- package/docs/TransactionRawTxInfo.md +2 -0
- package/docs/TransactionRbfSource.md +1 -0
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionUserApprovalDetail.md +3 -3
- package/docs/TransactionUtxoChange.md +10 -0
- package/docs/TransactionsApi.md +68 -17
- package/docs/TransferDestination.md +14 -0
- package/docs/TransferParams.md +14 -0
- package/docs/TransferSource.md +1 -0
- package/docs/TravelRuleApi.md +13 -13
- package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
- package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
- package/docs/TravelRuleDepositLegalEntity.md +3 -3
- package/docs/TravelRuleDepositNaturalEntity.md +5 -5
- package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
- package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
- package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
- package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
- package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
- package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
- package/docs/Vasp.md +3 -3
- package/docs/WalletsApi.md +78 -13
- package/docs/WalletsExchangeWalletApi.md +1 -1
- package/docs/WalletsMPCWalletsApi.md +141 -27
- package/docs/WalletsSmartContractWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +1 -1
- package/package.json +2 -2
- package/docs/SwapSummary.md +0 -10
|
@@ -0,0 +1,101 @@
|
|
|
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 _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
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); } /**
|
|
15
|
+
* Cobo Wallet as a Service 2.0
|
|
16
|
+
*
|
|
17
|
+
* Contact: help@cobo.com
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
20
|
+
* https://openapi-generator.tech
|
|
21
|
+
* Do not edit the class manually.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* The TransactionUtxoChange model module.
|
|
26
|
+
* @module model/TransactionUtxoChange
|
|
27
|
+
*/
|
|
28
|
+
var TransactionUtxoChange = /*#__PURE__*/function () {
|
|
29
|
+
/**
|
|
30
|
+
* Constructs a new <code>TransactionUtxoChange</code>.
|
|
31
|
+
* The UTXO change output information.
|
|
32
|
+
* @alias module:model/TransactionUtxoChange
|
|
33
|
+
*/
|
|
34
|
+
function TransactionUtxoChange() {
|
|
35
|
+
_classCallCheck(this, TransactionUtxoChange);
|
|
36
|
+
TransactionUtxoChange.initialize(this);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Initializes the fields of this object.
|
|
41
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
42
|
+
* Only for internal use.
|
|
43
|
+
*/
|
|
44
|
+
return _createClass(TransactionUtxoChange, null, [{
|
|
45
|
+
key: "initialize",
|
|
46
|
+
value: function initialize(obj) {}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Constructs a <code>TransactionUtxoChange</code> from a plain JavaScript object, optionally creating a new instance.
|
|
50
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
51
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
52
|
+
* @param {module:model/TransactionUtxoChange} obj Optional instance to populate.
|
|
53
|
+
* @return {module:model/TransactionUtxoChange} The populated <code>TransactionUtxoChange</code> instance.
|
|
54
|
+
*/
|
|
55
|
+
}, {
|
|
56
|
+
key: "constructFromObject",
|
|
57
|
+
value: function constructFromObject(data, obj) {
|
|
58
|
+
if (data) {
|
|
59
|
+
obj = obj || new TransactionUtxoChange();
|
|
60
|
+
if (data.hasOwnProperty('address')) {
|
|
61
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
62
|
+
}
|
|
63
|
+
if (data.hasOwnProperty('value')) {
|
|
64
|
+
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return obj;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Validates the JSON data with respect to <code>TransactionUtxoChange</code>.
|
|
72
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
73
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>TransactionUtxoChange</code>.
|
|
74
|
+
*/
|
|
75
|
+
}, {
|
|
76
|
+
key: "validateJSON",
|
|
77
|
+
value: function validateJSON(data) {
|
|
78
|
+
// ensure the json data is a string
|
|
79
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
80
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
81
|
+
}
|
|
82
|
+
// ensure the json data is a string
|
|
83
|
+
if (data['value'] && !(typeof data['value'] === 'string' || data['value'] instanceof String)) {
|
|
84
|
+
throw new Error("Expected the field `value` to be a primitive type in the JSON string but got " + data['value']);
|
|
85
|
+
}
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
}]);
|
|
89
|
+
}();
|
|
90
|
+
/**
|
|
91
|
+
* The receiving address of the UTXO change output.
|
|
92
|
+
* @member {String} address
|
|
93
|
+
*/
|
|
94
|
+
TransactionUtxoChange.prototype['address'] = undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The amount of the UTXO change output.
|
|
98
|
+
* @member {String} value
|
|
99
|
+
*/
|
|
100
|
+
TransactionUtxoChange.prototype['value'] = undefined;
|
|
101
|
+
var _default = exports["default"] = TransactionUtxoChange;
|
|
@@ -195,6 +195,12 @@ TransferDestination.prototype['utxo_outputs'] = undefined;
|
|
|
195
195
|
*/
|
|
196
196
|
TransferDestination.prototype['change_address'] = undefined;
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
* The position of the change output in the transaction's outputs. Possible values are: - `Last`: The change output is placed at the end of the transaction's outputs. - `First`: The change output is placed at the beginning of the transaction's outputs.
|
|
200
|
+
* @member {module:model/TransferDestination.ChangeOutputTypeEnum} change_output_type
|
|
201
|
+
*/
|
|
202
|
+
TransferDestination.prototype['change_output_type'] = undefined;
|
|
203
|
+
|
|
198
204
|
/**
|
|
199
205
|
* Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`.
|
|
200
206
|
* @member {Boolean} force_internal
|
|
@@ -94,6 +94,9 @@ var TransferParams = /*#__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 TransferParams = /*#__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 @@ TransferParams.prototype['description'] = undefined;
|
|
|
206
213
|
*/
|
|
207
214
|
TransferParams.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/TransferParams.TransactionProcessTypeEnum} transaction_process_type
|
|
219
|
+
*/
|
|
220
|
+
TransferParams.prototype['transaction_process_type'] = undefined;
|
|
221
|
+
|
|
209
222
|
/**
|
|
210
223
|
* @member {module:model/AutoFuelType} auto_fuel
|
|
211
224
|
*/
|
|
212
225
|
TransferParams.prototype['auto_fuel'] = undefined;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Allowed values for the <code>transaction_process_type</code> property.
|
|
229
|
+
* @enum {String}
|
|
230
|
+
* @readonly
|
|
231
|
+
*/
|
|
232
|
+
TransferParams['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"] = TransferParams;
|
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _CoboSafeDelegate = _interopRequireDefault(require("./CoboSafeDelegate"));
|
|
9
9
|
var _CustodialTransferSource = _interopRequireDefault(require("./CustodialTransferSource"));
|
|
10
10
|
var _ExchangeTransferSource = _interopRequireDefault(require("./ExchangeTransferSource"));
|
|
11
|
+
var _MpcSigningGroup = _interopRequireDefault(require("./MpcSigningGroup"));
|
|
11
12
|
var _MpcTransferSource = _interopRequireDefault(require("./MpcTransferSource"));
|
|
12
13
|
var _SafeTransferSource = _interopRequireDefault(require("./SafeTransferSource"));
|
|
13
14
|
var _TransactionUtxo = _interopRequireDefault(require("./TransactionUtxo"));
|
|
@@ -265,6 +266,11 @@ TransferSource.prototype['included_utxos'] = undefined;
|
|
|
265
266
|
*/
|
|
266
267
|
TransferSource.prototype['excluded_utxos'] = undefined;
|
|
267
268
|
|
|
269
|
+
/**
|
|
270
|
+
* @member {module:model/MpcSigningGroup} mpc_used_key_share_holder_group
|
|
271
|
+
*/
|
|
272
|
+
TransferSource.prototype['mpc_used_key_share_holder_group'] = undefined;
|
|
273
|
+
|
|
268
274
|
/**
|
|
269
275
|
* @member {module:model/CoboSafeDelegate} delegate
|
|
270
276
|
*/
|
|
@@ -33,10 +33,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
var TravelRuleDepositExchangesOrVASP = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>TravelRuleDepositExchangesOrVASP</code>.
|
|
36
|
-
* Required
|
|
36
|
+
* Required information when depositing from an exchange or other virtual asset service providers (VASP).
|
|
37
37
|
* @alias module:model/TravelRuleDepositExchangesOrVASP
|
|
38
38
|
* @param destination_wallet_type {module:model/DestinationWalletType}
|
|
39
|
-
* @param vendor_code {String} The vendor code
|
|
39
|
+
* @param vendor_code {String} The vendor code of the VASP.
|
|
40
40
|
* @param vendor_vasp_id {String} The unique identifier of the VASP.
|
|
41
41
|
* @param entity_info {module:model/TravelRuleDepositExchangesOrVASPEntityInfo}
|
|
42
42
|
*/
|
|
@@ -144,7 +144,7 @@ TravelRuleDepositExchangesOrVASP.RequiredProperties = ["destination_wallet_type"
|
|
|
144
144
|
TravelRuleDepositExchangesOrVASP.prototype['destination_wallet_type'] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* The vendor code
|
|
147
|
+
* The vendor code of the VASP.
|
|
148
148
|
* @member {String} vendor_code
|
|
149
149
|
*/
|
|
150
150
|
TravelRuleDepositExchangesOrVASP.prototype['vendor_code'] = undefined;
|
|
@@ -156,7 +156,7 @@ TravelRuleDepositExchangesOrVASP.prototype['vendor_code'] = undefined;
|
|
|
156
156
|
TravelRuleDepositExchangesOrVASP.prototype['vendor_vasp_id'] = undefined;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The vendor name
|
|
159
|
+
* The vendor name. Use this field to specify the name of a vendor not listed.
|
|
160
160
|
* @member {String} vendor_vasp_name
|
|
161
161
|
*/
|
|
162
162
|
TravelRuleDepositExchangesOrVASP.prototype['vendor_vasp_name'] = undefined;
|
|
@@ -163,7 +163,7 @@ var TravelRuleDepositExchangesOrVASPEntityInfo = /*#__PURE__*/function () {
|
|
|
163
163
|
}]);
|
|
164
164
|
}();
|
|
165
165
|
/**
|
|
166
|
-
* Specifies the type of entity associated with the transaction.
|
|
166
|
+
* Specifies the type of entity associated with the transaction. - `LEGAL`: Legal entity. - `NATURAL`: Natural person.
|
|
167
167
|
* @member {module:model/TravelRuleDepositExchangesOrVASPEntityInfo.SelectedEntityTypeEnum} selected_entity_type
|
|
168
168
|
*/
|
|
169
169
|
_TravelRuleDepositExchangesOrVASPEntityInfo = TravelRuleDepositExchangesOrVASPEntityInfo;
|
|
@@ -184,37 +184,37 @@ TravelRuleDepositExchangesOrVASPEntityInfo.prototype['selected_entity_type'] = u
|
|
|
184
184
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['legal_name'] = undefined;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
|
-
* The
|
|
187
|
+
* The date of incorporation of the entity. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `LEGAL`.
|
|
188
188
|
* @member {Date} date_of_incorporation
|
|
189
189
|
*/
|
|
190
190
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['date_of_incorporation'] = undefined;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* The place of incorporation of the entity. This field is required when: -
|
|
193
|
+
* The place of incorporation of the entity. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `LEGAL`.
|
|
194
194
|
* @member {String} place_of_incorporation
|
|
195
195
|
*/
|
|
196
196
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['place_of_incorporation'] = undefined;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* The first name of the
|
|
199
|
+
* The first name of the natural person.
|
|
200
200
|
* @member {String} first_name
|
|
201
201
|
*/
|
|
202
202
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['first_name'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* The last name of the
|
|
205
|
+
* The last name of the natural person.
|
|
206
206
|
* @member {String} last_name
|
|
207
207
|
*/
|
|
208
208
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['last_name'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* The date of birth of the
|
|
211
|
+
* The date of birth of the natural person. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `NATURAL`.
|
|
212
212
|
* @member {Date} date_of_birth
|
|
213
213
|
*/
|
|
214
214
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['date_of_birth'] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* The place of birth of the
|
|
217
|
+
* The place of birth of the natural person. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `NATURAL`.
|
|
218
218
|
* @member {String} place_of_birth
|
|
219
219
|
*/
|
|
220
220
|
TravelRuleDepositExchangesOrVASPEntityInfo.prototype['place_of_birth'] = undefined;
|
|
@@ -31,9 +31,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
var TravelRuleDepositLegalEntity = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
33
|
* Constructs a new <code>TravelRuleDepositLegalEntity</code>.
|
|
34
|
-
*
|
|
34
|
+
* The required information of a legal entity.
|
|
35
35
|
* @alias module:model/TravelRuleDepositLegalEntity
|
|
36
|
-
* @param selected_entity_type {module:model/TravelRuleDepositLegalEntity.SelectedEntityTypeEnum}
|
|
36
|
+
* @param selected_entity_type {module:model/TravelRuleDepositLegalEntity.SelectedEntityTypeEnum} The entity type. Possible values include: - `LEGAL`: Legal entity. - `NATURAL`: Natural person.
|
|
37
37
|
* @param legal_name {String} The legal name of the entity.
|
|
38
38
|
*/
|
|
39
39
|
function TravelRuleDepositLegalEntity(selected_entity_type, legal_name) {
|
|
@@ -123,7 +123,7 @@ var TravelRuleDepositLegalEntity = /*#__PURE__*/function () {
|
|
|
123
123
|
TravelRuleDepositLegalEntity.RequiredProperties = ["selected_entity_type", "legal_name"];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* The entity type. Possible values include: - `LEGAL`: Legal entity. - `NATURAL`: Natural person.
|
|
127
127
|
* @member {module:model/TravelRuleDepositLegalEntity.SelectedEntityTypeEnum} selected_entity_type
|
|
128
128
|
*/
|
|
129
129
|
TravelRuleDepositLegalEntity.prototype['selected_entity_type'] = undefined;
|
|
@@ -135,13 +135,13 @@ TravelRuleDepositLegalEntity.prototype['selected_entity_type'] = undefined;
|
|
|
135
135
|
TravelRuleDepositLegalEntity.prototype['legal_name'] = undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* The
|
|
138
|
+
* The date of incorporation of the entity. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `LEGAL`.
|
|
139
139
|
* @member {Date} date_of_incorporation
|
|
140
140
|
*/
|
|
141
141
|
TravelRuleDepositLegalEntity.prototype['date_of_incorporation'] = undefined;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* The place of incorporation of the entity. This field is required when: -
|
|
144
|
+
* The place of incorporation of the entity. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `LEGAL`.
|
|
145
145
|
* @member {String} place_of_incorporation
|
|
146
146
|
*/
|
|
147
147
|
TravelRuleDepositLegalEntity.prototype['place_of_incorporation'] = undefined;
|
|
@@ -31,11 +31,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
var TravelRuleDepositNaturalEntity = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
33
|
* Constructs a new <code>TravelRuleDepositNaturalEntity</code>.
|
|
34
|
-
*
|
|
34
|
+
* The required information of a natural person.
|
|
35
35
|
* @alias module:model/TravelRuleDepositNaturalEntity
|
|
36
|
-
* @param selected_entity_type {module:model/TravelRuleDepositNaturalEntity.SelectedEntityTypeEnum} Specifies the type of entity associated with the transaction.
|
|
37
|
-
* @param first_name {String} The first name of the
|
|
38
|
-
* @param last_name {String} The last name of the
|
|
36
|
+
* @param selected_entity_type {module:model/TravelRuleDepositNaturalEntity.SelectedEntityTypeEnum} Specifies the type of entity associated with the transaction. - `LEGAL`: Legal entity. - `NATURAL`: Natural person.
|
|
37
|
+
* @param first_name {String} The first name of the natural person.
|
|
38
|
+
* @param last_name {String} The last name of the natural person.
|
|
39
39
|
*/
|
|
40
40
|
function TravelRuleDepositNaturalEntity(selected_entity_type, first_name, last_name) {
|
|
41
41
|
_classCallCheck(this, TravelRuleDepositNaturalEntity);
|
|
@@ -132,31 +132,31 @@ var TravelRuleDepositNaturalEntity = /*#__PURE__*/function () {
|
|
|
132
132
|
TravelRuleDepositNaturalEntity.RequiredProperties = ["selected_entity_type", "first_name", "last_name"];
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* Specifies the type of entity associated with the transaction.
|
|
135
|
+
* Specifies the type of entity associated with the transaction. - `LEGAL`: Legal entity. - `NATURAL`: Natural person.
|
|
136
136
|
* @member {module:model/TravelRuleDepositNaturalEntity.SelectedEntityTypeEnum} selected_entity_type
|
|
137
137
|
*/
|
|
138
138
|
TravelRuleDepositNaturalEntity.prototype['selected_entity_type'] = undefined;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* The first name of the
|
|
141
|
+
* The first name of the natural person.
|
|
142
142
|
* @member {String} first_name
|
|
143
143
|
*/
|
|
144
144
|
TravelRuleDepositNaturalEntity.prototype['first_name'] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* The last name of the
|
|
147
|
+
* The last name of the natural person.
|
|
148
148
|
* @member {String} last_name
|
|
149
149
|
*/
|
|
150
150
|
TravelRuleDepositNaturalEntity.prototype['last_name'] = undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
|
-
* The date of birth of the
|
|
153
|
+
* The date of birth of the natural person. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `NATURAL`.
|
|
154
154
|
* @member {Date} date_of_birth
|
|
155
155
|
*/
|
|
156
156
|
TravelRuleDepositNaturalEntity.prototype['date_of_birth'] = undefined;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The place of birth of the
|
|
159
|
+
* The place of birth of the natural person. This field is required when either of the following conditions is met: - `is_threshold_reached` is `true` in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - `selected_entity_type` is `NATURAL`.
|
|
160
160
|
* @member {String} place_of_birth
|
|
161
161
|
*/
|
|
162
162
|
TravelRuleDepositNaturalEntity.prototype['place_of_birth'] = undefined;
|
|
@@ -179,7 +179,7 @@ _defineProperty(TravelRuleDepositRequestTravelRuleInfo, "fromJSON", function (js
|
|
|
179
179
|
TravelRuleDepositRequestTravelRuleInfo.prototype['destination_wallet_type'] = undefined;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* The vendor code
|
|
182
|
+
* The vendor code of the VASP.
|
|
183
183
|
* @member {String} vendor_code
|
|
184
184
|
*/
|
|
185
185
|
TravelRuleDepositRequestTravelRuleInfo.prototype['vendor_code'] = undefined;
|
|
@@ -191,7 +191,7 @@ TravelRuleDepositRequestTravelRuleInfo.prototype['vendor_code'] = undefined;
|
|
|
191
191
|
TravelRuleDepositRequestTravelRuleInfo.prototype['vendor_vasp_id'] = undefined;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
* The vendor name
|
|
194
|
+
* The vendor name. Use this field to specify the name of a vendor not listed.
|
|
195
195
|
* @member {String} vendor_vasp_name
|
|
196
196
|
*/
|
|
197
197
|
TravelRuleDepositRequestTravelRuleInfo.prototype['vendor_vasp_name'] = undefined;
|
|
@@ -202,19 +202,19 @@ TravelRuleDepositRequestTravelRuleInfo.prototype['vendor_vasp_name'] = undefined
|
|
|
202
202
|
TravelRuleDepositRequestTravelRuleInfo.prototype['entity_info'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* The
|
|
205
|
+
* The message obtained from the `Retrieve transaction limitations` operation. This message is used to verify wallet ownership through signing.
|
|
206
206
|
* @member {String} self_custody_wallet_challenge
|
|
207
207
|
*/
|
|
208
208
|
TravelRuleDepositRequestTravelRuleInfo.prototype['self_custody_wallet_challenge'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* The address of the self-
|
|
211
|
+
* The address of the self-custody wallet.
|
|
212
212
|
* @member {String} self_custody_wallet_address
|
|
213
213
|
*/
|
|
214
214
|
TravelRuleDepositRequestTravelRuleInfo.prototype['self_custody_wallet_address'] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* The
|
|
217
|
+
* The signature created by signing the challenge message with the wallet's private key.
|
|
218
218
|
* @member {String} self_custody_wallet_sign
|
|
219
219
|
*/
|
|
220
220
|
TravelRuleDepositRequestTravelRuleInfo.prototype['self_custody_wallet_sign'] = undefined;
|
|
@@ -33,10 +33,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
var TravelRuleWithdrawExchangesOrVASP = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>TravelRuleWithdrawExchangesOrVASP</code>.
|
|
36
|
-
* Required
|
|
36
|
+
* Required information when withdrawing tokens to an exchange or other virtual asset service providers (VASP).
|
|
37
37
|
* @alias module:model/TravelRuleWithdrawExchangesOrVASP
|
|
38
38
|
* @param destination_wallet_type {module:model/DestinationWalletType}
|
|
39
|
-
* @param vendor_code {String} The vendor code
|
|
39
|
+
* @param vendor_code {String} The vendor code of the exchange or virtual asset service provider (VASP).
|
|
40
40
|
* @param vendor_vasp_id {String} The unique identifier of the VASP.
|
|
41
41
|
* @param entity_info {module:model/TravelRuleWithdrawExchangesOrVASPEntityInfo}
|
|
42
42
|
*/
|
|
@@ -137,7 +137,7 @@ TravelRuleWithdrawExchangesOrVASP.RequiredProperties = ["destination_wallet_type
|
|
|
137
137
|
TravelRuleWithdrawExchangesOrVASP.prototype['destination_wallet_type'] = undefined;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* The vendor code
|
|
140
|
+
* The vendor code of the exchange or virtual asset service provider (VASP).
|
|
141
141
|
* @member {String} vendor_code
|
|
142
142
|
*/
|
|
143
143
|
TravelRuleWithdrawExchangesOrVASP.prototype['vendor_code'] = undefined;
|
|
@@ -184,7 +184,7 @@ TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['selected_entity_type'] =
|
|
|
184
184
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['legal_name'] = undefined;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
|
-
* The
|
|
187
|
+
* The date of incorporation of the entity.
|
|
188
188
|
* @member {Date} date_of_incorporation
|
|
189
189
|
*/
|
|
190
190
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_incorporation'] = undefined;
|
|
@@ -196,25 +196,25 @@ TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_incorporation'] =
|
|
|
196
196
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['place_of_incorporation'] = undefined;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* The first name of the
|
|
199
|
+
* The first name of the natural person.
|
|
200
200
|
* @member {String} first_name
|
|
201
201
|
*/
|
|
202
202
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['first_name'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* The last name of the
|
|
205
|
+
* The last name of the natural person.
|
|
206
206
|
* @member {String} last_name
|
|
207
207
|
*/
|
|
208
208
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['last_name'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* The date of birth of the
|
|
211
|
+
* The date of birth of the natural person.
|
|
212
212
|
* @member {Date} date_of_birth
|
|
213
213
|
*/
|
|
214
214
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_birth'] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* The place of birth of the
|
|
217
|
+
* The place of birth of the natural person.
|
|
218
218
|
* @member {String} place_of_birth
|
|
219
219
|
*/
|
|
220
220
|
TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['place_of_birth'] = undefined;
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
var TravelRuleWithdrawLegalEntity = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
34
|
* Constructs a new <code>TravelRuleWithdrawLegalEntity</code>.
|
|
35
|
-
*
|
|
35
|
+
* The required information of a legal entity.
|
|
36
36
|
* @alias module:model/TravelRuleWithdrawLegalEntity
|
|
37
37
|
* @param selected_entity_type {module:model/SelectedEntityType}
|
|
38
38
|
* @param legal_name {String} The legal name of the entity.
|
|
@@ -131,7 +131,7 @@ TravelRuleWithdrawLegalEntity.prototype['selected_entity_type'] = undefined;
|
|
|
131
131
|
TravelRuleWithdrawLegalEntity.prototype['legal_name'] = undefined;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* The
|
|
134
|
+
* The date of incorporation of the entity.
|
|
135
135
|
* @member {Date} date_of_incorporation
|
|
136
136
|
*/
|
|
137
137
|
TravelRuleWithdrawLegalEntity.prototype['date_of_incorporation'] = undefined;
|
|
@@ -32,11 +32,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
var TravelRuleWithdrawNaturalEntity = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
34
|
* Constructs a new <code>TravelRuleWithdrawNaturalEntity</code>.
|
|
35
|
-
*
|
|
35
|
+
* The required information of a natural person.
|
|
36
36
|
* @alias module:model/TravelRuleWithdrawNaturalEntity
|
|
37
37
|
* @param selected_entity_type {module:model/SelectedEntityType}
|
|
38
|
-
* @param first_name {String} The first name of the
|
|
39
|
-
* @param last_name {String} The last name of the
|
|
38
|
+
* @param first_name {String} The first name of the natural person.
|
|
39
|
+
* @param last_name {String} The last name of the natural person.
|
|
40
40
|
*/
|
|
41
41
|
function TravelRuleWithdrawNaturalEntity(selected_entity_type, first_name, last_name) {
|
|
42
42
|
_classCallCheck(this, TravelRuleWithdrawNaturalEntity);
|
|
@@ -134,25 +134,25 @@ TravelRuleWithdrawNaturalEntity.RequiredProperties = ["selected_entity_type", "f
|
|
|
134
134
|
TravelRuleWithdrawNaturalEntity.prototype['selected_entity_type'] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* The first name of the
|
|
137
|
+
* The first name of the natural person.
|
|
138
138
|
* @member {String} first_name
|
|
139
139
|
*/
|
|
140
140
|
TravelRuleWithdrawNaturalEntity.prototype['first_name'] = undefined;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
* The last name of the
|
|
143
|
+
* The last name of the natural person.
|
|
144
144
|
* @member {String} last_name
|
|
145
145
|
*/
|
|
146
146
|
TravelRuleWithdrawNaturalEntity.prototype['last_name'] = undefined;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* The date of birth of the
|
|
149
|
+
* The date of birth of the natural person.
|
|
150
150
|
* @member {Date} date_of_birth
|
|
151
151
|
*/
|
|
152
152
|
TravelRuleWithdrawNaturalEntity.prototype['date_of_birth'] = undefined;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* The place of birth of the
|
|
155
|
+
* The place of birth of the natural person.
|
|
156
156
|
* @member {String} place_of_birth
|
|
157
157
|
*/
|
|
158
158
|
TravelRuleWithdrawNaturalEntity.prototype['place_of_birth'] = undefined;
|
|
@@ -179,25 +179,25 @@ _defineProperty(TravelRuleWithdrawRequestTravelRuleInfo, "fromJSON", function (j
|
|
|
179
179
|
TravelRuleWithdrawRequestTravelRuleInfo.prototype['destination_wallet_type'] = undefined;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* The
|
|
182
|
+
* The message obtained from the `Retrieve transaction limitations` operation. This message is used to verify wallet ownership through signing.
|
|
183
183
|
* @member {String} self_custody_wallet_challenge
|
|
184
184
|
*/
|
|
185
185
|
TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_challenge'] = undefined;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* The address of the self-
|
|
188
|
+
* The address of the self-custody wallet.
|
|
189
189
|
* @member {String} self_custody_wallet_address
|
|
190
190
|
*/
|
|
191
191
|
TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_address'] = undefined;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
* The
|
|
194
|
+
* The signature created by signing the challenge message with the wallet's private key.
|
|
195
195
|
* @member {String} self_custody_wallet_sign
|
|
196
196
|
*/
|
|
197
197
|
TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_sign'] = undefined;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* The vendor code
|
|
200
|
+
* The vendor code of the exchange or virtual asset service provider (VASP).
|
|
201
201
|
* @member {String} vendor_code
|
|
202
202
|
*/
|
|
203
203
|
TravelRuleWithdrawRequestTravelRuleInfo.prototype['vendor_code'] = undefined;
|
package/dist/model/Vasp.js
CHANGED
|
@@ -31,11 +31,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
var Vasp = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
33
|
* Constructs a new <code>Vasp</code>.
|
|
34
|
-
* The information of
|
|
34
|
+
* The information of a virtual asset service provider (VASP).
|
|
35
35
|
* @alias module:model/Vasp
|
|
36
|
-
* @param name {String} The name
|
|
37
|
-
* @param vendor_code {String} The
|
|
38
|
-
* @param vendor_vasp_id {String} The
|
|
36
|
+
* @param name {String} The VASP name.
|
|
37
|
+
* @param vendor_code {String} The vendor code of the VASP.
|
|
38
|
+
* @param vendor_vasp_id {String} The VASP ID.
|
|
39
39
|
*/
|
|
40
40
|
function Vasp(name, vendor_code, vendor_vasp_id) {
|
|
41
41
|
_classCallCheck(this, Vasp);
|
|
@@ -122,19 +122,19 @@ var Vasp = /*#__PURE__*/function () {
|
|
|
122
122
|
Vasp.RequiredProperties = ["name", "vendor_code", "vendor_vasp_id"];
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* The name
|
|
125
|
+
* The VASP name.
|
|
126
126
|
* @member {String} name
|
|
127
127
|
*/
|
|
128
128
|
Vasp.prototype['name'] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* The
|
|
131
|
+
* The vendor code of the VASP.
|
|
132
132
|
* @member {String} vendor_code
|
|
133
133
|
*/
|
|
134
134
|
Vasp.prototype['vendor_code'] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* The
|
|
137
|
+
* The VASP ID.
|
|
138
138
|
* @member {String} vendor_vasp_id
|
|
139
139
|
*/
|
|
140
140
|
Vasp.prototype['vendor_vasp_id'] = undefined;
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _AddressInfo = _interopRequireDefault(require("./AddressInfo"));
|
|
9
8
|
var _AddressesEventData = _interopRequireDefault(require("./AddressesEventData"));
|
|
9
|
+
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./AddressesEventDataAllOfAddresses"));
|
|
10
10
|
var _MPCVaultEventData = _interopRequireDefault(require("./MPCVaultEventData"));
|
|
11
11
|
var _MPCVaultType = _interopRequireDefault(require("./MPCVaultType"));
|
|
12
12
|
var _RootPubkey = _interopRequireDefault(require("./RootPubkey"));
|
|
@@ -452,7 +452,7 @@ WebhookEventData.prototype['target_key_share_holder_group_id'] = undefined;
|
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
454
|
* A list of addresses.
|
|
455
|
-
* @member {Array.<module:model/
|
|
455
|
+
* @member {Array.<module:model/AddressesEventDataAllOfAddresses>} addresses
|
|
456
456
|
*/
|
|
457
457
|
WebhookEventData.prototype['addresses'] = undefined;
|
|
458
458
|
|