propline 0.71.0 → 0.73.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
@@ -1747,7 +1747,11 @@ interface IdLookupResponse {
1747
1747
  completed: boolean;
1748
1748
  home_score: number | null;
1749
1749
  away_score: number | null;
1750
+ /** Name lookups only: minutes between this event's kickoff and the one asked for. */
1751
+ kickoff_delta_minutes?: number;
1750
1752
  }>;
1753
+ /** Name lookups only: more than one event matched. */
1754
+ ambiguous?: boolean;
1751
1755
  not_found: string[];
1752
1756
  }
1753
1757
  interface RefereeNextMatch {
@@ -1814,6 +1818,53 @@ interface RefereeMatchesOptions {
1814
1818
  /** 1-500 (default 100). */
1815
1819
  limit?: number;
1816
1820
  }
1821
+ interface MarketCoverageEntry {
1822
+ market: string;
1823
+ /** Period code (q1, h1, ...), null for full game. */
1824
+ period: string | null;
1825
+ /** Games in the window this book prices the market on. */
1826
+ events: number;
1827
+ /** Market rows (alt lines count separately). */
1828
+ markets: number;
1829
+ last_update: string | null;
1830
+ }
1831
+ interface MarketCoverageBook {
1832
+ key: string;
1833
+ title: string;
1834
+ /** Games in the window this book has any market on. */
1835
+ events: number;
1836
+ prop_market_count: number;
1837
+ game_lines: MarketCoverageEntry[];
1838
+ props: MarketCoverageEntry[];
1839
+ }
1840
+ interface MarketCoverageResponse {
1841
+ sport_key: string;
1842
+ days: number;
1843
+ /** Games in the window. */
1844
+ events: number;
1845
+ bookmakers: MarketCoverageBook[];
1846
+ }
1847
+ interface MarketCoverageOptions {
1848
+ /** 1-7 (default 3). */
1849
+ days?: number;
1850
+ /** Include quarter / half / inning markets (default false). */
1851
+ periods?: boolean;
1852
+ }
1853
+ interface HistoryCoverageBook {
1854
+ key: string;
1855
+ title: string;
1856
+ /** YYYY-MM-DD kickoff dates. */
1857
+ history_start: string | null;
1858
+ game_lines_start: string | null;
1859
+ props_start: string | null;
1860
+ latest_event: string | null;
1861
+ events: number;
1862
+ retired: boolean;
1863
+ }
1864
+ interface HistoryCoverageResponse {
1865
+ sport_key: string;
1866
+ bookmakers: HistoryCoverageBook[];
1867
+ }
1817
1868
 
1818
1869
  /** Options for {@link PropLineClient.getDfsPayouts}. */
1819
1870
  interface GetDfsPayoutsOptions {
@@ -2507,12 +2558,21 @@ declare class PropLine {
2507
2558
  * Find PropLine events from someone else's id (free tier). Pass exactly
2508
2559
  * one of `book` + `bookEventId` (a sportsbook's own event id),
2509
2560
  * `espnEventId` or `mlbGamePk`; arrays send up to 50.
2561
+ *
2562
+ * Or by names: `sport` + `home` + `away` + `kickoff` (ISO 8601) returns
2563
+ * every event with those two teams (either order) within `windowHours`
2564
+ * (default 6), closest first; `ambiguous` is true when more than one matches.
2510
2565
  */
2511
2566
  lookupEventIds(opts: {
2512
2567
  book?: string;
2513
2568
  bookEventId?: string | string[];
2514
2569
  espnEventId?: string | string[];
2515
2570
  mlbGamePk?: number | string | Array<number | string>;
2571
+ sport?: string;
2572
+ home?: string;
2573
+ away?: string;
2574
+ kickoff?: string;
2575
+ windowHours?: number;
2516
2576
  }): Promise<IdLookupResponse>;
2517
2577
  getBookAccuracy(options?: BookAccuracyOptions): Promise<BookAccuracyReport>;
2518
2578
  /**
@@ -2538,8 +2598,11 @@ declare class PropLine {
2538
2598
  */
2539
2599
  getInjuryHistory(sport: string, options?: InjuryHistoryOptions): Promise<InjuryHistory>;
2540
2600
  /**
2541
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
2542
- * other sports return 404 `referees_not_available`.
2601
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
2602
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
2603
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
2604
+ * Libertadores, Sudamericana and others. Other sports return 404
2605
+ * `referees_not_available` with `available_sports`.
2543
2606
  */
2544
2607
  getReferees(sport: string, options?: RefereesOptions): Promise<RefereesResponse>;
2545
2608
  /**
@@ -2547,6 +2610,14 @@ declare class PropLine {
2547
2610
  * (free tier). `limit` is 1-500 (default 100).
2548
2611
  */
2549
2612
  getRefereeMatches(sport: string, name: string, options?: RefereeMatchesOptions): Promise<RefereeMatchesResponse>;
2613
+ /**
2614
+ * Every market each book is pricing on a sport's games in the next `days`
2615
+ * days, and on how many of those games (free tier). `days` is 1-7
2616
+ * (default 3); `periods` adds quarter / half / inning markets.
2617
+ */
2618
+ getMarketCoverage(sport: string, options?: MarketCoverageOptions): Promise<MarketCoverageResponse>;
2619
+ /** When each book's odds history starts for a sport (free tier). */
2620
+ getHistoryCoverage(sport: string): Promise<HistoryCoverageResponse>;
2550
2621
  /**
2551
2622
  * Get raw player/team box-score stats (book-agnostic, free tier).
2552
2623
  *
@@ -3062,6 +3133,6 @@ declare const Bookmakers: {
3062
3133
  readonly PRIZEPICKS: "prizepicks";
3063
3134
  };
3064
3135
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
3065
- declare const VERSION = "0.71.0";
3136
+ declare const VERSION = "0.73.0";
3066
3137
 
3067
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, 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 EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, 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 GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HitRateSplit, type IdLookupResponse, type InjuredPlayer, type InjuryHistory, type InjuryHistoryOptions, type InjuryReport, type InjuryReportOptions, type InjuryStatusChange, type InjuryStatusCode, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, 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 ParlayLegInput, type ParlayLegPriced, type ParlayPriceResponse, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type RefereeMatch, type RefereeMatchesOptions, type RefereeMatchesResponse, type RefereeNextMatch, type RefereeSummary, type RefereesOptions, type RefereesResponse, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SettleBetInput, type SettleLegInput, type SettleResponse, type SettleResult, type SettledBet, type SettledLeg, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamHeartbeat, type StreamHeartbeatBook, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
3138
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, 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 EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, 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 GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HistoryCoverageBook, type HistoryCoverageResponse, type HitRateSplit, type IdLookupResponse, type InjuredPlayer, type InjuryHistory, type InjuryHistoryOptions, type InjuryReport, type InjuryReportOptions, type InjuryStatusChange, type InjuryStatusCode, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketCoverageBook, type MarketCoverageEntry, type MarketCoverageOptions, type MarketCoverageResponse, 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 ParlayLegInput, type ParlayLegPriced, type ParlayPriceResponse, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type RefereeMatch, type RefereeMatchesOptions, type RefereeMatchesResponse, type RefereeNextMatch, type RefereeSummary, type RefereesOptions, type RefereesResponse, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SettleBetInput, type SettleLegInput, type SettleResponse, type SettleResult, type SettledBet, type SettledLeg, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamHeartbeat, type StreamHeartbeatBook, 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
@@ -1747,7 +1747,11 @@ interface IdLookupResponse {
1747
1747
  completed: boolean;
1748
1748
  home_score: number | null;
1749
1749
  away_score: number | null;
1750
+ /** Name lookups only: minutes between this event's kickoff and the one asked for. */
1751
+ kickoff_delta_minutes?: number;
1750
1752
  }>;
1753
+ /** Name lookups only: more than one event matched. */
1754
+ ambiguous?: boolean;
1751
1755
  not_found: string[];
1752
1756
  }
1753
1757
  interface RefereeNextMatch {
@@ -1814,6 +1818,53 @@ interface RefereeMatchesOptions {
1814
1818
  /** 1-500 (default 100). */
1815
1819
  limit?: number;
1816
1820
  }
1821
+ interface MarketCoverageEntry {
1822
+ market: string;
1823
+ /** Period code (q1, h1, ...), null for full game. */
1824
+ period: string | null;
1825
+ /** Games in the window this book prices the market on. */
1826
+ events: number;
1827
+ /** Market rows (alt lines count separately). */
1828
+ markets: number;
1829
+ last_update: string | null;
1830
+ }
1831
+ interface MarketCoverageBook {
1832
+ key: string;
1833
+ title: string;
1834
+ /** Games in the window this book has any market on. */
1835
+ events: number;
1836
+ prop_market_count: number;
1837
+ game_lines: MarketCoverageEntry[];
1838
+ props: MarketCoverageEntry[];
1839
+ }
1840
+ interface MarketCoverageResponse {
1841
+ sport_key: string;
1842
+ days: number;
1843
+ /** Games in the window. */
1844
+ events: number;
1845
+ bookmakers: MarketCoverageBook[];
1846
+ }
1847
+ interface MarketCoverageOptions {
1848
+ /** 1-7 (default 3). */
1849
+ days?: number;
1850
+ /** Include quarter / half / inning markets (default false). */
1851
+ periods?: boolean;
1852
+ }
1853
+ interface HistoryCoverageBook {
1854
+ key: string;
1855
+ title: string;
1856
+ /** YYYY-MM-DD kickoff dates. */
1857
+ history_start: string | null;
1858
+ game_lines_start: string | null;
1859
+ props_start: string | null;
1860
+ latest_event: string | null;
1861
+ events: number;
1862
+ retired: boolean;
1863
+ }
1864
+ interface HistoryCoverageResponse {
1865
+ sport_key: string;
1866
+ bookmakers: HistoryCoverageBook[];
1867
+ }
1817
1868
 
1818
1869
  /** Options for {@link PropLineClient.getDfsPayouts}. */
1819
1870
  interface GetDfsPayoutsOptions {
@@ -2507,12 +2558,21 @@ declare class PropLine {
2507
2558
  * Find PropLine events from someone else's id (free tier). Pass exactly
2508
2559
  * one of `book` + `bookEventId` (a sportsbook's own event id),
2509
2560
  * `espnEventId` or `mlbGamePk`; arrays send up to 50.
2561
+ *
2562
+ * Or by names: `sport` + `home` + `away` + `kickoff` (ISO 8601) returns
2563
+ * every event with those two teams (either order) within `windowHours`
2564
+ * (default 6), closest first; `ambiguous` is true when more than one matches.
2510
2565
  */
2511
2566
  lookupEventIds(opts: {
2512
2567
  book?: string;
2513
2568
  bookEventId?: string | string[];
2514
2569
  espnEventId?: string | string[];
2515
2570
  mlbGamePk?: number | string | Array<number | string>;
2571
+ sport?: string;
2572
+ home?: string;
2573
+ away?: string;
2574
+ kickoff?: string;
2575
+ windowHours?: number;
2516
2576
  }): Promise<IdLookupResponse>;
2517
2577
  getBookAccuracy(options?: BookAccuracyOptions): Promise<BookAccuracyReport>;
2518
2578
  /**
@@ -2538,8 +2598,11 @@ declare class PropLine {
2538
2598
  */
2539
2599
  getInjuryHistory(sport: string, options?: InjuryHistoryOptions): Promise<InjuryHistory>;
2540
2600
  /**
2541
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
2542
- * other sports return 404 `referees_not_available`.
2601
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
2602
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
2603
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
2604
+ * Libertadores, Sudamericana and others. Other sports return 404
2605
+ * `referees_not_available` with `available_sports`.
2543
2606
  */
2544
2607
  getReferees(sport: string, options?: RefereesOptions): Promise<RefereesResponse>;
2545
2608
  /**
@@ -2547,6 +2610,14 @@ declare class PropLine {
2547
2610
  * (free tier). `limit` is 1-500 (default 100).
2548
2611
  */
2549
2612
  getRefereeMatches(sport: string, name: string, options?: RefereeMatchesOptions): Promise<RefereeMatchesResponse>;
2613
+ /**
2614
+ * Every market each book is pricing on a sport's games in the next `days`
2615
+ * days, and on how many of those games (free tier). `days` is 1-7
2616
+ * (default 3); `periods` adds quarter / half / inning markets.
2617
+ */
2618
+ getMarketCoverage(sport: string, options?: MarketCoverageOptions): Promise<MarketCoverageResponse>;
2619
+ /** When each book's odds history starts for a sport (free tier). */
2620
+ getHistoryCoverage(sport: string): Promise<HistoryCoverageResponse>;
2550
2621
  /**
2551
2622
  * Get raw player/team box-score stats (book-agnostic, free tier).
2552
2623
  *
@@ -3062,6 +3133,6 @@ declare const Bookmakers: {
3062
3133
  readonly PRIZEPICKS: "prizepicks";
3063
3134
  };
3064
3135
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
3065
- declare const VERSION = "0.71.0";
3136
+ declare const VERSION = "0.73.0";
3066
3137
 
3067
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, 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 EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, 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 GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HitRateSplit, type IdLookupResponse, type InjuredPlayer, type InjuryHistory, type InjuryHistoryOptions, type InjuryReport, type InjuryReportOptions, type InjuryStatusChange, type InjuryStatusCode, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, 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 ParlayLegInput, type ParlayLegPriced, type ParlayPriceResponse, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type RefereeMatch, type RefereeMatchesOptions, type RefereeMatchesResponse, type RefereeNextMatch, type RefereeSummary, type RefereesOptions, type RefereesResponse, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SettleBetInput, type SettleLegInput, type SettleResponse, type SettleResult, type SettledBet, type SettledLeg, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamHeartbeat, type StreamHeartbeatBook, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
3138
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, 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 EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, 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 GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HistoryCoverageBook, type HistoryCoverageResponse, type HitRateSplit, type IdLookupResponse, type InjuredPlayer, type InjuryHistory, type InjuryHistoryOptions, type InjuryReport, type InjuryReportOptions, type InjuryStatusChange, type InjuryStatusCode, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketCoverageBook, type MarketCoverageEntry, type MarketCoverageOptions, type MarketCoverageResponse, 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 ParlayLegInput, type ParlayLegPriced, type ParlayPriceResponse, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type RefereeMatch, type RefereeMatchesOptions, type RefereeMatchesResponse, type RefereeNextMatch, type RefereeSummary, type RefereesOptions, type RefereesResponse, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SettleBetInput, type SettleLegInput, type SettleResponse, type SettleResult, type SettledBet, type SettledLeg, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamHeartbeat, type StreamHeartbeatBook, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
package/dist/index.js CHANGED
@@ -348,6 +348,10 @@ var PropLine = class {
348
348
  * Find PropLine events from someone else's id (free tier). Pass exactly
349
349
  * one of `book` + `bookEventId` (a sportsbook's own event id),
350
350
  * `espnEventId` or `mlbGamePk`; arrays send up to 50.
351
+ *
352
+ * Or by names: `sport` + `home` + `away` + `kickoff` (ISO 8601) returns
353
+ * every event with those two teams (either order) within `windowHours`
354
+ * (default 6), closest first; `ambiguous` is true when more than one matches.
351
355
  */
352
356
  lookupEventIds(opts) {
353
357
  const j = (v) => Array.isArray(v) ? v.join(",") : v === void 0 ? void 0 : String(v);
@@ -356,7 +360,12 @@ var PropLine = class {
356
360
  book: opts.book,
357
361
  book_event_id: j(opts.bookEventId),
358
362
  espn_event_id: j(opts.espnEventId),
359
- mlb_game_pk: j(opts.mlbGamePk)
363
+ mlb_game_pk: j(opts.mlbGamePk),
364
+ sport: opts.sport,
365
+ home: opts.home,
366
+ away: opts.away,
367
+ kickoff: opts.kickoff,
368
+ window_hours: opts.windowHours
360
369
  }
361
370
  });
362
371
  }
@@ -419,8 +428,11 @@ var PropLine = class {
419
428
  );
420
429
  }
421
430
  /**
422
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
423
- * other sports return 404 `referees_not_available`.
431
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
432
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
433
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
434
+ * Libertadores, Sudamericana and others. Other sports return 404
435
+ * `referees_not_available` with `available_sports`.
424
436
  */
425
437
  getReferees(sport, options = {}) {
426
438
  const params = {};
@@ -448,6 +460,23 @@ var PropLine = class {
448
460
  { params }
449
461
  );
450
462
  }
463
+ /**
464
+ * Every market each book is pricing on a sport's games in the next `days`
465
+ * days, and on how many of those games (free tier). `days` is 1-7
466
+ * (default 3); `periods` adds quarter / half / inning markets.
467
+ */
468
+ getMarketCoverage(sport, options = {}) {
469
+ const params = { sport };
470
+ if (options.days !== void 0) params.days = String(options.days);
471
+ if (options.periods !== void 0) params.periods = options.periods ? "true" : "false";
472
+ return this._request("GET", "/coverage/markets", { params });
473
+ }
474
+ /** When each book's odds history starts for a sport (free tier). */
475
+ getHistoryCoverage(sport) {
476
+ return this._request("GET", "/coverage/history", {
477
+ params: { sport }
478
+ });
479
+ }
451
480
  /**
452
481
  * Get raw player/team box-score stats (book-agnostic, free tier).
453
482
  *
@@ -1274,7 +1303,7 @@ var Bookmakers = {
1274
1303
  POLYMARKET: "polymarket",
1275
1304
  PRIZEPICKS: "prizepicks"
1276
1305
  };
1277
- var VERSION = "0.71.0";
1306
+ var VERSION = "0.73.0";
1278
1307
  export {
1279
1308
  AuthError,
1280
1309
  Bookmakers,