@polyester/sdk 0.32.0 → 0.32.1-devnet-20261102140938

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 (25) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/services/candles/candles.schemas.d.ts +10 -10
  3. package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
  4. package/dist/services/lifecycle/lifecycle.schemas.d.ts +97 -97
  5. package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
  6. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  7. package/dist/services/orders/orders-batch.schemas.d.ts +216 -6
  8. package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
  9. package/dist/services/orders/orders-input.schemas.d.ts +408 -2
  10. package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
  11. package/dist/services/orders/orders-input.schemas.js +3 -3
  12. package/dist/services/orders/orders-input.schemas.js.map +1 -1
  13. package/dist/services/orders/orders-modify.schemas.d.ts +31 -0
  14. package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
  15. package/dist/services/orders/orders-output.schemas.d.ts +6 -6
  16. package/dist/services/orders/orders-risk.schemas.d.ts +21 -0
  17. package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
  18. package/dist/services/orders/orders-risk.schemas.js +22 -7
  19. package/dist/services/orders/orders-risk.schemas.js.map +1 -1
  20. package/dist/services/rewards/rewards.schemas.d.ts +3 -3
  21. package/dist/services/subaccounts/subaccounts.schemas.d.ts +2 -2
  22. package/dist/services/trades/trades.schemas.d.ts +1 -1
  23. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  24. package/dist/services/triggers/triggers-output.schemas.d.ts +3 -3
  25. package/package.json +1 -1
@@ -273,6 +273,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
273
273
  readonly kind: v.LiteralSchema<"none", undefined>;
274
274
  }, undefined>], undefined>, undefined>;
275
275
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
276
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
276
277
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
277
278
  }, undefined>, v.TransformAction<{
278
279
  trailingDistance: {
@@ -292,6 +293,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
292
293
  kind: "none";
293
294
  } | undefined;
294
295
  activationPrice?: string | undefined;
296
+ limitPrice?: string | undefined;
295
297
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
296
298
  }, {
297
299
  trailingDistance: {
@@ -315,6 +317,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
315
317
  value?: undefined;
316
318
  };
317
319
  activationPriceTicks: bigint;
320
+ limitPriceTicks: bigint;
318
321
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
319
322
  }>]>;
320
323
  readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -409,6 +412,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
409
412
  readonly kind: v.LiteralSchema<"none", undefined>;
410
413
  }, undefined>], undefined>, undefined>;
411
414
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
415
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
412
416
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
413
417
  }, undefined>, v.TransformAction<{
414
418
  trailingDistance: {
@@ -428,6 +432,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
428
432
  kind: "none";
429
433
  } | undefined;
430
434
  activationPrice?: string | undefined;
435
+ limitPrice?: string | undefined;
431
436
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
432
437
  }, {
433
438
  trailingDistance: {
@@ -451,6 +456,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
451
456
  value?: undefined;
452
457
  };
453
458
  activationPriceTicks: bigint;
459
+ limitPriceTicks: bigint;
454
460
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
455
461
  }>]>;
456
462
  readonly oco: v.OptionalSchema<v.LiteralSchema<false, "oco requires takeProfit and exactly one stop leg">, undefined>;
@@ -520,6 +526,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
520
526
  value?: undefined;
521
527
  };
522
528
  activationPriceTicks: bigint;
529
+ limitPriceTicks: bigint;
523
530
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
524
531
  };
525
532
  oco?: boolean | undefined;
@@ -582,6 +589,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
582
589
  value?: undefined;
583
590
  };
584
591
  activationPriceTicks: bigint;
592
+ limitPriceTicks: bigint;
585
593
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
586
594
  };
587
595
  oco?: false | undefined;
@@ -638,6 +646,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
638
646
  value?: undefined;
639
647
  };
640
648
  activationPriceTicks: bigint;
649
+ limitPriceTicks: bigint;
641
650
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
642
651
  };
643
652
  } | {
@@ -841,6 +850,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
841
850
  readonly kind: v.LiteralSchema<"none", undefined>;
842
851
  }, undefined>], undefined>, undefined>;
843
852
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
853
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
844
854
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
845
855
  }, undefined>, v.TransformAction<{
846
856
  trailingDistance: {
@@ -860,6 +870,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
860
870
  kind: "none";
861
871
  } | undefined;
862
872
  activationPrice?: string | undefined;
873
+ limitPrice?: string | undefined;
863
874
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
864
875
  }, {
865
876
  trailingDistance: {
@@ -883,6 +894,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
883
894
  value?: undefined;
884
895
  };
885
896
  activationPriceTicks: bigint;
897
+ limitPriceTicks: bigint;
886
898
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
887
899
  }>]>;
