@seal-protocol/backendjs 0.0.27 → 0.0.29
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 +211 -3
- package/lib/api/seal-client.js +237 -1
- package/lib/model/index.d.ts +9 -0
- package/lib/model/index.js +9 -0
- package/lib/model/seal-chain-sync-state.d.ts +61 -0
- package/lib/model/seal-chain-sync-state.js +15 -0
- package/lib/model/seal-create-order-intent-response.d.ts +2 -3
- package/lib/model/seal-get-order-reservations-response.d.ts +31 -0
- package/lib/model/seal-get-order-reservations-response.js +15 -0
- package/lib/model/seal-get-pair-price-response.d.ts +42 -0
- package/lib/model/seal-get-pair-price-response.js +15 -0
- package/lib/model/seal-get-sync-state-response.d.ts +25 -0
- package/lib/model/seal-get-sync-state-response.js +15 -0
- package/lib/model/seal-order-intent.d.ts +31 -0
- package/lib/model/seal-order-intent.js +15 -0
- package/lib/model/seal-order-reservation.d.ts +115 -0
- package/lib/model/seal-order-reservation.js +15 -0
- package/lib/model/seal-order-reservations-order-by-property.d.ts +27 -0
- package/lib/model/seal-order-reservations-order-by-property.js +33 -0
- package/lib/model/seal-order-reservations-order-by.d.ts +31 -0
- package/lib/model/seal-order-reservations-order-by.js +15 -0
- package/lib/model/seal-order.d.ts +7 -0
- package/lib/model/seal-sync-state.d.ts +55 -0
- package/lib/model/seal-sync-state.js +15 -0
- package/package.json +1 -1
|
@@ -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 { SealTransferPermission } from './seal-transfer-permission';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealOrderIntent
|
|
17
|
+
*/
|
|
18
|
+
export interface SealOrderIntent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealOrderIntent
|
|
23
|
+
*/
|
|
24
|
+
'signature'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SealTransferPermission}
|
|
28
|
+
* @memberof SealOrderIntent
|
|
29
|
+
*/
|
|
30
|
+
'transferPermission'?: SealTransferPermission;
|
|
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,115 @@
|
|
|
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
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealOrderReservation
|
|
17
|
+
*/
|
|
18
|
+
export interface SealOrderReservation {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealOrderReservation
|
|
23
|
+
*/
|
|
24
|
+
'id'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealOrderReservation
|
|
29
|
+
*/
|
|
30
|
+
'chainId'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealOrderReservation
|
|
35
|
+
*/
|
|
36
|
+
'orderIdHash'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SealOrderReservation
|
|
41
|
+
*/
|
|
42
|
+
'reservationId'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SealOrderReservation
|
|
47
|
+
*/
|
|
48
|
+
'totalAmount'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SealOrderReservation
|
|
53
|
+
*/
|
|
54
|
+
'remainingAmount'?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SealOrderReservation
|
|
59
|
+
*/
|
|
60
|
+
'totalDepositAmount'?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SealOrderReservation
|
|
65
|
+
*/
|
|
66
|
+
'remainingDepositAmount'?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SealOrderReservation
|
|
71
|
+
*/
|
|
72
|
+
'createdAtBlockNumber'?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {TypesTimestamp}
|
|
76
|
+
* @memberof SealOrderReservation
|
|
77
|
+
*/
|
|
78
|
+
'createdAtTimestamp'?: TypesTimestamp;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SealOrderReservation
|
|
83
|
+
*/
|
|
84
|
+
'updatedAtBlockNumber'?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {TypesTimestamp}
|
|
88
|
+
* @memberof SealOrderReservation
|
|
89
|
+
*/
|
|
90
|
+
'updatedAtTimestamp'?: TypesTimestamp;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {TypesTimestamp}
|
|
94
|
+
* @memberof SealOrderReservation
|
|
95
|
+
*/
|
|
96
|
+
'expirationTime'?: TypesTimestamp;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof SealOrderReservation
|
|
101
|
+
*/
|
|
102
|
+
'live'?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SealOrderReservation
|
|
107
|
+
*/
|
|
108
|
+
'reserver'?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof SealOrderReservation
|
|
113
|
+
*/
|
|
114
|
+
'salt'?: number;
|
|
115
|
+
}
|
|
@@ -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 SealOrderReservationsOrderByProperty {
|
|
18
|
+
OrderReservationsOrderByPropertyUnspecified = "OrderReservationsOrderByProperty_UNSPECIFIED",
|
|
19
|
+
OrderReservationsOrderByPropertyOrderIdHash = "OrderReservationsOrderByProperty_ORDER_ID_HASH",
|
|
20
|
+
OrderReservationsOrderByPropertyReservationId = "OrderReservationsOrderByProperty_RESERVATION_ID",
|
|
21
|
+
OrderReservationsOrderByPropertyTotalAmount = "OrderReservationsOrderByProperty_TOTAL_AMOUNT",
|
|
22
|
+
OrderReservationsOrderByPropertyRemainingAmount = "OrderReservationsOrderByProperty_REMAINING_AMOUNT",
|
|
23
|
+
OrderReservationsOrderByPropertyTotalDepositAmount = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT",
|
|
24
|
+
OrderReservationsOrderByPropertyRemainingDepositAmount = "OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT",
|
|
25
|
+
OrderReservationsOrderByPropertyChainId = "OrderReservationsOrderByProperty_CHAIN_ID",
|
|
26
|
+
OrderReservationsOrderByPropertyCreatedAtBlockNumber = "OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER"
|
|
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.SealOrderReservationsOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SealOrderReservationsOrderByProperty;
|
|
23
|
+
(function (SealOrderReservationsOrderByProperty) {
|
|
24
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyUnspecified"] = "OrderReservationsOrderByProperty_UNSPECIFIED";
|
|
25
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyOrderIdHash"] = "OrderReservationsOrderByProperty_ORDER_ID_HASH";
|
|
26
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyReservationId"] = "OrderReservationsOrderByProperty_RESERVATION_ID";
|
|
27
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyTotalAmount"] = "OrderReservationsOrderByProperty_TOTAL_AMOUNT";
|
|
28
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyRemainingAmount"] = "OrderReservationsOrderByProperty_REMAINING_AMOUNT";
|
|
29
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyTotalDepositAmount"] = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT";
|
|
30
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyRemainingDepositAmount"] = "OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT";
|
|
31
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyChainId"] = "OrderReservationsOrderByProperty_CHAIN_ID";
|
|
32
|
+
SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyCreatedAtBlockNumber"] = "OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER";
|
|
33
|
+
})(SealOrderReservationsOrderByProperty || (exports.SealOrderReservationsOrderByProperty = SealOrderReservationsOrderByProperty = {}));
|
|
@@ -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 { SealOrderReservationsOrderByProperty } from './seal-order-reservations-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealOrderReservationsOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface SealOrderReservationsOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SealOrderReservationsOrderByProperty}
|
|
22
|
+
* @memberof SealOrderReservationsOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: SealOrderReservationsOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SealOrderReservationsOrderBy
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SealOrderIntent } from './seal-order-intent';
|
|
12
13
|
import type { TypesTimestamp } from './types-timestamp';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -172,4 +173,10 @@ export interface SealOrder {
|
|
|
172
173
|
* @memberof SealOrder
|
|
173
174
|
*/
|
|
174
175
|
'creationTime'?: TypesTimestamp;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {SealOrderIntent}
|
|
179
|
+
* @memberof SealOrder
|
|
180
|
+
*/
|
|
181
|
+
'orderIntent'?: SealOrderIntent;
|
|
175
182
|
}
|
|
@@ -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 { TypesTimestamp } from './types-timestamp';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealSyncState
|
|
17
|
+
*/
|
|
18
|
+
export interface SealSyncState {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealSyncState
|
|
23
|
+
*/
|
|
24
|
+
'backendBlockHeight'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {TypesTimestamp}
|
|
28
|
+
* @memberof SealSyncState
|
|
29
|
+
*/
|
|
30
|
+
'backendBlockTime'?: TypesTimestamp;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealSyncState
|
|
35
|
+
*/
|
|
36
|
+
'indexerBlockHeight'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {TypesTimestamp}
|
|
40
|
+
* @memberof SealSyncState
|
|
41
|
+
*/
|
|
42
|
+
'indexerBlockTime'?: TypesTimestamp;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SealSyncState
|
|
47
|
+
*/
|
|
48
|
+
'chainBlockHeight'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {TypesTimestamp}
|
|
52
|
+
* @memberof SealSyncState
|
|
53
|
+
*/
|
|
54
|
+
'chainBlockTime'?: TypesTimestamp;
|
|
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 });
|
package/package.json
CHANGED