@seal-protocol/backendjs 0.0.22 → 0.0.23
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 +122 -0
- package/lib/api/seal-client.js +113 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +4 -0
- package/lib/model/seal-get-pairs-response.d.ts +31 -0
- package/lib/model/seal-get-pairs-response.js +15 -0
- package/lib/model/seal-pair.d.ts +84 -0
- package/lib/model/seal-pair.js +15 -0
- package/lib/model/seal-pairs-order-by-property.d.ts +19 -0
- package/lib/model/seal-pairs-order-by-property.js +25 -0
- package/lib/model/seal-pairs-order-by.d.ts +31 -0
- package/lib/model/seal-pairs-order-by.js +15 -0
- package/package.json +1 -1
package/lib/api/seal-client.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import type { SealGetConfigResponse } from '../model';
|
|
|
18
18
|
import type { SealGetHealthCheckResponse } from '../model';
|
|
19
19
|
import type { SealGetOrderNonceResponse } from '../model';
|
|
20
20
|
import type { SealGetOrdersResponse } from '../model';
|
|
21
|
+
import type { SealGetPairsResponse } from '../model';
|
|
21
22
|
/**
|
|
22
23
|
* SealClient - axios parameter creator
|
|
23
24
|
* @export
|
|
@@ -72,6 +73,22 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
72
73
|
* @throws {RequiredError}
|
|
73
74
|
*/
|
|
74
75
|
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, partiallyFillableValue?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param {string} [paginationKey]
|
|
79
|
+
* @param {number} [paginationLimit]
|
|
80
|
+
* @param {boolean} [paginationCountTotal]
|
|
81
|
+
* @param {GetPairsOrderByPropertyEnum} [orderByProperty]
|
|
82
|
+
* @param {boolean} [orderByDescending]
|
|
83
|
+
* @param {string} [chainId] uint256
|
|
84
|
+
* @param {string} [tokenIn]
|
|
85
|
+
* @param {string} [tokenOut]
|
|
86
|
+
* @param {boolean} [reservableOnly]
|
|
87
|
+
* @param {boolean} [excludeEmpty]
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
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>;
|
|
75
92
|
/**
|
|
76
93
|
*
|
|
77
94
|
* @param {*} [options] Override http request option.
|
|
@@ -133,6 +150,22 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
133
150
|
* @throws {RequiredError}
|
|
134
151
|
*/
|
|
135
152
|
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, partiallyFillableValue?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param {string} [paginationKey]
|
|
156
|
+
* @param {number} [paginationLimit]
|
|
157
|
+
* @param {boolean} [paginationCountTotal]
|
|
158
|
+
* @param {GetPairsOrderByPropertyEnum} [orderByProperty]
|
|
159
|
+
* @param {boolean} [orderByDescending]
|
|
160
|
+
* @param {string} [chainId] uint256
|
|
161
|
+
* @param {string} [tokenIn]
|
|
162
|
+
* @param {string} [tokenOut]
|
|
163
|
+
* @param {boolean} [reservableOnly]
|
|
164
|
+
* @param {boolean} [excludeEmpty]
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
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>>;
|
|
136
169
|
/**
|
|
137
170
|
*
|
|
138
171
|
* @param {*} [options] Override http request option.
|
|
@@ -179,6 +212,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
179
212
|
* @throws {RequiredError}
|
|
180
213
|
*/
|
|
181
214
|
getOrders(requestParameters?: SealClientGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetOrdersResponse>;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @param {SealClientGetPairsRequest} requestParameters Request parameters.
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
182
222
|
/**
|
|
183
223
|
*
|
|
184
224
|
* @param {*} [options] Override http request option.
|
|
@@ -328,6 +368,73 @@ export interface SealClientGetOrdersRequest {
|
|
|
328
368
|
*/
|
|
329
369
|
readonly cancelledValue?: boolean;
|
|
330
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* Request parameters for getPairs operation in SealClient.
|
|
373
|
+
* @export
|
|
374
|
+
* @interface SealClientGetPairsRequest
|
|
375
|
+
*/
|
|
376
|
+
export interface SealClientGetPairsRequest {
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {string}
|
|
380
|
+
* @memberof SealClientGetPairs
|
|
381
|
+
*/
|
|
382
|
+
readonly paginationKey?: string;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @type {number}
|
|
386
|
+
* @memberof SealClientGetPairs
|
|
387
|
+
*/
|
|
388
|
+
readonly paginationLimit?: number;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @type {boolean}
|
|
392
|
+
* @memberof SealClientGetPairs
|
|
393
|
+
*/
|
|
394
|
+
readonly paginationCountTotal?: boolean;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @type {'PairsOrderByProperty_UNSPECIFIED'}
|
|
398
|
+
* @memberof SealClientGetPairs
|
|
399
|
+
*/
|
|
400
|
+
readonly orderByProperty?: GetPairsOrderByPropertyEnum;
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @type {boolean}
|
|
404
|
+
* @memberof SealClientGetPairs
|
|
405
|
+
*/
|
|
406
|
+
readonly orderByDescending?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* uint256
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof SealClientGetPairs
|
|
411
|
+
*/
|
|
412
|
+
readonly chainId?: string;
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof SealClientGetPairs
|
|
417
|
+
*/
|
|
418
|
+
readonly tokenIn?: string;
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @type {string}
|
|
422
|
+
* @memberof SealClientGetPairs
|
|
423
|
+
*/
|
|
424
|
+
readonly tokenOut?: string;
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @type {boolean}
|
|
428
|
+
* @memberof SealClientGetPairs
|
|
429
|
+
*/
|
|
430
|
+
readonly reservableOnly?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @type {boolean}
|
|
434
|
+
* @memberof SealClientGetPairs
|
|
435
|
+
*/
|
|
436
|
+
readonly excludeEmpty?: boolean;
|
|
437
|
+
}
|
|
331
438
|
/**
|
|
332
439
|
* SealClient - object-oriented interface
|
|
333
440
|
* @export
|
|
@@ -374,6 +481,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
374
481
|
* @memberof SealClient
|
|
375
482
|
*/
|
|
376
483
|
getOrders(requestParameters?: SealClientGetOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetOrdersResponse, any>>;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @param {SealClientGetPairsRequest} requestParameters Request parameters.
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
* @memberof SealClient
|
|
490
|
+
*/
|
|
491
|
+
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any>>;
|
|
377
492
|
/**
|
|
378
493
|
*
|
|
379
494
|
* @param {*} [options] Override http request option.
|
|
@@ -402,3 +517,10 @@ export declare enum GetOrdersOrderByPropertyEnum {
|
|
|
402
517
|
ReservedAmount = "RESERVED_AMOUNT",
|
|
403
518
|
FilledAmount = "FILLED_AMOUNT"
|
|
404
519
|
}
|
|
520
|
+
/**
|
|
521
|
+
* @export
|
|
522
|
+
* @enum {string}
|
|
523
|
+
*/
|
|
524
|
+
export declare enum GetPairsOrderByPropertyEnum {
|
|
525
|
+
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
|
|
526
|
+
}
|
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.GetOrdersOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = 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
|
|
@@ -231,6 +231,70 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
231
231
|
options: localVarRequestOptions,
|
|
232
232
|
};
|
|
233
233
|
},
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param {string} [paginationKey]
|
|
237
|
+
* @param {number} [paginationLimit]
|
|
238
|
+
* @param {boolean} [paginationCountTotal]
|
|
239
|
+
* @param {GetPairsOrderByPropertyEnum} [orderByProperty]
|
|
240
|
+
* @param {boolean} [orderByDescending]
|
|
241
|
+
* @param {string} [chainId] uint256
|
|
242
|
+
* @param {string} [tokenIn]
|
|
243
|
+
* @param {string} [tokenOut]
|
|
244
|
+
* @param {boolean} [reservableOnly]
|
|
245
|
+
* @param {boolean} [excludeEmpty]
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
getPairs: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, tokenIn, tokenOut, reservableOnly, excludeEmpty, options = {}) => {
|
|
250
|
+
const localVarPath = `/seal/pairs`;
|
|
251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
253
|
+
let baseOptions;
|
|
254
|
+
if (configuration) {
|
|
255
|
+
baseOptions = configuration.baseOptions;
|
|
256
|
+
}
|
|
257
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
258
|
+
const localVarHeaderParameter = {};
|
|
259
|
+
const localVarQueryParameter = {};
|
|
260
|
+
if (paginationKey !== undefined) {
|
|
261
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
262
|
+
}
|
|
263
|
+
if (paginationLimit !== undefined) {
|
|
264
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
265
|
+
}
|
|
266
|
+
if (paginationCountTotal !== undefined) {
|
|
267
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
268
|
+
}
|
|
269
|
+
if (orderByProperty !== undefined) {
|
|
270
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
271
|
+
}
|
|
272
|
+
if (orderByDescending !== undefined) {
|
|
273
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
274
|
+
}
|
|
275
|
+
if (chainId !== undefined) {
|
|
276
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
277
|
+
}
|
|
278
|
+
if (tokenIn !== undefined) {
|
|
279
|
+
localVarQueryParameter['tokenIn'] = tokenIn;
|
|
280
|
+
}
|
|
281
|
+
if (tokenOut !== undefined) {
|
|
282
|
+
localVarQueryParameter['tokenOut'] = tokenOut;
|
|
283
|
+
}
|
|
284
|
+
if (reservableOnly !== undefined) {
|
|
285
|
+
localVarQueryParameter['reservableOnly'] = reservableOnly;
|
|
286
|
+
}
|
|
287
|
+
if (excludeEmpty !== undefined) {
|
|
288
|
+
localVarQueryParameter['excludeEmpty'] = excludeEmpty;
|
|
289
|
+
}
|
|
290
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
293
|
+
return {
|
|
294
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
295
|
+
options: localVarRequestOptions,
|
|
296
|
+
};
|
|
297
|
+
},
|
|
234
298
|
/**
|
|
235
299
|
*
|
|
236
300
|
* @param {*} [options] Override http request option.
|
|
@@ -339,6 +403,27 @@ const SealClientFp = function (configuration) {
|
|
|
339
403
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrders']?.[localVarOperationServerIndex]?.url;
|
|
340
404
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
405
|
},
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @param {string} [paginationKey]
|
|
409
|
+
* @param {number} [paginationLimit]
|
|
410
|
+
* @param {boolean} [paginationCountTotal]
|
|
411
|
+
* @param {GetPairsOrderByPropertyEnum} [orderByProperty]
|
|
412
|
+
* @param {boolean} [orderByDescending]
|
|
413
|
+
* @param {string} [chainId] uint256
|
|
414
|
+
* @param {string} [tokenIn]
|
|
415
|
+
* @param {string} [tokenOut]
|
|
416
|
+
* @param {boolean} [reservableOnly]
|
|
417
|
+
* @param {boolean} [excludeEmpty]
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
async getPairs(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, tokenIn, tokenOut, reservableOnly, excludeEmpty, options) {
|
|
422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPairs(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, tokenIn, tokenOut, reservableOnly, excludeEmpty, options);
|
|
423
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
424
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
425
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
426
|
+
},
|
|
342
427
|
/**
|
|
343
428
|
*
|
|
344
429
|
* @param {*} [options] Override http request option.
|
|
@@ -404,6 +489,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
404
489
|
getOrders(requestParameters = {}, options) {
|
|
405
490
|
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.partiallyFillableValue, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, options).then((request) => request(axios, basePath));
|
|
406
491
|
},
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @param {SealClientGetPairsRequest} requestParameters Request parameters.
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
getPairs(requestParameters = {}, options) {
|
|
499
|
+
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));
|
|
500
|
+
},
|
|
407
501
|
/**
|
|
408
502
|
*
|
|
409
503
|
* @param {*} [options] Override http request option.
|
|
@@ -471,6 +565,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
471
565
|
getOrders(requestParameters = {}, options) {
|
|
472
566
|
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.partiallyFillableValue, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, options).then((request) => request(this.axios, this.basePath));
|
|
473
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @param {SealClientGetPairsRequest} requestParameters Request parameters.
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
* @memberof SealClient
|
|
574
|
+
*/
|
|
575
|
+
getPairs(requestParameters = {}, options) {
|
|
576
|
+
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));
|
|
577
|
+
}
|
|
474
578
|
/**
|
|
475
579
|
*
|
|
476
580
|
* @param {*} [options] Override http request option.
|
|
@@ -503,3 +607,11 @@ var GetOrdersOrderByPropertyEnum;
|
|
|
503
607
|
GetOrdersOrderByPropertyEnum["ReservedAmount"] = "RESERVED_AMOUNT";
|
|
504
608
|
GetOrdersOrderByPropertyEnum["FilledAmount"] = "FILLED_AMOUNT";
|
|
505
609
|
})(GetOrdersOrderByPropertyEnum || (exports.GetOrdersOrderByPropertyEnum = GetOrdersOrderByPropertyEnum = {}));
|
|
610
|
+
/**
|
|
611
|
+
* @export
|
|
612
|
+
* @enum {string}
|
|
613
|
+
*/
|
|
614
|
+
var GetPairsOrderByPropertyEnum;
|
|
615
|
+
(function (GetPairsOrderByPropertyEnum) {
|
|
616
|
+
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
617
|
+
})(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
|
package/lib/model/index.d.ts
CHANGED
|
@@ -9,12 +9,16 @@ export * from './seal-get-config-response';
|
|
|
9
9
|
export * from './seal-get-health-check-response';
|
|
10
10
|
export * from './seal-get-order-nonce-response';
|
|
11
11
|
export * from './seal-get-orders-response';
|
|
12
|
+
export * from './seal-get-pairs-response';
|
|
12
13
|
export * from './seal-logger-config';
|
|
13
14
|
export * from './seal-order';
|
|
14
15
|
export * from './seal-order-config';
|
|
15
16
|
export * from './seal-orders-order-by';
|
|
16
17
|
export * from './seal-orders-order-by-property';
|
|
17
18
|
export * from './seal-pagination';
|
|
19
|
+
export * from './seal-pair';
|
|
20
|
+
export * from './seal-pairs-order-by';
|
|
21
|
+
export * from './seal-pairs-order-by-property';
|
|
18
22
|
export * from './seal-signature-verification-config';
|
|
19
23
|
export * from './seal-transfer-permission';
|
|
20
24
|
export * from './types-bool';
|
package/lib/model/index.js
CHANGED
|
@@ -25,12 +25,16 @@ __exportStar(require("./seal-get-config-response"), exports);
|
|
|
25
25
|
__exportStar(require("./seal-get-health-check-response"), exports);
|
|
26
26
|
__exportStar(require("./seal-get-order-nonce-response"), exports);
|
|
27
27
|
__exportStar(require("./seal-get-orders-response"), exports);
|
|
28
|
+
__exportStar(require("./seal-get-pairs-response"), exports);
|
|
28
29
|
__exportStar(require("./seal-logger-config"), exports);
|
|
29
30
|
__exportStar(require("./seal-order"), exports);
|
|
30
31
|
__exportStar(require("./seal-order-config"), exports);
|
|
31
32
|
__exportStar(require("./seal-orders-order-by"), exports);
|
|
32
33
|
__exportStar(require("./seal-orders-order-by-property"), exports);
|
|
33
34
|
__exportStar(require("./seal-pagination"), exports);
|
|
35
|
+
__exportStar(require("./seal-pair"), exports);
|
|
36
|
+
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
37
|
+
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
34
38
|
__exportStar(require("./seal-signature-verification-config"), exports);
|
|
35
39
|
__exportStar(require("./seal-transfer-permission"), exports);
|
|
36
40
|
__exportStar(require("./types-bool"), exports);
|
|
@@ -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 { SealPair } from './seal-pair';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetPairsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetPairsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealPair>}
|
|
22
|
+
* @memberof SealGetPairsResponse
|
|
23
|
+
*/
|
|
24
|
+
'pairs'?: Array<SealPair>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetPairsResponse
|
|
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,84 @@
|
|
|
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 SealPair
|
|
16
|
+
*/
|
|
17
|
+
export interface SealPair {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealPair
|
|
22
|
+
*/
|
|
23
|
+
'chainId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealPair
|
|
28
|
+
*/
|
|
29
|
+
'tokenIn'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealPair
|
|
34
|
+
*/
|
|
35
|
+
'tokenOut'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealPair
|
|
40
|
+
*/
|
|
41
|
+
'totalRemainingAmount'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealPair
|
|
46
|
+
*/
|
|
47
|
+
'totalReservedAmount'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SealPair
|
|
52
|
+
*/
|
|
53
|
+
'totalCount'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealPair
|
|
58
|
+
*/
|
|
59
|
+
'reservableCount'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SealPair
|
|
64
|
+
*/
|
|
65
|
+
'reservableInTheMoneyVolume'?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SealPair
|
|
70
|
+
*/
|
|
71
|
+
'minPrice'?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SealPair
|
|
76
|
+
*/
|
|
77
|
+
'maxPrice'?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SealPair
|
|
82
|
+
*/
|
|
83
|
+
'avgPrice'?: string;
|
|
84
|
+
}
|
|
@@ -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 SealPairsOrderByProperty {
|
|
18
|
+
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_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.SealPairsOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealPairsOrderByProperty;
|
|
23
|
+
(function (SealPairsOrderByProperty) {
|
|
24
|
+
SealPairsOrderByProperty["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
25
|
+
})(SealPairsOrderByProperty || (exports.SealPairsOrderByProperty = SealPairsOrderByProperty = {}));
|
|
@@ -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 { SealPairsOrderByProperty } from './seal-pairs-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealPairsOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface SealPairsOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealPairsOrderByProperty}
|
|
22
|
+
* @memberof SealPairsOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: SealPairsOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SealPairsOrderBy
|
|
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