@seal-protocol/backendjs 0.0.97 → 0.0.98

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.
@@ -29,12 +29,16 @@ 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 { SealGetRfqNonceResponse } from '../model';
33
+ import type { SealGetRfqQuotesResponse } from '../model';
32
34
  import type { SealGetRfqRequestsResponse } from '../model';
33
35
  import type { SealGetSealContractParamsResponse } from '../model';
34
36
  import type { SealGetSyncStateResponse } from '../model';
35
37
  import type { SealGetTokenPermitApprovalsResponse } from '../model';
36
38
  import type { SealGetTokensResponse } from '../model';
37
39
  import type { SealIssueGreenlightResponse } from '../model';
40
+ import type { SealSubmitQuoteRequest } from '../model';
41
+ import type { SealSubmitQuoteResponse } from '../model';
38
42
  import type { SealSubmitRfqRequest } from '../model';
39
43
  import type { SealSubmitRfqResponse } from '../model';
40
44
  /**
@@ -200,6 +204,29 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
200
204
  * @throws {RequiredError}
201
205
  */
202
206
  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>;
207
+ /**
208
+ *
209
+ * @param {string} owner
210
+ * @param {string} chainId
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ getRfqNonce: (owner: string, chainId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
215
+ /**
216
+ *
217
+ * @param {string} chainId
218
+ * @param {string} [quoteHash]
219
+ * @param {string} [requestId]
220
+ * @param {string} [offerer]
221
+ * @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
222
+ * @param {boolean} [orderByDescending]
223
+ * @param {string} [paginationKey]
224
+ * @param {number} [paginationLimit]
225
+ * @param {boolean} [paginationCountTotal]
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ getRfqQuotes: (chainId: string, quoteHash?: string, requestId?: string, offerer?: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
203
230
  /**
204
231
  *
205
232
  * @param {string} [id]
@@ -268,6 +295,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
268
295
  * @throws {RequiredError}
269
296
  */
270
297
  issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
298
+ /**
299
+ *
300
+ * @param {SealSubmitQuoteRequest} body
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ submitQuote: (body: SealSubmitQuoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
271
305
  /**
272
306
  *
273
307
  * @param {SealSubmitRfqRequest} body
@@ -445,6 +479,29 @@ export declare const SealClientFp: (configuration?: Configuration) => {
445
479
  * @throws {RequiredError}
446
480
  */
447
481
  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>>;