888
900
  readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -977,6 +989,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
977
989
  readonly kind: v.LiteralSchema<"none", undefined>;
978
990
  }, undefined>], undefined>, undefined>;
979
991
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
992
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
980
993
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
981
994
  }, undefined>, v.TransformAction<{
982
995
  trailingDistance: {
@@ -996,6 +1009,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
996
1009
  kind: "none";
997
1010
  } | undefined;
998
1011
  activationPrice?: string | undefined;
1012
+ limitPrice?: string | undefined;
999
1013
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1000
1014
  }, {
1001
1015
  trailingDistance: {
@@ -1019,6 +1033,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1019
1033
  value?: undefined;
1020
1034
  };
1021
1035
  activationPriceTicks: bigint;
1036
+ limitPriceTicks: bigint;
1022
1037
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1023
1038
  }>]>;
1024
1039
  readonly oco: v.OptionalSchema<v.LiteralSchema<false, "oco requires takeProfit and exactly one stop leg">, undefined>;
@@ -1088,6 +1103,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1088
1103
  value?: undefined;
1089
1104
  };
1090
1105
  activationPriceTicks: bigint;
1106
+ limitPriceTicks: bigint;
1091
1107
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1092
1108
  };
1093
1109
  oco?: boolean | undefined;
@@ -1150,6 +1166,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1150
1166
  value?: undefined;
1151
1167
  };
1152
1168
  activationPriceTicks: bigint;
1169
+ limitPriceTicks: bigint;
1153
1170
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1154
1171
  };
1155
1172
  oco?: false | undefined;
@@ -1206,6 +1223,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1206
1223
  value?: undefined;
1207
1224
  };
1208
1225
  activationPriceTicks: bigint;
1226
+ limitPriceTicks: bigint;
1209
1227
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1210
1228
  };
1211
1229
  } | {
@@ -1291,6 +1309,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1291
1309
  value?: undefined;
1292
1310
  };
1293
1311
  activationPriceTicks: bigint;
1312
+ limitPriceTicks: bigint;
1294
1313
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1295
1314
  };
1296
1315
  } | {
@@ -1376,6 +1395,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1376
1395
  value?: undefined;
1377
1396
  };
1378
1397
  activationPriceTicks: bigint;
1398
+ limitPriceTicks: bigint;
1379
1399
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1380
1400
  };
1381
1401
  } | {
@@ -1461,6 +1481,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1461
1481
  value?: undefined;
1462
1482
  };
1463
1483
  activationPriceTicks: bigint;
1484
+ limitPriceTicks: bigint;
1464
1485
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1465
1486
  };
1466
1487
  } | {
@@ -1546,6 +1567,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1546
1567
  value?: undefined;
1547
1568
  };
1548
1569
  activationPriceTicks: bigint;
1570
+ limitPriceTicks: bigint;
1549
1571
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1550
1572
  };
1551
1573
  } | {
@@ -1631,6 +1653,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1631
1653
  value?: undefined;
1632
1654
  };
1633
1655
  activationPriceTicks: bigint;
1656
+ limitPriceTicks: bigint;
1634
1657
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1635
1658
  };
1636
1659
  } | {
@@ -1716,6 +1739,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1716
1739
  value?: undefined;
1717
1740
  };
1718
1741
  activationPriceTicks: bigint;
1742
+ limitPriceTicks: bigint;
1719
1743
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1720
1744
  };
1721
1745
  } | {
@@ -1724,7 +1748,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1724
1748
  };
1725
1749
  oco: boolean;
1726
1750
  } | undefined;
1727
- }, "maxSlippageBps must be between 1 and 9999 for a market order that sells">]>, v.TransformAction<{
1751
+ }, "maxSlippageBps must be between 1 and 9999 for a market order that sells">, v.CheckAction<{
1728
1752
  qty: string;
1729
1753
  maxQuoteDebit?: undefined;
1730
1754
  symbolId: number;
@@ -1801,6 +1825,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1801
1825
  value?: undefined;
1802
1826
  };
1803
1827
  activationPriceTicks: bigint;
