@structbuild/sdk 0.6.3 → 0.6.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.
@@ -337,7 +337,7 @@ export interface components {
337
337
  };
338
338
  /**
339
339
  * @description Subscription filters for the `close_to_bond` event. At least one of
340
- * `min_probability` or `max_probability` is required (enforced at runtime).
340
+ * `min_price` or `max_price` is required (enforced at runtime).
341
341
  */
342
342
  CloseToBondFilters: {
343
343
  /**
@@ -351,14 +351,14 @@ export interface components {
351
351
  series_slugs?: string[] | null;
352
352
  /**
353
353
  * Format: double
354
- * @description Trigger when the YES outcome price is ≥ this value (e.g. 0.95 for 95% certainty). At least one of `min_probability` or `max_probability` must be set.
354
+ * @description Trigger when the traded position's price is ≥ this value (e.g. 0.95 for a near-certain outcome). At least one of `min_price` or `max_price` must be set.
355
355
  */
356
- min_probability?: number | null;
356
+ min_price?: number | null;
357
357
  /**
358
358
  * Format: double
359
- * @description Trigger when the YES outcome price is ≤ this value (e.g. 0.05 for near-certain NO).
359
+ * @description Trigger when the traded position's price is ≤ this value (e.g. 0.05 for a near-zero outcome).
360
360
  */
361
- max_probability?: number | null;
361
+ max_price?: number | null;
362
362
  /** @description Restrict to these markets. */
363
363
  condition_ids?: string[] | null;
364
364
  /** @description Restrict to these outcome token IDs. */
@@ -431,16 +431,11 @@ export interface components {
431
431
  * @description Price per share (0.0–1.0) — the value that triggered the notification
432
432
  */
433
433
  price: number;
434
- /**
435
- * Format: double
436
- * @description Implied probability of the outcome (0.0–1.0)
437
- */
438
- probability?: number | null;
439
- /** @description Which bond zone was entered: `"high"` (YES near-certain) or `"low"` (NO near-certain) */
434
+ /** @description Which bond zone was entered: `"high"` (price ≥ `min_price`) or `"low"` (price ≤ `max_price`) */
440
435
  bond_side: string;
441
436
  /**
442
437
  * Format: double
443
- * @description The probability threshold from the subscriber's filter that was breached
438
+ * @description The price threshold from the subscriber's filter that was breached
444
439
  */
445
440
  threshold: number;
446
441
  };
@@ -1956,18 +1951,18 @@ export interface components {
1956
1951
  * @description Polymarket webhook event types
1957
1952
  * @enum {string}
1958
1953
  */
1959
- PolymarketWebhookEvent: "trader_first_trade" | "trader_new_market" | "trader_whale_trade" | "trader_new_trade" | "trader_trade_event" | "trader_global_pnl" | "trader_market_pnl" | "trader_category_pnl" | "trader_position_resolved" | "trader_exit_markers" | "position_holder_metrics" | "condition_holder_metrics" | "event_holder_metrics" | "condition_metrics" | "event_metrics" | "tag_metrics" | "position_metrics" | "position_liquidity" | "market_liquidity" | "event_liquidity" | "market_volume_milestone" | "event_volume_milestone" | "position_volume_milestone" | "probability_spike" | "market_volume_spike" | "event_volume_spike" | "position_volume_spike" | "close_to_bond" | "market_created" | "asset_price_tick" | "asset_price_window_update" | "price_spike" | "oracle_events" | "price_threshold" | "market_resolved" | "market_disputed";
1954
+ PolymarketWebhookEvent: "trader_first_trade" | "trader_new_market" | "trader_whale_trade" | "trader_new_trade" | "trader_trade_event" | "trader_global_pnl" | "trader_market_pnl" | "trader_category_pnl" | "trader_position_resolved" | "trader_exit_markers" | "position_holder_metrics" | "condition_holder_metrics" | "event_holder_metrics" | "condition_metrics" | "event_metrics" | "tag_metrics" | "position_metrics" | "position_liquidity" | "market_liquidity" | "event_liquidity" | "market_volume_milestone" | "event_volume_milestone" | "position_volume_milestone" | "market_volume_spike" | "event_volume_spike" | "position_volume_spike" | "close_to_bond" | "market_created" | "asset_price_tick" | "asset_price_window_update" | "price_spike" | "probability_spike" | "oracle_events" | "price_threshold" | "market_resolved" | "market_disputed";
1960
1955
  /**
1961
1956
  * @description Polymarket-specific webhook filters
1962
1957
  *
1963
1958
  * Different webhook handlers use different subsets of these fields.
1964
- * The trade-driven events `price_spike`, `probability_spike`, and
1959
+ * The trade-driven events `price_spike` and
1965
1960
  * `close_to_bond` additionally accept `tags` (matches a market's tags OR its
1966
1961
  * category) and `series_slugs` (matches the market's parent series); these are
1967
1962
  * resolved from the tags/series the crawler enriches onto each trade.
1968
- * - first_trade: wallet_addresses, min_usd_value, min_probability, max_probability, condition_ids, event_slugs, tags
1969
- * - new_market: wallet_addresses, condition_ids, event_slugs, min_usd_value, min_probability, max_probability
1970
- * - whale_trade: min_usd_value (required), min_probability, max_probability, condition_ids, event_slugs
1963
+ * - first_trade: wallet_addresses, min_usd_value, min_price, max_price, condition_ids, event_slugs, tags
1964
+ * - new_market: wallet_addresses, condition_ids, event_slugs, min_usd_value, min_price, max_price
1965
+ * - whale_trade: min_usd_value (required), min_price, max_price, condition_ids, event_slugs
1971
1966
  * - global_pnl: traders, min_realized_pnl_usd, max_realized_pnl_usd, min_volume_usd, min_win_rate, min_markets_traded
1972
1967
  * - market_pnl: traders, min_realized_pnl_usd, max_realized_pnl_usd, min_buy_usd, condition_ids, event_slugs
1973
1968
  * - event_pnl: traders, min_realized_pnl_usd, max_realized_pnl_usd, min_volume_usd, event_slugs, min_markets_traded
@@ -1976,15 +1971,14 @@ export interface components {
1976
1971
  * - tag_metrics: tags, min_volume_usd, max_volume_usd, min_fees, min_txns, timeframes
1977
1972
  * - position_metrics: position_ids, condition_ids, outcomes, min_volume_usd, max_volume_usd, min_buy_usd, min_sell_volume_usd, min_fees, min_txns, min_price_change_pct, min_probability_change_pct, timeframes
1978
1973
  * - volume_milestone: condition_ids, timeframes, milestone_amounts
1979
- * - close_to_bond: min_probability (high zone threshold), max_probability (low zone threshold), condition_ids, tags, series_slugs, position_ids, outcomes, position_outcome_indices, event_slugs, exclude_shortterm_markets
1974
+ * - close_to_bond: min_price (high zone threshold), max_price (low zone threshold), condition_ids, tags, series_slugs, position_ids, outcomes, position_outcome_indices, event_slugs, exclude_shortterm_markets
1980
1975
  * - market_created: event_slugs, tags, exclude_shortterm_markets
1981
- * - probability_spike: condition_ids, event_slugs, tags, series_slugs, outcomes, min_probability, max_probability, min_probability_change_pct, spike_direction, window_secs, exclude_shortterm_markets
1982
1976
  * - price_spike: condition_ids, event_slugs, tags, series_slugs, outcomes, min_price_change_pct, spike_direction, window_secs, exclude_shortterm_markets
1983
- * - trader_new_trade: wallet_addresses, min_usd_value, min_probability, max_probability, condition_ids, event_slugs, trade_types, exclude_shortterm_markets
1984
- * - trader_trade_event: wallet_addresses, min_usd_value, min_probability, max_probability, condition_ids, event_slugs, trade_types, exclude_shortterm_markets
1985
- * - trader_first_trade: wallet_addresses, min_usd_value, min_probability, max_probability, exclude_shortterm_markets
1986
- * - trader_new_market: wallet_addresses, condition_ids, event_slugs, min_usd_value, min_probability, max_probability, exclude_shortterm_markets
1987
- * - trader_whale_trade: min_usd_value (required), min_probability, max_probability, condition_ids, event_slugs, exclude_shortterm_markets
1977
+ * - trader_new_trade: wallet_addresses, min_usd_value, min_price, max_price, condition_ids, event_slugs, trade_types, exclude_shortterm_markets
1978
+ * - trader_trade_event: wallet_addresses, min_usd_value, min_price, max_price, condition_ids, event_slugs, trade_types, exclude_shortterm_markets
1979
+ * - trader_first_trade: wallet_addresses, min_usd_value, min_price, max_price, exclude_shortterm_markets
1980
+ * - trader_new_market: wallet_addresses, condition_ids, event_slugs, min_usd_value, min_price, max_price, exclude_shortterm_markets
1981
+ * - trader_whale_trade: min_usd_value (required), min_price, max_price, condition_ids, event_slugs, exclude_shortterm_markets
1988
1982
  * - trader_event_pnl: traders, min_realized_pnl_usd, max_realized_pnl_usd, min_volume_usd, event_slugs, min_markets_traded, exclude_shortterm_markets
1989
1983
  * - trader_market_pnl: traders, min_realized_pnl_usd, max_realized_pnl_usd, min_buy_usd, condition_ids, event_slugs, exclude_shortterm_markets
1990
1984
  *
@@ -2030,14 +2024,14 @@ export interface components {
2030
2024
  series_slugs?: string[];
2031
2025
  /**
2032
2026
  * Format: double
2033
- * @description Minimum probability threshold (0.0 - 1.0)
2027
+ * @description Minimum trade price threshold (0.0 - 1.0). Accepts the legacy `min_probability` key.
2034
2028
  */
2035
- min_probability?: number | null;
2029
+ min_price?: number | null;
2036
2030
  /**
2037
2031
  * Format: double
2038
- * @description Maximum probability threshold (0.0 - 1.0)
2032
+ * @description Maximum trade price threshold (0.0 - 1.0). Accepts the legacy `max_probability` key.
2039
2033
  */
2040
- max_probability?: number | null;
2034
+ max_price?: number | null;
2041
2035
  /**
2042
2036
  * Format: double
2043
2037
  * @description Minimum realized PnL (USD) - for PnL webhooks
@@ -2165,7 +2159,7 @@ export interface components {
2165
2159
  /**
2166
2160
  * @description When `true`, exclude all short-term "updown" markets (event slugs containing "updown").
2167
2161
  * These are short-duration crypto price markets (e.g., "btc-updown-5m-…", "eth-updown-1h-…").
2168
- * Supported by: close_to_bond, market_created, price_spike, probability_spike,
2162
+ * Supported by: close_to_bond, market_created, price_spike,
2169
2163
  * trader_first_trade, trader_new_market, trader_whale_trade, trader_event_pnl, trader_market_pnl,
2170
2164
  * event_metrics, event_volume_milestone, event_volume_spike.
2171
2165
  */
@@ -2179,7 +2173,7 @@ export interface components {
2179
2173
  spike_direction?: null | components["schemas"]["SpikeDirection"];
2180
2174
  /**
2181
2175
  * Format: int64
2182
- * @description Observation window in seconds for `probability_spike` and `price_spike`.
2176
+ * @description Observation window in seconds for `price_spike`.
2183
2177
  *
2184
2178
  * When set, the first trade seen for a position opens a window of this duration.
2185
2179
  * The opening price becomes the baseline, and every subsequent trade within the
@@ -2882,12 +2876,12 @@ export interface components {
2882
2876
  * Format: double
2883
2877
  * @description Minimum YES probability (0-1).
2884
2878
  */
2885
- min_probability?: number | null;
2879
+ min_price?: number | null;
2886
2880
  /**
2887
2881
  * Format: double
2888
2882
  * @description Maximum YES probability (0-1).
2889
2883
  */
2890
- max_probability?: number | null;
2884
+ max_price?: number | null;
2891
2885
  /**
2892
2886
  * Format: int64
2893
2887
  * @description Minimum trades accumulated in the observation window before firing.
@@ -2954,14 +2948,14 @@ export interface components {
2954
2948
  series_slugs?: string[] | null;
2955
2949
  /**
2956
2950
  * Format: double
2957
- * @description Upward target — fire when the YES price crosses up to ≥ this value (e.g. 0.75 for 75%). At least one of `min_probability` or `max_probability` must be set.
2951
+ * @description Upward target — fire when the YES price crosses up to ≥ this value (e.g. 0.75 for 75%). At least one of `min_price` or `max_price` must be set.
2958
2952
  */
2959
- min_probability?: number | null;
2953
+ min_price?: number | null;
2960
2954
  /**
2961
2955
  * Format: double
2962
2956
  * @description Downward target — fire when the YES price crosses down to ≤ this value (e.g. 0.25).
2963
2957
  */
2964
- max_probability?: number | null;
2958
+ max_price?: number | null;
2965
2959
  /** @description When `true`, delete the subscription after its first delivery (fire-and-delete). Requires `position_ids` or `condition_ids`. Default: `false`. */
2966
2960
  one_shot?: boolean | null;
2967
2961
  /** @description When `true`, fire immediately if the first observed price is already past the target (no prior baseline). Default: `false` (wait for an actual crossing). */
@@ -3049,8 +3043,8 @@ export interface components {
3049
3043
  */
3050
3044
  probability?: number | null;
3051
3045
  /**
3052
- * @description Crossing direction: `"up"` (crossed up to the `min_probability` target) or
3053
- * `"down"` (crossed down to the `max_probability` target)
3046
+ * @description Crossing direction: `"up"` (crossed up to the `min_price` target) or
3047
+ * `"down"` (crossed down to the `max_price` target)
3054
3048
  */
3055
3049
  direction: string;
3056
3050
  /**
@@ -3059,98 +3053,6 @@ export interface components {
3059
3053
  */
3060
3054
  threshold: number;
3061
3055
  };
3062
- /** @description Subscription filters for the `probability_spike` event. */
3063
- ProbabilitySpikeFilters: {
3064
- /**
3065
- * @description Fire-and-delete: when `true`, delete the subscription after its first
3066
- * successful delivery. Applies to any webhook event.
3067
- */
3068
- one_shot?: boolean | null;
3069
- /** @description Restrict to specific outcome token IDs. Empty = all positions. */
3070
- position_ids?: string[] | null;
3071
- /** @description Restrict to specific market condition IDs. Empty = all markets. */
3072
- condition_ids?: string[] | null;
3073
- /** @description Restrict to specific events. Empty = all events. */
3074
- event_slugs?: string[] | null;
3075
- /** @description Restrict to these outcome names (e.g. \["Yes", "No"\]). */
3076
- outcomes?: string[] | null;
3077
- /**
3078
- * Format: double
3079
- * @description Minimum YES probability (0-1). At least one of `min_probability`/`max_probability` is enforced at runtime if you want a probability gate.
3080
- */
3081
- min_probability?: number | null;
3082
- /**
3083
- * Format: double
3084
- * @description Maximum YES probability (0-1).
3085
- */
3086
- max_probability?: number | null;
3087
- /** @description Restrict to markets carrying any of these tags or category names (case-insensitive). Empty = all. */
3088
- tags?: string[] | null;
3089
- /** @description Restrict to markets in any of these series (by slug, case-insensitive). Empty = all. */
3090
- series_slugs?: string[] | null;
3091
- /**
3092
- * Format: double
3093
- * @description Minimum probability percentage move to trigger (e.g. `10` for a 10% move).
3094
- */
3095
- min_probability_change_pct?: number | null;
3096
- /**
3097
- * Format: int64
3098
- * @description Minimum trades accumulated in the observation window before firing.
3099
- */
3100
- min_txns?: number | null;
3101
- /**
3102
- * Format: double
3103
- * @description Minimum USD volume accumulated in the observation window before firing.
3104
- */
3105
- min_volume_usd?: number | null;
3106
- spike_direction?: null | components["schemas"]["SpikeDirection"];
3107
- /**
3108
- * Format: int64
3109
- * @description Observation window in seconds. The first trade in each window sets the reference price; subsequent trades are compared to it. E.g. `60` detects moves that occur within 60 seconds.
3110
- */
3111
- window_secs?: number | null;
3112
- /** @description When `true`, suppress webhooks for short-term "updown" markets. Default: `false`. */
3113
- exclude_shortterm_markets?: boolean | null;
3114
- };
3115
- /** @description Position probability spike webhook payload */
3116
- ProbabilitySpikePayload: {
3117
- /** @description Outcome token ID. */
3118
- position_id: string;
3119
- /** @description Market condition ID. */
3120
- condition_id?: string | null;
3121
- /** @description Market question. */
3122
- question?: string | null;
3123
- /** @description Market slug. */
3124
- market_slug?: string | null;
3125
- /** @description Event slug. */
3126
- event_slug?: string | null;
3127
- /** @description Image URL. */
3128
- image_url?: string | null;
3129
- /** @description Outcome name. */
3130
- outcome?: string | null;
3131
- /**
3132
- * Format: int32
3133
- * @description Outcome index.
3134
- */
3135
- outcome_index?: number | null;
3136
- /**
3137
- * Format: double
3138
- * @description YES probability at the start of the observation window (the baseline snapshot)
3139
- */
3140
- previous_probability: number;
3141
- /**
3142
- * Format: double
3143
- * @description Current YES probability that triggered the spike
3144
- */
3145
- current_probability: number;
3146
- /** @description Direction of the spike: `"up"` (YES probability rising) or `"down"` (YES probability falling) */
3147
- spike_direction: string;
3148
- /**
3149
- * Format: double
3150
- * @description Detected spike percentage from the snapshot baseline. Positive = rising, negative = falling.
3151
- */
3152
- spike_pct: number;
3153
- };
3154
3056
  /** @description V2 UMA OOv2: a price was proposed (resolution proposal). */
3155
3057
  ProposePriceEvent: {
3156
3058
  id: string;
@@ -3640,12 +3542,12 @@ export interface components {
3640
3542
  * Format: double
3641
3543
  * @description Only fire when the outcome probability is ≥ this value.
3642
3544
  */
3643
- min_probability?: number | null;
3545
+ min_price?: number | null;
3644
3546
  /**
3645
3547
  * Format: double
3646
3548
  * @description Only fire when the outcome probability is ≤ this value.
3647
3549
  */
3648
- max_probability?: number | null;
3550
+ max_price?: number | null;
3649
3551
  /** @description When `true`, suppress webhooks for short-term "updown" markets (event slugs containing `updown`). Default: `false`. */
3650
3552
  exclude_shortterm_markets?: boolean | null;
3651
3553
  };
@@ -3771,12 +3673,12 @@ export interface components {
3771
3673
  * Format: double
3772
3674
  * @description Only fire when the outcome probability is ≥ this value.
3773
3675
  */
3774
- min_probability?: number | null;
3676
+ min_price?: number | null;
3775
3677
  /**
3776
3678
  * Format: double
3777
3679
  * @description Only fire when the outcome probability is ≤ this value.
3778
3680
  */
3779
- max_probability?: number | null;
3681
+ max_price?: number | null;
3780
3682
  /** @description When `true`, suppress webhooks for short-term "updown" markets. Default: `false`. */
3781
3683
  exclude_shortterm_markets?: boolean | null;
3782
3684
  };
@@ -3802,12 +3704,12 @@ export interface components {
3802
3704
  * Format: double
3803
3705
  * @description Only fire when outcome probability is ≥ this value.
3804
3706
  */
3805
- min_probability?: number | null;
3707
+ min_price?: number | null;
3806
3708
  /**
3807
3709
  * Format: double
3808
3710
  * @description Only fire when outcome probability is ≤ this value.
3809
3711
  */
3810
- max_probability?: number | null;
3712
+ max_price?: number | null;
3811
3713
  /** @description Only fire for these fill-style trade types. Empty = OrderFilled and OrdersMatched only (default). */
3812
3714
  trade_types?: ("OrderFilled" | "OrdersMatched")[] | null;
3813
3715
  /** @description When `true`, suppress webhooks for short-term "updown" markets. Default: `false`. */
@@ -3858,12 +3760,12 @@ export interface components {
3858
3760
  * Format: double
3859
3761
  * @description Only fire when event probability is ≥ this value. Events without probability data do not match.
3860
3762
  */
3861
- min_probability?: number | null;
3763
+ min_price?: number | null;
3862
3764
  /**
3863
3765
  * Format: double
3864
3766
  * @description Only fire when event probability is ≤ this value. Events without probability data do not match.
3865
3767
  */
3866
- max_probability?: number | null;
3768
+ max_price?: number | null;
3867
3769
  /** @description Only fire for these trade types. Empty = all supported trade-event variants. */
3868
3770
  trade_types?: ("OrderFilled" | "OrdersMatched" | "MakerRebate" | "Reward" | "Yield" | "Redemption" | "Merge" | "Split" | "Cancelled" | "PositionsConverted" | "Initialization" | "Proposal" | "Dispute" | "Settled" | "Resolution" | "ConditionResolution" | "Reset" | "Flag" | "Unflag" | "Pause" | "Unpause" | "ManualResolution" | "NegRiskOutcomeReported" | "RegisterToken")[] | null;
3869
3771
  /** @description When `true`, suppress webhooks for short-term "updown" markets. Requires explicit `trade_types` that exclude `PositionsConverted`. Default: `false`. */
@@ -3891,12 +3793,12 @@ export interface components {
3891
3793
  * Format: double
3892
3794
  * @description Only fire when outcome probability is ≥ this value.
3893
3795
  */
3894
- min_probability?: number | null;
3796
+ min_price?: number | null;
3895
3797
  /**
3896
3798
  * Format: double
3897
3799
  * @description Only fire when outcome probability is ≤ this value.
3898
3800
  */
3899
- max_probability?: number | null;
3801
+ max_price?: number | null;
3900
3802
  /** @description When `true`, suppress webhooks for short-term "updown" markets. Default: `false`. */
3901
3803
  exclude_shortterm_markets?: boolean | null;
3902
3804
  };
@@ -4001,14 +3903,14 @@ export interface components {
4001
3903
  min_usd_value?: number | null;
4002
3904
  /**
4003
3905
  * Format: double
4004
- * @description Minimum probability threshold (0.0 - 1.0)
3906
+ * @description Minimum price threshold (0.0 - 1.0). Accepts the legacy `min_probability` key.
4005
3907
  */
4006
- min_probability?: number | null;
3908
+ min_price?: number | null;
4007
3909
  /**
4008
3910
  * Format: double
4009
- * @description Maximum probability threshold (0.0 - 1.0)
3911
+ * @description Maximum price threshold (0.0 - 1.0). Accepts the legacy `max_probability` key.
4010
3912
  */
4011
- max_probability?: number | null;
3913
+ max_price?: number | null;
4012
3914
  /**
4013
3915
  * Format: double
4014
3916
  * @description Minimum realized PnL (USD) — for global_pnl / market_pnl / event_pnl
@@ -4081,7 +3983,7 @@ export interface components {
4081
3983
  min_price_change_pct?: number | null;
4082
3984
  /**
4083
3985
  * Format: double
4084
- * @description Minimum probability change percentage for probability_spike
3986
+ * @description Minimum probability change percentage (legacy spike filter field)
4085
3987
  */
4086
3988
  min_probability_change_pct?: number | null;
4087
3989
  /**
@@ -4100,7 +4002,7 @@ export interface components {
4100
4002
  spike_direction?: null | components["schemas"]["SpikeDirection"];
4101
4003
  /**
4102
4004
  * Format: int64
4103
- * @description Observation window in seconds (max 600) — for probability_spike, price_spike, volume_spike
4005
+ * @description Observation window in seconds (max 600) — for price_spike, volume_spike
4104
4006
  */
4105
4007
  window_secs?: number | null;
4106
4008
  /** @description When true, suppress webhooks for short-term "updown" markets */
@@ -144,6 +144,7 @@ export type AssertionDisputedEvent = Schemas["AssertionDisputedEvent"];
144
144
  export type AssertionMadeEvent = Schemas["AssertionMadeEvent"];
145
145
  export type AssertionSettledEvent = Schemas["AssertionSettledEvent"];
146
146
  export type CancelledTrade = Schemas["CancelledTrade"];
147
+ export type ComboLeg = Schemas["ComboLeg"];
147
148
  export type ComboTrade = Schemas["ComboTrade"];
148
149
  export type ConditionResolutionEvent = Schemas["ConditionResolutionEvent"];
149
150
  export type MergeTrade = Schemas["MergeTrade"];
@@ -521,7 +522,6 @@ export type TagMetricsPayload = WebhookSchemas["TagMetricsPayload"];
521
522
  export type VolumeMilestonePayload = WebhookSchemas["VolumeMilestonePayload"];
522
523
  export type EventVolumeMilestonePayload = WebhookSchemas["EventVolumeMilestonePayload"];
523
524
  export type PositionVolumeMilestonePayload = WebhookSchemas["PositionVolumeMilestonePayload"];
524
- export type ProbabilitySpikePayload = WebhookSchemas["ProbabilitySpikePayload"];
525
525
  export type RotateSecretResponse = WebhookSchemas["RotateSecretResponse"];
526
526
  export type DeleteWebhookResponse = WebhookSchemas["DeleteWebhookResponse"];
527
527
  export type ListEventsResponse = WebhookSchemas["ListEventsResponse"];
@@ -549,7 +549,6 @@ export type TagMetricsFilters = WebhookSchemas["TagMetricsFilters"];
549
549
  export type MarketVolumeMilestoneFilters = WebhookSchemas["MarketVolumeMilestoneFilters"];
550
550
  export type EventVolumeMilestoneFilters = WebhookSchemas["EventVolumeMilestoneFilters"];
551
551
  export type PositionVolumeMilestoneFilters = WebhookSchemas["PositionVolumeMilestoneFilters"];
552
- export type ProbabilitySpikeFilters = WebhookSchemas["ProbabilitySpikeFilters"];
553
552
  export type MarketVolumeSpikeFilters = WebhookSchemas["MarketVolumeSpikeFilters"];
554
553
  export type EventVolumeSpikeFilters = WebhookSchemas["EventVolumeSpikeFilters"];
555
554
  export type PositionVolumeSpikeFilters = WebhookSchemas["PositionVolumeSpikeFilters"];
@@ -587,7 +586,6 @@ export interface WebhookEventPayloadMap {
587
586
  market_volume_milestone: VolumeMilestonePayload;
588
587
  event_volume_milestone: EventVolumeMilestonePayload;
589
588
  position_volume_milestone: PositionVolumeMilestonePayload;
590
- probability_spike: ProbabilitySpikePayload;
591
589
  price_spike: PriceSpikePayload;
592
590
  market_volume_spike: MarketVolumeSpikePayload;
593
591
  event_volume_spike: EventVolumeSpikePayload;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@structbuild/sdk",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",