Module: types#

Table of contents#

Interfaces#

Type aliases#

ActiveChipDelegate#

Ƭ ActiveChipDelegate: { event: number ; name?: ChipTypesDelegate }

Type declaration:#

NameType
eventnumber
name?ChipTypesDelegate

Defined in: types/index.ts:92


ActiveChipsDelegate#

Ƭ ActiveChipsDelegate: ActiveChipDelegate[]

Defined in: types/index.ts:97


AutomaticSubsDelegate#

Ƭ AutomaticSubsDelegate: { [key: number]: SubstitutionDelegate[]; }

Defined in: types/index.ts:103


AwayHomeStatType#

Ƭ AwayHomeStatType: { element?: number ; value?: number }

Type declaration:#

NameType
element?number
value?number

Defined in: types/index.ts:241


ChipHistoryDelegate#

Ƭ ChipHistoryDelegate: { event: number ; name: ChipTypesDelegate ; time: Date | null }

Type declaration:#

NameType
eventnumber
nameChipTypesDelegate
timeDate | null

Defined in: types/index.ts:84


ChipTypesDelegate#

Ƭ ChipTypesDelegate: keyof typeof ChipTypes

Defined in: types/index.ts:70


ChipsHistoryDelegate#

Ƭ ChipsHistoryDelegate: ChipHistoryDelegate[]

Defined in: types/index.ts:90


ChipsPlayDelegate#

Ƭ ChipsPlayDelegate: { chip_name?: ChipTypesDelegate ; num_played?: number }

Type declaration:#

NameType
chip_name?ChipTypesDelegate
num_played?number

Defined in: types/index.ts:343


ClassicLeagueDelegate#

Ƭ ClassicLeagueDelegate: { league: LeagueDetailDelegate ; new_entries: NewEntryDelegate ; standings: LeagueStandingDelegate }

Type declaration:#

NameType
leagueLeagueDetailDelegate
new_entriesNewEntryDelegate
standingsLeagueStandingDelegate

Defined in: types/index.ts:585


ClassicLeagueResp#

Ƭ ClassicLeagueResp: { data: ClassicLeagueDelegate }

Type declaration:#

NameType
dataClassicLeagueDelegate

Defined in: types/index.ts:591


ClassicLeaugesDelegate#

Ƭ ClassicLeaugesDelegate: { [key: number]: ClassicLeagueDelegate; }

Defined in: types/index.ts:595


CupMatchDelegate#

Ƭ CupMatchDelegate: { entry_1_draw: number ; entry_1_entry: number ; entry_1_loss: number ; entry_1_name: string ; entry_1_player_name: string ; entry_1_points: number ; entry_1_total: number ; entry_1_win: number ; entry_2_draw: number ; entry_2_entry: number ; entry_2_loss: number ; entry_2_name: string ; entry_2_player_name: string ; entry_2_points: number ; entry_2_total: number ; entry_2_win: number ; event: number ; id: number ; is_knockout: boolean | null ; seed_value: string | null ; tiebreak: string | null ; winner: string | null }

Type declaration:#

NameType
entry_1_drawnumber
entry_1_entrynumber
entry_1_lossnumber
entry_1_namestring
entry_1_player_namestring
entry_1_pointsnumber
entry_1_totalnumber
entry_1_winnumber
entry_2_drawnumber
entry_2_entrynumber
entry_2_lossnumber
entry_2_namestring
entry_2_player_namestring
entry_2_pointsnumber
entry_2_totalnumber
entry_2_winnumber
eventnumber
idnumber
is_knockoutboolean | null
seed_valuestring | null
tiebreakstring | null
winnerstring | null

Defined in: types/index.ts:114


CupMatchesDelegate#

Ƭ CupMatchesDelegate: { [key: number]: CupMatchDelegate; }

Defined in: types/index.ts:139


CupRespDelegate#

Ƭ CupRespDelegate: { cup_matches: CupMatchDelegate[] ; cup_status: CupStatusDelegate }

Type declaration:#

NameType
cup_matchesCupMatchDelegate[]
cup_statusCupStatusDelegate

Defined in: types/index.ts:143


CupStatusDelegate#

Ƭ CupStatusDelegate: { qualification_event: number ; qualification_numbers: number ; qualification_rank: number ; qualification_state: string }

Type declaration:#

NameType
qualification_eventnumber
qualification_numbersnumber
qualification_ranknumber
qualification_statestring

