@pear-protocol/types 2.10.0 → 2.12.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/auth/payloads.d.ts +3 -3
- package/dist/auth/payloads.js +1 -1
- package/dist/baskets/saved/entities.js +1 -1
- package/dist/bundle.d.ts +2 -0
- package/dist/bundle.js +2 -0
- package/dist/common/refinement.d.ts +3 -3
- package/dist/common/trade-legs.js +1 -1
- package/dist/copy/entities.d.ts +186 -0
- package/dist/copy/entities.js +113 -0
- package/dist/copy/index.d.ts +4 -0
- package/dist/copy/index.js +4 -0
- package/dist/copy/payloads.d.ts +14 -0
- package/dist/copy/payloads.js +8 -0
- package/dist/copy/queries.d.ts +13 -0
- package/dist/copy/queries.js +16 -0
- package/dist/copy/responses.d.ts +332 -0
- package/dist/copy/responses.js +91 -0
- package/dist/execution/entities.d.ts +71 -71
- package/dist/execution/entities.js +1 -1
- package/dist/execution/queries.d.ts +2 -2
- package/dist/execution/responses.d.ts +40 -40
- package/dist/ladder/entities.d.ts +22 -17
- package/dist/ladder/queries.d.ts +5 -0
- package/dist/ladder/queries.js +6 -2
- package/dist/ladder/responses.d.ts +63 -48
- package/dist/misc/payloads.d.ts +26 -0
- package/dist/misc/payloads.js +27 -1
- package/dist/misc/responses.d.ts +8 -0
- package/dist/misc/responses.js +7 -1
- package/dist/notification/entities.d.ts +120 -0
- package/dist/notification/entities.js +59 -3
- package/dist/notification/responses.d.ts +60 -0
- package/dist/order/entities.d.ts +3 -3
- package/dist/position/entities.d.ts +1 -1
- package/dist/position/responses.d.ts +3 -1
- package/dist/position/responses.js +2 -0
- package/dist/schedule/entities.d.ts +18 -12
- package/dist/schedule/entities.js +2 -1
- package/dist/schedule/queries.d.ts +2 -2
- package/dist/schedule/responses.d.ts +12 -8
- package/dist/schedule/twap-config.js +1 -1
- package/dist/statistics/entities.d.ts +10 -0
- package/dist/statistics/entities.js +4 -0
- package/dist/statistics/responses.d.ts +10 -0
- package/dist/sync/payloads.d.ts +12 -0
- package/dist/sync/payloads.js +31 -3
- package/dist/tca/responses.d.ts +12 -12
- package/dist/trade/responses.d.ts +100 -100
- package/dist/trade-accounts/entities.d.ts +136 -12
- package/dist/trade-accounts/entities.js +41 -9
- package/dist/trade-accounts/payloads.d.ts +12 -0
- package/dist/trade-accounts/payloads.js +7 -1
- package/dist/trade-accounts/response.d.ts +963 -223
- package/dist/traders/index.d.ts +1 -0
- package/dist/traders/index.js +1 -0
- package/dist/traders/public.d.ts +4967 -0
- package/dist/traders/public.js +128 -0
- package/dist/trigger/common/index.d.ts +3 -2
- package/dist/trigger/common/index.js +1 -0
- package/dist/trigger/entities/index.d.ts +64 -48
- package/dist/trigger/entities/index.js +3 -3
- package/dist/trigger/queries.d.ts +2 -2
- package/dist/trigger/responses.d.ts +40 -30
- package/dist/vaults/entities.d.ts +1 -1
- package/dist/vaults/responses.d.ts +62 -2
- package/dist/vaults/responses.js +17 -1
- package/package.json +2 -2
|
@@ -18,8 +18,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
18
18
|
weighting: z.ZodDefault<z.ZodLiteral<"EQUAL">>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
status: z.ZodEnum<{
|
|
21
|
-
CANCELLED: "CANCELLED";
|
|
22
21
|
ACTIVE: "ACTIVE";
|
|
22
|
+
CANCELLED: "CANCELLED";
|
|
23
23
|
COMPLETED: "COMPLETED";
|
|
24
24
|
}>;
|
|
25
25
|
attachTriggers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -106,8 +106,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
106
106
|
lighter_rhc: "lighter_rhc";
|
|
107
107
|
}>;
|
|
108
108
|
status: z.ZodEnum<{
|
|
109
|
-
CANCELLED: "CANCELLED";
|
|
110
109
|
ACTIVE: "ACTIVE";
|
|
110
|
+
CANCELLED: "CANCELLED";
|
|
111
111
|
TRIGGERED: "TRIGGERED";
|
|
112
112
|
}>;
|
|
113
113
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -120,6 +120,7 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
120
120
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
121
121
|
SYSTEM: "SYSTEM";
|
|
122
122
|
POSITION_NETTED: "POSITION_NETTED";
|
|
123
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
123
124
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
124
125
|
}>>;
|
|
125
126
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -165,11 +166,11 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
165
166
|
STOP_LOSS: "STOP_LOSS";
|
|
166
167
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
167
168
|
}>;
|
|
168
|
-
semanticBracketType: z.
|
|
169
|
+
semanticBracketType: z.ZodEnum<{
|
|
169
170
|
NONE: "NONE";
|
|
170
171
|
STOP_LOSS: "STOP_LOSS";
|
|
171
172
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
172
|
-
}
|
|
173
|
+
}>;
|
|
173
174
|
createdAt: z.ZodString;
|
|
174
175
|
updatedAt: z.ZodString;
|
|
175
176
|
intent: z.ZodLiteral<"OPEN">;
|
|
@@ -317,8 +318,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
317
318
|
lighter_rhc: "lighter_rhc";
|
|
318
319
|
}>;
|
|
319
320
|
status: z.ZodEnum<{
|
|
320
|
-
CANCELLED: "CANCELLED";
|
|
321
321
|
ACTIVE: "ACTIVE";
|
|
322
|
+
CANCELLED: "CANCELLED";
|
|
322
323
|
TRIGGERED: "TRIGGERED";
|
|
323
324
|
}>;
|
|
324
325
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -331,6 +332,7 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
331
332
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
332
333
|
SYSTEM: "SYSTEM";
|
|
333
334
|
POSITION_NETTED: "POSITION_NETTED";
|
|
335
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
334
336
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
335
337
|
}>>;
|
|
336
338
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -376,11 +378,11 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
376
378
|
STOP_LOSS: "STOP_LOSS";
|
|
377
379
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
378
380
|
}>;
|
|
379
|
-
semanticBracketType: z.
|
|
381
|
+
semanticBracketType: z.ZodEnum<{
|
|
380
382
|
NONE: "NONE";
|
|
381
383
|
STOP_LOSS: "STOP_LOSS";
|
|
382
384
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
383
|
-
}
|
|
385
|
+
}>;
|
|
384
386
|
createdAt: z.ZodString;
|
|
385
387
|
updatedAt: z.ZodString;
|
|
386
388
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -574,8 +576,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
574
576
|
lighter_rhc: "lighter_rhc";
|
|
575
577
|
}>;
|
|
576
578
|
status: z.ZodEnum<{
|
|
577
|
-
CANCELLED: "CANCELLED";
|
|
578
579
|
ACTIVE: "ACTIVE";
|
|
580
|
+
CANCELLED: "CANCELLED";
|
|
579
581
|
TRIGGERED: "TRIGGERED";
|
|
580
582
|
}>;
|
|
581
583
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -588,6 +590,7 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
588
590
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
589
591
|
SYSTEM: "SYSTEM";
|
|
590
592
|
POSITION_NETTED: "POSITION_NETTED";
|
|
593
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
591
594
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
592
595
|
}>>;
|
|
593
596
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -633,11 +636,11 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
633
636
|
STOP_LOSS: "STOP_LOSS";
|
|
634
637
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
635
638
|
}>;
|
|
636
|
-
semanticBracketType: z.
|
|
639
|
+
semanticBracketType: z.ZodEnum<{
|
|
637
640
|
NONE: "NONE";
|
|
638
641
|
STOP_LOSS: "STOP_LOSS";
|
|
639
642
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
640
|
-
}
|
|
643
|
+
}>;
|
|
641
644
|
createdAt: z.ZodString;
|
|
642
645
|
updatedAt: z.ZodString;
|
|
643
646
|
intent: z.ZodLiteral<"CLOSE">;
|
|
@@ -863,8 +866,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
863
866
|
lighter_rhc: "lighter_rhc";
|
|
864
867
|
}>;
|
|
865
868
|
status: z.ZodEnum<{
|
|
866
|
-
CANCELLED: "CANCELLED";
|
|
867
869
|
ACTIVE: "ACTIVE";
|
|
870
|
+
CANCELLED: "CANCELLED";
|
|
868
871
|
TRIGGERED: "TRIGGERED";
|
|
869
872
|
}>;
|
|
870
873
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -877,6 +880,7 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
877
880
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
878
881
|
SYSTEM: "SYSTEM";
|
|
879
882
|
POSITION_NETTED: "POSITION_NETTED";
|
|
883
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
880
884
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
881
885
|
}>>;
|
|
882
886
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -922,11 +926,11 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
922
926
|
STOP_LOSS: "STOP_LOSS";
|
|
923
927
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
924
928
|
}>;
|
|
925
|
-
semanticBracketType: z.
|
|
929
|
+
semanticBracketType: z.ZodEnum<{
|
|
926
930
|
NONE: "NONE";
|
|
927
931
|
STOP_LOSS: "STOP_LOSS";
|
|
928
932
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
929
|
-
}
|
|
933
|
+
}>;
|
|
930
934
|
createdAt: z.ZodString;
|
|
931
935
|
updatedAt: z.ZodString;
|
|
932
936
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -1118,8 +1122,8 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
1118
1122
|
lighter_rhc: "lighter_rhc";
|
|
1119
1123
|
}>;
|
|
1120
1124
|
status: z.ZodEnum<{
|
|
1121
|
-
CANCELLED: "CANCELLED";
|
|
1122
1125
|
ACTIVE: "ACTIVE";
|
|
1126
|
+
CANCELLED: "CANCELLED";
|
|
1123
1127
|
TRIGGERED: "TRIGGERED";
|
|
1124
1128
|
}>;
|
|
1125
1129
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -1132,6 +1136,7 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
1132
1136
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
1133
1137
|
SYSTEM: "SYSTEM";
|
|
1134
1138
|
POSITION_NETTED: "POSITION_NETTED";
|
|
1139
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
1135
1140
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
1136
1141
|
}>>;
|
|
1137
1142
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1177,11 +1182,11 @@ export declare const CreateLadderResponse: z.ZodObject<{
|
|
|
1177
1182
|
STOP_LOSS: "STOP_LOSS";
|
|
1178
1183
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1179
1184
|
}>;
|
|
1180
|
-
semanticBracketType: z.
|
|
1185
|
+
semanticBracketType: z.ZodEnum<{
|
|
1181
1186
|
NONE: "NONE";
|
|
1182
1187
|
STOP_LOSS: "STOP_LOSS";
|
|
1183
1188
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1184
|
-
}
|
|
1189
|
+
}>;
|
|
1185
1190
|
createdAt: z.ZodString;
|
|
1186
1191
|
updatedAt: z.ZodString;
|
|
1187
1192
|
intent: z.ZodLiteral<"CLOSE">;
|
|
@@ -1427,8 +1432,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1427
1432
|
weighting: z.ZodDefault<z.ZodLiteral<"EQUAL">>;
|
|
1428
1433
|
}, z.core.$strip>;
|
|
1429
1434
|
status: z.ZodEnum<{
|
|
1430
|
-
CANCELLED: "CANCELLED";
|
|
1431
1435
|
ACTIVE: "ACTIVE";
|
|
1436
|
+
CANCELLED: "CANCELLED";
|
|
1432
1437
|
COMPLETED: "COMPLETED";
|
|
1433
1438
|
}>;
|
|
1434
1439
|
attachTriggers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1515,8 +1520,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1515
1520
|
lighter_rhc: "lighter_rhc";
|
|
1516
1521
|
}>;
|
|
1517
1522
|
status: z.ZodEnum<{
|
|
1518
|
-
CANCELLED: "CANCELLED";
|
|
1519
1523
|
ACTIVE: "ACTIVE";
|
|
1524
|
+
CANCELLED: "CANCELLED";
|
|
1520
1525
|
TRIGGERED: "TRIGGERED";
|
|
1521
1526
|
}>;
|
|
1522
1527
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -1529,6 +1534,7 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1529
1534
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
1530
1535
|
SYSTEM: "SYSTEM";
|
|
1531
1536
|
POSITION_NETTED: "POSITION_NETTED";
|
|
1537
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
1532
1538
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
1533
1539
|
}>>;
|
|
1534
1540
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1574,11 +1580,11 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1574
1580
|
STOP_LOSS: "STOP_LOSS";
|
|
1575
1581
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1576
1582
|
}>;
|
|
1577
|
-
semanticBracketType: z.
|
|
1583
|
+
semanticBracketType: z.ZodEnum<{
|
|
1578
1584
|
NONE: "NONE";
|
|
1579
1585
|
STOP_LOSS: "STOP_LOSS";
|
|
1580
1586
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1581
|
-
}
|
|
1587
|
+
}>;
|
|
1582
1588
|
createdAt: z.ZodString;
|
|
1583
1589
|
updatedAt: z.ZodString;
|
|
1584
1590
|
intent: z.ZodLiteral<"OPEN">;
|
|
@@ -1726,8 +1732,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1726
1732
|
lighter_rhc: "lighter_rhc";
|
|
1727
1733
|
}>;
|
|
1728
1734
|
status: z.ZodEnum<{
|
|
1729
|
-
CANCELLED: "CANCELLED";
|
|
1730
1735
|
ACTIVE: "ACTIVE";
|
|
1736
|
+
CANCELLED: "CANCELLED";
|
|
1731
1737
|
TRIGGERED: "TRIGGERED";
|
|
1732
1738
|
}>;
|
|
1733
1739
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -1740,6 +1746,7 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1740
1746
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
1741
1747
|
SYSTEM: "SYSTEM";
|
|
1742
1748
|
POSITION_NETTED: "POSITION_NETTED";
|
|
1749
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
1743
1750
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
1744
1751
|
}>>;
|
|
1745
1752
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1785,11 +1792,11 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1785
1792
|
STOP_LOSS: "STOP_LOSS";
|
|
1786
1793
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1787
1794
|
}>;
|
|
1788
|
-
semanticBracketType: z.
|
|
1795
|
+
semanticBracketType: z.ZodEnum<{
|
|
1789
1796
|
NONE: "NONE";
|
|
1790
1797
|
STOP_LOSS: "STOP_LOSS";
|
|
1791
1798
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
1792
|
-
}
|
|
1799
|
+
}>;
|
|
1793
1800
|
createdAt: z.ZodString;
|
|
1794
1801
|
updatedAt: z.ZodString;
|
|
1795
1802
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -1983,8 +1990,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1983
1990
|
lighter_rhc: "lighter_rhc";
|
|
1984
1991
|
}>;
|
|
1985
1992
|
status: z.ZodEnum<{
|
|
1986
|
-
CANCELLED: "CANCELLED";
|
|
1987
1993
|
ACTIVE: "ACTIVE";
|
|
1994
|
+
CANCELLED: "CANCELLED";
|
|
1988
1995
|
TRIGGERED: "TRIGGERED";
|
|
1989
1996
|
}>;
|
|
1990
1997
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -1997,6 +2004,7 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
1997
2004
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
1998
2005
|
SYSTEM: "SYSTEM";
|
|
1999
2006
|
POSITION_NETTED: "POSITION_NETTED";
|
|
2007
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
2000
2008
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
2001
2009
|
}>>;
|
|
2002
2010
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2042,11 +2050,11 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2042
2050
|
STOP_LOSS: "STOP_LOSS";
|
|
2043
2051
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2044
2052
|
}>;
|
|
2045
|
-
semanticBracketType: z.
|
|
2053
|
+
semanticBracketType: z.ZodEnum<{
|
|
2046
2054
|
NONE: "NONE";
|
|
2047
2055
|
STOP_LOSS: "STOP_LOSS";
|
|
2048
2056
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2049
|
-
}
|
|
2057
|
+
}>;
|
|
2050
2058
|
createdAt: z.ZodString;
|
|
2051
2059
|
updatedAt: z.ZodString;
|
|
2052
2060
|
intent: z.ZodLiteral<"CLOSE">;
|
|
@@ -2272,8 +2280,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2272
2280
|
lighter_rhc: "lighter_rhc";
|
|
2273
2281
|
}>;
|
|
2274
2282
|
status: z.ZodEnum<{
|
|
2275
|
-
CANCELLED: "CANCELLED";
|
|
2276
2283
|
ACTIVE: "ACTIVE";
|
|
2284
|
+
CANCELLED: "CANCELLED";
|
|
2277
2285
|
TRIGGERED: "TRIGGERED";
|
|
2278
2286
|
}>;
|
|
2279
2287
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -2286,6 +2294,7 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2286
2294
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
2287
2295
|
SYSTEM: "SYSTEM";
|
|
2288
2296
|
POSITION_NETTED: "POSITION_NETTED";
|
|
2297
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
2289
2298
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
2290
2299
|
}>>;
|
|
2291
2300
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2331,11 +2340,11 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2331
2340
|
STOP_LOSS: "STOP_LOSS";
|
|
2332
2341
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2333
2342
|
}>;
|
|
2334
|
-
semanticBracketType: z.
|
|
2343
|
+
semanticBracketType: z.ZodEnum<{
|
|
2335
2344
|
NONE: "NONE";
|
|
2336
2345
|
STOP_LOSS: "STOP_LOSS";
|
|
2337
2346
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2338
|
-
}
|
|
2347
|
+
}>;
|
|
2339
2348
|
createdAt: z.ZodString;
|
|
2340
2349
|
updatedAt: z.ZodString;
|
|
2341
2350
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -2527,8 +2536,8 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2527
2536
|
lighter_rhc: "lighter_rhc";
|
|
2528
2537
|
}>;
|
|
2529
2538
|
status: z.ZodEnum<{
|
|
2530
|
-
CANCELLED: "CANCELLED";
|
|
2531
2539
|
ACTIVE: "ACTIVE";
|
|
2540
|
+
CANCELLED: "CANCELLED";
|
|
2532
2541
|
TRIGGERED: "TRIGGERED";
|
|
2533
2542
|
}>;
|
|
2534
2543
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -2541,6 +2550,7 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2541
2550
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
2542
2551
|
SYSTEM: "SYSTEM";
|
|
2543
2552
|
POSITION_NETTED: "POSITION_NETTED";
|
|
2553
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
2544
2554
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
2545
2555
|
}>>;
|
|
2546
2556
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2586,11 +2596,11 @@ export declare const LadderResponse: z.ZodObject<{
|
|
|
2586
2596
|
STOP_LOSS: "STOP_LOSS";
|
|
2587
2597
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2588
2598
|
}>;
|
|
2589
|
-
semanticBracketType: z.
|
|
2599
|
+
semanticBracketType: z.ZodEnum<{
|
|
2590
2600
|
NONE: "NONE";
|
|
2591
2601
|
STOP_LOSS: "STOP_LOSS";
|
|
2592
2602
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2593
|
-
}
|
|
2603
|
+
}>;
|
|
2594
2604
|
createdAt: z.ZodString;
|
|
2595
2605
|
updatedAt: z.ZodString;
|
|
2596
2606
|
intent: z.ZodLiteral<"CLOSE">;
|
|
@@ -2838,8 +2848,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
2838
2848
|
weighting: z.ZodDefault<z.ZodLiteral<"EQUAL">>;
|
|
2839
2849
|
}, z.core.$strip>;
|
|
2840
2850
|
status: z.ZodEnum<{
|
|
2841
|
-
CANCELLED: "CANCELLED";
|
|
2842
2851
|
ACTIVE: "ACTIVE";
|
|
2852
|
+
CANCELLED: "CANCELLED";
|
|
2843
2853
|
COMPLETED: "COMPLETED";
|
|
2844
2854
|
}>;
|
|
2845
2855
|
attachTriggers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2926,8 +2936,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
2926
2936
|
lighter_rhc: "lighter_rhc";
|
|
2927
2937
|
}>;
|
|
2928
2938
|
status: z.ZodEnum<{
|
|
2929
|
-
CANCELLED: "CANCELLED";
|
|
2930
2939
|
ACTIVE: "ACTIVE";
|
|
2940
|
+
CANCELLED: "CANCELLED";
|
|
2931
2941
|
TRIGGERED: "TRIGGERED";
|
|
2932
2942
|
}>;
|
|
2933
2943
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -2940,6 +2950,7 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
2940
2950
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
2941
2951
|
SYSTEM: "SYSTEM";
|
|
2942
2952
|
POSITION_NETTED: "POSITION_NETTED";
|
|
2953
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
2943
2954
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
2944
2955
|
}>>;
|
|
2945
2956
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2985,11 +2996,11 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
2985
2996
|
STOP_LOSS: "STOP_LOSS";
|
|
2986
2997
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2987
2998
|
}>;
|
|
2988
|
-
semanticBracketType: z.
|
|
2999
|
+
semanticBracketType: z.ZodEnum<{
|
|
2989
3000
|
NONE: "NONE";
|
|
2990
3001
|
STOP_LOSS: "STOP_LOSS";
|
|
2991
3002
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
2992
|
-
}
|
|
3003
|
+
}>;
|
|
2993
3004
|
createdAt: z.ZodString;
|
|
2994
3005
|
updatedAt: z.ZodString;
|
|
2995
3006
|
intent: z.ZodLiteral<"OPEN">;
|
|
@@ -3137,8 +3148,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3137
3148
|
lighter_rhc: "lighter_rhc";
|
|
3138
3149
|
}>;
|
|
3139
3150
|
status: z.ZodEnum<{
|
|
3140
|
-
CANCELLED: "CANCELLED";
|
|
3141
3151
|
ACTIVE: "ACTIVE";
|
|
3152
|
+
CANCELLED: "CANCELLED";
|
|
3142
3153
|
TRIGGERED: "TRIGGERED";
|
|
3143
3154
|
}>;
|
|
3144
3155
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -3151,6 +3162,7 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3151
3162
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
3152
3163
|
SYSTEM: "SYSTEM";
|
|
3153
3164
|
POSITION_NETTED: "POSITION_NETTED";
|
|
3165
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
3154
3166
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
3155
3167
|
}>>;
|
|
3156
3168
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3196,11 +3208,11 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3196
3208
|
STOP_LOSS: "STOP_LOSS";
|
|
3197
3209
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3198
3210
|
}>;
|
|
3199
|
-
semanticBracketType: z.
|
|
3211
|
+
semanticBracketType: z.ZodEnum<{
|
|
3200
3212
|
NONE: "NONE";
|
|
3201
3213
|
STOP_LOSS: "STOP_LOSS";
|
|
3202
3214
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3203
|
-
}
|
|
3215
|
+
}>;
|
|
3204
3216
|
createdAt: z.ZodString;
|
|
3205
3217
|
updatedAt: z.ZodString;
|
|
3206
3218
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -3394,8 +3406,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3394
3406
|
lighter_rhc: "lighter_rhc";
|
|
3395
3407
|
}>;
|
|
3396
3408
|
status: z.ZodEnum<{
|
|
3397
|
-
CANCELLED: "CANCELLED";
|
|
3398
3409
|
ACTIVE: "ACTIVE";
|
|
3410
|
+
CANCELLED: "CANCELLED";
|
|
3399
3411
|
TRIGGERED: "TRIGGERED";
|
|
3400
3412
|
}>;
|
|
3401
3413
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -3408,6 +3420,7 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3408
3420
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
3409
3421
|
SYSTEM: "SYSTEM";
|
|
3410
3422
|
POSITION_NETTED: "POSITION_NETTED";
|
|
3423
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
3411
3424
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
3412
3425
|
}>>;
|
|
3413
3426
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3453,11 +3466,11 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3453
3466
|
STOP_LOSS: "STOP_LOSS";
|
|
3454
3467
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3455
3468
|
}>;
|
|
3456
|
-
semanticBracketType: z.
|
|
3469
|
+
semanticBracketType: z.ZodEnum<{
|
|
3457
3470
|
NONE: "NONE";
|
|
3458
3471
|
STOP_LOSS: "STOP_LOSS";
|
|
3459
3472
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3460
|
-
}
|
|
3473
|
+
}>;
|
|
3461
3474
|
createdAt: z.ZodString;
|
|
3462
3475
|
updatedAt: z.ZodString;
|
|
3463
3476
|
intent: z.ZodLiteral<"CLOSE">;
|
|
@@ -3683,8 +3696,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3683
3696
|
lighter_rhc: "lighter_rhc";
|
|
3684
3697
|
}>;
|
|
3685
3698
|
status: z.ZodEnum<{
|
|
3686
|
-
CANCELLED: "CANCELLED";
|
|
3687
3699
|
ACTIVE: "ACTIVE";
|
|
3700
|
+
CANCELLED: "CANCELLED";
|
|
3688
3701
|
TRIGGERED: "TRIGGERED";
|
|
3689
3702
|
}>;
|
|
3690
3703
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -3697,6 +3710,7 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3697
3710
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
3698
3711
|
SYSTEM: "SYSTEM";
|
|
3699
3712
|
POSITION_NETTED: "POSITION_NETTED";
|
|
3713
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
3700
3714
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
3701
3715
|
}>>;
|
|
3702
3716
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3742,11 +3756,11 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3742
3756
|
STOP_LOSS: "STOP_LOSS";
|
|
3743
3757
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3744
3758
|
}>;
|
|
3745
|
-
semanticBracketType: z.
|
|
3759
|
+
semanticBracketType: z.ZodEnum<{
|
|
3746
3760
|
NONE: "NONE";
|
|
3747
3761
|
STOP_LOSS: "STOP_LOSS";
|
|
3748
3762
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3749
|
-
}
|
|
3763
|
+
}>;
|
|
3750
3764
|
createdAt: z.ZodString;
|
|
3751
3765
|
updatedAt: z.ZodString;
|
|
3752
3766
|
intent: z.ZodLiteral<"ADJUST">;
|
|
@@ -3938,8 +3952,8 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3938
3952
|
lighter_rhc: "lighter_rhc";
|
|
3939
3953
|
}>;
|
|
3940
3954
|
status: z.ZodEnum<{
|
|
3941
|
-
CANCELLED: "CANCELLED";
|
|
3942
3955
|
ACTIVE: "ACTIVE";
|
|
3956
|
+
CANCELLED: "CANCELLED";
|
|
3943
3957
|
TRIGGERED: "TRIGGERED";
|
|
3944
3958
|
}>;
|
|
3945
3959
|
ladderId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -3952,6 +3966,7 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3952
3966
|
POSITION_CLOSED: "POSITION_CLOSED";
|
|
3953
3967
|
SYSTEM: "SYSTEM";
|
|
3954
3968
|
POSITION_NETTED: "POSITION_NETTED";
|
|
3969
|
+
POSITION_LIQUIDATED: "POSITION_LIQUIDATED";
|
|
3955
3970
|
POSITION_REVERSED: "POSITION_REVERSED";
|
|
3956
3971
|
}>>;
|
|
3957
3972
|
fills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3997,11 +4012,11 @@ export declare const LadderListResponse: z.ZodObject<{
|
|
|
3997
4012
|
STOP_LOSS: "STOP_LOSS";
|
|
3998
4013
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
3999
4014
|
}>;
|
|
4000
|
-
semanticBracketType: z.
|
|
4015
|
+
semanticBracketType: z.ZodEnum<{
|
|
4001
4016
|
NONE: "NONE";
|
|
4002
4017
|
STOP_LOSS: "STOP_LOSS";
|
|
4003
4018
|
TAKE_PROFIT: "TAKE_PROFIT";
|
|
4004
|
-
}
|
|
4019
|
+
}>;
|
|
4005
4020
|
createdAt: z.ZodString;
|
|
4006
4021
|
updatedAt: z.ZodString;
|
|
4007
4022
|
intent: z.ZodLiteral<"CLOSE">;
|
package/dist/misc/payloads.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { EthereumAddress } from '../common/address';
|
|
2
3
|
export declare const CreateLighterApiKeyParams: z.ZodObject<{
|
|
3
4
|
accountIndex: z.ZodNumber;
|
|
4
5
|
apiKeyIndex: z.ZodNumber;
|
|
@@ -48,6 +49,31 @@ export declare const SubmitLighterFastWithdrawParams: z.ZodObject<{
|
|
|
48
49
|
l1Signature: z.ZodString;
|
|
49
50
|
}, z.core.$strip>;
|
|
50
51
|
export type SubmitLighterFastWithdrawParams = z.output<typeof SubmitLighterFastWithdrawParams>;
|
|
52
|
+
export declare const CreateLighterSubAccountParams: z.ZodObject<{
|
|
53
|
+
accountIndex: z.ZodNumber;
|
|
54
|
+
apiKeyIndex: z.ZodNumber;
|
|
55
|
+
apiPrivateKey: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export type CreateLighterSubAccountParams = z.output<typeof CreateLighterSubAccountParams>;
|
|
58
|
+
export declare const TransferLighterSubAccountParams: z.ZodObject<{
|
|
59
|
+
l1Address: z.ZodPipe<z.ZodString, z.ZodTransform<EthereumAddress, string>>;
|
|
60
|
+
fromAccountIndex: z.ZodNumber;
|
|
61
|
+
toAccountIndex: z.ZodNumber;
|
|
62
|
+
amount: z.ZodNumber;
|
|
63
|
+
apiKeyIndex: z.ZodNumber;
|
|
64
|
+
apiPrivateKey: z.ZodString;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export type TransferLighterSubAccountParamsInput = z.input<typeof TransferLighterSubAccountParams>;
|
|
67
|
+
export type TransferLighterSubAccountParams = z.output<typeof TransferLighterSubAccountParams>;
|
|
68
|
+
export declare const SetLighterSubAccountMetadataParams: z.ZodObject<{
|
|
69
|
+
mainAccountIndex: z.ZodNumber;
|
|
70
|
+
subAccountIndex: z.ZodNumber;
|
|
71
|
+
apiKeyIndex: z.ZodNumber;
|
|
72
|
+
apiPrivateKey: z.ZodString;
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
export type SetLighterSubAccountMetadataParams = z.output<typeof SetLighterSubAccountMetadataParams>;
|
|
51
77
|
/** The Lighter account tiers a user can switch between, spelled the way Lighter spells them. */
|
|
52
78
|
export declare const LighterAccountTier: z.ZodEnum<{
|
|
53
79
|
standard: "standard";
|
package/dist/misc/payloads.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { EthereumAddress } from '../common/address';
|
|
2
3
|
|
|
3
4
|
const CreateLighterApiKeyParams = z.object({
|
|
4
5
|
accountIndex: z.number(),
|
|
@@ -42,6 +43,31 @@ const SubmitLighterFastWithdrawParams = z.object({
|
|
|
42
43
|
txInfo: z.string(),
|
|
43
44
|
l1Signature: z.string()
|
|
44
45
|
});
|
|
46
|
+
const CreateLighterSubAccountParams = z.object({
|
|
47
|
+
accountIndex: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
48
|
+
apiKeyIndex: z.number().int().nonnegative().max(254),
|
|
49
|
+
apiPrivateKey: z.string()
|
|
50
|
+
});
|
|
51
|
+
const TransferLighterSubAccountParams = z.object({
|
|
52
|
+
/**
|
|
53
|
+
* L1 address that owns both accounts; the transfer is refused unless Lighter agrees.
|
|
54
|
+
* Validate the Ethereum address and normalize its representation at the request boundary.
|
|
55
|
+
*/
|
|
56
|
+
l1Address: EthereumAddress,
|
|
57
|
+
fromAccountIndex: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
58
|
+
toAccountIndex: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
59
|
+
amount: z.number().int().positive().max(Number.MAX_SAFE_INTEGER),
|
|
60
|
+
apiKeyIndex: z.number().int().nonnegative().max(254),
|
|
61
|
+
apiPrivateKey: z.string()
|
|
62
|
+
});
|
|
63
|
+
const SetLighterSubAccountMetadataParams = z.object({
|
|
64
|
+
mainAccountIndex: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
65
|
+
subAccountIndex: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
66
|
+
apiKeyIndex: z.number().int().nonnegative().max(254),
|
|
67
|
+
apiPrivateKey: z.string(),
|
|
68
|
+
name: z.string().min(1),
|
|
69
|
+
description: z.string().optional()
|
|
70
|
+
});
|
|
45
71
|
const LighterAccountTier = z.enum([
|
|
46
72
|
"standard",
|
|
47
73
|
"plus",
|
|
@@ -70,4 +96,4 @@ const ListLighterUdaDepositsParams = z.object({
|
|
|
70
96
|
walletAddress: z.string().regex(/^0x[0-9a-fA-F]{40}$/)
|
|
71
97
|
});
|
|
72
98
|
|
|
73
|
-
export { ChangeLighterAccountTierParams, CreateAuthTokenParams, CreateLighterApiKeyParams, CreateLighterUdaParams, LighterAccountTier, ListLighterUdaDepositsParams, PrepareApproveIntegratorParams, PrepareLighterFastWithdrawParams, SubmitApproveIntegratorParams, SubmitChangePubKeyParams, SubmitLighterFastWithdrawParams };
|
|
99
|
+
export { ChangeLighterAccountTierParams, CreateAuthTokenParams, CreateLighterApiKeyParams, CreateLighterSubAccountParams, CreateLighterUdaParams, LighterAccountTier, ListLighterUdaDepositsParams, PrepareApproveIntegratorParams, PrepareLighterFastWithdrawParams, SetLighterSubAccountMetadataParams, SubmitApproveIntegratorParams, SubmitChangePubKeyParams, SubmitLighterFastWithdrawParams, TransferLighterSubAccountParams };
|
package/dist/misc/responses.d.ts
CHANGED
|
@@ -35,6 +35,14 @@ export declare const SubmitLighterFastWithdrawResult: z.ZodObject<{
|
|
|
35
35
|
txHash: z.ZodString;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
export type SubmitLighterFastWithdrawResult = z.output<typeof SubmitLighterFastWithdrawResult>;
|
|
38
|
+
export declare const CreateLighterSubAccountResult: z.ZodObject<{
|
|
39
|
+
txHash: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type CreateLighterSubAccountResult = z.output<typeof CreateLighterSubAccountResult>;
|
|
42
|
+
export declare const TransferLighterSubAccountResult: z.ZodObject<{
|
|
43
|
+
txHash: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export type TransferLighterSubAccountResult = z.output<typeof TransferLighterSubAccountResult>;
|
|
38
46
|
export declare const ChangeLighterAccountTierResult: z.ZodObject<{
|
|
39
47
|
tier: z.ZodEnum<{
|
|
40
48
|
standard: "standard";
|
package/dist/misc/responses.js
CHANGED
|
@@ -32,6 +32,12 @@ const PrepareLighterFastWithdrawResult = z.object({
|
|
|
32
32
|
const SubmitLighterFastWithdrawResult = z.object({
|
|
33
33
|
txHash: z.string()
|
|
34
34
|
});
|
|
35
|
+
const CreateLighterSubAccountResult = z.object({
|
|
36
|
+
txHash: z.string()
|
|
37
|
+
});
|
|
38
|
+
const TransferLighterSubAccountResult = z.object({
|
|
39
|
+
txHash: z.string()
|
|
40
|
+
});
|
|
35
41
|
const ChangeLighterAccountTierResult = z.object({
|
|
36
42
|
// The tier Lighter accepted. Its own acknowledgement names no tier, so this echoes the request.
|
|
37
43
|
tier: LighterAccountTier
|
|
@@ -76,4 +82,4 @@ const ListLighterUdaDepositsResult = z.object({
|
|
|
76
82
|
transactions: z.array(LighterUdaTransaction)
|
|
77
83
|
});
|
|
78
84
|
|
|
79
|
-
export { ChangeLighterAccountTierResult, CreateApiKeyWithMessageResult, CreateAuthTokenResult, CreateLighterUdaResult, LighterUdaResolution, LighterUdaTransaction, ListLighterUdaDepositsResult, PrepareApproveIntegratorResult, PrepareLighterFastWithdrawResult, SubmitApproveIntegratorResult, SubmitChangePubKeyResult, SubmitLighterFastWithdrawResult };
|
|
85
|
+
export { ChangeLighterAccountTierResult, CreateApiKeyWithMessageResult, CreateAuthTokenResult, CreateLighterSubAccountResult, CreateLighterUdaResult, LighterUdaResolution, LighterUdaTransaction, ListLighterUdaDepositsResult, PrepareApproveIntegratorResult, PrepareLighterFastWithdrawResult, SubmitApproveIntegratorResult, SubmitChangePubKeyResult, SubmitLighterFastWithdrawResult, TransferLighterSubAccountResult };
|