@pear-protocol/types 2.15.0 → 2.16.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/copy/entities.d.ts +622 -24
- package/dist/copy/entities.js +26 -9
- package/dist/copy/index.d.ts +1 -0
- package/dist/copy/index.js +1 -0
- package/dist/copy/performance.d.ts +186 -0
- package/dist/copy/performance.js +63 -0
- package/dist/copy/responses.d.ts +733 -13
- package/dist/execution/entities.d.ts +55 -55
- package/dist/execution/responses.d.ts +32 -32
- package/dist/notification/entities.d.ts +2 -2
- package/dist/notification/responses.d.ts +1 -1
- package/dist/order/entities.d.ts +3 -3
- package/dist/position/entities.d.ts +3 -3
- package/dist/position/responses.d.ts +2 -2
- package/dist/schedule/entities.d.ts +6 -6
- package/dist/schedule/responses.d.ts +4 -4
- package/dist/tca/responses.d.ts +4 -4
- package/dist/trade/responses.d.ts +80 -80
- package/dist/traders/public.d.ts +11 -11
- package/package.json +1 -1
|
@@ -11,18 +11,18 @@ export declare const ExecutionOrderType: z.ZodEnum<{
|
|
|
11
11
|
}>;
|
|
12
12
|
export type ExecutionOrderType = z.infer<typeof ExecutionOrderType>;
|
|
13
13
|
export declare const ExecutionStatus: z.ZodEnum<{
|
|
14
|
-
ACTIVE: "ACTIVE";
|
|
15
14
|
FAILED: "FAILED";
|
|
15
|
+
ACTIVE: "ACTIVE";
|
|
16
16
|
CANCELLED: "CANCELLED";
|
|
17
17
|
IDLE: "IDLE";
|
|
18
18
|
COMPLETED: "COMPLETED";
|
|
19
19
|
}>;
|
|
20
20
|
export type ExecutionStatus = z.infer<typeof ExecutionStatus>;
|
|
21
21
|
export declare const ExecutionFulfillment: z.ZodEnum<{
|
|
22
|
-
PARTIAL: "PARTIAL";
|
|
23
|
-
NONE: "NONE";
|
|
24
22
|
PENDING: "PENDING";
|
|
25
23
|
COMPLETE: "COMPLETE";
|
|
24
|
+
PARTIAL: "PARTIAL";
|
|
25
|
+
NONE: "NONE";
|
|
26
26
|
}>;
|
|
27
27
|
export type ExecutionFulfillment = z.infer<typeof ExecutionFulfillment>;
|
|
28
28
|
export declare const ExecutionLegMode: z.ZodEnum<{
|
|
@@ -65,8 +65,8 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
65
65
|
MARKET: "MARKET";
|
|
66
66
|
}>;
|
|
67
67
|
status: z.ZodEnum<{
|
|
68
|
-
ACTIVE: "ACTIVE";
|
|
69
68
|
FAILED: "FAILED";
|
|
69
|
+
ACTIVE: "ACTIVE";
|
|
70
70
|
CANCELLED: "CANCELLED";
|
|
71
71
|
IDLE: "IDLE";
|
|
72
72
|
COMPLETED: "COMPLETED";
|
|
@@ -85,8 +85,8 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
85
85
|
lighter_rhc: "lighter_rhc";
|
|
86
86
|
}>;
|
|
87
87
|
status: z.ZodEnum<{
|
|
88
|
-
PARTIAL: "PARTIAL";
|
|
89
88
|
PENDING: "PENDING";
|
|
89
|
+
PARTIAL: "PARTIAL";
|
|
90
90
|
FILLED: "FILLED";
|
|
91
91
|
CANCELLED: "CANCELLED";
|
|
92
92
|
REJECTED: "REJECTED";
|
|
@@ -108,10 +108,10 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
108
108
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, z.core.$strip>], "type">>>;
|
|
110
110
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
PARTIAL: "PARTIAL";
|
|
112
|
-
NONE: "NONE";
|
|
113
111
|
PENDING: "PENDING";
|
|
114
112
|
COMPLETE: "COMPLETE";
|
|
113
|
+
PARTIAL: "PARTIAL";
|
|
114
|
+
NONE: "NONE";
|
|
115
115
|
}>>;
|
|
116
116
|
}, z.core.$strip>;
|
|
117
117
|
export declare const MarketOpenExecution: z.ZodObject<{
|
|
@@ -125,8 +125,8 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
125
125
|
lighter_rhc: "lighter_rhc";
|
|
126
126
|
}>;
|
|
127
127
|
status: z.ZodEnum<{
|
|
128
|
-
ACTIVE: "ACTIVE";
|
|
129
128
|
FAILED: "FAILED";
|
|
129
|
+
ACTIVE: "ACTIVE";
|
|
130
130
|
CANCELLED: "CANCELLED";
|
|
131
131
|
IDLE: "IDLE";
|
|
132
132
|
COMPLETED: "COMPLETED";
|
|
@@ -145,8 +145,8 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
145
145
|
lighter_rhc: "lighter_rhc";
|
|
146
146
|
}>;
|
|
147
147
|
status: z.ZodEnum<{
|
|
148
|
-
PARTIAL: "PARTIAL";
|
|
149
148
|
PENDING: "PENDING";
|
|
149
|
+
PARTIAL: "PARTIAL";
|
|
150
150
|
FILLED: "FILLED";
|
|
151
151
|
CANCELLED: "CANCELLED";
|
|
152
152
|
REJECTED: "REJECTED";
|
|
@@ -168,10 +168,10 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
168
168
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
169
169
|
}, z.core.$strip>], "type">>>;
|
|
170
170
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
PARTIAL: "PARTIAL";
|
|
172
|
-
NONE: "NONE";
|
|
173
171
|
PENDING: "PENDING";
|
|
174
172
|
COMPLETE: "COMPLETE";
|
|
173
|
+
PARTIAL: "PARTIAL";
|
|
174
|
+
NONE: "NONE";
|
|
175
175
|
}>>;
|
|
176
176
|
intent: z.ZodLiteral<"OPEN">;
|
|
177
177
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -219,8 +219,8 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
219
219
|
lighter_rhc: "lighter_rhc";
|
|
220
220
|
}>;
|
|
221
221
|
status: z.ZodEnum<{
|
|
222
|
-
ACTIVE: "ACTIVE";
|
|
223
222
|
FAILED: "FAILED";
|
|
223
|
+
ACTIVE: "ACTIVE";
|
|
224
224
|
CANCELLED: "CANCELLED";
|
|
225
225
|
IDLE: "IDLE";
|
|
226
226
|
COMPLETED: "COMPLETED";
|
|
@@ -239,8 +239,8 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
239
239
|
lighter_rhc: "lighter_rhc";
|
|
240
240
|
}>;
|
|
241
241
|
status: z.ZodEnum<{
|
|
242
|
-
PARTIAL: "PARTIAL";
|
|
243
242
|
PENDING: "PENDING";
|
|
243
|
+
PARTIAL: "PARTIAL";
|
|
244
244
|
FILLED: "FILLED";
|
|
245
245
|
CANCELLED: "CANCELLED";
|
|
246
246
|
REJECTED: "REJECTED";
|
|
@@ -262,10 +262,10 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
262
262
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
263
263
|
}, z.core.$strip>], "type">>>;
|
|
264
264
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
PARTIAL: "PARTIAL";
|
|
266
|
-
NONE: "NONE";
|
|
267
265
|
PENDING: "PENDING";
|
|
268
266
|
COMPLETE: "COMPLETE";
|
|
267
|
+
PARTIAL: "PARTIAL";
|
|
268
|
+
NONE: "NONE";
|
|
269
269
|
}>>;
|
|
270
270
|
intent: z.ZodLiteral<"ADJUST">;
|
|
271
271
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -314,8 +314,8 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
314
314
|
lighter_rhc: "lighter_rhc";
|
|
315
315
|
}>;
|
|
316
316
|
status: z.ZodEnum<{
|
|
317
|
-
ACTIVE: "ACTIVE";
|
|
318
317
|
FAILED: "FAILED";
|
|
318
|
+
ACTIVE: "ACTIVE";
|
|
319
319
|
CANCELLED: "CANCELLED";
|
|
320
320
|
IDLE: "IDLE";
|
|
321
321
|
COMPLETED: "COMPLETED";
|
|
@@ -334,8 +334,8 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
334
334
|
lighter_rhc: "lighter_rhc";
|
|
335
335
|
}>;
|
|
336
336
|
status: z.ZodEnum<{
|
|
337
|
-
PARTIAL: "PARTIAL";
|
|
338
337
|
PENDING: "PENDING";
|
|
338
|
+
PARTIAL: "PARTIAL";
|
|
339
339
|
FILLED: "FILLED";
|
|
340
340
|
CANCELLED: "CANCELLED";
|
|
341
341
|
REJECTED: "REJECTED";
|
|
@@ -357,10 +357,10 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
357
357
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
358
358
|
}, z.core.$strip>], "type">>>;
|
|
359
359
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
360
|
-
PARTIAL: "PARTIAL";
|
|
361
|
-
NONE: "NONE";
|
|
362
360
|
PENDING: "PENDING";
|
|
363
361
|
COMPLETE: "COMPLETE";
|
|
362
|
+
PARTIAL: "PARTIAL";
|
|
363
|
+
NONE: "NONE";
|
|
364
364
|
}>>;
|
|
365
365
|
intent: z.ZodLiteral<"CLOSE">;
|
|
366
366
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -380,8 +380,8 @@ export declare const MarketReverseExecution: z.ZodObject<{
|
|
|
380
380
|
lighter_rhc: "lighter_rhc";
|
|
381
381
|
}>;
|
|
382
382
|
status: z.ZodEnum<{
|
|
383
|
-
ACTIVE: "ACTIVE";
|
|
384
383
|
FAILED: "FAILED";
|
|
384
|
+
ACTIVE: "ACTIVE";
|
|
385
385
|
CANCELLED: "CANCELLED";
|
|
386
386
|
IDLE: "IDLE";
|
|
387
387
|
COMPLETED: "COMPLETED";
|
|
@@ -400,8 +400,8 @@ export declare const MarketReverseExecution: z.ZodObject<{
|
|
|
400
400
|
lighter_rhc: "lighter_rhc";
|
|
401
401
|
}>;
|
|
402
402
|
status: z.ZodEnum<{
|
|
403
|
-
PARTIAL: "PARTIAL";
|
|
404
403
|
PENDING: "PENDING";
|
|
404
|
+
PARTIAL: "PARTIAL";
|
|
405
405
|
FILLED: "FILLED";
|
|
406
406
|
CANCELLED: "CANCELLED";
|
|
407
407
|
REJECTED: "REJECTED";
|
|
@@ -423,10 +423,10 @@ export declare const MarketReverseExecution: z.ZodObject<{
|
|
|
423
423
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
424
424
|
}, z.core.$strip>], "type">>>;
|
|
425
425
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
426
|
-
PARTIAL: "PARTIAL";
|
|
427
|
-
NONE: "NONE";
|
|
428
426
|
PENDING: "PENDING";
|
|
429
427
|
COMPLETE: "COMPLETE";
|
|
428
|
+
PARTIAL: "PARTIAL";
|
|
429
|
+
NONE: "NONE";
|
|
430
430
|
}>>;
|
|
431
431
|
intent: z.ZodLiteral<"REVERSE">;
|
|
432
432
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -446,8 +446,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
446
446
|
lighter_rhc: "lighter_rhc";
|
|
447
447
|
}>;
|
|
448
448
|
status: z.ZodEnum<{
|
|
449
|
-
ACTIVE: "ACTIVE";
|
|
450
449
|
FAILED: "FAILED";
|
|
450
|
+
ACTIVE: "ACTIVE";
|
|
451
451
|
CANCELLED: "CANCELLED";
|
|
452
452
|
IDLE: "IDLE";
|
|
453
453
|
COMPLETED: "COMPLETED";
|
|
@@ -466,8 +466,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
466
466
|
lighter_rhc: "lighter_rhc";
|
|
467
467
|
}>;
|
|
468
468
|
status: z.ZodEnum<{
|
|
469
|
-
PARTIAL: "PARTIAL";
|
|
470
469
|
PENDING: "PENDING";
|
|
470
|
+
PARTIAL: "PARTIAL";
|
|
471
471
|
FILLED: "FILLED";
|
|
472
472
|
CANCELLED: "CANCELLED";
|
|
473
473
|
REJECTED: "REJECTED";
|
|
@@ -489,10 +489,10 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
489
489
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
490
490
|
}, z.core.$strip>], "type">>>;
|
|
491
491
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
492
|
-
PARTIAL: "PARTIAL";
|
|
493
|
-
NONE: "NONE";
|
|
494
492
|
PENDING: "PENDING";
|
|
495
493
|
COMPLETE: "COMPLETE";
|
|
494
|
+
PARTIAL: "PARTIAL";
|
|
495
|
+
NONE: "NONE";
|
|
496
496
|
}>>;
|
|
497
497
|
intent: z.ZodLiteral<"OPEN">;
|
|
498
498
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -539,8 +539,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
539
539
|
lighter_rhc: "lighter_rhc";
|
|
540
540
|
}>;
|
|
541
541
|
status: z.ZodEnum<{
|
|
542
|
-
ACTIVE: "ACTIVE";
|
|
543
542
|
FAILED: "FAILED";
|
|
543
|
+
ACTIVE: "ACTIVE";
|
|
544
544
|
CANCELLED: "CANCELLED";
|
|
545
545
|
IDLE: "IDLE";
|
|
546
546
|
COMPLETED: "COMPLETED";
|
|
@@ -559,8 +559,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
559
559
|
lighter_rhc: "lighter_rhc";
|
|
560
560
|
}>;
|
|
561
561
|
status: z.ZodEnum<{
|
|
562
|
-
PARTIAL: "PARTIAL";
|
|
563
562
|
PENDING: "PENDING";
|
|
563
|
+
PARTIAL: "PARTIAL";
|
|
564
564
|
FILLED: "FILLED";
|
|
565
565
|
CANCELLED: "CANCELLED";
|
|
566
566
|
REJECTED: "REJECTED";
|
|
@@ -582,10 +582,10 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
582
582
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
583
583
|
}, z.core.$strip>], "type">>>;
|
|
584
584
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
585
|
-
PARTIAL: "PARTIAL";
|
|
586
|
-
NONE: "NONE";
|
|
587
585
|
PENDING: "PENDING";
|
|
588
586
|
COMPLETE: "COMPLETE";
|
|
587
|
+
PARTIAL: "PARTIAL";
|
|
588
|
+
NONE: "NONE";
|
|
589
589
|
}>>;
|
|
590
590
|
intent: z.ZodLiteral<"ADJUST">;
|
|
591
591
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -633,8 +633,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
633
633
|
lighter_rhc: "lighter_rhc";
|
|
634
634
|
}>;
|
|
635
635
|
status: z.ZodEnum<{
|
|
636
|
-
ACTIVE: "ACTIVE";
|
|
637
636
|
FAILED: "FAILED";
|
|
637
|
+
ACTIVE: "ACTIVE";
|
|
638
638
|
CANCELLED: "CANCELLED";
|
|
639
639
|
IDLE: "IDLE";
|
|
640
640
|
COMPLETED: "COMPLETED";
|
|
@@ -653,8 +653,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
653
653
|
lighter_rhc: "lighter_rhc";
|
|
654
654
|
}>;
|
|
655
655
|
status: z.ZodEnum<{
|
|
656
|
-
PARTIAL: "PARTIAL";
|
|
657
656
|
PENDING: "PENDING";
|
|
657
|
+
PARTIAL: "PARTIAL";
|
|
658
658
|
FILLED: "FILLED";
|
|
659
659
|
CANCELLED: "CANCELLED";
|
|
660
660
|
REJECTED: "REJECTED";
|
|
@@ -676,10 +676,10 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
676
676
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
677
677
|
}, z.core.$strip>], "type">>>;
|
|
678
678
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
679
|
-
PARTIAL: "PARTIAL";
|
|
680
|
-
NONE: "NONE";
|
|
681
679
|
PENDING: "PENDING";
|
|
682
680
|
COMPLETE: "COMPLETE";
|
|
681
|
+
PARTIAL: "PARTIAL";
|
|
682
|
+
NONE: "NONE";
|
|
683
683
|
}>>;
|
|
684
684
|
intent: z.ZodLiteral<"CLOSE">;
|
|
685
685
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -698,8 +698,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
698
698
|
lighter_rhc: "lighter_rhc";
|
|
699
699
|
}>;
|
|
700
700
|
status: z.ZodEnum<{
|
|
701
|
-
ACTIVE: "ACTIVE";
|
|
702
701
|
FAILED: "FAILED";
|
|
702
|
+
ACTIVE: "ACTIVE";
|
|
703
703
|
CANCELLED: "CANCELLED";
|
|
704
704
|
IDLE: "IDLE";
|
|
705
705
|
COMPLETED: "COMPLETED";
|
|
@@ -718,8 +718,8 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
718
718
|
lighter_rhc: "lighter_rhc";
|
|
719
719
|
}>;
|
|
720
720
|
status: z.ZodEnum<{
|
|
721
|
-
PARTIAL: "PARTIAL";
|
|
722
721
|
PENDING: "PENDING";
|
|
722
|
+
PARTIAL: "PARTIAL";
|
|
723
723
|
FILLED: "FILLED";
|
|
724
724
|
CANCELLED: "CANCELLED";
|
|
725
725
|
REJECTED: "REJECTED";
|
|
@@ -741,10 +741,10 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
741
741
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
742
742
|
}, z.core.$strip>], "type">>>;
|
|
743
743
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
744
|
-
PARTIAL: "PARTIAL";
|
|
745
|
-
NONE: "NONE";
|
|
746
744
|
PENDING: "PENDING";
|
|
747
745
|
COMPLETE: "COMPLETE";
|
|
746
|
+
PARTIAL: "PARTIAL";
|
|
747
|
+
NONE: "NONE";
|
|
748
748
|
}>>;
|
|
749
749
|
intent: z.ZodLiteral<"REVERSE">;
|
|
750
750
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -764,8 +764,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
764
764
|
lighter_rhc: "lighter_rhc";
|
|
765
765
|
}>;
|
|
766
766
|
status: z.ZodEnum<{
|
|
767
|
-
ACTIVE: "ACTIVE";
|
|
768
767
|
FAILED: "FAILED";
|
|
768
|
+
ACTIVE: "ACTIVE";
|
|
769
769
|
CANCELLED: "CANCELLED";
|
|
770
770
|
IDLE: "IDLE";
|
|
771
771
|
COMPLETED: "COMPLETED";
|
|
@@ -784,8 +784,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
784
784
|
lighter_rhc: "lighter_rhc";
|
|
785
785
|
}>;
|
|
786
786
|
status: z.ZodEnum<{
|
|
787
|
-
PARTIAL: "PARTIAL";
|
|
788
787
|
PENDING: "PENDING";
|
|
788
|
+
PARTIAL: "PARTIAL";
|
|
789
789
|
FILLED: "FILLED";
|
|
790
790
|
CANCELLED: "CANCELLED";
|
|
791
791
|
REJECTED: "REJECTED";
|
|
@@ -807,10 +807,10 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
807
807
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
808
808
|
}, z.core.$strip>], "type">>>;
|
|
809
809
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
810
|
-
PARTIAL: "PARTIAL";
|
|
811
|
-
NONE: "NONE";
|
|
812
810
|
PENDING: "PENDING";
|
|
813
811
|
COMPLETE: "COMPLETE";
|
|
812
|
+
PARTIAL: "PARTIAL";
|
|
813
|
+
NONE: "NONE";
|
|
814
814
|
}>>;
|
|
815
815
|
intent: z.ZodLiteral<"OPEN">;
|
|
816
816
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -857,8 +857,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
857
857
|
lighter_rhc: "lighter_rhc";
|
|
858
858
|
}>;
|
|
859
859
|
status: z.ZodEnum<{
|
|
860
|
-
ACTIVE: "ACTIVE";
|
|
861
860
|
FAILED: "FAILED";
|
|
861
|
+
ACTIVE: "ACTIVE";
|
|
862
862
|
CANCELLED: "CANCELLED";
|
|
863
863
|
IDLE: "IDLE";
|
|
864
864
|
COMPLETED: "COMPLETED";
|
|
@@ -877,8 +877,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
877
877
|
lighter_rhc: "lighter_rhc";
|
|
878
878
|
}>;
|
|
879
879
|
status: z.ZodEnum<{
|
|
880
|
-
PARTIAL: "PARTIAL";
|
|
881
880
|
PENDING: "PENDING";
|
|
881
|
+
PARTIAL: "PARTIAL";
|
|
882
882
|
FILLED: "FILLED";
|
|
883
883
|
CANCELLED: "CANCELLED";
|
|
884
884
|
REJECTED: "REJECTED";
|
|
@@ -900,10 +900,10 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
900
900
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
901
901
|
}, z.core.$strip>], "type">>>;
|
|
902
902
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
903
|
-
PARTIAL: "PARTIAL";
|
|
904
|
-
NONE: "NONE";
|
|
905
903
|
PENDING: "PENDING";
|
|
906
904
|
COMPLETE: "COMPLETE";
|
|
905
|
+
PARTIAL: "PARTIAL";
|
|
906
|
+
NONE: "NONE";
|
|
907
907
|
}>>;
|
|
908
908
|
intent: z.ZodLiteral<"ADJUST">;
|
|
909
909
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -951,8 +951,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
951
951
|
lighter_rhc: "lighter_rhc";
|
|
952
952
|
}>;
|
|
953
953
|
status: z.ZodEnum<{
|
|
954
|
-
ACTIVE: "ACTIVE";
|
|
955
954
|
FAILED: "FAILED";
|
|
955
|
+
ACTIVE: "ACTIVE";
|
|
956
956
|
CANCELLED: "CANCELLED";
|
|
957
957
|
IDLE: "IDLE";
|
|
958
958
|
COMPLETED: "COMPLETED";
|
|
@@ -971,8 +971,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
971
971
|
lighter_rhc: "lighter_rhc";
|
|
972
972
|
}>;
|
|
973
973
|
status: z.ZodEnum<{
|
|
974
|
-
PARTIAL: "PARTIAL";
|
|
975
974
|
PENDING: "PENDING";
|
|
975
|
+
PARTIAL: "PARTIAL";
|
|
976
976
|
FILLED: "FILLED";
|
|
977
977
|
CANCELLED: "CANCELLED";
|
|
978
978
|
REJECTED: "REJECTED";
|
|
@@ -994,10 +994,10 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
994
994
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
995
995
|
}, z.core.$strip>], "type">>>;
|
|
996
996
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
997
|
-
PARTIAL: "PARTIAL";
|
|
998
|
-
NONE: "NONE";
|
|
999
997
|
PENDING: "PENDING";
|
|
1000
998
|
COMPLETE: "COMPLETE";
|
|
999
|
+
PARTIAL: "PARTIAL";
|
|
1000
|
+
NONE: "NONE";
|
|
1001
1001
|
}>>;
|
|
1002
1002
|
intent: z.ZodLiteral<"CLOSE">;
|
|
1003
1003
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -1016,8 +1016,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
1016
1016
|
lighter_rhc: "lighter_rhc";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
status: z.ZodEnum<{
|
|
1019
|
-
ACTIVE: "ACTIVE";
|
|
1020
1019
|
FAILED: "FAILED";
|
|
1020
|
+
ACTIVE: "ACTIVE";
|
|
1021
1021
|
CANCELLED: "CANCELLED";
|
|
1022
1022
|
IDLE: "IDLE";
|
|
1023
1023
|
COMPLETED: "COMPLETED";
|
|
@@ -1036,8 +1036,8 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
1036
1036
|
lighter_rhc: "lighter_rhc";
|
|
1037
1037
|
}>;
|
|
1038
1038
|
status: z.ZodEnum<{
|
|
1039
|
-
PARTIAL: "PARTIAL";
|
|
1040
1039
|
PENDING: "PENDING";
|
|
1040
|
+
PARTIAL: "PARTIAL";
|
|
1041
1041
|
FILLED: "FILLED";
|
|
1042
1042
|
CANCELLED: "CANCELLED";
|
|
1043
1043
|
REJECTED: "REJECTED";
|
|
@@ -1059,10 +1059,10 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
1059
1059
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
1060
1060
|
}, z.core.$strip>], "type">>>;
|
|
1061
1061
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
1062
|
-
PARTIAL: "PARTIAL";
|
|
1063
|
-
NONE: "NONE";
|
|
1064
1062
|
PENDING: "PENDING";
|
|
1065
1063
|
COMPLETE: "COMPLETE";
|
|
1064
|
+
PARTIAL: "PARTIAL";
|
|
1065
|
+
NONE: "NONE";
|
|
1066
1066
|
}>>;
|
|
1067
1067
|
intent: z.ZodLiteral<"REVERSE">;
|
|
1068
1068
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -13,8 +13,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
13
13
|
lighter_rhc: "lighter_rhc";
|
|
14
14
|
}>;
|
|
15
15
|
status: z.ZodEnum<{
|
|
16
|
-
ACTIVE: "ACTIVE";
|
|
17
16
|
FAILED: "FAILED";
|
|
17
|
+
ACTIVE: "ACTIVE";
|
|
18
18
|
CANCELLED: "CANCELLED";
|
|
19
19
|
IDLE: "IDLE";
|
|
20
20
|
COMPLETED: "COMPLETED";
|
|
@@ -33,8 +33,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
33
33
|
lighter_rhc: "lighter_rhc";
|
|
34
34
|
}>;
|
|
35
35
|
status: z.ZodEnum<{
|
|
36
|
-
PARTIAL: "PARTIAL";
|
|
37
36
|
PENDING: "PENDING";
|
|
37
|
+
PARTIAL: "PARTIAL";
|
|
38
38
|
FILLED: "FILLED";
|
|
39
39
|
CANCELLED: "CANCELLED";
|
|
40
40
|
REJECTED: "REJECTED";
|
|
@@ -56,10 +56,10 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
56
56
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, z.core.$strip>], "type">>>;
|
|
58
58
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
59
|
-
PARTIAL: "PARTIAL";
|
|
60
|
-
NONE: "NONE";
|
|
61
59
|
PENDING: "PENDING";
|
|
62
60
|
COMPLETE: "COMPLETE";
|
|
61
|
+
PARTIAL: "PARTIAL";
|
|
62
|
+
NONE: "NONE";
|
|
63
63
|
}>>;
|
|
64
64
|
intent: z.ZodLiteral<"OPEN">;
|
|
65
65
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -106,8 +106,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
106
106
|
lighter_rhc: "lighter_rhc";
|
|
107
107
|
}>;
|
|
108
108
|
status: z.ZodEnum<{
|
|
109
|
-
ACTIVE: "ACTIVE";
|
|
110
109
|
FAILED: "FAILED";
|
|
110
|
+
ACTIVE: "ACTIVE";
|
|
111
111
|
CANCELLED: "CANCELLED";
|
|
112
112
|
IDLE: "IDLE";
|
|
113
113
|
COMPLETED: "COMPLETED";
|
|
@@ -126,8 +126,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
126
126
|
lighter_rhc: "lighter_rhc";
|
|
127
127
|
}>;
|
|
128
128
|
status: z.ZodEnum<{
|
|
129
|
-
PARTIAL: "PARTIAL";
|
|
130
129
|
PENDING: "PENDING";
|
|
130
|
+
PARTIAL: "PARTIAL";
|
|
131
131
|
FILLED: "FILLED";
|
|
132
132
|
CANCELLED: "CANCELLED";
|
|
133
133
|
REJECTED: "REJECTED";
|
|
@@ -149,10 +149,10 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
149
149
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
150
150
|
}, z.core.$strip>], "type">>>;
|
|
151
151
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
152
|
-
PARTIAL: "PARTIAL";
|
|
153
|
-
NONE: "NONE";
|
|
154
152
|
PENDING: "PENDING";
|
|
155
153
|
COMPLETE: "COMPLETE";
|
|
154
|
+
PARTIAL: "PARTIAL";
|
|
155
|
+
NONE: "NONE";
|
|
156
156
|
}>>;
|
|
157
157
|
intent: z.ZodLiteral<"ADJUST">;
|
|
158
158
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -200,8 +200,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
200
200
|
lighter_rhc: "lighter_rhc";
|
|
201
201
|
}>;
|
|
202
202
|
status: z.ZodEnum<{
|
|
203
|
-
ACTIVE: "ACTIVE";
|
|
204
203
|
FAILED: "FAILED";
|
|
204
|
+
ACTIVE: "ACTIVE";
|
|
205
205
|
CANCELLED: "CANCELLED";
|
|
206
206
|
IDLE: "IDLE";
|
|
207
207
|
COMPLETED: "COMPLETED";
|
|
@@ -220,8 +220,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
220
220
|
lighter_rhc: "lighter_rhc";
|
|
221
221
|
}>;
|
|
222
222
|
status: z.ZodEnum<{
|
|
223
|
-
PARTIAL: "PARTIAL";
|
|
224
223
|
PENDING: "PENDING";
|
|
224
|
+
PARTIAL: "PARTIAL";
|
|
225
225
|
FILLED: "FILLED";
|
|
226
226
|
CANCELLED: "CANCELLED";
|
|
227
227
|
REJECTED: "REJECTED";
|
|
@@ -243,10 +243,10 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
243
243
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
244
244
|
}, z.core.$strip>], "type">>>;
|
|
245
245
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
246
|
-
PARTIAL: "PARTIAL";
|
|
247
|
-
NONE: "NONE";
|
|
248
246
|
PENDING: "PENDING";
|
|
249
247
|
COMPLETE: "COMPLETE";
|
|
248
|
+
PARTIAL: "PARTIAL";
|
|
249
|
+
NONE: "NONE";
|
|
250
250
|
}>>;
|
|
251
251
|
intent: z.ZodLiteral<"CLOSE">;
|
|
252
252
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -265,8 +265,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
265
265
|
lighter_rhc: "lighter_rhc";
|
|
266
266
|
}>;
|
|
267
267
|
status: z.ZodEnum<{
|
|
268
|
-
ACTIVE: "ACTIVE";
|
|
269
268
|
FAILED: "FAILED";
|
|
269
|
+
ACTIVE: "ACTIVE";
|
|
270
270
|
CANCELLED: "CANCELLED";
|
|
271
271
|
IDLE: "IDLE";
|
|
272
272
|
COMPLETED: "COMPLETED";
|
|
@@ -285,8 +285,8 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
285
285
|
lighter_rhc: "lighter_rhc";
|
|
286
286
|
}>;
|
|
287
287
|
status: z.ZodEnum<{
|
|
288
|
-
PARTIAL: "PARTIAL";
|
|
289
288
|
PENDING: "PENDING";
|
|
289
|
+
PARTIAL: "PARTIAL";
|
|
290
290
|
FILLED: "FILLED";
|
|
291
291
|
CANCELLED: "CANCELLED";
|
|
292
292
|
REJECTED: "REJECTED";
|
|
@@ -308,10 +308,10 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
308
308
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
309
309
|
}, z.core.$strip>], "type">>>;
|
|
310
310
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
311
|
-
PARTIAL: "PARTIAL";
|
|
312
|
-
NONE: "NONE";
|
|
313
311
|
PENDING: "PENDING";
|
|
314
312
|
COMPLETE: "COMPLETE";
|
|
313
|
+
PARTIAL: "PARTIAL";
|
|
314
|
+
NONE: "NONE";
|
|
315
315
|
}>>;
|
|
316
316
|
intent: z.ZodLiteral<"REVERSE">;
|
|
317
317
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -334,8 +334,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
334
334
|
lighter_rhc: "lighter_rhc";
|
|
335
335
|
}>;
|
|
336
336
|
status: z.ZodEnum<{
|
|
337
|
-
ACTIVE: "ACTIVE";
|
|
338
337
|
FAILED: "FAILED";
|
|
338
|
+
ACTIVE: "ACTIVE";
|
|
339
339
|
CANCELLED: "CANCELLED";
|
|
340
340
|
IDLE: "IDLE";
|
|
341
341
|
COMPLETED: "COMPLETED";
|
|
@@ -354,8 +354,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
354
354
|
lighter_rhc: "lighter_rhc";
|
|
355
355
|
}>;
|
|
356
356
|
status: z.ZodEnum<{
|
|
357
|
-
PARTIAL: "PARTIAL";
|
|
358
357
|
PENDING: "PENDING";
|
|
358
|
+
PARTIAL: "PARTIAL";
|
|
359
359
|
FILLED: "FILLED";
|
|
360
360
|
CANCELLED: "CANCELLED";
|
|
361
361
|
REJECTED: "REJECTED";
|
|
@@ -377,10 +377,10 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
377
377
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
378
378
|
}, z.core.$strip>], "type">>>;
|
|
379
379
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
380
|
-
PARTIAL: "PARTIAL";
|
|
381
|
-
NONE: "NONE";
|
|
382
380
|
PENDING: "PENDING";
|
|
383
381
|
COMPLETE: "COMPLETE";
|
|
382
|
+
PARTIAL: "PARTIAL";
|
|
383
|
+
NONE: "NONE";
|
|
384
384
|
}>>;
|
|
385
385
|
intent: z.ZodLiteral<"OPEN">;
|
|
386
386
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -427,8 +427,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
427
427
|
lighter_rhc: "lighter_rhc";
|
|
428
428
|
}>;
|
|
429
429
|
status: z.ZodEnum<{
|
|
430
|
-
ACTIVE: "ACTIVE";
|
|
431
430
|
FAILED: "FAILED";
|
|
431
|
+
ACTIVE: "ACTIVE";
|
|
432
432
|
CANCELLED: "CANCELLED";
|
|
433
433
|
IDLE: "IDLE";
|
|
434
434
|
COMPLETED: "COMPLETED";
|
|
@@ -447,8 +447,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
447
447
|
lighter_rhc: "lighter_rhc";
|
|
448
448
|
}>;
|
|
449
449
|
status: z.ZodEnum<{
|
|
450
|
-
PARTIAL: "PARTIAL";
|
|
451
450
|
PENDING: "PENDING";
|
|
451
|
+
PARTIAL: "PARTIAL";
|
|
452
452
|
FILLED: "FILLED";
|
|
453
453
|
CANCELLED: "CANCELLED";
|
|
454
454
|
REJECTED: "REJECTED";
|
|
@@ -470,10 +470,10 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
470
470
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
471
471
|
}, z.core.$strip>], "type">>>;
|
|
472
472
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
473
|
-
PARTIAL: "PARTIAL";
|
|
474
|
-
NONE: "NONE";
|
|
475
473
|
PENDING: "PENDING";
|
|
476
474
|
COMPLETE: "COMPLETE";
|
|
475
|
+
PARTIAL: "PARTIAL";
|
|
476
|
+
NONE: "NONE";
|
|
477
477
|
}>>;
|
|
478
478
|
intent: z.ZodLiteral<"ADJUST">;
|
|
479
479
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -521,8 +521,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
521
521
|
lighter_rhc: "lighter_rhc";
|
|
522
522
|
}>;
|
|
523
523
|
status: z.ZodEnum<{
|
|
524
|
-
ACTIVE: "ACTIVE";
|
|
525
524
|
FAILED: "FAILED";
|
|
525
|
+
ACTIVE: "ACTIVE";
|
|
526
526
|
CANCELLED: "CANCELLED";
|
|
527
527
|
IDLE: "IDLE";
|
|
528
528
|
COMPLETED: "COMPLETED";
|
|
@@ -541,8 +541,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
541
541
|
lighter_rhc: "lighter_rhc";
|
|
542
542
|
}>;
|
|
543
543
|
status: z.ZodEnum<{
|
|
544
|
-
PARTIAL: "PARTIAL";
|
|
545
544
|
PENDING: "PENDING";
|
|
545
|
+
PARTIAL: "PARTIAL";
|
|
546
546
|
FILLED: "FILLED";
|
|
547
547
|
CANCELLED: "CANCELLED";
|
|
548
548
|
REJECTED: "REJECTED";
|
|
@@ -564,10 +564,10 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
564
564
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
565
565
|
}, z.core.$strip>], "type">>>;
|
|
566
566
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
567
|
-
PARTIAL: "PARTIAL";
|
|
568
|
-
NONE: "NONE";
|
|
569
567
|
PENDING: "PENDING";
|
|
570
568
|
COMPLETE: "COMPLETE";
|
|
569
|
+
PARTIAL: "PARTIAL";
|
|
570
|
+
NONE: "NONE";
|
|
571
571
|
}>>;
|
|
572
572
|
intent: z.ZodLiteral<"CLOSE">;
|
|
573
573
|
orderType: z.ZodLiteral<"MARKET">;
|
|
@@ -586,8 +586,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
586
586
|
lighter_rhc: "lighter_rhc";
|
|
587
587
|
}>;
|
|
588
588
|
status: z.ZodEnum<{
|
|
589
|
-
ACTIVE: "ACTIVE";
|
|
590
589
|
FAILED: "FAILED";
|
|
590
|
+
ACTIVE: "ACTIVE";
|
|
591
591
|
CANCELLED: "CANCELLED";
|
|
592
592
|
IDLE: "IDLE";
|
|
593
593
|
COMPLETED: "COMPLETED";
|
|
@@ -606,8 +606,8 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
606
606
|
lighter_rhc: "lighter_rhc";
|
|
607
607
|
}>;
|
|
608
608
|
status: z.ZodEnum<{
|
|
609
|
-
PARTIAL: "PARTIAL";
|
|
610
609
|
PENDING: "PENDING";
|
|
610
|
+
PARTIAL: "PARTIAL";
|
|
611
611
|
FILLED: "FILLED";
|
|
612
612
|
CANCELLED: "CANCELLED";
|
|
613
613
|
REJECTED: "REJECTED";
|
|
@@ -629,10 +629,10 @@ export declare const GetExecutionResponse: z.ZodObject<{
|
|
|
629
629
|
filledPrice: z.ZodOptional<z.ZodString>;
|
|
630
630
|
}, z.core.$strip>], "type">>>;
|
|
631
631
|
fulfillment: z.ZodOptional<z.ZodEnum<{
|
|
632
|
-
PARTIAL: "PARTIAL";
|
|
633
|
-
NONE: "NONE";
|
|
634
632
|
PENDING: "PENDING";
|
|
635
633
|
COMPLETE: "COMPLETE";
|
|
634
|
+
PARTIAL: "PARTIAL";
|
|
635
|
+
NONE: "NONE";
|
|
636
636
|
}>>;
|
|
637
637
|
intent: z.ZodLiteral<"REVERSE">;
|
|
638
638
|
orderType: z.ZodLiteral<"MARKET">;
|