export type MicrosoftAspNetCoreMvcProblemDetails = { type?: string | null; title?: string | null; status?: number | null; detail?: string | null; instance?: string | null; [key: string]: unknown | (string | null) | (string | null) | (number | null) | (string | null) | (string | null) | undefined; }; /** * Gender object (schema omitted for brevity) */ export type ScApiCoreLibEnumsGender = 0 | 1 | 2; /** * NewsContentType object (schema omitted for brevity) */ export type ScApiCoreLibEnumsNewsContentType = 0 | 1 | 2; /** * NewsType object (schema omitted for brevity) */ export type ScApiCoreLibEnumsNewsType = 0 | 1 | 2; /** * PeriodType object (schema omitted for brevity) */ export type ScApiCoreLibEnumsPeriodType = 0 | 1 | 2; /** * PlayerHistoryType object (schema omitted for brevity) */ export type ScApiCoreLibEnumsPlayerHistoryType = 0 | 1; /** * RegistrationStatus object (schema omitted for brevity) */ export type ScApiCoreLibEnumsRegistrationStatus = 0 | 1 | 2; /** * Role object (schema omitted for brevity) */ export type ScApiCoreLibEnumsSecurityRole = 0 | 1 | 2 | 3 | 4 | 5 | 6; /** * TeamStaffMemberPosition object (schema omitted for brevity) */ export type ScApiCoreLibEnumsTeamStaffMemberPosition = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11; /** * TournamentType object (schema omitted for brevity) */ export type ScApiCoreLibEnumsTournamentType = 0 | 1; /** * Strongly-typed citation model for chat responses */ export type ScStandingsApiControllersAiOptimizeChampController_ChatCitation = { text?: string | null; title?: string | null; sportKind?: string | null; teamsCount?: number; }; /** * Request model for chat queries */ export type ScStandingsApiControllersAiOptimizeChampController_ChatQueryRequest = { /** * The natural language query about championships */ query: string; }; /** * Response model for chat-based interactions */ export type ScStandingsApiControllersAiOptimizeChampController_ChatResponse = { message?: string | null; success?: boolean; error?: string | null; data?: ScStandingsApiControllersAiOptimizeChampController_ChatResponseData; citations?: Array | null; type?: string | null; }; /** * Strongly-typed data model for chat responses */ export type ScStandingsApiControllersAiOptimizeChampController_ChatResponseData = { /** * The ID of the object */ id?: string; }; /** * Standard error response for AIOptimize controllers */ export type ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse = { /** * Error message */ message?: string | null; /** * Whether the operation was successful (always false for error responses) */ success?: boolean; /** * Additional information about the error */ exactMatch?: string | null; /** * Time taken to process the request in milliseconds */ processingTime?: string | null; }; /** * Standard success response for AIOptimize endpoints */ export type ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse = { /** * Success message */ message?: string | null; /** * Success flag */ success?: boolean; }; /** * Data transfer object for sport kind information. */ export type ScStandingsApiControllersAiOptimizeSportKindDto = { /** * Gets or sets the ID of the sport kind. */ id?: string; /** * Gets or sets the name of the sport kind. */ name?: string | null; /** * Gets or sets the display name of the sport kind. */ displayName?: string | null; /** * Gets or sets a value indicating whether the sport kind is an e-sport. */ isESport?: boolean; }; /** * Response object for sport kind search. */ export type ScStandingsApiControllersAiOptimizeSportKindSearchResponse = { exactMatch?: ScStandingsApiControllersAiOptimizeSportKindDto; /** * Gets or sets the similar matches for the search query. */ similarMatches?: Array | null; /** * Gets or sets the message describing the search results. */ message?: string | null; }; export type ScStandingsEntityDtosBaseImageNameDto = { imageUrl?: string | null; name?: string | null; id?: string; }; export type ScStandingsEntityDtosBaseNamedDto = { name?: string | null; id?: string; }; export type ScStandingsEntityDtosBaseTypeDto = { type?: string | null; id?: string; }; /** * Data Transfer Object for adding an event to a match. Use this to record goals, cards, substitutions, etc. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddEventDto = { /** * The minute when the event occurred. */ minute: string; /** * The stoppage time minute when the event occurred. Optional field. */ stoppageTimeMinute?: string | null; /** * Whether the event is for the home team (true) or away team (false). */ isHomeEvent: boolean; /** * The type of event. Examples: "scorer", "yellowcard", "redcard", "substitution" */ eventType: string; /** * Additional notes about the event. Optional field. */ note?: string | null; /** * The ID of the team in the competition (ChampTeam). */ champTeamId: string; /** * The ID of the player in the competition roster (ChampTeamPlayer). */ champTeamPlayerId: string; /** * The ID of the assisting player in the competition roster (ChampTeamPlayer). Optional field. */ champTeamPlayerAssistantId?: string | null; /** * For goals, the body part used. 0 = Not Specified, 1 = Foot, 2 = Head, 3 = Other. Default is 0. */ bodyPart?: number; /** * For goals, the type of goal. 0 = Regular, 1 = Penalty, 2 = Own Goal, 3 = Free Kick. Default is 0. */ goalType?: number; /** * For goals, the number of points. Default is 1. */ points?: number; }; /** * Data Transfer Object for adding multiple events to a match in a single request. Use this to record multiple goals, cards, substitutions, etc. efficiently. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddEventsBatchDto = { /** * List of events to add to the fixture. */ events: Array; }; /** * Data Transfer Object for adding a team roster to a competition. Use this to register players for a specific competition. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamRosterDto = { /** * The ID of the team in the competition (ChampTeam). */ champTeamId: string; /** * List of players to add to the roster. */ players: Array; }; /** * Data Transfer Object for adding teams to a competition. Use this to register teams for a specific competition. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamsToCompetitionDto = { /** * List of team IDs to add to the competition. First search for teams by name using the team search endpoint before creating new teams. */ teamIds: Array; }; /** * Data Transfer Object for enabling lineup tracking in a competition. Use this to enable player rosters and lineups. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiEnableLineupTrackingDto = { /** * Whether to enable lineup tracking. Set to true to enable, false to disable. */ isTrackingLineups: boolean; }; /** * Data Transfer Object for generating a complete bracket with fixtures in a championship/competition. Use this to create round robin, double elimination, or knockout (playoff) brackets with pre-populated fixtures. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiGenerateBracketDto = { /** * The name of the bracket/stage. Examples: "Group Stage", "Playoffs", "Finals" */ name: string; /** * The type of bracket to create. Must be one of: "League" (round robin), "Playoff" (knockout), or "DoubleElimination" */ bracketType: string; /** * Number of groups to create in this bracket. For knockout brackets, typically use 1. */ groupCount: number; /** * Number of rounds to play. For round robin, typically 1 (single round) or 2 (double round). */ roundCount: number; /** * Number of teams in this bracket. Must match the number of teams provided. */ teamsCount: number; /** * List of team IDs to include in this bracket. Must match TeamsCount. First search for teams by name using the team search endpoint before creating new teams. */ teamIds: Array; /** * Start date for fixtures in this bracket. If not provided, current date will be used. (Format: YYYY-MM-DD) */ startDate?: string | null; }; /** * Data Transfer Object for generating a new stage in a championship/competition. Use this to create round robin, double elimination, or knockout (playoff) stages. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiGenerateStageDto = { /** * The name of the stage. Examples: "Group Stage", "Playoffs", "Finals" */ name: string; /** * The type of stage to create. Must be one of: "League" (round robin), "Playoff" (knockout), or "DoubleElimination" */ stageType: string; /** * Number of groups to create in this stage. For knockout stages, typically use 1. */ groupCount: number; /** * Number of rounds to play. For round robin, typically 1 (single round) or 2 (double round). */ roundCount: number; /** * Number of teams in this stage. Must match the number of teams provided. */ teamsCount: number; /** * Whether to use points from previous stages. Default is false. */ isUsePreviousStagePoints?: boolean; /** * Number of teams that advance to the next stage. Used for multi-stage tournaments. */ successTeamCount?: number | null; /** * List of team IDs to include in this stage. Must match TeamsCount. First search for teams by name using the team search endpoint before creating new teams. */ teamIds: Array; /** * Start date for fixtures in this stage. If not provided, current date will be used. (Format: YYYY-MM-DD) */ startDate?: string | null; }; /** * Data Transfer Object for a player in a match lineup. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiLineupPlayerDto = { /** * The ID of the player. First search for players by name before creating new ones. */ playerId: string; /** * The ID of the player in the competition roster (ChampTeamPlayer). */ champTeamPlayerId: string; /** * The position of the player in this match. Optional field. */ position?: string | null; /** * The squad type of the player. 0 = Starting, 1 = Substitute. Default is 0. */ squadType?: number; }; /** * Data Transfer Object for a player in a team roster. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiRosterPlayerDto = { /** * The ID of the player. First search for players by name before creating new ones. */ playerId: string; /** * The position of the player in this competition. Optional field. */ position?: string | null; /** * The order of the player in the roster. Default is 0. */ order?: number; /** * The squad type of the player. 0 = Regular, 1 = Substitute. Default is 0. */ playerSquadType?: number; }; export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiSaveChampDto = { /** * The name of the championship/competition. If not provided, a name will be auto-generated based on the user's name and current date. Example: "MyMarch5", "Summer Tournament 2023" */ name?: string | null; /** * The ID of the league this championship/competition belongs to. Optional - if not provided, the system will look for a league with the name specified in LeagueName or create a new league. */ leagueId?: string | null; /** * The name of the league this championship/competition belongs to. Optional - if not provided, and LeagueId is also not provided, a new league will be created with the name "{CompetitionName} League". Example: "March5Test", "Premier League" */ leagueName?: string | null; /** * The sport kind for this competition. Examples: "Soccer", "Basketball", "Tennis". This is used to suggest existing leagues of the same sport. */ sportKind?: string | null; /** * The start date of the championship/competition. If not provided, defaults to the current date. Format: "YYYY-MM-DD" or ISO 8601 format. */ startDate?: string | null; /** * The end date of the championship/competition. If not provided, defaults to 7 days after the start date. Format: "YYYY-MM-DD" or ISO 8601 format. */ endDate?: string | null; /** * Indicates if this championship/competition is published and visible on the website. Default is true. */ isPublished?: boolean; /** * A brief description of the championship/competition. Optional field. Example: "Annual soccer tournament for local teams" */ description?: string | null; /** * URL to the championship/competition logo or image. Optional field. */ imageUrl?: string | null; /** * List of team names to create and add to this competition. The teams will be created if they don't exist. Example: ["Team A", "Team B", "Team C"] */ teamNames?: Array | null; /** * List of existing team IDs to add to this competition. Use this if you already have team IDs. */ teamIds?: Array | null; }; export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiSavePlayerDto = { /** * The player's first name. At least one of FirstName or LastName must be provided. */ firstName?: string | null; /** * The player's last name. At least one of FirstName or LastName must be provided. */ lastName?: string | null; /** * The sport kind (e.g., "Football", "Basketball", "Tennis"). This is a required field. */ sportKind: string; /** * The name of the championship/competition the player is associated with. Optional field. */ champName?: string | null; /** * The name of the team the player belongs to. Optional field. */ teamName?: string | null; /** * The player's jersey number. Optional field. */ jerseyNumber?: number | null; /** * The player's position (e.g., "Forward", "Goalkeeper", "Point Guard"). Optional field. */ position?: string | null; /** * The player's nationality. Optional field. */ nationality?: string | null; /** * The player's date of birth. Optional field. (Format: YYYY-MM-DD) */ dateOfBirth?: string | null; /** * URL to the player's photo. Optional field. */ imageUrl?: string | null; }; export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiSaveTeamDto = { /** * The name of the team. This is a required field. */ name: string; /** * The sport kind (e.g., "Football", "Basketball", "Tennis"). This is a required field. */ sportKind: string; /** * The country or region the team is from. Optional field. */ country?: string | null; /** * URL to the team's logo or image. Optional field. */ imageUrl?: string | null; /** * Indicates if this is an international team. Default is false. */ isInternational?: boolean; }; /** * Data Transfer Object for updating an existing championship/competition. CRITICAL: Always get the full competition object first and include ALL existing properties in your update request. Only modify the specific properties requested by the user. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateChampDto = { /** * The name of the championship/competition. Example: "MyMarch5", "Summer Tournament 2023" */ name?: string | null; /** * The start date of the championship/competition. Format: YYYY-MM-DD */ startDate?: string | null; /** * The end date of the championship/competition. Format: YYYY-MM-DD */ endDate?: string | null; /** * A brief description of the championship/competition. Optional field. Example: "Annual soccer tournament for local teams" */ description?: string | null; /** * URL to the championship/competition logo or image. Optional field. */ imageUrl?: string | null; /** * List of team IDs to add to the competition. CRITICAL: Use this property with an array of team ID strings (GUIDs), NOT team objects with names. ALWAYS include ALL existing team IDs to preserve them, not just the new ones. */ teamIds?: Array | null; }; /** * Data Transfer Object for updating a match lineup. Use this to set the players for a match. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateLineupDto = { /** * List of players in the lineup. */ players: Array; }; /** * Data Transfer Object for updating an existing stage in a championship/competition. Use this to modify stage details. */ export type ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateStageDto = { /** * The name of the stage. Examples: "Group Stage", "Playoffs", "Finals" */ name?: string | null; /** * Number of groups in this stage. */ groupCount?: number | null; /** * Number of rounds to play. */ roundCount?: number | null; /** * Whether to use points from previous stages. */ isUsePreviousStagePoints?: boolean | null; /** * Number of teams that advance to the next stage. Used for multi-stage tournaments. */ successTeamCount?: number | null; /** * List of team IDs to add to this stage. First search for teams by name using the team search endpoint before creating new teams. */ teamIds?: Array | null; }; export type ScStandingsEntityDtosIncomeDtoAddPlayerHistoryDto = { isActive?: boolean; teamId?: string | null; teamName?: string | null; jerseyNumber?: string | null; champId?: string | null; startDate?: string | null; endDate?: string | null; isInternationalTeam?: boolean | null; type?: ScApiCoreLibEnumsPlayerHistoryType; }; export type ScStandingsEntityDtosIncomeDtoNewsCategoryDto = { entityId?: string; type?: ScApiCoreLibEnumsNewsType; }; export type ScStandingsEntityDtosIncomeDtoPeriodScoreDto = { home_score?: string | null; away_score?: string | null; type?: string | null; number?: string | null; }; export type ScStandingsEntityDtosIncomeDtoSanctionsDto = { isAccumulatedYellowCard?: boolean; accumulatedYellowCardQuantity?: number; accumulatedYellowCardSanction?: number; accumulatedYellowCardMissNext?: number; isDoubleYellowCard?: boolean; doubleYellowCardQuantity?: number; isDirectRedCard?: boolean; directRedCardQuantity?: number; }; export type ScStandingsEntityDtosIncomeDtoSaveAdjustmentDto = { description?: string | null; points?: number; }; export type ScStandingsEntityDtosIncomeDtoSaveGroupDto = { name?: string | null; isVirtual?: boolean | null; externalId?: string | null; teams?: Array | null; createdBy?: string | null; id?: string; }; export type ScStandingsEntityDtosIncomeDtoSaveImageDto = { description?: string | null; imageUrl?: string | null; }; export type ScStandingsEntityDtosIncomeDtoSaveNewsDto = { createdBy?: string | null; externalId?: string | null; title?: string | null; description?: string | null; isPublic?: boolean | null; isPublished?: boolean | null; contentType?: ScApiCoreLibEnumsNewsContentType; keywords?: Array | null; imageUrl?: string | null; videoUrl?: string | null; sportKindId?: string; categories?: Array | null; Date?: string | null; updated?: string | null; }; export type ScStandingsEntityDtosIncomeDtoSavePeriodInfoDto = { name?: string | null; length?: number; type?: ScApiCoreLibEnumsPeriodType; }; export type ScStandingsEntityDtosIncomeDtoSavePlayerAchievementDto = { id?: string | null; playerId?: string | null; achievement?: string | null; }; export type ScStandingsEntityDtosIncomeDtoSaveStageDto = { name?: string | null; isUsePreviousStagePoints?: boolean; successTeamCount?: number; yellowTeamCount?: number; type?: string; previousCards?: boolean; roundCount?: number; order?: number; teamsCount?: number; yellowCardMode?: string | null; externalId?: string | null; tableConfigs?: Array | null; ruleSet?: Array | null; groupCount?: number; groups?: Array | null; createdBy?: string | null; id?: string; }; export type ScStandingsEntityDtosIncomeDtoSaveStandingsRulesDto = { winPoints?: number; overtimeWinPoints?: number; drawPoints?: number; lossPoints?: number; overtimeLossPoints?: number; }; export type ScStandingsEntityDtosIncomeDtoSaveTeamAchievementDto = { id?: string | null; teamId?: string | null; achievement?: string | null; }; export type ScStandingsEntityDtosIncomeDtoSaveWebEnginePageConfigurationDto = { id?: string | null; type?: ScStandingsEntityEnumsContentSegment; title?: string | null; htmlContent?: string | null; pageUrl?: string | null; order?: number; parentId?: string | null; isVisible?: boolean; }; export type ScStandingsEntityDtosIncomeDtoTeamMappingDto = { id?: string; isVirtual?: boolean; isUserTeam?: boolean; externalId?: string | null; champTeamId?: string | null; sportKindName?: string | null; name?: string | null; country?: string | null; playerMappings?: Array | null; }; export type ScStandingsEntityDtosIncomeDtoUpdateChampDto = { externalId?: string | null; name?: string | null; ownerId?: string | null; imageUrl?: string | null; alternative?: string | null; description?: string | null; champSportSubType?: string | null; isTrackingLineups?: boolean; isRating?: boolean | null; priority?: number | null; url?: string | null; startDate?: string | null; endDate?: string | null; isPublished?: boolean | null; status?: string; tournamentType?: ScApiCoreLibEnumsTournamentType; registrationStatus?: ScApiCoreLibEnumsRegistrationStatus; registrationOption?: ScStandingsEntityEnumsChampRegistrationOption; registrationPlayerStatus?: ScApiCoreLibEnumsRegistrationStatus; registrationPlayerOption?: ScStandingsEntityEnumsChampRegistrationOption; isUserTeamsAllowed?: boolean | null; isUserPlayersAllowed?: boolean | null; registrationMaxCap?: number | null; registrationAutoAccept?: boolean | null; fee?: number | null; playerFee?: number | null; currency?: string | null; playerCurrency?: string | null; teams?: Array | null; stages?: Array | null; sanctions?: ScStandingsEntityDtosIncomeDtoSanctionsDto; standingsRules?: ScStandingsEntityDtosIncomeDtoSaveStandingsRulesDto; periodInfos?: Array | null; rankingCriterions?: Array | null; teamAchievements?: Array | null; playerAchievements?: Array | null; priorityAdjustments?: Array | null; createdBy?: string | null; id?: string; }; export type ScStandingsEntityDtosIncomeDtoUpdateContactDto = { id?: string | null; fullName?: string | null; email?: string | null; contactPhone?: string | null; position?: string | null; imageUrl?: string | null; }; export type ScStandingsEntityDtosIncomeDtoUpdatePlayerDto = { history?: Array | null; externalId?: string | null; fullName?: string | null; firstName?: string | null; lastName?: string | null; otherFullName?: string | null; weight?: number | null; height?: number | null; middleName?: string | null; doB?: string | null; imageUrl?: string | null; sportKindId?: string; nationality?: string | null; position?: string | null; strongFoot?: string | null; gender?: ScApiCoreLibEnumsGender; parentId?: string | null; isImportCompleted?: boolean | null; createdBy?: string | null; }; export type ScStandingsEntityDtosIncomeDtoUpdateTeamDto = { id?: string; updatedBy?: string | null; staffMembers?: Array | null; isVirtual?: boolean | null; isImportCompleted?: boolean | null; name?: string | null; gender?: ScApiCoreLibEnumsGender; shortName?: string | null; teamLeague?: string | null; country?: string | null; leagueImageUrl?: string | null; sportKind?: string; imageUrl?: string | null; isInternational?: boolean | null; externalId?: string | null; parentId?: string | null; }; export type ScStandingsEntityDtosIncomeDtoUpdateTeamStaffMemberDto = { id?: string | null; firstName?: string | null; middleName?: string | null; lastName?: string | null; position?: ScApiCoreLibEnumsTeamStaffMemberPosition; dateOfBirth?: string | null; nationality?: string | null; gender?: ScApiCoreLibEnumsGender; imageUrl?: string | null; }; export type ScStandingsEntityDomainPlayerMapping = { id?: string; externalId?: string | null; fullName?: string | null; sportKindName?: string | null; nationality?: string | null; }; export type ScStandingsEntityEnumsChampRegistrationOption = 0 | 1 | 2 | 3 | 4 | 5; export type ScStandingsEntityEnumsContentSegment = 0 | 1; export type ScStandingsEntityEnumsPlayerLeagueGroupingOption = 0 | 1 | 2 | 3; export type ScStandingsEntityModelsBaseMonikerRef = { name?: string | null; id?: string; version?: number; }; export type ScStandingsEntityModelsNestedNewsCategory = { entityId?: string; type?: ScApiCoreLibEnumsNewsType; }; export type ScStandingsEntityModelsNestedTableConfig = { standing?: string | null; color?: string | null; description?: string | null; }; export type ChatQueryChampsGetData = { body?: never; path?: never; query?: { /** * The chat query about championships */ query?: string; }; url: '/aioptimize/chat'; }; export type ChatQueryChampsGetResponses = { /** * Success */ 200: unknown; }; export type ChatQueryChampsPostData = { /** * The chat query request containing the natural language query */ body?: ScStandingsApiControllersAiOptimizeChampController_ChatQueryRequest; path?: never; query?: never; url: '/aioptimize/chat'; }; export type ChatQueryChampsPostErrors = { /** * Bad Request */ 400: ScStandingsApiControllersAiOptimizeChampController_ChatResponse; }; export type ChatQueryChampsPostError = ChatQueryChampsPostErrors[keyof ChatQueryChampsPostErrors]; export type ChatQueryChampsPostResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeChampController_ChatResponse; }; export type ChatQueryChampsPostResponse = ChatQueryChampsPostResponses[keyof ChatQueryChampsPostResponses]; export type SearchChampsData = { body?: never; path?: never; query?: { Ids?: Array; /** * Start date for filtering competitions. Format: YYYY-MM-DD */ from?: string; /** * End date for filtering competitions. Format: YYYY-MM-DD */ to?: string; KeyWord?: string; OwnerIds?: Array; IsPublished?: boolean; IsRating?: boolean; LeagueId?: string; ChampTeamId?: string; ChampTeamIds?: Array; SportKindId?: string; SportKindName?: string; NameStartsWith?: string; IsImported?: boolean; TeamId?: string; Name?: string; ExternalId?: string; ExternalIds?: Array; TeamManagerId?: string; IsUseOwnerIdsLikeManagers?: boolean; Status?: string; RegistrationStatus?: ScApiCoreLibEnumsRegistrationStatus; RegistrationPlayerStatus?: ScApiCoreLibEnumsRegistrationStatus; pageSize?: number; pageIndex?: number; isChat?: boolean; userId?: string; }; url: '/aioptimize/champs'; }; export type SearchChampsResponses = { /** * Success */ 200: string; }; export type SearchChampsResponse = SearchChampsResponses[keyof SearchChampsResponses]; export type CreateChampData = { /** * Data transfer object containing championship information (name, league ID, dates, etc.) */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiSaveChampDto; path?: never; query?: never; url: '/aioptimize/champs'; }; export type CreateChampResponses = { /** * Created */ 201: string; }; export type CreateChampResponse = CreateChampResponses[keyof CreateChampResponses]; export type DeleteChampData = { body?: never; path: { /** * The name of the competition/champ */ name: string; }; query?: { /** * The flag that indicate necessity of deleting dependencies */ forceDelete?: boolean; }; url: '/aioptimize/champs/{name}'; }; export type DeleteChampResponses = { /** * Success */ 200: unknown; }; export type GetChampByNameData = { body?: never; path: { /** * The name of competition/champ */ name: string; }; query?: never; url: '/aioptimize/champs/{name}'; }; export type GetChampByNameErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetChampByNameError = GetChampByNameErrors[keyof GetChampByNameErrors]; export type GetChampByNameResponses = { /** * Success */ 200: string; }; export type GetChampByNameResponse = GetChampByNameResponses[keyof GetChampByNameResponses]; export type GetChampStandingsData = { body?: never; path: { /** * The name of the competition/championship */ name: string; }; query?: { /** * Optional start date to filter standings */ from?: string; /** * Optional end date to filter standings */ to?: string; }; url: '/aioptimize/champs/{name}/standings'; }; export type GetChampStandingsErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetChampStandingsError = GetChampStandingsErrors[keyof GetChampStandingsErrors]; export type GetChampStandingsResponses = { /** * Success */ 200: string; }; export type GetChampStandingsResponse = GetChampStandingsResponses[keyof GetChampStandingsResponses]; export type GetVenuesOfChampData = { body?: never; path: { /** * The name of the competition/champ */ name: string; }; query?: never; url: '/aioptimize/champs/{name}/venues'; }; export type GetVenuesOfChampResponses = { /** * Success */ 200: unknown; }; export type GetStagePlayerStatsForChampData = { body?: never; path: { /** * The name of the competition/champ */ name: string; }; query?: { pageSize?: number; pageIndex?: number; /** * Sort expression. Need to generate each time when call this request. We should provide a string with format "entity order". Where order could be asc or desc and entity could be assist, break_start, corner_kick, double_goals, free_kick, goal_kick, injury, injury_return, injury_time_shown, match_ended, match_started, match_interrupted, match_postponed, match_canceled, offside, own_goal, penalty_goal, penalty_awarded, penalty_missed, penalty_shootout, period_score, period_start, possible_goal, red_card, score_change, scorer, shot_off_target, shot_on_target, shot_saved, substituted_in, substituted_out, substitution, throw_in, yellow_card, yellow_red_card, foul, second_yellow_card, video_assistant_referee, video_assistant_referee_over, motm, mott, penalty_shootout_goal, penalty_shootout_missed, miss, shooters_assist, kill, death. For example to find top scorer provide string "Goals desc" */ sortExpression?: string; /** * Possible values: 0(for player), 1(for champ/competition), 2(for champ league), 3(for team) */ groupingOption?: ScStandingsEntityEnumsPlayerLeagueGroupingOption; }; url: '/aioptimize/champs/{name}/stats'; }; export type GetStagePlayerStatsForChampResponses = { /** * Success */ 200: unknown; }; export type UpdateChampByNameData = { /** * The input object with values to update the competition/champ */ body?: ScStandingsEntityDtosIncomeDtoUpdateChampDto; path: { /** * The name of the competition/champ */ name: string; }; query?: never; url: '/aioptimize/champs/by-name/{name}'; }; export type UpdateChampByNameResponses = { /** * Success */ 200: unknown; }; export type AddStageToChampByNameData = { /** * The input object for create new stage */ body?: ScStandingsEntityDtosIncomeDtoSaveStageDto; path: { /** * The name of the competition/champ */ name: string; }; query?: never; url: '/aioptimize/champs/by-name/{name}/ai-stage'; }; export type AddStageToChampByNameResponses = { /** * Success */ 200: unknown; }; export type GetChampFixturesData = { body?: never; path: { /** * The name of the competition/champ */ name: string; }; query?: { /** * Number of fixtures/matches that need to get */ pageSize?: number; /** * If the value is true, the latest matches/fixtures of the competition/champ will come first. If the value is false, the first matches/fixtures will be displayed first */ descSort?: boolean; }; url: '/aioptimize/champs/{name}/fixtures'; }; export type GetChampFixturesResponses = { /** * Success */ 200: unknown; }; export type UpdateChampByIdData = { /** * Update data - MUST include ALL existing properties from the competition */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateChampDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/by-id/{id}'; }; export type UpdateChampByIdErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type UpdateChampByIdError = UpdateChampByIdErrors[keyof UpdateChampByIdErrors]; export type UpdateChampByIdResponses = { /** * Success */ 200: string; }; export type UpdateChampByIdResponse = UpdateChampByIdResponses[keyof UpdateChampByIdResponses]; export type UpdateChampByNameDirectData = { /** * Update data - MUST include ALL existing properties from the competition */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateChampDto; path: { /** * Competition name (URL encoded) */ champName: string; }; query?: never; url: '/aioptimize/champs/{champName}'; }; export type UpdateChampByNameDirectErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type UpdateChampByNameDirectError = UpdateChampByNameDirectErrors[keyof UpdateChampByNameDirectErrors]; export type UpdateChampByNameDirectResponses = { /** * Success */ 200: string; }; export type UpdateChampByNameDirectResponse = UpdateChampByNameDirectResponses[keyof UpdateChampByNameDirectResponses]; export type AddStageToChampByIdData = { /** * Stage data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiGenerateStageDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/by-id/{id}/ai-stage'; }; export type AddStageToChampByIdErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type AddStageToChampByIdError = AddStageToChampByIdErrors[keyof AddStageToChampByIdErrors]; export type AddStageToChampByIdResponses = { /** * Success */ 200: string; }; export type AddStageToChampByIdResponse = AddStageToChampByIdResponses[keyof AddStageToChampByIdResponses]; export type PostAioptimizeChampsByIdGenerateBracketData = { /** * Bracket generation data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiGenerateBracketDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/{id}/generate-bracket'; }; export type PostAioptimizeChampsByIdGenerateBracketErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PostAioptimizeChampsByIdGenerateBracketError = PostAioptimizeChampsByIdGenerateBracketErrors[keyof PostAioptimizeChampsByIdGenerateBracketErrors]; export type PostAioptimizeChampsByIdGenerateBracketResponses = { /** * Success */ 200: string; }; export type PostAioptimizeChampsByIdGenerateBracketResponse = PostAioptimizeChampsByIdGenerateBracketResponses[keyof PostAioptimizeChampsByIdGenerateBracketResponses]; export type PatchAioptimizeChampsByIdLineupTrackingData = { /** * Lineup tracking settings */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiEnableLineupTrackingDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/{id}/lineup-tracking'; }; export type PatchAioptimizeChampsByIdLineupTrackingErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PatchAioptimizeChampsByIdLineupTrackingError = PatchAioptimizeChampsByIdLineupTrackingErrors[keyof PatchAioptimizeChampsByIdLineupTrackingErrors]; export type PatchAioptimizeChampsByIdLineupTrackingResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PatchAioptimizeChampsByIdLineupTrackingResponse = PatchAioptimizeChampsByIdLineupTrackingResponses[keyof PatchAioptimizeChampsByIdLineupTrackingResponses]; export type GetAioptimizeChampsByNameMatchesData = { body?: never; path: { /** * Competition name */ name: string; }; query?: { /** * Page size */ pageSize?: number; /** * Sort descending */ descSort?: boolean; }; url: '/aioptimize/champs/{name}/matches'; }; export type GetAioptimizeChampsByNameMatchesErrors = { /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type GetAioptimizeChampsByNameMatchesError = GetAioptimizeChampsByNameMatchesErrors[keyof GetAioptimizeChampsByNameMatchesErrors]; export type GetAioptimizeChampsByNameMatchesResponses = { /** * Schema removed for compatibility reasons */ 200: { [key: string]: unknown; }; }; export type GetAioptimizeChampsByNameMatchesResponse = GetAioptimizeChampsByNameMatchesResponses[keyof GetAioptimizeChampsByNameMatchesResponses]; export type PostAioptimizeChampsByIdTeamsData = { /** * Team IDs to add */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamsToCompetitionDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/{id}/teams'; }; export type PostAioptimizeChampsByIdTeamsErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PostAioptimizeChampsByIdTeamsError = PostAioptimizeChampsByIdTeamsErrors[keyof PostAioptimizeChampsByIdTeamsErrors]; export type PostAioptimizeChampsByIdTeamsResponses = { /** * Success */ 200: string; }; export type PostAioptimizeChampsByIdTeamsResponse = PostAioptimizeChampsByIdTeamsResponses[keyof PostAioptimizeChampsByIdTeamsResponses]; export type AddTeamsToCompetitionByNameData = { /** * Teams to add */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamsToCompetitionDto; path: { /** * Competition name (URL encoded) */ champName: string; }; query?: never; url: '/aioptimize/champs/by-name/{champName}/teams'; }; export type AddTeamsToCompetitionByNameErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type AddTeamsToCompetitionByNameError = AddTeamsToCompetitionByNameErrors[keyof AddTeamsToCompetitionByNameErrors]; export type AddTeamsToCompetitionByNameResponses = { /** * Success */ 200: string; }; export type AddTeamsToCompetitionByNameResponse = AddTeamsToCompetitionByNameResponses[keyof AddTeamsToCompetitionByNameResponses]; export type PostAioptimizeChampsByIdTeamRosterData = { /** * Team roster data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamRosterDto; path: { /** * Competition ID */ id: string; }; query?: never; url: '/aioptimize/champs/{id}/team-roster'; }; export type PostAioptimizeChampsByIdTeamRosterErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PostAioptimizeChampsByIdTeamRosterError = PostAioptimizeChampsByIdTeamRosterErrors[keyof PostAioptimizeChampsByIdTeamRosterErrors]; export type PostAioptimizeChampsByIdTeamRosterResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeChampsByIdTeamRosterResponse = PostAioptimizeChampsByIdTeamRosterResponses[keyof PostAioptimizeChampsByIdTeamRosterResponses]; export type SearchChampLeaguesData = { body?: never; path?: never; query?: { /** * Number of the object to get */ pageSize?: number; /** * Number of skipped items */ pageIndex?: number; /** * This flag to show whether it is necessary to search for published */ onlyPublished?: boolean; /** * The name of sport */ sportKind?: string; /** * The user ID for filtering */ userId?: string; }; url: '/aioptimize/champ-leagues'; }; export type SearchChampLeaguesResponses = { /** * Success */ 200: unknown; }; export type CreateChampLeagueData = { /** * The data transfer object containing league information. */ body?: string; path?: never; query?: never; url: '/aioptimize/champ-leagues'; }; export type CreateChampLeagueResponses = { /** * Created */ 201: unknown; }; export type DeleteChampLeagueData = { body?: never; path: { /** * The identifier of champ league */ name: string; }; query?: { /** * The flag that indicate necessity of deleting dependencies */ forceDelete?: boolean; }; url: '/aioptimize/champ-leagues/{name}'; }; export type DeleteChampLeagueResponses = { /** * Success */ 200: unknown; }; export type GetChampLeagueData = { body?: never; path: { /** * The name of the champ league */ name: string; }; query?: never; url: '/aioptimize/champ-leagues/{name}'; }; export type GetChampLeagueResponses = { /** * Success */ 200: unknown; }; export type UpdateChampLeagueData = { /** * The input model with values to update champ league */ body?: string; path: { /** * The name of champ league */ name: string; }; query?: never; url: '/aioptimize/champ-leagues/{name}'; }; export type UpdateChampLeagueResponses = { /** * Success */ 200: unknown; }; export type SearchOneChampLeagueByNameData = { body?: never; path?: never; query?: { /** * The name to search */ name?: string; /** * This flag to show whether it is necessary to search for published */ onlyPublished?: boolean; /** * The sport */ sportKind?: string; }; url: '/aioptimize/champ-leagues/search-by-name'; }; export type SearchOneChampLeagueByNameResponses = { /** * Success */ 200: unknown; }; export type GetChampLeagueChampsData = { body?: never; path: { /** * The name of the league */ name: string; }; query?: { /** * Filter to only show published competitions */ onlyPublishedChamps?: boolean; /** * Number of competitions to return per page */ pageSize?: number; /** * Page number (0-based) for pagination */ pageIndex?: number; }; url: '/aioptimize/champ-leagues/{name}/champs'; }; export type GetChampLeagueChampsErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetChampLeagueChampsError = GetChampLeagueChampsErrors[keyof GetChampLeagueChampsErrors]; export type GetChampLeagueChampsResponses = { /** * Success */ 200: string; }; export type GetChampLeagueChampsResponse = GetChampLeagueChampsResponses[keyof GetChampLeagueChampsResponses]; export type GetTeamsOfChampLeagueData = { body?: never; path: { /** * The name of the league */ name: string; }; query?: { /** * Filter to only include teams from published competitions */ onlyPublishedChamps?: boolean; /** * Number of teams to return per page */ pageSize?: number; /** * Page number (0-based) for pagination */ pageIndex?: number; }; url: '/aioptimize/champ-leagues/{name}/teams'; }; export type GetTeamsOfChampLeagueErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetTeamsOfChampLeagueError = GetTeamsOfChampLeagueErrors[keyof GetTeamsOfChampLeagueErrors]; export type GetTeamsOfChampLeagueResponses = { /** * Success */ 200: string; }; export type GetTeamsOfChampLeagueResponse = GetTeamsOfChampLeagueResponses[keyof GetTeamsOfChampLeagueResponses]; export type AddNewsToChampLeagueData = { /** * The news article data to add */ body?: ScStandingsEntityDtosIncomeDtoSaveNewsDto; path: { /** * The name of the league */ name: string; }; query?: never; url: '/aioptimize/champ-leagues/{name}/news'; }; export type AddNewsToChampLeagueErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type AddNewsToChampLeagueError = AddNewsToChampLeagueErrors[keyof AddNewsToChampLeagueErrors]; export type AddNewsToChampLeagueResponses = { /** * Created */ 201: string; }; export type AddNewsToChampLeagueResponse = AddNewsToChampLeagueResponses[keyof AddNewsToChampLeagueResponses]; export type PostAioptimizeChampLeaguesCreateNoContentTypeData = { body?: never; path?: never; query?: never; url: '/aioptimize/champ-leagues/create-no-content-type'; }; export type PostAioptimizeChampLeaguesCreateNoContentTypeResponses = { /** * Created */ 201: unknown; }; export type GetMyLeaguesData = { body?: never; path?: never; query?: { /** * Number of items to return per page */ pageSize?: number; /** * Page index (0-based) */ pageIndex?: number; /** * Optional sport kind to filter by */ sportKind?: string; }; url: '/aioptimize/champ-leagues/my'; }; export type GetMyLeaguesResponses = { /** * Success */ 200: unknown; }; export type GetUserLeaguesData = { body?: never; path?: never; query?: { pageSize?: number; pageIndex?: number; sportKind?: string; userId?: string; }; url: '/aioptimize/champ-leagues/user/leagues'; }; export type GetUserLeaguesResponses = { /** * Success */ 200: unknown; }; export type GetAioptimizeFixtureByIdData = { body?: never; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}'; }; export type GetAioptimizeFixtureByIdErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetAioptimizeFixtureByIdError = GetAioptimizeFixtureByIdErrors[keyof GetAioptimizeFixtureByIdErrors]; export type GetAioptimizeFixtureByIdResponses = { /** * Success */ 200: string; }; export type GetAioptimizeFixtureByIdResponse = GetAioptimizeFixtureByIdResponses[keyof GetAioptimizeFixtureByIdResponses]; export type PutAioptimizeFixtureByIdData = { /** * Update data */ body?: string; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}'; }; export type PutAioptimizeFixtureByIdErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PutAioptimizeFixtureByIdError = PutAioptimizeFixtureByIdErrors[keyof PutAioptimizeFixtureByIdErrors]; export type PutAioptimizeFixtureByIdResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PutAioptimizeFixtureByIdResponse = PutAioptimizeFixtureByIdResponses[keyof PutAioptimizeFixtureByIdResponses]; export type PutAioptimizeFixtureByIdResultData = { /** * Match result data */ body?: string; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/result'; }; export type PutAioptimizeFixtureByIdResultErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PutAioptimizeFixtureByIdResultError = PutAioptimizeFixtureByIdResultErrors[keyof PutAioptimizeFixtureByIdResultErrors]; export type PutAioptimizeFixtureByIdResultResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PutAioptimizeFixtureByIdResultResponse = PutAioptimizeFixtureByIdResultResponses[keyof PutAioptimizeFixtureByIdResultResponses]; export type PostAioptimizeFixtureByIdEventData = { /** * Event data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddEventDto; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/event'; }; export type PostAioptimizeFixtureByIdEventErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PostAioptimizeFixtureByIdEventError = PostAioptimizeFixtureByIdEventErrors[keyof PostAioptimizeFixtureByIdEventErrors]; export type PostAioptimizeFixtureByIdEventResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeFixtureByIdEventResponse = PostAioptimizeFixtureByIdEventResponses[keyof PostAioptimizeFixtureByIdEventResponses]; export type PostAioptimizeFixtureByIdEventsBatchData = { /** * Batch event data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddEventsBatchDto; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/events/batch'; }; export type PostAioptimizeFixtureByIdEventsBatchErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PostAioptimizeFixtureByIdEventsBatchError = PostAioptimizeFixtureByIdEventsBatchErrors[keyof PostAioptimizeFixtureByIdEventsBatchErrors]; export type PostAioptimizeFixtureByIdEventsBatchResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeFixtureByIdEventsBatchResponse = PostAioptimizeFixtureByIdEventsBatchResponses[keyof PostAioptimizeFixtureByIdEventsBatchResponses]; export type PutAioptimizeFixtureByIdHomesquadData = { /** * Lineup data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateLineupDto; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/homesquad'; }; export type PutAioptimizeFixtureByIdHomesquadErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PutAioptimizeFixtureByIdHomesquadError = PutAioptimizeFixtureByIdHomesquadErrors[keyof PutAioptimizeFixtureByIdHomesquadErrors]; export type PutAioptimizeFixtureByIdHomesquadResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PutAioptimizeFixtureByIdHomesquadResponse = PutAioptimizeFixtureByIdHomesquadResponses[keyof PutAioptimizeFixtureByIdHomesquadResponses]; export type PutAioptimizeFixtureByIdAwaysquadData = { /** * Lineup data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateLineupDto; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/awaysquad'; }; export type PutAioptimizeFixtureByIdAwaysquadErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PutAioptimizeFixtureByIdAwaysquadError = PutAioptimizeFixtureByIdAwaysquadErrors[keyof PutAioptimizeFixtureByIdAwaysquadErrors]; export type PutAioptimizeFixtureByIdAwaysquadResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PutAioptimizeFixtureByIdAwaysquadResponse = PutAioptimizeFixtureByIdAwaysquadResponses[keyof PutAioptimizeFixtureByIdAwaysquadResponses]; export type GetAioptimizeFixtureByIdPlayersData = { body?: never; path: { /** * Fixture ID */ id: string; }; query?: never; url: '/aioptimize/fixture/{id}/players'; }; export type GetAioptimizeFixtureByIdPlayersErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetAioptimizeFixtureByIdPlayersError = GetAioptimizeFixtureByIdPlayersErrors[keyof GetAioptimizeFixtureByIdPlayersErrors]; export type GetAioptimizeFixtureByIdPlayersResponses = { /** * Schema removed for compatibility reasons */ 200: { [key: string]: unknown; }; }; export type GetAioptimizeFixtureByIdPlayersResponse = GetAioptimizeFixtureByIdPlayersResponses[keyof GetAioptimizeFixtureByIdPlayersResponses]; export type PostAioptimizeGroupByIdFixtureData = { /** * Fixture data */ body?: string; path: { /** * Group ID */ id: string; }; query?: never; url: '/aioptimize/group/{id}/fixture'; }; export type PostAioptimizeGroupByIdFixtureErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PostAioptimizeGroupByIdFixtureError = PostAioptimizeGroupByIdFixtureErrors[keyof PostAioptimizeGroupByIdFixtureErrors]; export type PostAioptimizeGroupByIdFixtureResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeGroupByIdFixtureResponse = PostAioptimizeGroupByIdFixtureResponses[keyof PostAioptimizeGroupByIdFixtureResponses]; export type GetAioptimizeGroupByIdFixturesData = { body?: never; path: { /** * Group ID */ id: string; }; query?: never; url: '/aioptimize/group/{id}/fixtures'; }; export type GetAioptimizeGroupByIdFixturesErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetAioptimizeGroupByIdFixturesError = GetAioptimizeGroupByIdFixturesErrors[keyof GetAioptimizeGroupByIdFixturesErrors]; export type GetAioptimizeGroupByIdFixturesResponses = { /** * Schema removed for compatibility reasons */ 200: { [key: string]: unknown; }; }; export type GetAioptimizeGroupByIdFixturesResponse = GetAioptimizeGroupByIdFixturesResponses[keyof GetAioptimizeGroupByIdFixturesResponses]; export type SearchPlayersData = { body?: never; path?: never; query?: { NameOrTeam?: string; Ids?: Array; OwnerIds?: Array; ParentIds?: Array; Name?: string; Nationality?: string; SportKindId?: string; SportKindName?: string; ChampLeagueId?: string; ChampId?: string; FullName?: string; FirstName?: string; LastName?: string; ExternalId?: string; ExternalIds?: Array; FullNames?: Array; /** * Number of items per page (default is 10). */ pageSize?: number; /** * Page index (default is 0). */ pageIndex?: number; }; url: '/aioptimize/player/search'; }; export type SearchPlayersResponses = { /** * Success */ 200: unknown; }; export type DeletePlayerData = { body?: never; path: { /** * The name of the player to be deleted. */ name: string; }; query?: { /** * A flag indicating whether to force delete the player, including associated data (default is false). */ forceDelete?: boolean; }; url: '/aioptimize/player/{name}'; }; export type DeletePlayerResponses = { /** * Success */ 200: unknown; }; export type GetPlayerByNameData = { body?: never; path: { /** * The name of the player to be retrieved. */ name: string; }; query?: never; url: '/aioptimize/player/{name}'; }; export type GetPlayerByNameResponses = { /** * Success */ 200: unknown; }; export type UpdatePlayerData = { /** * Data transfer object (DTO) containing the updated player information. */ body?: ScStandingsEntityDtosIncomeDtoUpdatePlayerDto; path: { /** * The name of the player to be updated. */ name: string; }; query?: never; url: '/aioptimize/player/{name}'; }; export type UpdatePlayerResponses = { /** * Success */ 200: unknown; }; export type GetStagePlayerStatsData = { body?: never; path: { /** * The name of the player for which statistics are requested. */ name: string; }; query?: { champId?: string; stageId?: string; pageSize?: number; pageIndex?: number; /** * Expression for sorting the retrieved statistics. */ sortExpression?: string; /** * Optional. Specifies the grouping option for league statistics (default is null). */ groupingOption?: ScStandingsEntityEnumsPlayerLeagueGroupingOption; }; url: '/aioptimize/player/{name}/stats'; }; export type GetStagePlayerStatsResponses = { /** * Success */ 200: unknown; }; export type GetOverallPlayerStatsData = { body?: never; path: { /** * The name of the player for which overall statistics are requested. */ name: string; }; query?: never; url: '/aioptimize/player/{name}/overallstats'; }; export type GetOverallPlayerStatsResponses = { /** * Success */ 200: unknown; }; export type CreatePlayerData = { /** * Data transfer object containing player information (first name, last name, sport kind, etc.) */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiSavePlayerDto; path?: never; query?: never; url: '/aioptimize/player'; }; export type CreatePlayerResponses = { /** * Success */ 200: unknown; }; export type GetAllSportKindsData = { body?: never; path?: never; query?: never; url: '/aioptimize/sport-kinds'; }; export type GetAllSportKindsResponses = { /** * Success */ 200: Array; }; export type GetAllSportKindsResponse = GetAllSportKindsResponses[keyof GetAllSportKindsResponses]; export type SearchSportKindsData = { body?: never; path?: never; query?: { /** * The name to search for. */ name?: string; }; url: '/aioptimize/sport-kinds/search'; }; export type SearchSportKindsResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeSportKindSearchResponse; }; export type SearchSportKindsResponse = SearchSportKindsResponses[keyof SearchSportKindsResponses]; export type GetSportKindByNameData = { body?: never; path: { /** * The name of the sport kind. */ name: string; }; query?: never; url: '/aioptimize/sport-kinds/{name}'; }; export type GetSportKindByNameErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetSportKindByNameError = GetSportKindByNameErrors[keyof GetSportKindByNameErrors]; export type GetSportKindByNameResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeSportKindDto; }; export type GetSportKindByNameResponse = GetSportKindByNameResponses[keyof GetSportKindByNameResponses]; export type GetSportKindByIdData = { body?: never; path: { /** * The ID of the sport kind. */ id: string; }; query?: never; url: '/aioptimize/sport-kinds/id/{id}'; }; export type GetSportKindByIdErrors = { /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type GetSportKindByIdError = GetSportKindByIdErrors[keyof GetSportKindByIdErrors]; export type GetSportKindByIdResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeSportKindDto; }; export type GetSportKindByIdResponse = GetSportKindByIdResponses[keyof GetSportKindByIdResponses]; export type DeleteAioptimizeStageByIdData = { body?: never; path: { /** * Stage ID */ id: string; }; query?: { /** * Whether to force delete even if there are dependencies */ forceDelete?: boolean; }; url: '/aioptimize/stage/{id}'; }; export type DeleteAioptimizeStageByIdErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type DeleteAioptimizeStageByIdError = DeleteAioptimizeStageByIdErrors[keyof DeleteAioptimizeStageByIdErrors]; export type DeleteAioptimizeStageByIdResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type DeleteAioptimizeStageByIdResponse = DeleteAioptimizeStageByIdResponses[keyof DeleteAioptimizeStageByIdResponses]; export type GetAioptimizeStageByIdData = { body?: never; path: { /** * Stage ID */ id: string; }; query?: never; url: '/aioptimize/stage/{id}'; }; export type GetAioptimizeStageByIdErrors = { /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type GetAioptimizeStageByIdError = GetAioptimizeStageByIdErrors[keyof GetAioptimizeStageByIdErrors]; export type GetAioptimizeStageByIdResponses = { /** * Success */ 200: string; }; export type GetAioptimizeStageByIdResponse = GetAioptimizeStageByIdResponses[keyof GetAioptimizeStageByIdResponses]; export type PutAioptimizeStageByIdData = { /** * Stage update data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiUpdateStageDto; path: { /** * Stage ID */ id: string; }; query?: never; url: '/aioptimize/stage/{id}'; }; export type PutAioptimizeStageByIdErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PutAioptimizeStageByIdError = PutAioptimizeStageByIdErrors[keyof PutAioptimizeStageByIdErrors]; export type PutAioptimizeStageByIdResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PutAioptimizeStageByIdResponse = PutAioptimizeStageByIdResponses[keyof PutAioptimizeStageByIdResponses]; export type GetAioptimizeStageByIdStandingsData = { body?: never; path: { /** * Stage ID */ id: string; }; query?: never; url: '/aioptimize/stage/{id}/standings'; }; export type GetAioptimizeStageByIdStandingsErrors = { /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type GetAioptimizeStageByIdStandingsError = GetAioptimizeStageByIdStandingsErrors[keyof GetAioptimizeStageByIdStandingsErrors]; export type GetAioptimizeStageByIdStandingsResponses = { /** * Success */ 200: string; }; export type GetAioptimizeStageByIdStandingsResponse = GetAioptimizeStageByIdStandingsResponses[keyof GetAioptimizeStageByIdStandingsResponses]; export type PostAioptimizeStageByIdGenerateFixturesData = { /** * Fixture generation settings */ body?: string; path: { /** * Stage ID */ id: string; }; query?: never; url: '/aioptimize/stage/{id}/generate-fixtures'; }; export type PostAioptimizeStageByIdGenerateFixturesErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type PostAioptimizeStageByIdGenerateFixturesError = PostAioptimizeStageByIdGenerateFixturesErrors[keyof PostAioptimizeStageByIdGenerateFixturesErrors]; export type PostAioptimizeStageByIdGenerateFixturesResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeStageByIdGenerateFixturesResponse = PostAioptimizeStageByIdGenerateFixturesResponses[keyof PostAioptimizeStageByIdGenerateFixturesResponses]; export type FilterTeamsData = { body?: never; path?: never; query?: { Ids?: Array; OwnerIds?: Array; Name?: string; EspnName?: string; PesName?: string; TeamLeagueName?: string; TeamLeagueNameExactMatch?: boolean; TeamLeaugeExists?: boolean; Country?: string; SportKindId?: string; ChampLeagueId?: string; SportKindName?: string; Keyword?: string; ExternalId?: string; ExternalIds?: Array; ParentIds?: Array; IsInternational?: boolean; IsVirtual?: boolean; /** * Number of items per page (default is 10). */ pageSize?: number; /** * Page index (default is 0). */ pageIndex?: number; /** * Field to sort by (default is not specified). */ sortingField?: string; /** * Flag indicating whether to sort in descending order (default is not specified). */ descSort?: boolean; }; url: '/aioptimize/teams/filter'; }; export type FilterTeamsResponses = { /** * Success */ 200: unknown; }; export type SearchTeamByNameData = { body?: never; path?: never; query?: { /** * The name to search for */ name?: string; /** * Optional sport kind to filter by */ sportKind?: string; }; url: '/aioptimize/teams/search'; }; export type SearchTeamByNameErrors = { /** * Not Found */ 404: ScStandingsApiControllersAiOptimizeResponsesAiErrorResponse; }; export type SearchTeamByNameError = SearchTeamByNameErrors[keyof SearchTeamByNameErrors]; export type SearchTeamByNameResponses = { /** * Success */ 200: string; }; export type SearchTeamByNameResponse = SearchTeamByNameResponses[keyof SearchTeamByNameResponses]; export type DeleteTeamData = { body?: never; path: { /** * The name of the team to be deleted. */ name: string; }; query?: { /** * A flag indicating whether to force delete the team, including associated players and data (default is false). */ forceDelete?: boolean; }; url: '/aioptimize/teams/{name}'; }; export type DeleteTeamResponses = { /** * Success */ 200: unknown; }; export type GetTeamByNameData = { body?: never; path: { /** * The name of the team to retrieve. */ name: string; }; query?: never; url: '/aioptimize/teams/{name}'; }; export type GetTeamByNameResponses = { /** * Success */ 200: unknown; }; export type UpdateTeamData = { /** * Data transfer object (DTO) containing the updated team information. */ body?: ScStandingsEntityDtosIncomeDtoUpdateTeamDto; path: { /** * The name of the team to be updated. */ name: string; }; query?: never; url: '/aioptimize/teams/{name}'; }; export type UpdateTeamResponses = { /** * Success */ 200: unknown; }; export type CreateTeamPlayerData = { /** * Data transfer object (DTO) containing player information. */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiSavePlayerDto; path: { /** * The name of the team for which the player is being created. */ name: string; }; query?: never; url: '/aioptimize/teams/{name}/player'; }; export type CreateTeamPlayerResponses = { /** * Success */ 200: unknown; }; export type CreateTeamData = { /** * Data transfer object containing team information (name, sport kind, etc.) */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiSaveTeamDto; path?: never; query?: never; url: '/aioptimize/teams'; }; export type CreateTeamErrors = { /** * Bad Request */ 400: MicrosoftAspNetCoreMvcProblemDetails; }; export type CreateTeamError = CreateTeamErrors[keyof CreateTeamErrors]; export type CreateTeamResponses = { /** * Success */ 200: string; }; export type CreateTeamResponse = CreateTeamResponses[keyof CreateTeamResponses]; export type GetTeamPlayersData = { body?: never; path: { /** * The name of the team for which player information is requested. */ name: string; }; query?: never; url: '/aioptimize/teams/{name}/players'; }; export type GetTeamPlayersResponses = { /** * Success */ 200: unknown; }; export type GetUserTotalStatsData = { body?: never; path: { /** * The name of the team for which total statistics are requested. */ name: string; }; query?: never; url: '/aioptimize/teams/{name}/totalstats'; }; export type GetUserTotalStatsResponses = { /** * Success */ 200: unknown; }; export type PostAioptimizeTeamsRosterData = { /** * Roster data */ body?: ScStandingsEntityDtosIncomeDtoAiOptimizeAiAddTeamRosterDto; path?: never; query?: never; url: '/aioptimize/teams/roster'; }; export type PostAioptimizeTeamsRosterErrors = { /** * Forbidden */ 403: MicrosoftAspNetCoreMvcProblemDetails; /** * Not Found */ 404: MicrosoftAspNetCoreMvcProblemDetails; }; export type PostAioptimizeTeamsRosterError = PostAioptimizeTeamsRosterErrors[keyof PostAioptimizeTeamsRosterErrors]; export type PostAioptimizeTeamsRosterResponses = { /** * Success */ 200: ScStandingsApiControllersAiOptimizeResponsesAiSuccessResponse; }; export type PostAioptimizeTeamsRosterResponse = PostAioptimizeTeamsRosterResponses[keyof PostAioptimizeTeamsRosterResponses]; export type GetAioptimizeTeamsFixturePlayersData = { body?: never; path?: never; query?: { /** * Team IDs */ teamIds?: Array; }; url: '/aioptimize/teams/fixture-players'; }; export type GetAioptimizeTeamsFixturePlayersResponses = { /** * Schema removed for compatibility reasons */ 200: { [key: string]: unknown; }; }; export type GetAioptimizeTeamsFixturePlayersResponse = GetAioptimizeTeamsFixturePlayersResponses[keyof GetAioptimizeTeamsFixturePlayersResponses]; export type ClientOptions = { baseUrl: `${string}://${string}/ec-standings-api` | (string & {}); }; //# sourceMappingURL=types.gen.d.ts.map