@seal-protocol/backendjs 0.0.105 → 0.0.109
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.
|
@@ -232,10 +232,12 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
232
232
|
* @param {string} [tokenIn]
|
|
233
233
|
* @param {string} [tokenOut]
|
|
234
234
|
* @param {string} [commitmentId]
|
|
235
|
+
* @param {number} [settlementTimeAfter]
|
|
236
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
235
237
|
* @param {*} [options] Override http request option.
|
|
236
238
|
* @throws {RequiredError}
|
|
237
239
|
*/
|
|
238
|
-
getRfqCommitments: (orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
240
|
+
getRfqCommitments: (orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
239
241
|
/**
|
|
240
242
|
*
|
|
241
243
|
* @param {string} owner
|
|
@@ -256,13 +258,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
256
258
|
* @param {string} [requestId]
|
|
257
259
|
* @param {string} [offerer]
|
|
258
260
|
* @param {string} [id]
|
|
259
|
-
* @param {boolean} [
|
|
261
|
+
* @param {boolean} [onChainValue]
|
|
260
262
|
* @param {number} [settlementTimeAfter]
|
|
261
263
|
* @param {number} [deadlineAfter]
|
|
262
264
|
* @param {*} [options] Override http request option.
|
|
263
265
|
* @throws {RequiredError}
|
|
264
266
|
*/
|
|
265
|
-
getRfqQuotes: (chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string,
|
|
267
|
+
getRfqQuotes: (chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChainValue?: boolean, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
266
268
|
/**
|
|
267
269
|
*
|
|
268
270
|
* @param {string} [paginationKey]
|
|
@@ -281,10 +283,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
281
283
|
* @param {string} [minDepositLessThan]
|
|
282
284
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
283
285
|
* @param {string} [excludedOfferer] TODO requires join
|
|
286
|
+
* @param {boolean} [hasCommitmentValue]
|
|
284
287
|
* @param {*} [options] Override http request option.
|
|
285
288
|
* @throws {RequiredError}
|
|
286
289
|
*/
|
|
287
|
-
getRfqRequests: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
290
|
+
getRfqRequests: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
288
291
|
/**
|
|
289
292
|
*
|
|
290
293
|
* @param {string} [chainId]
|
|
@@ -531,10 +534,12 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
531
534
|
* @param {string} [tokenIn]
|
|
532
535
|
* @param {string} [tokenOut]
|
|
533
536
|
* @param {string} [commitmentId]
|
|
537
|
+
* @param {number} [settlementTimeAfter]
|
|
538
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
534
539
|
* @param {*} [options] Override http request option.
|
|
535
540
|
* @throws {RequiredError}
|
|
536
541
|
*/
|
|
537
|
-
getRfqCommitments(orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqCommitmentResponse>>;
|
|
542
|
+
getRfqCommitments(orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqCommitmentResponse>>;
|
|
538
543
|
/**
|
|
539
544
|
*
|
|
540
545
|
* @param {string} owner
|
|
@@ -555,13 +560,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
555
560
|
* @param {string} [requestId]
|
|
556
561
|
* @param {string} [offerer]
|
|
557
562
|
* @param {string} [id]
|
|
558
|
-
* @param {boolean} [
|
|
563
|
+
* @param {boolean} [onChainValue]
|
|
559
564
|
* @param {number} [settlementTimeAfter]
|
|
560
565
|
* @param {number} [deadlineAfter]
|
|
561
566
|
* @param {*} [options] Override http request option.
|
|
562
567
|
* @throws {RequiredError}
|
|
563
568
|
*/
|
|
564
|
-
getRfqQuotes(chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string,
|
|
569
|
+
getRfqQuotes(chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChainValue?: boolean, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqQuotesResponse>>;
|
|
565
570
|
/**
|
|
566
571
|
*
|
|
567
572
|
* @param {string} [paginationKey]
|
|
@@ -580,10 +585,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
580
585
|
* @param {string} [minDepositLessThan]
|
|
581
586
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
582
587
|
* @param {string} [excludedOfferer] TODO requires join
|
|
588
|
+
* @param {boolean} [hasCommitmentValue]
|
|
583
589
|
* @param {*} [options] Override http request option.
|
|
584
590
|
* @throws {RequiredError}
|
|
585
591
|
*/
|
|
586
|
-
getRfqRequests(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
592
|
+
getRfqRequests(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
587
593
|
/**
|
|
588
594
|
*
|
|
589
595
|
* @param {string} [chainId]
|
|
@@ -1458,6 +1464,18 @@ export interface SealClientGetRfqCommitmentsRequest {
|
|
|
1458
1464
|
* @memberof SealClientGetRfqCommitments
|
|
1459
1465
|
*/
|
|
1460
1466
|
readonly commitmentId?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {number}
|
|
1470
|
+
* @memberof SealClientGetRfqCommitments
|
|
1471
|
+
*/
|
|
1472
|
+
readonly settlementTimeAfter?: number;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {string}
|
|
1476
|
+
* @memberof SealClientGetRfqCommitments
|
|
1477
|
+
*/
|
|
1478
|
+
readonly settledRatioLessThanOrEq?: string;
|
|
1461
1479
|
}
|
|
1462
1480
|
/**
|
|
1463
1481
|
* Request parameters for getRfqNonce operation in SealClient.
|
|
@@ -1545,11 +1563,11 @@ export interface SealClientGetRfqQuotesRequest {
|
|
|
1545
1563
|
*/
|
|
1546
1564
|
readonly id?: string;
|
|
1547
1565
|
/**
|
|
1548
|
-
*
|
|
1566
|
+
*
|
|
1549
1567
|
* @type {boolean}
|
|
1550
1568
|
* @memberof SealClientGetRfqQuotes
|
|
1551
1569
|
*/
|
|
1552
|
-
readonly
|
|
1570
|
+
readonly onChainValue?: boolean;
|
|
1553
1571
|
/**
|
|
1554
1572
|
*
|
|
1555
1573
|
* @type {number}
|
|
@@ -1665,6 +1683,12 @@ export interface SealClientGetRfqRequestsRequest {
|
|
|
1665
1683
|
* @memberof SealClientGetRfqRequests
|
|
1666
1684
|
*/
|
|
1667
1685
|
readonly excludedOfferer?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
*
|
|
1688
|
+
* @type {boolean}
|
|
1689
|
+
* @memberof SealClientGetRfqRequests
|
|
1690
|
+
*/
|
|
1691
|
+
readonly hasCommitmentValue?: boolean;
|
|
1668
1692
|
}
|
|
1669
1693
|
/**
|
|
1670
1694
|
* Request parameters for getSealContractParams operation in SealClient.
|
|
@@ -751,10 +751,12 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
751
751
|
* @param {string} [tokenIn]
|
|
752
752
|
* @param {string} [tokenOut]
|
|
753
753
|
* @param {string} [commitmentId]
|
|
754
|
+
* @param {number} [settlementTimeAfter]
|
|
755
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
754
756
|
* @param {*} [options] Override http request option.
|
|
755
757
|
* @throws {RequiredError}
|
|
756
758
|
*/
|
|
757
|
-
getRfqCommitments: async (orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, options = {}) => {
|
|
759
|
+
getRfqCommitments: async (orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options = {}) => {
|
|
758
760
|
const localVarPath = `/seal/rfq/commitments`;
|
|
759
761
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
762
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -798,6 +800,12 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
798
800
|
if (commitmentId !== undefined) {
|
|
799
801
|
localVarQueryParameter['commitmentId'] = commitmentId;
|
|
800
802
|
}
|
|
803
|
+
if (settlementTimeAfter !== undefined) {
|
|
804
|
+
localVarQueryParameter['settlementTimeAfter'] = settlementTimeAfter;
|
|
805
|
+
}
|
|
806
|
+
if (settledRatioLessThanOrEq !== undefined) {
|
|
807
|
+
localVarQueryParameter['settledRatioLessThanOrEq'] = settledRatioLessThanOrEq;
|
|
808
|
+
}
|
|
801
809
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
802
810
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
811
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -854,13 +862,13 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
854
862
|
* @param {string} [requestId]
|
|
855
863
|
* @param {string} [offerer]
|
|
856
864
|
* @param {string} [id]
|
|
857
|
-
* @param {boolean} [
|
|
865
|
+
* @param {boolean} [onChainValue]
|
|
858
866
|
* @param {number} [settlementTimeAfter]
|
|
859
867
|
* @param {number} [deadlineAfter]
|
|
860
868
|
* @param {*} [options] Override http request option.
|
|
861
869
|
* @throws {RequiredError}
|
|
862
870
|
*/
|
|
863
|
-
getRfqQuotes: async (chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id,
|
|
871
|
+
getRfqQuotes: async (chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options = {}) => {
|
|
864
872
|
// verify required parameter 'chainId' is not null or undefined
|
|
865
873
|
(0, common_1.assertParamExists)('getRfqQuotes', 'chainId', chainId);
|
|
866
874
|
const localVarPath = `/seal/rfq/quotes`;
|
|
@@ -903,8 +911,8 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
903
911
|
if (id !== undefined) {
|
|
904
912
|
localVarQueryParameter['id'] = id;
|
|
905
913
|
}
|
|
906
|
-
if (
|
|
907
|
-
localVarQueryParameter['onChain'] =
|
|
914
|
+
if (onChainValue !== undefined) {
|
|
915
|
+
localVarQueryParameter['onChain.value'] = onChainValue;
|
|
908
916
|
}
|
|
909
917
|
if (settlementTimeAfter !== undefined) {
|
|
910
918
|
localVarQueryParameter['settlementTimeAfter'] = settlementTimeAfter;
|
|
@@ -938,10 +946,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
938
946
|
* @param {string} [minDepositLessThan]
|
|
939
947
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
940
948
|
* @param {string} [excludedOfferer] TODO requires join
|
|
949
|
+
* @param {boolean} [hasCommitmentValue]
|
|
941
950
|
* @param {*} [options] Override http request option.
|
|
942
951
|
* @throws {RequiredError}
|
|
943
952
|
*/
|
|
944
|
-
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, options = {}) => {
|
|
953
|
+
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options = {}) => {
|
|
945
954
|
const localVarPath = `/seal/rfq/requests`;
|
|
946
955
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
947
956
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1000,6 +1009,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1000
1009
|
if (excludedOfferer !== undefined) {
|
|
1001
1010
|
localVarQueryParameter['excludedOfferer'] = excludedOfferer;
|
|
1002
1011
|
}
|
|
1012
|
+
if (hasCommitmentValue !== undefined) {
|
|
1013
|
+
localVarQueryParameter['hasCommitment.value'] = hasCommitmentValue;
|
|
1014
|
+
}
|
|
1003
1015
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1004
1016
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1005
1017
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1505,11 +1517,13 @@ const SealClientFp = function (configuration) {
|
|
|
1505
1517
|
* @param {string} [tokenIn]
|
|
1506
1518
|
* @param {string} [tokenOut]
|
|
1507
1519
|
* @param {string} [commitmentId]
|
|
1520
|
+
* @param {number} [settlementTimeAfter]
|
|
1521
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
1508
1522
|
* @param {*} [options] Override http request option.
|
|
1509
1523
|
* @throws {RequiredError}
|
|
1510
1524
|
*/
|
|
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);
|
|
1525
|
+
async getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options) {
|
|
1526
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options);
|
|
1513
1527
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
1528
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqCommitments']?.[localVarOperationServerIndex]?.url;
|
|
1515
1529
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1539,14 +1553,14 @@ const SealClientFp = function (configuration) {
|
|
|
1539
1553
|
* @param {string} [requestId]
|
|
1540
1554
|
* @param {string} [offerer]
|
|
1541
1555
|
* @param {string} [id]
|
|
1542
|
-
* @param {boolean} [
|
|
1556
|
+
* @param {boolean} [onChainValue]
|
|
1543
1557
|
* @param {number} [settlementTimeAfter]
|
|
1544
1558
|
* @param {number} [deadlineAfter]
|
|
1545
1559
|
* @param {*} [options] Override http request option.
|
|
1546
1560
|
* @throws {RequiredError}
|
|
1547
1561
|
*/
|
|
1548
|
-
async getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id,
|
|
1549
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id,
|
|
1562
|
+
async getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options) {
|
|
1563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options);
|
|
1550
1564
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1551
1565
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqQuotes']?.[localVarOperationServerIndex]?.url;
|
|
1552
1566
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1569,11 +1583,12 @@ const SealClientFp = function (configuration) {
|
|
|
1569
1583
|
* @param {string} [minDepositLessThan]
|
|
1570
1584
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
1571
1585
|
* @param {string} [excludedOfferer] TODO requires join
|
|
1586
|
+
* @param {boolean} [hasCommitmentValue]
|
|
1572
1587
|
* @param {*} [options] Override http request option.
|
|
1573
1588
|
* @throws {RequiredError}
|
|
1574
1589
|
*/
|
|
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);
|
|
1590
|
+
async getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options) {
|
|
1591
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options);
|
|
1577
1592
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1578
1593
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
|
|
1579
1594
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1823,7 +1838,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1823
1838
|
* @throws {RequiredError}
|
|
1824
1839
|
*/
|
|
1825
1840
|
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));
|
|
1841
|
+
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, requestParameters.settlementTimeAfter, requestParameters.settledRatioLessThanOrEq, options).then((request) => request(axios, basePath));
|
|
1827
1842
|
},
|
|
1828
1843
|
/**
|
|
1829
1844
|
*
|
|
@@ -1841,7 +1856,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1841
1856
|
* @throws {RequiredError}
|
|
1842
1857
|
*/
|
|
1843
1858
|
getRfqQuotes(requestParameters, options) {
|
|
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.
|
|
1859
|
+
return localVarFp.getRfqQuotes(requestParameters.chainId, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.quoteHash, requestParameters.requestId, requestParameters.offerer, requestParameters.id, requestParameters.onChainValue, requestParameters.settlementTimeAfter, requestParameters.deadlineAfter, options).then((request) => request(axios, basePath));
|
|
1845
1860
|
},
|
|
1846
1861
|
/**
|
|
1847
1862
|
*
|
|
@@ -1850,7 +1865,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1850
1865
|
* @throws {RequiredError}
|
|
1851
1866
|
*/
|
|
1852
1867
|
getRfqRequests(requestParameters = {}, options) {
|
|
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));
|
|
1868
|
+
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, requestParameters.hasCommitmentValue, options).then((request) => request(axios, basePath));
|
|
1854
1869
|
},
|
|
1855
1870
|
/**
|
|
1856
1871
|
*
|
|
@@ -2081,7 +2096,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2081
2096
|
* @memberof SealClient
|
|
2082
2097
|
*/
|
|
2083
2098
|
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));
|
|
2099
|
+
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, requestParameters.settlementTimeAfter, requestParameters.settledRatioLessThanOrEq, options).then((request) => request(this.axios, this.basePath));
|
|
2085
2100
|
}
|
|
2086
2101
|
/**
|
|
2087
2102
|
*
|
|
@@ -2101,7 +2116,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2101
2116
|
* @memberof SealClient
|
|
2102
2117
|
*/
|
|
2103
2118
|
getRfqQuotes(requestParameters, options) {
|
|
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.
|
|
2119
|
+
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.onChainValue, requestParameters.settlementTimeAfter, requestParameters.deadlineAfter, options).then((request) => request(this.axios, this.basePath));
|
|
2105
2120
|
}
|
|
2106
2121
|
/**
|
|
2107
2122
|
*
|
|
@@ -2111,7 +2126,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2111
2126
|
* @memberof SealClient
|
|
2112
2127
|
*/
|
|
2113
2128
|
getRfqRequests(requestParameters = {}, options) {
|
|
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));
|
|
2129
|
+
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, requestParameters.hasCommitmentValue, options).then((request) => request(this.axios, this.basePath));
|
|
2115
2130
|
}
|
|
2116
2131
|
/**
|
|
2117
2132
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seal-protocol/backendjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.109",
|
|
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",
|