propline 0.71.0 → 0.72.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
@@ -1814,6 +1814,53 @@ interface RefereeMatchesOptions {
1814
1814
  /** 1-500 (default 100). */
1815
1815
  limit?: number;
1816
1816
  }
1817
+ interface MarketCoverageEntry {
1818
+ market: string;
1819
+ /** Period code (q1, h1, ...), null for full game. */
1820
+ period: string | null;
1821
+ /** Games in the window this book prices the market on. */
1822
+ events: number;
1823
+ /** Market rows (alt lines count separately). */
1824
+ markets: number;
1825
+ last_update: string | null;
1826
+ }
1827
+ interface MarketCoverageBook {
1828
+ key: string;
1829
+ title: string;
1830
+ /** Games in the window this book has any market on. */
1831
+ events: number;
1832
+ prop_market_count: number;
1833
+ game_lines: MarketCoverageEntry[];
1834
+ props: MarketCoverageEntry[];
1835
+ }
1836
+ interface MarketCoverageResponse {
1837
+ sport_key: string;
1838
+ days: number;
1839
+ /** Games in the window. */
1840
+ events: number;
1841
+ bookmakers: MarketCoverageBook[];
1842
+ }
1843
+ interface MarketCoverageOptions {
1844
+ /** 1-7 (default 3). */
1845
+ days?: number;
1846
+ /** Include quarter / half / inning markets (default false). */
1847
+ periods?: boolean;
1848
+ }
1849
+ interface HistoryCoverageBook {
1850
+ key: string;
1851
+ title: string;
1852
+ /** YYYY-MM-DD kickoff dates. */
1853
+ history_start: string | null;
1854
+ game_lines_start: string | null;
1855
+ props_start: string | null;
1856
+ latest_event: string | null;
1857
+ events: number;
1858
+ retired: boolean;
1859
+ }
1860
+ interface HistoryCoverageResponse {
1861
+ sport_key: string;
1862
+ bookmakers: HistoryCoverageBook[];
1863
+ }
1817
1864
 
1818
1865
  /** Options for {@link PropLineClient.getDfsPayouts}. */
