cfbd 5.31.2 → 5.32.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/cfbd-5.32.0.tgz +0 -0
- package/dist/sdk.gen.d.ts +16 -16
- package/dist/sdk.gen.js +28 -28
- package/dist/types.gen.d.ts +32 -31
- package/package.json +1 -1
- package/src/sdk.gen.ts +34 -34
- package/src/types.gen.ts +41 -40
- package/cfbd-5.31.2.tgz +0 -0
package/cfbd-5.32.0.tgz
ADDED
|
Binary file
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
2
|
-
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarResponse, GetTeamSeasonOverviewData, GetTeamSeasonOverviewError, GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetTeamsAtsData, GetTeamsAtsResponse, GetRosterData, GetRosterResponse, GetConferencesData, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetUserInfoResponse, GetUsageData, GetUsageResponse,
|
|
2
|
+
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarResponse, GetTeamSeasonOverviewData, GetTeamSeasonOverviewError, GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetTeamsAtsData, GetTeamsAtsResponse, GetRosterData, GetRosterResponse, GetConferencesData, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetUserInfoResponse, GetUsageData, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetGameScheduleData, GetGamePreviewData, GetAdjustedGamePreviewData, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData } from './types.gen';
|
|
3
3
|
export declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
|
|
4
4
|
/**
|
|
5
5
|
* Returns opponent-adjusted team statistics by season.
|
|
@@ -298,21 +298,6 @@ export declare const getUserInfo: <ThrowOnError extends boolean = false>(options
|
|
|
298
298
|
* pool. Returns `null` when the request is not authenticated.
|
|
299
299
|
*/
|
|
300
300
|
export declare const getUsage: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetUsageData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetUsageResponse, unknown, ThrowOnError>;
|
|
301
|
-
/**
|
|
302
|
-
* Returns the active or next calendar slate, including completed games.
|
|
303
|
-
* Explicit windows require year, seasonType, and week together.
|
|
304
|
-
*/
|
|
305
|
-
export declare const getGameSchedule: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameScheduleData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GameSchedule, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
306
|
-
/**
|
|
307
|
-
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
308
|
-
* Team statistics may use the previous season; players and context stay in the game season.
|
|
309
|
-
*/
|
|
310
|
-
export declare const getGamePreview: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGamePreviewData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GamePreview, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
311
|
-
/**
|
|
312
|
-
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
313
|
-
* Team metrics may use the previous season; players remain current-season.
|
|
314
|
-
*/
|
|
315
|
-
export declare const getAdjustedGamePreview: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdjustedGamePreviewData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").AdjustedGamePreview, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
316
301
|
/**
|
|
317
302
|
* Returns historical game data.
|
|
318
303
|
*/
|
|
@@ -333,6 +318,21 @@ export declare const getMedia: <ThrowOnError extends boolean = false>(options: O
|
|
|
333
318
|
* Returns historical and forecast weather data for games. Requires Patreon.
|
|
334
319
|
*/
|
|
335
320
|
export declare const getWeather: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetWeatherData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetWeatherResponse, unknown, ThrowOnError>;
|
|
321
|
+
/**
|
|
322
|
+
* Returns the active or next calendar slate, including completed games.
|
|
323
|
+
* Explicit windows require year, seasonType, and week together.
|
|
324
|
+
*/
|
|
325
|
+
export declare const getGameSchedule: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameScheduleData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GameSchedule, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
326
|
+
/**
|
|
327
|
+
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
328
|
+
* Team statistics may use the previous season; players and context stay in the game season.
|
|
329
|
+
*/
|
|
330
|
+
export declare const getGamePreview: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGamePreviewData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GamePreview, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
331
|
+
/**
|
|
332
|
+
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
333
|
+
* Team metrics may use the previous season; players remain current-season.
|
|
334
|
+
*/
|
|
335
|
+
export declare const getAdjustedGamePreview: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdjustedGamePreviewData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").AdjustedGamePreview, import("./types.gen").GamePreviewError, ThrowOnError>;
|
|
336
336
|
/**
|
|
337
337
|
* Returns historical team records by season.
|
|
338
338
|
*/
|
package/dist/sdk.gen.js
CHANGED
|
@@ -13,7 +13,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.getPlayerSeasonOverview = exports.getPlayerUsage = exports.searchPlayers = exports.getCfpGames = exports.getCfpParticipants = exports.getCfpPlayoff = exports.getPlayStatTypes = exports.getPlayStats = exports.getPlayTypes = exports.getPlays = exports.getRankings = exports.getFpi = exports.getElo = exports.getExpandedSrs = exports.getSrs = exports.getConferenceSp = exports.getSp = exports.getCore = exports.getAggregatedTeamRecruitingRatings = exports.getTeamRecruitingRankings = exports.getRecruits = exports.getTeamRushingByGame = exports.getTeamRushingBySeason = exports.getPlayerRushingByGame = exports.getPlayerRushingBySeason = exports.getRushingPlays = exports.getGameHavocStats = exports.getAdvancedGameStats = exports.getAdvancedSeasonStats = exports.getCategories = exports.getTeamStats = exports.getPlayerGameSuccessRates = exports.getPlayerSeasonSuccessRates = exports.getPlayerSeasonStats = exports.getVenues = exports.getTalent = exports.getTeamConferenceAffiliations = exports.getTeamConferenceChanges = exports.getConferences = exports.getRoster = exports.getTeamsAts = exports.getMatchup = exports.getFbsTeams = exports.getTeams = exports.getTeamSeasonOverview = exports.getKickerPaar = exports.getAdjustedPlayerRushingStats = exports.getAdjustedPlayerPassingStats = exports.getAdjustedTeamSeasonStats = exports.client = void 0;
|
|
16
|
-
exports.getAdvancedBoxScore = exports.getCoachTenures = exports.getCoachSeasons = exports.getCoachProfile = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.
|
|
16
|
+
exports.getAdvancedBoxScore = exports.getCoachTenures = exports.getCoachSeasons = exports.getCoachProfile = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.getAdjustedGamePreview = exports.getGamePreview = exports.getGameSchedule = exports.getWeather = exports.getMedia = exports.getGamePlayerStats = exports.getGameTeamStats = exports.getGames = exports.getUsage = exports.getUserInfo = exports.getLines = exports.getLivePlays = exports.getFieldGoalExpectedPoints = exports.getPregameWinProbabilities = exports.getWinProbability = exports.getPredictedPointsAddedByPlayerSeason = exports.getPredictedPointsAddedByPlayerGame = exports.getPredictedPointsAddedByGame = exports.getPredictedPointsAddedByTeam = exports.getPredictedPoints = exports.getTeamPassingByGame = exports.getTeamPassingBySeason = exports.getPlayerPassingByGame = exports.getPlayerPassingBySeason = exports.getPassingPlays = exports.getTransferPortal = exports.getReturningProduction = void 0;
|
|
17
17
|
var client_fetch_1 = require("@hey-api/client-fetch");
|
|
18
18
|
exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)({ baseUrl: 'https://api.collegefootballdata.com' }));
|
|
19
19
|
/**
|
|
@@ -585,33 +585,6 @@ var getUsage = function (options) {
|
|
|
585
585
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/info/usage' }));
|
|
586
586
|
};
|
|
587
587
|
exports.getUsage = getUsage;
|
|
588
|
-
/**
|
|
589
|
-
* Returns the active or next calendar slate, including completed games.
|
|
590
|
-
* Explicit windows require year, seasonType, and week together.
|
|
591
|
-
*/
|
|
592
|
-
var getGameSchedule = function (options) {
|
|
593
|
-
var _a;
|
|
594
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/schedule' }));
|
|
595
|
-
};
|
|
596
|
-
exports.getGameSchedule = getGameSchedule;
|
|
597
|
-
/**
|
|
598
|
-
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
599
|
-
* Team statistics may use the previous season; players and context stay in the game season.
|
|
600
|
-
*/
|
|
601
|
-
var getGamePreview = function (options) {
|
|
602
|
-
var _a;
|
|
603
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/{gameId}/preview' }));
|
|
604
|
-
};
|
|
605
|
-
exports.getGamePreview = getGamePreview;
|
|
606
|
-
/**
|
|
607
|
-
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
608
|
-
* Team metrics may use the previous season; players remain current-season.
|
|
609
|
-
*/
|
|
610
|
-
var getAdjustedGamePreview = function (options) {
|
|
611
|
-
var _a;
|
|
612
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/{gameId}/preview/adjusted' }));
|
|
613
|
-
};
|
|
614
|
-
exports.getAdjustedGamePreview = getAdjustedGamePreview;
|
|
615
588
|
/**
|
|
616
589
|
* Returns historical game data.
|
|
617
590
|
*/
|
|
@@ -652,6 +625,33 @@ var getWeather = function (options) {
|
|
|
652
625
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/weather' }));
|
|
653
626
|
};
|
|
654
627
|
exports.getWeather = getWeather;
|
|
628
|
+
/**
|
|
629
|
+
* Returns the active or next calendar slate, including completed games.
|
|
630
|
+
* Explicit windows require year, seasonType, and week together.
|
|
631
|
+
*/
|
|
632
|
+
var getGameSchedule = function (options) {
|
|
633
|
+
var _a;
|
|
634
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/schedule' }));
|
|
635
|
+
};
|
|
636
|
+
exports.getGameSchedule = getGameSchedule;
|
|
637
|
+
/**
|
|
638
|
+
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
639
|
+
* Team statistics may use the previous season; players and context stay in the game season.
|
|
640
|
+
*/
|
|
641
|
+
var getGamePreview = function (options) {
|
|
642
|
+
var _a;
|
|
643
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/{gameId}/preview' }));
|
|
644
|
+
};
|
|
645
|
+
exports.getGamePreview = getGamePreview;
|
|
646
|
+
/**
|
|
647
|
+
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
648
|
+
* Team metrics may use the previous season; players remain current-season.
|
|
649
|
+
*/
|
|
650
|
+
var getAdjustedGamePreview = function (options) {
|
|
651
|
+
var _a;
|
|
652
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/{gameId}/preview/adjusted' }));
|
|
653
|
+
};
|
|
654
|
+
exports.getAdjustedGamePreview = getAdjustedGamePreview;
|
|
655
655
|
/**
|
|
656
656
|
* Returns historical team records by season.
|
|
657
657
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -2290,6 +2290,7 @@ export type ScheduleGame = {
|
|
|
2290
2290
|
playoff: ((GamePlayoff) | null);
|
|
2291
2291
|
broadcasts: PreviewSection_PreviewBroadcast_Array_;
|
|
2292
2292
|
odds: PreviewSection_SelectedOdds_;
|
|
2293
|
+
watchabilityScore: (number) | null;
|
|
2293
2294
|
};
|
|
2294
2295
|
export type ScheduleWindow = {
|
|
2295
2296
|
year: number;
|
|
@@ -4628,37 +4629,6 @@ export type GetUsageData = {
|
|
|
4628
4629
|
};
|
|
4629
4630
|
export type GetUsageResponse = (((UserUsage) | null));
|
|
4630
4631
|
export type GetUsageError = unknown;
|
|
4631
|
-
export type GetGameScheduleData = {
|
|
4632
|
-
query?: {
|
|
4633
|
-
/**
|
|
4634
|
-
* Division of either participant. Defaults to fbs.
|
|
4635
|
-
*/
|
|
4636
|
-
classification?: 'fbs' | 'fcs';
|
|
4637
|
-
/**
|
|
4638
|
-
* Conference abbreviation of either participant.
|
|
4639
|
-
*/
|
|
4640
|
-
conference?: string;
|
|
4641
|
-
seasonType?: 'regular' | 'postseason';
|
|
4642
|
-
week?: number;
|
|
4643
|
-
year?: number;
|
|
4644
|
-
};
|
|
4645
|
-
};
|
|
4646
|
-
export type GetGameScheduleResponse = (GameSchedule);
|
|
4647
|
-
export type GetGameScheduleError = (GamePreviewError);
|
|
4648
|
-
export type GetGamePreviewData = {
|
|
4649
|
-
path: {
|
|
4650
|
-
gameId: number;
|
|
4651
|
-
};
|
|
4652
|
-
};
|
|
4653
|
-
export type GetGamePreviewResponse = (GamePreview);
|
|
4654
|
-
export type GetGamePreviewError = (GamePreviewError);
|
|
4655
|
-
export type GetAdjustedGamePreviewData = {
|
|
4656
|
-
path: {
|
|
4657
|
-
gameId: number;
|
|
4658
|
-
};
|
|
4659
|
-
};
|
|
4660
|
-
export type GetAdjustedGamePreviewResponse = (AdjustedGamePreview);
|
|
4661
|
-
export type GetAdjustedGamePreviewError = (GamePreviewError);
|
|
4662
4632
|
export type GetGamesData = {
|
|
4663
4633
|
query?: {
|
|
4664
4634
|
/**
|
|
@@ -4857,6 +4827,37 @@ export type GetWeatherData = {
|
|
|
4857
4827
|
};
|
|
4858
4828
|
export type GetWeatherResponse = (Array<GameWeather>);
|
|
4859
4829
|
export type GetWeatherError = unknown;
|
|
4830
|
+
export type GetGameScheduleData = {
|
|
4831
|
+
query?: {
|
|
4832
|
+
/**
|
|
4833
|
+
* Division of either participant. Defaults to fbs.
|
|
4834
|
+
*/
|
|
4835
|
+
classification?: 'fbs' | 'fcs';
|
|
4836
|
+
/**
|
|
4837
|
+
* Conference abbreviation of either participant.
|
|
4838
|
+
*/
|
|
4839
|
+
conference?: string;
|
|
4840
|
+
seasonType?: 'regular' | 'postseason';
|
|
4841
|
+
week?: number;
|
|
4842
|
+
year?: number;
|
|
4843
|
+
};
|
|
4844
|
+
};
|
|
4845
|
+
export type GetGameScheduleResponse = (GameSchedule);
|
|
4846
|
+
export type GetGameScheduleError = (GamePreviewError);
|
|
4847
|
+
export type GetGamePreviewData = {
|
|
4848
|
+
path: {
|
|
4849
|
+
gameId: number;
|
|
4850
|
+
};
|
|
4851
|
+
};
|
|
4852
|
+
export type GetGamePreviewResponse = (GamePreview);
|
|
4853
|
+
export type GetGamePreviewError = (GamePreviewError);
|
|
4854
|
+
export type GetAdjustedGamePreviewData = {
|
|
4855
|
+
path: {
|
|
4856
|
+
gameId: number;
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
|
+
export type GetAdjustedGamePreviewResponse = (AdjustedGamePreview);
|
|
4860
|
+
export type GetAdjustedGamePreviewError = (GamePreviewError);
|
|
4860
4861
|
export type GetRecordsData = {
|
|
4861
4862
|
query?: {
|
|
4862
4863
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cfbd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.32.0",
|
|
4
4
|
"description": "This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
package/src/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
4
|
-
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsError, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsError, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsError, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarError, GetKickerPaarResponse, GetTeamSeasonOverviewData, GetTeamSeasonOverviewError, GetTeamSeasonOverviewResponse, GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetTeamsAtsData, GetTeamsAtsError, GetTeamsAtsResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesData, GetConferencesError, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesError, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsError, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesError, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesError, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsError, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysError, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonError, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameError, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonError, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameError, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreError, GetCoreResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsError, GetExpandedSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpPlayoffResponse, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetPlayerSeasonOverviewError, GetPlayerSeasonOverviewResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysError, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonError, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameError, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonError, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameError, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsError, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamError, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameError, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameError, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonError, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityError, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesError, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsError, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLivePlaysError, GetLivePlaysResponse, GetLinesData, GetLinesError, GetLinesResponse, GetUserInfoError, GetUserInfoResponse, GetUsageData, GetUsageError, GetUsageResponse,
|
|
4
|
+
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsError, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsError, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsError, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarError, GetKickerPaarResponse, GetTeamSeasonOverviewData, GetTeamSeasonOverviewError, GetTeamSeasonOverviewResponse, GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetTeamsAtsData, GetTeamsAtsError, GetTeamsAtsResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesData, GetConferencesError, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesError, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsError, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesError, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesError, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsError, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysError, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonError, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameError, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonError, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameError, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreError, GetCoreResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsError, GetExpandedSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpPlayoffResponse, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetPlayerSeasonOverviewError, GetPlayerSeasonOverviewResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysError, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonError, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameError, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonError, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameError, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsError, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamError, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameError, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameError, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonError, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityError, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesError, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsError, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLivePlaysError, GetLivePlaysResponse, GetLinesData, GetLinesError, GetLinesResponse, GetUserInfoError, GetUserInfoResponse, GetUsageData, GetUsageError, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsError, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsError, GetGamePlayerStatsResponse, GetMediaData, GetMediaError, GetMediaResponse, GetWeatherData, GetWeatherError, GetWeatherResponse, GetGameScheduleData, GetGameScheduleError, GetGameScheduleResponse, GetGamePreviewData, GetGamePreviewError, GetGamePreviewResponse, GetAdjustedGamePreviewData, GetAdjustedGamePreviewError, GetAdjustedGamePreviewResponse, GetRecordsData, GetRecordsError, GetRecordsResponse, GetCalendarData, GetCalendarError, GetCalendarResponse, GetScoreboardData, GetScoreboardError, GetScoreboardResponse, GetDrivesData, GetDrivesError, GetDrivesResponse, GetDraftTeamsError, GetDraftTeamsResponse, GetDraftPositionsError, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksError, GetDraftPicksResponse, GetCoachesData, GetCoachesError, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachProfileResponse, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData, GetAdvancedBoxScoreError, GetAdvancedBoxScoreResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig({ baseUrl: 'https://api.collegefootballdata.com' }));
|
|
7
7
|
|
|
@@ -710,39 +710,6 @@ export const getUsage = <ThrowOnError extends boolean = false>(options?: Options
|
|
|
710
710
|
});
|
|
711
711
|
};
|
|
712
712
|
|
|
713
|
-
/**
|
|
714
|
-
* Returns the active or next calendar slate, including completed games.
|
|
715
|
-
* Explicit windows require year, seasonType, and week together.
|
|
716
|
-
*/
|
|
717
|
-
export const getGameSchedule = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameScheduleData, ThrowOnError>) => {
|
|
718
|
-
return (options?.client ?? client).get<GetGameScheduleResponse, GetGameScheduleError, ThrowOnError>({
|
|
719
|
-
...options,
|
|
720
|
-
url: '/games/schedule'
|
|
721
|
-
});
|
|
722
|
-
};
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
726
|
-
* Team statistics may use the previous season; players and context stay in the game season.
|
|
727
|
-
*/
|
|
728
|
-
export const getGamePreview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGamePreviewData, ThrowOnError>) => {
|
|
729
|
-
return (options?.client ?? client).get<GetGamePreviewResponse, GetGamePreviewError, ThrowOnError>({
|
|
730
|
-
...options,
|
|
731
|
-
url: '/games/{gameId}/preview'
|
|
732
|
-
});
|
|
733
|
-
};
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
737
|
-
* Team metrics may use the previous season; players remain current-season.
|
|
738
|
-
*/
|
|
739
|
-
export const getAdjustedGamePreview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdjustedGamePreviewData, ThrowOnError>) => {
|
|
740
|
-
return (options?.client ?? client).get<GetAdjustedGamePreviewResponse, GetAdjustedGamePreviewError, ThrowOnError>({
|
|
741
|
-
...options,
|
|
742
|
-
url: '/games/{gameId}/preview/adjusted'
|
|
743
|
-
});
|
|
744
|
-
};
|
|
745
|
-
|
|
746
713
|
/**
|
|
747
714
|
* Returns historical game data.
|
|
748
715
|
*/
|
|
@@ -793,6 +760,39 @@ export const getWeather = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
793
760
|
});
|
|
794
761
|
};
|
|
795
762
|
|
|
763
|
+
/**
|
|
764
|
+
* Returns the active or next calendar slate, including completed games.
|
|
765
|
+
* Explicit windows require year, seasonType, and week together.
|
|
766
|
+
*/
|
|
767
|
+
export const getGameSchedule = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameScheduleData, ThrowOnError>) => {
|
|
768
|
+
return (options?.client ?? client).get<GetGameScheduleResponse, GetGameScheduleError, ThrowOnError>({
|
|
769
|
+
...options,
|
|
770
|
+
url: '/games/schedule'
|
|
771
|
+
});
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Returns pregame team comparisons and key players. Analysis remains available until the game is completed.
|
|
776
|
+
* Team statistics may use the previous season; players and context stay in the game season.
|
|
777
|
+
*/
|
|
778
|
+
export const getGamePreview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGamePreviewData, ThrowOnError>) => {
|
|
779
|
+
return (options?.client ?? client).get<GetGamePreviewResponse, GetGamePreviewError, ThrowOnError>({
|
|
780
|
+
...options,
|
|
781
|
+
url: '/games/{gameId}/preview'
|
|
782
|
+
});
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Returns stored adjusted team and player metrics until game completion. Requires Patreon Tier 1.
|
|
787
|
+
* Team metrics may use the previous season; players remain current-season.
|
|
788
|
+
*/
|
|
789
|
+
export const getAdjustedGamePreview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdjustedGamePreviewData, ThrowOnError>) => {
|
|
790
|
+
return (options?.client ?? client).get<GetAdjustedGamePreviewResponse, GetAdjustedGamePreviewError, ThrowOnError>({
|
|
791
|
+
...options,
|
|
792
|
+
url: '/games/{gameId}/preview/adjusted'
|
|
793
|
+
});
|
|
794
|
+
};
|
|
795
|
+
|
|
796
796
|
/**
|
|
797
797
|
* Returns historical team records by season.
|
|
798
798
|
*/
|
package/src/types.gen.ts
CHANGED
|
@@ -2473,6 +2473,7 @@ export type ScheduleGame = {
|
|
|
2473
2473
|
playoff: ((GamePlayoff) | null);
|
|
2474
2474
|
broadcasts: PreviewSection_PreviewBroadcast_Array_;
|
|
2475
2475
|
odds: PreviewSection_SelectedOdds_;
|
|
2476
|
+
watchabilityScore: (number) | null;
|
|
2476
2477
|
};
|
|
2477
2478
|
|
|
2478
2479
|
export type ScheduleWindow = {
|
|
@@ -5068,46 +5069,6 @@ export type GetUsageResponse = (((UserUsage) | null));
|
|
|
5068
5069
|
|
|
5069
5070
|
export type GetUsageError = unknown;
|
|
5070
5071
|
|
|
5071
|
-
export type GetGameScheduleData = {
|
|
5072
|
-
query?: {
|
|
5073
|
-
/**
|
|
5074
|
-
* Division of either participant. Defaults to fbs.
|
|
5075
|
-
*/
|
|
5076
|
-
classification?: 'fbs' | 'fcs';
|
|
5077
|
-
/**
|
|
5078
|
-
* Conference abbreviation of either participant.
|
|
5079
|
-
*/
|
|
5080
|
-
conference?: string;
|
|
5081
|
-
seasonType?: 'regular' | 'postseason';
|
|
5082
|
-
week?: number;
|
|
5083
|
-
year?: number;
|
|
5084
|
-
};
|
|
5085
|
-
};
|
|
5086
|
-
|
|
5087
|
-
export type GetGameScheduleResponse = (GameSchedule);
|
|
5088
|
-
|
|
5089
|
-
export type GetGameScheduleError = (GamePreviewError);
|
|
5090
|
-
|
|
5091
|
-
export type GetGamePreviewData = {
|
|
5092
|
-
path: {
|
|
5093
|
-
gameId: number;
|
|
5094
|
-
};
|
|
5095
|
-
};
|
|
5096
|
-
|
|
5097
|
-
export type GetGamePreviewResponse = (GamePreview);
|
|
5098
|
-
|
|
5099
|
-
export type GetGamePreviewError = (GamePreviewError);
|
|
5100
|
-
|
|
5101
|
-
export type GetAdjustedGamePreviewData = {
|
|
5102
|
-
path: {
|
|
5103
|
-
gameId: number;
|
|
5104
|
-
};
|
|
5105
|
-
};
|
|
5106
|
-
|
|
5107
|
-
export type GetAdjustedGamePreviewResponse = (AdjustedGamePreview);
|
|
5108
|
-
|
|
5109
|
-
export type GetAdjustedGamePreviewError = (GamePreviewError);
|
|
5110
|
-
|
|
5111
5072
|
export type GetGamesData = {
|
|
5112
5073
|
query?: {
|
|
5113
5074
|
/**
|
|
@@ -5321,6 +5282,46 @@ export type GetWeatherResponse = (Array<GameWeather>);
|
|
|
5321
5282
|
|
|
5322
5283
|
export type GetWeatherError = unknown;
|
|
5323
5284
|
|
|
5285
|
+
export type GetGameScheduleData = {
|
|
5286
|
+
query?: {
|
|
5287
|
+
/**
|
|
5288
|
+
* Division of either participant. Defaults to fbs.
|
|
5289
|
+
*/
|
|
5290
|
+
classification?: 'fbs' | 'fcs';
|
|
5291
|
+
/**
|
|
5292
|
+
* Conference abbreviation of either participant.
|
|
5293
|
+
*/
|
|
5294
|
+
conference?: string;
|
|
5295
|
+
seasonType?: 'regular' | 'postseason';
|
|
5296
|
+
week?: number;
|
|
5297
|
+
year?: number;
|
|
5298
|
+
};
|
|
5299
|
+
};
|
|
5300
|
+
|
|
5301
|
+
export type GetGameScheduleResponse = (GameSchedule);
|
|
5302
|
+
|
|
5303
|
+
export type GetGameScheduleError = (GamePreviewError);
|
|
5304
|
+
|
|
5305
|
+
export type GetGamePreviewData = {
|
|
5306
|
+
path: {
|
|
5307
|
+
gameId: number;
|
|
5308
|
+
};
|
|
5309
|
+
};
|
|
5310
|
+
|
|
5311
|
+
export type GetGamePreviewResponse = (GamePreview);
|
|
5312
|
+
|
|
5313
|
+
export type GetGamePreviewError = (GamePreviewError);
|
|
5314
|
+
|
|
5315
|
+
export type GetAdjustedGamePreviewData = {
|
|
5316
|
+
path: {
|
|
5317
|
+
gameId: number;
|
|
5318
|
+
};
|
|
5319
|
+
};
|
|
5320
|
+
|
|
5321
|
+
export type GetAdjustedGamePreviewResponse = (AdjustedGamePreview);
|
|
5322
|
+
|
|
5323
|
+
export type GetAdjustedGamePreviewError = (GamePreviewError);
|
|
5324
|
+
|
|
5324
5325
|
export type GetRecordsData = {
|
|
5325
5326
|
query?: {
|
|
5326
5327
|
/**
|
package/cfbd-5.31.2.tgz
DELETED
|
Binary file
|