@seal-protocol/backendjs 0.0.80 → 0.0.97
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 +194 -0
- package/lib/codegen/api/seal-client.js +192 -1
- package/lib/codegen/model/index.d.ts +6 -0
- package/lib/codegen/model/index.js +6 -0
- package/lib/codegen/model/seal-chain-health.d.ts +12 -0
- package/lib/codegen/model/seal-get-health-check-response.d.ts +1 -1
- package/lib/codegen/model/seal-get-rfq-requests-response.d.ts +31 -0
- package/lib/codegen/model/seal-get-rfq-requests-response.js +15 -0
- package/lib/codegen/model/seal-rfq-request.d.ts +73 -0
- package/lib/codegen/model/seal-rfq-request.js +15 -0
- package/lib/codegen/model/seal-submit-rfq-request.d.ts +60 -0
- package/lib/codegen/model/seal-submit-rfq-request.js +15 -0
- package/lib/codegen/model/seal-submit-rfq-response.d.ts +24 -0
- package/lib/codegen/model/seal-submit-rfq-response.js +15 -0
- package/lib/codegen/model/types-rfq-requests-order-by-property.d.ts +23 -0
- package/lib/codegen/model/types-rfq-requests-order-by-property.js +29 -0
- package/lib/codegen/model/types-rfq-requests-order-by.d.ts +31 -0
- package/lib/codegen/model/types-rfq-requests-order-by.js +15 -0
- package/package.json +1 -1
|
@@ -29,11 +29,14 @@ import type { SealGetOrderReservationsResponse } from '../model';
|
|
|
29
29
|
import type { SealGetOrdersResponse } from '../model';
|
|
30
30
|
import type { SealGetPairPriceResponse } from '../model';
|
|
31
31
|
import type { SealGetPairsResponse } from '../model';
|
|
32
|
+
import type { SealGetRfqRequestsResponse } from '../model';
|
|
32
33
|
import type { SealGetSealContractParamsResponse } from '../model';
|
|
33
34
|
import type { SealGetSyncStateResponse } from '../model';
|
|
34
35
|
import type { SealGetTokenPermitApprovalsResponse } from '../model';
|
|
35
36
|
import type { SealGetTokensResponse } from '../model';
|
|
36
37
|
import type { SealIssueGreenlightResponse } from '../model';
|
|
38
|
+
import type { SealSubmitRfqRequest } from '../model';
|
|
39
|
+
import type { SealSubmitRfqResponse } from '../model';
|
|
37
40
|
/**
|
|
38
41
|
* SealClient - axios parameter creator
|
|
39
42
|
* @export
|
|
@@ -197,6 +200,25 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
197
200
|
* @throws {RequiredError}
|
|
198
201
|
*/
|
|
199
202
|
getPairs: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @param {string} [id]
|
|
206
|
+
* @param {string} [chainId]
|
|
207
|
+
* @param {string} [requester]
|
|
208
|
+
* @param {string} [tokenIn]
|
|
209
|
+
* @param {string} [tokenOut]
|
|
210
|
+
* @param {number} [creationTimeAfter]
|
|
211
|
+
* @param {number} [requestDeadlineAfter]
|
|
212
|
+
* @param {number} [buyInDeadlineAfter]
|
|
213
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
214
|
+
* @param {boolean} [orderByDescending]
|
|
215
|
+
* @param {string} [paginationKey]
|
|
216
|
+
* @param {number} [paginationLimit]
|
|
217
|
+
* @param {boolean} [paginationCountTotal]
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
getRfqRequests: (id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, buyInDeadlineAfter?: number, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
200
222
|
/**
|
|
201
223
|
*
|
|
202
224
|
* @param {string} [chainId]
|
|
@@ -246,6 +268,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
246
268
|
* @throws {RequiredError}
|
|
247
269
|
*/
|
|
248
270
|
issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @param {SealSubmitRfqRequest} body
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
submitRfq: (body: SealSubmitRfqRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
249
278
|
/**
|
|
250
279
|
*
|
|
251
280
|
* @param {*} [options] Override http request option.
|
|
@@ -416,6 +445,25 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
416
445
|
* @throws {RequiredError}
|
|
417
446
|
*/
|
|
418
447
|
getPairs(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPairsResponse>>;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @param {string} [id]
|
|
451
|
+
* @param {string} [chainId]
|
|
452
|
+
* @param {string} [requester]
|
|
453
|
+
* @param {string} [tokenIn]
|
|
454
|
+
* @param {string} [tokenOut]
|
|
455
|
+
* @param {number} [creationTimeAfter]
|
|
456
|
+
* @param {number} [requestDeadlineAfter]
|
|
457
|
+
* @param {number} [buyInDeadlineAfter]
|
|
458
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
459
|
+
* @param {boolean} [orderByDescending]
|
|
460
|
+
* @param {string} [paginationKey]
|
|
461
|
+
* @param {number} [paginationLimit]
|
|
462
|
+
* @param {boolean} [paginationCountTotal]
|
|
463
|
+
* @param {*} [options] Override http request option.
|
|
464
|
+
* @throws {RequiredError}
|
|
465
|
+
*/
|
|
466
|
+
getRfqRequests(id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, buyInDeadlineAfter?: number, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
419
467
|
/**
|
|
420
468
|
*
|
|
421
469
|
* @param {string} [chainId]
|
|
@@ -465,6 +513,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
465
513
|
* @throws {RequiredError}
|
|
466
514
|
*/
|
|
467
515
|
issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @param {SealSubmitRfqRequest} body
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
submitRfq(body: SealSubmitRfqRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealSubmitRfqResponse>>;
|
|
468
523
|
/**
|
|
469
524
|
*
|
|
470
525
|
* @param {*} [options] Override http request option.
|
|
@@ -574,6 +629,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
574
629
|
* @throws {RequiredError}
|
|
575
630
|
*/
|
|
576
631
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @throws {RequiredError}
|
|
637
|
+
*/
|
|
638
|
+
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestsResponse>;
|
|
577
639
|
/**
|
|
578
640
|
*
|
|
579
641
|
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
@@ -608,6 +670,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
608
670
|
* @throws {RequiredError}
|
|
609
671
|
*/
|
|
610
672
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
*/
|
|
679
|
+
submitRfq(requestParameters: SealClientSubmitRfqRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealSubmitRfqResponse>;
|
|
611
680
|
/**
|
|
612
681
|
*
|
|
613
682
|
* @param {*} [options] Override http request option.
|
|
@@ -1150,6 +1219,91 @@ export interface SealClientGetPairsRequest {
|
|
|
1150
1219
|
*/
|
|
1151
1220
|
readonly excludeEmpty?: boolean;
|
|
1152
1221
|
}
|
|
1222
|
+
/**
|
|
1223
|
+
* Request parameters for getRfqRequests operation in SealClient.
|
|
1224
|
+
* @export
|
|
1225
|
+
* @interface SealClientGetRfqRequestsRequest
|
|
1226
|
+
*/
|
|
1227
|
+
export interface SealClientGetRfqRequestsRequest {
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {string}
|
|
1231
|
+
* @memberof SealClientGetRfqRequests
|
|
1232
|
+
*/
|
|
1233
|
+
readonly id?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @type {string}
|
|
1237
|
+
* @memberof SealClientGetRfqRequests
|
|
1238
|
+
*/
|
|
1239
|
+
readonly chainId?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
*
|
|
1242
|
+
* @type {string}
|
|
1243
|
+
* @memberof SealClientGetRfqRequests
|
|
1244
|
+
*/
|
|
1245
|
+
readonly requester?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
*
|
|
1248
|
+
* @type {string}
|
|
1249
|
+
* @memberof SealClientGetRfqRequests
|
|
1250
|
+
*/
|
|
1251
|
+
readonly tokenIn?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
*
|
|
1254
|
+
* @type {string}
|
|
1255
|
+
* @memberof SealClientGetRfqRequests
|
|
1256
|
+
*/
|
|
1257
|
+
readonly tokenOut?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @type {number}
|
|
1261
|
+
* @memberof SealClientGetRfqRequests
|
|
1262
|
+
*/
|
|
1263
|
+
readonly creationTimeAfter?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
*
|
|
1266
|
+
* @type {number}
|
|
1267
|
+
* @memberof SealClientGetRfqRequests
|
|
1268
|
+
*/
|
|
1269
|
+
readonly requestDeadlineAfter?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @type {number}
|
|
1273
|
+
* @memberof SealClientGetRfqRequests
|
|
1274
|
+
*/
|
|
1275
|
+
readonly buyInDeadlineAfter?: number;
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {'RfqRequestsOrderByProperty_UNSPECIFIED' | 'RfqRequestsOrderByProperty_ID' | 'RfqRequestsOrderByProperty_CREATION_TIME' | 'RfqRequestsOrderByProperty_REQUEST_DEADLINE' | 'RfqRequestsOrderByProperty_BUY_IN_DEADLINE'}
|
|
1279
|
+
* @memberof SealClientGetRfqRequests
|
|
1280
|
+
*/
|
|
1281
|
+
readonly orderByProperty?: GetRfqRequestsOrderByPropertyEnum;
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @type {boolean}
|
|
1285
|
+
* @memberof SealClientGetRfqRequests
|
|
1286
|
+
*/
|
|
1287
|
+
readonly orderByDescending?: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @type {string}
|
|
1291
|
+
* @memberof SealClientGetRfqRequests
|
|
1292
|
+
*/
|
|
1293
|
+
readonly paginationKey?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
*
|
|
1296
|
+
* @type {number}
|
|
1297
|
+
* @memberof SealClientGetRfqRequests
|
|
1298
|
+
*/
|
|
1299
|
+
readonly paginationLimit?: number;
|
|
1300
|
+
/**
|
|
1301
|
+
*
|
|
1302
|
+
* @type {boolean}
|
|
1303
|
+
* @memberof SealClientGetRfqRequests
|
|
1304
|
+
*/
|
|
1305
|
+
readonly paginationCountTotal?: boolean;
|
|
1306
|
+
}
|
|
1153
1307
|
/**
|
|
1154
1308
|
* Request parameters for getSealContractParams operation in SealClient.
|
|
1155
1309
|
* @export
|
|
@@ -1292,6 +1446,19 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1292
1446
|
*/
|
|
1293
1447
|
readonly requestHash?: string;
|
|
1294
1448
|
}
|
|
1449
|
+
/**
|
|
1450
|
+
* Request parameters for submitRfq operation in SealClient.
|
|
1451
|
+
* @export
|
|
1452
|
+
* @interface SealClientSubmitRfqRequest
|
|
1453
|
+
*/
|
|
1454
|
+
export interface SealClientSubmitRfqRequest {
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {SealSubmitRfqRequest}
|
|
1458
|
+
* @memberof SealClientSubmitRfq
|
|
1459
|
+
*/
|
|
1460
|
+
readonly body: SealSubmitRfqRequest;
|
|
1461
|
+
}
|
|
1295
1462
|
/**
|
|
1296
1463
|
* SealClient - object-oriented interface
|
|
1297
1464
|
* @export
|
|
@@ -1410,6 +1577,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1410
1577
|
* @memberof SealClient
|
|
1411
1578
|
*/
|
|
1412
1579
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any, {}>>;
|
|
1580
|
+
/**
|
|
1581
|
+
*
|
|
1582
|
+
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
1583
|
+
* @param {*} [options] Override http request option.
|
|
1584
|
+
* @throws {RequiredError}
|
|
1585
|
+
* @memberof SealClient
|
|
1586
|
+
*/
|
|
1587
|
+
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestsResponse, any, {}>>;
|
|
1413
1588
|
/**
|
|
1414
1589
|
*
|
|
1415
1590
|
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
@@ -1449,6 +1624,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1449
1624
|
* @memberof SealClient
|
|
1450
1625
|
*/
|
|
1451
1626
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any, {}>>;
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
|
|
1630
|
+
* @param {*} [options] Override http request option.
|
|
1631
|
+
* @throws {RequiredError}
|
|
1632
|
+
* @memberof SealClient
|
|
1633
|
+
*/
|
|
1634
|
+
submitRfq(requestParameters: SealClientSubmitRfqRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealSubmitRfqResponse, any, {}>>;
|
|
1452
1635
|
/**
|
|
1453
1636
|
*
|
|
1454
1637
|
* @param {*} [options] Override http request option.
|
|
@@ -1531,6 +1714,17 @@ export declare enum GetOrdersOrderByPropertyEnum {
|
|
|
1531
1714
|
export declare enum GetPairsOrderByPropertyEnum {
|
|
1532
1715
|
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
|
|
1533
1716
|
}
|
|
1717
|
+
/**
|
|
1718
|
+
* @export
|
|
1719
|
+
* @enum {string}
|
|
1720
|
+
*/
|
|
1721
|
+
export declare enum GetRfqRequestsOrderByPropertyEnum {
|
|
1722
|
+
RfqRequestsOrderByPropertyUnspecified = "RfqRequestsOrderByProperty_UNSPECIFIED",
|
|
1723
|
+
RfqRequestsOrderByPropertyId = "RfqRequestsOrderByProperty_ID",
|
|
1724
|
+
RfqRequestsOrderByPropertyCreationTime = "RfqRequestsOrderByProperty_CREATION_TIME",
|
|
1725
|
+
RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE",
|
|
1726
|
+
RfqRequestsOrderByPropertyBuyInDeadline = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE"
|
|
1727
|
+
}
|
|
1534
1728
|
/**
|
|
1535
1729
|
* @export
|
|
1536
1730
|
* @enum {string}
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.GetTokensOrderByPropertyEnum = exports.GetTokenPermitApprovalsOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetOrderActivitiesTypeEnum = exports.GetOrderActivitiesOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetTokensOrderByPropertyEnum = exports.GetTokenPermitApprovalsOrderByPropertyEnum = exports.GetRfqRequestsOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetOrderActivitiesTypeEnum = exports.GetOrderActivitiesOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -680,6 +680,82 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
680
680
|
options: localVarRequestOptions,
|
|
681
681
|
};
|
|
682
682
|
},
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @param {string} [id]
|
|
686
|
+
* @param {string} [chainId]
|
|
687
|
+
* @param {string} [requester]
|
|
688
|
+
* @param {string} [tokenIn]
|
|
689
|
+
* @param {string} [tokenOut]
|
|
690
|
+
* @param {number} [creationTimeAfter]
|
|
691
|
+
* @param {number} [requestDeadlineAfter]
|
|
692
|
+
* @param {number} [buyInDeadlineAfter]
|
|
693
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
694
|
+
* @param {boolean} [orderByDescending]
|
|
695
|
+
* @param {string} [paginationKey]
|
|
696
|
+
* @param {number} [paginationLimit]
|
|
697
|
+
* @param {boolean} [paginationCountTotal]
|
|
698
|
+
* @param {*} [options] Override http request option.
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
*/
|
|
701
|
+
getRfqRequests: async (id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
702
|
+
const localVarPath = `/seal/rfq/requests`;
|
|
703
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
704
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
705
|
+
let baseOptions;
|
|
706
|
+
if (configuration) {
|
|
707
|
+
baseOptions = configuration.baseOptions;
|
|
708
|
+
}
|
|
709
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
710
|
+
const localVarHeaderParameter = {};
|
|
711
|
+
const localVarQueryParameter = {};
|
|
712
|
+
if (id !== undefined) {
|
|
713
|
+
localVarQueryParameter['id'] = id;
|
|
714
|
+
}
|
|
715
|
+
if (chainId !== undefined) {
|
|
716
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
717
|
+
}
|
|
718
|
+
if (requester !== undefined) {
|
|
719
|
+
localVarQueryParameter['requester'] = requester;
|
|
720
|
+
}
|
|
721
|
+
if (tokenIn !== undefined) {
|
|
722
|
+
localVarQueryParameter['tokenIn'] = tokenIn;
|
|
723
|
+
}
|
|
724
|
+
if (tokenOut !== undefined) {
|
|
725
|
+
localVarQueryParameter['tokenOut'] = tokenOut;
|
|
726
|
+
}
|
|
727
|
+
if (creationTimeAfter !== undefined) {
|
|
728
|
+
localVarQueryParameter['creationTimeAfter'] = creationTimeAfter;
|
|
729
|
+
}
|
|
730
|
+
if (requestDeadlineAfter !== undefined) {
|
|
731
|
+
localVarQueryParameter['requestDeadlineAfter'] = requestDeadlineAfter;
|
|
732
|
+
}
|
|
733
|
+
if (buyInDeadlineAfter !== undefined) {
|
|
734
|
+
localVarQueryParameter['buyInDeadlineAfter'] = buyInDeadlineAfter;
|
|
735
|
+
}
|
|
736
|
+
if (orderByProperty !== undefined) {
|
|
737
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
738
|
+
}
|
|
739
|
+
if (orderByDescending !== undefined) {
|
|
740
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
741
|
+
}
|
|
742
|
+
if (paginationKey !== undefined) {
|
|
743
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
744
|
+
}
|
|
745
|
+
if (paginationLimit !== undefined) {
|
|
746
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
747
|
+
}
|
|
748
|
+
if (paginationCountTotal !== undefined) {
|
|
749
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
750
|
+
}
|
|
751
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
754
|
+
return {
|
|
755
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
756
|
+
options: localVarRequestOptions,
|
|
757
|
+
};
|
|
758
|
+
},
|
|
683
759
|
/**
|
|
684
760
|
*
|
|
685
761
|
* @param {string} [chainId]
|
|
@@ -878,6 +954,35 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
878
954
|
options: localVarRequestOptions,
|
|
879
955
|
};
|
|
880
956
|
},
|
|
957
|
+
/**
|
|
958
|
+
*
|
|
959
|
+
* @param {SealSubmitRfqRequest} body
|
|
960
|
+
* @param {*} [options] Override http request option.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
*/
|
|
963
|
+
submitRfq: async (body, options = {}) => {
|
|
964
|
+
// verify required parameter 'body' is not null or undefined
|
|
965
|
+
(0, common_1.assertParamExists)('submitRfq', 'body', body);
|
|
966
|
+
const localVarPath = `/seal/rfq/submit`;
|
|
967
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
968
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
969
|
+
let baseOptions;
|
|
970
|
+
if (configuration) {
|
|
971
|
+
baseOptions = configuration.baseOptions;
|
|
972
|
+
}
|
|
973
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
974
|
+
const localVarHeaderParameter = {};
|
|
975
|
+
const localVarQueryParameter = {};
|
|
976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
977
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
979
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
980
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
981
|
+
return {
|
|
982
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
983
|
+
options: localVarRequestOptions,
|
|
984
|
+
};
|
|
985
|
+
},
|
|
881
986
|
/**
|
|
882
987
|
*
|
|
883
988
|
* @param {*} [options] Override http request option.
|
|
@@ -1140,6 +1245,30 @@ const SealClientFp = function (configuration) {
|
|
|
1140
1245
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
1141
1246
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1142
1247
|
},
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @param {string} [id]
|
|
1251
|
+
* @param {string} [chainId]
|
|
1252
|
+
* @param {string} [requester]
|
|
1253
|
+
* @param {string} [tokenIn]
|
|
1254
|
+
* @param {string} [tokenOut]
|
|
1255
|
+
* @param {number} [creationTimeAfter]
|
|
1256
|
+
* @param {number} [requestDeadlineAfter]
|
|
1257
|
+
* @param {number} [buyInDeadlineAfter]
|
|
1258
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
1259
|
+
* @param {boolean} [orderByDescending]
|
|
1260
|
+
* @param {string} [paginationKey]
|
|
1261
|
+
* @param {number} [paginationLimit]
|
|
1262
|
+
* @param {boolean} [paginationCountTotal]
|
|
1263
|
+
* @param {*} [options] Override http request option.
|
|
1264
|
+
* @throws {RequiredError}
|
|
1265
|
+
*/
|
|
1266
|
+
async getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1268
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1269
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
|
|
1270
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1271
|
+
},
|
|
1143
1272
|
/**
|
|
1144
1273
|
*
|
|
1145
1274
|
* @param {string} [chainId]
|
|
@@ -1214,6 +1343,18 @@ const SealClientFp = function (configuration) {
|
|
|
1214
1343
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
|
|
1215
1344
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1216
1345
|
},
|
|
1346
|
+
/**
|
|
1347
|
+
*
|
|
1348
|
+
* @param {SealSubmitRfqRequest} body
|
|
1349
|
+
* @param {*} [options] Override http request option.
|
|
1350
|
+
* @throws {RequiredError}
|
|
1351
|
+
*/
|
|
1352
|
+
async submitRfq(body, options) {
|
|
1353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitRfq(body, options);
|
|
1354
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1355
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.submitRfq']?.[localVarOperationServerIndex]?.url;
|
|
1356
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1357
|
+
},
|
|
1217
1358
|
/**
|
|
1218
1359
|
*
|
|
1219
1360
|
* @param {*} [options] Override http request option.
|
|
@@ -1360,6 +1501,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1360
1501
|
getPairs(requestParameters = {}, options) {
|
|
1361
1502
|
return localVarFp.getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(axios, basePath));
|
|
1362
1503
|
},
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
getRfqRequests(requestParameters = {}, options) {
|
|
1511
|
+
return localVarFp.getRfqRequests(requestParameters.id, requestParameters.chainId, requestParameters.requester, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.creationTimeAfter, requestParameters.requestDeadlineAfter, requestParameters.buyInDeadlineAfter, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
1512
|
+
},
|
|
1363
1513
|
/**
|
|
1364
1514
|
*
|
|
1365
1515
|
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
@@ -1404,6 +1554,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1404
1554
|
issueGreenlight(requestParameters = {}, options) {
|
|
1405
1555
|
return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
|
|
1406
1556
|
},
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
|
|
1560
|
+
* @param {*} [options] Override http request option.
|
|
1561
|
+
* @throws {RequiredError}
|
|
1562
|
+
*/
|
|
1563
|
+
submitRfq(requestParameters, options) {
|
|
1564
|
+
return localVarFp.submitRfq(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1565
|
+
},
|
|
1407
1566
|
/**
|
|
1408
1567
|
*
|
|
1409
1568
|
* @param {*} [options] Override http request option.
|
|
@@ -1561,6 +1720,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1561
1720
|
getPairs(requestParameters = {}, options) {
|
|
1562
1721
|
return (0, exports.SealClientFp)(this.configuration).getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(this.axios, this.basePath));
|
|
1563
1722
|
}
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
1726
|
+
* @param {*} [options] Override http request option.
|
|
1727
|
+
* @throws {RequiredError}
|
|
1728
|
+
* @memberof SealClient
|
|
1729
|
+
*/
|
|
1730
|
+
getRfqRequests(requestParameters = {}, options) {
|
|
1731
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqRequests(requestParameters.id, requestParameters.chainId, requestParameters.requester, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.creationTimeAfter, requestParameters.requestDeadlineAfter, requestParameters.buyInDeadlineAfter, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
1732
|
+
}
|
|
1564
1733
|
/**
|
|
1565
1734
|
*
|
|
1566
1735
|
* @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
|
|
@@ -1610,6 +1779,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1610
1779
|
issueGreenlight(requestParameters = {}, options) {
|
|
1611
1780
|
return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
|
|
1612
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
|
|
1785
|
+
* @param {*} [options] Override http request option.
|
|
1786
|
+
* @throws {RequiredError}
|
|
1787
|
+
* @memberof SealClient
|
|
1788
|
+
*/
|
|
1789
|
+
submitRfq(requestParameters, options) {
|
|
1790
|
+
return (0, exports.SealClientFp)(this.configuration).submitRfq(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1791
|
+
}
|
|
1613
1792
|
/**
|
|
1614
1793
|
*
|
|
1615
1794
|
* @param {*} [options] Override http request option.
|
|
@@ -1701,6 +1880,18 @@ var GetPairsOrderByPropertyEnum;
|
|
|
1701
1880
|
(function (GetPairsOrderByPropertyEnum) {
|
|
1702
1881
|
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
1703
1882
|
})(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
|
|
1883
|
+
/**
|
|
1884
|
+
* @export
|
|
1885
|
+
* @enum {string}
|
|
1886
|
+
*/
|
|
1887
|
+
var GetRfqRequestsOrderByPropertyEnum;
|
|
1888
|
+
(function (GetRfqRequestsOrderByPropertyEnum) {
|
|
1889
|
+
GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyUnspecified"] = "RfqRequestsOrderByProperty_UNSPECIFIED";
|
|
1890
|
+
GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyId"] = "RfqRequestsOrderByProperty_ID";
|
|
1891
|
+
GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyCreationTime"] = "RfqRequestsOrderByProperty_CREATION_TIME";
|
|
1892
|
+
GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyRequestDeadline"] = "RfqRequestsOrderByProperty_REQUEST_DEADLINE";
|
|
1893
|
+
GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyBuyInDeadline"] = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE";
|
|
1894
|
+
})(GetRfqRequestsOrderByPropertyEnum || (exports.GetRfqRequestsOrderByPropertyEnum = GetRfqRequestsOrderByPropertyEnum = {}));
|
|
1704
1895
|
/**
|
|
1705
1896
|
* @export
|
|
1706
1897
|
* @enum {string}
|
|
@@ -29,6 +29,7 @@ export * from './seal-get-order-reservations-response';
|
|
|
29
29
|
export * from './seal-get-orders-response';
|
|
30
30
|
export * from './seal-get-pair-price-response';
|
|
31
31
|
export * from './seal-get-pairs-response';
|
|
32
|
+
export * from './seal-get-rfq-requests-response';
|
|
32
33
|
export * from './seal-get-seal-contract-params-response';
|
|
33
34
|
export * from './seal-get-sync-state-response';
|
|
34
35
|
export * from './seal-get-token-permit-approvals-response';
|
|
@@ -51,8 +52,11 @@ export * from './seal-pairs-order-by';
|
|
|
51
52
|
export * from './seal-pairs-order-by-property';
|
|
52
53
|
export * from './seal-reservation-request';
|
|
53
54
|
export * from './seal-reservation-settlement-request';
|
|
55
|
+
export * from './seal-rfq-request';
|
|
54
56
|
export * from './seal-seal-contract-config';
|
|
55
57
|
export * from './seal-seal-contract-params';
|
|
58
|
+
export * from './seal-submit-rfq-request';
|
|
59
|
+
export * from './seal-submit-rfq-response';
|
|
56
60
|
export * from './seal-token';
|
|
57
61
|
export * from './seal-token-permit-approval';
|
|
58
62
|
export * from './seal-tokens-order-by';
|
|
@@ -61,6 +65,8 @@ export * from './seal-transfer-permission';
|
|
|
61
65
|
export * from './types-bool';
|
|
62
66
|
export * from './types-order-activity-type';
|
|
63
67
|
export * from './types-pagination';
|
|
68
|
+
export * from './types-rfq-requests-order-by';
|
|
69
|
+
export * from './types-rfq-requests-order-by-property';
|
|
64
70
|
export * from './types-timestamp';
|
|
65
71
|
export * from './types-token-permit-approvals-order-by';
|
|
66
72
|
export * from './types-token-permit-approvals-order-by-property';
|
|
@@ -45,6 +45,7 @@ __exportStar(require("./seal-get-order-reservations-response"), exports);
|
|
|
45
45
|
__exportStar(require("./seal-get-orders-response"), exports);
|
|
46
46
|
__exportStar(require("./seal-get-pair-price-response"), exports);
|
|
47
47
|
__exportStar(require("./seal-get-pairs-response"), exports);
|
|
48
|
+
__exportStar(require("./seal-get-rfq-requests-response"), exports);
|
|
48
49
|
__exportStar(require("./seal-get-seal-contract-params-response"), exports);
|
|
49
50
|
__exportStar(require("./seal-get-sync-state-response"), exports);
|
|
50
51
|
__exportStar(require("./seal-get-token-permit-approvals-response"), exports);
|
|
@@ -67,8 +68,11 @@ __exportStar(require("./seal-pairs-order-by"), exports);
|
|
|
67
68
|
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
68
69
|
__exportStar(require("./seal-reservation-request"), exports);
|
|
69
70
|
__exportStar(require("./seal-reservation-settlement-request"), exports);
|
|
71
|
+
__exportStar(require("./seal-rfq-request"), exports);
|
|
70
72
|
__exportStar(require("./seal-seal-contract-config"), exports);
|
|
71
73
|
__exportStar(require("./seal-seal-contract-params"), exports);
|
|
74
|
+
__exportStar(require("./seal-submit-rfq-request"), exports);
|
|
75
|
+
__exportStar(require("./seal-submit-rfq-response"), exports);
|
|
72
76
|
__exportStar(require("./seal-token"), exports);
|
|
73
77
|
__exportStar(require("./seal-token-permit-approval"), exports);
|
|
74
78
|
__exportStar(require("./seal-tokens-order-by"), exports);
|
|
@@ -77,6 +81,8 @@ __exportStar(require("./seal-transfer-permission"), exports);
|
|
|
77
81
|
__exportStar(require("./types-bool"), exports);
|
|
78
82
|
__exportStar(require("./types-order-activity-type"), exports);
|
|
79
83
|
__exportStar(require("./types-pagination"), exports);
|
|
84
|
+
__exportStar(require("./types-rfq-requests-order-by"), exports);
|
|
85
|
+
__exportStar(require("./types-rfq-requests-order-by-property"), exports);
|
|
80
86
|
__exportStar(require("./types-timestamp"), exports);
|
|
81
87
|
__exportStar(require("./types-token-permit-approvals-order-by"), exports);
|
|
82
88
|
__exportStar(require("./types-token-permit-approvals-order-by-property"), exports);
|
|
@@ -39,4 +39,16 @@ export interface SealChainHealth {
|
|
|
39
39
|
* @memberof SealChainHealth
|
|
40
40
|
*/
|
|
41
41
|
'estimatedSyncDurationDuration'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealChainHealth
|
|
46
|
+
*/
|
|
47
|
+
'name'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SealChainHealth
|
|
52
|
+
*/
|
|
53
|
+
'id'?: string;
|
|
42
54
|
}
|
|
@@ -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 { SealRfqRequest } from './seal-rfq-request';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SealGetRfqRequestsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SealGetRfqRequestsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SealRfqRequest>}
|
|
22
|
+
* @memberof SealGetRfqRequestsResponse
|
|
23
|
+
*/
|
|
24
|
+
'requests'?: Array<SealRfqRequest>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealGetRfqRequestsResponse
|
|
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,73 @@
|
|
|
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 SealRfqRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SealRfqRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SealRfqRequest
|
|
23
|
+
*/
|
|
24
|
+
'id'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SealRfqRequest
|
|
29
|
+
*/
|
|
30
|
+
'chainId'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SealRfqRequest
|
|
35
|
+
*/
|
|
36
|
+
'requester'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SealRfqRequest
|
|
41
|
+
*/
|
|
42
|
+
'tokenIn'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SealRfqRequest
|
|
47
|
+
*/
|
|
48
|
+
'amountIn'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SealRfqRequest
|
|
53
|
+
*/
|
|
54
|
+
'tokenOut'?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {TypesTimestamp}
|
|
58
|
+
* @memberof SealRfqRequest
|
|
59
|
+
*/
|
|
60
|
+
'creationTime'?: TypesTimestamp;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {TypesTimestamp}
|
|
64
|
+
* @memberof SealRfqRequest
|
|
65
|
+
*/
|
|
66
|
+
'requestDeadline'?: TypesTimestamp;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {TypesTimestamp}
|
|
70
|
+
* @memberof SealRfqRequest
|
|
71
|
+
*/
|
|
72
|
+
'buyInDeadline'?: TypesTimestamp;
|
|
73
|
+
}
|
|
@@ -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,60 @@
|
|
|
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 SealSubmitRfqRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealSubmitRfqRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealSubmitRfqRequest
|
|
22
|
+
*/
|
|
23
|
+
'chainId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealSubmitRfqRequest
|
|
28
|
+
*/
|
|
29
|
+
'requester': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealSubmitRfqRequest
|
|
34
|
+
*/
|
|
35
|
+
'tokenIn': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SealSubmitRfqRequest
|
|
40
|
+
*/
|
|
41
|
+
'amountIn': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SealSubmitRfqRequest
|
|
46
|
+
*/
|
|
47
|
+
'tokenOut': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SealSubmitRfqRequest
|
|
52
|
+
*/
|
|
53
|
+
'requestDeadline': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SealSubmitRfqRequest
|
|
58
|
+
*/
|
|
59
|
+
'buyInDeadline'?: number;
|
|
60
|
+
}
|
|
@@ -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 SealSubmitRfqResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SealSubmitRfqResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealSubmitRfqResponse
|
|
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,23 @@
|
|
|
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 TypesRfqRequestsOrderByProperty {
|
|
18
|
+
RfqRequestsOrderByPropertyUnspecified = "RfqRequestsOrderByProperty_UNSPECIFIED",
|
|
19
|
+
RfqRequestsOrderByPropertyId = "RfqRequestsOrderByProperty_ID",
|
|
20
|
+
RfqRequestsOrderByPropertyCreationTime = "RfqRequestsOrderByProperty_CREATION_TIME",
|
|
21
|
+
RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE",
|
|
22
|
+
RfqRequestsOrderByPropertyBuyInDeadline = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE"
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.TypesRfqRequestsOrderByProperty = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var TypesRfqRequestsOrderByProperty;
|
|
23
|
+
(function (TypesRfqRequestsOrderByProperty) {
|
|
24
|
+
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyUnspecified"] = "RfqRequestsOrderByProperty_UNSPECIFIED";
|
|
25
|
+
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyId"] = "RfqRequestsOrderByProperty_ID";
|
|
26
|
+
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyCreationTime"] = "RfqRequestsOrderByProperty_CREATION_TIME";
|
|
27
|
+
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyRequestDeadline"] = "RfqRequestsOrderByProperty_REQUEST_DEADLINE";
|
|
28
|
+
TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyBuyInDeadline"] = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE";
|
|
29
|
+
})(TypesRfqRequestsOrderByProperty || (exports.TypesRfqRequestsOrderByProperty = TypesRfqRequestsOrderByProperty = {}));
|
|
@@ -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 { TypesRfqRequestsOrderByProperty } from './types-rfq-requests-order-by-property';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TypesRfqRequestsOrderBy
|
|
17
|
+
*/
|
|
18
|
+
export interface TypesRfqRequestsOrderBy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TypesRfqRequestsOrderByProperty}
|
|
22
|
+
* @memberof TypesRfqRequestsOrderBy
|
|
23
|
+
*/
|
|
24
|
+
'property'?: TypesRfqRequestsOrderByProperty;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof TypesRfqRequestsOrderBy
|
|
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 });
|
package/package.json
CHANGED