1828
+ limitPriceTicks: bigint;
1804
1829
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1805
1830
  };
1806
1831
  } | {
@@ -1886,6 +1911,179 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1886
1911
  value?: undefined;
1887
1912
  };
1888
1913
  activationPriceTicks: bigint;
1914
+ limitPriceTicks: bigint;
1915
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1916
+ };
1917
+ } | {
1918
+ readonly case: undefined;
1919
+ readonly value: undefined;
1920
+ };
1921
+ oco: boolean;
1922
+ } | undefined;
1923
+ }, "risk.trailingStop.limitPrice is required when the order sells and must be unset when it buys">]>, v.TransformAction<{
1924
+ qty: string;
1925
+ maxQuoteDebit?: undefined;
1926
+ symbolId: number;
1927
+ side: Side.BUY | Side.SELL;
1928
+ execution: {
1929
+ case: "marketIoc";
1930
+ value: MarketIoc;
1931
+ } | {
1932
+ case: "limitGtc";
1933
+ value: LimitGtc;
1934
+ } | {
1935
+ case: "limitGtd";
1936
+ value: LimitGtd;
1937
+ } | {
1938
+ case: "limitIoc";
1939
+ value: LimitIoc;
1940
+ } | {
1941
+ case: "limitFok";
1942
+ value: LimitFok;
1943
+ };
1944
+ clientOrderId?: string | undefined;
1945
+ feeAsset?: FeeAsset.QUOTE | FeeAsset.BASE | undefined;
1946
+ selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
1947
+ risk?: {
1948
+ takeProfit: {
1949
+ triggerPriceTicks: bigint;
1950
+ child: {
1951
+ execution: {
1952
+ value: RiskMarketIoc;
1953
+ case: "marketIoc";
1954
+ } | {
1955
+ value: RiskLimitGtc;
1956
+ case: "limitGtc";
1957
+ };
1958
+ };
1959
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1960
+ } | undefined;
1961
+ stopLeg: {
1962
+ readonly case: "stopLoss";
1963
+ readonly value: {
1964
+ triggerPriceTicks: bigint;
1965
+ child: {
1966
+ execution: {
1967
+ value: RiskMarketIoc;
1968
+ case: "marketIoc";
1969
+ } | {
1970
+ value: RiskLimitGtc;
1971
+ case: "limitGtc";
1972
+ };
1973
+ };
1974
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1975
+ };
1976
+ } | {
1977
+ readonly case: "trailingStop";
1978
+ readonly value: {
1979
+ trailingDistance: {
1980
+ value: bigint;
1981
+ case: "trailingDistanceTicks";
1982
+ } | {
1983
+ value: number;
1984
+ case: "trailingDistanceBps";
1985
+ } | {
1986
+ case: undefined;
1987
+ value?: undefined;
1988
+ };
1989
+ maxSlippage: {
1990
+ value: bigint;
1991
+ case: "maxSlippageTicks";
1992
+ } | {
1993
+ value: number;
1994
+ case: "maxSlippageBps";
1995
+ } | {
1996
+ case: undefined;
1997
+ value?: undefined;
1998
+ };
1999
+ activationPriceTicks: bigint;
2000
+ limitPriceTicks: bigint;
2001
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2002
+ };
2003
+ } | {
2004
+ readonly case: undefined;
2005
+ readonly value: undefined;
2006
+ };
2007
+ oco: boolean;
2008
+ } | undefined;
2009
+ } | {
2010
+ qty?: undefined;
2011
+ maxQuoteDebit: string;
2012
+ symbolId: number;
2013
+ side: Side.BUY | Side.SELL;
2014
+ execution: {
2015
+ case: "marketIoc";
2016
+ value: MarketIoc;
2017
+ } | {
2018
+ case: "limitGtc";
2019
+ value: LimitGtc;
2020
+ } | {
2021
+ case: "limitGtd";
2022
+ value: LimitGtd;
2023
+ } | {
2024
+ case: "limitIoc";
2025
+ value: LimitIoc;
2026
+ } | {
2027
+ case: "limitFok";
2028
+ value: LimitFok;
2029
+ };
2030
+ clientOrderId?: string | undefined;
2031
+ feeAsset?: FeeAsset.QUOTE | FeeAsset.BASE | undefined;
2032
+ selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
2033
+ risk?: {
2034
+ takeProfit: {
2035
+ triggerPriceTicks: bigint;
2036
+ child: {
2037
+ execution: {
2038
+ value: RiskMarketIoc;
2039
+ case: "marketIoc";
2040
+ } | {
2041
+ value: RiskLimitGtc;
2042
+ case: "limitGtc";
2043
+ };
2044
+ };
2045
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2046
+ } | undefined;
2047
+ stopLeg: {
2048
+ readonly case: "stopLoss";
2049
+ readonly value: {
2050
+ triggerPriceTicks: bigint;
2051
+ child: {
2052
+ execution: {
2053
+ value: RiskMarketIoc;
2054
+ case: "marketIoc";
2055
+ } | {
2056
+ value: RiskLimitGtc;
2057
+ case: "limitGtc";
2058
+ };
2059
+ };
2060
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2061
+ };
2062
+ } | {
2063
+ readonly case: "trailingStop";
2064
+ readonly value: {
2065
+ trailingDistance: {
2066
+ value: bigint;
2067
+ case: "trailingDistanceTicks";
2068
+ } | {
2069
+ value: number;
2070
+ case: "trailingDistanceBps";
2071
+ } | {
2072
+ case: undefined;
2073
+ value?: undefined;
2074
+ };
2075
+ maxSlippage: {
2076
+ value: bigint;
2077
+ case: "maxSlippageTicks";
2078
+ } | {
2079
+ value: number;
2080
+ case: "maxSlippageBps";
2081
+ } | {
2082
+ case: undefined;
2083
+ value?: undefined;
2084
+ };
2085
+ activationPriceTicks: bigint;
2086
+ limitPriceTicks: bigint;
1889
2087
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1890
2088
  };
1891
2089
  } | {
@@ -1956,6 +2154,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
1956
2154
  value?: undefined;
1957
2155
  };
1958
2156
  activationPriceTicks: bigint;
2157
+ limitPriceTicks: bigint;
1959
2158
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
1960
2159
  };
1961
2160
  } | {
@@ -2046,6 +2245,7 @@ declare function createOrderIntentInputSchema(scales: SdkScales): v.SchemaWithPi
2046
2245
  value?: undefined;
2047
2246
  };
