@seal-protocol/backendjs 0.0.25 → 0.0.28
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/lib/api/seal-client.d.ts +368 -10
- package/lib/api/seal-client.js +348 -14
- package/lib/model/index.d.ts +13 -0
- package/lib/model/index.js +13 -0
- package/lib/model/seal-chain.d.ts +42 -0
- package/lib/model/seal-chain.js +15 -0
- package/lib/model/seal-chains-order-by-property.d.ts +19 -0
- package/lib/model/seal-chains-order-by-property.js +25 -0
- package/lib/model/seal-chains-order-by.d.ts +31 -0
- package/lib/model/seal-chains-order-by.js +15 -0
- package/lib/model/seal-get-chains-response.d.ts +31 -0
- package/lib/model/seal-get-chains-response.js +15 -0
- package/lib/model/seal-get-order-reservations-response.d.ts +31 -0
- package/lib/model/seal-get-order-reservations-response.js +15 -0
- package/lib/model/seal-get-tokens-response.d.ts +31 -0
- package/lib/model/seal-get-tokens-response.js +15 -0
- package/lib/model/seal-order-intent.d.ts +31 -0
- package/lib/model/seal-order-intent.js +15 -0
- package/lib/model/seal-order-reservation.d.ts +109 -0
- package/lib/model/seal-order-reservation.js +15 -0
- package/lib/model/seal-order-reservations-order-by-property.d.ts +27 -0
- package/lib/model/seal-order-reservations-order-by-property.js +33 -0
- package/lib/model/seal-order-reservations-order-by.d.ts +31 -0
- package/lib/model/seal-order-reservations-order-by.js +15 -0
- package/lib/model/seal-order.d.ts +9 -2
- package/lib/model/seal-token.d.ts +72 -0
- package/lib/model/seal-token.js +15 -0
- package/lib/model/seal-tokens-order-by-property.d.ts +19 -0
- package/lib/model/seal-tokens-order-by-property.js +25 -0
- package/lib/model/seal-tokens-order-by.d.ts +31 -0
- package/lib/model/seal-tokens-order-by.js +15 -0
- package/package.json +1 -1
package/lib/api/seal-client.d.ts
CHANGED
|
@@ -14,11 +14,14 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { SealCancelOrderRequest } from '../model';
|
|
16
16
|
import type { SealCreateOrderIntentRequest } from '../model';
|
|
17
|
+
import type { SealGetChainsResponse } from '../model';
|
|
17
18
|
import type { SealGetConfigResponse } from '../model';
|
|
18
19
|
import type { SealGetHealthCheckResponse } from '../model';
|
|
19
20
|
import type { SealGetOrderNonceResponse } from '../model';
|
|
21
|
+
import type { SealGetOrderReservationsResponse } from '../model';
|
|
20
22
|
import type { SealGetOrdersResponse } from '../model';
|
|
21
23
|
import type { SealGetPairsResponse } from '../model';
|
|
24
|
+
import type { SealGetTokensResponse } from '../model';
|
|
22
25
|
/**
|
|
23
26
|
* SealClient - axios parameter creator
|
|
24
27
|
* @export
|
|
@@ -44,6 +47,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
44
47
|
* @throws {RequiredError}
|
|
45
48
|
*/
|
|
46
49
|
createOrderIntent: (body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param {string} [paginationKey]
|
|
53
|
+
* @param {number} [paginationLimit]
|
|
54
|
+
* @param {boolean} [paginationCountTotal]
|
|
55
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
56
|
+
* @param {boolean} [orderByDescending]
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getChains: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetChainsOrderByPropertyEnum, orderByDescending?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
61
|
/**
|
|
48
62
|
*
|
|
49
63
|
* @param {string} chainId uint256
|
|
@@ -52,14 +66,30 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
52
66
|
* @throws {RequiredError}
|
|
53
67
|
*/
|
|
54
68
|
getOrderNonce: (chainId: string, owner: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @param {string} [chainId] uint256
|
|
72
|
+
* @param {boolean} [liveValue]
|
|
73
|
+
* @param {boolean} [expiredValue]
|
|
74
|
+
* @param {string} [reserver]
|
|
75
|
+
* @param {string} [orderIdHash]
|
|
76
|
+
* @param {GetOrderReservationsOrderByPropertyEnum} [orderByProperty]
|
|
77
|
+
* @param {boolean} [orderByDescending]
|
|
78
|
+
* @param {string} [paginationKey]
|
|
79
|
+
* @param {number} [paginationLimit]
|
|
80
|
+
* @param {boolean} [paginationCountTotal]
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
getOrderReservations: (chainId?: string, liveValue?: boolean, expiredValue?: boolean, reserver?: string, orderIdHash?: string, orderByProperty?: GetOrderReservationsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
85
|
/**
|
|
56
86
|
*
|
|
57
87
|
* @param {string} [chainId] uint256
|
|
58
88
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
59
89
|
* @param {string} [tokenOut]
|
|
60
90
|
* @param {string} [owner]
|
|
61
|
-
* @param {string} [
|
|
62
|
-
* @param {string} [
|
|
91
|
+
* @param {string} [fromPriceDecimal]
|
|
92
|
+
* @param {string} [toPriceDecimal]
|
|
63
93
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
64
94
|
* @param {boolean} [orderByDescending]
|
|
65
95
|
* @param {string} [paginationKey]
|
|
@@ -68,10 +98,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
68
98
|
* @param {boolean} [reservationAllowedValue]
|
|
69
99
|
* @param {boolean} [liveValue]
|
|
70
100
|
* @param {boolean} [cancelledValue]
|
|
101
|
+
* @param {string} [depositToken]
|
|
102
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
103
|
+
* @param {string} [minRemainingAmount] uint256
|
|
104
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
105
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
106
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
107
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
71
108
|
* @param {*} [options] Override http request option.
|
|
72
109
|
* @throws {RequiredError}
|
|
73
110
|
*/
|
|
74
|
-
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string,
|
|
111
|
+
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPriceDecimal?: string, toPriceDecimal?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
112
|
/**
|
|
76
113
|
*
|
|
77
114
|
* @param {string} [paginationKey]
|
|
@@ -88,6 +125,18 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
88
125
|
* @throws {RequiredError}
|
|
89
126
|
*/
|
|
90
127
|
getPairs: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @param {string} [paginationKey]
|
|
131
|
+
* @param {number} [paginationLimit]
|
|
132
|
+
* @param {boolean} [paginationCountTotal]
|
|
133
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
134
|
+
* @param {boolean} [orderByDescending]
|
|
135
|
+
* @param {string} [chainId]
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
140
|
/**
|
|
92
141
|
*
|
|
93
142
|
* @param {*} [options] Override http request option.
|
|
@@ -120,6 +169,17 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
120
169
|
* @throws {RequiredError}
|
|
121
170
|
*/
|
|
122
171
|
createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @param {string} [paginationKey]
|
|
175
|
+
* @param {number} [paginationLimit]
|
|
176
|
+
* @param {boolean} [paginationCountTotal]
|
|
177
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
178
|
+
* @param {boolean} [orderByDescending]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
getChains(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetChainsOrderByPropertyEnum, orderByDescending?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetChainsResponse>>;
|
|
123
183
|
/**
|
|
124
184
|
*
|
|
125
185
|
* @param {string} chainId uint256
|
|
@@ -128,14 +188,30 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
128
188
|
* @throws {RequiredError}
|
|
129
189
|
*/
|
|
130
190
|
getOrderNonce(chainId: string, owner: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @param {string} [chainId] uint256
|
|
194
|
+
* @param {boolean} [liveValue]
|
|
195
|
+
* @param {boolean} [expiredValue]
|
|
196
|
+
* @param {string} [reserver]
|
|
197
|
+
* @param {string} [orderIdHash]
|
|
198
|
+
* @param {GetOrderReservationsOrderByPropertyEnum} [orderByProperty]
|
|
199
|
+
* @param {boolean} [orderByDescending]
|
|
200
|
+
* @param {string} [paginationKey]
|
|
201
|
+
* @param {number} [paginationLimit]
|
|
202
|
+
* @param {boolean} [paginationCountTotal]
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
getOrderReservations(chainId?: string, liveValue?: boolean, expiredValue?: boolean, reserver?: string, orderIdHash?: string, orderByProperty?: GetOrderReservationsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderReservationsResponse>>;
|
|
131
207
|
/**
|
|
132
208
|
*
|
|
133
209
|
* @param {string} [chainId] uint256
|
|
134
210
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
135
211
|
* @param {string} [tokenOut]
|
|
136
212
|
* @param {string} [owner]
|
|
137
|
-
* @param {string} [
|
|
138
|
-
* @param {string} [
|
|
213
|
+
* @param {string} [fromPriceDecimal]
|
|
214
|
+
* @param {string} [toPriceDecimal]
|
|
139
215
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
140
216
|
* @param {boolean} [orderByDescending]
|
|
141
217
|
* @param {string} [paginationKey]
|
|
@@ -144,10 +220,17 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
144
220
|
* @param {boolean} [reservationAllowedValue]
|
|
145
221
|
* @param {boolean} [liveValue]
|
|
146
222
|
* @param {boolean} [cancelledValue]
|
|
223
|
+
* @param {string} [depositToken]
|
|
224
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
225
|
+
* @param {string} [minRemainingAmount] uint256
|
|
226
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
227
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
228
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
229
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
147
230
|
* @param {*} [options] Override http request option.
|
|
148
231
|
* @throws {RequiredError}
|
|
149
232
|
*/
|
|
150
|
-
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string,
|
|
233
|
+
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPriceDecimal?: string, toPriceDecimal?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
151
234
|
/**
|
|
152
235
|
*
|
|
153
236
|
* @param {string} [paginationKey]
|
|
@@ -164,6 +247,18 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
164
247
|
* @throws {RequiredError}
|
|
165
248
|
*/
|
|
166
249
|
getPairs(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPairsResponse>>;
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @param {string} [paginationKey]
|
|
253
|
+
* @param {number} [paginationLimit]
|
|
254
|
+
* @param {boolean} [paginationCountTotal]
|
|
255
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
256
|
+
* @param {boolean} [orderByDescending]
|
|
257
|
+
* @param {string} [chainId]
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
|
|
167
262
|
/**
|
|
168
263
|
*
|
|
169
264
|
* @param {*} [options] Override http request option.
|
|
@@ -196,6 +291,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
196
291
|
* @throws {RequiredError}
|
|
197
292
|
*/
|
|
198
293
|
createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
getChains(requestParameters?: SealClientGetChainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetChainsResponse>;
|
|
199
301
|
/**
|
|
200
302
|
*
|
|
201
303
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -203,6 +305,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
203
305
|
* @throws {RequiredError}
|
|
204
306
|
*/
|
|
205
307
|
getOrderNonce(requestParameters: SealClientGetOrderNonceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetOrderNonceResponse>;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @param {SealClientGetOrderReservationsRequest} requestParameters Request parameters.
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
getOrderReservations(requestParameters?: SealClientGetOrderReservationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetOrderReservationsResponse>;
|
|
206
315
|
/**
|
|
207
316
|
*
|
|
208
317
|
* @param {SealClientGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -217,6 +326,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
217
326
|
* @throws {RequiredError}
|
|
218
327
|
*/
|
|
219
328
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
getTokens(requestParameters?: SealClientGetTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetTokensResponse>;
|
|
220
336
|
/**
|
|
221
337
|
*
|
|
222
338
|
* @param {*} [options] Override http request option.
|
|
@@ -250,6 +366,43 @@ export interface SealClientCreateOrderIntentRequest {
|
|
|
250
366
|
*/
|
|
251
367
|
readonly body: SealCreateOrderIntentRequest;
|
|
252
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* Request parameters for getChains operation in SealClient.
|
|
371
|
+
* @export
|
|
372
|
+
* @interface SealClientGetChainsRequest
|
|
373
|
+
*/
|
|
374
|
+
export interface SealClientGetChainsRequest {
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof SealClientGetChains
|
|
379
|
+
*/
|
|
380
|
+
readonly paginationKey?: string;
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {number}
|
|
384
|
+
* @memberof SealClientGetChains
|
|
385
|
+
*/
|
|
386
|
+
readonly paginationLimit?: number;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {boolean}
|
|
390
|
+
* @memberof SealClientGetChains
|
|
391
|
+
*/
|
|
392
|
+
readonly paginationCountTotal?: boolean;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {'ChainsOrderByProperty_UNSPECIFIED'}
|
|
396
|
+
* @memberof SealClientGetChains
|
|
397
|
+
*/
|
|
398
|
+
readonly orderByProperty?: GetChainsOrderByPropertyEnum;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {boolean}
|
|
402
|
+
* @memberof SealClientGetChains
|
|
403
|
+
*/
|
|
404
|
+
readonly orderByDescending?: boolean;
|
|
405
|
+
}
|
|
253
406
|
/**
|
|
254
407
|
* Request parameters for getOrderNonce operation in SealClient.
|
|
255
408
|
* @export
|
|
@@ -269,6 +422,73 @@ export interface SealClientGetOrderNonceRequest {
|
|
|
269
422
|
*/
|
|
270
423
|
readonly owner: string;
|
|
271
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* Request parameters for getOrderReservations operation in SealClient.
|
|
427
|
+
* @export
|
|
428
|
+
* @interface SealClientGetOrderReservationsRequest
|
|
429
|
+
*/
|
|
430
|
+
export interface SealClientGetOrderReservationsRequest {
|
|
431
|
+
/**
|
|
432
|
+
* uint256
|
|
433
|
+
* @type {string}
|
|
434
|
+
* @memberof SealClientGetOrderReservations
|
|
435
|
+
*/
|
|
436
|
+
readonly chainId?: string;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @type {boolean}
|
|
440
|
+
* @memberof SealClientGetOrderReservations
|
|
441
|
+
*/
|
|
442
|
+
readonly liveValue?: boolean;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @type {boolean}
|
|
446
|
+
* @memberof SealClientGetOrderReservations
|
|
447
|
+
*/
|
|
448
|
+
readonly expiredValue?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @type {string}
|
|
452
|
+
* @memberof SealClientGetOrderReservations
|
|
453
|
+
*/
|
|
454
|
+
readonly reserver?: string;
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof SealClientGetOrderReservations
|
|
459
|
+
*/
|
|
460
|
+
readonly orderIdHash?: string;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {'OrderReservationsOrderByProperty_UNSPECIFIED' | 'OrderReservationsOrderByProperty_ORDER_ID_HASH' | 'OrderReservationsOrderByProperty_RESERVATION_ID' | 'OrderReservationsOrderByProperty_TOTAL_AMOUNT' | 'OrderReservationsOrderByProperty_REMAINING_AMOUNT' | 'OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT' | 'OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT' | 'OrderReservationsOrderByProperty_CHAIN_ID' | 'OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER'}
|
|
464
|
+
* @memberof SealClientGetOrderReservations
|
|
465
|
+
*/
|
|
466
|
+
readonly orderByProperty?: GetOrderReservationsOrderByPropertyEnum;
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @type {boolean}
|
|
470
|
+
* @memberof SealClientGetOrderReservations
|
|
471
|
+
*/
|
|
472
|
+
readonly orderByDescending?: boolean;
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @type {string}
|
|
476
|
+
* @memberof SealClientGetOrderReservations
|
|
477
|
+
*/
|
|
478
|
+
readonly paginationKey?: string;
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @type {number}
|
|
482
|
+
* @memberof SealClientGetOrderReservations
|
|
483
|
+
*/
|
|
484
|
+
readonly paginationLimit?: number;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {boolean}
|
|
488
|
+
* @memberof SealClientGetOrderReservations
|
|
489
|
+
*/
|
|
490
|
+
readonly paginationCountTotal?: boolean;
|
|
491
|
+
}
|
|
272
492
|
/**
|
|
273
493
|
* Request parameters for getOrders operation in SealClient.
|
|
274
494
|
* @export
|
|
@@ -300,17 +520,17 @@ export interface SealClientGetOrdersRequest {
|
|
|
300
520
|
*/
|
|
301
521
|
readonly owner?: string;
|
|
302
522
|
/**
|
|
303
|
-
*
|
|
523
|
+
*
|
|
304
524
|
* @type {string}
|
|
305
525
|
* @memberof SealClientGetOrders
|
|
306
526
|
*/
|
|
307
|
-
readonly
|
|
527
|
+
readonly fromPriceDecimal?: string;
|
|
308
528
|
/**
|
|
309
|
-
*
|
|
529
|
+
*
|
|
310
530
|
* @type {string}
|
|
311
531
|
* @memberof SealClientGetOrders
|
|
312
532
|
*/
|
|
313
|
-
readonly
|
|
533
|
+
readonly toPriceDecimal?: string;
|
|
314
534
|
/**
|
|
315
535
|
*
|
|
316
536
|
* @type {'UNSPECIFIED' | 'OWNER' | 'TOKEN_IN' | 'TOKEN_OUT' | 'AMOUNT_IN' | 'PRICE' | 'DEADLINE' | 'CHAIN_ID' | 'DEPOSIT_TOKEN' | 'MIN_RESERVATION_DEPOSIT_AMOUNT' | 'REMAINING_AMOUNT' | 'RESERVED_AMOUNT' | 'FILLED_AMOUNT'}
|
|
@@ -359,6 +579,48 @@ export interface SealClientGetOrdersRequest {
|
|
|
359
579
|
* @memberof SealClientGetOrders
|
|
360
580
|
*/
|
|
361
581
|
readonly cancelledValue?: boolean;
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof SealClientGetOrders
|
|
586
|
+
*/
|
|
587
|
+
readonly depositToken?: string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {number}
|
|
591
|
+
* @memberof SealClientGetOrders
|
|
592
|
+
*/
|
|
593
|
+
readonly minReservationPeriodSeconds?: number;
|
|
594
|
+
/**
|
|
595
|
+
* uint256
|
|
596
|
+
* @type {string}
|
|
597
|
+
* @memberof SealClientGetOrders
|
|
598
|
+
*/
|
|
599
|
+
readonly minRemainingAmount?: string;
|
|
600
|
+
/**
|
|
601
|
+
* not supported yet
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof SealClientGetOrders
|
|
604
|
+
*/
|
|
605
|
+
readonly minPriceMargin?: string;
|
|
606
|
+
/**
|
|
607
|
+
* not supported yet
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof SealClientGetOrders
|
|
610
|
+
*/
|
|
611
|
+
readonly maxPriceMargin?: string;
|
|
612
|
+
/**
|
|
613
|
+
* not supported yet
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof SealClientGetOrders
|
|
616
|
+
*/
|
|
617
|
+
readonly maxReservationDepositPerStable?: string;
|
|
618
|
+
/**
|
|
619
|
+
* not supported yet
|
|
620
|
+
* @type {string}
|
|
621
|
+
* @memberof SealClientGetOrders
|
|
622
|
+
*/
|
|
623
|
+
readonly minRemainingAmountStableTerms?: string;
|
|
362
624
|
}
|
|
363
625
|
/**
|
|
364
626
|
* Request parameters for getPairs operation in SealClient.
|
|
@@ -427,6 +689,49 @@ export interface SealClientGetPairsRequest {
|
|
|
427
689
|
*/
|
|
428
690
|
readonly excludeEmpty?: boolean;
|
|
429
691
|
}
|
|
692
|
+
/**
|
|
693
|
+
* Request parameters for getTokens operation in SealClient.
|
|
694
|
+
* @export
|
|
695
|
+
* @interface SealClientGetTokensRequest
|
|
696
|
+
*/
|
|
697
|
+
export interface SealClientGetTokensRequest {
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof SealClientGetTokens
|
|
702
|
+
*/
|
|
703
|
+
readonly paginationKey?: string;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {number}
|
|
707
|
+
* @memberof SealClientGetTokens
|
|
708
|
+
*/
|
|
709
|
+
readonly paginationLimit?: number;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {boolean}
|
|
713
|
+
* @memberof SealClientGetTokens
|
|
714
|
+
*/
|
|
715
|
+
readonly paginationCountTotal?: boolean;
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {'TokensOrderByProperty_UNSPECIFIED'}
|
|
719
|
+
* @memberof SealClientGetTokens
|
|
720
|
+
*/
|
|
721
|
+
readonly orderByProperty?: GetTokensOrderByPropertyEnum;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {boolean}
|
|
725
|
+
* @memberof SealClientGetTokens
|
|
726
|
+
*/
|
|
727
|
+
readonly orderByDescending?: boolean;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {string}
|
|
731
|
+
* @memberof SealClientGetTokens
|
|
732
|
+
*/
|
|
733
|
+
readonly chainId?: string;
|
|
734
|
+
}
|
|
430
735
|
/**
|
|
431
736
|
* SealClient - object-oriented interface
|
|
432
737
|
* @export
|
|
@@ -457,6 +762,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
457
762
|
* @memberof SealClient
|
|
458
763
|
*/
|
|
459
764
|
createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
* @memberof SealClient
|
|
771
|
+
*/
|
|
772
|
+
getChains(requestParameters?: SealClientGetChainsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetChainsResponse, any>>;
|
|
460
773
|
/**
|
|
461
774
|
*
|
|
462
775
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -465,6 +778,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
465
778
|
* @memberof SealClient
|
|
466
779
|
*/
|
|
467
780
|
getOrderNonce(requestParameters: SealClientGetOrderNonceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetOrderNonceResponse, any>>;
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @param {SealClientGetOrderReservationsRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
* @memberof SealClient
|
|
787
|
+
*/
|
|
788
|
+
getOrderReservations(requestParameters?: SealClientGetOrderReservationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetOrderReservationsResponse, any>>;
|
|
468
789
|
/**
|
|
469
790
|
*
|
|
470
791
|
* @param {SealClientGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -481,6 +802,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
481
802
|
* @memberof SealClient
|
|
482
803
|
*/
|
|
483
804
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any>>;
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
* @memberof SealClient
|
|
811
|
+
*/
|
|
812
|
+
getTokens(requestParameters?: SealClientGetTokensRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetTokensResponse, any>>;
|
|
484
813
|
/**
|
|
485
814
|
*
|
|
486
815
|
* @param {*} [options] Override http request option.
|
|
@@ -489,6 +818,28 @@ export declare class SealClient extends BaseAPI {
|
|
|
489
818
|
*/
|
|
490
819
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetHealthCheckResponse, any>>;
|
|
491
820
|
}
|
|
821
|
+
/**
|
|
822
|
+
* @export
|
|
823
|
+
* @enum {string}
|
|
824
|
+
*/
|
|
825
|
+
export declare enum GetChainsOrderByPropertyEnum {
|
|
826
|
+
ChainsOrderByPropertyUnspecified = "ChainsOrderByProperty_UNSPECIFIED"
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @export
|
|
830
|
+
* @enum {string}
|
|
831
|
+
*/
|
|
832
|
+
export declare enum GetOrderReservationsOrderByPropertyEnum {
|
|
833
|
+
OrderReservationsOrderByPropertyUnspecified = "OrderReservationsOrderByProperty_UNSPECIFIED",
|
|
834
|
+
OrderReservationsOrderByPropertyOrderIdHash = "OrderReservationsOrderByProperty_ORDER_ID_HASH",
|
|
835
|
+
OrderReservationsOrderByPropertyReservationId = "OrderReservationsOrderByProperty_RESERVATION_ID",
|
|
836
|
+
OrderReservationsOrderByPropertyTotalAmount = "OrderReservationsOrderByProperty_TOTAL_AMOUNT",
|
|
837
|
+
OrderReservationsOrderByPropertyRemainingAmount = "OrderReservationsOrderByProperty_REMAINING_AMOUNT",
|
|
838
|
+
OrderReservationsOrderByPropertyTotalDepositAmount = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT",
|
|
839
|
+
OrderReservationsOrderByPropertyRemainingDepositAmount = "OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT",
|
|
840
|
+
OrderReservationsOrderByPropertyChainId = "OrderReservationsOrderByProperty_CHAIN_ID",
|
|
841
|
+
OrderReservationsOrderByPropertyCreatedAtBlockNumber = "OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER"
|
|
842
|
+
}
|
|
492
843
|
/**
|
|
493
844
|
* @export
|
|
494
845
|
* @enum {string}
|
|
@@ -515,3 +866,10 @@ export declare enum GetOrdersOrderByPropertyEnum {
|
|
|
515
866
|
export declare enum GetPairsOrderByPropertyEnum {
|
|
516
867
|
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
|
|
517
868
|
}
|
|
869
|
+
/**
|
|
870
|
+
* @export
|
|
871
|
+
* @enum {string}
|
|
872
|
+
*/
|
|
873
|
+
export declare enum GetTokensOrderByPropertyEnum {
|
|
874
|
+
TokensOrderByPropertyUnspecified = "TokensOrderByProperty_UNSPECIFIED"
|
|
875
|
+
}
|