@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.
Files changed (55) hide show
  1. package/dist/bundle.d.ts +1 -0
  2. package/dist/bundle.js +1 -0
  3. package/dist/connector/index.d.ts +2 -0
  4. package/dist/connector/index.js +2 -1
  5. package/dist/execution/entities.d.ts +26 -0
  6. package/dist/execution/queries.d.ts +1 -0
  7. package/dist/execution/responses.d.ts +16 -0
  8. package/dist/fee/entities.d.ts +1 -0
  9. package/dist/fee/queries.d.ts +1 -0
  10. package/dist/fill/entities.d.ts +1 -0
  11. package/dist/fill/queries.d.ts +1 -0
  12. package/dist/fill/responses.d.ts +2 -0
  13. package/dist/funding/queries.d.ts +1 -0
  14. package/dist/instrument/entities.d.ts +1 -0
  15. package/dist/instrument/queries.d.ts +1 -0
  16. package/dist/instrument/responses.d.ts +1 -0
  17. package/dist/ladder/entities.d.ts +16 -0
  18. package/dist/ladder/queries.d.ts +1 -0
  19. package/dist/ladder/responses.d.ts +48 -0
  20. package/dist/market/entities.d.ts +2 -0
  21. package/dist/market/payloads.d.ts +1 -0
  22. package/dist/market/queries.d.ts +2 -0
  23. package/dist/market/responses.d.ts +2 -0
  24. package/dist/notification/entities.d.ts +24 -0
  25. package/dist/notification/responses.d.ts +12 -0
  26. package/dist/order/entities.d.ts +2 -0
  27. package/dist/position/entities.d.ts +123 -0
  28. package/dist/position/entities.js +38 -1
  29. package/dist/position/queries.d.ts +29 -0
  30. package/dist/position/queries.js +12 -1
  31. package/dist/position/responses.d.ts +96 -0
  32. package/dist/position/responses.js +11 -2
  33. package/dist/price/queries.d.ts +1 -0
  34. package/dist/schedule/entities.d.ts +10 -0
  35. package/dist/schedule/queries.d.ts +1 -0
  36. package/dist/schedule/responses.d.ts +8 -0
  37. package/dist/statistics/entities.d.ts +1 -0
  38. package/dist/statistics/queries.d.ts +5 -1
  39. package/dist/statistics/responses.d.ts +1 -0
  40. package/dist/sync/payloads.d.ts +13 -0
  41. package/dist/tca/responses.d.ts +10 -0
  42. package/dist/trade/entities.d.ts +3 -0
  43. package/dist/trade/responses.d.ts +42 -0
  44. package/dist/trade-accounts/entities.d.ts +1 -0
  45. package/dist/trade-accounts/payloads.d.ts +21 -0
  46. package/dist/trade-accounts/payloads.js +10 -2
  47. package/dist/trade-accounts/response.d.ts +42 -0
  48. package/dist/trade-accounts/response.js +5 -1
  49. package/dist/trigger/entities/conditions.d.ts +4 -0
  50. package/dist/trigger/entities/index.d.ts +47 -0
  51. package/dist/trigger/payloads/conditions.d.ts +1 -0
  52. package/dist/trigger/payloads/index.d.ts +6 -0
  53. package/dist/trigger/queries.d.ts +1 -0
  54. package/dist/trigger/responses.d.ts +30 -0
  55. package/package.json +1 -1
@@ -11,6 +11,7 @@ export declare const TriggerListResponse: 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
  CANCELLED: "CANCELLED";
@@ -47,6 +48,7 @@ export declare const TriggerListResponse: z.ZodObject<{
47
48
  bybit: "bybit";
48
49
  okx: "okx";
49
50
  lighter: "lighter";
51
+ lighter_rhc: "lighter_rhc";
50
52
  }>;
