@seal-protocol/backendjs 0.0.122 → 0.0.129
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 +266 -121
- package/lib/codegen/api/seal-client.js +305 -115
- package/lib/codegen/model/index.d.ts +3 -0
- package/lib/codegen/model/index.js +3 -0
- package/lib/codegen/model/seal-add-rfq-request-viewer-request.d.ts +0 -6
- package/lib/codegen/model/seal-cancel-order-request.d.ts +0 -6
- package/lib/codegen/model/seal-create-order-response.d.ts +3 -2
- package/lib/codegen/model/seal-create-rfq-quote-request.d.ts +6 -0
- package/lib/codegen/model/seal-create-rfq-request-request.d.ts +6 -0
- package/lib/codegen/model/{seal-get-seal-contract-params-response.d.ts → seal-extend-rfq-request-deadline-request.d.ts} +11 -6
- package/lib/codegen/model/seal-order-activities-order-by-property.d.ts +0 -1
- package/lib/codegen/model/seal-order-activities-order-by-property.js +0 -1
- package/lib/codegen/model/seal-order-activity.d.ts +5 -11
- package/lib/codegen/model/seal-order-reservation.d.ts +15 -9
- package/lib/codegen/model/seal-order-reservations-order-by-property.d.ts +4 -3
- package/lib/codegen/model/seal-order-reservations-order-by-property.js +4 -3
- package/lib/codegen/model/seal-order.d.ts +36 -18
- package/lib/codegen/model/seal-orders-order-by-property.d.ts +2 -2
- package/lib/codegen/model/seal-orders-order-by-property.js +2 -2
- package/lib/codegen/model/{seal-rfq-contract-config.js → seal-reject-rfq-quote-request.d.ts} +13 -4
- package/lib/codegen/model/seal-remove-rfq-request-viewer-request.d.ts +0 -6
- package/lib/codegen/model/seal-reservation-settlement-request.d.ts +1 -1
- package/lib/codegen/model/seal-rfq-quote.d.ts +18 -0
- package/lib/codegen/model/seal-rfq-request.d.ts +6 -0
- package/lib/codegen/model/seal-stop-rfq-request-request.d.ts +24 -0
- package/package.json +1 -1
- package/lib/codegen/model/seal-chain-config.d.ts +0 -39
- package/lib/codegen/model/seal-contract-config.d.ts +0 -31
- package/lib/codegen/model/seal-rfq-contract-config.d.ts +0 -32
- package/lib/codegen/model/seal-rfq-contract-params.d.ts +0 -48
- package/lib/codegen/model/seal-rfq-contract-params.js +0 -15
- package/lib/codegen/model/seal-seal-contract-config.d.ts +0 -32
- package/lib/codegen/model/seal-seal-contract-config.js +0 -15
- package/lib/codegen/model/seal-seal-contract-params.d.ts +0 -66
- package/lib/codegen/model/seal-seal-contract-params.js +0 -15
- /package/lib/codegen/model/{seal-chain-config.js → seal-extend-rfq-request-deadline-request.js} +0 -0
- /package/lib/codegen/model/{seal-contract-config.js → seal-reject-rfq-quote-request.js} +0 -0
- /package/lib/codegen/model/{seal-get-seal-contract-params-response.js → seal-stop-rfq-request-request.js} +0 -0
|
@@ -25,6 +25,7 @@ import type { SealCreateRfqRequestRequest } from '../model';
|
|
|
25
25
|
import type { SealCreateRfqRequestResponse } from '../model';
|
|
26
26
|
import type { SealCreateTokenPermitApprovalRequest } from '../model';
|
|
27
27
|
import type { SealDeleteTokenPermitApprovalRequest } from '../model';
|
|
28
|
+
import type { SealExtendRfqRequestDeadlineRequest } from '../model';
|
|
28
29
|
import type { SealGetChainsResponse } from '../model';
|
|
29
30
|
import type { SealGetConfigResponse } from '../model';
|
|
30
31
|
import type { SealGetHealthCheckResponse } from '../model';
|
|
@@ -46,7 +47,9 @@ import type { SealGetSyncStateResponse } from '../model';
|
|
|
46
47
|
import type { SealGetTokenPermitApprovalsResponse } from '../model';
|
|
47
48
|
import type { SealGetTokensResponse } from '../model';
|
|
48
49
|
import type { SealIssueGreenlightResponse } from '../model';
|
|
50
|
+
import type { SealRejectRfqQuoteRequest } from '../model';
|
|
49
51
|
import type { SealRemoveRfqRequestViewerRequest } from '../model';
|
|
52
|
+
import type { SealStopRfqRequestRequest } from '../model';
|
|
50
53
|
/**
|
|
51
54
|
* SealClient - axios parameter creator
|
|
52
55
|
* @export
|
|
@@ -126,6 +129,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
126
129
|
* @throws {RequiredError}
|
|
127
130
|
*/
|
|
128
131
|
deleteTokenPermitApproval: (body: SealDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @param {SealExtendRfqRequestDeadlineRequest} body
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
extendRfqRequestDeadline: (body: SealExtendRfqRequestDeadlineRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
129
139
|
/**
|
|
130
140
|
*
|
|
131
141
|
* @param {string} [paginationKey]
|
|
@@ -143,7 +153,6 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
143
153
|
* @param {GetOrderActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
144
154
|
* @param {boolean} [orderByDescending]
|
|
145
155
|
* @param {string} [orderId]
|
|
146
|
-
* @param {string} [orderIdHash] only one of id_hash, and id can be provided
|
|
147
156
|
* @param {string} [reservationIdHash]
|
|
148
157
|
* @param {string} [user] either the order owner or the actor
|
|
149
158
|
* @param {GetOrderActivitiesTypeEnum} [type]
|
|
@@ -153,7 +162,7 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
153
162
|
* @param {*} [options] Override http request option.
|
|
154
163
|
* @throws {RequiredError}
|
|
155
164
|
*/
|
|
156
|
-
getOrderActivities: (chainId: string, orderByProperty?: GetOrderActivitiesOrderByPropertyEnum, orderByDescending?: boolean, orderId?: string,
|
|
165
|
+
getOrderActivities: (chainId: string, orderByProperty?: GetOrderActivitiesOrderByPropertyEnum, orderByDescending?: boolean, orderId?: string, reservationIdHash?: string, user?: string, type?: GetOrderActivitiesTypeEnum, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
166
|
/**
|
|
158
167
|
*
|
|
159
168
|
* @param {string} chainId uint256
|
|
@@ -165,38 +174,42 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
165
174
|
getOrderNonce: (chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
166
175
|
/**
|
|
167
176
|
*
|
|
168
|
-
* @param {string} [chainId] uint256
|
|
169
|
-
* @param {boolean} [liveValue]
|
|
170
|
-
* @param {boolean} [expiredValue]
|
|
171
|
-
* @param {string} [reserver]
|
|
172
|
-
* @param {string} [orderIdHash]
|
|
173
|
-
* @param {string} [orderId] this would be ignore if order_id_hash is provided
|
|
174
177
|
* @param {GetOrderReservationsOrderByPropertyEnum} [orderByProperty]
|
|
175
178
|
* @param {boolean} [orderByDescending]
|
|
176
179
|
* @param {string} [paginationKey]
|
|
177
180
|
* @param {number} [paginationLimit]
|
|
178
181
|
* @param {boolean} [paginationCountTotal]
|
|
182
|
+
* @param {string} [chainId] uint256
|
|
183
|
+
* @param {string} [reserver]
|
|
184
|
+
* @param {boolean} [liveValue]
|
|
185
|
+
* @param {boolean} [expiredValue]
|
|
186
|
+
* @param {string} [orderOnChainId] TODO should we replace the following filters with order_id?
|
|
187
|
+
* @param {string} [orderOnChainIdHash] this would be ignored if order_on_chain_id is provided
|
|
179
188
|
* @param {*} [options] Override http request option.
|
|
180
189
|
* @throws {RequiredError}
|
|
181
190
|
*/
|
|
182
|
-
getOrderReservations: (
|
|
191
|
+
getOrderReservations: (orderByProperty?: GetOrderReservationsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, reserver?: string, liveValue?: boolean, expiredValue?: boolean, orderOnChainId?: string, orderOnChainIdHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
183
192
|
/**
|
|
184
193
|
*
|
|
194
|
+
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
195
|
+
* @param {boolean} [orderByDescending]
|
|
196
|
+
* @param {string} [paginationKey]
|
|
197
|
+
* @param {number} [paginationLimit]
|
|
198
|
+
* @param {boolean} [paginationCountTotal]
|
|
199
|
+
* @param {string} [id]
|
|
200
|
+
* @param {string} [onChainId]
|
|
201
|
+
* @param {string} [onChainIdHash]
|
|
185
202
|
* @param {string} [chainId] uint256
|
|
203
|
+
* @param {number} [contractId]
|
|
186
204
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
187
205
|
* @param {string} [tokenOut]
|
|
188
206
|
* @param {string} [owner]
|
|
189
207
|
* @param {string} [fromPrice] decimal
|
|
190
208
|
* @param {string} [toPrice] decimal
|
|
191
|
-
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
192
|
-
* @param {boolean} [orderByDescending]
|
|
193
|
-
* @param {string} [paginationKey]
|
|
194
|
-
* @param {number} [paginationLimit]
|
|
195
|
-
* @param {boolean} [paginationCountTotal]
|
|
196
209
|
* @param {boolean} [reservationAllowedValue]
|
|
197
210
|
* @param {boolean} [liveValue]
|
|
198
211
|
* @param {boolean} [cancelledValue]
|
|
199
|
-
* @param {string} [
|
|
212
|
+
* @param {string} [reservationDepositToken]
|
|
200
213
|
* @param {number} [minReservationPeriodSeconds]
|
|
201
214
|
* @param {string} [minRemainingAmount] uint256
|
|
202
215
|
* @param {string} [minPriceMargin] not supported yet
|
|
@@ -204,12 +217,10 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
204
217
|
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
205
218
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
206
219
|
* @param {boolean} [onChainValue]
|
|
207
|
-
* @param {string} [id] 56-bytes in hex format
|
|
208
|
-
* @param {number} [contractId]
|
|
209
220
|
* @param {*} [options] Override http request option.
|
|
210
221
|
* @throws {RequiredError}
|
|
211
222
|
*/
|
|
212
|
-
getOrders: (
|
|
223
|
+
getOrders: (orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, id?: string, onChainId?: string, onChainIdHash?: string, chainId?: string, contractId?: number, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, reservationDepositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
213
224
|
/**
|
|
214
225
|
*
|
|
215
226
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -290,10 +301,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
290
301
|
* @param {boolean} [onChainValue]
|
|
291
302
|
* @param {number} [settlementTimeAfter]
|
|
292
303
|
* @param {number} [deadlineAfter]
|
|
304
|
+
* @param {boolean} [rejectedValue]
|
|
293
305
|
* @param {*} [options] Override http request option.
|
|
294
306
|
* @throws {RequiredError}
|
|
295
307
|
*/
|
|
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>;
|
|
308
|
+
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, rejectedValue?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
297
309
|
/**
|
|
298
310
|
*
|
|
299
311
|
* @param {string} requestId
|
|
@@ -323,11 +335,10 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
323
335
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
324
336
|
* @param {string} [excludedOfferer] TODO requires join
|
|
325
337
|
* @param {boolean} [hasCommitmentValue]
|
|
326
|
-
* @param {boolean} [privateValue]
|
|
327
338
|
* @param {*} [options] Override http request option.
|
|
328
339
|
* @throws {RequiredError}
|
|
329
340
|
*/
|
|
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,
|
|
341
|
+
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>;
|
|
331
342
|
/**
|
|
332
343
|
*
|
|
333
344
|
* @param {string} [chainId]
|
|
@@ -358,10 +369,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
358
369
|
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
359
370
|
* @param {boolean} [orderByDescending]
|
|
360
371
|
* @param {string} [chainId]
|
|
372
|
+
* @param {boolean} [excludeNative]
|
|
361
373
|
* @param {*} [options] Override http request option.
|
|
362
374
|
* @throws {RequiredError}
|
|
363
375
|
*/
|
|
364
|
-
getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
376
|
+
getTokens: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, excludeNative?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
365
377
|
/**
|
|
366
378
|
*
|
|
367
379
|
* @param {*} [options] Override http request option.
|
|
@@ -379,6 +391,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
379
391
|
* @throws {RequiredError}
|
|
380
392
|
*/
|
|
381
393
|
issueGreenlight: (chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @param {SealRejectRfqQuoteRequest} body
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
rejectRfqQuote: (body: SealRejectRfqQuoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
382
401
|
/**
|
|
383
402
|
*
|
|
384
403
|
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
@@ -386,6 +405,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
386
405
|
* @throws {RequiredError}
|
|
387
406
|
*/
|
|
388
407
|
removeRfqRequestViewer: (body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @param {SealStopRfqRequestRequest} body
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
stopRfqRequest: (body: SealStopRfqRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
389
415
|
/**
|
|
390
416
|
*
|
|
391
417
|
* @param {*} [options] Override http request option.
|
|
@@ -472,6 +498,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
472
498
|
* @throws {RequiredError}
|
|
473
499
|
*/
|
|
474
500
|
deleteTokenPermitApproval(body: SealDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @param {SealExtendRfqRequestDeadlineRequest} body
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
extendRfqRequestDeadline(body: SealExtendRfqRequestDeadlineRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
475
508
|
/**
|
|
476
509
|
*
|
|
477
510
|
* @param {string} [paginationKey]
|
|
@@ -489,7 +522,6 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
489
522
|
* @param {GetOrderActivitiesOrderByPropertyEnum} [orderByProperty]
|
|
490
523
|
* @param {boolean} [orderByDescending]
|
|
491
524
|
* @param {string} [orderId]
|
|
492
|
-
* @param {string} [orderIdHash] only one of id_hash, and id can be provided
|
|
493
525
|
* @param {string} [reservationIdHash]
|
|
494
526
|
* @param {string} [user] either the order owner or the actor
|
|
495
527
|
* @param {GetOrderActivitiesTypeEnum} [type]
|
|
@@ -499,7 +531,7 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
499
531
|
* @param {*} [options] Override http request option.
|
|
500
532
|
* @throws {RequiredError}
|
|
501
533
|
*/
|
|
502
|
-
getOrderActivities(chainId: string, orderByProperty?: GetOrderActivitiesOrderByPropertyEnum, orderByDescending?: boolean, orderId?: string,
|
|
534
|
+
getOrderActivities(chainId: string, orderByProperty?: GetOrderActivitiesOrderByPropertyEnum, orderByDescending?: boolean, orderId?: string, reservationIdHash?: string, user?: string, type?: GetOrderActivitiesTypeEnum, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderActivitiesResponse>>;
|
|
503
535
|
/**
|
|
504
536
|
*
|
|
505
537
|
* @param {string} chainId uint256
|
|
@@ -511,38 +543,42 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
511
543
|
getOrderNonce(chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
512
544
|
/**
|
|
513
545
|
*
|
|
514
|
-
* @param {string} [chainId] uint256
|
|
515
|
-
* @param {boolean} [liveValue]
|
|
516
|
-
* @param {boolean} [expiredValue]
|
|
517
|
-
* @param {string} [reserver]
|
|
518
|
-
* @param {string} [orderIdHash]
|
|
519
|
-
* @param {string} [orderId] this would be ignore if order_id_hash is provided
|
|
520
546
|
* @param {GetOrderReservationsOrderByPropertyEnum} [orderByProperty]
|
|
521
547
|
* @param {boolean} [orderByDescending]
|
|
522
548
|
* @param {string} [paginationKey]
|
|
523
549
|
* @param {number} [paginationLimit]
|
|
524
550
|
* @param {boolean} [paginationCountTotal]
|
|
551
|
+
* @param {string} [chainId] uint256
|
|
552
|
+
* @param {string} [reserver]
|
|
553
|
+
* @param {boolean} [liveValue]
|
|
554
|
+
* @param {boolean} [expiredValue]
|
|
555
|
+
* @param {string} [orderOnChainId] TODO should we replace the following filters with order_id?
|
|
556
|
+
* @param {string} [orderOnChainIdHash] this would be ignored if order_on_chain_id is provided
|
|
525
557
|
* @param {*} [options] Override http request option.
|
|
526
558
|
* @throws {RequiredError}
|
|
527
559
|
*/
|
|
528
|
-
getOrderReservations(
|
|
560
|
+
getOrderReservations(orderByProperty?: GetOrderReservationsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, reserver?: string, liveValue?: boolean, expiredValue?: boolean, orderOnChainId?: string, orderOnChainIdHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderReservationsResponse>>;
|
|
529
561
|
/**
|
|
530
562
|
*
|
|
563
|
+
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
564
|
+
* @param {boolean} [orderByDescending]
|
|
565
|
+
* @param {string} [paginationKey]
|
|
566
|
+
* @param {number} [paginationLimit]
|
|
567
|
+
* @param {boolean} [paginationCountTotal]
|
|
568
|
+
* @param {string} [id]
|
|
569
|
+
* @param {string} [onChainId]
|
|
570
|
+
* @param {string} [onChainIdHash]
|
|
531
571
|
* @param {string} [chainId] uint256
|
|
572
|
+
* @param {number} [contractId]
|
|
532
573
|
* @param {string} [tokenIn] Token In The token to exchange from.
|
|
533
574
|
* @param {string} [tokenOut]
|
|
534
575
|
* @param {string} [owner]
|
|
535
576
|
* @param {string} [fromPrice] decimal
|
|
536
577
|
* @param {string} [toPrice] decimal
|
|
537
|
-
* @param {GetOrdersOrderByPropertyEnum} [orderByProperty]
|
|
538
|
-
* @param {boolean} [orderByDescending]
|
|
539
|
-
* @param {string} [paginationKey]
|
|
540
|
-
* @param {number} [paginationLimit]
|
|
541
|
-
* @param {boolean} [paginationCountTotal]
|
|
542
578
|
* @param {boolean} [reservationAllowedValue]
|
|
543
579
|
* @param {boolean} [liveValue]
|
|
544
580
|
* @param {boolean} [cancelledValue]
|
|
545
|
-
* @param {string} [
|
|
581
|
+
* @param {string} [reservationDepositToken]
|
|
546
582
|
* @param {number} [minReservationPeriodSeconds]
|
|
547
583
|
* @param {string} [minRemainingAmount] uint256
|
|
548
584
|
* @param {string} [minPriceMargin] not supported yet
|
|
@@ -550,12 +586,10 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
550
586
|
* @param {string} [maxReservationDepositPerStable] not supported yet
|
|
551
587
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
552
588
|
* @param {boolean} [onChainValue]
|
|
553
|
-
* @param {string} [id] 56-bytes in hex format
|
|
554
|
-
* @param {number} [contractId]
|
|
555
589
|
* @param {*} [options] Override http request option.
|
|
556
590
|
* @throws {RequiredError}
|
|
557
591
|
*/
|
|
558
|
-
getOrders(
|
|
592
|
+
getOrders(orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, id?: string, onChainId?: string, onChainIdHash?: string, chainId?: string, contractId?: number, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, reservationDepositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
559
593
|
/**
|
|
560
594
|
*
|
|
561
595
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -636,10 +670,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
636
670
|
* @param {boolean} [onChainValue]
|
|
637
671
|
* @param {number} [settlementTimeAfter]
|
|
638
672
|
* @param {number} [deadlineAfter]
|
|
673
|
+
* @param {boolean} [rejectedValue]
|
|
639
674
|
* @param {*} [options] Override http request option.
|
|
640
675
|
* @throws {RequiredError}
|
|
641
676
|
*/
|
|
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>>;
|
|
677
|
+
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, rejectedValue?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqQuotesResponse>>;
|
|
643
678
|
/**
|
|
644
679
|
*
|
|
645
680
|
* @param {string} requestId
|
|
@@ -669,11 +704,10 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
669
704
|
* @param {string} [minDepositPerStableLessThan] TODO requires price.
|
|
670
705
|
* @param {string} [excludedOfferer] TODO requires join
|
|
671
706
|
* @param {boolean} [hasCommitmentValue]
|
|
672
|
-
* @param {boolean} [privateValue]
|
|
673
707
|
* @param {*} [options] Override http request option.
|
|
674
708
|
* @throws {RequiredError}
|
|
675
709
|
*/
|
|
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,
|
|
710
|
+
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>>;
|
|
677
711
|
/**
|
|
678
712
|
*
|
|
679
713
|
* @param {string} [chainId]
|
|
@@ -704,10 +738,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
704
738
|
* @param {GetTokensOrderByPropertyEnum} [orderByProperty]
|
|
705
739
|
* @param {boolean} [orderByDescending]
|
|
706
740
|
* @param {string} [chainId]
|
|
741
|
+
* @param {boolean} [excludeNative]
|
|
707
742
|
* @param {*} [options] Override http request option.
|
|
708
743
|
* @throws {RequiredError}
|
|
709
744
|
*/
|
|
710
|
-
getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
|
|
745
|
+
getTokens(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetTokensOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, excludeNative?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokensResponse>>;
|
|
711
746
|
/**
|
|
712
747
|
*
|
|
713
748
|
* @param {*} [options] Override http request option.
|
|
@@ -725,6 +760,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
725
760
|
* @throws {RequiredError}
|
|
726
761
|
*/
|
|
727
762
|
issueGreenlight(chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @param {SealRejectRfqQuoteRequest} body
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
rejectRfqQuote(body: SealRejectRfqQuoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
728
770
|
/**
|
|
729
771
|
*
|
|
730
772
|
* @param {SealRemoveRfqRequestViewerRequest} body
|
|
@@ -732,6 +774,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
732
774
|
* @throws {RequiredError}
|
|
733
775
|
*/
|
|
734
776
|
removeRfqRequestViewer(body: SealRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @param {SealStopRfqRequestRequest} body
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
stopRfqRequest(body: SealStopRfqRequestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
735
784
|
/**
|
|
736
785
|
*
|
|
737
786
|
* @param {*} [options] Override http request option.
|
|
@@ -813,6 +862,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
813
862
|
* @throws {RequiredError}
|
|
814
863
|
*/
|
|
815
864
|
deleteTokenPermitApproval(requestParameters: SealClientDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @param {SealClientExtendRfqRequestDeadlineRequest} requestParameters Request parameters.
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
*/
|
|
871
|
+
extendRfqRequestDeadline(requestParameters: SealClientExtendRfqRequestDeadlineRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
816
872
|
/**
|
|
817
873
|
*
|
|
818
874
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -944,6 +1000,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
944
1000
|
* @throws {RequiredError}
|
|
945
1001
|
*/
|
|
946
1002
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealIssueGreenlightResponse>;
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @param {SealClientRejectRfqQuoteRequest} requestParameters Request parameters.
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
rejectRfqQuote(requestParameters: SealClientRejectRfqQuoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
947
1010
|
/**
|
|
948
1011
|
*
|
|
949
1012
|
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
@@ -951,6 +1014,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
951
1014
|
* @throws {RequiredError}
|
|
952
1015
|
*/
|
|
953
1016
|
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1017
|
+
/**
|
|
1018
|
+
*
|
|
1019
|
+
* @param {SealClientStopRfqRequestRequest} requestParameters Request parameters.
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
stopRfqRequest(requestParameters: SealClientStopRfqRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
954
1024
|
/**
|
|
955
1025
|
*
|
|
956
1026
|
* @param {*} [options] Override http request option.
|
|
@@ -1105,6 +1175,19 @@ export interface SealClientDeleteTokenPermitApprovalRequest {
|
|
|
1105
1175
|
*/
|
|
1106
1176
|
readonly body: SealDeleteTokenPermitApprovalRequest;
|
|
1107
1177
|
}
|
|
1178
|
+
/**
|
|
1179
|
+
* Request parameters for extendRfqRequestDeadline operation in SealClient.
|
|
1180
|
+
* @export
|
|
1181
|
+
* @interface SealClientExtendRfqRequestDeadlineRequest
|
|
1182
|
+
*/
|
|
1183
|
+
export interface SealClientExtendRfqRequestDeadlineRequest {
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @type {SealExtendRfqRequestDeadlineRequest}
|
|
1187
|
+
* @memberof SealClientExtendRfqRequestDeadline
|
|
1188
|
+
*/
|
|
1189
|
+
readonly body: SealExtendRfqRequestDeadlineRequest;
|
|
1190
|
+
}
|
|
1108
1191
|
/**
|
|
1109
1192
|
* Request parameters for getChains operation in SealClient.
|
|
1110
1193
|
* @export
|
|
@@ -1156,7 +1239,7 @@ export interface SealClientGetOrderActivitiesRequest {
|
|
|
1156
1239
|
readonly chainId: string;
|
|
1157
1240
|
/**
|
|
1158
1241
|
*
|
|
1159
|
-
* @type {'OrderActivitiesOrderByProperty_UNSPECIFIED' | 'OrderActivitiesOrderByProperty_ACTIVITY_ID' | '
|
|
1242
|
+
* @type {'OrderActivitiesOrderByProperty_UNSPECIFIED' | 'OrderActivitiesOrderByProperty_ACTIVITY_ID' | 'OrderActivitiesOrderByProperty_ACTIVITY_TIME'}
|
|
1160
1243
|
* @memberof SealClientGetOrderActivities
|
|
1161
1244
|
*/
|
|
1162
1245
|
readonly orderByProperty?: GetOrderActivitiesOrderByPropertyEnum;
|
|
@@ -1172,12 +1255,6 @@ export interface SealClientGetOrderActivitiesRequest {
|
|
|
1172
1255
|
* @memberof SealClientGetOrderActivities
|
|
1173
1256
|
*/
|
|
1174
1257
|
readonly orderId?: string;
|
|
1175
|
-
/**
|
|
1176
|
-
* only one of id_hash, and id can be provided
|
|
1177
|
-
* @type {string}
|
|
1178
|
-
* @memberof SealClientGetOrderActivities
|
|
1179
|
-
*/
|
|
1180
|
-
readonly orderIdHash?: string;
|
|
1181
1258
|
/**
|
|
1182
1259
|
*
|
|
1183
1260
|
* @type {string}
|
|
@@ -1247,71 +1324,71 @@ export interface SealClientGetOrderNonceRequest {
|
|
|
1247
1324
|
*/
|
|
1248
1325
|
export interface SealClientGetOrderReservationsRequest {
|
|
1249
1326
|
/**
|
|
1250
|
-
*
|
|
1251
|
-
* @type {
|
|
1327
|
+
*
|
|
1328
|
+
* @type {'OrderReservationsOrderByProperty_UNSPECIFIED' | 'OrderReservationsOrderByProperty_ON_CHAIN_ID_HASH' | 'OrderReservationsOrderByProperty_CHAIN_ID' | 'OrderReservationsOrderByProperty_ORDER_ID' | 'OrderReservationsOrderByProperty_ORDER_ON_CHAIN_ID_HASH' | 'OrderReservationsOrderByProperty_TOTAL_AMOUNT' | 'OrderReservationsOrderByProperty_REMAINING_AMOUNT' | 'OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT' | 'OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT' | 'OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER'}
|
|
1252
1329
|
* @memberof SealClientGetOrderReservations
|
|
1253
1330
|
*/
|
|
1254
|
-
readonly
|
|
1331
|
+
readonly orderByProperty?: GetOrderReservationsOrderByPropertyEnum;
|
|
1255
1332
|
/**
|
|
1256
1333
|
*
|
|
1257
1334
|
* @type {boolean}
|
|
1258
1335
|
* @memberof SealClientGetOrderReservations
|
|
1259
1336
|
*/
|
|
1260
|
-
readonly
|
|
1337
|
+
readonly orderByDescending?: boolean;
|
|
1261
1338
|
/**
|
|
1262
1339
|
*
|
|
1263
|
-
* @type {
|
|
1340
|
+
* @type {string}
|
|
1264
1341
|
* @memberof SealClientGetOrderReservations
|
|
1265
1342
|
*/
|
|
1266
|
-
readonly
|
|
1343
|
+
readonly paginationKey?: string;
|
|
1267
1344
|
/**
|
|
1268
1345
|
*
|
|
1269
|
-
* @type {
|
|
1346
|
+
* @type {number}
|
|
1270
1347
|
* @memberof SealClientGetOrderReservations
|
|
1271
1348
|
*/
|
|
1272
|
-
readonly
|
|
1349
|
+
readonly paginationLimit?: number;
|
|
1273
1350
|
/**
|
|
1274
1351
|
*
|
|
1275
|
-
* @type {
|
|
1352
|
+
* @type {boolean}
|
|
1276
1353
|
* @memberof SealClientGetOrderReservations
|
|
1277
1354
|
*/
|
|
1278
|
-
readonly
|
|
1355
|
+
readonly paginationCountTotal?: boolean;
|
|
1279
1356
|
/**
|
|
1280
|
-
*
|
|
1357
|
+
* uint256
|
|
1281
1358
|
* @type {string}
|
|
1282
1359
|
* @memberof SealClientGetOrderReservations
|
|
1283
1360
|
*/
|
|
1284
|
-
readonly
|
|
1361
|
+
readonly chainId?: string;
|
|
1285
1362
|
/**
|
|
1286
1363
|
*
|
|
1287
|
-
* @type {
|
|
1364
|
+
* @type {string}
|
|
1288
1365
|
* @memberof SealClientGetOrderReservations
|
|
1289
1366
|
*/
|
|
1290
|
-
readonly
|
|
1367
|
+
readonly reserver?: string;
|
|
1291
1368
|
/**
|
|
1292
1369
|
*
|
|
1293
1370
|
* @type {boolean}
|
|
1294
1371
|
* @memberof SealClientGetOrderReservations
|
|
1295
1372
|
*/
|
|
1296
|
-
readonly
|
|
1373
|
+
readonly liveValue?: boolean;
|
|
1297
1374
|
/**
|
|
1298
1375
|
*
|
|
1299
|
-
* @type {
|
|
1376
|
+
* @type {boolean}
|
|
1300
1377
|
* @memberof SealClientGetOrderReservations
|
|
1301
1378
|
*/
|
|
1302
|
-
readonly
|
|
1379
|
+
readonly expiredValue?: boolean;
|
|
1303
1380
|
/**
|
|
1304
|
-
*
|
|
1305
|
-
* @type {
|
|
1381
|
+
* TODO should we replace the following filters with order_id?
|
|
1382
|
+
* @type {string}
|
|
1306
1383
|
* @memberof SealClientGetOrderReservations
|
|
1307
1384
|
*/
|
|
1308
|
-
readonly
|
|
1385
|
+
readonly orderOnChainId?: string;
|
|
1309
1386
|
/**
|
|
1310
|
-
*
|
|
1311
|
-
* @type {
|
|
1387
|
+
* this would be ignored if order_on_chain_id is provided
|
|
1388
|
+
* @type {string}
|
|
1312
1389
|
* @memberof SealClientGetOrderReservations
|
|
1313
1390
|
*/
|
|
1314
|
-
readonly
|
|
1391
|
+
readonly orderOnChainIdHash?: string;
|
|
1315
1392
|
}
|
|
1316
1393
|
/**
|
|
1317
1394
|
* Request parameters for getOrders operation in SealClient.
|
|
@@ -1320,71 +1397,95 @@ export interface SealClientGetOrderReservationsRequest {
|
|
|
1320
1397
|
*/
|
|
1321
1398
|
export interface SealClientGetOrdersRequest {
|
|
1322
1399
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
* @type {
|
|
1400
|
+
*
|
|
1401
|
+
* @type {'OrdersOrderByProperty_UNSPECIFIED' | 'OrdersOrderByProperty_ID' | 'OrdersOrderByProperty_OWNER' | 'OrdersOrderByProperty_TOKEN_IN' | 'OrdersOrderByProperty_TOKEN_OUT' | 'OrdersOrderByProperty_AMOUNT_IN' | 'OrdersOrderByProperty_PRICE' | 'OrdersOrderByProperty_DEADLINE' | 'OrdersOrderByProperty_RESERVATION_DEPOSIT_TOKEN' | 'OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT' | 'OrdersOrderByProperty_REMAINING_AMOUNT' | 'OrdersOrderByProperty_RESERVED_AMOUNT' | 'OrdersOrderByProperty_FILLED_AMOUNT'}
|
|
1325
1402
|
* @memberof SealClientGetOrders
|
|
1326
1403
|
*/
|
|
1327
|
-
readonly
|
|
1404
|
+
readonly orderByProperty?: GetOrdersOrderByPropertyEnum;
|
|
1328
1405
|
/**
|
|
1329
|
-
*
|
|
1406
|
+
*
|
|
1407
|
+
* @type {boolean}
|
|
1408
|
+
* @memberof SealClientGetOrders
|
|
1409
|
+
*/
|
|
1410
|
+
readonly orderByDescending?: boolean;
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1330
1413
|
* @type {string}
|
|
1331
1414
|
* @memberof SealClientGetOrders
|
|
1332
1415
|
*/
|
|
1333
|
-
readonly
|
|
1416
|
+
readonly paginationKey?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
*
|
|
1419
|
+
* @type {number}
|
|
1420
|
+
* @memberof SealClientGetOrders
|
|
1421
|
+
*/
|
|
1422
|
+
readonly paginationLimit?: number;
|
|
1423
|
+
/**
|
|
1424
|
+
*
|
|
1425
|
+
* @type {boolean}
|
|
1426
|
+
* @memberof SealClientGetOrders
|
|
1427
|
+
*/
|
|
1428
|
+
readonly paginationCountTotal?: boolean;
|
|
1334
1429
|
/**
|
|
1335
1430
|
*
|
|
1336
1431
|
* @type {string}
|
|
1337
1432
|
* @memberof SealClientGetOrders
|
|
1338
1433
|
*/
|
|
1339
|
-
readonly
|
|
1434
|
+
readonly id?: string;
|
|
1340
1435
|
/**
|
|
1341
1436
|
*
|
|
1342
1437
|
* @type {string}
|
|
1343
1438
|
* @memberof SealClientGetOrders
|
|
1344
1439
|
*/
|
|
1345
|
-
readonly
|
|
1440
|
+
readonly onChainId?: string;
|
|
1346
1441
|
/**
|
|
1347
|
-
*
|
|
1442
|
+
*
|
|
1348
1443
|
* @type {string}
|
|
1349
1444
|
* @memberof SealClientGetOrders
|
|
1350
1445
|
*/
|
|
1351
|
-
readonly
|
|
1446
|
+
readonly onChainIdHash?: string;
|
|
1352
1447
|
/**
|
|
1353
|
-
*
|
|
1448
|
+
* uint256
|
|
1354
1449
|
* @type {string}
|
|
1355
1450
|
* @memberof SealClientGetOrders
|
|
1356
1451
|
*/
|
|
1357
|
-
readonly
|
|
1452
|
+
readonly chainId?: string;
|
|
1358
1453
|
/**
|
|
1359
1454
|
*
|
|
1360
|
-
* @type {
|
|
1455
|
+
* @type {number}
|
|
1361
1456
|
* @memberof SealClientGetOrders
|
|
1362
1457
|
*/
|
|
1363
|
-
readonly
|
|
1458
|
+
readonly contractId?: number;
|
|
1364
1459
|
/**
|
|
1365
|
-
*
|
|
1366
|
-
* @type {
|
|
1460
|
+
* Token In The token to exchange from.
|
|
1461
|
+
* @type {string}
|
|
1367
1462
|
* @memberof SealClientGetOrders
|
|
1368
1463
|
*/
|
|
1369
|
-
readonly
|
|
1464
|
+
readonly tokenIn?: string;
|
|
1370
1465
|
/**
|
|
1371
1466
|
*
|
|
1372
1467
|
* @type {string}
|
|
1373
1468
|
* @memberof SealClientGetOrders
|
|
1374
1469
|
*/
|
|
1375
|
-
readonly
|
|
1470
|
+
readonly tokenOut?: string;
|
|
1376
1471
|
/**
|
|
1377
1472
|
*
|
|
1378
|
-
* @type {
|
|
1473
|
+
* @type {string}
|
|
1379
1474
|
* @memberof SealClientGetOrders
|
|
1380
1475
|
*/
|
|
1381
|
-
readonly
|
|
1476
|
+
readonly owner?: string;
|
|
1382
1477
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
* @type {
|
|
1478
|
+
* decimal
|
|
1479
|
+
* @type {string}
|
|
1385
1480
|
* @memberof SealClientGetOrders
|
|
1386
1481
|
*/
|
|
1387
|
-
readonly
|
|
1482
|
+
readonly fromPrice?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* decimal
|
|
1485
|
+
* @type {string}
|
|
1486
|
+
* @memberof SealClientGetOrders
|
|
1487
|
+
*/
|
|
1488
|
+
readonly toPrice?: string;
|
|
1388
1489
|
/**
|
|
1389
1490
|
*
|
|
1390
1491
|
* @type {boolean}
|
|
@@ -1408,7 +1509,7 @@ export interface SealClientGetOrdersRequest {
|
|
|
1408
1509
|
* @type {string}
|
|
1409
1510
|
* @memberof SealClientGetOrders
|
|
1410
1511
|
*/
|
|
1411
|
-
readonly
|
|
1512
|
+
readonly reservationDepositToken?: string;
|
|
1412
1513
|
/**
|
|
1413
1514
|
*
|
|
1414
1515
|
* @type {number}
|
|
@@ -1451,18 +1552,6 @@ export interface SealClientGetOrdersRequest {
|
|
|
1451
1552
|
* @memberof SealClientGetOrders
|
|
1452
1553
|
*/
|
|
1453
1554
|
readonly onChainValue?: boolean;
|
|
1454
|
-
/**
|
|
1455
|
-
* 56-bytes in hex format
|
|
1456
|
-
* @type {string}
|
|
1457
|
-
* @memberof SealClientGetOrders
|
|
1458
|
-
*/
|
|
1459
|
-
readonly id?: string;
|
|
1460
|
-
/**
|
|
1461
|
-
*
|
|
1462
|
-
* @type {number}
|
|
1463
|
-
* @memberof SealClientGetOrders
|
|
1464
|
-
*/
|
|
1465
|
-
readonly contractId?: number;
|
|
1466
1555
|
}
|
|
1467
1556
|
/**
|
|
1468
1557
|
* Request parameters for getPairPrice operation in SealClient.
|
|
@@ -1757,6 +1846,12 @@ export interface SealClientGetRfqQuotesRequest {
|
|
|
1757
1846
|
* @memberof SealClientGetRfqQuotes
|
|
1758
1847
|
*/
|
|
1759
1848
|
readonly deadlineAfter?: number;
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* @type {boolean}
|
|
1852
|
+
* @memberof SealClientGetRfqQuotes
|
|
1853
|
+
*/
|
|
1854
|
+
readonly rejectedValue?: boolean;
|
|
1760
1855
|
}
|
|
1761
1856
|
/**
|
|
1762
1857
|
* Request parameters for getRfqRequestViewers operation in SealClient.
|
|
@@ -1897,12 +1992,6 @@ export interface SealClientGetRfqRequestsRequest {
|
|
|
1897
1992
|
* @memberof SealClientGetRfqRequests
|
|
1898
1993
|
*/
|
|
1899
1994
|
readonly hasCommitmentValue?: boolean;
|
|
1900
|
-
/**
|
|
1901
|
-
*
|
|
1902
|
-
* @type {boolean}
|
|
1903
|
-
* @memberof SealClientGetRfqRequests
|
|
1904
|
-
*/
|
|
1905
|
-
readonly privateValue?: boolean;
|
|
1906
1995
|
}
|
|
1907
1996
|
/**
|
|
1908
1997
|
* Request parameters for getSealContracts operation in SealClient.
|
|
@@ -2020,6 +2109,12 @@ export interface SealClientGetTokensRequest {
|
|
|
2020
2109
|
* @memberof SealClientGetTokens
|
|
2021
2110
|
*/
|
|
2022
2111
|
readonly chainId?: string;
|
|
2112
|
+
/**
|
|
2113
|
+
*
|
|
2114
|
+
* @type {boolean}
|
|
2115
|
+
* @memberof SealClientGetTokens
|
|
2116
|
+
*/
|
|
2117
|
+
readonly excludeNative?: boolean;
|
|
2023
2118
|
}
|
|
2024
2119
|
/**
|
|
2025
2120
|
* Request parameters for issueGreenlight operation in SealClient.
|
|
@@ -2058,6 +2153,19 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
2058
2153
|
*/
|
|
2059
2154
|
readonly requestHash?: string;
|
|
2060
2155
|
}
|
|
2156
|
+
/**
|
|
2157
|
+
* Request parameters for rejectRfqQuote operation in SealClient.
|
|
2158
|
+
* @export
|
|
2159
|
+
* @interface SealClientRejectRfqQuoteRequest
|
|
2160
|
+
*/
|
|
2161
|
+
export interface SealClientRejectRfqQuoteRequest {
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* @type {SealRejectRfqQuoteRequest}
|
|
2165
|
+
* @memberof SealClientRejectRfqQuote
|
|
2166
|
+
*/
|
|
2167
|
+
readonly body: SealRejectRfqQuoteRequest;
|
|
2168
|
+
}
|
|
2061
2169
|
/**
|
|
2062
2170
|
* Request parameters for removeRfqRequestViewer operation in SealClient.
|
|
2063
2171
|
* @export
|
|
@@ -2071,6 +2179,19 @@ export interface SealClientRemoveRfqRequestViewerRequest {
|
|
|
2071
2179
|
*/
|
|
2072
2180
|
readonly body: SealRemoveRfqRequestViewerRequest;
|
|
2073
2181
|
}
|
|
2182
|
+
/**
|
|
2183
|
+
* Request parameters for stopRfqRequest operation in SealClient.
|
|
2184
|
+
* @export
|
|
2185
|
+
* @interface SealClientStopRfqRequestRequest
|
|
2186
|
+
*/
|
|
2187
|
+
export interface SealClientStopRfqRequestRequest {
|
|
2188
|
+
/**
|
|
2189
|
+
*
|
|
2190
|
+
* @type {SealStopRfqRequestRequest}
|
|
2191
|
+
* @memberof SealClientStopRfqRequest
|
|
2192
|
+
*/
|
|
2193
|
+
readonly body: SealStopRfqRequestRequest;
|
|
2194
|
+
}
|
|
2074
2195
|
/**
|
|
2075
2196
|
* SealClient - object-oriented interface
|
|
2076
2197
|
* @export
|
|
@@ -2157,6 +2278,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2157
2278
|
* @memberof SealClient
|
|
2158
2279
|
*/
|
|
2159
2280
|
deleteTokenPermitApproval(requestParameters: SealClientDeleteTokenPermitApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2281
|
+
/**
|
|
2282
|
+
*
|
|
2283
|
+
* @param {SealClientExtendRfqRequestDeadlineRequest} requestParameters Request parameters.
|
|
2284
|
+
* @param {*} [options] Override http request option.
|
|
2285
|
+
* @throws {RequiredError}
|
|
2286
|
+
* @memberof SealClient
|
|
2287
|
+
*/
|
|
2288
|
+
extendRfqRequestDeadline(requestParameters: SealClientExtendRfqRequestDeadlineRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2160
2289
|
/**
|
|
2161
2290
|
*
|
|
2162
2291
|
* @param {SealClientGetChainsRequest} requestParameters Request parameters.
|
|
@@ -2307,6 +2436,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2307
2436
|
* @memberof SealClient
|
|
2308
2437
|
*/
|
|
2309
2438
|
issueGreenlight(requestParameters?: SealClientIssueGreenlightRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealIssueGreenlightResponse, any, {}>>;
|
|
2439
|
+
/**
|
|
2440
|
+
*
|
|
2441
|
+
* @param {SealClientRejectRfqQuoteRequest} requestParameters Request parameters.
|
|
2442
|
+
* @param {*} [options] Override http request option.
|
|
2443
|
+
* @throws {RequiredError}
|
|
2444
|
+
* @memberof SealClient
|
|
2445
|
+
*/
|
|
2446
|
+
rejectRfqQuote(requestParameters: SealClientRejectRfqQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2310
2447
|
/**
|
|
2311
2448
|
*
|
|
2312
2449
|
* @param {SealClientRemoveRfqRequestViewerRequest} requestParameters Request parameters.
|
|
@@ -2315,6 +2452,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
2315
2452
|
* @memberof SealClient
|
|
2316
2453
|
*/
|
|
2317
2454
|
removeRfqRequestViewer(requestParameters: SealClientRemoveRfqRequestViewerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @param {SealClientStopRfqRequestRequest} requestParameters Request parameters.
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
* @memberof SealClient
|
|
2461
|
+
*/
|
|
2462
|
+
stopRfqRequest(requestParameters: SealClientStopRfqRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
2318
2463
|
/**
|
|
2319
2464
|
*
|
|
2320
2465
|
* @param {*} [options] Override http request option.
|
|
@@ -2337,7 +2482,6 @@ export declare enum GetChainsOrderByPropertyEnum {
|
|
|
2337
2482
|
export declare enum GetOrderActivitiesOrderByPropertyEnum {
|
|
2338
2483
|
OrderActivitiesOrderByPropertyUnspecified = "OrderActivitiesOrderByProperty_UNSPECIFIED",
|
|
2339
2484
|
OrderActivitiesOrderByPropertyActivityId = "OrderActivitiesOrderByProperty_ACTIVITY_ID",
|
|
2340
|
-
OrderActivitiesOrderByPropertyChainId = "OrderActivitiesOrderByProperty_CHAIN_ID",
|
|
2341
2485
|
OrderActivitiesOrderByPropertyActivityTime = "OrderActivitiesOrderByProperty_ACTIVITY_TIME"
|
|
2342
2486
|
}
|
|
2343
2487
|
/**
|
|
@@ -2362,13 +2506,14 @@ export declare enum GetOrderActivitiesTypeEnum {
|
|
|
2362
2506
|
*/
|
|
2363
2507
|
export declare enum GetOrderReservationsOrderByPropertyEnum {
|
|
2364
2508
|
OrderReservationsOrderByPropertyUnspecified = "OrderReservationsOrderByProperty_UNSPECIFIED",
|
|
2365
|
-
|
|
2366
|
-
|
|
2509
|
+
OrderReservationsOrderByPropertyOnChainIdHash = "OrderReservationsOrderByProperty_ON_CHAIN_ID_HASH",
|
|
2510
|
+
OrderReservationsOrderByPropertyChainId = "OrderReservationsOrderByProperty_CHAIN_ID",
|
|
2511
|
+
OrderReservationsOrderByPropertyOrderId = "OrderReservationsOrderByProperty_ORDER_ID",
|
|
2512
|
+
OrderReservationsOrderByPropertyOrderOnChainIdHash = "OrderReservationsOrderByProperty_ORDER_ON_CHAIN_ID_HASH",
|
|
2367
2513
|
OrderReservationsOrderByPropertyTotalAmount = "OrderReservationsOrderByProperty_TOTAL_AMOUNT",
|
|
2368
2514
|
OrderReservationsOrderByPropertyRemainingAmount = "OrderReservationsOrderByProperty_REMAINING_AMOUNT",
|
|
2369
2515
|
OrderReservationsOrderByPropertyTotalDepositAmount = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT",
|
|
2370
2516
|
OrderReservationsOrderByPropertyRemainingDepositAmount = "OrderReservationsOrderByProperty_REMAINING_DEPOSIT_AMOUNT",
|
|
2371
|
-
OrderReservationsOrderByPropertyChainId = "OrderReservationsOrderByProperty_CHAIN_ID",
|
|
2372
2517
|
OrderReservationsOrderByPropertyCreatedAtBlockNumber = "OrderReservationsOrderByProperty_CREATED_AT_BLOCK_NUMBER"
|
|
2373
2518
|
}
|
|
2374
2519
|
/**
|
|
@@ -2377,14 +2522,14 @@ export declare enum GetOrderReservationsOrderByPropertyEnum {
|
|
|
2377
2522
|
*/
|
|
2378
2523
|
export declare enum GetOrdersOrderByPropertyEnum {
|
|
2379
2524
|
OrdersOrderByPropertyUnspecified = "OrdersOrderByProperty_UNSPECIFIED",
|
|
2525
|
+
OrdersOrderByPropertyId = "OrdersOrderByProperty_ID",
|
|
2380
2526
|
OrdersOrderByPropertyOwner = "OrdersOrderByProperty_OWNER",
|
|
2381
2527
|
OrdersOrderByPropertyTokenIn = "OrdersOrderByProperty_TOKEN_IN",
|
|
2382
2528
|
OrdersOrderByPropertyTokenOut = "OrdersOrderByProperty_TOKEN_OUT",
|
|
2383
2529
|
OrdersOrderByPropertyAmountIn = "OrdersOrderByProperty_AMOUNT_IN",
|
|
2384
2530
|
OrdersOrderByPropertyPrice = "OrdersOrderByProperty_PRICE",
|
|
2385
2531
|
OrdersOrderByPropertyDeadline = "OrdersOrderByProperty_DEADLINE",
|
|
2386
|
-
|
|
2387
|
-
OrdersOrderByPropertyDepositToken = "OrdersOrderByProperty_DEPOSIT_TOKEN",
|
|
2532
|
+
OrdersOrderByPropertyReservationDepositToken = "OrdersOrderByProperty_RESERVATION_DEPOSIT_TOKEN",
|
|
2388
2533
|
OrdersOrderByPropertyMinReservationDepositAmount = "OrdersOrderByProperty_MIN_RESERVATION_DEPOSIT_AMOUNT",
|
|
2389
2534
|
OrdersOrderByPropertyRemainingAmount = "OrdersOrderByProperty_REMAINING_AMOUNT",
|
|
2390
2535
|
OrdersOrderByPropertyReservedAmount = "OrdersOrderByProperty_RESERVED_AMOUNT",
|