@pear-protocol/types 2.22.1 → 2.24.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.
Files changed (44) hide show
  1. package/dist/bundle.d.ts +1 -0
  2. package/dist/common/transaction-hash.d.ts +7 -0
  3. package/dist/copy/entities.d.ts +160 -10
  4. package/dist/copy/responses.d.ts +95 -11
  5. package/dist/execution/entities.d.ts +43 -43
  6. package/dist/execution/queries.d.ts +3 -2
  7. package/dist/execution/responses.d.ts +24 -24
  8. package/dist/fill/entities.d.ts +60 -1
  9. package/dist/fill/queries.d.ts +1 -0
  10. package/dist/fill/responses.d.ts +34 -4
  11. package/dist/index.js +668 -410
  12. package/dist/ladder/entities.d.ts +141 -24
  13. package/dist/ladder/payloads.d.ts +60 -24
  14. package/dist/ladder/queries.d.ts +2 -2
  15. package/dist/ladder/responses.d.ts +420 -69
  16. package/dist/notification/entities.d.ts +53 -6
  17. package/dist/notification/responses.d.ts +24 -2
  18. package/dist/order/entities.d.ts +3 -3
  19. package/dist/position/entities.d.ts +5 -5
  20. package/dist/position/responses.d.ts +4 -4
  21. package/dist/realtime/frames.d.ts +38 -6
  22. package/dist/realtime/public-events.d.ts +19 -3
  23. package/dist/rewards/entities.d.ts +18 -0
  24. package/dist/rewards/index.d.ts +1 -0
  25. package/dist/rewards/queries.d.ts +7 -0
  26. package/dist/rewards/responses.d.ts +54 -0
  27. package/dist/schedule/entities.d.ts +155 -19
  28. package/dist/schedule/index.d.ts +1 -0
  29. package/dist/schedule/queries.d.ts +3 -2
  30. package/dist/schedule/responses.d.ts +142 -19
  31. package/dist/sync/payloads.d.ts +56 -88
  32. package/dist/tca/responses.d.ts +12 -12
  33. package/dist/trade/payloads.d.ts +60 -24
  34. package/dist/trade/responses.d.ts +60 -60
  35. package/dist/traders/performance.d.ts +4 -0
  36. package/dist/traders/public.d.ts +537 -285
  37. package/dist/trigger/common/index.d.ts +8 -2
  38. package/dist/trigger/entities/conditions.d.ts +40 -0
  39. package/dist/trigger/entities/index.d.ts +339 -32
  40. package/dist/trigger/payloads/conditions.d.ts +70 -38
  41. package/dist/trigger/payloads/index.d.ts +408 -216
  42. package/dist/trigger/queries.d.ts +2 -2
  43. package/dist/trigger/responses.d.ts +218 -20
  44. package/package.json +1 -1
@@ -11,11 +11,11 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
11
11
  lighter_rhc: "lighter_rhc";
12
12
  }>;
13
13
  status: z.ZodEnum<{
14
- FAILED: "FAILED";
15
14
  ACTIVE: "ACTIVE";
15
+ COMPLETED: "COMPLETED";
16
+ FAILED: "FAILED";
16
17
  CANCELLED: "CANCELLED";
17
18
  IDLE: "IDLE";
18
- COMPLETED: "COMPLETED";
19
19
  }>;
20
20
  error: z.ZodOptional<z.ZodString>;
21
21
  createdAt: z.ZodString;
@@ -31,10 +31,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
31
31
  lighter_rhc: "lighter_rhc";
32
32
  }>;
33
33
  status: z.ZodEnum<{
34
+ CANCELLED: "CANCELLED";
34
35
  PENDING: "PENDING";
35
36
  PARTIAL: "PARTIAL";
36
37
  FILLED: "FILLED";
37
- CANCELLED: "CANCELLED";
38
38
  REJECTED: "REJECTED";
39
39
  }>;
40
40
  error: z.ZodOptional<z.ZodString>;
@@ -104,11 +104,11 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
104
104
  lighter_rhc: "lighter_rhc";
