@pear-protocol/types 2.15.0 → 2.17.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.
@@ -11,8 +11,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
11
11
  lighter_rhc: "lighter_rhc";
12
12
  }>;
13
13
  status: z.ZodEnum<{
14
- ACTIVE: "ACTIVE";
15
14
  FAILED: "FAILED";
15
+ ACTIVE: "ACTIVE";
16
16
  CANCELLED: "CANCELLED";
17
17
  IDLE: "IDLE";
18
18
  COMPLETED: "COMPLETED";
@@ -31,8 +31,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
31
31
  lighter_rhc: "lighter_rhc";
32
32
  }>;
33
33
  status: z.ZodEnum<{
34
- PARTIAL: "PARTIAL";
35
34
  PENDING: "PENDING";
35
+ PARTIAL: "PARTIAL";
36
36
  FILLED: "FILLED";
37
37
  CANCELLED: "CANCELLED";
38
38
  REJECTED: "REJECTED";
@@ -54,10 +54,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
54
54
  filledPrice: z.ZodOptional<z.ZodString>;
55
55
  }, z.core.$strip>], "type">>>;
56
56
  fulfillment: z.ZodOptional<z.ZodEnum<{
57
- PARTIAL: "PARTIAL";
58
- NONE: "NONE";
59
57
  PENDING: "PENDING";
60
58
  COMPLETE: "COMPLETE";
59
+ PARTIAL: "PARTIAL";
60
+ NONE: "NONE";
61
61
  }>>;
62
62
  intent: z.ZodLiteral<"OPEN">;
63
63
  orderType: z.ZodLiteral<"MARKET">;
@@ -104,8 +104,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
104
104
  lighter_rhc: "lighter_rhc";
105
105
  }>;
106
106
  status: z.ZodEnum<{
107
- ACTIVE: "ACTIVE";
108
107
  FAILED: "FAILED";
108
+ ACTIVE: "ACTIVE";
109
109
  CANCELLED: "CANCELLED";
110
110
  IDLE: "IDLE";
111
111
  COMPLETED: "COMPLETED";
@@ -124,8 +124,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
124
124
  lighter_rhc: "lighter_rhc";
125
125
  }>;
126
126
  status: z.ZodEnum<{
127
- PARTIAL: "PARTIAL";
128
127
  PENDING: "PENDING";
128
+ PARTIAL: "PARTIAL";
129
129
  FILLED: "FILLED";
130
130
  CANCELLED: "CANCELLED";
131
131
  REJECTED: "REJECTED";
@@ -147,10 +147,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
147
147
  filledPrice: z.ZodOptional<z.ZodString>;
148
148
  }, z.core.$strip>], "type">>>;
149
149
  fulfillment: z.ZodOptional<z.ZodEnum<{
150
- PARTIAL: "PARTIAL";
151
- NONE: "NONE";
152
150
  PENDING: "PENDING";
153
151
  COMPLETE: "COMPLETE";
152
+ PARTIAL: "PARTIAL";
153
+ NONE: "NONE";
154
154
  }>>;
155
155
  intent: z.ZodLiteral<"ADJUST">;
156
156
  orderType: z.ZodLiteral<"MARKET">;
@@ -198,8 +198,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
198
198
  lighter_rhc: "lighter_rhc";
199
199
  }>;
200
200
  status: z.ZodEnum<{
201
- ACTIVE: "ACTIVE";
202
201
  FAILED: "FAILED";
202
+ ACTIVE: "ACTIVE";
203
203
  CANCELLED: "CANCELLED";
204
204
  IDLE: "IDLE";
205
205
  COMPLETED: "COMPLETED";
@@ -218,8 +218,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
218
218
  lighter_rhc: "lighter_rhc";
219
219
  }>;
220
220
  status: z.ZodEnum<{
221
- PARTIAL: "PARTIAL";
222
221
  PENDING: "PENDING";
222
+ PARTIAL: "PARTIAL";
223
223
  FILLED: "FILLED";
224
224
  CANCELLED: "CANCELLED";
225
225
  REJECTED: "REJECTED";
@@ -241,10 +241,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
241
241
  filledPrice: z.ZodOptional<z.ZodString>;
242
242
  }, z.core.$strip>], "type">>>;