2048
2247
  activationPriceTicks: bigint;
2248
+ limitPriceTicks: bigint;
2049
2249
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2050
2250
  };
2051
2251
  } | {
@@ -2271,6 +2471,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2271
2471
  readonly kind: v.LiteralSchema<"none", undefined>;
2272
2472
  }, undefined>], undefined>, undefined>;
2273
2473
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2474
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2274
2475
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
2275
2476
  }, undefined>, v.TransformAction<{
2276
2477
  trailingDistance: {
@@ -2290,6 +2491,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2290
2491
  kind: "none";
2291
2492
  } | undefined;
2292
2493
  activationPrice?: string | undefined;
2494
+ limitPrice?: string | undefined;
2293
2495
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2294
2496
  }, {
2295
2497
  trailingDistance: {
@@ -2313,6 +2515,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2313
2515
  value?: undefined;
2314
2516
  };
2315
2517
  activationPriceTicks: bigint;
2518
+ limitPriceTicks: bigint;
2316
2519
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2317
2520
  }>]>;
2318
2521
  readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -2407,6 +2610,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2407
2610
  readonly kind: v.LiteralSchema<"none", undefined>;
2408
2611
  }, undefined>], undefined>, undefined>;
2409
2612
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2613
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2410
2614
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
2411
2615
  }, undefined>, v.TransformAction<{
2412
2616
  trailingDistance: {
@@ -2426,6 +2630,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2426
2630
  kind: "none";
2427
2631
  } | undefined;
2428
2632
  activationPrice?: string | undefined;
2633
+ limitPrice?: string | undefined;
2429
2634
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2430
2635
  }, {
2431
2636
  trailingDistance: {
@@ -2449,6 +2654,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2449
2654
  value?: undefined;
2450
2655
  };
2451
2656
  activationPriceTicks: bigint;
2657
+ limitPriceTicks: bigint;
2452
2658
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2453
2659
  }>]>;
2454
2660
  readonly oco: v.OptionalSchema<v.LiteralSchema<false, "oco requires takeProfit and exactly one stop leg">, undefined>;
@@ -2518,6 +2724,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2518
2724
  value?: undefined;
2519
2725
  };
2520
2726
  activationPriceTicks: bigint;
2727
+ limitPriceTicks: bigint;
2521
2728
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2522
2729
  };
