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/dist/types.gen.d.ts
CHANGED
|
@@ -499,6 +499,7 @@ export type ConferenceSP = {
|
|
|
499
499
|
rating: (number) | null;
|
|
500
500
|
};
|
|
501
501
|
};
|
|
502
|
+
export type CoreRatingSeasonType = 'regular' | 'postseason';
|
|
502
503
|
export type DetailedCoachSeason = {
|
|
503
504
|
games: number;
|
|
504
505
|
wins: number;
|
|
@@ -1460,6 +1461,28 @@ export type TeamATS = {
|
|
|
1460
1461
|
atsPushes: number;
|
|
1461
1462
|
avgCoverMargin: (number) | null;
|
|
1462
1463
|
};
|
|
1464
|
+
export type TeamCoreRating = {
|
|
1465
|
+
year: number;
|
|
1466
|
+
throughSeasonType: CoreRatingSeasonType;
|
|
1467
|
+
throughWeek: number;
|
|
1468
|
+
team: string;
|
|
1469
|
+
conference: (string) | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Offense-minus-defense composite; higher is better.
|
|
1472
|
+
*/
|
|
1473
|
+
overall: number;
|
|
1474
|
+
/**
|
|
1475
|
+
* Points created above average per 100 qualifying plays; higher is better.
|
|
1476
|
+
*/
|
|
1477
|
+
offense: number;
|
|
1478
|
+
/**
|
|
1479
|
+
* Points allowed above average per 100 qualifying plays; lower is better.
|
|
1480
|
+
*/
|
|
1481
|
+
defense: number;
|
|
1482
|
+
offensePlays: number;
|
|
1483
|
+
defensePlays: number;
|
|
1484
|
+
modelVersion: string;
|
|
1485
|
+
};
|
|
1463
1486
|
export type TeamElo = {
|
|
1464
1487
|
year: number;
|
|
1465
1488
|
team: string;
|
|
@@ -1741,15 +1764,15 @@ export type Venue = {
|
|
|
1741
1764
|
export type GetAdjustedTeamSeasonStatsData = {
|
|
1742
1765
|
query?: {
|
|
1743
1766
|
/**
|
|
1744
|
-
*
|
|
1767
|
+
* Conference name or abbreviation.
|
|
1745
1768
|
*/
|
|
1746
1769
|
conference?: string;
|
|
1747
1770
|
/**
|
|
1748
|
-
*
|
|
1771
|
+
* Team name.
|
|
1749
1772
|
*/
|
|
1750
1773
|
team?: string;
|
|
1751
1774
|
/**
|
|
1752
|
-
*
|
|
1775
|
+
* Season year.
|
|
1753
1776
|
*/
|
|
1754
1777
|
year?: number;
|
|
1755
1778
|
};
|
|
@@ -1759,19 +1782,19 @@ export type GetAdjustedTeamSeasonStatsError = unknown;
|
|
|
1759
1782
|
export type GetAdjustedPlayerPassingStatsData = {
|
|
1760
1783
|
query?: {
|
|
1761
1784
|
/**
|
|
1762
|
-
*
|
|
1785
|
+
* Conference abbreviation.
|
|
1763
1786
|
*/
|
|
1764
1787
|
conference?: string;
|
|
1765
1788
|
/**
|
|
1766
|
-
*
|
|
1789
|
+
* Player position abbreviation.
|
|
1767
1790
|
*/
|
|
1768
1791
|
position?: string;
|
|
1769
1792
|
/**
|
|
1770
|
-
*
|
|
1793
|
+
* Team name.
|
|
1771
1794
|
*/
|
|
1772
1795
|
team?: string;
|
|
1773
1796
|
/**
|
|
1774
|
-
*
|
|
1797
|
+
* Season year.
|
|
1775
1798
|
*/
|
|
1776
1799
|
year?: number;
|
|
1777
1800
|
};
|
|
@@ -1781,19 +1804,19 @@ export type GetAdjustedPlayerPassingStatsError = unknown;
|
|
|
1781
1804
|
export type GetAdjustedPlayerRushingStatsData = {
|
|
1782
1805
|
query?: {
|
|
1783
1806
|
/**
|
|
1784
|
-
*
|
|
1807
|
+
* Conference abbreviation.
|
|
1785
1808
|
*/
|
|
1786
1809
|
conference?: string;
|
|
1787
1810
|
/**
|
|
1788
|
-
*
|
|
1811
|
+
* Player position abbreviation.
|
|
1789
1812
|
*/
|
|
1790
1813
|
position?: string;
|
|
1791
1814
|
/**
|
|
1792
|
-
*
|
|
1815
|
+
* Team name.
|
|
1793
1816
|
*/
|
|
1794
1817
|
team?: string;
|
|
1795
1818
|
/**
|
|
1796
|
-
*
|
|
1819
|
+
* Season year.
|
|
1797
1820
|
*/
|
|
1798
1821
|
year?: number;
|
|
1799
1822
|
};
|
|
@@ -1803,15 +1826,15 @@ export type GetAdjustedPlayerRushingStatsError = unknown;
|
|
|
1803
1826
|
export type GetKickerPaarData = {
|
|
1804
1827
|
query?: {
|
|
1805
1828
|
/**
|
|
1806
|
-
*
|
|
1829
|
+
* Conference abbreviation.
|
|
1807
1830
|
*/
|
|
1808
1831
|
conference?: string;
|
|
1809
1832
|
/**
|
|
1810
|
-
*
|
|
1833
|
+
* Team name.
|
|
1811
1834
|
*/
|
|
1812
1835
|
team?: string;
|
|
1813
1836
|
/**
|
|
1814
|
-
*
|
|
1837
|
+
* Season year.
|
|
1815
1838
|
*/
|
|
1816
1839
|
year?: number;
|
|
1817
1840
|
};
|
|
@@ -1821,11 +1844,11 @@ export type GetKickerPaarError = unknown;
|
|
|
1821
1844
|
export type GetTeamsData = {
|
|
1822
1845
|
query?: {
|
|
1823
1846
|
/**
|
|
1824
|
-
*
|
|
1847
|
+
* Conference abbreviation.
|
|
1825
1848
|
*/
|
|
1826
1849
|
conference?: string;
|
|
1827
1850
|
/**
|
|
1828
|
-
*
|
|
1851
|
+
* Season year for historical conference affiliations.
|
|
1829
1852
|
*/
|
|
1830
1853
|
year?: number;
|
|
1831
1854
|
};
|
|
@@ -1835,7 +1858,7 @@ export type GetTeamsError = unknown;
|
|
|
1835
1858
|
export type GetFbsTeamsData = {
|
|
1836
1859
|
query?: {
|
|
1837
1860
|
/**
|
|
1838
|
-
*
|
|
1861
|
+
* Season year.
|
|
1839
1862
|
*/
|
|
1840
1863
|
year?: number;
|
|
1841
1864
|
};
|
|
@@ -1845,19 +1868,19 @@ export type GetFbsTeamsError = unknown;
|
|
|
1845
1868
|
export type GetMatchupData = {
|
|
1846
1869
|
query: {
|
|
1847
1870
|
/**
|
|
1848
|
-
*
|
|
1871
|
+
* Latest season year to include.
|
|
1849
1872
|
*/
|
|
1850
1873
|
maxYear?: number;
|
|
1851
1874
|
/**
|
|
1852
|
-
*
|
|
1875
|
+
* Earliest season year to include.
|
|
1853
1876
|
*/
|
|
1854
1877
|
minYear?: number;
|
|
1855
1878
|
/**
|
|
1856
|
-
* First team
|
|
1879
|
+
* First team name.
|
|
1857
1880
|
*/
|
|
1858
1881
|
team1: string;
|
|
1859
1882
|
/**
|
|
1860
|
-
* Second team
|
|
1883
|
+
* Second team name.
|
|
1861
1884
|
*/
|
|
1862
1885
|
team2: string;
|
|
1863
1886
|
};
|
|
@@ -1867,15 +1890,15 @@ export type GetMatchupError = unknown;
|
|
|
1867
1890
|
export type GetTeamsAtsData = {
|
|
1868
1891
|
query: {
|
|
1869
1892
|
/**
|
|
1870
|
-
*
|
|
1893
|
+
* Conference name or abbreviation.
|
|
1871
1894
|
*/
|
|
1872
1895
|
conference?: string;
|
|
1873
1896
|
/**
|
|
1874
|
-
*
|
|
1897
|
+
* Team name.
|
|
1875
1898
|
*/
|
|
1876
1899
|
team?: string;
|
|
1877
1900
|
/**
|
|
1878
|
-
*
|
|
1901
|
+
* Season year.
|
|
1879
1902
|
*/
|
|
1880
1903
|
year: number;
|
|
1881
1904
|
};
|
|
@@ -1885,15 +1908,15 @@ export type GetTeamsAtsError = unknown;
|
|
|
1885
1908
|
export type GetRosterData = {
|
|
1886
1909
|
query?: {
|
|
1887
1910
|
/**
|
|
1888
|
-
*
|
|
1911
|
+
* Division classification: `fbs` or `fcs`.
|
|
1889
1912
|
*/
|
|
1890
1913
|
classification?: DivisionClassification;
|
|
1891
1914
|
/**
|
|
1892
|
-
*
|
|
1915
|
+
* Team name.
|
|
1893
1916
|
*/
|
|
1894
1917
|
team?: string;
|
|
1895
1918
|
/**
|
|
1896
|
-
*
|
|
1919
|
+
* Season year. Defaults to 2025.
|
|
1897
1920
|
*/
|
|
1898
1921
|
year?: number;
|
|
1899
1922
|
};
|
|
@@ -1905,7 +1928,7 @@ export type GetConferencesError = unknown;
|
|
|
1905
1928
|
export type GetTalentData = {
|
|
1906
1929
|
query: {
|
|
1907
1930
|
/**
|
|
1908
|
-
*
|
|
1931
|
+
* Season year.
|
|
1909
1932
|
*/
|
|
1910
1933
|
year: number;
|
|
1911
1934
|
};
|
|
@@ -1917,31 +1940,31 @@ export type GetVenuesError = unknown;
|
|
|
1917
1940
|
export type GetPlayerSeasonStatsData = {
|
|
1918
1941
|
query: {
|
|
1919
1942
|
/**
|
|
1920
|
-
*
|
|
1943
|
+
* Statistical category.
|
|
1921
1944
|
*/
|
|
1922
1945
|
category?: string;
|
|
1923
1946
|
/**
|
|
1924
|
-
*
|
|
1947
|
+
* Conference name or abbreviation.
|
|
1925
1948
|
*/
|
|
1926
1949
|
conference?: string;
|
|
1927
1950
|
/**
|
|
1928
|
-
*
|
|
1951
|
+
* Latest week to include.
|
|
1929
1952
|
*/
|
|
1930
1953
|
endWeek?: number;
|
|
1931
1954
|
/**
|
|
1932
|
-
*
|
|
1955
|
+
* Season type.
|
|
1933
1956
|
*/
|
|
1934
1957
|
seasonType?: SeasonType;
|
|
1935
1958
|
/**
|
|
1936
|
-
*
|
|
1959
|
+
* Earliest week to include.
|
|
1937
1960
|
*/
|
|
1938
1961
|
startWeek?: number;
|
|
1939
1962
|
/**
|
|
1940
|
-
*
|
|
1963
|
+
* Team name.
|
|
1941
1964
|
*/
|
|
1942
1965
|
team?: string;
|
|
1943
1966
|
/**
|
|
1944
|
-
*
|
|
1967
|
+
* Season year.
|
|
1945
1968
|
*/
|
|
1946
1969
|
year: number;
|
|
1947
1970
|
};
|
|
@@ -1951,39 +1974,39 @@ export type GetPlayerSeasonStatsError = unknown;
|
|
|
1951
1974
|
export type GetPlayerSeasonSuccessRatesData = {
|
|
1952
1975
|
query?: {
|
|
1953
1976
|
/**
|
|
1954
|
-
*
|
|
1977
|
+
* Conference abbreviation.
|
|
1955
1978
|
*/
|
|
1956
1979
|
conference?: string;
|
|
1957
1980
|
/**
|
|
1958
|
-
*
|
|
1981
|
+
* Latest week to include.
|
|
1959
1982
|
*/
|
|
1960
1983
|
endWeek?: number;
|
|
1961
1984
|
/**
|
|
1962
|
-
*
|
|
1985
|
+
* Excludes garbage-time plays when `true`.
|
|
1963
1986
|
*/
|
|
1964
1987
|
excludeGarbageTime?: boolean;
|
|
1965
1988
|
/**
|
|
1966
|
-
* Player ID
|
|
1989
|
+
* Player ID. Required unless `year` is specified.
|
|
1967
1990
|
*/
|
|
1968
1991
|
playerId?: number;
|
|
1969
1992
|
/**
|
|
1970
|
-
*
|
|
1993
|
+
* Season type.
|
|
1971
1994
|
*/
|
|
1972
1995
|
seasonType?: SeasonType;
|
|
1973
1996
|
/**
|
|
1974
|
-
*
|
|
1997
|
+
* Earliest week to include.
|
|
1975
1998
|
*/
|
|
1976
1999
|
startWeek?: number;
|
|
1977
2000
|
/**
|
|
1978
|
-
*
|
|
2001
|
+
* Team name.
|
|
1979
2002
|
*/
|
|
1980
2003
|
team?: string;
|
|
1981
2004
|
/**
|
|
1982
|
-
*
|
|
2005
|
+
* Minimum credited passing and rushing plays.
|
|
1983
2006
|
*/
|
|
1984
2007
|
threshold?: number;
|
|
1985
2008
|
/**
|
|
1986
|
-
*
|
|
2009
|
+
* Season year. Required unless `playerId` is specified.
|
|
1987
2010
|
*/
|
|
1988
2011
|
year?: number;
|
|
1989
2012
|
};
|
|
@@ -1993,35 +2016,35 @@ export type GetPlayerSeasonSuccessRatesError = unknown;
|
|
|
1993
2016
|
export type GetPlayerGameSuccessRatesData = {
|
|
1994
2017
|
query: {
|
|
1995
2018
|
/**
|
|
1996
|
-
*
|
|
2019
|
+
* Conference abbreviation.
|
|
1997
2020
|
*/
|
|
1998
2021
|
conference?: string;
|
|
1999
2022
|
/**
|
|
2000
|
-
*
|
|
2023
|
+
* Excludes garbage-time plays when `true`.
|
|
2001
2024
|
*/
|
|
2002
2025
|
excludeGarbageTime?: boolean;
|
|
2003
2026
|
/**
|
|
2004
|
-
*
|
|
2027
|
+
* Player ID.
|
|
2005
2028
|
*/
|
|
2006
2029
|
playerId?: number;
|
|
2007
2030
|
/**
|
|
2008
|
-
*
|
|
2031
|
+
* Season type.
|
|
2009
2032
|
*/
|
|
2010
2033
|
seasonType?: SeasonType;
|
|
2011
2034
|
/**
|
|
2012
|
-
*
|
|
2035
|
+
* Team name.
|
|
2013
2036
|
*/
|
|
2014
2037
|
team?: string;
|
|
2015
2038
|
/**
|
|
2016
|
-
*
|
|
2039
|
+
* Minimum credited passing and rushing plays.
|
|
2017
2040
|
*/
|
|
2018
2041
|
threshold?: number;
|
|
2019
2042
|
/**
|
|
2020
|
-
* Week
|
|
2043
|
+
* Week number. Required unless `team` or `playerId` is specified.
|
|
2021
2044
|
*/
|
|
2022
2045
|
week?: number;
|
|
2023
2046
|
/**
|
|
2024
|
-
*
|
|
2047
|
+
* Season year.
|
|
2025
2048
|
*/
|
|
2026
2049
|
year: number;
|
|
2027
2050
|
};
|
|
@@ -2031,27 +2054,27 @@ export type GetPlayerGameSuccessRatesError = unknown;
|
|
|
2031
2054
|
export type GetTeamStatsData = {
|
|
2032
2055
|
query?: {
|
|
2033
2056
|
/**
|
|
2034
|
-
*
|
|
2057
|
+
* Division classification. Defaults to `fbs`.
|
|
2035
2058
|
*/
|
|
2036
2059
|
classification?: DivisionClassification;
|
|
2037
2060
|
/**
|
|
2038
|
-
*
|
|
2061
|
+
* Conference name or abbreviation.
|
|
2039
2062
|
*/
|
|
2040
2063
|
conference?: string;
|
|
2041
2064
|
/**
|
|
2042
|
-
*
|
|
2065
|
+
* Latest week to include.
|
|
2043
2066
|
*/
|
|
2044
2067
|
endWeek?: number;
|
|
2045
2068
|
/**
|
|
2046
|
-
*
|
|
2069
|
+
* Earliest week to include.
|
|
2047
2070
|
*/
|
|
2048
2071
|
startWeek?: number;
|
|
2049
2072
|
/**
|
|
2050
|
-
* Team
|
|
2073
|
+
* Team name. Required unless `year` is specified.
|
|
2051
2074
|
*/
|
|
2052
2075
|
team?: string;
|
|
2053
2076
|
/**
|
|
2054
|
-
*
|
|
2077
|
+
* Season year. Required unless `team` is specified.
|
|
2055
2078
|
*/
|
|
2056
2079
|
year?: number;
|
|
2057
2080
|
};
|
|
@@ -2063,27 +2086,28 @@ export type GetCategoriesError = unknown;
|
|
|
2063
2086
|
export type GetAdvancedSeasonStatsData = {
|
|
2064
2087
|
query?: {
|
|
2065
2088
|
/**
|
|
2066
|
-
*
|
|
2089
|
+
* Division classification. Defaults to `fbs`.
|
|
2067
2090
|
*/
|
|
2068
2091
|
classification?: DivisionClassification;
|
|
2069
2092
|
/**
|
|
2070
|
-
*
|
|
2093
|
+
* Latest week to include.
|
|
2071
2094
|
*/
|
|
2072
2095
|
endWeek?: number;
|
|
2073
2096
|
/**
|
|
2074
|
-
*
|
|
2097
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2098
|
+
* to `false`.
|
|
2075
2099
|
*/
|
|
2076
2100
|
excludeGarbageTime?: boolean;
|
|
2077
2101
|
/**
|
|
2078
|
-
*
|
|
2102
|
+
* Earliest week to include.
|
|
2079
2103
|
*/
|
|
2080
2104
|
startWeek?: number;
|
|
2081
2105
|
/**
|
|
2082
|
-
* Team
|
|
2106
|
+
* Team name. Required unless `year` is specified.
|
|
2083
2107
|
*/
|
|
2084
2108
|
team?: string;
|
|
2085
2109
|
/**
|
|
2086
|
-
*
|
|
2110
|
+
* Season year. Required unless `team` is specified.
|
|
2087
2111
|
*/
|
|
2088
2112
|
year?: number;
|
|
2089
2113
|
};
|
|
@@ -2093,27 +2117,28 @@ export type GetAdvancedSeasonStatsError = unknown;
|
|
|
2093
2117
|
export type GetAdvancedGameStatsData = {
|
|
2094
2118
|
query?: {
|
|
2095
2119
|
/**
|
|
2096
|
-
*
|
|
2120
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2121
|
+
* to `false`.
|
|
2097
2122
|
*/
|
|
2098
2123
|
excludeGarbageTime?: boolean;
|
|
2099
2124
|
/**
|
|
2100
|
-
*
|
|
2125
|
+
* Opponent team name.
|
|
2101
2126
|
*/
|
|
2102
2127
|
opponent?: string;
|
|
2103
2128
|
/**
|
|
2104
|
-
*
|
|
2129
|
+
* Season type.
|
|
2105
2130
|
*/
|
|
2106
2131
|
seasonType?: SeasonType;
|
|
2107
2132
|
/**
|
|
2108
|
-
* Team
|
|
2133
|
+
* Team name. Required unless `year` is specified.
|
|
2109
2134
|
*/
|
|
2110
2135
|
team?: string;
|
|
2111
2136
|
/**
|
|
2112
|
-
*
|
|
2137
|
+
* Week number.
|
|
2113
2138
|
*/
|
|
2114
2139
|
week?: number;
|
|
2115
2140
|
/**
|
|
2116
|
-
*
|
|
2141
|
+
* Season year. Required unless `team` is specified.
|
|
2117
2142
|
*/
|
|
2118
2143
|
year?: number;
|
|
2119
2144
|
};
|
|
@@ -2123,23 +2148,23 @@ export type GetAdvancedGameStatsError = unknown;
|
|
|
2123
2148
|
export type GetGameHavocStatsData = {
|
|
2124
2149
|
query?: {
|
|
2125
2150
|
/**
|
|
2126
|
-
*
|
|
2151
|
+
* Opponent team name.
|
|
2127
2152
|
*/
|
|
2128
2153
|
opponent?: string;
|
|
2129
2154
|
/**
|
|
2130
|
-
*
|
|
2155
|
+
* Season type.
|
|
2131
2156
|
*/
|
|
2132
2157
|
seasonType?: SeasonType;
|
|
2133
2158
|
/**
|
|
2134
|
-
* Team
|
|
2159
|
+
* Team name. Required unless `year` is specified.
|
|
2135
2160
|
*/
|
|
2136
2161
|
team?: string;
|
|
2137
2162
|
/**
|
|
2138
|
-
*
|
|
2163
|
+
* Week number.
|
|
2139
2164
|
*/
|
|
2140
2165
|
week?: number;
|
|
2141
2166
|
/**
|
|
2142
|
-
*
|
|
2167
|
+
* Season year. Required unless `team` is specified.
|
|
2143
2168
|
*/
|
|
2144
2169
|
year?: number;
|
|
2145
2170
|
};
|
|
@@ -2149,23 +2174,23 @@ export type GetGameHavocStatsError = unknown;
|
|
|
2149
2174
|
export type GetRecruitsData = {
|
|
2150
2175
|
query?: {
|
|
2151
2176
|
/**
|
|
2152
|
-
*
|
|
2177
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2153
2178
|
*/
|
|
2154
2179
|
classification?: RecruitClassification;
|
|
2155
2180
|
/**
|
|
2156
|
-
*
|
|
2181
|
+
* Position category.
|
|
2157
2182
|
*/
|
|
2158
2183
|
position?: string;
|
|
2159
2184
|
/**
|
|
2160
|
-
*
|
|
2185
|
+
* State or province abbreviation.
|
|
2161
2186
|
*/
|
|
2162
2187
|
state?: string;
|
|
2163
2188
|
/**
|
|
2164
|
-
* Team
|
|
2189
|
+
* Team name. Required unless `year` is specified.
|
|
2165
2190
|
*/
|
|
2166
2191
|
team?: string;
|
|
2167
2192
|
/**
|
|
2168
|
-
*
|
|
2193
|
+
* Recruiting class year. Required unless `team` is specified.
|
|
2169
2194
|
*/
|
|
2170
2195
|
year?: number;
|
|
2171
2196
|
};
|
|
@@ -2175,11 +2200,11 @@ export type GetRecruitsError = unknown;
|
|
|
2175
2200
|
export type GetTeamRecruitingRankingsData = {
|
|
2176
2201
|
query?: {
|
|
2177
2202
|
/**
|
|
2178
|
-
*
|
|
2203
|
+
* Team name.
|
|
2179
2204
|
*/
|
|
2180
2205
|
team?: string;
|
|
2181
2206
|
/**
|
|
2182
|
-
*
|
|
2207
|
+
* Recruiting class year.
|
|
2183
2208
|
*/
|
|
2184
2209
|
year?: number;
|
|
2185
2210
|
};
|
|
@@ -2189,37 +2214,55 @@ export type GetTeamRecruitingRankingsError = unknown;
|
|
|
2189
2214
|
export type GetAggregatedTeamRecruitingRatingsData = {
|
|
2190
2215
|
query?: {
|
|
2191
2216
|
/**
|
|
2192
|
-
*
|
|
2217
|
+
* Conference name or abbreviation.
|
|
2193
2218
|
*/
|
|
2194
2219
|
conference?: string;
|
|
2195
2220
|
/**
|
|
2196
|
-
*
|
|
2221
|
+
* Latest recruiting class year. Defaults to the current year.
|
|
2197
2222
|
*/
|
|
2198
2223
|
endYear?: number;
|
|
2199
2224
|
/**
|
|
2200
|
-
*
|
|
2225
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2201
2226
|
*/
|
|
2202
2227
|
recruitType?: RecruitClassification;
|
|
2203
2228
|
/**
|
|
2204
|
-
*
|
|
2229
|
+
* Earliest recruiting class year. Defaults to 2000.
|
|
2205
2230
|
*/
|
|
2206
2231
|
startYear?: number;
|
|
2207
2232
|
/**
|
|
2208
|
-
*
|
|
2233
|
+
* Team name.
|
|
2209
2234
|
*/
|
|
2210
2235
|
team?: string;
|
|
2211
2236
|
};
|
|
2212
2237
|
};
|
|
2213
2238
|
export type GetAggregatedTeamRecruitingRatingsResponse = (Array<AggregatedTeamRecruiting>);
|
|
2214
2239
|
export type GetAggregatedTeamRecruitingRatingsError = unknown;
|
|
2240
|
+
export type GetCoreData = {
|
|
2241
|
+
query?: {
|
|
2242
|
+
/**
|
|
2243
|
+
* Conference name or abbreviation.
|
|
2244
|
+
*/
|
|
2245
|
+
conference?: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Exact team name. Required unless `year` is specified.
|
|
2248
|
+
*/
|
|
2249
|
+
team?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Season year. Required unless `team` is specified.
|
|
2252
|
+
*/
|
|
2253
|
+
year?: number;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
export type GetCoreResponse = (Array<TeamCoreRating>);
|
|
2257
|
+
export type GetCoreError = unknown;
|
|
2215
2258
|
export type GetSpData = {
|
|
2216
2259
|
query?: {
|
|
2217
2260
|
/**
|
|
2218
|
-
* Team
|
|
2261
|
+
* Team name. Required unless `year` is specified.
|
|
2219
2262
|
*/
|
|
2220
2263
|
team?: string;
|
|
2221
2264
|
/**
|
|
2222
|
-
*
|
|
2265
|
+
* Season year. Required unless `team` is specified.
|
|
2223
2266
|
*/
|
|
2224
2267
|
year?: number;
|
|
2225
2268
|
};
|
|
@@ -2229,15 +2272,15 @@ export type GetSpError = unknown;
|
|
|
2229
2272
|
export type GetConferenceSpData = {
|
|
2230
2273
|
query?: {
|
|
2231
2274
|
/**
|
|
2232
|
-
*
|
|
2275
|
+
* Division classification. Defaults to `fbs`.
|
|
2233
2276
|
*/
|
|
2234
2277
|
classification?: DivisionClassification;
|
|
2235
2278
|
/**
|
|
2236
|
-
*
|
|
2279
|
+
* Conference name or abbreviation.
|
|
2237
2280
|
*/
|
|
2238
2281
|
conference?: string;
|
|
2239
2282
|
/**
|
|
2240
|
-
*
|
|
2283
|
+
* Season year.
|
|
2241
2284
|
*/
|
|
2242
2285
|
year?: number;
|
|
2243
2286
|
};
|
|
@@ -2247,15 +2290,15 @@ export type GetConferenceSpError = unknown;
|
|
|
2247
2290
|
export type GetSrsData = {
|
|
2248
2291
|
query?: {
|
|
2249
2292
|
/**
|
|
2250
|
-
*
|
|
2293
|
+
* Conference name or abbreviation.
|
|
2251
2294
|
*/
|
|
2252
2295
|
conference?: string;
|
|
2253
2296
|
/**
|
|
2254
|
-
* Team
|
|
2297
|
+
* Team name. Required unless `year` is specified.
|
|
2255
2298
|
*/
|
|
2256
2299
|
team?: string;
|
|
2257
2300
|
/**
|
|
2258
|
-
*
|
|
2301
|
+
* Season year. Required unless `team` is specified.
|
|
2259
2302
|
*/
|
|
2260
2303
|
year?: number;
|
|
2261
2304
|
};
|
|
@@ -2265,19 +2308,19 @@ export type GetSrsError = unknown;
|
|
|
2265
2308
|
export type GetExpandedSrsData = {
|
|
2266
2309
|
query?: {
|
|
2267
2310
|
/**
|
|
2268
|
-
*
|
|
2311
|
+
* Division classification: `fbs` or `fcs`.
|
|
2269
2312
|
*/
|
|
2270
2313
|
classification?: DivisionClassification;
|
|
2271
2314
|
/**
|
|
2272
|
-
*
|
|
2315
|
+
* Conference name or abbreviation.
|
|
2273
2316
|
*/
|
|
2274
2317
|
conference?: string;
|
|
2275
2318
|
/**
|
|
2276
|
-
* Team
|
|
2319
|
+
* Team name. Required unless `year` is specified.
|
|
2277
2320
|
*/
|
|
2278
2321
|
team?: string;
|
|
2279
2322
|
/**
|
|
2280
|
-
*
|
|
2323
|
+
* Season year. Required unless `team` is specified.
|
|
2281
2324
|
*/
|
|
2282
2325
|
year?: number;
|
|
2283
2326
|
};
|
|
@@ -2287,23 +2330,24 @@ export type GetExpandedSrsError = unknown;
|
|
|
2287
2330
|
export type GetEloData = {
|
|
2288
2331
|
query?: {
|
|
2289
2332
|
/**
|
|
2290
|
-
*
|
|
2333
|
+
* Conference name or abbreviation.
|
|
2291
2334
|
*/
|
|
2292
2335
|
conference?: string;
|
|
2293
2336
|
/**
|
|
2294
|
-
*
|
|
2337
|
+
* Season type.
|
|
2295
2338
|
*/
|
|
2296
2339
|
seasonType?: SeasonType;
|
|
2297
2340
|
/**
|
|
2298
|
-
*
|
|
2341
|
+
* Team name.
|
|
2299
2342
|
*/
|
|
2300
2343
|
team?: string;
|
|
2301
2344
|
/**
|
|
2302
|
-
*
|
|
2345
|
+
* Week number. Defaults to the latest available week in the
|
|
2346
|
+
* season.
|
|
2303
2347
|
*/
|
|
2304
2348
|
week?: number;
|
|
2305
2349
|
/**
|
|
2306
|
-
*
|
|
2350
|
+
* Season year.
|
|
2307
2351
|
*/
|
|
2308
2352
|
year?: number;
|
|
2309
2353
|
};
|
|
@@ -2313,15 +2357,15 @@ export type GetEloError = unknown;
|
|
|
2313
2357
|
export type GetFpiData = {
|
|
2314
2358
|
query?: {
|
|
2315
2359
|
/**
|
|
2316
|
-
*
|
|
2360
|
+
* Conference name or abbreviation.
|
|
2317
2361
|
*/
|
|
2318
2362
|
conference?: string;
|
|
2319
2363
|
/**
|
|
2320
|
-
*
|
|
2364
|
+
* Team name. Required unless `year` is specified.
|
|
2321
2365
|
*/
|
|
2322
2366
|
team?: string;
|
|
2323
2367
|
/**
|
|
2324
|
-
* year
|
|
2368
|
+
* Season year. Required unless `team` is specified.
|
|
2325
2369
|
*/
|
|
2326
2370
|
year?: number;
|
|
2327
2371
|
};
|
|
@@ -2331,27 +2375,30 @@ export type GetFpiError = unknown;
|
|
|
2331
2375
|
export type GetRankingsData = {
|
|
2332
2376
|
query: {
|
|
2333
2377
|
/**
|
|
2334
|
-
*
|
|
2378
|
+
* Returns the CFP snapshot marked as final when `true`. Requires
|
|
2379
|
+
* `poll=cfp` and cannot be combined with `latest`.
|
|
2335
2380
|
*/
|
|
2336
2381
|
final?: boolean;
|
|
2337
2382
|
/**
|
|
2338
|
-
*
|
|
2383
|
+
* Returns the latest CFP snapshot when `true`, preferring the
|
|
2384
|
+
* snapshot marked as final. Requires `poll=cfp` and cannot be combined with
|
|
2385
|
+
* `final`.
|
|
2339
2386
|
*/
|
|
2340
2387
|
latest?: boolean;
|
|
2341
2388
|
/**
|
|
2342
|
-
*
|
|
2389
|
+
* Poll name.
|
|
2343
2390
|
*/
|
|
2344
2391
|
poll?: RankingPoll;
|
|
2345
2392
|
/**
|
|
2346
|
-
*
|
|
2393
|
+
* Season type.
|
|
2347
2394
|
*/
|
|
2348
2395
|
seasonType?: SeasonType;
|
|
2349
2396
|
/**
|
|
2350
|
-
*
|
|
2397
|
+
* Poll week.
|
|
2351
2398
|
*/
|
|
2352
2399
|
week?: number;
|
|
2353
2400
|
/**
|
|
2354
|
-
*
|
|
2401
|
+
* Season year.
|
|
2355
2402
|
*/
|
|
2356
2403
|
year: number;
|
|
2357
2404
|
};
|
|
@@ -2363,47 +2410,47 @@ export type GetRankingsError = ({
|
|
|
2363
2410
|
export type GetPlaysData = {
|
|
2364
2411
|
query: {
|
|
2365
2412
|
/**
|
|
2366
|
-
*
|
|
2413
|
+
* Division classification of either team.
|
|
2367
2414
|
*/
|
|
2368
2415
|
classification?: DivisionClassification;
|
|
2369
2416
|
/**
|
|
2370
|
-
*
|
|
2417
|
+
* Conference of either team.
|
|
2371
2418
|
*/
|
|
2372
2419
|
conference?: string;
|
|
2373
2420
|
/**
|
|
2374
|
-
*
|
|
2421
|
+
* Defensive team name.
|
|
2375
2422
|
*/
|
|
2376
2423
|
defense?: string;
|
|
2377
2424
|
/**
|
|
2378
|
-
*
|
|
2425
|
+
* Defensive team conference.
|
|
2379
2426
|
*/
|
|
2380
2427
|
defenseConference?: string;
|
|
2381
2428
|
/**
|
|
2382
|
-
*
|
|
2429
|
+
* Offensive team name.
|
|
2383
2430
|
*/
|
|
2384
2431
|
offense?: string;
|
|
2385
2432
|
/**
|
|
2386
|
-
*
|
|
2433
|
+
* Offensive team conference.
|
|
2387
2434
|
*/
|
|
2388
2435
|
offenseConference?: string;
|
|
2389
2436
|
/**
|
|
2390
|
-
*
|
|
2437
|
+
* Play type abbreviation.
|
|
2391
2438
|
*/
|
|
2392
2439
|
playType?: string;
|
|
2393
2440
|
/**
|
|
2394
|
-
*
|
|
2441
|
+
* Season type.
|
|
2395
2442
|
*/
|
|
2396
2443
|
seasonType?: SeasonType;
|
|
2397
2444
|
/**
|
|
2398
|
-
*
|
|
2445
|
+
* Team name on either side of the play.
|
|
2399
2446
|
*/
|
|
2400
2447
|
team?: string;
|
|
2401
2448
|
/**
|
|
2402
|
-
*
|
|
2449
|
+
* Week number.
|
|
2403
2450
|
*/
|
|
2404
2451
|
week: number;
|
|
2405
2452
|
/**
|
|
2406
|
-
*
|
|
2453
|
+
* Season year.
|
|
2407
2454
|
*/
|
|
2408
2455
|
year: number;
|
|
2409
2456
|
};
|
|
@@ -2415,35 +2462,35 @@ export type GetPlayTypesError = unknown;
|
|
|
2415
2462
|
export type GetPlayStatsData = {
|
|
2416
2463
|
query?: {
|
|
2417
2464
|
/**
|
|
2418
|
-
*
|
|
2465
|
+
* Athlete ID.
|
|
2419
2466
|
*/
|
|
2420
2467
|
athleteId?: number;
|
|
2421
2468
|
/**
|
|
2422
|
-
*
|
|
2469
|
+
* Conference name or abbreviation.
|
|
2423
2470
|
*/
|
|
2424
2471
|
conference?: string;
|
|
2425
2472
|
/**
|
|
2426
|
-
*
|
|
2473
|
+
* Game ID.
|
|
2427
2474
|
*/
|
|
2428
2475
|
gameId?: number;
|
|
2429
2476
|
/**
|
|
2430
|
-
*
|
|
2477
|
+
* Season type.
|
|
2431
2478
|
*/
|
|
2432
2479
|
seasonType?: SeasonType;
|
|
2433
2480
|
/**
|
|
2434
|
-
*
|
|
2481
|
+
* Play stat type ID.
|
|
2435
2482
|
*/
|
|
2436
2483
|
statTypeId?: number;
|
|
2437
2484
|
/**
|
|
2438
|
-
*
|
|
2485
|
+
* Team name.
|
|
2439
2486
|
*/
|
|
2440
2487
|
team?: string;
|
|
2441
2488
|
/**
|
|
2442
|
-
*
|
|
2489
|
+
* Week number.
|
|
2443
2490
|
*/
|
|
2444
2491
|
week?: number;
|
|
2445
2492
|
/**
|
|
2446
|
-
*
|
|
2493
|
+
* Season year.
|
|
2447
2494
|
*/
|
|
2448
2495
|
year?: number;
|
|
2449
2496
|
};
|
|
@@ -2455,7 +2502,7 @@ export type GetPlayStatTypesError = unknown;
|
|
|
2455
2502
|
export type GetCfpPlayoffData = {
|
|
2456
2503
|
query: {
|
|
2457
2504
|
/**
|
|
2458
|
-
*
|
|
2505
|
+
* Season year.
|
|
2459
2506
|
*/
|
|
2460
2507
|
year: number;
|
|
2461
2508
|
};
|
|
@@ -2467,7 +2514,7 @@ export type GetCfpPlayoffError = ({
|
|
|
2467
2514
|
export type GetCfpParticipantsData = {
|
|
2468
2515
|
query: {
|
|
2469
2516
|
/**
|
|
2470
|
-
*
|
|
2517
|
+
* Season year.
|
|
2471
2518
|
*/
|
|
2472
2519
|
year: number;
|
|
2473
2520
|
};
|
|
@@ -2479,11 +2526,11 @@ export type GetCfpParticipantsError = ({
|
|
|
2479
2526
|
export type GetCfpGamesData = {
|
|
2480
2527
|
query: {
|
|
2481
2528
|
/**
|
|
2482
|
-
*
|
|
2529
|
+
* Playoff round.
|
|
2483
2530
|
*/
|
|
2484
2531
|
round?: PlayoffRound;
|
|
2485
2532
|
/**
|
|
2486
|
-
*
|
|
2533
|
+
* Season year.
|
|
2487
2534
|
*/
|
|
2488
2535
|
year: number;
|
|
2489
2536
|
};
|
|
@@ -2495,19 +2542,19 @@ export type GetCfpGamesError = ({
|
|
|
2495
2542
|
export type SearchPlayersData = {
|
|
2496
2543
|
query: {
|
|
2497
2544
|
/**
|
|
2498
|
-
*
|
|
2545
|
+
* Player position abbreviation.
|
|
2499
2546
|
*/
|
|
2500
2547
|
position?: string;
|
|
2501
2548
|
/**
|
|
2502
|
-
*
|
|
2549
|
+
* Full or partial player name.
|
|
2503
2550
|
*/
|
|
2504
2551
|
searchTerm: string;
|
|
2505
2552
|
/**
|
|
2506
|
-
*
|
|
2553
|
+
* Team name.
|
|
2507
2554
|
*/
|
|
2508
2555
|
team?: string;
|
|
2509
2556
|
/**
|
|
2510
|
-
*
|
|
2557
|
+
* Season year.
|
|
2511
2558
|
*/
|
|
2512
2559
|
year?: number;
|
|
2513
2560
|
};
|
|
@@ -2517,27 +2564,28 @@ export type SearchPlayersError = unknown;
|
|
|
2517
2564
|
export type GetPlayerUsageData = {
|
|
2518
2565
|
query: {
|
|
2519
2566
|
/**
|
|
2520
|
-
*
|
|
2567
|
+
* Conference abbreviation.
|
|
2521
2568
|
*/
|
|
2522
2569
|
conference?: string;
|
|
2523
2570
|
/**
|
|
2524
|
-
*
|
|
2571
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2572
|
+
* to `false`.
|
|
2525
2573
|
*/
|
|
2526
2574
|
excludeGarbageTime?: boolean;
|
|
2527
2575
|
/**
|
|
2528
|
-
*
|
|
2576
|
+
* Player ID.
|
|
2529
2577
|
*/
|
|
2530
2578
|
playerId?: number;
|
|
2531
2579
|
/**
|
|
2532
|
-
*
|
|
2580
|
+
* Player position abbreviation.
|
|
2533
2581
|
*/
|
|
2534
2582
|
position?: string;
|
|
2535
2583
|
/**
|
|
2536
|
-
*
|
|
2584
|
+
* Team name.
|
|
2537
2585
|
*/
|
|
2538
2586
|
team?: string;
|
|
2539
2587
|
/**
|
|
2540
|
-
*
|
|
2588
|
+
* Season year.
|
|
2541
2589
|
*/
|
|
2542
2590
|
year: number;
|
|
2543
2591
|
};
|
|
@@ -2547,11 +2595,11 @@ export type GetPlayerUsageError = unknown;
|
|
|
2547
2595
|
export type GetPlayerSeasonOverviewData = {
|
|
2548
2596
|
query: {
|
|
2549
2597
|
/**
|
|
2550
|
-
*
|
|
2598
|
+
* Player ID.
|
|
2551
2599
|
*/
|
|
2552
2600
|
playerId: number;
|
|
2553
2601
|
/**
|
|
2554
|
-
*
|
|
2602
|
+
* Season year.
|
|
2555
2603
|
*/
|
|
2556
2604
|
year: number;
|
|
2557
2605
|
};
|
|
@@ -2561,15 +2609,15 @@ export type GetPlayerSeasonOverviewError = unknown;
|
|
|
2561
2609
|
export type GetReturningProductionData = {
|
|
2562
2610
|
query?: {
|
|
2563
2611
|
/**
|
|
2564
|
-
*
|
|
2612
|
+
* Conference name or abbreviation.
|
|
2565
2613
|
*/
|
|
2566
2614
|
conference?: string;
|
|
2567
2615
|
/**
|
|
2568
|
-
* Team
|
|
2616
|
+
* Team name. Required unless `year` is specified.
|
|
2569
2617
|
*/
|
|
2570
2618
|
team?: string;
|
|
2571
2619
|
/**
|
|
2572
|
-
*
|
|
2620
|
+
* Season year. Required unless `team` is specified.
|
|
2573
2621
|
*/
|
|
2574
2622
|
year?: number;
|
|
2575
2623
|
};
|
|
@@ -2579,7 +2627,7 @@ export type GetReturningProductionError = unknown;
|
|
|
2579
2627
|
export type GetTransferPortalData = {
|
|
2580
2628
|
query: {
|
|
2581
2629
|
/**
|
|
2582
|
-
*
|
|
2630
|
+
* Season year.
|
|
2583
2631
|
*/
|
|
2584
2632
|
year: number;
|
|
2585
2633
|
};
|
|
@@ -2589,11 +2637,11 @@ export type GetTransferPortalError = unknown;
|
|
|
2589
2637
|
export type GetPredictedPointsData = {
|
|
2590
2638
|
query: {
|
|
2591
2639
|
/**
|
|
2592
|
-
* Distance
|
|
2640
|
+
* Distance to gain, in yards.
|
|
2593
2641
|
*/
|
|
2594
2642
|
distance: number;
|
|
2595
2643
|
/**
|
|
2596
|
-
* Down
|
|
2644
|
+
* Down number.
|
|
2597
2645
|
*/
|
|
2598
2646
|
down: number;
|
|
2599
2647
|
};
|
|
@@ -2603,23 +2651,23 @@ export type GetPredictedPointsError = unknown;
|
|
|
2603
2651
|
export type GetPredictedPointsAddedByTeamData = {
|
|
2604
2652
|
query?: {
|
|
2605
2653
|
/**
|
|
2606
|
-
*
|
|
2654
|
+
* Division classification. Defaults to `fbs`.
|
|
2607
2655
|
*/
|
|
2608
2656
|
classification?: DivisionClassification;
|
|
2609
2657
|
/**
|
|
2610
|
-
* Conference abbreviation
|
|
2658
|
+
* Conference abbreviation.
|
|
2611
2659
|
*/
|
|
2612
2660
|
conference?: string;
|
|
2613
2661
|
/**
|
|
2614
|
-
*
|
|
2662
|
+
* Excludes garbage-time plays when `true`.
|
|
2615
2663
|
*/
|
|
2616
2664
|
excludeGarbageTime?: boolean;
|
|
2617
2665
|
/**
|
|
2618
|
-
* Team
|
|
2666
|
+
* Team name. Required unless `year` is specified.
|
|
2619
2667
|
*/
|
|
2620
2668
|
team?: string;
|
|
2621
2669
|
/**
|
|
2622
|
-
*
|
|
2670
|
+
* Season year. Required unless `team` is specified.
|
|
2623
2671
|
*/
|
|
2624
2672
|
year?: number;
|
|
2625
2673
|
};
|
|
@@ -2629,31 +2677,31 @@ export type GetPredictedPointsAddedByTeamError = unknown;
|
|
|
2629
2677
|
export type GetPredictedPointsAddedByGameData = {
|
|
2630
2678
|
query: {
|
|
2631
2679
|
/**
|
|
2632
|
-
*
|
|
2680
|
+
* Division classification. Defaults to `fbs`.
|
|
2633
2681
|
*/
|
|
2634
2682
|
classification?: DivisionClassification;
|
|
2635
2683
|
/**
|
|
2636
|
-
*
|
|
2684
|
+
* Conference abbreviation.
|
|
2637
2685
|
*/
|
|
2638
2686
|
conference?: string;
|
|
2639
2687
|
/**
|
|
2640
|
-
*
|
|
2688
|
+
* Excludes garbage-time plays when `true`.
|
|
2641
2689
|
*/
|
|
2642
2690
|
excludeGarbageTime?: boolean;
|
|
2643
2691
|
/**
|
|
2644
|
-
*
|
|
2692
|
+
* Season type.
|
|
2645
2693
|
*/
|
|
2646
2694
|
seasonType?: SeasonType;
|
|
2647
2695
|
/**
|
|
2648
|
-
*
|
|
2696
|
+
* Team name.
|
|
2649
2697
|
*/
|
|
2650
2698
|
team?: string;
|
|
2651
2699
|
/**
|
|
2652
|
-
*
|
|
2700
|
+
* Week number.
|
|
2653
2701
|
*/
|
|
2654
2702
|
week?: number;
|
|
2655
2703
|
/**
|
|
2656
|
-
*
|
|
2704
|
+
* Season year.
|
|
2657
2705
|
*/
|
|
2658
2706
|
year: number;
|
|
2659
2707
|
};
|
|
@@ -2663,35 +2711,35 @@ export type GetPredictedPointsAddedByGameError = unknown;
|
|
|
2663
2711
|
export type GetPredictedPointsAddedByPlayerGameData = {
|
|
2664
2712
|
query: {
|
|
2665
2713
|
/**
|
|
2666
|
-
*
|
|
2714
|
+
* Excludes garbage-time plays when `true`.
|
|
2667
2715
|
*/
|
|
2668
2716
|
excludeGarbageTime?: boolean;
|
|
2669
2717
|
/**
|
|
2670
|
-
*
|
|
2718
|
+
* Player ID.
|
|
2671
2719
|
*/
|
|
2672
2720
|
playerId?: string;
|
|
2673
2721
|
/**
|
|
2674
|
-
*
|
|
2722
|
+
* Player position abbreviation.
|
|
2675
2723
|
*/
|
|
2676
2724
|
position?: string;
|
|
2677
2725
|
/**
|
|
2678
|
-
*
|
|
2726
|
+
* Season type.
|
|
2679
2727
|
*/
|
|
2680
2728
|
seasonType?: SeasonType;
|
|
2681
2729
|
/**
|
|
2682
|
-
* Team
|
|
2730
|
+
* Team name. Required unless `week` is specified.
|
|
2683
2731
|
*/
|
|
2684
2732
|
team?: string;
|
|
2685
2733
|
/**
|
|
2686
|
-
*
|
|
2734
|
+
* Minimum number of plays.
|
|
2687
2735
|
*/
|
|
2688
2736
|
threshold?: number;
|
|
2689
2737
|
/**
|
|
2690
|
-
* Week
|
|
2738
|
+
* Week number. Required unless `team` is specified.
|
|
2691
2739
|
*/
|
|
2692
2740
|
week?: number;
|
|
2693
2741
|
/**
|
|
2694
|
-
*
|
|
2742
|
+
* Season year.
|
|
2695
2743
|
*/
|
|
2696
2744
|
year: number;
|
|
2697
2745
|
};
|
|
@@ -2701,31 +2749,31 @@ export type GetPredictedPointsAddedByPlayerGameError = unknown;
|
|
|
2701
2749
|
export type GetPredictedPointsAddedByPlayerSeasonData = {
|
|
2702
2750
|
query?: {
|
|
2703
2751
|
/**
|
|
2704
|
-
*
|
|
2752
|
+
* Conference abbreviation.
|
|
2705
2753
|
*/
|
|
2706
2754
|
conference?: string;
|
|
2707
2755
|
/**
|
|
2708
|
-
*
|
|
2756
|
+
* Excludes garbage-time plays when `true`.
|
|
2709
2757
|
*/
|
|
2710
2758
|
excludeGarbageTime?: boolean;
|
|
2711
2759
|
/**
|
|
2712
|
-
* Player ID
|
|
2760
|
+
* Player ID. Required unless `year` is specified.
|
|
2713
2761
|
*/
|
|
2714
2762
|
playerId?: string;
|
|
2715
2763
|
/**
|
|
2716
|
-
*
|
|
2764
|
+
* Player position abbreviation.
|
|
2717
2765
|
*/
|
|
2718
2766
|
position?: string;
|
|
2719
2767
|
/**
|
|
2720
|
-
*
|
|
2768
|
+
* Team name.
|
|
2721
2769
|
*/
|
|
2722
2770
|
team?: string;
|
|
2723
2771
|
/**
|
|
2724
|
-
*
|
|
2772
|
+
* Minimum number of plays.
|
|
2725
2773
|
*/
|
|
2726
2774
|
threshold?: number;
|
|
2727
2775
|
/**
|
|
2728
|
-
*
|
|
2776
|
+
* Season year. Required unless `playerId` is specified.
|
|
2729
2777
|
*/
|
|
2730
2778
|
year?: number;
|
|
2731
2779
|
};
|
|
@@ -2735,7 +2783,7 @@ export type GetPredictedPointsAddedByPlayerSeasonError = unknown;
|
|
|
2735
2783
|
export type GetWinProbabilityData = {
|
|
2736
2784
|
query: {
|
|
2737
2785
|
/**
|
|
2738
|
-
*
|
|
2786
|
+
* Game ID.
|
|
2739
2787
|
*/
|
|
2740
2788
|
gameId: number;
|
|
2741
2789
|
};
|
|
@@ -2745,19 +2793,19 @@ export type GetWinProbabilityError = unknown;
|
|
|
2745
2793
|
export type GetPregameWinProbabilitiesData = {
|
|
2746
2794
|
query?: {
|
|
2747
2795
|
/**
|
|
2748
|
-
*
|
|
2796
|
+
* Season type.
|
|
2749
2797
|
*/
|
|
2750
2798
|
seasonType?: SeasonType;
|
|
2751
2799
|
/**
|
|
2752
|
-
*
|
|
2800
|
+
* Team name.
|
|
2753
2801
|
*/
|
|
2754
2802
|
team?: string;
|
|
2755
2803
|
/**
|
|
2756
|
-
*
|
|
2804
|
+
* Week number.
|
|
2757
2805
|
*/
|
|
2758
2806
|
week?: number;
|
|
2759
2807
|
/**
|
|
2760
|
-
*
|
|
2808
|
+
* Season year.
|
|
2761
2809
|
*/
|
|
2762
2810
|
year?: number;
|
|
2763
2811
|
};
|
|
@@ -2769,7 +2817,7 @@ export type GetFieldGoalExpectedPointsError = unknown;
|
|
|
2769
2817
|
export type GetLivePlaysData = {
|
|
2770
2818
|
query: {
|
|
2771
2819
|
/**
|
|
2772
|
-
* Game
|
|
2820
|
+
* Game ID.
|
|
2773
2821
|
*/
|
|
2774
2822
|
gameId: number;
|
|
2775
2823
|
};
|
|
@@ -2779,39 +2827,39 @@ export type GetLivePlaysError = unknown;
|
|
|
2779
2827
|
export type GetLinesData = {
|
|
2780
2828
|
query?: {
|
|
2781
2829
|
/**
|
|
2782
|
-
*
|
|
2830
|
+
* Away team name.
|
|
2783
2831
|
*/
|
|
2784
2832
|
away?: string;
|
|
2785
2833
|
/**
|
|
2786
|
-
*
|
|
2834
|
+
* Conference of either team.
|
|
2787
2835
|
*/
|
|
2788
2836
|
conference?: string;
|
|
2789
2837
|
/**
|
|
2790
|
-
*
|
|
2838
|
+
* Game ID.
|
|
2791
2839
|
*/
|
|
2792
2840
|
gameId?: number;
|
|
2793
2841
|
/**
|
|
2794
|
-
*
|
|
2842
|
+
* Home team name.
|
|
2795
2843
|
*/
|
|
2796
2844
|
home?: string;
|
|
2797
2845
|
/**
|
|
2798
|
-
*
|
|
2846
|
+
* Betting line provider.
|
|
2799
2847
|
*/
|
|
2800
2848
|
provider?: string;
|
|
2801
2849
|
/**
|
|
2802
|
-
*
|
|
2850
|
+
* Season type.
|
|
2803
2851
|
*/
|
|
2804
2852
|
seasonType?: SeasonType;
|
|
2805
2853
|
/**
|
|
2806
|
-
*
|
|
2854
|
+
* Team name on either side of the game.
|
|
2807
2855
|
*/
|
|
2808
2856
|
team?: string;
|
|
2809
2857
|
/**
|
|
2810
|
-
*
|
|
2858
|
+
* Week number.
|
|
2811
2859
|
*/
|
|
2812
2860
|
week?: number;
|
|
2813
2861
|
/**
|
|
2814
|
-
*
|
|
2862
|
+
* Season year. Required unless `gameId` is specified.
|
|
2815
2863
|
*/
|
|
2816
2864
|
year?: number;
|
|
2817
2865
|
};
|
|
@@ -2823,15 +2871,16 @@ export type GetUserInfoError = unknown;
|
|
|
2823
2871
|
export type GetUsageData = {
|
|
2824
2872
|
query?: {
|
|
2825
2873
|
/**
|
|
2826
|
-
*
|
|
2874
|
+
* API to include: `all`, `cfb`, or `cbb`.
|
|
2827
2875
|
*/
|
|
2828
2876
|
api?: UserUsageApi;
|
|
2829
2877
|
/**
|
|
2830
|
-
*
|
|
2878
|
+
* Trailing days to include. Defaults to 7; maximum 31.
|
|
2831
2879
|
*/
|
|
2832
2880
|
days?: number;
|
|
2833
2881
|
/**
|
|
2834
|
-
*
|
|
2882
|
+
* Maximum endpoint and request rows to return. Defaults to 10;
|
|
2883
|
+
* maximum 50.
|
|
2835
2884
|
*/
|
|
2836
2885
|
limit?: number;
|
|
2837
2886
|
};
|
|
@@ -2841,47 +2890,47 @@ export type GetUsageError = unknown;
|
|
|
2841
2890
|
export type GetGamesData = {
|
|
2842
2891
|
query?: {
|
|
2843
2892
|
/**
|
|
2844
|
-
*
|
|
2893
|
+
* Away team name.
|
|
2845
2894
|
*/
|
|
2846
2895
|
away?: string;
|
|
2847
2896
|
/**
|
|
2848
|
-
*
|
|
2897
|
+
* Division classification.
|
|
2849
2898
|
*/
|
|
2850
2899
|
classification?: DivisionClassification;
|
|
2851
2900
|
/**
|
|
2852
|
-
*
|
|
2901
|
+
* Playoff competition.
|
|
2853
2902
|
*/
|
|
2854
2903
|
competition?: PlayoffCompetition;
|
|
2855
2904
|
/**
|
|
2856
|
-
*
|
|
2905
|
+
* Conference of either team.
|
|
2857
2906
|
*/
|
|
2858
2907
|
conference?: string;
|
|
2859
2908
|
/**
|
|
2860
|
-
*
|
|
2909
|
+
* Home team name.
|
|
2861
2910
|
*/
|
|
2862
2911
|
home?: string;
|
|
2863
2912
|
/**
|
|
2864
|
-
* Game
|
|
2913
|
+
* Game ID. When specified, returns data for that game.
|
|
2865
2914
|
*/
|
|
2866
2915
|
id?: number;
|
|
2867
2916
|
/**
|
|
2868
|
-
*
|
|
2917
|
+
* Playoff round. Requires `competition`.
|
|
2869
2918
|
*/
|
|
2870
2919
|
round?: PlayoffRound;
|
|
2871
2920
|
/**
|
|
2872
|
-
*
|
|
2921
|
+
* Season type.
|
|
2873
2922
|
*/
|
|
2874
2923
|
seasonType?: SeasonType;
|
|
2875
2924
|
/**
|
|
2876
|
-
*
|
|
2925
|
+
* Team name on either side of the game.
|
|
2877
2926
|
*/
|
|
2878
2927
|
team?: string;
|
|
2879
2928
|
/**
|
|
2880
|
-
*
|
|
2929
|
+
* Week number.
|
|
2881
2930
|
*/
|
|
2882
2931
|
week?: number;
|
|
2883
2932
|
/**
|
|
2884
|
-
*
|
|
2933
|
+
* Season year. Required unless `id` is specified.
|
|
2885
2934
|
*/
|
|
2886
2935
|
year?: number;
|
|
2887
2936
|
};
|
|
@@ -2893,31 +2942,34 @@ export type GetGamesError = ({
|
|
|
2893
2942
|
export type GetGameTeamStatsData = {
|
|
2894
2943
|
query?: {
|
|
2895
2944
|
/**
|
|
2896
|
-
*
|
|
2945
|
+
* Division classification.
|
|
2897
2946
|
*/
|
|
2898
2947
|
classification?: DivisionClassification;
|
|
2899
2948
|
/**
|
|
2900
|
-
*
|
|
2949
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
2950
|
+
* or `conference` is required when filtering by year.
|
|
2901
2951
|
*/
|
|
2902
2952
|
conference?: string;
|
|
2903
2953
|
/**
|
|
2904
|
-
*
|
|
2954
|
+
* Game ID. When specified, returns statistics for that game.
|
|
2905
2955
|
*/
|
|
2906
2956
|
id?: number;
|
|
2907
2957
|
/**
|
|
2908
|
-
*
|
|
2958
|
+
* Season type.
|
|
2909
2959
|
*/
|
|
2910
2960
|
seasonType?: SeasonType;
|
|
2911
2961
|
/**
|
|
2912
|
-
*
|
|
2962
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
2963
|
+
* when filtering by year.
|
|
2913
2964
|
*/
|
|
2914
2965
|
team?: string;
|
|
2915
2966
|
/**
|
|
2916
|
-
*
|
|
2967
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
2968
|
+
* when filtering by year.
|
|
2917
2969
|
*/
|
|
2918
2970
|
week?: number;
|
|
2919
2971
|
/**
|
|
2920
|
-
*
|
|
2972
|
+
* Season year. Required unless `id` is specified.
|
|
2921
2973
|
*/
|
|
2922
2974
|
year?: number;
|
|
2923
2975
|
};
|
|
@@ -2927,35 +2979,38 @@ export type GetGameTeamStatsError = unknown;
|
|
|
2927
2979
|
export type GetGamePlayerStatsData = {
|
|
2928
2980
|
query?: {
|
|
2929
2981
|
/**
|
|
2930
|
-
*
|
|
2982
|
+
* Player statistical category.
|
|
2931
2983
|
*/
|
|
2932
2984
|
category?: string;
|
|
2933
2985
|
/**
|
|
2934
|
-
*
|
|
2986
|
+
* Division classification.
|
|
2935
2987
|
*/
|
|
2936
2988
|
classification?: DivisionClassification;
|
|
2937
2989
|
/**
|
|
2938
|
-
*
|
|
2990
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
2991
|
+
* or `conference` is required when filtering by year.
|
|
2939
2992
|
*/
|
|
2940
2993
|
conference?: string;
|
|
2941
2994
|
/**
|
|
2942
|
-
*
|
|
2995
|
+
* Game ID. When specified, returns statistics for that game.
|
|
2943
2996
|
*/
|
|
2944
2997
|
id?: number;
|
|
2945
2998
|
/**
|
|
2946
|
-
*
|
|
2999
|
+
* Season type.
|
|
2947
3000
|
*/
|
|
2948
3001
|
seasonType?: SeasonType;
|
|
2949
3002
|
/**
|
|
2950
|
-
*
|
|
3003
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
3004
|
+
* when filtering by year.
|
|
2951
3005
|
*/
|
|
2952
3006
|
team?: string;
|
|
2953
3007
|
/**
|
|
2954
|
-
*
|
|
3008
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
3009
|
+
* when filtering by year.
|
|
2955
3010
|
*/
|
|
2956
3011
|
week?: number;
|
|
2957
3012
|
/**
|
|
2958
|
-
*
|
|
3013
|
+
* Season year. Required unless `id` is specified.
|
|
2959
3014
|
*/
|
|
2960
3015
|
year?: number;
|
|
2961
3016
|
};
|
|
@@ -2965,31 +3020,31 @@ export type GetGamePlayerStatsError = unknown;
|
|
|
2965
3020
|
export type GetMediaData = {
|
|
2966
3021
|
query: {
|
|
2967
3022
|
/**
|
|
2968
|
-
*
|
|
3023
|
+
* Division classification.
|
|
2969
3024
|
*/
|
|
2970
3025
|
classification?: DivisionClassification;
|
|
2971
3026
|
/**
|
|
2972
|
-
*
|
|
3027
|
+
* Conference name or abbreviation.
|
|
2973
3028
|
*/
|
|
2974
3029
|
conference?: string;
|
|
2975
3030
|
/**
|
|
2976
|
-
*
|
|
3031
|
+
* Media type.
|
|
2977
3032
|
*/
|
|
2978
3033
|
mediaType?: MediaType;
|
|
2979
3034
|
/**
|
|
2980
|
-
*
|
|
3035
|
+
* Season type.
|
|
2981
3036
|
*/
|
|
2982
3037
|
seasonType?: SeasonType;
|
|
2983
3038
|
/**
|
|
2984
|
-
*
|
|
3039
|
+
* Team name.
|
|
2985
3040
|
*/
|
|
2986
3041
|
team?: string;
|
|
2987
3042
|
/**
|
|
2988
|
-
*
|
|
3043
|
+
* Week number.
|
|
2989
3044
|
*/
|
|
2990
3045
|
week?: number;
|
|
2991
3046
|
/**
|
|
2992
|
-
*
|
|
3047
|
+
* Season year.
|
|
2993
3048
|
*/
|
|
2994
3049
|
year: number;
|
|
2995
3050
|
};
|
|
@@ -2999,31 +3054,31 @@ export type GetMediaError = unknown;
|
|
|
2999
3054
|
export type GetWeatherData = {
|
|
3000
3055
|
query?: {
|
|
3001
3056
|
/**
|
|
3002
|
-
*
|
|
3057
|
+
* Division classification.
|
|
3003
3058
|
*/
|
|
3004
3059
|
classification?: DivisionClassification;
|
|
3005
3060
|
/**
|
|
3006
|
-
*
|
|
3061
|
+
* Conference name or abbreviation.
|
|
3007
3062
|
*/
|
|
3008
3063
|
conference?: string;
|
|
3009
3064
|
/**
|
|
3010
|
-
*
|
|
3065
|
+
* Game ID. When specified, returns weather for that game.
|
|
3011
3066
|
*/
|
|
3012
3067
|
gameId?: number;
|
|
3013
3068
|
/**
|
|
3014
|
-
*
|
|
3069
|
+
* Season type.
|
|
3015
3070
|
*/
|
|
3016
3071
|
seasonType?: SeasonType;
|
|
3017
3072
|
/**
|
|
3018
|
-
*
|
|
3073
|
+
* Team name.
|
|
3019
3074
|
*/
|
|
3020
3075
|
team?: string;
|
|
3021
3076
|
/**
|
|
3022
|
-
*
|
|
3077
|
+
* Week number.
|
|
3023
3078
|
*/
|
|
3024
3079
|
week?: number;
|
|
3025
3080
|
/**
|
|
3026
|
-
*
|
|
3081
|
+
* Season year. Required unless `gameId` is specified.
|
|
3027
3082
|
*/
|
|
3028
3083
|
year?: number;
|
|
3029
3084
|
};
|
|
@@ -3033,15 +3088,15 @@ export type GetWeatherError = unknown;
|
|
|
3033
3088
|
export type GetRecordsData = {
|
|
3034
3089
|
query?: {
|
|
3035
3090
|
/**
|
|
3036
|
-
*
|
|
3091
|
+
* Conference name or abbreviation.
|
|
3037
3092
|
*/
|
|
3038
3093
|
conference?: string;
|
|
3039
3094
|
/**
|
|
3040
|
-
* Team
|
|
3095
|
+
* Team name. Required unless `year` is specified.
|
|
3041
3096
|
*/
|
|
3042
3097
|
team?: string;
|
|
3043
3098
|
/**
|
|
3044
|
-
*
|
|
3099
|
+
* Season year. Required unless `team` is specified.
|
|
3045
3100
|
*/
|
|
3046
3101
|
year?: number;
|
|
3047
3102
|
};
|
|
@@ -3051,7 +3106,7 @@ export type GetRecordsError = unknown;
|
|
|
3051
3106
|
export type GetCalendarData = {
|
|
3052
3107
|
query: {
|
|
3053
3108
|
/**
|
|
3054
|
-
*
|
|
3109
|
+
* Season year.
|
|
3055
3110
|
*/
|
|
3056
3111
|
year: number;
|
|
3057
3112
|
};
|
|
@@ -3061,11 +3116,11 @@ export type GetCalendarError = unknown;
|
|
|
3061
3116
|
export type GetScoreboardData = {
|
|
3062
3117
|
query?: {
|
|
3063
3118
|
/**
|
|
3064
|
-
*
|
|
3119
|
+
* Division classification. Defaults to `fbs`.
|
|
3065
3120
|
*/
|
|
3066
3121
|
classification?: DivisionClassification;
|
|
3067
3122
|
/**
|
|
3068
|
-
*
|
|
3123
|
+
* Conference name or abbreviation.
|
|
3069
3124
|
*/
|
|
3070
3125
|
conference?: string;
|
|
3071
3126
|
};
|
|
@@ -3075,43 +3130,43 @@ export type GetScoreboardError = unknown;
|
|
|
3075
3130
|
export type GetDrivesData = {
|
|
3076
3131
|
query: {
|
|
3077
3132
|
/**
|
|
3078
|
-
*
|
|
3133
|
+
* Division classification of either team.
|
|
3079
3134
|
*/
|
|
3080
3135
|
classification?: DivisionClassification;
|
|
3081
3136
|
/**
|
|
3082
|
-
*
|
|
3137
|
+
* Conference of either team.
|
|
3083
3138
|
*/
|
|
3084
3139
|
conference?: string;
|
|
3085
3140
|
/**
|
|
3086
|
-
*
|
|
3141
|
+
* Defensive team name.
|
|
3087
3142
|
*/
|
|
3088
3143
|
defense?: string;
|
|
3089
3144
|
/**
|
|
3090
|
-
*
|
|
3145
|
+
* Defensive team conference.
|
|
3091
3146
|
*/
|
|
3092
3147
|
defenseConference?: string;
|
|
3093
3148
|
/**
|
|
3094
|
-
*
|
|
3149
|
+
* Offensive team name.
|
|
3095
3150
|
*/
|
|
3096
3151
|
offense?: string;
|
|
3097
3152
|
/**
|
|
3098
|
-
*
|
|
3153
|
+
* Offensive team conference.
|
|
3099
3154
|
*/
|
|
3100
3155
|
offenseConference?: string;
|
|
3101
3156
|
/**
|
|
3102
|
-
*
|
|
3157
|
+
* Season type.
|
|
3103
3158
|
*/
|
|
3104
3159
|
seasonType?: SeasonType;
|
|
3105
3160
|
/**
|
|
3106
|
-
*
|
|
3161
|
+
* Team name on either side of the drive.
|
|
3107
3162
|
*/
|
|
3108
3163
|
team?: string;
|
|
3109
3164
|
/**
|
|
3110
|
-
*
|
|
3165
|
+
* Week number.
|
|
3111
3166
|
*/
|
|
3112
3167
|
week?: number;
|
|
3113
3168
|
/**
|
|
3114
|
-
*
|
|
3169
|
+
* Season year.
|
|
3115
3170
|
*/
|
|
3116
3171
|
year: number;
|
|
3117
3172
|
};
|
|
@@ -3125,23 +3180,23 @@ export type GetDraftPositionsError = unknown;
|
|
|
3125
3180
|
export type GetDraftPicksData = {
|
|
3126
3181
|
query?: {
|
|
3127
3182
|
/**
|
|
3128
|
-
*
|
|
3183
|
+
* College conference name or abbreviation.
|
|
3129
3184
|
*/
|
|
3130
3185
|
conference?: string;
|
|
3131
3186
|
/**
|
|
3132
|
-
*
|
|
3187
|
+
* Position category.
|
|
3133
3188
|
*/
|
|
3134
3189
|
position?: string;
|
|
3135
3190
|
/**
|
|
3136
|
-
*
|
|
3191
|
+
* College team name.
|
|
3137
3192
|
*/
|
|
3138
3193
|
school?: string;
|
|
3139
3194
|
/**
|
|
3140
|
-
*
|
|
3195
|
+
* NFL team name.
|
|
3141
3196
|
*/
|
|
3142
3197
|
team?: string;
|
|
3143
3198
|
/**
|
|
3144
|
-
*
|
|
3199
|
+
* Draft year.
|
|
3145
3200
|
*/
|
|
3146
3201
|
year?: number;
|
|
3147
3202
|
};
|
|
@@ -3151,27 +3206,27 @@ export type GetDraftPicksError = unknown;
|
|
|
3151
3206
|
export type GetCoachesData = {
|
|
3152
3207
|
query?: {
|
|
3153
3208
|
/**
|
|
3154
|
-
*
|
|
3209
|
+
* Coach first name.
|
|
3155
3210
|
*/
|
|
3156
3211
|
firstName?: string;
|
|
3157
3212
|
/**
|
|
3158
|
-
*
|
|
3213
|
+
* Coach last name.
|
|
3159
3214
|
*/
|
|
3160
3215
|
lastName?: string;
|
|
3161
3216
|
/**
|
|
3162
|
-
*
|
|
3217
|
+
* Latest season year to include.
|
|
3163
3218
|
*/
|
|
3164
3219
|
maxYear?: number;
|
|
3165
3220
|
/**
|
|
3166
|
-
*
|
|
3221
|
+
* Earliest season year to include.
|
|
3167
3222
|
*/
|
|
3168
3223
|
minYear?: number;
|
|
3169
3224
|
/**
|
|
3170
|
-
*
|
|
3225
|
+
* Team name.
|
|
3171
3226
|
*/
|
|
3172
3227
|
team?: string;
|
|
3173
3228
|
/**
|
|
3174
|
-
*
|
|
3229
|
+
* Season year.
|
|
3175
3230
|
*/
|
|
3176
3231
|
year?: number;
|
|
3177
3232
|
};
|
|
@@ -3181,7 +3236,7 @@ export type GetCoachesError = unknown;
|
|
|
3181
3236
|
export type GetCoachProfileData = {
|
|
3182
3237
|
query: {
|
|
3183
3238
|
/**
|
|
3184
|
-
*
|
|
3239
|
+
* Coach ID.
|
|
3185
3240
|
*/
|
|
3186
3241
|
coachId: number;
|
|
3187
3242
|
};
|
|
@@ -3193,23 +3248,23 @@ export type GetCoachProfileError = ({
|
|
|
3193
3248
|
export type GetCoachSeasonsData = {
|
|
3194
3249
|
query?: {
|
|
3195
3250
|
/**
|
|
3196
|
-
*
|
|
3251
|
+
* Coach ID.
|
|
3197
3252
|
*/
|
|
3198
3253
|
coachId?: number;
|
|
3199
3254
|
/**
|
|
3200
|
-
*
|
|
3255
|
+
* Latest season year to include.
|
|
3201
3256
|
*/
|
|
3202
3257
|
maxYear?: number;
|
|
3203
3258
|
/**
|
|
3204
|
-
*
|
|
3259
|
+
* Earliest season year to include.
|
|
3205
3260
|
*/
|
|
3206
3261
|
minYear?: number;
|
|
3207
3262
|
/**
|
|
3208
|
-
*
|
|
3263
|
+
* Team name.
|
|
3209
3264
|
*/
|
|
3210
3265
|
team?: string;
|
|
3211
3266
|
/**
|
|
3212
|
-
*
|
|
3267
|
+
* Exact season year.
|
|
3213
3268
|
*/
|
|
3214
3269
|
year?: number;
|
|
3215
3270
|
};
|
|
@@ -3221,19 +3276,19 @@ export type GetCoachSeasonsError = ({
|
|
|
3221
3276
|
export type GetCoachTenuresData = {
|
|
3222
3277
|
query?: {
|
|
3223
3278
|
/**
|
|
3224
|
-
*
|
|
3279
|
+
* Filters by active status when specified.
|
|
3225
3280
|
*/
|
|
3226
3281
|
active?: boolean;
|
|
3227
3282
|
/**
|
|
3228
|
-
*
|
|
3283
|
+
* Coach ID.
|
|
3229
3284
|
*/
|
|
3230
3285
|
coachId?: number;
|
|
3231
3286
|
/**
|
|
3232
|
-
*
|
|
3287
|
+
* Team name.
|
|
3233
3288
|
*/
|
|
3234
3289
|
team?: string;
|
|
3235
3290
|
/**
|
|
3236
|
-
*
|
|
3291
|
+
* Season year contained within the tenure.
|
|
3237
3292
|
*/
|
|
3238
3293
|
year?: number;
|
|
3239
3294
|
};
|
|
@@ -3245,7 +3300,7 @@ export type GetCoachTenuresError = ({
|
|
|
3245
3300
|
export type GetAdvancedBoxScoreData = {
|
|
3246
3301
|
query: {
|
|
3247
3302
|
/**
|
|
3248
|
-
*
|
|
3303
|
+
* Game ID.
|
|
3249
3304
|
*/
|
|
3250
3305
|
id: number;
|
|
3251
3306
|
};
|