@seal-protocol/backendjs 0.0.109 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/codegen/api/seal-client.d.ts +307 -27
- package/lib/codegen/api/seal-client.js +398 -46
- package/lib/codegen/model/index.d.ts +9 -7
- package/lib/codegen/model/index.js +9 -7
- package/lib/codegen/model/seal-add-rfq-request-viewer-request.d.ts +36 -0
- package/lib/codegen/model/seal-add-rfq-request-viewer-request.js +15 -0
- package/lib/codegen/model/seal-cancel-order-request.d.ts +2 -2
- package/lib/codegen/model/seal-config.d.ts +2 -3
- package/lib/codegen/model/seal-create-execution-message-request.d.ts +6 -0
- package/lib/codegen/model/seal-create-rfq-quote-request.d.ts +18 -0
- package/lib/codegen/model/seal-create-rfq-request-request.d.ts +6 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-rfq-request-viewers-response.d.ts +30 -0
- package/lib/codegen/model/seal-get-rfq-request-viewers-response.js +15 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.js +15 -0
- package/lib/codegen/model/seal-order-reservation.d.ts +6 -0
- package/lib/codegen/model/seal-order.d.ts +12 -0
- package/lib/codegen/model/seal-permit2-contract.d.ts +42 -0
- package/lib/codegen/model/seal-permit2-contract.js +15 -0
- package/lib/codegen/model/seal-remove-rfq-request-viewer-request.d.ts +36 -0
- package/lib/codegen/model/seal-remove-rfq-request-viewer-request.js +15 -0
- package/lib/codegen/model/seal-rfq-commitment.d.ts +24 -0
- package/lib/codegen/model/seal-rfq-contract.d.ts +90 -0
- package/lib/codegen/model/seal-rfq-contract.js +15 -0
- package/lib/codegen/model/seal-rfq-quote.d.ts +26 -2
- package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
- package/lib/codegen/model/seal-seal-contract.d.ts +96 -0
- package/lib/codegen/model/seal-seal-contract.js +15 -0
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.d.ts +3 -1
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.js +2 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SealAddRfqRequestViewerRequest } from '../model';
|
|
15
16
|
import type { SealCalculateRequiredPermitResponse } from '../model';
|
|
16
17
|
import type { SealCancelOrderRequest } from '../model';
|
|
17
18
|
import type { SealCreateExecutionMessageRequest } from '../model';
|
|
@@ -33,31 +34,43 @@ import type { SealGetOrderReservationsResponse } from '../model';
|
|
|
33
34
|
import type { SealGetOrdersResponse } from '../model';
|
|
34
35
|
import type { SealGetPairPriceResponse } from '../model';
|
|
35
36
|
import type { SealGetPairsResponse } from '../model';
|
|
37
|
+
import type { SealGetPermit2ContractsResponse } from '../model';
|
|
36
38
|
import type { SealGetRfqCommitmentResponse } from '../model';
|
|
39
|
+
import type { SealGetRfqContractsResponse } from '../model';
|
|
37
40
|
import type { SealGetRfqNonceResponse } from '../model';
|
|
38
41
|
import type { SealGetRfqQuotesResponse } from '../model';
|
|
42
|
+
import type { SealGetRfqRequestViewersResponse } from '../model';
|
|
39
43
|
import type { SealGetRfqRequestsResponse } from '../model';
|
|
40
|
-
import type {
|
|
44
|
+
import type { SealGetSealContractsResponse } from '../model';
|
|
41
45
|
import type { SealGetSyncStateResponse } from '../model';
|
|
42
46
|
import type { SealGetTokenPermitApprovalsResponse } from '../model';
|
|
43
47
|
import type { SealGetTokensResponse } from '../model';
|
|
44
48
|
import type { SealIssueGreenlightResponse } from '../model';
|
|
49
|
+
import type { SealRemoveRfqRequestViewerRequest } from '../model';
|
|
45
50
|
/**
|
|
46
51
|
* SealClient - axios parameter creator
|
|
47
52
|
* @export
|
|
48
53
|
*/
|
|
49
54
|
export declare const SealClientAxiosParamCreator: (configuration?: Configuration) => {
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
addRfqRequestViewer: (body: SealAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @param {string} chainId
|
|
53
65
|
* @param {string} owner hex representation of owner address
|
|
66
|
+
* @param {string} spender hex representation of spender address
|
|
54
67
|
* @param {string} token hex representation of token address
|
|
55
68
|
* @param {string} orderAmount
|
|
56
69
|
* @param {number} [orderExpiration] unix seconds
|
|
57
70
|
* @param {*} [options] Override http request option.
|
|
58
71
|
* @throws {RequiredError}
|
|
59
72
|
*/
|
|
60
|
-
calculateRequiredPermit: (chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
calculateRequiredPermit: (chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
74
|
/**
|
|
62
75
|
*
|
|
63
76
|
* @param {SealCancelOrderRequest} body
|
|
@@ -145,10 +158,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
145
158
|
*
|
|
146
159
|
* @param {string} chainId uint256
|
|
147
160
|
* @param {string} owner
|
|
161
|
+
* @param {string} contract
|
|
148
162
|
* @param {*} [options] Override http request option.
|
|
149
163
|
* @throws {RequiredError}
|
|
150
164
|
*/
|
|
151
|
-
getOrderNonce: (chainId: string, owner: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
165
|
+
getOrderNonce: (chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
166
|
/**
|
|
153
167
|
*
|
|
154
168
|
* @param {string} [chainId] uint256
|
|
@@ -191,10 +205,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
191
205
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
192
206
|
* @param {boolean} [onChainValue]
|
|
193
207
|
* @param {string} [id] 56-bytes in hex format
|
|
208
|
+
* @param {number} [contractId]
|
|
194
209
|
* @param {*} [options] Override http request option.
|
|
195
210
|
* @throws {RequiredError}
|
|
196
211
|
*/
|
|
197
|
-
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
212
|
+
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, contractId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
198
213
|
/**
|
|
199
214
|
*
|
|
200
215
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -219,6 +234,12 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
219
234
|
* @throws {RequiredError}
|
|
220
235
|
*/
|
|
221
236
|
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>;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
getPermit2Contracts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
243
|
/**
|
|
223
244
|
*
|
|
224
245
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -238,14 +259,22 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
238
259
|
* @throws {RequiredError}
|
|
239
260
|
*/
|
|
240
261
|
getRfqCommitments: (orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @param {string} [chainId]
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
getRfqContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
269
|
/**
|
|
242
270
|
*
|
|
243
271
|
* @param {string} owner
|
|
244
272
|
* @param {string} chainId
|
|
273
|
+
* @param {string} contract
|
|
245
274
|
* @param {*} [options] Override http request option.
|
|
246
275
|
* @throws {RequiredError}
|
|
247
276
|
*/
|
|
248
|
-
getRfqNonce: (owner: string, chainId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
277
|
+
getRfqNonce: (owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
249
278
|
/**
|
|
250
279
|
*
|
|
251
280
|
* @param {string} chainId
|
|
@@ -265,6 +294,16 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
265
294
|
* @throws {RequiredError}
|
|
266
295
|
*/
|
|
267
296
|
getRfqQuotes: (chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChainValue?: boolean, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @param {string} requestId
|
|
300
|
+
* @param {string} [paginationKey]
|
|
301
|
+
* @param {number} [paginationLimit]
|
|
302
|
+
* @param {boolean} [paginationCountTotal]
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
getRfqRequestViewers: (requestId: string, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
268
307
|
/**
|
|
269
308
|
*
|
|
270
309
|
* @param {string} [paginationKey]
|
|
@@ -284,20 +323,22 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
284
323
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
285
324
|
* @param {string} [excludedOfferer] TODO requires join
|
|
286
325
|
* @param {boolean} [hasCommitmentValue]
|
|
326
|
+
* @param {boolean} [privateValue]
|
|
287
327
|
* @param {*} [options] Override http request option.
|
|
288
328
|
* @throws {RequiredError}
|
|
289
329
|
*/
|
|
290
|
-
getRfqRequests: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
330
|
+
getRfqRequests: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, privateValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
291
331
|
/**
|
|
292
332
|
*
|
|
293
333
|
* @param {string} [chainId]
|
|
294
334
|
* @param {*} [options] Override http request option.
|
|
295
335
|
* @throws {RequiredError}
|
|
296
336
|
*/
|
|
297
|
-
|
|
337
|
+
getSealContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
298
338
|
/**
|
|
299
339
|
*
|
|
300
340
|
* @param {string} owner hex representation of owner address
|
|
341
|
+
* @param {string} spender hex representation of owner address
|
|
301
342
|
* @param {string} [chainId]
|
|
302
343
|
* @param {string} [token] hex representation of token address
|
|
303
344
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -308,7 +349,7 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
308
349
|
* @param {*} [options] Override http request option.
|
|
309
350
|
* @throws {RequiredError}
|
|
310
351
|
*/
|
|
311
|
-
getTokenPermitApprovals: (owner: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
352
|
+
getTokenPermitApprovals: (owner: string, spender: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
312
353
|
/**
|
|
313
354
|
*
|
|
314
355
|
* @param {string} [paginationKey]
|
|
@@ -331,12 +372,20 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
331
372
|
*
|
|
332
373
|
* @param {string} [chainId] uint256
|
|
333
374
|
* @param {string} [executor]
|
|
375
|
+
* @param {string} [sealContract]
|
|
334
376
|
* @param {string} [request] json
|
|
335
377
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
336
378
|
* @param {*} [options] Override http request option.
|
|
337
379
|
* @throws {RequiredError}
|
|
338
380
|
*/
|
|
339
|
-
issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
381
|
+
issueGreenlight: (chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
removeRfqRequestViewer: (body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
340
389
|
/**
|
|
341
390
|
*
|
|
342
391
|
* @param {*} [options] Override http request option.
|
|
@@ -349,17 +398,25 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
349
398
|
* @export
|
|
350
399
|
*/
|
|
351
400
|
export declare const SealClientFp: (configuration?: Configuration) => {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @param {SealAddRfqRequestViewerRequest} body
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
addRfqRequestViewer(body: SealAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
352
408
|
/**
|
|
353
409
|
*
|
|
354
410
|
* @param {string} chainId
|
|
355
411
|
* @param {string} owner hex representation of owner address
|
|
412
|
+
* @param {string} spender hex representation of spender address
|
|
356
413
|
* @param {string} token hex representation of token address
|
|
357
414
|
* @param {string} orderAmount
|
|
358
415
|
* @param {number} [orderExpiration] unix seconds
|
|
359
416
|
* @param {*} [options] Override http request option.
|
|
360
417
|
* @throws {RequiredError}
|
|
361
418
|
*/
|
|
362
|
-
calculateRequiredPermit(chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
419
|
+
calculateRequiredPermit(chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
363
420
|
/**
|
|
364
421
|
*
|
|
365
422
|
* @param {SealCancelOrderRequest} body
|
|
@@ -447,10 +504,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
447
504
|
*
|
|
448
505
|
* @param {string} chainId uint256
|
|
449
506
|
* @param {string} owner
|
|
507
|
+
* @param {string} contract
|
|
450
508
|
* @param {*} [options] Override http request option.
|
|
451
509
|
* @throws {RequiredError}
|
|
452
510
|
*/
|
|
453
|
-
getOrderNonce(chainId: string, owner: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
511
|
+
getOrderNonce(chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
454
512
|
/**
|
|
455
513
|
*
|
|
456
514
|
* @param {string} [chainId] uint256
|
|
@@ -493,10 +551,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
493
551
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
494
552
|
* @param {boolean} [onChainValue]
|
|
495
553
|
* @param {string} [id] 56-bytes in hex format
|
|
554
|
+
* @param {number} [contractId]
|
|
496
555
|
* @param {*} [options] Override http request option.
|
|
497
556
|
* @throws {RequiredError}
|
|
498
557
|
*/
|
|
499
|
-
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
558
|
+
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, contractId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
500
559
|
/**
|
|
501
560
|
*
|
|
502
561
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -521,6 +580,12 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
521
580
|
* @throws {RequiredError}
|
|
522
581
|
*/
|
|
523
582
|
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>>;
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPermit2ContractsResponse>>;
|
|
524
589
|
/**
|
|
525
590
|
*
|
|
526
591
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -540,14 +605,22 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
540
605
|
* @throws {RequiredError}
|
|
541
606
|
*/
|
|
542
607
|
getRfqCommitments(orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqCommitmentResponse>>;
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @param {string} [chainId]
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
getRfqContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqContractsResponse>>;
|
|
543
615
|
/**
|
|
544
616
|
*
|
|
545
617
|
* @param {string} owner
|
|
546
618
|
* @param {string} chainId
|
|
619
|
+
* @param {string} contract
|
|
547
620
|
* @param {*} [options] Override http request option.
|
|
548
621
|
* @throws {RequiredError}
|
|
549
622
|
*/
|
|
550
|
-
getRfqNonce(owner: string, chainId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
|
|
623
|
+
getRfqNonce(owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
|
|
551
624
|
/**
|
|
552
625
|
*
|
|
553
626
|
* @param {string} chainId
|
|
@@ -567,6 +640,16 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
567
640
|
* @throws {RequiredError}
|
|
568
641
|
*/
|
|
569
642
|
getRfqQuotes(chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChainValue?: boolean, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqQuotesResponse>>;
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @param {string} requestId
|
|
646
|
+
* @param {string} [paginationKey]
|
|
647
|
+
* @param {number} [paginationLimit]
|
|
648
|
+
* @param {boolean} [paginationCountTotal]
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
getRfqRequestViewers(requestId: string, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestViewersResponse>>;
|
|
570
653
|
/**
|
|
571
654
|
*
|
|
572
655
|
* @param {string} [paginationKey]
|
|
@@ -586,20 +669,22 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
586
669
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
587
670
|
* @param {string} [excludedOfferer] TODO requires join
|
|
588
671
|
* @param {boolean} [hasCommitmentValue]
|
|
672
|
+
* @param {boolean} [privateValue]
|
|
589
673
|
* @param {*} [options] Override http request option.
|
|
590
674
|
* @throws {RequiredError}
|
|
591
675
|
*/
|
|
592
|
-
getRfqRequests(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
676
|
+
getRfqRequests(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetRfqRequestsOrderByPropertyEnum, orderByDescending?: boolean, id?: string, chainId?: string, requester?: string, tokenIn?: string, tokenOut?: string, creationTimeAfter?: number, requestDeadlineAfter?: number, depositToken?: string, minDepositLessThan?: string, minDepositPerStableLessThan?: string, excludedOfferer?: string, hasCommitmentValue?: boolean, privateValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
|
|
593
677
|
/**
|
|
594
678
|
*
|
|
595
679
|
* @param {string} [chainId]
|
|
596
680
|
* @param {*} [options] Override http request option.
|
|
597
681
|
* @throws {RequiredError}
|
|
598
682
|
*/
|
|
599
|
-
|
|
683
|
+
getSealContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetSealContractsResponse>>;
|
|
600
684
|
/**
|
|
601
685
|
*
|
|
602
686
|
* @param {string} owner hex representation of owner address
|
|
687
|
+
* @param {string} spender hex representation of owner address
|
|
603
688
|
* @param {string} [chainId]
|
|
604
689
|
* @param {string} [token] hex representation of token address
|
|
605
690
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -610,7 +695,7 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
610
695
|
* @param {*} [options] Override http request option.
|
|
611
696
|
* @throws {RequiredError}
|
|
612
697
|
*/
|
|
613
|
-
getTokenPermitApprovals(owner: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
|
|
698
|
+
getTokenPermitApprovals(owner: string, spender: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
|
|
614
699
|
/**
|
|
615
700
|
*
|
|
616
701
|
* @param {string} [paginationKey]
|
|
@@ -633,12 +718,20 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
633
718
|
*
|
|
634
719
|
* @param {string} [chainId] uint256
|
|
635
720
|
* @param {string} [executor]
|
|
721
|
+
* @param {string} [sealContract]
|
|
636
722
|
* @param {string} [request] json
|
|
637
723
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
638
724
|
* @param {*} [options] Override http request option.
|
|
639
725
|
* @throws {RequiredError}
|
|
640
726
|
*/
|
|
641
|
-
issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
727
|
+
issueGreenlight(chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
removeRfqRequestViewer(body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
642
735
|
/**
|
|
643
736
|
*
|
|
644
737
|
* @param {*} [options] Override http request option.
|
|
@@ -651,6 +744,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
651
744
|
* @export
|
|
652
745
|
*/
|
|
653
746
|
export declare const SealClientFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
addRfqRequestViewer(requestParameters: SealClientAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
654
754
|
/**
|
|
655
755
|
*
|
|
656
756
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -762,6 +862,12 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
762
862
|
* @throws {RequiredError}
|
|
763
863
|
*/
|
|
764
864
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): AxiosPromise<SealGetPermit2ContractsResponse>;
|
|
765
871
|
/**
|
|
766
872
|
*
|
|
767
873
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -769,6 +875,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
769
875
|
* @throws {RequiredError}
|
|
770
876
|
*/
|
|
771
877
|
getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqCommitmentResponse>;
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqContractsResponse>;
|
|
772
885
|
/**
|
|
773
886
|
*
|
|
774
887
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -783,6 +896,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
783
896
|
* @throws {RequiredError}
|
|
784
897
|
*/
|
|
785
898
|
getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqQuotesResponse>;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
getRfqRequestViewers(requestParameters: SealClientGetRfqRequestViewersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestViewersResponse>;
|
|
786
906
|
/**
|
|
787
907
|
*
|
|
788
908
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -792,11 +912,11 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
792
912
|
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestsResponse>;
|
|
793
913
|
/**
|
|
794
914
|
*
|
|
795
|
-
* @param {
|
|
915
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
796
916
|
* @param {*} [options] Override http request option.
|
|
797
917
|
* @throws {RequiredError}
|
|
798
918
|
*/
|
|
799
|
-
|
|
919
|
+
getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetSealContractsResponse>;
|
|
800
920
|
/**
|
|
801
921
|
*
|
|
802
922
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -824,6 +944,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
824
944
|
* @throws {RequiredError}
|
|
825
945
|
*/
|
|
826
946
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
827
954
|
/**
|
|
828
955
|
*
|
|
829
956
|
* @param {*} [options] Override http request option.
|
|
@@ -831,6 +958,19 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
831
958
|
*/
|
|
832
959
|
syncState(options?: RawAxiosRequestConfig): AxiosPromise<SealGetSyncStateResponse>;
|
|
833
960
|
};
|
|
961
|
+
/**
|
|
962
|
+
* Request parameters for addRfqRequestViewer operation in SealClient.
|
|
963
|
+
* @export
|
|
964
|
+
* @interface SealClientAddRfqRequestViewerRequest
|
|
965
|
+
*/
|
|
966
|
+
export interface SealClientAddRfqRequestViewerRequest {
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {SealAddRfqRequestViewerRequest}
|
|
970
|
+
* @memberof SealClientAddRfqRequestViewer
|
|
971
|
+
*/
|
|
972
|
+
readonly body: SealAddRfqRequestViewerRequest;
|
|
973
|
+
}
|
|
834
974
|
/**
|
|
835
975
|
* Request parameters for calculateRequiredPermit operation in SealClient.
|
|
836
976
|
* @export
|
|
@@ -849,6 +989,12 @@ export interface SealClientCalculateRequiredPermitRequest {
|
|
|
849
989
|
* @memberof SealClientCalculateRequiredPermit
|
|
850
990
|
*/
|
|
851
991
|
readonly owner: string;
|
|
992
|
+
/**
|
|
993
|
+
* hex representation of spender address
|
|
994
|
+
* @type {string}
|
|
995
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
996
|
+
*/
|
|
997
|
+
readonly spender: string;
|
|
852
998
|
/**
|
|
853
999
|
* hex representation of token address
|
|
854
1000
|
* @type {string}
|
|
@@ -1087,6 +1233,12 @@ export interface SealClientGetOrderNonceRequest {
|
|
|
1087
1233
|
* @memberof SealClientGetOrderNonce
|
|
1088
1234
|
*/
|
|
1089
1235
|
readonly owner: string;
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @type {string}
|
|
1239
|
+
* @memberof SealClientGetOrderNonce
|
|
1240
|
+
*/
|
|
1241
|
+
readonly contract: string;
|
|
1090
1242
|
}
|
|
1091
1243
|
/**
|
|
1092
1244
|
* Request parameters for getOrderReservations operation in SealClient.
|
|
@@ -1305,6 +1457,12 @@ export interface SealClientGetOrdersRequest {
|
|
|
1305
1457
|
* @memberof SealClientGetOrders
|
|
1306
1458
|
*/
|
|
1307
1459
|
readonly id?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
*
|
|
1462
|
+
* @type {number}
|
|
1463
|
+
* @memberof SealClientGetOrders
|
|
1464
|
+
*/
|
|
1465
|
+
readonly contractId?: number;
|
|
1308
1466
|
}
|
|
1309
1467
|
/**
|
|
1310
1468
|
* Request parameters for getPairPrice operation in SealClient.
|
|
@@ -1477,6 +1635,19 @@ export interface SealClientGetRfqCommitmentsRequest {
|
|
|
1477
1635
|
*/
|
|
1478
1636
|
readonly settledRatioLessThanOrEq?: string;
|
|
1479
1637
|
}
|
|
1638
|
+
/**
|
|
1639
|
+
* Request parameters for getRfqContracts operation in SealClient.
|
|
1640
|
+
* @export
|
|
1641
|
+
* @interface SealClientGetRfqContractsRequest
|
|
1642
|
+
*/
|
|
1643
|
+
export interface SealClientGetRfqContractsRequest {
|
|
1644
|
+
/**
|
|
1645
|
+
*
|
|
1646
|
+
* @type {string}
|
|
1647
|
+
* @memberof SealClientGetRfqContracts
|
|
1648
|
+
*/
|
|
1649
|
+
readonly chainId?: string;
|
|
1650
|
+
}
|
|
1480
1651
|
/**
|
|
1481
1652
|
* Request parameters for getRfqNonce operation in SealClient.
|
|
1482
1653
|
* @export
|
|
@@ -1495,6 +1666,12 @@ export interface SealClientGetRfqNonceRequest {
|
|
|
1495
1666
|
* @memberof SealClientGetRfqNonce
|
|
1496
1667
|
*/
|
|
1497
1668
|
readonly chainId: string;
|
|
1669
|
+
/**
|
|
1670
|
+
*
|
|
1671
|
+
* @type {string}
|
|
1672
|
+
* @memberof SealClientGetRfqNonce
|
|
1673
|
+
*/
|
|
1674
|
+
readonly contract: string;
|
|
1498
1675
|
}
|
|
1499
1676
|
/**
|
|
1500
1677
|
* Request parameters for getRfqQuotes operation in SealClient.
|
|
@@ -1581,6 +1758,37 @@ export interface SealClientGetRfqQuotesRequest {
|
|
|
1581
1758
|
*/
|
|
1582
1759
|
readonly deadlineAfter?: number;
|
|
1583
1760
|
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Request parameters for getRfqRequestViewers operation in SealClient.
|
|
1763
|
+
* @export
|
|
1764
|
+
* @interface SealClientGetRfqRequestViewersRequest
|
|
1765
|
+
*/
|
|
1766
|
+
export interface SealClientGetRfqRequestViewersRequest {
|
|
1767
|
+
/**
|
|
1768
|
+
*
|
|
1769
|
+
* @type {string}
|
|
1770
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1771
|
+
*/
|
|
1772
|
+
readonly requestId: string;
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @type {string}
|
|
1776
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1777
|
+
*/
|
|
1778
|
+
readonly paginationKey?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {number}
|
|
1782
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1783
|
+
*/
|
|
1784
|
+
readonly paginationLimit?: number;
|
|
1785
|
+
/**
|
|
1786
|
+
*
|
|
1787
|
+
* @type {boolean}
|
|
1788
|
+
* @memberof SealClientGetRfqRequestViewers
|
|
1789
|
+
*/
|
|
1790
|
+
readonly paginationCountTotal?: boolean;
|
|
1791
|
+
}
|
|
1584
1792
|
/**
|
|
1585
1793
|
* Request parameters for getRfqRequests operation in SealClient.
|
|
1586
1794
|
* @export
|
|
@@ -1689,17 +1897,23 @@ export interface SealClientGetRfqRequestsRequest {
|
|
|
1689
1897
|
* @memberof SealClientGetRfqRequests
|
|
1690
1898
|
*/
|
|
1691
1899
|
readonly hasCommitmentValue?: boolean;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {boolean}
|
|
1903
|
+
* @memberof SealClientGetRfqRequests
|
|
1904
|
+
*/
|
|
1905
|
+
readonly privateValue?: boolean;
|
|
1692
1906
|
}
|
|
1693
1907
|
/**
|
|
1694
|
-
* Request parameters for
|
|
1908
|
+
* Request parameters for getSealContracts operation in SealClient.
|
|
1695
1909
|
* @export
|
|
1696
|
-
* @interface
|
|
1910
|
+
* @interface SealClientGetSealContractsRequest
|
|
1697
1911
|
*/
|
|
1698
|
-
export interface
|
|
1912
|
+
export interface SealClientGetSealContractsRequest {
|
|
1699
1913
|
/**
|
|
1700
1914
|
*
|
|
1701
1915
|
* @type {string}
|
|
1702
|
-
* @memberof
|
|
1916
|
+
* @memberof SealClientGetSealContracts
|
|
1703
1917
|
*/
|
|
1704
1918
|
readonly chainId?: string;
|
|
1705
1919
|
}
|
|
@@ -1715,6 +1929,12 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
1715
1929
|
* @memberof SealClientGetTokenPermitApprovals
|
|
1716
1930
|
*/
|
|
1717
1931
|
readonly owner: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* hex representation of owner address
|
|
1934
|
+
* @type {string}
|
|
1935
|
+
* @memberof SealClientGetTokenPermitApprovals
|
|
1936
|
+
*/
|
|
1937
|
+
readonly spender: string;
|
|
1718
1938
|
/**
|
|
1719
1939
|
*
|
|
1720
1940
|
* @type {string}
|
|
@@ -1729,7 +1949,7 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
1729
1949
|
readonly token?: string;
|
|
1730
1950
|
/**
|
|
1731
1951
|
*
|
|
1732
|
-
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
|
|
1952
|
+
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID' | 'TokenPermitApprovalsOrderByProperty_OWNER' | 'TokenPermitApprovalsOrderByProperty_SPENDER'}
|
|
1733
1953
|
* @memberof SealClientGetTokenPermitApprovals
|
|
1734
1954
|
*/
|
|
1735
1955
|
readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
@@ -1819,6 +2039,12 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1819
2039
|
* @memberof SealClientIssueGreenlight
|
|
1820
2040
|
*/
|
|
1821
2041
|
readonly executor?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
*
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof SealClientIssueGreenlight
|
|
2046
|
+
*/
|
|
2047
|
+
readonly sealContract?: string;
|
|
1822
2048
|
/**
|
|
1823
2049
|
* json
|
|
1824
2050
|
* @type {string}
|
|
@@ -1832,6 +2058,19 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1832
2058
|
*/
|
|
1833
2059
|
readonly requestHash?: string;
|
|
1834
2060
|
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Request parameters for removeRfqRequestViewer operation in SealClient.
|
|
2063
|
+
* @export
|
|
2064
|
+
* @interface SealClientRemoveRfqRequestViewerRequest
|
|
2065
|
+
*/
|
|
2066
|
+
export interface SealClientRemoveRfqRequestViewerRequest {
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @type {SealRemoveRfqRequestViewerRequest}
|
|
2070
|
+
* @memberof SealClientRemoveRfqRequestViewer
|
|
2071
|
+
*/
|
|
2072
|
+
readonly body: SealRemoveRfqRequestViewerRequest;
|
|
2073
|
+
}
|
|
1835
2074
|
/**
|
|
1836
2075
|
* SealClient - object-oriented interface
|
|
1837
2076
|
* @export
|
|
@@ -1839,6 +2078,14 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1839
2078
|
* @extends {BaseAPI}
|
|
1840
2079
|
*/
|
|
1841
2080
|
export declare class SealClient extends BaseAPI {
|
|
2081
|
+
/**
|
|
2082
|
+
*
|
|
2083
|
+
* @param {SealClientAddRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
* @memberof SealClient
|
|
2087
|
+
*/
|
|
2088
|
+
addRfqRequestViewer(requestParameters: SealClientAddRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1842
2089
|
/**
|
|
1843
2090
|
*
|
|
1844
2091
|
* @param {SealClientCalculateRequiredPermitRequest} requestParameters Request parameters.
|
|
@@ -1966,6 +2213,13 @@ export declare class SealClient extends BaseAPI {
|
|
|
1966
2213
|
* @memberof SealClient
|
|
1967
2214
|
*/
|
|
1968
2215
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any, {}>>;
|
|
2216
|
+
/**
|
|
2217
|
+
*
|
|
2218
|
+
* @param {*} [options] Override http request option.
|
|
2219
|
+
* @throws {RequiredError}
|
|
2220
|
+
* @memberof SealClient
|
|
2221
|
+
*/
|
|
2222
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPermit2ContractsResponse, any, {}>>;
|
|
1969
2223
|
/**
|
|
1970
2224
|
*
|
|
1971
2225
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -1974,6 +2228,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1974
2228
|
* @memberof SealClient
|
|
1975
2229
|
*/
|
|
1976
2230
|
getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqCommitmentResponse, any, {}>>;
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
2234
|
+
* @param {*} [options] Override http request option.
|
|
2235
|
+
* @throws {RequiredError}
|
|
2236
|
+
* @memberof SealClient
|
|
2237
|
+
*/
|
|
2238
|
+
getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqContractsResponse, any, {}>>;
|
|
1977
2239
|
/**
|
|
1978
2240
|
*
|
|
1979
2241
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -1990,6 +2252,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1990
2252
|
* @memberof SealClient
|
|
1991
2253
|
*/
|
|
1992
2254
|
getRfqQuotes(requestParameters: SealClientGetRfqQuotesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqQuotesResponse, any, {}>>;
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @param {SealClientGetRfqRequestViewersRequest} requestParameters Request parameters.
|
|
2258
|
+
* @param {*} [options] Override http request option.
|
|
2259
|
+
* @throws {RequiredError}
|
|
2260
|
+
* @memberof SealClient
|
|
2261
|
+
*/
|
|
2262
|
+
getRfqRequestViewers(requestParameters: SealClientGetRfqRequestViewersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestViewersResponse, any, {}>>;
|
|
1993
2263
|
/**
|
|
1994
2264
|
*
|
|
1995
2265
|
* @param {SealClientGetRfqRequestsRequest} requestParameters Request parameters.
|
|
@@ -2000,12 +2270,12 @@ export declare class SealClient extends BaseAPI {
|
|
|
2000
2270
|
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestsResponse, any, {}>>;
|
|
2001
2271
|
/**
|
|
2002
2272
|
*
|
|
2003
|
-
* @param {
|
|
2273
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
2004
2274
|
* @param {*} [options] Override http request option.
|
|
2005
2275
|
* @throws {RequiredError}
|
|
2006
2276
|
* @memberof SealClient
|
|
2007
2277
|
*/
|
|
2008
|
-
|
|
2278
|
+
getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetSealContractsResponse, any, {}>>;
|
|
2009
2279
|
/**
|
|
2010
2280
|
*
|
|
2011
2281
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -2037,6 +2307,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2037
2307
|
* @memberof SealClient
|
|
2038
2308
|
*/
|
|
2039
2309
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any, {}>>;
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
2313
|
+
* @param {*} [options] Override http request option.
|
|
2314
|
+
* @throws {RequiredError}
|
|
2315
|
+
* @memberof SealClient
|
|
2316
|
+
*/
|
|
2317
|
+
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2040
2318
|
/**
|
|
2041
2319
|
*
|
|
2042
2320
|
* @param {*} [options] Override http request option.
|
|
@@ -2156,7 +2434,9 @@ export declare enum GetRfqRequestsOrderByPropertyEnum {
|
|
|
2156
2434
|
export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
|
|
2157
2435
|
TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
|
|
2158
2436
|
TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
|
|
2159
|
-
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
|
|
2437
|
+
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID",
|
|
2438
|
+
TokenPermitApprovalsOrderByPropertyOwner = "TokenPermitApprovalsOrderByProperty_OWNER",
|
|
2439
|
+
TokenPermitApprovalsOrderByPropertySpender = "TokenPermitApprovalsOrderByProperty_SPENDER"
|
|
2160
2440
|
}
|
|
2161
2441
|
/**
|
|
2162
2442
|
* @export
|