2523
2730
  oco?: boolean | undefined;
@@ -2580,6 +2787,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2580
2787
  value?: undefined;
2581
2788
  };
2582
2789
  activationPriceTicks: bigint;
2790
+ limitPriceTicks: bigint;
2583
2791
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2584
2792
  };
2585
2793
  oco?: false | undefined;
@@ -2636,6 +2844,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2636
2844
  value?: undefined;
2637
2845
  };
2638
2846
  activationPriceTicks: bigint;
2847
+ limitPriceTicks: bigint;
2639
2848
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2640
2849
  };
2641
2850
  } | {
@@ -2842,6 +3051,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2842
3051
  readonly kind: v.LiteralSchema<"none", undefined>;
2843
3052
  }, undefined>], undefined>, undefined>;
2844
3053
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3054
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2845
3055
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
2846
3056
  }, undefined>, v.TransformAction<{
2847
3057
  trailingDistance: {
@@ -2861,6 +3071,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2861
3071
  kind: "none";
2862
3072
  } | undefined;
2863
3073
  activationPrice?: string | undefined;
3074
+ limitPrice?: string | undefined;
2864
3075
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2865
3076
  }, {
2866
3077
  trailingDistance: {
@@ -2884,6 +3095,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2884
3095
  value?: undefined;
2885
3096
  };
2886
3097
  activationPriceTicks: bigint;
3098
+ limitPriceTicks: bigint;
2887
3099
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
2888
3100
  }>]>;
2889
3101
  readonly oco: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -2978,6 +3190,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2978
3190
  readonly kind: v.LiteralSchema<"none", undefined>;
2979
3191
  }, undefined>], undefined>, undefined>;
2980
3192
  readonly activationPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3193
+ readonly limitPrice: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2981
3194
  readonly triggerPriceSource: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["last", "index"], undefined>, v.TransformAction<"last" | "index", TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE>]>, undefined>;
2982
3195
  }, undefined>, v.TransformAction<{
2983
3196
  trailingDistance: {
@@ -2997,6 +3210,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
2997
3210
  kind: "none";
2998
3211
  } | undefined;
2999
3212
  activationPrice?: string | undefined;
3213
+ limitPrice?: string | undefined;
3000
3214
  triggerPriceSource?: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3001
3215
  }, {
3002
3216
  trailingDistance: {
@@ -3020,6 +3234,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3020
3234
  value?: undefined;
3021
3235
  };
3022
3236
  activationPriceTicks: bigint;
3237
+ limitPriceTicks: bigint;
3023
3238
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3024
3239
  }>]>;
3025
3240
  readonly oco: v.OptionalSchema<v.LiteralSchema<false, "oco requires takeProfit and exactly one stop leg">, undefined>;
@@ -3089,6 +3304,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3089
3304
  value?: undefined;
3090
3305
  };
3091
3306
  activationPriceTicks: bigint;
3307
+ limitPriceTicks: bigint;
3092
3308
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3093
3309
  };
3094
3310
  oco?: boolean | undefined;
@@ -3151,6 +3367,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3151
3367
  value?: undefined;
3152
3368
  };
3153
3369
  activationPriceTicks: bigint;
3370
+ limitPriceTicks: bigint;
3154
3371
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3155
3372
  };
3156
3373
  oco?: false | undefined;
@@ -3207,6 +3424,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3207
3424
  value?: undefined;
3208
3425
  };
3209
3426
  activationPriceTicks: bigint;
3427
+ limitPriceTicks: bigint;
3210
3428
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3211
3429
  };
3212
3430
  } | {
@@ -3295,6 +3513,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3295
3513
  value?: undefined;
3296
3514
  };
3297
3515
  activationPriceTicks: bigint;
3516
+ limitPriceTicks: bigint;
3298
3517
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3299
3518
  };
3300
3519
  } | {
@@ -3383,6 +3602,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3383
3602
  value?: undefined;
3384
3603
  };
3385
3604
  activationPriceTicks: bigint;
3605
+ limitPriceTicks: bigint;
3386
3606
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3387
3607
  };
3388
3608
  } | {
@@ -3471,6 +3691,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3471
3691
  value?: undefined;
3472
3692
  };
3473
3693
  activationPriceTicks: bigint;
3694
+ limitPriceTicks: bigint;
3474
3695
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3475
3696
  };