243
243
  fulfillment: z.ZodOptional<z.ZodEnum<{
244
- PARTIAL: "PARTIAL";
245
- NONE: "NONE";
246
244
  PENDING: "PENDING";
247
245
  COMPLETE: "COMPLETE";
246
+ PARTIAL: "PARTIAL";
247
+ NONE: "NONE";
248
248
  }>>;
249
249
  intent: z.ZodLiteral<"CLOSE">;
250
250
  orderType: z.ZodLiteral<"MARKET">;
@@ -263,8 +263,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
263
263
  lighter_rhc: "lighter_rhc";
264
264
  }>;
265
265
  status: z.ZodEnum<{
266
- ACTIVE: "ACTIVE";
267
266
  FAILED: "FAILED";
267
+ ACTIVE: "ACTIVE";
268
268
  CANCELLED: "CANCELLED";
269
269
  IDLE: "IDLE";
270
270
  COMPLETED: "COMPLETED";
@@ -283,8 +283,8 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
283
283
  lighter_rhc: "lighter_rhc";
284
284
  }>;
285
285
  status: z.ZodEnum<{
286
- PARTIAL: "PARTIAL";
287
286
  PENDING: "PENDING";
287
+ PARTIAL: "PARTIAL";
288
288
  FILLED: "FILLED";
289
289
  CANCELLED: "CANCELLED";
290
290
  REJECTED: "REJECTED";
@@ -306,10 +306,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
306
306
  filledPrice: z.ZodOptional<z.ZodString>;
307
307
  }, z.core.$strip>], "type">>>;
308
308
  fulfillment: z.ZodOptional<z.ZodEnum<{
309
- PARTIAL: "PARTIAL";
310
- NONE: "NONE";
311
309
  PENDING: "PENDING";
312
310
  COMPLETE: "COMPLETE";
311
+ PARTIAL: "PARTIAL";
312
+ NONE: "NONE";
313
313
  }>>;
314
314
  intent: z.ZodLiteral<"REVERSE">;
315
315
  orderType: z.ZodLiteral<"MARKET">;
@@ -332,8 +332,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
332
332
  lighter_rhc: "lighter_rhc";
333
333
  }>;
334
334
  status: z.ZodEnum<{
335
- ACTIVE: "ACTIVE";
336
335
  FAILED: "FAILED";
336
+ ACTIVE: "ACTIVE";
337
337
  CANCELLED: "CANCELLED";
338
338
  IDLE: "IDLE";
339
339
  COMPLETED: "COMPLETED";
@@ -352,8 +352,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
352
352
  lighter_rhc: "lighter_rhc";
353
353
  }>;
354
354
  status: z.ZodEnum<{
355
- PARTIAL: "PARTIAL";
356
355
  PENDING: "PENDING";
356
+ PARTIAL: "PARTIAL";
357
357
  FILLED: "FILLED";
358
358
  CANCELLED: "CANCELLED";
359
359
  REJECTED: "REJECTED";
@@ -375,10 +375,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
375
375
  filledPrice: z.ZodOptional<z.ZodString>;
376
376
  }, z.core.$strip>], "type">>>;
377
377
  fulfillment: z.ZodOptional<z.ZodEnum<{
378
- PARTIAL: "PARTIAL";
379
- NONE: "NONE";
380
378
  PENDING: "PENDING";
381
379
  COMPLETE: "COMPLETE";
380
+ PARTIAL: "PARTIAL";
381
+ NONE: "NONE";
382
382
  }>>;
383
383
  intent: z.ZodLiteral<"OPEN">;
384
384
  orderType: z.ZodLiteral<"MARKET">;
@@ -425,8 +425,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
425
425
  lighter_rhc: "lighter_rhc";
426
426
  }>;
427
427
  status: z.ZodEnum<{
428
- ACTIVE: "ACTIVE";
429
428
  FAILED: "FAILED";
429
+ ACTIVE: "ACTIVE";
430
430
  CANCELLED: "CANCELLED";
431
431
  IDLE: "IDLE";
432
432
  COMPLETED: "COMPLETED";
@@ -445,8 +445,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
445
445
  lighter_rhc: "lighter_rhc";
446
446
  }>;
