@seal-protocol/backendjs 0.0.80 → 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.
Files changed (38) hide show
  1. package/lib/codegen/api/seal-client.d.ts +407 -0
  2. package/lib/codegen/api/seal-client.js +433 -1
  3. package/lib/codegen/model/index.d.ts +15 -0
  4. package/lib/codegen/model/index.js +15 -0
  5. package/lib/codegen/model/seal-chain-config.d.ts +7 -0
  6. package/lib/codegen/model/seal-chain-health.d.ts +12 -0
  7. package/lib/codegen/model/seal-get-health-check-response.d.ts +1 -1
  8. package/lib/codegen/model/seal-get-rfq-nonce-response.d.ts +24 -0
  9. package/lib/codegen/model/seal-get-rfq-nonce-response.js +15 -0
  10. package/lib/codegen/model/seal-get-rfq-quotes-response.d.ts +31 -0
  11. package/lib/codegen/model/seal-get-rfq-quotes-response.js +15 -0
  12. package/lib/codegen/model/seal-get-rfq-requests-response.d.ts +31 -0
  13. package/lib/codegen/model/seal-get-rfq-requests-response.js +15 -0
  14. package/lib/codegen/model/seal-rfq-contract-config.d.ts +32 -0
  15. package/lib/codegen/model/seal-rfq-contract-config.js +15 -0
  16. package/lib/codegen/model/seal-rfq-contract-params.d.ts +54 -0
  17. package/lib/codegen/model/seal-rfq-contract-params.js +15 -0
  18. package/lib/codegen/model/seal-rfq-quote.d.ts +98 -0
  19. package/lib/codegen/model/seal-rfq-quote.js +15 -0
  20. package/lib/codegen/model/seal-rfq-request.d.ts +73 -0
  21. package/lib/codegen/model/seal-rfq-request.js +15 -0
  22. package/lib/codegen/model/seal-submit-quote-request.d.ts +84 -0
  23. package/lib/codegen/model/seal-submit-quote-request.js +15 -0
  24. package/lib/codegen/model/seal-submit-quote-response.d.ts +24 -0
  25. package/lib/codegen/model/seal-submit-quote-response.js +15 -0
  26. package/lib/codegen/model/seal-submit-rfq-request.d.ts +60 -0
  27. package/lib/codegen/model/seal-submit-rfq-request.js +15 -0
  28. package/lib/codegen/model/seal-submit-rfq-response.d.ts +24 -0
  29. package/lib/codegen/model/seal-submit-rfq-response.js +15 -0
  30. package/lib/codegen/model/types-rfq-quote-order-by-property.d.ts +23 -0
  31. package/lib/codegen/model/types-rfq-quote-order-by-property.js +29 -0
  32. package/lib/codegen/model/types-rfq-quote-order-by.d.ts +31 -0
  33. package/lib/codegen/model/types-rfq-quote-order-by.js +15 -0
  34. package/lib/codegen/model/types-rfq-requests-order-by-property.d.ts +23 -0
  35. package/lib/codegen/model/types-rfq-requests-order-by-property.js +29 -0
  36. package/lib/codegen/model/types-rfq-requests-order-by.d.ts +31 -0
  37. package/lib/codegen/model/types-rfq-requests-order-by.js +15 -0
  38. package/package.json +1 -1