3476
3697
  } | {
@@ -3559,6 +3780,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3559
3780
  value?: undefined;
3560
3781
  };
3561
3782
  activationPriceTicks: bigint;
3783
+ limitPriceTicks: bigint;
3562
3784
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3563
3785
  };
3564
3786
  } | {
@@ -3647,6 +3869,185 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3647
3869
  value?: undefined;
3648
3870
  };
3649
3871
  activationPriceTicks: bigint;
3872
+ limitPriceTicks: bigint;
3873
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3874
+ };
3875
+ } | {
3876
+ readonly case: undefined;
3877
+ readonly value: undefined;
3878
+ };
3879
+ oco: boolean;
3880
+ } | undefined;
3881
+ account?: "active" | "main" | {
3882
+ subaccountId: string;
3883
+ } | undefined;
3884
+ } | {
3885
+ qty?: undefined;
3886
+ maxQuoteDebit: string;
3887
+ symbolId: number;
3888
+ side: Side.BUY | Side.SELL;
3889
+ execution: {
3890
+ case: "marketIoc";
3891
+ value: MarketIoc;
3892
+ } | {
3893
+ case: "limitGtc";
3894
+ value: LimitGtc;
3895
+ } | {
3896
+ case: "limitGtd";
3897
+ value: LimitGtd;
3898
+ } | {
3899
+ case: "limitIoc";
3900
+ value: LimitIoc;
3901
+ } | {
3902
+ case: "limitFok";
3903
+ value: LimitFok;
3904
+ };
3905
+ clientOrderId?: string | undefined;
3906
+ feeAsset?: FeeAsset.QUOTE | FeeAsset.BASE | undefined;
3907
+ selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
3908
+ risk?: {
3909
+ takeProfit: {
3910
+ triggerPriceTicks: bigint;
3911
+ child: {
3912
+ execution: {
3913
+ value: RiskMarketIoc;
3914
+ case: "marketIoc";
3915
+ } | {
3916
+ value: RiskLimitGtc;
3917
+ case: "limitGtc";
3918
+ };
3919
+ };
3920
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3921
+ } | undefined;
3922
+ stopLeg: {
3923
+ readonly case: "stopLoss";
3924
+ readonly value: {
3925
+ triggerPriceTicks: bigint;
3926
+ child: {
3927
+ execution: {
3928
+ value: RiskMarketIoc;
3929
+ case: "marketIoc";
3930
+ } | {
3931
+ value: RiskLimitGtc;
3932
+ case: "limitGtc";
3933
+ };
3934
+ };
3935
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3936
+ };
3937
+ } | {
3938
+ readonly case: "trailingStop";
3939
+ readonly value: {
3940
+ trailingDistance: {
3941
+ value: bigint;
3942
+ case: "trailingDistanceTicks";
3943
+ } | {
3944
+ value: number;
3945
+ case: "trailingDistanceBps";
3946
+ } | {
3947
+ case: undefined;
3948
+ value?: undefined;
3949
+ };
3950
+ maxSlippage: {
3951
+ value: bigint;
3952
+ case: "maxSlippageTicks";
3953
+ } | {
3954
+ value: number;
3955
+ case: "maxSlippageBps";
3956
+ } | {
3957
+ case: undefined;
3958
+ value?: undefined;
3959
+ };
3960
+ activationPriceTicks: bigint;
3961
+ limitPriceTicks: bigint;
3962
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3963
+ };
3964
+ } | {
3965
+ readonly case: undefined;
3966
+ readonly value: undefined;
3967
+ };
3968
+ oco: boolean;
3969
+ } | undefined;
3970
+ account?: "active" | "main" | {
3971
+ subaccountId: string;
3972
+ } | undefined;
3973
+ }, "maxSlippageBps must be between 1 and 9999 for a market order that sells">, v.CheckAction<{
3974
+ qty: string;
3975
+ maxQuoteDebit?: undefined;
3976
+ symbolId: number;
3977
+ side: Side.BUY | Side.SELL;
3978
+ execution: {
3979
+ case: "marketIoc";
3980
+ value: MarketIoc;
3981
+ } | {
3982
+ case: "limitGtc";
3983
+ value: LimitGtc;
3984
+ } | {
3985
+ case: "limitGtd";
3986
+ value: LimitGtd;
3987
+ } | {
3988
+ case: "limitIoc";
3989
+ value: LimitIoc;
3990
+ } | {
3991
+ case: "limitFok";
3992
+ value: LimitFok;
3993
+ };
3994
+ clientOrderId?: string | undefined;
3995
+ feeAsset?: FeeAsset.QUOTE | FeeAsset.BASE | undefined;
3996
+ selfTradePreventionMode?: SelfTradePreventionMode.EXPIRE_MAKER | SelfTradePreventionMode.EXPIRE_TAKER | SelfTradePreventionMode.EXPIRE_BOTH | undefined;
3997
+ risk?: {
3998
+ takeProfit: {
3999
+ triggerPriceTicks: bigint;
4000
+ child: {
4001
+ execution: {
4002
+ value: RiskMarketIoc;
4003
+ case: "marketIoc";
4004
+ } | {
4005
+ value: RiskLimitGtc;
4006
+ case: "limitGtc";
4007
+ };
4008
+ };
4009
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
4010
+ } | undefined;
4011
+ stopLeg: {
4012
+ readonly case: "stopLoss";
4013
+ readonly value: {
4014
+ triggerPriceTicks: bigint;
4015
+ child: {
4016
+ execution: {
4017
+ value: RiskMarketIoc;
4018
+ case: "marketIoc";
4019
+ } | {
4020
+ value: RiskLimitGtc;
4021
+ case: "limitGtc";
4022
+ };
4023
+ };
4024
+ triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
4025
+ };
4026
+ } | {
4027
+ readonly case: "trailingStop";
4028
+ readonly value: {
4029
+ trailingDistance: {
4030
+ value: bigint;
4031
+ case: "trailingDistanceTicks";
4032
+ } | {
4033
+ value: number;
4034
+ case: "trailingDistanceBps";
4035
+ } | {
4036
+ case: undefined;
4037
+ value?: undefined;
4038
+ };
4039
+ maxSlippage: {
4040
+ value: bigint;
4041
+ case: "maxSlippageTicks";
4042
+ } | {
4043
+ value: number;
4044
+ case: "maxSlippageBps";
4045
+ } | {
4046
+ case: undefined;
4047
+ value?: undefined;
4048
+ };
4049
+ activationPriceTicks: bigint;
4050
+ limitPriceTicks: bigint;
3650
4051
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3651
4052
  };
3652
4053
  } | {
@@ -3735,6 +4136,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3735
4136
  value?: undefined;
3736
4137
  };
3737
4138
  activationPriceTicks: bigint;
4139
+ limitPriceTicks: bigint;
3738
4140
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3739
4141
  };
3740
4142
  } | {
@@ -3746,7 +4148,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3746
4148
  account?: "active" | "main" | {
3747
4149
  subaccountId: string;
3748
4150
  } | undefined;
3749
- }, "maxSlippageBps must be between 1 and 9999 for a market order that sells">]>, v.TransformAction<{
4151
+ }, "risk.trailingStop.limitPrice is required when the order sells and must be unset when it buys">]>, v.TransformAction<{
3750
4152
  qty: string;
3751
4153
  maxQuoteDebit?: undefined;
3752
4154
  symbolId: number;
@@ -3823,6 +4225,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3823
4225
  value?: undefined;
3824
4226
  };
3825
4227
  activationPriceTicks: bigint;
4228
+ limitPriceTicks: bigint;
3826
4229
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3827
4230
  };
3828
4231
  } | {
@@ -3911,6 +4314,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3911
4314
  value?: undefined;
3912
4315
  };
3913
4316
  activationPriceTicks: bigint;
4317
+ limitPriceTicks: bigint;
3914
4318
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3915
4319
  };
3916
4320
  } | {
@@ -3986,6 +4390,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
3986
4390
  value?: undefined;
3987
4391
  };
3988
4392
  activationPriceTicks: bigint;
4393
+ limitPriceTicks: bigint;
3989
4394
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
3990
4395
  };
3991
4396
  } | {
@@ -4076,6 +4481,7 @@ declare function createNewOrderInputSchema(scales: SdkScales): v.SchemaWithPipe<
4076
4481
  value?: undefined;
4077
4482
  };
4078
4483
  activationPriceTicks: bigint;
4484
+ limitPriceTicks: bigint;
4079
4485
  triggerPriceSource: TriggerPriceSource.LAST_PRICE | TriggerPriceSource.INDEX_PRICE | undefined;
4080
4486
  };
4081
4487
  } | {