105
105
  }>;
106
106
  status: z.ZodEnum<{
107
- FAILED: "FAILED";
108
107
  ACTIVE: "ACTIVE";
108
+ COMPLETED: "COMPLETED";
109
+ FAILED: "FAILED";
109
110
  CANCELLED: "CANCELLED";
110
111
  IDLE: "IDLE";
111
- COMPLETED: "COMPLETED";
112
112
  }>;
113
113
  error: z.ZodOptional<z.ZodString>;
114
114
  createdAt: z.ZodString;
@@ -124,10 +124,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
124
124
  lighter_rhc: "lighter_rhc";
125
125
  }>;
126
126
  status: z.ZodEnum<{
127
+ CANCELLED: "CANCELLED";
127
128
  PENDING: "PENDING";
128
129
  PARTIAL: "PARTIAL";
129
130
  FILLED: "FILLED";
130
- CANCELLED: "CANCELLED";
131
131
  REJECTED: "REJECTED";
132
132
  }>;
133
133
  error: z.ZodOptional<z.ZodString>;
@@ -198,11 +198,11 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
198
198
  lighter_rhc: "lighter_rhc";
199
199
  }>;
200
200
  status: z.ZodEnum<{
201
- FAILED: "FAILED";
202
201
  ACTIVE: "ACTIVE";
202
+ COMPLETED: "COMPLETED";
203
+ FAILED: "FAILED";
203
204
  CANCELLED: "CANCELLED";
204
205
  IDLE: "IDLE";
205
- COMPLETED: "COMPLETED";
206
206
  }>;
207
207
  error: z.ZodOptional<z.ZodString>;
208
208
  createdAt: z.ZodString;
@@ -218,10 +218,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
218
218
  lighter_rhc: "lighter_rhc";
219
219
  }>;
220
220
  status: z.ZodEnum<{
221
+ CANCELLED: "CANCELLED";
221
222
  PENDING: "PENDING";
222
223
  PARTIAL: "PARTIAL";
223
224
  FILLED: "FILLED";
224
- CANCELLED: "CANCELLED";
225
225
  REJECTED: "REJECTED";
226
226
  }>;
227
227
  error: z.ZodOptional<z.ZodString>;
@@ -263,11 +263,11 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
263
263
  lighter_rhc: "lighter_rhc";
264
264
  }>;
265
265
  status: z.ZodEnum<{
266
- FAILED: "FAILED";
267
266
  ACTIVE: "ACTIVE";
267
+ COMPLETED: "COMPLETED";
268
+ FAILED: "FAILED";
268
269
  CANCELLED: "CANCELLED";
269
270
  IDLE: "IDLE";
270
- COMPLETED: "COMPLETED";
271
271
  }>;
272
272
  error: z.ZodOptional<z.ZodString>;
273
273
  createdAt: z.ZodString;
@@ -283,10 +283,10 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
283
283
  lighter_rhc: "lighter_rhc";
284
284
  }>;
285
285
  status: z.ZodEnum<{
286
+ CANCELLED: "CANCELLED";
286
287
  PENDING: "PENDING";
287
288
  PARTIAL: "PARTIAL";
288
289
  FILLED: "FILLED";
289
- CANCELLED: "CANCELLED";
290
290
  REJECTED: "REJECTED";
291
291
  }>;
292
292
  error: z.ZodOptional<z.ZodString>;
@@ -332,11 +332,11 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
332
332
  lighter_rhc: "lighter_rhc";
333
333
  }>;
334
334
  status: z.ZodEnum<{
335
- FAILED: "FAILED";
336
335
  ACTIVE: "ACTIVE";
336
+ COMPLETED: "COMPLETED";
337
+ FAILED: "FAILED";
337
338
  CANCELLED: "CANCELLED";
338
339
  IDLE: "IDLE";
339
- COMPLETED: "COMPLETED";
340
340
  }>;
341
341
  error: z.ZodOptional<z.ZodString>;
