@structbuild/sdk 0.5.3 → 0.5.5
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.
|
@@ -2015,6 +2015,12 @@ export interface components {
|
|
|
2015
2015
|
};
|
|
2016
2016
|
/** @description Cumulative stats for a single builder. */
|
|
2017
2017
|
BuilderLatestRow: {
|
|
2018
|
+
/**
|
|
2019
|
+
* Format: int64
|
|
2020
|
+
* @description Global rank for leaderboard responses. `null` on single-builder
|
|
2021
|
+
* responses where no leaderboard ordering is requested.
|
|
2022
|
+
*/
|
|
2023
|
+
rank?: number | null;
|
|
2018
2024
|
builder_code: string;
|
|
2019
2025
|
/** Format: int64 */
|
|
2020
2026
|
block: number;
|
|
@@ -5331,6 +5337,8 @@ export interface operations {
|
|
|
5331
5337
|
sort_desc?: boolean;
|
|
5332
5338
|
/** @description Window to rank over. Default: lifetime. */
|
|
5333
5339
|
timeframe?: components["schemas"]["BuilderTimeframe"];
|
|
5340
|
+
/** @description When true, only return builders with registered display metadata. Ranks remain global across all builders. */
|
|
5341
|
+
named_only?: boolean;
|
|
5334
5342
|
/** @description Max rows to return (default 50, max 500). */
|
|
5335
5343
|
limit?: number;
|
|
5336
5344
|
/** @description Number of rows to skip. Default 0. Takes precedence over `pagination_key`. */
|
|
@@ -1982,6 +1982,8 @@ export interface components {
|
|
|
1982
1982
|
position_ids?: string[] | null;
|
|
1983
1983
|
/** @description Restrict to positions within these markets. */
|
|
1984
1984
|
condition_ids?: string[] | null;
|
|
1985
|
+
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
1986
|
+
outcomes?: string[] | null;
|
|
1985
1987
|
/** @description Specific USD milestones to trigger on. */
|
|
1986
1988
|
milestone_amounts?: number[] | null;
|
|
1987
1989
|
};
|
|
@@ -2113,6 +2115,26 @@ export interface components {
|
|
|
2113
2115
|
* @description Minimum price percentage move to trigger (e.g. `10` for a 10% move).
|
|
2114
2116
|
*/
|
|
2115
2117
|
min_price_change_pct?: number | null;
|
|
2118
|
+
/**
|
|
2119
|
+
* Format: double
|
|
2120
|
+
* @description Minimum YES probability (0-1).
|
|
2121
|
+
*/
|
|
2122
|
+
min_probability?: number | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* Format: double
|
|
2125
|
+
* @description Maximum YES probability (0-1).
|
|
2126
|
+
*/
|
|
2127
|
+
max_probability?: number | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* Format: int64
|
|
2130
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
2131
|
+
*/
|
|
2132
|
+
min_txns?: number | null;
|
|
2133
|
+
/**
|
|
2134
|
+
* Format: double
|
|
2135
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
2136
|
+
*/
|
|
2137
|
+
min_volume_usd?: number | null;
|
|
2116
2138
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
2117
2139
|
/**
|
|
2118
2140
|
* Format: int64
|
|
@@ -2161,11 +2183,31 @@ export interface components {
|
|
|
2161
2183
|
event_slugs?: string[] | null;
|
|
2162
2184
|
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
2163
2185
|
outcomes?: string[] | null;
|
|
2186
|
+
/**
|
|
2187
|
+
* Format: double
|
|
2188
|
+
* @description Minimum YES probability (0-1). At least one of `min_probability`/`max_probability` is enforced at runtime if you want a probability gate.
|
|
2189
|
+
*/
|
|
2190
|
+
min_probability?: number | null;
|
|
2191
|
+
/**
|
|
2192
|
+
* Format: double
|
|
2193
|
+
* @description Maximum YES probability (0-1).
|
|
2194
|
+
*/
|
|
2195
|
+
max_probability?: number | null;
|
|
2164
2196
|
/**
|
|
2165
2197
|
* Format: double
|
|
2166
2198
|
* @description Minimum probability percentage move to trigger (e.g. `10` for a 10% move).
|
|
2167
2199
|
*/
|
|
2168
2200
|
min_probability_change_pct?: number | null;
|
|
2201
|
+
/**
|
|
2202
|
+
* Format: int64
|
|
2203
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
2204
|
+
*/
|
|
2205
|
+
min_txns?: number | null;
|
|
2206
|
+
/**
|
|
2207
|
+
* Format: double
|
|
2208
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
2209
|
+
*/
|
|
2210
|
+
min_volume_usd?: number | null;
|
|
2169
2211
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
2170
2212
|
/**
|
|
2171
2213
|
* Format: int64
|
|
@@ -1384,6 +1384,8 @@ export interface components {
|
|
|
1384
1384
|
position_ids?: string[] | null;
|
|
1385
1385
|
/** @description Restrict to positions within these markets. */
|
|
1386
1386
|
condition_ids?: string[] | null;
|
|
1387
|
+
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
1388
|
+
outcomes?: string[] | null;
|
|
1387
1389
|
/** @description Specific USD milestones to trigger on. */
|
|
1388
1390
|
milestone_amounts?: number[] | null;
|
|
1389
1391
|
};
|
|
@@ -1515,6 +1517,26 @@ export interface components {
|
|
|
1515
1517
|
* @description Minimum price percentage move to trigger (e.g. `10` for a 10% move).
|
|
1516
1518
|
*/
|
|
1517
1519
|
min_price_change_pct?: number | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Format: double
|
|
1522
|
+
* @description Minimum YES probability (0-1).
|
|
1523
|
+
*/
|
|
1524
|
+
min_probability?: number | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* Format: double
|
|
1527
|
+
* @description Maximum YES probability (0-1).
|
|
1528
|
+
*/
|
|
1529
|
+
max_probability?: number | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Format: int64
|
|
1532
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
1533
|
+
*/
|
|
1534
|
+
min_txns?: number | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* Format: double
|
|
1537
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
1538
|
+
*/
|
|
1539
|
+
min_volume_usd?: number | null;
|
|
1518
1540
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
1519
1541
|
/**
|
|
1520
1542
|
* Format: int64
|
|
@@ -1563,11 +1585,31 @@ export interface components {
|
|
|
1563
1585
|
event_slugs?: string[] | null;
|
|
1564
1586
|
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
1565
1587
|
outcomes?: string[] | null;
|
|
1588
|
+
/**
|
|
1589
|
+
* Format: double
|
|
1590
|
+
* @description Minimum YES probability (0-1). At least one of `min_probability`/`max_probability` is enforced at runtime if you want a probability gate.
|
|
1591
|
+
*/
|
|
1592
|
+
min_probability?: number | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Format: double
|
|
1595
|
+
* @description Maximum YES probability (0-1).
|
|
1596
|
+
*/
|
|
1597
|
+
max_probability?: number | null;
|
|
1566
1598
|
/**
|
|
1567
1599
|
* Format: double
|
|
1568
1600
|
* @description Minimum probability percentage move to trigger (e.g. `10` for a 10% move).
|
|
1569
1601
|
*/
|
|
1570
1602
|
min_probability_change_pct?: number | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Format: int64
|
|
1605
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
1606
|
+
*/
|
|
1607
|
+
min_txns?: number | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Format: double
|
|
1610
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
1611
|
+
*/
|
|
1612
|
+
min_volume_usd?: number | null;
|
|
1571
1613
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
1572
1614
|
/**
|
|
1573
1615
|
* Format: int64
|
package/dist/generated/ws.d.ts
CHANGED
|
@@ -1384,6 +1384,8 @@ export interface components {
|
|
|
1384
1384
|
position_ids?: string[] | null;
|
|
1385
1385
|
/** @description Restrict to positions within these markets. */
|
|
1386
1386
|
condition_ids?: string[] | null;
|
|
1387
|
+
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
1388
|
+
outcomes?: string[] | null;
|
|
1387
1389
|
/** @description Specific USD milestones to trigger on. */
|
|
1388
1390
|
milestone_amounts?: number[] | null;
|
|
1389
1391
|
};
|
|
@@ -1515,6 +1517,26 @@ export interface components {
|
|
|
1515
1517
|
* @description Minimum price percentage move to trigger (e.g. `10` for a 10% move).
|
|
1516
1518
|
*/
|
|
1517
1519
|
min_price_change_pct?: number | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Format: double
|
|
1522
|
+
* @description Minimum YES probability (0-1).
|
|
1523
|
+
*/
|
|
1524
|
+
min_probability?: number | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* Format: double
|
|
1527
|
+
* @description Maximum YES probability (0-1).
|
|
1528
|
+
*/
|
|
1529
|
+
max_probability?: number | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Format: int64
|
|
1532
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
1533
|
+
*/
|
|
1534
|
+
min_txns?: number | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* Format: double
|
|
1537
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
1538
|
+
*/
|
|
1539
|
+
min_volume_usd?: number | null;
|
|
1518
1540
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
1519
1541
|
/**
|
|
1520
1542
|
* Format: int64
|
|
@@ -1563,11 +1585,31 @@ export interface components {
|
|
|
1563
1585
|
event_slugs?: string[] | null;
|
|
1564
1586
|
/** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
|
|
1565
1587
|
outcomes?: string[] | null;
|
|
1588
|
+
/**
|
|
1589
|
+
* Format: double
|
|
1590
|
+
* @description Minimum YES probability (0-1). At least one of `min_probability`/`max_probability` is enforced at runtime if you want a probability gate.
|
|
1591
|
+
*/
|
|
1592
|
+
min_probability?: number | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Format: double
|
|
1595
|
+
* @description Maximum YES probability (0-1).
|
|
1596
|
+
*/
|
|
1597
|
+
max_probability?: number | null;
|
|
1566
1598
|
/**
|
|
1567
1599
|
* Format: double
|
|
1568
1600
|
* @description Minimum probability percentage move to trigger (e.g. `10` for a 10% move).
|
|
1569
1601
|
*/
|
|
1570
1602
|
min_probability_change_pct?: number | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Format: int64
|
|
1605
|
+
* @description Minimum trades accumulated in the observation window before firing.
|
|
1606
|
+
*/
|
|
1607
|
+
min_txns?: number | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Format: double
|
|
1610
|
+
* @description Minimum USD volume accumulated in the observation window before firing.
|
|
1611
|
+
*/
|
|
1612
|
+
min_volume_usd?: number | null;
|
|
1571
1613
|
spike_direction?: null | components["schemas"]["SpikeDirection"];
|
|
1572
1614
|
/**
|
|
1573
1615
|
* Format: int64
|
|
@@ -2910,7 +2952,7 @@ export interface components {
|
|
|
2910
2952
|
AssetPricesSubscribeMessage: {
|
|
2911
2953
|
/** @enum {string} */
|
|
2912
2954
|
action: "subscribe" | "unsubscribe_all";
|
|
2913
|
-
/** @description Uppercase asset symbols (
|
|
2955
|
+
/** @description Uppercase asset symbols (BTC, ETH, SOL, XRP, DOGE, BNB, HYPE). Empty = subscribe to all. */
|
|
2914
2956
|
asset_symbols?: string[];
|
|
2915
2957
|
};
|
|
2916
2958
|
/** @description Server acknowledgement for an asset prices subscription */
|
|
@@ -2922,7 +2964,7 @@ export interface components {
|
|
|
2922
2964
|
AssetPriceTickEvent: {
|
|
2923
2965
|
/** @description Always "asset_price_tick" */
|
|
2924
2966
|
event_type: string;
|
|
2925
|
-
/** @description Uppercase asset symbol (
|
|
2967
|
+
/** @description Uppercase asset symbol (BTC, ETH, SOL, XRP, DOGE, BNB, HYPE) */
|
|
2926
2968
|
symbol: string;
|
|
2927
2969
|
/** @description Current price in USD */
|
|
2928
2970
|
price: number;
|
|
@@ -2941,7 +2983,7 @@ export interface components {
|
|
|
2941
2983
|
AssetPriceWindowUpdateEvent: {
|
|
2942
2984
|
/** @description Always "asset_price_window_update" */
|
|
2943
2985
|
event_type: string;
|
|
2944
|
-
/** @description Uppercase asset symbol (
|
|
2986
|
+
/** @description Uppercase asset symbol (BTC, ETH, SOL, XRP, DOGE, BNB, HYPE) */
|
|
2945
2987
|
symbol: string;
|
|
2946
2988
|
/** @description Candle size / timeframe (e.g. "5m", "1h", "1d") */
|
|
2947
2989
|
variant: string;
|
|
@@ -2971,7 +3013,7 @@ export interface components {
|
|
|
2971
3013
|
AssetWindowUpdatesSubscribeMessage: {
|
|
2972
3014
|
/** @enum {string} */
|
|
2973
3015
|
action: "subscribe" | "unsubscribe_all";
|
|
2974
|
-
/** @description Uppercase asset symbols (
|
|
3016
|
+
/** @description Uppercase asset symbols (BTC, ETH, SOL, XRP, DOGE, BNB, HYPE) */
|
|
2975
3017
|
asset_symbols?: string[];
|
|
2976
3018
|
/** @description Candle sizes to filter by. "1d" and "24h" are treated as equivalent. */
|
|
2977
3019
|
timeframes?: ("5m" | "15m" | "1h" | "4h" | "1d" | "24h")[];
|