Defined in: types/index.ts:107


FixStatsItemDelegate#

Ƭ FixStatsItemDelegate: { a: AwayHomeStatType[] ; h: AwayHomeStatType[] ; identifier?: IdentifiersDelegate }

Type declaration:#

NameType
aAwayHomeStatType[]
hAwayHomeStatType[]
identifier?IdentifiersDelegate

Defined in: types/index.ts:246


FixturesRespDelegate#

Ƭ FixturesRespDelegate: { data: FixtureDelegate[] }

Type declaration:#

NameType
dataFixtureDelegate[]

Defined in: types/index.ts:336


GWHistoryDelegate#

Ƭ GWHistoryDelegate: { bank: number ; event: number ; event_transfers: number ; event_transfers_cost: number ; overall_rank: number ; points: number ; points_on_bench: number ; rank: number ; rank_sort: number ; total_points: number ; value: number }

Type declaration:#

NameType
banknumber
eventnumber
event_transfersnumber
event_transfers_costnumber
overall_ranknumber
pointsnumber
points_on_benchnumber
ranknumber
rank_sortnumber
total_pointsnumber
valuenumber

Defined in: types/index.ts:30


GWPicksDelegate#

Ƭ GWPicksDelegate: { active_chip: ChipTypesDelegate ; automatic_subs: SubstitutionDelegate[] ; entry_history: GWHistoryDelegate ; picks: PickDelegate[] }

Type declaration:#

NameType
active_chipChipTypesDelegate
automatic_subsSubstitutionDelegate[]
entry_historyGWHistoryDelegate
picksPickDelegate[]

Defined in: types/index.ts:73


GamesPlayedDelegate#

Ƭ GamesPlayedDelegate: { [key: number]: PlayerHistDelegate[]; }

Defined in: types/index.ts:326


GameweekDelegate#

Ƭ GameweekDelegate: { average_entry_score: number ; chip_plays: ChipsPlayDelegate[] ; data_checked: boolean ; deadline_time: Date ; deadline_time_epoch: number ; deadline_time_game_offset: number ; finished: boolean ; highest_score: number | null ; highest_scoring_entry: number | null ; id: number ; is_current: boolean ; is_next: boolean ; is_previous: boolean ; most_captained: number | null ; most_selected: number | null ; most_transferred_in: number | null ; most_vice_captained: number | null ; name: string ; top_element: number | null ; top_element_info: { id: number ; points: number } | null ; transfers_made: number | null }

Type declaration:#

NameType
average_entry_scorenumber
chip_playsChipsPlayDelegate[]
data_checkedboolean
deadline_timeDate
deadline_time_epochnumber
deadline_time_game_offsetnumber
finishedboolean
highest_scorenumber | null
highest_scoring_entrynumber | null
idnumber
is_currentboolean
is_nextboolean
is_previousboolean
most_captainednumber | null
most_selectednumber | null
most_transferred_innumber | null
most_vice_captainednumber | null
namestring
top_elementnumber | null
top_element_info{ id: number ; points: number } | null
transfers_madenumber | null

Defined in: types/index.ts:347


H2HEntryDelegate#

Ƭ H2HEntryDelegate: { entry: number ; entry_name: string ; event_total: number ; id: number ; last_rank: number ; matches_drawn: number ; matches_lost: number ; matches_played: number ; matches_won: number ; player_name: string ; points_for: number ; rank: number ; rank_sort: number ; total: number }

Type declaration:#

NameType
entrynumber
entry_namestring
event_totalnumber
idnumber
last_ranknumber
matches_drawnnumber
matches_lostnumber
matches_playednumber
matches_wonnumber
player_namestring
points_fornumber
ranknumber
rank_sortnumber
totalnumber

Defined in: types/index.ts:613


H2HLeagueDelegate#

Ƭ H2HLeagueDelegate: { league: H2HLeagueDetailsDelegate ; new_entries: NewEntryDelegate ; standings: H2HStandingDelegate }

Type declaration:#

NameType
leagueH2HLeagueDetailsDelegate
new_entriesNewEntryDelegate
standingsH2HStandingDelegate

Defined in: types/index.ts:640


H2HLeagueDetailsDelegate#

Ƭ H2HLeagueDetailsDelegate: { admin_entry: number ; closed: boolean ; code_privacy: string ; created: Date ; id: number ; ko_rounds: number | null ; league_type: string ; max_entries: number | null ; name: string ; scoring: string ; start_event: number }

