@cobo/cobo-waas2 1.15.0 → 1.17.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 +42 -6
- package/dist/ApiClient.js +1 -1
- package/dist/PreRequestScript.js +27 -33
- package/dist/api/AddressBooksApi.js +4 -4
- package/dist/api/AppWorkflowsApi.js +275 -0
- package/dist/api/DevelopersApi.js +4 -4
- package/dist/api/DevelopersWebhooksApi.js +12 -12
- package/dist/api/FeeStationApi.js +12 -12
- package/dist/api/OAuthApi.js +93 -6
- package/dist/api/PaymentApi.js +107 -161
- package/dist/api/StakingsApi.js +28 -28
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/api/WalletsApi.js +102 -51
- package/dist/api/WalletsExchangeWalletApi.js +8 -8
- package/dist/api/WalletsMPCWalletsApi.js +20 -20
- package/dist/index.js +224 -14
- package/dist/model/AppWorkflow.js +173 -0
- package/dist/model/AppWorkflowField.js +137 -0
- package/dist/model/AppWorkflowPolicy.js +144 -0
- package/dist/model/ApprovalEntry.js +148 -0
- package/dist/model/ApprovalRequest.js +180 -0
- package/dist/model/ApprovalRequestDetail.js +177 -0
- package/dist/model/ApprovalStatus.js +71 -0
- package/dist/model/ApprovalUser.js +146 -0
- package/dist/model/BabylonStakeExtra.js +16 -0
- package/dist/model/BatchCheckUtxo201Response.js +107 -0
- package/dist/model/BatchCheckUtxoRequest.js +142 -0
- package/dist/model/{CreateBankAccountRequest.js → BatchUTXOParam.js} +43 -28
- package/dist/model/ChainInfo.js +9 -0
- package/dist/model/CreateApprovalRequest201Response.js +110 -0
- package/dist/model/CreatePaymentOrderRequest.js +5 -5
- package/dist/model/CreateRefundRequest.js +35 -0
- package/dist/model/CreateSettlement.js +39 -29
- package/dist/model/CreateStakeActivityExtra.js +6 -0
- package/dist/model/CryptoAddress.js +171 -0
- package/dist/model/{OrderAddressInfo.js → CustodialTransferDestination.js} +36 -46
- package/dist/model/CustodialWeb3TransferSource.js +1 -1
- package/dist/model/EstimateContractCallFeeParams.js +13 -0
- package/dist/model/EstimateFeeParams.js +6 -0
- package/dist/model/EstimateTransferFeeParams.js +13 -0
- package/dist/model/ExchangePermissionToken201Response.js +122 -0
- package/dist/model/ExchangePermissionTokenRequest.js +110 -0
- package/dist/model/ListApprovalRequests200Response.js +123 -0
- package/dist/model/MpcTransferSource.js +1 -1
- package/dist/model/Order.js +4 -4
- package/dist/model/PaymentOrderEventData.js +6 -6
- package/dist/model/PayoutChannel.js +61 -0
- package/dist/model/PolicyAction.js +123 -0
- package/dist/model/PolicyActionContent.js +169 -0
- package/dist/model/PolicyActionType.js +66 -0
- package/dist/model/PolicyCondition.js +148 -0
- package/dist/model/PolicyFieldOperator.js +76 -0
- package/dist/model/PolicyFieldValueType.js +61 -0
- package/dist/model/RefreshPermissionTokenRequest.js +110 -0
- package/dist/model/RequestApproval.js +188 -0
- package/dist/model/RevokeApprovalRequest201Response.js +119 -0
- package/dist/model/RevokeApprovalRequestRequest.js +110 -0
- package/dist/model/SettlementDetail.js +22 -0
- package/dist/model/SupportedToken.js +222 -0
- package/dist/model/SwapActivityApprovers.js +122 -0
- package/dist/model/SwapActivityDetail.js +30 -0
- package/dist/model/SwapApproversStatus.js +66 -0
- package/dist/model/TransactionCoboCategory.js +102 -7
- package/dist/model/TransactionDestination.js +4 -0
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionSubStatus.js +10 -0
- package/dist/model/TransactionTransferToWalletDestination.js +2 -2
- package/dist/model/TransferDestination.js +42 -14
- package/dist/model/TransferDestinationType.js +5 -0
- package/dist/model/UTXO.js +9 -0
- package/docs/AddressBooksApi.md +2 -2
- package/docs/AppWorkflow.md +12 -0
- package/docs/AppWorkflowField.md +11 -0
- package/docs/AppWorkflowPolicy.md +10 -0
- package/docs/AppWorkflowsApi.md +273 -0
- package/docs/ApprovalEntry.md +11 -0
- package/docs/ApprovalRequest.md +13 -0
- package/docs/ApprovalRequestDetail.md +13 -0
- package/docs/ApprovalStatus.md +16 -0
- package/docs/ApprovalUser.md +12 -0
- package/docs/BabylonStakeExtra.md +1 -0
- package/docs/BatchCheckUtxo201Response.md +9 -0
- package/docs/BatchCheckUtxoRequest.md +10 -0
- package/docs/BatchUTXOParam.md +10 -0
- package/docs/ChainInfo.md +1 -0
- package/docs/CreateApprovalRequest201Response.md +9 -0
- package/docs/CreatePaymentOrderRequest.md +1 -1
- package/docs/CreateRefundRequest.md +3 -0
- package/docs/CreateSettlement.md +5 -2
- package/docs/CreateStakeActivityExtra.md +1 -0
- package/docs/CryptoAddress.md +14 -0
- package/docs/CustodialTransferDestination.md +11 -0
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/DevelopersApi.md +2 -2
- package/docs/DevelopersWebhooksApi.md +6 -6
- package/docs/EstimateContractCallFeeParams.md +1 -0
- package/docs/EstimateFeeParams.md +1 -0
- package/docs/EstimateTransferFeeParams.md +1 -0
- package/docs/ExchangePermissionToken201Response.md +12 -0
- package/docs/ExchangePermissionTokenRequest.md +9 -0
- package/docs/FeeStationApi.md +6 -6
- package/docs/ListApprovalRequests200Response.md +10 -0
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +102 -0
- package/docs/Order.md +2 -2
- package/docs/PaymentApi.md +86 -147
- package/docs/PaymentOrderEventData.md +2 -2
- package/docs/PayoutChannel.md +12 -0
- package/docs/PolicyAction.md +10 -0
- package/docs/PolicyActionContent.md +25 -0
- package/docs/PolicyActionType.md +14 -0
- package/docs/PolicyCondition.md +12 -0
- package/docs/PolicyFieldOperator.md +18 -0
- package/docs/PolicyFieldValueType.md +12 -0
- package/docs/RefreshPermissionTokenRequest.md +9 -0
- package/docs/RequestApproval.md +13 -0
- package/docs/RevokeApprovalRequest201Response.md +10 -0
- package/docs/RevokeApprovalRequestRequest.md +9 -0
- package/docs/SettlementDetail.md +2 -0
- package/docs/StakingsApi.md +14 -14
- package/docs/SupportedToken.md +17 -0
- package/docs/SwapActivityApprovers.md +10 -0
- package/docs/SwapActivityDetail.md +1 -0
- package/docs/SwapApproversStatus.md +14 -0
- package/docs/TransactionCoboCategory.md +41 -3
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionSubStatus.md +4 -0
- package/docs/TransactionTransferToWalletDestination.md +1 -1
- package/docs/TransactionsApi.md +2 -2
- package/docs/TransferDestination.md +1 -1
- package/docs/TransferDestinationType.md +2 -0
- package/docs/UTXO.md +1 -0
- package/docs/WalletsApi.md +78 -23
- package/docs/WalletsExchangeWalletApi.md +4 -4
- package/docs/WalletsMPCWalletsApi.md +10 -10
- package/package.json +1 -1
- package/docs/CreateBankAccountRequest.md +0 -9
- package/docs/OrderAddressInfo.md +0 -12
|
@@ -0,0 +1,275 @@
|
|
|
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 _AppWorkflow = _interopRequireDefault(require("../model/AppWorkflow"));
|
|
9
|
+
var _ApprovalRequestDetail = _interopRequireDefault(require("../model/ApprovalRequestDetail"));
|
|
10
|
+
var _CreateApprovalRequest201Response = _interopRequireDefault(require("../model/CreateApprovalRequest201Response"));
|
|
11
|
+
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
12
|
+
var _ListApprovalRequests200Response = _interopRequireDefault(require("../model/ListApprovalRequests200Response"));
|
|
13
|
+
var _RequestApproval = _interopRequireDefault(require("../model/RequestApproval"));
|
|
14
|
+
var _RevokeApprovalRequest201Response = _interopRequireDefault(require("../model/RevokeApprovalRequest201Response"));
|
|
15
|
+
var _RevokeApprovalRequestRequest = _interopRequireDefault(require("../model/RevokeApprovalRequestRequest"));
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
18
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
20
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
21
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
23
|
+
* Cobo Wallet as a Service 2.0
|
|
24
|
+
*
|
|
25
|
+
* Contact: help@cobo.com
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* AppWorkflows service.
|
|
34
|
+
* @module api/AppWorkflowsApi
|
|
35
|
+
*/
|
|
36
|
+
var AppWorkflowsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new AppWorkflowsApi.
|
|
39
|
+
* @alias module:api/AppWorkflowsApi
|
|
40
|
+
* @class
|
|
41
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
42
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
43
|
+
*/
|
|
44
|
+
function AppWorkflowsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, AppWorkflowsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Request workflow approval
|
|
51
|
+
* This operation triggers a specified workflow and generates a new approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
52
|
+
* @param {Object} opts Optional parameters
|
|
53
|
+
* @param {module:model/RequestApproval} [RequestApproval] The request body to request workflow approval.
|
|
54
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateApprovalRequest201Response} and HTTP response
|
|
55
|
+
*/
|
|
56
|
+
return _createClass(AppWorkflowsApi, [{
|
|
57
|
+
key: "createApprovalRequestWithHttpInfo",
|
|
58
|
+
value: function createApprovalRequestWithHttpInfo(opts) {
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
var postBody = opts['RequestApproval'];
|
|
61
|
+
if (postBody && postBody.toJSON) {
|
|
62
|
+
postBody = postBody.toJSON();
|
|
63
|
+
}
|
|
64
|
+
var pathParams = {};
|
|
65
|
+
var queryParams = {};
|
|
66
|
+
var headerParams = {};
|
|
67
|
+
var formParams = {};
|
|
68
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
69
|
+
var contentTypes = ['application/json'];
|
|
70
|
+
var accepts = ['application/json'];
|
|
71
|
+
var returnType = _CreateApprovalRequest201Response["default"];
|
|
72
|
+
return this.apiClient.callApi('/app/workflows/approval_requests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Request workflow approval
|
|
77
|
+
* This operation triggers a specified workflow and generates a new approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
78
|
+
* @param {Object} opts Optional parameters
|
|
79
|
+
* @param {module:model/RequestApproval} opts.RequestApproval The request body to request workflow approval.
|
|
80
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateApprovalRequest201Response}
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "createApprovalRequest",
|
|
84
|
+
value: function createApprovalRequest(opts) {
|
|
85
|
+
return this.createApprovalRequestWithHttpInfo(opts).then(function (response_and_data) {
|
|
86
|
+
return response_and_data.data;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Get approval request details
|
|
92
|
+
* This operation retrieves the details of a specific approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
93
|
+
* @param {String} approval_id The system-generated unique ID of the approval request.
|
|
94
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApprovalRequestDetail} and HTTP response
|
|
95
|
+
*/
|
|
96
|
+
}, {
|
|
97
|
+
key: "getApprovalRequestByIdWithHttpInfo",
|
|
98
|
+
value: function getApprovalRequestByIdWithHttpInfo(approval_id) {
|
|
99
|
+
var postBody = null;
|
|
100
|
+
if (postBody && postBody.toJSON) {
|
|
101
|
+
postBody = postBody.toJSON();
|
|
102
|
+
}
|
|
103
|
+
// verify the required parameter 'approval_id' is set
|
|
104
|
+
if (approval_id === undefined || approval_id === null) {
|
|
105
|
+
throw new Error("Missing the required parameter 'approval_id' when calling getApprovalRequestById");
|
|
106
|
+
}
|
|
107
|
+
var pathParams = {
|
|
108
|
+
'approval_id': approval_id
|
|
109
|
+
};
|
|
110
|
+
var queryParams = {};
|
|
111
|
+
var headerParams = {};
|
|
112
|
+
var formParams = {};
|
|
113
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
114
|
+
var contentTypes = [];
|
|
115
|
+
var accepts = ['application/json'];
|
|
116
|
+
var returnType = _ApprovalRequestDetail["default"];
|
|
117
|
+
return this.apiClient.callApi('/app/workflows/approval_requests/{approval_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Get approval request details
|
|
122
|
+
* This operation retrieves the details of a specific approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
123
|
+
* @param {String} approval_id The system-generated unique ID of the approval request.
|
|
124
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApprovalRequestDetail}
|
|
125
|
+
*/
|
|
126
|
+
}, {
|
|
127
|
+
key: "getApprovalRequestById",
|
|
128
|
+
value: function getApprovalRequestById(approval_id) {
|
|
129
|
+
return this.getApprovalRequestByIdWithHttpInfo(approval_id).then(function (response_and_data) {
|
|
130
|
+
return response_and_data.data;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* List app workflows
|
|
136
|
+
* This operation retrieves all approval workflows of an Cobo Portal App. <Note>You need to [configure approval workflow](https://www.cobo.com/developers/v2/apps/configure-workflow) in the app Manifest file first.</Note> <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
137
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AppWorkflow>} and HTTP response
|
|
138
|
+
*/
|
|
139
|
+
}, {
|
|
140
|
+
key: "listAppWorkflowsWithHttpInfo",
|
|
141
|
+
value: function listAppWorkflowsWithHttpInfo() {
|
|
142
|
+
var postBody = null;
|
|
143
|
+
if (postBody && postBody.toJSON) {
|
|
144
|
+
postBody = postBody.toJSON();
|
|
145
|
+
}
|
|
146
|
+
var pathParams = {};
|
|
147
|
+
var queryParams = {};
|
|
148
|
+
var headerParams = {};
|
|
149
|
+
var formParams = {};
|
|
150
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
151
|
+
var contentTypes = [];
|
|
152
|
+
var accepts = ['application/json'];
|
|
153
|
+
var returnType = [_AppWorkflow["default"]];
|
|
154
|
+
return this.apiClient.callApi('/app/workflows', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* List app workflows
|
|
159
|
+
* This operation retrieves all approval workflows of an Cobo Portal App. <Note>You need to [configure approval workflow](https://www.cobo.com/developers/v2/apps/configure-workflow) in the app Manifest file first.</Note> <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
160
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AppWorkflow>}
|
|
161
|
+
*/
|
|
162
|
+
}, {
|
|
163
|
+
key: "listAppWorkflows",
|
|
164
|
+
value: function listAppWorkflows() {
|
|
165
|
+
return this.listAppWorkflowsWithHttpInfo().then(function (response_and_data) {
|
|
166
|
+
return response_and_data.data;
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* List approval requests
|
|
172
|
+
* This operation retrieves a list of approval requests. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
173
|
+
* @param {String} operation_id The unique ID of the approval workflow.
|
|
174
|
+
* @param {Object} opts Optional parameters
|
|
175
|
+
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
176
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
177
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
178
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListApprovalRequests200Response} and HTTP response
|
|
179
|
+
*/
|
|
180
|
+
}, {
|
|
181
|
+
key: "listApprovalRequestsWithHttpInfo",
|
|
182
|
+
value: function listApprovalRequestsWithHttpInfo(operation_id, opts) {
|
|
183
|
+
opts = opts || {};
|
|
184
|
+
var postBody = null;
|
|
185
|
+
if (postBody && postBody.toJSON) {
|
|
186
|
+
postBody = postBody.toJSON();
|
|
187
|
+
}
|
|
188
|
+
// verify the required parameter 'operation_id' is set
|
|
189
|
+
if (operation_id === undefined || operation_id === null) {
|
|
190
|
+
throw new Error("Missing the required parameter 'operation_id' when calling listApprovalRequests");
|
|
191
|
+
}
|
|
192
|
+
var pathParams = {};
|
|
193
|
+
var queryParams = {
|
|
194
|
+
'operation_id': operation_id,
|
|
195
|
+
'limit': opts['limit'],
|
|
196
|
+
'before': opts['before'],
|
|
197
|
+
'after': opts['after']
|
|
198
|
+
};
|
|
199
|
+
var headerParams = {};
|
|
200
|
+
var formParams = {};
|
|
201
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
202
|
+
var contentTypes = [];
|
|
203
|
+
var accepts = ['application/json'];
|
|
204
|
+
var returnType = _ListApprovalRequests200Response["default"];
|
|
205
|
+
return this.apiClient.callApi('/app/workflows/approval_requests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* List approval requests
|
|
210
|
+
* This operation retrieves a list of approval requests. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
211
|
+
* @param {String} operation_id The unique ID of the approval workflow.
|
|
212
|
+
* @param {Object} opts Optional parameters
|
|
213
|
+
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
214
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
215
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
216
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListApprovalRequests200Response}
|
|
217
|
+
*/
|
|
218
|
+
}, {
|
|
219
|
+
key: "listApprovalRequests",
|
|
220
|
+
value: function listApprovalRequests(operation_id, opts) {
|
|
221
|
+
return this.listApprovalRequestsWithHttpInfo(operation_id, opts).then(function (response_and_data) {
|
|
222
|
+
return response_and_data.data;
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Revoke approval request
|
|
228
|
+
* This operation revokes a pending approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
229
|
+
* @param {String} approval_id The system-generated unique ID of the approval request.
|
|
230
|
+
* @param {Object} opts Optional parameters
|
|
231
|
+
* @param {module:model/RevokeApprovalRequestRequest} [RevokeApprovalRequestRequest] The request body to revoke an approval request.
|
|
232
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RevokeApprovalRequest201Response} and HTTP response
|
|
233
|
+
*/
|
|
234
|
+
}, {
|
|
235
|
+
key: "revokeApprovalRequestWithHttpInfo",
|
|
236
|
+
value: function revokeApprovalRequestWithHttpInfo(approval_id, opts) {
|
|
237
|
+
opts = opts || {};
|
|
238
|
+
var postBody = opts['RevokeApprovalRequestRequest'];
|
|
239
|
+
if (postBody && postBody.toJSON) {
|
|
240
|
+
postBody = postBody.toJSON();
|
|
241
|
+
}
|
|
242
|
+
// verify the required parameter 'approval_id' is set
|
|
243
|
+
if (approval_id === undefined || approval_id === null) {
|
|
244
|
+
throw new Error("Missing the required parameter 'approval_id' when calling revokeApprovalRequest");
|
|
245
|
+
}
|
|
246
|
+
var pathParams = {
|
|
247
|
+
'approval_id': approval_id
|
|
248
|
+
};
|
|
249
|
+
var queryParams = {};
|
|
250
|
+
var headerParams = {};
|
|
251
|
+
var formParams = {};
|
|
252
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
253
|
+
var contentTypes = ['application/json'];
|
|
254
|
+
var accepts = ['application/json'];
|
|
255
|
+
var returnType = _RevokeApprovalRequest201Response["default"];
|
|
256
|
+
return this.apiClient.callApi('/app/workflows/approval_requests/{approval_id}/revoke', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Revoke approval request
|
|
261
|
+
* This operation revokes a pending approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
|
|
262
|
+
* @param {String} approval_id The system-generated unique ID of the approval request.
|
|
263
|
+
* @param {Object} opts Optional parameters
|
|
264
|
+
* @param {module:model/RevokeApprovalRequestRequest} opts.RevokeApprovalRequestRequest The request body to revoke an approval request.
|
|
265
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RevokeApprovalRequest201Response}
|
|
266
|
+
*/
|
|
267
|
+
}, {
|
|
268
|
+
key: "revokeApprovalRequest",
|
|
269
|
+
value: function revokeApprovalRequest(approval_id, opts) {
|
|
270
|
+
return this.revokeApprovalRequestWithHttpInfo(approval_id, opts).then(function (response_and_data) {
|
|
271
|
+
return response_and_data.data;
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
}]);
|
|
275
|
+
}();
|
|
@@ -88,8 +88,8 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
88
|
* @param {String} [wallet_ids] A list of wallet IDs, separated by commas.
|
|
89
89
|
* @param {module:model/String} [status] The callback message status. Possible values include `Approved`, `Denied`, and `Failed`.
|
|
90
90
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
91
|
-
* @param {String} [before]
|
|
92
|
-
* @param {String} [after]
|
|
91
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
92
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
93
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListCallbackMessages200Response} and HTTP response
|
|
94
94
|
*/
|
|
95
95
|
}, {
|
|
@@ -130,8 +130,8 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
130
130
|
* @param {String} opts.wallet_ids A list of wallet IDs, separated by commas.
|
|
131
131
|
* @param {module:model/String} opts.status The callback message status. Possible values include `Approved`, `Denied`, and `Failed`.
|
|
132
132
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
133
|
-
* @param {String} opts.before
|
|
134
|
-
* @param {String} opts.after
|
|
133
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
134
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
135
135
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListCallbackMessages200Response}
|
|
136
136
|
*/
|
|
137
137
|
}, {
|
|
@@ -196,8 +196,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
196
196
|
* @param {module:model/WebhookEndpointStatus} [status]
|
|
197
197
|
* @param {module:model/WebhookEventType} [event_type]
|
|
198
198
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
199
|
-
* @param {String} [before]
|
|
200
|
-
* @param {String} [after]
|
|
199
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
200
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
201
201
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListWebhookEndpoints200Response} and HTTP response
|
|
202
202
|
*/
|
|
203
203
|
}, {
|
|
@@ -232,8 +232,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
232
232
|
* @param {module:model/WebhookEndpointStatus} opts.status
|
|
233
233
|
* @param {module:model/WebhookEventType} opts.event_type
|
|
234
234
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
235
|
-
* @param {String} opts.before
|
|
236
|
-
* @param {String} opts.after
|
|
235
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
236
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
237
237
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListWebhookEndpoints200Response}
|
|
238
238
|
*/
|
|
239
239
|
}, {
|
|
@@ -287,8 +287,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
287
287
|
* @param {String} endpoint_id The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](https://www.cobo.com/developers/v2/api-references/developers--webhooks/list-webhook-endpoints).
|
|
288
288
|
* @param {Object} opts Optional parameters
|
|
289
289
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
290
|
-
* @param {String} [before]
|
|
291
|
-
* @param {String} [after]
|
|
290
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
291
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
292
292
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListWebhookEventLogs200Response} and HTTP response
|
|
293
293
|
*/
|
|
294
294
|
}, {
|
|
@@ -332,8 +332,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
332
332
|
* @param {String} endpoint_id The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](https://www.cobo.com/developers/v2/api-references/developers--webhooks/list-webhook-endpoints).
|
|
333
333
|
* @param {Object} opts Optional parameters
|
|
334
334
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
335
|
-
* @param {String} opts.before
|
|
336
|
-
* @param {String} opts.after
|
|
335
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
336
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
337
337
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListWebhookEventLogs200Response}
|
|
338
338
|
*/
|
|
339
339
|
}, {
|
|
@@ -352,8 +352,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
352
352
|
* @param {module:model/WebhookEventStatus} [status]
|
|
353
353
|
* @param {module:model/WebhookEventType} [type]
|
|
354
354
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
355
|
-
* @param {String} [before]
|
|
356
|
-
* @param {String} [after]
|
|
355
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
356
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
357
357
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListWebhookEvents200Response} and HTTP response
|
|
358
358
|
*/
|
|
359
359
|
}, {
|
|
@@ -395,8 +395,8 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
395
395
|
* @param {module:model/WebhookEventStatus} opts.status
|
|
396
396
|
* @param {module:model/WebhookEventType} opts.type
|
|
397
397
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
398
|
-
* @param {String} opts.before
|
|
399
|
-
* @param {String} opts.after
|
|
398
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
399
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
400
400
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListWebhookEvents200Response}
|
|
401
401
|
*/
|
|
402
402
|
}, {
|
|
@@ -137,8 +137,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
137
|
* @param {String} [chain_ids] A list of chain IDs, separated by comma. The chain ID is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
138
138
|
* @param {String} [addresses] A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
139
139
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
140
|
-
* @param {String} [before]
|
|
141
|
-
* @param {String} [after]
|
|
140
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
141
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
142
142
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddresses200Response} and HTTP response
|
|
143
143
|
*/
|
|
144
144
|
}, {
|
|
@@ -173,8 +173,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
173
173
|
* @param {String} opts.chain_ids A list of chain IDs, separated by comma. The chain ID is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
174
174
|
* @param {String} opts.addresses A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
175
175
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
176
|
-
* @param {String} opts.before
|
|
177
|
-
* @param {String} opts.after
|
|
176
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
177
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
178
178
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListAddresses200Response}
|
|
179
179
|
*/
|
|
180
180
|
}, {
|
|
@@ -201,8 +201,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
201
|
* @param {Number} [min_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
202
202
|
* @param {Number} [max_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change.
|
|
203
203
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
204
|
-
* @param {String} [before]
|
|
205
|
-
* @param {String} [after]
|
|
204
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
205
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
206
206
|
* @param {module:model/String} [direction = '')] The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order.
|
|
207
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTransactions200Response} and HTTP response
|
|
208
208
|
*/
|
|
@@ -257,8 +257,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
257
257
|
* @param {Number} opts.min_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
258
258
|
* @param {Number} opts.max_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change.
|
|
259
259
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
260
|
-
* @param {String} opts.before
|
|
261
|
-
* @param {String} opts.after
|
|
260
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
261
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
262
262
|
* @param {module:model/String} opts.direction The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. (default to '')
|
|
263
263
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTransactions200Response}
|
|
264
264
|
*/
|
|
@@ -276,8 +276,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
276
276
|
* @param {Object} opts Optional parameters
|
|
277
277
|
* @param {String} [token_ids] A list of token IDs, separated by comma. The token ID is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
278
278
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
279
|
-
* @param {String} [before]
|
|
280
|
-
* @param {String} [after]
|
|
279
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
280
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
281
281
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTokenBalancesForFeeStation200Response} and HTTP response
|
|
282
282
|
*/
|
|
283
283
|
}, {
|
|
@@ -310,8 +310,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
310
310
|
* @param {Object} opts Optional parameters
|
|
311
311
|
* @param {String} opts.token_ids A list of token IDs, separated by comma. The token ID is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
312
312
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
313
|
-
* @param {String} opts.before
|
|
314
|
-
* @param {String} opts.after
|
|
313
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
314
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
315
315
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTokenBalancesForFeeStation200Response}
|
|
316
316
|
*/
|
|
317
317
|
}, {
|