@seal-protocol/backendjs 0.0.110 → 0.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/lib/codegen/api/seal-client.d.ts +163 -2
  2. package/lib/codegen/api/seal-client.js +206 -5
  3. package/lib/codegen/model/index.d.ts +3 -0
  4. package/lib/codegen/model/index.js +3 -0
  5. package/lib/codegen/model/{seal-get-seal-contract-params-response.d.ts → seal-add-rfq-request-viewer-request.d.ts} +11 -6
  6. package/lib/codegen/model/seal-cancel-order-request.d.ts +2 -2
  7. package/lib/codegen/model/seal-create-rfq-quote-request.d.ts +18 -0
  8. package/lib/codegen/model/seal-create-rfq-request-request.d.ts +12 -0
  9. package/lib/codegen/model/{seal-contract-config.d.ts → seal-get-rfq-request-viewers-response.d.ts} +9 -10
  10. package/lib/codegen/model/seal-order-reservation.d.ts +6 -0
  11. package/lib/codegen/model/seal-remove-rfq-request-viewer-request.d.ts +30 -0
  12. package/lib/codegen/model/seal-rfq-commitment.d.ts +24 -6
  13. package/lib/codegen/model/seal-rfq-contract.d.ts +6 -0
  14. package/lib/codegen/model/seal-rfq-quote.d.ts +24 -0
  15. package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
  16. package/package.json +1 -1
  17. package/lib/codegen/model/seal-chain-config.d.ts +0 -39
  18. package/lib/codegen/model/seal-rfq-contract-config.d.ts +0 -32
  19. package/lib/codegen/model/seal-rfq-contract-config.js +0 -15
  20. package/lib/codegen/model/seal-rfq-contract-params.d.ts +0 -48
  21. package/lib/codegen/model/seal-rfq-contract-params.js +0 -15
  22. package/lib/codegen/model/seal-seal-contract-config.d.ts +0 -32
  23. package/lib/codegen/model/seal-seal-contract-config.js +0 -15
  24. package/lib/codegen/model/seal-seal-contract-params.d.ts +0 -66
  25. package/lib/codegen/model/seal-seal-contract-params.js +0 -15
  26. /package/lib/codegen/model/{seal-chain-config.js → seal-add-rfq-request-viewer-request.js} +0 -0
  27. /package/lib/codegen/model/{seal-contract-config.js → seal-get-rfq-request-viewers-response.js} +0 -0
  28. /package/lib/codegen/model/{seal-get-seal-contract-params-response.js → seal-remove-rfq-request-viewer-request.js} +0 -0
@@ -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]
@@ -337,10 +357,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
337
357
  * @param {GetTokensOrderByPropertyEnum} [orderByProperty]
338
358
  * @param {boolean} [orderByDescending]
339
359
  * @param {string} [chainId]
360
+ * @param {boolean} [excludeNative]
340
361
  * @param {*} [options] Override http request option.
341
362
  * @throws {RequiredError}
342
363
  */
343
- getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
364
+ getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, excludeNative?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
344
365
  /**
345
366
  *
346
367
  * @param {*} [options] Override http request option.
@@ -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]
@@ -658,10 +703,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
658
703
  * @param {GetTokensOrderByPropertyEnum} [orderByProperty]
659
704
  * @param {boolean} [orderByDescending]
660
705
  * @param {string} [chainId]
706
+ * @param {boolean} [excludeNative]
661
707
  * @param {*} [options] Override http request option.
662
708
  * @throws {RequiredError}
663
709
  */
664
- getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
710
+ getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, excludeNative?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
665
711
  /**
666
712
  *
667
713
  * @param {*} [options] Override http request option.
@@ -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
@@ -1896,6 +2014,12 @@ export interface SealClientGetTokensRequest {
1896
2014
  * @memberof SealClientGetTokens
1897
2015
  */
1898
2016
  readonly chainId?: string;
2017
+ /**
2018
+ *
2019
+ * @type {boolean}
2020
+ * @memberof SealClientGetTokens
2021
+ */
2022
+ readonly excludeNative?: boolean;
1899
2023
  }
1900
2024
  /**
1901
2025
  * Request parameters for issueGreenlight 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]
@@ -1194,10 +1265,11 @@ const SealClientAxiosParamCreator = function (configuration) {
1194
1265
  * @param {GetTokensOrderByPropertyEnum} [orderByProperty]
1195
1266
  * @param {boolean} [orderByDescending]
1196
1267
  * @param {string} [chainId]
1268
+ * @param {boolean} [excludeNative]
1197
1269
  * @param {*} [options] Override http request option.
1198
1270
  * @throws {RequiredError}
1199
1271
  */