342
342
  createdAt: z.ZodString;
@@ -352,10 +352,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
352
352
  lighter_rhc: "lighter_rhc";
353
353
  }>;
354
354
  status: z.ZodEnum<{
355
+ CANCELLED: "CANCELLED";
355
356
  PENDING: "PENDING";
356
357
  PARTIAL: "PARTIAL";
357
358
  FILLED: "FILLED";
358
- CANCELLED: "CANCELLED";
359
359
  REJECTED: "REJECTED";
360
360
  }>;
361
361
  error: z.ZodOptional<z.ZodString>;
@@ -425,11 +425,11 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
425
425
  lighter_rhc: "lighter_rhc";
426
426
  }>;
427
427
  status: z.ZodEnum<{
428
- FAILED: "FAILED";
429
428
  ACTIVE: "ACTIVE";
429
+ COMPLETED: "COMPLETED";
430
+ FAILED: "FAILED";
430
431
  CANCELLED: "CANCELLED";
431
432
  IDLE: "IDLE";
432
- COMPLETED: "COMPLETED";
433
433
  }>;
434
434
  error: z.ZodOptional<z.ZodString>;
435
435
  createdAt: z.ZodString;
@@ -445,10 +445,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
445
445
  lighter_rhc: "lighter_rhc";
446
446
  }>;
447
447
  status: z.ZodEnum<{
448
+ CANCELLED: "CANCELLED";
448
449
  PENDING: "PENDING";
449
450
  PARTIAL: "PARTIAL";
450
451
  FILLED: "FILLED";
451
- CANCELLED: "CANCELLED";
452
452
  REJECTED: "REJECTED";
453
453
  }>;
454
454
  error: z.ZodOptional<z.ZodString>;
@@ -519,11 +519,11 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
519
519
  lighter_rhc: "lighter_rhc";
520
520
  }>;
521
521
  status: z.ZodEnum<{
522
- FAILED: "FAILED";
523
522
  ACTIVE: "ACTIVE";
523
+ COMPLETED: "COMPLETED";
524
+ FAILED: "FAILED";
524
525
  CANCELLED: "CANCELLED";
525
526
  IDLE: "IDLE";
526
- COMPLETED: "COMPLETED";
527
527
  }>;
528
528
  error: z.ZodOptional<z.ZodString>;
529
529
  createdAt: z.ZodString;
@@ -539,10 +539,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
539
539
  lighter_rhc: "lighter_rhc";
540
540
  }>;
541
541
  status: z.ZodEnum<{
542
+ CANCELLED: "CANCELLED";
542
543
  PENDING: "PENDING";
543
544
  PARTIAL: "PARTIAL";
544
545
  FILLED: "FILLED";
545
- CANCELLED: "CANCELLED";
546
546
  REJECTED: "REJECTED";
547
547
  }>;
548
548
  error: z.ZodOptional<z.ZodString>;
@@ -584,11 +584,11 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
584
584
  lighter_rhc: "lighter_rhc";
585
585
  }>;
586
586
  status: z.ZodEnum<{
587
- FAILED: "FAILED";
588
587
  ACTIVE: "ACTIVE";
588
+ COMPLETED: "COMPLETED";
589
+ FAILED: "FAILED";
589
590
  CANCELLED: "CANCELLED";
590
591
  IDLE: "IDLE";
591
- COMPLETED: "COMPLETED";
592
592
  }>;
593
593
  error: z.ZodOptional<z.ZodString>;
594
594
  createdAt: z.ZodString;
@@ -604,10 +604,10 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
604
604
  lighter_rhc: "lighter_rhc";
605
605
  }>;
606
606
  status: z.ZodEnum<{
607
+ CANCELLED: "CANCELLED";
607
608
  PENDING: "PENDING";
608
609
  PARTIAL: "PARTIAL";
609
610
  FILLED: "FILLED";
610
- CANCELLED: "CANCELLED";
611
611
  REJECTED: "REJECTED";
612
612
  }>;
613
613
  error: z.ZodOptional<z.ZodString>;