482
+ /**
483
+ *
484
+ * @param {string} owner
485
+ * @param {string} chainId
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ */
489
+ getRfqNonce(owner: string, chainId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
490
+ /**
491
+ *
492
+ * @param {string} chainId
493
+ * @param {string} [quoteHash]
494
+ * @param {string} [requestId]
495
+ * @param {string} [offerer]
496
+ * @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
497
+ * @param {boolean} [orderByDescending]
498
+ * @param {string} [paginationKey]
499
+ * @param {number} [paginationLimit]
500
+ * @param {boolean} [paginationCountTotal]
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ getRfqQuotes(chainId: string, quoteHash?: string, requestId?: string, offerer?: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqQuotesResponse>>;
448
505
  /**
449
506
  *
450
507
  * @param {string} [id]
@@ -513,6 +570,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
513
570
  * @throws {RequiredError}
514
571
  */
515
572
  issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
573
+ /**
574
+ *
575
+ * @param {SealSubmitQuoteRequest} body
576
+ * @param {*} [options] Override http request option.
577
+ * @throws {RequiredError}
578
+ */
579
+ submitQuote(body: SealSubmitQuoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealSubmitQuoteResponse>>;
516
580
  /**
517
581
  *
518
582
  * @param {SealSubmitRfqRequest} body
@@ -629,6 +693,20 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
629
693
  * @throws {RequiredError}
630
694
  */
631
695
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
696
+ /**
697
+ *
698
+ * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ getRfqNonce(requestParameters: SealClientGetRfqNonceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqNonceResponse>;
703
+ /**
704
+ *
705
+ * @param {SealClientGetRfqQuotesRequest} requestParameters Request parameters.
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqQuotesResponse>;
632
710
  /**
633
711
  *
634
712
  * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
@@ -670,6 +748,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
670
748
  * @throws {RequiredError}
671
749
  */
672
750
  issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
751
+ /**
752
+ *
753
+ * @param {SealClientSubmitQuoteRequest} requestParameters Request parameters.
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ submitQuote(requestParameters: SealClientSubmitQuoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealSubmitQuoteResponse>;
673
758
  /**
674
759
  *
675
760
  * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
@@ -1219,6 +1304,86 @@ export interface SealClientGetPairsRequest {
1219
1304
  */
1220
1305
  readonly excludeEmpty?: boolean;
1221
1306
  }
1307
+ /**
1308
+ * Request parameters for getRfqNonce operation in SealClient.
1309
+ * @export
1310
+ * @interface SealClientGetRfqNonceRequest
1311
+ */
1312
+ export interface SealClientGetRfqNonceRequest {
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof SealClientGetRfqNonce
1317
+ */
1318
+ readonly owner: string;
1319
+ /**
1320
+ *
1321
+ * @type {string}
1322
+ * @memberof SealClientGetRfqNonce
1323
+ */
1324
+ readonly chainId: string;
1325
+ }
1326
+ /**
1327
+ * Request parameters for getRfqQuotes operation in SealClient.
1328
+ * @export
1329
+ * @interface SealClientGetRfqQuotesRequest
1330
+ */
1331
+ export interface SealClientGetRfqQuotesRequest {
1332
+ /**
1333
+ *
1334
+ * @type {string}
1335
+ * @memberof SealClientGetRfqQuotes
1336
+ */
1337
+ readonly chainId: string;
1338
+ /**
1339
+ *
1340
+ * @type {string}
1341
+ * @memberof SealClientGetRfqQuotes
1342
+ */
1343
+ readonly quoteHash?: string;
1344
+ /**
1345
+ *
1346
+ * @type {string}
1347
+ * @memberof SealClientGetRfqQuotes
1348
+ */
1349
+ readonly requestId?: string;
1350
+ /**
1351
+ *
1352
+ * @type {string}
1353
+ * @memberof SealClientGetRfqQuotes
1354
+ */
1355
+ readonly offerer?: string;
1356
+ /**
1357
+ *
1358
+ * @type {'RfqQuoteOrderByProperty_UNSPECIFIED' | 'RfqQuoteOrderByProperty_ID' | 'RfqQuoteOrderByProperty_SUBMISSION_TIME' | 'RfqQuoteOrderByProperty_SETTLEMENT_TIME' | 'RfqQuoteOrderByProperty_DEADLINE'}
1359
+ * @memberof SealClientGetRfqQuotes
1360
+ */
1361
+ readonly orderByProperty?: GetRfqQuotesOrderByPropertyEnum;
1362
+ /**
1363
+ *
1364
+ * @type {boolean}
1365
+ * @memberof SealClientGetRfqQuotes
1366
+ */
1367
+ readonly orderByDescending?: boolean;
1368
+ /**
1369
+ *
1370
+ * @type {string}
1371
+ * @memberof SealClientGetRfqQuotes
1372
+ */
1373
+ readonly paginationKey?: string;
1374
+ /**
1375
+ *
1376
+ * @type {number}
1377
+ * @memberof SealClientGetRfqQuotes
1378
+ */
1379
+ readonly paginationLimit?: number;
1380
+ /**
1381
+ *
1382
+ * @type {boolean}
1383
+ * @memberof SealClientGetRfqQuotes
1384
+ */
1385
+ readonly paginationCountTotal?: boolean;
1386
+ }
1222
1387
  /**
1223
1388
  * Request parameters for getRfqRequests operation in SealClient.
1224
1389
  * @export
@@ -1446,6 +1611,19 @@ export interface SealClientIssueGreenlightRequest {
1446
1611
  */
1447
1612
  readonly requestHash?: string;
1448
1613
  }
1614
+ /**
1615
+ * Request parameters for submitQuote operation in SealClient.
1616
+ * @export
1617
+ * @interface SealClientSubmitQuoteRequest
1618
+ */
1619
+ export interface SealClientSubmitQuoteRequest {
1620
+ /**
1621
+ *
1622
+ * @type {SealSubmitQuoteRequest}
1623
+ * @memberof SealClientSubmitQuote
1624
+ */
1625
+ readonly body: SealSubmitQuoteRequest;
1626
+ }
1449
1627
  /**
1450
1628
  * Request parameters for submitRfq operation in SealClient.
1451
1629
  * @export
@@ -1577,6 +1755,22 @@ export declare class SealClient extends BaseAPI {
1577
1755
  * @memberof SealClient
1578
1756
  */