1200
- getTokens: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options = {}) => {
1272
+ getTokens: async (paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, excludeNative, options = {}) => {
1201
1273
  const localVarPath = `/seal/tokens`;
1202
1274
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1203
1275
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1226,6 +1298,9 @@ const SealClientAxiosParamCreator = function (configuration) {
1226
1298
  if (chainId !== undefined) {
1227
1299
  localVarQueryParameter['chainId'] = chainId;
1228
1300
  }
1301
+ if (excludeNative !== undefined) {
1302
+ localVarQueryParameter['excludeNative'] = excludeNative;
1303
+ }
1229
1304
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1230
1305
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1231
1306
  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]
@@ -1744,11 +1875,12 @@ const SealClientFp = function (configuration) {
1744
1875
  * @param {GetTokensOrderByPropertyEnum} [orderByProperty]
1745
1876
  * @param {boolean} [orderByDescending]
1746
1877
  * @param {string} [chainId]
1878
+ * @param {boolean} [excludeNative]
1747
1879
  * @param {*} [options] Override http request option.
1748
1880
  * @throws {RequiredError}
1749
1881
  */
1750
- async getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options) {
1751
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, options);
1882
+ async getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, excludeNative, options) {
1883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTokens(paginationKey, paginationLimit, paginationCountTotal, orderByProperty, orderByDescending, chainId, excludeNative, options);
1752
1884
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1753
1885
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getTokens']?.[localVarOperationServerIndex]?.url;
1754
1886
  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.
@@ -2022,7 +2184,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
2022
2184
  * @throws {RequiredError}
2023
2185
  */
2024
2186
  getTokens(requestParameters = {}, options) {
2025
- return localVarFp.getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, options).then((request) => request(axios, basePath));
2187
+ return localVarFp.getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.excludeNative, options).then((request) => request(axios, basePath));
2026
2188
  },
2027
2189
  /**
2028
2190
  *
@@ -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.
@@ -2305,7 +2496,7 @@ class SealClient extends base_1.BaseAPI {
2305
2496
  * @memberof SealClient
2306
2497
  */
2307
2498
  getTokens(requestParameters = {}, options) {
2308
- return (0, exports.SealClientFp)(this.configuration).getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, options).then((request) => request(this.axios, this.basePath));
2499
+ return (0, exports.SealClientFp)(this.configuration).getTokens(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.excludeNative, options).then((request) => request(this.axios, this.basePath));
2309
2500
  }
2310
2501
  /**
2311
2502
  *
@@ -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);
@@ -9,17 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SealSealContractParams } from './seal-seal-contract-params';
13
12
  /**
14
13
  *
15
14
  * @export
16
- * @interface SealGetSealContractParamsResponse
15
+ * @interface SealAddRfqRequestViewerRequest
17
16
  */
18
- export interface SealGetSealContractParamsResponse {
17
+ export interface SealAddRfqRequestViewerRequest {
19
18
  /**
20
19
  *
21
- * @type {SealSealContractParams}
22
- * @memberof SealGetSealContractParamsResponse
20
+ * @type {string}
21
+ * @memberof SealAddRfqRequestViewerRequest
23
22
  */
24
- 'params'?: SealSealContractParams;
23
+ 'requestId': string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof SealAddRfqRequestViewerRequest
28
+ */
29
+ 'viewers': Array<string>;
25
30
  }
@@ -23,10 +23,10 @@ export interface SealCancelOrderRequest {
23
23
  'orderId': string;
24
24
  /**
25
25
  *
26
- * @type {string}
26
+ * @type {number}
27
27
  * @memberof SealCancelOrderRequest
28
28
  */
29
- 'chainId': string;
29
+ 'contractId': number;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -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}
@@ -51,4 +51,16 @@ export interface SealCreateRfqRequestRequest {
51
51
  * @memberof SealCreateRfqRequestRequest
52
52
  */
53
53
  'requestDeadline': number;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof SealCreateRfqRequestRequest
58
+ */
59
+ 'private'?: boolean;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SealCreateRfqRequestRequest
64
+ */
65
+ 'viewers'?: Array<string>;
54
66
  }
@@ -9,23 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SealDomainSeparatorConfig } from './seal-domain-separator-config';
13
12
  /**
14
- * ContractConfig represents the configuration for a smart contract.
13
+ *
15
14
  * @export
16
- * @interface SealContractConfig
15
+ * @interface SealGetRfqRequestViewersResponse
17
16
  */
18
- export interface SealContractConfig {
17
+ export interface SealGetRfqRequestViewersResponse {
19
18
  /**
20
19
  *
21
- * @type {string}
22
- * @memberof SealContractConfig
20
+ * @type {Array<string>}
21
+ * @memberof SealGetRfqRequestViewersResponse
23
22
  */
24
- 'address'?: string;
23
+ 'viewers'?: Array<string>;
25
24
  /**
26
25
  *
27
- * @type {SealDomainSeparatorConfig}
28
- * @memberof SealContractConfig
26
+ * @type {string}
27
+ * @memberof SealGetRfqRequestViewersResponse
29
28
  */
30
- 'domainSeparator'?: SealDomainSeparatorConfig;
29
+ 'paginationNextKey'?: string;
31
30
  }
@@ -118,4 +118,10 @@ export interface SealOrderReservation {
118
118
  * @memberof SealOrderReservation
119
119
  */
120
120
  'reserverFeeRatio'?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof SealOrderReservation
125
+ */
126
+ 'contractAddress'?: string;
121
127
  }
@@ -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 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
+ }
@@ -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
  }
