cfbd 5.0.21-alpha.0 → 5.1.0-alpha.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.
Binary file
@@ -1142,6 +1142,143 @@ export declare const AdvancedGameStatSchema: {
1142
1142
  readonly type: "object";
1143
1143
  readonly additionalProperties: false;
1144
1144
  };
1145
+ export declare const AdjustedMetricsSchema: {
1146
+ readonly properties: {
1147
+ readonly year: {
1148
+ readonly type: "integer";
1149
+ readonly format: "int32";
1150
+ };
1151
+ readonly teamId: {
1152
+ readonly type: "integer";
1153
+ readonly format: "int32";
1154
+ };
1155
+ readonly team: {
1156
+ readonly type: "string";
1157
+ };
1158
+ readonly conference: {
1159
+ readonly type: "string";
1160
+ };
1161
+ readonly epa: {
1162
+ readonly properties: {
1163
+ readonly rushing: {
1164
+ readonly type: "number";
1165
+ readonly format: "double";
1166
+ };
1167
+ readonly passing: {
1168
+ readonly type: "number";
1169
+ readonly format: "double";
1170
+ };
1171
+ readonly total: {
1172
+ readonly type: "number";
1173
+ readonly format: "double";
1174
+ };
1175
+ };
1176
+ readonly required: readonly ["rushing", "passing", "total"];
1177
+ readonly type: "object";
1178
+ };
1179
+ readonly epaAllowed: {
1180
+ readonly properties: {
1181
+ readonly rushing: {
1182
+ readonly type: "number";
1183
+ readonly format: "double";
1184
+ };
1185
+ readonly passing: {
1186
+ readonly type: "number";
1187
+ readonly format: "double";
1188
+ };
1189
+ readonly total: {
1190
+ readonly type: "number";
1191
+ readonly format: "double";
1192
+ };
1193
+ };
1194
+ readonly required: readonly ["rushing", "passing", "total"];
1195
+ readonly type: "object";
1196
+ };
1197
+ readonly successRate: {
1198
+ readonly properties: {
1199
+ readonly passingDowns: {
1200
+ readonly type: "number";
1201
+ readonly format: "double";
1202
+ };
1203
+ readonly standardDowns: {
1204
+ readonly type: "number";
1205
+ readonly format: "double";
1206
+ };
1207
+ readonly total: {
1208
+ readonly type: "number";
1209
+ readonly format: "double";
1210
+ };
1211
+ };
1212
+ readonly required: readonly ["passingDowns", "standardDowns", "total"];
1213
+ readonly type: "object";
1214
+ };
1215
+ readonly successRateAllowed: {
1216
+ readonly properties: {
1217
+ readonly passingDowns: {
1218
+ readonly type: "number";
1219
+ readonly format: "double";
1220
+ };
1221
+ readonly standardDowns: {
1222
+ readonly type: "number";
1223
+ readonly format: "double";
1224
+ };
1225
+ readonly total: {
1226
+ readonly type: "number";
1227
+ readonly format: "double";
1228
+ };
1229
+ };
1230
+ readonly required: readonly ["passingDowns", "standardDowns", "total"];
1231
+ readonly type: "object";
1232
+ };
1233
+ readonly rushing: {
1234
+ readonly properties: {
1235
+ readonly openFieldYards: {
1236
+ readonly type: "number";
1237
+ readonly format: "double";
1238
+ };
1239
+ readonly secondLevelYards: {
1240
+ readonly type: "number";
1241
+ readonly format: "double";
1242
+ };
1243
+ readonly lineYards: {
1244
+ readonly type: "number";
1245
+ readonly format: "double";
1246
+ };
1247
+ };
1248
+ readonly required: readonly ["openFieldYards", "secondLevelYards", "lineYards"];
1249
+ readonly type: "object";
1250
+ };
1251
+ readonly rushingAllowed: {
1252
+ readonly properties: {
1253
+ readonly openFieldYards: {
1254
+ readonly type: "number";
1255
+ readonly format: "double";
1256
+ };
1257
+ readonly secondLevelYards: {
1258
+ readonly type: "number";
1259
+ readonly format: "double";
1260
+ };
1261
+ readonly lineYards: {
1262
+ readonly type: "number";
1263
+ readonly format: "double";
1264
+ };
1265
+ };
1266
+ readonly required: readonly ["openFieldYards", "secondLevelYards", "lineYards"];
1267
+ readonly type: "object";
1268
+ };
1269
+ readonly explosiveness: {
1270
+ readonly type: "number";
1271
+ readonly format: "double";
1272
+ };
1273
+ readonly explosivenessAllowed: {
1274
+ readonly type: "number";
1275
+ readonly format: "double";
1276
+ };
1277
+ };
1278
+ readonly required: readonly ["year", "teamId", "team", "conference", "epa", "epaAllowed", "successRate", "successRateAllowed", "rushing", "rushingAllowed", "explosiveness", "explosivenessAllowed"];
1279
+ readonly type: "object";
1280
+ readonly additionalProperties: false;
1281
+ };
1145
1282
  export declare const RecruitClassificationSchema: {
1146
1283
  readonly enum: readonly ["JUCO", "PrepSchool", "HighSchool"];
1147
1284
  readonly type: "string";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.GameSchema = exports.BettingGameSchema = exports.GameLineSchema = exports.LiveGameSchema = exports.LiveGameDriveSchema = exports.LiveGamePlaySchema = exports.LiveGameTeamSchema = exports.FieldGoalEPSchema = exports.PregameWinProbabilitySchema = exports.PlayWinProbabilitySchema = exports.PlayerSeasonPredictedPointsAddedSchema = exports.PlayerGamePredictedPointsAddedSchema = exports.TeamGamePredictedPointsAddedSchema = exports.TeamSeasonPredictedPointsAddedSchema = exports.PredictedPointsValueSchema = exports.PlayerTransferSchema = exports.TransferEligibilitySchema = exports.ReturningProductionSchema = exports.PlayerUsageSchema = exports.PlayerPPAChartItemSchema = exports.PlayerSearchResultSchema = exports.PlayStatTypeSchema = exports.PlayStatSchema = exports.PlayTypeSchema = exports.PlaySchema = exports.PollWeekSchema = exports.PollSchema = exports.PollRankSchema = exports.TeamFPISchema = exports.TeamEloSchema = exports.TeamSRSSchema = exports.ConferenceSPSchema = exports.TeamSPSchema = exports.AggregatedTeamRecruitingSchema = exports.TeamRecruitingRankingSchema = exports.RecruitSchema = exports.RecruitClassificationSchema = exports.AdvancedGameStatSchema = exports.AdvancedSeasonStatSchema = exports.TeamStatSchema = exports.SeasonTypeSchema = exports.PlayerStatSchema = exports.TeamTalentSchema = exports.ConferenceSchema = exports.DivisionClassificationSchema = exports.RosterPlayerSchema = exports.MatchupSchema = exports.MatchupGameSchema = exports.TeamSchema = exports.VenueSchema = void 0;
5
- exports.AdvancedBoxScoreSchema = exports.PlayerPPASchema = exports.PlayerStatsByQuarterSchema = exports.PlayerGameUsageSchema = exports.TeamFieldPositionSchema = exports.TeamScoringOpportunitiesSchema = exports.TeamHavocSchema = exports.TeamRushingStatsSchema = exports.TeamExplosivenessSchema = exports.TeamSuccessRatesSchema = exports.TeamPPASchema = exports.StatsByQuarterSchema = exports.CoachSchema = exports.CoachSeasonSchema = exports.DraftPickSchema = exports.DraftPositionSchema = exports.DraftTeamSchema = exports.DriveSchema = exports.ScoreboardGameSchema = exports.GameStatusSchema = exports.CalendarWeekSchema = exports.TeamRecordsSchema = exports.TeamRecordSchema = exports.GameWeatherSchema = exports.GameMediaSchema = exports.MediaTypeSchema = exports.GamePlayerStatsSchema = exports.GamePlayerStatsTeamSchema = exports.GamePlayerStatCategoriesSchema = exports.GamePlayerStatTypesSchema = exports.GamePlayerStatPlayerSchema = exports.GameTeamStatsSchema = exports.GameTeamStatsTeamSchema = exports.GameTeamStatsTeamStatSchema = void 0;
4
+ exports.BettingGameSchema = exports.GameLineSchema = exports.LiveGameSchema = exports.LiveGameDriveSchema = exports.LiveGamePlaySchema = exports.LiveGameTeamSchema = exports.FieldGoalEPSchema = exports.PregameWinProbabilitySchema = exports.PlayWinProbabilitySchema = exports.PlayerSeasonPredictedPointsAddedSchema = exports.PlayerGamePredictedPointsAddedSchema = exports.TeamGamePredictedPointsAddedSchema = exports.TeamSeasonPredictedPointsAddedSchema = exports.PredictedPointsValueSchema = exports.PlayerTransferSchema = exports.TransferEligibilitySchema = exports.ReturningProductionSchema = exports.PlayerUsageSchema = exports.PlayerPPAChartItemSchema = exports.PlayerSearchResultSchema = exports.PlayStatTypeSchema = exports.PlayStatSchema = exports.PlayTypeSchema = exports.PlaySchema = exports.PollWeekSchema = exports.PollSchema = exports.PollRankSchema = exports.TeamFPISchema = exports.TeamEloSchema = exports.TeamSRSSchema = exports.ConferenceSPSchema = exports.TeamSPSchema = exports.AggregatedTeamRecruitingSchema = exports.TeamRecruitingRankingSchema = exports.RecruitSchema = exports.RecruitClassificationSchema = exports.AdjustedMetricsSchema = exports.AdvancedGameStatSchema = exports.AdvancedSeasonStatSchema = exports.TeamStatSchema = exports.SeasonTypeSchema = exports.PlayerStatSchema = exports.TeamTalentSchema = exports.ConferenceSchema = exports.DivisionClassificationSchema = exports.RosterPlayerSchema = exports.MatchupSchema = exports.MatchupGameSchema = exports.TeamSchema = exports.VenueSchema = void 0;
5
+ exports.AdvancedBoxScoreSchema = exports.PlayerPPASchema = exports.PlayerStatsByQuarterSchema = exports.PlayerGameUsageSchema = exports.TeamFieldPositionSchema = exports.TeamScoringOpportunitiesSchema = exports.TeamHavocSchema = exports.TeamRushingStatsSchema = exports.TeamExplosivenessSchema = exports.TeamSuccessRatesSchema = exports.TeamPPASchema = exports.StatsByQuarterSchema = exports.CoachSchema = exports.CoachSeasonSchema = exports.DraftPickSchema = exports.DraftPositionSchema = exports.DraftTeamSchema = exports.DriveSchema = exports.ScoreboardGameSchema = exports.GameStatusSchema = exports.CalendarWeekSchema = exports.TeamRecordsSchema = exports.TeamRecordSchema = exports.GameWeatherSchema = exports.GameMediaSchema = exports.MediaTypeSchema = exports.GamePlayerStatsSchema = exports.GamePlayerStatsTeamSchema = exports.GamePlayerStatCategoriesSchema = exports.GamePlayerStatTypesSchema = exports.GamePlayerStatPlayerSchema = exports.GameTeamStatsSchema = exports.GameTeamStatsTeamSchema = exports.GameTeamStatsTeamStatSchema = exports.GameSchema = void 0;
6
6
  exports.VenueSchema = {
7
7
  properties: {
8
8
  id: {
@@ -1154,6 +1154,143 @@ exports.AdvancedGameStatSchema = {
1154
1154
  type: 'object',
1155
1155
  additionalProperties: false
1156
1156
  };
1157
+ exports.AdjustedMetricsSchema = {
1158
+ properties: {
1159
+ year: {
1160
+ type: 'integer',
1161
+ format: 'int32'
1162
+ },
1163
+ teamId: {
1164
+ type: 'integer',
1165
+ format: 'int32'
1166
+ },
1167
+ team: {
1168
+ type: 'string'
1169
+ },
1170
+ conference: {
1171
+ type: 'string'
1172
+ },
1173
+ epa: {
1174
+ properties: {
1175
+ rushing: {
1176
+ type: 'number',
1177
+ format: 'double'
1178
+ },
1179
+ passing: {
1180
+ type: 'number',
1181
+ format: 'double'
1182
+ },
1183
+ total: {
1184
+ type: 'number',
1185
+ format: 'double'
1186
+ }
1187
+ },
1188
+ required: ['rushing', 'passing', 'total'],
1189
+ type: 'object'
1190
+ },
1191
+ epaAllowed: {
1192
+ properties: {
1193
+ rushing: {
1194
+ type: 'number',
1195
+ format: 'double'
1196
+ },
1197
+ passing: {
1198
+ type: 'number',
1199
+ format: 'double'
1200
+ },
1201
+ total: {
1202
+ type: 'number',
1203
+ format: 'double'
1204
+ }
1205
+ },
1206
+ required: ['rushing', 'passing', 'total'],
1207
+ type: 'object'
1208
+ },
1209
+ successRate: {
1210
+ properties: {
1211
+ passingDowns: {
1212
+ type: 'number',
1213
+ format: 'double'
1214
+ },
1215
+ standardDowns: {
1216
+ type: 'number',
1217
+ format: 'double'
1218
+ },
1219
+ total: {
1220
+ type: 'number',
1221
+ format: 'double'
1222
+ }
1223
+ },
1224
+ required: ['passingDowns', 'standardDowns', 'total'],
1225
+ type: 'object'
1226
+ },
1227
+ successRateAllowed: {
1228
+ properties: {
1229
+ passingDowns: {
1230
+ type: 'number',
1231
+ format: 'double'
1232
+ },
1233
+ standardDowns: {
1234
+ type: 'number',
1235
+ format: 'double'
1236
+ },
1237
+ total: {
1238
+ type: 'number',
1239
+ format: 'double'
1240
+ }
1241
+ },
1242
+ required: ['passingDowns', 'standardDowns', 'total'],
1243
+ type: 'object'
1244
+ },
1245
+ rushing: {
1246
+ properties: {
1247
+ openFieldYards: {
1248
+ type: 'number',
1249
+ format: 'double'
1250
+ },
1251
+ secondLevelYards: {
1252
+ type: 'number',
1253
+ format: 'double'
1254
+ },
1255
+ lineYards: {
1256
+ type: 'number',
1257
+ format: 'double'
1258
+ }
1259
+ },
1260
+ required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
1261
+ type: 'object'
1262
+ },
1263
+ rushingAllowed: {
1264
+ properties: {
1265
+ openFieldYards: {
1266
+ type: 'number',
1267
+ format: 'double'
1268
+ },
1269
+ secondLevelYards: {
1270
+ type: 'number',
1271
+ format: 'double'
1272
+ },
1273
+ lineYards: {
1274
+ type: 'number',
1275
+ format: 'double'
1276
+ }
1277
+ },
1278
+ required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
1279
+ type: 'object'
1280
+ },
1281
+ explosiveness: {
1282
+ type: 'number',
1283
+ format: 'double'
1284
+ },
1285
+ explosivenessAllowed: {
1286
+ type: 'number',
1287
+ format: 'double'
1288
+ }
1289
+ },
1290
+ required: ['year', 'teamId', 'team', 'conference', 'epa', 'epaAllowed', 'successRate', 'successRateAllowed', 'rushing', 'rushingAllowed', 'explosiveness', 'explosivenessAllowed'],
1291
+ type: 'object',
1292
+ additionalProperties: false
1293
+ };
1157
1294
  exports.RecruitClassificationSchema = {
1158
1295
  enum: ['JUCO', 'PrepSchool', 'HighSchool'],
1159
1296
  type: 'string'
@@ -1,5 +1,5 @@
1
1
  import { type Options } from '@hey-api/client-fetch';
2
- import type { GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetRosterData, GetRosterResponse, GetConferencesResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetGamesData, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, GetAdvancedBoxScoreData } from './types.gen';
2
+ import type { GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetRosterData, GetRosterResponse, GetConferencesResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetGamesData, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, GetAdvancedBoxScoreData } from './types.gen';
3
3
  export declare const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
4
4
  /**
5
5
  * Retrieves team information
@@ -49,6 +49,10 @@ export declare const getAdvancedSeasonStats: <ThrowOnError extends boolean = fal
49
49
  * Retrieves advanced statistics aggregated by game
50
50
  */
51
51
  export declare const getAdvancedGameStats: <ThrowOnError extends boolean = false>(options?: Options<GetAdvancedGameStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdvancedGameStatsResponse, unknown, ThrowOnError>;
52
+ /**
53
+ * Retrieve opponent-adjusted team season statistics
54
+ */
55
+ export declare const getAdjustedTeamSeasonStats: <ThrowOnError extends boolean = false>(options?: Options<GetAdjustedTeamSeasonStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedTeamSeasonStatsResponse, unknown, ThrowOnError>;
52
56
  /**
53
57
  * Retrieves player recruiting rankings
54
58
  */
@@ -12,8 +12,8 @@ var __assign = (this && this.__assign) || function () {
12
12
  return __assign.apply(this, arguments);
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.getWeather = exports.getMedia = exports.getGamePlayerStats = exports.getGameTeamStats = exports.getGames = exports.getLines = exports.getLivePlays = exports.getFieldGoalExpectedPoints = exports.getPregameWinProbabilities = exports.getWinProbability = exports.getPredictedPointsAddedByPlayerSeason = exports.getPredictedPointsAddedByPlayerGame = exports.getPredictedPointsAddedByGame = exports.getPredictedPointsAddedByTeam = exports.getPredictedPoints = exports.getTransferPortal = exports.getReturningProduction = exports.getPlayerUsage = exports.searchPlayers = exports.getPlayStatTypes = exports.getPlayStats = exports.getPlayTypes = exports.getPlays = exports.getRankings = exports.getFpi = exports.getElo = exports.getSrs = exports.getConferenceSp = exports.getSp = exports.getAggregatedTeamRecruitingRatings = exports.getTeamRecruitingRankings = exports.getRecruits = exports.getAdvancedGameStats = exports.getAdvancedSeasonStats = exports.getCategories = exports.getTeamStats = exports.getPlayerSeasonStats = exports.getVenues = exports.getTalent = exports.getConferences = exports.getRoster = exports.getMatchup = exports.getFbsTeams = exports.getTeams = exports.client = void 0;
16
- exports.getAdvancedBoxScore = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = void 0;
15
+ exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.getWeather = exports.getMedia = exports.getGamePlayerStats = exports.getGameTeamStats = exports.getGames = exports.getLines = exports.getLivePlays = exports.getFieldGoalExpectedPoints = exports.getPregameWinProbabilities = exports.getWinProbability = exports.getPredictedPointsAddedByPlayerSeason = exports.getPredictedPointsAddedByPlayerGame = exports.getPredictedPointsAddedByGame = exports.getPredictedPointsAddedByTeam = exports.getPredictedPoints = exports.getTransferPortal = exports.getReturningProduction = exports.getPlayerUsage = exports.searchPlayers = exports.getPlayStatTypes = exports.getPlayStats = exports.getPlayTypes = exports.getPlays = exports.getRankings = exports.getFpi = exports.getElo = exports.getSrs = exports.getConferenceSp = exports.getSp = exports.getAggregatedTeamRecruitingRatings = exports.getTeamRecruitingRankings = exports.getRecruits = exports.getAdjustedTeamSeasonStats = exports.getAdvancedGameStats = exports.getAdvancedSeasonStats = exports.getCategories = exports.getTeamStats = exports.getPlayerSeasonStats = exports.getVenues = exports.getTalent = exports.getConferences = exports.getRoster = exports.getMatchup = exports.getFbsTeams = exports.getTeams = exports.client = void 0;
16
+ exports.getAdvancedBoxScore = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = 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://apinext.collegefootballdata.com' }));
19
19
  /**
@@ -112,6 +112,14 @@ var getAdvancedGameStats = function (options) {
112
112
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/game/advanced' }));
113
113
  };
114
114
  exports.getAdvancedGameStats = getAdvancedGameStats;
115
+ /**
116
+ * Retrieve opponent-adjusted team season statistics
117
+ */
118
+ var getAdjustedTeamSeasonStats = function (options) {
119
+ var _a;
120
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/team/season/adjusted' }));
121
+ };
122
+ exports.getAdjustedTeamSeasonStats = getAdjustedTeamSeasonStats;
115
123
  /**
116
124
  * Retrieves player recruiting rankings
117
125
  */
@@ -296,6 +296,44 @@ export type AdvancedGameStat = {
296
296
  plays: number;
297
297
  };
298
298
  };
299
+ export type AdjustedMetrics = {
300
+ year: number;
301
+ teamId: number;
302
+ team: string;
303
+ conference: string;
304
+ epa: {
305
+ rushing: number;
306
+ passing: number;
307
+ total: number;
308
+ };
309
+ epaAllowed: {
310
+ rushing: number;
311
+ passing: number;
312
+ total: number;
313
+ };
314
+ successRate: {
315
+ passingDowns: number;
316
+ standardDowns: number;
317
+ total: number;
318
+ };
319
+ successRateAllowed: {
320
+ passingDowns: number;
321
+ standardDowns: number;
322
+ total: number;
323
+ };
324
+ rushing: {
325
+ openFieldYards: number;
326
+ secondLevelYards: number;
327
+ lineYards: number;
328
+ };
329
+ rushingAllowed: {
330
+ openFieldYards: number;
331
+ secondLevelYards: number;
332
+ lineYards: number;
333
+ };
334
+ explosiveness: number;
335
+ explosivenessAllowed: number;
336
+ };
299
337
  export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
300
338
  export type Recruit = {
301
339
  id: string;
@@ -1422,6 +1460,24 @@ export type GetAdvancedGameStatsData = {
1422
1460
  };
1423
1461
  export type GetAdvancedGameStatsResponse = (Array<AdvancedGameStat>);
1424
1462
  export type GetAdvancedGameStatsError = unknown;
1463
+ export type GetAdjustedTeamSeasonStatsData = {
1464
+ query?: {
1465
+ /**
1466
+ * Optional conference filter
1467
+ */
1468
+ conference?: string;
1469
+ /**
1470
+ * Optional team filter
1471
+ */
1472
+ team?: string;
1473
+ /**
1474
+ * Optional year filter
1475
+ */
1476
+ year?: number;
1477
+ };
1478
+ };
1479
+ export type GetAdjustedTeamSeasonStatsResponse = (Array<AdjustedMetrics>);
1480
+ export type GetAdjustedTeamSeasonStatsError = unknown;
1425
1481
  export type GetRecruitsData = {
1426
1482
  query?: {
1427
1483
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfbd",
3
- "version": "5.0.21-alpha.0",
3
+ "version": "5.1.0-alpha.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",
@@ -1164,6 +1164,144 @@ export const AdvancedGameStatSchema = {
1164
1164
  additionalProperties: false
1165
1165
  } as const;
1166
1166
 
1167
+ export const AdjustedMetricsSchema = {
1168
+ properties: {
1169
+ year: {
1170
+ type: 'integer',
1171
+ format: 'int32'
1172
+ },
1173
+ teamId: {
1174
+ type: 'integer',
1175
+ format: 'int32'
1176
+ },
1177
+ team: {
1178
+ type: 'string'
1179
+ },
1180
+ conference: {
1181
+ type: 'string'
1182
+ },
1183
+ epa: {
1184
+ properties: {
1185
+ rushing: {
1186
+ type: 'number',
1187
+ format: 'double'
1188
+ },
1189
+ passing: {
1190
+ type: 'number',
1191
+ format: 'double'
1192
+ },
1193
+ total: {
1194
+ type: 'number',
1195
+ format: 'double'
1196
+ }
1197
+ },
1198
+ required: ['rushing', 'passing', 'total'],
1199
+ type: 'object'
1200
+ },
1201
+ epaAllowed: {
1202
+ properties: {
1203
+ rushing: {
1204
+ type: 'number',
1205
+ format: 'double'
1206
+ },
1207
+ passing: {
1208
+ type: 'number',
1209
+ format: 'double'
1210
+ },
1211
+ total: {
1212
+ type: 'number',
1213
+ format: 'double'
1214
+ }
1215
+ },
1216
+ required: ['rushing', 'passing', 'total'],
1217
+ type: 'object'
1218
+ },
1219
+ successRate: {
1220
+ properties: {
1221
+ passingDowns: {
1222
+ type: 'number',
1223
+ format: 'double'
1224
+ },
1225
+ standardDowns: {
1226
+ type: 'number',
1227
+ format: 'double'
1228
+ },
1229
+ total: {
1230
+ type: 'number',
1231
+ format: 'double'
1232
+ }
1233
+ },
1234
+ required: ['passingDowns', 'standardDowns', 'total'],
1235
+ type: 'object'
1236
+ },
1237
+ successRateAllowed: {
1238
+ properties: {
1239
+ passingDowns: {
1240
+ type: 'number',
1241
+ format: 'double'
1242
+ },
1243
+ standardDowns: {
1244
+ type: 'number',
1245
+ format: 'double'
1246
+ },
1247
+ total: {
1248
+ type: 'number',
1249
+ format: 'double'
1250
+ }
1251
+ },
1252
+ required: ['passingDowns', 'standardDowns', 'total'],
1253
+ type: 'object'
1254
+ },
1255
+ rushing: {
1256
+ properties: {
1257
+ openFieldYards: {
1258
+ type: 'number',
1259
+ format: 'double'
1260
+ },
1261
+ secondLevelYards: {
1262
+ type: 'number',
1263
+ format: 'double'
1264
+ },
1265
+ lineYards: {
1266
+ type: 'number',
1267
+ format: 'double'
1268
+ }
1269
+ },
1270
+ required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
1271
+ type: 'object'
1272
+ },
1273
+ rushingAllowed: {
1274
+ properties: {
1275
+ openFieldYards: {
1276
+ type: 'number',
1277
+ format: 'double'
1278
+ },
1279
+ secondLevelYards: {
1280
+ type: 'number',
1281
+ format: 'double'
1282
+ },
1283
+ lineYards: {
1284
+ type: 'number',
1285
+ format: 'double'
1286
+ }
1287
+ },
1288
+ required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
1289
+ type: 'object'
1290
+ },
1291
+ explosiveness: {
1292
+ type: 'number',
1293
+ format: 'double'
1294
+ },
1295
+ explosivenessAllowed: {
1296
+ type: 'number',
1297
+ format: 'double'
1298
+ }
1299
+ },
1300
+ required: ['year', 'teamId', 'team', 'conference', 'epa', 'epaAllowed', 'successRate', 'successRateAllowed', 'rushing', 'rushingAllowed', 'explosiveness', 'explosivenessAllowed'],
1301
+ type: 'object',
1302
+ additionalProperties: false
1303
+ } as const;
1304
+
1167
1305
  export const RecruitClassificationSchema = {
1168
1306
  enum: ['JUCO', 'PrepSchool', 'HighSchool'],
1169
1307
  type: 'string'
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type Options } from '@hey-api/client-fetch';
4
- import type { GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesError, GetConferencesResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, 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, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsError, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsError, GetGamePlayerStatsResponse, GetMediaData, GetMediaError, GetMediaResponse, GetWeatherData, GetWeatherError, GetWeatherResponse, GetRecordsData, GetRecordsError, GetRecordsResponse, GetCalendarData, GetCalendarError, GetCalendarResponse, GetScoreboardData, GetScoreboardError, GetScoreboardResponse, GetDrivesData, GetDrivesError, GetDrivesResponse, GetDraftTeamsError, GetDraftTeamsResponse, GetDraftPositionsError, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksError, GetDraftPicksResponse, GetCoachesData, GetCoachesError, GetCoachesResponse, GetAdvancedBoxScoreData, GetAdvancedBoxScoreError, GetAdvancedBoxScoreResponse } from './types.gen';
4
+ import type { GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesError, GetConferencesResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsError, GetAdjustedTeamSeasonStatsResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, 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, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsError, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsError, GetGamePlayerStatsResponse, GetMediaData, GetMediaError, GetMediaResponse, GetWeatherData, GetWeatherError, GetWeatherResponse, GetRecordsData, GetRecordsError, GetRecordsResponse, GetCalendarData, GetCalendarError, GetCalendarResponse, GetScoreboardData, GetScoreboardError, GetScoreboardResponse, GetDrivesData, GetDrivesError, GetDrivesResponse, GetDraftTeamsError, GetDraftTeamsResponse, GetDraftPositionsError, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksError, GetDraftPicksResponse, GetCoachesData, GetCoachesError, GetCoachesResponse, GetAdvancedBoxScoreData, GetAdvancedBoxScoreError, GetAdvancedBoxScoreResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig({ baseUrl: 'https://apinext.collegefootballdata.com' }));
7
7
 
@@ -101,6 +101,14 @@ export const getAdvancedGameStats = <ThrowOnError extends boolean = false>(optio
101
101
  url: '/stats/game/advanced'
102
102
  }); };
103
103
 
104
+ /**
105
+ * Retrieve opponent-adjusted team season statistics
106
+ */
107
+ export const getAdjustedTeamSeasonStats = <ThrowOnError extends boolean = false>(options?: Options<GetAdjustedTeamSeasonStatsData, ThrowOnError>) => { return (options?.client ?? client).get<GetAdjustedTeamSeasonStatsResponse, GetAdjustedTeamSeasonStatsError, ThrowOnError>({
108
+ ...options,
109
+ url: '/stats/team/season/adjusted'
110
+ }); };
111
+
104
112
  /**
105
113
  * Retrieves player recruiting rankings
106
114
  */
package/src/types.gen.ts CHANGED
@@ -311,6 +311,45 @@ export type AdvancedGameStat = {
311
311
  };
312
312
  };
313
313
 
314
+ export type AdjustedMetrics = {
315
+ year: number;
316
+ teamId: number;
317
+ team: string;
318
+ conference: string;
319
+ epa: {
320
+ rushing: number;
321
+ passing: number;
322
+ total: number;
323
+ };
324
+ epaAllowed: {
325
+ rushing: number;
326
+ passing: number;
327
+ total: number;
328
+ };
329
+ successRate: {
330
+ passingDowns: number;
331
+ standardDowns: number;
332
+ total: number;
333
+ };
334
+ successRateAllowed: {
335
+ passingDowns: number;
336
+ standardDowns: number;
337
+ total: number;
338
+ };
339
+ rushing: {
340
+ openFieldYards: number;
341
+ secondLevelYards: number;
342
+ lineYards: number;
343
+ };
344
+ rushingAllowed: {
345
+ openFieldYards: number;
346
+ secondLevelYards: number;
347
+ lineYards: number;
348
+ };
349
+ explosiveness: number;
350
+ explosivenessAllowed: number;
351
+ };
352
+
314
353
  export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
315
354
 
316
355
  export type Recruit = {
@@ -1544,6 +1583,27 @@ export type GetAdvancedGameStatsResponse = (Array<AdvancedGameStat>);
1544
1583
 
1545
1584
  export type GetAdvancedGameStatsError = unknown;
1546
1585
 
1586
+ export type GetAdjustedTeamSeasonStatsData = {
1587
+ query?: {
1588
+ /**
1589
+ * Optional conference filter
1590
+ */
1591
+ conference?: string;
1592
+ /**
1593
+ * Optional team filter
1594
+ */
1595
+ team?: string;
1596
+ /**
1597
+ * Optional year filter
1598
+ */
1599
+ year?: number;
1600
+ };
1601
+ };
1602
+
1603
+ export type GetAdjustedTeamSeasonStatsResponse = (Array<AdjustedMetrics>);
1604
+
1605
+ export type GetAdjustedTeamSeasonStatsError = unknown;
1606
+
1547
1607
  export type GetRecruitsData = {
1548
1608
  query?: {
1549
1609
  /**
Binary file