@@ -653,11 +653,11 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
653
653
  lighter_rhc: "lighter_rhc";
654
654
  }>;
655
655
  status: z.ZodEnum<{
656
- FAILED: "FAILED";
657
656
  ACTIVE: "ACTIVE";
657
+ COMPLETED: "COMPLETED";
658
+ FAILED: "FAILED";
658
659
  CANCELLED: "CANCELLED";
659
660
  IDLE: "IDLE";
660
- COMPLETED: "COMPLETED";
661
661
  }>;
662
662
  error: z.ZodOptional<z.ZodString>;
663
663
  createdAt: z.ZodString;
@@ -673,10 +673,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
673
673
  lighter_rhc: "lighter_rhc";
674
674
  }>;
675
675
  status: z.ZodEnum<{
676
+ CANCELLED: "CANCELLED";
676
677
  PENDING: "PENDING";
677
678
  PARTIAL: "PARTIAL";
678
679
  FILLED: "FILLED";
679
- CANCELLED: "CANCELLED";
680
680
  REJECTED: "REJECTED";
681
681
  }>;
682
682
  error: z.ZodOptional<z.ZodString>;
@@ -746,11 +746,11 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
746
746
  lighter_rhc: "lighter_rhc";
747
747
  }>;
748
748
  status: z.ZodEnum<{
749
- FAILED: "FAILED";
750
749
  ACTIVE: "ACTIVE";
750
+ COMPLETED: "COMPLETED";
751
+ FAILED: "FAILED";
751
752
  CANCELLED: "CANCELLED";
752
753
  IDLE: "IDLE";
753
- COMPLETED: "COMPLETED";
754
754
  }>;
755
755
  error: z.ZodOptional<z.ZodString>;
756
756
  createdAt: z.ZodString;
@@ -766,10 +766,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
766
766
  lighter_rhc: "lighter_rhc";
767
767
  }>;
768
768
  status: z.ZodEnum<{
769
+ CANCELLED: "CANCELLED";
769
770
  PENDING: "PENDING";
770
771
  PARTIAL: "PARTIAL";
771
772
  FILLED: "FILLED";
772
- CANCELLED: "CANCELLED";
773
773
  REJECTED: "REJECTED";
774
774
  }>;
775
775
  error: z.ZodOptional<z.ZodString>;
@@ -840,11 +840,11 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
840
840
  lighter_rhc: "lighter_rhc";
841
841
  }>;
842
842
  status: z.ZodEnum<{
843
- FAILED: "FAILED";
844
843
  ACTIVE: "ACTIVE";
844
+ COMPLETED: "COMPLETED";
845
+ FAILED: "FAILED";
845
846
  CANCELLED: "CANCELLED";
846
847
  IDLE: "IDLE";
847
- COMPLETED: "COMPLETED";
848
848
  }>;
849
849
  error: z.ZodOptional<z.ZodString>;
850
850
  createdAt: z.ZodString;
@@ -860,10 +860,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
860
860
  lighter_rhc: "lighter_rhc";
861
861
  }>;
862
862
  status: z.ZodEnum<{
863
+ CANCELLED: "CANCELLED";
863
864
  PENDING: "PENDING";
864
865
  PARTIAL: "PARTIAL";
865
866
  FILLED: "FILLED";
866
- CANCELLED: "CANCELLED";
867
867
  REJECTED: "REJECTED";
868
868
  }>;
869
869
  error: z.ZodOptional<z.ZodString>;
@@ -905,11 +905,11 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
905
905
  lighter_rhc: "lighter_rhc";
906
906
  }>;
907
907
  status: z.ZodEnum<{
908
- FAILED: "FAILED";
909
908
  ACTIVE: "ACTIVE";
909
+ COMPLETED: "COMPLETED";
910
+ FAILED: "FAILED";
910
911
  CANCELLED: "CANCELLED";
911
912
  IDLE: "IDLE";
912
- COMPLETED: "COMPLETED";
913
913
  }>;
