@seal-protocol/backendjs 0.0.98 → 0.0.103
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/codegen/api/seal-client.d.ts +172 -118
- package/lib/codegen/api/seal-client.js +161 -128
- package/lib/codegen/model/index.d.ts +4 -4
- package/lib/codegen/model/index.js +4 -4
- package/lib/codegen/model/seal-create-rfq-request-request.d.ts +54 -0
- package/lib/codegen/model/seal-create-rfq-request-request.js +15 -0
- package/lib/codegen/model/seal-create-rfq-request-response.d.ts +24 -0
- package/lib/codegen/model/seal-create-rfq-request-response.js +15 -0
- package/lib/codegen/model/seal-order-reservation.d.ts +6 -0
- package/lib/codegen/model/seal-rfq-quote.d.ts +19 -7
- package/lib/codegen/model/seal-rfq-request.d.ts +10 -4
- package/lib/codegen/model/seal-seal-contract-params.d.ts +12 -0
- package/lib/codegen/model/seal-submit-quote-response.d.ts +1 -1
- package/lib/codegen/model/seal-submit-rfq-quote-request.d.ts +84 -0
- package/lib/codegen/model/seal-submit-rfq-quote-request.js +15 -0
- package/lib/codegen/model/seal-submit-rfq-quote-response.d.ts +24 -0
- package/lib/codegen/model/seal-submit-rfq-quote-response.js +15 -0
- package/lib/codegen/model/seal-submit-rfq-request.d.ts +0 -6
- package/lib/codegen/model/types-rfq-quote-order-by-property.d.ts +0 -1
- package/lib/codegen/model/types-rfq-quote-order-by-property.js +0 -1
- package/lib/codegen/model/types-rfq-requests-order-by-property.d.ts +1 -2
- package/lib/codegen/model/types-rfq-requests-order-by-property.js +0 -1
- 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 });
|
|
@@ -17,6 +17,12 @@ import type { TypesTimestamp } from './types-timestamp';
|
|
|
17
17
|
* @interface SealRfqQuote
|
|
18
18
|
*/
|
|
19
19
|
export interface SealRfqQuote {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SealRfqQuote
|
|
24
|
+
*/
|
|
25
|
+
'id'?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {string}
|
|
@@ -59,6 +65,12 @@ export interface SealRfqQuote {
|
|
|
59
65
|
* @memberof SealRfqQuote
|
|
60
66
|
*/
|
|
61
67
|
'minFillRatio'?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SealRfqQuote
|
|
72
|
+
*/
|
|
73
|
+
'nonce'?: string;
|
|
62
74
|
/**
|
|
63
75
|
*
|
|
64
76
|
* @type {TypesTimestamp}
|
|
@@ -67,16 +79,16 @@ export interface SealRfqQuote {
|
|
|
67
79
|
'settlementTime'?: TypesTimestamp;
|
|
68
80
|
/**
|
|
69
81
|
*
|
|
70
|
-
* @type {
|
|
82
|
+
* @type {TypesTimestamp}
|
|
71
83
|
* @memberof SealRfqQuote
|
|
72
84
|
*/
|
|
73
|
-
'
|
|
85
|
+
'deadline'?: TypesTimestamp;
|
|
74
86
|
/**
|
|
75
87
|
*
|
|
76
88
|
* @type {TypesTimestamp}
|
|
77
89
|
* @memberof SealRfqQuote
|
|
78
90
|
*/
|
|
79
|
-
'
|
|
91
|
+
'submissionTime'?: TypesTimestamp;
|
|
80
92
|
/**
|
|
81
93
|
*
|
|
82
94
|
* @type {string}
|
|
@@ -85,14 +97,14 @@ export interface SealRfqQuote {
|
|
|
85
97
|
'signature'?: string;
|
|
86
98
|
/**
|
|
87
99
|
*
|
|
88
|
-
* @type {
|
|
100
|
+
* @type {SealRfqRequest}
|
|
89
101
|
* @memberof SealRfqQuote
|
|
90
102
|
*/
|
|
91
|
-
'
|
|
103
|
+
'request'?: SealRfqRequest;
|
|
92
104
|
/**
|
|
93
105
|
*
|
|
94
|
-
* @type {
|
|
106
|
+
* @type {boolean}
|
|
95
107
|
* @memberof SealRfqQuote
|
|
96
108
|
*/
|
|
97
|
-
'
|
|
109
|
+
'onChain'?: boolean;
|
|
98
110
|
}
|
|
@@ -54,20 +54,26 @@ export interface SealRfqRequest {
|
|
|
54
54
|
'tokenOut'?: string;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
|
-
* @type {
|
|
57
|
+
* @type {string}
|
|
58
58
|
* @memberof SealRfqRequest
|
|
59
59
|
*/
|
|
60
|
-
'
|
|
60
|
+
'depositToken'?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SealRfqRequest
|
|
65
|
+
*/
|
|
66
|
+
'minDepositAmount'?: string;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {TypesTimestamp}
|
|
64
70
|
* @memberof SealRfqRequest
|
|
65
71
|
*/
|
|
66
|
-
'
|
|
72
|
+
'creationTime'?: TypesTimestamp;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {TypesTimestamp}
|
|
70
76
|
* @memberof SealRfqRequest
|
|
71
77
|
*/
|
|
72
|
-
'
|
|
78
|
+
'requestDeadline'?: TypesTimestamp;
|
|
73
79
|
}
|
|
@@ -21,6 +21,18 @@ export interface SealSealContractParams {
|
|
|
21
21
|
* @memberof SealSealContractParams
|
|
22
22
|
*/
|
|
23
23
|
'makerFee'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealSealContractParams
|
|
28
|
+
*/
|
|
29
|
+
'takerFee'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealSealContractParams
|
|
34
|
+
*/
|
|
35
|
+
'reserverFee'?: string;
|
|
24
36
|
/**
|
|
25
37
|
*
|
|
26
38
|
* @type {string}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 SealSubmitRfqQuoteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealSubmitRfqQuoteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
22
|
+
*/
|
|
23
|
+
'requestId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
28
|
+
*/
|
|
29
|
+
'offerer': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
34
|
+
*/
|
|
35
|
+
'amountIn': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
40
|
+
*/
|
|
41
|
+
'amountOut': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
46
|
+
*/
|
|
47
|
+
'depositToken': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
52
|
+
*/
|
|
53
|
+
'depositAmount': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
58
|
+
*/
|
|
59
|
+
'minFillRatio': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
64
|
+
*/
|
|
65
|
+
'settlementTime': number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
70
|
+
*/
|
|
71
|
+
'nonce': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
76
|
+
*/
|
|
77
|
+
'deadline': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SealSubmitRfqQuoteRequest
|
|
82
|
+
*/
|
|
83
|
+
'signature': string;
|
|
84
|
+
}
|
|
@@ -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 SealSubmitRfqQuoteResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SealSubmitRfqQuoteResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealSubmitRfqQuoteResponse
|
|
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 });
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
export declare enum TypesRfqQuoteOrderByProperty {
|
|
18
18
|
RfqQuoteOrderByPropertyUnspecified = "RfqQuoteOrderByProperty_UNSPECIFIED",
|
|
19
19
|
RfqQuoteOrderByPropertyId = "RfqQuoteOrderByProperty_ID",
|
|
20
|
-
RfqQuoteOrderByPropertySubmissionTime = "RfqQuoteOrderByProperty_SUBMISSION_TIME",
|
|
21
20
|
RfqQuoteOrderByPropertySettlementTime = "RfqQuoteOrderByProperty_SETTLEMENT_TIME",
|
|
22
21
|
RfqQuoteOrderByPropertyDeadline = "RfqQuoteOrderByProperty_DEADLINE"
|
|
23
22
|
}
|
|
@@ -23,7 +23,6 @@ var TypesRfqQuoteOrderByProperty;
|
|
|
23
23
|
(function (TypesRfqQuoteOrderByProperty) {
|
|
24
24
|
TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyUnspecified"] = "RfqQuoteOrderByProperty_UNSPECIFIED";
|
|
25
25
|
TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyId"] = "RfqQuoteOrderByProperty_ID";
|
|
26
|
-
TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySubmissionTime"] = "RfqQuoteOrderByProperty_SUBMISSION_TIME";
|
|
27
26
|
TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySettlementTime"] = "RfqQuoteOrderByProperty_SETTLEMENT_TIME";
|
|
28
27
|
TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyDeadline"] = "RfqQuoteOrderByProperty_DEADLINE";
|
|
29
28
|
})(TypesRfqQuoteOrderByProperty || (exports.TypesRfqQuoteOrderByProperty = TypesRfqQuoteOrderByProperty = {}));
|
|
@@ -18,6 +18,5 @@ export declare enum TypesRfqRequestsOrderByProperty {
|
|
|
18
18
|
RfqRequestsOrderByPropertyUnspecified = "RfqRequestsOrderByProperty_UNSPECIFIED",
|
|
19
19
|
RfqRequestsOrderByPropertyId = "RfqRequestsOrderByProperty_ID",
|
|
20
20
|
RfqRequestsOrderByPropertyCreationTime = "RfqRequestsOrderByProperty_CREATION_TIME",
|
|
21
|
-
RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE"
|
|
22
|
-
RfqRequestsOrderByPropertyBuyInDeadline = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE"
|
|
21
|
+
RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE"
|
|
23
22
|
}
|
|
@@ -25,5 +25,4 @@ var TypesRfqRequestsOrderByProperty;
|
|
|
25
25
|
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyId"] = "RfqRequestsOrderByProperty_ID";
|
|
26
26
|
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyCreationTime"] = "RfqRequestsOrderByProperty_CREATION_TIME";
|
|
27
27
|
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyRequestDeadline"] = "RfqRequestsOrderByProperty_REQUEST_DEADLINE";
|
|
28
|
-
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyBuyInDeadline"] = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE";
|
|
29
28
|
})(TypesRfqRequestsOrderByProperty || (exports.TypesRfqRequestsOrderByProperty = TypesRfqRequestsOrderByProperty = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seal-protocol/backendjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.103",
|
|
4
4
|
"description": "Javascript SDK for Seal Backend",
|
|
5
5
|
"author": "amin <amin@refractedlabs.com>",
|
|
6
6
|
"homepage": "https://github.com/seal-protocol/backend/tree/main/ts-client#readme",
|