1579
1757
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any, {}>>;
1758
+ /**
1759
+ *
1760
+ * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
1761
+ * @param {*} [options] Override http request option.
1762
+ * @throws {RequiredError}
1763
+ * @memberof SealClient
1764
+ */
1765
+ getRfqNonce(requestParameters: SealClientGetRfqNonceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqNonceResponse, any, {}>>;
1766
+ /**
1767
+ *
1768
+ * @param {SealClientGetRfqQuotesRequest} requestParameters Request parameters.
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ * @memberof SealClient
1772
+ */
1773
+ getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqQuotesResponse, any, {}>>;
1580
1774
  /**
1581
1775
  *
1582
1776
  * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
@@ -1624,6 +1818,14 @@ export declare class SealClient extends BaseAPI {
1624
1818
  * @memberof SealClient
1625
1819
  */
1626
1820
  issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any, {}>>;
1821
+ /**
1822
+ *
1823
+ * @param {SealClientSubmitQuoteRequest} requestParameters Request parameters.
1824
+ * @param {*} [options] Override http request option.
1825
+ * @throws {RequiredError}
1826
+ * @memberof SealClient
1827
+ */
1828
+ submitQuote(requestParameters: SealClientSubmitQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealSubmitQuoteResponse, any, {}>>;
1627
1829
  /**
1628
1830
  *
1629
1831
  * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
@@ -1714,6 +1916,17 @@ export declare enum GetOrdersOrderByPropertyEnum {
1714
1916
  export declare enum GetPairsOrderByPropertyEnum {
1715
1917
  PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
1716
1918
  }
1919
+ /**
1920
+ * @export
1921
+ * @enum {string}
1922
+ */
1923
+ export declare enum GetRfqQuotesOrderByPropertyEnum {
1924
+ RfqQuoteOrderByPropertyUnspecified = "RfqQuoteOrderByProperty_UNSPECIFIED",
1925
+ RfqQuoteOrderByPropertyId = "RfqQuoteOrderByProperty_ID",
1926
+ RfqQuoteOrderByPropertySubmissionTime = "RfqQuoteOrderByProperty_SUBMISSION_TIME",
1927
+ RfqQuoteOrderByPropertySettlementTime = "RfqQuoteOrderByProperty_SETTLEMENT_TIME",
1928
+ RfqQuoteOrderByPropertyDeadline = "RfqQuoteOrderByProperty_DEADLINE"
1929
+ }
1717
1930
  /**
1718
1931
  * @export
1719
1932
  * @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.GetRfqRequestsOrderByPropertyEnum = 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.GetRfqQuotesOrderByPropertyEnum = 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,104 @@ const SealClientAxiosParamCreator = function (configuration) {
680
680
  options: localVarRequestOptions,
681
681
  };
682
682
  },
683
+ /**
684
+ *
685
+ * @param {string} owner
686
+ * @param {string} chainId
687
+ * @param {*} [options] Override http request option.
688
+ * @throws {RequiredError}
689
+ */
690
+ getRfqNonce: async (owner, chainId, options = {}) => {
691
+ // verify required parameter 'owner' is not null or undefined
692
+ (0, common_1.assertParamExists)('getRfqNonce', 'owner', owner);
693
+ // verify required parameter 'chainId' is not null or undefined
694
+ (0, common_1.assertParamExists)('getRfqNonce', 'chainId', chainId);
695
+ const localVarPath = `/seal/rfq/nonce`;
696
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
697
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
698
+ let baseOptions;
699
+ if (configuration) {
700
+ baseOptions = configuration.baseOptions;
701
+ }
702
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
703
+ const localVarHeaderParameter = {};
704
+ const localVarQueryParameter = {};
705
+ if (owner !== undefined) {
706
+ localVarQueryParameter['owner'] = owner;
707
+ }
708
+ if (chainId !== undefined) {
709
+ localVarQueryParameter['chainId'] = chainId;
710
+ }
711
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
713
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
714
+ return {
715
+ url: (0, common_1.toPathString)(localVarUrlObj),
716
+ options: localVarRequestOptions,
717
+ };
718
+ },
719
+ /**
720
+ *
721
+ * @param {string} chainId
722
+ * @param {string} [quoteHash]
723
+ * @param {string} [requestId]
724
+ * @param {string} [offerer]
725
+ * @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
726
+ * @param {boolean} [orderByDescending]
727
+ * @param {string} [paginationKey]
728
+ * @param {number} [paginationLimit]
729
+ * @param {boolean} [paginationCountTotal]
730
+ * @param {*} [options] Override http request option.
731
+ * @throws {RequiredError}
732
+ */
733
+ getRfqQuotes: async (chainId, quoteHash, requestId, offerer, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
734
+ // verify required parameter 'chainId' is not null or undefined
735
+ (0, common_1.assertParamExists)('getRfqQuotes', 'chainId', chainId);
736
+ const localVarPath = `/seal/rfq/quotes`;
737
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
738
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
739
+ let baseOptions;
740
+ if (configuration) {
741
+ baseOptions = configuration.baseOptions;
742
+ }
743
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
744
+ const localVarHeaderParameter = {};
745
+ const localVarQueryParameter = {};
746
+ if (chainId !== undefined) {
747
+ localVarQueryParameter['chainId'] = chainId;
748
+ }
749
+ if (quoteHash !== undefined) {
750
+ localVarQueryParameter['quoteHash'] = quoteHash;
751
+ }
752
+ if (requestId !== undefined) {
753
+ localVarQueryParameter['requestId'] = requestId;
754
+ }
755
+ if (offerer !== undefined) {
756
+ localVarQueryParameter['offerer'] = offerer;
757
+ }
758
+ if (orderByProperty !== undefined) {
759
+ localVarQueryParameter['orderBy.property'] = orderByProperty;
760
+ }
761
+ if (orderByDescending !== undefined) {
762
+ localVarQueryParameter['orderBy.descending'] = orderByDescending;
763
+ }
764
+ if (paginationKey !== undefined) {
765
+ localVarQueryParameter['pagination.key'] = paginationKey;
766
+ }
767
+ if (paginationLimit !== undefined) {
768
+ localVarQueryParameter['pagination.limit'] = paginationLimit;
769
+ }
770
+ if (paginationCountTotal !== undefined) {
771
+ localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
772
+ }
773
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
774
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
775
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
776
+ return {
777
+ url: (0, common_1.toPathString)(localVarUrlObj),
778
+ options: localVarRequestOptions,
779
+ };
780
+ },
683
781
  /**
684
782
  *
685
783
  * @param {string} [id]
@@ -954,6 +1052,35 @@ const SealClientAxiosParamCreator = function (configuration) {
954
1052
  options: localVarRequestOptions,
955
1053
  };
956
1054
  },
1055
+ /**
1056
+ *
1057
+ * @param {SealSubmitQuoteRequest} body
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ */
1061
+ submitQuote: async (body, options = {}) => {
1062
+ // verify required parameter 'body' is not null or undefined
1063
+ (0, common_1.assertParamExists)('submitQuote', 'body', body);
1064
+ const localVarPath = `/seal/quote/submit`;
1065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1066
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1067
+ let baseOptions;
1068
+ if (configuration) {
1069
+ baseOptions = configuration.baseOptions;
1070
+ }
1071
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1072
+ const localVarHeaderParameter = {};
1073
+ const localVarQueryParameter = {};
1074
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1075
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1077
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1078
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1079
+ return {
1080
+ url: (0, common_1.toPathString)(localVarUrlObj),
1081
+ options: localVarRequestOptions,
1082
+ };
1083
+ },
957
1084
  /**
958
1085
  *
959
1086
  * @param {SealSubmitRfqRequest} body
@@ -1245,6 +1372,39 @@ const SealClientFp = function (configuration) {
1245
1372
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
1246
1373
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1247
1374
  },
1375
+ /**
1376
+ *
1377
+ * @param {string} owner
1378
+ * @param {string} chainId
1379
+ * @param {*} [options] Override http request option.
1380
+ * @throws {RequiredError}
1381
+ */
1382
+ async getRfqNonce(owner, chainId, options) {
1383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqNonce(owner, chainId, options);
1384
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1385
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqNonce']?.[localVarOperationServerIndex]?.url;
1386
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1387
+ },
1388
+ /**
1389
+ *
1390
+ * @param {string} chainId
1391
+ * @param {string} [quoteHash]
1392
+ * @param {string} [requestId]
1393
+ * @param {string} [offerer]
1394
+ * @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
1395
+ * @param {boolean} [orderByDescending]
1396
+ * @param {string} [paginationKey]
1397
+ * @param {number} [paginationLimit]
1398
+ * @param {boolean} [paginationCountTotal]
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ */
1402
+ async getRfqQuotes(chainId, quoteHash, requestId, offerer, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
1403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, quoteHash, requestId, offerer, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
1404
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1405
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqQuotes']?.[localVarOperationServerIndex]?.url;
1406
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1407
+ },
1248
1408
  /**
1249
1409
  *
1250
1410
  * @param {string} [id]
@@ -1343,6 +1503,18 @@ const SealClientFp = function (configuration) {
1343
1503
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
1344
1504
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1345
1505
  },
1506
+ /**
1507
+ *
1508
+ * @param {SealSubmitQuoteRequest} body
1509
+ * @param {*} [options] Override http request option.
1510
+ * @throws {RequiredError}
1511
+ */
1512
+ async submitQuote(body, options) {
1513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.submitQuote(body, options);
1514
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1515
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.submitQuote']?.[localVarOperationServerIndex]?.url;
1516
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1517
+ },
1346
1518
  /**
1347
1519
  *
1348
1520
  * @param {SealSubmitRfqRequest} body
@@ -1501,6 +1673,24 @@ const SealClientFactory = function (configuration, basePath, axios) {
1501
1673
  getPairs(requestParameters = {}, options) {
1502
1674
  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));
1503
1675
  },
1676
+ /**
1677
+ *
1678
+ * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
1679
+ * @param {*} [options] Override http request option.
1680
+ * @throws {RequiredError}
1681
+ */
1682
+ getRfqNonce(requestParameters, options) {
1683
+ return localVarFp.getRfqNonce(requestParameters.owner, requestParameters.chainId, options).then((request) => request(axios, basePath));
1684
+ },
1685
+ /**
1686
+ *
1687
+ * @param {SealClientGetRfqQuotesRequest} requestParameters Request parameters.
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ */
1691
+ getRfqQuotes(requestParameters, options) {
1692
+ return localVarFp.getRfqQuotes(requestParameters.chainId, requestParameters.quoteHash, requestParameters.requestId, requestParameters.offerer, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
1693
+ },
1504
1694
  /**
1505
1695
  *
1506
1696
  * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
@@ -1554,6 +1744,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
1554
1744
  issueGreenlight(requestParameters = {}, options) {
1555
1745
  return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
1556
1746
  },
1747
+ /**
1748
+ *
1749
+ * @param {SealClientSubmitQuoteRequest} requestParameters Request parameters.
1750
+ * @param {*} [options] Override http request option.
1751
+ * @throws {RequiredError}
1752
+ */
1753
+ submitQuote(requestParameters, options) {
1754
+ return localVarFp.submitQuote(requestParameters.body, options).then((request) => request(axios, basePath));
1755
+ },
1557
1756
  /**
1558
1757
  *
1559
1758
  * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
@@ -1720,6 +1919,26 @@ class SealClient extends base_1.BaseAPI {
1720
1919
  getPairs(requestParameters = {}, options) {
1721
1920
  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));
1722
1921
  }
1922
+ /**
1923
+ *
1924
+ * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
1925
+ * @param {*} [options] Override http request option.
1926
+ * @throws {RequiredError}
1927
+ * @memberof SealClient
1928
+ */
1929
+ getRfqNonce(requestParameters, options) {
1930
+ return (0, exports.SealClientFp)(this.configuration).getRfqNonce(requestParameters.owner, requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
1931
+ }
1932
+ /**
1933
+ *
1934
+ * @param {SealClientGetRfqQuotesRequest} requestParameters Request parameters.
1935
+ * @param {*} [options] Override http request option.
1936
+ * @throws {RequiredError}
1937
+ * @memberof SealClient
1938
+ */
1939
+ getRfqQuotes(requestParameters, options) {
1940
+ return (0, exports.SealClientFp)(this.configuration).getRfqQuotes(requestParameters.chainId, requestParameters.quoteHash, requestParameters.requestId, requestParameters.offerer, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
1941
+ }
1723
1942
  /**
1724
1943
  *
1725
1944
  * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
@@ -1779,6 +1998,16 @@ class SealClient extends base_1.BaseAPI {
1779
1998
  issueGreenlight(requestParameters = {}, options) {
1780
1999
  return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
1781
2000
  }
2001
+ /**
2002
+ *
2003
+ * @param {SealClientSubmitQuoteRequest} requestParameters Request parameters.
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ * @memberof SealClient
2007
+ */
2008
+ submitQuote(requestParameters, options) {
2009
+ return (0, exports.SealClientFp)(this.configuration).submitQuote(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2010
+ }
1782
2011
  /**
1783
2012
  *
1784
2013
  * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
@@ -1880,6 +2109,18 @@ var GetPairsOrderByPropertyEnum;
1880
2109
  (function (GetPairsOrderByPropertyEnum) {
1881
2110
  GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
1882
2111
  })(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
2112
+ /**
2113
+ * @export
2114
+ * @enum {string}
2115
+ */
2116
+ var GetRfqQuotesOrderByPropertyEnum;
2117
+ (function (GetRfqQuotesOrderByPropertyEnum) {
2118
+ GetRfqQuotesOrderByPropertyEnum["RfqQuoteOrderByPropertyUnspecified"] = "RfqQuoteOrderByProperty_UNSPECIFIED";
2119
+ GetRfqQuotesOrderByPropertyEnum["RfqQuoteOrderByPropertyId"] = "RfqQuoteOrderByProperty_ID";
2120
+ GetRfqQuotesOrderByPropertyEnum["RfqQuoteOrderByPropertySubmissionTime"] = "RfqQuoteOrderByProperty_SUBMISSION_TIME";
2121
+ GetRfqQuotesOrderByPropertyEnum["RfqQuoteOrderByPropertySettlementTime"] = "RfqQuoteOrderByProperty_SETTLEMENT_TIME";
2122
+ GetRfqQuotesOrderByPropertyEnum["RfqQuoteOrderByPropertyDeadline"] = "RfqQuoteOrderByProperty_DEADLINE";
2123
+ })(GetRfqQuotesOrderByPropertyEnum || (exports.GetRfqQuotesOrderByPropertyEnum = GetRfqQuotesOrderByPropertyEnum = {}));
1883
2124
  /**
1884
2125
  * @export
1885
2126
  * @enum {string}
@@ -29,6 +29,8 @@ 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-nonce-response';
33
+ export * from './seal-get-rfq-quotes-response';
32
34
  export * from './seal-get-rfq-requests-response';
33
35
  export * from './seal-get-seal-contract-params-response';
34
36
  export * from './seal-get-sync-state-response';
@@ -52,9 +54,14 @@ export * from './seal-pairs-order-by';
52
54
  export * from './seal-pairs-order-by-property';
53
55
  export * from './seal-reservation-request';
54
56
  export * from './seal-reservation-settlement-request';
57
+ export * from './seal-rfq-contract-config';
58
+ export * from './seal-rfq-contract-params';
59
+ export * from './seal-rfq-quote';
55
60
  export * from './seal-rfq-request';
56
61
  export * from './seal-seal-contract-config';
57
62
  export * from './seal-seal-contract-params';
63
+ export * from './seal-submit-quote-request';
64
+ export * from './seal-submit-quote-response';
58
65
  export * from './seal-submit-rfq-request';
59
66
  export * from './seal-submit-rfq-response';
60
67
  export * from './seal-token';
@@ -65,6 +72,8 @@ export * from './seal-transfer-permission';
65
72
  export * from './types-bool';
66
73
  export * from './types-order-activity-type';
67
74
  export * from './types-pagination';
75
+ export * from './types-rfq-quote-order-by';
76
+ export * from './types-rfq-quote-order-by-property';
68
77
  export * from './types-rfq-requests-order-by';
69
78
  export * from './types-rfq-requests-order-by-property';
70
79
  export * from './types-timestamp';
@@ -45,6 +45,8 @@ __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-nonce-response"), exports);
49
+ __exportStar(require("./seal-get-rfq-quotes-response"), exports);
48
50
  __exportStar(require("./seal-get-rfq-requests-response"), exports);
49
51
  __exportStar(require("./seal-get-seal-contract-params-response"), exports);
50
52
  __exportStar(require("./seal-get-sync-state-response"), exports);
@@ -68,9 +70,14 @@ __exportStar(require("./seal-pairs-order-by"), exports);
68
70
  __exportStar(require("./seal-pairs-order-by-property"), exports);
69
71
  __exportStar(require("./seal-reservation-request"), exports);
70
72
  __exportStar(require("./seal-reservation-settlement-request"), exports);
73
+ __exportStar(require("./seal-rfq-contract-config"), exports);
74
+ __exportStar(require("./seal-rfq-contract-params"), exports);
75
+ __exportStar(require("./seal-rfq-quote"), exports);
71
76
  __exportStar(require("./seal-rfq-request"), exports);
72
77
  __exportStar(require("./seal-seal-contract-config"), exports);
73
78
  __exportStar(require("./seal-seal-contract-params"), exports);
79
+ __exportStar(require("./seal-submit-quote-request"), exports);
80
+ __exportStar(require("./seal-submit-quote-response"), exports);
74
81
  __exportStar(require("./seal-submit-rfq-request"), exports);
75
82
  __exportStar(require("./seal-submit-rfq-response"), exports);
76
83
  __exportStar(require("./seal-token"), exports);
@@ -81,6 +88,8 @@ __exportStar(require("./seal-transfer-permission"), exports);
81
88
  __exportStar(require("./types-bool"), exports);
82
89
  __exportStar(require("./types-order-activity-type"), exports);
83
90
  __exportStar(require("./types-pagination"), exports);
91
+ __exportStar(require("./types-rfq-quote-order-by"), exports);
92
+ __exportStar(require("./types-rfq-quote-order-by-property"), exports);
84
93
  __exportStar(require("./types-rfq-requests-order-by"), exports);
85
94
  __exportStar(require("./types-rfq-requests-order-by-property"), exports);
86
95
  __exportStar(require("./types-timestamp"), exports);
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SealContractConfig } from './seal-contract-config';
13
+ import type { SealRfqContractConfig } from './seal-rfq-contract-config';
13
14
  import type { SealSealContractConfig } from './seal-seal-contract-config';
14
15
  /**
15
16
  *
@@ -29,4 +30,10 @@ export interface SealChainConfig {
29
30
  * @memberof SealChainConfig
30
31
  */
31
32
  'permit2Contract'?: SealContractConfig;
33
+ /**
34
+ *
35
+ * @type {SealRfqContractConfig}
36
+ * @memberof SealChainConfig
37
+ */
38
+ 'rfqContract'?: SealRfqContractConfig;
32
39
  }
@@ -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 SealGetRfqNonceResponse
16
+ */
17
+ export interface SealGetRfqNonceResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealGetRfqNonceResponse
22
+ */
23
+ 'nonce'?: 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,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 { SealRfqQuote } from './seal-rfq-quote';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealGetRfqQuotesResponse
17
+ */
18
+ export interface SealGetRfqQuotesResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SealRfqQuote>}
22
+ * @memberof SealGetRfqQuotesResponse
23
+ */
24
+ 'quotes'?: Array<SealRfqQuote>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SealGetRfqQuotesResponse
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,32 @@
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 { SealContractConfig } from './seal-contract-config';
13
+ import type { SealRfqContractParams } from './seal-rfq-contract-params';
14
+ /**
15
+ * RfqContractConfig represents the configuration for the RFQ smart contract.
16
+ * @export
17
+ * @interface SealRfqContractConfig
18
+ */
19
+ export interface SealRfqContractConfig {
20
+ /**
21
+ *
22
+ * @type {SealContractConfig}
23
+ * @memberof SealRfqContractConfig
24
+ */
25
+ 'contractConfig'?: SealContractConfig;
26
+ /**
27
+ *
28
+ * @type {SealRfqContractParams}
29
+ * @memberof SealRfqContractConfig
30
+ */
31
+ 'params'?: SealRfqContractParams;
32
+ }
@@ -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,54 @@
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 SealRfqContractParams
16
+ */
17
+ export interface SealRfqContractParams {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealRfqContractParams
22
+ */
23
+ 'makerFee'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealRfqContractParams
28
+ */
29
+ 'commitmentDepositToken'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealRfqContractParams
34
+ */
35
+ 'minCommitmentDepositAmount'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SealRfqContractParams
40
+ */
41
+ 'maxCommitmentDepositAmount'?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SealRfqContractParams
46
+ */
47
+ 'minCommitmentPeriodSeconds'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof SealRfqContractParams
52
+ */
53
+ 'maxCommitmentPeriodSeconds'?: number;
54
+ }
@@ -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,98 @@
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
+ import type { TypesTimestamp } from './types-timestamp';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SealRfqQuote
18
+ */
19
+ export interface SealRfqQuote {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof SealRfqQuote
24
+ */
25
+ 'quoteHash'?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SealRfqQuote
30
+ */
31
+ 'offerer'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof SealRfqQuote
36
+ */
37
+ 'amountIn'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof SealRfqQuote
42
+ */
43
+ 'amountOut'?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof SealRfqQuote
48
+ */
49
+ 'depositToken'?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof SealRfqQuote
54
+ */
55
+ 'depositAmount'?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof SealRfqQuote
60
+ */
61
+ 'minFillRatio'?: string;
62
+ /**
63
+ *
64
+ * @type {TypesTimestamp}
65
+ * @memberof SealRfqQuote
66
+ */
67
+ 'settlementTime'?: TypesTimestamp;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof SealRfqQuote
72
+ */
73
+ 'nonce'?: string;
74
+ /**
75
+ *
76
+ * @type {TypesTimestamp}
77
+ * @memberof SealRfqQuote
78
+ */
79
+ 'deadline'?: TypesTimestamp;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof SealRfqQuote
84
+ */
85
+ 'signature'?: string;
86
+ /**
87
+ *
88
+ * @type {TypesTimestamp}
89
+ * @memberof SealRfqQuote
90
+ */
91
+ 'submissionTime'?: TypesTimestamp;
92
+ /**
93
+ *
94
+ * @type {SealRfqRequest}
95
+ * @memberof SealRfqQuote
96
+ */
97
+ 'request'?: SealRfqRequest;
98
+ }
@@ -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,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 SealSubmitQuoteRequest
16
+ */
17
+ export interface SealSubmitQuoteRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealSubmitQuoteRequest
22
+ */
23
+ 'requestId': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealSubmitQuoteRequest
28
+ */
29
+ 'offerer': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealSubmitQuoteRequest
34
+ */
35
+ 'amountIn': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SealSubmitQuoteRequest
40
+ */
41
+ 'amountOut': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SealSubmitQuoteRequest
46
+ */
47
+ 'depositToken': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SealSubmitQuoteRequest
52
+ */
53
+ 'depositAmount': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SealSubmitQuoteRequest
58
+ */
59
+ 'minFillRatio': string;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof SealSubmitQuoteRequest
64
+ */
65
+ 'settlementTime': number;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SealSubmitQuoteRequest
70
+ */
71
+ 'nonce': string;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof SealSubmitQuoteRequest
76
+ */
77
+ 'deadline': number;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SealSubmitQuoteRequest
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 SealSubmitQuoteResponse
16
+ */
17
+ export interface SealSubmitQuoteResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealSubmitQuoteResponse
22
+ */
23
+ 'quoteHash'?: 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 TypesRfqQuoteOrderByProperty {
18
+ RfqQuoteOrderByPropertyUnspecified = "RfqQuoteOrderByProperty_UNSPECIFIED",
19
+ RfqQuoteOrderByPropertyId = "RfqQuoteOrderByProperty_ID",
20
+ RfqQuoteOrderByPropertySubmissionTime = "RfqQuoteOrderByProperty_SUBMISSION_TIME",
21
+ RfqQuoteOrderByPropertySettlementTime = "RfqQuoteOrderByProperty_SETTLEMENT_TIME",
22
+ RfqQuoteOrderByPropertyDeadline = "RfqQuoteOrderByProperty_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.TypesRfqQuoteOrderByProperty = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var TypesRfqQuoteOrderByProperty;
23
+ (function (TypesRfqQuoteOrderByProperty) {
24
+ TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyUnspecified"] = "RfqQuoteOrderByProperty_UNSPECIFIED";
25
+ TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyId"] = "RfqQuoteOrderByProperty_ID";
26
+ TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySubmissionTime"] = "RfqQuoteOrderByProperty_SUBMISSION_TIME";
27
+ TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySettlementTime"] = "RfqQuoteOrderByProperty_SETTLEMENT_TIME";
28
+ TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyDeadline"] = "RfqQuoteOrderByProperty_DEADLINE";
29
+ })(TypesRfqQuoteOrderByProperty || (exports.TypesRfqQuoteOrderByProperty = TypesRfqQuoteOrderByProperty = {}));
@@ -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 { TypesRfqQuoteOrderByProperty } from './types-rfq-quote-order-by-property';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TypesRfqQuoteOrderBy
17
+ */
18
+ export interface TypesRfqQuoteOrderBy {
19
+ /**
20
+ *
21
+ * @type {TypesRfqQuoteOrderByProperty}
22
+ * @memberof TypesRfqQuoteOrderBy
23
+ */
24
+ 'property'?: TypesRfqQuoteOrderByProperty;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof TypesRfqQuoteOrderBy
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seal-protocol/backendjs",
3
- "version": "0.0.97",
3
+ "version": "0.0.98",
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",