914
914
  error: z.ZodOptional<z.ZodString>;
915
915
  createdAt: z.ZodString;
@@ -925,10 +925,10 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
925
925
  lighter_rhc: "lighter_rhc";
926
926
  }>;
927
927
  status: z.ZodEnum<{
928
+ CANCELLED: "CANCELLED";
928
929
  PENDING: "PENDING";
929
930
  PARTIAL: "PARTIAL";
930
931
  FILLED: "FILLED";
931
- CANCELLED: "CANCELLED";
932
932
  REJECTED: "REJECTED";
933
933
  }>;
934
934
  error: z.ZodOptional<z.ZodString>;
@@ -974,11 +974,11 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
974
974
  lighter_rhc: "lighter_rhc";
975
975
  }>;
976
976
  status: z.ZodEnum<{
977
- FAILED: "FAILED";
978
977
  ACTIVE: "ACTIVE";
978
+ COMPLETED: "COMPLETED";
979
+ FAILED: "FAILED";
979
980
  CANCELLED: "CANCELLED";
980
981
  IDLE: "IDLE";
981
- COMPLETED: "COMPLETED";
982
982
  }>;
983
983
  error: z.ZodOptional<z.ZodString>;
984
984
  createdAt: z.ZodString;
@@ -994,10 +994,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
994
994
  lighter_rhc: "lighter_rhc";
995
995
  }>;
996
996
  status: z.ZodEnum<{
997
+ CANCELLED: "CANCELLED";
997
998
  PENDING: "PENDING";
998
999
  PARTIAL: "PARTIAL";
999
1000
  FILLED: "FILLED";
1000
- CANCELLED: "CANCELLED";
1001
1001
  REJECTED: "REJECTED";
1002
1002
  }>;
1003
1003
  error: z.ZodOptional<z.ZodString>;
@@ -1067,11 +1067,11 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1067
1067
  lighter_rhc: "lighter_rhc";
1068
1068
  }>;
1069
1069
  status: z.ZodEnum<{
1070
- FAILED: "FAILED";
1071
1070
  ACTIVE: "ACTIVE";
1071
+ COMPLETED: "COMPLETED";
1072
+ FAILED: "FAILED";
1072
1073
  CANCELLED: "CANCELLED";
1073
1074
  IDLE: "IDLE";
1074
- COMPLETED: "COMPLETED";
1075
1075
  }>;
1076
1076
  error: z.ZodOptional<z.ZodString>;
1077
1077
  createdAt: z.ZodString;
@@ -1087,10 +1087,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1087
1087
  lighter_rhc: "lighter_rhc";
1088
1088
  }>;
1089
1089
  status: z.ZodEnum<{
1090
+ CANCELLED: "CANCELLED";
1090
1091
  PENDING: "PENDING";
1091
1092
  PARTIAL: "PARTIAL";
1092
1093
  FILLED: "FILLED";
1093
- CANCELLED: "CANCELLED";
1094
1094
  REJECTED: "REJECTED";
1095
1095
  }>;
1096
1096
  error: z.ZodOptional<z.ZodString>;
@@ -1161,11 +1161,11 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1161
1161
  lighter_rhc: "lighter_rhc";
1162
1162
  }>;
1163
1163
  status: z.ZodEnum<{
1164
- FAILED: "FAILED";
1165
1164
  ACTIVE: "ACTIVE";
1165
+ COMPLETED: "COMPLETED";
1166
+ FAILED: "FAILED";
1166
1167
  CANCELLED: "CANCELLED";
1167
1168
  IDLE: "IDLE";
1168
- COMPLETED: "COMPLETED";
1169
1169
  }>;
1170
1170
  error: z.ZodOptional<z.ZodString>;
1171
1171
  createdAt: z.ZodString;
@@ -1181,10 +1181,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1181
1181
  lighter_rhc: "lighter_rhc";
1182
1182
  }>;