@@ -57,6 +57,12 @@ export interface SealRfqContract {
57
57
  * @memberof SealRfqContract
58
58
  */
59
59
  'takerFee'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SealRfqContract
64
+ */
65
+ 'penaltyClaimantFee'?: string;
60
66
  /**
61
67
  *
62
68
  * @type {string}
@@ -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}
@@ -154,4 +172,10 @@ export interface SealRfqQuote {
154
172
  * @memberof SealRfqQuote
155
173
  */
156
174
  'contractAddress'?: string;
175
+ /**
176
+ *
177
+ * @type {boolean}
178
+ * @memberof SealRfqQuote
179
+ */
180
+ 'requestPrivate'?: boolean;
157
181
  }
@@ -82,4 +82,10 @@ export interface SealRfqRequest {
82
82
  * @memberof SealRfqRequest
83
83
  */
84
84
  'hasCommitment'?: boolean;
85
+ /**
86
+ *
87
+ * @type {boolean}
88
+ * @memberof SealRfqRequest
89
+ */
90
+ 'private'?: boolean;
85
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seal-protocol/backendjs",
3
- "version": "0.0.110",
3
+ "version": "0.0.128",
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",
@@ -1,39 +0,0 @@
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
- import type { SealContractConfig } from './seal-contract-config';
13
- import type { SealRfqContractConfig } from './seal-rfq-contract-config';
14
- import type { SealSealContractConfig } from './seal-seal-contract-config';
15
- /**
16
- *
17
- * @export
18
- * @interface SealChainConfig
19
- */
20
- export interface SealChainConfig {
21
- /**
22
- *
23
- * @type {SealSealContractConfig}
24
- * @memberof SealChainConfig
25
- */
26
- 'sealContract'?: SealSealContractConfig;
27
- /**
28
- *
29
- * @type {SealContractConfig}
30
- * @memberof SealChainConfig
31
- */
32
- 'permit2Contract'?: SealContractConfig;
33
- /**
34
- *
35
- * @type {SealRfqContractConfig}
36
- * @memberof SealChainConfig
37
- */
38
- 'rfqContract'?: SealRfqContractConfig;
39
- }
@@ -1,32 +0,0 @@
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
- import type { SealContractConfig } from './seal-contract-config';
13
- import type { SealRfqContractParams } from './seal-rfq-contract-params';
14
- /**
15
- * RfqContractConfig represents the configuration for the RFQ smart contract.
16
- * @export
17
- * @interface SealRfqContractConfig
18
- */
19
- export interface SealRfqContractConfig {
20
- /**
21
- *
22
- * @type {SealContractConfig}
23
- * @memberof SealRfqContractConfig
24
- */
25
- 'contractConfig'?: SealContractConfig;
26
- /**
27
- *
28
- * @type {SealRfqContractParams}
29
- * @memberof SealRfqContractConfig
30
- */
31
- 'params'?: SealRfqContractParams;
32
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,48 +0,0 @@
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 SealRfqContractParams
16
- */
17
- export interface SealRfqContractParams {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SealRfqContractParams
22
- */
23
- 'makerFee'?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SealRfqContractParams
28
- */
29
- 'commitmentDepositToken'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SealRfqContractParams
34
- */
35
- 'minCommitmentDepositAmount'?: string;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof SealRfqContractParams
40
- */
41
- 'minCommitmentPeriodSeconds'?: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof SealRfqContractParams
46
- */
47
- 'maxCommitmentPeriodSeconds'?: number;
48
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,32 +0,0 @@
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
- import type { SealContractConfig } from './seal-contract-config';
13
- import type { SealSealContractParams } from './seal-seal-contract-params';
14
- /**
15
- * SealContractConfig represents the configuration for the Seal smart contract.
16
- * @export
17
- * @interface SealSealContractConfig
18
- */
19
- export interface SealSealContractConfig {
20
- /**
21
- *
22
- * @type {SealContractConfig}
23
- * @memberof SealSealContractConfig
24
- */
25
- 'contractConfig'?: SealContractConfig;
26
- /**
27
- *
28
- * @type {SealSealContractParams}
29
- * @memberof SealSealContractConfig
30
- */
31
- 'params'?: SealSealContractParams;
32
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,66 +0,0 @@
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 SealSealContractParams
16
- */
17
- export interface SealSealContractParams {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SealSealContractParams
22
- */
23
- 'makerFee'?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SealSealContractParams
28
- */
29
- 'takerFee'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SealSealContractParams
34
- */
35
- 'reserverFee'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SealSealContractParams
40
- */
41
- 'reservationDepositToken'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof SealSealContractParams
46
- */
47
- 'minReservationDepositAmount'?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof SealSealContractParams
52
- */
53
- 'maxReservationDepositAmount'?: string;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof SealSealContractParams
58
- */
59
- 'minReservationPeriodSeconds'?: number;
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof SealSealContractParams
64
- */
65
- 'maxReservationPeriodSeconds'?: number;
66
- }
@@ -1,15 +0,0 @@
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 });