@pear-protocol/types 1.5.0 → 1.6.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/fill/entities.d.ts +1 -0
- package/dist/fill/entities.js +8 -16
- package/dist/fill/responses.d.ts +2 -0
- package/dist/ladder/entities.d.ts +3 -0
- package/dist/ladder/responses.d.ts +9 -0
- package/dist/position/entities.d.ts +29 -0
- package/dist/position/entities.js +5 -7
- package/dist/position/responses.d.ts +18 -2
- package/dist/position/responses.js +4 -2
- package/dist/rebalance/entities.d.ts +64 -0
- package/dist/rebalance/entities.js +33 -0
- package/dist/rebalance/index.d.ts +2 -0
- package/dist/rebalance/index.js +2 -0
- package/dist/rebalance/payloads.d.ts +48 -2
- package/dist/rebalance/payloads.js +24 -2
- package/dist/rebalance/queries.d.ts +22 -0
- package/dist/rebalance/queries.js +20 -0
- package/dist/rebalance/responses.d.ts +82 -5
- package/dist/rebalance/responses.js +22 -4
- package/dist/schedule/entities.d.ts +5 -0
- package/dist/schedule/responses.d.ts +4 -0
- package/dist/sync/payloads.d.ts +251 -71
- package/dist/sync/payloads.js +84 -32
- package/dist/sync/responses.d.ts +7 -4
- package/dist/sync/responses.js +9 -4
- package/dist/trigger/entities/index.d.ts +10 -0
- package/dist/trigger/responses.d.ts +6 -0
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
61
61
|
}>;
|
|
62
62
|
reduceOnly: z.ZodBoolean;
|
|
63
63
|
isExternal: z.ZodBoolean;
|
|
64
|
+
synthetic: z.ZodBoolean;
|
|
64
65
|
quantity: z.ZodString;
|
|
65
66
|
price: z.ZodString;
|
|
66
67
|
usd: z.ZodString;
|
|
@@ -141,6 +142,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
141
142
|
}>;
|
|
142
143
|
reduceOnly: z.ZodBoolean;
|
|
143
144
|
isExternal: z.ZodBoolean;
|
|
145
|
+
synthetic: z.ZodBoolean;
|
|
144
146
|
quantity: z.ZodString;
|
|
145
147
|
price: z.ZodString;
|
|
146
148
|
usd: z.ZodString;
|
|
@@ -341,6 +343,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
341
343
|
}>;
|
|
342
344
|
reduceOnly: z.ZodBoolean;
|
|
343
345
|
isExternal: z.ZodBoolean;
|
|
346
|
+
synthetic: z.ZodBoolean;
|
|
344
347
|
quantity: z.ZodString;
|
|
345
348
|
price: z.ZodString;
|
|
346
349
|
usd: z.ZodString;
|
|
@@ -587,6 +590,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
587
590
|
}>;
|
|
588
591
|
reduceOnly: z.ZodBoolean;
|
|
589
592
|
isExternal: z.ZodBoolean;
|
|
593
|
+
synthetic: z.ZodBoolean;
|
|
590
594
|
quantity: z.ZodString;
|
|
591
595
|
price: z.ZodString;
|
|
592
596
|
usd: z.ZodString;
|
|
@@ -867,6 +871,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
867
871
|
}>;
|
|
868
872
|
reduceOnly: z.ZodBoolean;
|
|
869
873
|
isExternal: z.ZodBoolean;
|
|
874
|
+
synthetic: z.ZodBoolean;
|
|
870
875
|
quantity: z.ZodString;
|
|
871
876
|
price: z.ZodString;
|
|
872
877
|
usd: z.ZodString;
|
|
@@ -1066,6 +1071,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1066
1071
|
}>;
|
|
1067
1072
|
reduceOnly: z.ZodBoolean;
|
|
1068
1073
|
isExternal: z.ZodBoolean;
|
|
1074
|
+
synthetic: z.ZodBoolean;
|
|
1069
1075
|
quantity: z.ZodString;
|
|
1070
1076
|
price: z.ZodString;
|
|
1071
1077
|
usd: z.ZodString;
|
|
@@ -1311,6 +1317,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1311
1317
|
}>;
|
|
1312
1318
|
reduceOnly: z.ZodBoolean;
|
|
1313
1319
|
isExternal: z.ZodBoolean;
|
|
1320
|
+
synthetic: z.ZodBoolean;
|
|
1314
1321
|
quantity: z.ZodString;
|
|
1315
1322
|
price: z.ZodString;
|
|
1316
1323
|
usd: z.ZodString;
|
|
@@ -1591,6 +1598,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1591
1598
|
}>;
|
|
1592
1599
|
reduceOnly: z.ZodBoolean;
|
|
1593
1600
|
isExternal: z.ZodBoolean;
|
|
1601
|
+
synthetic: z.ZodBoolean;
|
|
1594
1602
|
quantity: z.ZodString;
|
|
1595
1603
|
price: z.ZodString;
|
|
1596
1604
|
usd: z.ZodString;
|
|
@@ -1790,6 +1798,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1790
1798
|
}>;
|
|
1791
1799
|
reduceOnly: z.ZodBoolean;
|
|
1792
1800
|
isExternal: z.ZodBoolean;
|
|
1801
|
+
synthetic: z.ZodBoolean;
|
|
1793
1802
|
quantity: z.ZodString;
|
|
1794
1803
|
price: z.ZodString;
|
|
1795
1804
|
usd: z.ZodString;
|
|
@@ -2035,6 +2044,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
2035
2044
|
}>;
|
|
2036
2045
|
reduceOnly: z.ZodBoolean;
|
|
2037
2046
|
isExternal: z.ZodBoolean;
|
|
2047
|
+
synthetic: z.ZodBoolean;
|
|
2038
2048
|
quantity: z.ZodString;
|
|
2039
2049
|
price: z.ZodString;
|
|
2040
2050
|
usd: z.ZodString;
|
|
@@ -53,6 +53,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
53
53
|
}>;
|
|
54
54
|
reduceOnly: z.ZodBoolean;
|
|
55
55
|
isExternal: z.ZodBoolean;
|
|
56
|
+
synthetic: z.ZodBoolean;
|
|
56
57
|
quantity: z.ZodString;
|
|
57
58
|
price: z.ZodString;
|
|
58
59
|
usd: z.ZodString;
|
|
@@ -252,6 +253,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
252
253
|
}>;
|
|
253
254
|
reduceOnly: z.ZodBoolean;
|
|
254
255
|
isExternal: z.ZodBoolean;
|
|
256
|
+
synthetic: z.ZodBoolean;
|
|
255
257
|
quantity: z.ZodString;
|
|
256
258
|
price: z.ZodString;
|
|
257
259
|
usd: z.ZodString;
|
|
@@ -497,6 +499,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
497
499
|
}>;
|
|
498
500
|
reduceOnly: z.ZodBoolean;
|
|
499
501
|
isExternal: z.ZodBoolean;
|
|
502
|
+
synthetic: z.ZodBoolean;
|
|
500
503
|
quantity: z.ZodString;
|
|
501
504
|
price: z.ZodString;
|
|
502
505
|
usd: z.ZodString;
|
|
@@ -780,6 +783,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
780
783
|
}>;
|
|
781
784
|
reduceOnly: z.ZodBoolean;
|
|
782
785
|
isExternal: z.ZodBoolean;
|
|
786
|
+
synthetic: z.ZodBoolean;
|
|
783
787
|
quantity: z.ZodString;
|
|
784
788
|
price: z.ZodString;
|
|
785
789
|
usd: z.ZodString;
|
|
@@ -979,6 +983,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
979
983
|
}>;
|
|
980
984
|
reduceOnly: z.ZodBoolean;
|
|
981
985
|
isExternal: z.ZodBoolean;
|
|
986
|
+
synthetic: z.ZodBoolean;
|
|
982
987
|
quantity: z.ZodString;
|
|
983
988
|
price: z.ZodString;
|
|
984
989
|
usd: z.ZodString;
|
|
@@ -1224,6 +1229,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
1224
1229
|
}>;
|
|
1225
1230
|
reduceOnly: z.ZodBoolean;
|
|
1226
1231
|
isExternal: z.ZodBoolean;
|
|
1232
|
+
synthetic: z.ZodBoolean;
|
|
1227
1233
|
quantity: z.ZodString;
|
|
1228
1234
|
price: z.ZodString;
|
|
1229
1235
|
usd: z.ZodString;
|