447
447
  status: z.ZodEnum<{
448
- PARTIAL: "PARTIAL";
449
448
  PENDING: "PENDING";
449
+ PARTIAL: "PARTIAL";
450
450
  FILLED: "FILLED";
451
451
  CANCELLED: "CANCELLED";
452
452
  REJECTED: "REJECTED";
@@ -468,10 +468,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
468
468
  filledPrice: z.ZodOptional<z.ZodString>;
469
469
  }, z.core.$strip>], "type">>>;
470
470
  fulfillment: z.ZodOptional<z.ZodEnum<{
471
- PARTIAL: "PARTIAL";
472
- NONE: "NONE";
473
471
  PENDING: "PENDING";
474
472
  COMPLETE: "COMPLETE";
473
+ PARTIAL: "PARTIAL";
474
+ NONE: "NONE";
475
475
  }>>;
476
476
  intent: z.ZodLiteral<"ADJUST">;
477
477
  orderType: z.ZodLiteral<"MARKET">;
@@ -519,8 +519,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
519
519
  lighter_rhc: "lighter_rhc";
520
520
  }>;
521
521
  status: z.ZodEnum<{
522
- ACTIVE: "ACTIVE";
523
522
  FAILED: "FAILED";
523
+ ACTIVE: "ACTIVE";
524
524
  CANCELLED: "CANCELLED";
525
525
  IDLE: "IDLE";
526
526
  COMPLETED: "COMPLETED";
@@ -539,8 +539,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
539
539
  lighter_rhc: "lighter_rhc";
540
540
  }>;
541
541
  status: z.ZodEnum<{
542
- PARTIAL: "PARTIAL";
543
542
  PENDING: "PENDING";
543
+ PARTIAL: "PARTIAL";
544
544
  FILLED: "FILLED";
545
545
  CANCELLED: "CANCELLED";
546
546
  REJECTED: "REJECTED";
@@ -562,10 +562,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
562
562
  filledPrice: z.ZodOptional<z.ZodString>;
563
563
  }, z.core.$strip>], "type">>>;
564
564
  fulfillment: z.ZodOptional<z.ZodEnum<{
565
- PARTIAL: "PARTIAL";
566
- NONE: "NONE";
567
565
  PENDING: "PENDING";
568
566
  COMPLETE: "COMPLETE";
567
+ PARTIAL: "PARTIAL";
568
+ NONE: "NONE";
569
569
  }>>;
570
570
  intent: z.ZodLiteral<"CLOSE">;
571
571
  orderType: z.ZodLiteral<"MARKET">;
@@ -584,8 +584,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
584
584
  lighter_rhc: "lighter_rhc";
585
585
  }>;
586
586
  status: z.ZodEnum<{
587
- ACTIVE: "ACTIVE";
588
587
  FAILED: "FAILED";
588
+ ACTIVE: "ACTIVE";
589
589
  CANCELLED: "CANCELLED";
590
590
  IDLE: "IDLE";
591
591
  COMPLETED: "COMPLETED";
@@ -604,8 +604,8 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
604
604
  lighter_rhc: "lighter_rhc";
605
605
  }>;
606
606
  status: z.ZodEnum<{
607
- PARTIAL: "PARTIAL";
608
607
  PENDING: "PENDING";
608
+ PARTIAL: "PARTIAL";
609
609
  FILLED: "FILLED";
610
610
  CANCELLED: "CANCELLED";
611
611
  REJECTED: "REJECTED";
@@ -627,10 +627,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
627
627
  filledPrice: z.ZodOptional<z.ZodString>;
628
628
  }, z.core.$strip>], "type">>>;
629
629
  fulfillment: z.ZodOptional<z.ZodEnum<{
630
- PARTIAL: "PARTIAL";
631
- NONE: "NONE";
632
630
  PENDING: "PENDING";
633
631
  COMPLETE: "COMPLETE";
632
+ PARTIAL: "PARTIAL";
633
+ NONE: "NONE";
634
634
  }>>;
635
635
  intent: z.ZodLiteral<"REVERSE">;
636
636
  orderType: z.ZodLiteral<"MARKET">;
@@ -653,8 +653,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
653
653
  lighter_rhc: "lighter_rhc";
654
654
  }>;
