@seal-protocol/backendjs 0.0.108 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/lib/codegen/api/seal-client.d.ts +178 -35
  2. package/lib/codegen/api/seal-client.js +226 -60
  3. package/lib/codegen/model/index.d.ts +6 -7
  4. package/lib/codegen/model/index.js +6 -7
  5. package/lib/codegen/model/seal-config.d.ts +2 -3
  6. package/lib/codegen/model/seal-create-execution-message-request.d.ts +6 -0
  7. package/lib/codegen/model/seal-get-permit2-contracts-response.d.ts +25 -0
  8. package/lib/codegen/model/seal-get-permit2-contracts-response.js +15 -0
  9. package/lib/codegen/model/seal-get-rfq-contracts-response.d.ts +25 -0
  10. package/lib/codegen/model/seal-get-rfq-contracts-response.js +15 -0
  11. package/lib/codegen/model/seal-get-seal-contracts-response.d.ts +25 -0
  12. package/lib/codegen/model/seal-get-seal-contracts-response.js +15 -0
  13. package/lib/codegen/model/seal-order.d.ts +12 -0
  14. package/lib/codegen/model/seal-permit2-contract.d.ts +42 -0
  15. package/lib/codegen/model/seal-permit2-contract.js +15 -0
  16. package/lib/codegen/model/seal-rfq-commitment.d.ts +6 -0
  17. package/lib/codegen/model/seal-rfq-contract.d.ts +84 -0
  18. package/lib/codegen/model/seal-rfq-contract.js +15 -0
  19. package/lib/codegen/model/seal-rfq-quote.d.ts +8 -2
  20. package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
  21. package/lib/codegen/model/seal-seal-contract.d.ts +96 -0
  22. package/lib/codegen/model/seal-seal-contract.js +15 -0
  23. package/lib/codegen/model/types-token-permit-approvals-order-by-property.d.ts +3 -1
  24. package/lib/codegen/model/types-token-permit-approvals-order-by-property.js +2 -0
  25. package/package.json +1 -1
@@ -33,11 +33,13 @@ import type { SealGetOrderReservationsResponse } from '../model';
33
33
  import type { SealGetOrdersResponse } from '../model';
34
34
  import type { SealGetPairPriceResponse } from '../model';
35
35
  import type { SealGetPairsResponse } from '../model';
36
+ import type { SealGetPermit2ContractsResponse } from '../model';
36
37
  import type { SealGetRfqCommitmentResponse } from '../model';
38
+ import type { SealGetRfqContractsResponse } from '../model';
37
39
  import type { SealGetRfqNonceResponse } from '../model';
38
40
  import type { SealGetRfqQuotesResponse } from '../model';
39
41
  import type { SealGetRfqRequestsResponse } from '../model';
40
- import type { SealGetSealContractParamsResponse } from '../model';
42
+ import type { SealGetSealContractsResponse } from '../model';
41
43
  import type { SealGetSyncStateResponse } from '../model';
42
44
  import type { SealGetTokenPermitApprovalsResponse } from '../model';
43
45
  import type { SealGetTokensResponse } from '../model';
@@ -51,13 +53,14 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
51
53
  *
52
54
  * @param {string} chainId
53
55
  * @param {string} owner hex representation of owner address
56
+ * @param {string} spender hex representation of spender address
54
57
  * @param {string} token hex representation of token address
55
58
  * @param {string} orderAmount
56
59
  * @param {number} [orderExpiration] unix seconds
57
60
  * @param {*} [options] Override http request option.
58
61
  * @throws {RequiredError}
59
62
  */
