@seal-protocol/backendjs 0.0.74 → 0.0.76
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 +51 -0
- package/lib/api/seal-client.js +68 -0
- package/lib/model/index.d.ts +5 -0
- package/lib/model/index.js +5 -0
- package/lib/model/seal-chain-config.d.ts +0 -6
- package/lib/model/seal-config.d.ts +4 -2
- package/lib/model/seal-create-execution-message-response.d.ts +36 -0
- package/lib/model/seal-create-execution-message-response.js +15 -0
- package/lib/model/seal-order-settlement-request.d.ts +49 -0
- package/lib/model/seal-order-settlement-request.js +15 -0
- package/lib/model/seal-reservation-request.d.ts +55 -0
- package/lib/model/seal-reservation-request.js +15 -0
- package/lib/model/seal-reservation-settlement-request.d.ts +49 -0
- package/lib/model/seal-reservation-settlement-request.js +15 -0
- package/lib/model/seal-transfer-permission.d.ts +5 -35
- package/package.json +1 -1
package/lib/api/seal-client.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { SealCalculateRequiredPermitResponse } from '../model';
|
|
16
16
|
import type { SealCancelOrderRequest } from '../model';
|
|
17
|
+
import type { SealCreateExecutionMessageResponse } from '../model';
|
|
17
18
|
import type { SealCreateOrderRequest } from '../model';
|
|
18
19
|
import type { SealCreateOrderResponse } from '../model';
|
|
19
20
|
import type { SealCreateTokenPermitApprovalRequest } from '../model';
|
|
@@ -61,6 +62,14 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
61
62
|
* @throws {RequiredError}
|
|
62
63
|
*/
|
|
63
64
|
config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {string} chainId uint256
|
|
68
|
+
* @param {string} executor
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
createExecutionMessage: (chainId: string, executor: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
73
|
/**
|
|
65
74
|
*
|
|
66
75
|
* @param {SealCreateOrderRequest} body
|
|
@@ -272,6 +281,14 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
272
281
|
* @throws {RequiredError}
|
|
273
282
|
*/
|
|
274
283
|
config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetConfigResponse>>;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @param {string} chainId uint256
|
|
287
|
+
* @param {string} executor
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
createExecutionMessage(chainId: string, executor: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCreateExecutionMessageResponse>>;
|
|
275
292
|
/**
|
|
276
293
|
*
|
|
277
294
|
* @param {SealCreateOrderRequest} body
|
|
@@ -479,6 +496,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
479
496
|
* @throws {RequiredError}
|
|
480
497
|
*/
|
|
481
498
|
config(options?: RawAxiosRequestConfig): AxiosPromise<SealGetConfigResponse>;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @param {SealClientCreateExecutionMessageRequest} requestParameters Request parameters.
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @throws {RequiredError}
|
|
504
|
+
*/
|
|
505
|
+
createExecutionMessage(requestParameters: SealClientCreateExecutionMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCreateExecutionMessageResponse>;
|
|
482
506
|
/**
|
|
483
507
|
*
|
|
484
508
|
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
|
@@ -640,6 +664,25 @@ export interface SealClientCancelOrderRequest {
|
|
|
640
664
|
*/
|
|
641
665
|
readonly body: SealCancelOrderRequest;
|
|
642
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* Request parameters for createExecutionMessage operation in SealClient.
|
|
669
|
+
* @export
|
|
670
|
+
* @interface SealClientCreateExecutionMessageRequest
|
|
671
|
+
*/
|
|
672
|
+
export interface SealClientCreateExecutionMessageRequest {
|
|
673
|
+
/**
|
|
674
|
+
* uint256
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof SealClientCreateExecutionMessage
|
|
677
|
+
*/
|
|
678
|
+
readonly chainId: string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof SealClientCreateExecutionMessage
|
|
683
|
+
*/
|
|
684
|
+
readonly executor: string;
|
|
685
|
+
}
|
|
643
686
|
/**
|
|
644
687
|
* Request parameters for createOrder operation in SealClient.
|
|
645
688
|
* @export
|
|
@@ -1278,6 +1321,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1278
1321
|
* @memberof SealClient
|
|
1279
1322
|
*/
|
|
1280
1323
|
config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetConfigResponse, any>>;
|
|
1324
|
+
/**
|
|
1325
|
+
*
|
|
1326
|
+
* @param {SealClientCreateExecutionMessageRequest} requestParameters Request parameters.
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
* @memberof SealClient
|
|
1330
|
+
*/
|
|
1331
|
+
createExecutionMessage(requestParameters: SealClientCreateExecutionMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCreateExecutionMessageResponse, any>>;
|
|
1281
1332
|
/**
|
|
1282
1333
|
*
|
|
1283
1334
|
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
package/lib/api/seal-client.js
CHANGED
|
@@ -134,6 +134,42 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
options: localVarRequestOptions,
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @param {string} chainId uint256
|
|
140
|
+
* @param {string} executor
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
createExecutionMessage: async (chainId, executor, options = {}) => {
|
|
145
|
+
// verify required parameter 'chainId' is not null or undefined
|
|
146
|
+
(0, common_1.assertParamExists)('createExecutionMessage', 'chainId', chainId);
|
|
147
|
+
// verify required parameter 'executor' is not null or undefined
|
|
148
|
+
(0, common_1.assertParamExists)('createExecutionMessage', 'executor', executor);
|
|
149
|
+
const localVarPath = `/seal/create_execution_message`;
|
|
150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
|
+
let baseOptions;
|
|
153
|
+
if (configuration) {
|
|
154
|
+
baseOptions = configuration.baseOptions;
|
|
155
|
+
}
|
|
156
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
157
|
+
const localVarHeaderParameter = {};
|
|
158
|
+
const localVarQueryParameter = {};
|
|
159
|
+
if (chainId !== undefined) {
|
|
160
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
161
|
+
}
|
|
162
|
+
if (executor !== undefined) {
|
|
163
|
+
localVarQueryParameter['executor'] = executor;
|
|
164
|
+
}
|
|
165
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
166
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
168
|
+
return {
|
|
169
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
170
|
+
options: localVarRequestOptions,
|
|
171
|
+
};
|
|
172
|
+
},
|
|
137
173
|
/**
|
|
138
174
|
*
|
|
139
175
|
* @param {SealCreateOrderRequest} body
|
|
@@ -918,6 +954,19 @@ const SealClientFp = function (configuration) {
|
|
|
918
954
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.config']?.[localVarOperationServerIndex]?.url;
|
|
919
955
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
920
956
|
},
|
|
957
|
+
/**
|
|
958
|
+
*
|
|
959
|
+
* @param {string} chainId uint256
|
|
960
|
+
* @param {string} executor
|
|
961
|
+
* @param {*} [options] Override http request option.
|
|
962
|
+
* @throws {RequiredError}
|
|
963
|
+
*/
|
|
964
|
+
async createExecutionMessage(chainId, executor, options) {
|
|
965
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createExecutionMessage(chainId, executor, options);
|
|
966
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
967
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createExecutionMessage']?.[localVarOperationServerIndex]?.url;
|
|
968
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
969
|
+
},
|
|
921
970
|
/**
|
|
922
971
|
*
|
|
923
972
|
* @param {SealCreateOrderRequest} body
|
|
@@ -1215,6 +1264,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1215
1264
|
config(options) {
|
|
1216
1265
|
return localVarFp.config(options).then((request) => request(axios, basePath));
|
|
1217
1266
|
},
|
|
1267
|
+
/**
|
|
1268
|
+
*
|
|
1269
|
+
* @param {SealClientCreateExecutionMessageRequest} requestParameters Request parameters.
|
|
1270
|
+
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @throws {RequiredError}
|
|
1272
|
+
*/
|
|
1273
|
+
createExecutionMessage(requestParameters, options) {
|
|
1274
|
+
return localVarFp.createExecutionMessage(requestParameters.chainId, requestParameters.executor, options).then((request) => request(axios, basePath));
|
|
1275
|
+
},
|
|
1218
1276
|
/**
|
|
1219
1277
|
*
|
|
1220
1278
|
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
|
@@ -1396,6 +1454,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1396
1454
|
config(options) {
|
|
1397
1455
|
return (0, exports.SealClientFp)(this.configuration).config(options).then((request) => request(this.axios, this.basePath));
|
|
1398
1456
|
}
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @param {SealClientCreateExecutionMessageRequest} requestParameters Request parameters.
|
|
1460
|
+
* @param {*} [options] Override http request option.
|
|
1461
|
+
* @throws {RequiredError}
|
|
1462
|
+
* @memberof SealClient
|
|
1463
|
+
*/
|
|
1464
|
+
createExecutionMessage(requestParameters, options) {
|
|
1465
|
+
return (0, exports.SealClientFp)(this.configuration).createExecutionMessage(requestParameters.chainId, requestParameters.executor, options).then((request) => request(this.axios, this.basePath));
|
|
1466
|
+
}
|
|
1399
1467
|
/**
|
|
1400
1468
|
*
|
|
1401
1469
|
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
package/lib/model/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './seal-chains-order-by';
|
|
|
11
11
|
export * from './seal-chains-order-by-property';
|
|
12
12
|
export * from './seal-config';
|
|
13
13
|
export * from './seal-contract-config';
|
|
14
|
+
export * from './seal-create-execution-message-response';
|
|
14
15
|
export * from './seal-create-order-request';
|
|
15
16
|
export * from './seal-create-order-response';
|
|
16
17
|
export * from './seal-create-token-permit-approval-request';
|
|
@@ -41,17 +42,21 @@ export * from './seal-order-activity';
|
|
|
41
42
|
export * from './seal-order-reservation';
|
|
42
43
|
export * from './seal-order-reservations-order-by';
|
|
43
44
|
export * from './seal-order-reservations-order-by-property';
|
|
45
|
+
export * from './seal-order-settlement-request';
|
|
44
46
|
export * from './seal-orders-order-by';
|
|
45
47
|
export * from './seal-orders-order-by-property';
|
|
46
48
|
export * from './seal-pair';
|
|
47
49
|
export * from './seal-pairs-order-by';
|
|
48
50
|
export * from './seal-pairs-order-by-property';
|
|
51
|
+
export * from './seal-reservation-request';
|
|
52
|
+
export * from './seal-reservation-settlement-request';
|
|
49
53
|
export * from './seal-seal-contract-config';
|
|
50
54
|
export * from './seal-seal-contract-params';
|
|
51
55
|
export * from './seal-token';
|
|
52
56
|
export * from './seal-token-permit-approval';
|
|
53
57
|
export * from './seal-tokens-order-by';
|
|
54
58
|
export * from './seal-tokens-order-by-property';
|
|
59
|
+
export * from './seal-transfer-permission';
|
|
55
60
|
export * from './types-bool';
|
|
56
61
|
export * from './types-order-activity-type';
|
|
57
62
|
export * from './types-pagination';
|
package/lib/model/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./seal-chains-order-by"), exports);
|
|
|
27
27
|
__exportStar(require("./seal-chains-order-by-property"), exports);
|
|
28
28
|
__exportStar(require("./seal-config"), exports);
|
|
29
29
|
__exportStar(require("./seal-contract-config"), exports);
|
|
30
|
+
__exportStar(require("./seal-create-execution-message-response"), exports);
|
|
30
31
|
__exportStar(require("./seal-create-order-request"), exports);
|
|
31
32
|
__exportStar(require("./seal-create-order-response"), exports);
|
|
32
33
|
__exportStar(require("./seal-create-token-permit-approval-request"), exports);
|
|
@@ -57,17 +58,21 @@ __exportStar(require("./seal-order-activity"), exports);
|
|
|
57
58
|
__exportStar(require("./seal-order-reservation"), exports);
|
|
58
59
|
__exportStar(require("./seal-order-reservations-order-by"), exports);
|
|
59
60
|
__exportStar(require("./seal-order-reservations-order-by-property"), exports);
|
|
61
|
+
__exportStar(require("./seal-order-settlement-request"), exports);
|
|
60
62
|
__exportStar(require("./seal-orders-order-by"), exports);
|
|
61
63
|
__exportStar(require("./seal-orders-order-by-property"), exports);
|
|
62
64
|
__exportStar(require("./seal-pair"), exports);
|
|
63
65
|
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
64
66
|
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
67
|
+
__exportStar(require("./seal-reservation-request"), exports);
|
|
68
|
+
__exportStar(require("./seal-reservation-settlement-request"), exports);
|
|
65
69
|
__exportStar(require("./seal-seal-contract-config"), exports);
|
|
66
70
|
__exportStar(require("./seal-seal-contract-params"), exports);
|
|
67
71
|
__exportStar(require("./seal-token"), exports);
|
|
68
72
|
__exportStar(require("./seal-token-permit-approval"), exports);
|
|
69
73
|
__exportStar(require("./seal-tokens-order-by"), exports);
|
|
70
74
|
__exportStar(require("./seal-tokens-order-by-property"), exports);
|
|
75
|
+
__exportStar(require("./seal-transfer-permission"), exports);
|
|
71
76
|
__exportStar(require("./types-bool"), exports);
|
|
72
77
|
__exportStar(require("./types-order-activity-type"), exports);
|
|
73
78
|
__exportStar(require("./types-pagination"), exports);
|
|
@@ -17,12 +17,6 @@ import type { SealSealContractConfig } from './seal-seal-contract-config';
|
|
|
17
17
|
* @interface SealChainConfig
|
|
18
18
|
*/
|
|
19
19
|
export interface SealChainConfig {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof SealChainConfig
|
|
24
|
-
*/
|
|
25
|
-
'chainId'?: string;
|
|
26
20
|
/**
|
|
27
21
|
*
|
|
28
22
|
* @type {SealSealContractConfig}
|
|
@@ -33,10 +33,12 @@ export interface SealConfig {
|
|
|
33
33
|
'database'?: SealDatabaseConfig;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {SealChainConfig}
|
|
36
|
+
* @type {{ [key: string]: SealChainConfig; }}
|
|
37
37
|
* @memberof SealConfig
|
|
38
38
|
*/
|
|
39
|
-
'
|
|
39
|
+
'chains'?: {
|
|
40
|
+
[key: string]: SealChainConfig;
|
|
41
|
+
};
|
|
40
42
|
/**
|
|
41
43
|
*
|
|
42
44
|
* @type {SealDomainSeparatorConfig}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SealCreateExecutionMessageResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SealCreateExecutionMessageResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealCreateExecutionMessageResponse
|
|
22
|
+
*/
|
|
23
|
+
'cmds'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealCreateExecutionMessageResponse
|
|
28
|
+
*/
|
|
29
|
+
'greenlight'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealCreateExecutionMessageResponse
|
|
34
|
+
*/
|
|
35
|
+
'greenlightSignature'?: string;
|
|
36
|
+
}
|
|
@@ -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,49 @@
|
|
|
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 { SealTransferPermission } from './seal-transfer-permission';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealOrderSettlementRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SealOrderSettlementRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealOrderSettlementRequest
|
|
23
|
+
*/
|
|
24
|
+
'orderId': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealOrderSettlementRequest
|
|
29
|
+
*/
|
|
30
|
+
'amountIn'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealOrderSettlementRequest
|
|
35
|
+
*/
|
|
36
|
+
'amountOut'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SealTransferPermission}
|
|
40
|
+
* @memberof SealOrderSettlementRequest
|
|
41
|
+
*/
|
|
42
|
+
'orderPermission': SealTransferPermission;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SealTransferPermission}
|
|
46
|
+
* @memberof SealOrderSettlementRequest
|
|
47
|
+
*/
|
|
48
|
+
'settlerPermission': SealTransferPermission;
|
|
49
|
+
}
|
|
@@ -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,55 @@
|
|
|
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 { SealTransferPermission } from './seal-transfer-permission';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealReservationRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SealReservationRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealReservationRequest
|
|
23
|
+
*/
|
|
24
|
+
'orderId': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealReservationRequest
|
|
29
|
+
*/
|
|
30
|
+
'amountIn'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealReservationRequest
|
|
35
|
+
*/
|
|
36
|
+
'amountOut'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof SealReservationRequest
|
|
41
|
+
*/
|
|
42
|
+
'salt'?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SealTransferPermission}
|
|
46
|
+
* @memberof SealReservationRequest
|
|
47
|
+
*/
|
|
48
|
+
'reserverPermission': SealTransferPermission;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {SealTransferPermission}
|
|
52
|
+
* @memberof SealReservationRequest
|
|
53
|
+
*/
|
|
54
|
+
'orderPermission': SealTransferPermission;
|
|
55
|
+
}
|
|
@@ -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,49 @@
|
|
|
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 { SealTransferPermission } from './seal-transfer-permission';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealReservationSettlementRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SealReservationSettlementRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealReservationSettlementRequest
|
|
23
|
+
*/
|
|
24
|
+
'orderId': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealReservationSettlementRequest
|
|
29
|
+
*/
|
|
30
|
+
'reservationIdHash'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealReservationSettlementRequest
|
|
35
|
+
*/
|
|
36
|
+
'amountIn'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SealReservationSettlementRequest
|
|
41
|
+
*/
|
|
42
|
+
'amountOut'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SealTransferPermission}
|
|
46
|
+
* @memberof SealReservationSettlementRequest
|
|
47
|
+
*/
|
|
48
|
+
'reserverPermission': SealTransferPermission;
|
|
49
|
+
}
|
|
@@ -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 });
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TypesTransferPermitType } from './types-transfer-permit-type';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,44 +18,14 @@ import type { TypesTransferPermissionType } from './types-transfer-permission-ty
|
|
|
18
18
|
export interface SealTransferPermission {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {TypesTransferPermitType}
|
|
22
22
|
* @memberof SealTransferPermission
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'type': TypesTransferPermitType;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {boolean}
|
|
28
28
|
* @memberof SealTransferPermission
|
|
29
29
|
*/
|
|
30
|
-
'
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SealTransferPermission
|
|
35
|
-
*/
|
|
36
|
-
'nonce'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof SealTransferPermission
|
|
41
|
-
*/
|
|
42
|
-
'deadline'?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SealTransferPermission
|
|
47
|
-
*/
|
|
48
|
-
'r'?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof SealTransferPermission
|
|
53
|
-
*/
|
|
54
|
-
's'?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof SealTransferPermission
|
|
59
|
-
*/
|
|
60
|
-
'v'?: string;
|
|
30
|
+
'submitPermit': boolean;
|
|
61
31
|
}
|
package/package.json
CHANGED