@pear-protocol/types 2.1.0 → 2.3.0
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/dist/bundle.d.ts +1 -0
- package/dist/bundle.js +1 -0
- package/dist/connector/index.d.ts +2 -0
- package/dist/connector/index.js +2 -1
- package/dist/execution/entities.d.ts +26 -0
- package/dist/execution/queries.d.ts +1 -0
- package/dist/execution/responses.d.ts +16 -0
- package/dist/fee/entities.d.ts +1 -0
- package/dist/fee/queries.d.ts +1 -0
- package/dist/fill/entities.d.ts +1 -0
- package/dist/fill/queries.d.ts +1 -0
- package/dist/fill/responses.d.ts +2 -0
- package/dist/funding/queries.d.ts +1 -0
- package/dist/instrument/entities.d.ts +1 -0
- package/dist/instrument/queries.d.ts +1 -0
- package/dist/instrument/responses.d.ts +1 -0
- package/dist/ladder/entities.d.ts +16 -0
- package/dist/ladder/queries.d.ts +1 -0
- package/dist/ladder/responses.d.ts +48 -0
- package/dist/market/entities.d.ts +2 -0
- package/dist/market/payloads.d.ts +1 -0
- package/dist/market/queries.d.ts +2 -0
- package/dist/market/responses.d.ts +2 -0
- package/dist/notification/entities.d.ts +24 -0
- package/dist/notification/responses.d.ts +12 -0
- package/dist/order/entities.d.ts +2 -0
- package/dist/position/entities.d.ts +123 -0
- package/dist/position/entities.js +38 -1
- package/dist/position/queries.d.ts +29 -0
- package/dist/position/queries.js +12 -1
- package/dist/position/responses.d.ts +96 -0
- package/dist/position/responses.js +11 -2
- package/dist/price/queries.d.ts +1 -0
- package/dist/schedule/entities.d.ts +10 -0
- package/dist/schedule/queries.d.ts +1 -0
- package/dist/schedule/responses.d.ts +8 -0
- package/dist/statistics/entities.d.ts +1 -0
- package/dist/statistics/queries.d.ts +5 -1
- package/dist/statistics/responses.d.ts +1 -0
- package/dist/sync/payloads.d.ts +13 -0
- package/dist/tca/responses.d.ts +10 -0
- package/dist/trade/entities.d.ts +3 -0
- package/dist/trade/responses.d.ts +42 -0
- package/dist/trade-accounts/entities.d.ts +1 -0
- package/dist/trade-accounts/payloads.d.ts +21 -0
- package/dist/trade-accounts/payloads.js +10 -2
- package/dist/trade-accounts/response.d.ts +42 -0
- package/dist/trade-accounts/response.js +5 -1
- package/dist/trigger/entities/conditions.d.ts +4 -0
- package/dist/trigger/entities/index.d.ts +47 -0
- package/dist/trigger/payloads/conditions.d.ts +1 -0
- package/dist/trigger/payloads/index.d.ts +6 -0
- package/dist/trigger/queries.d.ts +1 -0
- package/dist/trigger/responses.d.ts +30 -0
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -5,6 +5,7 @@ export declare const Connector: z.ZodEnum<{
|
|
|
5
5
|
bybit: "bybit";
|
|
6
6
|
okx: "okx";
|
|
7
7
|
lighter: "lighter";
|
|
8
|
+
lighter_rhc: "lighter_rhc";
|
|
8
9
|
}>;
|
|
9
10
|
export type Connector = z.infer<typeof Connector>;
|
|
10
11
|
export type HyperliquidCredentialsDTO = {
|
|
@@ -37,4 +38,5 @@ export type ConnectorCredentialsDTO = {
|
|
|
37
38
|
bybit: BybitCredentialsDTO;
|
|
38
39
|
okx: OkxCredentialsDTO;
|
|
39
40
|
lighter: LighterCredentialsDTO;
|
|
41
|
+
lighter_rhc: LighterCredentialsDTO;
|
|
40
42
|
};
|
package/dist/connector/index.js
CHANGED
|
@@ -45,6 +45,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
45
45
|
bybit: "bybit";
|
|
46
46
|
okx: "okx";
|
|
47
47
|
lighter: "lighter";
|
|
48
|
+
lighter_rhc: "lighter_rhc";
|
|
48
49
|
}>;
|
|
49
50
|
intent: z.ZodEnum<{
|
|
50
51
|
OPEN: "OPEN";
|
|
@@ -73,6 +74,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
73
74
|
bybit: "bybit";
|
|
74
75
|
okx: "okx";
|
|
75
76
|
lighter: "lighter";
|
|
77
|
+
lighter_rhc: "lighter_rhc";
|
|
76
78
|
}>;
|
|
77
79
|
status: z.ZodEnum<{
|
|
78
80
|
PENDING: "PENDING";
|
|
@@ -106,6 +108,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
106
108
|
bybit: "bybit";
|
|
107
109
|
okx: "okx";
|
|
108
110
|
lighter: "lighter";
|
|
111
|
+
lighter_rhc: "lighter_rhc";
|
|
109
112
|
}>;
|
|
110
113
|
status: z.ZodEnum<{
|
|
111
114
|
CANCELLED: "CANCELLED";
|
|
@@ -125,6 +128,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
125
128
|
bybit: "bybit";
|
|
126
129
|
okx: "okx";
|
|
127
130
|
lighter: "lighter";
|
|
131
|
+
lighter_rhc: "lighter_rhc";
|
|
128
132
|
}>;
|
|
129
133
|
status: z.ZodEnum<{
|
|
130
134
|
PENDING: "PENDING";
|
|
@@ -187,6 +191,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
187
191
|
bybit: "bybit";
|
|
188
192
|
okx: "okx";
|
|
189
193
|
lighter: "lighter";
|
|
194
|
+
lighter_rhc: "lighter_rhc";
|
|
190
195
|
}>;
|
|
191
196
|
status: z.ZodEnum<{
|
|
192
197
|
CANCELLED: "CANCELLED";
|
|
@@ -206,6 +211,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
206
211
|
bybit: "bybit";
|
|
207
212
|
okx: "okx";
|
|
208
213
|
lighter: "lighter";
|
|
214
|
+
lighter_rhc: "lighter_rhc";
|
|
209
215
|
}>;
|
|
210
216
|
status: z.ZodEnum<{
|
|
211
217
|
PENDING: "PENDING";
|
|
@@ -272,6 +278,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
272
278
|
bybit: "bybit";
|
|
273
279
|
okx: "okx";
|
|
274
280
|
lighter: "lighter";
|
|
281
|
+
lighter_rhc: "lighter_rhc";
|
|
275
282
|
}>;
|
|
276
283
|
status: z.ZodEnum<{
|
|
277
284
|
CANCELLED: "CANCELLED";
|
|
@@ -291,6 +298,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
291
298
|
bybit: "bybit";
|
|
292
299
|
okx: "okx";
|
|
293
300
|
lighter: "lighter";
|
|
301
|
+
lighter_rhc: "lighter_rhc";
|
|
294
302
|
}>;
|
|
295
303
|
status: z.ZodEnum<{
|
|
296
304
|
PENDING: "PENDING";
|
|
@@ -330,6 +338,7 @@ export declare const MarketReverseExecution: z.ZodObject<{
|
|
|
330
338
|
bybit: "bybit";
|
|
331
339
|
okx: "okx";
|
|
332
340
|
lighter: "lighter";
|
|
341
|
+
lighter_rhc: "lighter_rhc";
|
|
333
342
|
}>;
|
|
334
343
|
status: z.ZodEnum<{
|
|
335
344
|
CANCELLED: "CANCELLED";
|
|
@@ -349,6 +358,7 @@ export declare const MarketReverseExecution: z.ZodObject<{
|
|
|
349
358
|
bybit: "bybit";
|
|
350
359
|
okx: "okx";
|
|
351
360
|
lighter: "lighter";
|
|
361
|
+
lighter_rhc: "lighter_rhc";
|
|
352
362
|
}>;
|
|
353
363
|
status: z.ZodEnum<{
|
|
354
364
|
PENDING: "PENDING";
|
|
@@ -388,6 +398,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
388
398
|
bybit: "bybit";
|
|
389
399
|
okx: "okx";
|
|
390
400
|
lighter: "lighter";
|
|
401
|
+
lighter_rhc: "lighter_rhc";
|
|
391
402
|
}>;
|
|
392
403
|
status: z.ZodEnum<{
|
|
393
404
|
CANCELLED: "CANCELLED";
|
|
@@ -407,6 +418,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
407
418
|
bybit: "bybit";
|
|
408
419
|
okx: "okx";
|
|
409
420
|
lighter: "lighter";
|
|
421
|
+
lighter_rhc: "lighter_rhc";
|
|
410
422
|
}>;
|
|
411
423
|
status: z.ZodEnum<{
|
|
412
424
|
PENDING: "PENDING";
|
|
@@ -468,6 +480,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
468
480
|
bybit: "bybit";
|
|
469
481
|
okx: "okx";
|
|
470
482
|
lighter: "lighter";
|
|
483
|
+
lighter_rhc: "lighter_rhc";
|
|
471
484
|
}>;
|
|
472
485
|
status: z.ZodEnum<{
|
|
473
486
|
CANCELLED: "CANCELLED";
|
|
@@ -487,6 +500,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
487
500
|
bybit: "bybit";
|
|
488
501
|
okx: "okx";
|
|
489
502
|
lighter: "lighter";
|
|
503
|
+
lighter_rhc: "lighter_rhc";
|
|
490
504
|
}>;
|
|
491
505
|
status: z.ZodEnum<{
|
|
492
506
|
PENDING: "PENDING";
|
|
@@ -552,6 +566,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
552
566
|
bybit: "bybit";
|
|
553
567
|
okx: "okx";
|
|
554
568
|
lighter: "lighter";
|
|
569
|
+
lighter_rhc: "lighter_rhc";
|
|
555
570
|
}>;
|
|
556
571
|
status: z.ZodEnum<{
|
|
557
572
|
CANCELLED: "CANCELLED";
|
|
@@ -571,6 +586,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
571
586
|
bybit: "bybit";
|
|
572
587
|
okx: "okx";
|
|
573
588
|
lighter: "lighter";
|
|
589
|
+
lighter_rhc: "lighter_rhc";
|
|
574
590
|
}>;
|
|
575
591
|
status: z.ZodEnum<{
|
|
576
592
|
PENDING: "PENDING";
|
|
@@ -609,6 +625,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
609
625
|
bybit: "bybit";
|
|
610
626
|
okx: "okx";
|
|
611
627
|
lighter: "lighter";
|
|
628
|
+
lighter_rhc: "lighter_rhc";
|
|
612
629
|
}>;
|
|
613
630
|
status: z.ZodEnum<{
|
|
614
631
|
CANCELLED: "CANCELLED";
|
|
@@ -628,6 +645,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
628
645
|
bybit: "bybit";
|
|
629
646
|
okx: "okx";
|
|
630
647
|
lighter: "lighter";
|
|
648
|
+
lighter_rhc: "lighter_rhc";
|
|
631
649
|
}>;
|
|
632
650
|
status: z.ZodEnum<{
|
|
633
651
|
PENDING: "PENDING";
|
|
@@ -667,6 +685,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
667
685
|
bybit: "bybit";
|
|
668
686
|
okx: "okx";
|
|
669
687
|
lighter: "lighter";
|
|
688
|
+
lighter_rhc: "lighter_rhc";
|
|
670
689
|
}>;
|
|
671
690
|
status: z.ZodEnum<{
|
|
672
691
|
CANCELLED: "CANCELLED";
|
|
@@ -686,6 +705,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
686
705
|
bybit: "bybit";
|
|
687
706
|
okx: "okx";
|
|
688
707
|
lighter: "lighter";
|
|
708
|
+
lighter_rhc: "lighter_rhc";
|
|
689
709
|
}>;
|
|
690
710
|
status: z.ZodEnum<{
|
|
691
711
|
PENDING: "PENDING";
|
|
@@ -747,6 +767,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
747
767
|
bybit: "bybit";
|
|
748
768
|
okx: "okx";
|
|
749
769
|
lighter: "lighter";
|
|
770
|
+
lighter_rhc: "lighter_rhc";
|
|
750
771
|
}>;
|
|
751
772
|
status: z.ZodEnum<{
|
|
752
773
|
CANCELLED: "CANCELLED";
|
|
@@ -766,6 +787,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
766
787
|
bybit: "bybit";
|
|
767
788
|
okx: "okx";
|
|
768
789
|
lighter: "lighter";
|
|
790
|
+
lighter_rhc: "lighter_rhc";
|
|
769
791
|
}>;
|
|
770
792
|
status: z.ZodEnum<{
|
|
771
793
|
PENDING: "PENDING";
|
|
@@ -831,6 +853,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
831
853
|
bybit: "bybit";
|
|
832
854
|
okx: "okx";
|
|
833
855
|
lighter: "lighter";
|
|
856
|
+
lighter_rhc: "lighter_rhc";
|
|
834
857
|
}>;
|
|
835
858
|
status: z.ZodEnum<{
|
|
836
859
|
CANCELLED: "CANCELLED";
|
|
@@ -850,6 +873,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
850
873
|
bybit: "bybit";
|
|
851
874
|
okx: "okx";
|
|
852
875
|
lighter: "lighter";
|
|
876
|
+
lighter_rhc: "lighter_rhc";
|
|
853
877
|
}>;
|
|
854
878
|
status: z.ZodEnum<{
|
|
855
879
|
PENDING: "PENDING";
|
|
@@ -888,6 +912,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
888
912
|
bybit: "bybit";
|
|
889
913
|
okx: "okx";
|
|
890
914
|
lighter: "lighter";
|
|
915
|
+
lighter_rhc: "lighter_rhc";
|
|
891
916
|
}>;
|
|
892
917
|
status: z.ZodEnum<{
|
|
893
918
|
CANCELLED: "CANCELLED";
|
|
@@ -907,6 +932,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
907
932
|
bybit: "bybit";
|
|
908
933
|
okx: "okx";
|
|
909
934
|
lighter: "lighter";
|
|
935
|
+
lighter_rhc: "lighter_rhc";
|
|
910
936
|
}>;
|
|
911
937
|
status: z.ZodEnum<{
|
|
912
938
|
PENDING: "PENDING";
|
|
@@ -8,6 +8,7 @@ export declare const ExecutionListParams: z.ZodObject<{
|
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
10
|
lighter: "lighter";
|
|
11
|
+
lighter_rhc: "lighter_rhc";
|
|
11
12
|
}>>;
|
|
12
13
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("CANCELLED" | "ACTIVE" | "COMPLETED")[] & any[]) | undefined, ("CANCELLED" | "ACTIVE" | "COMPLETED")[]>, z.ZodArray<z.ZodEnum<{
|
|
13
14
|
CANCELLED: "CANCELLED";
|
|
@@ -10,6 +10,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
12
|
lighter: "lighter";
|
|
13
|
+
lighter_rhc: "lighter_rhc";
|
|
13
14
|
}>;
|
|
14
15
|
status: z.ZodEnum<{
|
|
15
16
|
CANCELLED: "CANCELLED";
|
|
@@ -29,6 +30,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
29
30
|
bybit: "bybit";
|
|
30
31
|
okx: "okx";
|
|
31
32
|
lighter: "lighter";
|
|
33
|
+
lighter_rhc: "lighter_rhc";
|
|
32
34
|
}>;
|
|
33
35
|
status: z.ZodEnum<{
|
|
34
36
|
PENDING: "PENDING";
|
|
@@ -90,6 +92,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
90
92
|
bybit: "bybit";
|
|
91
93
|
okx: "okx";
|
|
92
94
|
lighter: "lighter";
|
|
95
|
+
lighter_rhc: "lighter_rhc";
|
|
93
96
|
}>;
|
|
94
97
|
status: z.ZodEnum<{
|
|
95
98
|
CANCELLED: "CANCELLED";
|
|
@@ -109,6 +112,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
109
112
|
bybit: "bybit";
|
|
110
113
|
okx: "okx";
|
|
111
114
|
lighter: "lighter";
|
|
115
|
+
lighter_rhc: "lighter_rhc";
|
|
112
116
|
}>;
|
|
113
117
|
status: z.ZodEnum<{
|
|
114
118
|
PENDING: "PENDING";
|
|
@@ -174,6 +178,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
174
178
|
bybit: "bybit";
|
|
175
179
|
okx: "okx";
|
|
176
180
|
lighter: "lighter";
|
|
181
|
+
lighter_rhc: "lighter_rhc";
|
|
177
182
|
}>;
|
|
178
183
|
status: z.ZodEnum<{
|
|
179
184
|
CANCELLED: "CANCELLED";
|
|
@@ -193,6 +198,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
193
198
|
bybit: "bybit";
|
|
194
199
|
okx: "okx";
|
|
195
200
|
lighter: "lighter";
|
|
201
|
+
lighter_rhc: "lighter_rhc";
|
|
196
202
|
}>;
|
|
197
203
|
status: z.ZodEnum<{
|
|
198
204
|
PENDING: "PENDING";
|
|
@@ -231,6 +237,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
231
237
|
bybit: "bybit";
|
|
232
238
|
okx: "okx";
|
|
233
239
|
lighter: "lighter";
|
|
240
|
+
lighter_rhc: "lighter_rhc";
|
|
234
241
|
}>;
|
|
235
242
|
status: z.ZodEnum<{
|
|
236
243
|
CANCELLED: "CANCELLED";
|
|
@@ -250,6 +257,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
250
257
|
bybit: "bybit";
|
|
251
258
|
okx: "okx";
|
|
252
259
|
lighter: "lighter";
|
|
260
|
+
lighter_rhc: "lighter_rhc";
|
|
253
261
|
}>;
|
|
254
262
|
status: z.ZodEnum<{
|
|
255
263
|
PENDING: "PENDING";
|
|
@@ -292,6 +300,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
292
300
|
bybit: "bybit";
|
|
293
301
|
okx: "okx";
|
|
294
302
|
lighter: "lighter";
|
|
303
|
+
lighter_rhc: "lighter_rhc";
|
|
295
304
|
}>;
|
|
296
305
|
status: z.ZodEnum<{
|
|
297
306
|
CANCELLED: "CANCELLED";
|
|
@@ -311,6 +320,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
311
320
|
bybit: "bybit";
|
|
312
321
|
okx: "okx";
|
|
313
322
|
lighter: "lighter";
|
|
323
|
+
lighter_rhc: "lighter_rhc";
|
|
314
324
|
}>;
|
|
315
325
|
status: z.ZodEnum<{
|
|
316
326
|
PENDING: "PENDING";
|
|
@@ -372,6 +382,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
372
382
|
bybit: "bybit";
|
|
373
383
|
okx: "okx";
|
|
374
384
|
lighter: "lighter";
|
|
385
|
+
lighter_rhc: "lighter_rhc";
|
|
375
386
|
}>;
|
|
376
387
|
status: z.ZodEnum<{
|
|
377
388
|
CANCELLED: "CANCELLED";
|
|
@@ -391,6 +402,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
391
402
|
bybit: "bybit";
|
|
392
403
|
okx: "okx";
|
|
393
404
|
lighter: "lighter";
|
|
405
|
+
lighter_rhc: "lighter_rhc";
|
|
394
406
|
}>;
|
|
395
407
|
status: z.ZodEnum<{
|
|
396
408
|
PENDING: "PENDING";
|
|
@@ -456,6 +468,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
456
468
|
bybit: "bybit";
|
|
457
469
|
okx: "okx";
|
|
458
470
|
lighter: "lighter";
|
|
471
|
+
lighter_rhc: "lighter_rhc";
|
|
459
472
|
}>;
|
|
460
473
|
status: z.ZodEnum<{
|
|
461
474
|
CANCELLED: "CANCELLED";
|
|
@@ -475,6 +488,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
475
488
|
bybit: "bybit";
|
|
476
489
|
okx: "okx";
|
|
477
490
|
lighter: "lighter";
|
|
491
|
+
lighter_rhc: "lighter_rhc";
|
|
478
492
|
}>;
|
|
479
493
|
status: z.ZodEnum<{
|
|
480
494
|
PENDING: "PENDING";
|
|
@@ -513,6 +527,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
513
527
|
bybit: "bybit";
|
|
514
528
|
okx: "okx";
|
|
515
529
|
lighter: "lighter";
|
|
530
|
+
lighter_rhc: "lighter_rhc";
|
|
516
531
|
}>;
|
|
517
532
|
status: z.ZodEnum<{
|
|
518
533
|
CANCELLED: "CANCELLED";
|
|
@@ -532,6 +547,7 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
532
547
|
bybit: "bybit";
|
|
533
548
|
okx: "okx";
|
|
534
549
|
lighter: "lighter";
|
|
550
|
+
lighter_rhc: "lighter_rhc";
|
|
535
551
|
}>;
|
|
536
552
|
status: z.ZodEnum<{
|
|
537
553
|
PENDING: "PENDING";
|
package/dist/fee/entities.d.ts
CHANGED
package/dist/fee/queries.d.ts
CHANGED
package/dist/fill/entities.d.ts
CHANGED
package/dist/fill/queries.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const FillListParams: z.ZodObject<{
|
|
|
9
9
|
bybit: "bybit";
|
|
10
10
|
okx: "okx";
|
|
11
11
|
lighter: "lighter";
|
|
12
|
+
lighter_rhc: "lighter_rhc";
|
|
12
13
|
}>>;
|
|
13
14
|
orderBy: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"timestamp">, z.ZodLiteral<"-timestamp">]>>;
|
|
14
15
|
}, z.core.$strip>;
|
package/dist/fill/responses.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare const FillListResponse: z.ZodObject<{
|
|
|
20
20
|
bybit: "bybit";
|
|
21
21
|
okx: "okx";
|
|
22
22
|
lighter: "lighter";
|
|
23
|
+
lighter_rhc: "lighter_rhc";
|
|
23
24
|
}>;
|
|
24
25
|
side: z.ZodEnum<{
|
|
25
26
|
BUY: "BUY";
|
|
@@ -60,6 +61,7 @@ export declare const PositionFillListResponse: z.ZodObject<{
|
|
|
60
61
|
bybit: "bybit";
|
|
61
62
|
okx: "okx";
|
|
62
63
|
lighter: "lighter";
|
|
64
|
+
lighter_rhc: "lighter_rhc";
|
|
63
65
|
}>;
|
|
64
66
|
side: z.ZodEnum<{
|
|
65
67
|
BUY: "BUY";
|
|
@@ -13,6 +13,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
13
13
|
bybit: "bybit";
|
|
14
14
|
okx: "okx";
|
|
15
15
|
lighter: "lighter";
|
|
16
|
+
lighter_rhc: "lighter_rhc";
|
|
16
17
|
}>;
|
|
17
18
|
positionKey: z.ZodString;
|
|
18
19
|
config: z.ZodObject<{
|
|
@@ -107,6 +108,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
107
108
|
bybit: "bybit";
|
|
108
109
|
okx: "okx";
|
|
109
110
|
lighter: "lighter";
|
|
111
|
+
lighter_rhc: "lighter_rhc";
|
|
110
112
|
}>;
|
|
111
113
|
status: z.ZodEnum<{
|
|
112
114
|
CANCELLED: "CANCELLED";
|
|
@@ -143,6 +145,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
143
145
|
bybit: "bybit";
|
|
144
146
|
okx: "okx";
|
|
145
147
|
lighter: "lighter";
|
|
148
|
+
lighter_rhc: "lighter_rhc";
|
|
146
149
|
}>;
|
|
147
150
|
side: z.ZodEnum<{
|
|
148
151
|
BUY: "BUY";
|
|
@@ -235,6 +238,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
235
238
|
bybit: "bybit";
|
|
236
239
|
okx: "okx";
|
|
237
240
|
lighter: "lighter";
|
|
241
|
+
lighter_rhc: "lighter_rhc";
|
|
238
242
|
}>;
|
|
239
243
|
symbol: z.ZodString;
|
|
240
244
|
track: z.ZodEnum<{
|
|
@@ -315,6 +319,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
315
319
|
bybit: "bybit";
|
|
316
320
|
okx: "okx";
|
|
317
321
|
lighter: "lighter";
|
|
322
|
+
lighter_rhc: "lighter_rhc";
|
|
318
323
|
}>;
|
|
319
324
|
status: z.ZodEnum<{
|
|
320
325
|
CANCELLED: "CANCELLED";
|
|
@@ -351,6 +356,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
351
356
|
bybit: "bybit";
|
|
352
357
|
okx: "okx";
|
|
353
358
|
lighter: "lighter";
|
|
359
|
+
lighter_rhc: "lighter_rhc";
|
|
354
360
|
}>;
|
|
355
361
|
side: z.ZodEnum<{
|
|
356
362
|
BUY: "BUY";
|
|
@@ -482,6 +488,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
482
488
|
bybit: "bybit";
|
|
483
489
|
okx: "okx";
|
|
484
490
|
lighter: "lighter";
|
|
491
|
+
lighter_rhc: "lighter_rhc";
|
|
485
492
|
}>;
|
|
486
493
|
symbol: z.ZodString;
|
|
487
494
|
track: z.ZodEnum<{
|
|
@@ -569,6 +576,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
569
576
|
bybit: "bybit";
|
|
570
577
|
okx: "okx";
|
|
571
578
|
lighter: "lighter";
|
|
579
|
+
lighter_rhc: "lighter_rhc";
|
|
572
580
|
}>;
|
|
573
581
|
status: z.ZodEnum<{
|
|
574
582
|
CANCELLED: "CANCELLED";
|
|
@@ -605,6 +613,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
605
613
|
bybit: "bybit";
|
|
606
614
|
okx: "okx";
|
|
607
615
|
lighter: "lighter";
|
|
616
|
+
lighter_rhc: "lighter_rhc";
|
|
608
617
|
}>;
|
|
609
618
|
side: z.ZodEnum<{
|
|
610
619
|
BUY: "BUY";
|
|
@@ -795,6 +804,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
795
804
|
bybit: "bybit";
|
|
796
805
|
okx: "okx";
|
|
797
806
|
lighter: "lighter";
|
|
807
|
+
lighter_rhc: "lighter_rhc";
|
|
798
808
|
}>;
|
|
799
809
|
symbol: z.ZodString;
|
|
800
810
|
track: z.ZodEnum<{
|
|
@@ -855,6 +865,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
855
865
|
bybit: "bybit";
|
|
856
866
|
okx: "okx";
|
|
857
867
|
lighter: "lighter";
|
|
868
|
+
lighter_rhc: "lighter_rhc";
|
|
858
869
|
}>;
|
|
859
870
|
status: z.ZodEnum<{
|
|
860
871
|
CANCELLED: "CANCELLED";
|
|
@@ -891,6 +902,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
891
902
|
bybit: "bybit";
|
|
892
903
|
okx: "okx";
|
|
893
904
|
lighter: "lighter";
|
|
905
|
+
lighter_rhc: "lighter_rhc";
|
|
894
906
|
}>;
|
|
895
907
|
side: z.ZodEnum<{
|
|
896
908
|
BUY: "BUY";
|
|
@@ -1023,6 +1035,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
1023
1035
|
bybit: "bybit";
|
|
1024
1036
|
okx: "okx";
|
|
1025
1037
|
lighter: "lighter";
|
|
1038
|
+
lighter_rhc: "lighter_rhc";
|
|
1026
1039
|
}>;
|
|
1027
1040
|
symbol: z.ZodString;
|
|
1028
1041
|
track: z.ZodEnum<{
|
|
@@ -1107,6 +1120,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
1107
1120
|
bybit: "bybit";
|
|
1108
1121
|
okx: "okx";
|
|
1109
1122
|
lighter: "lighter";
|
|
1123
|
+
lighter_rhc: "lighter_rhc";
|
|
1110
1124
|
}>;
|
|
1111
1125
|
status: z.ZodEnum<{
|
|
1112
1126
|
CANCELLED: "CANCELLED";
|
|
@@ -1143,6 +1157,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
1143
1157
|
bybit: "bybit";
|
|
1144
1158
|
okx: "okx";
|
|
1145
1159
|
lighter: "lighter";
|
|
1160
|
+
lighter_rhc: "lighter_rhc";
|
|
1146
1161
|
}>;
|
|
1147
1162
|
side: z.ZodEnum<{
|
|
1148
1163
|
BUY: "BUY";
|
|
@@ -1334,6 +1349,7 @@ export declare const Ladder: z.ZodObject<{
|
|
|
1334
1349
|
bybit: "bybit";
|
|
1335
1350
|
okx: "okx";
|
|
1336
1351
|
lighter: "lighter";
|
|
1352
|
+
lighter_rhc: "lighter_rhc";
|
|
1337
1353
|
}>;
|
|
1338
1354
|
symbol: z.ZodString;
|
|
1339
1355
|
track: z.ZodEnum<{
|
package/dist/ladder/queries.d.ts
CHANGED