655
655
  status: z.ZodEnum<{
656
- ACTIVE: "ACTIVE";
657
656
  FAILED: "FAILED";
657
+ ACTIVE: "ACTIVE";
658
658
  CANCELLED: "CANCELLED";
659
659
  IDLE: "IDLE";
660
660
  COMPLETED: "COMPLETED";
@@ -673,8 +673,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
673
673
  lighter_rhc: "lighter_rhc";
674
674
  }>;
675
675
  status: z.ZodEnum<{
676
- PARTIAL: "PARTIAL";
677
676
  PENDING: "PENDING";
677
+ PARTIAL: "PARTIAL";
678
678
  FILLED: "FILLED";
679
679
  CANCELLED: "CANCELLED";
680
680
  REJECTED: "REJECTED";
@@ -696,10 +696,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
696
696
  filledPrice: z.ZodOptional<z.ZodString>;
697
697
  }, z.core.$strip>], "type">>>;
698
698
  fulfillment: z.ZodOptional<z.ZodEnum<{
699
- PARTIAL: "PARTIAL";
700
- NONE: "NONE";
701
699
  PENDING: "PENDING";
702
700
  COMPLETE: "COMPLETE";
701
+ PARTIAL: "PARTIAL";
702
+ NONE: "NONE";
703
703
  }>>;
704
704
  intent: z.ZodLiteral<"OPEN">;
705
705
  orderType: z.ZodLiteral<"MARKET">;
@@ -746,8 +746,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
746
746
  lighter_rhc: "lighter_rhc";
747
747
  }>;
748
748
  status: z.ZodEnum<{
749
- ACTIVE: "ACTIVE";
750
749
  FAILED: "FAILED";
750
+ ACTIVE: "ACTIVE";
751
751
  CANCELLED: "CANCELLED";
752
752
  IDLE: "IDLE";
753
753
  COMPLETED: "COMPLETED";
@@ -766,8 +766,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
766
766
  lighter_rhc: "lighter_rhc";
767
767
  }>;
768
768
  status: z.ZodEnum<{
769
- PARTIAL: "PARTIAL";
770
769
  PENDING: "PENDING";
770
+ PARTIAL: "PARTIAL";
771
771
  FILLED: "FILLED";
772
772
  CANCELLED: "CANCELLED";
773
773
  REJECTED: "REJECTED";
@@ -789,10 +789,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
789
789
  filledPrice: z.ZodOptional<z.ZodString>;
790
790
  }, z.core.$strip>], "type">>>;
791
791
  fulfillment: z.ZodOptional<z.ZodEnum<{
792
- PARTIAL: "PARTIAL";
793
- NONE: "NONE";
794
792
  PENDING: "PENDING";
795
793
  COMPLETE: "COMPLETE";
794
+ PARTIAL: "PARTIAL";
795
+ NONE: "NONE";
796
796
  }>>;
797
797
  intent: z.ZodLiteral<"ADJUST">;
798
798
  orderType: z.ZodLiteral<"MARKET">;
@@ -840,8 +840,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
840
840
  lighter_rhc: "lighter_rhc";
841
841
  }>;
842
842
  status: z.ZodEnum<{
843
- ACTIVE: "ACTIVE";
844
843
  FAILED: "FAILED";
844
+ ACTIVE: "ACTIVE";
845
845
  CANCELLED: "CANCELLED";
846
846
  IDLE: "IDLE";
847
847
  COMPLETED: "COMPLETED";
@@ -860,8 +860,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
860
860
  lighter_rhc: "lighter_rhc";
861
861
  }>;
862
862
  status: z.ZodEnum<{
863
- PARTIAL: "PARTIAL";
864
863
  PENDING: "PENDING";
864
+ PARTIAL: "PARTIAL";
865
865
  FILLED: "FILLED";
866
866
  CANCELLED: "CANCELLED";
867
867
  REJECTED: "REJECTED";
@@ -883,10 +883,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
883
883
  filledPrice: z.ZodOptional<z.ZodString>;
884
884
  }, z.core.$strip>], "type">>>;
