propline 0.53.0 → 0.55.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/index.d.cts CHANGED
@@ -54,8 +54,28 @@ interface Event {
54
54
  * it now resolves — costs one request per stored event.
55
55
  */
56
56
  merged_from_event_ids?: string[] | null;
57
+ /**
58
+ * True for a tournament/outright listing (a tennis, golf, racing or
59
+ * cycling event with no away side — `away_team` is "").
60
+ */
61
+ is_outright?: boolean;
62
+ /**
63
+ * Tennis only: the competition this match belongs to (e.g. "US Open").
64
+ * One `tennis` key mixes every tour, so this and `tour` say which. `null`
65
+ * for every other sport and where unknown.
66
+ */
67
+ tournament?: string | null;
68
+ /** Tennis only: the tour — "ATP", "WTA", "Challenger", "ITF", "UTR", "Exhibition" or "Team". `null` elsewhere. */
69
+ tour?: string | null;
57
70
  [k: string]: unknown;
58
71
  }
72
+ /** One order-book level beyond an outcome's served price (see `Outcome.depth`). */
73
+ interface DepthLevel {
74
+ /** American odds at this level. */
75
+ price: number;
76
+ /** Dollars a taker can spend at this level. */
77
+ size: number | null;
78
+ }
59
79
  interface Outcome {
60
80
  name: string;
61
81
  description?: string | null;
@@ -132,6 +152,23 @@ interface Outcome {
132
152
  * `line_movement` webhooks.
133
153
  */
134
154
  liquidity?: number | null;
155
+ /**
156
+ * When the exchange last touched the resting order behind `liquidity`
157
+ * (ISO datetime, the book's own timestamp). Discount sizes that are old.
158
+ */
159
+ liquidity_updated_at?: string | null;
160
+ /**
161
+ * Up to three order-book levels BEYOND the served `price`. Only present
162
+ * when the request passed `includeDepth: true`; `[]` when the book has
163
+ * nothing further or PropLine does not read its depth (sportsbooks).
164
+ */
165
+ depth?: DepthLevel[];
166
+ /**
167
+ * Which side of the EVENT this leg is on: `"home"`, `"away"` or
168
+ * `"draw"`; `null` for Over/Under, Yes/No and player legs. Lets you pair
169
+ * legs without matching a book's own team spelling.
170
+ */
171
+ side?: "home" | "away" | "draw" | null;
135
172
  /**
136
173
  * Signed line-difficulty delta for a PrizePicks goblin/demon outcome:
137
174
  * `point - standard_point` for the same player+stat. Positive on a harder
@@ -278,6 +315,19 @@ interface OddsResponse {
278
315
  * it now resolves — costs one request per stored event.
279
316
  */
280
317
  merged_from_event_ids?: string[] | null;
318
+ /**
319
+ * True for a tournament/outright listing (a tennis, golf, racing or
320
+ * cycling event with no away side — `away_team` is "").
321
+ */
322
+ is_outright?: boolean;
323
+ /**
324
+ * Tennis only: the competition this match belongs to (e.g. "US Open").
325
+ * One `tennis` key mixes every tour, so this and `tour` say which. `null`
326
+ * for every other sport and where unknown.
327
+ */
328
+ tournament?: string | null;
329
+ /** Tennis only: the tour — "ATP", "WTA", "Challenger", "ITF", "UTR", "Exhibition" or "Team". `null` elsewhere. */
330
+ tour?: string | null;
281
331
  bookmakers: Bookmaker[];
282
332
  [k: string]: unknown;
283
333
  }
@@ -445,6 +495,10 @@ interface ScoreEvent {
445
495
  home_team_logo_url?: string | null;
446
496
  /** Away-side counterpart of `home_team_logo_url`. */
447
497
  away_team_logo_url?: string | null;
498
+ /** Tennis only — see `Event.tournament`. */
499
+ tournament?: string | null;
500
+ /** Tennis only — see `Event.tour`. */
501
+ tour?: string | null;
448
502
  status: "upcoming" | "in_progress" | "final" | string;
449
503
  home_score: number | null;
450
504
  away_score: number | null;
@@ -587,6 +641,10 @@ interface MovementOutcome {
587
641
  direction: string | null;
588
642
  num_snapshots: number;
589
643
  redacted: boolean;
644
+ /** PropLine's stable id for this selection — the same id `/odds` and webhook payloads carry. */
645
+ outcome_id?: number | null;
646
+ /** The book's own selection id. Only set when the request passed `includeBookIds: true`. */
647
+ book_outcome_id?: string | null;
590
648
  [k: string]: unknown;
591
649
  }
592
650
  interface MovementMarket {
@@ -620,6 +678,66 @@ interface SteamMove {
620
678
  avg_prob_shift: number;
621
679
  consensus_point_shift: number | null;
622
680
  steam_score: number;
681
+ /** Canonical team name for a team-total steam move; `null` otherwise. */
682
+ team?: string | null;
683
+ /** Median opening line across the books that moved. */
684
+ open_point?: number | null;
685
+ /** Median latest line across the books that moved. */
686
+ latest_point?: number | null;
687
+ [k: string]: unknown;
688
+ }
689
+ /** One side of a `line_movement` webhook payload (`previous` / `current`). */
690
+ interface LineMovementPrice {
691
+ price_american: number | null;
692
+ point: number | null;
693
+ /** Dollars stakeable at this price (exchanges / Pinnacle); `null` for other books. */
694
+ liquidity?: number | null;
695
+ /** The book's own timestamp for that size (ISO datetime). */
696
+ liquidity_updated_at?: string | null;
697
+ }
698
+ /** Body of a `line_movement` webhook delivery. */
699
+ interface LineMovementWebhookPayload {
700
+ event_type: "line_movement";
701
+ sport_key: string;
702
+ event: Record<string, unknown>;
703
+ bookmaker_key: string;
704
+ bookmaker_title: string;
705
+ market_id: number;
706
+ market_key: string;
707
+ market_description: string | null;
708
+ outcome_id: number;
709
+ book_outcome_id: string | null;
710
+ player_id: string | null;
711
+ player_name: string | null;
712
+ outcome_name: string;
713
+ dfs_odds_type: "standard" | "goblin" | "demon" | null;
714
+ payout_multiplier: number | null;
715
+ previous: LineMovementPrice;
716
+ current: LineMovementPrice;
717
+ price_change_pct: number;
718
+ timestamp: string;
719
+ [k: string]: unknown;
720
+ }
721
+ /** Body of a `steam` webhook delivery. */
722
+ interface SteamWebhookPayload {
723
+ event_type: "steam";
724
+ sport_key: string;
725
+ event: Record<string, unknown>;
726
+ market_key: string;
727
+ period: string | null;
728
+ outcome_name: string;
729
+ player_name: string | null;
730
+ /** Canonical team name for a team-total move; `null` otherwise. */
731
+ team: string | null;
732
+ open_point: number | null;
733
+ latest_point: number | null;
734
+ consensus_direction: string;
735
+ books_quoting: number;
736
+ books_moved: number;
737
+ avg_prob_shift: number;
738
+ consensus_point_shift: number | null;
739
+ steam_score: number;
740
+ timestamp: string;
623
741
  [k: string]: unknown;
624
742
  }
625
743
  interface MovementResponse {
@@ -1366,6 +1484,14 @@ interface GetOddsOptions {
1366
1484
  * equivalent.
1367
1485
  */
1368
1486
  includeBookIds?: boolean;
1487
+ /**
1488
+ * When true, every outcome carries `depth`: up to three order-book levels
1489
+ * BEYOND the served price, each `{ price, size }` (American odds, dollars).
1490
+ * `[]` when the book has nothing further or PropLine does not read depth
1491
+ * for that book (sportsbooks). Omitted from the response unless requested.
1492
+ * PropLine-specific (`includeDepth=true`).
1493
+ */
1494
+ includeDepth?: boolean;
1369
1495
  }
1370
1496
  interface GetOddsHistoryOptions {
1371
1497
  markets?: string[];
@@ -1405,6 +1531,19 @@ interface GetMovementOptions {
1405
1531
  period?: PeriodFilter;
1406
1532
  /** Bookmaker key(s) to restrict the response to. Omitted = all books. */
1407
1533
  bookmakers?: string | string[];
1534
+ /**
1535
+ * Measure movement from this moment instead of from each line's first
1536
+ * quote. ISO-8601 timestamp or a negative offset from now (`"-6h"`,
1537
+ * `"-30m"`, `"-2d"`). Each outcome's opening is the price it held at
1538
+ * `since` (or its first quote after), so steam covers only moves inside
1539
+ * the window.
1540
+ */
1541
+ since?: string;
1542
+ /**
1543
+ * When true, each movement outcome carries `book_outcome_id` (the book's
1544
+ * own selection id). `outcome_id` (PropLine's id) is always present.
1545
+ */
1546
+ includeBookIds?: boolean;
1408
1547
  }
1409
1548
  interface GetScoresOptions {
1410
1549
  /** Days back to include (default 3). */
@@ -1424,6 +1563,9 @@ interface GetStatsOptions {
1424
1563
  }
1425
1564
  interface GetResultsOptions {
1426
1565
  markets?: string[];
1566
+ /** Bookmaker key(s) to restrict the response to. Omitted = all books.
1567
+ * An unfiltered MLB game can run several MB. */
1568
+ bookmakers?: string | string[];
1427
1569
  }
1428
1570
  interface GetPlayerHistoryOptions {
1429
1571
  /** Market key (e.g. `"pitcher_strikeouts"`). Required. */
@@ -2275,6 +2417,6 @@ declare const Bookmakers: {
2275
2417
  readonly PRIZEPICKS: "prizepicks";
2276
2418
  };
2277
2419
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
2278
- declare const VERSION = "0.53.0";
2420
+ declare const VERSION = "0.55.0";
2279
2421
 
2280
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
2422
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
package/dist/index.d.ts CHANGED
@@ -54,8 +54,28 @@ interface Event {
54
54
  * it now resolves — costs one request per stored event.
55
55
  */
56
56
  merged_from_event_ids?: string[] | null;
57
+ /**
58
+ * True for a tournament/outright listing (a tennis, golf, racing or
59
+ * cycling event with no away side — `away_team` is "").
60
+ */
61
+ is_outright?: boolean;
62
+ /**
63
+ * Tennis only: the competition this match belongs to (e.g. "US Open").
64
+ * One `tennis` key mixes every tour, so this and `tour` say which. `null`
65
+ * for every other sport and where unknown.
66
+ */
67
+ tournament?: string | null;
68
+ /** Tennis only: the tour — "ATP", "WTA", "Challenger", "ITF", "UTR", "Exhibition" or "Team". `null` elsewhere. */
69
+ tour?: string | null;
57
70
  [k: string]: unknown;
58
71
  }
72
+ /** One order-book level beyond an outcome's served price (see `Outcome.depth`). */
73
+ interface DepthLevel {
74
+ /** American odds at this level. */
75
+ price: number;
76
+ /** Dollars a taker can spend at this level. */
77
+ size: number | null;
78
+ }
59
79
  interface Outcome {
60
80
  name: string;
61
81
  description?: string | null;
@@ -132,6 +152,23 @@ interface Outcome {
132
152
  * `line_movement` webhooks.
133
153
  */
134
154
  liquidity?: number | null;
155
+ /**
156
+ * When the exchange last touched the resting order behind `liquidity`
157
+ * (ISO datetime, the book's own timestamp). Discount sizes that are old.
158
+ */
159
+ liquidity_updated_at?: string | null;
160
+ /**
161
+ * Up to three order-book levels BEYOND the served `price`. Only present
162
+ * when the request passed `includeDepth: true`; `[]` when the book has
163
+ * nothing further or PropLine does not read its depth (sportsbooks).
164
+ */
165
+ depth?: DepthLevel[];
166
+ /**
167
+ * Which side of the EVENT this leg is on: `"home"`, `"away"` or
168
+ * `"draw"`; `null` for Over/Under, Yes/No and player legs. Lets you pair
169
+ * legs without matching a book's own team spelling.
170
+ */
171
+ side?: "home" | "away" | "draw" | null;
135
172
  /**
136
173
  * Signed line-difficulty delta for a PrizePicks goblin/demon outcome:
137
174
  * `point - standard_point` for the same player+stat. Positive on a harder
@@ -278,6 +315,19 @@ interface OddsResponse {
278
315
  * it now resolves — costs one request per stored event.
279
316
  */
280
317
  merged_from_event_ids?: string[] | null;
318
+ /**
319
+ * True for a tournament/outright listing (a tennis, golf, racing or
320
+ * cycling event with no away side — `away_team` is "").
321
+ */
322
+ is_outright?: boolean;
323
+ /**
324
+ * Tennis only: the competition this match belongs to (e.g. "US Open").
325
+ * One `tennis` key mixes every tour, so this and `tour` say which. `null`
326
+ * for every other sport and where unknown.
327
+ */
328
+ tournament?: string | null;
329
+ /** Tennis only: the tour — "ATP", "WTA", "Challenger", "ITF", "UTR", "Exhibition" or "Team". `null` elsewhere. */
330
+ tour?: string | null;
281
331
  bookmakers: Bookmaker[];
282
332
  [k: string]: unknown;
283
333
  }
@@ -445,6 +495,10 @@ interface ScoreEvent {
445
495
  home_team_logo_url?: string | null;
446
496
  /** Away-side counterpart of `home_team_logo_url`. */
447
497
  away_team_logo_url?: string | null;
498
+ /** Tennis only — see `Event.tournament`. */
499
+ tournament?: string | null;
500
+ /** Tennis only — see `Event.tour`. */
501
+ tour?: string | null;
448
502
  status: "upcoming" | "in_progress" | "final" | string;
449
503
  home_score: number | null;
450
504
  away_score: number | null;
@@ -587,6 +641,10 @@ interface MovementOutcome {
587
641
  direction: string | null;
588
642
  num_snapshots: number;
589
643
  redacted: boolean;
644
+ /** PropLine's stable id for this selection — the same id `/odds` and webhook payloads carry. */
645
+ outcome_id?: number | null;
646
+ /** The book's own selection id. Only set when the request passed `includeBookIds: true`. */
647
+ book_outcome_id?: string | null;
590
648
  [k: string]: unknown;
591
649
  }
592
650
  interface MovementMarket {
@@ -620,6 +678,66 @@ interface SteamMove {
620
678
  avg_prob_shift: number;
621
679
  consensus_point_shift: number | null;
622
680
  steam_score: number;
681
+ /** Canonical team name for a team-total steam move; `null` otherwise. */
682
+ team?: string | null;
683
+ /** Median opening line across the books that moved. */
684
+ open_point?: number | null;
685
+ /** Median latest line across the books that moved. */
686
+ latest_point?: number | null;
687
+ [k: string]: unknown;
688
+ }
689
+ /** One side of a `line_movement` webhook payload (`previous` / `current`). */
690
+ interface LineMovementPrice {
691
+ price_american: number | null;
692
+ point: number | null;
693
+ /** Dollars stakeable at this price (exchanges / Pinnacle); `null` for other books. */
694
+ liquidity?: number | null;
695
+ /** The book's own timestamp for that size (ISO datetime). */
696
+ liquidity_updated_at?: string | null;
697
+ }
698
+ /** Body of a `line_movement` webhook delivery. */
699
+ interface LineMovementWebhookPayload {
700
+ event_type: "line_movement";
701
+ sport_key: string;
702
+ event: Record<string, unknown>;
703
+ bookmaker_key: string;
704
+ bookmaker_title: string;
705
+ market_id: number;
706
+ market_key: string;
707
+ market_description: string | null;
708
+ outcome_id: number;
709
+ book_outcome_id: string | null;
710
+ player_id: string | null;
711
+ player_name: string | null;
712
+ outcome_name: string;
713
+ dfs_odds_type: "standard" | "goblin" | "demon" | null;
714
+ payout_multiplier: number | null;
715
+ previous: LineMovementPrice;
716
+ current: LineMovementPrice;
717
+ price_change_pct: number;
718
+ timestamp: string;
719
+ [k: string]: unknown;
720
+ }
721
+ /** Body of a `steam` webhook delivery. */
722
+ interface SteamWebhookPayload {
723
+ event_type: "steam";
724
+ sport_key: string;
725
+ event: Record<string, unknown>;
726
+ market_key: string;
727
+ period: string | null;
728
+ outcome_name: string;
729
+ player_name: string | null;
730
+ /** Canonical team name for a team-total move; `null` otherwise. */
731
+ team: string | null;
732
+ open_point: number | null;
733
+ latest_point: number | null;
734
+ consensus_direction: string;
735
+ books_quoting: number;
736
+ books_moved: number;
737
+ avg_prob_shift: number;
738
+ consensus_point_shift: number | null;
739
+ steam_score: number;
740
+ timestamp: string;
623
741
  [k: string]: unknown;
624
742
  }
625
743
  interface MovementResponse {
@@ -1366,6 +1484,14 @@ interface GetOddsOptions {
1366
1484
  * equivalent.
1367
1485
  */
1368
1486
  includeBookIds?: boolean;
1487
+ /**
1488
+ * When true, every outcome carries `depth`: up to three order-book levels
1489
+ * BEYOND the served price, each `{ price, size }` (American odds, dollars).
1490
+ * `[]` when the book has nothing further or PropLine does not read depth
1491
+ * for that book (sportsbooks). Omitted from the response unless requested.
1492
+ * PropLine-specific (`includeDepth=true`).
1493
+ */
1494
+ includeDepth?: boolean;
1369
1495
  }
1370
1496
  interface GetOddsHistoryOptions {
1371
1497
  markets?: string[];
@@ -1405,6 +1531,19 @@ interface GetMovementOptions {
1405
1531
  period?: PeriodFilter;
1406
1532
  /** Bookmaker key(s) to restrict the response to. Omitted = all books. */
1407
1533
  bookmakers?: string | string[];
1534
+ /**
1535
+ * Measure movement from this moment instead of from each line's first
1536
+ * quote. ISO-8601 timestamp or a negative offset from now (`"-6h"`,
1537
+ * `"-30m"`, `"-2d"`). Each outcome's opening is the price it held at
1538
+ * `since` (or its first quote after), so steam covers only moves inside
1539
+ * the window.
1540
+ */
1541
+ since?: string;
1542
+ /**
1543
+ * When true, each movement outcome carries `book_outcome_id` (the book's
1544
+ * own selection id). `outcome_id` (PropLine's id) is always present.
1545
+ */
1546
+ includeBookIds?: boolean;
1408
1547
  }
1409
1548
  interface GetScoresOptions {
1410
1549
  /** Days back to include (default 3). */
@@ -1424,6 +1563,9 @@ interface GetStatsOptions {
1424
1563
  }
1425
1564
  interface GetResultsOptions {
1426
1565
  markets?: string[];
1566
+ /** Bookmaker key(s) to restrict the response to. Omitted = all books.
1567
+ * An unfiltered MLB game can run several MB. */
1568
+ bookmakers?: string | string[];
1427
1569
  }
1428
1570
  interface GetPlayerHistoryOptions {
1429
1571
  /** Market key (e.g. `"pitcher_strikeouts"`). Required. */
@@ -2275,6 +2417,6 @@ declare const Bookmakers: {
2275
2417
  readonly PRIZEPICKS: "prizepicks";
2276
2418
  };
2277
2419
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
2278
- declare const VERSION = "0.53.0";
2420
+ declare const VERSION = "0.55.0";
2279
2421
 
2280
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
2422
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
package/dist/index.js CHANGED
@@ -169,6 +169,7 @@ var PropLine = class {
169
169
  if (bookmakersParam !== void 0) params.bookmakers = bookmakersParam;
170
170
  if (options.includeLinks) params.includeLinks = "true";
171
171
  if (options.includeBookIds) params.includeBookIds = "true";
172
+ if (options.includeDepth) params.includeDepth = "true";
172
173
  const sp = encodeURIComponent(sport);
173
174
  if (options.eventId !== void 0) {
174
175
  return this._request(
@@ -386,6 +387,8 @@ var PropLine = class {
386
387
  }
387
388
  params.period = _periodParam(options.period);
388
389
  params.bookmakers = _bookmakersParam(options.bookmakers);
390
+ if (options.since) params.since = options.since;
391
+ if (options.includeBookIds) params.includeBookIds = "true";
389
392
  return this._request(
390
393
  "GET",
391
394
  `/sports/${encodeURIComponent(sport)}/events/${encodeURIComponent(String(eventId))}/movement`,
@@ -402,6 +405,8 @@ var PropLine = class {
402
405
  if (options.markets?.length) {
403
406
  params.markets = options.markets.join(",");
404
407
  }
408
+ const bookmakersParam = _bookmakersParam(options.bookmakers);
409
+ if (bookmakersParam !== void 0) params.bookmakers = bookmakersParam;
405
410
  return this._request(
406
411
  "GET",
407
412
  `/sports/${encodeURIComponent(sport)}/events/${encodeURIComponent(String(eventId))}/results`,
@@ -1075,7 +1080,7 @@ var Bookmakers = {
1075
1080
  POLYMARKET: "polymarket",
1076
1081
  PRIZEPICKS: "prizepicks"
1077
1082
  };
1078
- var VERSION = "0.53.0";
1083
+ var VERSION = "0.55.0";
1079
1084
  export {
1080
1085
  AuthError,
1081
1086
  Bookmakers,