@seal-protocol/backendjs 0.0.42 → 0.0.44

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.
@@ -27,6 +27,7 @@ import type { SealGetPairsResponse } from '../model';
27
27
  import type { SealGetSyncStateResponse } from '../model';
28
28
  import type { SealGetTokenPermitApprovalsResponse } from '../model';
29
29
  import type { SealGetTokensResponse } from '../model';
30
+ import type { SealIssueGreenlightResponse } from '../model';
30
31
  /**
31
32
  * SealClient - axios parameter creator
32
33
  * @export
@@ -151,10 +152,15 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
151
152
  * @param {string} chainId
152
153
  * @param {string} owner hex representation of owner address
153
154
  * @param {string} [token] hex representation of token address
155
+ * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
156
+ * @param {boolean} [orderByDescending]
157
+ * @param {string} [paginationKey]
158
+ * @param {number} [paginationLimit]
159
+ * @param {boolean} [paginationCountTotal]
154
160
  * @param {*} [options] Override http request option.
155
161
  * @throws {RequiredError}
156
162
  */
157
- getTokenPermitApprovals: (chainId: string, owner: string, token?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
163
+ getTokenPermitApprovals: (chainId: string, owner: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
158
164
  /**
159
165
  *
160
166
  * @param {string} [paginationKey]
@@ -173,6 +179,16 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
173
179
  * @throws {RequiredError}
174
180
  */
175
181
  healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
182
+ /**
183
+ *
184
+ * @param {string} [chainId] uint256
185
+ * @param {string} [executor]
186
+ * @param {string} [request] json
187
+ * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
176
192
  /**
177
193
  *
178
194
  * @param {*} [options] Override http request option.
@@ -304,10 +320,15 @@ export declare const SealClientFp: (configuration?: Configuration) => {
304
320
  * @param {string} chainId
305
321
  * @param {string} owner hex representation of owner address
306
322
  * @param {string} [token] hex representation of token address
323
+ * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
324
+ * @param {boolean} [orderByDescending]
325
+ * @param {string} [paginationKey]
326
+ * @param {number} [paginationLimit]
327
+ * @param {boolean} [paginationCountTotal]
307
328
  * @param {*} [options] Override http request option.
308
329
  * @throws {RequiredError}
309
330
  */
310
- getTokenPermitApprovals(chainId: string, owner: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
331
+ getTokenPermitApprovals(chainId: string, owner: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
311
332
  /**
312
333
  *
313
334
  * @param {string} [paginationKey]
@@ -326,6 +347,16 @@ export declare const SealClientFp: (configuration?: Configuration) => {
326
347
  * @throws {RequiredError}
327
348
  */
328
349
  healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetHealthCheckResponse>>;
350
+ /**
351
+ *
352
+ * @param {string} [chainId] uint256
353
+ * @param {string} [executor]
354
+ * @param {string} [request] json
355
+ * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
329
360
  /**
330
361
  *
331
362
  * @param {*} [options] Override http request option.
@@ -427,6 +458,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
427
458
  * @throws {RequiredError}
428
459
  */
429
460
  healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<SealGetHealthCheckResponse>;
461
+ /**
462
+ *
463
+ * @param {SealClientIssueGreenlightRequest} requestParameters Request parameters.
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
430
468
  /**
431
469
  *
432
470
  * @param {*} [options] Override http request option.
@@ -640,7 +678,7 @@ export interface SealClientGetOrdersRequest {
640
678
  readonly toPriceDecimal?: string;
641
679
  /**
642
680
  *
643
- * @type {'UNSPECIFIED' | 'OWNER' | 'TOKEN_IN' | 'TOKEN_OUT' | 'AMOUNT_IN' | 'PRICE' | 'DEADLINE' | 'CHAIN_ID' | 'DEPOSIT_TOKEN' | 'MIN_RESERVATION_DEPOSIT_AMOUNT' | 'REMAINING_AMOUNT' | 'RESERVED_AMOUNT' | 'FILLED_AMOUNT'}
681
+ * @type {'OrdersOrderByProperty_UNSPECIFIED' | 'OrdersOrderByProperty_OWNER' | 'OrdersOrderByProperty_TOKEN_IN' | 'OrdersOrderByProperty_TOKEN_OUT' | 'OrdersOrderByProperty_AMOUNT_IN' | 'OrdersOrderByProperty_PRICE' | 'OrdersOrderByProperty_DEADLINE' | 'OrdersOrderByProperty_CHAIN_ID' | 'OrdersOrderByProperty_DEPOSIT_TOKEN' | 'OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT' | 'OrdersOrderByProperty_REMAINING_AMOUNT' | 'OrdersOrderByProperty_RESERVED_AMOUNT' | 'OrdersOrderByProperty_FILLED_AMOUNT'}
644
682
  * @memberof SealClientGetOrders
645
683
  */
646
684
  readonly orderByProperty?: GetOrdersOrderByPropertyEnum;
@@ -845,6 +883,36 @@ export interface SealClientGetTokenPermitApprovalsRequest {
845
883
  * @memberof SealClientGetTokenPermitApprovals
846
884
  */
847
885
  readonly token?: string;
886
+ /**
887
+ *
888
+ * @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_AMOUNT_IN' | 'TokenPermitApprovalsOrderByProperty_SIG_DEADLINE' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
889
+ * @memberof SealClientGetTokenPermitApprovals
890
+ */
891
+ readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
892
+ /**
893
+ *
894
+ * @type {boolean}
895
+ * @memberof SealClientGetTokenPermitApprovals
896
+ */
897
+ readonly orderByDescending?: boolean;
898
+ /**
899
+ *
900
+ * @type {string}
901
+ * @memberof SealClientGetTokenPermitApprovals
902
+ */
903
+ readonly paginationKey?: string;
904
+ /**
905
+ *
906
+ * @type {number}
907
+ * @memberof SealClientGetTokenPermitApprovals
908
+ */
909
+ readonly paginationLimit?: number;
910
+ /**
911
+ *
912
+ * @type {boolean}
913
+ * @memberof SealClientGetTokenPermitApprovals
914
+ */
915
+ readonly paginationCountTotal?: boolean;
848
916
  }
849
917
  /**
850
918
  * Request parameters for getTokens operation in SealClient.
@@ -889,6 +957,37 @@ export interface SealClientGetTokensRequest {
889
957
  */
890
958
  readonly chainId?: string;
891
959
  }
960
+ /**
961
+ * Request parameters for issueGreenlight operation in SealClient.
962
+ * @export
963
+ * @interface SealClientIssueGreenlightRequest
964
+ */
965
+ export interface SealClientIssueGreenlightRequest {
966
+ /**
967
+ * uint256
968
+ * @type {string}
969
+ * @memberof SealClientIssueGreenlight
970
+ */
971
+ readonly chainId?: string;
972
+ /**
973
+ *
974
+ * @type {string}
975
+ * @memberof SealClientIssueGreenlight
976
+ */
977
+ readonly executor?: string;
978
+ /**
979
+ * json
980
+ * @type {string}
981
+ * @memberof SealClientIssueGreenlight
982
+ */
983
+ readonly request?: string;
984
+ /**
985
+ * hex hash for double checking the request, if was empty the checking is bypassed
986
+ * @type {string}
987
+ * @memberof SealClientIssueGreenlight
988
+ */
989
+ readonly requestHash?: string;
990
+ }
892
991
  /**
893
992
  * SealClient - object-oriented interface
894
993
  * @export
@@ -998,6 +1097,14 @@ export declare class SealClient extends BaseAPI {
998
1097
  * @memberof SealClient
999
1098
  */
1000
1099
  healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetHealthCheckResponse, any>>;
1100
+ /**
1101
+ *
1102
+ * @param {SealClientIssueGreenlightRequest} requestParameters Request parameters.
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ * @memberof SealClient
1106
+ */
1107
+ issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any>>;
1001
1108
  /**
1002
1109
  *
1003
1110
  * @param {*} [options] Override http request option.
@@ -1033,19 +1140,19 @@ export declare enum GetOrderReservationsOrderByPropertyEnum {
1033
1140
  * @enum {string}
1034
1141
  */
1035
1142
  export declare enum GetOrdersOrderByPropertyEnum {
1036
- Unspecified = "UNSPECIFIED",
1037
- Owner = "OWNER",
1038
- TokenIn = "TOKEN_IN",
1039
- TokenOut = "TOKEN_OUT",
1040
- AmountIn = "AMOUNT_IN",
1041
- Price = "PRICE",
1042
- Deadline = "DEADLINE",
1043
- ChainId = "CHAIN_ID",
1044
- DepositToken = "DEPOSIT_TOKEN",
1045
- MinReservationDepositAmount = "MIN_RESERVATION_DEPOSIT_AMOUNT",
1046
- RemainingAmount = "REMAINING_AMOUNT",
1047
- ReservedAmount = "RESERVED_AMOUNT",
1048
- FilledAmount = "FILLED_AMOUNT"
1143
+ OrdersOrderByPropertyUnspecified = "OrdersOrderByProperty_UNSPECIFIED",
1144
+ OrdersOrderByPropertyOwner = "OrdersOrderByProperty_OWNER",
1145
+ OrdersOrderByPropertyTokenIn = "OrdersOrderByProperty_TOKEN_IN",
1146
+ OrdersOrderByPropertyTokenOut = "OrdersOrderByProperty_TOKEN_OUT",
1147
+ OrdersOrderByPropertyAmountIn = "OrdersOrderByProperty_AMOUNT_IN",
1148
+ OrdersOrderByPropertyPrice = "OrdersOrderByProperty_PRICE",
1149
+ OrdersOrderByPropertyDeadline = "OrdersOrderByProperty_DEADLINE",
1150
+ OrdersOrderByPropertyChainId = "OrdersOrderByProperty_CHAIN_ID",
1151
+ OrdersOrderByPropertyDepositToken = "OrdersOrderByProperty_DEPOSIT_TOKEN",
1152
+ OrdersOrderByPropertyMinReservationDepositAmount = "OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT",
1153
+ OrdersOrderByPropertyRemainingAmount = "OrdersOrderByProperty_REMAINING_AMOUNT",
1154
+ OrdersOrderByPropertyReservedAmount = "OrdersOrderByProperty_RESERVED_AMOUNT",
1155
+ OrdersOrderByPropertyFilledAmount = "OrdersOrderByProperty_FILLED_AMOUNT"
1049
1156
  }
1050
1157
  /**
1051
1158
  * @export
@@ -1054,6 +1161,17 @@ export declare enum GetOrdersOrderByPropertyEnum {
1054
1161
  export declare enum GetPairsOrderByPropertyEnum {
1055
1162
  PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
1056
1163
  }
1164
+ /**
1165
+ * @export
1166
+ * @enum {string}
1167
+ */
1168
+ export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
1169
+ TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
1170
+ TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
1171
+ TokenPermitApprovalsOrderByPropertyAmountIn = "TokenPermitApprovalsOrderByProperty_AMOUNT_IN",
1172
+ TokenPermitApprovalsOrderByPropertySigDeadline = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE",
1173
+ TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
1174
+ }
1057
1175
  /**
1058
1176
  * @export
1059
1177
  * @enum {string}
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.GetTokensOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
19
+ exports.GetTokensOrderByPropertyEnum = exports.GetTokenPermitApprovalsOrderByPropertyEnum = exports.GetPairsOrderByPropertyEnum = exports.GetOrdersOrderByPropertyEnum = exports.GetOrderReservationsOrderByPropertyEnum = exports.GetChainsOrderByPropertyEnum = exports.SealClient = exports.SealClientFactory = exports.SealClientFp = exports.SealClientAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -497,10 +497,15 @@ const SealClientAxiosParamCreator = function (configuration) {
497
497
  * @param {string} chainId
498
498
  * @param {string} owner hex representation of owner address
499
499
  * @param {string} [token] hex representation of token address
500
+ * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
501
+ * @param {boolean} [orderByDescending]
502
+ * @param {string} [paginationKey]
503
+ * @param {number} [paginationLimit]
504
+ * @param {boolean} [paginationCountTotal]
500
505
  * @param {*} [options] Override http request option.
501
506
  * @throws {RequiredError}
502
507
  */
503
- getTokenPermitApprovals: async (chainId, owner, token, options = {}) => {
508
+ getTokenPermitApprovals: async (chainId, owner, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options = {}) => {
504
509
  // verify required parameter 'chainId' is not null or undefined
505
510
  (0, common_1.assertParamExists)('getTokenPermitApprovals', 'chainId', chainId);
506
511
  // verify required parameter 'owner' is not null or undefined
@@ -524,6 +529,21 @@ const SealClientAxiosParamCreator = function (configuration) {
524
529
  if (token !== undefined) {
525
530
  localVarQueryParameter['token'] = token;
526
531
  }
532
+ if (orderByProperty !== undefined) {
533
+ localVarQueryParameter['orderBy.property'] = orderByProperty;
534
+ }
535
+ if (orderByDescending !== undefined) {
536
+ localVarQueryParameter['orderBy.descending'] = orderByDescending;
537
+ }
538
+ if (paginationKey !== undefined) {
539
+ localVarQueryParameter['pagination.key'] = paginationKey;
540
+ }
541
+ if (paginationLimit !== undefined) {
542
+ localVarQueryParameter['pagination.limit'] = paginationLimit;
543
+ }
544
+ if (paginationCountTotal !== undefined) {
545
+ localVarQueryParameter['pagination.countTotal'] = paginationCountTotal;
546
+ }
527
547
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
528
548
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
549
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -604,6 +624,46 @@ const SealClientAxiosParamCreator = function (configuration) {
604
624
  options: localVarRequestOptions,
605
625
  };
606
626
  },
627
+ /**
628
+ *
629
+ * @param {string} [chainId] uint256
630
+ * @param {string} [executor]
631
+ * @param {string} [request] json
632
+ * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ issueGreenlight: async (chainId, executor, request, requestHash, options = {}) => {
637
+ const localVarPath = `/seal/issue_greenlight`;
638
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
639
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
640
+ let baseOptions;
641
+ if (configuration) {
642
+ baseOptions = configuration.baseOptions;
643
+ }
644
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
645
+ const localVarHeaderParameter = {};
646
+ const localVarQueryParameter = {};
647
+ if (chainId !== undefined) {
648
+ localVarQueryParameter['chainId'] = chainId;
649
+ }
650
+ if (executor !== undefined) {
651
+ localVarQueryParameter['executor'] = executor;
652
+ }
653
+ if (request !== undefined) {
654
+ localVarQueryParameter['request'] = request;
655
+ }
656
+ if (requestHash !== undefined) {
657
+ localVarQueryParameter['requestHash'] = requestHash;
658
+ }
659
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
660
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
661
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
662
+ return {
663
+ url: (0, common_1.toPathString)(localVarUrlObj),
664
+ options: localVarRequestOptions,
665
+ };
666
+ },
607
667
  /**
608
668
  *
609
669
  * @param {*} [options] Override http request option.
@@ -807,11 +867,16 @@ const SealClientFp = function (configuration) {
807
867
  * @param {string} chainId
808
868
  * @param {string} owner hex representation of owner address
809
869
  * @param {string} [token] hex representation of token address
870
+ * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
871
+ * @param {boolean} [orderByDescending]
872
+ * @param {string} [paginationKey]
873
+ * @param {number} [paginationLimit]
874
+ * @param {boolean} [paginationCountTotal]
810
875
  * @param {*} [options] Override http request option.
811
876
  * @throws {RequiredError}
812
877
  */
813
- async getTokenPermitApprovals(chainId, owner, token, options) {
814
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenPermitApprovals(chainId, owner, token, options);
878
+ async getTokenPermitApprovals(chainId, owner, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options) {
879
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenPermitApprovals(chainId, owner, token, orderByProperty, orderByDescending, paginationKey, paginationLimit, paginationCountTotal, options);
815
880
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
816
881
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.getTokenPermitApprovals']?.[localVarOperationServerIndex]?.url;
817
882
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -844,6 +909,21 @@ const SealClientFp = function (configuration) {
844
909
  const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.healthCheck']?.[localVarOperationServerIndex]?.url;
845
910
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
846
911
  },
912
+ /**
913
+ *
914
+ * @param {string} [chainId] uint256
915
+ * @param {string} [executor]
916
+ * @param {string} [request] json
917
+ * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
918
+ * @param {*} [options] Override http request option.
919
+ * @throws {RequiredError}
920
+ */
921
+ async issueGreenlight(chainId, executor, request, requestHash, options) {
922
+ const localVarAxiosArgs = await localVarAxiosParamCreator.issueGreenlight(chainId, executor, request, requestHash, options);
923
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
924
+ const localVarOperationServerBasePath = base_1.operationServerMap['SealClient.issueGreenlight']?.[localVarOperationServerIndex]?.url;
925
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
926
+ },
847
927
  /**
848
928
  *
849
929
  * @param {*} [options] Override http request option.
@@ -961,7 +1041,7 @@ const SealClientFactory = function (configuration, basePath, axios) {
961
1041
  * @throws {RequiredError}
962
1042
  */
963
1043
  getTokenPermitApprovals(requestParameters, options) {
964
- return localVarFp.getTokenPermitApprovals(requestParameters.chainId, requestParameters.owner, requestParameters.token, options).then((request) => request(axios, basePath));
1044
+ return localVarFp.getTokenPermitApprovals(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(axios, basePath));
965
1045
  },
966
1046
  /**
967
1047
  *
@@ -980,6 +1060,15 @@ const SealClientFactory = function (configuration, basePath, axios) {
980
1060
  healthCheck(options) {
981
1061
  return localVarFp.healthCheck(options).then((request) => request(axios, basePath));
982
1062
  },
1063
+ /**
1064
+ *
1065
+ * @param {SealClientIssueGreenlightRequest} requestParameters Request parameters.
1066
+ * @param {*} [options] Override http request option.
1067
+ * @throws {RequiredError}
1068
+ */
1069
+ issueGreenlight(requestParameters = {}, options) {
1070
+ return localVarFp.issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(axios, basePath));
1071
+ },
983
1072
  /**
984
1073
  *
985
1074
  * @param {*} [options] Override http request option.
@@ -1105,7 +1194,7 @@ class SealClient extends base_1.BaseAPI {
1105
1194
  * @memberof SealClient
1106
1195
  */
1107
1196
  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));
1197
+ return (0, exports.SealClientFp)(this.configuration).getTokenPermitApprovals(requestParameters.chainId, requestParameters.owner, requestParameters.token, requestParameters.orderByProperty, requestParameters.orderByDescending, requestParameters.paginationKey, requestParameters.paginationLimit, requestParameters.paginationCountTotal, options).then((request) => request(this.axios, this.basePath));
1109
1198
  }
1110
1199
  /**
1111
1200
  *
@@ -1126,6 +1215,16 @@ class SealClient extends base_1.BaseAPI {
1126
1215
  healthCheck(options) {
1127
1216
  return (0, exports.SealClientFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
1128
1217
  }
1218
+ /**
1219
+ *
1220
+ * @param {SealClientIssueGreenlightRequest} requestParameters Request parameters.
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ * @memberof SealClient
1224
+ */
1225
+ issueGreenlight(requestParameters = {}, options) {
1226
+ return (0, exports.SealClientFp)(this.configuration).issueGreenlight(requestParameters.chainId, requestParameters.executor, requestParameters.request, requestParameters.requestHash, options).then((request) => request(this.axios, this.basePath));
1227
+ }
1129
1228
  /**
1130
1229
  *
1131
1230
  * @param {*} [options] Override http request option.
@@ -1167,19 +1266,19 @@ var GetOrderReservationsOrderByPropertyEnum;
1167
1266
  */
1168
1267
  var GetOrdersOrderByPropertyEnum;
1169
1268
  (function (GetOrdersOrderByPropertyEnum) {
1170
- GetOrdersOrderByPropertyEnum["Unspecified"] = "UNSPECIFIED";
1171
- GetOrdersOrderByPropertyEnum["Owner"] = "OWNER";
1172
- GetOrdersOrderByPropertyEnum["TokenIn"] = "TOKEN_IN";
1173
- GetOrdersOrderByPropertyEnum["TokenOut"] = "TOKEN_OUT";
1174
- GetOrdersOrderByPropertyEnum["AmountIn"] = "AMOUNT_IN";
1175
- GetOrdersOrderByPropertyEnum["Price"] = "PRICE";
1176
- GetOrdersOrderByPropertyEnum["Deadline"] = "DEADLINE";
1177
- GetOrdersOrderByPropertyEnum["ChainId"] = "CHAIN_ID";
1178
- GetOrdersOrderByPropertyEnum["DepositToken"] = "DEPOSIT_TOKEN";
1179
- GetOrdersOrderByPropertyEnum["MinReservationDepositAmount"] = "MIN_RESERVATION_DEPOSIT_AMOUNT";
1180
- GetOrdersOrderByPropertyEnum["RemainingAmount"] = "REMAINING_AMOUNT";
1181
- GetOrdersOrderByPropertyEnum["ReservedAmount"] = "RESERVED_AMOUNT";
1182
- GetOrdersOrderByPropertyEnum["FilledAmount"] = "FILLED_AMOUNT";
1269
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyUnspecified"] = "OrdersOrderByProperty_UNSPECIFIED";
1270
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyOwner"] = "OrdersOrderByProperty_OWNER";
1271
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyTokenIn"] = "OrdersOrderByProperty_TOKEN_IN";
1272
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyTokenOut"] = "OrdersOrderByProperty_TOKEN_OUT";
1273
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyAmountIn"] = "OrdersOrderByProperty_AMOUNT_IN";
1274
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyPrice"] = "OrdersOrderByProperty_PRICE";
1275
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyDeadline"] = "OrdersOrderByProperty_DEADLINE";
1276
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyChainId"] = "OrdersOrderByProperty_CHAIN_ID";
1277
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyDepositToken"] = "OrdersOrderByProperty_DEPOSIT_TOKEN";
1278
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyMinReservationDepositAmount"] = "OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT";
1279
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyRemainingAmount"] = "OrdersOrderByProperty_REMAINING_AMOUNT";
1280
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyReservedAmount"] = "OrdersOrderByProperty_RESERVED_AMOUNT";
1281
+ GetOrdersOrderByPropertyEnum["OrdersOrderByPropertyFilledAmount"] = "OrdersOrderByProperty_FILLED_AMOUNT";
1183
1282
  })(GetOrdersOrderByPropertyEnum || (exports.GetOrdersOrderByPropertyEnum = GetOrdersOrderByPropertyEnum = {}));
1184
1283
  /**
1185
1284
  * @export
@@ -1189,6 +1288,18 @@ var GetPairsOrderByPropertyEnum;
1189
1288
  (function (GetPairsOrderByPropertyEnum) {
1190
1289
  GetPairsOrderByPropertyEnum["PairsOrderByPropertyUnspecified"] = "PairsOrderByProperty_UNSPECIFIED";
1191
1290
  })(GetPairsOrderByPropertyEnum || (exports.GetPairsOrderByPropertyEnum = GetPairsOrderByPropertyEnum = {}));
1291
+ /**
1292
+ * @export
1293
+ * @enum {string}
1294
+ */
1295
+ var GetTokenPermitApprovalsOrderByPropertyEnum;
1296
+ (function (GetTokenPermitApprovalsOrderByPropertyEnum) {
1297
+ GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
1298
+ GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
1299
+ GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyAmountIn"] = "TokenPermitApprovalsOrderByProperty_AMOUNT_IN";
1300
+ GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertySigDeadline"] = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE";
1301
+ GetTokenPermitApprovalsOrderByPropertyEnum["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
1302
+ })(GetTokenPermitApprovalsOrderByPropertyEnum || (exports.GetTokenPermitApprovalsOrderByPropertyEnum = GetTokenPermitApprovalsOrderByPropertyEnum = {}));
1192
1303
  /**
1193
1304
  * @export
1194
1305
  * @enum {string}
@@ -25,6 +25,8 @@ export * from './seal-get-pairs-response';
25
25
  export * from './seal-get-sync-state-response';
26
26
  export * from './seal-get-token-permit-approvals-response';
27
27
  export * from './seal-get-tokens-response';
28
+ export * from './seal-greenlight';
29
+ export * from './seal-issue-greenlight-response';
28
30
  export * from './seal-logger-config';
29
31
  export * from './seal-order';
30
32
  export * from './seal-order-config';
@@ -33,7 +35,6 @@ export * from './seal-order-reservations-order-by';
33
35
  export * from './seal-order-reservations-order-by-property';
34
36
  export * from './seal-orders-order-by';
35
37
  export * from './seal-orders-order-by-property';
36
- export * from './seal-pagination';
37
38
  export * from './seal-pair';
38
39
  export * from './seal-pairs-order-by';
39
40
  export * from './seal-pairs-order-by-property';
@@ -42,5 +43,8 @@ export * from './seal-token-permit-approval';
42
43
  export * from './seal-tokens-order-by';
43
44
  export * from './seal-tokens-order-by-property';
44
45
  export * from './types-bool';
46
+ export * from './types-pagination';
45
47
  export * from './types-timestamp';
48
+ export * from './types-token-permit-approvals-order-by';
49
+ export * from './types-token-permit-approvals-order-by-property';
46
50
  export * from './types-transfer-permit-type';
@@ -41,6 +41,8 @@ __exportStar(require("./seal-get-pairs-response"), exports);
41
41
  __exportStar(require("./seal-get-sync-state-response"), exports);
42
42
  __exportStar(require("./seal-get-token-permit-approvals-response"), exports);
43
43
  __exportStar(require("./seal-get-tokens-response"), exports);
44
+ __exportStar(require("./seal-greenlight"), exports);
45
+ __exportStar(require("./seal-issue-greenlight-response"), exports);
44
46
  __exportStar(require("./seal-logger-config"), exports);
45
47
  __exportStar(require("./seal-order"), exports);
46
48
  __exportStar(require("./seal-order-config"), exports);
@@ -49,7 +51,6 @@ __exportStar(require("./seal-order-reservations-order-by"), exports);
49
51
  __exportStar(require("./seal-order-reservations-order-by-property"), exports);
50
52
  __exportStar(require("./seal-orders-order-by"), exports);
51
53
  __exportStar(require("./seal-orders-order-by-property"), exports);
52
- __exportStar(require("./seal-pagination"), exports);
53
54
  __exportStar(require("./seal-pair"), exports);
54
55
  __exportStar(require("./seal-pairs-order-by"), exports);
55
56
  __exportStar(require("./seal-pairs-order-by-property"), exports);
@@ -58,5 +59,8 @@ __exportStar(require("./seal-token-permit-approval"), exports);
58
59
  __exportStar(require("./seal-tokens-order-by"), exports);
59
60
  __exportStar(require("./seal-tokens-order-by-property"), exports);
60
61
  __exportStar(require("./types-bool"), exports);
62
+ __exportStar(require("./types-pagination"), exports);
61
63
  __exportStar(require("./types-timestamp"), exports);
64
+ __exportStar(require("./types-token-permit-approvals-order-by"), exports);
65
+ __exportStar(require("./types-token-permit-approvals-order-by-property"), exports);
62
66
  __exportStar(require("./types-transfer-permit-type"), exports);
@@ -0,0 +1,67 @@
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 { TypesTimestamp } from './types-timestamp';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealGreenlight
17
+ */
18
+ export interface SealGreenlight {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SealGreenlight
23
+ */
24
+ 'chainId'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SealGreenlight
29
+ */
30
+ 'executor'?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SealGreenlight
35
+ */
36
+ 'nonce'?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SealGreenlight
41
+ */
42
+ 'signature'?: string;
43
+ /**
44
+ *
45
+ * @type {TypesTimestamp}
46
+ * @memberof SealGreenlight
47
+ */
48
+ 'deadline'?: TypesTimestamp;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SealGreenlight
53
+ */
54
+ 'request'?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof SealGreenlight
59
+ */
60
+ 'authorizer'?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SealGreenlight
65
+ */
66
+ 'requestHash'?: string;
67
+ }
@@ -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,25 @@
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 { SealGreenlight } from './seal-greenlight';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealIssueGreenlightResponse
17
+ */
18
+ export interface SealIssueGreenlightResponse {
19
+ /**
20
+ *
21
+ * @type {SealGreenlight}
22
+ * @memberof SealIssueGreenlightResponse
23
+ */
24
+ 'greenlight'?: SealGreenlight;
25
+ }
@@ -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 });
@@ -15,17 +15,17 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum SealOrdersOrderByProperty {
18
- Unspecified = "UNSPECIFIED",
19
- Owner = "OWNER",
20
- TokenIn = "TOKEN_IN",
21
- TokenOut = "TOKEN_OUT",
22
- AmountIn = "AMOUNT_IN",
23
- Price = "PRICE",
24
- Deadline = "DEADLINE",
25
- ChainId = "CHAIN_ID",
26
- DepositToken = "DEPOSIT_TOKEN",
27
- MinReservationDepositAmount = "MIN_RESERVATION_DEPOSIT_AMOUNT",
28
- RemainingAmount = "REMAINING_AMOUNT",
29
- ReservedAmount = "RESERVED_AMOUNT",
30
- FilledAmount = "FILLED_AMOUNT"
18
+ OrdersOrderByPropertyUnspecified = "OrdersOrderByProperty_UNSPECIFIED",
19
+ OrdersOrderByPropertyOwner = "OrdersOrderByProperty_OWNER",
20
+ OrdersOrderByPropertyTokenIn = "OrdersOrderByProperty_TOKEN_IN",
21
+ OrdersOrderByPropertyTokenOut = "OrdersOrderByProperty_TOKEN_OUT",
22
+ OrdersOrderByPropertyAmountIn = "OrdersOrderByProperty_AMOUNT_IN",
23
+ OrdersOrderByPropertyPrice = "OrdersOrderByProperty_PRICE",
24
+ OrdersOrderByPropertyDeadline = "OrdersOrderByProperty_DEADLINE",
25
+ OrdersOrderByPropertyChainId = "OrdersOrderByProperty_CHAIN_ID",
26
+ OrdersOrderByPropertyDepositToken = "OrdersOrderByProperty_DEPOSIT_TOKEN",
27
+ OrdersOrderByPropertyMinReservationDepositAmount = "OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT",
28
+ OrdersOrderByPropertyRemainingAmount = "OrdersOrderByProperty_REMAINING_AMOUNT",
29
+ OrdersOrderByPropertyReservedAmount = "OrdersOrderByProperty_RESERVED_AMOUNT",
30
+ OrdersOrderByPropertyFilledAmount = "OrdersOrderByProperty_FILLED_AMOUNT"
31
31
  }
@@ -21,17 +21,17 @@ exports.SealOrdersOrderByProperty = void 0;
21
21
  */
22
22
  var SealOrdersOrderByProperty;
23
23
  (function (SealOrdersOrderByProperty) {
24
- SealOrdersOrderByProperty["Unspecified"] = "UNSPECIFIED";
25
- SealOrdersOrderByProperty["Owner"] = "OWNER";
26
- SealOrdersOrderByProperty["TokenIn"] = "TOKEN_IN";
27
- SealOrdersOrderByProperty["TokenOut"] = "TOKEN_OUT";
28
- SealOrdersOrderByProperty["AmountIn"] = "AMOUNT_IN";
29
- SealOrdersOrderByProperty["Price"] = "PRICE";
30
- SealOrdersOrderByProperty["Deadline"] = "DEADLINE";
31
- SealOrdersOrderByProperty["ChainId"] = "CHAIN_ID";
32
- SealOrdersOrderByProperty["DepositToken"] = "DEPOSIT_TOKEN";
33
- SealOrdersOrderByProperty["MinReservationDepositAmount"] = "MIN_RESERVATION_DEPOSIT_AMOUNT";
34
- SealOrdersOrderByProperty["RemainingAmount"] = "REMAINING_AMOUNT";
35
- SealOrdersOrderByProperty["ReservedAmount"] = "RESERVED_AMOUNT";
36
- SealOrdersOrderByProperty["FilledAmount"] = "FILLED_AMOUNT";
24
+ SealOrdersOrderByProperty["OrdersOrderByPropertyUnspecified"] = "OrdersOrderByProperty_UNSPECIFIED";
25
+ SealOrdersOrderByProperty["OrdersOrderByPropertyOwner"] = "OrdersOrderByProperty_OWNER";
26
+ SealOrdersOrderByProperty["OrdersOrderByPropertyTokenIn"] = "OrdersOrderByProperty_TOKEN_IN";
27
+ SealOrdersOrderByProperty["OrdersOrderByPropertyTokenOut"] = "OrdersOrderByProperty_TOKEN_OUT";
28
+ SealOrdersOrderByProperty["OrdersOrderByPropertyAmountIn"] = "OrdersOrderByProperty_AMOUNT_IN";
29
+ SealOrdersOrderByProperty["OrdersOrderByPropertyPrice"] = "OrdersOrderByProperty_PRICE";
30
+ SealOrdersOrderByProperty["OrdersOrderByPropertyDeadline"] = "OrdersOrderByProperty_DEADLINE";
31
+ SealOrdersOrderByProperty["OrdersOrderByPropertyChainId"] = "OrdersOrderByProperty_CHAIN_ID";
32
+ SealOrdersOrderByProperty["OrdersOrderByPropertyDepositToken"] = "OrdersOrderByProperty_DEPOSIT_TOKEN";
33
+ SealOrdersOrderByProperty["OrdersOrderByPropertyMinReservationDepositAmount"] = "OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT";
34
+ SealOrdersOrderByProperty["OrdersOrderByPropertyRemainingAmount"] = "OrdersOrderByProperty_REMAINING_AMOUNT";
35
+ SealOrdersOrderByProperty["OrdersOrderByPropertyReservedAmount"] = "OrdersOrderByProperty_RESERVED_AMOUNT";
36
+ SealOrdersOrderByProperty["OrdersOrderByPropertyFilledAmount"] = "OrdersOrderByProperty_FILLED_AMOUNT";
37
37
  })(SealOrdersOrderByProperty || (exports.SealOrdersOrderByProperty = SealOrdersOrderByProperty = {}));
@@ -0,0 +1,36 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TypesPagination
16
+ */
17
+ export interface TypesPagination {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TypesPagination
22
+ */
23
+ 'key'?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TypesPagination
28
+ */
29
+ 'limit'?: number;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof TypesPagination
34
+ */
35
+ 'countTotal'?: boolean;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum TypesTokenPermitApprovalsOrderByProperty {
18
+ TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
19
+ TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
20
+ TokenPermitApprovalsOrderByPropertyAmountIn = "TokenPermitApprovalsOrderByProperty_AMOUNT_IN",
21
+ TokenPermitApprovalsOrderByPropertySigDeadline = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE",
22
+ TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
23
+ }
@@ -0,0 +1,29 @@
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 });
16
+ exports.TypesTokenPermitApprovalsOrderByProperty = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var TypesTokenPermitApprovalsOrderByProperty;
23
+ (function (TypesTokenPermitApprovalsOrderByProperty) {
24
+ TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyUnspecified"] = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED";
25
+ TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyToken"] = "TokenPermitApprovalsOrderByProperty_TOKEN";
26
+ TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyAmountIn"] = "TokenPermitApprovalsOrderByProperty_AMOUNT_IN";
27
+ TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertySigDeadline"] = "TokenPermitApprovalsOrderByProperty_SIG_DEADLINE";
28
+ TypesTokenPermitApprovalsOrderByProperty["TokenPermitApprovalsOrderByPropertyChainId"] = "TokenPermitApprovalsOrderByProperty_CHAIN_ID";
29
+ })(TypesTokenPermitApprovalsOrderByProperty || (exports.TypesTokenPermitApprovalsOrderByProperty = TypesTokenPermitApprovalsOrderByProperty = {}));
@@ -0,0 +1,31 @@
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 { TypesTokenPermitApprovalsOrderByProperty } from './types-token-permit-approvals-order-by-property';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TypesTokenPermitApprovalsOrderBy
17
+ */
18
+ export interface TypesTokenPermitApprovalsOrderBy {
19
+ /**
20
+ *
21
+ * @type {TypesTokenPermitApprovalsOrderByProperty}
22
+ * @memberof TypesTokenPermitApprovalsOrderBy
23
+ */
24
+ 'property'?: TypesTokenPermitApprovalsOrderByProperty;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof TypesTokenPermitApprovalsOrderBy
29
+ */
30
+ 'descending'?: boolean;
31
+ }
@@ -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 });
@@ -15,7 +15,7 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum TypesTransferPermitType {
18
- Unspecified = "UNSPECIFIED",
19
- Eip2612 = "EIP2612",
20
- Permit2 = "PERMIT2"
18
+ TransferPermitTypeUnspecified = "TransferPermitType_UNSPECIFIED",
19
+ TransferPermitTypeEip2612 = "TransferPermitType_EIP2612",
20
+ TransferPermitTypePermit2 = "TransferPermitType_PERMIT2"
21
21
  }
@@ -21,7 +21,7 @@ exports.TypesTransferPermitType = void 0;
21
21
  */
22
22
  var TypesTransferPermitType;
23
23
  (function (TypesTransferPermitType) {
24
- TypesTransferPermitType["Unspecified"] = "UNSPECIFIED";
25
- TypesTransferPermitType["Eip2612"] = "EIP2612";
26
- TypesTransferPermitType["Permit2"] = "PERMIT2";
24
+ TypesTransferPermitType["TransferPermitTypeUnspecified"] = "TransferPermitType_UNSPECIFIED";
25
+ TypesTransferPermitType["TransferPermitTypeEip2612"] = "TransferPermitType_EIP2612";
26
+ TypesTransferPermitType["TransferPermitTypePermit2"] = "TransferPermitType_PERMIT2";
27
27
  })(TypesTransferPermitType || (exports.TypesTransferPermitType = TypesTransferPermitType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seal-protocol/backendjs",
3
- "version": "0.0.42",
3
+ "version": "v0.0.44",
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",