@seal-protocol/backendjs 0.0.37 → 0.0.42
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 +118 -16
- package/lib/api/seal-client.js +147 -14
- package/lib/model/index.d.ts +10 -7
- package/lib/model/index.js +10 -7
- package/lib/model/seal-chain-config.d.ts +37 -0
- package/lib/model/seal-chain-config.js +15 -0
- package/lib/model/seal-chain-health.d.ts +42 -0
- package/lib/model/seal-chain-health.js +15 -0
- package/lib/model/seal-config.d.ts +5 -5
- package/lib/model/seal-contract-config.d.ts +31 -0
- package/lib/model/seal-contract-config.js +15 -0
- package/lib/model/seal-create-order-request.d.ts +114 -0
- package/lib/model/seal-create-order-request.js +15 -0
- package/lib/model/seal-create-order-response.d.ts +24 -0
- package/lib/model/seal-create-order-response.js +15 -0
- package/lib/model/seal-create-token-permit-approval-request.d.ts +79 -0
- package/lib/model/seal-create-token-permit-approval-request.js +15 -0
- package/lib/model/seal-domain-separator-config.d.ts +30 -0
- package/lib/model/seal-domain-separator-config.js +15 -0
- package/lib/model/seal-get-health-check-response.d.ts +7 -0
- package/lib/model/seal-get-permit-approvals-response.d.ts +31 -0
- package/lib/model/seal-get-permit-approvals-response.js +15 -0
- package/lib/model/seal-get-token-permit-approvals-response.d.ts +31 -0
- package/lib/model/seal-get-token-permit-approvals-response.js +15 -0
- package/lib/model/seal-order.d.ts +17 -5
- package/lib/model/seal-token-permit-approval.d.ts +80 -0
- package/lib/model/seal-token-permit-approval.js +15 -0
- package/lib/model/types-transfer-permit-type.d.ts +21 -0
- package/lib/model/types-transfer-permit-type.js +27 -0
- package/package.json +1 -1
|
@@ -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,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SealChainConfig } from './seal-chain-config';
|
|
12
13
|
import type { SealDatabaseConfig } from './seal-database-config';
|
|
13
14
|
import type { SealLoggerConfig } from './seal-logger-config';
|
|
14
15
|
import type { SealOrderConfig } from './seal-order-config';
|
|
15
|
-
import type { SealSignatureVerificationConfig } from './seal-signature-verification-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 {SealOrderConfig}
|
|
37
37
|
* @memberof SealConfig
|
|
38
38
|
*/
|
|
39
|
-
'
|
|
39
|
+
'order'?: SealOrderConfig;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {SealChainConfig}
|
|
43
43
|
* @memberof SealConfig
|
|
44
44
|
*/
|
|
45
|
-
'
|
|
45
|
+
'ethereum'?: SealChainConfig;
|
|
46
46
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealDomainSeparatorConfig } from './seal-domain-separator-config';
|
|
13
|
+
/**
|
|
14
|
+
* ContractConfig represents the configuration for a smart contract.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealContractConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface SealContractConfig {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealContractConfig
|
|
23
|
+
*/
|
|
24
|
+
'address'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SealDomainSeparatorConfig}
|
|
28
|
+
* @memberof SealContractConfig
|
|
29
|
+
*/
|
|
30
|
+
'domainSeparator'?: SealDomainSeparatorConfig;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,114 @@
|
|
|
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 SealCreateOrderRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealCreateOrderRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealCreateOrderRequest
|
|
22
|
+
*/
|
|
23
|
+
'owner': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealCreateOrderRequest
|
|
28
|
+
*/
|
|
29
|
+
'chainId': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealCreateOrderRequest
|
|
34
|
+
*/
|
|
35
|
+
'tokenIn': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealCreateOrderRequest
|
|
40
|
+
*/
|
|
41
|
+
'amountIn': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealCreateOrderRequest
|
|
46
|
+
*/
|
|
47
|
+
'tokenOut': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SealCreateOrderRequest
|
|
52
|
+
*/
|
|
53
|
+
'price': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealCreateOrderRequest
|
|
58
|
+
*/
|
|
59
|
+
'depositAmount': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SealCreateOrderRequest
|
|
64
|
+
*/
|
|
65
|
+
'depositToken': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof SealCreateOrderRequest
|
|
70
|
+
*/
|
|
71
|
+
'reservationPeriodSeconds': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SealCreateOrderRequest
|
|
76
|
+
*/
|
|
77
|
+
'minFillRatio': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SealCreateOrderRequest
|
|
82
|
+
*/
|
|
83
|
+
'minReservationDepositAmount': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SealCreateOrderRequest
|
|
88
|
+
*/
|
|
89
|
+
'nonce': string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof SealCreateOrderRequest
|
|
94
|
+
*/
|
|
95
|
+
'deadline': number;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SealCreateOrderRequest
|
|
100
|
+
*/
|
|
101
|
+
'signature': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof SealCreateOrderRequest
|
|
106
|
+
*/
|
|
107
|
+
'reservationAllowed': boolean;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof SealCreateOrderRequest
|
|
112
|
+
*/
|
|
113
|
+
'makerFee': string;
|
|
114
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 SealCreateOrderResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SealCreateOrderResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealCreateOrderResponse
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
}
|
|
@@ -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,79 @@
|
|
|
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 { TypesTransferPermitType } from './types-transfer-permit-type';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealCreateTokenPermitApprovalRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SealCreateTokenPermitApprovalRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
23
|
+
*/
|
|
24
|
+
'chainId': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
29
|
+
*/
|
|
30
|
+
'owner': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
35
|
+
*/
|
|
36
|
+
'spender': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
41
|
+
*/
|
|
42
|
+
'token': string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {TypesTransferPermitType}
|
|
46
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
47
|
+
*/
|
|
48
|
+
'type': TypesTransferPermitType;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
53
|
+
*/
|
|
54
|
+
'allowance': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
59
|
+
*/
|
|
60
|
+
'nonce': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
65
|
+
*/
|
|
66
|
+
'sigDeadline': number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
71
|
+
*/
|
|
72
|
+
'allowanceExpiration'?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SealCreateTokenPermitApprovalRequest
|
|
77
|
+
*/
|
|
78
|
+
'signature': string;
|
|
79
|
+
}
|
|
@@ -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,30 @@
|
|
|
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
|
+
* DomainSeparatorConfig represents the EIP-712 domain separator configuration.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealDomainSeparatorConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface SealDomainSeparatorConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealDomainSeparatorConfig
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealDomainSeparatorConfig
|
|
28
|
+
*/
|
|
29
|
+
'version'?: string;
|
|
30
|
+
}
|
|
@@ -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,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SealChainHealth } from './seal-chain-health';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
16
|
* @interface SealGetHealthCheckResponse
|
|
16
17
|
*/
|
|
17
18
|
export interface SealGetHealthCheckResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealChainHealth>}
|
|
22
|
+
* @memberof SealGetHealthCheckResponse
|
|
23
|
+
*/
|
|
24
|
+
'chainHealth'?: Array<SealChainHealth>;
|
|
18
25
|
/**
|
|
19
26
|
*
|
|
20
27
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealTokenPermitApproval } from './seal-token-permit-approval';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetPermitApprovalsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetPermitApprovalsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealTokenPermitApproval>}
|
|
22
|
+
* @memberof SealGetPermitApprovalsResponse
|
|
23
|
+
*/
|
|
24
|
+
'permits'?: Array<SealTokenPermitApproval>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetPermitApprovalsResponse
|
|
29
|
+
*/
|
|
30
|
+
'paginationNextKey'?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SealTokenPermitApproval } from './seal-token-permit-approval';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetTokenPermitApprovalsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetTokenPermitApprovalsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealTokenPermitApproval>}
|
|
22
|
+
* @memberof SealGetTokenPermitApprovalsResponse
|
|
23
|
+
*/
|
|
24
|
+
'approvals'?: Array<SealTokenPermitApproval>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetTokenPermitApprovalsResponse
|
|
29
|
+
*/
|
|
30
|
+
'paginationNextKey'?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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 { SealTokenPermitApproval } from './seal-token-permit-approval';
|
|
13
13
|
import type { TypesTimestamp } from './types-timestamp';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -175,14 +175,26 @@ export interface SealOrder {
|
|
|
175
175
|
'creationTime'?: TypesTimestamp;
|
|
176
176
|
/**
|
|
177
177
|
*
|
|
178
|
-
* @type {
|
|
178
|
+
* @type {boolean}
|
|
179
179
|
* @memberof SealOrder
|
|
180
180
|
*/
|
|
181
|
-
'
|
|
181
|
+
'onChain'?: boolean;
|
|
182
182
|
/**
|
|
183
183
|
*
|
|
184
|
-
* @type {
|
|
184
|
+
* @type {string}
|
|
185
185
|
* @memberof SealOrder
|
|
186
186
|
*/
|
|
187
|
-
'
|
|
187
|
+
'signature'?: string;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {SealTokenPermitApproval}
|
|
191
|
+
* @memberof SealOrder
|
|
192
|
+
*/
|
|
193
|
+
'permit'?: SealTokenPermitApproval;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {SealTokenPermitApproval}
|
|
197
|
+
* @memberof SealOrder
|
|
198
|
+
*/
|
|
199
|
+
'permit2'?: SealTokenPermitApproval;
|
|
188
200
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { TypesTimestamp } from './types-timestamp';
|
|
13
|
+
import type { TypesTransferPermitType } from './types-transfer-permit-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SealTokenPermitApproval
|
|
18
|
+
*/
|
|
19
|
+
export interface SealTokenPermitApproval {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SealTokenPermitApproval
|
|
24
|
+
*/
|
|
25
|
+
'owner'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SealTokenPermitApproval
|
|
30
|
+
*/
|
|
31
|
+
'spender'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SealTokenPermitApproval
|
|
36
|
+
*/
|
|
37
|
+
'token'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {TypesTransferPermitType}
|
|
41
|
+
* @memberof SealTokenPermitApproval
|
|
42
|
+
*/
|
|
43
|
+
'type'?: TypesTransferPermitType;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SealTokenPermitApproval
|
|
48
|
+
*/
|
|
49
|
+
'allowance'?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SealTokenPermitApproval
|
|
54
|
+
*/
|
|
55
|
+
'nonce'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {TypesTimestamp}
|
|
59
|
+
* @memberof SealTokenPermitApproval
|
|
60
|
+
*/
|
|
61
|
+
'sigDeadline'?: TypesTimestamp;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {TypesTimestamp}
|
|
65
|
+
* @memberof SealTokenPermitApproval
|
|
66
|
+
*/
|
|
67
|
+
'allowanceExpiration'?: TypesTimestamp;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SealTokenPermitApproval
|
|
72
|
+
*/
|
|
73
|
+
'signature'?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {TypesTimestamp}
|
|
77
|
+
* @memberof SealTokenPermitApproval
|
|
78
|
+
*/
|
|
79
|
+
'createdAt'?: TypesTimestamp;
|
|
80
|
+
}
|
|
@@ -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,21 @@
|
|
|
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 TypesTransferPermitType {
|
|
18
|
+
Unspecified = "UNSPECIFIED",
|
|
19
|
+
Eip2612 = "EIP2612",
|
|
20
|
+
Permit2 = "PERMIT2"
|
|
21
|
+
}
|