@seal-protocol/backendjs 0.0.25 → 0.0.27
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 +238 -10
- package/lib/api/seal-client.js +228 -14
- package/lib/model/index.d.ts +8 -0
- package/lib/model/index.js +8 -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-tokens-response.d.ts +31 -0
- package/lib/model/seal-get-tokens-response.js +15 -0
- package/lib/model/seal-order.d.ts +2 -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,13 @@ 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';
|
|
20
21
|
import type { SealGetOrdersResponse } from '../model';
|
|
21
22
|
import type { SealGetPairsResponse } from '../model';
|
|
23
|
+
import type { SealGetTokensResponse } from '../model';
|
|
22
24
|
/**
|
|
23
25
|
* SealClient - axios parameter creator
|
|
24
26
|
* @export
|
|
@@ -44,6 +46,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
44
46
|
* @throws {RequiredError}
|
|
45
47
|
*/
|
|
46
48
|
createOrderIntent: (body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @param {string} [paginationKey]
|
|
52
|
+
* @param {number} [paginationLimit]
|
|
53
|
+
* @param {boolean} [paginationCountTotal]
|
|
54
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
55
|
+
* @param {boolean} [orderByDescending]
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getChains: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetChainsOrderByPropertyEnum, orderByDescending?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
60
|
/**
|
|
48
61
|
*
|
|
49
62
|
* @param {string} chainId uint256
|
|
@@ -58,8 +71,8 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
58
71
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
59
72
|
* @param {string} [tokenOut]
|
|
60
73
|
* @param {string} [owner]
|
|
61
|
-
* @param {string} [
|
|
62
|
-
* @param {string} [
|
|
74
|
+
* @param {string} [fromPriceDecimal]
|
|
75
|
+
* @param {string} [toPriceDecimal]
|
|
63
76
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
64
77
|
* @param {boolean} [orderByDescending]
|
|
65
78
|
* @param {string} [paginationKey]
|
|
@@ -68,10 +81,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
68
81
|
* @param {boolean} [reservationAllowedValue]
|
|
69
82
|
* @param {boolean} [liveValue]
|
|
70
83
|
* @param {boolean} [cancelledValue]
|
|
84
|
+
* @param {string} [depositToken]
|
|
85
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
86
|
+
* @param {string} [minRemainingAmount] uint256
|
|
87
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
88
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
89
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
90
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
71
91
|
* @param {*} [options] Override http request option.
|
|
72
92
|
* @throws {RequiredError}
|
|
73
93
|
*/
|
|
74
|
-
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string,
|
|
94
|
+
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
95
|
/**
|
|
76
96
|
*
|
|
77
97
|
* @param {string} [paginationKey]
|
|
@@ -88,6 +108,18 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
88
108
|
* @throws {RequiredError}
|
|
89
109
|
*/
|
|
90
110
|
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>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @param {string} [paginationKey]
|
|
114
|
+
* @param {number} [paginationLimit]
|
|
115
|
+
* @param {boolean} [paginationCountTotal]
|
|
116
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
117
|
+
* @param {boolean} [orderByDescending]
|
|
118
|
+
* @param {string} [chainId]
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
123
|
/**
|
|
92
124
|
*
|
|
93
125
|
* @param {*} [options] Override http request option.
|
|
@@ -120,6 +152,17 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
120
152
|
* @throws {RequiredError}
|
|
121
153
|
*/
|
|
122
154
|
createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @param {string} [paginationKey]
|
|
158
|
+
* @param {number} [paginationLimit]
|
|
159
|
+
* @param {boolean} [paginationCountTotal]
|
|
160
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
161
|
+
* @param {boolean} [orderByDescending]
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
getChains(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetChainsOrderByPropertyEnum, orderByDescending?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetChainsResponse>>;
|
|
123
166
|
/**
|
|
124
167
|
*
|
|
125
168
|
* @param {string} chainId uint256
|
|
@@ -134,8 +177,8 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
134
177
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
135
178
|
* @param {string} [tokenOut]
|
|
136
179
|
* @param {string} [owner]
|
|
137
|
-
* @param {string} [
|
|
138
|
-
* @param {string} [
|
|
180
|
+
* @param {string} [fromPriceDecimal]
|
|
181
|
+
* @param {string} [toPriceDecimal]
|
|
139
182
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
140
183
|
* @param {boolean} [orderByDescending]
|
|
141
184
|
* @param {string} [paginationKey]
|
|
@@ -144,10 +187,17 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
144
187
|
* @param {boolean} [reservationAllowedValue]
|
|
145
188
|
* @param {boolean} [liveValue]
|
|
146
189
|
* @param {boolean} [cancelledValue]
|
|
190
|
+
* @param {string} [depositToken]
|
|
191
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
192
|
+
* @param {string} [minRemainingAmount] uint256
|
|
193
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
194
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
195
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
196
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
147
197
|
* @param {*} [options] Override http request option.
|
|
148
198
|
* @throws {RequiredError}
|
|
149
199
|
*/
|
|
150
|
-
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string,
|
|
200
|
+
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
201
|
/**
|
|
152
202
|
*
|
|
153
203
|
* @param {string} [paginationKey]
|
|
@@ -164,6 +214,18 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
164
214
|
* @throws {RequiredError}
|
|
165
215
|
*/
|
|
166
216
|
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>>;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @param {string} [paginationKey]
|
|
220
|
+
* @param {number} [paginationLimit]
|
|
221
|
+
* @param {boolean} [paginationCountTotal]
|
|
222
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
223
|
+
* @param {boolean} [orderByDescending]
|
|
224
|
+
* @param {string} [chainId]
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
|
|
167
229
|
/**
|
|
168
230
|
*
|
|
169
231
|
* @param {*} [options] Override http request option.
|
|
@@ -196,6 +258,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
196
258
|
* @throws {RequiredError}
|
|
197
259
|
*/
|
|
198
260
|
createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
getChains(requestParameters?: SealClientGetChainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetChainsResponse>;
|
|
199
268
|
/**
|
|
200
269
|
*
|
|
201
270
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -217,6 +286,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
217
286
|
* @throws {RequiredError}
|
|
218
287
|
*/
|
|
219
288
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
getTokens(requestParameters?: SealClientGetTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetTokensResponse>;
|
|
220
296
|
/**
|
|
221
297
|
*
|
|
222
298
|
* @param {*} [options] Override http request option.
|
|
@@ -250,6 +326,43 @@ export interface SealClientCreateOrderIntentRequest {
|
|
|
250
326
|
*/
|
|
251
327
|
readonly body: SealCreateOrderIntentRequest;
|
|
252
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* Request parameters for getChains operation in SealClient.
|
|
331
|
+
* @export
|
|
332
|
+
* @interface SealClientGetChainsRequest
|
|
333
|
+
*/
|
|
334
|
+
export interface SealClientGetChainsRequest {
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof SealClientGetChains
|
|
339
|
+
*/
|
|
340
|
+
readonly paginationKey?: string;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {number}
|
|
344
|
+
* @memberof SealClientGetChains
|
|
345
|
+
*/
|
|
346
|
+
readonly paginationLimit?: number;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {boolean}
|
|
350
|
+
* @memberof SealClientGetChains
|
|
351
|
+
*/
|
|
352
|
+
readonly paginationCountTotal?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @type {'ChainsOrderByProperty_UNSPECIFIED'}
|
|
356
|
+
* @memberof SealClientGetChains
|
|
357
|
+
*/
|
|
358
|
+
readonly orderByProperty?: GetChainsOrderByPropertyEnum;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {boolean}
|
|
362
|
+
* @memberof SealClientGetChains
|
|
363
|
+
*/
|
|
364
|
+
readonly orderByDescending?: boolean;
|
|
365
|
+
}
|
|
253
366
|
/**
|
|
254
367
|
* Request parameters for getOrderNonce operation in SealClient.
|
|
255
368
|
* @export
|
|
@@ -300,17 +413,17 @@ export interface SealClientGetOrdersRequest {
|
|
|
300
413
|
*/
|
|
301
414
|
readonly owner?: string;
|
|
302
415
|
/**
|
|
303
|
-
*
|
|
416
|
+
*
|
|
304
417
|
* @type {string}
|
|
305
418
|
* @memberof SealClientGetOrders
|
|
306
419
|
*/
|
|
307
|
-
readonly
|
|
420
|
+
readonly fromPriceDecimal?: string;
|
|
308
421
|
/**
|
|
309
|
-
*
|
|
422
|
+
*
|
|
310
423
|
* @type {string}
|
|
311
424
|
* @memberof SealClientGetOrders
|
|
312
425
|
*/
|
|
313
|
-
readonly
|
|
426
|
+
readonly toPriceDecimal?: string;
|
|
314
427
|
/**
|
|
315
428
|
*
|
|
316
429
|
* @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 +472,48 @@ export interface SealClientGetOrdersRequest {
|
|
|
359
472
|
* @memberof SealClientGetOrders
|
|
360
473
|
*/
|
|
361
474
|
readonly cancelledValue?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @type {string}
|
|
478
|
+
* @memberof SealClientGetOrders
|
|
479
|
+
*/
|
|
480
|
+
readonly depositToken?: string;
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {number}
|
|
484
|
+
* @memberof SealClientGetOrders
|
|
485
|
+
*/
|
|
486
|
+
readonly minReservationPeriodSeconds?: number;
|
|
487
|
+
/**
|
|
488
|
+
* uint256
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof SealClientGetOrders
|
|
491
|
+
*/
|
|
492
|
+
readonly minRemainingAmount?: string;
|
|
493
|
+
/**
|
|
494
|
+
* not supported yet
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof SealClientGetOrders
|
|
497
|
+
*/
|
|
498
|
+
readonly minPriceMargin?: string;
|
|
499
|
+
/**
|
|
500
|
+
* not supported yet
|
|
501
|
+
* @type {string}
|
|
502
|
+
* @memberof SealClientGetOrders
|
|
503
|
+
*/
|
|
504
|
+
readonly maxPriceMargin?: string;
|
|
505
|
+
/**
|
|
506
|
+
* not supported yet
|
|
507
|
+
* @type {string}
|
|
508
|
+
* @memberof SealClientGetOrders
|
|
509
|
+
*/
|
|
510
|
+
readonly maxReservationDepositPerStable?: string;
|
|
511
|
+
/**
|
|
512
|
+
* not supported yet
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof SealClientGetOrders
|
|
515
|
+
*/
|
|
516
|
+
readonly minRemainingAmountStableTerms?: string;
|
|
362
517
|
}
|
|
363
518
|
/**
|
|
364
519
|
* Request parameters for getPairs operation in SealClient.
|
|
@@ -427,6 +582,49 @@ export interface SealClientGetPairsRequest {
|
|
|
427
582
|
*/
|
|
428
583
|
readonly excludeEmpty?: boolean;
|
|
429
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* Request parameters for getTokens operation in SealClient.
|
|
587
|
+
* @export
|
|
588
|
+
* @interface SealClientGetTokensRequest
|
|
589
|
+
*/
|
|
590
|
+
export interface SealClientGetTokensRequest {
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @type {string}
|
|
594
|
+
* @memberof SealClientGetTokens
|
|
595
|
+
*/
|
|
596
|
+
readonly paginationKey?: string;
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @type {number}
|
|
600
|
+
* @memberof SealClientGetTokens
|
|
601
|
+
*/
|
|
602
|
+
readonly paginationLimit?: number;
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @type {boolean}
|
|
606
|
+
* @memberof SealClientGetTokens
|
|
607
|
+
*/
|
|
608
|
+
readonly paginationCountTotal?: boolean;
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {'TokensOrderByProperty_UNSPECIFIED'}
|
|
612
|
+
* @memberof SealClientGetTokens
|
|
613
|
+
*/
|
|
614
|
+
readonly orderByProperty?: GetTokensOrderByPropertyEnum;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @type {boolean}
|
|
618
|
+
* @memberof SealClientGetTokens
|
|
619
|
+
*/
|
|
620
|
+
readonly orderByDescending?: boolean;
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @type {string}
|
|
624
|
+
* @memberof SealClientGetTokens
|
|
625
|
+
*/
|
|
626
|
+
readonly chainId?: string;
|
|
627
|
+
}
|
|
430
628
|
/**
|
|
431
629
|
* SealClient - object-oriented interface
|
|
432
630
|
* @export
|
|
@@ -457,6 +655,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
457
655
|
* @memberof SealClient
|
|
458
656
|
*/
|
|
459
657
|
createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
658
|
+
/**
|
|
659
|
+
*
|
|
660
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
* @memberof SealClient
|
|
664
|
+
*/
|
|
665
|
+
getChains(requestParameters?: SealClientGetChainsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetChainsResponse, any>>;
|
|
460
666
|
/**
|
|
461
667
|
*
|
|
462
668
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -481,6 +687,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
481
687
|
* @memberof SealClient
|
|
482
688
|
*/
|
|
483
689
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any>>;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
* @memberof SealClient
|
|
696
|
+
*/
|
|
697
|
+
getTokens(requestParameters?: SealClientGetTokensRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetTokensResponse, any>>;
|
|
484
698
|
/**
|
|
485
699
|
*
|
|
486
700
|
* @param {*} [options] Override http request option.
|
|
@@ -489,6 +703,13 @@ export declare class SealClient extends BaseAPI {
|
|
|
489
703
|
*/
|
|
490
704
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetHealthCheckResponse, any>>;
|
|
491
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* @export
|
|
708
|
+
* @enum {string}
|
|
709
|
+
*/
|
|
710
|
+
export declare enum GetChainsOrderByPropertyEnum {
|
|
711
|
+
ChainsOrderByPropertyUnspecified = "ChainsOrderByProperty_UNSPECIFIED"
|
|
712
|
+
}
|
|
492
713
|
/**
|
|
493
714
|
* @export
|
|
494
715
|
* @enum {string}
|
|
@@ -515,3 +736,10 @@ export declare enum GetOrdersOrderByPropertyEnum {
|
|
|
515
736
|
export declare enum GetPairsOrderByPropertyEnum {
|
|
516
737
|
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
|
|
517
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
* @export
|
|
741
|
+
* @enum {string}
|
|
742
|
+
*/
|
|
743
|
+
export declare enum GetTokensOrderByPropertyEnum {
|
|
744
|
+
TokensOrderByPropertyUnspecified = "TokensOrderByProperty_UNSPECIFIED"
|
|
745
|
+
}
|
package/lib/api/seal-client.js
CHANGED
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetTokensOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -111,6 +111,50 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
111
111
|
options: localVarRequestOptions,
|
|
112
112
|
};
|
|
113
113
|
},
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @param {string} [paginationKey]
|
|
117
|
+
* @param {number} [paginationLimit]
|
|
118
|
+
* @param {boolean} [paginationCountTotal]
|
|
119
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
120
|
+
* @param {boolean} [orderByDescending]
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getChains: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, options = {}) => {
|
|
125
|
+
const localVarPath = `/seal/chains`;
|
|
126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
127
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
128
|
+
let baseOptions;
|
|
129
|
+
if (configuration) {
|
|
130
|
+
baseOptions = configuration.baseOptions;
|
|
131
|
+
}
|
|
132
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
133
|
+
const localVarHeaderParameter = {};
|
|
134
|
+
const localVarQueryParameter = {};
|
|
135
|
+
if (paginationKey !== undefined) {
|
|
136
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
137
|
+
}
|
|
138
|
+
if (paginationLimit !== undefined) {
|
|
139
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
140
|
+
}
|
|
141
|
+
if (paginationCountTotal !== undefined) {
|
|
142
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
143
|
+
}
|
|
144
|
+
if (orderByProperty !== undefined) {
|
|
145
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
146
|
+
}
|
|
147
|
+
if (orderByDescending !== undefined) {
|
|
148
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
149
|
+
}
|
|
150
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
153
|
+
return {
|
|
154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
},
|
|
114
158
|
/**
|
|
115
159
|
*
|
|
116
160
|
* @param {string} chainId uint256
|
|
@@ -153,8 +197,8 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
153
197
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
154
198
|
* @param {string} [tokenOut]
|
|
155
199
|
* @param {string} [owner]
|
|
156
|
-
* @param {string} [
|
|
157
|
-
* @param {string} [
|
|
200
|
+
* @param {string} [fromPriceDecimal]
|
|
201
|
+
* @param {string} [toPriceDecimal]
|
|
158
202
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
159
203
|
* @param {boolean} [orderByDescending]
|
|
160
204
|
* @param {string} [paginationKey]
|
|
@@ -163,10 +207,17 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
163
207
|
* @param {boolean} [reservationAllowedValue]
|
|
164
208
|
* @param {boolean} [liveValue]
|
|
165
209
|
* @param {boolean} [cancelledValue]
|
|
210
|
+
* @param {string} [depositToken]
|
|
211
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
212
|
+
* @param {string} [minRemainingAmount] uint256
|
|
213
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
214
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
215
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
216
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
166
217
|
* @param {*} [options] Override http request option.
|
|
167
218
|
* @throws {RequiredError}
|
|
168
219
|
*/
|
|
169
|
-
getOrders: async (chainId, tokenIn, tokenOut, owner,
|
|
220
|
+
getOrders: async (chainId, tokenIn, tokenOut, owner, fromPriceDecimal, toPriceDecimal, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, options = {}) => {
|
|
170
221
|
const localVarPath = `/seal/orders`;
|
|
171
222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
223
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -189,11 +240,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
189
240
|
if (owner !== undefined) {
|
|
190
241
|
localVarQueryParameter['owner'] = owner;
|
|
191
242
|
}
|
|
192
|
-
if (
|
|
193
|
-
localVarQueryParameter['
|
|
243
|
+
if (fromPriceDecimal !== undefined) {
|
|
244
|
+
localVarQueryParameter['fromPriceDecimal'] = fromPriceDecimal;
|
|
194
245
|
}
|
|
195
|
-
if (
|
|
196
|
-
localVarQueryParameter['
|
|
246
|
+
if (toPriceDecimal !== undefined) {
|
|
247
|
+
localVarQueryParameter['toPriceDecimal'] = toPriceDecimal;
|
|
197
248
|
}
|
|
198
249
|
if (orderByProperty !== undefined) {
|
|
199
250
|
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
@@ -219,6 +270,27 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
219
270
|
if (cancelledValue !== undefined) {
|
|
220
271
|
localVarQueryParameter['cancelled.value'] = cancelledValue;
|
|
221
272
|
}
|
|
273
|
+
if (depositToken !== undefined) {
|
|
274
|
+
localVarQueryParameter['depositToken'] = depositToken;
|
|
275
|
+
}
|
|
276
|
+
if (minReservationPeriodSeconds !== undefined) {
|
|
277
|
+
localVarQueryParameter['minReservationPeriodSeconds'] = minReservationPeriodSeconds;
|
|
278
|
+
}
|
|
279
|
+
if (minRemainingAmount !== undefined) {
|
|
280
|
+
localVarQueryParameter['minRemainingAmount'] = minRemainingAmount;
|
|
281
|
+
}
|
|
282
|
+
if (minPriceMargin !== undefined) {
|
|
283
|
+
localVarQueryParameter['minPriceMargin'] = minPriceMargin;
|
|
284
|
+
}
|
|
285
|
+
if (maxPriceMargin !== undefined) {
|
|
286
|
+
localVarQueryParameter['maxPriceMargin'] = maxPriceMargin;
|
|
287
|
+
}
|
|
288
|
+
if (maxReservationDepositPerStable !== undefined) {
|
|
289
|
+
localVarQueryParameter['maxReservationDepositPerStable'] = maxReservationDepositPerStable;
|
|
290
|
+
}
|
|
291
|
+
if (minRemainingAmountStableTerms !== undefined) {
|
|
292
|
+
localVarQueryParameter['minRemainingAmountStableTerms'] = minRemainingAmountStableTerms;
|
|
293
|
+
}
|
|
222
294
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
223
295
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
296
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -291,6 +363,54 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
291
363
|
options: localVarRequestOptions,
|
|
292
364
|
};
|
|
293
365
|
},
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @param {string} [paginationKey]
|
|
369
|
+
* @param {number} [paginationLimit]
|
|
370
|
+
* @param {boolean} [paginationCountTotal]
|
|
371
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
372
|
+
* @param {boolean} [orderByDescending]
|
|
373
|
+
* @param {string} [chainId]
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
getTokens: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options = {}) => {
|
|
378
|
+
const localVarPath = `/seal/tokens`;
|
|
379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
380
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
381
|
+
let baseOptions;
|
|
382
|
+
if (configuration) {
|
|
383
|
+
baseOptions = configuration.baseOptions;
|
|
384
|
+
}
|
|
385
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
386
|
+
const localVarHeaderParameter = {};
|
|
387
|
+
const localVarQueryParameter = {};
|
|
388
|
+
if (paginationKey !== undefined) {
|
|
389
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
390
|
+
}
|
|
391
|
+
if (paginationLimit !== undefined) {
|
|
392
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
393
|
+
}
|
|
394
|
+
if (paginationCountTotal !== undefined) {
|
|
395
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
396
|
+
}
|
|
397
|
+
if (orderByProperty !== undefined) {
|
|
398
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
399
|
+
}
|
|
400
|
+
if (orderByDescending !== undefined) {
|
|
401
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
402
|
+
}
|
|
403
|
+
if (chainId !== undefined) {
|
|
404
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
405
|
+
}
|
|
406
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
409
|
+
return {
|
|
410
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions,
|
|
412
|
+
};
|
|
413
|
+
},
|
|
294
414
|
/**
|
|
295
415
|
*
|
|
296
416
|
* @param {*} [options] Override http request option.
|
|
@@ -360,6 +480,22 @@ const SealClientFp = function (configuration) {
|
|
|
360
480
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createOrderIntent']?.[localVarOperationServerIndex]?.url;
|
|
361
481
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
362
482
|
},
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @param {string} [paginationKey]
|
|
486
|
+
* @param {number} [paginationLimit]
|
|
487
|
+
* @param {boolean} [paginationCountTotal]
|
|
488
|
+
* @param {GetChainsOrderByPropertyEnum} [orderByProperty]
|
|
489
|
+
* @param {boolean} [orderByDescending]
|
|
490
|
+
* @param {*} [options] Override http request option.
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
async getChains(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, options) {
|
|
494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChains(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, options);
|
|
495
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
496
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getChains']?.[localVarOperationServerIndex]?.url;
|
|
497
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
498
|
+
},
|
|
363
499
|
/**
|
|
364
500
|
*
|
|
365
501
|
* @param {string} chainId uint256
|
|
@@ -379,8 +515,8 @@ const SealClientFp = function (configuration) {
|
|
|
379
515
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
380
516
|
* @param {string} [tokenOut]
|
|
381
517
|
* @param {string} [owner]
|
|
382
|
-
* @param {string} [
|
|
383
|
-
* @param {string} [
|
|
518
|
+
* @param {string} [fromPriceDecimal]
|
|
519
|
+
* @param {string} [toPriceDecimal]
|
|
384
520
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
385
521
|
* @param {boolean} [orderByDescending]
|
|
386
522
|
* @param {string} [paginationKey]
|
|
@@ -389,11 +525,18 @@ const SealClientFp = function (configuration) {
|
|
|
389
525
|
* @param {boolean} [reservationAllowedValue]
|
|
390
526
|
* @param {boolean} [liveValue]
|
|
391
527
|
* @param {boolean} [cancelledValue]
|
|
528
|
+
* @param {string} [depositToken]
|
|
529
|
+
* @param {number} [minReservationPeriodSeconds]
|
|
530
|
+
* @param {string} [minRemainingAmount] uint256
|
|
531
|
+
* @param {string} [minPriceMargin] not supported yet
|
|
532
|
+
* @param {string} [maxPriceMargin] not supported yet
|
|
533
|
+
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
534
|
+
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
392
535
|
* @param {*} [options] Override http request option.
|
|
393
536
|
* @throws {RequiredError}
|
|
394
537
|
*/
|
|
395
|
-
async getOrders(chainId, tokenIn, tokenOut, owner,
|
|
396
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner,
|
|
538
|
+
async getOrders(chainId, tokenIn, tokenOut, owner, fromPriceDecimal, toPriceDecimal, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, options) {
|
|
539
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner, fromPriceDecimal, toPriceDecimal, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, options);
|
|
397
540
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
398
541
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrders']?.[localVarOperationServerIndex]?.url;
|
|
399
542
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -419,6 +562,23 @@ const SealClientFp = function (configuration) {
|
|
|
419
562
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
420
563
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
421
564
|
},
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @param {string} [paginationKey]
|
|
568
|
+
* @param {number} [paginationLimit]
|
|
569
|
+
* @param {boolean} [paginationCountTotal]
|
|
570
|
+
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
571
|
+
* @param {boolean} [orderByDescending]
|
|
572
|
+
* @param {string} [chainId]
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
*/
|
|
576
|
+
async getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options) {
|
|
577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options);
|
|
578
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
579
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getTokens']?.[localVarOperationServerIndex]?.url;
|
|
580
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
581
|
+
},
|
|
422
582
|
/**
|
|
423
583
|
*
|
|
424
584
|
* @param {*} [options] Override http request option.
|
|
@@ -466,6 +626,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
466
626
|
createOrderIntent(requestParameters, options) {
|
|
467
627
|
return localVarFp.createOrderIntent(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
468
628
|
},
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
getChains(requestParameters = {}, options) {
|
|
636
|
+
return localVarFp.getChains(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, options).then((request) => request(axios, basePath));
|
|
637
|
+
},
|
|
469
638
|
/**
|
|
470
639
|
*
|
|
471
640
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -482,7 +651,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
482
651
|
* @throws {RequiredError}
|
|
483
652
|
*/
|
|
484
653
|
getOrders(requestParameters = {}, options) {
|
|
485
|
-
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.
|
|
654
|
+
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPriceDecimal, requestParameters.toPriceDecimal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, options).then((request) => request(axios, basePath));
|
|
486
655
|
},
|
|
487
656
|
/**
|
|
488
657
|
*
|
|
@@ -493,6 +662,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
493
662
|
getPairs(requestParameters = {}, options) {
|
|
494
663
|
return localVarFp.getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(axios, basePath));
|
|
495
664
|
},
|
|
665
|
+
/**
|
|
666
|
+
*
|
|
667
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
*/
|
|
671
|
+
getTokens(requestParameters = {}, options) {
|
|
672
|
+
return localVarFp.getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, options).then((request) => request(axios, basePath));
|
|
673
|
+
},
|
|
496
674
|
/**
|
|
497
675
|
*
|
|
498
676
|
* @param {*} [options] Override http request option.
|
|
@@ -540,6 +718,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
540
718
|
createOrderIntent(requestParameters, options) {
|
|
541
719
|
return (0, exports.SealClientFp)(this.configuration).createOrderIntent(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
542
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
* @memberof SealClient
|
|
727
|
+
*/
|
|
728
|
+
getChains(requestParameters = {}, options) {
|
|
729
|
+
return (0, exports.SealClientFp)(this.configuration).getChains(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, options).then((request) => request(this.axios, this.basePath));
|
|
730
|
+
}
|
|
543
731
|
/**
|
|
544
732
|
*
|
|
545
733
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -558,7 +746,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
558
746
|
* @memberof SealClient
|
|
559
747
|
*/
|
|
560
748
|
getOrders(requestParameters = {}, options) {
|
|
561
|
-
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.
|
|
749
|
+
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPriceDecimal, requestParameters.toPriceDecimal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, options).then((request) => request(this.axios, this.basePath));
|
|
562
750
|
}
|
|
563
751
|
/**
|
|
564
752
|
*
|
|
@@ -570,6 +758,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
570
758
|
getPairs(requestParameters = {}, options) {
|
|
571
759
|
return (0, exports.SealClientFp)(this.configuration).getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(this.axios, this.basePath));
|
|
572
760
|
}
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
* @memberof SealClient
|
|
767
|
+
*/
|
|
768
|
+
getTokens(requestParameters = {}, options) {
|
|
769
|
+
return (0, exports.SealClientFp)(this.configuration).getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
|
|
770
|
+
}
|
|
573
771
|
/**
|
|
574
772
|
*
|
|
575
773
|
* @param {*} [options] Override http request option.
|
|
@@ -581,6 +779,14 @@ class SealClient extends base_1.BaseAPI {
|
|
|
581
779
|
}
|
|
582
780
|
}
|
|
583
781
|
exports.SealClient = SealClient;
|
|
782
|
+
/**
|
|
783
|
+
* @export
|
|
784
|
+
* @enum {string}
|
|
785
|
+
*/
|
|
786
|
+
var GetChainsOrderByPropertyEnum;
|
|
787
|
+
(function (GetChainsOrderByPropertyEnum) {
|
|
788
|
+
GetChainsOrderByPropertyEnum["ChainsOrderByPropertyUnspecified"] = "ChainsOrderByProperty_UNSPECIFIED";
|
|
789
|
+
})(GetChainsOrderByPropertyEnum || (exports.GetChainsOrderByPropertyEnum = GetChainsOrderByPropertyEnum = {}));
|
|
584
790
|
/**
|
|
585
791
|
* @export
|
|
586
792
|
* @enum {string}
|
|
@@ -609,3 +815,11 @@ var GetPairsOrderByPropertyEnum;
|
|
|
609
815
|
(function (GetPairsOrderByPropertyEnum) {
|
|
610
816
|
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
611
817
|
})(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
|
|
818
|
+
/**
|
|
819
|
+
* @export
|
|
820
|
+
* @enum {string}
|
|
821
|
+
*/
|
|
822
|
+
var GetTokensOrderByPropertyEnum;
|
|
823
|
+
(function (GetTokensOrderByPropertyEnum) {
|
|
824
|
+
GetTokensOrderByPropertyEnum["TokensOrderByPropertyUnspecified"] = "TokensOrderByProperty_UNSPECIFIED";
|
|
825
|
+
})(GetTokensOrderByPropertyEnum || (exports.GetTokensOrderByPropertyEnum = GetTokensOrderByPropertyEnum = {}));
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
export * from './protobuf-any';
|
|
2
2
|
export * from './rpc-status';
|
|
3
3
|
export * from './seal-cancel-order-request';
|
|
4
|
+
export * from './seal-chain';
|
|
5
|
+
export * from './seal-chains-order-by';
|
|
6
|
+
export * from './seal-chains-order-by-property';
|
|
4
7
|
export * from './seal-config';
|
|
5
8
|
export * from './seal-create-order-intent-request';
|
|
6
9
|
export * from './seal-database-config';
|
|
7
10
|
export * from './seal-eip712-domain-config';
|
|
11
|
+
export * from './seal-get-chains-response';
|
|
8
12
|
export * from './seal-get-config-response';
|
|
9
13
|
export * from './seal-get-health-check-response';
|
|
10
14
|
export * from './seal-get-order-nonce-response';
|
|
11
15
|
export * from './seal-get-orders-response';
|
|
12
16
|
export * from './seal-get-pairs-response';
|
|
17
|
+
export * from './seal-get-tokens-response';
|
|
13
18
|
export * from './seal-logger-config';
|
|
14
19
|
export * from './seal-order';
|
|
15
20
|
export * from './seal-order-config';
|
|
@@ -20,6 +25,9 @@ export * from './seal-pair';
|
|
|
20
25
|
export * from './seal-pairs-order-by';
|
|
21
26
|
export * from './seal-pairs-order-by-property';
|
|
22
27
|
export * from './seal-signature-verification-config';
|
|
28
|
+
export * from './seal-token';
|
|
29
|
+
export * from './seal-tokens-order-by';
|
|
30
|
+
export * from './seal-tokens-order-by-property';
|
|
23
31
|
export * from './seal-transfer-permission';
|
|
24
32
|
export * from './types-bool';
|
|
25
33
|
export * from './types-timestamp';
|
package/lib/model/index.js
CHANGED
|
@@ -17,15 +17,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./protobuf-any"), exports);
|
|
18
18
|
__exportStar(require("./rpc-status"), exports);
|
|
19
19
|
__exportStar(require("./seal-cancel-order-request"), exports);
|
|
20
|
+
__exportStar(require("./seal-chain"), exports);
|
|
21
|
+
__exportStar(require("./seal-chains-order-by"), exports);
|
|
22
|
+
__exportStar(require("./seal-chains-order-by-property"), exports);
|
|
20
23
|
__exportStar(require("./seal-config"), exports);
|
|
21
24
|
__exportStar(require("./seal-create-order-intent-request"), exports);
|
|
22
25
|
__exportStar(require("./seal-database-config"), exports);
|
|
23
26
|
__exportStar(require("./seal-eip712-domain-config"), exports);
|
|
27
|
+
__exportStar(require("./seal-get-chains-response"), exports);
|
|
24
28
|
__exportStar(require("./seal-get-config-response"), exports);
|
|
25
29
|
__exportStar(require("./seal-get-health-check-response"), exports);
|
|
26
30
|
__exportStar(require("./seal-get-order-nonce-response"), exports);
|
|
27
31
|
__exportStar(require("./seal-get-orders-response"), exports);
|
|
28
32
|
__exportStar(require("./seal-get-pairs-response"), exports);
|
|
33
|
+
__exportStar(require("./seal-get-tokens-response"), exports);
|
|
29
34
|
__exportStar(require("./seal-logger-config"), exports);
|
|
30
35
|
__exportStar(require("./seal-order"), exports);
|
|
31
36
|
__exportStar(require("./seal-order-config"), exports);
|
|
@@ -36,6 +41,9 @@ __exportStar(require("./seal-pair"), exports);
|
|
|
36
41
|
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
37
42
|
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
38
43
|
__exportStar(require("./seal-signature-verification-config"), exports);
|
|
44
|
+
__exportStar(require("./seal-token"), exports);
|
|
45
|
+
__exportStar(require("./seal-tokens-order-by"), exports);
|
|
46
|
+
__exportStar(require("./seal-tokens-order-by-property"), exports);
|
|
39
47
|
__exportStar(require("./seal-transfer-permission"), exports);
|
|
40
48
|
__exportStar(require("./types-bool"), exports);
|
|
41
49
|
__exportStar(require("./types-timestamp"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealChain
|
|
16
|
+
*/
|
|
17
|
+
export interface SealChain {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealChain
|
|
22
|
+
*/
|
|
23
|
+
'chainId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealChain
|
|
28
|
+
*/
|
|
29
|
+
'name'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealChain
|
|
34
|
+
*/
|
|
35
|
+
'coingeckoId'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealChain
|
|
40
|
+
*/
|
|
41
|
+
'logoUri'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SealChainsOrderByProperty {
|
|
18
|
+
ChainsOrderByPropertyUnspecified = "ChainsOrderByProperty_UNSPECIFIED"
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SealChainsOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealChainsOrderByProperty;
|
|
23
|
+
(function (SealChainsOrderByProperty) {
|
|
24
|
+
SealChainsOrderByProperty["ChainsOrderByPropertyUnspecified"] = "ChainsOrderByProperty_UNSPECIFIED";
|
|
25
|
+
})(SealChainsOrderByProperty || (exports.SealChainsOrderByProperty = SealChainsOrderByProperty = {}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealChainsOrderByProperty } from './seal-chains-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealChainsOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface SealChainsOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealChainsOrderByProperty}
|
|
22
|
+
* @memberof SealChainsOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: SealChainsOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SealChainsOrderBy
|
|
29
|
+
*/
|
|
30
|
+
'descending'?: boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealChain } from './seal-chain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetChainsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetChainsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealChain>}
|
|
22
|
+
* @memberof SealGetChainsResponse
|
|
23
|
+
*/
|
|
24
|
+
'chains'?: Array<SealChain>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetChainsResponse
|
|
29
|
+
*/
|
|
30
|
+
'paginationNextKey'?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealToken } from './seal-token';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetTokensResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetTokensResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealToken>}
|
|
22
|
+
* @memberof SealGetTokensResponse
|
|
23
|
+
*/
|
|
24
|
+
'tokens'?: Array<SealToken>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetTokensResponse
|
|
29
|
+
*/
|
|
30
|
+
'paginationNextKey'?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -108,10 +108,10 @@ export interface SealOrder {
|
|
|
108
108
|
'depositToken'?: string;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
|
-
* @type {
|
|
111
|
+
* @type {number}
|
|
112
112
|
* @memberof SealOrder
|
|
113
113
|
*/
|
|
114
|
-
'reservationPeriodSeconds'?:
|
|
114
|
+
'reservationPeriodSeconds'?: number;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @type {string}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealToken
|
|
16
|
+
*/
|
|
17
|
+
export interface SealToken {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealToken
|
|
22
|
+
*/
|
|
23
|
+
'chainId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealToken
|
|
28
|
+
*/
|
|
29
|
+
'address'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealToken
|
|
34
|
+
*/
|
|
35
|
+
'name'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealToken
|
|
40
|
+
*/
|
|
41
|
+
'symbol'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealToken
|
|
46
|
+
*/
|
|
47
|
+
'decimals'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SealToken
|
|
52
|
+
*/
|
|
53
|
+
'coingeckoId'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealToken
|
|
58
|
+
*/
|
|
59
|
+
'logoUri'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof SealToken
|
|
64
|
+
*/
|
|
65
|
+
'isErc2612'?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof SealToken
|
|
70
|
+
*/
|
|
71
|
+
'popular'?: boolean;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SealTokensOrderByProperty {
|
|
18
|
+
TokensOrderByPropertyUnspecified = "TokensOrderByProperty_UNSPECIFIED"
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SealTokensOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealTokensOrderByProperty;
|
|
23
|
+
(function (SealTokensOrderByProperty) {
|
|
24
|
+
SealTokensOrderByProperty["TokensOrderByPropertyUnspecified"] = "TokensOrderByProperty_UNSPECIFIED";
|
|
25
|
+
})(SealTokensOrderByProperty || (exports.SealTokensOrderByProperty = SealTokensOrderByProperty = {}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealTokensOrderByProperty } from './seal-tokens-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealTokensOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface SealTokensOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealTokensOrderByProperty}
|
|
22
|
+
* @memberof SealTokensOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: SealTokensOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SealTokensOrderBy
|
|
29
|
+
*/
|
|
30
|
+
'descending'?: boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED