@seal-protocol/backendjs 0.0.108 → 0.0.110
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 +178 -35
- package/lib/codegen/api/seal-client.js +226 -60
- package/lib/codegen/model/index.d.ts +6 -7
- package/lib/codegen/model/index.js +6 -7
- package/lib/codegen/model/seal-config.d.ts +2 -3
- package/lib/codegen/model/seal-create-execution-message-request.d.ts +6 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.js +15 -0
- package/lib/codegen/model/seal-order.d.ts +12 -0
- package/lib/codegen/model/seal-permit2-contract.d.ts +42 -0
- package/lib/codegen/model/seal-permit2-contract.js +15 -0
- package/lib/codegen/model/seal-rfq-commitment.d.ts +6 -0
- package/lib/codegen/model/seal-rfq-contract.d.ts +84 -0
- package/lib/codegen/model/seal-rfq-contract.js +15 -0
- package/lib/codegen/model/seal-rfq-quote.d.ts +8 -2
- package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
- package/lib/codegen/model/seal-seal-contract.d.ts +96 -0
- package/lib/codegen/model/seal-seal-contract.js +15 -0
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.d.ts +3 -1
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.js +2 -0
- package/package.json +1 -1
|
@@ -33,17 +33,20 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
33
33
|
*
|
|
34
34
|
* @param {string} chainId
|
|
35
35
|
* @param {string} owner hex representation of owner address
|
|
36
|
+
* @param {string} spender hex representation of spender address
|
|
36
37
|
* @param {string} token hex representation of token address
|
|
37
38
|
* @param {string} orderAmount
|
|
38
39
|
* @param {number} [orderExpiration] unix seconds
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
calculateRequiredPermit: async (chainId, owner, token, orderAmount, orderExpiration, options = {}) => {
|
|
43
|
+
calculateRequiredPermit: async (chainId, owner, spender, token, orderAmount, orderExpiration, options = {}) => {
|
|
43
44
|
// verify required parameter 'chainId' is not null or undefined
|
|
44
45
|
(0, common_1.assertParamExists)('calculateRequiredPermit', 'chainId', chainId);
|
|
45
46
|
// verify required parameter 'owner' is not null or undefined
|
|
46
47
|
(0, common_1.assertParamExists)('calculateRequiredPermit', 'owner', owner);
|
|
48
|
+
// verify required parameter 'spender' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('calculateRequiredPermit', 'spender', spender);
|
|
47
50
|
// verify required parameter 'token' is not null or undefined
|
|
48
51
|
(0, common_1.assertParamExists)('calculateRequiredPermit', 'token', token);
|
|
49
52
|
// verify required parameter 'orderAmount' is not null or undefined
|
|
@@ -64,6 +67,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
64
67
|
if (owner !== undefined) {
|
|
65
68
|
localVarQueryParameter['owner'] = owner;
|
|
66
69
|
}
|
|
70
|
+
if (spender !== undefined) {
|
|
71
|
+
localVarQueryParameter['spender'] = spender;
|
|
72
|
+
}
|
|
67
73
|
if (token !== undefined) {
|
|
68
74
|
localVarQueryParameter['token'] = token;
|
|
69
75
|
}
|
|
@@ -426,14 +432,17 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
426
432
|
*
|
|
427
433
|
* @param {string} chainId uint256
|
|
428
434
|
* @param {string} owner
|
|
435
|
+
* @param {string} contract
|
|
429
436
|
* @param {*} [options] Override http request option.
|
|
430
437
|
* @throws {RequiredError}
|
|
431
438
|
*/
|
|
432
|
-
getOrderNonce: async (chainId, owner, options = {}) => {
|
|
439
|
+
getOrderNonce: async (chainId, owner, contract, options = {}) => {
|
|
433
440
|
// verify required parameter 'chainId' is not null or undefined
|
|
434
441
|
(0, common_1.assertParamExists)('getOrderNonce', 'chainId', chainId);
|
|
435
442
|
// verify required parameter 'owner' is not null or undefined
|
|
436
443
|
(0, common_1.assertParamExists)('getOrderNonce', 'owner', owner);
|
|
444
|
+
// verify required parameter 'contract' is not null or undefined
|
|
445
|
+
(0, common_1.assertParamExists)('getOrderNonce', 'contract', contract);
|
|
437
446
|
const localVarPath = `/seal/orders/nonce`;
|
|
438
447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
439
448
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -450,6 +459,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
450
459
|
if (owner !== undefined) {
|
|
451
460
|
localVarQueryParameter['owner'] = owner;
|
|
452
461
|
}
|
|
462
|
+
if (contract !== undefined) {
|
|
463
|
+
localVarQueryParameter['contract'] = contract;
|
|
464
|
+
}
|
|
453
465
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
454
466
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
467
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -551,10 +563,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
551
563
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
552
564
|
* @param {boolean} [onChainValue]
|
|
553
565
|
* @param {string} [id] 56-bytes in hex format
|
|
566
|
+
* @param {number} [contractId]
|
|
554
567
|
* @param {*} [options] Override http request option.
|
|
555
568
|
* @throws {RequiredError}
|
|
556
569
|
*/
|
|
557
|
-
getOrders: async (chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, options = {}) => {
|
|
570
|
+
getOrders: async (chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, contractId, options = {}) => {
|
|
558
571
|
const localVarPath = `/seal/orders`;
|
|
559
572
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
560
573
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -634,6 +647,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
634
647
|
if (id !== undefined) {
|
|
635
648
|
localVarQueryParameter['id'] = id;
|
|
636
649
|
}
|
|
650
|
+
if (contractId !== undefined) {
|
|
651
|
+
localVarQueryParameter['contractId'] = contractId;
|
|
652
|
+
}
|
|
637
653
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
638
654
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
639
655
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -738,6 +754,30 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
738
754
|
options: localVarRequestOptions,
|
|
739
755
|
};
|
|
740
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @param {*} [options] Override http request option.
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
getPermit2Contracts: async (options = {}) => {
|
|
763
|
+
const localVarPath = `/seal/contracts/permit2`;
|
|
764
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
765
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
766
|
+
let baseOptions;
|
|
767
|
+
if (configuration) {
|
|
768
|
+
baseOptions = configuration.baseOptions;
|
|
769
|
+
}
|
|
770
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
771
|
+
const localVarHeaderParameter = {};
|
|
772
|
+
const localVarQueryParameter = {};
|
|
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
|
+
},
|
|
741
781
|
/**
|
|
742
782
|
*
|
|
743
783
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -751,10 +791,12 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
751
791
|
* @param {string} [tokenIn]
|
|
752
792
|
* @param {string} [tokenOut]
|
|
753
793
|
* @param {string} [commitmentId]
|
|
794
|
+
* @param {number} [settlementTimeAfter]
|
|
795
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
754
796
|
* @param {*} [options] Override http request option.
|
|
755
797
|
* @throws {RequiredError}
|
|
756
798
|
*/
|
|
757
|
-
getRfqCommitments: async (orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, options = {}) => {
|
|
799
|
+
getRfqCommitments: async (orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options = {}) => {
|
|
758
800
|
const localVarPath = `/seal/rfq/commitments`;
|
|
759
801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
802
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -798,6 +840,40 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
798
840
|
if (commitmentId !== undefined) {
|
|
799
841
|
localVarQueryParameter['commitmentId'] = commitmentId;
|
|
800
842
|
}
|
|
843
|
+
if (settlementTimeAfter !== undefined) {
|
|
844
|
+
localVarQueryParameter['settlementTimeAfter'] = settlementTimeAfter;
|
|
845
|
+
}
|
|
846
|
+
if (settledRatioLessThanOrEq !== undefined) {
|
|
847
|
+
localVarQueryParameter['settledRatioLessThanOrEq'] = settledRatioLessThanOrEq;
|
|
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
|
+
},
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @param {string} [chainId]
|
|
860
|
+
* @param {*} [options] Override http request option.
|
|
861
|
+
* @throws {RequiredError}
|
|
862
|
+
*/
|
|
863
|
+
getRfqContracts: async (chainId, options = {}) => {
|
|
864
|
+
const localVarPath = `/seal/contracts/rfq`;
|
|
865
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
866
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
867
|
+
let baseOptions;
|
|
868
|
+
if (configuration) {
|
|
869
|
+
baseOptions = configuration.baseOptions;
|
|
870
|
+
}
|
|
871
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
872
|
+
const localVarHeaderParameter = {};
|
|
873
|
+
const localVarQueryParameter = {};
|
|
874
|
+
if (chainId !== undefined) {
|
|
875
|
+
localVarQueryParameter['chainId'] = chainId;
|
|
876
|
+
}
|
|
801
877
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
802
878
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
879
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -810,14 +886,17 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
810
886
|
*
|
|
811
887
|
* @param {string} owner
|
|
812
888
|
* @param {string} chainId
|
|
889
|
+
* @param {string} contract
|
|
813
890
|
* @param {*} [options] Override http request option.
|
|
814
891
|
* @throws {RequiredError}
|
|
815
892
|
*/
|
|
816
|
-
getRfqNonce: async (owner, chainId, options = {}) => {
|
|
893
|
+
getRfqNonce: async (owner, chainId, contract, options = {}) => {
|
|
817
894
|
// verify required parameter 'owner' is not null or undefined
|
|
818
895
|
(0, common_1.assertParamExists)('getRfqNonce', 'owner', owner);
|
|
819
896
|
// verify required parameter 'chainId' is not null or undefined
|
|
820
897
|
(0, common_1.assertParamExists)('getRfqNonce', 'chainId', chainId);
|
|
898
|
+
// verify required parameter 'contract' is not null or undefined
|
|
899
|
+
(0, common_1.assertParamExists)('getRfqNonce', 'contract', contract);
|
|
821
900
|
const localVarPath = `/seal/rfq/nonce`;
|
|
822
901
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
823
902
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -834,6 +913,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
834
913
|
if (chainId !== undefined) {
|
|
835
914
|
localVarQueryParameter['chainId'] = chainId;
|
|
836
915
|
}
|
|
916
|
+
if (contract !== undefined) {
|
|
917
|
+
localVarQueryParameter['contract'] = contract;
|
|
918
|
+
}
|
|
837
919
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
838
920
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
839
921
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -854,13 +936,13 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
854
936
|
* @param {string} [requestId]
|
|
855
937
|
* @param {string} [offerer]
|
|
856
938
|
* @param {string} [id]
|
|
857
|
-
* @param {
|
|
939
|
+
* @param {boolean} [onChainValue]
|
|
858
940
|
* @param {number} [settlementTimeAfter]
|
|
859
941
|
* @param {number} [deadlineAfter]
|
|
860
942
|
* @param {*} [options] Override http request option.
|
|
861
943
|
* @throws {RequiredError}
|
|
862
944
|
*/
|
|
863
|
-
getRfqQuotes: async (chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id,
|
|
945
|
+
getRfqQuotes: async (chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options = {}) => {
|
|
864
946
|
// verify required parameter 'chainId' is not null or undefined
|
|
865
947
|
(0, common_1.assertParamExists)('getRfqQuotes', 'chainId', chainId);
|
|
866
948
|
const localVarPath = `/seal/rfq/quotes`;
|
|
@@ -903,8 +985,8 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
903
985
|
if (id !== undefined) {
|
|
904
986
|
localVarQueryParameter['id'] = id;
|
|
905
987
|
}
|
|
906
|
-
if (
|
|
907
|
-
localVarQueryParameter['onChain'] =
|
|
988
|
+
if (onChainValue !== undefined) {
|
|
989
|
+
localVarQueryParameter['onChain.value'] = onChainValue;
|
|
908
990
|
}
|
|
909
991
|
if (settlementTimeAfter !== undefined) {
|
|
910
992
|
localVarQueryParameter['settlementTimeAfter'] = settlementTimeAfter;
|
|
@@ -938,10 +1020,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
938
1020
|
* @param {string} [minDepositLessThan]
|
|
939
1021
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
940
1022
|
* @param {string} [excludedOfferer] TODO requires join
|
|
1023
|
+
* @param {boolean} [hasCommitmentValue]
|
|
941
1024
|
* @param {*} [options] Override http request option.
|
|
942
1025
|
* @throws {RequiredError}
|
|
943
1026
|
*/
|
|
944
|
-
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, options = {}) => {
|
|
1027
|
+
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options = {}) => {
|
|
945
1028
|
const localVarPath = `/seal/rfq/requests`;
|
|
946
1029
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
947
1030
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1000,6 +1083,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1000
1083
|
if (excludedOfferer !== undefined) {
|
|
1001
1084
|
localVarQueryParameter['excludedOfferer'] = excludedOfferer;
|
|
1002
1085
|
}
|
|
1086
|
+
if (hasCommitmentValue !== undefined) {
|
|
1087
|
+
localVarQueryParameter['hasCommitment.value'] = hasCommitmentValue;
|
|
1088
|
+
}
|
|
1003
1089
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1004
1090
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1005
1091
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1014,8 +1100,8 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1014
1100
|
* @param {*} [options] Override http request option.
|
|
1015
1101
|
* @throws {RequiredError}
|
|
1016
1102
|
*/
|
|
1017
|
-
|
|
1018
|
-
const localVarPath = `/seal/
|
|
1103
|
+
getSealContracts: async (chainId, options = {}) => {
|
|
1104
|
+
const localVarPath = `/seal/contracts/seal`;
|
|
1019
1105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1020
1106
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1021
1107
|
let baseOptions;
|
|
@@ -1039,6 +1125,7 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1039
1125
|
/**
|
|
1040
1126
|
*
|
|
1041
1127
|
* @param {string} owner hex representation of owner address
|
|
1128
|
+
* @param {string} spender hex representation of owner address
|
|
1042
1129
|
* @param {string} [chainId]
|
|
1043
1130
|
* @param {string} [token] hex representation of token address
|
|
1044
1131
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -1049,9 +1136,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1049
1136
|
* @param {*} [options] Override http request option.
|
|
1050
1137
|
* @throws {RequiredError}
|
|
1051
1138
|
*/
|
|
1052
|
-
getTokenPermitApprovals: async (owner, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
1139
|
+
getTokenPermitApprovals: async (owner, spender, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
1053
1140
|
// verify required parameter 'owner' is not null or undefined
|
|
1054
1141
|
(0, common_1.assertParamExists)('getTokenPermitApprovals', 'owner', owner);
|
|
1142
|
+
// verify required parameter 'spender' is not null or undefined
|
|
1143
|
+
(0, common_1.assertParamExists)('getTokenPermitApprovals', 'spender', spender);
|
|
1055
1144
|
const localVarPath = `/seal/token_permit_approvals`;
|
|
1056
1145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1057
1146
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1068,6 +1157,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1068
1157
|
if (owner !== undefined) {
|
|
1069
1158
|
localVarQueryParameter['owner'] = owner;
|
|
1070
1159
|
}
|
|
1160
|
+
if (spender !== undefined) {
|
|
1161
|
+
localVarQueryParameter['spender'] = spender;
|
|
1162
|
+
}
|
|
1071
1163
|
if (token !== undefined) {
|
|
1072
1164
|
localVarQueryParameter['token'] = token;
|
|
1073
1165
|
}
|
|
@@ -1170,12 +1262,13 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1170
1262
|
*
|
|
1171
1263
|
* @param {string} [chainId] uint256
|
|
1172
1264
|
* @param {string} [executor]
|
|
1265
|
+
* @param {string} [sealContract]
|
|
1173
1266
|
* @param {string} [request] json
|
|
1174
1267
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
1175
1268
|
* @param {*} [options] Override http request option.
|
|
1176
1269
|
* @throws {RequiredError}
|
|
1177
1270
|
*/
|
|
1178
|
-
issueGreenlight: async (chainId, executor, request, requestHash, options = {}) => {
|
|
1271
|
+
issueGreenlight: async (chainId, executor, sealContract, request, requestHash, options = {}) => {
|
|
1179
1272
|
const localVarPath = `/seal/issue_greenlight`;
|
|
1180
1273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1181
1274
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1192,6 +1285,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1192
1285
|
if (executor !== undefined) {
|
|
1193
1286
|
localVarQueryParameter['executor'] = executor;
|
|
1194
1287
|
}
|
|
1288
|
+
if (sealContract !== undefined) {
|
|
1289
|
+
localVarQueryParameter['sealContract'] = sealContract;
|
|
1290
|
+
}
|
|
1195
1291
|
if (request !== undefined) {
|
|
1196
1292
|
localVarQueryParameter['request'] = request;
|
|
1197
1293
|
}
|
|
@@ -1244,14 +1340,15 @@ const SealClientFp = function (configuration) {
|
|
|
1244
1340
|
*
|
|
1245
1341
|
* @param {string} chainId
|
|
1246
1342
|
* @param {string} owner hex representation of owner address
|
|
1343
|
+
* @param {string} spender hex representation of spender address
|
|
1247
1344
|
* @param {string} token hex representation of token address
|
|
1248
1345
|
* @param {string} orderAmount
|
|
1249
1346
|
* @param {number} [orderExpiration] unix seconds
|
|
1250
1347
|
* @param {*} [options] Override http request option.
|
|
1251
1348
|
* @throws {RequiredError}
|
|
1252
1349
|
*/
|
|
1253
|
-
async calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options) {
|
|
1254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateRequiredPermit(chainId, owner, token, orderAmount, orderExpiration, options);
|
|
1350
|
+
async calculateRequiredPermit(chainId, owner, spender, token, orderAmount, orderExpiration, options) {
|
|
1351
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateRequiredPermit(chainId, owner, spender, token, orderAmount, orderExpiration, options);
|
|
1255
1352
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1256
1353
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.calculateRequiredPermit']?.[localVarOperationServerIndex]?.url;
|
|
1257
1354
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1393,11 +1490,12 @@ const SealClientFp = function (configuration) {
|
|
|
1393
1490
|
*
|
|
1394
1491
|
* @param {string} chainId uint256
|
|
1395
1492
|
* @param {string} owner
|
|
1493
|
+
* @param {string} contract
|
|
1396
1494
|
* @param {*} [options] Override http request option.
|
|
1397
1495
|
* @throws {RequiredError}
|
|
1398
1496
|
*/
|
|
1399
|
-
async getOrderNonce(chainId, owner, options) {
|
|
1400
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderNonce(chainId, owner, options);
|
|
1497
|
+
async getOrderNonce(chainId, owner, contract, options) {
|
|
1498
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderNonce(chainId, owner, contract, options);
|
|
1401
1499
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1402
1500
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrderNonce']?.[localVarOperationServerIndex]?.url;
|
|
1403
1501
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1449,11 +1547,12 @@ const SealClientFp = function (configuration) {
|
|
|
1449
1547
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
1450
1548
|
* @param {boolean} [onChainValue]
|
|
1451
1549
|
* @param {string} [id] 56-bytes in hex format
|
|
1550
|
+
* @param {number} [contractId]
|
|
1452
1551
|
* @param {*} [options] Override http request option.
|
|
1453
1552
|
* @throws {RequiredError}
|
|
1454
1553
|
*/
|
|
1455
|
-
async getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, options) {
|
|
1456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, options);
|
|
1554
|
+
async getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, contractId, options) {
|
|
1555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(chainId, tokenIn, tokenOut, owner, fromPrice, toPrice, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, reservationAllowedValue, liveValue, cancelledValue, depositToken, minReservationPeriodSeconds, minRemainingAmount, minPriceMargin, maxPriceMargin, maxReservationDepositPerStable, minRemainingAmountStableTerms, onChainValue, id, contractId, options);
|
|
1457
1556
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1458
1557
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getOrders']?.[localVarOperationServerIndex]?.url;
|
|
1459
1558
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1492,6 +1591,17 @@ const SealClientFp = function (configuration) {
|
|
|
1492
1591
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
|
|
1493
1592
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1494
1593
|
},
|
|
1594
|
+
/**
|
|
1595
|
+
*
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
*/
|
|
1599
|
+
async getPermit2Contracts(options) {
|
|
1600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermit2Contracts(options);
|
|
1601
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1602
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPermit2Contracts']?.[localVarOperationServerIndex]?.url;
|
|
1603
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1604
|
+
},
|
|
1495
1605
|
/**
|
|
1496
1606
|
*
|
|
1497
1607
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -1505,24 +1615,39 @@ const SealClientFp = function (configuration) {
|
|
|
1505
1615
|
* @param {string} [tokenIn]
|
|
1506
1616
|
* @param {string} [tokenOut]
|
|
1507
1617
|
* @param {string} [commitmentId]
|
|
1618
|
+
* @param {number} [settlementTimeAfter]
|
|
1619
|
+
* @param {string} [settledRatioLessThanOrEq]
|
|
1508
1620
|
* @param {*} [options] Override http request option.
|
|
1509
1621
|
* @throws {RequiredError}
|
|
1510
1622
|
*/
|
|
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);
|
|
1623
|
+
async getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options) {
|
|
1624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqCommitments(orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, chainId, maker, taker, tokenIn, tokenOut, commitmentId, settlementTimeAfter, settledRatioLessThanOrEq, options);
|
|
1513
1625
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
1626
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqCommitments']?.[localVarOperationServerIndex]?.url;
|
|
1515
1627
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1516
1628
|
},
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @param {string} [chainId]
|
|
1632
|
+
* @param {*} [options] Override http request option.
|
|
1633
|
+
* @throws {RequiredError}
|
|
1634
|
+
*/
|
|
1635
|
+
async getRfqContracts(chainId, options) {
|
|
1636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqContracts(chainId, options);
|
|
1637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1638
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqContracts']?.[localVarOperationServerIndex]?.url;
|
|
1639
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1640
|
+
},
|
|
1517
1641
|
/**
|
|
1518
1642
|
*
|
|
1519
1643
|
* @param {string} owner
|
|
1520
1644
|
* @param {string} chainId
|
|
1645
|
+
* @param {string} contract
|
|
1521
1646
|
* @param {*} [options] Override http request option.
|
|
1522
1647
|
* @throws {RequiredError}
|
|
1523
1648
|
*/
|
|
1524
|
-
async getRfqNonce(owner, chainId, options) {
|
|
1525
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqNonce(owner, chainId, options);
|
|
1649
|
+
async getRfqNonce(owner, chainId, contract, options) {
|
|
1650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqNonce(owner, chainId, contract, options);
|
|
1526
1651
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1527
1652
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqNonce']?.[localVarOperationServerIndex]?.url;
|
|
1528
1653
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1539,14 +1664,14 @@ const SealClientFp = function (configuration) {
|
|
|
1539
1664
|
* @param {string} [requestId]
|
|
1540
1665
|
* @param {string} [offerer]
|
|
1541
1666
|
* @param {string} [id]
|
|
1542
|
-
* @param {
|
|
1667
|
+
* @param {boolean} [onChainValue]
|
|
1543
1668
|
* @param {number} [settlementTimeAfter]
|
|
1544
1669
|
* @param {number} [deadlineAfter]
|
|
1545
1670
|
* @param {*} [options] Override http request option.
|
|
1546
1671
|
* @throws {RequiredError}
|
|
1547
1672
|
*/
|
|
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,
|
|
1673
|
+
async getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options) {
|
|
1674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqQuotes(chainId, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, quoteHash, requestId, offerer, id, onChainValue, settlementTimeAfter, deadlineAfter, options);
|
|
1550
1675
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1551
1676
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqQuotes']?.[localVarOperationServerIndex]?.url;
|
|
1552
1677
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1569,11 +1694,12 @@ const SealClientFp = function (configuration) {
|
|
|
1569
1694
|
* @param {string} [minDepositLessThan]
|
|
1570
1695
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
1571
1696
|
* @param {string} [excludedOfferer] TODO requires join
|
|
1697
|
+
* @param {boolean} [hasCommitmentValue]
|
|
1572
1698
|
* @param {*} [options] Override http request option.
|
|
1573
1699
|
* @throws {RequiredError}
|
|
1574
1700
|
*/
|
|
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);
|
|
1701
|
+
async getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options) {
|
|
1702
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options);
|
|
1577
1703
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1578
1704
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
|
|
1579
1705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1584,15 +1710,16 @@ const SealClientFp = function (configuration) {
|
|
|
1584
1710
|
* @param {*} [options] Override http request option.
|
|
1585
1711
|
* @throws {RequiredError}
|
|
1586
1712
|
*/
|
|
1587
|
-
async
|
|
1588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1713
|
+
async getSealContracts(chainId, options) {
|
|
1714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSealContracts(chainId, options);
|
|
1589
1715
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1590
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.
|
|
1716
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getSealContracts']?.[localVarOperationServerIndex]?.url;
|
|
1591
1717
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1592
1718
|
},
|
|
1593
1719
|
/**
|
|
1594
1720
|
*
|
|
1595
1721
|
* @param {string} owner hex representation of owner address
|
|
1722
|
+
* @param {string} spender hex representation of owner address
|
|
1596
1723
|
* @param {string} [chainId]
|
|
1597
1724
|
* @param {string} [token] hex representation of token address
|
|
1598
1725
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -1603,8 +1730,8 @@ const SealClientFp = function (configuration) {
|
|
|
1603
1730
|
* @param {*} [options] Override http request option.
|
|
1604
1731
|
* @throws {RequiredError}
|
|
1605
1732
|
*/
|
|
1606
|
-
async getTokenPermitApprovals(owner, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1607
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenPermitApprovals(owner, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1733
|
+
async getTokenPermitApprovals(owner, spender, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenPermitApprovals(owner, spender, chainId, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1608
1735
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1609
1736
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getTokenPermitApprovals']?.[localVarOperationServerIndex]?.url;
|
|
1610
1737
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1641,13 +1768,14 @@ const SealClientFp = function (configuration) {
|
|
|
1641
1768
|
*
|
|
1642
1769
|
* @param {string} [chainId] uint256
|
|
1643
1770
|
* @param {string} [executor]
|
|
1771
|
+
* @param {string} [sealContract]
|
|
1644
1772
|
* @param {string} [request] json
|
|
1645
1773
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
1646
1774
|
* @param {*} [options] Override http request option.
|
|
1647
1775
|
* @throws {RequiredError}
|
|
1648
1776
|
*/
|
|
1649
|
-
async issueGreenlight(chainId, executor, request, requestHash, options) {
|
|
1650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.issueGreenlight(chainId, executor, request, requestHash, options);
|
|
1777
|
+
async issueGreenlight(chainId, executor, sealContract, request, requestHash, options) {
|
|
1778
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueGreenlight(chainId, executor, sealContract, request, requestHash, options);
|
|
1651
1779
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1652
1780
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
|
|
1653
1781
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1680,7 +1808,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1680
1808
|
* @throws {RequiredError}
|
|
1681
1809
|
*/
|
|
1682
1810
|
calculateRequiredPermit(requestParameters, options) {
|
|
1683
|
-
return localVarFp.calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(axios, basePath));
|
|
1811
|
+
return localVarFp.calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.spender, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(axios, basePath));
|
|
1684
1812
|
},
|
|
1685
1813
|
/**
|
|
1686
1814
|
*
|
|
@@ -1778,7 +1906,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1778
1906
|
* @throws {RequiredError}
|
|
1779
1907
|
*/
|
|
1780
1908
|
getOrderNonce(requestParameters, options) {
|
|
1781
|
-
return localVarFp.getOrderNonce(requestParameters.chainId, requestParameters.owner, options).then((request) => request(axios, basePath));
|
|
1909
|
+
return localVarFp.getOrderNonce(requestParameters.chainId, requestParameters.owner, requestParameters.contract, options).then((request) => request(axios, basePath));
|
|
1782
1910
|
},
|
|
1783
1911
|
/**
|
|
1784
1912
|
*
|
|
@@ -1796,7 +1924,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1796
1924
|
* @throws {RequiredError}
|
|
1797
1925
|
*/
|
|
1798
1926
|
getOrders(requestParameters = {}, options) {
|
|
1799
|
-
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1927
|
+
return localVarFp.getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, requestParameters.id, requestParameters.contractId, options).then((request) => request(axios, basePath));
|
|
1800
1928
|
},
|
|
1801
1929
|
/**
|
|
1802
1930
|
*
|
|
@@ -1816,6 +1944,14 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1816
1944
|
getPairs(requestParameters = {}, options) {
|
|
1817
1945
|
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));
|
|
1818
1946
|
},
|
|
1947
|
+
/**
|
|
1948
|
+
*
|
|
1949
|
+
* @param {*} [options] Override http request option.
|
|
1950
|
+
* @throws {RequiredError}
|
|
1951
|
+
*/
|
|
1952
|
+
getPermit2Contracts(options) {
|
|
1953
|
+
return localVarFp.getPermit2Contracts(options).then((request) => request(axios, basePath));
|
|
1954
|
+
},
|
|
1819
1955
|
/**
|
|
1820
1956
|
*
|
|
1821
1957
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -1823,7 +1959,16 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1823
1959
|
* @throws {RequiredError}
|
|
1824
1960
|
*/
|
|
1825
1961
|
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));
|
|
1962
|
+
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));
|
|
1963
|
+
},
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
1967
|
+
* @param {*} [options] Override http request option.
|
|
1968
|
+
* @throws {RequiredError}
|
|
1969
|
+
*/
|
|
1970
|
+
getRfqContracts(requestParameters = {}, options) {
|
|
1971
|
+
return localVarFp.getRfqContracts(requestParameters.chainId, options).then((request) => request(axios, basePath));
|
|
1827
1972
|
},
|
|
1828
1973
|
/**
|
|
1829
1974
|
*
|
|
@@ -1832,7 +1977,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1832
1977
|
* @throws {RequiredError}
|
|
1833
1978
|
*/
|
|
1834
1979
|
getRfqNonce(requestParameters, options) {
|
|
1835
|
-
return localVarFp.getRfqNonce(requestParameters.owner, requestParameters.chainId, options).then((request) => request(axios, basePath));
|
|
1980
|
+
return localVarFp.getRfqNonce(requestParameters.owner, requestParameters.chainId, requestParameters.contract, options).then((request) => request(axios, basePath));
|
|
1836
1981
|
},
|
|
1837
1982
|
/**
|
|
1838
1983
|
*
|
|
@@ -1841,7 +1986,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1841
1986
|
* @throws {RequiredError}
|
|
1842
1987
|
*/
|
|
1843
1988
|
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.
|
|
1989
|
+
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
1990
|
},
|
|
1846
1991
|
/**
|
|
1847
1992
|
*
|
|
@@ -1850,16 +1995,16 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1850
1995
|
* @throws {RequiredError}
|
|
1851
1996
|
*/
|
|
1852
1997
|
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));
|
|
1998
|
+
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
1999
|
},
|
|
1855
2000
|
/**
|
|
1856
2001
|
*
|
|
1857
|
-
* @param {
|
|
2002
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
1858
2003
|
* @param {*} [options] Override http request option.
|
|
1859
2004
|
* @throws {RequiredError}
|
|
1860
2005
|
*/
|
|
1861
|
-
|
|
1862
|
-
return localVarFp.
|
|
2006
|
+
getSealContracts(requestParameters = {}, options) {
|
|
2007
|
+
return localVarFp.getSealContracts(requestParameters.chainId, options).then((request) => request(axios, basePath));
|
|
1863
2008
|
},
|
|
1864
2009
|
/**
|
|
1865
2010
|
*
|
|
@@ -1868,7 +2013,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1868
2013
|
* @throws {RequiredError}
|
|
1869
2014
|
*/
|
|
1870
2015
|
getTokenPermitApprovals(requestParameters, options) {
|
|
1871
|
-
return localVarFp.getTokenPermitApprovals(requestParameters.owner, requestParameters.chainId, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
2016
|
+
return localVarFp.getTokenPermitApprovals(requestParameters.owner, requestParameters.spender, requestParameters.chainId, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
1872
2017
|
},
|
|
1873
2018
|
/**
|
|
1874
2019
|
*
|
|
@@ -1894,7 +2039,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1894
2039
|
* @throws {RequiredError}
|
|
1895
2040
|
*/
|
|
1896
2041
|
issueGreenlight(requestParameters = {}, options) {
|
|
1897
|
-
return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
|
|
2042
|
+
return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.sealContract, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
|
|
1898
2043
|
},
|
|
1899
2044
|
/**
|
|
1900
2045
|
*
|
|
@@ -1922,7 +2067,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
1922
2067
|
* @memberof SealClient
|
|
1923
2068
|
*/
|
|
1924
2069
|
calculateRequiredPermit(requestParameters, options) {
|
|
1925
|
-
return (0, exports.SealClientFp)(this.configuration).calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(this.axios, this.basePath));
|
|
2070
|
+
return (0, exports.SealClientFp)(this.configuration).calculateRequiredPermit(requestParameters.chainId, requestParameters.owner, requestParameters.spender, requestParameters.token, requestParameters.orderAmount, requestParameters.orderExpiration, options).then((request) => request(this.axios, this.basePath));
|
|
1926
2071
|
}
|
|
1927
2072
|
/**
|
|
1928
2073
|
*
|
|
@@ -2031,7 +2176,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2031
2176
|
* @memberof SealClient
|
|
2032
2177
|
*/
|
|
2033
2178
|
getOrderNonce(requestParameters, options) {
|
|
2034
|
-
return (0, exports.SealClientFp)(this.configuration).getOrderNonce(requestParameters.chainId, requestParameters.owner, options).then((request) => request(this.axios, this.basePath));
|
|
2179
|
+
return (0, exports.SealClientFp)(this.configuration).getOrderNonce(requestParameters.chainId, requestParameters.owner, requestParameters.contract, options).then((request) => request(this.axios, this.basePath));
|
|
2035
2180
|
}
|
|
2036
2181
|
/**
|
|
2037
2182
|
*
|
|
@@ -2051,7 +2196,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2051
2196
|
* @memberof SealClient
|
|
2052
2197
|
*/
|
|
2053
2198
|
getOrders(requestParameters = {}, options) {
|
|
2054
|
-
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2199
|
+
return (0, exports.SealClientFp)(this.configuration).getOrders(requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.owner, requestParameters.fromPrice, requestParameters.toPrice, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.reservationAllowedValue, requestParameters.liveValue, requestParameters.cancelledValue, requestParameters.depositToken, requestParameters.minReservationPeriodSeconds, requestParameters.minRemainingAmount, requestParameters.minPriceMargin, requestParameters.maxPriceMargin, requestParameters.maxReservationDepositPerStable, requestParameters.minRemainingAmountStableTerms, requestParameters.onChainValue, requestParameters.id, requestParameters.contractId, options).then((request) => request(this.axios, this.basePath));
|
|
2055
2200
|
}
|
|
2056
2201
|
/**
|
|
2057
2202
|
*
|
|
@@ -2073,6 +2218,15 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2073
2218
|
getPairs(requestParameters = {}, options) {
|
|
2074
2219
|
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));
|
|
2075
2220
|
}
|
|
2221
|
+
/**
|
|
2222
|
+
*
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
* @memberof SealClient
|
|
2226
|
+
*/
|
|
2227
|
+
getPermit2Contracts(options) {
|
|
2228
|
+
return (0, exports.SealClientFp)(this.configuration).getPermit2Contracts(options).then((request) => request(this.axios, this.basePath));
|
|
2229
|
+
}
|
|
2076
2230
|
/**
|
|
2077
2231
|
*
|
|
2078
2232
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -2081,7 +2235,17 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2081
2235
|
* @memberof SealClient
|
|
2082
2236
|
*/
|
|
2083
2237
|
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));
|
|
2238
|
+
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));
|
|
2239
|
+
}
|
|
2240
|
+
/**
|
|
2241
|
+
*
|
|
2242
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
2243
|
+
* @param {*} [options] Override http request option.
|
|
2244
|
+
* @throws {RequiredError}
|
|
2245
|
+
* @memberof SealClient
|
|
2246
|
+
*/
|
|
2247
|
+
getRfqContracts(requestParameters = {}, options) {
|
|
2248
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqContracts(requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
|
|
2085
2249
|
}
|
|
2086
2250
|
/**
|
|
2087
2251
|
*
|
|
@@ -2091,7 +2255,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2091
2255
|
* @memberof SealClient
|
|
2092
2256
|
*/
|
|
2093
2257
|
getRfqNonce(requestParameters, options) {
|
|
2094
|
-
return (0, exports.SealClientFp)(this.configuration).getRfqNonce(requestParameters.owner, requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
|
|
2258
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqNonce(requestParameters.owner, requestParameters.chainId, requestParameters.contract, options).then((request) => request(this.axios, this.basePath));
|
|
2095
2259
|
}
|
|
2096
2260
|
/**
|
|
2097
2261
|
*
|
|
@@ -2101,7 +2265,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2101
2265
|
* @memberof SealClient
|
|
2102
2266
|
*/
|
|
2103
2267
|
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.
|
|
2268
|
+
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
2269
|
}
|
|
2106
2270
|
/**
|
|
2107
2271
|
*
|
|
@@ -2111,17 +2275,17 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2111
2275
|
* @memberof SealClient
|
|
2112
2276
|
*/
|
|
2113
2277
|
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));
|
|
2278
|
+
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
2279
|
}
|
|
2116
2280
|
/**
|
|
2117
2281
|
*
|
|
2118
|
-
* @param {
|
|
2282
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
2119
2283
|
* @param {*} [options] Override http request option.
|
|
2120
2284
|
* @throws {RequiredError}
|
|
2121
2285
|
* @memberof SealClient
|
|
2122
2286
|
*/
|
|
2123
|
-
|
|
2124
|
-
return (0, exports.SealClientFp)(this.configuration).
|
|
2287
|
+
getSealContracts(requestParameters = {}, options) {
|
|
2288
|
+
return (0, exports.SealClientFp)(this.configuration).getSealContracts(requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
|
|
2125
2289
|
}
|
|
2126
2290
|
/**
|
|
2127
2291
|
*
|
|
@@ -2131,7 +2295,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2131
2295
|
* @memberof SealClient
|
|
2132
2296
|
*/
|
|
2133
2297
|
getTokenPermitApprovals(requestParameters, options) {
|
|
2134
|
-
return (0, exports.SealClientFp)(this.configuration).getTokenPermitApprovals(requestParameters.owner, requestParameters.chainId, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
2298
|
+
return (0, exports.SealClientFp)(this.configuration).getTokenPermitApprovals(requestParameters.owner, requestParameters.spender, requestParameters.chainId, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
2135
2299
|
}
|
|
2136
2300
|
/**
|
|
2137
2301
|
*
|
|
@@ -2160,7 +2324,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2160
2324
|
* @memberof SealClient
|
|
2161
2325
|
*/
|
|
2162
2326
|
issueGreenlight(requestParameters = {}, options) {
|
|
2163
|
-
return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
|
|
2327
|
+
return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.sealContract, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
|
|
2164
2328
|
}
|
|
2165
2329
|
/**
|
|
2166
2330
|
*
|
|
@@ -2295,6 +2459,8 @@ var GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
|
2295
2459
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
|
|
2296
2460
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
|
|
2297
2461
|
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
|
|
2462
|
+
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyOwner"] = "TokenPermitApprovalsOrderByProperty_OWNER";
|
|
2463
|
+
GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertySpender"] = "TokenPermitApprovalsOrderByProperty_SPENDER";
|
|
2298
2464
|
})(GetTokenPermitApprovalsOrderByPropertyEnum || (exports.GetTokenPermitApprovalsOrderByPropertyEnum = GetTokenPermitApprovalsOrderByPropertyEnum = {}));
|
|
2299
2465
|
/**
|
|
2300
2466
|
* @export
|