51
53
  side: z.ZodEnum<{
52
54
  BUY: "BUY";
@@ -139,6 +141,7 @@ export declare const TriggerListResponse: z.ZodObject<{
139
141
  bybit: "bybit";
140
142
  okx: "okx";
141
143
  lighter: "lighter";
144
+ lighter_rhc: "lighter_rhc";
142
145
  }>;
143
146
  symbol: z.ZodString;
144
147
  track: z.ZodEnum<{
@@ -219,6 +222,7 @@ export declare const TriggerListResponse: z.ZodObject<{
219
222
  bybit: "bybit";
220
223
  okx: "okx";
221
224
  lighter: "lighter";
225
+ lighter_rhc: "lighter_rhc";
222
226
  }>;
223
227
  status: z.ZodEnum<{
224
228
  CANCELLED: "CANCELLED";
@@ -255,6 +259,7 @@ export declare const TriggerListResponse: z.ZodObject<{
255
259
  bybit: "bybit";
256
260
  okx: "okx";
257
261
  lighter: "lighter";
262
+ lighter_rhc: "lighter_rhc";
258
263
  }>;
259
264
  side: z.ZodEnum<{
260
265
  BUY: "BUY";
@@ -386,6 +391,7 @@ export declare const TriggerListResponse: z.ZodObject<{
386
391
  bybit: "bybit";
387
392
  okx: "okx";
388
393
  lighter: "lighter";
394
+ lighter_rhc: "lighter_rhc";
389
395
  }>;
390
396
  symbol: z.ZodString;
391
397
  track: z.ZodEnum<{
@@ -473,6 +479,7 @@ export declare const TriggerListResponse: z.ZodObject<{
473
479
  bybit: "bybit";
474
480
  okx: "okx";
475
481
  lighter: "lighter";
482
+ lighter_rhc: "lighter_rhc";
476
483
  }>;
477
484
  status: z.ZodEnum<{
478
485
  CANCELLED: "CANCELLED";
@@ -509,6 +516,7 @@ export declare const TriggerListResponse: z.ZodObject<{
509
516
  bybit: "bybit";
510
517
  okx: "okx";
511
518
  lighter: "lighter";
519
+ lighter_rhc: "lighter_rhc";
512
520
  }>;
513
521
  side: z.ZodEnum<{
514
522
  BUY: "BUY";
@@ -699,6 +707,7 @@ export declare const TriggerListResponse: z.ZodObject<{
699
707
  bybit: "bybit";
700
708
  okx: "okx";
701
709
  lighter: "lighter";
710
+ lighter_rhc: "lighter_rhc";
702
711
  }>;
703
712
  symbol: z.ZodString;
704
713
  track: z.ZodEnum<{
@@ -759,6 +768,7 @@ export declare const TriggerListResponse: z.ZodObject<{
759
768
  bybit: "bybit";
760
769
  okx: "okx";
761
770
  lighter: "lighter";
771
+ lighter_rhc: "lighter_rhc";
762
772
  }>;
763
773
  status: z.ZodEnum<{
764
774
  CANCELLED: "CANCELLED";
@@ -795,6 +805,7 @@ export declare const TriggerListResponse: z.ZodObject<{
795
805
  bybit: "bybit";
796
806
  okx: "okx";
797
807
  lighter: "lighter";
808
+ lighter_rhc: "lighter_rhc";
798
809
  }>;
799
810
  side: z.ZodEnum<{
800
811
  BUY: "BUY";
@@ -927,6 +938,7 @@ export declare const TriggerListResponse: z.ZodObject<{
927
938
  bybit: "bybit";
928
939
  okx: "okx";
929
940
  lighter: "lighter";
941
+ lighter_rhc: "lighter_rhc";
930
942
  }>;
931
943
  symbol: z.ZodString;
932
944
  track: z.ZodEnum<{
@@ -1011,6 +1023,7 @@ export declare const TriggerListResponse: z.ZodObject<{
1011
1023
  bybit: "bybit";
1012
1024
  okx: "okx";
1013
1025
  lighter: "lighter";
1026
+ lighter_rhc: "lighter_rhc";
1014
1027
  }>;
1015
1028
  status: z.ZodEnum<{
1016
1029
  CANCELLED: "CANCELLED";
@@ -1047,6 +1060,7 @@ export declare const TriggerListResponse: z.ZodObject<{
1047
1060
  bybit: "bybit";
1048
1061
  okx: "okx";
1049
1062
  lighter: "lighter";
1063
+ lighter_rhc: "lighter_rhc";
1050
1064
  }>;
1051
1065
  side: z.ZodEnum<{
1052
1066
  BUY: "BUY";
@@ -1238,6 +1252,7 @@ export declare const TriggerListResponse: z.ZodObject<{
1238
1252
  bybit: "bybit";
1239
1253
  okx: "okx";
1240
1254
  lighter: "lighter";
1255
+ lighter_rhc: "lighter_rhc";
1241
1256
  }>;
1242
1257
  symbol: z.ZodString;
1243
1258
  track: z.ZodEnum<{
@@ -1308,6 +1323,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1308
1323
  bybit: "bybit";
1309
1324
  okx: "okx";
1310
1325
  lighter: "lighter";
1326
+ lighter_rhc: "lighter_rhc";
1311
1327
  }>;
1312
1328
  status: z.ZodEnum<{
1313
1329
  CANCELLED: "CANCELLED";
@@ -1344,6 +1360,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1344
1360
  bybit: "bybit";
1345
1361
  okx: "okx";
1346
1362
  lighter: "lighter";
1363
+ lighter_rhc: "lighter_rhc";
1347
1364
  }>;
1348
1365
  side: z.ZodEnum<{
1349
1366
  BUY: "BUY";
@@ -1436,6 +1453,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1436
1453
  bybit: "bybit";
1437
1454
  okx: "okx";
1438
1455
  lighter: "lighter";
1456
+ lighter_rhc: "lighter_rhc";
1439
1457
  }>;
1440
1458
  symbol: z.ZodString;
1441
1459
  track: z.ZodEnum<{
@@ -1516,6 +1534,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1516
1534
  bybit: "bybit";
1517
1535
  okx: "okx";
1518
1536
  lighter: "lighter";
1537
+ lighter_rhc: "lighter_rhc";
1519
1538
  }>;
1520
1539
  status: z.ZodEnum<{
1521
1540
  CANCELLED: "CANCELLED";
@@ -1552,6 +1571,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1552
1571
  bybit: "bybit";
1553
1572
  okx: "okx";
1554
1573
  lighter: "lighter";
1574
+ lighter_rhc: "lighter_rhc";
1555
1575
  }>;
1556
1576
  side: z.ZodEnum<{
1557
1577
  BUY: "BUY";
@@ -1683,6 +1703,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1683
1703
  bybit: "bybit";
1684
1704
  okx: "okx";
1685
1705
  lighter: "lighter";
1706
+ lighter_rhc: "lighter_rhc";
1686
1707
  }>;
1687
1708
  symbol: z.ZodString;
1688
1709
  track: z.ZodEnum<{
@@ -1770,6 +1791,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1770
1791
  bybit: "bybit";
1771
1792
  okx: "okx";
1772
1793
  lighter: "lighter";
1794
+ lighter_rhc: "lighter_rhc";
1773
1795
  }>;
1774
1796
  status: z.ZodEnum<{
1775
1797
  CANCELLED: "CANCELLED";
@@ -1806,6 +1828,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1806
1828
  bybit: "bybit";
1807
1829
  okx: "okx";
1808
1830
  lighter: "lighter";
1831
+ lighter_rhc: "lighter_rhc";
1809
1832
  }>;
1810
1833
  side: z.ZodEnum<{
1811
1834
  BUY: "BUY";
@@ -1996,6 +2019,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
1996
2019
  bybit: "bybit";
1997
2020
  okx: "okx";
1998
2021
  lighter: "lighter";
2022
+ lighter_rhc: "lighter_rhc";
1999
2023
  }>;
2000
2024
  symbol: z.ZodString;
2001
2025
  track: z.ZodEnum<{
@@ -2056,6 +2080,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2056
2080
  bybit: "bybit";
2057
2081
  okx: "okx";
2058
2082
  lighter: "lighter";
2083
+ lighter_rhc: "lighter_rhc";
2059
2084
  }>;
2060
2085
  status: z.ZodEnum<{
2061
2086
  CANCELLED: "CANCELLED";
@@ -2092,6 +2117,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2092
2117
  bybit: "bybit";
2093
2118
  okx: "okx";
2094
2119
  lighter: "lighter";
2120
+ lighter_rhc: "lighter_rhc";
2095
2121
  }>;
2096
2122
  side: z.ZodEnum<{
2097
2123
  BUY: "BUY";
@@ -2224,6 +2250,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2224
2250
  bybit: "bybit";
2225
2251
  okx: "okx";
2226
2252
  lighter: "lighter";
2253
+ lighter_rhc: "lighter_rhc";
2227
2254
  }>;
2228
2255
  symbol: z.ZodString;
2229
2256
  track: z.ZodEnum<{
@@ -2308,6 +2335,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2308
2335
  bybit: "bybit";
2309
2336
  okx: "okx";
2310
2337
  lighter: "lighter";
2338
+ lighter_rhc: "lighter_rhc";
2311
2339
  }>;
2312
2340
  status: z.ZodEnum<{
2313
2341
  CANCELLED: "CANCELLED";
@@ -2344,6 +2372,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2344
2372
  bybit: "bybit";
2345
2373
  okx: "okx";
2346
2374
  lighter: "lighter";
2375
+ lighter_rhc: "lighter_rhc";
2347
2376
  }>;
2348
2377
  side: z.ZodEnum<{
2349
2378
  BUY: "BUY";
@@ -2535,6 +2564,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
2535
2564
  bybit: "bybit";
2536
2565
  okx: "okx";
2537
2566
  lighter: "lighter";
2567
+ lighter_rhc: "lighter_rhc";
2538
2568
  }>;
2539
2569
  symbol: z.ZodString;
2540
2570
  track: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",