@seal-protocol/backendjs 0.0.7 → 0.0.12
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 +273 -0
- package/lib/api/seal-client.js +352 -0
- package/lib/api.d.ts +1 -432
- package/lib/api.js +14 -222
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/model/index.d.ts +17 -0
- package/lib/model/index.js +33 -0
- package/lib/model/protobuf-any.d.ts +25 -0
- package/lib/model/protobuf-any.js +15 -0
- package/lib/model/rpc-status.d.ts +37 -0
- package/lib/model/rpc-status.js +15 -0
- package/lib/model/seal-config.d.ts +39 -0
- package/lib/model/seal-config.js +15 -0
- package/lib/model/seal-create-order-intent-request.d.ts +85 -0
- package/lib/model/seal-create-order-intent-request.js +15 -0
- package/lib/model/seal-database-config.d.ts +42 -0
- package/lib/model/seal-database-config.js +15 -0
- package/lib/model/seal-eip712-domain-config.d.ts +42 -0
- package/lib/model/seal-eip712-domain-config.js +15 -0
- package/lib/model/seal-get-config-response.d.ts +37 -0
- package/lib/model/seal-get-config-response.js +15 -0
- package/lib/model/seal-get-health-check-response.d.ts +24 -0
- package/lib/model/seal-get-health-check-response.js +15 -0
- package/lib/model/seal-get-orders-response.d.ts +31 -0
- package/lib/model/seal-get-orders-response.js +15 -0
- package/lib/model/seal-logger-config.d.ts +66 -0
- package/lib/model/seal-logger-config.js +15 -0
- package/lib/model/seal-order.d.ts +66 -0
- package/lib/model/seal-order.js +15 -0
- package/lib/model/seal-orders-order-by-property.d.ts +27 -0
- package/lib/model/seal-orders-order-by-property.js +33 -0
- package/lib/model/seal-orders-order-by.d.ts +31 -0
- package/lib/model/seal-orders-order-by.js +15 -0
- package/lib/model/seal-pagination.d.ts +36 -0
- package/lib/model/seal-pagination.js +15 -0
- package/lib/model/seal-signature-verification-config.d.ts +25 -0
- package/lib/model/seal-signature-verification-config.js +15 -0
- package/lib/model/seal-transfer-permission.d.ts +61 -0
- package/lib/model/seal-transfer-permission.js +15 -0
- package/lib/model/types-transfer-permission-type.d.ts +22 -0
- package/lib/model/types-transfer-permission-type.js +28 -0
- package/package.json +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
* TODO add other fields for status, and ...
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealOrder
|
|
16
|
+
*/
|
|
17
|
+
export interface SealOrder {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealOrder
|
|
22
|
+
*/
|
|
23
|
+
'owner'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealOrder
|
|
28
|
+
*/
|
|
29
|
+
'tokenIn'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealOrder
|
|
34
|
+
*/
|
|
35
|
+
'amountIn'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealOrder
|
|
40
|
+
*/
|
|
41
|
+
'tokenOut'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealOrder
|
|
46
|
+
*/
|
|
47
|
+
'price'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof SealOrder
|
|
52
|
+
*/
|
|
53
|
+
'partiallyFillable'?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealOrder
|
|
58
|
+
*/
|
|
59
|
+
'nonce'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SealOrder
|
|
64
|
+
*/
|
|
65
|
+
'deadline'?: number;
|
|
66
|
+
}
|
|
@@ -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,27 @@
|
|
|
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 SealOrdersOrderByProperty {
|
|
18
|
+
Invalid = "INVALID",
|
|
19
|
+
Owner = "OWNER",
|
|
20
|
+
TokenIn = "TOKEN_IN",
|
|
21
|
+
TokenOut = "TOKEN_OUT",
|
|
22
|
+
AmountIn = "AMOUNT_IN",
|
|
23
|
+
Price = "PRICE",
|
|
24
|
+
PartiallyFillable = "PARTIALLY_FILLABLE",
|
|
25
|
+
Deadline = "DEADLINE",
|
|
26
|
+
ChainId = "CHAIN_ID"
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.SealOrdersOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealOrdersOrderByProperty;
|
|
23
|
+
(function (SealOrdersOrderByProperty) {
|
|
24
|
+
SealOrdersOrderByProperty["Invalid"] = "INVALID";
|
|
25
|
+
SealOrdersOrderByProperty["Owner"] = "OWNER";
|
|
26
|
+
SealOrdersOrderByProperty["TokenIn"] = "TOKEN_IN";
|
|
27
|
+
SealOrdersOrderByProperty["TokenOut"] = "TOKEN_OUT";
|
|
28
|
+
SealOrdersOrderByProperty["AmountIn"] = "AMOUNT_IN";
|
|
29
|
+
SealOrdersOrderByProperty["Price"] = "PRICE";
|
|
30
|
+
SealOrdersOrderByProperty["PartiallyFillable"] = "PARTIALLY_FILLABLE";
|
|
31
|
+
SealOrdersOrderByProperty["Deadline"] = "DEADLINE";
|
|
32
|
+
SealOrdersOrderByProperty["ChainId"] = "CHAIN_ID";
|
|
33
|
+
})(SealOrdersOrderByProperty || (exports.SealOrdersOrderByProperty = SealOrdersOrderByProperty = {}));
|
|
@@ -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 { SealOrdersOrderByProperty } from './seal-orders-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealOrdersOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface SealOrdersOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealOrdersOrderByProperty}
|
|
22
|
+
* @memberof SealOrdersOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: SealOrdersOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SealOrdersOrderBy
|
|
29
|
+
*/
|
|
30
|
+
'descending'?: boolean;
|
|
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,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 SealPagination
|
|
16
|
+
*/
|
|
17
|
+
export interface SealPagination {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealPagination
|
|
22
|
+
*/
|
|
23
|
+
'key'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SealPagination
|
|
28
|
+
*/
|
|
29
|
+
'limit'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SealPagination
|
|
34
|
+
*/
|
|
35
|
+
'countTotal'?: boolean;
|
|
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,25 @@
|
|
|
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 { SealEIP712DomainConfig } from './seal-eip712-domain-config';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealSignatureVerificationConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface SealSignatureVerificationConfig {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealEIP712DomainConfig}
|
|
22
|
+
* @memberof SealSignatureVerificationConfig
|
|
23
|
+
*/
|
|
24
|
+
'eip712Domain'?: SealEIP712DomainConfig;
|
|
25
|
+
}
|
|
@@ -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,61 @@
|
|
|
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 { TypesTransferPermissionType } from './types-transfer-permission-type';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealTransferPermission
|
|
17
|
+
*/
|
|
18
|
+
export interface SealTransferPermission {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TypesTransferPermissionType}
|
|
22
|
+
* @memberof SealTransferPermission
|
|
23
|
+
*/
|
|
24
|
+
'permitType': TypesTransferPermissionType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealTransferPermission
|
|
29
|
+
*/
|
|
30
|
+
'permitAmount'?: string;
|
|
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;
|
|
61
|
+
}
|
|
@@ -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,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 TypesTransferPermissionType {
|
|
18
|
+
Invalid = "INVALID",
|
|
19
|
+
Normal = "NORMAL",
|
|
20
|
+
Eip2612 = "EIP2612",
|
|
21
|
+
Permit2 = "PERMIT2"
|
|
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.TypesTransferPermissionType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var TypesTransferPermissionType;
|
|
23
|
+
(function (TypesTransferPermissionType) {
|
|
24
|
+
TypesTransferPermissionType["Invalid"] = "INVALID";
|
|
25
|
+
TypesTransferPermissionType["Normal"] = "NORMAL";
|
|
26
|
+
TypesTransferPermissionType["Eip2612"] = "EIP2612";
|
|
27
|
+
TypesTransferPermissionType["Permit2"] = "PERMIT2";
|
|
28
|
+
})(TypesTransferPermissionType || (exports.TypesTransferPermissionType = TypesTransferPermissionType = {}));
|
package/package.json
CHANGED