@@ -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.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,180 @@ 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
+ },
781
+ /**
782
+ *
783
+ * @param {string} [id]
784
+ * @param {string} [chainId]
785
+ * @param {string} [requester]
786
+ * @param {string} [tokenIn]
787
+ * @param {string} [tokenOut]
788
+ * @param {number} [creationTimeAfter]
789
+ * @param {number} [requestDeadlineAfter]
790
+ * @param {number} [buyInDeadlineAfter]
791
+ * @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
792
+ * @param {boolean} [orderByDescending]
793
+ * @param {string} [paginationKey]
794
+ * @param {number} [paginationLimit]
795
+ * @param {boolean} [paginationCountTotal]
796
+ * @param {*} [options] Override http request option.
797
+ * @throws {RequiredError}
798
+ */
799
+ getRfqRequests: async (id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
800
+ const localVarPath = `/seal/rfq/requests`;
801
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
802
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
803
+ let baseOptions;
804
+ if (configuration) {
805
+ baseOptions = configuration.baseOptions;
806
+ }
807
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
808
+ const localVarHeaderParameter = {};
809
+ const localVarQueryParameter = {};
810
+ if (id !== undefined) {
811
+ localVarQueryParameter['id'] = id;
812
+ }
813
+ if (chainId !== undefined) {
814
+ localVarQueryParameter['chainId'] = chainId;
815
+ }
816
+ if (requester !== undefined) {
817
+ localVarQueryParameter['requester'] = requester;
818
+ }
819
+ if (tokenIn !== undefined) {
820
+ localVarQueryParameter['tokenIn'] = tokenIn;
821
+ }
822
+ if (tokenOut !== undefined) {
823
+ localVarQueryParameter['tokenOut'] = tokenOut;
824
+ }
825
+ if (creationTimeAfter !== undefined) {
826
+ localVarQueryParameter['creationTimeAfter'] = creationTimeAfter;
827
+ }
828
+ if (requestDeadlineAfter !== undefined) {
829
+ localVarQueryParameter['requestDeadlineAfter'] = requestDeadlineAfter;
830
+ }
831
+ if (buyInDeadlineAfter !== undefined) {
832
+ localVarQueryParameter['buyInDeadlineAfter'] = buyInDeadlineAfter;
833
+ }
834
+ if (orderByProperty !== undefined) {
835
+ localVarQueryParameter['orderBy.property'] = orderByProperty;
836
+ }
837
+ if (orderByDescending !== undefined) {
838
+ localVarQueryParameter['orderBy.descending'] = orderByDescending;
839
+ }
840
+ if (paginationKey !== undefined) {
841
+ localVarQueryParameter['pagination.key'] = paginationKey;
842
+ }
843
+ if (paginationLimit !== undefined) {
844
+ localVarQueryParameter['pagination.limit'] = paginationLimit;
845
+ }
846
+ if (paginationCountTotal !== undefined) {
847
+ localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
848
+ }
849
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
851
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
852
+ return {
853
+ url: (0, common_1.toPathString)(localVarUrlObj),
854
+ options: localVarRequestOptions,
855
+ };
856
+ },
683
857
  /**
684
858
  *
685
859
  * @param {string} [chainId]
@@ -878,6 +1052,64 @@ const SealClientAxiosParamCreator = function (configuration) {
878
1052
  options: localVarRequestOptions,
879
1053
  };
880
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
+ },
1084
+ /**
1085
+ *
1086
+ * @param {SealSubmitRfqRequest} body
1087
+ * @param {*} [options] Override http request option.
1088
+ * @throws {RequiredError}
1089
+ */
1090
+ submitRfq: async (body, options = {}) => {
1091
+ // verify required parameter 'body' is not null or undefined
1092
+ (0, common_1.assertParamExists)('submitRfq', 'body', body);
1093
+ const localVarPath = `/seal/rfq/submit`;
1094
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1095
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1096
+ let baseOptions;
1097
+ if (configuration) {
1098
+ baseOptions = configuration.baseOptions;
1099
+ }
1100
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1101
+ const localVarHeaderParameter = {};
1102
+ const localVarQueryParameter = {};
1103
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1104
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1106
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1107
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1108
+ return {
1109
+ url: (0, common_1.toPathString)(localVarUrlObj),
1110
+ options: localVarRequestOptions,
1111
+ };
1112
+ },
881
1113
  /**
882
1114
  *
883
1115
  * @param {*} [options] Override http request option.
@@ -1140,6 +1372,63 @@ const SealClientFp = function (configuration) {
1140
1372
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
1141
1373
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1142
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
+ },
1408
+ /**
1409
+ *
1410
+ * @param {string} [id]
1411
+ * @param {string} [chainId]
1412
+ * @param {string} [requester]
1413
+ * @param {string} [tokenIn]
1414
+ * @param {string} [tokenOut]
1415
+ * @param {number} [creationTimeAfter]
1416
+ * @param {number} [requestDeadlineAfter]
1417
+ * @param {number} [buyInDeadlineAfter]
1418
+ * @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
1419
+ * @param {boolean} [orderByDescending]
1420
+ * @param {string} [paginationKey]
1421
+ * @param {number} [paginationLimit]
1422
+ * @param {boolean} [paginationCountTotal]
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ async getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
1427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, buyInDeadlineAfter, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
1428
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1429
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
1430
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1431
+ },
1143
1432
  /**
1144
1433
  *
1145
1434
  * @param {string} [chainId]
@@ -1214,6 +1503,30 @@ const SealClientFp = function (configuration) {
1214
1503
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
1215
1504
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1216
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
+ },
1518
+ /**
1519
+ *
1520
+ * @param {SealSubmitRfqRequest} body
1521
+ * @param {*} [options] Override http request option.
1522
+ * @throws {RequiredError}
1523
+ */
1524
+ async submitRfq(body, options) {
1525
+ const localVarAxiosArgs = await localVarAxiosParamCreator.submitRfq(body, options);
1526
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1527
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.submitRfq']?.[localVarOperationServerIndex]?.url;
1528
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1529
+ },
1217
1530
  /**
1218
1531
  *
1219
1532
  * @param {*} [options] Override http request option.
@@ -1360,6 +1673,33 @@ const SealClientFactory = function (configuration, basePath, axios) {
1360
1673
  getPairs(requestParameters = {}, options) {
1361
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));
1362
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
+ },
1694
+ /**
1695
+ *
1696
+ * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
1697
+ * @param {*} [options] Override http request option.
1698
+ * @throws {RequiredError}
1699
+ */
1700
+ getRfqRequests(requestParameters = {}, options) {
1701
+ 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));
1702
+ },
1363
1703
  /**
1364
1704
  *
1365
1705
  * @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
@@ -1404,6 +1744,24 @@ const SealClientFactory = function (configuration, basePath, axios) {
1404
1744
  issueGreenlight(requestParameters = {}, options) {
1405
1745
  return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
1406
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
+ },
1756
+ /**
1757
+ *
1758
+ * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
1759
+ * @param {*} [options] Override http request option.
1760
+ * @throws {RequiredError}
1761
+ */
1762
+ submitRfq(requestParameters, options) {
1763
+ return localVarFp.submitRfq(requestParameters.body, options).then((request) => request(axios, basePath));
1764
+ },
1407
1765
  /**
1408
1766
  *
1409
1767
  * @param {*} [options] Override http request option.
@@ -1561,6 +1919,36 @@ class SealClient extends base_1.BaseAPI {
1561
1919
  getPairs(requestParameters = {}, options) {
1562
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));
1563
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
+ }
1942
+ /**
1943
+ *
1944
+ * @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
1945
+ * @param {*} [options] Override http request option.
1946
+ * @throws {RequiredError}
1947
+ * @memberof SealClient
1948
+ */
1949
+ getRfqRequests(requestParameters = {}, options) {
1950
+ 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));
1951
+ }
1564
1952
  /**
1565
1953
  *
1566
1954
  * @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
@@ -1610,6 +1998,26 @@ class SealClient extends base_1.BaseAPI {
1610
1998
  issueGreenlight(requestParameters = {}, options) {
1611
1999
  return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
1612
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
+ }
2011
+ /**
2012
+ *
2013
+ * @param {SealClientSubmitRfqRequest} requestParameters Request parameters.
2014
+ * @param {*} [options] Override http request option.
2015
+ * @throws {RequiredError}
2016
+ * @memberof SealClient
2017
+ */
2018
+ submitRfq(requestParameters, options) {
2019
+ return (0, exports.SealClientFp)(this.configuration).submitRfq(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2020
+ }
1613
2021
  /**
1614
2022
  *
1615
2023
  * @param {*} [options] Override http request option.
@@ -1701,6 +2109,30 @@ var GetPairsOrderByPropertyEnum;
1701
2109
  (function (GetPairsOrderByPropertyEnum) {
1702
2110
  GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
1703
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 = {}));
2124
+ /**
2125
+ * @export
2126
+ * @enum {string}
2127
+ */
2128
+ var GetRfqRequestsOrderByPropertyEnum;
2129
+ (function (GetRfqRequestsOrderByPropertyEnum) {
2130
+ GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyUnspecified"] = "RfqRequestsOrderByProperty_UNSPECIFIED";
2131
+ GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyId"] = "RfqRequestsOrderByProperty_ID";
2132
+ GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyCreationTime"] = "RfqRequestsOrderByProperty_CREATION_TIME";
2133
+ GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyRequestDeadline"] = "RfqRequestsOrderByProperty_REQUEST_DEADLINE";
2134
+ GetRfqRequestsOrderByPropertyEnum["RfqRequestsOrderByPropertyBuyInDeadline"] = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE";
2135
+ })(GetRfqRequestsOrderByPropertyEnum || (exports.GetRfqRequestsOrderByPropertyEnum = GetRfqRequestsOrderByPropertyEnum = {}));
1704
2136
  /**
1705
2137
  * @export
1706
2138
  * @enum {string}
@@ -29,6 +29,9 @@ 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';
34
+ export * from './seal-get-rfq-requests-response';
32
35
  export * from './seal-get-seal-contract-params-response';
33
36
  export * from './seal-get-sync-state-response';
34
37
  export * from './seal-get-token-permit-approvals-response';
@@ -51,8 +54,16 @@ export * from './seal-pairs-order-by';
51
54
  export * from './seal-pairs-order-by-property';
52
55
  export * from './seal-reservation-request';
53
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';
60
+ export * from './seal-rfq-request';
54
61
  export * from './seal-seal-contract-config';
55
62
  export * from './seal-seal-contract-params';
63
+ export * from './seal-submit-quote-request';
64
+ export * from './seal-submit-quote-response';
65
+ export * from './seal-submit-rfq-request';
66
+ export * from './seal-submit-rfq-response';
56
67
  export * from './seal-token';
57
68
  export * from './seal-token-permit-approval';
58
69
  export * from './seal-tokens-order-by';
@@ -61,6 +72,10 @@ export * from './seal-transfer-permission';
61
72
  export * from './types-bool';
62
73
  export * from './types-order-activity-type';
63
74
  export * from './types-pagination';
75
+ export * from './types-rfq-quote-order-by';
76
+ export * from './types-rfq-quote-order-by-property';
77
+ export * from './types-rfq-requests-order-by';
78
+ export * from './types-rfq-requests-order-by-property';
64
79
  export * from './types-timestamp';
65
80
  export * from './types-token-permit-approvals-order-by';
66
81
  export * from './types-token-permit-approvals-order-by-property';
@@ -45,6 +45,9 @@ __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);
50
+ __exportStar(require("./seal-get-rfq-requests-response"), exports);
48
51
  __exportStar(require("./seal-get-seal-contract-params-response"), exports);
49
52
  __exportStar(require("./seal-get-sync-state-response"), exports);
50
53
  __exportStar(require("./seal-get-token-permit-approvals-response"), exports);
@@ -67,8 +70,16 @@ __exportStar(require("./seal-pairs-order-by"), exports);
67
70
  __exportStar(require("./seal-pairs-order-by-property"), exports);
68
71
  __exportStar(require("./seal-reservation-request"), exports);
69
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);
76
+ __exportStar(require("./seal-rfq-request"), exports);
70
77
  __exportStar(require("./seal-seal-contract-config"), exports);
71
78
  __exportStar(require("./seal-seal-contract-params"), exports);
79
+ __exportStar(require("./seal-submit-quote-request"), exports);
80
+ __exportStar(require("./seal-submit-quote-response"), exports);
81
+ __exportStar(require("./seal-submit-rfq-request"), exports);
82
+ __exportStar(require("./seal-submit-rfq-response"), exports);
72
83
  __exportStar(require("./seal-token"), exports);
73
84
  __exportStar(require("./seal-token-permit-approval"), exports);
74
85
  __exportStar(require("./seal-tokens-order-by"), exports);
@@ -77,6 +88,10 @@ __exportStar(require("./seal-transfer-permission"), exports);
77
88
  __exportStar(require("./types-bool"), exports);
78
89
  __exportStar(require("./types-order-activity-type"), exports);
79
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);
93
+ __exportStar(require("./types-rfq-requests-order-by"), exports);
94
+ __exportStar(require("./types-rfq-requests-order-by-property"), exports);
80
95
  __exportStar(require("./types-timestamp"), exports);
81
96
  __exportStar(require("./types-token-permit-approvals-order-by"), exports);
82
97
  __exportStar(require("./types-token-permit-approvals-order-by-property"), 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
  }
@@ -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
  }
@@ -21,7 +21,7 @@ export interface SealGetHealthCheckResponse {
21
21
  * @type {Array<SealChainHealth>}
22
22
  * @memberof SealGetHealthCheckResponse
23
23
  */
24
- 'chainHealth'?: Array<SealChainHealth>;
24
+ 'chains'?: Array<SealChainHealth>;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -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
+ }