@seal-protocol/backendjs 0.0.50 → 0.0.53
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 +305 -12
- package/lib/api/seal-client.js +315 -15
- package/lib/model/index.d.ts +10 -1
- package/lib/model/index.js +10 -1
- package/lib/model/seal-chain-config.d.ts +3 -2
- package/lib/model/seal-config.d.ts +0 -7
- package/lib/model/seal-get-order-activities-response.d.ts +31 -0
- package/lib/model/seal-get-order-activities-response.js +15 -0
- package/lib/model/seal-get-reservation-settlement-activities-response.d.ts +31 -0
- package/lib/model/seal-get-reservation-settlement-activities-response.js +15 -0
- package/lib/model/seal-get-seal-contract-params-response.d.ts +25 -0
- package/lib/model/seal-get-seal-contract-params-response.js +15 -0
- package/lib/model/seal-order-activities-order-by-property.d.ts +22 -0
- package/lib/model/seal-order-activities-order-by-property.js +28 -0
- package/lib/model/seal-order-activities-order-by.d.ts +31 -0
- package/lib/model/seal-order-activities-order-by.js +15 -0
- package/lib/model/seal-order-activity-with-order.d.ts +32 -0
- package/lib/model/seal-order-activity-with-order.js +15 -0
- package/lib/model/seal-order-activity.d.ts +67 -0
- package/lib/model/seal-order-activity.js +15 -0
- package/lib/model/seal-order-reservation.d.ts +1 -1
- package/lib/model/seal-order-reservations-order-by-property.d.ts +1 -1
- package/lib/model/seal-order-reservations-order-by-property.js +1 -1
- package/lib/model/seal-order.d.ts +0 -12
- package/lib/model/seal-seal-contract-config.d.ts +32 -0
- package/lib/model/seal-seal-contract-config.js +15 -0
- package/lib/model/seal-seal-contract-params.d.ts +54 -0
- package/lib/model/seal-seal-contract-params.js +15 -0
- package/lib/model/types-order-activity-type.d.ts +28 -0
- package/lib/model/types-order-activity-type.js +34 -0
- package/package.json +1 -1
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.GetTokensOrderByPropertyEnum = exports.GetTokenPermitApprovalsOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetTokensOrderByPropertyEnum = exports.GetTokenPermitApprovalsOrderByPropertyEnum = exports.GetReservationSettlementActivitiesOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetOrderActivitiesTypeEnum = exports.GetOrderActivitiesOrderByPropertyEnum = 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
|
|
@@ -265,6 +265,72 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
265
265
|
options: localVarRequestOptions,
|
|
266
266
|
};
|
|
267
267
|
},
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @param {string} chainId uint256
|
|
271
|
+
* @param {GetOrderActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
272
|
+
* @param {boolean} [orderByDescending]
|
|
273
|
+
* @param {string} [orderId]
|
|
274
|
+
* @param {string} [orderIdHash] only one of id_hash, and id can be provided
|
|
275
|
+
* @param {string} [user] either the order owner or the actor
|
|
276
|
+
* @param {GetOrderActivitiesTypeEnum} [type]
|
|
277
|
+
* @param {string} [paginationKey]
|
|
278
|
+
* @param {number} [paginationLimit]
|
|
279
|
+
* @param {boolean} [paginationCountTotal]
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
getOrderActivities: async (chainId, orderByProperty, orderByDescending, orderId, orderIdHash, user, type, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
284
|
+
// verify required parameter 'chainId' is not null or undefined
|
|
285
|
+
(0, common_1.assertParamExists)('getOrderActivities', 'chainId', chainId);
|
|
286
|
+
const localVarPath = `/seal/order_activities`;
|
|
287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
288
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
289
|
+
let baseOptions;
|
|
290
|
+
if (configuration) {
|
|
291
|
+
baseOptions = configuration.baseOptions;
|
|
292
|
+
}
|
|
293
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
294
|
+
const localVarHeaderParameter = {};
|
|
295
|
+
const localVarQueryParameter = {};
|
|
296
|
+
if (orderByProperty !== undefined) {
|
|
297
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
298
|
+
}
|
|
299
|
+
if (orderByDescending !== undefined) {
|
|
300
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
301
|
+
}
|
|
302
|
+
if (chainId !== undefined) {
|
|
303
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
304
|
+
}
|
|
305
|
+
if (orderId !== undefined) {
|
|
306
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
307
|
+
}
|
|
308
|
+
if (orderIdHash !== undefined) {
|
|
309
|
+
localVarQueryParameter['orderIdHash'] = orderIdHash;
|
|
310
|
+
}
|
|
311
|
+
if (user !== undefined) {
|
|
312
|
+
localVarQueryParameter['user'] = user;
|
|
313
|
+
}
|
|
314
|
+
if (type !== undefined) {
|
|
315
|
+
localVarQueryParameter['type'] = type;
|
|
316
|
+
}
|
|
317
|
+
if (paginationKey !== undefined) {
|
|
318
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
319
|
+
}
|
|
320
|
+
if (paginationLimit !== undefined) {
|
|
321
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
322
|
+
}
|
|
323
|
+
if (paginationCountTotal !== undefined) {
|
|
324
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
325
|
+
}
|
|
326
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
327
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
328
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
329
|
+
return {
|
|
330
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
331
|
+
options: localVarRequestOptions,
|
|
332
|
+
};
|
|
333
|
+
},
|
|
268
334
|
/**
|
|
269
335
|
*
|
|
270
336
|
* @param {string} chainId uint256
|
|
@@ -371,8 +437,8 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
371
437
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
372
438
|
* @param {string} [tokenOut]
|
|
373
439
|
* @param {string} [owner]
|
|
374
|
-
* @param {string} [
|
|
375
|
-
* @param {string} [
|
|
440
|
+
* @param {string} [fromPrice] decimal
|
|
441
|
+
* @param {string} [toPrice] decimal
|
|
376
442
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
377
443
|
* @param {boolean} [orderByDescending]
|
|
378
444
|
* @param {string} [paginationKey]
|
|
@@ -392,7 +458,7 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
392
458
|
* @param {*} [options] Override http request option.
|
|
393
459
|
* @throws {RequiredError}
|
|
394
460
|
*/
|
|
395
|
-
getOrders: async (chainId, tokenIn, tokenOut, owner,
|
|
461
|
+
getOrders: async (chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, options = {}) => {
|
|
396
462
|
const localVarPath = `/seal/orders`;
|
|
397
463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
398
464
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -415,11 +481,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
415
481
|
if (owner !== undefined) {
|
|
416
482
|
localVarQueryParameter['owner'] = owner;
|
|
417
483
|
}
|
|
418
|
-
if (
|
|
419
|
-
localVarQueryParameter['
|
|
484
|
+
if (fromPrice !== undefined) {
|
|
485
|
+
localVarQueryParameter['fromPrice'] = fromPrice;
|
|
420
486
|
}
|
|
421
|
-
if (
|
|
422
|
-
localVarQueryParameter['
|
|
487
|
+
if (toPrice !== undefined) {
|
|
488
|
+
localVarQueryParameter['toPrice'] = toPrice;
|
|
423
489
|
}
|
|
424
490
|
if (orderByProperty !== undefined) {
|
|
425
491
|
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
@@ -573,6 +639,92 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
573
639
|
options: localVarRequestOptions,
|
|
574
640
|
};
|
|
575
641
|
},
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @param {string} chainId uint256
|
|
645
|
+
* @param {string} [reservationIdHash]
|
|
646
|
+
* @param {string} [reservationId] only one of id_hash, and id can be provided
|
|
647
|
+
* @param {GetReservationSettlementActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
648
|
+
* @param {boolean} [orderByDescending]
|
|
649
|
+
* @param {string} [paginationKey]
|
|
650
|
+
* @param {number} [paginationLimit]
|
|
651
|
+
* @param {boolean} [paginationCountTotal]
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
getReservationSettlementActivities: async (chainId, reservationIdHash, reservationId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
656
|
+
// verify required parameter 'chainId' is not null or undefined
|
|
657
|
+
(0, common_1.assertParamExists)('getReservationSettlementActivities', 'chainId', chainId);
|
|
658
|
+
const localVarPath = `/seal/reservation_settlement_activities`;
|
|
659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
660
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
661
|
+
let baseOptions;
|
|
662
|
+
if (configuration) {
|
|
663
|
+
baseOptions = configuration.baseOptions;
|
|
664
|
+
}
|
|
665
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
666
|
+
const localVarHeaderParameter = {};
|
|
667
|
+
const localVarQueryParameter = {};
|
|
668
|
+
if (reservationIdHash !== undefined) {
|
|
669
|
+
localVarQueryParameter['reservationIdHash'] = reservationIdHash;
|
|
670
|
+
}
|
|
671
|
+
if (reservationId !== undefined) {
|
|
672
|
+
localVarQueryParameter['reservationId'] = reservationId;
|
|
673
|
+
}
|
|
674
|
+
if (chainId !== undefined) {
|
|
675
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
676
|
+
}
|
|
677
|
+
if (orderByProperty !== undefined) {
|
|
678
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
679
|
+
}
|
|
680
|
+
if (orderByDescending !== undefined) {
|
|
681
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
682
|
+
}
|
|
683
|
+
if (paginationKey !== undefined) {
|
|
684
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
685
|
+
}
|
|
686
|
+
if (paginationLimit !== undefined) {
|
|
687
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
688
|
+
}
|
|
689
|
+
if (paginationCountTotal !== undefined) {
|
|
690
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
691
|
+
}
|
|
692
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
694
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
695
|
+
return {
|
|
696
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
697
|
+
options: localVarRequestOptions,
|
|
698
|
+
};
|
|
699
|
+
},
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @param {string} [chainId]
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
getSealContractParams: async (chainId, options = {}) => {
|
|
707
|
+
const localVarPath = `/seal/seal_contract_params`;
|
|
708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
709
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
710
|
+
let baseOptions;
|
|
711
|
+
if (configuration) {
|
|
712
|
+
baseOptions = configuration.baseOptions;
|
|
713
|
+
}
|
|
714
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
715
|
+
const localVarHeaderParameter = {};
|
|
716
|
+
const localVarQueryParameter = {};
|
|
717
|
+
if (chainId !== undefined) {
|
|
718
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
719
|
+
}
|
|
720
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
721
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
722
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
723
|
+
return {
|
|
724
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
725
|
+
options: localVarRequestOptions,
|
|
726
|
+
};
|
|
727
|
+
},
|
|
576
728
|
/**
|
|
577
729
|
*
|
|
578
730
|
* @param {string} owner hex representation of owner address
|
|
@@ -868,6 +1020,27 @@ const SealClientFp = function (configuration) {
|
|
|
868
1020
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getChains']?.[localVarOperationServerIndex]?.url;
|
|
869
1021
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
870
1022
|
},
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @param {string} chainId uint256
|
|
1026
|
+
* @param {GetOrderActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
1027
|
+
* @param {boolean} [orderByDescending]
|
|
1028
|
+
* @param {string} [orderId]
|
|
1029
|
+
* @param {string} [orderIdHash] only one of id_hash, and id can be provided
|
|
1030
|
+
* @param {string} [user] either the order owner or the actor
|
|
1031
|
+
* @param {GetOrderActivitiesTypeEnum} [type]
|
|
1032
|
+
* @param {string} [paginationKey]
|
|
1033
|
+
* @param {number} [paginationLimit]
|
|
1034
|
+
* @param {boolean} [paginationCountTotal]
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
async getOrderActivities(chainId, orderByProperty, orderByDescending, orderId, orderIdHash, user, type, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderActivities(chainId, orderByProperty, orderByDescending, orderId, orderIdHash, user, type, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1040
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1041
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrderActivities']?.[localVarOperationServerIndex]?.url;
|
|
1042
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1043
|
+
},
|
|
871
1044
|
/**
|
|
872
1045
|
*
|
|
873
1046
|
* @param {string} chainId uint256
|
|
@@ -908,8 +1081,8 @@ const SealClientFp = function (configuration) {
|
|
|
908
1081
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
909
1082
|
* @param {string} [tokenOut]
|
|
910
1083
|
* @param {string} [owner]
|
|
911
|
-
* @param {string} [
|
|
912
|
-
* @param {string} [
|
|
1084
|
+
* @param {string} [fromPrice] decimal
|
|
1085
|
+
* @param {string} [toPrice] decimal
|
|
913
1086
|
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
914
1087
|
* @param {boolean} [orderByDescending]
|
|
915
1088
|
* @param {string} [paginationKey]
|
|
@@ -929,8 +1102,8 @@ const SealClientFp = function (configuration) {
|
|
|
929
1102
|
* @param {*} [options] Override http request option.
|
|
930
1103
|
* @throws {RequiredError}
|
|
931
1104
|
*/
|
|
932
|
-
async getOrders(chainId, tokenIn, tokenOut, owner,
|
|
933
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner,
|
|
1105
|
+
async getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, options) {
|
|
1106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, options);
|
|
934
1107
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
935
1108
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrders']?.[localVarOperationServerIndex]?.url;
|
|
936
1109
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -969,6 +1142,37 @@ const SealClientFp = function (configuration) {
|
|
|
969
1142
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
970
1143
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
971
1144
|
},
|
|
1145
|
+
/**
|
|
1146
|
+
*
|
|
1147
|
+
* @param {string} chainId uint256
|
|
1148
|
+
* @param {string} [reservationIdHash]
|
|
1149
|
+
* @param {string} [reservationId] only one of id_hash, and id can be provided
|
|
1150
|
+
* @param {GetReservationSettlementActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
1151
|
+
* @param {boolean} [orderByDescending]
|
|
1152
|
+
* @param {string} [paginationKey]
|
|
1153
|
+
* @param {number} [paginationLimit]
|
|
1154
|
+
* @param {boolean} [paginationCountTotal]
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
async getReservationSettlementActivities(chainId, reservationIdHash, reservationId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReservationSettlementActivities(chainId, reservationIdHash, reservationId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1160
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1161
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getReservationSettlementActivities']?.[localVarOperationServerIndex]?.url;
|
|
1162
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @param {string} [chainId]
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
*/
|
|
1170
|
+
async getSealContractParams(chainId, options) {
|
|
1171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSealContractParams(chainId, options);
|
|
1172
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1173
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getSealContractParams']?.[localVarOperationServerIndex]?.url;
|
|
1174
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1175
|
+
},
|
|
972
1176
|
/**
|
|
973
1177
|
*
|
|
974
1178
|
* @param {string} owner hex representation of owner address
|
|
@@ -1114,6 +1318,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1114
1318
|
getChains(requestParameters = {}, options) {
|
|
1115
1319
|
return localVarFp.getChains(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, options).then((request) => request(axios, basePath));
|
|
1116
1320
|
},
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @param {SealClientGetOrderActivitiesRequest} requestParameters Request parameters.
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
getOrderActivities(requestParameters, options) {
|
|
1328
|
+
return localVarFp.getOrderActivities(requestParameters.chainId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.orderId, requestParameters.orderIdHash, requestParameters.user, requestParameters.type, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
1329
|
+
},
|
|
1117
1330
|
/**
|
|
1118
1331
|
*
|
|
1119
1332
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -1139,7 +1352,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1139
1352
|
* @throws {RequiredError}
|
|
1140
1353
|
*/
|
|
1141
1354
|
getOrders(requestParameters = {}, options) {
|
|
1142
|
-
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.
|
|
1355
|
+
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.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, options).then((request) => request(axios, basePath));
|
|
1143
1356
|
},
|
|
1144
1357
|
/**
|
|
1145
1358
|
*
|
|
@@ -1159,6 +1372,24 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1159
1372
|
getPairs(requestParameters = {}, options) {
|
|
1160
1373
|
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));
|
|
1161
1374
|
},
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @param {SealClientGetReservationSettlementActivitiesRequest} requestParameters Request parameters.
|
|
1378
|
+
* @param {*} [options] Override http request option.
|
|
1379
|
+
* @throws {RequiredError}
|
|
1380
|
+
*/
|
|
1381
|
+
getReservationSettlementActivities(requestParameters, options) {
|
|
1382
|
+
return localVarFp.getReservationSettlementActivities(requestParameters.chainId, requestParameters.reservationIdHash, requestParameters.reservationId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
1383
|
+
},
|
|
1384
|
+
/**
|
|
1385
|
+
*
|
|
1386
|
+
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
1387
|
+
* @param {*} [options] Override http request option.
|
|
1388
|
+
* @throws {RequiredError}
|
|
1389
|
+
*/
|
|
1390
|
+
getSealContractParams(requestParameters = {}, options) {
|
|
1391
|
+
return localVarFp.getSealContractParams(requestParameters.chainId, options).then((request) => request(axios, basePath));
|
|
1392
|
+
},
|
|
1162
1393
|
/**
|
|
1163
1394
|
*
|
|
1164
1395
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -1281,6 +1512,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1281
1512
|
getChains(requestParameters = {}, options) {
|
|
1282
1513
|
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));
|
|
1283
1514
|
}
|
|
1515
|
+
/**
|
|
1516
|
+
*
|
|
1517
|
+
* @param {SealClientGetOrderActivitiesRequest} requestParameters Request parameters.
|
|
1518
|
+
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @throws {RequiredError}
|
|
1520
|
+
* @memberof SealClient
|
|
1521
|
+
*/
|
|
1522
|
+
getOrderActivities(requestParameters, options) {
|
|
1523
|
+
return (0, exports.SealClientFp)(this.configuration).getOrderActivities(requestParameters.chainId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.orderId, requestParameters.orderIdHash, requestParameters.user, requestParameters.type, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
1524
|
+
}
|
|
1284
1525
|
/**
|
|
1285
1526
|
*
|
|
1286
1527
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -1309,7 +1550,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1309
1550
|
* @memberof SealClient
|
|
1310
1551
|
*/
|
|
1311
1552
|
getOrders(requestParameters = {}, options) {
|
|
1312
|
-
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.
|
|
1553
|
+
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.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, options).then((request) => request(this.axios, this.basePath));
|
|
1313
1554
|
}
|
|
1314
1555
|
/**
|
|
1315
1556
|
*
|
|
@@ -1331,6 +1572,26 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1331
1572
|
getPairs(requestParameters = {}, options) {
|
|
1332
1573
|
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));
|
|
1333
1574
|
}
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @param {SealClientGetReservationSettlementActivitiesRequest} requestParameters Request parameters.
|
|
1578
|
+
* @param {*} [options] Override http request option.
|
|
1579
|
+
* @throws {RequiredError}
|
|
1580
|
+
* @memberof SealClient
|
|
1581
|
+
*/
|
|
1582
|
+
getReservationSettlementActivities(requestParameters, options) {
|
|
1583
|
+
return (0, exports.SealClientFp)(this.configuration).getReservationSettlementActivities(requestParameters.chainId, requestParameters.reservationIdHash, requestParameters.reservationId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
1588
|
+
* @param {*} [options] Override http request option.
|
|
1589
|
+
* @throws {RequiredError}
|
|
1590
|
+
* @memberof SealClient
|
|
1591
|
+
*/
|
|
1592
|
+
getSealContractParams(requestParameters = {}, options) {
|
|
1593
|
+
return (0, exports.SealClientFp)(this.configuration).getSealContractParams(requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
|
|
1594
|
+
}
|
|
1334
1595
|
/**
|
|
1335
1596
|
*
|
|
1336
1597
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -1389,6 +1650,34 @@ var GetChainsOrderByPropertyEnum;
|
|
|
1389
1650
|
(function (GetChainsOrderByPropertyEnum) {
|
|
1390
1651
|
GetChainsOrderByPropertyEnum["ChainsOrderByPropertyUnspecified"] = "ChainsOrderByProperty_UNSPECIFIED";
|
|
1391
1652
|
})(GetChainsOrderByPropertyEnum || (exports.GetChainsOrderByPropertyEnum = GetChainsOrderByPropertyEnum = {}));
|
|
1653
|
+
/**
|
|
1654
|
+
* @export
|
|
1655
|
+
* @enum {string}
|
|
1656
|
+
*/
|
|
1657
|
+
var GetOrderActivitiesOrderByPropertyEnum;
|
|
1658
|
+
(function (GetOrderActivitiesOrderByPropertyEnum) {
|
|
1659
|
+
GetOrderActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyUnspecified"] = "OrderActivitiesOrderByProperty_UNSPECIFIED";
|
|
1660
|
+
GetOrderActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyActivityId"] = "OrderActivitiesOrderByProperty_ACTIVITY_ID";
|
|
1661
|
+
GetOrderActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyChainId"] = "OrderActivitiesOrderByProperty_CHAIN_ID";
|
|
1662
|
+
GetOrderActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyActivityTime"] = "OrderActivitiesOrderByProperty_ACTIVITY_TIME";
|
|
1663
|
+
})(GetOrderActivitiesOrderByPropertyEnum || (exports.GetOrderActivitiesOrderByPropertyEnum = GetOrderActivitiesOrderByPropertyEnum = {}));
|
|
1664
|
+
/**
|
|
1665
|
+
* @export
|
|
1666
|
+
* @enum {string}
|
|
1667
|
+
*/
|
|
1668
|
+
var GetOrderActivitiesTypeEnum;
|
|
1669
|
+
(function (GetOrderActivitiesTypeEnum) {
|
|
1670
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeUnspecified"] = "ORDER_ACTIVITY_TYPE_UNSPECIFIED";
|
|
1671
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeSubmitted"] = "ORDER_ACTIVITY_TYPE_SUBMITTED";
|
|
1672
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeCanceledOnChain"] = "ORDER_ACTIVITY_TYPE_CANCELED_ON_CHAIN";
|
|
1673
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeCanceledOffChain"] = "ORDER_ACTIVITY_TYPE_CANCELED_OFF_CHAIN";
|
|
1674
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeExpired"] = "ORDER_ACTIVITY_TYPE_EXPIRED";
|
|
1675
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeSettled"] = "ORDER_ACTIVITY_TYPE_SETTLED";
|
|
1676
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeReserved"] = "ORDER_ACTIVITY_TYPE_RESERVED";
|
|
1677
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeReservationSettled"] = "ORDER_ACTIVITY_TYPE_RESERVATION_SETTLED";
|
|
1678
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeReservationExpired"] = "ORDER_ACTIVITY_TYPE_RESERVATION_EXPIRED";
|
|
1679
|
+
GetOrderActivitiesTypeEnum["OrderActivityTypeExpiredReservationDepositRefunded"] = "ORDER_ACTIVITY_TYPE_EXPIRED_RESERVATION_DEPOSIT_REFUNDED";
|
|
1680
|
+
})(GetOrderActivitiesTypeEnum || (exports.GetOrderActivitiesTypeEnum = GetOrderActivitiesTypeEnum = {}));
|
|
1392
1681
|
/**
|
|
1393
1682
|
* @export
|
|
1394
1683
|
* @enum {string}
|
|
@@ -1397,7 +1686,7 @@ var GetOrderReservationsOrderByPropertyEnum;
|
|
|
1397
1686
|
(function (GetOrderReservationsOrderByPropertyEnum) {
|
|
1398
1687
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyUnspecified"] = "OrderReservationsOrderByProperty_UNSPECIFIED";
|
|
1399
1688
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyOrderIdHash"] = "OrderReservationsOrderByProperty_ORDER_ID_HASH";
|
|
1400
|
-
GetOrderReservationsOrderByPropertyEnum["
|
|
1689
|
+
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyReservationIdHash"] = "OrderReservationsOrderByProperty_RESERVATION_ID_HASH";
|
|
1401
1690
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyTotalAmount"] = "OrderReservationsOrderByProperty_TOTAL_AMOUNT";
|
|
1402
1691
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyRemainingAmount"] = "OrderReservationsOrderByProperty_REMAINING_AMOUNT";
|
|
1403
1692
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyTotalDepositAmount"] = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT";
|
|
@@ -1433,6 +1722,17 @@ var GetPairsOrderByPropertyEnum;
|
|
|
1433
1722
|
(function (GetPairsOrderByPropertyEnum) {
|
|
1434
1723
|
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
1435
1724
|
})(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
|
|
1725
|
+
/**
|
|
1726
|
+
* @export
|
|
1727
|
+
* @enum {string}
|
|
1728
|
+
*/
|
|
1729
|
+
var GetReservationSettlementActivitiesOrderByPropertyEnum;
|
|
1730
|
+
(function (GetReservationSettlementActivitiesOrderByPropertyEnum) {
|
|
1731
|
+
GetReservationSettlementActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyUnspecified"] = "OrderActivitiesOrderByProperty_UNSPECIFIED";
|
|
1732
|
+
GetReservationSettlementActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyActivityId"] = "OrderActivitiesOrderByProperty_ACTIVITY_ID";
|
|
1733
|
+
GetReservationSettlementActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyChainId"] = "OrderActivitiesOrderByProperty_CHAIN_ID";
|
|
1734
|
+
GetReservationSettlementActivitiesOrderByPropertyEnum["OrderActivitiesOrderByPropertyActivityTime"] = "OrderActivitiesOrderByProperty_ACTIVITY_TIME";
|
|
1735
|
+
})(GetReservationSettlementActivitiesOrderByPropertyEnum || (exports.GetReservationSettlementActivitiesOrderByPropertyEnum = GetReservationSettlementActivitiesOrderByPropertyEnum = {}));
|
|
1436
1736
|
/**
|
|
1437
1737
|
* @export
|
|
1438
1738
|
* @enum {string}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -21,11 +21,14 @@ export * from './seal-domain-separator-config';
|
|
|
21
21
|
export * from './seal-get-chains-response';
|
|
22
22
|
export * from './seal-get-config-response';
|
|
23
23
|
export * from './seal-get-health-check-response';
|
|
24
|
+
export * from './seal-get-order-activities-response';
|
|
24
25
|
export * from './seal-get-order-nonce-response';
|
|
25
26
|
export * from './seal-get-order-reservations-response';
|
|
26
27
|
export * from './seal-get-orders-response';
|
|
27
28
|
export * from './seal-get-pair-price-response';
|
|
28
29
|
export * from './seal-get-pairs-response';
|
|
30
|
+
export * from './seal-get-reservation-settlement-activities-response';
|
|
31
|
+
export * from './seal-get-seal-contract-params-response';
|
|
29
32
|
export * from './seal-get-sync-state-response';
|
|
30
33
|
export * from './seal-get-token-permit-approvals-response';
|
|
31
34
|
export * from './seal-get-tokens-response';
|
|
@@ -33,7 +36,10 @@ export * from './seal-greenlight';
|
|
|
33
36
|
export * from './seal-issue-greenlight-response';
|
|
34
37
|
export * from './seal-logger-config';
|
|
35
38
|
export * from './seal-order';
|
|
36
|
-
export * from './seal-order-
|
|
39
|
+
export * from './seal-order-activities-order-by';
|
|
40
|
+
export * from './seal-order-activities-order-by-property';
|
|
41
|
+
export * from './seal-order-activity';
|
|
42
|
+
export * from './seal-order-activity-with-order';
|
|
37
43
|
export * from './seal-order-reservation';
|
|
38
44
|
export * from './seal-order-reservations-order-by';
|
|
39
45
|
export * from './seal-order-reservations-order-by-property';
|
|
@@ -42,11 +48,14 @@ export * from './seal-orders-order-by-property';
|
|
|
42
48
|
export * from './seal-pair';
|
|
43
49
|
export * from './seal-pairs-order-by';
|
|
44
50
|
export * from './seal-pairs-order-by-property';
|
|
51
|
+
export * from './seal-seal-contract-config';
|
|
52
|
+
export * from './seal-seal-contract-params';
|
|
45
53
|
export * from './seal-token';
|
|
46
54
|
export * from './seal-token-permit-approval';
|
|
47
55
|
export * from './seal-tokens-order-by';
|
|
48
56
|
export * from './seal-tokens-order-by-property';
|
|
49
57
|
export * from './types-bool';
|
|
58
|
+
export * from './types-order-activity-type';
|
|
50
59
|
export * from './types-pagination';
|
|
51
60
|
export * from './types-timestamp';
|
|
52
61
|
export * from './types-token-permit-approvals-order-by';
|
package/lib/model/index.js
CHANGED
|
@@ -37,11 +37,14 @@ __exportStar(require("./seal-domain-separator-config"), exports);
|
|
|
37
37
|
__exportStar(require("./seal-get-chains-response"), exports);
|
|
38
38
|
__exportStar(require("./seal-get-config-response"), exports);
|
|
39
39
|
__exportStar(require("./seal-get-health-check-response"), exports);
|
|
40
|
+
__exportStar(require("./seal-get-order-activities-response"), exports);
|
|
40
41
|
__exportStar(require("./seal-get-order-nonce-response"), exports);
|
|
41
42
|
__exportStar(require("./seal-get-order-reservations-response"), exports);
|
|
42
43
|
__exportStar(require("./seal-get-orders-response"), exports);
|
|
43
44
|
__exportStar(require("./seal-get-pair-price-response"), exports);
|
|
44
45
|
__exportStar(require("./seal-get-pairs-response"), exports);
|
|
46
|
+
__exportStar(require("./seal-get-reservation-settlement-activities-response"), exports);
|
|
47
|
+
__exportStar(require("./seal-get-seal-contract-params-response"), exports);
|
|
45
48
|
__exportStar(require("./seal-get-sync-state-response"), exports);
|
|
46
49
|
__exportStar(require("./seal-get-token-permit-approvals-response"), exports);
|
|
47
50
|
__exportStar(require("./seal-get-tokens-response"), exports);
|
|
@@ -49,7 +52,10 @@ __exportStar(require("./seal-greenlight"), exports);
|
|
|
49
52
|
__exportStar(require("./seal-issue-greenlight-response"), exports);
|
|
50
53
|
__exportStar(require("./seal-logger-config"), exports);
|
|
51
54
|
__exportStar(require("./seal-order"), exports);
|
|
52
|
-
__exportStar(require("./seal-order-
|
|
55
|
+
__exportStar(require("./seal-order-activities-order-by"), exports);
|
|
56
|
+
__exportStar(require("./seal-order-activities-order-by-property"), exports);
|
|
57
|
+
__exportStar(require("./seal-order-activity"), exports);
|
|
58
|
+
__exportStar(require("./seal-order-activity-with-order"), exports);
|
|
53
59
|
__exportStar(require("./seal-order-reservation"), exports);
|
|
54
60
|
__exportStar(require("./seal-order-reservations-order-by"), exports);
|
|
55
61
|
__exportStar(require("./seal-order-reservations-order-by-property"), exports);
|
|
@@ -58,11 +64,14 @@ __exportStar(require("./seal-orders-order-by-property"), exports);
|
|
|
58
64
|
__exportStar(require("./seal-pair"), exports);
|
|
59
65
|
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
60
66
|
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
67
|
+
__exportStar(require("./seal-seal-contract-config"), exports);
|
|
68
|
+
__exportStar(require("./seal-seal-contract-params"), exports);
|
|
61
69
|
__exportStar(require("./seal-token"), exports);
|
|
62
70
|
__exportStar(require("./seal-token-permit-approval"), exports);
|
|
63
71
|
__exportStar(require("./seal-tokens-order-by"), exports);
|
|
64
72
|
__exportStar(require("./seal-tokens-order-by-property"), exports);
|
|
65
73
|
__exportStar(require("./types-bool"), exports);
|
|
74
|
+
__exportStar(require("./types-order-activity-type"), exports);
|
|
66
75
|
__exportStar(require("./types-pagination"), exports);
|
|
67
76
|
__exportStar(require("./types-timestamp"), exports);
|
|
68
77
|
__exportStar(require("./types-token-permit-approvals-order-by"), exports);
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SealContractConfig } from './seal-contract-config';
|
|
13
|
+
import type { SealSealContractConfig } from './seal-seal-contract-config';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface SealChainConfig {
|
|
|
24
25
|
'chainId'?: string;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {
|
|
28
|
+
* @type {SealSealContractConfig}
|
|
28
29
|
* @memberof SealChainConfig
|
|
29
30
|
*/
|
|
30
|
-
'sealContract'?:
|
|
31
|
+
'sealContract'?: SealSealContractConfig;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
34
|
* @type {SealContractConfig}
|
|
@@ -13,7 +13,6 @@ import type { SealChainConfig } from './seal-chain-config';
|
|
|
13
13
|
import type { SealDatabaseConfig } from './seal-database-config';
|
|
14
14
|
import type { SealDomainSeparatorConfig } from './seal-domain-separator-config';
|
|
15
15
|
import type { SealLoggerConfig } from './seal-logger-config';
|
|
16
|
-
import type { SealOrderConfig } from './seal-order-config';
|
|
17
16
|
/**
|
|
18
17
|
*
|
|
19
18
|
* @export
|
|
@@ -32,12 +31,6 @@ export interface SealConfig {
|
|
|
32
31
|
* @memberof SealConfig
|
|
33
32
|
*/
|
|
34
33
|
'database'?: SealDatabaseConfig;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {SealOrderConfig}
|
|
38
|
-
* @memberof SealConfig
|
|
39
|
-
*/
|
|
40
|
-
'order'?: SealOrderConfig;
|
|
41
34
|
/**
|
|
42
35
|
*
|
|
43
36
|
* @type {SealChainConfig}
|
|
@@ -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 { SealOrderActivityWithOrder } from './seal-order-activity-with-order';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetOrderActivitiesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetOrderActivitiesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealOrderActivityWithOrder>}
|
|
22
|
+
* @memberof SealGetOrderActivitiesResponse
|
|
23
|
+
*/
|
|
24
|
+
'activities': Array<SealOrderActivityWithOrder>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetOrderActivitiesResponse
|
|
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 });
|