cfbd 5.1.2-alpha.0 → 5.2.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.
- package/cfbd-5.2.0-alpha.0.tgz +0 -0
- package/dist/schemas.gen.d.ts +202 -137
- package/dist/schemas.gen.js +204 -139
- package/dist/services.gen.d.ts +17 -5
- package/dist/services.gen.js +34 -10
- package/dist/types.gen.d.ts +137 -56
- package/package.json +1 -1
- package/src/schemas.gen.ts +205 -138
- package/src/services.gen.ts +33 -9
- package/src/types.gen.ts +152 -60
- package/cfbd-5.1.2-alpha.0.tgz +0 -0
package/dist/schemas.gen.js
CHANGED
|
@@ -1,8 +1,210 @@
|
|
|
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.
|
|
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;
|
|
4
|
+
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 = exports.KickerPAARSchema = exports.PlayerWeightedEPASchema = exports.AdjustedTeamMetricsSchema = 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 = exports.BettingGameSchema = exports.GameLineSchema = void 0;
|
|
6
|
+
exports.AdjustedTeamMetricsSchema = {
|
|
7
|
+
properties: {
|
|
8
|
+
year: {
|
|
9
|
+
type: 'integer',
|
|
10
|
+
format: 'int32'
|
|
11
|
+
},
|
|
12
|
+
teamId: {
|
|
13
|
+
type: 'integer',
|
|
14
|
+
format: 'int32'
|
|
15
|
+
},
|
|
16
|
+
team: {
|
|
17
|
+
type: 'string'
|
|
18
|
+
},
|
|
19
|
+
conference: {
|
|
20
|
+
type: 'string'
|
|
21
|
+
},
|
|
22
|
+
epa: {
|
|
23
|
+
properties: {
|
|
24
|
+
rushing: {
|
|
25
|
+
type: 'number',
|
|
26
|
+
format: 'double'
|
|
27
|
+
},
|
|
28
|
+
passing: {
|
|
29
|
+
type: 'number',
|
|
30
|
+
format: 'double'
|
|
31
|
+
},
|
|
32
|
+
total: {
|
|
33
|
+
type: 'number',
|
|
34
|
+
format: 'double'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
required: ['rushing', 'passing', 'total'],
|
|
38
|
+
type: 'object'
|
|
39
|
+
},
|
|
40
|
+
epaAllowed: {
|
|
41
|
+
properties: {
|
|
42
|
+
rushing: {
|
|
43
|
+
type: 'number',
|
|
44
|
+
format: 'double'
|
|
45
|
+
},
|
|
46
|
+
passing: {
|
|
47
|
+
type: 'number',
|
|
48
|
+
format: 'double'
|
|
49
|
+
},
|
|
50
|
+
total: {
|
|
51
|
+
type: 'number',
|
|
52
|
+
format: 'double'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
required: ['rushing', 'passing', 'total'],
|
|
56
|
+
type: 'object'
|
|
57
|
+
},
|
|
58
|
+
successRate: {
|
|
59
|
+
properties: {
|
|
60
|
+
passingDowns: {
|
|
61
|
+
type: 'number',
|
|
62
|
+
format: 'double'
|
|
63
|
+
},
|
|
64
|
+
standardDowns: {
|
|
65
|
+
type: 'number',
|
|
66
|
+
format: 'double'
|
|
67
|
+
},
|
|
68
|
+
total: {
|
|
69
|
+
type: 'number',
|
|
70
|
+
format: 'double'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
required: ['passingDowns', 'standardDowns', 'total'],
|
|
74
|
+
type: 'object'
|
|
75
|
+
},
|
|
76
|
+
successRateAllowed: {
|
|
77
|
+
properties: {
|
|
78
|
+
passingDowns: {
|
|
79
|
+
type: 'number',
|
|
80
|
+
format: 'double'
|
|
81
|
+
},
|
|
82
|
+
standardDowns: {
|
|
83
|
+
type: 'number',
|
|
84
|
+
format: 'double'
|
|
85
|
+
},
|
|
86
|
+
total: {
|
|
87
|
+
type: 'number',
|
|
88
|
+
format: 'double'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
required: ['passingDowns', 'standardDowns', 'total'],
|
|
92
|
+
type: 'object'
|
|
93
|
+
},
|
|
94
|
+
rushing: {
|
|
95
|
+
properties: {
|
|
96
|
+
openFieldYards: {
|
|
97
|
+
type: 'number',
|
|
98
|
+
format: 'double'
|
|
99
|
+
},
|
|
100
|
+
secondLevelYards: {
|
|
101
|
+
type: 'number',
|
|
102
|
+
format: 'double'
|
|
103
|
+
},
|
|
104
|
+
lineYards: {
|
|
105
|
+
type: 'number',
|
|
106
|
+
format: 'double'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
|
|
110
|
+
type: 'object'
|
|
111
|
+
},
|
|
112
|
+
rushingAllowed: {
|
|
113
|
+
properties: {
|
|
114
|
+
openFieldYards: {
|
|
115
|
+
type: 'number',
|
|
116
|
+
format: 'double'
|
|
117
|
+
},
|
|
118
|
+
secondLevelYards: {
|
|
119
|
+
type: 'number',
|
|
120
|
+
format: 'double'
|
|
121
|
+
},
|
|
122
|
+
lineYards: {
|
|
123
|
+
type: 'number',
|
|
124
|
+
format: 'double'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
required: ['openFieldYards', 'secondLevelYards', 'lineYards'],
|
|
128
|
+
type: 'object'
|
|
129
|
+
},
|
|
130
|
+
explosiveness: {
|
|
131
|
+
type: 'number',
|
|
132
|
+
format: 'double'
|
|
133
|
+
},
|
|
134
|
+
explosivenessAllowed: {
|
|
135
|
+
type: 'number',
|
|
136
|
+
format: 'double'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
required: ['year', 'teamId', 'team', 'conference', 'epa', 'epaAllowed', 'successRate', 'successRateAllowed', 'rushing', 'rushingAllowed', 'explosiveness', 'explosivenessAllowed'],
|
|
140
|
+
type: 'object',
|
|
141
|
+
additionalProperties: false
|
|
142
|
+
};
|
|
143
|
+
exports.PlayerWeightedEPASchema = {
|
|
144
|
+
properties: {
|
|
145
|
+
year: {
|
|
146
|
+
type: 'integer',
|
|
147
|
+
format: 'int32'
|
|
148
|
+
},
|
|
149
|
+
athleteId: {
|
|
150
|
+
type: 'string'
|
|
151
|
+
},
|
|
152
|
+
athleteName: {
|
|
153
|
+
type: 'string'
|
|
154
|
+
},
|
|
155
|
+
position: {
|
|
156
|
+
type: 'string'
|
|
157
|
+
},
|
|
158
|
+
team: {
|
|
159
|
+
type: 'string'
|
|
160
|
+
},
|
|
161
|
+
conference: {
|
|
162
|
+
type: 'string'
|
|
163
|
+
},
|
|
164
|
+
wepa: {
|
|
165
|
+
type: 'number',
|
|
166
|
+
format: 'double'
|
|
167
|
+
},
|
|
168
|
+
plays: {
|
|
169
|
+
type: 'integer',
|
|
170
|
+
format: 'int32'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
required: ['year', 'athleteId', 'athleteName', 'position', 'team', 'conference', 'wepa', 'plays'],
|
|
174
|
+
type: 'object',
|
|
175
|
+
additionalProperties: false
|
|
176
|
+
};
|
|
177
|
+
exports.KickerPAARSchema = {
|
|
178
|
+
properties: {
|
|
179
|
+
year: {
|
|
180
|
+
type: 'integer',
|
|
181
|
+
format: 'int32'
|
|
182
|
+
},
|
|
183
|
+
athleteId: {
|
|
184
|
+
type: 'string'
|
|
185
|
+
},
|
|
186
|
+
athleteName: {
|
|
187
|
+
type: 'string'
|
|
188
|
+
},
|
|
189
|
+
team: {
|
|
190
|
+
type: 'string'
|
|
191
|
+
},
|
|
192
|
+
conference: {
|
|
193
|
+
type: 'string'
|
|
194
|
+
},
|
|
195
|
+
paar: {
|
|
196
|
+
type: 'number',
|
|
197
|
+
format: 'double'
|
|
198
|
+
},
|
|
199
|
+
attempts: {
|
|
200
|
+
type: 'integer',
|
|
201
|
+
format: 'int32'
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
required: ['year', 'athleteId', 'athleteName', 'team', 'conference', 'paar', 'attempts'],
|
|
205
|
+
type: 'object',
|
|
206
|
+
additionalProperties: false
|
|
207
|
+
};
|
|
6
208
|
exports.VenueSchema = {
|
|
7
209
|
properties: {
|
|
8
210
|
id: {
|
|
@@ -1154,143 +1356,6 @@ exports.AdvancedGameStatSchema = {
|
|
|
1154
1356
|
type: 'object',
|
|
1155
1357
|
additionalProperties: false
|
|
1156
1358
|
};
|
|
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
|
-
};
|
|
1294
1359
|
exports.RecruitClassificationSchema = {
|
|
1295
1360
|
enum: ['JUCO', 'PrepSchool', 'HighSchool'],
|
|
1296
1361
|
type: 'string'
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
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,
|
|
2
|
+
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarResponse, 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';
|
|
3
3
|
export declare const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve opponent-adjusted team season statistics
|
|
6
|
+
*/
|
|
7
|
+
export declare const getAdjustedTeamSeasonStats: <ThrowOnError extends boolean = false>(options?: Options<GetAdjustedTeamSeasonStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedTeamSeasonStatsResponse, unknown, ThrowOnError>;
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve opponent-adjusted player passing statistics
|
|
10
|
+
*/
|
|
11
|
+
export declare const getAdjustedPlayerPassingStats: <ThrowOnError extends boolean = false>(options?: Options<GetAdjustedPlayerPassingStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedPlayerPassingStatsResponse, unknown, ThrowOnError>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieve opponent-adjusted player rushing statistics
|
|
14
|
+
*/
|
|
15
|
+
export declare const getAdjustedPlayerRushingStats: <ThrowOnError extends boolean = false>(options?: Options<GetAdjustedPlayerRushingStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedPlayerRushingStatsResponse, unknown, ThrowOnError>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve Points Added Above Replacement (PAAR) ratings for kickers
|
|
18
|
+
*/
|
|
19
|
+
export declare const getKickerPaar: <ThrowOnError extends boolean = false>(options?: Options<GetKickerPaarData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetKickerPaarResponse, unknown, ThrowOnError>;
|
|
4
20
|
/**
|
|
5
21
|
* Retrieves team information
|
|
6
22
|
*/
|
|
@@ -49,10 +65,6 @@ export declare const getAdvancedSeasonStats: <ThrowOnError extends boolean = fal
|
|
|
49
65
|
* Retrieves advanced statistics aggregated by game
|
|
50
66
|
*/
|
|
51
67
|
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>;
|
|
56
68
|
/**
|
|
57
69
|
* Retrieves player recruiting rankings
|
|
58
70
|
*/
|
package/dist/services.gen.js
CHANGED
|
@@ -12,10 +12,42 @@ 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.
|
|
16
|
-
exports.getAdvancedBoxScore = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = void 0;
|
|
15
|
+
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.getKickerPaar = exports.getAdjustedPlayerRushingStats = exports.getAdjustedPlayerPassingStats = exports.getAdjustedTeamSeasonStats = exports.client = void 0;
|
|
16
|
+
exports.getAdvancedBoxScore = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = 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
|
+
/**
|
|
20
|
+
* Retrieve opponent-adjusted team season statistics
|
|
21
|
+
*/
|
|
22
|
+
var getAdjustedTeamSeasonStats = function (options) {
|
|
23
|
+
var _a;
|
|
24
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/team/season' }));
|
|
25
|
+
};
|
|
26
|
+
exports.getAdjustedTeamSeasonStats = getAdjustedTeamSeasonStats;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve opponent-adjusted player passing statistics
|
|
29
|
+
*/
|
|
30
|
+
var getAdjustedPlayerPassingStats = function (options) {
|
|
31
|
+
var _a;
|
|
32
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/passing' }));
|
|
33
|
+
};
|
|
34
|
+
exports.getAdjustedPlayerPassingStats = getAdjustedPlayerPassingStats;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve opponent-adjusted player rushing statistics
|
|
37
|
+
*/
|
|
38
|
+
var getAdjustedPlayerRushingStats = function (options) {
|
|
39
|
+
var _a;
|
|
40
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/rushing' }));
|
|
41
|
+
};
|
|
42
|
+
exports.getAdjustedPlayerRushingStats = getAdjustedPlayerRushingStats;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieve Points Added Above Replacement (PAAR) ratings for kickers
|
|
45
|
+
*/
|
|
46
|
+
var getKickerPaar = function (options) {
|
|
47
|
+
var _a;
|
|
48
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/kicking' }));
|
|
49
|
+
};
|
|
50
|
+
exports.getKickerPaar = getKickerPaar;
|
|
19
51
|
/**
|
|
20
52
|
* Retrieves team information
|
|
21
53
|
*/
|
|
@@ -112,14 +144,6 @@ var getAdvancedGameStats = function (options) {
|
|
|
112
144
|
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
145
|
};
|
|
114
146
|
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/season/adjusted' }));
|
|
121
|
-
};
|
|
122
|
-
exports.getAdjustedTeamSeasonStats = getAdjustedTeamSeasonStats;
|
|
123
147
|
/**
|
|
124
148
|
* Retrieves player recruiting rankings
|
|
125
149
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
1
|
+
export type AdjustedTeamMetrics = {
|
|
2
|
+
year: number;
|
|
3
|
+
teamId: number;
|
|
4
|
+
team: string;
|
|
5
|
+
conference: string;
|
|
6
|
+
epa: {
|
|
7
|
+
rushing: number;
|
|
8
|
+
passing: number;
|
|
9
|
+
total: number;
|
|
10
|
+
};
|
|
11
|
+
epaAllowed: {
|
|
12
|
+
rushing: number;
|
|
13
|
+
passing: number;
|
|
14
|
+
total: number;
|
|
15
|
+
};
|
|
16
|
+
successRate: {
|
|
17
|
+
passingDowns: number;
|
|
18
|
+
standardDowns: number;
|
|
19
|
+
total: number;
|
|
20
|
+
};
|
|
21
|
+
successRateAllowed: {
|
|
22
|
+
passingDowns: number;
|
|
23
|
+
standardDowns: number;
|
|
24
|
+
total: number;
|
|
25
|
+
};
|
|
26
|
+
rushing: {
|
|
27
|
+
openFieldYards: number;
|
|
28
|
+
secondLevelYards: number;
|
|
29
|
+
lineYards: number;
|
|
30
|
+
};
|
|
31
|
+
rushingAllowed: {
|
|
32
|
+
openFieldYards: number;
|
|
33
|
+
secondLevelYards: number;
|
|
34
|
+
lineYards: number;
|
|
35
|
+
};
|
|
36
|
+
explosiveness: number;
|
|
37
|
+
explosivenessAllowed: number;
|
|
38
|
+
};
|
|
39
|
+
export type PlayerWeightedEPA = {
|
|
40
|
+
year: number;
|
|
41
|
+
athleteId: string;
|
|
42
|
+
athleteName: string;
|
|
43
|
+
position: string;
|
|
44
|
+
team: string;
|
|
45
|
+
conference: string;
|
|
46
|
+
wepa: number;
|
|
47
|
+
plays: number;
|
|
48
|
+
};
|
|
49
|
+
export type KickerPAAR = {
|
|
50
|
+
year: number;
|
|
51
|
+
athleteId: string;
|
|
52
|
+
athleteName: string;
|
|
53
|
+
team: string;
|
|
54
|
+
conference: string;
|
|
55
|
+
paar: number;
|
|
56
|
+
attempts: number;
|
|
57
|
+
};
|
|
1
58
|
export type Venue = {
|
|
2
59
|
id: (number) | null;
|
|
3
60
|
name: (string) | null;
|
|
@@ -296,44 +353,6 @@ export type AdvancedGameStat = {
|
|
|
296
353
|
plays: number;
|
|
297
354
|
};
|
|
298
355
|
};
|
|
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
|
-
};
|
|
337
356
|
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
338
357
|
export type Recruit = {
|
|
339
358
|
id: string;
|
|
@@ -1268,6 +1287,86 @@ export type AdvancedBoxScore = {
|
|
|
1268
1287
|
usage: Array<PlayerGameUsage>;
|
|
1269
1288
|
};
|
|
1270
1289
|
};
|
|
1290
|
+
export type GetAdjustedTeamSeasonStatsData = {
|
|
1291
|
+
query?: {
|
|
1292
|
+
/**
|
|
1293
|
+
* Optional conference filter
|
|
1294
|
+
*/
|
|
1295
|
+
conference?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Optional team filter
|
|
1298
|
+
*/
|
|
1299
|
+
team?: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* Optional year filter
|
|
1302
|
+
*/
|
|
1303
|
+
year?: number;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
export type GetAdjustedTeamSeasonStatsResponse = (Array<AdjustedTeamMetrics>);
|
|
1307
|
+
export type GetAdjustedTeamSeasonStatsError = unknown;
|
|
1308
|
+
export type GetAdjustedPlayerPassingStatsData = {
|
|
1309
|
+
query?: {
|
|
1310
|
+
/**
|
|
1311
|
+
* Optional conference abbreviation filter
|
|
1312
|
+
*/
|
|
1313
|
+
conference?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* Optional position abbreviation filter
|
|
1316
|
+
*/
|
|
1317
|
+
position?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* Optional team filter
|
|
1320
|
+
*/
|
|
1321
|
+
team?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Optional year filter
|
|
1324
|
+
*/
|
|
1325
|
+
year?: number;
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
export type GetAdjustedPlayerPassingStatsResponse = (Array<PlayerWeightedEPA>);
|
|
1329
|
+
export type GetAdjustedPlayerPassingStatsError = unknown;
|
|
1330
|
+
export type GetAdjustedPlayerRushingStatsData = {
|
|
1331
|
+
query?: {
|
|
1332
|
+
/**
|
|
1333
|
+
* Optional conference abbreviation filter
|
|
1334
|
+
*/
|
|
1335
|
+
conference?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Optional position abbreviation filter
|
|
1338
|
+
*/
|
|
1339
|
+
position?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Optional team filter
|
|
1342
|
+
*/
|
|
1343
|
+
team?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Optional year filter
|
|
1346
|
+
*/
|
|
1347
|
+
year?: number;
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
export type GetAdjustedPlayerRushingStatsResponse = (Array<PlayerWeightedEPA>);
|
|
1351
|
+
export type GetAdjustedPlayerRushingStatsError = unknown;
|
|
1352
|
+
export type GetKickerPaarData = {
|
|
1353
|
+
query?: {
|
|
1354
|
+
/**
|
|
1355
|
+
* Optional conference abbreviation filter
|
|
1356
|
+
*/
|
|
1357
|
+
conference?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* Optional team filter
|
|
1360
|
+
*/
|
|
1361
|
+
team?: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* Optional year filter
|
|
1364
|
+
*/
|
|
1365
|
+
year?: number;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
export type GetKickerPaarResponse = (Array<KickerPAAR>);
|
|
1369
|
+
export type GetKickerPaarError = unknown;
|
|
1271
1370
|
export type GetTeamsData = {
|
|
1272
1371
|
query?: {
|
|
1273
1372
|
/**
|
|
@@ -1460,24 +1559,6 @@ export type GetAdvancedGameStatsData = {
|
|
|
1460
1559
|
};
|
|
1461
1560
|
export type GetAdvancedGameStatsResponse = (Array<AdvancedGameStat>);
|
|
1462
1561
|
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;
|
|
1481
1562
|
export type GetRecruitsData = {
|
|
1482
1563
|
query?: {
|
|
1483
1564
|
/**
|