1183
1183
  status: z.ZodEnum<{
1184
+ CANCELLED: "CANCELLED";
1184
1185
  PENDING: "PENDING";
1185
1186
  PARTIAL: "PARTIAL";
1186
1187
  FILLED: "FILLED";
1187
- CANCELLED: "CANCELLED";
1188
1188
  REJECTED: "REJECTED";
1189
1189
  }>;
1190
1190
  error: z.ZodOptional<z.ZodString>;
@@ -1226,11 +1226,11 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1226
1226
  lighter_rhc: "lighter_rhc";
1227
1227
  }>;
1228
1228
  status: z.ZodEnum<{
1229
- FAILED: "FAILED";
1230
1229
  ACTIVE: "ACTIVE";
1230
+ COMPLETED: "COMPLETED";
1231
+ FAILED: "FAILED";
1231
1232
  CANCELLED: "CANCELLED";
1232
1233
  IDLE: "IDLE";
1233
- COMPLETED: "COMPLETED";
1234
1234
  }>;
1235
1235
  error: z.ZodOptional<z.ZodString>;
1236
1236
  createdAt: z.ZodString;
@@ -1246,10 +1246,10 @@ export declare const CreateTradeReverseResponse: z.ZodObject<{
1246
1246
  lighter_rhc: "lighter_rhc";
1247
1247
  }>;
1248
1248
  status: z.ZodEnum<{
1249
+ CANCELLED: "CANCELLED";
1249
1250
  PENDING: "PENDING";
1250
1251
  PARTIAL: "PARTIAL";
1251
1252
  FILLED: "FILLED";
1252
- CANCELLED: "CANCELLED";
1253
1253
  REJECTED: "REJECTED";
1254
1254
  }>;
1255
1255
  error: z.ZodOptional<z.ZodString>;
@@ -1295,11 +1295,11 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1295
1295
  lighter_rhc: "lighter_rhc";
1296
1296
  }>;
1297
1297
  status: z.ZodEnum<{
1298
- FAILED: "FAILED";
1299
1298
  ACTIVE: "ACTIVE";
1299
+ COMPLETED: "COMPLETED";
1300
+ FAILED: "FAILED";
1300
1301
  CANCELLED: "CANCELLED";
1301
1302
  IDLE: "IDLE";
1302
- COMPLETED: "COMPLETED";
1303
1303
  }>;
1304
1304
  error: z.ZodOptional<z.ZodString>;
1305
1305
  createdAt: z.ZodString;
@@ -1315,10 +1315,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1315
1315
  lighter_rhc: "lighter_rhc";
1316
1316
  }>;
1317
1317
  status: z.ZodEnum<{
1318
+ CANCELLED: "CANCELLED";
1318
1319
  PENDING: "PENDING";
1319
1320
  PARTIAL: "PARTIAL";
1320
1321
  FILLED: "FILLED";
1321
- CANCELLED: "CANCELLED";
1322
1322
  REJECTED: "REJECTED";
1323
1323
  }>;
1324
1324
  error: z.ZodOptional<z.ZodString>;
@@ -1388,11 +1388,11 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1388
1388
  lighter_rhc: "lighter_rhc";
1389
1389
  }>;
1390
1390
  status: z.ZodEnum<{
1391
- FAILED: "FAILED";
1392
1391
  ACTIVE: "ACTIVE";
1392
+ COMPLETED: "COMPLETED";
1393
+ FAILED: "FAILED";
1393
1394
  CANCELLED: "CANCELLED";
1394
1395
  IDLE: "IDLE";
1395
- COMPLETED: "COMPLETED";
1396
1396
  }>;
1397
1397
  error: z.ZodOptional<z.ZodString>;
1398
1398
  createdAt: z.ZodString;
@@ -1408,10 +1408,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1408
1408
  lighter_rhc: "lighter_rhc";
1409
1409
  }>;
1410
1410
  status: z.ZodEnum<{
1411
+ CANCELLED: "CANCELLED";
1411
1412
  PENDING: "PENDING";
1412
1413
  PARTIAL: "PARTIAL";
1413
1414
  FILLED: "FILLED";
1414
- CANCELLED: "CANCELLED";
1415
1415
  REJECTED: "REJECTED";
1416
1416
  }>;
