@seal-protocol/backendjs 0.0.110 → 0.0.122
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 +163 -2
- package/lib/codegen/api/seal-client.js +206 -5
- package/lib/codegen/model/index.d.ts +3 -0
- package/lib/codegen/model/index.js +3 -0
- package/lib/codegen/model/seal-add-rfq-request-viewer-request.d.ts +36 -0
- package/lib/codegen/model/seal-add-rfq-request-viewer-request.js +15 -0
- package/lib/codegen/model/seal-cancel-order-request.d.ts +2 -2
- package/lib/codegen/model/seal-create-rfq-quote-request.d.ts +18 -0
- package/lib/codegen/model/seal-create-rfq-request-request.d.ts +6 -0
- package/lib/codegen/model/seal-get-rfq-request-viewers-response.d.ts +30 -0
- package/lib/codegen/model/seal-get-rfq-request-viewers-response.js +15 -0
- package/lib/codegen/model/seal-order-reservation.d.ts +6 -0
- package/lib/codegen/model/seal-remove-rfq-request-viewer-request.d.ts +36 -0
- package/lib/codegen/model/seal-remove-rfq-request-viewer-request.js +15 -0
- package/lib/codegen/model/seal-rfq-commitment.d.ts +24 -6
- package/lib/codegen/model/seal-rfq-contract.d.ts +6 -0
- package/lib/codegen/model/seal-rfq-quote.d.ts +18 -0
- package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SealAddRfqRequestViewerRequest } from '../model';
|
|
15
16
|
import type { SealCalculateRequiredPermitResponse } from '../model';
|
|
16
17
|
import type { SealCancelOrderRequest } from '../model';
|
|
17
18
|
import type { SealCreateExecutionMessageRequest } from '../model';
|
|
@@ -38,17 +39,26 @@ import type { SealGetRfqCommitmentResponse } from '../model';
|
|
|
38
39
|
import type { SealGetRfqContractsResponse } from '../model';
|
|
39
40
|
import type { SealGetRfqNonceResponse } from '../model';
|
|
40
41
|
import type { SealGetRfqQuotesResponse } from '../model';
|
|
42
|
+
import type { SealGetRfqRequestViewersResponse } from '../model';
|
|
41
43
|
import type { SealGetRfqRequestsResponse } from '../model';
|
|
42
44
|
import type { SealGetSealContractsResponse } from '../model';
|
|
43
45
|
import type { SealGetSyncStateResponse } from '../model';
|
|
44
46
|
import type { SealGetTokenPermitApprovalsResponse } from '../model';
|
|
45
47
|
import type { SealGetTokensResponse } from '../model';
|
|
46
48
|
import type { SealIssueGreenlightResponse } from '../model';
|
|
49
|
+
import type { SealRemoveRfqRequestViewerRequest } from '../model';
|
|
47
50
|
/**
|
|
48
51
|
* SealClient - axios parameter creator
|
|
49
52
|
* @export
|
|
50
53
|
*/
|
|
51
54
|
export declare const SealClientAxiosParamCreator: (configuration?: Configuration) => {
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
addRfqRequestViewer: (body: SealAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
62
|
/**
|
|
53
63
|
*
|
|
54
64
|
* @param {string} chainId
|
|
@@ -284,6 +294,16 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
284
294
|
* @throws {RequiredError}
|
|
285
295
|
*/
|
|
286
296
|
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>;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @param {string} requestId
|
|
300
|
+
* @param {string} [paginationKey]
|
|
301
|
+
* @param {number} [paginationLimit]
|
|
302
|
+
* @param {boolean} [paginationCountTotal]
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
getRfqRequestViewers: (requestId: string, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
287
307
|
/**
|
|
288
308
|
*
|
|
289
309
|
* @param {string} [paginationKey]
|
|
@@ -303,10 +323,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
303
323
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
304
324
|
* @param {string} [excludedOfferer] TODO requires join
|
|
305
325
|
* @param {boolean} [hasCommitmentValue]
|
|
326
|
+
* @param {boolean} [privateValue]
|
|
306
327
|
* @param {*} [options] Override http request option.
|
|
307
328
|
* @throws {RequiredError}
|
|
308
329
|
*/
|
|
309
|
-
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>;
|
|
330
|
+
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, privateValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
310
331
|
/**
|
|
311
332
|
*
|
|
312
333
|
* @param {string} [chainId]
|
|
@@ -358,6 +379,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
358
379
|
* @throws {RequiredError}
|
|
359
380
|
*/
|
|
360
381
|
issueGreenlight: (chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
removeRfqRequestViewer: (body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
361
389
|
/**
|
|
362
390
|
*
|
|
363
391
|
* @param {*} [options] Override http request option.
|
|
@@ -370,6 +398,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
370
398
|
* @export
|
|
371
399
|
*/
|
|
372
400
|
export declare const SealClientFp: (configuration?: Configuration) => {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
addRfqRequestViewer(body: SealAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
373
408
|
/**
|
|
374
409
|
*
|
|
375
410
|
* @param {string} chainId
|
|
@@ -605,6 +640,16 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
605
640
|
* @throws {RequiredError}
|
|
606
641
|
*/
|
|
607
642
|
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>>;
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @param {string} requestId
|
|
646
|
+
* @param {string} [paginationKey]
|
|
647
|
+
* @param {number} [paginationLimit]
|
|
648
|
+
* @param {boolean} [paginationCountTotal]
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
getRfqRequestViewers(requestId: string, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestViewersResponse>>;
|
|
608
653
|
/**
|
|
609
654
|
*
|
|
610
655
|
* @param {string} [paginationKey]
|
|
@@ -624,10 +669,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
624
669
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
625
670
|
* @param {string} [excludedOfferer] TODO requires join
|
|
626
671
|
* @param {boolean} [hasCommitmentValue]
|
|
672
|
+
* @param {boolean} [privateValue]
|
|
627
673
|
* @param {*} [options] Override http request option.
|
|
628
674
|
* @throws {RequiredError}
|
|
629
675
|
*/
|
|
630
|
-
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>>;
|
|
676
|
+
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, privateValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
631
677
|
/**
|
|
632
678
|
*
|
|
633
679
|
* @param {string} [chainId]
|
|
@@ -679,6 +725,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
679
725
|
* @throws {RequiredError}
|
|
680
726
|
*/
|
|
681
727
|
issueGreenlight(chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
removeRfqRequestViewer(body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
682
735
|
/**
|
|
683
736
|
*
|
|
684
737
|
* @param {*} [options] Override http request option.
|
|
@@ -691,6 +744,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
691
744
|
* @export
|
|
692
745
|
*/
|
|
693
746
|
export declare const SealClientFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
addRfqRequestViewer(requestParameters: SealClientAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
694
754
|
/**
|
|
695
755
|
*
|
|
696
756
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -836,6 +896,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
836
896
|
* @throws {RequiredError}
|
|
837
897
|
*/
|
|
838
898
|
getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqQuotesResponse>;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
getRfqRequestViewers(requestParameters: SealClientGetRfqRequestViewersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestViewersResponse>;
|
|
839
906
|
/**
|
|
840
907
|
*
|
|
841
908
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -877,6 +944,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
877
944
|
* @throws {RequiredError}
|
|
878
945
|
*/
|
|
879
946
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
880
954
|
/**
|
|
881
955
|
*
|
|
882
956
|
* @param {*} [options] Override http request option.
|
|
@@ -884,6 +958,19 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
884
958
|
*/
|
|
885
959
|
syncState(options?: RawAxiosRequestConfig): AxiosPromise<SealGetSyncStateResponse>;
|
|
886
960
|
};
|
|
961
|
+
/**
|
|
962
|
+
* Request parameters for addRfqRequestViewer operation in SealClient.
|
|
963
|
+
* @export
|
|
964
|
+
* @interface SealClientAddRfqRequestViewerRequest
|
|
965
|
+
*/
|
|
966
|
+
export interface SealClientAddRfqRequestViewerRequest {
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {SealAddRfqRequestViewerRequest}
|
|
970
|
+
* @memberof SealClientAddRfqRequestViewer
|
|
971
|
+
*/
|
|
972
|
+
readonly body: SealAddRfqRequestViewerRequest;
|
|
973
|
+
}
|
|
887
974
|
/**
|
|
888
975
|
* Request parameters for calculateRequiredPermit operation in SealClient.
|
|
889
976
|
* @export
|
|
@@ -1671,6 +1758,37 @@ export interface SealClientGetRfqQuotesRequest {
|
|
|
1671
1758
|
*/
|
|
1672
1759
|
readonly deadlineAfter?: number;
|
|
1673
1760
|
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Request parameters for getRfqRequestViewers operation in SealClient.
|
|
1763
|
+
* @export
|
|
1764
|
+
* @interface SealClientGetRfqRequestViewersRequest
|
|
1765
|
+
*/
|
|
1766
|
+
export interface SealClientGetRfqRequestViewersRequest {
|
|
1767
|
+
/**
|
|
1768
|
+
*
|
|
1769
|
+
* @type {string}
|
|
1770
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1771
|
+
*/
|
|
1772
|
+
readonly requestId: string;
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @type {string}
|
|
1776
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1777
|
+
*/
|
|
1778
|
+
readonly paginationKey?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {number}
|
|
1782
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1783
|
+
*/
|
|
1784
|
+
readonly paginationLimit?: number;
|
|
1785
|
+
/**
|
|
1786
|
+
*
|
|
1787
|
+
* @type {boolean}
|
|
1788
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1789
|
+
*/
|
|
1790
|
+
readonly paginationCountTotal?: boolean;
|
|
1791
|
+
}
|
|
1674
1792
|
/**
|
|
1675
1793
|
* Request parameters for getRfqRequests operation in SealClient.
|
|
1676
1794
|
* @export
|
|
@@ -1779,6 +1897,12 @@ export interface SealClientGetRfqRequestsRequest {
|
|
|
1779
1897
|
* @memberof SealClientGetRfqRequests
|
|
1780
1898
|
*/
|
|
1781
1899
|
readonly hasCommitmentValue?: boolean;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {boolean}
|
|
1903
|
+
* @memberof SealClientGetRfqRequests
|
|
1904
|
+
*/
|
|
1905
|
+
readonly privateValue?: boolean;
|
|
1782
1906
|
}
|
|
1783
1907
|
/**
|
|
1784
1908
|
* Request parameters for getSealContracts operation in SealClient.
|
|
@@ -1934,6 +2058,19 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1934
2058
|
*/
|
|
1935
2059
|
readonly requestHash?: string;
|
|
1936
2060
|
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Request parameters for removeRfqRequestViewer operation in SealClient.
|
|
2063
|
+
* @export
|
|
2064
|
+
* @interface SealClientRemoveRfqRequestViewerRequest
|
|
2065
|
+
*/
|
|
2066
|
+
export interface SealClientRemoveRfqRequestViewerRequest {
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @type {SealRemoveRfqRequestViewerRequest}
|
|
2070
|
+
* @memberof SealClientRemoveRfqRequestViewer
|
|
2071
|
+
*/
|
|
2072
|
+
readonly body: SealRemoveRfqRequestViewerRequest;
|
|
2073
|
+
}
|
|
1937
2074
|
/**
|
|
1938
2075
|
* SealClient - object-oriented interface
|
|
1939
2076
|
* @export
|
|
@@ -1941,6 +2078,14 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1941
2078
|
* @extends {BaseAPI}
|
|
1942
2079
|
*/
|
|
1943
2080
|
export declare class SealClient extends BaseAPI {
|
|
2081
|
+
/**
|
|
2082
|
+
*
|
|
2083
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
* @memberof SealClient
|
|
2087
|
+
*/
|
|
2088
|
+
addRfqRequestViewer(requestParameters: SealClientAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1944
2089
|
/**
|
|
1945
2090
|
*
|
|
1946
2091
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -2107,6 +2252,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2107
2252
|
* @memberof SealClient
|
|
2108
2253
|
*/
|
|
2109
2254
|
getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqQuotesResponse, any, {}>>;
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
2258
|
+
* @param {*} [options] Override http request option.
|
|
2259
|
+
* @throws {RequiredError}
|
|
2260
|
+
* @memberof SealClient
|
|
2261
|
+
*/
|
|
2262
|
+
getRfqRequestViewers(requestParameters: SealClientGetRfqRequestViewersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestViewersResponse, any, {}>>;
|
|
2110
2263
|
/**
|
|
2111
2264
|
*
|
|
2112
2265
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -2154,6 +2307,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2154
2307
|
* @memberof SealClient
|
|
2155
2308
|
*/
|
|
2156
2309
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any, {}>>;
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2313
|
+
* @param {*} [options] Override http request option.
|
|
2314
|
+
* @throws {RequiredError}
|
|
2315
|
+
* @memberof SealClient
|
|
2316
|
+
*/
|
|
2317
|
+
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2157
2318
|
/**
|
|
2158
2319
|
*
|
|
2159
2320
|
* @param {*} [options] Override http request option.
|
|
@@ -29,6 +29,35 @@ const base_1 = require("../base");
|
|
|
29
29
|
*/
|
|
30
30
|
const SealClientAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
addRfqRequestViewer: async (body, options = {}) => {
|
|
39
|
+
// verify required parameter 'body' is not null or undefined
|
|
40
|
+
(0, common_1.assertParamExists)('addRfqRequestViewer', 'body', body);
|
|
41
|
+
const localVarPath = `/seal/rfq/request/viewer/add`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
52
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
55
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
56
|
+
return {
|
|
57
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58
|
+
options: localVarRequestOptions,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
32
61
|
/**
|
|
33
62
|
*
|
|
34
63
|
* @param {string} chainId
|
|
@@ -1002,6 +1031,48 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1002
1031
|
options: localVarRequestOptions,
|
|
1003
1032
|
};
|
|
1004
1033
|
},
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @param {string} requestId
|
|
1037
|
+
* @param {string} [paginationKey]
|
|
1038
|
+
* @param {number} [paginationLimit]
|
|
1039
|
+
* @param {boolean} [paginationCountTotal]
|
|
1040
|
+
* @param {*} [options] Override http request option.
|
|
1041
|
+
* @throws {RequiredError}
|
|
1042
|
+
*/
|
|
1043
|
+
getRfqRequestViewers: async (requestId, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
|
|
1044
|
+
// verify required parameter 'requestId' is not null or undefined
|
|
1045
|
+
(0, common_1.assertParamExists)('getRfqRequestViewers', 'requestId', requestId);
|
|
1046
|
+
const localVarPath = `/seal/rfq/request/viewers`;
|
|
1047
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1048
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1049
|
+
let baseOptions;
|
|
1050
|
+
if (configuration) {
|
|
1051
|
+
baseOptions = configuration.baseOptions;
|
|
1052
|
+
}
|
|
1053
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1054
|
+
const localVarHeaderParameter = {};
|
|
1055
|
+
const localVarQueryParameter = {};
|
|
1056
|
+
if (requestId !== undefined) {
|
|
1057
|
+
localVarQueryParameter['requestId'] = requestId;
|
|
1058
|
+
}
|
|
1059
|
+
if (paginationKey !== undefined) {
|
|
1060
|
+
localVarQueryParameter['pagination.key'] = paginationKey;
|
|
1061
|
+
}
|
|
1062
|
+
if (paginationLimit !== undefined) {
|
|
1063
|
+
localVarQueryParameter['pagination.limit'] = paginationLimit;
|
|
1064
|
+
}
|
|
1065
|
+
if (paginationCountTotal !== undefined) {
|
|
1066
|
+
localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
|
|
1067
|
+
}
|
|
1068
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1069
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1070
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1071
|
+
return {
|
|
1072
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1073
|
+
options: localVarRequestOptions,
|
|
1074
|
+
};
|
|
1075
|
+
},
|
|
1005
1076
|
/**
|
|
1006
1077
|
*
|
|
1007
1078
|
* @param {string} [paginationKey]
|
|
@@ -1021,10 +1092,11 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1021
1092
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
1022
1093
|
* @param {string} [excludedOfferer] TODO requires join
|
|
1023
1094
|
* @param {boolean} [hasCommitmentValue]
|
|
1095
|
+
* @param {boolean} [privateValue]
|
|
1024
1096
|
* @param {*} [options] Override http request option.
|
|
1025
1097
|
* @throws {RequiredError}
|
|
1026
1098
|
*/
|
|
1027
|
-
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, options = {}) => {
|
|
1099
|
+
getRfqRequests: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, privateValue, options = {}) => {
|
|
1028
1100
|
const localVarPath = `/seal/rfq/requests`;
|
|
1029
1101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1030
1102
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1086,6 +1158,9 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1086
1158
|
if (hasCommitmentValue !== undefined) {
|
|
1087
1159
|
localVarQueryParameter['hasCommitment.value'] = hasCommitmentValue;
|
|
1088
1160
|
}
|
|
1161
|
+
if (privateValue !== undefined) {
|
|
1162
|
+
localVarQueryParameter['private.value'] = privateValue;
|
|
1163
|
+
}
|
|
1089
1164
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1090
1165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1091
1166
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1302,6 +1377,35 @@ const SealClientAxiosParamCreator = function (configuration) {
|
|
|
1302
1377
|
options: localVarRequestOptions,
|
|
1303
1378
|
};
|
|
1304
1379
|
},
|
|
1380
|
+
/**
|
|
1381
|
+
*
|
|
1382
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
1383
|
+
* @param {*} [options] Override http request option.
|
|
1384
|
+
* @throws {RequiredError}
|
|
1385
|
+
*/
|
|
1386
|
+
removeRfqRequestViewer: async (body, options = {}) => {
|
|
1387
|
+
// verify required parameter 'body' is not null or undefined
|
|
1388
|
+
(0, common_1.assertParamExists)('removeRfqRequestViewer', 'body', body);
|
|
1389
|
+
const localVarPath = `/seal/rfq/request/viewer/remove`;
|
|
1390
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1391
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1392
|
+
let baseOptions;
|
|
1393
|
+
if (configuration) {
|
|
1394
|
+
baseOptions = configuration.baseOptions;
|
|
1395
|
+
}
|
|
1396
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1397
|
+
const localVarHeaderParameter = {};
|
|
1398
|
+
const localVarQueryParameter = {};
|
|
1399
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1400
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1402
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1403
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1404
|
+
return {
|
|
1405
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1406
|
+
options: localVarRequestOptions,
|
|
1407
|
+
};
|
|
1408
|
+
},
|
|
1305
1409
|
/**
|
|
1306
1410
|
*
|
|
1307
1411
|
* @param {*} [options] Override http request option.
|
|
@@ -1336,6 +1440,18 @@ exports.SealClientAxiosParamCreator = SealClientAxiosParamCreator;
|
|
|
1336
1440
|
const SealClientFp = function (configuration) {
|
|
1337
1441
|
const localVarAxiosParamCreator = (0, exports.SealClientAxiosParamCreator)(configuration);
|
|
1338
1442
|
return {
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
1446
|
+
* @param {*} [options] Override http request option.
|
|
1447
|
+
* @throws {RequiredError}
|
|
1448
|
+
*/
|
|
1449
|
+
async addRfqRequestViewer(body, options) {
|
|
1450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addRfqRequestViewer(body, options);
|
|
1451
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1452
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.addRfqRequestViewer']?.[localVarOperationServerIndex]?.url;
|
|
1453
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1454
|
+
},
|
|
1339
1455
|
/**
|
|
1340
1456
|
*
|
|
1341
1457
|
* @param {string} chainId
|
|
@@ -1676,6 +1792,21 @@ const SealClientFp = function (configuration) {
|
|
|
1676
1792
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqQuotes']?.[localVarOperationServerIndex]?.url;
|
|
1677
1793
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1678
1794
|
},
|
|
1795
|
+
/**
|
|
1796
|
+
*
|
|
1797
|
+
* @param {string} requestId
|
|
1798
|
+
* @param {string} [paginationKey]
|
|
1799
|
+
* @param {number} [paginationLimit]
|
|
1800
|
+
* @param {boolean} [paginationCountTotal]
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
async getRfqRequestViewers(requestId, paginationKey, paginationLimit, paginationCountTotal, options) {
|
|
1805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequestViewers(requestId, paginationKey, paginationLimit, paginationCountTotal, options);
|
|
1806
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1807
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequestViewers']?.[localVarOperationServerIndex]?.url;
|
|
1808
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1809
|
+
},
|
|
1679
1810
|
/**
|
|
1680
1811
|
*
|
|
1681
1812
|
* @param {string} [paginationKey]
|
|
@@ -1695,11 +1826,12 @@ const SealClientFp = function (configuration) {
|
|
|
1695
1826
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
1696
1827
|
* @param {string} [excludedOfferer] TODO requires join
|
|
1697
1828
|
* @param {boolean} [hasCommitmentValue]
|
|
1829
|
+
* @param {boolean} [privateValue]
|
|
1698
1830
|
* @param {*} [options] Override http request option.
|
|
1699
1831
|
* @throws {RequiredError}
|
|
1700
1832
|
*/
|
|
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);
|
|
1833
|
+
async getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, privateValue, options) {
|
|
1834
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRfqRequests(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, id, chainId, requester, tokenIn, tokenOut, creationTimeAfter, requestDeadlineAfter, depositToken, minDepositLessThan, minDepositPerStableLessThan, excludedOfferer, hasCommitmentValue, privateValue, options);
|
|
1703
1835
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1704
1836
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getRfqRequests']?.[localVarOperationServerIndex]?.url;
|
|
1705
1837
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1780,6 +1912,18 @@ const SealClientFp = function (configuration) {
|
|
|
1780
1912
|
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
|
|
1781
1913
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1782
1914
|
},
|
|
1915
|
+
/**
|
|
1916
|
+
*
|
|
1917
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
1918
|
+
* @param {*} [options] Override http request option.
|
|
1919
|
+
* @throws {RequiredError}
|
|
1920
|
+
*/
|
|
1921
|
+
async removeRfqRequestViewer(body, options) {
|
|
1922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeRfqRequestViewer(body, options);
|
|
1923
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1924
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.removeRfqRequestViewer']?.[localVarOperationServerIndex]?.url;
|
|
1925
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1926
|
+
},
|
|
1783
1927
|
/**
|
|
1784
1928
|
*
|
|
1785
1929
|
* @param {*} [options] Override http request option.
|
|
@@ -1801,6 +1945,15 @@ exports.SealClientFp = SealClientFp;
|
|
|
1801
1945
|
const SealClientFactory = function (configuration, basePath, axios) {
|
|
1802
1946
|
const localVarFp = (0, exports.SealClientFp)(configuration);
|
|
1803
1947
|
return {
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
1951
|
+
* @param {*} [options] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
1953
|
+
*/
|
|
1954
|
+
addRfqRequestViewer(requestParameters, options) {
|
|
1955
|
+
return localVarFp.addRfqRequestViewer(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1956
|
+
},
|
|
1804
1957
|
/**
|
|
1805
1958
|
*
|
|
1806
1959
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -1988,6 +2141,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1988
2141
|
getRfqQuotes(requestParameters, options) {
|
|
1989
2142
|
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));
|
|
1990
2143
|
},
|
|
2144
|
+
/**
|
|
2145
|
+
*
|
|
2146
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
*/
|
|
2150
|
+
getRfqRequestViewers(requestParameters, options) {
|
|
2151
|
+
return localVarFp.getRfqRequestViewers(requestParameters.requestId, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
|
|
2152
|
+
},
|
|
1991
2153
|
/**
|
|
1992
2154
|
*
|
|
1993
2155
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -1995,7 +2157,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
1995
2157
|
* @throws {RequiredError}
|
|
1996
2158
|
*/
|
|
1997
2159
|
getRfqRequests(requestParameters = {}, options) {
|
|
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));
|
|
2160
|
+
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, requestParameters.privateValue, options).then((request) => request(axios, basePath));
|
|
1999
2161
|
},
|
|
2000
2162
|
/**
|
|
2001
2163
|
*
|
|
@@ -2041,6 +2203,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
|
|
|
2041
2203
|
issueGreenlight(requestParameters = {}, options) {
|
|
2042
2204
|
return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.sealContract, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
|
|
2043
2205
|
},
|
|
2206
|
+
/**
|
|
2207
|
+
*
|
|
2208
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2209
|
+
* @param {*} [options] Override http request option.
|
|
2210
|
+
* @throws {RequiredError}
|
|
2211
|
+
*/
|
|
2212
|
+
removeRfqRequestViewer(requestParameters, options) {
|
|
2213
|
+
return localVarFp.removeRfqRequestViewer(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2214
|
+
},
|
|
2044
2215
|
/**
|
|
2045
2216
|
*
|
|
2046
2217
|
* @param {*} [options] Override http request option.
|
|
@@ -2059,6 +2230,16 @@ exports.SealClientFactory = SealClientFactory;
|
|
|
2059
2230
|
* @extends {BaseAPI}
|
|
2060
2231
|
*/
|
|
2061
2232
|
class SealClient extends base_1.BaseAPI {
|
|
2233
|
+
/**
|
|
2234
|
+
*
|
|
2235
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2236
|
+
* @param {*} [options] Override http request option.
|
|
2237
|
+
* @throws {RequiredError}
|
|
2238
|
+
* @memberof SealClient
|
|
2239
|
+
*/
|
|
2240
|
+
addRfqRequestViewer(requestParameters, options) {
|
|
2241
|
+
return (0, exports.SealClientFp)(this.configuration).addRfqRequestViewer(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2242
|
+
}
|
|
2062
2243
|
/**
|
|
2063
2244
|
*
|
|
2064
2245
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -2267,6 +2448,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2267
2448
|
getRfqQuotes(requestParameters, options) {
|
|
2268
2449
|
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));
|
|
2269
2450
|
}
|
|
2451
|
+
/**
|
|
2452
|
+
*
|
|
2453
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
2454
|
+
* @param {*} [options] Override http request option.
|
|
2455
|
+
* @throws {RequiredError}
|
|
2456
|
+
* @memberof SealClient
|
|
2457
|
+
*/
|
|
2458
|
+
getRfqRequestViewers(requestParameters, options) {
|
|
2459
|
+
return (0, exports.SealClientFp)(this.configuration).getRfqRequestViewers(requestParameters.requestId, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
|
|
2460
|
+
}
|
|
2270
2461
|
/**
|
|
2271
2462
|
*
|
|
2272
2463
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -2275,7 +2466,7 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2275
2466
|
* @memberof SealClient
|
|
2276
2467
|
*/
|
|
2277
2468
|
getRfqRequests(requestParameters = {}, options) {
|
|
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));
|
|
2469
|
+
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, requestParameters.privateValue, options).then((request) => request(this.axios, this.basePath));
|
|
2279
2470
|
}
|
|
2280
2471
|
/**
|
|
2281
2472
|
*
|
|
@@ -2326,6 +2517,16 @@ class SealClient extends base_1.BaseAPI {
|
|
|
2326
2517
|
issueGreenlight(requestParameters = {}, options) {
|
|
2327
2518
|
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));
|
|
2328
2519
|
}
|
|
2520
|
+
/**
|
|
2521
|
+
*
|
|
2522
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2523
|
+
* @param {*} [options] Override http request option.
|
|
2524
|
+
* @throws {RequiredError}
|
|
2525
|
+
* @memberof SealClient
|
|
2526
|
+
*/
|
|
2527
|
+
removeRfqRequestViewer(requestParameters, options) {
|
|
2528
|
+
return (0, exports.SealClientFp)(this.configuration).removeRfqRequestViewer(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2529
|
+
}
|
|
2329
2530
|
/**
|
|
2330
2531
|
*
|
|
2331
2532
|
* @param {*} [options] Override http request option.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './protobuf-any';
|
|
2
2
|
export * from './rpc-status';
|
|
3
|
+
export * from './seal-add-rfq-request-viewer-request';
|
|
3
4
|
export * from './seal-approval-type';
|
|
4
5
|
export * from './seal-calculate-required-permit-response';
|
|
5
6
|
export * from './seal-cancel-order-request';
|
|
@@ -36,6 +37,7 @@ export * from './seal-get-rfq-commitment-response';
|
|
|
36
37
|
export * from './seal-get-rfq-contracts-response';
|
|
37
38
|
export * from './seal-get-rfq-nonce-response';
|
|
38
39
|
export * from './seal-get-rfq-quotes-response';
|
|
40
|
+
export * from './seal-get-rfq-request-viewers-response';
|
|
39
41
|
export * from './seal-get-rfq-requests-response';
|
|
40
42
|
export * from './seal-get-seal-contracts-response';
|
|
41
43
|
export * from './seal-get-sync-state-response';
|
|
@@ -58,6 +60,7 @@ export * from './seal-pair';
|
|
|
58
60
|
export * from './seal-pairs-order-by';
|
|
59
61
|
export * from './seal-pairs-order-by-property';
|
|
60
62
|
export * from './seal-permit2-contract';
|
|
63
|
+
export * from './seal-remove-rfq-request-viewer-request';
|
|
61
64
|
export * from './seal-reservation-request';
|
|
62
65
|
export * from './seal-reservation-settlement-request';
|
|
63
66
|
export * from './seal-rfq-commitment';
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./protobuf-any"), exports);
|
|
18
18
|
__exportStar(require("./rpc-status"), exports);
|
|
19
|
+
__exportStar(require("./seal-add-rfq-request-viewer-request"), exports);
|
|
19
20
|
__exportStar(require("./seal-approval-type"), exports);
|
|
20
21
|
__exportStar(require("./seal-calculate-required-permit-response"), exports);
|
|
21
22
|
__exportStar(require("./seal-cancel-order-request"), exports);
|
|
@@ -52,6 +53,7 @@ __exportStar(require("./seal-get-rfq-commitment-response"), exports);
|
|
|
52
53
|
__exportStar(require("./seal-get-rfq-contracts-response"), exports);
|
|
53
54
|
__exportStar(require("./seal-get-rfq-nonce-response"), exports);
|
|
54
55
|
__exportStar(require("./seal-get-rfq-quotes-response"), exports);
|
|
56
|
+
__exportStar(require("./seal-get-rfq-request-viewers-response"), exports);
|
|
55
57
|
__exportStar(require("./seal-get-rfq-requests-response"), exports);
|
|
56
58
|
__exportStar(require("./seal-get-seal-contracts-response"), exports);
|
|
57
59
|
__exportStar(require("./seal-get-sync-state-response"), exports);
|
|
@@ -74,6 +76,7 @@ __exportStar(require("./seal-pair"), exports);
|
|
|
74
76
|
__exportStar(require("./seal-pairs-order-by"), exports);
|
|
75
77
|
__exportStar(require("./seal-pairs-order-by-property"), exports);
|
|
76
78
|
__exportStar(require("./seal-permit2-contract"), exports);
|
|
79
|
+
__exportStar(require("./seal-remove-rfq-request-viewer-request"), exports);
|
|
77
80
|
__exportStar(require("./seal-reservation-request"), exports);
|
|
78
81
|
__exportStar(require("./seal-reservation-settlement-request"), exports);
|
|
79
82
|
__exportStar(require("./seal-rfq-commitment"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealAddRfqRequestViewerRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealAddRfqRequestViewerRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealAddRfqRequestViewerRequest
|
|
22
|
+
*/
|
|
23
|
+
'requestId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SealAddRfqRequestViewerRequest
|
|
28
|
+
*/
|
|
29
|
+
'viewers': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealAddRfqRequestViewerRequest
|
|
34
|
+
*/
|
|
35
|
+
'requester': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -63,6 +63,24 @@ export interface SealCreateRfqQuoteRequest {
|
|
|
63
63
|
* @memberof SealCreateRfqQuoteRequest
|
|
64
64
|
*/
|
|
65
65
|
'settlementTime': number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SealCreateRfqQuoteRequest
|
|
70
|
+
*/
|
|
71
|
+
'makerFeeRatio': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SealCreateRfqQuoteRequest
|
|
76
|
+
*/
|
|
77
|
+
'takerFeeRatio': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SealCreateRfqQuoteRequest
|
|
82
|
+
*/
|
|
83
|
+
'penaltyClaimantFeeRatio': string;
|
|
66
84
|
/**
|
|
67
85
|
*
|
|
68
86
|
* @type {string}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealGetRfqRequestViewersResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SealGetRfqRequestViewersResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SealGetRfqRequestViewersResponse
|
|
22
|
+
*/
|
|
23
|
+
'viewers'?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SealGetRfqRequestViewersResponse
|
|
28
|
+
*/
|
|
29
|
+
'paginationNextKey'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seal/seal.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SealRemoveRfqRequestViewerRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SealRemoveRfqRequestViewerRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SealRemoveRfqRequestViewerRequest
|
|
22
|
+
*/
|
|
23
|
+
'requestId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SealRemoveRfqRequestViewerRequest
|
|
28
|
+
*/
|
|
29
|
+
'viewers': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SealRemoveRfqRequestViewerRequest
|
|
34
|
+
*/
|
|
35
|
+
'requester': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* seal/seal.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -46,6 +46,12 @@ export interface SealRfqCommitment {
|
|
|
46
46
|
* @memberof SealRfqCommitment
|
|
47
47
|
*/
|
|
48
48
|
'chainId'?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SealRfqCommitment
|
|
53
|
+
*/
|
|
54
|
+
'contractAddress'?: string;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {string}
|
|
@@ -118,6 +124,24 @@ export interface SealRfqCommitment {
|
|
|
118
124
|
* @memberof SealRfqCommitment
|
|
119
125
|
*/
|
|
120
126
|
'minFillRatio'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SealRfqCommitment
|
|
131
|
+
*/
|
|
132
|
+
'makerFeeRatio'?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof SealRfqCommitment
|
|
137
|
+
*/
|
|
138
|
+
'takerFeeRatio'?: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof SealRfqCommitment
|
|
143
|
+
*/
|
|
144
|
+
'penaltyClaimantFeeRatio'?: string;
|
|
121
145
|
/**
|
|
122
146
|
*
|
|
123
147
|
* @type {TypesTimestamp}
|
|
@@ -160,10 +184,4 @@ export interface SealRfqCommitment {
|
|
|
160
184
|
* @memberof SealRfqCommitment
|
|
161
185
|
*/
|
|
162
186
|
'updatedAtTimestamp'?: TypesTimestamp;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof SealRfqCommitment
|
|
167
|
-
*/
|
|
168
|
-
'contract'?: string;
|
|
169
187
|
}
|
|
@@ -100,6 +100,24 @@ export interface SealRfqQuote {
|
|
|
100
100
|
* @memberof SealRfqQuote
|
|
101
101
|
*/
|
|
102
102
|
'settlementTime'?: TypesTimestamp;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SealRfqQuote
|
|
107
|
+
*/
|
|
108
|
+
'makerFeeRatio'?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof SealRfqQuote
|
|
113
|
+
*/
|
|
114
|
+
'takerFeeRatio'?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof SealRfqQuote
|
|
119
|
+
*/
|
|
120
|
+
'penaltyClaimantFeeRatio'?: string;
|
|
103
121
|
/**
|
|
104
122
|
*
|
|
105
123
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seal-protocol/backendjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.122",
|
|
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",
|