@pear-protocol/types 0.0.13 → 0.0.15
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/connector/index.d.ts +3 -0
- package/dist/connector/index.js +1 -1
- package/dist/execution/entities.d.ts +20 -0
- package/dist/execution/queries.d.ts +1 -0
- package/dist/execution/responses.d.ts +6 -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/order/entities.d.ts +2 -0
- package/dist/position/entities.d.ts +1 -0
- package/dist/position/queries.d.ts +1 -0
- package/dist/position/responses.d.ts +1 -0
- 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/queries.d.ts +1 -0
- package/dist/trade/responses.d.ts +24 -0
- package/dist/trade-accounts/entities.d.ts +3 -0
- package/dist/trade-accounts/entities.js +2 -1
- package/dist/trade-accounts/payloads.d.ts +3 -0
- package/dist/trade-accounts/payloads.js +2 -1
- package/dist/trade-accounts/response.d.ts +4 -0
- package/dist/trigger/entities/index.d.ts +20 -0
- package/dist/trigger/queries.d.ts +1 -0
- package/dist/trigger/responses.d.ts +12 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare const Connector: z.ZodEnum<{
|
|
|
4
4
|
binance: "binance";
|
|
5
5
|
bybit: "bybit";
|
|
6
6
|
okx: "okx";
|
|
7
|
+
lighter: "lighter";
|
|
7
8
|
}>;
|
|
8
9
|
export type Connector = z.infer<typeof Connector>;
|
|
9
10
|
export type HyperliquidCredentialsDTO = {
|
|
@@ -26,9 +27,11 @@ export type OkxCredentialsDTO = {
|
|
|
26
27
|
api_secret: string;
|
|
27
28
|
api_pass: string;
|
|
28
29
|
};
|
|
30
|
+
export type LighterCredentialsDTO = Record<string, never>;
|
|
29
31
|
export type ConnectorCredentialsDTO = {
|
|
30
32
|
hyperliquid: HyperliquidCredentialsDTO;
|
|
31
33
|
binance: BinanceCredentialsDTO;
|
|
32
34
|
bybit: BybitCredentialsDTO;
|
|
33
35
|
okx: OkxCredentialsDTO;
|
|
36
|
+
lighter: LighterCredentialsDTO;
|
|
34
37
|
};
|
package/dist/connector/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
42
42
|
binance: "binance";
|
|
43
43
|
bybit: "bybit";
|
|
44
44
|
okx: "okx";
|
|
45
|
+
lighter: "lighter";
|
|
45
46
|
}>;
|
|
46
47
|
intent: z.ZodEnum<{
|
|
47
48
|
OPEN: "OPEN";
|
|
@@ -68,6 +69,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
68
69
|
binance: "binance";
|
|
69
70
|
bybit: "bybit";
|
|
70
71
|
okx: "okx";
|
|
72
|
+
lighter: "lighter";
|
|
71
73
|
}>;
|
|
72
74
|
status: z.ZodEnum<{
|
|
73
75
|
PENDING: "PENDING";
|
|
@@ -100,6 +102,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
100
102
|
binance: "binance";
|
|
101
103
|
bybit: "bybit";
|
|
102
104
|
okx: "okx";
|
|
105
|
+
lighter: "lighter";
|
|
103
106
|
}>;
|
|
104
107
|
status: z.ZodEnum<{
|
|
105
108
|
CANCELLED: "CANCELLED";
|
|
@@ -118,6 +121,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
118
121
|
binance: "binance";
|
|
119
122
|
bybit: "bybit";
|
|
120
123
|
okx: "okx";
|
|
124
|
+
lighter: "lighter";
|
|
121
125
|
}>;
|
|
122
126
|
status: z.ZodEnum<{
|
|
123
127
|
PENDING: "PENDING";
|
|
@@ -177,6 +181,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
177
181
|
binance: "binance";
|
|
178
182
|
bybit: "bybit";
|
|
179
183
|
okx: "okx";
|
|
184
|
+
lighter: "lighter";
|
|
180
185
|
}>;
|
|
181
186
|
status: z.ZodEnum<{
|
|
182
187
|
CANCELLED: "CANCELLED";
|
|
@@ -195,6 +200,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
195
200
|
binance: "binance";
|
|
196
201
|
bybit: "bybit";
|
|
197
202
|
okx: "okx";
|
|
203
|
+
lighter: "lighter";
|
|
198
204
|
}>;
|
|
199
205
|
status: z.ZodEnum<{
|
|
200
206
|
PENDING: "PENDING";
|
|
@@ -258,6 +264,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
258
264
|
binance: "binance";
|
|
259
265
|
bybit: "bybit";
|
|
260
266
|
okx: "okx";
|
|
267
|
+
lighter: "lighter";
|
|
261
268
|
}>;
|
|
262
269
|
status: z.ZodEnum<{
|
|
263
270
|
CANCELLED: "CANCELLED";
|
|
@@ -276,6 +283,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
276
283
|
binance: "binance";
|
|
277
284
|
bybit: "bybit";
|
|
278
285
|
okx: "okx";
|
|
286
|
+
lighter: "lighter";
|
|
279
287
|
}>;
|
|
280
288
|
status: z.ZodEnum<{
|
|
281
289
|
PENDING: "PENDING";
|
|
@@ -314,6 +322,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
314
322
|
binance: "binance";
|
|
315
323
|
bybit: "bybit";
|
|
316
324
|
okx: "okx";
|
|
325
|
+
lighter: "lighter";
|
|
317
326
|
}>;
|
|
318
327
|
status: z.ZodEnum<{
|
|
319
328
|
CANCELLED: "CANCELLED";
|
|
@@ -332,6 +341,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
332
341
|
binance: "binance";
|
|
333
342
|
bybit: "bybit";
|
|
334
343
|
okx: "okx";
|
|
344
|
+
lighter: "lighter";
|
|
335
345
|
}>;
|
|
336
346
|
status: z.ZodEnum<{
|
|
337
347
|
PENDING: "PENDING";
|
|
@@ -390,6 +400,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
390
400
|
binance: "binance";
|
|
391
401
|
bybit: "bybit";
|
|
392
402
|
okx: "okx";
|
|
403
|
+
lighter: "lighter";
|
|
393
404
|
}>;
|
|
394
405
|
status: z.ZodEnum<{
|
|
395
406
|
CANCELLED: "CANCELLED";
|
|
@@ -408,6 +419,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
408
419
|
binance: "binance";
|
|
409
420
|
bybit: "bybit";
|
|
410
421
|
okx: "okx";
|
|
422
|
+
lighter: "lighter";
|
|
411
423
|
}>;
|
|
412
424
|
status: z.ZodEnum<{
|
|
413
425
|
PENDING: "PENDING";
|
|
@@ -470,6 +482,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
470
482
|
binance: "binance";
|
|
471
483
|
bybit: "bybit";
|
|
472
484
|
okx: "okx";
|
|
485
|
+
lighter: "lighter";
|
|
473
486
|
}>;
|
|
474
487
|
status: z.ZodEnum<{
|
|
475
488
|
CANCELLED: "CANCELLED";
|
|
@@ -488,6 +501,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
488
501
|
binance: "binance";
|
|
489
502
|
bybit: "bybit";
|
|
490
503
|
okx: "okx";
|
|
504
|
+
lighter: "lighter";
|
|
491
505
|
}>;
|
|
492
506
|
status: z.ZodEnum<{
|
|
493
507
|
PENDING: "PENDING";
|
|
@@ -526,6 +540,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
526
540
|
binance: "binance";
|
|
527
541
|
bybit: "bybit";
|
|
528
542
|
okx: "okx";
|
|
543
|
+
lighter: "lighter";
|
|
529
544
|
}>;
|
|
530
545
|
status: z.ZodEnum<{
|
|
531
546
|
CANCELLED: "CANCELLED";
|
|
@@ -544,6 +559,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
544
559
|
binance: "binance";
|
|
545
560
|
bybit: "bybit";
|
|
546
561
|
okx: "okx";
|
|
562
|
+
lighter: "lighter";
|
|
547
563
|
}>;
|
|
548
564
|
status: z.ZodEnum<{
|
|
549
565
|
PENDING: "PENDING";
|
|
@@ -602,6 +618,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
602
618
|
binance: "binance";
|
|
603
619
|
bybit: "bybit";
|
|
604
620
|
okx: "okx";
|
|
621
|
+
lighter: "lighter";
|
|
605
622
|
}>;
|
|
606
623
|
status: z.ZodEnum<{
|
|
607
624
|
CANCELLED: "CANCELLED";
|
|
@@ -620,6 +637,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
620
637
|
binance: "binance";
|
|
621
638
|
bybit: "bybit";
|
|
622
639
|
okx: "okx";
|
|
640
|
+
lighter: "lighter";
|
|
623
641
|
}>;
|
|
624
642
|
status: z.ZodEnum<{
|
|
625
643
|
PENDING: "PENDING";
|
|
@@ -682,6 +700,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
682
700
|
binance: "binance";
|
|
683
701
|
bybit: "bybit";
|
|
684
702
|
okx: "okx";
|
|
703
|
+
lighter: "lighter";
|
|
685
704
|
}>;
|
|
686
705
|
status: z.ZodEnum<{
|
|
687
706
|
CANCELLED: "CANCELLED";
|
|
@@ -700,6 +719,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
700
719
|
binance: "binance";
|
|
701
720
|
bybit: "bybit";
|
|
702
721
|
okx: "okx";
|
|
722
|
+
lighter: "lighter";
|
|
703
723
|
}>;
|
|
704
724
|
status: z.ZodEnum<{
|
|
705
725
|
PENDING: "PENDING";
|
|
@@ -7,6 +7,7 @@ export declare const ExecutionListParams: z.ZodObject<{
|
|
|
7
7
|
binance: "binance";
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
|
+
lighter: "lighter";
|
|
10
11
|
}>>;
|
|
11
12
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("CANCELLED" | "ACTIVE" | "COMPLETED")[] & any[]) | undefined, ("CANCELLED" | "ACTIVE" | "COMPLETED")[]>, z.ZodArray<z.ZodEnum<{
|
|
12
13
|
CANCELLED: "CANCELLED";
|
|
@@ -9,6 +9,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
9
9
|
binance: "binance";
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
|
+
lighter: "lighter";
|
|
12
13
|
}>;
|
|
13
14
|
status: z.ZodEnum<{
|
|
14
15
|
CANCELLED: "CANCELLED";
|
|
@@ -27,6 +28,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
27
28
|
binance: "binance";
|
|
28
29
|
bybit: "bybit";
|
|
29
30
|
okx: "okx";
|
|
31
|
+
lighter: "lighter";
|
|
30
32
|
}>;
|
|
31
33
|
status: z.ZodEnum<{
|
|
32
34
|
PENDING: "PENDING";
|
|
@@ -85,6 +87,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
85
87
|
binance: "binance";
|
|
86
88
|
bybit: "bybit";
|
|
87
89
|
okx: "okx";
|
|
90
|
+
lighter: "lighter";
|
|
88
91
|
}>;
|
|
89
92
|
status: z.ZodEnum<{
|
|
90
93
|
CANCELLED: "CANCELLED";
|
|
@@ -103,6 +106,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
103
106
|
binance: "binance";
|
|
104
107
|
bybit: "bybit";
|
|
105
108
|
okx: "okx";
|
|
109
|
+
lighter: "lighter";
|
|
106
110
|
}>;
|
|
107
111
|
status: z.ZodEnum<{
|
|
108
112
|
PENDING: "PENDING";
|
|
@@ -165,6 +169,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
165
169
|
binance: "binance";
|
|
166
170
|
bybit: "bybit";
|
|
167
171
|
okx: "okx";
|
|
172
|
+
lighter: "lighter";
|
|
168
173
|
}>;
|
|
169
174
|
status: z.ZodEnum<{
|
|
170
175
|
CANCELLED: "CANCELLED";
|
|
@@ -183,6 +188,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
183
188
|
binance: "binance";
|
|
184
189
|
bybit: "bybit";
|
|
185
190
|
okx: "okx";
|
|
191
|
+
lighter: "lighter";
|
|
186
192
|
}>;
|
|
187
193
|
status: z.ZodEnum<{
|
|
188
194
|
PENDING: "PENDING";
|
package/dist/fill/entities.d.ts
CHANGED
package/dist/fill/queries.d.ts
CHANGED
package/dist/fill/responses.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const FillListResponse: z.ZodObject<{
|
|
|
13
13
|
binance: "binance";
|
|
14
14
|
bybit: "bybit";
|
|
15
15
|
okx: "okx";
|
|
16
|
+
lighter: "lighter";
|
|
16
17
|
}>;
|
|
17
18
|
side: z.ZodEnum<{
|
|
18
19
|
BUY: "BUY";
|
|
@@ -39,6 +40,7 @@ export declare const PositionFillListResponse: z.ZodObject<{
|
|
|
39
40
|
binance: "binance";
|
|
40
41
|
bybit: "bybit";
|
|
41
42
|
okx: "okx";
|
|
43
|
+
lighter: "lighter";
|
|
42
44
|
}>;
|
|
43
45
|
side: z.ZodEnum<{
|
|
44
46
|
BUY: "BUY";
|
package/dist/order/entities.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const MarketOrder: z.ZodObject<{
|
|
|
14
14
|
binance: "binance";
|
|
15
15
|
bybit: "bybit";
|
|
16
16
|
okx: "okx";
|
|
17
|
+
lighter: "lighter";
|
|
17
18
|
}>;
|
|
18
19
|
status: z.ZodEnum<{
|
|
19
20
|
PENDING: "PENDING";
|
|
@@ -45,6 +46,7 @@ export declare const Order: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
45
46
|
binance: "binance";
|
|
46
47
|
bybit: "bybit";
|
|
47
48
|
okx: "okx";
|
|
49
|
+
lighter: "lighter";
|
|
48
50
|
}>;
|
|
49
51
|
status: z.ZodEnum<{
|
|
50
52
|
PENDING: "PENDING";
|
|
@@ -5,6 +5,7 @@ export declare const PositionListParams: z.ZodObject<{
|
|
|
5
5
|
binance: "binance";
|
|
6
6
|
bybit: "bybit";
|
|
7
7
|
okx: "okx";
|
|
8
|
+
lighter: "lighter";
|
|
8
9
|
}>>;
|
|
9
10
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("OPEN" | "CLOSED")[] & any[]) | undefined, ("OPEN" | "CLOSED")[]>, z.ZodArray<z.ZodEnum<{
|
|
10
11
|
OPEN: "OPEN";
|
package/dist/price/queries.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
54
54
|
binance: "binance";
|
|
55
55
|
bybit: "bybit";
|
|
56
56
|
okx: "okx";
|
|
57
|
+
lighter: "lighter";
|
|
57
58
|
}>;
|
|
58
59
|
strategy: z.ZodEnum<{
|
|
59
60
|
TWAP: "TWAP";
|
|
@@ -95,6 +96,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
95
96
|
binance: "binance";
|
|
96
97
|
bybit: "bybit";
|
|
97
98
|
okx: "okx";
|
|
99
|
+
lighter: "lighter";
|
|
98
100
|
}>;
|
|
99
101
|
side: z.ZodEnum<{
|
|
100
102
|
BUY: "BUY";
|
|
@@ -115,6 +117,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
115
117
|
binance: "binance";
|
|
116
118
|
bybit: "bybit";
|
|
117
119
|
okx: "okx";
|
|
120
|
+
lighter: "lighter";
|
|
118
121
|
}>;
|
|
119
122
|
status: z.ZodEnum<{
|
|
120
123
|
CANCELLED: "CANCELLED";
|
|
@@ -148,6 +151,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
148
151
|
binance: "binance";
|
|
149
152
|
bybit: "bybit";
|
|
150
153
|
okx: "okx";
|
|
154
|
+
lighter: "lighter";
|
|
151
155
|
}>;
|
|
152
156
|
side: z.ZodEnum<{
|
|
153
157
|
BUY: "BUY";
|
|
@@ -185,6 +189,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
185
189
|
binance: "binance";
|
|
186
190
|
bybit: "bybit";
|
|
187
191
|
okx: "okx";
|
|
192
|
+
lighter: "lighter";
|
|
188
193
|
}>;
|
|
189
194
|
status: z.ZodEnum<{
|
|
190
195
|
CANCELLED: "CANCELLED";
|
|
@@ -218,6 +223,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
218
223
|
binance: "binance";
|
|
219
224
|
bybit: "bybit";
|
|
220
225
|
okx: "okx";
|
|
226
|
+
lighter: "lighter";
|
|
221
227
|
}>;
|
|
222
228
|
side: z.ZodEnum<{
|
|
223
229
|
BUY: "BUY";
|
|
@@ -247,6 +253,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
253
|
binance: "binance";
|
|
248
254
|
bybit: "bybit";
|
|
249
255
|
okx: "okx";
|
|
256
|
+
lighter: "lighter";
|
|
250
257
|
}>;
|
|
251
258
|
status: z.ZodEnum<{
|
|
252
259
|
CANCELLED: "CANCELLED";
|
|
@@ -280,6 +287,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
280
287
|
binance: "binance";
|
|
281
288
|
bybit: "bybit";
|
|
282
289
|
okx: "okx";
|
|
290
|
+
lighter: "lighter";
|
|
283
291
|
}>;
|
|
284
292
|
side: z.ZodEnum<{
|
|
285
293
|
BUY: "BUY";
|
|
@@ -316,6 +324,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
316
324
|
binance: "binance";
|
|
317
325
|
bybit: "bybit";
|
|
318
326
|
okx: "okx";
|
|
327
|
+
lighter: "lighter";
|
|
319
328
|
}>;
|
|
320
329
|
status: z.ZodEnum<{
|
|
321
330
|
CANCELLED: "CANCELLED";
|
|
@@ -349,6 +358,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
349
358
|
binance: "binance";
|
|
350
359
|
bybit: "bybit";
|
|
351
360
|
okx: "okx";
|
|
361
|
+
lighter: "lighter";
|
|
352
362
|
}>;
|
|
353
363
|
side: z.ZodEnum<{
|
|
354
364
|
BUY: "BUY";
|
|
@@ -7,6 +7,7 @@ export declare const ScheduleListParams: z.ZodObject<{
|
|
|
7
7
|
binance: "binance";
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
|
+
lighter: "lighter";
|
|
10
11
|
}>>;
|
|
11
12
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("CANCELLED" | "ACTIVE" | "COMPLETED")[] & any[]) | undefined, ("CANCELLED" | "ACTIVE" | "COMPLETED")[]>, z.ZodArray<z.ZodEnum<{
|
|
12
13
|
CANCELLED: "CANCELLED";
|
|
@@ -9,6 +9,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
9
9
|
binance: "binance";
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
|
+
lighter: "lighter";
|
|
12
13
|
}>;
|
|
13
14
|
status: z.ZodEnum<{
|
|
14
15
|
CANCELLED: "CANCELLED";
|
|
@@ -42,6 +43,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
42
43
|
binance: "binance";
|
|
43
44
|
bybit: "bybit";
|
|
44
45
|
okx: "okx";
|
|
46
|
+
lighter: "lighter";
|
|
45
47
|
}>;
|
|
46
48
|
side: z.ZodEnum<{
|
|
47
49
|
BUY: "BUY";
|
|
@@ -78,6 +80,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
78
80
|
binance: "binance";
|
|
79
81
|
bybit: "bybit";
|
|
80
82
|
okx: "okx";
|
|
83
|
+
lighter: "lighter";
|
|
81
84
|
}>;
|
|
82
85
|
status: z.ZodEnum<{
|
|
83
86
|
CANCELLED: "CANCELLED";
|
|
@@ -111,6 +114,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
111
114
|
binance: "binance";
|
|
112
115
|
bybit: "bybit";
|
|
113
116
|
okx: "okx";
|
|
117
|
+
lighter: "lighter";
|
|
114
118
|
}>;
|
|
115
119
|
side: z.ZodEnum<{
|
|
116
120
|
BUY: "BUY";
|
|
@@ -143,6 +147,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
143
147
|
binance: "binance";
|
|
144
148
|
bybit: "bybit";
|
|
145
149
|
okx: "okx";
|
|
150
|
+
lighter: "lighter";
|
|
146
151
|
}>;
|
|
147
152
|
status: z.ZodEnum<{
|
|
148
153
|
CANCELLED: "CANCELLED";
|
|
@@ -176,6 +181,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
176
181
|
binance: "binance";
|
|
177
182
|
bybit: "bybit";
|
|
178
183
|
okx: "okx";
|
|
184
|
+
lighter: "lighter";
|
|
179
185
|
}>;
|
|
180
186
|
side: z.ZodEnum<{
|
|
181
187
|
BUY: "BUY";
|
|
@@ -212,6 +218,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
212
218
|
binance: "binance";
|
|
213
219
|
bybit: "bybit";
|
|
214
220
|
okx: "okx";
|
|
221
|
+
lighter: "lighter";
|
|
215
222
|
}>;
|
|
216
223
|
status: z.ZodEnum<{
|
|
217
224
|
CANCELLED: "CANCELLED";
|
|
@@ -245,6 +252,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
245
252
|
binance: "binance";
|
|
246
253
|
bybit: "bybit";
|
|
247
254
|
okx: "okx";
|
|
255
|
+
lighter: "lighter";
|
|
248
256
|
}>;
|
|
249
257
|
side: z.ZodEnum<{
|
|
250
258
|
BUY: "BUY";
|
|
@@ -7,6 +7,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
7
7
|
binance: "binance";
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
|
+
lighter: "lighter";
|
|
10
11
|
}>;
|
|
11
12
|
status: z.ZodEnum<{
|
|
12
13
|
CANCELLED: "CANCELLED";
|
|
@@ -25,6 +26,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
25
26
|
binance: "binance";
|
|
26
27
|
bybit: "bybit";
|
|
27
28
|
okx: "okx";
|
|
29
|
+
lighter: "lighter";
|
|
28
30
|
}>;
|
|
29
31
|
status: z.ZodEnum<{
|
|
30
32
|
PENDING: "PENDING";
|
|
@@ -83,6 +85,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
83
85
|
binance: "binance";
|
|
84
86
|
bybit: "bybit";
|
|
85
87
|
okx: "okx";
|
|
88
|
+
lighter: "lighter";
|
|
86
89
|
}>;
|
|
87
90
|
status: z.ZodEnum<{
|
|
88
91
|
CANCELLED: "CANCELLED";
|
|
@@ -101,6 +104,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
101
104
|
binance: "binance";
|
|
102
105
|
bybit: "bybit";
|
|
103
106
|
okx: "okx";
|
|
107
|
+
lighter: "lighter";
|
|
104
108
|
}>;
|
|
105
109
|
status: z.ZodEnum<{
|
|
106
110
|
PENDING: "PENDING";
|
|
@@ -163,6 +167,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
163
167
|
binance: "binance";
|
|
164
168
|
bybit: "bybit";
|
|
165
169
|
okx: "okx";
|
|
170
|
+
lighter: "lighter";
|
|
166
171
|
}>;
|
|
167
172
|
status: z.ZodEnum<{
|
|
168
173
|
CANCELLED: "CANCELLED";
|
|
@@ -181,6 +186,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
181
186
|
binance: "binance";
|
|
182
187
|
bybit: "bybit";
|
|
183
188
|
okx: "okx";
|
|
189
|
+
lighter: "lighter";
|
|
184
190
|
}>;
|
|
185
191
|
status: z.ZodEnum<{
|
|
186
192
|
PENDING: "PENDING";
|
|
@@ -222,6 +228,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
222
228
|
binance: "binance";
|
|
223
229
|
bybit: "bybit";
|
|
224
230
|
okx: "okx";
|
|
231
|
+
lighter: "lighter";
|
|
225
232
|
}>;
|
|
226
233
|
status: z.ZodEnum<{
|
|
227
234
|
CANCELLED: "CANCELLED";
|
|
@@ -240,6 +247,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
240
247
|
binance: "binance";
|
|
241
248
|
bybit: "bybit";
|
|
242
249
|
okx: "okx";
|
|
250
|
+
lighter: "lighter";
|
|
243
251
|
}>;
|
|
244
252
|
status: z.ZodEnum<{
|
|
245
253
|
PENDING: "PENDING";
|
|
@@ -298,6 +306,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
298
306
|
binance: "binance";
|
|
299
307
|
bybit: "bybit";
|
|
300
308
|
okx: "okx";
|
|
309
|
+
lighter: "lighter";
|
|
301
310
|
}>;
|
|
302
311
|
status: z.ZodEnum<{
|
|
303
312
|
CANCELLED: "CANCELLED";
|
|
@@ -316,6 +325,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
316
325
|
binance: "binance";
|
|
317
326
|
bybit: "bybit";
|
|
318
327
|
okx: "okx";
|
|
328
|
+
lighter: "lighter";
|
|
319
329
|
}>;
|
|
320
330
|
status: z.ZodEnum<{
|
|
321
331
|
PENDING: "PENDING";
|
|
@@ -378,6 +388,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
378
388
|
binance: "binance";
|
|
379
389
|
bybit: "bybit";
|
|
380
390
|
okx: "okx";
|
|
391
|
+
lighter: "lighter";
|
|
381
392
|
}>;
|
|
382
393
|
status: z.ZodEnum<{
|
|
383
394
|
CANCELLED: "CANCELLED";
|
|
@@ -396,6 +407,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
396
407
|
binance: "binance";
|
|
397
408
|
bybit: "bybit";
|
|
398
409
|
okx: "okx";
|
|
410
|
+
lighter: "lighter";
|
|
399
411
|
}>;
|
|
400
412
|
status: z.ZodEnum<{
|
|
401
413
|
PENDING: "PENDING";
|
|
@@ -437,6 +449,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
437
449
|
binance: "binance";
|
|
438
450
|
bybit: "bybit";
|
|
439
451
|
okx: "okx";
|
|
452
|
+
lighter: "lighter";
|
|
440
453
|
}>;
|
|
441
454
|
status: z.ZodEnum<{
|
|
442
455
|
CANCELLED: "CANCELLED";
|
|
@@ -455,6 +468,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
455
468
|
binance: "binance";
|
|
456
469
|
bybit: "bybit";
|
|
457
470
|
okx: "okx";
|
|
471
|
+
lighter: "lighter";
|
|
458
472
|
}>;
|
|
459
473
|
status: z.ZodEnum<{
|
|
460
474
|
PENDING: "PENDING";
|
|
@@ -513,6 +527,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
513
527
|
binance: "binance";
|
|
514
528
|
bybit: "bybit";
|
|
515
529
|
okx: "okx";
|
|
530
|
+
lighter: "lighter";
|
|
516
531
|
}>;
|
|
517
532
|
status: z.ZodEnum<{
|
|
518
533
|
CANCELLED: "CANCELLED";
|
|
@@ -531,6 +546,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
531
546
|
binance: "binance";
|
|
532
547
|
bybit: "bybit";
|
|
533
548
|
okx: "okx";
|
|
549
|
+
lighter: "lighter";
|
|
534
550
|
}>;
|
|
535
551
|
status: z.ZodEnum<{
|
|
536
552
|
PENDING: "PENDING";
|
|
@@ -593,6 +609,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
593
609
|
binance: "binance";
|
|
594
610
|
bybit: "bybit";
|
|
595
611
|
okx: "okx";
|
|
612
|
+
lighter: "lighter";
|
|
596
613
|
}>;
|
|
597
614
|
status: z.ZodEnum<{
|
|
598
615
|
CANCELLED: "CANCELLED";
|
|
@@ -611,6 +628,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
611
628
|
binance: "binance";
|
|
612
629
|
bybit: "bybit";
|
|
613
630
|
okx: "okx";
|
|
631
|
+
lighter: "lighter";
|
|
614
632
|
}>;
|
|
615
633
|
status: z.ZodEnum<{
|
|
616
634
|
PENDING: "PENDING";
|
|
@@ -652,6 +670,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
652
670
|
binance: "binance";
|
|
653
671
|
bybit: "bybit";
|
|
654
672
|
okx: "okx";
|
|
673
|
+
lighter: "lighter";
|
|
655
674
|
}>;
|
|
656
675
|
status: z.ZodEnum<{
|
|
657
676
|
CANCELLED: "CANCELLED";
|
|
@@ -670,6 +689,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
670
689
|
binance: "binance";
|
|
671
690
|
bybit: "bybit";
|
|
672
691
|
okx: "okx";
|
|
692
|
+
lighter: "lighter";
|
|
673
693
|
}>;
|
|
674
694
|
status: z.ZodEnum<{
|
|
675
695
|
PENDING: "PENDING";
|
|
@@ -728,6 +748,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
728
748
|
binance: "binance";
|
|
729
749
|
bybit: "bybit";
|
|
730
750
|
okx: "okx";
|
|
751
|
+
lighter: "lighter";
|
|
731
752
|
}>;
|
|
732
753
|
status: z.ZodEnum<{
|
|
733
754
|
CANCELLED: "CANCELLED";
|
|
@@ -746,6 +767,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
746
767
|
binance: "binance";
|
|
747
768
|
bybit: "bybit";
|
|
748
769
|
okx: "okx";
|
|
770
|
+
lighter: "lighter";
|
|
749
771
|
}>;
|
|
750
772
|
status: z.ZodEnum<{
|
|
751
773
|
PENDING: "PENDING";
|
|
@@ -808,6 +830,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
808
830
|
binance: "binance";
|
|
809
831
|
bybit: "bybit";
|
|
810
832
|
okx: "okx";
|
|
833
|
+
lighter: "lighter";
|
|
811
834
|
}>;
|
|
812
835
|
status: z.ZodEnum<{
|
|
813
836
|
CANCELLED: "CANCELLED";
|
|
@@ -826,6 +849,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
826
849
|
binance: "binance";
|
|
827
850
|
bybit: "bybit";
|
|
828
851
|
okx: "okx";
|
|
852
|
+
lighter: "lighter";
|
|
829
853
|
}>;
|
|
830
854
|
status: z.ZodEnum<{
|
|
831
855
|
PENDING: "PENDING";
|
|
@@ -5,6 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
declare const HyperliquidMetadata: z.ZodObject<{
|
|
6
6
|
agentWalletAddress: z.ZodString;
|
|
7
7
|
isSubaccount: z.ZodBoolean;
|
|
8
|
+
mainAccountAddress: z.ZodString;
|
|
8
9
|
}, z.core.$strip>;
|
|
9
10
|
export declare const TradeAccount: z.ZodObject<{
|
|
10
11
|
id: z.ZodUUID;
|
|
@@ -14,11 +15,13 @@ export declare const TradeAccount: z.ZodObject<{
|
|
|
14
15
|
binance: "binance";
|
|
15
16
|
bybit: "bybit";
|
|
16
17
|
okx: "okx";
|
|
18
|
+
lighter: "lighter";
|
|
17
19
|
}>;
|
|
18
20
|
exchangeIdentifier: z.ZodString;
|
|
19
21
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
20
22
|
agentWalletAddress: z.ZodString;
|
|
21
23
|
isSubaccount: z.ZodBoolean;
|
|
24
|
+
mainAccountAddress: z.ZodString;
|
|
22
25
|
}, z.core.$strip>]>>;
|
|
23
26
|
createdAt: z.ZodString;
|
|
24
27
|
updatedAt: z.ZodString;
|
|
@@ -3,7 +3,8 @@ import { Connector } from '../connector';
|
|
|
3
3
|
|
|
4
4
|
const HyperliquidMetadata = z.object({
|
|
5
5
|
agentWalletAddress: z.string(),
|
|
6
|
-
isSubaccount: z.boolean()
|
|
6
|
+
isSubaccount: z.boolean(),
|
|
7
|
+
mainAccountAddress: z.string()
|
|
7
8
|
});
|
|
8
9
|
const ConnectorMetadata = z.union([HyperliquidMetadata]).optional();
|
|
9
10
|
const TradeAccount = z.object({
|
|
@@ -11,6 +11,7 @@ declare const CreateHyperliquidCredentials: z.ZodObject<{
|
|
|
11
11
|
declare const CreateHyperliquidMetadata: z.ZodObject<{
|
|
12
12
|
agentWalletAddress: z.ZodString;
|
|
13
13
|
isSubaccount: z.ZodBoolean;
|
|
14
|
+
mainAccountAddress: z.ZodString;
|
|
14
15
|
}, z.core.$strip>;
|
|
15
16
|
declare const CreateBinanceCredentials: z.ZodObject<{
|
|
16
17
|
read: z.ZodObject<{
|
|
@@ -50,6 +51,7 @@ export declare const CreateTradeAccount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
50
51
|
metadata: z.ZodObject<{
|
|
51
52
|
agentWalletAddress: z.ZodString;
|
|
52
53
|
isSubaccount: z.ZodBoolean;
|
|
54
|
+
mainAccountAddress: z.ZodString;
|
|
53
55
|
}, z.core.$strip>;
|
|
54
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
55
57
|
connector: z.ZodLiteral<"binance">;
|
|
@@ -95,6 +97,7 @@ export declare const UpdateTradeAccount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
95
97
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
96
98
|
agentWalletAddress: z.ZodString;
|
|
97
99
|
isSubaccount: z.ZodBoolean;
|
|
100
|
+
mainAccountAddress: z.ZodString;
|
|
98
101
|
}, z.core.$strip>>;
|
|
99
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
100
103
|
connector: z.ZodLiteral<"binance">;
|
|
@@ -5,7 +5,8 @@ const CreateHyperliquidCredentials = z.object({
|
|
|
5
5
|
});
|
|
6
6
|
const CreateHyperliquidMetadata = z.object({
|
|
7
7
|
agentWalletAddress: z.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address"),
|
|
8
|
-
isSubaccount: z.boolean()
|
|
8
|
+
isSubaccount: z.boolean(),
|
|
9
|
+
mainAccountAddress: z.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address")
|
|
9
10
|
});
|
|
10
11
|
const BinanceApiKeyPair = z.object({
|
|
11
12
|
api_key: z.string().min(1, "API key is required"),
|
|
@@ -8,11 +8,13 @@ export declare const TradeAccountResponse: z.ZodObject<{
|
|
|
8
8
|
binance: "binance";
|
|
9
9
|
bybit: "bybit";
|
|
10
10
|
okx: "okx";
|
|
11
|
+
lighter: "lighter";
|
|
11
12
|
}>;
|
|
12
13
|
exchangeIdentifier: z.ZodString;
|
|
13
14
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
14
15
|
agentWalletAddress: z.ZodString;
|
|
15
16
|
isSubaccount: z.ZodBoolean;
|
|
17
|
+
mainAccountAddress: z.ZodString;
|
|
16
18
|
}, z.core.$strip>]>>;
|
|
17
19
|
createdAt: z.ZodString;
|
|
18
20
|
updatedAt: z.ZodString;
|
|
@@ -29,11 +31,13 @@ export declare const TradeAccountListResponse: z.ZodObject<{
|
|
|
29
31
|
binance: "binance";
|
|
30
32
|
bybit: "bybit";
|
|
31
33
|
okx: "okx";
|
|
34
|
+
lighter: "lighter";
|
|
32
35
|
}>;
|
|
33
36
|
exchangeIdentifier: z.ZodString;
|
|
34
37
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
35
38
|
agentWalletAddress: z.ZodString;
|
|
36
39
|
isSubaccount: z.ZodBoolean;
|
|
40
|
+
mainAccountAddress: z.ZodString;
|
|
37
41
|
}, z.core.$strip>]>>;
|
|
38
42
|
createdAt: z.ZodString;
|
|
39
43
|
updatedAt: z.ZodString;
|
|
@@ -29,6 +29,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
29
29
|
binance: "binance";
|
|
30
30
|
bybit: "bybit";
|
|
31
31
|
okx: "okx";
|
|
32
|
+
lighter: "lighter";
|
|
32
33
|
}>;
|
|
33
34
|
status: z.ZodEnum<{
|
|
34
35
|
CANCELLED: "CANCELLED";
|
|
@@ -53,6 +54,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
53
54
|
binance: "binance";
|
|
54
55
|
bybit: "bybit";
|
|
55
56
|
okx: "okx";
|
|
57
|
+
lighter: "lighter";
|
|
56
58
|
}>;
|
|
57
59
|
side: z.ZodEnum<{
|
|
58
60
|
BUY: "BUY";
|
|
@@ -80,6 +82,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
80
82
|
binance: "binance";
|
|
81
83
|
bybit: "bybit";
|
|
82
84
|
okx: "okx";
|
|
85
|
+
lighter: "lighter";
|
|
83
86
|
}>;
|
|
84
87
|
status: z.ZodEnum<{
|
|
85
88
|
CANCELLED: "CANCELLED";
|
|
@@ -104,6 +107,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
104
107
|
binance: "binance";
|
|
105
108
|
bybit: "bybit";
|
|
106
109
|
okx: "okx";
|
|
110
|
+
lighter: "lighter";
|
|
107
111
|
}>;
|
|
108
112
|
side: z.ZodEnum<{
|
|
109
113
|
BUY: "BUY";
|
|
@@ -227,6 +231,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
227
231
|
binance: "binance";
|
|
228
232
|
bybit: "bybit";
|
|
229
233
|
okx: "okx";
|
|
234
|
+
lighter: "lighter";
|
|
230
235
|
}>;
|
|
231
236
|
status: z.ZodEnum<{
|
|
232
237
|
CANCELLED: "CANCELLED";
|
|
@@ -251,6 +256,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
251
256
|
binance: "binance";
|
|
252
257
|
bybit: "bybit";
|
|
253
258
|
okx: "okx";
|
|
259
|
+
lighter: "lighter";
|
|
254
260
|
}>;
|
|
255
261
|
side: z.ZodEnum<{
|
|
256
262
|
BUY: "BUY";
|
|
@@ -419,6 +425,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
419
425
|
binance: "binance";
|
|
420
426
|
bybit: "bybit";
|
|
421
427
|
okx: "okx";
|
|
428
|
+
lighter: "lighter";
|
|
422
429
|
}>;
|
|
423
430
|
status: z.ZodEnum<{
|
|
424
431
|
CANCELLED: "CANCELLED";
|
|
@@ -443,6 +450,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
443
450
|
binance: "binance";
|
|
444
451
|
bybit: "bybit";
|
|
445
452
|
okx: "okx";
|
|
453
|
+
lighter: "lighter";
|
|
446
454
|
}>;
|
|
447
455
|
side: z.ZodEnum<{
|
|
448
456
|
BUY: "BUY";
|
|
@@ -586,6 +594,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
586
594
|
binance: "binance";
|
|
587
595
|
bybit: "bybit";
|
|
588
596
|
okx: "okx";
|
|
597
|
+
lighter: "lighter";
|
|
589
598
|
}>;
|
|
590
599
|
status: z.ZodEnum<{
|
|
591
600
|
CANCELLED: "CANCELLED";
|
|
@@ -610,6 +619,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
610
619
|
binance: "binance";
|
|
611
620
|
bybit: "bybit";
|
|
612
621
|
okx: "okx";
|
|
622
|
+
lighter: "lighter";
|
|
613
623
|
}>;
|
|
614
624
|
side: z.ZodEnum<{
|
|
615
625
|
BUY: "BUY";
|
|
@@ -732,6 +742,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
732
742
|
binance: "binance";
|
|
733
743
|
bybit: "bybit";
|
|
734
744
|
okx: "okx";
|
|
745
|
+
lighter: "lighter";
|
|
735
746
|
}>;
|
|
736
747
|
status: z.ZodEnum<{
|
|
737
748
|
CANCELLED: "CANCELLED";
|
|
@@ -756,6 +767,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
756
767
|
binance: "binance";
|
|
757
768
|
bybit: "bybit";
|
|
758
769
|
okx: "okx";
|
|
770
|
+
lighter: "lighter";
|
|
759
771
|
}>;
|
|
760
772
|
side: z.ZodEnum<{
|
|
761
773
|
BUY: "BUY";
|
|
@@ -923,6 +935,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
923
935
|
binance: "binance";
|
|
924
936
|
bybit: "bybit";
|
|
925
937
|
okx: "okx";
|
|
938
|
+
lighter: "lighter";
|
|
926
939
|
}>;
|
|
927
940
|
status: z.ZodEnum<{
|
|
928
941
|
CANCELLED: "CANCELLED";
|
|
@@ -947,6 +960,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
947
960
|
binance: "binance";
|
|
948
961
|
bybit: "bybit";
|
|
949
962
|
okx: "okx";
|
|
963
|
+
lighter: "lighter";
|
|
950
964
|
}>;
|
|
951
965
|
side: z.ZodEnum<{
|
|
952
966
|
BUY: "BUY";
|
|
@@ -1090,6 +1104,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1090
1104
|
binance: "binance";
|
|
1091
1105
|
bybit: "bybit";
|
|
1092
1106
|
okx: "okx";
|
|
1107
|
+
lighter: "lighter";
|
|
1093
1108
|
}>;
|
|
1094
1109
|
status: z.ZodEnum<{
|
|
1095
1110
|
CANCELLED: "CANCELLED";
|
|
@@ -1114,6 +1129,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1114
1129
|
binance: "binance";
|
|
1115
1130
|
bybit: "bybit";
|
|
1116
1131
|
okx: "okx";
|
|
1132
|
+
lighter: "lighter";
|
|
1117
1133
|
}>;
|
|
1118
1134
|
side: z.ZodEnum<{
|
|
1119
1135
|
BUY: "BUY";
|
|
@@ -1236,6 +1252,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1236
1252
|
binance: "binance";
|
|
1237
1253
|
bybit: "bybit";
|
|
1238
1254
|
okx: "okx";
|
|
1255
|
+
lighter: "lighter";
|
|
1239
1256
|
}>;
|
|
1240
1257
|
status: z.ZodEnum<{
|
|
1241
1258
|
CANCELLED: "CANCELLED";
|
|
@@ -1260,6 +1277,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1260
1277
|
binance: "binance";
|
|
1261
1278
|
bybit: "bybit";
|
|
1262
1279
|
okx: "okx";
|
|
1280
|
+
lighter: "lighter";
|
|
1263
1281
|
}>;
|
|
1264
1282
|
side: z.ZodEnum<{
|
|
1265
1283
|
BUY: "BUY";
|
|
@@ -1427,6 +1445,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1427
1445
|
binance: "binance";
|
|
1428
1446
|
bybit: "bybit";
|
|
1429
1447
|
okx: "okx";
|
|
1448
|
+
lighter: "lighter";
|
|
1430
1449
|
}>;
|
|
1431
1450
|
status: z.ZodEnum<{
|
|
1432
1451
|
CANCELLED: "CANCELLED";
|
|
@@ -1451,6 +1470,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1451
1470
|
binance: "binance";
|
|
1452
1471
|
bybit: "bybit";
|
|
1453
1472
|
okx: "okx";
|
|
1473
|
+
lighter: "lighter";
|
|
1454
1474
|
}>;
|
|
1455
1475
|
side: z.ZodEnum<{
|
|
1456
1476
|
BUY: "BUY";
|
|
@@ -7,6 +7,7 @@ export declare const TriggerListParams: z.ZodObject<{
|
|
|
7
7
|
binance: "binance";
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
|
+
lighter: "lighter";
|
|
10
11
|
}>>;
|
|
11
12
|
status: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("CANCELLED" | "ACTIVE" | "COMPLETED")[] & any[]) | undefined, ("CANCELLED" | "ACTIVE" | "COMPLETED")[]>, z.ZodArray<z.ZodEnum<{
|
|
12
13
|
CANCELLED: "CANCELLED";
|
|
@@ -10,6 +10,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
10
10
|
binance: "binance";
|
|
11
11
|
bybit: "bybit";
|
|
12
12
|
okx: "okx";
|
|
13
|
+
lighter: "lighter";
|
|
13
14
|
}>;
|
|
14
15
|
status: z.ZodEnum<{
|
|
15
16
|
CANCELLED: "CANCELLED";
|
|
@@ -34,6 +35,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
34
35
|
binance: "binance";
|
|
35
36
|
bybit: "bybit";
|
|
36
37
|
okx: "okx";
|
|
38
|
+
lighter: "lighter";
|
|
37
39
|
}>;
|
|
38
40
|
side: z.ZodEnum<{
|
|
39
41
|
BUY: "BUY";
|
|
@@ -156,6 +158,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
156
158
|
binance: "binance";
|
|
157
159
|
bybit: "bybit";
|
|
158
160
|
okx: "okx";
|
|
161
|
+
lighter: "lighter";
|
|
159
162
|
}>;
|
|
160
163
|
status: z.ZodEnum<{
|
|
161
164
|
CANCELLED: "CANCELLED";
|
|
@@ -180,6 +183,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
180
183
|
binance: "binance";
|
|
181
184
|
bybit: "bybit";
|
|
182
185
|
okx: "okx";
|
|
186
|
+
lighter: "lighter";
|
|
183
187
|
}>;
|
|
184
188
|
side: z.ZodEnum<{
|
|
185
189
|
BUY: "BUY";
|
|
@@ -347,6 +351,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
347
351
|
binance: "binance";
|
|
348
352
|
bybit: "bybit";
|
|
349
353
|
okx: "okx";
|
|
354
|
+
lighter: "lighter";
|
|
350
355
|
}>;
|
|
351
356
|
status: z.ZodEnum<{
|
|
352
357
|
CANCELLED: "CANCELLED";
|
|
@@ -371,6 +376,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
371
376
|
binance: "binance";
|
|
372
377
|
bybit: "bybit";
|
|
373
378
|
okx: "okx";
|
|
379
|
+
lighter: "lighter";
|
|
374
380
|
}>;
|
|
375
381
|
side: z.ZodEnum<{
|
|
376
382
|
BUY: "BUY";
|
|
@@ -517,6 +523,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
517
523
|
binance: "binance";
|
|
518
524
|
bybit: "bybit";
|
|
519
525
|
okx: "okx";
|
|
526
|
+
lighter: "lighter";
|
|
520
527
|
}>;
|
|
521
528
|
status: z.ZodEnum<{
|
|
522
529
|
CANCELLED: "CANCELLED";
|
|
@@ -541,6 +548,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
541
548
|
binance: "binance";
|
|
542
549
|
bybit: "bybit";
|
|
543
550
|
okx: "okx";
|
|
551
|
+
lighter: "lighter";
|
|
544
552
|
}>;
|
|
545
553
|
side: z.ZodEnum<{
|
|
546
554
|
BUY: "BUY";
|
|
@@ -663,6 +671,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
663
671
|
binance: "binance";
|
|
664
672
|
bybit: "bybit";
|
|
665
673
|
okx: "okx";
|
|
674
|
+
lighter: "lighter";
|
|
666
675
|
}>;
|
|
667
676
|
status: z.ZodEnum<{
|
|
668
677
|
CANCELLED: "CANCELLED";
|
|
@@ -687,6 +696,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
687
696
|
binance: "binance";
|
|
688
697
|
bybit: "bybit";
|
|
689
698
|
okx: "okx";
|
|
699
|
+
lighter: "lighter";
|
|
690
700
|
}>;
|
|
691
701
|
side: z.ZodEnum<{
|
|
692
702
|
BUY: "BUY";
|
|
@@ -854,6 +864,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
854
864
|
binance: "binance";
|
|
855
865
|
bybit: "bybit";
|
|
856
866
|
okx: "okx";
|
|
867
|
+
lighter: "lighter";
|
|
857
868
|
}>;
|
|
858
869
|
status: z.ZodEnum<{
|
|
859
870
|
CANCELLED: "CANCELLED";
|
|
@@ -878,6 +889,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
878
889
|
binance: "binance";
|
|
879
890
|
bybit: "bybit";
|
|
880
891
|
okx: "okx";
|
|
892
|
+
lighter: "lighter";
|
|
881
893
|
}>;
|
|
882
894
|
side: z.ZodEnum<{
|
|
883
895
|
BUY: "BUY";
|