cfbd 5.20.1 → 5.22.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/src/types.gen.ts CHANGED
@@ -311,6 +311,8 @@ export type CalendarWeek = {
311
311
  lastGameStart: string;
312
312
  };
313
313
 
314
+ export type CfpCoachSeasonOutcome = 'active' | 'eliminated' | 'champion';
315
+
314
316
  export type CfpPlayoff = {
315
317
  season: number;
316
318
  competition: PlayoffCompetition_Cfp;
@@ -329,19 +331,129 @@ export type CfpPlayoffNotFound = {
329
331
  export type message = 'CFP playoff not found';
330
332
 
331
333
  export type Coach = {
334
+ id: number;
332
335
  firstName: string;
333
336
  lastName: string;
337
+ /**
338
+ * @deprecated
339
+ */
334
340
  hireDate: (string) | null;
335
341
  seasons: Array<CoachSeason>;
336
342
  };
337
343
 
344
+ export type CoachAlmaMater = {
345
+ id: number;
346
+ school: string;
347
+ };
348
+
349
+ export type CoachCareer = {
350
+ games: number;
351
+ wins: number;
352
+ losses: number;
353
+ ties: number;
354
+ winPercentage: (number) | null;
355
+ seasons: number;
356
+ teams: number;
357
+ firstYear: number;
358
+ lastYear: number;
359
+ };
360
+
361
+ export type CoachCfpContext = {
362
+ appeared: boolean;
363
+ seed: (number) | null;
364
+ outcome: ((CfpCoachSeasonOutcome) | null);
365
+ };
366
+
367
+ export type CoachDraftContext = {
368
+ year: number;
369
+ totalPicks: number;
370
+ firstRoundPicks: number;
371
+ };
372
+
373
+ export type CoachNotFound = {
374
+ message: 'Coach not found';
375
+ };
376
+
377
+ export type message2 = 'Coach not found';
378
+
379
+ export type CoachPollResume = {
380
+ preseasonRank: (number) | null;
381
+ postseasonRank: (number) | null;
382
+ bestRank: (number) | null;
383
+ weeksRanked: number;
384
+ weeksTopTen: number;
385
+ };
386
+
387
+ export type CoachProfile = {
388
+ id: number;
389
+ firstName: string;
390
+ lastName: string;
391
+ displayName: (string) | null;
392
+ currentTeam: ((CoachSeasonTeamReference) | null);
393
+ career: CoachCareer;
394
+ birthDate: (string) | null;
395
+ almaMater: ((CoachAlmaMater) | null);
396
+ graduationYear: (number) | null;
397
+ wikidataId: (string) | null;
398
+ hallOfFameYear: (number) | null;
399
+ };
400
+
401
+ export type CoachRatingContext = {
402
+ spSpecialTeams: (number) | null;
403
+ strengthOfSchedule: (number) | null;
404
+ secondOrderWins: (number) | null;
405
+ fpi: (number) | null;
406
+ yearOverYear: {
407
+ spOverall: (number) | null;
408
+ srs: (number) | null;
409
+ wins: (number) | null;
410
+ };
411
+ };
412
+
413
+ export type CoachRecord = {
414
+ games: number;
415
+ wins: number;
416
+ losses: number;
417
+ ties: number;
418
+ winPercentage: (number) | null;
419
+ };
420
+
421
+ export type CoachRecordSplits = {
422
+ conference: CoachRecord;
423
+ postseason: CoachRecord;
424
+ home: CoachRecord;
425
+ away: CoachRecord;
426
+ neutral: CoachRecord;
427
+ };
428
+
429
+ export type CoachRecruitingContext = {
430
+ rank: (number) | null;
431
+ points: (number) | null;
432
+ talent: (number) | null;
433
+ };
434
+
435
+ export type CoachReference = {
436
+ id: number;
437
+ firstName: string;
438
+ lastName: string;
439
+ };
440
+
441
+ export type CoachScoring = {
442
+ pointsFor: number;
443
+ pointsAgainst: number;
444
+ averagePointDifferential: (number) | null;
445
+ };
446
+
338
447
  export type CoachSeason = {
448
+ teamId: number;
339
449
  school: string;
450
+ conference: (string) | null;
340
451
  year: number;
341
452
  games: number;
342
453
  wins: number;
343
454
  losses: number;
344
455
  ties: number;
456
+ winPercentage: (number) | null;
345
457
  preseasonRank: (number) | null;
346
458
  postseasonRank: (number) | null;
347
459
  srs: (number) | null;
@@ -350,6 +462,33 @@ export type CoachSeason = {
350
462
  spDefense: (number) | null;
351
463
  };
352
464
 
465
+ export type CoachSeasonTeamReference = {
466
+ id: number;
467
+ school: string;
468
+ conference: (string) | null;
469
+ };
470
+
471
+ export type CoachTeamReference = {
472
+ id: number;
473
+ school: string;
474
+ };
475
+
476
+ export type CoachTenure = {
477
+ id: number;
478
+ coach: CoachReference;
479
+ team: CoachTeamReference;
480
+ hireDate: (string) | null;
481
+ startYear: number;
482
+ endYear: (number) | null;
483
+ effectiveStart: (string) | null;
484
+ effectiveEnd: (string) | null;
485
+ isInterim: boolean;
486
+ active: boolean;
487
+ seasons: number;
488
+ record: CoachRecord;
489
+ attributionComplete: boolean;
490
+ };
491
+
353
492
  export type Conference = {
354
493
  id: number;
355
494
  name: string;
@@ -394,6 +533,31 @@ export type ConferenceSP = {
394
533
  };
395
534
  };
396
535
 
536
+ export type DetailedCoachSeason = {
537
+ games: number;
538
+ wins: number;
539
+ losses: number;
540
+ ties: number;
541
+ winPercentage: (number) | null;
542
+ coach: CoachReference;
543
+ team: CoachSeasonTeamReference;
544
+ year: number;
545
+ preseasonRank: (number) | null;
546
+ postseasonRank: (number) | null;
547
+ srs: (number) | null;
548
+ spOverall: (number) | null;
549
+ spOffense: (number) | null;
550
+ spDefense: (number) | null;
551
+ teamMetrics: CoachRatingContext;
552
+ recruiting: CoachRecruitingContext;
553
+ pollResume: ((CoachPollResume) | null);
554
+ attributionComplete: boolean;
555
+ recordSplits: ((CoachRecordSplits) | null);
556
+ scoring: ((CoachScoring) | null);
557
+ cfp: CoachCfpContext;
558
+ draftFollowingSeason: ((CoachDraftContext) | null);
559
+ };
560
+
397
561
  export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
398
562
 
399
563
  export type DraftPick = {
@@ -1728,15 +1892,15 @@ export type Venue = {
1728
1892
  export type GetAdjustedTeamSeasonStatsData = {
1729
1893
  query?: {
1730
1894
  /**
1731
- * Optional conference filter
1895
+ * Conference name or abbreviation.
1732
1896
  */
1733
1897
  conference?: string;
1734
1898
  /**
1735
- * Optional team filter
1899
+ * Team name.
1736
1900
  */
1737
1901
  team?: string;
1738
1902
  /**
1739
- * Optional year filter
1903
+ * Season year.
1740
1904
  */
1741
1905
  year?: number;
1742
1906
  };
@@ -1749,19 +1913,19 @@ export type GetAdjustedTeamSeasonStatsError = unknown;
1749
1913
  export type GetAdjustedPlayerPassingStatsData = {
1750
1914
  query?: {
1751
1915
  /**
1752
- * Optional conference abbreviation filter
1916
+ * Conference abbreviation.
1753
1917
  */
1754
1918
  conference?: string;
1755
1919
  /**
1756
- * Optional position abbreviation filter
1920
+ * Player position abbreviation.
1757
1921
  */
1758
1922
  position?: string;
1759
1923
  /**
1760
- * Optional team filter
1924
+ * Team name.
1761
1925
  */
1762
1926
  team?: string;
1763
1927
  /**
1764
- * Optional year filter
1928
+ * Season year.
1765
1929
  */
1766
1930
  year?: number;
1767
1931
  };
@@ -1774,19 +1938,19 @@ export type GetAdjustedPlayerPassingStatsError = unknown;
1774
1938
  export type GetAdjustedPlayerRushingStatsData = {
1775
1939
  query?: {
1776
1940
  /**
1777
- * Optional conference abbreviation filter
1941
+ * Conference abbreviation.
1778
1942
  */
1779
1943
  conference?: string;
1780
1944
  /**
1781
- * Optional position abbreviation filter
1945
+ * Player position abbreviation.
1782
1946
  */
1783
1947
  position?: string;
1784
1948
  /**
1785
- * Optional team filter
1949
+ * Team name.
1786
1950
  */
1787
1951
  team?: string;
1788
1952
  /**
1789
- * Optional year filter
1953
+ * Season year.
1790
1954
  */
1791
1955
  year?: number;
1792
1956
  };
@@ -1799,15 +1963,15 @@ export type GetAdjustedPlayerRushingStatsError = unknown;
1799
1963
  export type GetKickerPaarData = {
1800
1964
  query?: {
1801
1965
  /**
1802
- * Optional conference abbreviation filter
1966
+ * Conference abbreviation.
1803
1967
  */
1804
1968
  conference?: string;
1805
1969
  /**
1806
- * Optional team filter
1970
+ * Team name.
1807
1971
  */
1808
1972
  team?: string;
1809
1973
  /**
1810
- * Optional year filter
1974
+ * Season year.
1811
1975
  */
1812
1976
  year?: number;
1813
1977
  };
@@ -1820,11 +1984,11 @@ export type GetKickerPaarError = unknown;
1820
1984
  export type GetTeamsData = {
1821
1985
  query?: {
1822
1986
  /**
1823
- * Optional conference abbreviation filter
1987
+ * Conference abbreviation.
1824
1988
  */
1825
1989
  conference?: string;
1826
1990
  /**
1827
- * Optional year filter to get historical conference affiliations
1991
+ * Season year for historical conference affiliations.
1828
1992
  */
1829
1993
  year?: number;
1830
1994
  };
@@ -1837,7 +2001,7 @@ export type GetTeamsError = unknown;
1837
2001
  export type GetFbsTeamsData = {
1838
2002
  query?: {
1839
2003
  /**
1840
- * Year or season
2004
+ * Season year.
1841
2005
  */
1842
2006
  year?: number;
1843
2007
  };
@@ -1850,19 +2014,19 @@ export type GetFbsTeamsError = unknown;
1850
2014
  export type GetMatchupData = {
1851
2015
  query: {
1852
2016
  /**
1853
- * Optional ending year
2017
+ * Latest season year to include.
1854
2018
  */
1855
2019
  maxYear?: number;
1856
2020
  /**
1857
- * Optional starting year
2021
+ * Earliest season year to include.
1858
2022
  */
1859
2023
  minYear?: number;
1860
2024
  /**
1861
- * First team to compare
2025
+ * First team name.
1862
2026
  */
1863
2027
  team1: string;
1864
2028
  /**
1865
- * Second team to compare
2029
+ * Second team name.
1866
2030
  */
1867
2031
  team2: string;
1868
2032
  };
@@ -1875,15 +2039,15 @@ export type GetMatchupError = unknown;
1875
2039
  export type GetTeamsAtsData = {
1876
2040
  query: {
1877
2041
  /**
1878
- * Optional conference filter
2042
+ * Conference name or abbreviation.
1879
2043
  */
1880
2044
  conference?: string;
1881
2045
  /**
1882
- * Optional team filter
2046
+ * Team name.
1883
2047
  */
1884
2048
  team?: string;
1885
2049
  /**
1886
- * Required year filter
2050
+ * Season year.
1887
2051
  */
1888
2052
  year: number;
1889
2053
  };
@@ -1896,15 +2060,15 @@ export type GetTeamsAtsError = unknown;
1896
2060
  export type GetRosterData = {
1897
2061
  query?: {
1898
2062
  /**
1899
- * Optional filter to only include players from FBS or FCS teams
2063
+ * Division classification: `fbs` or `fcs`.
1900
2064
  */
1901
2065
  classification?: DivisionClassification;
1902
2066
  /**
1903
- * Optional team filter
2067
+ * Team name.
1904
2068
  */
1905
2069
  team?: string;
1906
2070
  /**
1907
- * Optional year filter, defaults to 2025
2071
+ * Season year. Defaults to 2025.
1908
2072
  */
1909
2073
  year?: number;
1910
2074
  };
@@ -1921,7 +2085,7 @@ export type GetConferencesError = unknown;
1921
2085
  export type GetTalentData = {
1922
2086
  query: {
1923
2087
  /**
1924
- * Year filter
2088
+ * Season year.
1925
2089
  */
1926
2090
  year: number;
1927
2091
  };
@@ -1938,31 +2102,31 @@ export type GetVenuesError = unknown;
1938
2102
  export type GetPlayerSeasonStatsData = {
1939
2103
  query: {
1940
2104
  /**
1941
- * Optional category filter
2105
+ * Statistical category.
1942
2106
  */
1943
2107
  category?: string;
1944
2108
  /**
1945
- * Optional conference filter
2109
+ * Conference name or abbreviation.
1946
2110
  */
1947
2111
  conference?: string;
1948
2112
  /**
1949
- * Optional ending week range
2113
+ * Latest week to include.
1950
2114
  */
1951
2115
  endWeek?: number;
1952
2116
  /**
1953
- * Optional season type filter
2117
+ * Season type.
1954
2118
  */
1955
2119
  seasonType?: SeasonType;
1956
2120
  /**
1957
- * Optional starting week range
2121
+ * Earliest week to include.
1958
2122
  */
1959
2123
  startWeek?: number;
1960
2124
  /**
1961
- * Optional team filter
2125
+ * Team name.
1962
2126
  */
1963
2127
  team?: string;
1964
2128
  /**
1965
- * Required year filter
2129
+ * Season year.
1966
2130
  */
1967
2131
  year: number;
1968
2132
  };
@@ -1975,39 +2139,39 @@ export type GetPlayerSeasonStatsError = unknown;
1975
2139
  export type GetPlayerSeasonSuccessRatesData = {
1976
2140
  query?: {
1977
2141
  /**
1978
- * Optional conference abbreviation filter
2142
+ * Conference abbreviation.
1979
2143
  */
1980
2144
  conference?: string;
1981
2145
  /**
1982
- * Optional ending week range
2146
+ * Latest week to include.
1983
2147
  */
1984
2148
  endWeek?: number;
1985
2149
  /**
1986
- * Optional flag to exclude garbage time plays
2150
+ * Excludes garbage-time plays when `true`.
1987
2151
  */
1988
2152
  excludeGarbageTime?: boolean;
1989
2153
  /**
1990
- * Player ID filter, required if year not specified
2154
+ * Player ID. Required unless `year` is specified.
1991
2155
  */
1992
2156
  playerId?: number;
1993
2157
  /**
1994
- * Optional season type filter
2158
+ * Season type.
1995
2159
  */
1996
2160
  seasonType?: SeasonType;
1997
2161
  /**
1998
- * Optional starting week range
2162
+ * Earliest week to include.
1999
2163
  */
2000
2164
  startWeek?: number;
2001
2165
  /**
2002
- * Optional team filter
2166
+ * Team name.
2003
2167
  */
2004
2168
  team?: string;
2005
2169
  /**
2006
- * Optional minimum credited passing plus rushing plays
2170
+ * Minimum credited passing and rushing plays.
2007
2171
  */
2008
2172
  threshold?: number;
2009
2173
  /**
2010
- * Year filter, required if playerId not specified
2174
+ * Season year. Required unless `playerId` is specified.
2011
2175
  */
2012
2176
  year?: number;
2013
2177
  };
@@ -2020,35 +2184,35 @@ export type GetPlayerSeasonSuccessRatesError = unknown;
2020
2184
  export type GetPlayerGameSuccessRatesData = {
2021
2185
  query: {
2022
2186
  /**
2023
- * Optional conference abbreviation filter
2187
+ * Conference abbreviation.
2024
2188
  */
2025
2189
  conference?: string;
2026
2190
  /**
2027
- * Optional flag to exclude garbage time plays
2191
+ * Excludes garbage-time plays when `true`.
2028
2192
  */
2029
2193
  excludeGarbageTime?: boolean;
2030
2194
  /**
2031
- * Optional player ID filter
2195
+ * Player ID.
2032
2196
  */
2033
2197
  playerId?: number;
2034
2198
  /**
2035
- * Optional season type filter
2199
+ * Season type.
2036
2200
  */
2037
2201
  seasonType?: SeasonType;
2038
2202
  /**
2039
- * Optional team filter
2203
+ * Team name.
2040
2204
  */
2041
2205
  team?: string;
2042
2206
  /**
2043
- * Optional minimum credited passing plus rushing plays
2207
+ * Minimum credited passing and rushing plays.
2044
2208
  */
2045
2209
  threshold?: number;
2046
2210
  /**
2047
- * Week filter, required if team and playerId not specified
2211
+ * Week number. Required unless `team` or `playerId` is specified.
2048
2212
  */
2049
2213
  week?: number;
2050
2214
  /**
2051
- * Required year filter
2215
+ * Season year.
2052
2216
  */
2053
2217
  year: number;
2054
2218
  };
@@ -2061,27 +2225,27 @@ export type GetPlayerGameSuccessRatesError = unknown;
2061
2225
  export type GetTeamStatsData = {
2062
2226
  query?: {
2063
2227
  /**
2064
- * Optional division classification filter, defaults to fbs
2228
+ * Division classification. Defaults to `fbs`.
2065
2229
  */
2066
2230
  classification?: DivisionClassification;
2067
2231
  /**
2068
- * Optional conference filter
2232
+ * Conference name or abbreviation.
2069
2233
  */
2070
2234
  conference?: string;
2071
2235
  /**
2072
- * Optional week end range filter
2236
+ * Latest week to include.
2073
2237
  */
2074
2238
  endWeek?: number;
2075
2239
  /**
2076
- * Optional week start range filter
2240
+ * Earliest week to include.
2077
2241
  */
2078
2242
  startWeek?: number;
2079
2243
  /**
2080
- * Team filter, required if year not specified
2244
+ * Team name. Required unless `year` is specified.
2081
2245
  */
2082
2246
  team?: string;
2083
2247
  /**
2084
- * Year filter, required if team not specified
2248
+ * Season year. Required unless `team` is specified.
2085
2249
  */
2086
2250
  year?: number;
2087
2251
  };
@@ -2098,27 +2262,28 @@ export type GetCategoriesError = unknown;
2098
2262
  export type GetAdvancedSeasonStatsData = {
2099
2263
  query?: {
2100
2264
  /**
2101
- * Optional division classification filter, defaults to fbs
2265
+ * Division classification. Defaults to `fbs`.
2102
2266
  */
2103
2267
  classification?: DivisionClassification;
2104
2268
  /**
2105
- * Optional end week range filter
2269
+ * Latest week to include.
2106
2270
  */
2107
2271
  endWeek?: number;
2108
2272
  /**
2109
- * Garbage time exclusion filter, defaults to false
2273
+ * Excludes garbage-time plays when `true`. Defaults
2274
+ * to `false`.
2110
2275
  */
2111
2276
  excludeGarbageTime?: boolean;
2112
2277
  /**
2113
- * Optional start week range filter
2278
+ * Earliest week to include.
2114
2279
  */
2115
2280
  startWeek?: number;
2116
2281
  /**
2117
- * Team filter, required if year not specified
2282
+ * Team name. Required unless `year` is specified.
2118
2283
  */
2119
2284
  team?: string;
2120
2285
  /**
2121
- * Year filter, required if team not specified
2286
+ * Season year. Required unless `team` is specified.
2122
2287
  */
2123
2288
  year?: number;
2124
2289
  };
@@ -2131,27 +2296,28 @@ export type GetAdvancedSeasonStatsError = unknown;
2131
2296
  export type GetAdvancedGameStatsData = {
2132
2297
  query?: {
2133
2298
  /**
2134
- * Garbage time exclusion filter, defaults to false
2299
+ * Excludes garbage-time plays when `true`. Defaults
2300
+ * to `false`.
2135
2301
  */
2136
2302
  excludeGarbageTime?: boolean;
2137
2303
  /**
2138
- * Optional opponent filter
2304
+ * Opponent team name.
2139
2305
  */
2140
2306
  opponent?: string;
2141
2307
  /**
2142
- * Optional season type filter
2308
+ * Season type.
2143
2309
  */
2144
2310
  seasonType?: SeasonType;
2145
2311
  /**
2146
- * Team filter, required if year not specified
2312
+ * Team name. Required unless `year` is specified.
2147
2313
  */
2148
2314
  team?: string;
2149
2315
  /**
2150
- * Optional week filter
2316
+ * Week number.
2151
2317
  */
2152
2318
  week?: number;
2153
2319
  /**
2154
- * Year filter, required if team not specified
2320
+ * Season year. Required unless `team` is specified.
2155
2321
  */
2156
2322
  year?: number;
2157
2323
  };
@@ -2164,23 +2330,23 @@ export type GetAdvancedGameStatsError = unknown;
2164
2330
  export type GetGameHavocStatsData = {
2165
2331
  query?: {
2166
2332
  /**
2167
- * Optional opponent filter
2333
+ * Opponent team name.
2168
2334
  */
2169
2335
  opponent?: string;
2170
2336
  /**
2171
- * Optional season type filter
2337
+ * Season type.
2172
2338
  */
2173
2339
  seasonType?: SeasonType;
2174
2340
  /**
2175
- * Team filter, required if year not specified
2341
+ * Team name. Required unless `year` is specified.
2176
2342
  */
2177
2343
  team?: string;
2178
2344
  /**
2179
- * Optional week filter
2345
+ * Week number.
2180
2346
  */
2181
2347
  week?: number;
2182
2348
  /**
2183
- * Year filter, required if team not specified
2349
+ * Season year. Required unless `team` is specified.
2184
2350
  */
2185
2351
  year?: number;
2186
2352
  };
@@ -2193,23 +2359,23 @@ export type GetGameHavocStatsError = unknown;
2193
2359
  export type GetRecruitsData = {
2194
2360
  query?: {
2195
2361
  /**
2196
- * Optional recruit type classification filter, defaults to HighSchool
2362
+ * Recruit classification. Defaults to `HighSchool`.
2197
2363
  */
2198
2364
  classification?: RecruitClassification;
2199
2365
  /**
2200
- * Optional position categorization filter
2366
+ * Position category.
2201
2367
  */
2202
2368
  position?: string;
2203
2369
  /**
2204
- * Optional state/province filter
2370
+ * State or province abbreviation.
2205
2371
  */
2206
2372
  state?: string;
2207
2373
  /**
2208
- * Team filter, required when no team specified
2374
+ * Team name. Required unless `year` is specified.
2209
2375
  */
2210
2376
  team?: string;
2211
2377
  /**
2212
- * Year filter, required when no team specified
2378
+ * Recruiting class year. Required unless `team` is specified.
2213
2379
  */
2214
2380
  year?: number;
2215
2381
  };
@@ -2222,11 +2388,11 @@ export type GetRecruitsError = unknown;
2222
2388
  export type GetTeamRecruitingRankingsData = {
2223
2389
  query?: {
2224
2390
  /**
2225
- * Optional team filter
2391
+ * Team name.
2226
2392
  */
2227
2393
  team?: string;
2228
2394
  /**
2229
- * Optional year filter
2395
+ * Recruiting class year.
2230
2396
  */
2231
2397
  year?: number;
2232
2398
  };
@@ -2239,23 +2405,23 @@ export type GetTeamRecruitingRankingsError = unknown;
2239
2405
  export type GetAggregatedTeamRecruitingRatingsData = {
2240
2406
  query?: {
2241
2407
  /**
2242
- * Optional conference filter
2408
+ * Conference name or abbreviation.
2243
2409
  */
2244
2410
  conference?: string;
2245
2411
  /**
2246
- * Optional end year range, defaults to current year
2412
+ * Latest recruiting class year. Defaults to the current year.
2247
2413
  */
2248
2414
  endYear?: number;
2249
2415
  /**
2250
- * Optional recruit type filter, defaults to HighSchool
2416
+ * Recruit classification. Defaults to `HighSchool`.
2251
2417
  */
2252
2418
  recruitType?: RecruitClassification;
2253
2419
  /**
2254
- * Optional start year range, defaults to 2000
2420
+ * Earliest recruiting class year. Defaults to 2000.
2255
2421
  */
2256
2422
  startYear?: number;
2257
2423
  /**
2258
- * Optional team filter
2424
+ * Team name.
2259
2425
  */
2260
2426
  team?: string;
2261
2427
  };
@@ -2268,11 +2434,11 @@ export type GetAggregatedTeamRecruitingRatingsError = unknown;
2268
2434
  export type GetSpData = {
2269
2435
  query?: {
2270
2436
  /**
2271
- * Team filter, required if year not specified
2437
+ * Team name. Required unless `year` is specified.
2272
2438
  */
2273
2439
  team?: string;
2274
2440
  /**
2275
- * Year filter, required if team not specified
2441
+ * Season year. Required unless `team` is specified.
2276
2442
  */
2277
2443
  year?: number;
2278
2444
  };
@@ -2285,15 +2451,15 @@ export type GetSpError = unknown;
2285
2451
  export type GetConferenceSpData = {
2286
2452
  query?: {
2287
2453
  /**
2288
- * Optional division classification filter, defaults to fbs
2454
+ * Division classification. Defaults to `fbs`.
2289
2455
  */
2290
2456
  classification?: DivisionClassification;
2291
2457
  /**
2292
- * Optional conference filter
2458
+ * Conference name or abbreviation.
2293
2459
  */
2294
2460
  conference?: string;
2295
2461
  /**
2296
- * Optional year filter
2462
+ * Season year.
2297
2463
  */
2298
2464
  year?: number;
2299
2465
  };
@@ -2306,15 +2472,15 @@ export type GetConferenceSpError = unknown;
2306
2472
  export type GetSrsData = {
2307
2473
  query?: {
2308
2474
  /**
2309
- * Optional conference filter
2475
+ * Conference name or abbreviation.
2310
2476
  */
2311
2477
  conference?: string;
2312
2478
  /**
2313
- * Team filter, required if year not specified
2479
+ * Team name. Required unless `year` is specified.
2314
2480
  */
2315
2481
  team?: string;
2316
2482
  /**
2317
- * Year filter, required if team not specified
2483
+ * Season year. Required unless `team` is specified.
2318
2484
  */
2319
2485
  year?: number;
2320
2486
  };
@@ -2327,19 +2493,19 @@ export type GetSrsError = unknown;
2327
2493
  export type GetExpandedSrsData = {
2328
2494
  query?: {
2329
2495
  /**
2330
- * Optional division classification filter (fbs or fcs)
2496
+ * Division classification: `fbs` or `fcs`.
2331
2497
  */
2332
2498
  classification?: DivisionClassification;
2333
2499
  /**
2334
- * Optional conference filter
2500
+ * Conference name or abbreviation.
2335
2501
  */
2336
2502
  conference?: string;
2337
2503
  /**
2338
- * Team filter, required if year not specified
2504
+ * Team name. Required unless `year` is specified.
2339
2505
  */
2340
2506
  team?: string;
2341
2507
  /**
2342
- * Year filter, required if team not specified
2508
+ * Season year. Required unless `team` is specified.
2343
2509
  */
2344
2510
  year?: number;
2345
2511
  };
@@ -2352,23 +2518,24 @@ export type GetExpandedSrsError = unknown;
2352
2518
  export type GetEloData = {
2353
2519
  query?: {
2354
2520
  /**
2355
- * Optional conference filter
2521
+ * Conference name or abbreviation.
2356
2522
  */
2357
2523
  conference?: string;
2358
2524
  /**
2359
- * Optional season type filter
2525
+ * Season type.
2360
2526
  */
2361
2527
  seasonType?: SeasonType;
2362
2528
  /**
2363
- * Optional team filter
2529
+ * Team name.
2364
2530
  */
2365
2531
  team?: string;
2366
2532
  /**
2367
- * Optional week filter, defaults to last available week in the season
2533
+ * Week number. Defaults to the latest available week in the
2534
+ * season.
2368
2535
  */
2369
2536
  week?: number;
2370
2537
  /**
2371
- * Optional year filter
2538
+ * Season year.
2372
2539
  */
2373
2540
  year?: number;
2374
2541
  };
@@ -2381,15 +2548,15 @@ export type GetEloError = unknown;
2381
2548
  export type GetFpiData = {
2382
2549
  query?: {
2383
2550
  /**
2384
- * Optional conference filter
2551
+ * Conference name or abbreviation.
2385
2552
  */
2386
2553
  conference?: string;
2387
2554
  /**
2388
- * team filter, required if year not specified
2555
+ * Team name. Required unless `year` is specified.
2389
2556
  */
2390
2557
  team?: string;
2391
2558
  /**
2392
- * year filter, required if team not specified
2559
+ * Season year. Required unless `team` is specified.
2393
2560
  */
2394
2561
  year?: number;
2395
2562
  };
@@ -2402,27 +2569,30 @@ export type GetFpiError = unknown;
2402
2569
  export type GetRankingsData = {
2403
2570
  query: {
2404
2571
  /**
2405
- * Return the marked final CFP snapshot
2572
+ * Returns the CFP snapshot marked as final when `true`. Requires
2573
+ * `poll=cfp` and cannot be combined with `latest`.
2406
2574
  */
2407
2575
  final?: boolean;
2408
2576
  /**
2409
- * Return the latest CFP snapshot, preferring the marked final
2577
+ * Returns the latest CFP snapshot when `true`, preferring the
2578
+ * snapshot marked as final. Requires `poll=cfp` and cannot be combined with
2579
+ * `final`.
2410
2580
  */
2411
2581
  latest?: boolean;
2412
2582
  /**
2413
- * Optional poll filter
2583
+ * Poll name.
2414
2584
  */
2415
2585
  poll?: RankingPoll;
2416
2586
  /**
2417
- * Optional season type filter
2587
+ * Season type.
2418
2588
  */
2419
2589
  seasonType?: SeasonType;
2420
2590
  /**
2421
- * Optional week filter
2591
+ * Poll week.
2422
2592
  */
2423
2593
  week?: number;
2424
2594
  /**
2425
- * Required year filter
2595
+ * Season year.
2426
2596
  */
2427
2597
  year: number;
2428
2598
  };
@@ -2437,47 +2607,47 @@ export type GetRankingsError = ({
2437
2607
  export type GetPlaysData = {
2438
2608
  query: {
2439
2609
  /**
2440
- * Optional division classification filter
2610
+ * Division classification of either team.
2441
2611
  */
2442
2612
  classification?: DivisionClassification;
2443
2613
  /**
2444
- * Optional conference filter
2614
+ * Conference of either team.
2445
2615
  */
2446
2616
  conference?: string;
2447
2617
  /**
2448
- * Optional defensive team filter
2618
+ * Defensive team name.
2449
2619
  */
2450
2620
  defense?: string;
2451
2621
  /**
2452
- * Optional defensive conference filter
2622
+ * Defensive team conference.
2453
2623
  */
2454
2624
  defenseConference?: string;
2455
2625
  /**
2456
- * Optional offensive team filter
2626
+ * Offensive team name.
2457
2627
  */
2458
2628
  offense?: string;
2459
2629
  /**
2460
- * Optional offensive conference filter
2630
+ * Offensive team conference.
2461
2631
  */
2462
2632
  offenseConference?: string;
2463
2633
  /**
2464
- * Optoinal play type abbreviation filter
2634
+ * Play type abbreviation.
2465
2635
  */
2466
2636
  playType?: string;
2467
2637
  /**
2468
- * Optional season type filter
2638
+ * Season type.
2469
2639
  */
2470
2640
  seasonType?: SeasonType;
2471
2641
  /**
2472
- * Optional team filter
2642
+ * Team name on either side of the play.
2473
2643
  */
2474
2644
  team?: string;
2475
2645
  /**
2476
- * Required week filter
2646
+ * Week number.
2477
2647
  */
2478
2648
  week: number;
2479
2649
  /**
2480
- * Required year filter
2650
+ * Season year.
2481
2651
  */
2482
2652
  year: number;
2483
2653
  };
@@ -2494,35 +2664,35 @@ export type GetPlayTypesError = unknown;
2494
2664
  export type GetPlayStatsData = {
2495
2665
  query?: {
2496
2666
  /**
2497
- * Optional athleteId filter
2667
+ * Athlete ID.
2498
2668
  */
2499
2669
  athleteId?: number;
2500
2670
  /**
2501
- * Optional conference filter
2671
+ * Conference name or abbreviation.
2502
2672
  */
2503
2673
  conference?: string;
2504
2674
  /**
2505
- * Optional gameId filter
2675
+ * Game ID.
2506
2676
  */
2507
2677
  gameId?: number;
2508
2678
  /**
2509
- * Optional season type filter
2679
+ * Season type.
2510
2680
  */
2511
2681
  seasonType?: SeasonType;
2512
2682
  /**
2513
- * Optional statTypeId filter
2683
+ * Play stat type ID.
2514
2684
  */
2515
2685
  statTypeId?: number;
2516
2686
  /**
2517
- * Optional team filter
2687
+ * Team name.
2518
2688
  */
2519
2689
  team?: string;
2520
2690
  /**
2521
- * Optional week filter
2691
+ * Week number.
2522
2692
  */
2523
2693
  week?: number;
2524
2694
  /**
2525
- * Optional year filter
2695
+ * Season year.
2526
2696
  */
2527
2697
  year?: number;
2528
2698
  };
@@ -2539,7 +2709,7 @@ export type GetPlayStatTypesError = unknown;
2539
2709
  export type GetCfpPlayoffData = {
2540
2710
  query: {
2541
2711
  /**
2542
- * Required year filter
2712
+ * Season year.
2543
2713
  */
2544
2714
  year: number;
2545
2715
  };
@@ -2554,7 +2724,7 @@ export type GetCfpPlayoffError = ({
2554
2724
  export type GetCfpParticipantsData = {
2555
2725
  query: {
2556
2726
  /**
2557
- * Required year filter
2727
+ * Season year.
2558
2728
  */
2559
2729
  year: number;
2560
2730
  };
@@ -2569,11 +2739,11 @@ export type GetCfpParticipantsError = ({
2569
2739
  export type GetCfpGamesData = {
2570
2740
  query: {
2571
2741
  /**
2572
- * Optional playoff round filter
2742
+ * Playoff round.
2573
2743
  */
2574
2744
  round?: PlayoffRound;
2575
2745
  /**
2576
- * Required year filter
2746
+ * Season year.
2577
2747
  */
2578
2748
  year: number;
2579
2749
  };
@@ -2588,19 +2758,19 @@ export type GetCfpGamesError = ({
2588
2758
  export type SearchPlayersData = {
2589
2759
  query: {
2590
2760
  /**
2591
- * Optional position abbreviation filter
2761
+ * Player position abbreviation.
2592
2762
  */
2593
2763
  position?: string;
2594
2764
  /**
2595
- * Search term for matching player name
2765
+ * Full or partial player name.
2596
2766
  */
2597
2767
  searchTerm: string;
2598
2768
  /**
2599
- * Optional team filter
2769
+ * Team name.
2600
2770
  */
2601
2771
  team?: string;
2602
2772
  /**
2603
- * Optional year filter
2773
+ * Season year.
2604
2774
  */
2605
2775
  year?: number;
2606
2776
  };
@@ -2613,27 +2783,28 @@ export type SearchPlayersError = unknown;
2613
2783
  export type GetPlayerUsageData = {
2614
2784
  query: {
2615
2785
  /**
2616
- * Optional conference abbreviation filter
2786
+ * Conference abbreviation.
2617
2787
  */
2618
2788
  conference?: string;
2619
2789
  /**
2620
- * Optional exclude garbage time flag, defaults to false
2790
+ * Excludes garbage-time plays when `true`. Defaults
2791
+ * to `false`.
2621
2792
  */
2622
2793
  excludeGarbageTime?: boolean;
2623
2794
  /**
2624
- * Optional player id filter
2795
+ * Player ID.
2625
2796
  */
2626
2797
  playerId?: number;
2627
2798
  /**
2628
- * Optional position abbreivation filter
2799
+ * Player position abbreviation.
2629
2800
  */
2630
2801
  position?: string;
2631
2802
  /**
2632
- * Optional team filter
2803
+ * Team name.
2633
2804
  */
2634
2805
  team?: string;
2635
2806
  /**
2636
- * Required year filter
2807
+ * Season year.
2637
2808
  */
2638
2809
  year: number;
2639
2810
  };
@@ -2646,11 +2817,11 @@ export type GetPlayerUsageError = unknown;
2646
2817
  export type GetPlayerSeasonOverviewData = {
2647
2818
  query: {
2648
2819
  /**
2649
- * Required player id filter
2820
+ * Player ID.
2650
2821
  */
2651
2822
  playerId: number;
2652
2823
  /**
2653
- * Required year filter
2824
+ * Season year.
2654
2825
  */
2655
2826
  year: number;
2656
2827
  };
@@ -2663,15 +2834,15 @@ export type GetPlayerSeasonOverviewError = unknown;
2663
2834
  export type GetReturningProductionData = {
2664
2835
  query?: {
2665
2836
  /**
2666
- * Optional conference filter
2837
+ * Conference name or abbreviation.
2667
2838
  */
2668
2839
  conference?: string;
2669
2840
  /**
2670
- * Team filter, required if year not specified
2841
+ * Team name. Required unless `year` is specified.
2671
2842
  */
2672
2843
  team?: string;
2673
2844
  /**
2674
- * Year filter, required if team not specified
2845
+ * Season year. Required unless `team` is specified.
2675
2846
  */
2676
2847
  year?: number;
2677
2848
  };
@@ -2684,7 +2855,7 @@ export type GetReturningProductionError = unknown;
2684
2855
  export type GetTransferPortalData = {
2685
2856
  query: {
2686
2857
  /**
2687
- * Required year filter
2858
+ * Season year.
2688
2859
  */
2689
2860
  year: number;
2690
2861
  };
@@ -2697,11 +2868,11 @@ export type GetTransferPortalError = unknown;
2697
2868
  export type GetPredictedPointsData = {
2698
2869
  query: {
2699
2870
  /**
2700
- * Distance value
2871
+ * Distance to gain, in yards.
2701
2872
  */
2702
2873
  distance: number;
2703
2874
  /**
2704
- * Down value
2875
+ * Down number.
2705
2876
  */
2706
2877
  down: number;
2707
2878
  };
@@ -2714,23 +2885,23 @@ export type GetPredictedPointsError = unknown;
2714
2885
  export type GetPredictedPointsAddedByTeamData = {
2715
2886
  query?: {
2716
2887
  /**
2717
- * Optional division classification filter, defaults to fbs
2888
+ * Division classification. Defaults to `fbs`.
2718
2889
  */
2719
2890
  classification?: DivisionClassification;
2720
2891
  /**
2721
- * Conference abbreviation filter
2892
+ * Conference abbreviation.
2722
2893
  */
2723
2894
  conference?: string;
2724
2895
  /**
2725
- * Exclude garbage time plays
2896
+ * Excludes garbage-time plays when `true`.
2726
2897
  */
2727
2898
  excludeGarbageTime?: boolean;
2728
2899
  /**
2729
- * Team filter, required if year not specified
2900
+ * Team name. Required unless `year` is specified.
2730
2901
  */
2731
2902
  team?: string;
2732
2903
  /**
2733
- * Year filter, required if team not specified
2904
+ * Season year. Required unless `team` is specified.
2734
2905
  */
2735
2906
  year?: number;
2736
2907
  };
@@ -2743,31 +2914,31 @@ export type GetPredictedPointsAddedByTeamError = unknown;
2743
2914
  export type GetPredictedPointsAddedByGameData = {
2744
2915
  query: {
2745
2916
  /**
2746
- * Optional division classification filter, defaults to fbs
2917
+ * Division classification. Defaults to `fbs`.
2747
2918
  */
2748
2919
  classification?: DivisionClassification;
2749
2920
  /**
2750
- * Optional conference abbreviation filter
2921
+ * Conference abbreviation.
2751
2922
  */
2752
2923
  conference?: string;
2753
2924
  /**
2754
- * Optional flag to exclude garbage time plays
2925
+ * Excludes garbage-time plays when `true`.
2755
2926
  */
2756
2927
  excludeGarbageTime?: boolean;
2757
2928
  /**
2758
- * Optional season type filter
2929
+ * Season type.
2759
2930
  */
2760
2931
  seasonType?: SeasonType;
2761
2932
  /**
2762
- * Optional team filter
2933
+ * Team name.
2763
2934
  */
2764
2935
  team?: string;
2765
2936
  /**
2766
- * Optional week filter
2937
+ * Week number.
2767
2938
  */
2768
2939
  week?: number;
2769
2940
  /**
2770
- * Required year filter
2941
+ * Season year.
2771
2942
  */
2772
2943
  year: number;
2773
2944
  };
@@ -2780,35 +2951,35 @@ export type GetPredictedPointsAddedByGameError = unknown;
2780
2951
  export type GetPredictedPointsAddedByPlayerGameData = {
2781
2952
  query: {
2782
2953
  /**
2783
- * Optional flag to exclude garbage time plays
2954
+ * Excludes garbage-time plays when `true`.
2784
2955
  */
2785
2956
  excludeGarbageTime?: boolean;
2786
2957
  /**
2787
- * Optional player ID filter
2958
+ * Player ID.
2788
2959
  */
2789
2960
  playerId?: string;
2790
2961
  /**
2791
- * Optional player position abbreviation filter
2962
+ * Player position abbreviation.
2792
2963
  */
2793
2964
  position?: string;
2794
2965
  /**
2795
- * Optional season type filter
2966
+ * Season type.
2796
2967
  */
2797
2968
  seasonType?: SeasonType;
2798
2969
  /**
2799
- * Team filter, required if week not specified
2970
+ * Team name. Required unless `week` is specified.
2800
2971
  */
2801
2972
  team?: string;
2802
2973
  /**
2803
- * Threshold value for minimum number of plays
2974
+ * Minimum number of plays.
2804
2975
  */
2805
2976
  threshold?: number;
2806
2977
  /**
2807
- * Week filter, required if team not specified
2978
+ * Week number. Required unless `team` is specified.
2808
2979
  */
2809
2980
  week?: number;
2810
2981
  /**
2811
- * Required year filter
2982
+ * Season year.
2812
2983
  */
2813
2984
  year: number;
2814
2985
  };
@@ -2821,31 +2992,31 @@ export type GetPredictedPointsAddedByPlayerGameError = unknown;
2821
2992
  export type GetPredictedPointsAddedByPlayerSeasonData = {
2822
2993
  query?: {
2823
2994
  /**
2824
- * Optional conference abbreviation filter
2995
+ * Conference abbreviation.
2825
2996
  */
2826
2997
  conference?: string;
2827
2998
  /**
2828
- * Optional flag to exclude garbage time plays
2999
+ * Excludes garbage-time plays when `true`.
2829
3000
  */
2830
3001
  excludeGarbageTime?: boolean;
2831
3002
  /**
2832
- * Player ID filter, required if year not specified
3003
+ * Player ID. Required unless `year` is specified.
2833
3004
  */
2834
3005
  playerId?: string;
2835
3006
  /**
2836
- * Optional position abbreviation filter
3007
+ * Player position abbreviation.
2837
3008
  */
2838
3009
  position?: string;
2839
3010
  /**
2840
- * Optional team filter
3011
+ * Team name.
2841
3012
  */
2842
3013
  team?: string;
2843
3014
  /**
2844
- * Threshold value for minimum number of plays
3015
+ * Minimum number of plays.
2845
3016
  */
2846
3017
  threshold?: number;
2847
3018
  /**
2848
- * Year filter, required if playerId not specified
3019
+ * Season year. Required unless `playerId` is specified.
2849
3020
  */
2850
3021
  year?: number;
2851
3022
  };
@@ -2858,7 +3029,7 @@ export type GetPredictedPointsAddedByPlayerSeasonError = unknown;
2858
3029
  export type GetWinProbabilityData = {
2859
3030
  query: {
2860
3031
  /**
2861
- * Required game ID filter
3032
+ * Game ID.
2862
3033
  */
2863
3034
  gameId: number;
2864
3035
  };
@@ -2871,19 +3042,19 @@ export type GetWinProbabilityError = unknown;
2871
3042
  export type GetPregameWinProbabilitiesData = {
2872
3043
  query?: {
2873
3044
  /**
2874
- * Optional season type filter
3045
+ * Season type.
2875
3046
  */
2876
3047
  seasonType?: SeasonType;
2877
3048
  /**
2878
- * Optional team filter
3049
+ * Team name.
2879
3050
  */
2880
3051
  team?: string;
2881
3052
  /**
2882
- * Optional week filter
3053
+ * Week number.
2883
3054
  */
2884
3055
  week?: number;
2885
3056
  /**
2886
- * Optional year filter
3057
+ * Season year.
2887
3058
  */
2888
3059
  year?: number;
2889
3060
  };
@@ -2900,7 +3071,7 @@ export type GetFieldGoalExpectedPointsError = unknown;
2900
3071
  export type GetLivePlaysData = {
2901
3072
  query: {
2902
3073
  /**
2903
- * Game Id filter
3074
+ * Game ID.
2904
3075
  */
2905
3076
  gameId: number;
2906
3077
  };
@@ -2913,39 +3084,39 @@ export type GetLivePlaysError = unknown;
2913
3084
  export type GetLinesData = {
2914
3085
  query?: {
2915
3086
  /**
2916
- * Optional away team filter
3087
+ * Away team name.
2917
3088
  */
2918
3089
  away?: string;
2919
3090
  /**
2920
- * Optional conference filter
3091
+ * Conference of either team.
2921
3092
  */
2922
3093
  conference?: string;
2923
3094
  /**
2924
- * Optional gameId filter
3095
+ * Game ID.
2925
3096
  */
2926
3097
  gameId?: number;
2927
3098
  /**
2928
- * Optional home team filter
3099
+ * Home team name.
2929
3100
  */
2930
3101
  home?: string;
2931
3102
  /**
2932
- * Optional provider name filter
3103
+ * Betting line provider.
2933
3104
  */
2934
3105
  provider?: string;
2935
3106
  /**
2936
- * Optional season type filter
3107
+ * Season type.
2937
3108
  */
2938
3109
  seasonType?: SeasonType;
2939
3110
  /**
2940
- * Optional team filter
3111
+ * Team name on either side of the game.
2941
3112
  */
2942
3113
  team?: string;
2943
3114
  /**
2944
- * Optional week filter
3115
+ * Week number.
2945
3116
  */
2946
3117
  week?: number;
2947
3118
  /**
2948
- * Year filter, required if game id not specified
3119
+ * Season year. Required unless `gameId` is specified.
2949
3120
  */
2950
3121
  year?: number;
2951
3122
  };
@@ -2962,15 +3133,16 @@ export type GetUserInfoError = unknown;
2962
3133
  export type GetUsageData = {
2963
3134
  query?: {
2964
3135
  /**
2965
- * Optional API filter: all, cfb, or cbb
3136
+ * API to include: `all`, `cfb`, or `cbb`.
2966
3137
  */
2967
3138
  api?: UserUsageApi;
2968
3139
  /**
2969
- * Number of trailing days to include, defaults to 7 and is capped at 31
3140
+ * Trailing days to include. Defaults to 7; maximum 31.
2970
3141
  */
2971
3142
  days?: number;
2972
3143
  /**
2973
- * Number of endpoint and recent request rows to return, defaults to 10 and is capped at 50
3144
+ * Maximum endpoint and request rows to return. Defaults to 10;
3145
+ * maximum 50.
2974
3146
  */
2975
3147
  limit?: number;
2976
3148
  };
@@ -2983,47 +3155,47 @@ export type GetUsageError = unknown;
2983
3155
  export type GetGamesData = {
2984
3156
  query?: {
2985
3157
  /**
2986
- * Optional away team filter
3158
+ * Away team name.
2987
3159
  */
2988
3160
  away?: string;
2989
3161
  /**
2990
- * Optional division classification filter
3162
+ * Division classification.
2991
3163
  */
2992
3164
  classification?: DivisionClassification;
2993
3165
  /**
2994
- * Optional playoff competition filter
3166
+ * Playoff competition.
2995
3167
  */
2996
3168
  competition?: PlayoffCompetition;
2997
3169
  /**
2998
- * Optional conference filter
3170
+ * Conference of either team.
2999
3171
  */
3000
3172
  conference?: string;
3001
3173
  /**
3002
- * Optional home team filter
3174
+ * Home team name.
3003
3175
  */
3004
3176
  home?: string;
3005
3177
  /**
3006
- * Game id filter to retrieve a single game
3178
+ * Game ID. When specified, returns data for that game.
3007
3179
  */
3008
3180
  id?: number;
3009
3181
  /**
3010
- * Optional playoff round filter; requires competition
3182
+ * Playoff round. Requires `competition`.
3011
3183
  */
3012
3184
  round?: PlayoffRound;
3013
3185
  /**
3014
- * Optional season type filter
3186
+ * Season type.
3015
3187
  */
3016
3188
  seasonType?: SeasonType;
3017
3189
  /**
3018
- * Optional team filter
3190
+ * Team name on either side of the game.
3019
3191
  */
3020
3192
  team?: string;
3021
3193
  /**
3022
- * Optional week filter
3194
+ * Week number.
3023
3195
  */
3024
3196
  week?: number;
3025
3197
  /**
3026
- * Required year filter (except when id is specified)
3198
+ * Season year. Required unless `id` is specified.
3027
3199
  */
3028
3200
  year?: number;
3029
3201
  };
@@ -3038,31 +3210,34 @@ export type GetGamesError = ({
3038
3210
  export type GetGameTeamStatsData = {
3039
3211
  query?: {
3040
3212
  /**
3041
- * Optional division classification filter
3213
+ * Division classification.
3042
3214
  */
3043
3215
  classification?: DivisionClassification;
3044
3216
  /**
3045
- * Optional conference filter, required if week and team not specified
3217
+ * Conference name or abbreviation. One of `week`, `team`,
3218
+ * or `conference` is required when filtering by year.
3046
3219
  */
3047
3220
  conference?: string;
3048
3221
  /**
3049
- * Optional id filter to retrieve a single game
3222
+ * Game ID. When specified, returns statistics for that game.
3050
3223
  */
3051
3224
  id?: number;
3052
3225
  /**
3053
- * Optional season type filter
3226
+ * Season type.
3054
3227
  */
3055
3228
  seasonType?: SeasonType;
3056
3229
  /**
3057
- * Optional team filter, required if week and conference not specified
3230
+ * Team name. One of `week`, `team`, or `conference` is required
3231
+ * when filtering by year.
3058
3232
  */
3059
3233
  team?: string;
3060
3234
  /**
3061
- * Optional week filter, required if team and conference not specified
3235
+ * Week number. One of `week`, `team`, or `conference` is required
3236
+ * when filtering by year.
3062
3237
  */
3063
3238
  week?: number;
3064
3239
  /**
3065
- * Required year filter (along with one of week, team, or conference), unless id is specified
3240
+ * Season year. Required unless `id` is specified.
3066
3241
  */
3067
3242
  year?: number;
3068
3243
  };
@@ -3075,35 +3250,38 @@ export type GetGameTeamStatsError = unknown;
3075
3250
  export type GetGamePlayerStatsData = {
3076
3251
  query?: {
3077
3252
  /**
3078
- * Optional player statistical category filter
3253
+ * Player statistical category.
3079
3254
  */
3080
3255
  category?: string;
3081
3256
  /**
3082
- * Optional division classification filter
3257
+ * Division classification.
3083
3258
  */
3084
3259
  classification?: DivisionClassification;
3085
3260
  /**
3086
- * Optional conference filter, required if week and team not specified
3261
+ * Conference name or abbreviation. One of `week`, `team`,
3262
+ * or `conference` is required when filtering by year.
3087
3263
  */
3088
3264
  conference?: string;
3089
3265
  /**
3090
- * Optional id filter to retrieve a single game
3266
+ * Game ID. When specified, returns statistics for that game.
3091
3267
  */
3092
3268
  id?: number;
3093
3269
  /**
3094
- * Optional season type filter
3270
+ * Season type.
3095
3271
  */
3096
3272
  seasonType?: SeasonType;
3097
3273
  /**
3098
- * Optional team filter, required if week and conference not specified
3274
+ * Team name. One of `week`, `team`, or `conference` is required
3275
+ * when filtering by year.
3099
3276
  */
3100
3277
  team?: string;
3101
3278
  /**
3102
- * Optional week filter, required if team and conference not specified
3279
+ * Week number. One of `week`, `team`, or `conference` is required
3280
+ * when filtering by year.
3103
3281
  */
3104
3282
  week?: number;
3105
3283
  /**
3106
- * Required year filter (along with one of week, team, or conference), unless id is specified
3284
+ * Season year. Required unless `id` is specified.
3107
3285
  */
3108
3286
  year?: number;
3109
3287
  };
@@ -3116,31 +3294,31 @@ export type GetGamePlayerStatsError = unknown;
3116
3294
  export type GetMediaData = {
3117
3295
  query: {
3118
3296
  /**
3119
- * Optional division classification filter
3297
+ * Division classification.
3120
3298
  */
3121
3299
  classification?: DivisionClassification;
3122
3300
  /**
3123
- * Optional conference filter
3301
+ * Conference name or abbreviation.
3124
3302
  */
3125
3303
  conference?: string;
3126
3304
  /**
3127
- * Optional media type filter
3305
+ * Media type.
3128
3306
  */
3129
3307
  mediaType?: MediaType;
3130
3308
  /**
3131
- * Optional season type filter
3309
+ * Season type.
3132
3310
  */
3133
3311
  seasonType?: SeasonType;
3134
3312
  /**
3135
- * Optional team filter
3313
+ * Team name.
3136
3314
  */
3137
3315
  team?: string;
3138
3316
  /**
3139
- * Optional week filter
3317
+ * Week number.
3140
3318
  */
3141
3319
  week?: number;
3142
3320
  /**
3143
- * Required year filter
3321
+ * Season year.
3144
3322
  */
3145
3323
  year: number;
3146
3324
  };
@@ -3153,31 +3331,31 @@ export type GetMediaError = unknown;
3153
3331
  export type GetWeatherData = {
3154
3332
  query?: {
3155
3333
  /**
3156
- * Optional division classification filter
3334
+ * Division classification.
3157
3335
  */
3158
3336
  classification?: DivisionClassification;
3159
3337
  /**
3160
- * Optional conference filter
3338
+ * Conference name or abbreviation.
3161
3339
  */
3162
3340
  conference?: string;
3163
3341
  /**
3164
- * Filter for retrieving a single game
3342
+ * Game ID. When specified, returns weather for that game.
3165
3343
  */
3166
3344
  gameId?: number;
3167
3345
  /**
3168
- * Optional season type filter
3346
+ * Season type.
3169
3347
  */
3170
3348
  seasonType?: SeasonType;
3171
3349
  /**
3172
- * Optional team filter
3350
+ * Team name.
3173
3351
  */
3174
3352
  team?: string;
3175
3353
  /**
3176
- * Optional week filter
3354
+ * Week number.
3177
3355
  */
3178
3356
  week?: number;
3179
3357
  /**
3180
- * Year filter, required if game id not specified
3358
+ * Season year. Required unless `gameId` is specified.
3181
3359
  */
3182
3360
  year?: number;
3183
3361
  };
@@ -3190,15 +3368,15 @@ export type GetWeatherError = unknown;
3190
3368
  export type GetRecordsData = {
3191
3369
  query?: {
3192
3370
  /**
3193
- * Optional conference filter
3371
+ * Conference name or abbreviation.
3194
3372
  */
3195
3373
  conference?: string;
3196
3374
  /**
3197
- * Team filter, required if year not specified
3375
+ * Team name. Required unless `year` is specified.
3198
3376
  */
3199
3377
  team?: string;
3200
3378
  /**
3201
- * Year filter, required if team not specified
3379
+ * Season year. Required unless `team` is specified.
3202
3380
  */
3203
3381
  year?: number;
3204
3382
  };
@@ -3211,7 +3389,7 @@ export type GetRecordsError = unknown;
3211
3389
  export type GetCalendarData = {
3212
3390
  query: {
3213
3391
  /**
3214
- * Required year filter
3392
+ * Season year.
3215
3393
  */
3216
3394
  year: number;
3217
3395
  };
@@ -3224,11 +3402,11 @@ export type GetCalendarError = unknown;
3224
3402
  export type GetScoreboardData = {
3225
3403
  query?: {
3226
3404
  /**
3227
- * Optional division classification filter, defaults to fbs
3405
+ * Division classification. Defaults to `fbs`.
3228
3406
  */
3229
3407
  classification?: DivisionClassification;
3230
3408
  /**
3231
- * Optional conference filter
3409
+ * Conference name or abbreviation.
3232
3410
  */
3233
3411
  conference?: string;
3234
3412
  };
@@ -3241,43 +3419,43 @@ export type GetScoreboardError = unknown;
3241
3419
  export type GetDrivesData = {
3242
3420
  query: {
3243
3421
  /**
3244
- * Optional division classification filter
3422
+ * Division classification of either team.
3245
3423
  */
3246
3424
  classification?: DivisionClassification;
3247
3425
  /**
3248
- * Optional conference filter
3426
+ * Conference of either team.
3249
3427
  */
3250
3428
  conference?: string;
3251
3429
  /**
3252
- * Optional defensive team filter
3430
+ * Defensive team name.
3253
3431
  */
3254
3432
  defense?: string;
3255
3433
  /**
3256
- * Optional defensive team conference filter
3434
+ * Defensive team conference.
3257
3435
  */
3258
3436
  defenseConference?: string;
3259
3437
  /**
3260
- * Optional offensive team filter
3438
+ * Offensive team name.
3261
3439
  */
3262
3440
  offense?: string;
3263
3441
  /**
3264
- * Optional offensive team conference filter
3442
+ * Offensive team conference.
3265
3443
  */
3266
3444
  offenseConference?: string;
3267
3445
  /**
3268
- * Optional season type filter
3446
+ * Season type.
3269
3447
  */
3270
3448
  seasonType?: SeasonType;
3271
3449
  /**
3272
- * Optional team filter
3450
+ * Team name on either side of the drive.
3273
3451
  */
3274
3452
  team?: string;
3275
3453
  /**
3276
- * Optional week filter
3454
+ * Week number.
3277
3455
  */
3278
3456
  week?: number;
3279
3457
  /**
3280
- * Required year filter
3458
+ * Season year.
3281
3459
  */
3282
3460
  year: number;
3283
3461
  };
@@ -3298,23 +3476,23 @@ export type GetDraftPositionsError = unknown;
3298
3476
  export type GetDraftPicksData = {
3299
3477
  query?: {
3300
3478
  /**
3301
- * Optional college conference filter
3479
+ * College conference name or abbreviation.
3302
3480
  */
3303
3481
  conference?: string;
3304
3482
  /**
3305
- * Optional position classification filter
3483
+ * Position category.
3306
3484
  */
3307
3485
  position?: string;
3308
3486
  /**
3309
- * Optional college team filter
3487
+ * College team name.
3310
3488
  */
3311
3489
  school?: string;
3312
3490
  /**
3313
- * Optional NFL team filter
3491
+ * NFL team name.
3314
3492
  */
3315
3493
  team?: string;
3316
3494
  /**
3317
- * Optional year filter
3495
+ * Draft year.
3318
3496
  */
3319
3497
  year?: number;
3320
3498
  };
@@ -3327,27 +3505,27 @@ export type GetDraftPicksError = unknown;
3327
3505
  export type GetCoachesData = {
3328
3506
  query?: {
3329
3507
  /**
3330
- * Optional first name filter
3508
+ * Coach first name.
3331
3509
  */
3332
3510
  firstName?: string;
3333
3511
  /**
3334
- * Optional last name filter
3512
+ * Coach last name.
3335
3513
  */
3336
3514
  lastName?: string;
3337
3515
  /**
3338
- * Optional end year range filter
3516
+ * Latest season year to include.
3339
3517
  */
3340
3518
  maxYear?: number;
3341
3519
  /**
3342
- * Optional start year range filter
3520
+ * Earliest season year to include.
3343
3521
  */
3344
3522
  minYear?: number;
3345
3523
  /**
3346
- * Optional team filter
3524
+ * Team name.
3347
3525
  */
3348
3526
  team?: string;
3349
3527
  /**
3350
- * Optional year filter
3528
+ * Season year.
3351
3529
  */
3352
3530
  year?: number;
3353
3531
  };
@@ -3357,10 +3535,83 @@ export type GetCoachesResponse = (Array<Coach>);
3357
3535
 
3358
3536
  export type GetCoachesError = unknown;
3359
3537
 
3538
+ export type GetCoachProfileData = {
3539
+ query: {
3540
+ /**
3541
+ * Coach ID.
3542
+ */
3543
+ coachId: number;
3544
+ };
3545
+ };
3546
+
3547
+ export type GetCoachProfileResponse = (CoachProfile);
3548
+
3549
+ export type GetCoachProfileError = ({
3550
+ message: string;
3551
+ } | CoachNotFound);
3552
+
3553
+ export type GetCoachSeasonsData = {
3554
+ query?: {
3555
+ /**
3556
+ * Coach ID.
3557
+ */
3558
+ coachId?: number;
3559
+ /**
3560
+ * Latest season year to include.
3561
+ */
3562
+ maxYear?: number;
3563
+ /**
3564
+ * Earliest season year to include.
3565
+ */
3566
+ minYear?: number;
3567
+ /**
3568
+ * Team name.
3569
+ */
3570
+ team?: string;
3571
+ /**
3572
+ * Exact season year.
3573
+ */
3574
+ year?: number;
3575
+ };
3576
+ };
3577
+
3578
+ export type GetCoachSeasonsResponse = (Array<DetailedCoachSeason>);
3579
+
3580
+ export type GetCoachSeasonsError = ({
3581
+ message: string;
3582
+ });
3583
+
3584
+ export type GetCoachTenuresData = {
3585
+ query?: {
3586
+ /**
3587
+ * Filters by active status when specified.
3588
+ */
3589
+ active?: boolean;
3590
+ /**
3591
+ * Coach ID.
3592
+ */
3593
+ coachId?: number;
3594
+ /**
3595
+ * Team name.
3596
+ */
3597
+ team?: string;
3598
+ /**
3599
+ * Season year contained within the tenure.
3600
+ */
3601
+ year?: number;
3602
+ };
3603
+ };
3604
+
3605
+ export type GetCoachTenuresResponse = (Array<CoachTenure>);
3606
+
3607
+ export type GetCoachTenuresError = ({
3608
+ message: string;
3609
+ });
3610
+
3360
3611
  export type GetAdvancedBoxScoreData = {
3361
3612
  query: {
3362
3613
  /**
3363
- * Required game id filter
3614
+ * Game ID.
3364
3615
  */
3365
3616
  id: number;
3366
3617
  };