1819
1866
  interface GetDfsPayoutsOptions {
@@ -2538,8 +2585,11 @@ declare class PropLine {
2538
2585
  */
2539
2586
  getInjuryHistory(sport: string, options?: InjuryHistoryOptions): Promise<InjuryHistory>;
2540
2587
  /**
2541
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
2542
- * other sports return 404 `referees_not_available`.
2588
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
2589
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
2590
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
2591
+ * Libertadores, Sudamericana and others. Other sports return 404
2592
+ * `referees_not_available` with `available_sports`.
2543
2593
  */
2544
2594
  getReferees(sport: string, options?: RefereesOptions): Promise<RefereesResponse>;
2545
2595
  /**
@@ -2547,6 +2597,14 @@ declare class PropLine {
2547
2597
  * (free tier). `limit` is 1-500 (default 100).
2548
2598
  */
2549
2599
  getRefereeMatches(sport: string, name: string, options?: RefereeMatchesOptions): Promise<RefereeMatchesResponse>;
2600
+ /**
2601
+ * Every market each book is pricing on a sport's games in the next `days`
2602
+ * days, and on how many of those games (free tier). `days` is 1-7
2603
+ * (default 3); `periods` adds quarter / half / inning markets.
2604
+ */
2605
+ getMarketCoverage(sport: string, options?: MarketCoverageOptions): Promise<MarketCoverageResponse>;
2606
+ /** When each book's odds history starts for a sport (free tier). */
2607
+ getHistoryCoverage(sport: string): Promise<HistoryCoverageResponse>;
2550
2608
  /**
2551
2609
  * Get raw player/team box-score stats (book-agnostic, free tier).
2552
2610
  *
@@ -3062,6 +3120,6 @@ declare const Bookmakers: {
3062
3120
  readonly PRIZEPICKS: "prizepicks";
3063
3121
  };
3064
3122
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
3065
- declare const VERSION = "0.71.0";
3123
+ declare const VERSION = "0.72.0";
3066
3124
 
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 };
3125
+ 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
@@ -1814,6 +1814,53 @@ interface RefereeMatchesOptions {
1814
1814
  /** 1-500 (default 100). */
1815
1815
  limit?: number;
1816
1816
  }
1817
+ interface MarketCoverageEntry {
1818
+ market: string;
1819
+ /** Period code (q1, h1, ...), null for full game. */
1820
+ period: string | null;
1821
+ /** Games in the window this book prices the market on. */
1822
+ events: number;
1823
+ /** Market rows (alt lines count separately). */
1824
+ markets: number;
1825
+ last_update: string | null;
1826
+ }
1827
+ interface MarketCoverageBook {
1828
+ key: string;
1829
+ title: string;
1830
+ /** Games in the window this book has any market on. */
1831
+ events: number;
1832
+ prop_market_count: number;
1833
+ game_lines: MarketCoverageEntry[];
1834
+ props: MarketCoverageEntry[];
1835
+ }
1836
+ interface MarketCoverageResponse {
1837
+ sport_key: string;
1838
+ days: number;
1839
+ /** Games in the window. */
1840
+ events: number;
1841
+ bookmakers: MarketCoverageBook[];
1842
+ }
1843
+ interface MarketCoverageOptions {
1844
+ /** 1-7 (default 3). */
1845
+ days?: number;
1846
+ /** Include quarter / half / inning markets (default false). */
1847
+ periods?: boolean;
1848
+ }
1849
+ interface HistoryCoverageBook {
1850
+ key: string;
1851
+ title: string;
1852
+ /** YYYY-MM-DD kickoff dates. */
1853
+ history_start: string | null;
1854
+ game_lines_start: string | null;
1855
+ props_start: string | null;
1856
+ latest_event: string | null;
1857
+ events: number;
1858
+ retired: boolean;
1859
+ }
1860
+ interface HistoryCoverageResponse {
1861
+ sport_key: string;
1862
+ bookmakers: HistoryCoverageBook[];
1863
+ }
1817
1864
 
1818
1865
  /** Options for {@link PropLineClient.getDfsPayouts}. */
1819
1866
  interface GetDfsPayoutsOptions {
@@ -2538,8 +2585,11 @@ declare class PropLine {
2538
2585
  */
2539
2586
  getInjuryHistory(sport: string, options?: InjuryHistoryOptions): Promise<InjuryHistory>;
2540
2587
  /**
2541
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
2542
- * other sports return 404 `referees_not_available`.
2588
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
2589
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
2590
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
2591
+ * Libertadores, Sudamericana and others. Other sports return 404
2592
+ * `referees_not_available` with `available_sports`.
2543
2593
  */
2544
2594
  getReferees(sport: string, options?: RefereesOptions): Promise<RefereesResponse>;
2545
2595
  /**
@@ -2547,6 +2597,14 @@ declare class PropLine {
2547
2597
  * (free tier). `limit` is 1-500 (default 100).
2548
2598
  */
2549
2599
  getRefereeMatches(sport: string, name: string, options?: RefereeMatchesOptions): Promise<RefereeMatchesResponse>;
2600
+ /**
2601
+ * Every market each book is pricing on a sport's games in the next `days`
2602
+ * days, and on how many of those games (free tier). `days` is 1-7
2603
+ * (default 3); `periods` adds quarter / half / inning markets.
2604
+ */
2605
+ getMarketCoverage(sport: string, options?: MarketCoverageOptions): Promise<MarketCoverageResponse>;
2606
+ /** When each book's odds history starts for a sport (free tier). */
2607
+ getHistoryCoverage(sport: string): Promise<HistoryCoverageResponse>;
2550
2608
  /**
2551
2609
  * Get raw player/team box-score stats (book-agnostic, free tier).
2552
2610
  *
@@ -3062,6 +3120,6 @@ declare const Bookmakers: {
3062
3120
  readonly PRIZEPICKS: "prizepicks";
3063
3121
  };
3064
3122
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
3065
- declare const VERSION = "0.71.0";
3123
+ declare const VERSION = "0.72.0";
3066
3124
 
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 };
3125
+ 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
@@ -419,8 +419,11 @@ var PropLine = class {
419
419
  );
420
420
  }
421
421
  /**
422
- * Referee card stats for a sport (free tier). Only `soccer_epl` today;
423
- * other sports return 404 `referees_not_available`.
422
+ * Referee card stats for a sport (free tier). 32 soccer leagues: the
423
+ * Premier League plus La Liga, Serie A, Bundesliga, Ligue 1, MLS,
424
+ * Championship, Eredivisie, Liga MX, Brasileirao, the UEFA cups,
425
+ * Libertadores, Sudamericana and others. Other sports return 404
426
+ * `referees_not_available` with `available_sports`.
424
427
  */
425
428
  getReferees(sport, options = {}) {
426
429
  const params = {};
@@ -448,6 +451,23 @@ var PropLine = class {
448
451
  { params }
449
452
  );
450
453
  }
454
+ /**
455
+ * Every market each book is pricing on a sport's games in the next `days`
456
+ * days, and on how many of those games (free tier). `days` is 1-7
457
+ * (default 3); `periods` adds quarter / half / inning markets.
458
+ */
459
+ getMarketCoverage(sport, options = {}) {
460
+ const params = { sport };
461
+ if (options.days !== void 0) params.days = String(options.days);
462
+ if (options.periods !== void 0) params.periods = options.periods ? "true" : "false";
463
+ return this._request("GET", "/coverage/markets", { params });
464
+ }
465
+ /** When each book's odds history starts for a sport (free tier). */
466
+ getHistoryCoverage(sport) {
467
+ return this._request("GET", "/coverage/history", {
468
+ params: { sport }
469
+ });
470
+ }
451
471
  /**
452
472
  * Get raw player/team box-score stats (book-agnostic, free tier).
453
473
  *
@@ -1274,7 +1294,7 @@ var Bookmakers = {
1274
1294
  POLYMARKET: "polymarket",
1275
1295
  PRIZEPICKS: "prizepicks"
1276
1296
  };
1277
- var VERSION = "0.71.0";
1297
+ var VERSION = "0.72.0";
1278
1298
  export {
1279
1299
  AuthError,
1280
1300
  Bookmakers,