885
885
  fulfillment: z.ZodOptional<z.ZodEnum<{
886
- PARTIAL: "PARTIAL";
887
- NONE: "NONE";
888
886
  PENDING: "PENDING";
889
887
  COMPLETE: "COMPLETE";
888
+ PARTIAL: "PARTIAL";
889
+ NONE: "NONE";
890
890
  }>>;
891
891
  intent: z.ZodLiteral<"CLOSE">;
892
892
  orderType: z.ZodLiteral<"MARKET">;
@@ -905,8 +905,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
905
905
  lighter_rhc: "lighter_rhc";
906
906
  }>;
907
907
  status: z.ZodEnum<{
908
- ACTIVE: "ACTIVE";
909
908
  FAILED: "FAILED";
909
+ ACTIVE: "ACTIVE";
910
910
  CANCELLED: "CANCELLED";
911
911
  IDLE: "IDLE";
912
912
  COMPLETED: "COMPLETED";
@@ -925,8 +925,8 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
925
925
  lighter_rhc: "lighter_rhc";
926
926
  }>;
927
927
  status: z.ZodEnum<{
928
- PARTIAL: "PARTIAL";
929
928
  PENDING: "PENDING";
929
+ PARTIAL: "PARTIAL";
930
930
  FILLED: "FILLED";
931
931
  CANCELLED: "CANCELLED";
932
932
  REJECTED: "REJECTED";
@@ -948,10 +948,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
948
948
  filledPrice: z.ZodOptional<z.ZodString>;
949
949
  }, z.core.$strip>], "type">>>;
950
950
  fulfillment: z.ZodOptional<z.ZodEnum<{
951
- PARTIAL: "PARTIAL";
952
- NONE: "NONE";
953
951
  PENDING: "PENDING";
954
952
  COMPLETE: "COMPLETE";
953
+ PARTIAL: "PARTIAL";
954
+ NONE: "NONE";
955
955
  }>>;
956
956
  intent: z.ZodLiteral<"REVERSE">;
957
957
  orderType: z.ZodLiteral<"MARKET">;
@@ -974,8 +974,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
974
974
  lighter_rhc: "lighter_rhc";
975
975
  }>;
976
976
  status: z.ZodEnum<{
977
- ACTIVE: "ACTIVE";
978
977
  FAILED: "FAILED";
978
+ ACTIVE: "ACTIVE";
979
979
  CANCELLED: "CANCELLED";
980
980
  IDLE: "IDLE";
981
981
  COMPLETED: "COMPLETED";
@@ -994,8 +994,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
994
994
  lighter_rhc: "lighter_rhc";
995
995
  }>;
996
996
  status: z.ZodEnum<{
997
- PARTIAL: "PARTIAL";
998
997
  PENDING: "PENDING";
998
+ PARTIAL: "PARTIAL";
999
999
  FILLED: "FILLED";
1000
1000
  CANCELLED: "CANCELLED";
1001
1001
  REJECTED: "REJECTED";
@@ -1017,10 +1017,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1017
1017
  filledPrice: z.ZodOptional<z.ZodString>;
1018
1018
  }, z.core.$strip>], "type">>>;
1019
1019
  fulfillment: z.ZodOptional<z.ZodEnum<{
1020
- PARTIAL: "PARTIAL";
1021
- NONE: "NONE";
1022
1020
  PENDING: "PENDING";
1023
1021
  COMPLETE: "COMPLETE";
1022
+ PARTIAL: "PARTIAL";
1023
+ NONE: "NONE";
1024
1024
  }>>;
1025
1025
  intent: z.ZodLiteral<"OPEN">;
1026
1026
  orderType: z.ZodLiteral<"MARKET">;
@@ -1067,8 +1067,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1067
1067
  lighter_rhc: "lighter_rhc";
1068
1068
  }>;
1069
1069
  status: z.ZodEnum<{
1070
- ACTIVE: "ACTIVE";
1071
1070
  FAILED: "FAILED";
1071
+ ACTIVE: "ACTIVE";
1072
1072
  CANCELLED: "CANCELLED";
1073
1073
  IDLE: "IDLE";
1074
1074
  COMPLETED: "COMPLETED";
@@ -1087,8 +1087,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1087
1087
  lighter_rhc: "lighter_rhc";
1088
1088
  }>;
