@seal-protocol/backendjs 0.0.99 → 0.0.105
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 +328 -139
- package/lib/codegen/api/seal-client.js +327 -172
- package/lib/codegen/model/index.d.ts +8 -4
- package/lib/codegen/model/index.js +8 -4
- package/lib/codegen/model/{seal-submit-quote-request.d.ts → seal-create-rfq-quote-request.d.ts} +13 -13
- package/lib/codegen/model/{seal-submit-rfq-response.d.ts → seal-create-rfq-quote-response.d.ts} +3 -3
- package/lib/codegen/model/{seal-submit-rfq-request.d.ts → seal-create-rfq-request-request.d.ts} +8 -8
- package/lib/codegen/model/{seal-submit-quote-response.d.ts → seal-create-rfq-request-response.d.ts} +3 -3
- package/lib/codegen/model/seal-get-rfq-commitment-response.d.ts +31 -0
- package/lib/codegen/model/seal-get-rfq-commitment-response.js +15 -0
- package/lib/codegen/model/seal-rfq-commitment.d.ts +163 -0
- package/lib/codegen/model/seal-rfq-commitment.js +15 -0
- package/lib/codegen/model/seal-rfq-contract-params.d.ts +0 -6
- package/lib/codegen/model/seal-rfq-quote.d.ts +51 -4
- package/lib/codegen/model/seal-rfq-request.d.ts +12 -0
- package/lib/codegen/model/types-rfq-commitment-order-by-property.d.ts +22 -0
- package/lib/codegen/model/types-rfq-commitment-order-by-property.js +28 -0
- package/lib/codegen/model/types-rfq-commitment-order-by.d.ts +31 -0
- package/lib/codegen/model/types-rfq-commitment-order-by.js +15 -0
- package/package.json +1 -1
- /package/lib/codegen/model/{seal-submit-quote-request.js → seal-create-rfq-quote-request.js} +0 -0
- /package/lib/codegen/model/{seal-submit-quote-response.js → seal-create-rfq-quote-response.js} +0 -0
- /package/lib/codegen/model/{seal-submit-rfq-request.js → seal-create-rfq-request-request.js} +0 -0
- /package/lib/codegen/model/{seal-submit-rfq-response.js → seal-create-rfq-request-response.js} +0 -0
|
@@ -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.GetRfqQuotesOrderByPropertyEnum = 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.GetRfqCommitmentsOrderByPropertyEnum = 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
|
|
@@ -192,6 +192,64 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
options: localVarRequestOptions,
|
|
193
193
|
};
|
|
194
194
|
},
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @param {SealCreateRfqQuoteRequest} body
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
createRfqQuote: async (body, options = {}) => {
|
|
202
|
+
// verify required parameter 'body' is not null or undefined
|
|
203
|
+
(0, common_1.assertParamExists)('createRfqQuote', 'body', body);
|
|
204
|
+
const localVarPath = `/seal/quote/create`;
|
|
205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
207
|
+
let baseOptions;
|
|
208
|
+
if (configuration) {
|
|
209
|
+
baseOptions = configuration.baseOptions;
|
|
210
|
+
}
|
|
211
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
212
|
+
const localVarHeaderParameter = {};
|
|
213
|
+
const localVarQueryParameter = {};
|
|
214
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
215
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
218
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
219
|
+
return {
|
|
220
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
|
+
options: localVarRequestOptions,
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @param {SealCreateRfqRequestRequest} body
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
createRfqRequest: async (body, options = {}) => {
|
|
231
|
+
// verify required parameter 'body' is not null or undefined
|
|
232
|
+
(0, common_1.assertParamExists)('createRfqRequest', 'body', body);
|
|
233
|
+
const localVarPath = `/seal/rfq/create`;
|
|
234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
235
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
236
|
+
let baseOptions;
|
|
237
|
+
if (configuration) {
|
|
238
|
+
baseOptions = configuration.baseOptions;
|
|
239
|
+
}
|
|
240
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
241
|
+
const localVarHeaderParameter = {};
|
|
242
|
+
const localVarQueryParameter = {};
|
|
243
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
247
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
248
|
+
return {
|
|
249
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
250
|
+
options: localVarRequestOptions,
|
|
251
|
+
};
|
|
252
|
+
},
|
|
195
253
|
/**
|
|
196
254
|
*
|
|
197
255
|
* @param {SealCreateTokenPermitApprovalRequest} body
|
|
@@ -680,6 +738,74 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
680
738
|
options: localVarRequestOptions,
|
|
681
739
|
};
|
|
682
740
|
},
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
744
|
+
* @param {boolean} [orderByDescending]
|
|
745
|
+
* @param {string} [paginationKey]
|
|
746
|
+
* @param {number} [paginationLimit]
|
|
747
|
+
* @param {boolean} [paginationCountTotal]
|
|
748
|
+
* @param {string} [chainId]
|
|
749
|
+
* @param {string} [maker]
|
|
750
|
+
* @param {string} [taker]
|
|
751
|
+
* @param {string} [tokenIn]
|
|
752
|
+
* @param {string} [tokenOut]
|
|
753
|
+
* @param {string} [commitmentId]
|
|
754
|
+
* @param {*} [options] Override http request option.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
getRfqCommitments: async (orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, options = {}) => {
|
|
758
|
+
const localVarPath = `/seal/rfq/commitments`;
|
|
759
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
761
|
+
let baseOptions;
|
|
762
|
+
if (configuration) {
|
|
763
|
+
baseOptions = configuration.baseOptions;
|
|
764
|
+
}
|
|
765
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
766
|
+
const localVarHeaderParameter = {};
|
|
767
|
+
const localVarQueryParameter = {};
|
|
768
|
+
if (orderByProperty !== undefined) {
|
|
769
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
770
|
+
}
|
|
771
|
+
if (orderByDescending !== undefined) {
|
|
772
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
773
|
+
}
|
|
774
|
+
if (paginationKey !== undefined) {
|
|
775
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
776
|
+
}
|
|
777
|
+
if (paginationLimit !== undefined) {
|
|
778
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
779
|
+
}
|
|
780
|
+
if (paginationCountTotal !== undefined) {
|
|
781
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
782
|
+
}
|
|
783
|
+
if (chainId !== undefined) {
|
|
784
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
785
|
+
}
|
|
786
|
+
if (maker !== undefined) {
|
|
787
|
+
localVarQueryParameter['maker'] = maker;
|
|
788
|
+
}
|
|
789
|
+
if (taker !== undefined) {
|
|
790
|
+
localVarQueryParameter['taker'] = taker;
|
|
791
|
+
}
|
|
792
|
+
if (tokenIn !== undefined) {
|
|
793
|
+
localVarQueryParameter['tokenIn'] = tokenIn;
|
|
794
|
+
}
|
|
795
|
+
if (tokenOut !== undefined) {
|
|
796
|
+
localVarQueryParameter['tokenOut'] = tokenOut;
|
|
797
|
+
}
|
|
798
|
+
if (commitmentId !== undefined) {
|
|
799
|
+
localVarQueryParameter['commitmentId'] = commitmentId;
|
|
800
|
+
}
|
|
801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
804
|
+
return {
|
|
805
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
806
|
+
options: localVarRequestOptions,
|
|
807
|
+
};
|
|
808
|
+
},
|
|
683
809
|
/**
|
|
684
810
|
*
|
|
685
811
|
* @param {string} owner
|
|
@@ -719,19 +845,22 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
719
845
|
/**
|
|
720
846
|
*
|
|
721
847
|
* @param {string} chainId
|
|
722
|
-
* @param {string} [quoteHash]
|
|
723
|
-
* @param {string} [requestId]
|
|
724
|
-
* @param {string} [offerer]
|
|
725
|
-
* @param {string} [id]
|
|
726
848
|
* @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
|
|
727
849
|
* @param {boolean} [orderByDescending]
|
|
728
850
|
* @param {string} [paginationKey]
|
|
729
851
|
* @param {number} [paginationLimit]
|
|
730
852
|
* @param {boolean} [paginationCountTotal]
|
|
853
|
+
* @param {string} [quoteHash]
|
|
854
|
+
* @param {string} [requestId]
|
|
855
|
+
* @param {string} [offerer]
|
|
856
|
+
* @param {string} [id]
|
|
857
|
+
* @param {boolean} [onChain] TODO requires indexer
|
|
858
|
+
* @param {number} [settlementTimeAfter]
|
|
859
|
+
* @param {number} [deadlineAfter]
|
|
731
860
|
* @param {*} [options] Override http request option.
|
|
732
861
|
* @throws {RequiredError}
|
|
733
862
|
*/
|
|
734
|
-
getRfqQuotes: async (chainId, quoteHash, requestId, offerer, id,
|
|
863
|
+
getRfqQuotes: async (chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChain, settlementTimeAfter, deadlineAfter, options = {}) => {
|
|
735
864
|
// verify required parameter 'chainId' is not null or undefined
|
|
736
865
|
(0, common_1.assertParamExists)('getRfqQuotes', 'chainId', chainId);
|
|
737
866
|
const localVarPath = `/seal/rfq/quotes`;
|
|
@@ -744,6 +873,21 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
744
873
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
745
874
|
const localVarHeaderParameter = {};
|
|
746
875
|
const localVarQueryParameter = {};
|
|
876
|
+
if (orderByProperty !== undefined) {
|
|
877
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
878
|
+
}
|
|
879
|
+
if (orderByDescending !== undefined) {
|
|
880
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
881
|
+
}
|
|
882
|
+
if (paginationKey !== undefined) {
|
|
883
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
884
|
+
}
|
|
885
|
+
if (paginationLimit !== undefined) {
|
|
886
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
887
|
+
}
|
|
888
|
+
if (paginationCountTotal !== undefined) {
|
|
889
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
890
|
+
}
|
|
747
891
|
if (chainId !== undefined) {
|
|
748
892
|
localVarQueryParameter['chainId'] = chainId;
|
|
749
893
|
}
|
|
@@ -759,20 +903,14 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
759
903
|
if (id !== undefined) {
|
|
760
904
|
localVarQueryParameter['id'] = id;
|
|
761
905
|
}
|
|
762
|
-
if (
|
|
763
|
-
localVarQueryParameter['
|
|
906
|
+
if (onChain !== undefined) {
|
|
907
|
+
localVarQueryParameter['onChain'] = onChain;
|
|
764
908
|
}
|
|
765
|
-
if (
|
|
766
|
-
localVarQueryParameter['
|
|
909
|
+
if (settlementTimeAfter !== undefined) {
|
|
910
|
+
localVarQueryParameter['settlementTimeAfter'] = settlementTimeAfter;
|
|
767
911
|
}
|
|
768
|
-
if (
|
|
769
|
-
localVarQueryParameter['
|
|
770
|
-
}
|
|
771
|
-
if (paginationLimit !== undefined) {
|
|
772
|
-
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
773
|
-
}
|
|
774
|
-
if (paginationCountTotal !== undefined) {
|
|
775
|
-
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
912
|
+
if (deadlineAfter !== undefined) {
|
|
913
|
+
localVarQueryParameter['deadlineAfter'] = deadlineAfter;
|
|
776
914
|
}
|
|
777
915
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
778
916
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -784,6 +922,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
784
922
|
},
|
|
785
923
|
/**
|
|
786
924
|
*
|
|
925
|
+
* @param {string} [paginationKey]
|
|
926
|
+
* @param {number} [paginationLimit]
|
|
927
|
+
* @param {boolean} [paginationCountTotal]
|
|
928
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
929
|
+
* @param {boolean} [orderByDescending]
|
|
787
930
|
* @param {string} [id]
|
|
788
931
|
* @param {string} [chainId]
|
|
789
932
|
* @param {string} [requester]
|
|
@@ -791,15 +934,14 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
791
934
|
* @param {string} [tokenOut]
|
|
792
935
|
* @param {number} [creationTimeAfter]
|
|
793
936
|
* @param {number} [requestDeadlineAfter]
|
|
794
|
-
* @param {
|
|
795
|
-
* @param {
|
|
796
|
-
* @param {string} [
|
|
797
|
-
* @param {
|
|
798
|
-
* @param {boolean} [paginationCountTotal]
|
|
937
|
+
* @param {string} [depositToken]
|
|
938
|
+
* @param {string} [minDepositLessThan]
|
|
939
|
+
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
940
|
+
* @param {string} [excludedOfferer] TODO requires join
|
|
799
941
|
* @param {*} [options] Override http request option.
|
|
800
942
|
* @throws {RequiredError}
|
|
801
943
|
*/
|
|
802
|
-
getRfqRequests: async (id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter,
|
|
944
|
+
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, options = {}) => {
|
|
803
945
|
const localVarPath = `/seal/rfq/requests`;
|
|
804
946
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
805
947
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -810,6 +952,21 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
810
952
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
811
953
|
const localVarHeaderParameter = {};
|
|
812
954
|
const localVarQueryParameter = {};
|
|
955
|
+
if (paginationKey !== undefined) {
|
|
956
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
957
|
+
}
|
|
958
|
+
if (paginationLimit !== undefined) {
|
|
959
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
960
|
+
}
|
|
961
|
+
if (paginationCountTotal !== undefined) {
|
|
962
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
963
|
+
}
|
|
964
|
+
if (orderByProperty !== undefined) {
|
|
965
|
+
localVarQueryParameter['orderBy.property'] = orderByProperty;
|
|
966
|
+
}
|
|
967
|
+
if (orderByDescending !== undefined) {
|
|
968
|
+
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
969
|
+
}
|
|
813
970
|
if (id !== undefined) {
|
|
814
971
|
localVarQueryParameter['id'] = id;
|
|
815
972
|
}
|
|
@@ -831,20 +988,17 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
831
988
|
if (requestDeadlineAfter !== undefined) {
|
|
832
989
|
localVarQueryParameter['requestDeadlineAfter'] = requestDeadlineAfter;
|
|
833
990
|
}
|
|
834
|
-
if (
|
|
835
|
-
localVarQueryParameter['
|
|
836
|
-
}
|
|
837
|
-
if (orderByDescending !== undefined) {
|
|
838
|
-
localVarQueryParameter['orderBy.descending'] = orderByDescending;
|
|
991
|
+
if (depositToken !== undefined) {
|
|
992
|
+
localVarQueryParameter['depositToken'] = depositToken;
|
|
839
993
|
}
|
|
840
|
-
if (
|
|
841
|
-
localVarQueryParameter['
|
|
994
|
+
if (minDepositLessThan !== undefined) {
|
|
995
|
+
localVarQueryParameter['minDepositLessThan'] = minDepositLessThan;
|
|
842
996
|
}
|
|
843
|
-
if (
|
|
844
|
-
localVarQueryParameter['
|
|
997
|
+
if (minDepositPerStableLessThan !== undefined) {
|
|
998
|
+
localVarQueryParameter['minDepositPerStableLessThan'] = minDepositPerStableLessThan;
|
|
845
999
|
}
|
|
846
|
-
if (
|
|
847
|
-
localVarQueryParameter['
|
|
1000
|
+
if (excludedOfferer !== undefined) {
|
|
1001
|
+
localVarQueryParameter['excludedOfferer'] = excludedOfferer;
|
|
848
1002
|
}
|
|
849
1003
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
850
1004
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1052,64 +1206,6 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1052
1206
|
options: localVarRequestOptions,
|
|
1053
1207
|
};
|
|
1054
1208
|
},
|
|
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
|
-
},
|
|
1113
1209
|
/**
|
|
1114
1210
|
*
|
|
1115
1211
|
* @param {*} [options] Override http request option.
|
|
@@ -1207,6 +1303,30 @@ const SealClientFp = function (configuration) {
|
|
|
1207
1303
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createOrder']?.[localVarOperationServerIndex]?.url;
|
|
1208
1304
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1209
1305
|
},
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @param {SealCreateRfqQuoteRequest} body
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
async createRfqQuote(body, options) {
|
|
1313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRfqQuote(body, options);
|
|
1314
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1315
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createRfqQuote']?.[localVarOperationServerIndex]?.url;
|
|
1316
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1317
|
+
},
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @param {SealCreateRfqRequestRequest} body
|
|
1321
|
+
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @throws {RequiredError}
|
|
1323
|
+
*/
|
|
1324
|
+
async createRfqRequest(body, options) {
|
|
1325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRfqRequest(body, options);
|
|
1326
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1327
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createRfqRequest']?.[localVarOperationServerIndex]?.url;
|
|
1328
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1329
|
+
},
|
|
1210
1330
|
/**
|
|
1211
1331
|
*
|
|
1212
1332
|
* @param {SealCreateTokenPermitApprovalRequest} body
|
|
@@ -1372,6 +1492,28 @@ const SealClientFp = function (configuration) {
|
|
|
1372
1492
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
1373
1493
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1374
1494
|
},
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
1498
|
+
* @param {boolean} [orderByDescending]
|
|
1499
|
+
* @param {string} [paginationKey]
|
|
1500
|
+
* @param {number} [paginationLimit]
|
|
1501
|
+
* @param {boolean} [paginationCountTotal]
|
|
1502
|
+
* @param {string} [chainId]
|
|
1503
|
+
* @param {string} [maker]
|
|
1504
|
+
* @param {string} [taker]
|
|
1505
|
+
* @param {string} [tokenIn]
|
|
1506
|
+
* @param {string} [tokenOut]
|
|
1507
|
+
* @param {string} [commitmentId]
|
|
1508
|
+
* @param {*} [options] Override http request option.
|
|
1509
|
+
* @throws {RequiredError}
|
|
1510
|
+
*/
|
|
1511
|
+
async getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, options) {
|
|
1512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, options);
|
|
1513
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqCommitments']?.[localVarOperationServerIndex]?.url;
|
|
1515
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1516
|
+
},
|
|
1375
1517
|
/**
|
|
1376
1518
|
*
|
|
1377
1519
|
* @param {string} owner
|
|
@@ -1388,26 +1530,34 @@ const SealClientFp = function (configuration) {
|
|
|
1388
1530
|
/**
|
|
1389
1531
|
*
|
|
1390
1532
|
* @param {string} chainId
|
|
1391
|
-
* @param {string} [quoteHash]
|
|
1392
|
-
* @param {string} [requestId]
|
|
1393
|
-
* @param {string} [offerer]
|
|
1394
|
-
* @param {string} [id]
|
|
1395
1533
|
* @param {GetRfqQuotesOrderByPropertyEnum} [orderByProperty]
|
|
1396
1534
|
* @param {boolean} [orderByDescending]
|
|
1397
1535
|
* @param {string} [paginationKey]
|
|
1398
1536
|
* @param {number} [paginationLimit]
|
|
1399
1537
|
* @param {boolean} [paginationCountTotal]
|
|
1538
|
+
* @param {string} [quoteHash]
|
|
1539
|
+
* @param {string} [requestId]
|
|
1540
|
+
* @param {string} [offerer]
|
|
1541
|
+
* @param {string} [id]
|
|
1542
|
+
* @param {boolean} [onChain] TODO requires indexer
|
|
1543
|
+
* @param {number} [settlementTimeAfter]
|
|
1544
|
+
* @param {number} [deadlineAfter]
|
|
1400
1545
|
* @param {*} [options] Override http request option.
|
|
1401
1546
|
* @throws {RequiredError}
|
|
1402
1547
|
*/
|
|
1403
|
-
async getRfqQuotes(chainId, quoteHash, requestId, offerer, id,
|
|
1404
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, quoteHash, requestId, offerer, id,
|
|
1548
|
+
async getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChain, settlementTimeAfter, deadlineAfter, options) {
|
|
1549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChain, settlementTimeAfter, deadlineAfter, options);
|
|
1405
1550
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1406
1551
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqQuotes']?.[localVarOperationServerIndex]?.url;
|
|
1407
1552
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1408
1553
|
},
|
|
1409
1554
|
/**
|
|
1410
1555
|
*
|
|
1556
|
+
* @param {string} [paginationKey]
|
|
1557
|
+
* @param {number} [paginationLimit]
|
|
1558
|
+
* @param {boolean} [paginationCountTotal]
|
|
1559
|
+
* @param {GetRfqRequestsOrderByPropertyEnum} [orderByProperty]
|
|
1560
|
+
* @param {boolean} [orderByDescending]
|
|
1411
1561
|
* @param {string} [id]
|
|
1412
1562
|
* @param {string} [chainId]
|
|
1413
1563
|
* @param {string} [requester]
|
|
@@ -1415,16 +1565,15 @@ const SealClientFp = function (configuration) {
|
|
|
1415
1565
|
* @param {string} [tokenOut]
|
|
1416
1566
|
* @param {number} [creationTimeAfter]
|
|
1417
1567
|
* @param {number} [requestDeadlineAfter]
|
|
1418
|
-
* @param {
|
|
1419
|
-
* @param {
|
|
1420
|
-
* @param {string} [
|
|
1421
|
-
* @param {
|
|
1422
|
-
* @param {boolean} [paginationCountTotal]
|
|
1568
|
+
* @param {string} [depositToken]
|
|
1569
|
+
* @param {string} [minDepositLessThan]
|
|
1570
|
+
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
1571
|
+
* @param {string} [excludedOfferer] TODO requires join
|
|
1423
1572
|
* @param {*} [options] Override http request option.
|
|
1424
1573
|
* @throws {RequiredError}
|
|
1425
1574
|
*/
|
|
1426
|
-
async getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter,
|
|
1427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter,
|
|
1575
|
+
async getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, options) {
|
|
1576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, options);
|
|
1428
1577
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1429
1578
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
|
|
1430
1579
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1503,30 +1652,6 @@ const SealClientFp = function (configuration) {
|
|
|
1503
1652
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
|
|
1504
1653
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1505
1654
|
},
|
|
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
|
-
},
|
|
1530
1655
|
/**
|
|
1531
1656
|
*
|
|
1532
1657
|
* @param {*} [options] Override http request option.
|
|
@@ -1592,6 +1717,24 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1592
1717
|
createOrder(requestParameters, options) {
|
|
1593
1718
|
return localVarFp.createOrder(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1594
1719
|
},
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @param {SealClientCreateRfqQuoteRequest} requestParameters Request parameters.
|
|
1723
|
+
* @param {*} [options] Override http request option.
|
|
1724
|
+
* @throws {RequiredError}
|
|
1725
|
+
*/
|
|
1726
|
+
createRfqQuote(requestParameters, options) {
|
|
1727
|
+
return localVarFp.createRfqQuote(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1728
|
+
},
|
|
1729
|
+
/**
|
|
1730
|
+
*
|
|
1731
|
+
* @param {SealClientCreateRfqRequestRequest} requestParameters Request parameters.
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
*/
|
|
1735
|
+
createRfqRequest(requestParameters, options) {
|
|
1736
|
+
return localVarFp.createRfqRequest(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1737
|
+
},
|
|
1595
1738
|
/**
|
|
1596
1739
|
*
|
|
1597
1740
|
* @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
@@ -1673,6 +1816,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1673
1816
|
getPairs(requestParameters = {}, options) {
|
|
1674
1817
|
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));
|
|
1675
1818
|
},
|
|
1819
|
+
/**
|
|
1820
|
+
*
|
|
1821
|
+
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
1822
|
+
* @param {*} [options] Override http request option.
|
|
1823
|
+
* @throws {RequiredError}
|
|
1824
|
+
*/
|
|
1825
|
+
getRfqCommitments(requestParameters = {}, options) {
|
|
1826
|
+
return localVarFp.getRfqCommitments(requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.chainId, requestParameters.maker, requestParameters.taker, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.commitmentId, options).then((request) => request(axios, basePath));
|
|
1827
|
+
},
|
|
1676
1828
|
/**
|
|
1677
1829
|
*
|
|
1678
1830
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -1689,7 +1841,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1689
1841
|
* @throws {RequiredError}
|
|
1690
1842
|
*/
|
|
1691
1843
|
getRfqQuotes(requestParameters, options) {
|
|
1692
|
-
return localVarFp.getRfqQuotes(requestParameters.chainId, requestParameters.
|
|
1844
|
+
return localVarFp.getRfqQuotes(requestParameters.chainId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.quoteHash, requestParameters.requestId, requestParameters.offerer, requestParameters.id, requestParameters.onChain, requestParameters.settlementTimeAfter, requestParameters.deadlineAfter, options).then((request) => request(axios, basePath));
|
|
1693
1845
|
},
|
|
1694
1846
|
/**
|
|
1695
1847
|
*
|
|
@@ -1698,7 +1850,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1698
1850
|
* @throws {RequiredError}
|
|
1699
1851
|
*/
|
|
1700
1852
|
getRfqRequests(requestParameters = {}, options) {
|
|
1701
|
-
return localVarFp.getRfqRequests(requestParameters.id, requestParameters.chainId, requestParameters.requester, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.creationTimeAfter, requestParameters.requestDeadlineAfter, requestParameters.
|
|
1853
|
+
return localVarFp.getRfqRequests(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.id, requestParameters.chainId, requestParameters.requester, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.creationTimeAfter, requestParameters.requestDeadlineAfter, requestParameters.depositToken, requestParameters.minDepositLessThan, requestParameters.minDepositPerStableLessThan, requestParameters.excludedOfferer, options).then((request) => request(axios, basePath));
|
|
1702
1854
|
},
|
|
1703
1855
|
/**
|
|
1704
1856
|
*
|
|
@@ -1744,24 +1896,6 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1744
1896
|
issueGreenlight(requestParameters = {}, options) {
|
|
1745
1897
|
return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
|
|
1746
1898
|
},
|
|
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
|
-
},
|
|
1765
1899
|
/**
|
|
1766
1900
|
*
|
|
1767
1901
|
* @param {*} [options] Override http request option.
|
|
@@ -1829,6 +1963,26 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1829
1963
|
createOrder(requestParameters, options) {
|
|
1830
1964
|
return (0, exports.SealClientFp)(this.configuration).createOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1831
1965
|
}
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @param {SealClientCreateRfqQuoteRequest} requestParameters Request parameters.
|
|
1969
|
+
* @param {*} [options] Override http request option.
|
|
1970
|
+
* @throws {RequiredError}
|
|
1971
|
+
* @memberof SealClient
|
|
1972
|
+
*/
|
|
1973
|
+
createRfqQuote(requestParameters, options) {
|
|
1974
|
+
return (0, exports.SealClientFp)(this.configuration).createRfqQuote(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1975
|
+
}
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @param {SealClientCreateRfqRequestRequest} requestParameters Request parameters.
|
|
1979
|
+
* @param {*} [options] Override http request option.
|
|
1980
|
+
* @throws {RequiredError}
|
|
1981
|
+
* @memberof SealClient
|
|
1982
|
+
*/
|
|
1983
|
+
createRfqRequest(requestParameters, options) {
|
|
1984
|
+
return (0, exports.SealClientFp)(this.configuration).createRfqRequest(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1985
|
+
}
|
|
1832
1986
|
/**
|
|
1833
1987
|
*
|
|
1834
1988
|
* @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
@@ -1919,6 +2073,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1919
2073
|
getPairs(requestParameters = {}, options) {
|
|
1920
2074
|
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));
|
|
1921
2075
|
}
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
2079
|
+
* @param {*} [options] Override http request option.
|
|
2080
|
+
* @throws {RequiredError}
|
|
2081
|
+
* @memberof SealClient
|
|
2082
|
+
*/
|
|
2083
|
+
getRfqCommitments(requestParameters = {}, options) {
|
|
2084
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqCommitments(requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.chainId, requestParameters.maker, requestParameters.taker, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.commitmentId, options).then((request) => request(this.axios, this.basePath));
|
|
2085
|
+
}
|
|
1922
2086
|
/**
|
|
1923
2087
|
*
|
|
1924
2088
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -1937,7 +2101,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1937
2101
|
* @memberof SealClient
|
|
1938
2102
|
*/
|
|
1939
2103
|
getRfqQuotes(requestParameters, options) {
|
|
1940
|
-
return (0, exports.SealClientFp)(this.configuration).getRfqQuotes(requestParameters.chainId, requestParameters.
|
|
2104
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqQuotes(requestParameters.chainId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.quoteHash, requestParameters.requestId, requestParameters.offerer, requestParameters.id, requestParameters.onChain, requestParameters.settlementTimeAfter, requestParameters.deadlineAfter, options).then((request) => request(this.axios, this.basePath));
|
|
1941
2105
|
}
|
|
1942
2106
|
/**
|
|
1943
2107
|
*
|
|
@@ -1947,7 +2111,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1947
2111
|
* @memberof SealClient
|
|
1948
2112
|
*/
|
|
1949
2113
|
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.
|
|
2114
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqRequests(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.id, requestParameters.chainId, requestParameters.requester, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.creationTimeAfter, requestParameters.requestDeadlineAfter, requestParameters.depositToken, requestParameters.minDepositLessThan, requestParameters.minDepositPerStableLessThan, requestParameters.excludedOfferer, options).then((request) => request(this.axios, this.basePath));
|
|
1951
2115
|
}
|
|
1952
2116
|
/**
|
|
1953
2117
|
*
|
|
@@ -1998,26 +2162,6 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1998
2162
|
issueGreenlight(requestParameters = {}, options) {
|
|
1999
2163
|
return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
|
|
2000
2164
|
}
|
|
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
|
-
}
|
|
2021
2165
|
/**
|
|
2022
2166
|
*
|
|
2023
2167
|
* @param {*} [options] Override http request option.
|
|
@@ -2109,6 +2253,17 @@ var GetPairsOrderByPropertyEnum;
|
|
|
2109
2253
|
(function (GetPairsOrderByPropertyEnum) {
|
|
2110
2254
|
GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
|
|
2111
2255
|
})(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
|
|
2256
|
+
/**
|
|
2257
|
+
* @export
|
|
2258
|
+
* @enum {string}
|
|
2259
|
+
*/
|
|
2260
|
+
var GetRfqCommitmentsOrderByPropertyEnum;
|
|
2261
|
+
(function (GetRfqCommitmentsOrderByPropertyEnum) {
|
|
2262
|
+
GetRfqCommitmentsOrderByPropertyEnum["RfqCommitmentOrderByPropertyUnspecified"] = "RfqCommitmentOrderByProperty_UNSPECIFIED";
|
|
2263
|
+
GetRfqCommitmentsOrderByPropertyEnum["RfqCommitmentOrderByPropertyId"] = "RfqCommitmentOrderByProperty_ID";
|
|
2264
|
+
GetRfqCommitmentsOrderByPropertyEnum["RfqCommitmentOrderByPropertySettlementTime"] = "RfqCommitmentOrderByProperty_SETTLEMENT_TIME";
|
|
2265
|
+
GetRfqCommitmentsOrderByPropertyEnum["RfqCommitmentOrderByPropertyBuyInDeadline"] = "RfqCommitmentOrderByProperty_BUY_IN_DEADLINE";
|
|
2266
|
+
})(GetRfqCommitmentsOrderByPropertyEnum || (exports.GetRfqCommitmentsOrderByPropertyEnum = GetRfqCommitmentsOrderByPropertyEnum = {}));
|
|
2112
2267
|
/**
|
|
2113
2268
|
* @export
|
|
2114
2269
|
* @enum {string}
|