cfbd 5.21.0 → 5.23.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.23.0.tgz +0 -0
- package/dist/sdk.gen.d.ts +80 -73
- package/dist/sdk.gen.js +85 -74
- package/dist/types.gen.d.ts +332 -277
- package/package.json +1 -1
- package/src/sdk.gen.ts +86 -73
- package/src/types.gen.ts +337 -277
- package/cfbd-5.21.0.tgz +0 -0
package/src/types.gen.ts
CHANGED
|
@@ -533,6 +533,8 @@ export type ConferenceSP = {
|
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
+
export type CoreRatingSeasonType = 'regular' | 'postseason';
|
|
537
|
+
|
|
536
538
|
export type DetailedCoachSeason = {
|
|
537
539
|
games: number;
|
|
538
540
|
wins: number;
|
|
@@ -1583,6 +1585,29 @@ export type TeamATS = {
|
|
|
1583
1585
|
avgCoverMargin: (number) | null;
|
|
1584
1586
|
};
|
|
1585
1587
|
|
|
1588
|
+
export type TeamCoreRating = {
|
|
1589
|
+
year: number;
|
|
1590
|
+
throughSeasonType: CoreRatingSeasonType;
|
|
1591
|
+
throughWeek: number;
|
|
1592
|
+
team: string;
|
|
1593
|
+
conference: (string) | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Offense-minus-defense composite; higher is better.
|
|
1596
|
+
*/
|
|
1597
|
+
overall: number;
|
|
1598
|
+
/**
|
|
1599
|
+
* Points created above average per 100 qualifying plays; higher is better.
|
|
1600
|
+
*/
|
|
1601
|
+
offense: number;
|
|
1602
|
+
/**
|
|
1603
|
+
* Points allowed above average per 100 qualifying plays; lower is better.
|
|
1604
|
+
*/
|
|
1605
|
+
defense: number;
|
|
1606
|
+
offensePlays: number;
|
|
1607
|
+
defensePlays: number;
|
|
1608
|
+
modelVersion: string;
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1586
1611
|
export type TeamElo = {
|
|
1587
1612
|
year: number;
|
|
1588
1613
|
team: string;
|
|
@@ -1892,15 +1917,15 @@ export type Venue = {
|
|
|
1892
1917
|
export type GetAdjustedTeamSeasonStatsData = {
|
|
1893
1918
|
query?: {
|
|
1894
1919
|
/**
|
|
1895
|
-
*
|
|
1920
|
+
* Conference name or abbreviation.
|
|
1896
1921
|
*/
|
|
1897
1922
|
conference?: string;
|
|
1898
1923
|
/**
|
|
1899
|
-
*
|
|
1924
|
+
* Team name.
|
|
1900
1925
|
*/
|
|
1901
1926
|
team?: string;
|
|
1902
1927
|
/**
|
|
1903
|
-
*
|
|
1928
|
+
* Season year.
|
|
1904
1929
|
*/
|
|
1905
1930
|
year?: number;
|
|
1906
1931
|
};
|
|
@@ -1913,19 +1938,19 @@ export type GetAdjustedTeamSeasonStatsError = unknown;
|
|
|
1913
1938
|
export type GetAdjustedPlayerPassingStatsData = {
|
|
1914
1939
|
query?: {
|
|
1915
1940
|
/**
|
|
1916
|
-
*
|
|
1941
|
+
* Conference abbreviation.
|
|
1917
1942
|
*/
|
|
1918
1943
|
conference?: string;
|
|
1919
1944
|
/**
|
|
1920
|
-
*
|
|
1945
|
+
* Player position abbreviation.
|
|
1921
1946
|
*/
|
|
1922
1947
|
position?: string;
|
|
1923
1948
|
/**
|
|
1924
|
-
*
|
|
1949
|
+
* Team name.
|
|
1925
1950
|
*/
|
|
1926
1951
|
team?: string;
|
|
1927
1952
|
/**
|
|
1928
|
-
*
|
|
1953
|
+
* Season year.
|
|
1929
1954
|
*/
|
|
1930
1955
|
year?: number;
|
|
1931
1956
|
};
|
|
@@ -1938,19 +1963,19 @@ export type GetAdjustedPlayerPassingStatsError = unknown;
|
|
|
1938
1963
|
export type GetAdjustedPlayerRushingStatsData = {
|
|
1939
1964
|
query?: {
|
|
1940
1965
|
/**
|
|
1941
|
-
*
|
|
1966
|
+
* Conference abbreviation.
|
|
1942
1967
|
*/
|
|
1943
1968
|
conference?: string;
|
|
1944
1969
|
/**
|
|
1945
|
-
*
|
|
1970
|
+
* Player position abbreviation.
|
|
1946
1971
|
*/
|
|
1947
1972
|
position?: string;
|
|
1948
1973
|
/**
|
|
1949
|
-
*
|
|
1974
|
+
* Team name.
|
|
1950
1975
|
*/
|
|
1951
1976
|
team?: string;
|
|
1952
1977
|
/**
|
|
1953
|
-
*
|
|
1978
|
+
* Season year.
|
|
1954
1979
|
*/
|
|
1955
1980
|
year?: number;
|
|
1956
1981
|
};
|
|
@@ -1963,15 +1988,15 @@ export type GetAdjustedPlayerRushingStatsError = unknown;
|
|
|
1963
1988
|
export type GetKickerPaarData = {
|
|
1964
1989
|
query?: {
|
|
1965
1990
|
/**
|
|
1966
|
-
*
|
|
1991
|
+
* Conference abbreviation.
|
|
1967
1992
|
*/
|
|
1968
1993
|
conference?: string;
|
|
1969
1994
|
/**
|
|
1970
|
-
*
|
|
1995
|
+
* Team name.
|
|
1971
1996
|
*/
|
|
1972
1997
|
team?: string;
|
|
1973
1998
|
/**
|
|
1974
|
-
*
|
|
1999
|
+
* Season year.
|
|
1975
2000
|
*/
|
|
1976
2001
|
year?: number;
|
|
1977
2002
|
};
|
|
@@ -1984,11 +2009,11 @@ export type GetKickerPaarError = unknown;
|
|
|
1984
2009
|
export type GetTeamsData = {
|
|
1985
2010
|
query?: {
|
|
1986
2011
|
/**
|
|
1987
|
-
*
|
|
2012
|
+
* Conference abbreviation.
|
|
1988
2013
|
*/
|
|
1989
2014
|
conference?: string;
|
|
1990
2015
|
/**
|
|
1991
|
-
*
|
|
2016
|
+
* Season year for historical conference affiliations.
|
|
1992
2017
|
*/
|
|
1993
2018
|
year?: number;
|
|
1994
2019
|
};
|
|
@@ -2001,7 +2026,7 @@ export type GetTeamsError = unknown;
|
|
|
2001
2026
|
export type GetFbsTeamsData = {
|
|
2002
2027
|
query?: {
|
|
2003
2028
|
/**
|
|
2004
|
-
*
|
|
2029
|
+
* Season year.
|
|
2005
2030
|
*/
|
|
2006
2031
|
year?: number;
|
|
2007
2032
|
};
|
|
@@ -2014,19 +2039,19 @@ export type GetFbsTeamsError = unknown;
|
|
|
2014
2039
|
export type GetMatchupData = {
|
|
2015
2040
|
query: {
|
|
2016
2041
|
/**
|
|
2017
|
-
*
|
|
2042
|
+
* Latest season year to include.
|
|
2018
2043
|
*/
|
|
2019
2044
|
maxYear?: number;
|
|
2020
2045
|
/**
|
|
2021
|
-
*
|
|
2046
|
+
* Earliest season year to include.
|
|
2022
2047
|
*/
|
|
2023
2048
|
minYear?: number;
|
|
2024
2049
|
/**
|
|
2025
|
-
* First team
|
|
2050
|
+
* First team name.
|
|
2026
2051
|
*/
|
|
2027
2052
|
team1: string;
|
|
2028
2053
|
/**
|
|
2029
|
-
* Second team
|
|
2054
|
+
* Second team name.
|
|
2030
2055
|
*/
|
|
2031
2056
|
team2: string;
|
|
2032
2057
|
};
|
|
@@ -2039,15 +2064,15 @@ export type GetMatchupError = unknown;
|
|
|
2039
2064
|
export type GetTeamsAtsData = {
|
|
2040
2065
|
query: {
|
|
2041
2066
|
/**
|
|
2042
|
-
*
|
|
2067
|
+
* Conference name or abbreviation.
|
|
2043
2068
|
*/
|
|
2044
2069
|
conference?: string;
|
|
2045
2070
|
/**
|
|
2046
|
-
*
|
|
2071
|
+
* Team name.
|
|
2047
2072
|
*/
|
|
2048
2073
|
team?: string;
|
|
2049
2074
|
/**
|
|
2050
|
-
*
|
|
2075
|
+
* Season year.
|
|
2051
2076
|
*/
|
|
2052
2077
|
year: number;
|
|
2053
2078
|
};
|
|
@@ -2060,15 +2085,15 @@ export type GetTeamsAtsError = unknown;
|
|
|
2060
2085
|
export type GetRosterData = {
|
|
2061
2086
|
query?: {
|
|
2062
2087
|
/**
|
|
2063
|
-
*
|
|
2088
|
+
* Division classification: `fbs` or `fcs`.
|
|
2064
2089
|
*/
|
|
2065
2090
|
classification?: DivisionClassification;
|
|
2066
2091
|
/**
|
|
2067
|
-
*
|
|
2092
|
+
* Team name.
|
|
2068
2093
|
*/
|
|
2069
2094
|
team?: string;
|
|
2070
2095
|
/**
|
|
2071
|
-
*
|
|
2096
|
+
* Season year. Defaults to 2025.
|
|
2072
2097
|
*/
|
|
2073
2098
|
year?: number;
|
|
2074
2099
|
};
|
|
@@ -2085,7 +2110,7 @@ export type GetConferencesError = unknown;
|
|
|
2085
2110
|
export type GetTalentData = {
|
|
2086
2111
|
query: {
|
|
2087
2112
|
/**
|
|
2088
|
-
*
|
|
2113
|
+
* Season year.
|
|
2089
2114
|
*/
|
|
2090
2115
|
year: number;
|
|
2091
2116
|
};
|
|
@@ -2102,31 +2127,31 @@ export type GetVenuesError = unknown;
|
|
|
2102
2127
|
export type GetPlayerSeasonStatsData = {
|
|
2103
2128
|
query: {
|
|
2104
2129
|
/**
|
|
2105
|
-
*
|
|
2130
|
+
* Statistical category.
|
|
2106
2131
|
*/
|
|
2107
2132
|
category?: string;
|
|
2108
2133
|
/**
|
|
2109
|
-
*
|
|
2134
|
+
* Conference name or abbreviation.
|
|
2110
2135
|
*/
|
|
2111
2136
|
conference?: string;
|
|
2112
2137
|
/**
|
|
2113
|
-
*
|
|
2138
|
+
* Latest week to include.
|
|
2114
2139
|
*/
|
|
2115
2140
|
endWeek?: number;
|
|
2116
2141
|
/**
|
|
2117
|
-
*
|
|
2142
|
+
* Season type.
|
|
2118
2143
|
*/
|
|
2119
2144
|
seasonType?: SeasonType;
|
|
2120
2145
|
/**
|
|
2121
|
-
*
|
|
2146
|
+
* Earliest week to include.
|
|
2122
2147
|
*/
|
|
2123
2148
|
startWeek?: number;
|
|
2124
2149
|
/**
|
|
2125
|
-
*
|
|
2150
|
+
* Team name.
|
|
2126
2151
|
*/
|
|
2127
2152
|
team?: string;
|
|
2128
2153
|
/**
|
|
2129
|
-
*
|
|
2154
|
+
* Season year.
|
|
2130
2155
|
*/
|
|
2131
2156
|
year: number;
|
|
2132
2157
|
};
|
|
@@ -2139,39 +2164,39 @@ export type GetPlayerSeasonStatsError = unknown;
|
|
|
2139
2164
|
export type GetPlayerSeasonSuccessRatesData = {
|
|
2140
2165
|
query?: {
|
|
2141
2166
|
/**
|
|
2142
|
-
*
|
|
2167
|
+
* Conference abbreviation.
|
|
2143
2168
|
*/
|
|
2144
2169
|
conference?: string;
|
|
2145
2170
|
/**
|
|
2146
|
-
*
|
|
2171
|
+
* Latest week to include.
|
|
2147
2172
|
*/
|
|
2148
2173
|
endWeek?: number;
|
|
2149
2174
|
/**
|
|
2150
|
-
*
|
|
2175
|
+
* Excludes garbage-time plays when `true`.
|
|
2151
2176
|
*/
|
|
2152
2177
|
excludeGarbageTime?: boolean;
|
|
2153
2178
|
/**
|
|
2154
|
-
* Player ID
|
|
2179
|
+
* Player ID. Required unless `year` is specified.
|
|
2155
2180
|
*/
|
|
2156
2181
|
playerId?: number;
|
|
2157
2182
|
/**
|
|
2158
|
-
*
|
|
2183
|
+
* Season type.
|
|
2159
2184
|
*/
|
|
2160
2185
|
seasonType?: SeasonType;
|
|
2161
2186
|
/**
|
|
2162
|
-
*
|
|
2187
|
+
* Earliest week to include.
|
|
2163
2188
|
*/
|
|
2164
2189
|
startWeek?: number;
|
|
2165
2190
|
/**
|
|
2166
|
-
*
|
|
2191
|
+
* Team name.
|
|
2167
2192
|
*/
|
|
2168
2193
|
team?: string;
|
|
2169
2194
|
/**
|
|
2170
|
-
*
|
|
2195
|
+
* Minimum credited passing and rushing plays.
|
|
2171
2196
|
*/
|
|
2172
2197
|
threshold?: number;
|
|
2173
2198
|
/**
|
|
2174
|
-
*
|
|
2199
|
+
* Season year. Required unless `playerId` is specified.
|
|
2175
2200
|
*/
|
|
2176
2201
|
year?: number;
|
|
2177
2202
|
};
|
|
@@ -2184,35 +2209,35 @@ export type GetPlayerSeasonSuccessRatesError = unknown;
|
|
|
2184
2209
|
export type GetPlayerGameSuccessRatesData = {
|
|
2185
2210
|
query: {
|
|
2186
2211
|
/**
|
|
2187
|
-
*
|
|
2212
|
+
* Conference abbreviation.
|
|
2188
2213
|
*/
|
|
2189
2214
|
conference?: string;
|
|
2190
2215
|
/**
|
|
2191
|
-
*
|
|
2216
|
+
* Excludes garbage-time plays when `true`.
|
|
2192
2217
|
*/
|
|
2193
2218
|
excludeGarbageTime?: boolean;
|
|
2194
2219
|
/**
|
|
2195
|
-
*
|
|
2220
|
+
* Player ID.
|
|
2196
2221
|
*/
|
|
2197
2222
|
playerId?: number;
|
|
2198
2223
|
/**
|
|
2199
|
-
*
|
|
2224
|
+
* Season type.
|
|
2200
2225
|
*/
|
|
2201
2226
|
seasonType?: SeasonType;
|
|
2202
2227
|
/**
|
|
2203
|
-
*
|
|
2228
|
+
* Team name.
|
|
2204
2229
|
*/
|
|
2205
2230
|
team?: string;
|
|
2206
2231
|
/**
|
|
2207
|
-
*
|
|
2232
|
+
* Minimum credited passing and rushing plays.
|
|
2208
2233
|
*/
|
|
2209
2234
|
threshold?: number;
|
|
2210
2235
|
/**
|
|
2211
|
-
* Week
|
|
2236
|
+
* Week number. Required unless `team` or `playerId` is specified.
|
|
2212
2237
|
*/
|
|
2213
2238
|
week?: number;
|
|
2214
2239
|
/**
|
|
2215
|
-
*
|
|
2240
|
+
* Season year.
|
|
2216
2241
|
*/
|
|
2217
2242
|
year: number;
|
|
2218
2243
|
};
|
|
@@ -2225,27 +2250,27 @@ export type GetPlayerGameSuccessRatesError = unknown;
|
|
|
2225
2250
|
export type GetTeamStatsData = {
|
|
2226
2251
|
query?: {
|
|
2227
2252
|
/**
|
|
2228
|
-
*
|
|
2253
|
+
* Division classification. Defaults to `fbs`.
|
|
2229
2254
|
*/
|
|
2230
2255
|
classification?: DivisionClassification;
|
|
2231
2256
|
/**
|
|
2232
|
-
*
|
|
2257
|
+
* Conference name or abbreviation.
|
|
2233
2258
|
*/
|
|
2234
2259
|
conference?: string;
|
|
2235
2260
|
/**
|
|
2236
|
-
*
|
|
2261
|
+
* Latest week to include.
|
|
2237
2262
|
*/
|
|
2238
2263
|
endWeek?: number;
|
|
2239
2264
|
/**
|
|
2240
|
-
*
|
|
2265
|
+
* Earliest week to include.
|
|
2241
2266
|
*/
|
|
2242
2267
|
startWeek?: number;
|
|
2243
2268
|
/**
|
|
2244
|
-
* Team
|
|
2269
|
+
* Team name. Required unless `year` is specified.
|
|
2245
2270
|
*/
|
|
2246
2271
|
team?: string;
|
|
2247
2272
|
/**
|
|
2248
|
-
*
|
|
2273
|
+
* Season year. Required unless `team` is specified.
|
|
2249
2274
|
*/
|
|
2250
2275
|
year?: number;
|
|
2251
2276
|
};
|
|
@@ -2262,27 +2287,28 @@ export type GetCategoriesError = unknown;
|
|
|
2262
2287
|
export type GetAdvancedSeasonStatsData = {
|
|
2263
2288
|
query?: {
|
|
2264
2289
|
/**
|
|
2265
|
-
*
|
|
2290
|
+
* Division classification. Defaults to `fbs`.
|
|
2266
2291
|
*/
|
|
2267
2292
|
classification?: DivisionClassification;
|
|
2268
2293
|
/**
|
|
2269
|
-
*
|
|
2294
|
+
* Latest week to include.
|
|
2270
2295
|
*/
|
|
2271
2296
|
endWeek?: number;
|
|
2272
2297
|
/**
|
|
2273
|
-
*
|
|
2298
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2299
|
+
* to `false`.
|
|
2274
2300
|
*/
|
|
2275
2301
|
excludeGarbageTime?: boolean;
|
|
2276
2302
|
/**
|
|
2277
|
-
*
|
|
2303
|
+
* Earliest week to include.
|
|
2278
2304
|
*/
|
|
2279
2305
|
startWeek?: number;
|
|
2280
2306
|
/**
|
|
2281
|
-
* Team
|
|
2307
|
+
* Team name. Required unless `year` is specified.
|
|
2282
2308
|
*/
|
|
2283
2309
|
team?: string;
|
|
2284
2310
|
/**
|
|
2285
|
-
*
|
|
2311
|
+
* Season year. Required unless `team` is specified.
|
|
2286
2312
|
*/
|
|
2287
2313
|
year?: number;
|
|
2288
2314
|
};
|
|
@@ -2295,27 +2321,28 @@ export type GetAdvancedSeasonStatsError = unknown;
|
|
|
2295
2321
|
export type GetAdvancedGameStatsData = {
|
|
2296
2322
|
query?: {
|
|
2297
2323
|
/**
|
|
2298
|
-
*
|
|
2324
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2325
|
+
* to `false`.
|
|
2299
2326
|
*/
|
|
2300
2327
|
excludeGarbageTime?: boolean;
|
|
2301
2328
|
/**
|
|
2302
|
-
*
|
|
2329
|
+
* Opponent team name.
|
|
2303
2330
|
*/
|
|
2304
2331
|
opponent?: string;
|
|
2305
2332
|
/**
|
|
2306
|
-
*
|
|
2333
|
+
* Season type.
|
|
2307
2334
|
*/
|
|
2308
2335
|
seasonType?: SeasonType;
|
|
2309
2336
|
/**
|
|
2310
|
-
* Team
|
|
2337
|
+
* Team name. Required unless `year` is specified.
|
|
2311
2338
|
*/
|
|
2312
2339
|
team?: string;
|
|
2313
2340
|
/**
|
|
2314
|
-
*
|
|
2341
|
+
* Week number.
|
|
2315
2342
|
*/
|
|
2316
2343
|
week?: number;
|
|
2317
2344
|
/**
|
|
2318
|
-
*
|
|
2345
|
+
* Season year. Required unless `team` is specified.
|
|
2319
2346
|
*/
|
|
2320
2347
|
year?: number;
|
|
2321
2348
|
};
|
|
@@ -2328,23 +2355,23 @@ export type GetAdvancedGameStatsError = unknown;
|
|
|
2328
2355
|
export type GetGameHavocStatsData = {
|
|
2329
2356
|
query?: {
|
|
2330
2357
|
/**
|
|
2331
|
-
*
|
|
2358
|
+
* Opponent team name.
|
|
2332
2359
|
*/
|
|
2333
2360
|
opponent?: string;
|
|
2334
2361
|
/**
|
|
2335
|
-
*
|
|
2362
|
+
* Season type.
|
|
2336
2363
|
*/
|
|
2337
2364
|
seasonType?: SeasonType;
|
|
2338
2365
|
/**
|
|
2339
|
-
* Team
|
|
2366
|
+
* Team name. Required unless `year` is specified.
|
|
2340
2367
|
*/
|
|
2341
2368
|
team?: string;
|
|
2342
2369
|
/**
|
|
2343
|
-
*
|
|
2370
|
+
* Week number.
|
|
2344
2371
|
*/
|
|
2345
2372
|
week?: number;
|
|
2346
2373
|
/**
|
|
2347
|
-
*
|
|
2374
|
+
* Season year. Required unless `team` is specified.
|
|
2348
2375
|
*/
|
|
2349
2376
|
year?: number;
|
|
2350
2377
|
};
|
|
@@ -2357,23 +2384,23 @@ export type GetGameHavocStatsError = unknown;
|
|
|
2357
2384
|
export type GetRecruitsData = {
|
|
2358
2385
|
query?: {
|
|
2359
2386
|
/**
|
|
2360
|
-
*
|
|
2387
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2361
2388
|
*/
|
|
2362
2389
|
classification?: RecruitClassification;
|
|
2363
2390
|
/**
|
|
2364
|
-
*
|
|
2391
|
+
* Position category.
|
|
2365
2392
|
*/
|
|
2366
2393
|
position?: string;
|
|
2367
2394
|
/**
|
|
2368
|
-
*
|
|
2395
|
+
* State or province abbreviation.
|
|
2369
2396
|
*/
|
|
2370
2397
|
state?: string;
|
|
2371
2398
|
/**
|
|
2372
|
-
* Team
|
|
2399
|
+
* Team name. Required unless `year` is specified.
|
|
2373
2400
|
*/
|
|
2374
2401
|
team?: string;
|
|
2375
2402
|
/**
|
|
2376
|
-
*
|
|
2403
|
+
* Recruiting class year. Required unless `team` is specified.
|
|
2377
2404
|
*/
|
|
2378
2405
|
year?: number;
|
|
2379
2406
|
};
|
|
@@ -2386,11 +2413,11 @@ export type GetRecruitsError = unknown;
|
|
|
2386
2413
|
export type GetTeamRecruitingRankingsData = {
|
|
2387
2414
|
query?: {
|
|
2388
2415
|
/**
|
|
2389
|
-
*
|
|
2416
|
+
* Team name.
|
|
2390
2417
|
*/
|
|
2391
2418
|
team?: string;
|
|
2392
2419
|
/**
|
|
2393
|
-
*
|
|
2420
|
+
* Recruiting class year.
|
|
2394
2421
|
*/
|
|
2395
2422
|
year?: number;
|
|
2396
2423
|
};
|
|
@@ -2403,23 +2430,23 @@ export type GetTeamRecruitingRankingsError = unknown;
|
|
|
2403
2430
|
export type GetAggregatedTeamRecruitingRatingsData = {
|
|
2404
2431
|
query?: {
|
|
2405
2432
|
/**
|
|
2406
|
-
*
|
|
2433
|
+
* Conference name or abbreviation.
|
|
2407
2434
|
*/
|
|
2408
2435
|
conference?: string;
|
|
2409
2436
|
/**
|
|
2410
|
-
*
|
|
2437
|
+
* Latest recruiting class year. Defaults to the current year.
|
|
2411
2438
|
*/
|
|
2412
2439
|
endYear?: number;
|
|
2413
2440
|
/**
|
|
2414
|
-
*
|
|
2441
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2415
2442
|
*/
|
|
2416
2443
|
recruitType?: RecruitClassification;
|
|
2417
2444
|
/**
|
|
2418
|
-
*
|
|
2445
|
+
* Earliest recruiting class year. Defaults to 2000.
|
|
2419
2446
|
*/
|
|
2420
2447
|
startYear?: number;
|
|
2421
2448
|
/**
|
|
2422
|
-
*
|
|
2449
|
+
* Team name.
|
|
2423
2450
|
*/
|
|
2424
2451
|
team?: string;
|
|
2425
2452
|
};
|
|
@@ -2429,14 +2456,35 @@ export type GetAggregatedTeamRecruitingRatingsResponse = (Array<AggregatedTeamRe
|
|
|
2429
2456
|
|
|
2430
2457
|
export type GetAggregatedTeamRecruitingRatingsError = unknown;
|
|
2431
2458
|
|
|
2459
|
+
export type GetCoreData = {
|
|
2460
|
+
query?: {
|
|
2461
|
+
/**
|
|
2462
|
+
* Conference name or abbreviation.
|
|
2463
|
+
*/
|
|
2464
|
+
conference?: string;
|
|
2465
|
+
/**
|
|
2466
|
+
* Exact team name. Required unless `year` is specified.
|
|
2467
|
+
*/
|
|
2468
|
+
team?: string;
|
|
2469
|
+
/**
|
|
2470
|
+
* Season year. Required unless `team` is specified.
|
|
2471
|
+
*/
|
|
2472
|
+
year?: number;
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
|
|
2476
|
+
export type GetCoreResponse = (Array<TeamCoreRating>);
|
|
2477
|
+
|
|
2478
|
+
export type GetCoreError = unknown;
|
|
2479
|
+
|
|
2432
2480
|
export type GetSpData = {
|
|
2433
2481
|
query?: {
|
|
2434
2482
|
/**
|
|
2435
|
-
* Team
|
|
2483
|
+
* Team name. Required unless `year` is specified.
|
|
2436
2484
|
*/
|
|
2437
2485
|
team?: string;
|
|
2438
2486
|
/**
|
|
2439
|
-
*
|
|
2487
|
+
* Season year. Required unless `team` is specified.
|
|
2440
2488
|
*/
|
|
2441
2489
|
year?: number;
|
|
2442
2490
|
};
|
|
@@ -2449,15 +2497,15 @@ export type GetSpError = unknown;
|
|
|
2449
2497
|
export type GetConferenceSpData = {
|
|
2450
2498
|
query?: {
|
|
2451
2499
|
/**
|
|
2452
|
-
*
|
|
2500
|
+
* Division classification. Defaults to `fbs`.
|
|
2453
2501
|
*/
|
|
2454
2502
|
classification?: DivisionClassification;
|
|
2455
2503
|
/**
|
|
2456
|
-
*
|
|
2504
|
+
* Conference name or abbreviation.
|
|
2457
2505
|
*/
|
|
2458
2506
|
conference?: string;
|
|
2459
2507
|
/**
|
|
2460
|
-
*
|
|
2508
|
+
* Season year.
|
|
2461
2509
|
*/
|
|
2462
2510
|
year?: number;
|
|
2463
2511
|
};
|
|
@@ -2470,15 +2518,15 @@ export type GetConferenceSpError = unknown;
|
|
|
2470
2518
|
export type GetSrsData = {
|
|
2471
2519
|
query?: {
|
|
2472
2520
|
/**
|
|
2473
|
-
*
|
|
2521
|
+
* Conference name or abbreviation.
|
|
2474
2522
|
*/
|
|
2475
2523
|
conference?: string;
|
|
2476
2524
|
/**
|
|
2477
|
-
* Team
|
|
2525
|
+
* Team name. Required unless `year` is specified.
|
|
2478
2526
|
*/
|
|
2479
2527
|
team?: string;
|
|
2480
2528
|
/**
|
|
2481
|
-
*
|
|
2529
|
+
* Season year. Required unless `team` is specified.
|
|
2482
2530
|
*/
|
|
2483
2531
|
year?: number;
|
|
2484
2532
|
};
|
|
@@ -2491,19 +2539,19 @@ export type GetSrsError = unknown;
|
|
|
2491
2539
|
export type GetExpandedSrsData = {
|
|
2492
2540
|
query?: {
|
|
2493
2541
|
/**
|
|
2494
|
-
*
|
|
2542
|
+
* Division classification: `fbs` or `fcs`.
|
|
2495
2543
|
*/
|
|
2496
2544
|
classification?: DivisionClassification;
|
|
2497
2545
|
/**
|
|
2498
|
-
*
|
|
2546
|
+
* Conference name or abbreviation.
|
|
2499
2547
|
*/
|
|
2500
2548
|
conference?: string;
|
|
2501
2549
|
/**
|
|
2502
|
-
* Team
|
|
2550
|
+
* Team name. Required unless `year` is specified.
|
|
2503
2551
|
*/
|
|
2504
2552
|
team?: string;
|
|
2505
2553
|
/**
|
|
2506
|
-
*
|
|
2554
|
+
* Season year. Required unless `team` is specified.
|
|
2507
2555
|
*/
|
|
2508
2556
|
year?: number;
|
|
2509
2557
|
};
|
|
@@ -2516,23 +2564,24 @@ export type GetExpandedSrsError = unknown;
|
|
|
2516
2564
|
export type GetEloData = {
|
|
2517
2565
|
query?: {
|
|
2518
2566
|
/**
|
|
2519
|
-
*
|
|
2567
|
+
* Conference name or abbreviation.
|
|
2520
2568
|
*/
|
|
2521
2569
|
conference?: string;
|
|
2522
2570
|
/**
|
|
2523
|
-
*
|
|
2571
|
+
* Season type.
|
|
2524
2572
|
*/
|
|
2525
2573
|
seasonType?: SeasonType;
|
|
2526
2574
|
/**
|
|
2527
|
-
*
|
|
2575
|
+
* Team name.
|
|
2528
2576
|
*/
|
|
2529
2577
|
team?: string;
|
|
2530
2578
|
/**
|
|
2531
|
-
*
|
|
2579
|
+
* Week number. Defaults to the latest available week in the
|
|
2580
|
+
* season.
|
|
2532
2581
|
*/
|
|
2533
2582
|
week?: number;
|
|
2534
2583
|
/**
|
|
2535
|
-
*
|
|
2584
|
+
* Season year.
|
|
2536
2585
|
*/
|
|
2537
2586
|
year?: number;
|
|
2538
2587
|
};
|
|
@@ -2545,15 +2594,15 @@ export type GetEloError = unknown;
|
|
|
2545
2594
|
export type GetFpiData = {
|
|
2546
2595
|
query?: {
|
|
2547
2596
|
/**
|
|
2548
|
-
*
|
|
2597
|
+
* Conference name or abbreviation.
|
|
2549
2598
|
*/
|
|
2550
2599
|
conference?: string;
|
|
2551
2600
|
/**
|
|
2552
|
-
*
|
|
2601
|
+
* Team name. Required unless `year` is specified.
|
|
2553
2602
|
*/
|
|
2554
2603
|
team?: string;
|
|
2555
2604
|
/**
|
|
2556
|
-
* year
|
|
2605
|
+
* Season year. Required unless `team` is specified.
|
|
2557
2606
|
*/
|
|
2558
2607
|
year?: number;
|
|
2559
2608
|
};
|
|
@@ -2566,27 +2615,30 @@ export type GetFpiError = unknown;
|
|
|
2566
2615
|
export type GetRankingsData = {
|
|
2567
2616
|
query: {
|
|
2568
2617
|
/**
|
|
2569
|
-
*
|
|
2618
|
+
* Returns the CFP snapshot marked as final when `true`. Requires
|
|
2619
|
+
* `poll=cfp` and cannot be combined with `latest`.
|
|
2570
2620
|
*/
|
|
2571
2621
|
final?: boolean;
|
|
2572
2622
|
/**
|
|
2573
|
-
*
|
|
2623
|
+
* Returns the latest CFP snapshot when `true`, preferring the
|
|
2624
|
+
* snapshot marked as final. Requires `poll=cfp` and cannot be combined with
|
|
2625
|
+
* `final`.
|
|
2574
2626
|
*/
|
|
2575
2627
|
latest?: boolean;
|
|
2576
2628
|
/**
|
|
2577
|
-
*
|
|
2629
|
+
* Poll name.
|
|
2578
2630
|
*/
|
|
2579
2631
|
poll?: RankingPoll;
|
|
2580
2632
|
/**
|
|
2581
|
-
*
|
|
2633
|
+
* Season type.
|
|
2582
2634
|
*/
|
|
2583
2635
|
seasonType?: SeasonType;
|
|
2584
2636
|
/**
|
|
2585
|
-
*
|
|
2637
|
+
* Poll week.
|
|
2586
2638
|
*/
|
|
2587
2639
|
week?: number;
|
|
2588
2640
|
/**
|
|
2589
|
-
*
|
|
2641
|
+
* Season year.
|
|
2590
2642
|
*/
|
|
2591
2643
|
year: number;
|
|
2592
2644
|
};
|
|
@@ -2601,47 +2653,47 @@ export type GetRankingsError = ({
|
|
|
2601
2653
|
export type GetPlaysData = {
|
|
2602
2654
|
query: {
|
|
2603
2655
|
/**
|
|
2604
|
-
*
|
|
2656
|
+
* Division classification of either team.
|
|
2605
2657
|
*/
|
|
2606
2658
|
classification?: DivisionClassification;
|
|
2607
2659
|
/**
|
|
2608
|
-
*
|
|
2660
|
+
* Conference of either team.
|
|
2609
2661
|
*/
|
|
2610
2662
|
conference?: string;
|
|
2611
2663
|
/**
|
|
2612
|
-
*
|
|
2664
|
+
* Defensive team name.
|
|
2613
2665
|
*/
|
|
2614
2666
|
defense?: string;
|
|
2615
2667
|
/**
|
|
2616
|
-
*
|
|
2668
|
+
* Defensive team conference.
|
|
2617
2669
|
*/
|
|
2618
2670
|
defenseConference?: string;
|
|
2619
2671
|
/**
|
|
2620
|
-
*
|
|
2672
|
+
* Offensive team name.
|
|
2621
2673
|
*/
|
|
2622
2674
|
offense?: string;
|
|
2623
2675
|
/**
|
|
2624
|
-
*
|
|
2676
|
+
* Offensive team conference.
|
|
2625
2677
|
*/
|
|
2626
2678
|
offenseConference?: string;
|
|
2627
2679
|
/**
|
|
2628
|
-
*
|
|
2680
|
+
* Play type abbreviation.
|
|
2629
2681
|
*/
|
|
2630
2682
|
playType?: string;
|
|
2631
2683
|
/**
|
|
2632
|
-
*
|
|
2684
|
+
* Season type.
|
|
2633
2685
|
*/
|
|
2634
2686
|
seasonType?: SeasonType;
|
|
2635
2687
|
/**
|
|
2636
|
-
*
|
|
2688
|
+
* Team name on either side of the play.
|
|
2637
2689
|
*/
|
|
2638
2690
|
team?: string;
|
|
2639
2691
|
/**
|
|
2640
|
-
*
|
|
2692
|
+
* Week number.
|
|
2641
2693
|
*/
|
|
2642
2694
|
week: number;
|
|
2643
2695
|
/**
|
|
2644
|
-
*
|
|
2696
|
+
* Season year.
|
|
2645
2697
|
*/
|
|
2646
2698
|
year: number;
|
|
2647
2699
|
};
|
|
@@ -2658,35 +2710,35 @@ export type GetPlayTypesError = unknown;
|
|
|
2658
2710
|
export type GetPlayStatsData = {
|
|
2659
2711
|
query?: {
|
|
2660
2712
|
/**
|
|
2661
|
-
*
|
|
2713
|
+
* Athlete ID.
|
|
2662
2714
|
*/
|
|
2663
2715
|
athleteId?: number;
|
|
2664
2716
|
/**
|
|
2665
|
-
*
|
|
2717
|
+
* Conference name or abbreviation.
|
|
2666
2718
|
*/
|
|
2667
2719
|
conference?: string;
|
|
2668
2720
|
/**
|
|
2669
|
-
*
|
|
2721
|
+
* Game ID.
|
|
2670
2722
|
*/
|
|
2671
2723
|
gameId?: number;
|
|
2672
2724
|
/**
|
|
2673
|
-
*
|
|
2725
|
+
* Season type.
|
|
2674
2726
|
*/
|
|
2675
2727
|
seasonType?: SeasonType;
|
|
2676
2728
|
/**
|
|
2677
|
-
*
|
|
2729
|
+
* Play stat type ID.
|
|
2678
2730
|
*/
|
|
2679
2731
|
statTypeId?: number;
|
|
2680
2732
|
/**
|
|
2681
|
-
*
|
|
2733
|
+
* Team name.
|
|
2682
2734
|
*/
|
|
2683
2735
|
team?: string;
|
|
2684
2736
|
/**
|
|
2685
|
-
*
|
|
2737
|
+
* Week number.
|
|
2686
2738
|
*/
|
|
2687
2739
|
week?: number;
|
|
2688
2740
|
/**
|
|
2689
|
-
*
|
|
2741
|
+
* Season year.
|
|
2690
2742
|
*/
|
|
2691
2743
|
year?: number;
|
|
2692
2744
|
};
|
|
@@ -2703,7 +2755,7 @@ export type GetPlayStatTypesError = unknown;
|
|
|
2703
2755
|
export type GetCfpPlayoffData = {
|
|
2704
2756
|
query: {
|
|
2705
2757
|
/**
|
|
2706
|
-
*
|
|
2758
|
+
* Season year.
|
|
2707
2759
|
*/
|
|
2708
2760
|
year: number;
|
|
2709
2761
|
};
|
|
@@ -2718,7 +2770,7 @@ export type GetCfpPlayoffError = ({
|
|
|
2718
2770
|
export type GetCfpParticipantsData = {
|
|
2719
2771
|
query: {
|
|
2720
2772
|
/**
|
|
2721
|
-
*
|
|
2773
|
+
* Season year.
|
|
2722
2774
|
*/
|
|
2723
2775
|
year: number;
|
|
2724
2776
|
};
|
|
@@ -2733,11 +2785,11 @@ export type GetCfpParticipantsError = ({
|
|
|
2733
2785
|
export type GetCfpGamesData = {
|
|
2734
2786
|
query: {
|
|
2735
2787
|
/**
|
|
2736
|
-
*
|
|
2788
|
+
* Playoff round.
|
|
2737
2789
|
*/
|
|
2738
2790
|
round?: PlayoffRound;
|
|
2739
2791
|
/**
|
|
2740
|
-
*
|
|
2792
|
+
* Season year.
|
|
2741
2793
|
*/
|
|
2742
2794
|
year: number;
|
|
2743
2795
|
};
|
|
@@ -2752,19 +2804,19 @@ export type GetCfpGamesError = ({
|
|
|
2752
2804
|
export type SearchPlayersData = {
|
|
2753
2805
|
query: {
|
|
2754
2806
|
/**
|
|
2755
|
-
*
|
|
2807
|
+
* Player position abbreviation.
|
|
2756
2808
|
*/
|
|
2757
2809
|
position?: string;
|
|
2758
2810
|
/**
|
|
2759
|
-
*
|
|
2811
|
+
* Full or partial player name.
|
|
2760
2812
|
*/
|
|
2761
2813
|
searchTerm: string;
|
|
2762
2814
|
/**
|
|
2763
|
-
*
|
|
2815
|
+
* Team name.
|
|
2764
2816
|
*/
|
|
2765
2817
|
team?: string;
|
|
2766
2818
|
/**
|
|
2767
|
-
*
|
|
2819
|
+
* Season year.
|
|
2768
2820
|
*/
|
|
2769
2821
|
year?: number;
|
|
2770
2822
|
};
|
|
@@ -2777,27 +2829,28 @@ export type SearchPlayersError = unknown;
|
|
|
2777
2829
|
export type GetPlayerUsageData = {
|
|
2778
2830
|
query: {
|
|
2779
2831
|
/**
|
|
2780
|
-
*
|
|
2832
|
+
* Conference abbreviation.
|
|
2781
2833
|
*/
|
|
2782
2834
|
conference?: string;
|
|
2783
2835
|
/**
|
|
2784
|
-
*
|
|
2836
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2837
|
+
* to `false`.
|
|
2785
2838
|
*/
|
|
2786
2839
|
excludeGarbageTime?: boolean;
|
|
2787
2840
|
/**
|
|
2788
|
-
*
|
|
2841
|
+
* Player ID.
|
|
2789
2842
|
*/
|
|
2790
2843
|
playerId?: number;
|
|
2791
2844
|
/**
|
|
2792
|
-
*
|
|
2845
|
+
* Player position abbreviation.
|
|
2793
2846
|
*/
|
|
2794
2847
|
position?: string;
|
|
2795
2848
|
/**
|
|
2796
|
-
*
|
|
2849
|
+
* Team name.
|
|
2797
2850
|
*/
|
|
2798
2851
|
team?: string;
|
|
2799
2852
|
/**
|
|
2800
|
-
*
|
|
2853
|
+
* Season year.
|
|
2801
2854
|
*/
|
|
2802
2855
|
year: number;
|
|
2803
2856
|
};
|
|
@@ -2810,11 +2863,11 @@ export type GetPlayerUsageError = unknown;
|
|
|
2810
2863
|
export type GetPlayerSeasonOverviewData = {
|
|
2811
2864
|
query: {
|
|
2812
2865
|
/**
|
|
2813
|
-
*
|
|
2866
|
+
* Player ID.
|
|
2814
2867
|
*/
|
|
2815
2868
|
playerId: number;
|
|
2816
2869
|
/**
|
|
2817
|
-
*
|
|
2870
|
+
* Season year.
|
|
2818
2871
|
*/
|
|
2819
2872
|
year: number;
|
|
2820
2873
|
};
|
|
@@ -2827,15 +2880,15 @@ export type GetPlayerSeasonOverviewError = unknown;
|
|
|
2827
2880
|
export type GetReturningProductionData = {
|
|
2828
2881
|
query?: {
|
|
2829
2882
|
/**
|
|
2830
|
-
*
|
|
2883
|
+
* Conference name or abbreviation.
|
|
2831
2884
|
*/
|
|
2832
2885
|
conference?: string;
|
|
2833
2886
|
/**
|
|
2834
|
-
* Team
|
|
2887
|
+
* Team name. Required unless `year` is specified.
|
|
2835
2888
|
*/
|
|
2836
2889
|
team?: string;
|
|
2837
2890
|
/**
|
|
2838
|
-
*
|
|
2891
|
+
* Season year. Required unless `team` is specified.
|
|
2839
2892
|
*/
|
|
2840
2893
|
year?: number;
|
|
2841
2894
|
};
|
|
@@ -2848,7 +2901,7 @@ export type GetReturningProductionError = unknown;
|
|
|
2848
2901
|
export type GetTransferPortalData = {
|
|
2849
2902
|
query: {
|
|
2850
2903
|
/**
|
|
2851
|
-
*
|
|
2904
|
+
* Season year.
|
|
2852
2905
|
*/
|
|
2853
2906
|
year: number;
|
|
2854
2907
|
};
|
|
@@ -2861,11 +2914,11 @@ export type GetTransferPortalError = unknown;
|
|
|
2861
2914
|
export type GetPredictedPointsData = {
|
|
2862
2915
|
query: {
|
|
2863
2916
|
/**
|
|
2864
|
-
* Distance
|
|
2917
|
+
* Distance to gain, in yards.
|
|
2865
2918
|
*/
|
|
2866
2919
|
distance: number;
|
|
2867
2920
|
/**
|
|
2868
|
-
* Down
|
|
2921
|
+
* Down number.
|
|
2869
2922
|
*/
|
|
2870
2923
|
down: number;
|
|
2871
2924
|
};
|
|
@@ -2878,23 +2931,23 @@ export type GetPredictedPointsError = unknown;
|
|
|
2878
2931
|
export type GetPredictedPointsAddedByTeamData = {
|
|
2879
2932
|
query?: {
|
|
2880
2933
|
/**
|
|
2881
|
-
*
|
|
2934
|
+
* Division classification. Defaults to `fbs`.
|
|
2882
2935
|
*/
|
|
2883
2936
|
classification?: DivisionClassification;
|
|
2884
2937
|
/**
|
|
2885
|
-
* Conference abbreviation
|
|
2938
|
+
* Conference abbreviation.
|
|
2886
2939
|
*/
|
|
2887
2940
|
conference?: string;
|
|
2888
2941
|
/**
|
|
2889
|
-
*
|
|
2942
|
+
* Excludes garbage-time plays when `true`.
|
|
2890
2943
|
*/
|
|
2891
2944
|
excludeGarbageTime?: boolean;
|
|
2892
2945
|
/**
|
|
2893
|
-
* Team
|
|
2946
|
+
* Team name. Required unless `year` is specified.
|
|
2894
2947
|
*/
|
|
2895
2948
|
team?: string;
|
|
2896
2949
|
/**
|
|
2897
|
-
*
|
|
2950
|
+
* Season year. Required unless `team` is specified.
|
|
2898
2951
|
*/
|
|
2899
2952
|
year?: number;
|
|
2900
2953
|
};
|
|
@@ -2907,31 +2960,31 @@ export type GetPredictedPointsAddedByTeamError = unknown;
|
|
|
2907
2960
|
export type GetPredictedPointsAddedByGameData = {
|
|
2908
2961
|
query: {
|
|
2909
2962
|
/**
|
|
2910
|
-
*
|
|
2963
|
+
* Division classification. Defaults to `fbs`.
|
|
2911
2964
|
*/
|
|
2912
2965
|
classification?: DivisionClassification;
|
|
2913
2966
|
/**
|
|
2914
|
-
*
|
|
2967
|
+
* Conference abbreviation.
|
|
2915
2968
|
*/
|
|
2916
2969
|
conference?: string;
|
|
2917
2970
|
/**
|
|
2918
|
-
*
|
|
2971
|
+
* Excludes garbage-time plays when `true`.
|
|
2919
2972
|
*/
|
|
2920
2973
|
excludeGarbageTime?: boolean;
|
|
2921
2974
|
/**
|
|
2922
|
-
*
|
|
2975
|
+
* Season type.
|
|
2923
2976
|
*/
|
|
2924
2977
|
seasonType?: SeasonType;
|
|
2925
2978
|
/**
|
|
2926
|
-
*
|
|
2979
|
+
* Team name.
|
|
2927
2980
|
*/
|
|
2928
2981
|
team?: string;
|
|
2929
2982
|
/**
|
|
2930
|
-
*
|
|
2983
|
+
* Week number.
|
|
2931
2984
|
*/
|
|
2932
2985
|
week?: number;
|
|
2933
2986
|
/**
|
|
2934
|
-
*
|
|
2987
|
+
* Season year.
|
|
2935
2988
|
*/
|
|
2936
2989
|
year: number;
|
|
2937
2990
|
};
|
|
@@ -2944,35 +2997,35 @@ export type GetPredictedPointsAddedByGameError = unknown;
|
|
|
2944
2997
|
export type GetPredictedPointsAddedByPlayerGameData = {
|
|
2945
2998
|
query: {
|
|
2946
2999
|
/**
|
|
2947
|
-
*
|
|
3000
|
+
* Excludes garbage-time plays when `true`.
|
|
2948
3001
|
*/
|
|
2949
3002
|
excludeGarbageTime?: boolean;
|
|
2950
3003
|
/**
|
|
2951
|
-
*
|
|
3004
|
+
* Player ID.
|
|
2952
3005
|
*/
|
|
2953
3006
|
playerId?: string;
|
|
2954
3007
|
/**
|
|
2955
|
-
*
|
|
3008
|
+
* Player position abbreviation.
|
|
2956
3009
|
*/
|
|
2957
3010
|
position?: string;
|
|
2958
3011
|
/**
|
|
2959
|
-
*
|
|
3012
|
+
* Season type.
|
|
2960
3013
|
*/
|
|
2961
3014
|
seasonType?: SeasonType;
|
|
2962
3015
|
/**
|
|
2963
|
-
* Team
|
|
3016
|
+
* Team name. Required unless `week` is specified.
|
|
2964
3017
|
*/
|
|
2965
3018
|
team?: string;
|
|
2966
3019
|
/**
|
|
2967
|
-
*
|
|
3020
|
+
* Minimum number of plays.
|
|
2968
3021
|
*/
|
|
2969
3022
|
threshold?: number;
|
|
2970
3023
|
/**
|
|
2971
|
-
* Week
|
|
3024
|
+
* Week number. Required unless `team` is specified.
|
|
2972
3025
|
*/
|
|
2973
3026
|
week?: number;
|
|
2974
3027
|
/**
|
|
2975
|
-
*
|
|
3028
|
+
* Season year.
|
|
2976
3029
|
*/
|
|
2977
3030
|
year: number;
|
|
2978
3031
|
};
|
|
@@ -2985,31 +3038,31 @@ export type GetPredictedPointsAddedByPlayerGameError = unknown;
|
|
|
2985
3038
|
export type GetPredictedPointsAddedByPlayerSeasonData = {
|
|
2986
3039
|
query?: {
|
|
2987
3040
|
/**
|
|
2988
|
-
*
|
|
3041
|
+
* Conference abbreviation.
|
|
2989
3042
|
*/
|
|
2990
3043
|
conference?: string;
|
|
2991
3044
|
/**
|
|
2992
|
-
*
|
|
3045
|
+
* Excludes garbage-time plays when `true`.
|
|
2993
3046
|
*/
|
|
2994
3047
|
excludeGarbageTime?: boolean;
|
|
2995
3048
|
/**
|
|
2996
|
-
* Player ID
|
|
3049
|
+
* Player ID. Required unless `year` is specified.
|
|
2997
3050
|
*/
|
|
2998
3051
|
playerId?: string;
|
|
2999
3052
|
/**
|
|
3000
|
-
*
|
|
3053
|
+
* Player position abbreviation.
|
|
3001
3054
|
*/
|
|
3002
3055
|
position?: string;
|
|
3003
3056
|
/**
|
|
3004
|
-
*
|
|
3057
|
+
* Team name.
|
|
3005
3058
|
*/
|
|
3006
3059
|
team?: string;
|
|
3007
3060
|
/**
|
|
3008
|
-
*
|
|
3061
|
+
* Minimum number of plays.
|
|
3009
3062
|
*/
|
|
3010
3063
|
threshold?: number;
|
|
3011
3064
|
/**
|
|
3012
|
-
*
|
|
3065
|
+
* Season year. Required unless `playerId` is specified.
|
|
3013
3066
|
*/
|
|
3014
3067
|
year?: number;
|
|
3015
3068
|
};
|
|
@@ -3022,7 +3075,7 @@ export type GetPredictedPointsAddedByPlayerSeasonError = unknown;
|
|
|
3022
3075
|
export type GetWinProbabilityData = {
|
|
3023
3076
|
query: {
|
|
3024
3077
|
/**
|
|
3025
|
-
*
|
|
3078
|
+
* Game ID.
|
|
3026
3079
|
*/
|
|
3027
3080
|
gameId: number;
|
|
3028
3081
|
};
|
|
@@ -3035,19 +3088,19 @@ export type GetWinProbabilityError = unknown;
|
|
|
3035
3088
|
export type GetPregameWinProbabilitiesData = {
|
|
3036
3089
|
query?: {
|
|
3037
3090
|
/**
|
|
3038
|
-
*
|
|
3091
|
+
* Season type.
|
|
3039
3092
|
*/
|
|
3040
3093
|
seasonType?: SeasonType;
|
|
3041
3094
|
/**
|
|
3042
|
-
*
|
|
3095
|
+
* Team name.
|
|
3043
3096
|
*/
|
|
3044
3097
|
team?: string;
|
|
3045
3098
|
/**
|
|
3046
|
-
*
|
|
3099
|
+
* Week number.
|
|
3047
3100
|
*/
|
|
3048
3101
|
week?: number;
|
|
3049
3102
|
/**
|
|
3050
|
-
*
|
|
3103
|
+
* Season year.
|
|
3051
3104
|
*/
|
|
3052
3105
|
year?: number;
|
|
3053
3106
|
};
|
|
@@ -3064,7 +3117,7 @@ export type GetFieldGoalExpectedPointsError = unknown;
|
|
|
3064
3117
|
export type GetLivePlaysData = {
|
|
3065
3118
|
query: {
|
|
3066
3119
|
/**
|
|
3067
|
-
* Game
|
|
3120
|
+
* Game ID.
|
|
3068
3121
|
*/
|
|
3069
3122
|
gameId: number;
|
|
3070
3123
|
};
|
|
@@ -3077,39 +3130,39 @@ export type GetLivePlaysError = unknown;
|
|
|
3077
3130
|
export type GetLinesData = {
|
|
3078
3131
|
query?: {
|
|
3079
3132
|
/**
|
|
3080
|
-
*
|
|
3133
|
+
* Away team name.
|
|
3081
3134
|
*/
|
|
3082
3135
|
away?: string;
|
|
3083
3136
|
/**
|
|
3084
|
-
*
|
|
3137
|
+
* Conference of either team.
|
|
3085
3138
|
*/
|
|
3086
3139
|
conference?: string;
|
|
3087
3140
|
/**
|
|
3088
|
-
*
|
|
3141
|
+
* Game ID.
|
|
3089
3142
|
*/
|
|
3090
3143
|
gameId?: number;
|
|
3091
3144
|
/**
|
|
3092
|
-
*
|
|
3145
|
+
* Home team name.
|
|
3093
3146
|
*/
|
|
3094
3147
|
home?: string;
|
|
3095
3148
|
/**
|
|
3096
|
-
*
|
|
3149
|
+
* Betting line provider.
|
|
3097
3150
|
*/
|
|
3098
3151
|
provider?: string;
|
|
3099
3152
|
/**
|
|
3100
|
-
*
|
|
3153
|
+
* Season type.
|
|
3101
3154
|
*/
|
|
3102
3155
|
seasonType?: SeasonType;
|
|
3103
3156
|
/**
|
|
3104
|
-
*
|
|
3157
|
+
* Team name on either side of the game.
|
|
3105
3158
|
*/
|
|
3106
3159
|
team?: string;
|
|
3107
3160
|
/**
|
|
3108
|
-
*
|
|
3161
|
+
* Week number.
|
|
3109
3162
|
*/
|
|
3110
3163
|
week?: number;
|
|
3111
3164
|
/**
|
|
3112
|
-
*
|
|
3165
|
+
* Season year. Required unless `gameId` is specified.
|
|
3113
3166
|
*/
|
|
3114
3167
|
year?: number;
|
|
3115
3168
|
};
|
|
@@ -3126,15 +3179,16 @@ export type GetUserInfoError = unknown;
|
|
|
3126
3179
|
export type GetUsageData = {
|
|
3127
3180
|
query?: {
|
|
3128
3181
|
/**
|
|
3129
|
-
*
|
|
3182
|
+
* API to include: `all`, `cfb`, or `cbb`.
|
|
3130
3183
|
*/
|
|
3131
3184
|
api?: UserUsageApi;
|
|
3132
3185
|
/**
|
|
3133
|
-
*
|
|
3186
|
+
* Trailing days to include. Defaults to 7; maximum 31.
|
|
3134
3187
|
*/
|
|
3135
3188
|
days?: number;
|
|
3136
3189
|
/**
|
|
3137
|
-
*
|
|
3190
|
+
* Maximum endpoint and request rows to return. Defaults to 10;
|
|
3191
|
+
* maximum 50.
|
|
3138
3192
|
*/
|
|
3139
3193
|
limit?: number;
|
|
3140
3194
|
};
|
|
@@ -3147,47 +3201,47 @@ export type GetUsageError = unknown;
|
|
|
3147
3201
|
export type GetGamesData = {
|
|
3148
3202
|
query?: {
|
|
3149
3203
|
/**
|
|
3150
|
-
*
|
|
3204
|
+
* Away team name.
|
|
3151
3205
|
*/
|
|
3152
3206
|
away?: string;
|
|
3153
3207
|
/**
|
|
3154
|
-
*
|
|
3208
|
+
* Division classification.
|
|
3155
3209
|
*/
|
|
3156
3210
|
classification?: DivisionClassification;
|
|
3157
3211
|
/**
|
|
3158
|
-
*
|
|
3212
|
+
* Playoff competition.
|
|
3159
3213
|
*/
|
|
3160
3214
|
competition?: PlayoffCompetition;
|
|
3161
3215
|
/**
|
|
3162
|
-
*
|
|
3216
|
+
* Conference of either team.
|
|
3163
3217
|
*/
|
|
3164
3218
|
conference?: string;
|
|
3165
3219
|
/**
|
|
3166
|
-
*
|
|
3220
|
+
* Home team name.
|
|
3167
3221
|
*/
|
|
3168
3222
|
home?: string;
|
|
3169
3223
|
/**
|
|
3170
|
-
* Game
|
|
3224
|
+
* Game ID. When specified, returns data for that game.
|
|
3171
3225
|
*/
|
|
3172
3226
|
id?: number;
|
|
3173
3227
|
/**
|
|
3174
|
-
*
|
|
3228
|
+
* Playoff round. Requires `competition`.
|
|
3175
3229
|
*/
|
|
3176
3230
|
round?: PlayoffRound;
|
|
3177
3231
|
/**
|
|
3178
|
-
*
|
|
3232
|
+
* Season type.
|
|
3179
3233
|
*/
|
|
3180
3234
|
seasonType?: SeasonType;
|
|
3181
3235
|
/**
|
|
3182
|
-
*
|
|
3236
|
+
* Team name on either side of the game.
|
|
3183
3237
|
*/
|
|
3184
3238
|
team?: string;
|
|
3185
3239
|
/**
|
|
3186
|
-
*
|
|
3240
|
+
* Week number.
|
|
3187
3241
|
*/
|
|
3188
3242
|
week?: number;
|
|
3189
3243
|
/**
|
|
3190
|
-
*
|
|
3244
|
+
* Season year. Required unless `id` is specified.
|
|
3191
3245
|
*/
|
|
3192
3246
|
year?: number;
|
|
3193
3247
|
};
|
|
@@ -3202,31 +3256,34 @@ export type GetGamesError = ({
|
|
|
3202
3256
|
export type GetGameTeamStatsData = {
|
|
3203
3257
|
query?: {
|
|
3204
3258
|
/**
|
|
3205
|
-
*
|
|
3259
|
+
* Division classification.
|
|
3206
3260
|
*/
|
|
3207
3261
|
classification?: DivisionClassification;
|
|
3208
3262
|
/**
|
|
3209
|
-
*
|
|
3263
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
3264
|
+
* or `conference` is required when filtering by year.
|
|
3210
3265
|
*/
|
|
3211
3266
|
conference?: string;
|
|
3212
3267
|
/**
|
|
3213
|
-
*
|
|
3268
|
+
* Game ID. When specified, returns statistics for that game.
|
|
3214
3269
|
*/
|
|
3215
3270
|
id?: number;
|
|
3216
3271
|
/**
|
|
3217
|
-
*
|
|
3272
|
+
* Season type.
|
|
3218
3273
|
*/
|
|
3219
3274
|
seasonType?: SeasonType;
|
|
3220
3275
|
/**
|
|
3221
|
-
*
|
|
3276
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
3277
|
+
* when filtering by year.
|
|
3222
3278
|
*/
|
|
3223
3279
|
team?: string;
|
|
3224
3280
|
/**
|
|
3225
|
-
*
|
|
3281
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
3282
|
+
* when filtering by year.
|
|
3226
3283
|
*/
|
|
3227
3284
|
week?: number;
|
|
3228
3285
|
/**
|
|
3229
|
-
*
|
|
3286
|
+
* Season year. Required unless `id` is specified.
|
|
3230
3287
|
*/
|
|
3231
3288
|
year?: number;
|
|
3232
3289
|
};
|
|
@@ -3239,35 +3296,38 @@ export type GetGameTeamStatsError = unknown;
|
|
|
3239
3296
|
export type GetGamePlayerStatsData = {
|
|
3240
3297
|
query?: {
|
|
3241
3298
|
/**
|
|
3242
|
-
*
|
|
3299
|
+
* Player statistical category.
|
|
3243
3300
|
*/
|
|
3244
3301
|
category?: string;
|
|
3245
3302
|
/**
|
|
3246
|
-
*
|
|
3303
|
+
* Division classification.
|
|
3247
3304
|
*/
|
|
3248
3305
|
classification?: DivisionClassification;
|
|
3249
3306
|
/**
|
|
3250
|
-
*
|
|
3307
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
3308
|
+
* or `conference` is required when filtering by year.
|
|
3251
3309
|
*/
|
|
3252
3310
|
conference?: string;
|
|
3253
3311
|
/**
|
|
3254
|
-
*
|
|
3312
|
+
* Game ID. When specified, returns statistics for that game.
|
|
3255
3313
|
*/
|
|
3256
3314
|
id?: number;
|
|
3257
3315
|
/**
|
|
3258
|
-
*
|
|
3316
|
+
* Season type.
|
|
3259
3317
|
*/
|
|
3260
3318
|
seasonType?: SeasonType;
|
|
3261
3319
|
/**
|
|
3262
|
-
*
|
|
3320
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
3321
|
+
* when filtering by year.
|
|
3263
3322
|
*/
|
|
3264
3323
|
team?: string;
|
|
3265
3324
|
/**
|
|
3266
|
-
*
|
|
3325
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
3326
|
+
* when filtering by year.
|
|
3267
3327
|
*/
|
|
3268
3328
|
week?: number;
|
|
3269
3329
|
/**
|
|
3270
|
-
*
|
|
3330
|
+
* Season year. Required unless `id` is specified.
|
|
3271
3331
|
*/
|
|
3272
3332
|
year?: number;
|
|
3273
3333
|
};
|
|
@@ -3280,31 +3340,31 @@ export type GetGamePlayerStatsError = unknown;
|
|
|
3280
3340
|
export type GetMediaData = {
|
|
3281
3341
|
query: {
|
|
3282
3342
|
/**
|
|
3283
|
-
*
|
|
3343
|
+
* Division classification.
|
|
3284
3344
|
*/
|
|
3285
3345
|
classification?: DivisionClassification;
|
|
3286
3346
|
/**
|
|
3287
|
-
*
|
|
3347
|
+
* Conference name or abbreviation.
|
|
3288
3348
|
*/
|
|
3289
3349
|
conference?: string;
|
|
3290
3350
|
/**
|
|
3291
|
-
*
|
|
3351
|
+
* Media type.
|
|
3292
3352
|
*/
|
|
3293
3353
|
mediaType?: MediaType;
|
|
3294
3354
|
/**
|
|
3295
|
-
*
|
|
3355
|
+
* Season type.
|
|
3296
3356
|
*/
|
|
3297
3357
|
seasonType?: SeasonType;
|
|
3298
3358
|
/**
|
|
3299
|
-
*
|
|
3359
|
+
* Team name.
|
|
3300
3360
|
*/
|
|
3301
3361
|
team?: string;
|
|
3302
3362
|
/**
|
|
3303
|
-
*
|
|
3363
|
+
* Week number.
|
|
3304
3364
|
*/
|
|
3305
3365
|
week?: number;
|
|
3306
3366
|
/**
|
|
3307
|
-
*
|
|
3367
|
+
* Season year.
|
|
3308
3368
|
*/
|
|
3309
3369
|
year: number;
|
|
3310
3370
|
};
|
|
@@ -3317,31 +3377,31 @@ export type GetMediaError = unknown;
|
|
|
3317
3377
|
export type GetWeatherData = {
|
|
3318
3378
|
query?: {
|
|
3319
3379
|
/**
|
|
3320
|
-
*
|
|
3380
|
+
* Division classification.
|
|
3321
3381
|
*/
|
|
3322
3382
|
classification?: DivisionClassification;
|
|
3323
3383
|
/**
|
|
3324
|
-
*
|
|
3384
|
+
* Conference name or abbreviation.
|
|
3325
3385
|
*/
|
|
3326
3386
|
conference?: string;
|
|
3327
3387
|
/**
|
|
3328
|
-
*
|
|
3388
|
+
* Game ID. When specified, returns weather for that game.
|
|
3329
3389
|
*/
|
|
3330
3390
|
gameId?: number;
|
|
3331
3391
|
/**
|
|
3332
|
-
*
|
|
3392
|
+
* Season type.
|
|
3333
3393
|
*/
|
|
3334
3394
|
seasonType?: SeasonType;
|
|
3335
3395
|
/**
|
|
3336
|
-
*
|
|
3396
|
+
* Team name.
|
|
3337
3397
|
*/
|
|
3338
3398
|
team?: string;
|
|
3339
3399
|
/**
|
|
3340
|
-
*
|
|
3400
|
+
* Week number.
|
|
3341
3401
|
*/
|
|
3342
3402
|
week?: number;
|
|
3343
3403
|
/**
|
|
3344
|
-
*
|
|
3404
|
+
* Season year. Required unless `gameId` is specified.
|
|
3345
3405
|
*/
|
|
3346
3406
|
year?: number;
|
|
3347
3407
|
};
|
|
@@ -3354,15 +3414,15 @@ export type GetWeatherError = unknown;
|
|
|
3354
3414
|
export type GetRecordsData = {
|
|
3355
3415
|
query?: {
|
|
3356
3416
|
/**
|
|
3357
|
-
*
|
|
3417
|
+
* Conference name or abbreviation.
|
|
3358
3418
|
*/
|
|
3359
3419
|
conference?: string;
|
|
3360
3420
|
/**
|
|
3361
|
-
* Team
|
|
3421
|
+
* Team name. Required unless `year` is specified.
|
|
3362
3422
|
*/
|
|
3363
3423
|
team?: string;
|
|
3364
3424
|
/**
|
|
3365
|
-
*
|
|
3425
|
+
* Season year. Required unless `team` is specified.
|
|
3366
3426
|
*/
|
|
3367
3427
|
year?: number;
|
|
3368
3428
|
};
|
|
@@ -3375,7 +3435,7 @@ export type GetRecordsError = unknown;
|
|
|
3375
3435
|
export type GetCalendarData = {
|
|
3376
3436
|
query: {
|
|
3377
3437
|
/**
|
|
3378
|
-
*
|
|
3438
|
+
* Season year.
|
|
3379
3439
|
*/
|
|
3380
3440
|
year: number;
|
|
3381
3441
|
};
|
|
@@ -3388,11 +3448,11 @@ export type GetCalendarError = unknown;
|
|
|
3388
3448
|
export type GetScoreboardData = {
|
|
3389
3449
|
query?: {
|
|
3390
3450
|
/**
|
|
3391
|
-
*
|
|
3451
|
+
* Division classification. Defaults to `fbs`.
|
|
3392
3452
|
*/
|
|
3393
3453
|
classification?: DivisionClassification;
|
|
3394
3454
|
/**
|
|
3395
|
-
*
|
|
3455
|
+
* Conference name or abbreviation.
|
|
3396
3456
|
*/
|
|
3397
3457
|
conference?: string;
|
|
3398
3458
|
};
|
|
@@ -3405,43 +3465,43 @@ export type GetScoreboardError = unknown;
|
|
|
3405
3465
|
export type GetDrivesData = {
|
|
3406
3466
|
query: {
|
|
3407
3467
|
/**
|
|
3408
|
-
*
|
|
3468
|
+
* Division classification of either team.
|
|
3409
3469
|
*/
|
|
3410
3470
|
classification?: DivisionClassification;
|
|
3411
3471
|
/**
|
|
3412
|
-
*
|
|
3472
|
+
* Conference of either team.
|
|
3413
3473
|
*/
|
|
3414
3474
|
conference?: string;
|
|
3415
3475
|
/**
|
|
3416
|
-
*
|
|
3476
|
+
* Defensive team name.
|
|
3417
3477
|
*/
|
|
3418
3478
|
defense?: string;
|
|
3419
3479
|
/**
|
|
3420
|
-
*
|
|
3480
|
+
* Defensive team conference.
|
|
3421
3481
|
*/
|
|
3422
3482
|
defenseConference?: string;
|
|
3423
3483
|
/**
|
|
3424
|
-
*
|
|
3484
|
+
* Offensive team name.
|
|
3425
3485
|
*/
|
|
3426
3486
|
offense?: string;
|
|
3427
3487
|
/**
|
|
3428
|
-
*
|
|
3488
|
+
* Offensive team conference.
|
|
3429
3489
|
*/
|
|
3430
3490
|
offenseConference?: string;
|
|
3431
3491
|
/**
|
|
3432
|
-
*
|
|
3492
|
+
* Season type.
|
|
3433
3493
|
*/
|
|
3434
3494
|
seasonType?: SeasonType;
|
|
3435
3495
|
/**
|
|
3436
|
-
*
|
|
3496
|
+
* Team name on either side of the drive.
|
|
3437
3497
|
*/
|
|
3438
3498
|
team?: string;
|
|
3439
3499
|
/**
|
|
3440
|
-
*
|
|
3500
|
+
* Week number.
|
|
3441
3501
|
*/
|
|
3442
3502
|
week?: number;
|
|
3443
3503
|
/**
|
|
3444
|
-
*
|
|
3504
|
+
* Season year.
|
|
3445
3505
|
*/
|
|
3446
3506
|
year: number;
|
|
3447
3507
|
};
|
|
@@ -3462,23 +3522,23 @@ export type GetDraftPositionsError = unknown;
|
|
|
3462
3522
|
export type GetDraftPicksData = {
|
|
3463
3523
|
query?: {
|
|
3464
3524
|
/**
|
|
3465
|
-
*
|
|
3525
|
+
* College conference name or abbreviation.
|
|
3466
3526
|
*/
|
|
3467
3527
|
conference?: string;
|
|
3468
3528
|
/**
|
|
3469
|
-
*
|
|
3529
|
+
* Position category.
|
|
3470
3530
|
*/
|
|
3471
3531
|
position?: string;
|
|
3472
3532
|
/**
|
|
3473
|
-
*
|
|
3533
|
+
* College team name.
|
|
3474
3534
|
*/
|
|
3475
3535
|
school?: string;
|
|
3476
3536
|
/**
|
|
3477
|
-
*
|
|
3537
|
+
* NFL team name.
|
|
3478
3538
|
*/
|
|
3479
3539
|
team?: string;
|
|
3480
3540
|
/**
|
|
3481
|
-
*
|
|
3541
|
+
* Draft year.
|
|
3482
3542
|
*/
|
|
3483
3543
|
year?: number;
|
|
3484
3544
|
};
|
|
@@ -3491,27 +3551,27 @@ export type GetDraftPicksError = unknown;
|
|
|
3491
3551
|
export type GetCoachesData = {
|
|
3492
3552
|
query?: {
|
|
3493
3553
|
/**
|
|
3494
|
-
*
|
|
3554
|
+
* Coach first name.
|
|
3495
3555
|
*/
|
|
3496
3556
|
firstName?: string;
|
|
3497
3557
|
/**
|
|
3498
|
-
*
|
|
3558
|
+
* Coach last name.
|
|
3499
3559
|
*/
|
|
3500
3560
|
lastName?: string;
|
|
3501
3561
|
/**
|
|
3502
|
-
*
|
|
3562
|
+
* Latest season year to include.
|
|
3503
3563
|
*/
|
|
3504
3564
|
maxYear?: number;
|
|
3505
3565
|
/**
|
|
3506
|
-
*
|
|
3566
|
+
* Earliest season year to include.
|
|
3507
3567
|
*/
|
|
3508
3568
|
minYear?: number;
|
|
3509
3569
|
/**
|
|
3510
|
-
*
|
|
3570
|
+
* Team name.
|
|
3511
3571
|
*/
|
|
3512
3572
|
team?: string;
|
|
3513
3573
|
/**
|
|
3514
|
-
*
|
|
3574
|
+
* Season year.
|
|
3515
3575
|
*/
|
|
3516
3576
|
year?: number;
|
|
3517
3577
|
};
|
|
@@ -3524,7 +3584,7 @@ export type GetCoachesError = unknown;
|
|
|
3524
3584
|
export type GetCoachProfileData = {
|
|
3525
3585
|
query: {
|
|
3526
3586
|
/**
|
|
3527
|
-
*
|
|
3587
|
+
* Coach ID.
|
|
3528
3588
|
*/
|
|
3529
3589
|
coachId: number;
|
|
3530
3590
|
};
|
|
@@ -3539,23 +3599,23 @@ export type GetCoachProfileError = ({
|
|
|
3539
3599
|
export type GetCoachSeasonsData = {
|
|
3540
3600
|
query?: {
|
|
3541
3601
|
/**
|
|
3542
|
-
*
|
|
3602
|
+
* Coach ID.
|
|
3543
3603
|
*/
|
|
3544
3604
|
coachId?: number;
|
|
3545
3605
|
/**
|
|
3546
|
-
*
|
|
3606
|
+
* Latest season year to include.
|
|
3547
3607
|
*/
|
|
3548
3608
|
maxYear?: number;
|
|
3549
3609
|
/**
|
|
3550
|
-
*
|
|
3610
|
+
* Earliest season year to include.
|
|
3551
3611
|
*/
|
|
3552
3612
|
minYear?: number;
|
|
3553
3613
|
/**
|
|
3554
|
-
*
|
|
3614
|
+
* Team name.
|
|
3555
3615
|
*/
|
|
3556
3616
|
team?: string;
|
|
3557
3617
|
/**
|
|
3558
|
-
*
|
|
3618
|
+
* Exact season year.
|
|
3559
3619
|
*/
|
|
3560
3620
|
year?: number;
|
|
3561
3621
|
};
|
|
@@ -3570,19 +3630,19 @@ export type GetCoachSeasonsError = ({
|
|
|
3570
3630
|
export type GetCoachTenuresData = {
|
|
3571
3631
|
query?: {
|
|
3572
3632
|
/**
|
|
3573
|
-
*
|
|
3633
|
+
* Filters by active status when specified.
|
|
3574
3634
|
*/
|
|
3575
3635
|
active?: boolean;
|
|
3576
3636
|
/**
|
|
3577
|
-
*
|
|
3637
|
+
* Coach ID.
|
|
3578
3638
|
*/
|
|
3579
3639
|
coachId?: number;
|
|
3580
3640
|
/**
|
|
3581
|
-
*
|
|
3641
|
+
* Team name.
|
|
3582
3642
|
*/
|
|
3583
3643
|
team?: string;
|
|
3584
3644
|
/**
|
|
3585
|
-
*
|
|
3645
|
+
* Season year contained within the tenure.
|
|
3586
3646
|
*/
|
|
3587
3647
|
year?: number;
|
|
3588
3648
|
};
|
|
@@ -3597,7 +3657,7 @@ export type GetCoachTenuresError = ({
|
|
|
3597
3657
|
export type GetAdvancedBoxScoreData = {
|
|
3598
3658
|
query: {
|
|
3599
3659
|
/**
|
|
3600
|
-
*
|
|
3660
|
+
* Game ID.
|
|
3601
3661
|
*/
|
|
3602
3662
|
id: number;
|
|
3603
3663
|
};
|