Type declaration:#

NameType
admin_entrynumber
closedboolean
code_privacystring
createdDate
idnumber
ko_roundsnumber | null
league_typestring
max_entriesnumber | null
namestring
scoringstring
start_eventnumber

Defined in: types/index.ts:599


H2HLeaguesDelegate#

Ƭ H2HLeaguesDelegate: { [key: number]: H2HLeagueDelegate; }

Defined in: types/index.ts:646


H2HMatchDelegate#

Ƭ H2HMatchDelegate: { entry_1_draw: number ; entry_1_entry: number ; entry_1_loss: number ; entry_1_name: string ; entry_1_player_name: string ; entry_1_points: number ; entry_1_total: number ; entry_1_win: number ; entry_2_draw: number ; entry_2_entry: number ; entry_2_loss: number ; entry_2_name: string ; entry_2_player_name: string ; entry_2_points: number ; entry_2_total: number ; entry_2_win: number ; event: number ; id: number ; is_knockout: boolean ; seed_value: null ; tiebreak: null ; winner: number | null }

Type declaration:#

NameType
entry_1_drawnumber
entry_1_entrynumber
entry_1_lossnumber
entry_1_namestring
entry_1_player_namestring
entry_1_pointsnumber
entry_1_totalnumber
entry_1_winnumber
entry_2_drawnumber
entry_2_entrynumber
entry_2_lossnumber
entry_2_namestring
entry_2_player_namestring
entry_2_pointsnumber
entry_2_totalnumber
entry_2_winnumber
eventnumber
idnumber
is_knockoutboolean
seed_valuenull
tiebreaknull
winnernumber | null

Defined in: types/index.ts:654


H2HMatchesDelegate#

Ƭ H2HMatchesDelegate: { [key: number]: H2HMatchDelegate; }

Defined in: types/index.ts:679


H2HMatchesResp#

Ƭ H2HMatchesResp: { data: H2HMatchDelegate }

Type declaration:#

NameType
dataH2HMatchDelegate

Defined in: types/index.ts:683


H2HResp#

Ƭ H2HResp: { data: H2HLeagueDelegate }

Type declaration:#

NameType
dataH2HLeagueDelegate

Defined in: types/index.ts:650


H2HStandingDelegate#

Ƭ H2HStandingDelegate: { has_next: boolean ; page: number ; results: H2HEntryDelegate[] }

Type declaration:#

NameType
has_nextboolean
pagenumber
resultsH2HEntryDelegate[]

Defined in: types/index.ts:630


H2HStandingsDelegate#

Ƭ H2HStandingsDelegate: { [key: number]: H2HStandingDelegate; }

Defined in: types/index.ts:636


IdentifiersDelegate#

Ƭ IdentifiersDelegate: keyof typeof IdentifierOpts | null

Defined in: types/index.ts:239


LeagueDetailDelegate#

Ƭ LeagueDetailDelegate: { admin_entry: number ; closed: boolean ; code_privacy: string ; created: Date ; id: number ; league_type: string ; max_entries: number | null ; name: string ; rank: number | null ; scoring: string ; start_event: number }

Type declaration:#

NameType
admin_entrynumber
closedboolean
code_privacystring
createdDate
idnumber
league_typestring
max_entriesnumber | null
namestring
ranknumber | null
scoringstring
start_eventnumber

Defined in: types/index.ts:547


LeagueEntryDelegate#

Ƭ LeagueEntryDelegate: { entry: number ; entry_name: string ; event_total: number ; id: number ; last_rank: number ; player_name: string ; rank: number ; rank_sort: number ; total: number }

Type declaration:#

NameType
entrynumber
entry_namestring
event_totalnumber
idnumber
last_ranknumber
player_namestring
ranknumber
rank_sortnumber
totalnumber

Defined in: types/index.ts:535


LeagueStandingDelegate#

Ƭ LeagueStandingDelegate: { has_next: boolean ; page: number ; results: LeagueEntryDelegate[] }

Type declaration:#

NameType
has_nextboolean
pagenumber
resultsLeagueEntryDelegate[]

Defined in: types/index.ts:575


LeagueStandingsDelegate#

Ƭ LeagueStandingsDelegate: { [key: number]: LeagueStandingDelegate; }

Defined in: types/index.ts:581


NewEntriesDelegate#

