@seal-protocol/backendjs 0.0.41 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/seal-client.d.ts +250 -30
- package/lib/api/seal-client.js +272 -28
- package/lib/model/index.d.ts +14 -8
- package/lib/model/index.js +14 -8
- package/lib/model/seal-chain-config.d.ts +37 -0
- package/lib/model/seal-chain-config.js +15 -0
- package/lib/model/seal-config.d.ts +5 -5
- package/lib/model/seal-contract-config.d.ts +31 -0
- package/lib/model/seal-contract-config.js +15 -0
- package/lib/model/seal-create-order-request.d.ts +114 -0
- package/lib/model/seal-create-order-request.js +15 -0
- package/lib/model/seal-create-order-response.d.ts +24 -0
- package/lib/model/seal-create-order-response.js +15 -0
- package/lib/model/seal-create-token-permit-approval-request.d.ts +79 -0
- package/lib/model/seal-create-token-permit-approval-request.js +15 -0
- package/lib/model/seal-domain-separator-config.d.ts +30 -0
- package/lib/model/seal-domain-separator-config.js +15 -0
- package/lib/model/seal-get-permit-approvals-response.d.ts +31 -0
- package/lib/model/seal-get-permit-approvals-response.js +15 -0
- package/lib/model/seal-get-token-permit-approvals-response.d.ts +31 -0
- package/lib/model/seal-get-token-permit-approvals-response.js +15 -0
- package/lib/model/seal-greenlight.d.ts +67 -0
- package/lib/model/seal-greenlight.js +15 -0
- package/lib/model/seal-issue-greenlight-response.d.ts +25 -0
- package/lib/model/seal-issue-greenlight-response.js +15 -0
- package/lib/model/seal-order.d.ts +17 -5
- package/lib/model/seal-orders-order-by-property.d.ts +13 -13
- package/lib/model/seal-orders-order-by-property.js +13 -13
- package/lib/model/seal-token-permit-approval.d.ts +80 -0
- package/lib/model/seal-token-permit-approval.js +15 -0
- package/lib/model/types-pagination.d.ts +36 -0
- package/lib/model/types-pagination.js +15 -0
- package/lib/model/types-token-permit-approvals-order-by-property.d.ts +23 -0
- package/lib/model/types-token-permit-approvals-order-by-property.js +29 -0
- package/lib/model/types-token-permit-approvals-order-by.d.ts +31 -0
- package/lib/model/types-token-permit-approvals-order-by.js +15 -0
- package/lib/model/types-transfer-permit-type.d.ts +21 -0
- package/lib/model/types-transfer-permit-type.js +27 -0
- package/package.json +1 -1
package/lib/api/seal-client.d.ts
CHANGED
|
@@ -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 {
|
|
17
|
-
import type {
|
|
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,7 +25,9 @@ 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';
|
|
30
|
+
import type { SealIssueGreenlightResponse } from '../model';
|
|
28
31
|
/**
|
|
29
32
|
* SealClient - axios parameter creator
|
|
30
33
|
* @export
|
|
@@ -45,11 +48,18 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
45
48
|
config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
49
|
/**
|
|
47
50
|
*
|
|
48
|
-
* @param {
|
|
51
|
+
* @param {SealCreateOrderRequest} body
|
|
49
52
|
* @param {*} [options] Override http request option.
|
|
50
53
|
* @throws {RequiredError}
|
|
51
54
|
*/
|
|
52
|
-
|
|
55
|
+
createOrder: (body: SealCreateOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @param {SealCreateTokenPermitApprovalRequest} body
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
createTokenPermitApproval: (body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
63
|
/**
|
|
54
64
|
*
|
|
55
65
|
* @param {string} [paginationKey]
|
|
@@ -137,6 +147,20 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
137
147
|
* @throws {RequiredError}
|
|
138
148
|
*/
|
|
139
149
|
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>;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param {string} chainId
|
|
153
|
+
* @param {string} owner hex representation of owner address
|
|
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]
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getTokenPermitApprovals: (chainId: string, owner: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
164
|
/**
|
|
141
165
|
*
|
|
142
166
|
* @param {string} [paginationKey]
|
|
@@ -155,6 +179,16 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
155
179
|
* @throws {RequiredError}
|
|
156
180
|
*/
|
|
157
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>;
|
|
158
192
|
/**
|
|
159
193
|
*
|
|
160
194
|
* @param {*} [options] Override http request option.
|
|
@@ -182,11 +216,18 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
182
216
|
config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetConfigResponse>>;
|
|
183
217
|
/**
|
|
184
218
|
*
|
|
185
|
-
* @param {
|
|
219
|
+
* @param {SealCreateOrderRequest} body
|
|
186
220
|
* @param {*} [options] Override http request option.
|
|
187
221
|
* @throws {RequiredError}
|
|
188
222
|
*/
|
|
189
|
-
|
|
223
|
+
createOrder(body: SealCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCreateOrderResponse>>;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @param {SealCreateTokenPermitApprovalRequest} body
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
createTokenPermitApproval(body: SealCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
190
231
|
/**
|
|
191
232
|
*
|
|
192
233
|
* @param {string} [paginationKey]
|
|
@@ -274,6 +315,20 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
274
315
|
* @throws {RequiredError}
|
|
275
316
|
*/
|
|
276
317
|
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>>;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @param {string} chainId
|
|
321
|
+
* @param {string} owner hex representation of owner address
|
|
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]
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
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>>;
|
|
277
332
|
/**
|
|
278
333
|
*
|
|
279
334
|
* @param {string} [paginationKey]
|
|
@@ -292,6 +347,16 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
292
347
|
* @throws {RequiredError}
|
|
293
348
|
*/
|
|
294
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>>;
|
|
295
360
|
/**
|
|
296
361
|
*
|
|
297
362
|
* @param {*} [options] Override http request option.
|
|
@@ -319,11 +384,18 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
319
384
|
config(options?: RawAxiosRequestConfig): AxiosPromise<SealGetConfigResponse>;
|
|
320
385
|
/**
|
|
321
386
|
*
|
|
322
|
-
* @param {
|
|
387
|
+
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
*/
|
|
391
|
+
createOrder(requestParameters: SealClientCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealCreateOrderResponse>;
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
323
395
|
* @param {*} [options] Override http request option.
|
|
324
396
|
* @throws {RequiredError}
|
|
325
397
|
*/
|
|
326
|
-
|
|
398
|
+
createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
327
399
|
/**
|
|
328
400
|
*
|
|
329
401
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -366,6 +438,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
366
438
|
* @throws {RequiredError}
|
|
367
439
|
*/
|
|
368
440
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
getTokenPermitApprovals(requestParameters: SealClientGetTokenPermitApprovalsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetTokenPermitApprovalsResponse>;
|
|
369
448
|
/**
|
|
370
449
|
*
|
|
371
450
|
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
@@ -379,6 +458,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
379
458
|
* @throws {RequiredError}
|
|
380
459
|
*/
|
|
381
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>;
|
|
382
468
|
/**
|
|
383
469
|
*
|
|
384
470
|
* @param {*} [options] Override http request option.
|
|
@@ -400,17 +486,30 @@ export interface SealClientCancelOrderRequest {
|
|
|
400
486
|
readonly body: SealCancelOrderRequest;
|
|
401
487
|
}
|
|
402
488
|
/**
|
|
403
|
-
* Request parameters for
|
|
489
|
+
* Request parameters for createOrder operation in SealClient.
|
|
404
490
|
* @export
|
|
405
|
-
* @interface
|
|
491
|
+
* @interface SealClientCreateOrderRequest
|
|
406
492
|
*/
|
|
407
|
-
export interface
|
|
493
|
+
export interface SealClientCreateOrderRequest {
|
|
408
494
|
/**
|
|
409
495
|
*
|
|
410
|
-
* @type {
|
|
411
|
-
* @memberof
|
|
496
|
+
* @type {SealCreateOrderRequest}
|
|
497
|
+
* @memberof SealClientCreateOrder
|
|
412
498
|
*/
|
|
413
|
-
readonly body:
|
|
499
|
+
readonly body: SealCreateOrderRequest;
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Request parameters for createTokenPermitApproval operation in SealClient.
|
|
503
|
+
* @export
|
|
504
|
+
* @interface SealClientCreateTokenPermitApprovalRequest
|
|
505
|
+
*/
|
|
506
|
+
export interface SealClientCreateTokenPermitApprovalRequest {
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type {SealCreateTokenPermitApprovalRequest}
|
|
510
|
+
* @memberof SealClientCreateTokenPermitApproval
|
|
511
|
+
*/
|
|
512
|
+
readonly body: SealCreateTokenPermitApprovalRequest;
|
|
414
513
|
}
|
|
415
514
|
/**
|
|
416
515
|
* Request parameters for getChains operation in SealClient.
|
|
@@ -579,7 +678,7 @@ export interface SealClientGetOrdersRequest {
|
|
|
579
678
|
readonly toPriceDecimal?: string;
|
|
580
679
|
/**
|
|
581
680
|
*
|
|
582
|
-
* @type {'
|
|
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'}
|
|
583
682
|
* @memberof SealClientGetOrders
|
|
584
683
|
*/
|
|
585
684
|
readonly orderByProperty?: GetOrdersOrderByPropertyEnum;
|
|
@@ -760,6 +859,61 @@ export interface SealClientGetPairsRequest {
|
|
|
760
859
|
*/
|
|
761
860
|
readonly excludeEmpty?: boolean;
|
|
762
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* Request parameters for getTokenPermitApprovals operation in SealClient.
|
|
864
|
+
* @export
|
|
865
|
+
* @interface SealClientGetTokenPermitApprovalsRequest
|
|
866
|
+
*/
|
|
867
|
+
export interface SealClientGetTokenPermitApprovalsRequest {
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof SealClientGetTokenPermitApprovals
|
|
872
|
+
*/
|
|
873
|
+
readonly chainId: string;
|
|
874
|
+
/**
|
|
875
|
+
* hex representation of owner address
|
|
876
|
+
* @type {string}
|
|
877
|
+
* @memberof SealClientGetTokenPermitApprovals
|
|
878
|
+
*/
|
|
879
|
+
readonly owner: string;
|
|
880
|
+
/**
|
|
881
|
+
* hex representation of token address
|
|
882
|
+
* @type {string}
|
|
883
|
+
* @memberof SealClientGetTokenPermitApprovals
|
|
884
|
+
*/
|
|
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;
|
|
916
|
+
}
|
|
763
917
|
/**
|
|
764
918
|
* Request parameters for getTokens operation in SealClient.
|
|
765
919
|
* @export
|
|
@@ -803,6 +957,37 @@ export interface SealClientGetTokensRequest {
|
|
|
803
957
|
*/
|
|
804
958
|
readonly chainId?: string;
|
|
805
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
|
+
}
|
|
806
991
|
/**
|
|
807
992
|
* SealClient - object-oriented interface
|
|
808
993
|
* @export
|
|
@@ -827,12 +1012,20 @@ export declare class SealClient extends BaseAPI {
|
|
|
827
1012
|
config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetConfigResponse, any>>;
|
|
828
1013
|
/**
|
|
829
1014
|
*
|
|
830
|
-
* @param {
|
|
1015
|
+
* @param {SealClientCreateOrderRequest} requestParameters Request parameters.
|
|
1016
|
+
* @param {*} [options] Override http request option.
|
|
1017
|
+
* @throws {RequiredError}
|
|
1018
|
+
* @memberof SealClient
|
|
1019
|
+
*/
|
|
1020
|
+
createOrder(requestParameters: SealClientCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealCreateOrderResponse, any>>;
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @param {SealClientCreateTokenPermitApprovalRequest} requestParameters Request parameters.
|
|
831
1024
|
* @param {*} [options] Override http request option.
|
|
832
1025
|
* @throws {RequiredError}
|
|
833
1026
|
* @memberof SealClient
|
|
834
1027
|
*/
|
|
835
|
-
|
|
1028
|
+
createTokenPermitApproval(requestParameters: SealClientCreateTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
836
1029
|
/**
|
|
837
1030
|
*
|
|
838
1031
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -881,6 +1074,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
881
1074
|
* @memberof SealClient
|
|
882
1075
|
*/
|
|
883
1076
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any>>;
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
* @memberof SealClient
|
|
1083
|
+
*/
|
|
1084
|
+
getTokenPermitApprovals(requestParameters: SealClientGetTokenPermitApprovalsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetTokenPermitApprovalsResponse, any>>;
|
|
884
1085
|
/**
|
|
885
1086
|
*
|
|
886
1087
|
* @param {SealClientGetTokensRequest} requestParameters Request parameters.
|
|
@@ -896,6 +1097,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
896
1097
|
* @memberof SealClient
|
|
897
1098
|
*/
|
|
898
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>>;
|
|
899
1108
|
/**
|
|
900
1109
|
*
|
|
901
1110
|
* @param {*} [options] Override http request option.
|
|
@@ -931,19 +1140,19 @@ export declare enum GetOrderReservationsOrderByPropertyEnum {
|
|
|
931
1140
|
* @enum {string}
|
|
932
1141
|
*/
|
|
933
1142
|
export declare enum GetOrdersOrderByPropertyEnum {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
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"
|
|
947
1156
|
}
|
|
948
1157
|
/**
|
|
949
1158
|
* @export
|
|
@@ -952,6 +1161,17 @@ export declare enum GetOrdersOrderByPropertyEnum {
|
|
|
952
1161
|
export declare enum GetPairsOrderByPropertyEnum {
|
|
953
1162
|
PairsOrderByPropertyUnspecified = "PairsOrderByProperty_UNSPECIFIED"
|
|
954
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
|
+
}
|
|
955
1175
|
/**
|
|
956
1176
|
* @export
|
|
957
1177
|
* @enum {string}
|