@seal-protocol/backendjs 0.0.37 → 0.0.42

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 (30) hide show
  1. package/lib/api/seal-client.d.ts +118 -16
  2. package/lib/api/seal-client.js +147 -14
  3. package/lib/model/index.d.ts +10 -7
  4. package/lib/model/index.js +10 -7
  5. package/lib/model/seal-chain-config.d.ts +37 -0
  6. package/lib/model/seal-chain-config.js +15 -0
  7. package/lib/model/seal-chain-health.d.ts +42 -0
  8. package/lib/model/seal-chain-health.js +15 -0
  9. package/lib/model/seal-config.d.ts +5 -5
  10. package/lib/model/seal-contract-config.d.ts +31 -0
  11. package/lib/model/seal-contract-config.js +15 -0
  12. package/lib/model/seal-create-order-request.d.ts +114 -0
  13. package/lib/model/seal-create-order-request.js +15 -0
  14. package/lib/model/seal-create-order-response.d.ts +24 -0
  15. package/lib/model/seal-create-order-response.js +15 -0
  16. package/lib/model/seal-create-token-permit-approval-request.d.ts +79 -0
  17. package/lib/model/seal-create-token-permit-approval-request.js +15 -0
  18. package/lib/model/seal-domain-separator-config.d.ts +30 -0
  19. package/lib/model/seal-domain-separator-config.js +15 -0
  20. package/lib/model/seal-get-health-check-response.d.ts +7 -0
  21. package/lib/model/seal-get-permit-approvals-response.d.ts +31 -0
  22. package/lib/model/seal-get-permit-approvals-response.js +15 -0
  23. package/lib/model/seal-get-token-permit-approvals-response.d.ts +31 -0
  24. package/lib/model/seal-get-token-permit-approvals-response.js +15 -0
  25. package/lib/model/seal-order.d.ts +17 -5
  26. package/lib/model/seal-token-permit-approval.d.ts +80 -0
  27. package/lib/model/seal-token-permit-approval.js +15 -0
  28. package/lib/model/types-transfer-permit-type.d.ts +21 -0
  29. package/lib/model/types-transfer-permit-type.js +27 -0
  30. package/package.json +1 -1
@@ -13,8 +13,9 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { SealCancelOrderRequest } from '../model';
16
- import type { SealCreateOrderIntentRequest } from '../model';
17
- import type { SealCreateOrderIntentResponse } from '../model';
16
+ import type { SealCreateOrderRequest } from '../model';
17
+ import type { SealCreateOrderResponse } from '../model';
18
+ import type { SealCreateTokenPermitApprovalRequest } from '../model';
18
19
  import type { SealGetChainsResponse } from '../model';
19
20
  import type { SealGetConfigResponse } from '../model';
20
21
  import type { SealGetHealthCheckResponse } from '../model';
@@ -24,6 +25,7 @@ import type { SealGetOrdersResponse } from '../model';
24
25
  import type { SealGetPairPriceResponse } from '../model';
25
26
  import type { SealGetPairsResponse } from '../model';
26
27
  import type { SealGetSyncStateResponse } from '../model';
28
+ import type { SealGetTokenPermitApprovalsResponse } from '../model';
27
29
  import type { SealGetTokensResponse } from '../model';
28
30
  /**
29
31
  * SealClient - axios parameter creator
@@ -45,11 +47,18 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
45
47
  config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
48
  /**
47
49
  *
48
- * @param {SealCreateOrderIntentRequest} body
50
+ * @param {SealCreateOrderRequest} body
49
51
  * @param {*} [options] Override http request option.
50
52
  * @throws {RequiredError}
51
53
  */
