@seal-protocol/backendjs 0.0.46 → 0.0.50
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 +119 -2
- package/lib/api/seal-client.js +147 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +4 -0
- package/lib/model/seal-approval-type.d.ts +22 -0
- package/lib/model/seal-approval-type.js +28 -0
- package/lib/model/seal-calculate-required-permit-response.d.ts +74 -0
- package/lib/model/seal-calculate-required-permit-response.js +15 -0
- package/lib/model/seal-config.d.ts +7 -0
- 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-order.d.ts +0 -6
- package/lib/model/types-token-permit-approvals-order-by-property.d.ts +0 -1
- package/lib/model/types-token-permit-approvals-order-by-property.js +0 -1
- package/package.json +1 -1
package/lib/api/seal-client.d.ts
CHANGED
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SealCalculateRequiredPermitResponse } from '../model';
|
|
15
16
|
import type { SealCancelOrderRequest } from '../model';
|
|
16
17
|
import type { SealCreateOrderRequest } from '../model';
|
|
17
18
|
import type { SealCreateOrderResponse } from '../model';
|
|
18
19
|
import type { SealCreateTokenPermitApprovalRequest } from '../model';
|
|
20
|
+
import type { SealDeleteTokenPermitApprovalRequest } from '../model';
|
|
19
21
|
import type { SealGetChainsResponse } from '../model';
|
|
20
22
|
import type { SealGetConfigResponse } from '../model';
|
|
21
23
|
import type { SealGetHealthCheckResponse } from '../model';
|
|
@@ -33,6 +35,17 @@ import type { SealIssueGreenlightResponse } from '../model';
|
|
|
33
35
|
* @export
|
|
34
36
|
*/
|
|
35
37
|
export declare const SealClientAxiosParamCreator: (configuration?: Configuration) => {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {string} chainId
|
|
41
|
+
* @param {string} owner hex representation of owner address
|
|
42
|
+
* @param {string} token hex representation of token address
|
|
43
|
+
* @param {string} orderAmount
|
|
44
|
+
* @param {number} [orderExpiration] unix seconds
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
calculateRequiredPermit: (chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
49
|
/**
|
|
37
50
|
*
|
|
38
51
|
* @param {SealCancelOrderRequest} body
|
|
@@ -60,6 +73,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
60
73
|
* @throws {RequiredError}
|
|
61
74
|
*/
|
|
62
75
|
createTokenPermitApproval: (body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param {SealDeleteTokenPermitApprovalRequest} body
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
deleteTokenPermitApproval: (body: SealDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
83
|
/**
|
|
64
84
|
*
|
|
65
85
|
* @param {string} [paginationKey]
|
|
@@ -201,6 +221,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
201
221
|
* @export
|
|
202
222
|
*/
|
|
203
223
|
export declare const SealClientFp: (configuration?: Configuration) => {
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @param {string} chainId
|
|
227
|
+
* @param {string} owner hex representation of owner address
|
|
228
|
+
* @param {string} token hex representation of token address
|
|
229
|
+
* @param {string} orderAmount
|
|
230
|
+
* @param {number} [orderExpiration] unix seconds
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
calculateRequiredPermit(chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
204
235
|
/**
|
|
205
236
|
*
|
|
206
237
|
* @param {SealCancelOrderRequest} body
|
|
@@ -228,6 +259,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
228
259
|
* @throws {RequiredError}
|
|
229
260
|
*/
|
|
230
261
|
createTokenPermitApproval(body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @param {SealDeleteTokenPermitApprovalRequest} body
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
deleteTokenPermitApproval(body: SealDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
231
269
|
/**
|
|
232
270
|
*
|
|
233
271
|
* @param {string} [paginationKey]
|
|
@@ -369,6 +407,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
369
407
|
* @export
|
|
370
408
|
*/
|
|
371
409
|
export declare const SealClientFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
*/
|
|
416
|
+
calculateRequiredPermit(requestParameters: SealClientCalculateRequiredPermitRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCalculateRequiredPermitResponse>;
|
|
372
417
|
/**
|
|
373
418
|
*
|
|
374
419
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -396,6 +441,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
396
441
|
* @throws {RequiredError}
|
|
397
442
|
*/
|
|
398
443
|
createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
deleteTokenPermitApproval(requestParameters: SealClientDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
399
451
|
/**
|
|
400
452
|
*
|
|
401
453
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -472,6 +524,43 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
472
524
|
*/
|
|
473
525
|
syncState(options?: RawAxiosRequestConfig): AxiosPromise<SealGetSyncStateResponse>;
|
|
474
526
|
};
|
|
527
|
+
/**
|
|
528
|
+
* Request parameters for calculateRequiredPermit operation in SealClient.
|
|
529
|
+
* @export
|
|
530
|
+
* @interface SealClientCalculateRequiredPermitRequest
|
|
531
|
+
*/
|
|
532
|
+
export interface SealClientCalculateRequiredPermitRequest {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
537
|
+
*/
|
|
538
|
+
readonly chainId: string;
|
|
539
|
+
/**
|
|
540
|
+
* hex representation of owner address
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
543
|
+
*/
|
|
544
|
+
readonly owner: string;
|
|
545
|
+
/**
|
|
546
|
+
* hex representation of token address
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
549
|
+
*/
|
|
550
|
+
readonly token: string;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
555
|
+
*/
|
|
556
|
+
readonly orderAmount: string;
|
|
557
|
+
/**
|
|
558
|
+
* unix seconds
|
|
559
|
+
* @type {number}
|
|
560
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
561
|
+
*/
|
|
562
|
+
readonly orderExpiration?: number;
|
|
563
|
+
}
|
|
475
564
|
/**
|
|
476
565
|
* Request parameters for cancelOrder operation in SealClient.
|
|
477
566
|
* @export
|
|
@@ -511,6 +600,19 @@ export interface SealClientCreateTokenPermitApprovalRequest {
|
|
|
511
600
|
*/
|
|
512
601
|
readonly body: SealCreateTokenPermitApprovalRequest;
|
|
513
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* Request parameters for deleteTokenPermitApproval operation in SealClient.
|
|
605
|
+
* @export
|
|
606
|
+
* @interface SealClientDeleteTokenPermitApprovalRequest
|
|
607
|
+
*/
|
|
608
|
+
export interface SealClientDeleteTokenPermitApprovalRequest {
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {SealDeleteTokenPermitApprovalRequest}
|
|
612
|
+
* @memberof SealClientDeleteTokenPermitApproval
|
|
613
|
+
*/
|
|
614
|
+
readonly body: SealDeleteTokenPermitApprovalRequest;
|
|
615
|
+
}
|
|
514
616
|
/**
|
|
515
617
|
* Request parameters for getChains operation in SealClient.
|
|
516
618
|
* @export
|
|
@@ -885,7 +987,7 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
885
987
|
readonly token?: string;
|
|
886
988
|
/**
|
|
887
989
|
*
|
|
888
|
-
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | '
|
|
990
|
+
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
|
|
889
991
|
* @memberof SealClientGetTokenPermitApprovals
|
|
890
992
|
*/
|
|
891
993
|
readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
@@ -995,6 +1097,14 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
995
1097
|
* @extends {BaseAPI}
|
|
996
1098
|
*/
|
|
997
1099
|
export declare class SealClient extends BaseAPI {
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
* @memberof SealClient
|
|
1106
|
+
*/
|
|
1107
|
+
calculateRequiredPermit(requestParameters: SealClientCalculateRequiredPermitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCalculateRequiredPermitResponse, any>>;
|
|
998
1108
|
/**
|
|
999
1109
|
*
|
|
1000
1110
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -1026,6 +1136,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1026
1136
|
* @memberof SealClient
|
|
1027
1137
|
*/
|
|
1028
1138
|
createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
1142
|
+
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @throws {RequiredError}
|
|
1144
|
+
* @memberof SealClient
|
|
1145
|
+
*/
|
|
1146
|
+
deleteTokenPermitApproval(requestParameters: SealClientDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1029
1147
|
/**
|
|
1030
1148
|
*
|
|
1031
1149
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -1168,7 +1286,6 @@ export declare enum GetPairsOrderByPropertyEnum {
|
|
|
1168
1286
|
export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
|
|
1169
1287
|
TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
|
|
1170
1288
|
TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
|
|
1171
|
-
TokenPermitApprovalsOrderByPropertySigDeadline = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE",
|
|
1172
1289
|
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
|
|
1173
1290
|
}
|
|
1174
1291
|
/**
|
package/lib/api/seal-client.js
CHANGED
|
@@ -29,6 +29,58 @@ const base_1 = require("../base");
|
|
|
29
29
|
*/
|
|
30
30
|
const SealClientAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param {string} chainId
|
|
35
|
+
* @param {string} owner hex representation of owner address
|
|
36
|
+
* @param {string} token hex representation of token address
|
|
37
|
+
* @param {string} orderAmount
|
|
38
|
+
* @param {number} [orderExpiration] unix seconds
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
calculateRequiredPermit: async (chainId, owner, token, orderAmount, orderExpiration, options = {}) => {
|
|
43
|
+
// verify required parameter 'chainId' is not null or undefined
|
|
44
|
+
(0, common_1.assertParamExists)('calculateRequiredPermit', 'chainId', chainId);
|
|
45
|
+
// verify required parameter 'owner' is not null or undefined
|
|
46
|
+
(0, common_1.assertParamExists)('calculateRequiredPermit', 'owner', owner);
|
|
47
|
+
// verify required parameter 'token' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('calculateRequiredPermit', 'token', token);
|
|
49
|
+
// verify required parameter 'orderAmount' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('calculateRequiredPermit', 'orderAmount', orderAmount);
|
|
51
|
+
const localVarPath = `/seal/calculate_required_permit`;
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
59
|
+
const localVarHeaderParameter = {};
|
|
60
|
+
const localVarQueryParameter = {};
|
|
61
|
+
if (chainId !== undefined) {
|
|
62
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
63
|
+
}
|
|
64
|
+
if (owner !== undefined) {
|
|
65
|
+
localVarQueryParameter['owner'] = owner;
|
|
66
|
+
}
|
|
67
|
+
if (token !== undefined) {
|
|
68
|
+
localVarQueryParameter['token'] = token;
|
|
69
|
+
}
|
|
70
|
+
if (orderAmount !== undefined) {
|
|
71
|
+
localVarQueryParameter['orderAmount'] = orderAmount;
|
|
72
|
+
}
|
|
73
|
+
if (orderExpiration !== undefined) {
|
|
74
|
+
localVarQueryParameter['orderExpiration'] = orderExpiration;
|
|
75
|
+
}
|
|
76
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
79
|
+
return {
|
|
80
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
32
84
|
/**
|
|
33
85
|
*
|
|
34
86
|
* @param {SealCancelOrderRequest} body
|
|
@@ -140,6 +192,35 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
140
192
|
options: localVarRequestOptions,
|
|
141
193
|
};
|
|
142
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
|
+
},
|
|
143
224
|
/**
|
|
144
225
|
*
|
|
145
226
|
* @param {string} [paginationKey]
|
|
@@ -696,6 +777,22 @@ exports.SealClientAxiosParamCreator = SealClientAxiosParamCreator;
|
|
|
696
777
|
const SealClientFp = function (configuration) {
|
|
697
778
|
const localVarAxiosParamCreator = (0, exports.SealClientAxiosParamCreator)(configuration);
|
|
698
779
|
return {
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @param {string} chainId
|
|
783
|
+
* @param {string} owner hex representation of owner address
|
|
784
|
+
* @param {string} token hex representation of token address
|
|
785
|
+
* @param {string} orderAmount
|
|
786
|
+
* @param {number} [orderExpiration] unix seconds
|
|
787
|
+
* @param {*} [options] Override http request option.
|
|
788
|
+
* @throws {RequiredError}
|
|
789
|
+
*/
|
|
790
|
+
async calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options) {
|
|
791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options);
|
|
792
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
793
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.calculateRequiredPermit']?.[localVarOperationServerIndex]?.url;
|
|
794
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
795
|
+
},
|
|
699
796
|
/**
|
|
700
797
|
*
|
|
701
798
|
* @param {SealCancelOrderRequest} body
|
|
@@ -743,6 +840,18 @@ const SealClientFp = function (configuration) {
|
|
|
743
840
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createTokenPermitApproval']?.[localVarOperationServerIndex]?.url;
|
|
744
841
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
745
842
|
},
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @param {SealDeleteTokenPermitApprovalRequest} body
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
async deleteTokenPermitApproval(body, options) {
|
|
850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTokenPermitApproval(body, options);
|
|
851
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
852
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.deleteTokenPermitApproval']?.[localVarOperationServerIndex]?.url;
|
|
853
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
854
|
+
},
|
|
746
855
|
/**
|
|
747
856
|
*
|
|
748
857
|
* @param {string} [paginationKey]
|
|
@@ -943,6 +1052,15 @@ exports.SealClientFp = SealClientFp;
|
|
|
943
1052
|
const SealClientFactory = function (configuration, basePath, axios) {
|
|
944
1053
|
const localVarFp = (0, exports.SealClientFp)(configuration);
|
|
945
1054
|
return {
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
calculateRequiredPermit(requestParameters, options) {
|
|
1062
|
+
return localVarFp.calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(axios, basePath));
|
|
1063
|
+
},
|
|
946
1064
|
/**
|
|
947
1065
|
*
|
|
948
1066
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -978,6 +1096,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
978
1096
|
createTokenPermitApproval(requestParameters, options) {
|
|
979
1097
|
return localVarFp.createTokenPermitApproval(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
980
1098
|
},
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
*/
|
|
1105
|
+
deleteTokenPermitApproval(requestParameters, options) {
|
|
1106
|
+
return localVarFp.deleteTokenPermitApproval(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1107
|
+
},
|
|
981
1108
|
/**
|
|
982
1109
|
*
|
|
983
1110
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -1085,6 +1212,16 @@ exports.SealClientFactory = SealClientFactory;
|
|
|
1085
1212
|
* @extends {BaseAPI}
|
|
1086
1213
|
*/
|
|
1087
1214
|
class SealClient extends base_1.BaseAPI {
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1218
|
+
* @param {*} [options] Override http request option.
|
|
1219
|
+
* @throws {RequiredError}
|
|
1220
|
+
* @memberof SealClient
|
|
1221
|
+
*/
|
|
1222
|
+
calculateRequiredPermit(requestParameters, options) {
|
|
1223
|
+
return (0, exports.SealClientFp)(this.configuration).calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(this.axios, this.basePath));
|
|
1224
|
+
}
|
|
1088
1225
|
/**
|
|
1089
1226
|
*
|
|
1090
1227
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -1124,6 +1261,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1124
1261
|
createTokenPermitApproval(requestParameters, options) {
|
|
1125
1262
|
return (0, exports.SealClientFp)(this.configuration).createTokenPermitApproval(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1126
1263
|
}
|
|
1264
|
+
/**
|
|
1265
|
+
*
|
|
1266
|
+
* @param {SealClientDeleteTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
* @memberof SealClient
|
|
1270
|
+
*/
|
|
1271
|
+
deleteTokenPermitApproval(requestParameters, options) {
|
|
1272
|
+
return (0, exports.SealClientFp)(this.configuration).deleteTokenPermitApproval(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1273
|
+
}
|
|
1127
1274
|
/**
|
|
1128
1275
|
*
|
|
1129
1276
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -1294,7 +1441,6 @@ var GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
|
1294
1441
|
(function (GetTokenPermitApprovalsOrderByPropertyEnum) {
|
|
1295
1442
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
|
|
1296
1443
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
|
|
1297
|
-
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertySigDeadline"] = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE";
|
|
1298
1444
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
|
|
1299
1445
|
})(GetTokenPermitApprovalsOrderByPropertyEnum || (exports.GetTokenPermitApprovalsOrderByPropertyEnum = GetTokenPermitApprovalsOrderByPropertyEnum = {}));
|
|
1300
1446
|
/**
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './protobuf-any';
|
|
2
2
|
export * from './rpc-status';
|
|
3
|
+
export * from './seal-approval-type';
|
|
4
|
+
export * from './seal-calculate-required-permit-response';
|
|
3
5
|
export * from './seal-cancel-order-request';
|
|
4
6
|
export * from './seal-chain';
|
|
5
7
|
export * from './seal-chain-config';
|
|
@@ -13,6 +15,8 @@ export * from './seal-create-order-request';
|
|
|
13
15
|
export * from './seal-create-order-response';
|
|
14
16
|
export * from './seal-create-token-permit-approval-request';
|
|
15
17
|
export * from './seal-database-config';
|
|
18
|
+
export * from './seal-delete-token-permit-approval-request';
|
|
19
|
+
export * from './seal-domain-info';
|
|
16
20
|
export * from './seal-domain-separator-config';
|
|
17
21
|
export * from './seal-get-chains-response';
|
|
18
22
|
export * from './seal-get-config-response';
|
package/lib/model/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./protobuf-any"), exports);
|
|
18
18
|
__exportStar(require("./rpc-status"), exports);
|
|
19
|
+
__exportStar(require("./seal-approval-type"), exports);
|
|
20
|
+
__exportStar(require("./seal-calculate-required-permit-response"), exports);
|
|
19
21
|
__exportStar(require("./seal-cancel-order-request"), exports);
|
|
20
22
|
__exportStar(require("./seal-chain"), exports);
|
|
21
23
|
__exportStar(require("./seal-chain-config"), exports);
|
|
@@ -29,6 +31,8 @@ __exportStar(require("./seal-create-order-request"), exports);
|
|
|
29
31
|
__exportStar(require("./seal-create-order-response"), exports);
|
|
30
32
|
__exportStar(require("./seal-create-token-permit-approval-request"), exports);
|
|
31
33
|
__exportStar(require("./seal-database-config"), exports);
|
|
34
|
+
__exportStar(require("./seal-delete-token-permit-approval-request"), exports);
|
|
35
|
+
__exportStar(require("./seal-domain-info"), exports);
|
|
32
36
|
__exportStar(require("./seal-domain-separator-config"), exports);
|
|
33
37
|
__exportStar(require("./seal-get-chains-response"), exports);
|
|
34
38
|
__exportStar(require("./seal-get-config-response"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
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 SealApprovalType {
|
|
18
|
+
ApprovalTypeUnspecified = "ApprovalType_UNSPECIFIED",
|
|
19
|
+
ApprovalTypeEip2612 = "ApprovalType_EIP2612",
|
|
20
|
+
ApprovalTypePermit2 = "ApprovalType_PERMIT2",
|
|
21
|
+
ApprovalTypeErc20 = "ApprovalType_ERC20"
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.SealApprovalType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealApprovalType;
|
|
23
|
+
(function (SealApprovalType) {
|
|
24
|
+
SealApprovalType["ApprovalTypeUnspecified"] = "ApprovalType_UNSPECIFIED";
|
|
25
|
+
SealApprovalType["ApprovalTypeEip2612"] = "ApprovalType_EIP2612";
|
|
26
|
+
SealApprovalType["ApprovalTypePermit2"] = "ApprovalType_PERMIT2";
|
|
27
|
+
SealApprovalType["ApprovalTypeErc20"] = "ApprovalType_ERC20";
|
|
28
|
+
})(SealApprovalType || (exports.SealApprovalType = SealApprovalType = {}));
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { SealApprovalType } from './seal-approval-type';
|
|
13
|
+
import type { SealDomainInfo } from './seal-domain-info';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SealCalculateRequiredPermitResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface SealCalculateRequiredPermitResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
24
|
+
*/
|
|
25
|
+
'ordersCount'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
30
|
+
*/
|
|
31
|
+
'ordersRemaining'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SealApprovalType}
|
|
35
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
36
|
+
*/
|
|
37
|
+
'approvalType'?: SealApprovalType;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {SealDomainInfo}
|
|
41
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
42
|
+
*/
|
|
43
|
+
'domainInfo'?: SealDomainInfo;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
48
|
+
*/
|
|
49
|
+
'spender'?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
54
|
+
*/
|
|
55
|
+
'allowance'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
60
|
+
*/
|
|
61
|
+
'nonce'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
66
|
+
*/
|
|
67
|
+
'sigDeadline'?: number;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
72
|
+
*/
|
|
73
|
+
'allowanceExpiration'?: number;
|
|
74
|
+
}
|
|
@@ -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 });
|
|
@@ -11,6 +11,7 @@
|
|
|
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
16
|
import type { SealOrderConfig } from './seal-order-config';
|
|
16
17
|
/**
|
|
@@ -43,4 +44,10 @@ export interface SealConfig {
|
|
|
43
44
|
* @memberof SealConfig
|
|
44
45
|
*/
|
|
45
46
|
'ethereum'?: SealChainConfig;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {SealDomainSeparatorConfig}
|
|
50
|
+
* @memberof SealConfig
|
|
51
|
+
*/
|
|
52
|
+
'domain'?: SealDomainSeparatorConfig;
|
|
46
53
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 SealDeleteTokenPermitApprovalRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealDeleteTokenPermitApprovalRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
22
|
+
*/
|
|
23
|
+
'chainId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
28
|
+
*/
|
|
29
|
+
'owner': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
34
|
+
*/
|
|
35
|
+
'spender': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
40
|
+
*/
|
|
41
|
+
'token': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
46
|
+
*/
|
|
47
|
+
'creationSignature': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
52
|
+
*/
|
|
53
|
+
'deletionDeadline': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealDeleteTokenPermitApprovalRequest
|
|
58
|
+
*/
|
|
59
|
+
'signature': string;
|
|
60
|
+
}
|
|
@@ -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,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealDomainInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface SealDomainInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealDomainInfo
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealDomainInfo
|
|
28
|
+
*/
|
|
29
|
+
'version'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealDomainInfo
|
|
34
|
+
*/
|
|
35
|
+
'verifyingContract'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealDomainInfo
|
|
40
|
+
*/
|
|
41
|
+
'chainId'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -17,6 +17,5 @@
|
|
|
17
17
|
export declare enum TypesTokenPermitApprovalsOrderByProperty {
|
|
18
18
|
TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
|
|
19
19
|
TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
|
|
20
|
-
TokenPermitApprovalsOrderByPropertySigDeadline = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE",
|
|
21
20
|
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
|
|
22
21
|
}
|
|
@@ -23,6 +23,5 @@ var TypesTokenPermitApprovalsOrderByProperty;
|
|
|
23
23
|
(function (TypesTokenPermitApprovalsOrderByProperty) {
|
|
24
24
|
TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
|
|
25
25
|
TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
|
|
26
|
-
TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertySigDeadline"] = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE";
|
|
27
26
|
TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
|
|
28
27
|
})(TypesTokenPermitApprovalsOrderByProperty || (exports.TypesTokenPermitApprovalsOrderByProperty = TypesTokenPermitApprovalsOrderByProperty = {}));
|
package/package.json
CHANGED