Ƭ NewEntriesDelegate: { has_next: boolean ; page: number ; results: NewEntryDelegate[] }

Type declaration:#

NameType
has_nextboolean
pagenumber
resultsNewEntryDelegate[]

Defined in: types/index.ts:569


NewEntryDelegate#

Ƭ NewEntryDelegate: { entry: number ; entry_name: string ; joined_time: Date ; player_first_name: string ; player_last_name: string }

Type declaration:#

NameType
entrynumber
entry_namestring
joined_timeDate
player_first_namestring
player_last_namestring

Defined in: types/index.ts:561


PickDelegate#

Ƭ PickDelegate: { element: number ; is_captain: boolean ; is_vice_captain: boolean ; multiplier: number ; position: number }

Type declaration:#

NameType
elementnumber
is_captainboolean
is_vice_captainboolean
multipliernumber
positionnumber

Defined in: types/index.ts:54


PickHistoryDelegate#

Ƭ PickHistoryDelegate: { [key: number]: PickDelegate[]; }

Defined in: types/index.ts:80


PlayerDelegate#

Ƭ PlayerDelegate: { assists: number ; bonus: number ; bps: number ; chance_of_playing_next_round: number | null ; chance_of_playing_this_round: number | null ; clean_sheets: number ; code: number ; cost_change_event: number ; cost_change_event_fall: number ; cost_change_start: number ; cost_change_start_fall: number ; creativity: string | null ; creativity_rank: number ; creativity_rank_type: number ; dreamteam_count: number ; element_type: number ; ep_next: string | null ; ep_this: string | null ; event_points: number ; first_name: string ; form: string ; goals_conceded: number ; goals_scored: number ; ict_index: string | null ; ict_index_rank: number ; ict_index_rank_type: number ; id: number ; in_dreamteam: boolean ; influence: string | null ; influence_rank: number ; influence_rank_type: number | null ; minutes: number ; news: string | null ; news_added: string | null ; now_cost: number ; own_goals: number ; penalties_missed: number ; penalties_saved: number ; photo: string ; points_per_game: string ; red_cards: number ; saves: number ; second_name: string | null ; selected_by_percent: string ; special: false ; squad_number: number | null ; stats?: PlayerStatsDelegate | null ; status: string | null ; summary?: PlayerSummaryDelegate | null ; team: number ; team_code: number ; threat: string | null ; threat_rank: number ; threat_rank_type: number ; total_points: number ; transfers_in: number ; transfers_in_event: number ; transfers_out: number ; transfers_out_event: number ; value_form: string | null ; value_season: string | null ; web_name: string ; yellow_cards: number }

Type declaration:#

NameType
assistsnumber
bonusnumber
bpsnumber
chance_of_playing_next_roundnumber | null
chance_of_playing_this_roundnumber | null
clean_sheetsnumber
codenumber
cost_change_eventnumber
cost_change_event_fallnumber
cost_change_startnumber
cost_change_start_fallnumber
creativitystring | null
creativity_ranknumber
creativity_rank_typenumber
dreamteam_countnumber
element_typenumber
ep_nextstring | null
ep_thisstring | null
event_pointsnumber
first_namestring
formstring
goals_concedednumber
goals_scorednumber
ict_indexstring | null
ict_index_ranknumber
ict_index_rank_typenumber
idnumber
in_dreamteamboolean
influencestring | null
influence_ranknumber
influence_rank_typenumber | null
minutesnumber
newsstring | null
news_addedstring | null
now_costnumber
own_goalsnumber
penalties_missednumber
penalties_savednumber
photostring
points_per_gamestring
red_cardsnumber
savesnumber
second_namestring | null
selected_by_percentstring
specialfalse
squad_numbernumber | null
stats?PlayerStatsDelegate | null
statusstring | null
summary?PlayerSummaryDelegate | null
teamnumber
team_codenumber
threatstring | null
threat_ranknumber
threat_rank_typenumber
total_pointsnumber
transfers_innumber
transfers_in_eventnumber
transfers_outnumber
transfers_out_eventnumber
value_formstring | null
value_seasonstring | null
web_namestring
yellow_cardsnumber

Defined in: types/index.ts:156


PlayerHistPastDelegate#

