@pear-protocol/types 2.1.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +1 -0
- package/dist/bundle.js +1 -0
- package/dist/connector/index.d.ts +2 -0
- package/dist/connector/index.js +2 -1
- package/dist/execution/entities.d.ts +26 -0
- package/dist/execution/queries.d.ts +1 -0
- package/dist/execution/responses.d.ts +16 -0
- package/dist/fee/entities.d.ts +1 -0
- package/dist/fee/queries.d.ts +1 -0
- package/dist/fill/entities.d.ts +1 -0
- package/dist/fill/queries.d.ts +1 -0
- package/dist/fill/responses.d.ts +2 -0
- package/dist/funding/queries.d.ts +1 -0
- package/dist/instrument/entities.d.ts +1 -0
- package/dist/instrument/queries.d.ts +1 -0
- package/dist/instrument/responses.d.ts +1 -0
- package/dist/ladder/entities.d.ts +16 -0
- package/dist/ladder/queries.d.ts +1 -0
- package/dist/ladder/responses.d.ts +48 -0
- package/dist/market/entities.d.ts +2 -0
- package/dist/market/payloads.d.ts +1 -0
- package/dist/market/queries.d.ts +2 -0
- package/dist/market/responses.d.ts +2 -0
- package/dist/notification/entities.d.ts +24 -0
- package/dist/notification/responses.d.ts +12 -0
- package/dist/order/entities.d.ts +2 -0
- package/dist/position/entities.d.ts +123 -0
- package/dist/position/entities.js +38 -1
- package/dist/position/queries.d.ts +29 -0
- package/dist/position/queries.js +12 -1
- package/dist/position/responses.d.ts +96 -0
- package/dist/position/responses.js +11 -2
- package/dist/price/queries.d.ts +1 -0
- package/dist/schedule/entities.d.ts +10 -0
- package/dist/schedule/queries.d.ts +1 -0
- package/dist/schedule/responses.d.ts +8 -0
- package/dist/statistics/entities.d.ts +1 -0
- package/dist/statistics/queries.d.ts +5 -1
- package/dist/statistics/responses.d.ts +1 -0
- package/dist/sync/payloads.d.ts +13 -0
- package/dist/tca/responses.d.ts +10 -0
- package/dist/trade/entities.d.ts +3 -0
- package/dist/trade/responses.d.ts +42 -0
- package/dist/trade-accounts/entities.d.ts +1 -0
- package/dist/trade-accounts/payloads.d.ts +21 -0
- package/dist/trade-accounts/payloads.js +10 -2
- package/dist/trade-accounts/response.d.ts +42 -0
- package/dist/trade-accounts/response.js +5 -1
- package/dist/trigger/entities/conditions.d.ts +4 -0
- package/dist/trigger/entities/index.d.ts +47 -0
- package/dist/trigger/payloads/conditions.d.ts +1 -0
- package/dist/trigger/payloads/index.d.ts +6 -0
- package/dist/trigger/queries.d.ts +1 -0
- package/dist/trigger/responses.d.ts +30 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export declare const TradeAccountResponse: z.ZodObject<{
|
|
|
9
9
|
bybit: "bybit";
|
|
10
10
|
okx: "okx";
|
|
11
11
|
lighter: "lighter";
|
|
12
|
+
lighter_rhc: "lighter_rhc";
|
|
12
13
|
}>;
|
|
13
14
|
kind: z.ZodEnum<{
|
|
14
15
|
vault: "vault";
|
|
@@ -38,6 +39,7 @@ export declare const TradeAccountListResponse: z.ZodObject<{
|
|
|
38
39
|
bybit: "bybit";
|
|
39
40
|
okx: "okx";
|
|
40
41
|
lighter: "lighter";
|
|
42
|
+
lighter_rhc: "lighter_rhc";
|
|
41
43
|
}>;
|
|
42
44
|
kind: z.ZodEnum<{
|
|
43
45
|
vault: "vault";
|
|
@@ -76,6 +78,7 @@ export declare const VaultTradeAccountStatus: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
76
78
|
bybit: "bybit";
|
|
77
79
|
okx: "okx";
|
|
78
80
|
lighter: "lighter";
|
|
81
|
+
lighter_rhc: "lighter_rhc";
|
|
79
82
|
}>;
|
|
80
83
|
kind: z.ZodEnum<{
|
|
81
84
|
vault: "vault";
|
|
@@ -110,6 +113,7 @@ export declare const VaultTradeAccountStatusResponse: z.ZodObject<{
|
|
|
110
113
|
bybit: "bybit";
|
|
111
114
|
okx: "okx";
|
|
112
115
|
lighter: "lighter";
|
|
116
|
+
lighter_rhc: "lighter_rhc";
|
|
113
117
|
}>;
|
|
114
118
|
kind: z.ZodEnum<{
|
|
115
119
|
vault: "vault";
|
|
@@ -141,6 +145,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
141
145
|
bybit: "bybit";
|
|
142
146
|
okx: "okx";
|
|
143
147
|
lighter: "lighter";
|
|
148
|
+
lighter_rhc: "lighter_rhc";
|
|
144
149
|
}>;
|
|
145
150
|
kind: z.ZodEnum<{
|
|
146
151
|
vault: "vault";
|
|
@@ -172,6 +177,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
172
177
|
bybit: "bybit";
|
|
173
178
|
okx: "okx";
|
|
174
179
|
lighter: "lighter";
|
|
180
|
+
lighter_rhc: "lighter_rhc";
|
|
175
181
|
}>;
|
|
176
182
|
kind: z.ZodEnum<{
|
|
177
183
|
vault: "vault";
|
|
@@ -210,6 +216,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
210
216
|
bybit: "bybit";
|
|
211
217
|
okx: "okx";
|
|
212
218
|
lighter: "lighter";
|
|
219
|
+
lighter_rhc: "lighter_rhc";
|
|
213
220
|
}>;
|
|
214
221
|
kind: z.ZodEnum<{
|
|
215
222
|
vault: "vault";
|
|
@@ -242,6 +249,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
242
249
|
bybit: "bybit";
|
|
243
250
|
okx: "okx";
|
|
244
251
|
lighter: "lighter";
|
|
252
|
+
lighter_rhc: "lighter_rhc";
|
|
245
253
|
}>;
|
|
246
254
|
kind: z.ZodEnum<{
|
|
247
255
|
vault: "vault";
|
|
@@ -275,6 +283,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
275
283
|
bybit: "bybit";
|
|
276
284
|
okx: "okx";
|
|
277
285
|
lighter: "lighter";
|
|
286
|
+
lighter_rhc: "lighter_rhc";
|
|
278
287
|
}>;
|
|
279
288
|
kind: z.ZodEnum<{
|
|
280
289
|
vault: "vault";
|
|
@@ -296,5 +305,38 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
296
305
|
api_private_key: z.ZodString;
|
|
297
306
|
api_key_index: z.ZodNumber;
|
|
298
307
|
}, z.core.$strip>;
|
|
308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
309
|
+
account: z.ZodObject<{
|
|
310
|
+
id: z.ZodUUID;
|
|
311
|
+
alias: z.ZodString;
|
|
312
|
+
connector: z.ZodEnum<{
|
|
313
|
+
hyperliquid: "hyperliquid";
|
|
314
|
+
binance: "binance";
|
|
315
|
+
bybit: "bybit";
|
|
316
|
+
okx: "okx";
|
|
317
|
+
lighter: "lighter";
|
|
318
|
+
lighter_rhc: "lighter_rhc";
|
|
319
|
+
}>;
|
|
320
|
+
kind: z.ZodEnum<{
|
|
321
|
+
vault: "vault";
|
|
322
|
+
eoa: "eoa";
|
|
323
|
+
}>;
|
|
324
|
+
exchangeIdentifier: z.ZodString;
|
|
325
|
+
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
326
|
+
agentWalletAddress: z.ZodString;
|
|
327
|
+
isSubaccount: z.ZodBoolean;
|
|
328
|
+
mainAccountAddress: z.ZodString;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
l1_address: z.ZodString;
|
|
331
|
+
}, z.core.$strip>]>>;
|
|
332
|
+
createdAt: z.ZodString;
|
|
333
|
+
updatedAt: z.ZodString;
|
|
334
|
+
deletedAt: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
credentials: z.ZodObject<{
|
|
337
|
+
api_private_key: z.ZodString;
|
|
338
|
+
api_key_index: z.ZodNumber;
|
|
339
|
+
}, z.core.$strip>;
|
|
340
|
+
connector: z.ZodLiteral<"lighter_rhc">;
|
|
299
341
|
}, z.core.$strip>], "connector">;
|
|
300
342
|
export type ExchangeCredentialsResponse = z.infer<typeof ExchangeCredentialsResponse>;
|
|
@@ -64,12 +64,16 @@ const LighterCredentialsResponse = z.object({
|
|
|
64
64
|
api_key_index: z.number()
|
|
65
65
|
})
|
|
66
66
|
});
|
|
67
|
+
const LighterRhcCredentialsResponse = LighterCredentialsResponse.extend({
|
|
68
|
+
connector: z.literal("lighter_rhc")
|
|
69
|
+
});
|
|
67
70
|
const ExchangeCredentialsResponse = z.discriminatedUnion("connector", [
|
|
68
71
|
HyperliquidCredentialsResponse,
|
|
69
72
|
BinanceCredentialsResponse,
|
|
70
73
|
BybitCredentialsResponse,
|
|
71
74
|
OkxCredentialsResponse,
|
|
72
|
-
LighterCredentialsResponse
|
|
75
|
+
LighterCredentialsResponse,
|
|
76
|
+
LighterRhcCredentialsResponse
|
|
73
77
|
]);
|
|
74
78
|
|
|
75
79
|
export { ExchangeCredentialsResponse, TradeAccountListResponse, TradeAccountResponse, VaultTradeAccountStatus, VaultTradeAccountStatusResponse };
|
|
@@ -103,6 +103,7 @@ declare const FundingRate: z.ZodObject<{
|
|
|
103
103
|
bybit: "bybit";
|
|
104
104
|
okx: "okx";
|
|
105
105
|
lighter: "lighter";
|
|
106
|
+
lighter_rhc: "lighter_rhc";
|
|
106
107
|
}>;
|
|
107
108
|
symbol: z.ZodString;
|
|
108
109
|
track: z.ZodEnum<{
|
|
@@ -262,6 +263,7 @@ export declare const TriggerConditionOpen: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
262
263
|
bybit: "bybit";
|
|
263
264
|
okx: "okx";
|
|
264
265
|
lighter: "lighter";
|
|
266
|
+
lighter_rhc: "lighter_rhc";
|
|
265
267
|
}>;
|
|
266
268
|
symbol: z.ZodString;
|
|
267
269
|
track: z.ZodEnum<{
|
|
@@ -393,6 +395,7 @@ export declare const TriggerConditionAdjust: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
393
395
|
bybit: "bybit";
|
|
394
396
|
okx: "okx";
|
|
395
397
|
lighter: "lighter";
|
|
398
|
+
lighter_rhc: "lighter_rhc";
|
|
396
399
|
}>;
|
|
397
400
|
symbol: z.ZodString;
|
|
398
401
|
track: z.ZodEnum<{
|
|
@@ -583,6 +586,7 @@ export declare const TriggerConditionClose: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
583
586
|
bybit: "bybit";
|
|
584
587
|
okx: "okx";
|
|
585
588
|
lighter: "lighter";
|
|
589
|
+
lighter_rhc: "lighter_rhc";
|
|
586
590
|
}>;
|
|
587
591
|
symbol: z.ZodString;
|
|
588
592
|
track: z.ZodEnum<{
|
|
@@ -19,6 +19,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
19
19
|
bybit: "bybit";
|
|
20
20
|
okx: "okx";
|
|
21
21
|
lighter: "lighter";
|
|
22
|
+
lighter_rhc: "lighter_rhc";
|
|
22
23
|
}>;
|
|
23
24
|
status: z.ZodEnum<{
|
|
24
25
|
CANCELLED: "CANCELLED";
|
|
@@ -55,6 +56,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
55
56
|
bybit: "bybit";
|
|
56
57
|
okx: "okx";
|
|
57
58
|
lighter: "lighter";
|
|
59
|
+
lighter_rhc: "lighter_rhc";
|
|
58
60
|
}>;
|
|
59
61
|
side: z.ZodEnum<{
|
|
60
62
|
BUY: "BUY";
|
|
@@ -106,6 +108,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
106
108
|
bybit: "bybit";
|
|
107
109
|
okx: "okx";
|
|
108
110
|
lighter: "lighter";
|
|
111
|
+
lighter_rhc: "lighter_rhc";
|
|
109
112
|
}>;
|
|
110
113
|
status: z.ZodEnum<{
|
|
111
114
|
CANCELLED: "CANCELLED";
|
|
@@ -142,6 +145,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
142
145
|
bybit: "bybit";
|
|
143
146
|
okx: "okx";
|
|
144
147
|
lighter: "lighter";
|
|
148
|
+
lighter_rhc: "lighter_rhc";
|
|
145
149
|
}>;
|
|
146
150
|
side: z.ZodEnum<{
|
|
147
151
|
BUY: "BUY";
|
|
@@ -234,6 +238,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
234
238
|
bybit: "bybit";
|
|
235
239
|
okx: "okx";
|
|
236
240
|
lighter: "lighter";
|
|
241
|
+
lighter_rhc: "lighter_rhc";
|
|
237
242
|
}>;
|
|
238
243
|
symbol: z.ZodString;
|
|
239
244
|
track: z.ZodEnum<{
|
|
@@ -315,6 +320,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
315
320
|
bybit: "bybit";
|
|
316
321
|
okx: "okx";
|
|
317
322
|
lighter: "lighter";
|
|
323
|
+
lighter_rhc: "lighter_rhc";
|
|
318
324
|
}>;
|
|
319
325
|
status: z.ZodEnum<{
|
|
320
326
|
CANCELLED: "CANCELLED";
|
|
@@ -351,6 +357,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
351
357
|
bybit: "bybit";
|
|
352
358
|
okx: "okx";
|
|
353
359
|
lighter: "lighter";
|
|
360
|
+
lighter_rhc: "lighter_rhc";
|
|
354
361
|
}>;
|
|
355
362
|
side: z.ZodEnum<{
|
|
356
363
|
BUY: "BUY";
|
|
@@ -482,6 +489,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
482
489
|
bybit: "bybit";
|
|
483
490
|
okx: "okx";
|
|
484
491
|
lighter: "lighter";
|
|
492
|
+
lighter_rhc: "lighter_rhc";
|
|
485
493
|
}>;
|
|
486
494
|
symbol: z.ZodString;
|
|
487
495
|
track: z.ZodEnum<{
|
|
@@ -570,6 +578,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
570
578
|
bybit: "bybit";
|
|
571
579
|
okx: "okx";
|
|
572
580
|
lighter: "lighter";
|
|
581
|
+
lighter_rhc: "lighter_rhc";
|
|
573
582
|
}>;
|
|
574
583
|
status: z.ZodEnum<{
|
|
575
584
|
CANCELLED: "CANCELLED";
|
|
@@ -606,6 +615,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
606
615
|
bybit: "bybit";
|
|
607
616
|
okx: "okx";
|
|
608
617
|
lighter: "lighter";
|
|
618
|
+
lighter_rhc: "lighter_rhc";
|
|
609
619
|
}>;
|
|
610
620
|
side: z.ZodEnum<{
|
|
611
621
|
BUY: "BUY";
|
|
@@ -796,6 +806,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
796
806
|
bybit: "bybit";
|
|
797
807
|
okx: "okx";
|
|
798
808
|
lighter: "lighter";
|
|
809
|
+
lighter_rhc: "lighter_rhc";
|
|
799
810
|
}>;
|
|
800
811
|
symbol: z.ZodString;
|
|
801
812
|
track: z.ZodEnum<{
|
|
@@ -857,6 +868,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
857
868
|
bybit: "bybit";
|
|
858
869
|
okx: "okx";
|
|
859
870
|
lighter: "lighter";
|
|
871
|
+
lighter_rhc: "lighter_rhc";
|
|
860
872
|
}>;
|
|
861
873
|
status: z.ZodEnum<{
|
|
862
874
|
CANCELLED: "CANCELLED";
|
|
@@ -893,6 +905,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
893
905
|
bybit: "bybit";
|
|
894
906
|
okx: "okx";
|
|
895
907
|
lighter: "lighter";
|
|
908
|
+
lighter_rhc: "lighter_rhc";
|
|
896
909
|
}>;
|
|
897
910
|
side: z.ZodEnum<{
|
|
898
911
|
BUY: "BUY";
|
|
@@ -985,6 +998,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
985
998
|
bybit: "bybit";
|
|
986
999
|
okx: "okx";
|
|
987
1000
|
lighter: "lighter";
|
|
1001
|
+
lighter_rhc: "lighter_rhc";
|
|
988
1002
|
}>;
|
|
989
1003
|
symbol: z.ZodString;
|
|
990
1004
|
track: z.ZodEnum<{
|
|
@@ -1065,6 +1079,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1065
1079
|
bybit: "bybit";
|
|
1066
1080
|
okx: "okx";
|
|
1067
1081
|
lighter: "lighter";
|
|
1082
|
+
lighter_rhc: "lighter_rhc";
|
|
1068
1083
|
}>;
|
|
1069
1084
|
status: z.ZodEnum<{
|
|
1070
1085
|
CANCELLED: "CANCELLED";
|
|
@@ -1101,6 +1116,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1101
1116
|
bybit: "bybit";
|
|
1102
1117
|
okx: "okx";
|
|
1103
1118
|
lighter: "lighter";
|
|
1119
|
+
lighter_rhc: "lighter_rhc";
|
|
1104
1120
|
}>;
|
|
1105
1121
|
side: z.ZodEnum<{
|
|
1106
1122
|
BUY: "BUY";
|
|
@@ -1232,6 +1248,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1232
1248
|
bybit: "bybit";
|
|
1233
1249
|
okx: "okx";
|
|
1234
1250
|
lighter: "lighter";
|
|
1251
|
+
lighter_rhc: "lighter_rhc";
|
|
1235
1252
|
}>;
|
|
1236
1253
|
symbol: z.ZodString;
|
|
1237
1254
|
track: z.ZodEnum<{
|
|
@@ -1319,6 +1336,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1319
1336
|
bybit: "bybit";
|
|
1320
1337
|
okx: "okx";
|
|
1321
1338
|
lighter: "lighter";
|
|
1339
|
+
lighter_rhc: "lighter_rhc";
|
|
1322
1340
|
}>;
|
|
1323
1341
|
status: z.ZodEnum<{
|
|
1324
1342
|
CANCELLED: "CANCELLED";
|
|
@@ -1355,6 +1373,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1355
1373
|
bybit: "bybit";
|
|
1356
1374
|
okx: "okx";
|
|
1357
1375
|
lighter: "lighter";
|
|
1376
|
+
lighter_rhc: "lighter_rhc";
|
|
1358
1377
|
}>;
|
|
1359
1378
|
side: z.ZodEnum<{
|
|
1360
1379
|
BUY: "BUY";
|
|
@@ -1545,6 +1564,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1545
1564
|
bybit: "bybit";
|
|
1546
1565
|
okx: "okx";
|
|
1547
1566
|
lighter: "lighter";
|
|
1567
|
+
lighter_rhc: "lighter_rhc";
|
|
1548
1568
|
}>;
|
|
1549
1569
|
symbol: z.ZodString;
|
|
1550
1570
|
track: z.ZodEnum<{
|
|
@@ -1606,6 +1626,7 @@ export declare const TriggerTWAPAdjust: z.ZodObject<{
|
|
|
1606
1626
|
bybit: "bybit";
|
|
1607
1627
|
okx: "okx";
|
|
1608
1628
|
lighter: "lighter";
|
|
1629
|
+
lighter_rhc: "lighter_rhc";
|
|
1609
1630
|
}>;
|
|
1610
1631
|
status: z.ZodEnum<{
|
|
1611
1632
|
CANCELLED: "CANCELLED";
|
|
@@ -1642,6 +1663,7 @@ export declare const TriggerTWAPAdjust: z.ZodObject<{
|
|
|
1642
1663
|
bybit: "bybit";
|
|
1643
1664
|
okx: "okx";
|
|
1644
1665
|
lighter: "lighter";
|
|
1666
|
+
lighter_rhc: "lighter_rhc";
|
|
1645
1667
|
}>;
|
|
1646
1668
|
side: z.ZodEnum<{
|
|
1647
1669
|
BUY: "BUY";
|
|
@@ -1774,6 +1796,7 @@ export declare const TriggerTWAPAdjust: z.ZodObject<{
|
|
|
1774
1796
|
bybit: "bybit";
|
|
1775
1797
|
okx: "okx";
|
|
1776
1798
|
lighter: "lighter";
|
|
1799
|
+
lighter_rhc: "lighter_rhc";
|
|
1777
1800
|
}>;
|
|
1778
1801
|
symbol: z.ZodString;
|
|
1779
1802
|
track: z.ZodEnum<{
|
|
@@ -1859,6 +1882,7 @@ export declare const TriggerTWAPClose: z.ZodObject<{
|
|
|
1859
1882
|
bybit: "bybit";
|
|
1860
1883
|
okx: "okx";
|
|
1861
1884
|
lighter: "lighter";
|
|
1885
|
+
lighter_rhc: "lighter_rhc";
|
|
1862
1886
|
}>;
|
|
1863
1887
|
status: z.ZodEnum<{
|
|
1864
1888
|
CANCELLED: "CANCELLED";
|
|
@@ -1895,6 +1919,7 @@ export declare const TriggerTWAPClose: z.ZodObject<{
|
|
|
1895
1919
|
bybit: "bybit";
|
|
1896
1920
|
okx: "okx";
|
|
1897
1921
|
lighter: "lighter";
|
|
1922
|
+
lighter_rhc: "lighter_rhc";
|
|
1898
1923
|
}>;
|
|
1899
1924
|
side: z.ZodEnum<{
|
|
1900
1925
|
BUY: "BUY";
|
|
@@ -2086,6 +2111,7 @@ export declare const TriggerTWAPClose: z.ZodObject<{
|
|
|
2086
2111
|
bybit: "bybit";
|
|
2087
2112
|
okx: "okx";
|
|
2088
2113
|
lighter: "lighter";
|
|
2114
|
+
lighter_rhc: "lighter_rhc";
|
|
2089
2115
|
}>;
|
|
2090
2116
|
symbol: z.ZodString;
|
|
2091
2117
|
track: z.ZodEnum<{
|
|
@@ -2153,6 +2179,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2153
2179
|
bybit: "bybit";
|
|
2154
2180
|
okx: "okx";
|
|
2155
2181
|
lighter: "lighter";
|
|
2182
|
+
lighter_rhc: "lighter_rhc";
|
|
2156
2183
|
}>;
|
|
2157
2184
|
status: z.ZodEnum<{
|
|
2158
2185
|
CANCELLED: "CANCELLED";
|
|
@@ -2189,6 +2216,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2189
2216
|
bybit: "bybit";
|
|
2190
2217
|
okx: "okx";
|
|
2191
2218
|
lighter: "lighter";
|
|
2219
|
+
lighter_rhc: "lighter_rhc";
|
|
2192
2220
|
}>;
|
|
2193
2221
|
side: z.ZodEnum<{
|
|
2194
2222
|
BUY: "BUY";
|
|
@@ -2321,6 +2349,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2321
2349
|
bybit: "bybit";
|
|
2322
2350
|
okx: "okx";
|
|
2323
2351
|
lighter: "lighter";
|
|
2352
|
+
lighter_rhc: "lighter_rhc";
|
|
2324
2353
|
}>;
|
|
2325
2354
|
symbol: z.ZodString;
|
|
2326
2355
|
track: z.ZodEnum<{
|
|
@@ -2405,6 +2434,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2405
2434
|
bybit: "bybit";
|
|
2406
2435
|
okx: "okx";
|
|
2407
2436
|
lighter: "lighter";
|
|
2437
|
+
lighter_rhc: "lighter_rhc";
|
|
2408
2438
|
}>;
|
|
2409
2439
|
status: z.ZodEnum<{
|
|
2410
2440
|
CANCELLED: "CANCELLED";
|
|
@@ -2441,6 +2471,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2441
2471
|
bybit: "bybit";
|
|
2442
2472
|
okx: "okx";
|
|
2443
2473
|
lighter: "lighter";
|
|
2474
|
+
lighter_rhc: "lighter_rhc";
|
|
2444
2475
|
}>;
|
|
2445
2476
|
side: z.ZodEnum<{
|
|
2446
2477
|
BUY: "BUY";
|
|
@@ -2632,6 +2663,7 @@ export declare const TriggerTWAP: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2632
2663
|
bybit: "bybit";
|
|
2633
2664
|
okx: "okx";
|
|
2634
2665
|
lighter: "lighter";
|
|
2666
|
+
lighter_rhc: "lighter_rhc";
|
|
2635
2667
|
}>;
|
|
2636
2668
|
symbol: z.ZodString;
|
|
2637
2669
|
track: z.ZodEnum<{
|
|
@@ -2699,6 +2731,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2699
2731
|
bybit: "bybit";
|
|
2700
2732
|
okx: "okx";
|
|
2701
2733
|
lighter: "lighter";
|
|
2734
|
+
lighter_rhc: "lighter_rhc";
|
|
2702
2735
|
}>;
|
|
2703
2736
|
status: z.ZodEnum<{
|
|
2704
2737
|
CANCELLED: "CANCELLED";
|
|
@@ -2735,6 +2768,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2735
2768
|
bybit: "bybit";
|
|
2736
2769
|
okx: "okx";
|
|
2737
2770
|
lighter: "lighter";
|
|
2771
|
+
lighter_rhc: "lighter_rhc";
|
|
2738
2772
|
}>;
|
|
2739
2773
|
side: z.ZodEnum<{
|
|
2740
2774
|
BUY: "BUY";
|
|
@@ -2827,6 +2861,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2827
2861
|
bybit: "bybit";
|
|
2828
2862
|
okx: "okx";
|
|
2829
2863
|
lighter: "lighter";
|
|
2864
|
+
lighter_rhc: "lighter_rhc";
|
|
2830
2865
|
}>;
|
|
2831
2866
|
symbol: z.ZodString;
|
|
2832
2867
|
track: z.ZodEnum<{
|
|
@@ -2907,6 +2942,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2907
2942
|
bybit: "bybit";
|
|
2908
2943
|
okx: "okx";
|
|
2909
2944
|
lighter: "lighter";
|
|
2945
|
+
lighter_rhc: "lighter_rhc";
|
|
2910
2946
|
}>;
|
|
2911
2947
|
status: z.ZodEnum<{
|
|
2912
2948
|
CANCELLED: "CANCELLED";
|
|
@@ -2943,6 +2979,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2943
2979
|
bybit: "bybit";
|
|
2944
2980
|
okx: "okx";
|
|
2945
2981
|
lighter: "lighter";
|
|
2982
|
+
lighter_rhc: "lighter_rhc";
|
|
2946
2983
|
}>;
|
|
2947
2984
|
side: z.ZodEnum<{
|
|
2948
2985
|
BUY: "BUY";
|
|
@@ -3074,6 +3111,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3074
3111
|
bybit: "bybit";
|
|
3075
3112
|
okx: "okx";
|
|
3076
3113
|
lighter: "lighter";
|
|
3114
|
+
lighter_rhc: "lighter_rhc";
|
|
3077
3115
|
}>;
|
|
3078
3116
|
symbol: z.ZodString;
|
|
3079
3117
|
track: z.ZodEnum<{
|
|
@@ -3161,6 +3199,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3161
3199
|
bybit: "bybit";
|
|
3162
3200
|
okx: "okx";
|
|
3163
3201
|
lighter: "lighter";
|
|
3202
|
+
lighter_rhc: "lighter_rhc";
|
|
3164
3203
|
}>;
|
|
3165
3204
|
status: z.ZodEnum<{
|
|
3166
3205
|
CANCELLED: "CANCELLED";
|
|
@@ -3197,6 +3236,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3197
3236
|
bybit: "bybit";
|
|
3198
3237
|
okx: "okx";
|
|
3199
3238
|
lighter: "lighter";
|
|
3239
|
+
lighter_rhc: "lighter_rhc";
|
|
3200
3240
|
}>;
|
|
3201
3241
|
side: z.ZodEnum<{
|
|
3202
3242
|
BUY: "BUY";
|
|
@@ -3387,6 +3427,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3387
3427
|
bybit: "bybit";
|
|
3388
3428
|
okx: "okx";
|
|
3389
3429
|
lighter: "lighter";
|
|
3430
|
+
lighter_rhc: "lighter_rhc";
|
|
3390
3431
|
}>;
|
|
3391
3432
|
symbol: z.ZodString;
|
|
3392
3433
|
track: z.ZodEnum<{
|
|
@@ -3447,6 +3488,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3447
3488
|
bybit: "bybit";
|
|
3448
3489
|
okx: "okx";
|
|
3449
3490
|
lighter: "lighter";
|
|
3491
|
+
lighter_rhc: "lighter_rhc";
|
|
3450
3492
|
}>;
|
|
3451
3493
|
status: z.ZodEnum<{
|
|
3452
3494
|
CANCELLED: "CANCELLED";
|
|
@@ -3483,6 +3525,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3483
3525
|
bybit: "bybit";
|
|
3484
3526
|
okx: "okx";
|
|
3485
3527
|
lighter: "lighter";
|
|
3528
|
+
lighter_rhc: "lighter_rhc";
|
|
3486
3529
|
}>;
|
|
3487
3530
|
side: z.ZodEnum<{
|
|
3488
3531
|
BUY: "BUY";
|
|
@@ -3615,6 +3658,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3615
3658
|
bybit: "bybit";
|
|
3616
3659
|
okx: "okx";
|
|
3617
3660
|
lighter: "lighter";
|
|
3661
|
+
lighter_rhc: "lighter_rhc";
|
|
3618
3662
|
}>;
|
|
3619
3663
|
symbol: z.ZodString;
|
|
3620
3664
|
track: z.ZodEnum<{
|
|
@@ -3699,6 +3743,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3699
3743
|
bybit: "bybit";
|
|
3700
3744
|
okx: "okx";
|
|
3701
3745
|
lighter: "lighter";
|
|
3746
|
+
lighter_rhc: "lighter_rhc";
|
|
3702
3747
|
}>;
|
|
3703
3748
|
status: z.ZodEnum<{
|
|
3704
3749
|
CANCELLED: "CANCELLED";
|
|
@@ -3735,6 +3780,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3735
3780
|
bybit: "bybit";
|
|
3736
3781
|
okx: "okx";
|
|
3737
3782
|
lighter: "lighter";
|
|
3783
|
+
lighter_rhc: "lighter_rhc";
|
|
3738
3784
|
}>;
|
|
3739
3785
|
side: z.ZodEnum<{
|
|
3740
3786
|
BUY: "BUY";
|
|
@@ -3926,6 +3972,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
3926
3972
|
bybit: "bybit";
|
|
3927
3973
|
okx: "okx";
|
|
3928
3974
|
lighter: "lighter";
|
|
3975
|
+
lighter_rhc: "lighter_rhc";
|
|
3929
3976
|
}>;
|
|
3930
3977
|
symbol: z.ZodString;
|
|
3931
3978
|
track: z.ZodEnum<{
|
|
@@ -286,6 +286,7 @@ export declare const CreateTriggerMarketOpen: z.ZodObject<{
|
|
|
286
286
|
bybit: "bybit";
|
|
287
287
|
okx: "okx";
|
|
288
288
|
lighter: "lighter";
|
|
289
|
+
lighter_rhc: "lighter_rhc";
|
|
289
290
|
}>;
|
|
290
291
|
symbol: z.ZodString;
|
|
291
292
|
track: z.ZodEnum<{
|
|
@@ -484,6 +485,7 @@ export declare const CreateTriggerMarketAdjust: z.ZodObject<{
|
|
|
484
485
|
bybit: "bybit";
|
|
485
486
|
okx: "okx";
|
|
486
487
|
lighter: "lighter";
|
|
488
|
+
lighter_rhc: "lighter_rhc";
|
|
487
489
|
}>;
|
|
488
490
|
symbol: z.ZodString;
|
|
489
491
|
track: z.ZodEnum<{
|
|
@@ -610,6 +612,7 @@ export declare const CreateTriggerTWAPAdjust: z.ZodObject<{
|
|
|
610
612
|
bybit: "bybit";
|
|
611
613
|
okx: "okx";
|
|
612
614
|
lighter: "lighter";
|
|
615
|
+
lighter_rhc: "lighter_rhc";
|
|
613
616
|
}>;
|
|
614
617
|
symbol: z.ZodString;
|
|
615
618
|
track: z.ZodEnum<{
|
|
@@ -1428,6 +1431,7 @@ export declare const CreateTriggerOpen: z.ZodDiscriminatedUnion<[z.ZodDiscrimina
|
|
|
1428
1431
|
bybit: "bybit";
|
|
1429
1432
|
okx: "okx";
|
|
1430
1433
|
lighter: "lighter";
|
|
1434
|
+
lighter_rhc: "lighter_rhc";
|
|
1431
1435
|
}>;
|
|
1432
1436
|
symbol: z.ZodString;
|
|
1433
1437
|
track: z.ZodEnum<{
|
|
@@ -1625,6 +1629,7 @@ export declare const CreateTriggerOpen: z.ZodDiscriminatedUnion<[z.ZodDiscrimina
|
|
|
1625
1629
|
bybit: "bybit";
|
|
1626
1630
|
okx: "okx";
|
|
1627
1631
|
lighter: "lighter";
|
|
1632
|
+
lighter_rhc: "lighter_rhc";
|
|
1628
1633
|
}>;
|
|
1629
1634
|
symbol: z.ZodString;
|
|
1630
1635
|
track: z.ZodEnum<{
|
|
@@ -1750,6 +1755,7 @@ export declare const CreateTriggerOpen: z.ZodDiscriminatedUnion<[z.ZodDiscrimina
|
|
|
1750
1755
|
bybit: "bybit";
|
|
1751
1756
|
okx: "okx";
|
|
1752
1757
|
lighter: "lighter";
|
|
1758
|
+
lighter_rhc: "lighter_rhc";
|
|
1753
1759
|
}>;
|
|
1754
1760
|
symbol: z.ZodString;
|
|
1755
1761
|
track: z.ZodEnum<{
|
|
@@ -8,6 +8,7 @@ export declare const TriggerListParams: z.ZodObject<{
|
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
10
|
lighter: "lighter";
|
|
11
|
+
lighter_rhc: "lighter_rhc";
|
|
11
12
|
}>>;
|
|
12
13
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("CANCELLED" | "ACTIVE" | "COMPLETED")[] & any[]) | undefined, ("CANCELLED" | "ACTIVE" | "COMPLETED")[]>, z.ZodArray<z.ZodEnum<{
|
|
13
14
|
CANCELLED: "CANCELLED";
|