import { OddResponse } from '../odds/types/odds'; export interface ITennisMatchResponse { id: string; slug: string; status: ITennisMatchStatusResponse; tournament: { id: string; name: string; slug: string; country: { id: string; name: string; slug: string; assets: { flag: { url: string; }; }; }; start_date: string; }; participants: { id: string; type: string; name: string; position: number; winner: string; details: { id: string; name: string; country: { id: string; name: string; slug: string; entity_type: string; assets: { flag: { url: string; }; }; }; slug: string; entity_type: string; short_name: string | null; three_letter_code: string | null; assets: { headshot: { url: string; }; }; standing: { ranking: { columns: { type: { code: string; }; value: string; }[]; }; tournament_seeding: { columns: { type: { code: string; }; value: string; }[]; }; }; }[]; current_server: string; }[]; results: ITennisMatchParticipantResults[]; type: string; odds: OddResponse[]; scheduled_start_time: string; } export interface ITennisMatchParticipantResults { type: { id: string; name: string; code: string; entity_type: string; short_name: string | null; assets: null; }; values: { position: string; value: string | null; winner: string; }[]; tiebreak_values: { position: string; value: string | null; winner: string; }[]; } export interface ITennisMatchStatusResponse { id: string; name: string; type: string; short_name: string; } export interface ITennisCompetitionSeasonsResponse { available_season_years: { value: string; }[]; competition: { id: string; name: string; slug: string; assets: { logo: { url: string; }; }; }; current_season_year: string; tournaments: [{ id: string; name: string; }]; } export interface ITennisPlayerTournamentsResponse { data: { id: string; name: string; season_year: string; }[]; } export interface ITennisPlayerResponse { assets: { headshot: { url: string; }; }; gender: string; id: string; name: string; slug: string; }