1417
1417
  error: z.ZodOptional<z.ZodString>;
@@ -1482,11 +1482,11 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1482
1482
  lighter_rhc: "lighter_rhc";
1483
1483
  }>;
1484
1484
  status: z.ZodEnum<{
1485
- FAILED: "FAILED";
1486
1485
  ACTIVE: "ACTIVE";
1486
+ COMPLETED: "COMPLETED";
1487
+ FAILED: "FAILED";
1487
1488
  CANCELLED: "CANCELLED";
1488
1489
  IDLE: "IDLE";
1489
- COMPLETED: "COMPLETED";
1490
1490
  }>;
1491
1491
  error: z.ZodOptional<z.ZodString>;
1492
1492
  createdAt: z.ZodString;
@@ -1502,10 +1502,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1502
1502
  lighter_rhc: "lighter_rhc";
1503
1503
  }>;
1504
1504
  status: z.ZodEnum<{
1505
+ CANCELLED: "CANCELLED";
1505
1506
  PENDING: "PENDING";
1506
1507
  PARTIAL: "PARTIAL";
1507
1508
  FILLED: "FILLED";
1508
- CANCELLED: "CANCELLED";
1509
1509
  REJECTED: "REJECTED";
1510
1510
  }>;
1511
1511
  error: z.ZodOptional<z.ZodString>;
@@ -1547,11 +1547,11 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1547
1547
  lighter_rhc: "lighter_rhc";
1548
1548
  }>;
1549
1549
  status: z.ZodEnum<{
1550
- FAILED: "FAILED";
1551
1550
  ACTIVE: "ACTIVE";
1551
+ COMPLETED: "COMPLETED";
1552
+ FAILED: "FAILED";
1552
1553
  CANCELLED: "CANCELLED";
1553
1554
  IDLE: "IDLE";
1554
- COMPLETED: "COMPLETED";
1555
1555
  }>;
1556
1556
  error: z.ZodOptional<z.ZodString>;
1557
1557
  createdAt: z.ZodString;
@@ -1567,10 +1567,10 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
1567
1567
  lighter_rhc: "lighter_rhc";
1568
1568
  }>;
1569
1569
  status: z.ZodEnum<{
1570
+ CANCELLED: "CANCELLED";
1570
1571
  PENDING: "PENDING";
1571
1572
  PARTIAL: "PARTIAL";
1572
1573
  FILLED: "FILLED";
1573
- CANCELLED: "CANCELLED";
1574
1574
  REJECTED: "REJECTED";
1575
1575
  }>;
1576
1576
  error: z.ZodOptional<z.ZodString>;
@@ -2,6 +2,8 @@
2
2
  import { z } from 'zod';
3
3
  export declare const TraderPerformanceQuery: z.ZodObject<{
4
4
  range: z.ZodDefault<z.ZodEnum<{
5
+ all: "all";
6
+ "1y": "1y";
5
7
  "24h": "24h";
6
8
  "7d": "7d";
7
9
  "30d": "30d";
@@ -14,6 +16,7 @@ export declare const TraderPerformancePoint: z.ZodObject<{
14
16
  equityUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
15
17
  pnlUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
16
18
  roiPercent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
19
+ hasGap: z.ZodBoolean;
17
20
  }, z.core.$strip>;
18
21
  export type TraderPerformancePoint = z.output<typeof TraderPerformancePoint>;
19
22
  export declare const TraderPerformanceResponse: z.ZodObject<{
@@ -22,6 +25,7 @@ export declare const TraderPerformanceResponse: z.ZodObject<{
22
25
  equityUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
23
26
  pnlUsd: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
24
27
  roiPercent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>>;
28
+ hasGap: z.ZodBoolean;
25
29
  }, z.core.$strip>>;
26
30
  }, z.core.$strip>;
27
31
  export type TraderPerformanceResponse = z.output<typeof TraderPerformanceResponse>;