1089
1089
  status: z.ZodEnum<{
1090
- PARTIAL: "PARTIAL";
1091
1090
  PENDING: "PENDING";
1091
+ PARTIAL: "PARTIAL";
1092
1092
  FILLED: "FILLED";
1093
1093
  CANCELLED: "CANCELLED";
1094
1094
  REJECTED: "REJECTED";
@@ -1110,10 +1110,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1110
1110
  filledPrice: z.ZodOptional<z.ZodString>;
1111
1111
  }, z.core.$strip>], "type">>>;
1112
1112
  fulfillment: z.ZodOptional<z.ZodEnum<{
1113
- PARTIAL: "PARTIAL";
1114
- NONE: "NONE";
1115
1113
  PENDING: "PENDING";
1116
1114
  COMPLETE: "COMPLETE";
1115
+ PARTIAL: "PARTIAL";
1116
+ NONE: "NONE";
1117
1117
  }>>;
1118
1118
  intent: z.ZodLiteral<"ADJUST">;
1119
1119
  orderType: z.ZodLiteral<"MARKET">;
@@ -1161,8 +1161,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1161
1161
  lighter_rhc: "lighter_rhc";
1162
1162
  }>;
1163
1163
  status: z.ZodEnum<{
1164
- ACTIVE: "ACTIVE";
1165
1164
  FAILED: "FAILED";
1165
+ ACTIVE: "ACTIVE";
1166
1166
  CANCELLED: "CANCELLED";
1167
1167
  IDLE: "IDLE";
1168
1168
  COMPLETED: "COMPLETED";
@@ -1181,8 +1181,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1181
1181
  lighter_rhc: "lighter_rhc";
1182
1182
  }>;
1183
1183
  status: z.ZodEnum<{
1184
- PARTIAL: "PARTIAL";
1185
1184
  PENDING: "PENDING";
1185
+ PARTIAL: "PARTIAL";
1186
1186
  FILLED: "FILLED";
1187
1187
  CANCELLED: "CANCELLED";
1188
1188
  REJECTED: "REJECTED";
@@ -1204,10 +1204,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1204
1204
  filledPrice: z.ZodOptional<z.ZodString>;
1205
1205
  }, z.core.$strip>], "type">>>;
1206
1206
  fulfillment: z.ZodOptional<z.ZodEnum<{
1207
- PARTIAL: "PARTIAL";
1208
- NONE: "NONE";
1209
1207
  PENDING: "PENDING";
1210
1208
  COMPLETE: "COMPLETE";
1209
+ PARTIAL: "PARTIAL";
1210
+ NONE: "NONE";
1211
1211
  }>>;
1212
1212
  intent: z.ZodLiteral<"CLOSE">;
1213
1213
  orderType: z.ZodLiteral<"MARKET">;
@@ -1226,8 +1226,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1226
1226
  lighter_rhc: "lighter_rhc";
1227
1227
  }>;
1228
1228
  status: z.ZodEnum<{
1229
- ACTIVE: "ACTIVE";
1230
1229
  FAILED: "FAILED";
1230
+ ACTIVE: "ACTIVE";
1231
1231
  CANCELLED: "CANCELLED";
1232
1232
  IDLE: "IDLE";
1233
1233
  COMPLETED: "COMPLETED";
@@ -1246,8 +1246,8 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1246
1246
  lighter_rhc: "lighter_rhc";
1247
1247
  }>;
1248
1248
  status: z.ZodEnum<{
1249
- PARTIAL: "PARTIAL";
1250
1249
  PENDING: "PENDING";
1250
+ PARTIAL: "PARTIAL";
1251
1251
  FILLED: "FILLED";
1252
1252
  CANCELLED: "CANCELLED";
1253
1253
  REJECTED: "REJECTED";
@@ -1269,10 +1269,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1269
1269
  filledPrice: z.ZodOptional<z.ZodString>;
1270
1270
  }, z.core.$strip>], "type">>>;
1271
1271
  fulfillment: z.ZodOptional<z.ZodEnum<{
1272
- PARTIAL: "PARTIAL";
1273
- NONE: "NONE";
1274
1272
  PENDING: "PENDING";
1275
1273
  COMPLETE: "COMPLETE";
1274
+ PARTIAL: "PARTIAL";
1275
+ NONE: "NONE";
1276
1276
  }>>;
