@seal-protocol/backendjs 0.0.49 → 0.0.52
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 +338 -2
- package/lib/api/seal-client.js +362 -2
- package/lib/model/index.d.ts +12 -1
- package/lib/model/index.js +12 -1
- package/lib/model/seal-calculate-required-permit-response.d.ts +7 -0
- package/lib/model/seal-chain-config.d.ts +3 -2
- package/lib/model/seal-config.d.ts +5 -5
- package/lib/model/seal-delete-token-permit-approval-request.d.ts +60 -0
- package/lib/model/seal-delete-token-permit-approval-request.js +15 -0
- package/lib/model/seal-domain-info.d.ts +42 -0
- package/lib/model/seal-domain-info.js +15 -0
- 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 +38 -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-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
|
|
@@ -192,6 +192,35 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
options: localVarRequestOptions,
|
|
193
193
|
};
|
|
194
194
|
},
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @param {SealDeleteTokenPermitApprovalRequest} body
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
deleteTokenPermitApproval: async (body, options = {}) => {
|
|
202
|
+
// verify required parameter 'body' is not null or undefined
|
|
203
|
+
(0, common_1.assertParamExists)('deleteTokenPermitApproval', 'body', body);
|
|
204
|
+
const localVarPath = `/seal/delete_token_permit_approval`;
|
|
205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
207
|
+
let baseOptions;
|
|
208
|
+
if (configuration) {
|
|
209
|
+
baseOptions = configuration.baseOptions;
|
|
210
|
+
}
|
|
211
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
212
|
+
const localVarHeaderParameter = {};
|
|
213
|
+
const localVarQueryParameter = {};
|
|
214
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
215
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
218
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
219
|
+
return {
|
|
220
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
|
+
options: localVarRequestOptions,
|
|
222
|
+
};
|
|
223
|
+
},
|
|
195
224
|
/**
|
|
196
225
|
*
|
|
197
226
|
* @param {string} [paginationKey]
|
|
@@ -236,6 +265,72 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
236
265
|
options: localVarRequestOptions,
|
|
237
266
|
};
|
|
238
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
|
+
},
|
|
239
334
|
/**
|
|
240
335
|
*
|
|
241
336
|
* @param {string} chainId uint256
|
|
@@ -544,6 +639,92 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
544
639
|
options: localVarRequestOptions,
|
|
545
640
|
};
|
|
546
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
|
+
},
|
|
547
728
|
/**
|
|
548
729
|
*
|
|
549
730
|
* @param {string} owner hex representation of owner address
|
|
@@ -811,6 +992,18 @@ const SealClientFp = function (configuration) {
|
|
|
811
992
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createTokenPermitApproval']?.[localVarOperationServerIndex]?.url;
|
|
812
993
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
813
994
|
},
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @param {SealDeleteTokenPermitApprovalRequest} body
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
*/
|
|
1001
|
+
async deleteTokenPermitApproval(body, options) {
|
|
1002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTokenPermitApproval(body, options);
|
|
1003
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1004
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.deleteTokenPermitApproval']?.[localVarOperationServerIndex]?.url;
|
|
1005
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1006
|
+
},
|
|
814
1007
|
/**
|
|
815
1008
|
*
|
|
816
1009
|
* @param {string} [paginationKey]
|
|
@@ -827,6 +1020,27 @@ const SealClientFp = function (configuration) {
|
|
|
827
1020
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getChains']?.[localVarOperationServerIndex]?.url;
|
|
828
1021
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
829
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
|
+
},
|
|
830
1044
|
/**
|
|
831
1045
|
*
|
|
832
1046
|
* @param {string} chainId uint256
|
|
@@ -928,6 +1142,37 @@ const SealClientFp = function (configuration) {
|
|
|
928
1142
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
929
1143
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
930
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
|
+
},
|
|
931
1176
|
/**
|
|
932
1177
|
*
|
|
933
1178
|
* @param {string} owner hex representation of owner address
|
|
@@ -1055,6 +1300,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1055
1300
|
createTokenPermitApproval(requestParameters, options) {
|
|
1056
1301
|
return localVarFp.createTokenPermitApproval(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1057
1302
|
},
|
|
1303
|
+
/**
|
|
1304
|
+
*
|
|
1305
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
deleteTokenPermitApproval(requestParameters, options) {
|
|
1310
|
+
return localVarFp.deleteTokenPermitApproval(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1311
|
+
},
|
|
1058
1312
|
/**
|
|
1059
1313
|
*
|
|
1060
1314
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -1064,6 +1318,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1064
1318
|
getChains(requestParameters = {}, options) {
|
|
1065
1319
|
return localVarFp.getChains(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, options).then((request) => request(axios, basePath));
|
|
1066
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
|
+
},
|
|
1067
1330
|
/**
|
|
1068
1331
|
*
|
|
1069
1332
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -1109,6 +1372,24 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1109
1372
|
getPairs(requestParameters = {}, options) {
|
|
1110
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));
|
|
1111
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
|
+
},
|
|
1112
1393
|
/**
|
|
1113
1394
|
*
|
|
1114
1395
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -1211,6 +1492,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1211
1492
|
createTokenPermitApproval(requestParameters, options) {
|
|
1212
1493
|
return (0, exports.SealClientFp)(this.configuration).createTokenPermitApproval(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1213
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
1498
|
+
* @param {*} [options] Override http request option.
|
|
1499
|
+
* @throws {RequiredError}
|
|
1500
|
+
* @memberof SealClient
|
|
1501
|
+
*/
|
|
1502
|
+
deleteTokenPermitApproval(requestParameters, options) {
|
|
1503
|
+
return (0, exports.SealClientFp)(this.configuration).deleteTokenPermitApproval(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1504
|
+
}
|
|
1214
1505
|
/**
|
|
1215
1506
|
*
|
|
1216
1507
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -1221,6 +1512,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1221
1512
|
getChains(requestParameters = {}, options) {
|
|
1222
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));
|
|
1223
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
|
+
}
|
|
1224
1525
|
/**
|
|
1225
1526
|
*
|
|
1226
1527
|
* @param {SealClientGetOrderNonceRequest} requestParameters Request parameters.
|
|
@@ -1271,6 +1572,26 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1271
1572
|
getPairs(requestParameters = {}, options) {
|
|
1272
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));
|
|
1273
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
|
+
}
|
|
1274
1595
|
/**
|
|
1275
1596
|
*
|
|
1276
1597
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -1329,6 +1650,34 @@ var GetChainsOrderByPropertyEnum;
|
|
|
1329
1650
|
(function (GetChainsOrderByPropertyEnum) {
|
|
1330
1651
|
GetChainsOrderByPropertyEnum["ChainsOrderByPropertyUnspecified"] = "ChainsOrderByProperty_UNSPECIFIED";
|
|
1331
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 = {}));
|
|
1332
1681
|
/**
|
|
1333
1682
|
* @export
|
|
1334
1683
|
* @enum {string}
|
|
@@ -1337,7 +1686,7 @@ var GetOrderReservationsOrderByPropertyEnum;
|
|
|
1337
1686
|
(function (GetOrderReservationsOrderByPropertyEnum) {
|
|
1338
1687
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyUnspecified"] = "OrderReservationsOrderByProperty_UNSPECIFIED";
|
|
1339
1688
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyOrderIdHash"] = "OrderReservationsOrderByProperty_ORDER_ID_HASH";
|
|
1340
|
-
GetOrderReservationsOrderByPropertyEnum["
|
|
1689
|
+
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyReservationIdHash"] = "OrderReservationsOrderByProperty_RESERVATION_ID_HASH";
|
|
1341
1690
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyTotalAmount"] = "OrderReservationsOrderByProperty_TOTAL_AMOUNT";
|
|
1342
1691
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyRemainingAmount"] = "OrderReservationsOrderByProperty_REMAINING_AMOUNT";
|
|
1343
1692
|
GetOrderReservationsOrderByPropertyEnum["OrderReservationsOrderByPropertyTotalDepositAmount"] = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT";
|
|
@@ -1373,6 +1722,17 @@ var GetPairsOrderByPropertyEnum;
|
|
|
1373
1722
|
(function (GetPairsOrderByPropertyEnum) {
|
|
1374
1723
|
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
1375
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 = {}));
|
|
1376
1736
|
/**
|
|
1377
1737
|
* @export
|
|
1378
1738
|
* @enum {string}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -15,15 +15,20 @@ export * from './seal-create-order-request';
|
|
|
15
15
|
export * from './seal-create-order-response';
|
|
16
16
|
export * from './seal-create-token-permit-approval-request';
|
|
17
17
|
export * from './seal-database-config';
|
|
18
|
+
export * from './seal-delete-token-permit-approval-request';
|
|
19
|
+
export * from './seal-domain-info';
|
|
18
20
|
export * from './seal-domain-separator-config';
|
|
19
21
|
export * from './seal-get-chains-response';
|
|
20
22
|
export * from './seal-get-config-response';
|
|
21
23
|
export * from './seal-get-health-check-response';
|
|
24
|
+
export * from './seal-get-order-activities-response';
|
|
22
25
|
export * from './seal-get-order-nonce-response';
|
|
23
26
|
export * from './seal-get-order-reservations-response';
|
|
24
27
|
export * from './seal-get-orders-response';
|
|
25
28
|
export * from './seal-get-pair-price-response';
|
|
26
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';
|
|
27
32
|
export * from './seal-get-sync-state-response';
|
|
28
33
|
export * from './seal-get-token-permit-approvals-response';
|
|
29
34
|
export * from './seal-get-tokens-response';
|
|
@@ -31,7 +36,10 @@ export * from './seal-greenlight';
|
|
|
31
36
|
export * from './seal-issue-greenlight-response';
|
|
32
37
|
export * from './seal-logger-config';
|
|
33
38
|
export * from './seal-order';
|
|
34
|
-
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';
|
|
35
43
|
export * from './seal-order-reservation';
|
|
36
44
|
export * from './seal-order-reservations-order-by';
|
|
37
45
|
export * from './seal-order-reservations-order-by-property';
|
|
@@ -40,11 +48,14 @@ export * from './seal-orders-order-by-property';
|
|
|
40
48
|
export * from './seal-pair';
|
|
41
49
|
export * from './seal-pairs-order-by';
|
|
42
50
|
export * from './seal-pairs-order-by-property';
|
|
51
|
+
export * from './seal-seal-contract-config';
|
|
52
|
+
export * from './seal-seal-contract-params';
|
|
43
53
|
export * from './seal-token';
|
|
44
54
|
export * from './seal-token-permit-approval';
|
|
45
55
|
export * from './seal-tokens-order-by';
|
|
46
56
|
export * from './seal-tokens-order-by-property';
|
|
47
57
|
export * from './types-bool';
|
|
58
|
+
export * from './types-order-activity-type';
|
|
48
59
|
export * from './types-pagination';
|
|
49
60
|
export * from './types-timestamp';
|
|
50
61
|
export * from './types-token-permit-approvals-order-by';
|
package/lib/model/index.js
CHANGED
|
@@ -31,15 +31,20 @@ __exportStar(require("./seal-create-order-request"), exports);
|
|
|
31
31
|
__exportStar(require("./seal-create-order-response"), exports);
|
|
32
32
|
__exportStar(require("./seal-create-token-permit-approval-request"), exports);
|
|
33
33
|
__exportStar(require("./seal-database-config"), exports);
|
|
34
|
+
__exportStar(require("./seal-delete-token-permit-approval-request"), exports);
|
|
35
|
+
__exportStar(require("./seal-domain-info"), exports);
|
|
34
36
|
__exportStar(require("./seal-domain-separator-config"), exports);
|
|
35
37
|
__exportStar(require("./seal-get-chains-response"), exports);
|
|
36
38
|
__exportStar(require("./seal-get-config-response"), exports);
|
|
37
39
|
__exportStar(require("./seal-get-health-check-response"), exports);
|
|
40
|
+
__exportStar(require("./seal-get-order-activities-response"), exports);
|
|
38
41
|
__exportStar(require("./seal-get-order-nonce-response"), exports);
|
|
39
42
|
__exportStar(require("./seal-get-order-reservations-response"), exports);
|
|
40
43
|
__exportStar(require("./seal-get-orders-response"), exports);
|
|
41
44
|
__exportStar(require("./seal-get-pair-price-response"), exports);
|
|
42
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);
|
|
43
48
|
__exportStar(require("./seal-get-sync-state-response"), exports);
|
|
44
49
|
__exportStar(require("./seal-get-token-permit-approvals-response"), exports);
|
|
45
50
|
__exportStar(require("./seal-get-tokens-response"), exports);
|
|
@@ -47,7 +52,10 @@ __exportStar(require("./seal-greenlight"), exports);
|
|
|
47
52
|
__exportStar(require("./seal-issue-greenlight-response"), exports);
|
|
48
53
|
__exportStar(require("./seal-logger-config"), exports);
|
|
49
54
|
__exportStar(require("./seal-order"), exports);
|
|
50
|
-
__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);
|
|
51
59
|
__exportStar(require("./seal-order-reservation"), exports);
|
|
52
60
|
__exportStar(require("./seal-order-reservations-order-by"), exports);
|
|
53
61
|
__exportStar(require("./seal-order-reservations-order-by-property"), exports);
|
|
@@ -56,11 +64,14 @@ __exportStar(require("./seal-orders-order-by-property"), exports);
|
|
|
56
64
|
__exportStar(require("./seal-pair"), exports);
|
|
57
65
|
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
58
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);
|
|
59
69
|
__exportStar(require("./seal-token"), exports);
|
|
60
70
|
__exportStar(require("./seal-token-permit-approval"), exports);
|
|
61
71
|
__exportStar(require("./seal-tokens-order-by"), exports);
|
|
62
72
|
__exportStar(require("./seal-tokens-order-by-property"), exports);
|
|
63
73
|
__exportStar(require("./types-bool"), exports);
|
|
74
|
+
__exportStar(require("./types-order-activity-type"), exports);
|
|
64
75
|
__exportStar(require("./types-pagination"), exports);
|
|
65
76
|
__exportStar(require("./types-timestamp"), exports);
|
|
66
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 { SealApprovalType } from './seal-approval-type';
|
|
13
|
+
import type { SealDomainInfo } from './seal-domain-info';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface SealCalculateRequiredPermitResponse {
|
|
|
34
35
|
* @memberof SealCalculateRequiredPermitResponse
|
|
35
36
|
*/
|
|
36
37
|
'approvalType'?: SealApprovalType;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {SealDomainInfo}
|
|
41
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
42
|
+
*/
|
|
43
|
+
'domainInfo'?: SealDomainInfo;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {string}
|
|
@@ -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}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SealChainConfig } from './seal-chain-config';
|
|
13
13
|
import type { SealDatabaseConfig } from './seal-database-config';
|
|
14
|
+
import type { SealDomainSeparatorConfig } from './seal-domain-separator-config';
|
|
14
15
|
import type { SealLoggerConfig } from './seal-logger-config';
|
|
15
|
-
import type { SealOrderConfig } from './seal-order-config';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -33,14 +33,14 @@ export interface SealConfig {
|
|
|
33
33
|
'database'?: SealDatabaseConfig;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {SealChainConfig}
|
|
37
37
|
* @memberof SealConfig
|
|
38
38
|
*/
|
|
39
|
-
'
|
|
39
|
+
'ethereum'?: SealChainConfig;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {SealDomainSeparatorConfig}
|
|
43
43
|
* @memberof SealConfig
|
|
44
44
|
*/
|
|
45
|
-
'
|
|
45
|
+
'domain'?: SealDomainSeparatorConfig;
|
|
46
46
|
}
|