@seal-protocol/backendjs 0.0.46 → 0.0.49
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 +76 -2
- package/lib/api/seal-client.js +87 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +2 -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 +67 -0
- package/lib/model/seal-calculate-required-permit-response.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,6 +12,7 @@
|
|
|
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';
|
|
@@ -33,6 +34,17 @@ import type { SealIssueGreenlightResponse } from '../model';
|
|
|
33
34
|
* @export
|
|
34
35
|
*/
|
|
35
36
|
export declare const SealClientAxiosParamCreator: (configuration?: Configuration) => {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @param {string} chainId
|
|
40
|
+
* @param {string} owner hex representation of owner address
|
|
41
|
+
* @param {string} token hex representation of token address
|
|
42
|
+
* @param {string} orderAmount
|
|
43
|
+
* @param {number} [orderExpiration] unix seconds
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
calculateRequiredPermit: (chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @param {SealCancelOrderRequest} body
|
|
@@ -201,6 +213,17 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
201
213
|
* @export
|
|
202
214
|
*/
|
|
203
215
|
export declare const SealClientFp: (configuration?: Configuration) => {
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @param {string} chainId
|
|
219
|
+
* @param {string} owner hex representation of owner address
|
|
220
|
+
* @param {string} token hex representation of token address
|
|
221
|
+
* @param {string} orderAmount
|
|
222
|
+
* @param {number} [orderExpiration] unix seconds
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
calculateRequiredPermit(chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
204
227
|
/**
|
|
205
228
|
*
|
|
206
229
|
* @param {SealCancelOrderRequest} body
|
|
@@ -369,6 +392,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
369
392
|
* @export
|
|
370
393
|
*/
|
|
371
394
|
export declare const SealClientFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
398
|
+
* @param {*} [options] Override http request option.
|
|
399
|
+
* @throws {RequiredError}
|
|
400
|
+
*/
|
|
401
|
+
calculateRequiredPermit(requestParameters: SealClientCalculateRequiredPermitRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCalculateRequiredPermitResponse>;
|
|
372
402
|
/**
|
|
373
403
|
*
|
|
374
404
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -472,6 +502,43 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
472
502
|
*/
|
|
473
503
|
syncState(options?: RawAxiosRequestConfig): AxiosPromise<SealGetSyncStateResponse>;
|
|
474
504
|
};
|
|
505
|
+
/**
|
|
506
|
+
* Request parameters for calculateRequiredPermit operation in SealClient.
|
|
507
|
+
* @export
|
|
508
|
+
* @interface SealClientCalculateRequiredPermitRequest
|
|
509
|
+
*/
|
|
510
|
+
export interface SealClientCalculateRequiredPermitRequest {
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
515
|
+
*/
|
|
516
|
+
readonly chainId: string;
|
|
517
|
+
/**
|
|
518
|
+
* hex representation of owner address
|
|
519
|
+
* @type {string}
|
|
520
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
521
|
+
*/
|
|
522
|
+
readonly owner: string;
|
|
523
|
+
/**
|
|
524
|
+
* hex representation of token address
|
|
525
|
+
* @type {string}
|
|
526
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
527
|
+
*/
|
|
528
|
+
readonly token: string;
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @type {string}
|
|
532
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
533
|
+
*/
|
|
534
|
+
readonly orderAmount: string;
|
|
535
|
+
/**
|
|
536
|
+
* unix seconds
|
|
537
|
+
* @type {number}
|
|
538
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
539
|
+
*/
|
|
540
|
+
readonly orderExpiration?: number;
|
|
541
|
+
}
|
|
475
542
|
/**
|
|
476
543
|
* Request parameters for cancelOrder operation in SealClient.
|
|
477
544
|
* @export
|
|
@@ -885,7 +952,7 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
885
952
|
readonly token?: string;
|
|
886
953
|
/**
|
|
887
954
|
*
|
|
888
|
-
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | '
|
|
955
|
+
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
|
|
889
956
|
* @memberof SealClientGetTokenPermitApprovals
|
|
890
957
|
*/
|
|
891
958
|
readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
@@ -995,6 +1062,14 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
995
1062
|
* @extends {BaseAPI}
|
|
996
1063
|
*/
|
|
997
1064
|
export declare class SealClient extends BaseAPI {
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1068
|
+
* @param {*} [options] Override http request option.
|
|
1069
|
+
* @throws {RequiredError}
|
|
1070
|
+
* @memberof SealClient
|
|
1071
|
+
*/
|
|
1072
|
+
calculateRequiredPermit(requestParameters: SealClientCalculateRequiredPermitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCalculateRequiredPermitResponse, any>>;
|
|
998
1073
|
/**
|
|
999
1074
|
*
|
|
1000
1075
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -1168,7 +1243,6 @@ export declare enum GetPairsOrderByPropertyEnum {
|
|
|
1168
1243
|
export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
|
|
1169
1244
|
TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
|
|
1170
1245
|
TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
|
|
1171
|
-
TokenPermitApprovalsOrderByPropertySigDeadline = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE",
|
|
1172
1246
|
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
|
|
1173
1247
|
}
|
|
1174
1248
|
/**
|
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
|
|
@@ -696,6 +748,22 @@ exports.SealClientAxiosParamCreator = SealClientAxiosParamCreator;
|
|
|
696
748
|
const SealClientFp = function (configuration) {
|
|
697
749
|
const localVarAxiosParamCreator = (0, exports.SealClientAxiosParamCreator)(configuration);
|
|
698
750
|
return {
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @param {string} chainId
|
|
754
|
+
* @param {string} owner hex representation of owner address
|
|
755
|
+
* @param {string} token hex representation of token address
|
|
756
|
+
* @param {string} orderAmount
|
|
757
|
+
* @param {number} [orderExpiration] unix seconds
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
async calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options) {
|
|
762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options);
|
|
763
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
764
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.calculateRequiredPermit']?.[localVarOperationServerIndex]?.url;
|
|
765
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
766
|
+
},
|
|
699
767
|
/**
|
|
700
768
|
*
|
|
701
769
|
* @param {SealCancelOrderRequest} body
|
|
@@ -943,6 +1011,15 @@ exports.SealClientFp = SealClientFp;
|
|
|
943
1011
|
const SealClientFactory = function (configuration, basePath, axios) {
|
|
944
1012
|
const localVarFp = (0, exports.SealClientFp)(configuration);
|
|
945
1013
|
return {
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1017
|
+
* @param {*} [options] Override http request option.
|
|
1018
|
+
* @throws {RequiredError}
|
|
1019
|
+
*/
|
|
1020
|
+
calculateRequiredPermit(requestParameters, options) {
|
|
1021
|
+
return localVarFp.calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(axios, basePath));
|
|
1022
|
+
},
|
|
946
1023
|
/**
|
|
947
1024
|
*
|
|
948
1025
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -1085,6 +1162,16 @@ exports.SealClientFactory = SealClientFactory;
|
|
|
1085
1162
|
* @extends {BaseAPI}
|
|
1086
1163
|
*/
|
|
1087
1164
|
class SealClient extends base_1.BaseAPI {
|
|
1165
|
+
/**
|
|
1166
|
+
*
|
|
1167
|
+
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
* @memberof SealClient
|
|
1171
|
+
*/
|
|
1172
|
+
calculateRequiredPermit(requestParameters, options) {
|
|
1173
|
+
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));
|
|
1174
|
+
}
|
|
1088
1175
|
/**
|
|
1089
1176
|
*
|
|
1090
1177
|
* @param {SealClientCancelOrderRequest} requestParameters Request parameters.
|
|
@@ -1294,7 +1381,6 @@ var GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
|
1294
1381
|
(function (GetTokenPermitApprovalsOrderByPropertyEnum) {
|
|
1295
1382
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
|
|
1296
1383
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
|
|
1297
|
-
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertySigDeadline"] = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE";
|
|
1298
1384
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
|
|
1299
1385
|
})(GetTokenPermitApprovalsOrderByPropertyEnum || (exports.GetTokenPermitApprovalsOrderByPropertyEnum = GetTokenPermitApprovalsOrderByPropertyEnum = {}));
|
|
1300
1386
|
/**
|
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';
|
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);
|
|
@@ -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,67 @@
|
|
|
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
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealCalculateRequiredPermitResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealCalculateRequiredPermitResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
23
|
+
*/
|
|
24
|
+
'ordersCount'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
29
|
+
*/
|
|
30
|
+
'ordersRemaining'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SealApprovalType}
|
|
34
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
35
|
+
*/
|
|
36
|
+
'approvalType'?: SealApprovalType;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
41
|
+
*/
|
|
42
|
+
'spender'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
47
|
+
*/
|
|
48
|
+
'allowance'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
53
|
+
*/
|
|
54
|
+
'nonce'?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
59
|
+
*/
|
|
60
|
+
'sigDeadline'?: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof SealCalculateRequiredPermitResponse
|
|
65
|
+
*/
|
|
66
|
+
'allowanceExpiration'?: number;
|
|
67
|
+
}
|
|
@@ -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