1277
1277
  intent: z.ZodLiteral<"REVERSE">;
1278
1278
  orderType: z.ZodLiteral<"MARKET">;
@@ -1295,8 +1295,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1295
1295
  lighter_rhc: "lighter_rhc";
1296
1296
  }>;
1297
1297
  status: z.ZodEnum<{
1298
- ACTIVE: "ACTIVE";
1299
1298
  FAILED: "FAILED";
1299
+ ACTIVE: "ACTIVE";
1300
1300
  CANCELLED: "CANCELLED";
1301
1301
  IDLE: "IDLE";
1302
1302
  COMPLETED: "COMPLETED";
@@ -1315,8 +1315,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1315
1315
  lighter_rhc: "lighter_rhc";
1316
1316
  }>;
1317
1317
  status: z.ZodEnum<{
1318
- PARTIAL: "PARTIAL";
1319
1318
  PENDING: "PENDING";
1319
+ PARTIAL: "PARTIAL";
1320
1320
  FILLED: "FILLED";
1321
1321
  CANCELLED: "CANCELLED";
1322
1322
  REJECTED: "REJECTED";
@@ -1338,10 +1338,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1338
1338
  filledPrice: z.ZodOptional<z.ZodString>;
1339
1339
  }, z.core.$strip>], "type">>>;
1340
1340
  fulfillment: z.ZodOptional<z.ZodEnum<{
1341
- PARTIAL: "PARTIAL";
1342
- NONE: "NONE";
1343
1341
  PENDING: "PENDING";
1344
1342
  COMPLETE: "COMPLETE";
1343
+ PARTIAL: "PARTIAL";
1344
+ NONE: "NONE";
1345
1345
  }>>;
1346
1346
  intent: z.ZodLiteral<"OPEN">;
1347
1347
  orderType: z.ZodLiteral<"MARKET">;
@@ -1388,8 +1388,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1388
1388
  lighter_rhc: "lighter_rhc";
1389
1389
  }>;
1390
1390
  status: z.ZodEnum<{
1391
- ACTIVE: "ACTIVE";
1392
1391
  FAILED: "FAILED";
1392
+ ACTIVE: "ACTIVE";
1393
1393
  CANCELLED: "CANCELLED";
1394
1394
  IDLE: "IDLE";
1395
1395
  COMPLETED: "COMPLETED";
@@ -1408,8 +1408,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1408
1408
  lighter_rhc: "lighter_rhc";
1409
1409
  }>;
1410
1410
  status: z.ZodEnum<{
1411
- PARTIAL: "PARTIAL";
1412
1411
  PENDING: "PENDING";
1412
+ PARTIAL: "PARTIAL";
1413
1413
  FILLED: "FILLED";
1414
1414
  CANCELLED: "CANCELLED";
1415
1415
  REJECTED: "REJECTED";
@@ -1431,10 +1431,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1431
1431
  filledPrice: z.ZodOptional<z.ZodString>;
1432
1432
  }, z.core.$strip>], "type">>>;
1433
1433
  fulfillment: z.ZodOptional<z.ZodEnum<{
1434
- PARTIAL: "PARTIAL";
1435
- NONE: "NONE";
1436
1434
  PENDING: "PENDING";
1437
1435
  COMPLETE: "COMPLETE";
1436
+ PARTIAL: "PARTIAL";
1437
+ NONE: "NONE";
1438
1438
  }>>;
1439
1439
  intent: z.ZodLiteral<"ADJUST">;
1440
1440
  orderType: z.ZodLiteral<"MARKET">;
@@ -1482,8 +1482,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1482
1482
  lighter_rhc: "lighter_rhc";
1483
1483
  }>;
1484
1484
  status: z.ZodEnum<{
1485
- ACTIVE: "ACTIVE";
1486
1485
  FAILED: "FAILED";
1486
+ ACTIVE: "ACTIVE";
1487
1487
  CANCELLED: "CANCELLED";
1488
1488
  IDLE: "IDLE";
1489
1489
  COMPLETED: "COMPLETED";
@@ -1502,8 +1502,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1502
1502
  lighter_rhc: "lighter_rhc";
1503
1503
  }>;