60
- calculateRequiredPermit: (chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ calculateRequiredPermit: (chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
64
  /**
62
65
  *
63
66
  * @param {SealCancelOrderRequest} body
@@ -145,10 +148,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
145
148
  *
146
149
  * @param {string} chainId uint256
147
150
  * @param {string} owner
151
+ * @param {string} contract
148
152
  * @param {*} [options] Override http request option.
149
153
  * @throws {RequiredError}
150
154
  */
151
- getOrderNonce: (chainId: string, owner: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
155
+ getOrderNonce: (chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
152
156
  /**
153
157
  *
154
158
  * @param {string} [chainId] uint256
@@ -191,10 +195,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
191
195
  * @param {string} [minRemainingAmountStableTerms] not supported yet
192
196
  * @param {boolean} [onChainValue]
193
197
  * @param {string} [id] 56-bytes in hex format
198
+ * @param {number} [contractId]
194
199
  * @param {*} [options] Override http request option.
195
200
  * @throws {RequiredError}
196
201
  */
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>;
202
+ 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
203
  /**
199
204
  *
200
205
  * @param {string} [tokenInCoingeckoId]
@@ -219,6 +224,12 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
219
224
  * @throws {RequiredError}
220
225
  */
221
226
  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>;
227
+ /**
228
+ *
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ getPermit2Contracts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
222
233
  /**
223
234
  *
224
235
  * @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
@@ -232,18 +243,28 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
232
243
  * @param {string} [tokenIn]
233
244
  * @param {string} [tokenOut]
234
245
  * @param {string} [commitmentId]
246
+ * @param {number} [settlementTimeAfter]
247
+ * @param {string} [settledRatioLessThanOrEq]
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ 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>;
252
+ /**
253
+ *
254
+ * @param {string} [chainId]
235
255
  * @param {*} [options] Override http request option.
236
256
  * @throws {RequiredError}
237
257
  */
238
- getRfqCommitments: (orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
258
+ getRfqContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
239
259
  /**
240
260
  *
241
261
  * @param {string} owner
242
262
  * @param {string} chainId
263
+ * @param {string} contract
243
264
  * @param {*} [options] Override http request option.
244
265
  * @throws {RequiredError}
245
266
  */
246
- getRfqNonce: (owner: string, chainId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
267
+ getRfqNonce: (owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
247
268
  /**
248
269
  *
249
270
  * @param {string} chainId
@@ -256,13 +277,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
256
277
  * @param {string} [requestId]
257
278
  * @param {string} [offerer]
258
279
  * @param {string} [id]
259
- * @param {string} [onChain]
280
+ * @param {boolean} [onChainValue]
260
281
  * @param {number} [settlementTimeAfter]
261
282
  * @param {number} [deadlineAfter]
262
283
  * @param {*} [options] Override http request option.
263
284
  * @throws {RequiredError}
264
285
  */
265
- getRfqQuotes: (chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChain?: string, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
286
+ 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>;
266
287
  /**
267
288
  *
268
289
  * @param {string} [paginationKey]
@@ -281,20 +302,22 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
281
302
  * @param {string} [minDepositLessThan]
282
303
  * @param {string} [minDepositPerStableLessThan] TODO requires price.
283
304
  * @param {string} [excludedOfferer] TODO requires join
305
+ * @param {boolean} [hasCommitmentValue]
284
306
  * @param {*} [options] Override http request option.
285
307
  * @throws {RequiredError}
286
308
  */
287
- 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, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
309
+ 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>;
288
310
  /**
289
311
  *
290
312
  * @param {string} [chainId]
291
313
  * @param {*} [options] Override http request option.
292
314
  * @throws {RequiredError}
293
315
  */
294
- getSealContractParams: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
316
+ getSealContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
295
317
  /**
296
318
  *
297
319
  * @param {string} owner hex representation of owner address
320
+ * @param {string} spender hex representation of owner address
298
321
  * @param {string} [chainId]
299
322
  * @param {string} [token] hex representation of token address
300
323
  * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
@@ -305,7 +328,7 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
305
328
  * @param {*} [options] Override http request option.
306
329
  * @throws {RequiredError}
307
330
  */
308
- getTokenPermitApprovals: (owner: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
331
+ getTokenPermitApprovals: (owner: string, spender: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
309
332
  /**
310
333
  *
311
334
  * @param {string} [paginationKey]
@@ -328,12 +351,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
328
351
  *
329
352
  * @param {string} [chainId] uint256
330
353
  * @param {string} [executor]
354
+ * @param {string} [sealContract]
331
355
  * @param {string} [request] json
332
356
  * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
333
357
  * @param {*} [options] Override http request option.
334
358
  * @throws {RequiredError}
335
359
  */
336
- issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
360
+ issueGreenlight: (chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
337
361
  /**
338
362
  *
339
363
  * @param {*} [options] Override http request option.
@@ -350,13 +374,14 @@ export declare const SealClientFp: (configuration?: Configuration) => {
350
374
  *
351
375
  * @param {string} chainId
352
376
  * @param {string} owner hex representation of owner address
377
+ * @param {string} spender hex representation of spender address
353
378
  * @param {string} token hex representation of token address
354
379
  * @param {string} orderAmount
355
380
  * @param {number} [orderExpiration] unix seconds
356
381
  * @param {*} [options] Override http request option.
357
382
  * @throws {RequiredError}
358
383
  */
359
- calculateRequiredPermit(chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
384
+ calculateRequiredPermit(chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
360
385
  /**
361
386
  *
362
387
  * @param {SealCancelOrderRequest} body
@@ -444,10 +469,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
444
469
  *
445
470
  * @param {string} chainId uint256
446
471
  * @param {string} owner
472
+ * @param {string} contract
447
473
  * @param {*} [options] Override http request option.
448
474
  * @throws {RequiredError}
449
475
  */
450
- getOrderNonce(chainId: string, owner: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
476
+ getOrderNonce(chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
451
477
  /**
452
478
  *
453
479
  * @param {string} [chainId] uint256
@@ -490,10 +516,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
490
516
  * @param {string} [minRemainingAmountStableTerms] not supported yet
491
517
  * @param {boolean} [onChainValue]
492
518
  * @param {string} [id] 56-bytes in hex format
519
+ * @param {number} [contractId]
493
520
  * @param {*} [options] Override http request option.
494
521
  * @throws {RequiredError}
495
522
  */
496
- 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>>;
523
+ 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>>;
497
524
  /**
498
525
  *
499
526
  * @param {string} [tokenInCoingeckoId]
@@ -518,6 +545,12 @@ export declare const SealClientFp: (configuration?: Configuration) => {
518
545
  * @throws {RequiredError}
519
546
  */
520
547
  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>>;
548
+ /**
549
+ *
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPermit2ContractsResponse>>;
521
554
  /**
522
555
  *
523
556
  * @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
@@ -531,18 +564,28 @@ export declare const SealClientFp: (configuration?: Configuration) => {
531
564
  * @param {string} [tokenIn]
532
565
  * @param {string} [tokenOut]
533
566
  * @param {string} [commitmentId]
567
+ * @param {number} [settlementTimeAfter]
568
+ * @param {string} [settledRatioLessThanOrEq]
534
569
  * @param {*} [options] Override http request option.
535
570
  * @throws {RequiredError}
536
571
  */
537
- getRfqCommitments(orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqCommitmentResponse>>;
572
+ 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>>;
573
+ /**
574
+ *
575
+ * @param {string} [chainId]
576
+ * @param {*} [options] Override http request option.
577
+ * @throws {RequiredError}
578
+ */
579
+ getRfqContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqContractsResponse>>;
538
580
  /**
539
581
  *
540
582
  * @param {string} owner
541
583
  * @param {string} chainId
584
+ * @param {string} contract
542
585
  * @param {*} [options] Override http request option.
543
586
  * @throws {RequiredError}
544
587
  */
545
- getRfqNonce(owner: string, chainId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
588
+ getRfqNonce(owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
546
589
  /**
547
590
  *
548
591
  * @param {string} chainId
@@ -555,13 +598,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
555
598
  * @param {string} [requestId]
556
599
  * @param {string} [offerer]
557
600
  * @param {string} [id]
558
- * @param {string} [onChain]
601
+ * @param {boolean} [onChainValue]
559
602
  * @param {number} [settlementTimeAfter]
560
603
  * @param {number} [deadlineAfter]
561
604
  * @param {*} [options] Override http request option.
562
605
  * @throws {RequiredError}
563
606
  */
564
- getRfqQuotes(chainId: string, orderByProperty?: GetRfqQuotesOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, quoteHash?: string, requestId?: string, offerer?: string, id?: string, onChain?: string, settlementTimeAfter?: number, deadlineAfter?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqQuotesResponse>>;
607
+ 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>>;
565
608
  /**
566
609
  *
567
610
  * @param {string} [paginationKey]
@@ -580,20 +623,22 @@ export declare const SealClientFp: (configuration?: Configuration) => {
580
623
  * @param {string} [minDepositLessThan]
581
624
  * @param {string} [minDepositPerStableLessThan] TODO requires price.
582
625
  * @param {string} [excludedOfferer] TODO requires join
626
+ * @param {boolean} [hasCommitmentValue]
583
627
  * @param {*} [options] Override http request option.
584
628
  * @throws {RequiredError}
585
629
  */
586
- 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, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqRequestsResponse>>;
630
+ 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>>;
587
631
  /**
588
632
  *
589
633
  * @param {string} [chainId]
590
634
  * @param {*} [options] Override http request option.
591
635
  * @throws {RequiredError}
592
636
  */
593
- getSealContractParams(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetSealContractParamsResponse>>;
637
+ getSealContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetSealContractsResponse>>;
594
638
  /**
595
639
  *
596
640
  * @param {string} owner hex representation of owner address
641
+ * @param {string} spender hex representation of owner address
597
642
  * @param {string} [chainId]
598
643
  * @param {string} [token] hex representation of token address
599
644
  * @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
@@ -604,7 +649,7 @@ export declare const SealClientFp: (configuration?: Configuration) => {
604
649
  * @param {*} [options] Override http request option.
605
650
  * @throws {RequiredError}
606
651
  */
607
- 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>>;
652
+ 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>>;
608
653
  /**
609
654
  *
610
655
  * @param {string} [paginationKey]
@@ -627,12 +672,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
627
672
  *
628
673
  * @param {string} [chainId] uint256
629
674
  * @param {string} [executor]
675
+ * @param {string} [sealContract]
630
676
  * @param {string} [request] json
631
677
  * @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
632
678
  * @param {*} [options] Override http request option.
633
679
  * @throws {RequiredError}
634
680
  */
635
- issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
681
+ issueGreenlight(chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
636
682
  /**
637
683
  *
638
684
  * @param {*} [options] Override http request option.
@@ -756,6 +802,12 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
756
802
  * @throws {RequiredError}
757
803
  */
758
804
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
805
+ /**
806
+ *
807
+ * @param {*} [options] Override http request option.
808
+ * @throws {RequiredError}
809
+ */
810
+ getPermit2Contracts(options?: RawAxiosRequestConfig): AxiosPromise<SealGetPermit2ContractsResponse>;
759
811
  /**
760
812
  *
761
813
  * @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
@@ -763,6 +815,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
763
815
  * @throws {RequiredError}
764
816
  */
765
817
  getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqCommitmentResponse>;
818
+ /**
819
+ *
820
+ * @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
821
+ * @param {*} [options] Override http request option.
822
+ * @throws {RequiredError}
823
+ */
824
+ getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqContractsResponse>;
766
825
  /**
767
826
  *
768
827
  * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
@@ -786,11 +845,11 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
786
845
  getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestsResponse>;
787
846
  /**
788
847
  *
789
- * @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
848
+ * @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
790
849
  * @param {*} [options] Override http request option.
791
850
  * @throws {RequiredError}
792
851
  */
793
- getSealContractParams(requestParameters?: SealClientGetSealContractParamsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetSealContractParamsResponse>;
852
+ getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetSealContractsResponse>;
794
853
  /**
795
854
  *
796
855
  * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
@@ -843,6 +902,12 @@ export interface SealClientCalculateRequiredPermitRequest {
843
902
  * @memberof SealClientCalculateRequiredPermit
844
903
  */
845
904
  readonly owner: string;
905
+ /**
906
+ * hex representation of spender address
907
+ * @type {string}
908
+ * @memberof SealClientCalculateRequiredPermit
909
+ */
910
+ readonly spender: string;
846
911
  /**
847
912
  * hex representation of token address
848
913
  * @type {string}
@@ -1081,6 +1146,12 @@ export interface SealClientGetOrderNonceRequest {
1081
1146
  * @memberof SealClientGetOrderNonce
1082
1147
  */
1083
1148
  readonly owner: string;
1149
+ /**
1150
+ *
1151
+ * @type {string}
1152
+ * @memberof SealClientGetOrderNonce
1153
+ */
1154
+ readonly contract: string;
1084
1155
  }
1085
1156
  /**
1086
1157
  * Request parameters for getOrderReservations operation in SealClient.
@@ -1299,6 +1370,12 @@ export interface SealClientGetOrdersRequest {
1299
1370
  * @memberof SealClientGetOrders
1300
1371
  */
1301
1372
  readonly id?: string;
1373
+ /**
1374
+ *
1375
+ * @type {number}
1376
+ * @memberof SealClientGetOrders
1377
+ */
1378
+ readonly contractId?: number;
1302
1379
  }
1303
1380
  /**
1304
1381
  * Request parameters for getPairPrice operation in SealClient.
@@ -1458,6 +1535,31 @@ export interface SealClientGetRfqCommitmentsRequest {
1458
1535
  * @memberof SealClientGetRfqCommitments
1459
1536
  */
1460
1537
  readonly commitmentId?: string;
1538
+ /**
1539
+ *
1540
+ * @type {number}
1541
+ * @memberof SealClientGetRfqCommitments
1542
+ */
1543
+ readonly settlementTimeAfter?: number;
1544
+ /**
1545
+ *
1546
+ * @type {string}
1547
+ * @memberof SealClientGetRfqCommitments
1548
+ */
1549
+ readonly settledRatioLessThanOrEq?: string;
1550
+ }
1551
+ /**
1552
+ * Request parameters for getRfqContracts operation in SealClient.
1553
+ * @export
1554
+ * @interface SealClientGetRfqContractsRequest
1555
+ */
1556
+ export interface SealClientGetRfqContractsRequest {
1557
+ /**
1558
+ *
1559
+ * @type {string}
1560
+ * @memberof SealClientGetRfqContracts
1561
+ */
1562
+ readonly chainId?: string;
1461
1563
  }
1462
1564
  /**
1463
1565
  * Request parameters for getRfqNonce operation in SealClient.
@@ -1477,6 +1579,12 @@ export interface SealClientGetRfqNonceRequest {
1477
1579
  * @memberof SealClientGetRfqNonce
1478
1580
  */
1479
1581
  readonly chainId: string;
1582
+ /**
1583
+ *
1584
+ * @type {string}
1585
+ * @memberof SealClientGetRfqNonce
1586
+ */
1587
+ readonly contract: string;
1480
1588
  }
1481
1589
  /**
1482
1590
  * Request parameters for getRfqQuotes operation in SealClient.
@@ -1546,10 +1654,10 @@ export interface SealClientGetRfqQuotesRequest {
1546
1654
  readonly id?: string;
1547
1655
  /**
1548
1656
  *
1549
- * @type {string}
1657
+ * @type {boolean}
1550
1658
  * @memberof SealClientGetRfqQuotes
1551
1659
  */
1552
- readonly onChain?: string;
1660
+ readonly onChainValue?: boolean;
1553
1661
  /**
1554
1662
  *
1555
1663
  * @type {number}
@@ -1665,17 +1773,23 @@ export interface SealClientGetRfqRequestsRequest {
1665
1773
  * @memberof SealClientGetRfqRequests
1666
1774
  */
1667
1775
  readonly excludedOfferer?: string;
1776
+ /**
1777
+ *
1778
+ * @type {boolean}
1779
+ * @memberof SealClientGetRfqRequests
1780
+ */
1781
+ readonly hasCommitmentValue?: boolean;
1668
1782
  }
1669
1783
  /**
1670
- * Request parameters for getSealContractParams operation in SealClient.
1784
+ * Request parameters for getSealContracts operation in SealClient.
1671
1785
  * @export
1672
- * @interface SealClientGetSealContractParamsRequest
1786
+ * @interface SealClientGetSealContractsRequest
1673
1787
  */
1674
- export interface SealClientGetSealContractParamsRequest {
1788
+ export interface SealClientGetSealContractsRequest {
1675
1789
  /**
1676
1790
  *
1677
1791
  * @type {string}
1678
- * @memberof SealClientGetSealContractParams
1792
+ * @memberof SealClientGetSealContracts
1679
1793
  */
1680
1794
  readonly chainId?: string;
1681
1795
  }
@@ -1691,6 +1805,12 @@ export interface SealClientGetTokenPermitApprovalsRequest {
1691
1805
  * @memberof SealClientGetTokenPermitApprovals
1692
1806
  */
1693
1807
  readonly owner: string;
1808
+ /**
1809
+ * hex representation of owner address
1810
+ * @type {string}
1811
+ * @memberof SealClientGetTokenPermitApprovals
1812
+ */
1813
+ readonly spender: string;
1694
1814
  /**
1695
1815
  *
1696
1816
  * @type {string}
@@ -1705,7 +1825,7 @@ export interface SealClientGetTokenPermitApprovalsRequest {
1705
1825
  readonly token?: string;
1706
1826
  /**
1707
1827
  *
1708
- * @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
1828
+ * @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID' | 'TokenPermitApprovalsOrderByProperty_OWNER' | 'TokenPermitApprovalsOrderByProperty_SPENDER'}
1709
1829
  * @memberof SealClientGetTokenPermitApprovals
1710
1830
  */
1711
1831
  readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
@@ -1795,6 +1915,12 @@ export interface SealClientIssueGreenlightRequest {
1795
1915
  * @memberof SealClientIssueGreenlight
1796
1916
  */
1797
1917
  readonly executor?: string;
1918
+ /**
1919
+ *
1920
+ * @type {string}
1921
+ * @memberof SealClientIssueGreenlight
1922
+ */
1923
+ readonly sealContract?: string;
1798
1924
  /**
1799
1925
  * json
1800
1926
  * @type {string}
@@ -1942,6 +2068,13 @@ export declare class SealClient extends BaseAPI {
1942
2068
  * @memberof SealClient
1943
2069
  */
1944
2070
  getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any, {}>>;
2071
+ /**
2072
+ *
2073
+ * @param {*} [options] Override http request option.
2074
+ * @throws {RequiredError}
2075
+ * @memberof SealClient
2076
+ */
2077
+ getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPermit2ContractsResponse, any, {}>>;
1945
2078
  /**
1946
2079
  *
1947
2080
  * @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
@@ -1950,6 +2083,14 @@ export declare class SealClient extends BaseAPI {
1950
2083
  * @memberof SealClient
1951
2084
  */
1952
2085
  getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqCommitmentResponse, any, {}>>;
2086
+ /**
2087
+ *
2088
+ * @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
2089
+ * @param {*} [options] Override http request option.
2090
+ * @throws {RequiredError}
2091
+ * @memberof SealClient
2092
+ */
2093
+ getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqContractsResponse, any, {}>>;
1953
2094
  /**
1954
2095
  *
1955
2096
  * @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
@@ -1976,12 +2117,12 @@ export declare class SealClient extends BaseAPI {
1976
2117
  getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestsResponse, any, {}>>;
1977
2118
  /**
1978
2119
  *
1979
- * @param {SealClientGetSealContractParamsRequest} requestParameters Request parameters.
2120
+ * @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
1980
2121
  * @param {*} [options] Override http request option.
1981
2122
  * @throws {RequiredError}
1982
2123
  * @memberof SealClient
1983
2124
  */
1984
- getSealContractParams(requestParameters?: SealClientGetSealContractParamsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetSealContractParamsResponse, any, {}>>;
2125
+ getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetSealContractsResponse, any, {}>>;
1985
2126
  /**
1986
2127
  *
1987
2128
  * @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
@@ -2132,7 +2273,9 @@ export declare enum GetRfqRequestsOrderByPropertyEnum {
2132
2273
  export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
2133
2274
  TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
2134
2275
  TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
2135
- TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
2276
+ TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID",
2277
+ TokenPermitApprovalsOrderByPropertyOwner = "TokenPermitApprovalsOrderByProperty_OWNER",
2278
+ TokenPermitApprovalsOrderByPropertySpender = "TokenPermitApprovalsOrderByProperty_SPENDER"
2136
2279
  }
2137
2280
  /**
2138
2281
  * @export