@pear-protocol/types 2.0.0 → 2.2.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/api-keys.d.ts +1 -0
- package/dist/auth/api-keys.js +2 -1
- package/dist/auth/entities.d.ts +1 -0
- package/dist/auth/entities.js +2 -1
- package/dist/auth/response.d.ts +2 -0
- 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 +2 -0
- package/dist/fee/entities.js +2 -1
- 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/margin/index.d.ts +2 -0
- package/dist/margin/index.js +2 -0
- package/dist/margin/payloads.d.ts +7 -0
- package/dist/margin/payloads.js +20 -0
- package/dist/margin/response.d.ts +5 -0
- package/dist/margin/response.js +11 -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 +3 -0
- package/dist/position/queries.d.ts +1 -0
- package/dist/position/responses.d.ts +5 -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/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 +5 -0
- package/dist/trade-accounts/entities.js +4 -0
- package/dist/trade-accounts/payloads.d.ts +33 -0
- package/dist/trade-accounts/payloads.js +20 -3
- package/dist/trade-accounts/response.d.ts +143 -0
- package/dist/trade-accounts/response.js +19 -2
- 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/dist/users/entities.d.ts +1 -0
- package/dist/users/entities.js +2 -1
- package/dist/users/response.d.ts +1 -0
- package/package.json +1 -1
|
@@ -60,6 +60,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
60
60
|
bybit: "bybit";
|
|
61
61
|
okx: "okx";
|
|
62
62
|
lighter: "lighter";
|
|
63
|
+
lighter_rhc: "lighter_rhc";
|
|
63
64
|
}>;
|
|
64
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
65
66
|
legs: z.ZodArray<z.ZodObject<{
|
|
@@ -102,6 +103,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
102
103
|
bybit: "bybit";
|
|
103
104
|
okx: "okx";
|
|
104
105
|
lighter: "lighter";
|
|
106
|
+
lighter_rhc: "lighter_rhc";
|
|
105
107
|
}>;
|
|
106
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
109
|
legs: z.ZodArray<z.ZodObject<{
|
|
@@ -140,6 +142,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
140
142
|
bybit: "bybit";
|
|
141
143
|
okx: "okx";
|
|
142
144
|
lighter: "lighter";
|
|
145
|
+
lighter_rhc: "lighter_rhc";
|
|
143
146
|
}>;
|
|
144
147
|
}, z.core.$strip>, z.ZodObject<{
|
|
145
148
|
legs: z.ZodArray<z.ZodObject<{
|
|
@@ -177,6 +180,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
177
180
|
bybit: "bybit";
|
|
178
181
|
okx: "okx";
|
|
179
182
|
lighter: "lighter";
|
|
183
|
+
lighter_rhc: "lighter_rhc";
|
|
180
184
|
}>;
|
|
181
185
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
186
|
legs: z.ZodArray<z.ZodObject<{
|
|
@@ -196,6 +200,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
196
200
|
bybit: "bybit";
|
|
197
201
|
okx: "okx";
|
|
198
202
|
lighter: "lighter";
|
|
203
|
+
lighter_rhc: "lighter_rhc";
|
|
199
204
|
}>;
|
|
200
205
|
discarded: z.ZodArray<z.ZodObject<{
|
|
201
206
|
bracketType: z.ZodEnum<{
|
|
@@ -248,6 +253,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
248
253
|
bybit: "bybit";
|
|
249
254
|
okx: "okx";
|
|
250
255
|
lighter: "lighter";
|
|
256
|
+
lighter_rhc: "lighter_rhc";
|
|
251
257
|
}>;
|
|
252
258
|
weightSource: z.ZodEnum<{
|
|
253
259
|
INITIAL_WEIGHT: "INITIAL_WEIGHT";
|
|
@@ -276,6 +282,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
276
282
|
bybit: "bybit";
|
|
277
283
|
okx: "okx";
|
|
278
284
|
lighter: "lighter";
|
|
285
|
+
lighter_rhc: "lighter_rhc";
|
|
279
286
|
}>;
|
|
280
287
|
weightSource: z.ZodEnum<{
|
|
281
288
|
INITIAL_WEIGHT: "INITIAL_WEIGHT";
|
|
@@ -305,6 +312,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
305
312
|
bybit: "bybit";
|
|
306
313
|
okx: "okx";
|
|
307
314
|
lighter: "lighter";
|
|
315
|
+
lighter_rhc: "lighter_rhc";
|
|
308
316
|
}>;
|
|
309
317
|
weightSource: z.ZodEnum<{
|
|
310
318
|
INITIAL_WEIGHT: "INITIAL_WEIGHT";
|
|
@@ -328,6 +336,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
328
336
|
bybit: "bybit";
|
|
329
337
|
okx: "okx";
|
|
330
338
|
lighter: "lighter";
|
|
339
|
+
lighter_rhc: "lighter_rhc";
|
|
331
340
|
}>;
|
|
332
341
|
type: z.ZodLiteral<"trigger_twap_started">;
|
|
333
342
|
scheduleId: z.ZodUUID;
|
|
@@ -348,6 +357,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
348
357
|
bybit: "bybit";
|
|
349
358
|
okx: "okx";
|
|
350
359
|
lighter: "lighter";
|
|
360
|
+
lighter_rhc: "lighter_rhc";
|
|
351
361
|
}>;
|
|
352
362
|
type: z.ZodLiteral<"trigger_twap_skipped">;
|
|
353
363
|
reason: z.ZodString;
|
|
@@ -368,6 +378,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
368
378
|
bybit: "bybit";
|
|
369
379
|
okx: "okx";
|
|
370
380
|
lighter: "lighter";
|
|
381
|
+
lighter_rhc: "lighter_rhc";
|
|
371
382
|
}>;
|
|
372
383
|
type: z.ZodLiteral<"trigger_twap_failed">;
|
|
373
384
|
scheduleId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -389,6 +400,7 @@ export declare const NotificationListResponse: z.ZodObject<{
|
|
|
389
400
|
bybit: "bybit";
|
|
390
401
|
okx: "okx";
|
|
391
402
|
lighter: "lighter";
|
|
403
|
+
lighter_rhc: "lighter_rhc";
|
|
392
404
|
}>;
|
|
393
405
|
type: z.ZodLiteral<"trigger_twap_position_changed">;
|
|
394
406
|
scheduleId: z.ZodUUID;
|
package/dist/order/entities.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare const MarketOrder: z.ZodObject<{
|
|
|
15
15
|
bybit: "bybit";
|
|
16
16
|
okx: "okx";
|
|
17
17
|
lighter: "lighter";
|
|
18
|
+
lighter_rhc: "lighter_rhc";
|
|
18
19
|
}>;
|
|
19
20
|
status: z.ZodEnum<{
|
|
20
21
|
PENDING: "PENDING";
|
|
@@ -47,6 +48,7 @@ export declare const Order: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
47
48
|
bybit: "bybit";
|
|
48
49
|
okx: "okx";
|
|
49
50
|
lighter: "lighter";
|
|
51
|
+
lighter_rhc: "lighter_rhc";
|
|
50
52
|
}>;
|
|
51
53
|
status: z.ZodEnum<{
|
|
52
54
|
PENDING: "PENDING";
|
|
@@ -67,6 +67,7 @@ export declare const Position: z.ZodObject<{
|
|
|
67
67
|
bybit: "bybit";
|
|
68
68
|
okx: "okx";
|
|
69
69
|
lighter: "lighter";
|
|
70
|
+
lighter_rhc: "lighter_rhc";
|
|
70
71
|
}>;
|
|
71
72
|
status: z.ZodEnum<{
|
|
72
73
|
OPEN: "OPEN";
|
|
@@ -233,6 +234,7 @@ export declare const ClosedPosition: z.ZodObject<{
|
|
|
233
234
|
bybit: "bybit";
|
|
234
235
|
okx: "okx";
|
|
235
236
|
lighter: "lighter";
|
|
237
|
+
lighter_rhc: "lighter_rhc";
|
|
236
238
|
}>;
|
|
237
239
|
status: z.ZodLiteral<"CLOSED">;
|
|
238
240
|
openedAt: z.ZodString;
|
|
@@ -370,6 +372,7 @@ export declare const OpenPosition: z.ZodObject<{
|
|
|
370
372
|
bybit: "bybit";
|
|
371
373
|
okx: "okx";
|
|
372
374
|
lighter: "lighter";
|
|
375
|
+
lighter_rhc: "lighter_rhc";
|
|
373
376
|
}>;
|
|
374
377
|
status: z.ZodLiteral<"OPEN">;
|
|
375
378
|
openedAt: z.ZodString;
|
|
@@ -8,6 +8,7 @@ export declare const PositionListParams: 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[] | (("OPEN" | "CLOSED")[] & any[]) | undefined, ("OPEN" | "CLOSED")[]>, z.ZodArray<z.ZodEnum<{
|
|
13
14
|
OPEN: "OPEN";
|
|
@@ -11,6 +11,7 @@ export declare const PositionListResponse: z.ZodObject<{
|
|
|
11
11
|
bybit: "bybit";
|
|
12
12
|
okx: "okx";
|
|
13
13
|
lighter: "lighter";
|
|
14
|
+
lighter_rhc: "lighter_rhc";
|
|
14
15
|
}>;
|
|
15
16
|
status: z.ZodEnum<{
|
|
16
17
|
OPEN: "OPEN";
|
|
@@ -54,6 +55,7 @@ export declare const OpenPositionLite: z.ZodObject<{
|
|
|
54
55
|
bybit: "bybit";
|
|
55
56
|
okx: "okx";
|
|
56
57
|
lighter: "lighter";
|
|
58
|
+
lighter_rhc: "lighter_rhc";
|
|
57
59
|
}>;
|
|
58
60
|
}, z.core.$strip>;
|
|
59
61
|
export declare const OpenPositionLiteListResponse: z.ZodObject<{
|
|
@@ -74,6 +76,7 @@ export declare const OpenPositionLiteListResponse: z.ZodObject<{
|
|
|
74
76
|
bybit: "bybit";
|
|
75
77
|
okx: "okx";
|
|
76
78
|
lighter: "lighter";
|
|
79
|
+
lighter_rhc: "lighter_rhc";
|
|
77
80
|
}>;
|
|
78
81
|
}, z.core.$strip>>;
|
|
79
82
|
}, z.core.$strip>;
|
|
@@ -98,6 +101,7 @@ export declare const ClosedPositionListResponse: z.ZodObject<{
|
|
|
98
101
|
bybit: "bybit";
|
|
99
102
|
okx: "okx";
|
|
100
103
|
lighter: "lighter";
|
|
104
|
+
lighter_rhc: "lighter_rhc";
|
|
101
105
|
}>;
|
|
102
106
|
status: z.ZodLiteral<"CLOSED">;
|
|
103
107
|
openedAt: z.ZodString;
|
|
@@ -205,6 +209,7 @@ export declare const OpenPositionListResponse: z.ZodObject<{
|
|
|
205
209
|
bybit: "bybit";
|
|
206
210
|
okx: "okx";
|
|
207
211
|
lighter: "lighter";
|
|
212
|
+
lighter_rhc: "lighter_rhc";
|
|
208
213
|
}>;
|
|
209
214
|
status: z.ZodLiteral<"OPEN">;
|
|
210
215
|
openedAt: z.ZodString;
|
package/dist/price/queries.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
45
45
|
bybit: "bybit";
|
|
46
46
|
okx: "okx";
|
|
47
47
|
lighter: "lighter";
|
|
48
|
+
lighter_rhc: "lighter_rhc";
|
|
48
49
|
}>;
|
|
49
50
|
strategy: z.ZodEnum<{
|
|
50
51
|
TWAP: "TWAP";
|
|
@@ -95,6 +96,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
95
96
|
bybit: "bybit";
|
|
96
97
|
okx: "okx";
|
|
97
98
|
lighter: "lighter";
|
|
99
|
+
lighter_rhc: "lighter_rhc";
|
|
98
100
|
}>;
|
|
99
101
|
side: z.ZodEnum<{
|
|
100
102
|
BUY: "BUY";
|
|
@@ -123,6 +125,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
123
125
|
bybit: "bybit";
|
|
124
126
|
okx: "okx";
|
|
125
127
|
lighter: "lighter";
|
|
128
|
+
lighter_rhc: "lighter_rhc";
|
|
126
129
|
}>;
|
|
127
130
|
status: z.ZodEnum<{
|
|
128
131
|
CANCELLED: "CANCELLED";
|
|
@@ -165,6 +168,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
165
168
|
bybit: "bybit";
|
|
166
169
|
okx: "okx";
|
|
167
170
|
lighter: "lighter";
|
|
171
|
+
lighter_rhc: "lighter_rhc";
|
|
168
172
|
}>;
|
|
169
173
|
side: z.ZodEnum<{
|
|
170
174
|
BUY: "BUY";
|
|
@@ -212,6 +216,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
212
216
|
bybit: "bybit";
|
|
213
217
|
okx: "okx";
|
|
214
218
|
lighter: "lighter";
|
|
219
|
+
lighter_rhc: "lighter_rhc";
|
|
215
220
|
}>;
|
|
216
221
|
status: z.ZodEnum<{
|
|
217
222
|
CANCELLED: "CANCELLED";
|
|
@@ -254,6 +259,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
254
259
|
bybit: "bybit";
|
|
255
260
|
okx: "okx";
|
|
256
261
|
lighter: "lighter";
|
|
262
|
+
lighter_rhc: "lighter_rhc";
|
|
257
263
|
}>;
|
|
258
264
|
side: z.ZodEnum<{
|
|
259
265
|
BUY: "BUY";
|
|
@@ -292,6 +298,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
292
298
|
bybit: "bybit";
|
|
293
299
|
okx: "okx";
|
|
294
300
|
lighter: "lighter";
|
|
301
|
+
lighter_rhc: "lighter_rhc";
|
|
295
302
|
}>;
|
|
296
303
|
status: z.ZodEnum<{
|
|
297
304
|
CANCELLED: "CANCELLED";
|
|
@@ -334,6 +341,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
334
341
|
bybit: "bybit";
|
|
335
342
|
okx: "okx";
|
|
336
343
|
lighter: "lighter";
|
|
344
|
+
lighter_rhc: "lighter_rhc";
|
|
337
345
|
}>;
|
|
338
346
|
side: z.ZodEnum<{
|
|
339
347
|
BUY: "BUY";
|
|
@@ -380,6 +388,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
380
388
|
bybit: "bybit";
|
|
381
389
|
okx: "okx";
|
|
382
390
|
lighter: "lighter";
|
|
391
|
+
lighter_rhc: "lighter_rhc";
|
|
383
392
|
}>;
|
|
384
393
|
status: z.ZodEnum<{
|
|
385
394
|
CANCELLED: "CANCELLED";
|
|
@@ -422,6 +431,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
422
431
|
bybit: "bybit";
|
|
423
432
|
okx: "okx";
|
|
424
433
|
lighter: "lighter";
|
|
434
|
+
lighter_rhc: "lighter_rhc";
|
|
425
435
|
}>;
|
|
426
436
|
side: z.ZodEnum<{
|
|
427
437
|
BUY: "BUY";
|
|
@@ -8,6 +8,7 @@ export declare const ScheduleListParams: 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";
|
|
@@ -10,6 +10,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
12
|
lighter: "lighter";
|
|
13
|
+
lighter_rhc: "lighter_rhc";
|
|
13
14
|
}>;
|
|
14
15
|
status: z.ZodEnum<{
|
|
15
16
|
CANCELLED: "CANCELLED";
|
|
@@ -52,6 +53,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
52
53
|
bybit: "bybit";
|
|
53
54
|
okx: "okx";
|
|
54
55
|
lighter: "lighter";
|
|
56
|
+
lighter_rhc: "lighter_rhc";
|
|
55
57
|
}>;
|
|
56
58
|
side: z.ZodEnum<{
|
|
57
59
|
BUY: "BUY";
|
|
@@ -98,6 +100,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
98
100
|
bybit: "bybit";
|
|
99
101
|
okx: "okx";
|
|
100
102
|
lighter: "lighter";
|
|
103
|
+
lighter_rhc: "lighter_rhc";
|
|
101
104
|
}>;
|
|
102
105
|
status: z.ZodEnum<{
|
|
103
106
|
CANCELLED: "CANCELLED";
|
|
@@ -140,6 +143,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
140
143
|
bybit: "bybit";
|
|
141
144
|
okx: "okx";
|
|
142
145
|
lighter: "lighter";
|
|
146
|
+
lighter_rhc: "lighter_rhc";
|
|
143
147
|
}>;
|
|
144
148
|
side: z.ZodEnum<{
|
|
145
149
|
BUY: "BUY";
|
|
@@ -181,6 +185,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
181
185
|
bybit: "bybit";
|
|
182
186
|
okx: "okx";
|
|
183
187
|
lighter: "lighter";
|
|
188
|
+
lighter_rhc: "lighter_rhc";
|
|
184
189
|
}>;
|
|
185
190
|
status: z.ZodEnum<{
|
|
186
191
|
CANCELLED: "CANCELLED";
|
|
@@ -223,6 +228,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
223
228
|
bybit: "bybit";
|
|
224
229
|
okx: "okx";
|
|
225
230
|
lighter: "lighter";
|
|
231
|
+
lighter_rhc: "lighter_rhc";
|
|
226
232
|
}>;
|
|
227
233
|
side: z.ZodEnum<{
|
|
228
234
|
BUY: "BUY";
|
|
@@ -269,6 +275,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
269
275
|
bybit: "bybit";
|
|
270
276
|
okx: "okx";
|
|
271
277
|
lighter: "lighter";
|
|
278
|
+
lighter_rhc: "lighter_rhc";
|
|
272
279
|
}>;
|
|
273
280
|
status: z.ZodEnum<{
|
|
274
281
|
CANCELLED: "CANCELLED";
|
|
@@ -311,6 +318,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
311
318
|
bybit: "bybit";
|
|
312
319
|
okx: "okx";
|
|
313
320
|
lighter: "lighter";
|
|
321
|
+
lighter_rhc: "lighter_rhc";
|
|
314
322
|
}>;
|
|
315
323
|
side: z.ZodEnum<{
|
|
316
324
|
BUY: "BUY";
|
|
@@ -6,6 +6,7 @@ export declare const VolumeStatisticsQueryParams: z.ZodObject<{
|
|
|
6
6
|
bybit: "bybit";
|
|
7
7
|
okx: "okx";
|
|
8
8
|
lighter: "lighter";
|
|
9
|
+
lighter_rhc: "lighter_rhc";
|
|
9
10
|
}>>;
|
|
10
11
|
resolution: z.ZodEnum<{
|
|
11
12
|
"1h": "1h";
|
|
@@ -25,6 +26,7 @@ export declare const OiStatisticsQueryParams: z.ZodObject<{
|
|
|
25
26
|
bybit: "bybit";
|
|
26
27
|
okx: "okx";
|
|
27
28
|
lighter: "lighter";
|
|
29
|
+
lighter_rhc: "lighter_rhc";
|
|
28
30
|
}>>;
|
|
29
31
|
resolution: z.ZodEnum<{
|
|
30
32
|
"1h": "1h";
|
|
@@ -44,6 +46,7 @@ export declare const StatisticsTotalsQueryParams: z.ZodObject<{
|
|
|
44
46
|
bybit: "bybit";
|
|
45
47
|
okx: "okx";
|
|
46
48
|
lighter: "lighter";
|
|
49
|
+
lighter_rhc: "lighter_rhc";
|
|
47
50
|
}>>;
|
|
48
51
|
clientId: z.ZodOptional<z.ZodString>;
|
|
49
52
|
}, z.core.$strip>;
|
|
@@ -59,12 +62,13 @@ export type LeaderboardSortBy = z.infer<typeof LeaderboardSortBy>;
|
|
|
59
62
|
export declare const LEADERBOARD_MAX_LIMIT = 200;
|
|
60
63
|
export declare const LeaderboardQueryParams: z.ZodObject<{
|
|
61
64
|
clientId: z.ZodOptional<z.ZodString>;
|
|
62
|
-
connector: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("hyperliquid" | "binance" | "bybit" | "okx" | "lighter")[] & any[]) | undefined, ("hyperliquid" | "binance" | "bybit" | "okx" | "lighter")[]>, z.ZodArray<z.ZodEnum<{
|
|
65
|
+
connector: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (("hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc")[] & any[]) | undefined, ("hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc")[]>, z.ZodArray<z.ZodEnum<{
|
|
63
66
|
hyperliquid: "hyperliquid";
|
|
64
67
|
binance: "binance";
|
|
65
68
|
bybit: "bybit";
|
|
66
69
|
okx: "okx";
|
|
67
70
|
lighter: "lighter";
|
|
71
|
+
lighter_rhc: "lighter_rhc";
|
|
68
72
|
}>>>>;
|
|
69
73
|
asset: z.ZodOptional<z.ZodPipe<z.ZodTransform<string[] | (string[] & any[]) | undefined, string[]>, z.ZodArray<z.ZodString>>>;
|
|
70
74
|
sortBy: z.ZodDefault<z.ZodEnum<{
|
package/dist/sync/payloads.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const UnknownExternalFill: z.ZodObject<{
|
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
10
|
lighter: "lighter";
|
|
11
|
+
lighter_rhc: "lighter_rhc";
|
|
11
12
|
}>;
|
|
12
13
|
symbol: z.ZodString;
|
|
13
14
|
price: z.ZodString;
|
|
@@ -35,6 +36,7 @@ export declare const ConfirmableExternalFill: z.ZodObject<{
|
|
|
35
36
|
bybit: "bybit";
|
|
36
37
|
okx: "okx";
|
|
37
38
|
lighter: "lighter";
|
|
39
|
+
lighter_rhc: "lighter_rhc";
|
|
38
40
|
}>;
|
|
39
41
|
symbol: z.ZodString;
|
|
40
42
|
quantity: z.ZodString;
|
|
@@ -51,6 +53,7 @@ export declare const ReconcileReplacementExternalFill: z.ZodObject<{
|
|
|
51
53
|
bybit: "bybit";
|
|
52
54
|
okx: "okx";
|
|
53
55
|
lighter: "lighter";
|
|
56
|
+
lighter_rhc: "lighter_rhc";
|
|
54
57
|
}>;
|
|
55
58
|
symbol: z.ZodString;
|
|
56
59
|
price: z.ZodString;
|
|
@@ -78,6 +81,7 @@ export declare const ConfirmFillsRequest: z.ZodRecord<z.ZodUUID, z.ZodTuple<[z.Z
|
|
|
78
81
|
bybit: "bybit";
|
|
79
82
|
okx: "okx";
|
|
80
83
|
lighter: "lighter";
|
|
84
|
+
lighter_rhc: "lighter_rhc";
|
|
81
85
|
}>;
|
|
82
86
|
symbol: z.ZodString;
|
|
83
87
|
quantity: z.ZodString;
|
|
@@ -95,6 +99,7 @@ export declare const ConfirmFillsRequest: z.ZodRecord<z.ZodUUID, z.ZodTuple<[z.Z
|
|
|
95
99
|
bybit: "bybit";
|
|
96
100
|
okx: "okx";
|
|
97
101
|
lighter: "lighter";
|
|
102
|
+
lighter_rhc: "lighter_rhc";
|
|
98
103
|
}>;
|
|
99
104
|
symbol: z.ZodString;
|
|
100
105
|
quantity: z.ZodString;
|
|
@@ -111,6 +116,7 @@ export declare const ReconcileFillsRequest: z.ZodRecord<z.ZodString, z.ZodTuple<
|
|
|
111
116
|
bybit: "bybit";
|
|
112
117
|
okx: "okx";
|
|
113
118
|
lighter: "lighter";
|
|
119
|
+
lighter_rhc: "lighter_rhc";
|
|
114
120
|
}>;
|
|
115
121
|
symbol: z.ZodString;
|
|
116
122
|
price: z.ZodString;
|
|
@@ -135,6 +141,7 @@ export declare const ReconcileFillsRequest: z.ZodRecord<z.ZodString, z.ZodTuple<
|
|
|
135
141
|
bybit: "bybit";
|
|
136
142
|
okx: "okx";
|
|
137
143
|
lighter: "lighter";
|
|
144
|
+
lighter_rhc: "lighter_rhc";
|
|
138
145
|
}>;
|
|
139
146
|
symbol: z.ZodString;
|
|
140
147
|
price: z.ZodString;
|
|
@@ -159,6 +166,7 @@ export declare const ReconcileFillsRequest: z.ZodRecord<z.ZodString, z.ZodTuple<
|
|
|
159
166
|
bybit: "bybit";
|
|
160
167
|
okx: "okx";
|
|
161
168
|
lighter: "lighter";
|
|
169
|
+
lighter_rhc: "lighter_rhc";
|
|
162
170
|
}>;
|
|
163
171
|
symbol: z.ZodString;
|
|
164
172
|
price: z.ZodString;
|
|
@@ -218,6 +226,7 @@ export declare const ApplicableFill: z.ZodObject<{
|
|
|
218
226
|
bybit: "bybit";
|
|
219
227
|
okx: "okx";
|
|
220
228
|
lighter: "lighter";
|
|
229
|
+
lighter_rhc: "lighter_rhc";
|
|
221
230
|
}>;
|
|
222
231
|
symbol: z.ZodString;
|
|
223
232
|
side: z.ZodEnum<{
|
|
@@ -292,6 +301,7 @@ export declare const ApplicablePosition: z.ZodObject<{
|
|
|
292
301
|
bybit: "bybit";
|
|
293
302
|
okx: "okx";
|
|
294
303
|
lighter: "lighter";
|
|
304
|
+
lighter_rhc: "lighter_rhc";
|
|
295
305
|
}>;
|
|
296
306
|
symbol: z.ZodString;
|
|
297
307
|
side: z.ZodEnum<{
|
|
@@ -385,6 +395,7 @@ export declare const CreateApplicablesRequest: z.ZodObject<{
|
|
|
385
395
|
bybit: "bybit";
|
|
386
396
|
okx: "okx";
|
|
387
397
|
lighter: "lighter";
|
|
398
|
+
lighter_rhc: "lighter_rhc";
|
|
388
399
|
}>;
|
|
389
400
|
symbol: z.ZodString;
|
|
390
401
|
side: z.ZodEnum<{
|
|
@@ -446,6 +457,7 @@ export declare const FundingPaymentEntry: z.ZodObject<{
|
|
|
446
457
|
bybit: "bybit";
|
|
447
458
|
okx: "okx";
|
|
448
459
|
lighter: "lighter";
|
|
460
|
+
lighter_rhc: "lighter_rhc";
|
|
449
461
|
}>;
|
|
450
462
|
instrumentId: z.ZodString;
|
|
451
463
|
fundingRate: z.ZodString;
|
|
@@ -466,6 +478,7 @@ export declare const CreateFundingPaymentsRequest: z.ZodObject<{
|
|
|
466
478
|
bybit: "bybit";
|
|
467
479
|
okx: "okx";
|
|
468
480
|
lighter: "lighter";
|
|
481
|
+
lighter_rhc: "lighter_rhc";
|
|
469
482
|
}>;
|
|
470
483
|
instrumentId: z.ZodString;
|
|
471
484
|
fundingRate: z.ZodString;
|
package/dist/tca/responses.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const TcaBenchmarkResponse: z.ZodObject<{
|
|
|
11
11
|
bybit: "bybit";
|
|
12
12
|
okx: "okx";
|
|
13
13
|
lighter: "lighter";
|
|
14
|
+
lighter_rhc: "lighter_rhc";
|
|
14
15
|
}>;
|
|
15
16
|
symbol: z.ZodString;
|
|
16
17
|
side: z.ZodEnum<{
|
|
@@ -43,6 +44,7 @@ export declare const TcaFillMetricResponse: z.ZodObject<{
|
|
|
43
44
|
bybit: "bybit";
|
|
44
45
|
okx: "okx";
|
|
45
46
|
lighter: "lighter";
|
|
47
|
+
lighter_rhc: "lighter_rhc";
|
|
46
48
|
}>;
|
|
47
49
|
symbol: z.ZodString;
|
|
48
50
|
cloid: z.ZodOptional<z.ZodString>;
|
|
@@ -83,6 +85,7 @@ export declare const TcaFillMetricResponse: z.ZodObject<{
|
|
|
83
85
|
bybit: "bybit";
|
|
84
86
|
okx: "okx";
|
|
85
87
|
lighter: "lighter";
|
|
88
|
+
lighter_rhc: "lighter_rhc";
|
|
86
89
|
}>;
|
|
87
90
|
symbol: z.ZodString;
|
|
88
91
|
side: z.ZodEnum<{
|
|
@@ -152,6 +155,7 @@ export declare const TcaExecutionSummaryResponse: z.ZodObject<{
|
|
|
152
155
|
bybit: "bybit";
|
|
153
156
|
okx: "okx";
|
|
154
157
|
lighter: "lighter";
|
|
158
|
+
lighter_rhc: "lighter_rhc";
|
|
155
159
|
}>;
|
|
156
160
|
executionContext: z.ZodOptional<z.ZodObject<{
|
|
157
161
|
intent: z.ZodEnum<{
|
|
@@ -206,6 +210,7 @@ export declare const TcaExecutionResponse: z.ZodObject<{
|
|
|
206
210
|
bybit: "bybit";
|
|
207
211
|
okx: "okx";
|
|
208
212
|
lighter: "lighter";
|
|
213
|
+
lighter_rhc: "lighter_rhc";
|
|
209
214
|
}>;
|
|
210
215
|
executionContext: z.ZodOptional<z.ZodObject<{
|
|
211
216
|
intent: z.ZodEnum<{
|
|
@@ -261,6 +266,7 @@ export declare const TcaExecutionResponse: z.ZodObject<{
|
|
|
261
266
|
bybit: "bybit";
|
|
262
267
|
okx: "okx";
|
|
263
268
|
lighter: "lighter";
|
|
269
|
+
lighter_rhc: "lighter_rhc";
|
|
264
270
|
}>;
|
|
265
271
|
symbol: z.ZodString;
|
|
266
272
|
cloid: z.ZodOptional<z.ZodString>;
|
|
@@ -301,6 +307,7 @@ export declare const TcaExecutionResponse: z.ZodObject<{
|
|
|
301
307
|
bybit: "bybit";
|
|
302
308
|
okx: "okx";
|
|
303
309
|
lighter: "lighter";
|
|
310
|
+
lighter_rhc: "lighter_rhc";
|
|
304
311
|
}>;
|
|
305
312
|
symbol: z.ZodString;
|
|
306
313
|
side: z.ZodEnum<{
|
|
@@ -338,6 +345,7 @@ export declare const TcaPositionResponse: z.ZodObject<{
|
|
|
338
345
|
bybit: "bybit";
|
|
339
346
|
okx: "okx";
|
|
340
347
|
lighter: "lighter";
|
|
348
|
+
lighter_rhc: "lighter_rhc";
|
|
341
349
|
}>;
|
|
342
350
|
symbol: z.ZodString;
|
|
343
351
|
cloid: z.ZodOptional<z.ZodString>;
|
|
@@ -378,6 +386,7 @@ export declare const TcaPositionResponse: z.ZodObject<{
|
|
|
378
386
|
bybit: "bybit";
|
|
379
387
|
okx: "okx";
|
|
380
388
|
lighter: "lighter";
|
|
389
|
+
lighter_rhc: "lighter_rhc";
|
|
381
390
|
}>;
|
|
382
391
|
symbol: z.ZodString;
|
|
383
392
|
side: z.ZodEnum<{
|
|
@@ -424,6 +433,7 @@ export declare const TcaSummaryResponse: z.ZodObject<{
|
|
|
424
433
|
bybit: "bybit";
|
|
425
434
|
okx: "okx";
|
|
426
435
|
lighter: "lighter";
|
|
436
|
+
lighter_rhc: "lighter_rhc";
|
|
427
437
|
}>;
|
|
428
438
|
executionContext: z.ZodOptional<z.ZodObject<{
|
|
429
439
|
intent: z.ZodEnum<{
|
package/dist/trade/entities.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export declare const TradeFill: z.ZodObject<{
|
|
|
84
84
|
bybit: "bybit";
|
|
85
85
|
okx: "okx";
|
|
86
86
|
lighter: "lighter";
|
|
87
|
+
lighter_rhc: "lighter_rhc";
|
|
87
88
|
}>;
|
|
88
89
|
side: z.ZodEnum<{
|
|
89
90
|
BUY: "BUY";
|
|
@@ -182,6 +183,7 @@ export declare const TradeGroup: z.ZodObject<{
|
|
|
182
183
|
bybit: "bybit";
|
|
183
184
|
okx: "okx";
|
|
184
185
|
lighter: "lighter";
|
|
186
|
+
lighter_rhc: "lighter_rhc";
|
|
185
187
|
}>;
|
|
186
188
|
at: z.ZodISODateTime;
|
|
187
189
|
netCashflow: z.ZodPipe<z.ZodString, z.ZodTransform<`-${string}` | `+${string}`, string>>;
|
|
@@ -195,6 +197,7 @@ export declare const TradeGroup: z.ZodObject<{
|
|
|
195
197
|
bybit: "bybit";
|
|
196
198
|
okx: "okx";
|
|
197
199
|
lighter: "lighter";
|
|
200
|
+
lighter_rhc: "lighter_rhc";
|
|
198
201
|
}>;
|
|
199
202
|
side: z.ZodEnum<{
|
|
200
203
|
BUY: "BUY";
|