1504
1504
  status: z.ZodEnum<{
1505
- PARTIAL: "PARTIAL";
1506
1505
  PENDING: "PENDING";
1506
+ PARTIAL: "PARTIAL";
1507
1507
  FILLED: "FILLED";
1508
1508
  CANCELLED: "CANCELLED";
1509
1509
  REJECTED: "REJECTED";
@@ -1525,10 +1525,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1525
1525
  filledPrice: z.ZodOptional<z.ZodString>;
1526
1526
  }, z.core.$strip>], "type">>>;
1527
1527
  fulfillment: z.ZodOptional<z.ZodEnum<{
1528
- PARTIAL: "PARTIAL";
1529
- NONE: "NONE";
1530
1528
  PENDING: "PENDING";
1531
1529
  COMPLETE: "COMPLETE";
1530
+ PARTIAL: "PARTIAL";
1531
+ NONE: "NONE";
1532
1532
  }>>;
1533
1533
  intent: z.ZodLiteral<"CLOSE">;
1534
1534
  orderType: z.ZodLiteral<"MARKET">;
@@ -1547,8 +1547,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1547
1547
  lighter_rhc: "lighter_rhc";
1548
1548
  }>;
1549
1549
  status: z.ZodEnum<{
1550
- ACTIVE: "ACTIVE";
1551
1550
  FAILED: "FAILED";
1551
+ ACTIVE: "ACTIVE";
1552
1552
  CANCELLED: "CANCELLED";
1553
1553
  IDLE: "IDLE";
1554
1554
  COMPLETED: "COMPLETED";
@@ -1567,8 +1567,8 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1567
1567
  lighter_rhc: "lighter_rhc";
1568
1568
  }>;
1569
1569
  status: z.ZodEnum<{
1570
- PARTIAL: "PARTIAL";
1571
1570
  PENDING: "PENDING";
1571
+ PARTIAL: "PARTIAL";
1572
1572
  FILLED: "FILLED";
1573
1573
  CANCELLED: "CANCELLED";
1574
1574
  REJECTED: "REJECTED";
@@ -1590,10 +1590,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1590
1590
  filledPrice: z.ZodOptional<z.ZodString>;
1591
1591
  }, z.core.$strip>], "type">>>;
1592
1592
  fulfillment: z.ZodOptional<z.ZodEnum<{
1593
- PARTIAL: "PARTIAL";
1594
- NONE: "NONE";
1595
1593
  PENDING: "PENDING";
1596
1594
  COMPLETE: "COMPLETE";
1595
+ PARTIAL: "PARTIAL";
1596
+ NONE: "NONE";
1597
1597
  }>>;
1598
1598
  intent: z.ZodLiteral<"REVERSE">;
1599
1599
  orderType: z.ZodLiteral<"MARKET">;
@@ -1 +1,2 @@
1
+ export * from './performance';
1
2
  export * from './public';
@@ -1 +1,2 @@
1
+ export * from './performance';
1
2
  export * from './public';
@@ -0,0 +1,27 @@
1
+ /** Public account performance is one ordered series ready for a chart. */
2
+ import { z } from 'zod';
3
+ export declare const TraderPerformanceQuery: z.ZodObject<{
4
+ range: z.ZodDefault<z.ZodEnum<{
5
+ "24h": "24h";
6
+ "7d": "7d";
7
+ "30d": "30d";
8
+ }>>;
9
+ }, z.core.$strict>;
10
+ export type TraderPerformanceQueryInput = z.input<typeof TraderPerformanceQuery>;
11
+ export type TraderPerformanceQuery = z.output<typeof TraderPerformanceQuery>;
12
+ export declare const TraderPerformancePoint: z.ZodObject<{
13
+ at: z.ZodString;
14
+ equityUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
15
+ pnlUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
16
+ roiPercent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
17
+ }, z.core.$strip>;
18
+ export type TraderPerformancePoint = z.output<typeof TraderPerformancePoint>;
19
+ export declare const TraderPerformanceResponse: z.ZodObject<{
20
+ points: z.ZodArray<z.ZodObject<{
21
+ at: z.ZodString;
22
+ equityUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
23
+ pnlUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
24
+ roiPercent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ export type TraderPerformanceResponse = z.output<typeof TraderPerformanceResponse>;