Ƭ PlayerHistPastDelegate: { assists: number ; bonus: number ; bps: number ; clean_sheets: number ; creativity: string ; element_code: number ; end_cost: number ; goals_conceded: number ; goals_scored: number ; ict_index: string ; influence: string ; minutes: number ; own_goals: number ; penalties_missed: number ; penalties_saved: number ; red_cards: number ; saves: number ; season_name: string ; start_cost: number ; threat: string ; total_points: number ; yellow_cards: number }

Type declaration:#

NameType
assistsnumber
bonusnumber
bpsnumber
clean_sheetsnumber
creativitystring
element_codenumber
end_costnumber
goals_concedednumber
goals_scorednumber
ict_indexstring
influencestring
minutesnumber
own_goalsnumber
penalties_missednumber
penalties_savednumber
red_cardsnumber
savesnumber
season_namestring
start_costnumber
threatstring
total_pointsnumber
yellow_cardsnumber

Defined in: types/index.ts:278


PlayerStatsDelegate#

Ƭ PlayerStatsDelegate: { gamesPlayed: number | null ; pp90: number | null ; vapm: number | null }

Type declaration:#

NameType
gamesPlayednumber | null
pp90number | null
vapmnumber | null

Defined in: types/index.ts:330


PlayerSummaryDelegate#

Ƭ PlayerSummaryDelegate: { fixtures: PlayerFixtureDelegate[] ; history: PlayerHistDelegate[] ; history_past: PlayerHistPastDelegate }

Type declaration:#

NameType
fixturesPlayerFixtureDelegate[]
historyPlayerHistDelegate[]
history_pastPlayerHistPastDelegate

Defined in: types/index.ts:316


PlayerTeamDelegate#

Ƭ PlayerTeamDelegate: { [key: number]: PlayerDelegate[]; }

Defined in: types/index.ts:222


ResponseDataDelegate#

Ƭ ResponseDataDelegate: { data: GWPicksDelegate }

Type declaration:#

NameType
dataGWPicksDelegate

Defined in: types/index.ts:99


SeasonHistoryDelegate#

Ƭ SeasonHistoryDelegate: { rank: number ; season_name: string ; total_points: number }

Type declaration:#

NameType
ranknumber
season_namestring
total_pointsnumber

Defined in: types/index.ts:148


SeasonsHistoryDelegate#

Ƭ SeasonsHistoryDelegate: SeasonHistoryDelegate[]

Defined in: types/index.ts:154


StaticResponse#

Ƭ StaticResponse: { data: StaticDelegate }

Type declaration:#

NameType
dataStaticDelegate

Defined in: types/index.ts:531


SubstitutionDelegate#

Ƭ SubstitutionDelegate: { element_in: number ; element_out: number ; entry: number ; event: number }

Type declaration:#

NameType
element_innumber
element_outnumber
entrynumber
eventnumber

Defined in: types/index.ts:62


SummaryRespDelegate#

Ƭ SummaryRespDelegate: { data: PlayerSummaryDelegate }

Type declaration:#

NameType
dataPlayerSummaryDelegate

Defined in: types/index.ts:322


TeamDelegate#

Ƭ TeamDelegate: { code: number ; draw: number ; form: string | null ; id: number ; loss: number ; name: string ; played: number ; points: number ; position: number ; pulse_id: number ; short_name: string ; strength: number ; strength_attack_away: number ; strength_attack_home: number ; strength_defence_away: number ; strength_defence_home: number ; strength_overall_away: number ; strength_overall_home: number ; team_division: any | null ; unavailable: boolean ; win: number }

Type declaration:#

NameType
codenumber
drawnumber
formstring | null
idnumber
lossnumber
namestring
playednumber
pointsnumber
positionnumber
pulse_idnumber
short_namestring
strengthnumber
strength_attack_awaynumber
strength_attack_homenumber
strength_defence_awaynumber
strength_defence_homenumber
strength_overall_awaynumber
strength_overall_homenumber
team_divisionany | null
unavailableboolean
winnumber

Defined in: types/index.ts:374


TeamFixturesDelegate#

Ƭ TeamFixturesDelegate: { [key: number]: FixtureDelegate[]; }

Defined in: types/index.ts:340


TransferDelegate#

Ƭ TransferDelegate: { element_in: number ; element_in_cost: number ; element_out: number ; element_out_cost: number ; entry: number ; event: number ; time: Date }

Type declaration:#

NameType
element_innumber
element_in_costnumber
element_outnumber
element_out_costnumber
entrynumber
eventnumber
timeDate

Defined in: types/index.ts:44