52
- createOrderIntent: (body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ createOrder: (body: SealCreateOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ *
57
+ * @param {SealCreateTokenPermitApprovalRequest} body
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ createTokenPermitApproval: (body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
62
  /**
54
63
  *
55
64
  * @param {string} [paginationKey]
@@ -137,6 +146,15 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
137
146
  * @throws {RequiredError}
138
147
  */
139
148
  getPairs: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
149
+ /**
150
+ *
151
+ * @param {string} chainId
152
+ * @param {string} owner hex representation of owner address
153
+ * @param {string} [token] hex representation of token address
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ getTokenPermitApprovals: (chainId: string, owner: string, token?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
140
158
  /**
141
159
  *
142
160
  * @param {string} [paginationKey]
@@ -182,11 +200,18 @@ export declare const SealClientFp: (configuration?: Configuration) => {
182
200
  config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetConfigResponse>>;
183
201
  /**
184
202
  *
185
- * @param {SealCreateOrderIntentRequest} body
203
+ * @param {SealCreateOrderRequest} body
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ createOrder(body: SealCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCreateOrderResponse>>;
208
+ /**
209
+ *
210
+ * @param {SealCreateTokenPermitApprovalRequest} body
186
211
  * @param {*} [options] Override http request option.
187
212
  * @throws {RequiredError}
188
213
  */
189
- createOrderIntent(body: SealCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCreateOrderIntentResponse>>;
214
+ createTokenPermitApproval(body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
190
215
  /**
191
216
  *
192
217
  * @param {string} [paginationKey]
@@ -274,6 +299,15 @@ export declare const SealClientFp: (configuration?: Configuration) => {
274
299
  * @throws {RequiredError}
275
300
  */
276
301
  getPairs(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPairsResponse>>;
302
+ /**
303
+ *
304
+ * @param {string} chainId
305
+ * @param {string} owner hex representation of owner address
306
+ * @param {string} [token] hex representation of token address
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ getTokenPermitApprovals(chainId: string, owner: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
277
311
  /**
278
312
  *
279
313
  * @param {string} [paginationKey]
@@ -319,11 +353,18 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
319
353
  config(options?: RawAxiosRequestConfig): AxiosPromise<SealGetConfigResponse>;
320
354
  /**
321
355
  *
322
- * @param {SealClientCreateOrderIntentRequest} requestParameters Request parameters.
356
+ * @param {SealClientCreateOrderRequest} requestParameters Request parameters.
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ createOrder(requestParameters: SealClientCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCreateOrderResponse>;
361
+ /**
362
+ *
363
+ * @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
323
364
  * @param {*} [options] Override http request option.
324
365
  * @throws {RequiredError}
325
366
  */
326
- createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCreateOrderIntentResponse>;
367
+ createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
327
368
  /**
328
369
  *
329
370
  * @param {SealClientGetChainsRequest} requestParameters Request parameters.
@@ -366,6 +407,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
366
407
  * @throws {RequiredError}
367
408
  */
368
409
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
410
+ /**
411
+ *
412
+ * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ getTokenPermitApprovals(requestParameters: SealClientGetTokenPermitApprovalsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetTokenPermitApprovalsResponse>;
369
417
  /**
370
418
  *
371
419
  * @param {SealClientGetTokensRequest} requestParameters Request parameters.
@@ -400,17 +448,30 @@ export interface SealClientCancelOrderRequest {
400
448
  readonly body: SealCancelOrderRequest;
401
449
  }
402
450
  /**
403
- * Request parameters for createOrderIntent operation in SealClient.
451
+ * Request parameters for createOrder operation in SealClient.
404
452
  * @export
405
- * @interface SealClientCreateOrderIntentRequest
453
+ * @interface SealClientCreateOrderRequest
406
454
  */
407
- export interface SealClientCreateOrderIntentRequest {
455
+ export interface SealClientCreateOrderRequest {
408
456
  /**
409
457
  *
410
- * @type {SealCreateOrderIntentRequest}
411
- * @memberof SealClientCreateOrderIntent
458
+ * @type {SealCreateOrderRequest}
459
+ * @memberof SealClientCreateOrder
412
460
  */
413
- readonly body: SealCreateOrderIntentRequest;
461
+ readonly body: SealCreateOrderRequest;
462
+ }
463
+ /**
464
+ * Request parameters for createTokenPermitApproval operation in SealClient.
465
+ * @export
466
+ * @interface SealClientCreateTokenPermitApprovalRequest
467
+ */
468
+ export interface SealClientCreateTokenPermitApprovalRequest {
469
+ /**
470
+ *
471
+ * @type {SealCreateTokenPermitApprovalRequest}
472
+ * @memberof SealClientCreateTokenPermitApproval
473
+ */
474
+ readonly body: SealCreateTokenPermitApprovalRequest;
414
475
  }
415
476
  /**
416
477
  * Request parameters for getChains operation in SealClient.
@@ -760,6 +821,31 @@ export interface SealClientGetPairsRequest {
760
821
  */
761
822
  readonly excludeEmpty?: boolean;
762
823
  }
824
+ /**
825
+ * Request parameters for getTokenPermitApprovals operation in SealClient.
826
+ * @export
827
+ * @interface SealClientGetTokenPermitApprovalsRequest
828
+ */
829
+ export interface SealClientGetTokenPermitApprovalsRequest {
830
+ /**
831
+ *
832
+ * @type {string}
833
+ * @memberof SealClientGetTokenPermitApprovals
834
+ */
835
+ readonly chainId: string;
836
+ /**
837
+ * hex representation of owner address
838
+ * @type {string}
839
+ * @memberof SealClientGetTokenPermitApprovals
840
+ */
841
+ readonly owner: string;
842
+ /**
843
+ * hex representation of token address
844
+ * @type {string}
845
+ * @memberof SealClientGetTokenPermitApprovals
846
+ */
847
+ readonly token?: string;
848
+ }
763
849
  /**
764
850
  * Request parameters for getTokens operation in SealClient.
765
851
  * @export
@@ -827,12 +913,20 @@ export declare class SealClient extends BaseAPI {
827
913
  config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetConfigResponse, any>>;
828
914
  /**
829
915
  *
830
- * @param {SealClientCreateOrderIntentRequest} requestParameters Request parameters.
916
+ * @param {SealClientCreateOrderRequest} requestParameters Request parameters.
917
+ * @param {*} [options] Override http request option.
918
+ * @throws {RequiredError}
919
+ * @memberof SealClient
920
+ */
921
+ createOrder(requestParameters: SealClientCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCreateOrderResponse, any>>;
922
+ /**
923
+ *
924
+ * @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
831
925
  * @param {*} [options] Override http request option.
832
926
  * @throws {RequiredError}
833
927
  * @memberof SealClient
834
928
  */
835
- createOrderIntent(requestParameters: SealClientCreateOrderIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCreateOrderIntentResponse, any>>;
929
+ createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
836
930
  /**
837
931
  *
838
932
  * @param {SealClientGetChainsRequest} requestParameters Request parameters.
@@ -881,6 +975,14 @@ export declare class SealClient extends BaseAPI {
881
975
  * @memberof SealClient
882
976
  */
883
977
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any>>;
978
+ /**
979
+ *
980
+ * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ * @memberof SealClient
984
+ */
985
+ getTokenPermitApprovals(requestParameters: SealClientGetTokenPermitApprovalsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetTokenPermitApprovalsResponse, any>>;
884
986
  /**
885
987
  *
886
988
  * @param {SealClientGetTokensRequest} requestParameters Request parameters.
@@ -84,14 +84,43 @@ const SealClientAxiosParamCreator = function (configuration) {
84
84
  },
85
85
  /**
86
86
  *
87
- * @param {SealCreateOrderIntentRequest} body
87
+ * @param {SealCreateOrderRequest} body
88
88
  * @param {*} [options] Override http request option.
89
89
  * @throws {RequiredError}
90
90
  */
91
- createOrderIntent: async (body, options = {}) => {
91
+ createOrder: async (body, options = {}) => {
92
92
  // verify required parameter 'body' is not null or undefined
93
- (0, common_1.assertParamExists)('createOrderIntent', 'body', body);
94
- const localVarPath = `/seal/order/create_order_intent`;
93
+ (0, common_1.assertParamExists)('createOrder', 'body', body);
94
+ const localVarPath = `/seal/order/create_order`;
95
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
96
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
97
+ let baseOptions;
98
+ if (configuration) {
99
+ baseOptions = configuration.baseOptions;
100
+ }
101
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
102
+ const localVarHeaderParameter = {};
103
+ const localVarQueryParameter = {};
104
+ localVarHeaderParameter['Content-Type'] = 'application/json';
105
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
106
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
107
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
108
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
109
+ return {
110
+ url: (0, common_1.toPathString)(localVarUrlObj),
111
+ options: localVarRequestOptions,
112
+ };
113
+ },
114
+ /**
115
+ *
116
+ * @param {SealCreateTokenPermitApprovalRequest} body
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ createTokenPermitApproval: async (body, options = {}) => {
121
+ // verify required parameter 'body' is not null or undefined
122
+ (0, common_1.assertParamExists)('createTokenPermitApproval', 'body', body);
123
+ const localVarPath = `/seal/create_token_permit_approval`;
95
124
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
96
125
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
97
126
  let baseOptions;
@@ -463,6 +492,46 @@ const SealClientAxiosParamCreator = function (configuration) {
463
492
  options: localVarRequestOptions,
464
493
  };
465
494
  },
495
+ /**
496
+ *
497
+ * @param {string} chainId
498
+ * @param {string} owner hex representation of owner address
499
+ * @param {string} [token] hex representation of token address
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ */
503
+ getTokenPermitApprovals: async (chainId, owner, token, options = {}) => {
504
+ // verify required parameter 'chainId' is not null or undefined
505
+ (0, common_1.assertParamExists)('getTokenPermitApprovals', 'chainId', chainId);
506
+ // verify required parameter 'owner' is not null or undefined
507
+ (0, common_1.assertParamExists)('getTokenPermitApprovals', 'owner', owner);
508
+ const localVarPath = `/seal/token_permit_approvals`;
509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
510
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
511
+ let baseOptions;
512
+ if (configuration) {
513
+ baseOptions = configuration.baseOptions;
514
+ }
515
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
516
+ const localVarHeaderParameter = {};
517
+ const localVarQueryParameter = {};
518
+ if (chainId !== undefined) {
519
+ localVarQueryParameter['chainId'] = chainId;
520
+ }
521
+ if (owner !== undefined) {
522
+ localVarQueryParameter['owner'] = owner;
523
+ }
524
+ if (token !== undefined) {
525
+ localVarQueryParameter['token'] = token;
526
+ }
527
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
528
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
530
+ return {
531
+ url: (0, common_1.toPathString)(localVarUrlObj),
532
+ options: localVarRequestOptions,
533
+ };
534
+ },
466
535
  /**
467
536
  *
468
537
  * @param {string} [paginationKey]
@@ -594,14 +663,26 @@ const SealClientFp = function (configuration) {
594
663
  },
595
664
  /**
596
665
  *
597
- * @param {SealCreateOrderIntentRequest} body
666
+ * @param {SealCreateOrderRequest} body
598
667
  * @param {*} [options] Override http request option.
599
668
  * @throws {RequiredError}
600
669
  */
601
- async createOrderIntent(body, options) {
602
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrderIntent(body, options);
670
+ async createOrder(body, options) {
671
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrder(body, options);
603
672
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
604
- const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createOrderIntent']?.[localVarOperationServerIndex]?.url;
673
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createOrder']?.[localVarOperationServerIndex]?.url;
674
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
675
+ },
676
+ /**
677
+ *
678
+ * @param {SealCreateTokenPermitApprovalRequest} body
679
+ * @param {*} [options] Override http request option.
680
+ * @throws {RequiredError}
681
+ */
682
+ async createTokenPermitApproval(body, options) {
683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTokenPermitApproval(body, options);
684
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
685
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.createTokenPermitApproval']?.[localVarOperationServerIndex]?.url;
605
686
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
606
687
  },
607
688
  /**
@@ -721,6 +802,20 @@ const SealClientFp = function (configuration) {
721
802
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getPairs']?.[localVarOperationServerIndex]?.url;
722
803
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
723
804
  },
805
+ /**
806
+ *
807
+ * @param {string} chainId
808
+ * @param {string} owner hex representation of owner address
809
+ * @param {string} [token] hex representation of token address
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ */
813
+ async getTokenPermitApprovals(chainId, owner, token, options) {
814
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenPermitApprovals(chainId, owner, token, options);
815
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
816
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getTokenPermitApprovals']?.[localVarOperationServerIndex]?.url;
817
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
818
+ },
724
819
  /**
725
820
  *
726
821
  * @param {string} [paginationKey]
@@ -789,12 +884,21 @@ const SealClientFactory = function (configuration, basePath, axios) {
789
884
  },
790
885
  /**
791
886
  *
792
- * @param {SealClientCreateOrderIntentRequest} requestParameters Request parameters.
887
+ * @param {SealClientCreateOrderRequest} requestParameters Request parameters.
793
888
  * @param {*} [options] Override http request option.
794
889
  * @throws {RequiredError}
795
890
  */
796
- createOrderIntent(requestParameters, options) {
797
- return localVarFp.createOrderIntent(requestParameters.body, options).then((request) => request(axios, basePath));
891
+ createOrder(requestParameters, options) {
892
+ return localVarFp.createOrder(requestParameters.body, options).then((request) => request(axios, basePath));
893
+ },
894
+ /**
895
+ *
896
+ * @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
897
+ * @param {*} [options] Override http request option.
898
+ * @throws {RequiredError}
899
+ */
900
+ createTokenPermitApproval(requestParameters, options) {
901
+ return localVarFp.createTokenPermitApproval(requestParameters.body, options).then((request) => request(axios, basePath));
798
902
  },
799
903
  /**
800
904
  *
@@ -850,6 +954,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
850
954
  getPairs(requestParameters = {}, options) {
851
955
  return localVarFp.getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(axios, basePath));
852
956
  },
957
+ /**
958
+ *
959
+ * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
960
+ * @param {*} [options] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ getTokenPermitApprovals(requestParameters, options) {
964
+ return localVarFp.getTokenPermitApprovals(requestParameters.chainId, requestParameters.owner, requestParameters.token, options).then((request) => request(axios, basePath));
965
+ },
853
966
  /**
854
967
  *
855
968
  * @param {SealClientGetTokensRequest} requestParameters Request parameters.
@@ -906,13 +1019,23 @@ class SealClient extends base_1.BaseAPI {
906
1019
  }
907
1020
  /**
908
1021
  *
909
- * @param {SealClientCreateOrderIntentRequest} requestParameters Request parameters.
1022
+ * @param {SealClientCreateOrderRequest} requestParameters Request parameters.
1023
+ * @param {*} [options] Override http request option.
1024
+ * @throws {RequiredError}
1025
+ * @memberof SealClient
1026
+ */
1027
+ createOrder(requestParameters, options) {
1028
+ return (0, exports.SealClientFp)(this.configuration).createOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1029
+ }
1030
+ /**
1031
+ *
1032
+ * @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
910
1033
  * @param {*} [options] Override http request option.
911
1034
  * @throws {RequiredError}
912
1035
  * @memberof SealClient
913
1036
  */
914
- createOrderIntent(requestParameters, options) {
915
- return (0, exports.SealClientFp)(this.configuration).createOrderIntent(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1037
+ createTokenPermitApproval(requestParameters, options) {
1038
+ return (0, exports.SealClientFp)(this.configuration).createTokenPermitApproval(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
916
1039
  }
917
1040
  /**
918
1041
  *
@@ -974,6 +1097,16 @@ class SealClient extends base_1.BaseAPI {
974
1097
  getPairs(requestParameters = {}, options) {
975
1098
  return (0, exports.SealClientFp)(this.configuration).getPairs(requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.chainId, requestParameters.tokenIn, requestParameters.tokenOut, requestParameters.reservableOnly, requestParameters.excludeEmpty, options).then((request) => request(this.axios, this.basePath));
976
1099
  }
1100
+ /**
1101
+ *
1102
+ * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ * @memberof SealClient
1106
+ */
1107
+ getTokenPermitApprovals(requestParameters, options) {
1108
+ return (0, exports.SealClientFp)(this.configuration).getTokenPermitApprovals(requestParameters.chainId, requestParameters.owner, requestParameters.token, options).then((request) => request(this.axios, this.basePath));
1109
+ }
977
1110
  /**
978
1111
  *
979
1112
  * @param {SealClientGetTokensRequest} requestParameters Request parameters.
@@ -2,14 +2,18 @@ export * from './protobuf-any';
2
2
  export * from './rpc-status';
3
3
  export * from './seal-cancel-order-request';
4
4
  export * from './seal-chain';
5
+ export * from './seal-chain-config';
6
+ export * from './seal-chain-health';
5
7
  export * from './seal-chain-sync-state';
6
8
  export * from './seal-chains-order-by';
7
9
  export * from './seal-chains-order-by-property';
8
10
  export * from './seal-config';
9
- export * from './seal-create-order-intent-request';
10
- export * from './seal-create-order-intent-response';
11
+ export * from './seal-contract-config';
12
+ export * from './seal-create-order-request';
13
+ export * from './seal-create-order-response';
14
+ export * from './seal-create-token-permit-approval-request';
11
15
  export * from './seal-database-config';
12
- export * from './seal-eip712-domain-config';
16
+ export * from './seal-domain-separator-config';
13
17
  export * from './seal-get-chains-response';
14
18
  export * from './seal-get-config-response';
15
19
  export * from './seal-get-health-check-response';
@@ -19,11 +23,11 @@ export * from './seal-get-orders-response';
19
23
  export * from './seal-get-pair-price-response';
20
24
  export * from './seal-get-pairs-response';
21
25
  export * from './seal-get-sync-state-response';
26
+ export * from './seal-get-token-permit-approvals-response';
22
27
  export * from './seal-get-tokens-response';
23
28
  export * from './seal-logger-config';
24
29
  export * from './seal-order';
25
30
  export * from './seal-order-config';
26
- export * from './seal-order-intent';
27
31
  export * from './seal-order-reservation';
28
32
  export * from './seal-order-reservations-order-by';
29
33
  export * from './seal-order-reservations-order-by-property';
@@ -33,11 +37,10 @@ export * from './seal-pagination';
33
37
  export * from './seal-pair';
34
38
  export * from './seal-pairs-order-by';
35
39
  export * from './seal-pairs-order-by-property';
36
- export * from './seal-signature-verification-config';
37
40
  export * from './seal-token';
41
+ export * from './seal-token-permit-approval';
38
42
  export * from './seal-tokens-order-by';
39
43
  export * from './seal-tokens-order-by-property';
40
- export * from './seal-transfer-permission';
41
44
  export * from './types-bool';
42
45
  export * from './types-timestamp';
43
- export * from './types-transfer-permission-type';
46
+ export * from './types-transfer-permit-type';
@@ -18,14 +18,18 @@ __exportStar(require("./protobuf-any"), exports);
18
18
  __exportStar(require("./rpc-status"), exports);
19
19
  __exportStar(require("./seal-cancel-order-request"), exports);
20
20
  __exportStar(require("./seal-chain"), exports);
21
+ __exportStar(require("./seal-chain-config"), exports);
22
+ __exportStar(require("./seal-chain-health"), exports);
21
23
  __exportStar(require("./seal-chain-sync-state"), exports);
22
24
  __exportStar(require("./seal-chains-order-by"), exports);
23
25
  __exportStar(require("./seal-chains-order-by-property"), exports);
24
26
  __exportStar(require("./seal-config"), exports);
25
- __exportStar(require("./seal-create-order-intent-request"), exports);
26
- __exportStar(require("./seal-create-order-intent-response"), exports);
27
+ __exportStar(require("./seal-contract-config"), exports);
28
+ __exportStar(require("./seal-create-order-request"), exports);
29
+ __exportStar(require("./seal-create-order-response"), exports);
30
+ __exportStar(require("./seal-create-token-permit-approval-request"), exports);
27
31
  __exportStar(require("./seal-database-config"), exports);
28
- __exportStar(require("./seal-eip712-domain-config"), exports);
32
+ __exportStar(require("./seal-domain-separator-config"), exports);
29
33
  __exportStar(require("./seal-get-chains-response"), exports);
30
34
  __exportStar(require("./seal-get-config-response"), exports);
31
35
  __exportStar(require("./seal-get-health-check-response"), exports);
@@ -35,11 +39,11 @@ __exportStar(require("./seal-get-orders-response"), exports);
35
39
  __exportStar(require("./seal-get-pair-price-response"), exports);
36
40
  __exportStar(require("./seal-get-pairs-response"), exports);
37
41
  __exportStar(require("./seal-get-sync-state-response"), exports);
42
+ __exportStar(require("./seal-get-token-permit-approvals-response"), exports);
38
43
  __exportStar(require("./seal-get-tokens-response"), exports);
39
44
  __exportStar(require("./seal-logger-config"), exports);
40
45
  __exportStar(require("./seal-order"), exports);
41
46
  __exportStar(require("./seal-order-config"), exports);
42
- __exportStar(require("./seal-order-intent"), exports);
43
47
  __exportStar(require("./seal-order-reservation"), exports);
44
48
  __exportStar(require("./seal-order-reservations-order-by"), exports);
45
49
  __exportStar(require("./seal-order-reservations-order-by-property"), exports);
@@ -49,11 +53,10 @@ __exportStar(require("./seal-pagination"), exports);
49
53
  __exportStar(require("./seal-pair"), exports);
50
54
  __exportStar(require("./seal-pairs-order-by"), exports);
51
55
  __exportStar(require("./seal-pairs-order-by-property"), exports);
52
- __exportStar(require("./seal-signature-verification-config"), exports);
53
56
  __exportStar(require("./seal-token"), exports);
57
+ __exportStar(require("./seal-token-permit-approval"), exports);
54
58
  __exportStar(require("./seal-tokens-order-by"), exports);
55
59
  __exportStar(require("./seal-tokens-order-by-property"), exports);
56
- __exportStar(require("./seal-transfer-permission"), exports);
57
60
  __exportStar(require("./types-bool"), exports);
58
61
  __exportStar(require("./types-timestamp"), exports);
59
- __exportStar(require("./types-transfer-permission-type"), exports);
62
+ __exportStar(require("./types-transfer-permit-type"), exports);
@@ -0,0 +1,37 @@
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
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealChainConfig
17
+ */
18
+ export interface SealChainConfig {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SealChainConfig
23
+ */
24
+ 'chainId'?: string;
25
+ /**
26
+ *
27
+ * @type {SealContractConfig}
28
+ * @memberof SealChainConfig
29
+ */
30
+ 'sealContract'?: SealContractConfig;
31
+ /**
32
+ *
33
+ * @type {SealContractConfig}
34
+ * @memberof SealChainConfig
35
+ */
36
+ 'permit2Contract'?: SealContractConfig;
37
+ }
@@ -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,42 @@
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 SealChainHealth
16
+ */
17
+ export interface SealChainHealth {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealChainHealth
22
+ */
23
+ 'indexerBlockDifference'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealChainHealth
28
+ */
29
+ 'backendBlockDifference'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealChainHealth
34
+ */
35
+ 'estimatedSyncDurationSeconds'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SealChainHealth
40
+ */
41
+ 'estimatedSyncDurationDuration'?: string;
42
+ }