
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `MatchPlayer` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"

/**
 * Model MatchPlayer
 * 
 */
export type MatchPlayerModel = runtime.Types.Result.DefaultSelection<Prisma.$MatchPlayerPayload>

export type AggregateMatchPlayer = {
  _count: MatchPlayerCountAggregateOutputType | null
  _avg: MatchPlayerAvgAggregateOutputType | null
  _sum: MatchPlayerSumAggregateOutputType | null
  _min: MatchPlayerMinAggregateOutputType | null
  _max: MatchPlayerMaxAggregateOutputType | null
}

export type MatchPlayerAvgAggregateOutputType = {
  points: number | null
  runs: number | null
  ballsFaced: number | null
  fours: number | null
  sixes: number | null
  ballsBowled: number | null
  dotBalls: number | null
  maidens: number | null
  runsConceded: number | null
  wickets: number | null
  wicketsBowledOrLBW: number | null
  catches: number | null
  runOutsDirect: number | null
  runOutsIndirect: number | null
  stumpings: number | null
  minutesPlayed: number | null
  goals: number | null
  assists: number | null
  yellowCards: number | null
  redCards: number | null
  ownGoals: number | null
  penaltiesSaved: number | null
  penaltiesMissed: number | null
  saves: number | null
}

export type MatchPlayerSumAggregateOutputType = {
  points: number | null
  runs: number | null
  ballsFaced: number | null
  fours: number | null
  sixes: number | null
  ballsBowled: number | null
  dotBalls: number | null
  maidens: number | null
  runsConceded: number | null
  wickets: number | null
  wicketsBowledOrLBW: number | null
  catches: number | null
  runOutsDirect: number | null
  runOutsIndirect: number | null
  stumpings: number | null
  minutesPlayed: number | null
  goals: number | null
  assists: number | null
  yellowCards: number | null
  redCards: number | null
  ownGoals: number | null
  penaltiesSaved: number | null
  penaltiesMissed: number | null
  saves: number | null
}

export type MatchPlayerMinAggregateOutputType = {
  id: string | null
  matchId: string | null
  playerId: string | null
  isPlaying: boolean | null
  points: number | null
  runs: number | null
  ballsFaced: number | null
  fours: number | null
  sixes: number | null
  isOut: boolean | null
  ballsBowled: number | null
  dotBalls: number | null
  maidens: number | null
  runsConceded: number | null
  wickets: number | null
  wicketsBowledOrLBW: number | null
  catches: number | null
  runOutsDirect: number | null
  runOutsIndirect: number | null
  stumpings: number | null
  minutesPlayed: number | null
  goals: number | null
  assists: number | null
  cleanSheet: boolean | null
  yellowCards: number | null
  redCards: number | null
  ownGoals: number | null
  penaltiesSaved: number | null
  penaltiesMissed: number | null
  saves: number | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type MatchPlayerMaxAggregateOutputType = {
  id: string | null
  matchId: string | null
  playerId: string | null
  isPlaying: boolean | null
  points: number | null
  runs: number | null
  ballsFaced: number | null
  fours: number | null
  sixes: number | null
  isOut: boolean | null
  ballsBowled: number | null
  dotBalls: number | null
  maidens: number | null
  runsConceded: number | null
  wickets: number | null
  wicketsBowledOrLBW: number | null
  catches: number | null
  runOutsDirect: number | null
  runOutsIndirect: number | null
  stumpings: number | null
  minutesPlayed: number | null
  goals: number | null
  assists: number | null
  cleanSheet: boolean | null
  yellowCards: number | null
  redCards: number | null
  ownGoals: number | null
  penaltiesSaved: number | null
  penaltiesMissed: number | null
  saves: number | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type MatchPlayerCountAggregateOutputType = {
  id: number
  matchId: number
  playerId: number
  isPlaying: number
  points: number
  runs: number
  ballsFaced: number
  fours: number
  sixes: number
  isOut: number
  ballsBowled: number
  dotBalls: number
  maidens: number
  runsConceded: number
  wickets: number
  wicketsBowledOrLBW: number
  catches: number
  runOutsDirect: number
  runOutsIndirect: number
  stumpings: number
  minutesPlayed: number
  goals: number
  assists: number
  cleanSheet: number
  yellowCards: number
  redCards: number
  ownGoals: number
  penaltiesSaved: number
  penaltiesMissed: number
  saves: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type MatchPlayerAvgAggregateInputType = {
  points?: true
  runs?: true
  ballsFaced?: true
  fours?: true
  sixes?: true
  ballsBowled?: true
  dotBalls?: true
  maidens?: true
  runsConceded?: true
  wickets?: true
  wicketsBowledOrLBW?: true
  catches?: true
  runOutsDirect?: true
  runOutsIndirect?: true
  stumpings?: true
  minutesPlayed?: true
  goals?: true
  assists?: true
  yellowCards?: true
  redCards?: true
  ownGoals?: true
  penaltiesSaved?: true
  penaltiesMissed?: true
  saves?: true
}

export type MatchPlayerSumAggregateInputType = {
  points?: true
  runs?: true
  ballsFaced?: true
  fours?: true
  sixes?: true
  ballsBowled?: true
  dotBalls?: true
  maidens?: true
  runsConceded?: true
  wickets?: true
  wicketsBowledOrLBW?: true
  catches?: true
  runOutsDirect?: true
  runOutsIndirect?: true
  stumpings?: true
  minutesPlayed?: true
  goals?: true
  assists?: true
  yellowCards?: true
  redCards?: true
  ownGoals?: true
  penaltiesSaved?: true
  penaltiesMissed?: true
  saves?: true
}

export type MatchPlayerMinAggregateInputType = {
  id?: true
  matchId?: true
  playerId?: true
  isPlaying?: true
  points?: true
  runs?: true
  ballsFaced?: true
  fours?: true
  sixes?: true
  isOut?: true
  ballsBowled?: true
  dotBalls?: true
  maidens?: true
  runsConceded?: true
  wickets?: true
  wicketsBowledOrLBW?: true
  catches?: true
  runOutsDirect?: true
  runOutsIndirect?: true
  stumpings?: true
  minutesPlayed?: true
  goals?: true
  assists?: true
  cleanSheet?: true
  yellowCards?: true
  redCards?: true
  ownGoals?: true
  penaltiesSaved?: true
  penaltiesMissed?: true
  saves?: true
  createdAt?: true
  updatedAt?: true
}

export type MatchPlayerMaxAggregateInputType = {
  id?: true
  matchId?: true
  playerId?: true
  isPlaying?: true
  points?: true
  runs?: true
  ballsFaced?: true
  fours?: true
  sixes?: true
  isOut?: true
  ballsBowled?: true
  dotBalls?: true
  maidens?: true
  runsConceded?: true
  wickets?: true
  wicketsBowledOrLBW?: true
  catches?: true
  runOutsDirect?: true
  runOutsIndirect?: true
  stumpings?: true
  minutesPlayed?: true
  goals?: true
  assists?: true
  cleanSheet?: true
  yellowCards?: true
  redCards?: true
  ownGoals?: true
  penaltiesSaved?: true
  penaltiesMissed?: true
  saves?: true
  createdAt?: true
  updatedAt?: true
}

export type MatchPlayerCountAggregateInputType = {
  id?: true
  matchId?: true
  playerId?: true
  isPlaying?: true
  points?: true
  runs?: true
  ballsFaced?: true
  fours?: true
  sixes?: true
  isOut?: true
  ballsBowled?: true
  dotBalls?: true
  maidens?: true
  runsConceded?: true
  wickets?: true
  wicketsBowledOrLBW?: true
  catches?: true
  runOutsDirect?: true
  runOutsIndirect?: true
  stumpings?: true
  minutesPlayed?: true
  goals?: true
  assists?: true
  cleanSheet?: true
  yellowCards?: true
  redCards?: true
  ownGoals?: true
  penaltiesSaved?: true
  penaltiesMissed?: true
  saves?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type MatchPlayerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which MatchPlayer to aggregate.
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MatchPlayers to fetch.
   */
  orderBy?: Prisma.MatchPlayerOrderByWithRelationInput | Prisma.MatchPlayerOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.MatchPlayerWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MatchPlayers from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` MatchPlayers.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned MatchPlayers
  **/
  _count?: true | MatchPlayerCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: MatchPlayerAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: MatchPlayerSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: MatchPlayerMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: MatchPlayerMaxAggregateInputType
}

export type GetMatchPlayerAggregateType<T extends MatchPlayerAggregateArgs> = {
      [P in keyof T & keyof AggregateMatchPlayer]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateMatchPlayer[P]>
    : Prisma.GetScalarType<T[P], AggregateMatchPlayer[P]>
}




export type MatchPlayerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.MatchPlayerWhereInput
  orderBy?: Prisma.MatchPlayerOrderByWithAggregationInput | Prisma.MatchPlayerOrderByWithAggregationInput[]
  by: Prisma.MatchPlayerScalarFieldEnum[] | Prisma.MatchPlayerScalarFieldEnum
  having?: Prisma.MatchPlayerScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: MatchPlayerCountAggregateInputType | true
  _avg?: MatchPlayerAvgAggregateInputType
  _sum?: MatchPlayerSumAggregateInputType
  _min?: MatchPlayerMinAggregateInputType
  _max?: MatchPlayerMaxAggregateInputType
}

export type MatchPlayerGroupByOutputType = {
  id: string
  matchId: string
  playerId: string
  isPlaying: boolean
  points: number
  runs: number
  ballsFaced: number
  fours: number
  sixes: number
  isOut: boolean
  ballsBowled: number
  dotBalls: number
  maidens: number
  runsConceded: number
  wickets: number
  wicketsBowledOrLBW: number
  catches: number
  runOutsDirect: number
  runOutsIndirect: number
  stumpings: number
  minutesPlayed: number
  goals: number
  assists: number
  cleanSheet: boolean
  yellowCards: number
  redCards: number
  ownGoals: number
  penaltiesSaved: number
  penaltiesMissed: number
  saves: number
  createdAt: Date
  updatedAt: Date
  _count: MatchPlayerCountAggregateOutputType | null
  _avg: MatchPlayerAvgAggregateOutputType | null
  _sum: MatchPlayerSumAggregateOutputType | null
  _min: MatchPlayerMinAggregateOutputType | null
  _max: MatchPlayerMaxAggregateOutputType | null
}

export type GetMatchPlayerGroupByPayload<T extends MatchPlayerGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<MatchPlayerGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof MatchPlayerGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], MatchPlayerGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], MatchPlayerGroupByOutputType[P]>
      }
    >
  >



export type MatchPlayerWhereInput = {
  AND?: Prisma.MatchPlayerWhereInput | Prisma.MatchPlayerWhereInput[]
  OR?: Prisma.MatchPlayerWhereInput[]
  NOT?: Prisma.MatchPlayerWhereInput | Prisma.MatchPlayerWhereInput[]
  id?: Prisma.StringFilter<"MatchPlayer"> | string
  matchId?: Prisma.StringFilter<"MatchPlayer"> | string
  playerId?: Prisma.StringFilter<"MatchPlayer"> | string
  isPlaying?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  points?: Prisma.FloatFilter<"MatchPlayer"> | number
  runs?: Prisma.IntFilter<"MatchPlayer"> | number
  ballsFaced?: Prisma.IntFilter<"MatchPlayer"> | number
  fours?: Prisma.IntFilter<"MatchPlayer"> | number
  sixes?: Prisma.IntFilter<"MatchPlayer"> | number
  isOut?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  ballsBowled?: Prisma.IntFilter<"MatchPlayer"> | number
  dotBalls?: Prisma.IntFilter<"MatchPlayer"> | number
  maidens?: Prisma.IntFilter<"MatchPlayer"> | number
  runsConceded?: Prisma.IntFilter<"MatchPlayer"> | number
  wickets?: Prisma.IntFilter<"MatchPlayer"> | number
  wicketsBowledOrLBW?: Prisma.IntFilter<"MatchPlayer"> | number
  catches?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsDirect?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsIndirect?: Prisma.IntFilter<"MatchPlayer"> | number
  stumpings?: Prisma.IntFilter<"MatchPlayer"> | number
  minutesPlayed?: Prisma.IntFilter<"MatchPlayer"> | number
  goals?: Prisma.IntFilter<"MatchPlayer"> | number
  assists?: Prisma.IntFilter<"MatchPlayer"> | number
  cleanSheet?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  yellowCards?: Prisma.IntFilter<"MatchPlayer"> | number
  redCards?: Prisma.IntFilter<"MatchPlayer"> | number
  ownGoals?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesSaved?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesMissed?: Prisma.IntFilter<"MatchPlayer"> | number
  saves?: Prisma.IntFilter<"MatchPlayer"> | number
  createdAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
  match?: Prisma.XOR<Prisma.MatchScalarRelationFilter, Prisma.MatchWhereInput>
  player?: Prisma.XOR<Prisma.PlayerScalarRelationFilter, Prisma.PlayerWhereInput>
  userTeamSelections?: Prisma.UserTeamPlayerListRelationFilter
}

export type MatchPlayerOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  matchId?: Prisma.SortOrder
  playerId?: Prisma.SortOrder
  isPlaying?: Prisma.SortOrder
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  isOut?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  cleanSheet?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  match?: Prisma.MatchOrderByWithRelationInput
  player?: Prisma.PlayerOrderByWithRelationInput
  userTeamSelections?: Prisma.UserTeamPlayerOrderByRelationAggregateInput
}

export type MatchPlayerWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  matchId_playerId?: Prisma.MatchPlayerMatchIdPlayerIdCompoundUniqueInput
  AND?: Prisma.MatchPlayerWhereInput | Prisma.MatchPlayerWhereInput[]
  OR?: Prisma.MatchPlayerWhereInput[]
  NOT?: Prisma.MatchPlayerWhereInput | Prisma.MatchPlayerWhereInput[]
  matchId?: Prisma.StringFilter<"MatchPlayer"> | string
  playerId?: Prisma.StringFilter<"MatchPlayer"> | string
  isPlaying?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  points?: Prisma.FloatFilter<"MatchPlayer"> | number
  runs?: Prisma.IntFilter<"MatchPlayer"> | number
  ballsFaced?: Prisma.IntFilter<"MatchPlayer"> | number
  fours?: Prisma.IntFilter<"MatchPlayer"> | number
  sixes?: Prisma.IntFilter<"MatchPlayer"> | number
  isOut?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  ballsBowled?: Prisma.IntFilter<"MatchPlayer"> | number
  dotBalls?: Prisma.IntFilter<"MatchPlayer"> | number
  maidens?: Prisma.IntFilter<"MatchPlayer"> | number
  runsConceded?: Prisma.IntFilter<"MatchPlayer"> | number
  wickets?: Prisma.IntFilter<"MatchPlayer"> | number
  wicketsBowledOrLBW?: Prisma.IntFilter<"MatchPlayer"> | number
  catches?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsDirect?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsIndirect?: Prisma.IntFilter<"MatchPlayer"> | number
  stumpings?: Prisma.IntFilter<"MatchPlayer"> | number
  minutesPlayed?: Prisma.IntFilter<"MatchPlayer"> | number
  goals?: Prisma.IntFilter<"MatchPlayer"> | number
  assists?: Prisma.IntFilter<"MatchPlayer"> | number
  cleanSheet?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  yellowCards?: Prisma.IntFilter<"MatchPlayer"> | number
  redCards?: Prisma.IntFilter<"MatchPlayer"> | number
  ownGoals?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesSaved?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesMissed?: Prisma.IntFilter<"MatchPlayer"> | number
  saves?: Prisma.IntFilter<"MatchPlayer"> | number
  createdAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
  match?: Prisma.XOR<Prisma.MatchScalarRelationFilter, Prisma.MatchWhereInput>
  player?: Prisma.XOR<Prisma.PlayerScalarRelationFilter, Prisma.PlayerWhereInput>
  userTeamSelections?: Prisma.UserTeamPlayerListRelationFilter
}, "id" | "matchId_playerId">

export type MatchPlayerOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  matchId?: Prisma.SortOrder
  playerId?: Prisma.SortOrder
  isPlaying?: Prisma.SortOrder
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  isOut?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  cleanSheet?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.MatchPlayerCountOrderByAggregateInput
  _avg?: Prisma.MatchPlayerAvgOrderByAggregateInput
  _max?: Prisma.MatchPlayerMaxOrderByAggregateInput
  _min?: Prisma.MatchPlayerMinOrderByAggregateInput
  _sum?: Prisma.MatchPlayerSumOrderByAggregateInput
}

export type MatchPlayerScalarWhereWithAggregatesInput = {
  AND?: Prisma.MatchPlayerScalarWhereWithAggregatesInput | Prisma.MatchPlayerScalarWhereWithAggregatesInput[]
  OR?: Prisma.MatchPlayerScalarWhereWithAggregatesInput[]
  NOT?: Prisma.MatchPlayerScalarWhereWithAggregatesInput | Prisma.MatchPlayerScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"MatchPlayer"> | string
  matchId?: Prisma.StringWithAggregatesFilter<"MatchPlayer"> | string
  playerId?: Prisma.StringWithAggregatesFilter<"MatchPlayer"> | string
  isPlaying?: Prisma.BoolWithAggregatesFilter<"MatchPlayer"> | boolean
  points?: Prisma.FloatWithAggregatesFilter<"MatchPlayer"> | number
  runs?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  ballsFaced?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  fours?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  sixes?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  isOut?: Prisma.BoolWithAggregatesFilter<"MatchPlayer"> | boolean
  ballsBowled?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  dotBalls?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  maidens?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  runsConceded?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  wickets?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  wicketsBowledOrLBW?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  catches?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  runOutsDirect?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  runOutsIndirect?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  stumpings?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  minutesPlayed?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  goals?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  assists?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  cleanSheet?: Prisma.BoolWithAggregatesFilter<"MatchPlayer"> | boolean
  yellowCards?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  redCards?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  ownGoals?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  penaltiesSaved?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  penaltiesMissed?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  saves?: Prisma.IntWithAggregatesFilter<"MatchPlayer"> | number
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"MatchPlayer"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"MatchPlayer"> | Date | string
}

export type MatchPlayerCreateInput = {
  id?: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  match: Prisma.MatchCreateNestedOneWithoutMatchPlayersInput
  player: Prisma.PlayerCreateNestedOneWithoutMatchEntriesInput
  userTeamSelections?: Prisma.UserTeamPlayerCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerUncheckedCreateInput = {
  id?: string
  matchId: string
  playerId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  match?: Prisma.MatchUpdateOneRequiredWithoutMatchPlayersNestedInput
  player?: Prisma.PlayerUpdateOneRequiredWithoutMatchEntriesNestedInput
  userTeamSelections?: Prisma.UserTeamPlayerUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  matchId?: Prisma.StringFieldUpdateOperationsInput | string
  playerId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerCreateManyInput = {
  id?: string
  matchId: string
  playerId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type MatchPlayerUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MatchPlayerUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  matchId?: Prisma.StringFieldUpdateOperationsInput | string
  playerId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MatchPlayerListRelationFilter = {
  every?: Prisma.MatchPlayerWhereInput
  some?: Prisma.MatchPlayerWhereInput
  none?: Prisma.MatchPlayerWhereInput
}

export type MatchPlayerOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type MatchPlayerMatchIdPlayerIdCompoundUniqueInput = {
  matchId: string
  playerId: string
}

export type MatchPlayerCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  matchId?: Prisma.SortOrder
  playerId?: Prisma.SortOrder
  isPlaying?: Prisma.SortOrder
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  isOut?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  cleanSheet?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type MatchPlayerAvgOrderByAggregateInput = {
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
}

export type MatchPlayerMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  matchId?: Prisma.SortOrder
  playerId?: Prisma.SortOrder
  isPlaying?: Prisma.SortOrder
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  isOut?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  cleanSheet?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type MatchPlayerMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  matchId?: Prisma.SortOrder
  playerId?: Prisma.SortOrder
  isPlaying?: Prisma.SortOrder
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  isOut?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  cleanSheet?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type MatchPlayerSumOrderByAggregateInput = {
  points?: Prisma.SortOrder
  runs?: Prisma.SortOrder
  ballsFaced?: Prisma.SortOrder
  fours?: Prisma.SortOrder
  sixes?: Prisma.SortOrder
  ballsBowled?: Prisma.SortOrder
  dotBalls?: Prisma.SortOrder
  maidens?: Prisma.SortOrder
  runsConceded?: Prisma.SortOrder
  wickets?: Prisma.SortOrder
  wicketsBowledOrLBW?: Prisma.SortOrder
  catches?: Prisma.SortOrder
  runOutsDirect?: Prisma.SortOrder
  runOutsIndirect?: Prisma.SortOrder
  stumpings?: Prisma.SortOrder
  minutesPlayed?: Prisma.SortOrder
  goals?: Prisma.SortOrder
  assists?: Prisma.SortOrder
  yellowCards?: Prisma.SortOrder
  redCards?: Prisma.SortOrder
  ownGoals?: Prisma.SortOrder
  penaltiesSaved?: Prisma.SortOrder
  penaltiesMissed?: Prisma.SortOrder
  saves?: Prisma.SortOrder
}

export type MatchPlayerScalarRelationFilter = {
  is?: Prisma.MatchPlayerWhereInput
  isNot?: Prisma.MatchPlayerWhereInput
}

export type MatchPlayerCreateNestedManyWithoutPlayerInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput> | Prisma.MatchPlayerCreateWithoutPlayerInput[] | Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput | Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput[]
  createMany?: Prisma.MatchPlayerCreateManyPlayerInputEnvelope
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
}

export type MatchPlayerUncheckedCreateNestedManyWithoutPlayerInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput> | Prisma.MatchPlayerCreateWithoutPlayerInput[] | Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput | Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput[]
  createMany?: Prisma.MatchPlayerCreateManyPlayerInputEnvelope
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
}

export type MatchPlayerUpdateManyWithoutPlayerNestedInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput> | Prisma.MatchPlayerCreateWithoutPlayerInput[] | Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput | Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput[]
  upsert?: Prisma.MatchPlayerUpsertWithWhereUniqueWithoutPlayerInput | Prisma.MatchPlayerUpsertWithWhereUniqueWithoutPlayerInput[]
  createMany?: Prisma.MatchPlayerCreateManyPlayerInputEnvelope
  set?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  disconnect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  delete?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  update?: Prisma.MatchPlayerUpdateWithWhereUniqueWithoutPlayerInput | Prisma.MatchPlayerUpdateWithWhereUniqueWithoutPlayerInput[]
  updateMany?: Prisma.MatchPlayerUpdateManyWithWhereWithoutPlayerInput | Prisma.MatchPlayerUpdateManyWithWhereWithoutPlayerInput[]
  deleteMany?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
}

export type MatchPlayerUncheckedUpdateManyWithoutPlayerNestedInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput> | Prisma.MatchPlayerCreateWithoutPlayerInput[] | Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput | Prisma.MatchPlayerCreateOrConnectWithoutPlayerInput[]
  upsert?: Prisma.MatchPlayerUpsertWithWhereUniqueWithoutPlayerInput | Prisma.MatchPlayerUpsertWithWhereUniqueWithoutPlayerInput[]
  createMany?: Prisma.MatchPlayerCreateManyPlayerInputEnvelope
  set?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  disconnect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  delete?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  update?: Prisma.MatchPlayerUpdateWithWhereUniqueWithoutPlayerInput | Prisma.MatchPlayerUpdateWithWhereUniqueWithoutPlayerInput[]
  updateMany?: Prisma.MatchPlayerUpdateManyWithWhereWithoutPlayerInput | Prisma.MatchPlayerUpdateManyWithWhereWithoutPlayerInput[]
  deleteMany?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
}

export type MatchPlayerCreateNestedManyWithoutMatchInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput> | Prisma.MatchPlayerCreateWithoutMatchInput[] | Prisma.MatchPlayerUncheckedCreateWithoutMatchInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutMatchInput | Prisma.MatchPlayerCreateOrConnectWithoutMatchInput[]
  createMany?: Prisma.MatchPlayerCreateManyMatchInputEnvelope
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
}

export type MatchPlayerUncheckedCreateNestedManyWithoutMatchInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput> | Prisma.MatchPlayerCreateWithoutMatchInput[] | Prisma.MatchPlayerUncheckedCreateWithoutMatchInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutMatchInput | Prisma.MatchPlayerCreateOrConnectWithoutMatchInput[]
  createMany?: Prisma.MatchPlayerCreateManyMatchInputEnvelope
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
}

export type MatchPlayerUpdateManyWithoutMatchNestedInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput> | Prisma.MatchPlayerCreateWithoutMatchInput[] | Prisma.MatchPlayerUncheckedCreateWithoutMatchInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutMatchInput | Prisma.MatchPlayerCreateOrConnectWithoutMatchInput[]
  upsert?: Prisma.MatchPlayerUpsertWithWhereUniqueWithoutMatchInput | Prisma.MatchPlayerUpsertWithWhereUniqueWithoutMatchInput[]
  createMany?: Prisma.MatchPlayerCreateManyMatchInputEnvelope
  set?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  disconnect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  delete?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  update?: Prisma.MatchPlayerUpdateWithWhereUniqueWithoutMatchInput | Prisma.MatchPlayerUpdateWithWhereUniqueWithoutMatchInput[]
  updateMany?: Prisma.MatchPlayerUpdateManyWithWhereWithoutMatchInput | Prisma.MatchPlayerUpdateManyWithWhereWithoutMatchInput[]
  deleteMany?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
}

export type MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput> | Prisma.MatchPlayerCreateWithoutMatchInput[] | Prisma.MatchPlayerUncheckedCreateWithoutMatchInput[]
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutMatchInput | Prisma.MatchPlayerCreateOrConnectWithoutMatchInput[]
  upsert?: Prisma.MatchPlayerUpsertWithWhereUniqueWithoutMatchInput | Prisma.MatchPlayerUpsertWithWhereUniqueWithoutMatchInput[]
  createMany?: Prisma.MatchPlayerCreateManyMatchInputEnvelope
  set?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  disconnect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  delete?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  connect?: Prisma.MatchPlayerWhereUniqueInput | Prisma.MatchPlayerWhereUniqueInput[]
  update?: Prisma.MatchPlayerUpdateWithWhereUniqueWithoutMatchInput | Prisma.MatchPlayerUpdateWithWhereUniqueWithoutMatchInput[]
  updateMany?: Prisma.MatchPlayerUpdateManyWithWhereWithoutMatchInput | Prisma.MatchPlayerUpdateManyWithWhereWithoutMatchInput[]
  deleteMany?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
}

export type MatchPlayerCreateNestedOneWithoutUserTeamSelectionsInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedCreateWithoutUserTeamSelectionsInput>
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutUserTeamSelectionsInput
  connect?: Prisma.MatchPlayerWhereUniqueInput
}

export type MatchPlayerUpdateOneRequiredWithoutUserTeamSelectionsNestedInput = {
  create?: Prisma.XOR<Prisma.MatchPlayerCreateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedCreateWithoutUserTeamSelectionsInput>
  connectOrCreate?: Prisma.MatchPlayerCreateOrConnectWithoutUserTeamSelectionsInput
  upsert?: Prisma.MatchPlayerUpsertWithoutUserTeamSelectionsInput
  connect?: Prisma.MatchPlayerWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.MatchPlayerUpdateToOneWithWhereWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUpdateWithoutUserTeamSelectionsInput>, Prisma.MatchPlayerUncheckedUpdateWithoutUserTeamSelectionsInput>
}

export type MatchPlayerCreateWithoutPlayerInput = {
  id?: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  match: Prisma.MatchCreateNestedOneWithoutMatchPlayersInput
  userTeamSelections?: Prisma.UserTeamPlayerCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerUncheckedCreateWithoutPlayerInput = {
  id?: string
  matchId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerCreateOrConnectWithoutPlayerInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput>
}

export type MatchPlayerCreateManyPlayerInputEnvelope = {
  data: Prisma.MatchPlayerCreateManyPlayerInput | Prisma.MatchPlayerCreateManyPlayerInput[]
  skipDuplicates?: boolean
}

export type MatchPlayerUpsertWithWhereUniqueWithoutPlayerInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  update: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutPlayerInput, Prisma.MatchPlayerUncheckedUpdateWithoutPlayerInput>
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutPlayerInput, Prisma.MatchPlayerUncheckedCreateWithoutPlayerInput>
}

export type MatchPlayerUpdateWithWhereUniqueWithoutPlayerInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  data: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutPlayerInput, Prisma.MatchPlayerUncheckedUpdateWithoutPlayerInput>
}

export type MatchPlayerUpdateManyWithWhereWithoutPlayerInput = {
  where: Prisma.MatchPlayerScalarWhereInput
  data: Prisma.XOR<Prisma.MatchPlayerUpdateManyMutationInput, Prisma.MatchPlayerUncheckedUpdateManyWithoutPlayerInput>
}

export type MatchPlayerScalarWhereInput = {
  AND?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
  OR?: Prisma.MatchPlayerScalarWhereInput[]
  NOT?: Prisma.MatchPlayerScalarWhereInput | Prisma.MatchPlayerScalarWhereInput[]
  id?: Prisma.StringFilter<"MatchPlayer"> | string
  matchId?: Prisma.StringFilter<"MatchPlayer"> | string
  playerId?: Prisma.StringFilter<"MatchPlayer"> | string
  isPlaying?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  points?: Prisma.FloatFilter<"MatchPlayer"> | number
  runs?: Prisma.IntFilter<"MatchPlayer"> | number
  ballsFaced?: Prisma.IntFilter<"MatchPlayer"> | number
  fours?: Prisma.IntFilter<"MatchPlayer"> | number
  sixes?: Prisma.IntFilter<"MatchPlayer"> | number
  isOut?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  ballsBowled?: Prisma.IntFilter<"MatchPlayer"> | number
  dotBalls?: Prisma.IntFilter<"MatchPlayer"> | number
  maidens?: Prisma.IntFilter<"MatchPlayer"> | number
  runsConceded?: Prisma.IntFilter<"MatchPlayer"> | number
  wickets?: Prisma.IntFilter<"MatchPlayer"> | number
  wicketsBowledOrLBW?: Prisma.IntFilter<"MatchPlayer"> | number
  catches?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsDirect?: Prisma.IntFilter<"MatchPlayer"> | number
  runOutsIndirect?: Prisma.IntFilter<"MatchPlayer"> | number
  stumpings?: Prisma.IntFilter<"MatchPlayer"> | number
  minutesPlayed?: Prisma.IntFilter<"MatchPlayer"> | number
  goals?: Prisma.IntFilter<"MatchPlayer"> | number
  assists?: Prisma.IntFilter<"MatchPlayer"> | number
  cleanSheet?: Prisma.BoolFilter<"MatchPlayer"> | boolean
  yellowCards?: Prisma.IntFilter<"MatchPlayer"> | number
  redCards?: Prisma.IntFilter<"MatchPlayer"> | number
  ownGoals?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesSaved?: Prisma.IntFilter<"MatchPlayer"> | number
  penaltiesMissed?: Prisma.IntFilter<"MatchPlayer"> | number
  saves?: Prisma.IntFilter<"MatchPlayer"> | number
  createdAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"MatchPlayer"> | Date | string
}

export type MatchPlayerCreateWithoutMatchInput = {
  id?: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  player: Prisma.PlayerCreateNestedOneWithoutMatchEntriesInput
  userTeamSelections?: Prisma.UserTeamPlayerCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerUncheckedCreateWithoutMatchInput = {
  id?: string
  playerId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedCreateNestedManyWithoutMatchPlayerInput
}

export type MatchPlayerCreateOrConnectWithoutMatchInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput>
}

export type MatchPlayerCreateManyMatchInputEnvelope = {
  data: Prisma.MatchPlayerCreateManyMatchInput | Prisma.MatchPlayerCreateManyMatchInput[]
  skipDuplicates?: boolean
}

export type MatchPlayerUpsertWithWhereUniqueWithoutMatchInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  update: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutMatchInput, Prisma.MatchPlayerUncheckedUpdateWithoutMatchInput>
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutMatchInput, Prisma.MatchPlayerUncheckedCreateWithoutMatchInput>
}

export type MatchPlayerUpdateWithWhereUniqueWithoutMatchInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  data: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutMatchInput, Prisma.MatchPlayerUncheckedUpdateWithoutMatchInput>
}

export type MatchPlayerUpdateManyWithWhereWithoutMatchInput = {
  where: Prisma.MatchPlayerScalarWhereInput
  data: Prisma.XOR<Prisma.MatchPlayerUpdateManyMutationInput, Prisma.MatchPlayerUncheckedUpdateManyWithoutMatchInput>
}

export type MatchPlayerCreateWithoutUserTeamSelectionsInput = {
  id?: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
  match: Prisma.MatchCreateNestedOneWithoutMatchPlayersInput
  player: Prisma.PlayerCreateNestedOneWithoutMatchEntriesInput
}

export type MatchPlayerUncheckedCreateWithoutUserTeamSelectionsInput = {
  id?: string
  matchId: string
  playerId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type MatchPlayerCreateOrConnectWithoutUserTeamSelectionsInput = {
  where: Prisma.MatchPlayerWhereUniqueInput
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedCreateWithoutUserTeamSelectionsInput>
}

export type MatchPlayerUpsertWithoutUserTeamSelectionsInput = {
  update: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedUpdateWithoutUserTeamSelectionsInput>
  create: Prisma.XOR<Prisma.MatchPlayerCreateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedCreateWithoutUserTeamSelectionsInput>
  where?: Prisma.MatchPlayerWhereInput
}

export type MatchPlayerUpdateToOneWithWhereWithoutUserTeamSelectionsInput = {
  where?: Prisma.MatchPlayerWhereInput
  data: Prisma.XOR<Prisma.MatchPlayerUpdateWithoutUserTeamSelectionsInput, Prisma.MatchPlayerUncheckedUpdateWithoutUserTeamSelectionsInput>
}

export type MatchPlayerUpdateWithoutUserTeamSelectionsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  match?: Prisma.MatchUpdateOneRequiredWithoutMatchPlayersNestedInput
  player?: Prisma.PlayerUpdateOneRequiredWithoutMatchEntriesNestedInput
}

export type MatchPlayerUncheckedUpdateWithoutUserTeamSelectionsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  matchId?: Prisma.StringFieldUpdateOperationsInput | string
  playerId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MatchPlayerCreateManyPlayerInput = {
  id?: string
  matchId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type MatchPlayerUpdateWithoutPlayerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  match?: Prisma.MatchUpdateOneRequiredWithoutMatchPlayersNestedInput
  userTeamSelections?: Prisma.UserTeamPlayerUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerUncheckedUpdateWithoutPlayerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  matchId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerUncheckedUpdateManyWithoutPlayerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  matchId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MatchPlayerCreateManyMatchInput = {
  id?: string
  playerId: string
  isPlaying?: boolean
  points?: number
  runs?: number
  ballsFaced?: number
  fours?: number
  sixes?: number
  isOut?: boolean
  ballsBowled?: number
  dotBalls?: number
  maidens?: number
  runsConceded?: number
  wickets?: number
  wicketsBowledOrLBW?: number
  catches?: number
  runOutsDirect?: number
  runOutsIndirect?: number
  stumpings?: number
  minutesPlayed?: number
  goals?: number
  assists?: number
  cleanSheet?: boolean
  yellowCards?: number
  redCards?: number
  ownGoals?: number
  penaltiesSaved?: number
  penaltiesMissed?: number
  saves?: number
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type MatchPlayerUpdateWithoutMatchInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  player?: Prisma.PlayerUpdateOneRequiredWithoutMatchEntriesNestedInput
  userTeamSelections?: Prisma.UserTeamPlayerUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerUncheckedUpdateWithoutMatchInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  playerId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  userTeamSelections?: Prisma.UserTeamPlayerUncheckedUpdateManyWithoutMatchPlayerNestedInput
}

export type MatchPlayerUncheckedUpdateManyWithoutMatchInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  playerId?: Prisma.StringFieldUpdateOperationsInput | string
  isPlaying?: Prisma.BoolFieldUpdateOperationsInput | boolean
  points?: Prisma.FloatFieldUpdateOperationsInput | number
  runs?: Prisma.IntFieldUpdateOperationsInput | number
  ballsFaced?: Prisma.IntFieldUpdateOperationsInput | number
  fours?: Prisma.IntFieldUpdateOperationsInput | number
  sixes?: Prisma.IntFieldUpdateOperationsInput | number
  isOut?: Prisma.BoolFieldUpdateOperationsInput | boolean
  ballsBowled?: Prisma.IntFieldUpdateOperationsInput | number
  dotBalls?: Prisma.IntFieldUpdateOperationsInput | number
  maidens?: Prisma.IntFieldUpdateOperationsInput | number
  runsConceded?: Prisma.IntFieldUpdateOperationsInput | number
  wickets?: Prisma.IntFieldUpdateOperationsInput | number
  wicketsBowledOrLBW?: Prisma.IntFieldUpdateOperationsInput | number
  catches?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsDirect?: Prisma.IntFieldUpdateOperationsInput | number
  runOutsIndirect?: Prisma.IntFieldUpdateOperationsInput | number
  stumpings?: Prisma.IntFieldUpdateOperationsInput | number
  minutesPlayed?: Prisma.IntFieldUpdateOperationsInput | number
  goals?: Prisma.IntFieldUpdateOperationsInput | number
  assists?: Prisma.IntFieldUpdateOperationsInput | number
  cleanSheet?: Prisma.BoolFieldUpdateOperationsInput | boolean
  yellowCards?: Prisma.IntFieldUpdateOperationsInput | number
  redCards?: Prisma.IntFieldUpdateOperationsInput | number
  ownGoals?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesSaved?: Prisma.IntFieldUpdateOperationsInput | number
  penaltiesMissed?: Prisma.IntFieldUpdateOperationsInput | number
  saves?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type MatchPlayerCountOutputType
 */

export type MatchPlayerCountOutputType = {
  userTeamSelections: number
}

export type MatchPlayerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  userTeamSelections?: boolean | MatchPlayerCountOutputTypeCountUserTeamSelectionsArgs
}

/**
 * MatchPlayerCountOutputType without action
 */
export type MatchPlayerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayerCountOutputType
   */
  select?: Prisma.MatchPlayerCountOutputTypeSelect<ExtArgs> | null
}

/**
 * MatchPlayerCountOutputType without action
 */
export type MatchPlayerCountOutputTypeCountUserTeamSelectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.UserTeamPlayerWhereInput
}


export type MatchPlayerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  matchId?: boolean
  playerId?: boolean
  isPlaying?: boolean
  points?: boolean
  runs?: boolean
  ballsFaced?: boolean
  fours?: boolean
  sixes?: boolean
  isOut?: boolean
  ballsBowled?: boolean
  dotBalls?: boolean
  maidens?: boolean
  runsConceded?: boolean
  wickets?: boolean
  wicketsBowledOrLBW?: boolean
  catches?: boolean
  runOutsDirect?: boolean
  runOutsIndirect?: boolean
  stumpings?: boolean
  minutesPlayed?: boolean
  goals?: boolean
  assists?: boolean
  cleanSheet?: boolean
  yellowCards?: boolean
  redCards?: boolean
  ownGoals?: boolean
  penaltiesSaved?: boolean
  penaltiesMissed?: boolean
  saves?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
  userTeamSelections?: boolean | Prisma.MatchPlayer$userTeamSelectionsArgs<ExtArgs>
  _count?: boolean | Prisma.MatchPlayerCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["matchPlayer"]>

export type MatchPlayerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  matchId?: boolean
  playerId?: boolean
  isPlaying?: boolean
  points?: boolean
  runs?: boolean
  ballsFaced?: boolean
  fours?: boolean
  sixes?: boolean
  isOut?: boolean
  ballsBowled?: boolean
  dotBalls?: boolean
  maidens?: boolean
  runsConceded?: boolean
  wickets?: boolean
  wicketsBowledOrLBW?: boolean
  catches?: boolean
  runOutsDirect?: boolean
  runOutsIndirect?: boolean
  stumpings?: boolean
  minutesPlayed?: boolean
  goals?: boolean
  assists?: boolean
  cleanSheet?: boolean
  yellowCards?: boolean
  redCards?: boolean
  ownGoals?: boolean
  penaltiesSaved?: boolean
  penaltiesMissed?: boolean
  saves?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["matchPlayer"]>

export type MatchPlayerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  matchId?: boolean
  playerId?: boolean
  isPlaying?: boolean
  points?: boolean
  runs?: boolean
  ballsFaced?: boolean
  fours?: boolean
  sixes?: boolean
  isOut?: boolean
  ballsBowled?: boolean
  dotBalls?: boolean
  maidens?: boolean
  runsConceded?: boolean
  wickets?: boolean
  wicketsBowledOrLBW?: boolean
  catches?: boolean
  runOutsDirect?: boolean
  runOutsIndirect?: boolean
  stumpings?: boolean
  minutesPlayed?: boolean
  goals?: boolean
  assists?: boolean
  cleanSheet?: boolean
  yellowCards?: boolean
  redCards?: boolean
  ownGoals?: boolean
  penaltiesSaved?: boolean
  penaltiesMissed?: boolean
  saves?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["matchPlayer"]>

export type MatchPlayerSelectScalar = {
  id?: boolean
  matchId?: boolean
  playerId?: boolean
  isPlaying?: boolean
  points?: boolean
  runs?: boolean
  ballsFaced?: boolean
  fours?: boolean
  sixes?: boolean
  isOut?: boolean
  ballsBowled?: boolean
  dotBalls?: boolean
  maidens?: boolean
  runsConceded?: boolean
  wickets?: boolean
  wicketsBowledOrLBW?: boolean
  catches?: boolean
  runOutsDirect?: boolean
  runOutsIndirect?: boolean
  stumpings?: boolean
  minutesPlayed?: boolean
  goals?: boolean
  assists?: boolean
  cleanSheet?: boolean
  yellowCards?: boolean
  redCards?: boolean
  ownGoals?: boolean
  penaltiesSaved?: boolean
  penaltiesMissed?: boolean
  saves?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type MatchPlayerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "matchId" | "playerId" | "isPlaying" | "points" | "runs" | "ballsFaced" | "fours" | "sixes" | "isOut" | "ballsBowled" | "dotBalls" | "maidens" | "runsConceded" | "wickets" | "wicketsBowledOrLBW" | "catches" | "runOutsDirect" | "runOutsIndirect" | "stumpings" | "minutesPlayed" | "goals" | "assists" | "cleanSheet" | "yellowCards" | "redCards" | "ownGoals" | "penaltiesSaved" | "penaltiesMissed" | "saves" | "createdAt" | "updatedAt", ExtArgs["result"]["matchPlayer"]>
export type MatchPlayerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
  userTeamSelections?: boolean | Prisma.MatchPlayer$userTeamSelectionsArgs<ExtArgs>
  _count?: boolean | Prisma.MatchPlayerCountOutputTypeDefaultArgs<ExtArgs>
}
export type MatchPlayerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
}
export type MatchPlayerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  match?: boolean | Prisma.MatchDefaultArgs<ExtArgs>
  player?: boolean | Prisma.PlayerDefaultArgs<ExtArgs>
}

export type $MatchPlayerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "MatchPlayer"
  objects: {
    match: Prisma.$MatchPayload<ExtArgs>
    player: Prisma.$PlayerPayload<ExtArgs>
    userTeamSelections: Prisma.$UserTeamPlayerPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    matchId: string
    playerId: string
    isPlaying: boolean
    points: number
    runs: number
    ballsFaced: number
    fours: number
    sixes: number
    isOut: boolean
    ballsBowled: number
    dotBalls: number
    maidens: number
    runsConceded: number
    wickets: number
    wicketsBowledOrLBW: number
    catches: number
    runOutsDirect: number
    runOutsIndirect: number
    stumpings: number
    minutesPlayed: number
    goals: number
    assists: number
    cleanSheet: boolean
    yellowCards: number
    redCards: number
    ownGoals: number
    penaltiesSaved: number
    penaltiesMissed: number
    saves: number
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["matchPlayer"]>
  composites: {}
}

export type MatchPlayerGetPayload<S extends boolean | null | undefined | MatchPlayerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload, S>

export type MatchPlayerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<MatchPlayerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: MatchPlayerCountAggregateInputType | true
  }

export interface MatchPlayerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MatchPlayer'], meta: { name: 'MatchPlayer' } }
  /**
   * Find zero or one MatchPlayer that matches the filter.
   * @param {MatchPlayerFindUniqueArgs} args - Arguments to find a MatchPlayer
   * @example
   * // Get one MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends MatchPlayerFindUniqueArgs>(args: Prisma.SelectSubset<T, MatchPlayerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one MatchPlayer that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {MatchPlayerFindUniqueOrThrowArgs} args - Arguments to find a MatchPlayer
   * @example
   * // Get one MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends MatchPlayerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MatchPlayerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first MatchPlayer that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerFindFirstArgs} args - Arguments to find a MatchPlayer
   * @example
   * // Get one MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends MatchPlayerFindFirstArgs>(args?: Prisma.SelectSubset<T, MatchPlayerFindFirstArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first MatchPlayer that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerFindFirstOrThrowArgs} args - Arguments to find a MatchPlayer
   * @example
   * // Get one MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends MatchPlayerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MatchPlayerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more MatchPlayers that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all MatchPlayers
   * const matchPlayers = await prisma.matchPlayer.findMany()
   * 
   * // Get first 10 MatchPlayers
   * const matchPlayers = await prisma.matchPlayer.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const matchPlayerWithIdOnly = await prisma.matchPlayer.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends MatchPlayerFindManyArgs>(args?: Prisma.SelectSubset<T, MatchPlayerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a MatchPlayer.
   * @param {MatchPlayerCreateArgs} args - Arguments to create a MatchPlayer.
   * @example
   * // Create one MatchPlayer
   * const MatchPlayer = await prisma.matchPlayer.create({
   *   data: {
   *     // ... data to create a MatchPlayer
   *   }
   * })
   * 
   */
  create<T extends MatchPlayerCreateArgs>(args: Prisma.SelectSubset<T, MatchPlayerCreateArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many MatchPlayers.
   * @param {MatchPlayerCreateManyArgs} args - Arguments to create many MatchPlayers.
   * @example
   * // Create many MatchPlayers
   * const matchPlayer = await prisma.matchPlayer.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends MatchPlayerCreateManyArgs>(args?: Prisma.SelectSubset<T, MatchPlayerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many MatchPlayers and returns the data saved in the database.
   * @param {MatchPlayerCreateManyAndReturnArgs} args - Arguments to create many MatchPlayers.
   * @example
   * // Create many MatchPlayers
   * const matchPlayer = await prisma.matchPlayer.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many MatchPlayers and only return the `id`
   * const matchPlayerWithIdOnly = await prisma.matchPlayer.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends MatchPlayerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MatchPlayerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a MatchPlayer.
   * @param {MatchPlayerDeleteArgs} args - Arguments to delete one MatchPlayer.
   * @example
   * // Delete one MatchPlayer
   * const MatchPlayer = await prisma.matchPlayer.delete({
   *   where: {
   *     // ... filter to delete one MatchPlayer
   *   }
   * })
   * 
   */
  delete<T extends MatchPlayerDeleteArgs>(args: Prisma.SelectSubset<T, MatchPlayerDeleteArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one MatchPlayer.
   * @param {MatchPlayerUpdateArgs} args - Arguments to update one MatchPlayer.
   * @example
   * // Update one MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends MatchPlayerUpdateArgs>(args: Prisma.SelectSubset<T, MatchPlayerUpdateArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more MatchPlayers.
   * @param {MatchPlayerDeleteManyArgs} args - Arguments to filter MatchPlayers to delete.
   * @example
   * // Delete a few MatchPlayers
   * const { count } = await prisma.matchPlayer.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends MatchPlayerDeleteManyArgs>(args?: Prisma.SelectSubset<T, MatchPlayerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more MatchPlayers.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many MatchPlayers
   * const matchPlayer = await prisma.matchPlayer.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends MatchPlayerUpdateManyArgs>(args: Prisma.SelectSubset<T, MatchPlayerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more MatchPlayers and returns the data updated in the database.
   * @param {MatchPlayerUpdateManyAndReturnArgs} args - Arguments to update many MatchPlayers.
   * @example
   * // Update many MatchPlayers
   * const matchPlayer = await prisma.matchPlayer.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more MatchPlayers and only return the `id`
   * const matchPlayerWithIdOnly = await prisma.matchPlayer.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends MatchPlayerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MatchPlayerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one MatchPlayer.
   * @param {MatchPlayerUpsertArgs} args - Arguments to update or create a MatchPlayer.
   * @example
   * // Update or create a MatchPlayer
   * const matchPlayer = await prisma.matchPlayer.upsert({
   *   create: {
   *     // ... data to create a MatchPlayer
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the MatchPlayer we want to update
   *   }
   * })
   */
  upsert<T extends MatchPlayerUpsertArgs>(args: Prisma.SelectSubset<T, MatchPlayerUpsertArgs<ExtArgs>>): Prisma.Prisma__MatchPlayerClient<runtime.Types.Result.GetResult<Prisma.$MatchPlayerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of MatchPlayers.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerCountArgs} args - Arguments to filter MatchPlayers to count.
   * @example
   * // Count the number of MatchPlayers
   * const count = await prisma.matchPlayer.count({
   *   where: {
   *     // ... the filter for the MatchPlayers we want to count
   *   }
   * })
  **/
  count<T extends MatchPlayerCountArgs>(
    args?: Prisma.Subset<T, MatchPlayerCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], MatchPlayerCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a MatchPlayer.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends MatchPlayerAggregateArgs>(args: Prisma.Subset<T, MatchPlayerAggregateArgs>): Prisma.PrismaPromise<GetMatchPlayerAggregateType<T>>

  /**
   * Group by MatchPlayer.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MatchPlayerGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends MatchPlayerGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: MatchPlayerGroupByArgs['orderBy'] }
      : { orderBy?: MatchPlayerGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, MatchPlayerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMatchPlayerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the MatchPlayer model
 */
readonly fields: MatchPlayerFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for MatchPlayer.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__MatchPlayerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  match<T extends Prisma.MatchDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MatchDefaultArgs<ExtArgs>>): Prisma.Prisma__MatchClient<runtime.Types.Result.GetResult<Prisma.$MatchPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  player<T extends Prisma.PlayerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PlayerDefaultArgs<ExtArgs>>): Prisma.Prisma__PlayerClient<runtime.Types.Result.GetResult<Prisma.$PlayerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  userTeamSelections<T extends Prisma.MatchPlayer$userTeamSelectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MatchPlayer$userTeamSelectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserTeamPlayerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the MatchPlayer model
 */
export interface MatchPlayerFieldRefs {
  readonly id: Prisma.FieldRef<"MatchPlayer", 'String'>
  readonly matchId: Prisma.FieldRef<"MatchPlayer", 'String'>
  readonly playerId: Prisma.FieldRef<"MatchPlayer", 'String'>
  readonly isPlaying: Prisma.FieldRef<"MatchPlayer", 'Boolean'>
  readonly points: Prisma.FieldRef<"MatchPlayer", 'Float'>
  readonly runs: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly ballsFaced: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly fours: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly sixes: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly isOut: Prisma.FieldRef<"MatchPlayer", 'Boolean'>
  readonly ballsBowled: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly dotBalls: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly maidens: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly runsConceded: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly wickets: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly wicketsBowledOrLBW: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly catches: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly runOutsDirect: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly runOutsIndirect: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly stumpings: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly minutesPlayed: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly goals: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly assists: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly cleanSheet: Prisma.FieldRef<"MatchPlayer", 'Boolean'>
  readonly yellowCards: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly redCards: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly ownGoals: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly penaltiesSaved: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly penaltiesMissed: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly saves: Prisma.FieldRef<"MatchPlayer", 'Int'>
  readonly createdAt: Prisma.FieldRef<"MatchPlayer", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"MatchPlayer", 'DateTime'>
}
    

// Custom InputTypes
/**
 * MatchPlayer findUnique
 */
export type MatchPlayerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter, which MatchPlayer to fetch.
   */
  where: Prisma.MatchPlayerWhereUniqueInput
}

/**
 * MatchPlayer findUniqueOrThrow
 */
export type MatchPlayerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter, which MatchPlayer to fetch.
   */
  where: Prisma.MatchPlayerWhereUniqueInput
}

/**
 * MatchPlayer findFirst
 */
export type MatchPlayerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter, which MatchPlayer to fetch.
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MatchPlayers to fetch.
   */
  orderBy?: Prisma.MatchPlayerOrderByWithRelationInput | Prisma.MatchPlayerOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for MatchPlayers.
   */
  cursor?: Prisma.MatchPlayerWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MatchPlayers from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` MatchPlayers.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of MatchPlayers.
   */
  distinct?: Prisma.MatchPlayerScalarFieldEnum | Prisma.MatchPlayerScalarFieldEnum[]
}

/**
 * MatchPlayer findFirstOrThrow
 */
export type MatchPlayerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter, which MatchPlayer to fetch.
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MatchPlayers to fetch.
   */
  orderBy?: Prisma.MatchPlayerOrderByWithRelationInput | Prisma.MatchPlayerOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for MatchPlayers.
   */
  cursor?: Prisma.MatchPlayerWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MatchPlayers from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` MatchPlayers.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of MatchPlayers.
   */
  distinct?: Prisma.MatchPlayerScalarFieldEnum | Prisma.MatchPlayerScalarFieldEnum[]
}

/**
 * MatchPlayer findMany
 */
export type MatchPlayerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter, which MatchPlayers to fetch.
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MatchPlayers to fetch.
   */
  orderBy?: Prisma.MatchPlayerOrderByWithRelationInput | Prisma.MatchPlayerOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing MatchPlayers.
   */
  cursor?: Prisma.MatchPlayerWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MatchPlayers from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` MatchPlayers.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of MatchPlayers.
   */
  distinct?: Prisma.MatchPlayerScalarFieldEnum | Prisma.MatchPlayerScalarFieldEnum[]
}

/**
 * MatchPlayer create
 */
export type MatchPlayerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * The data needed to create a MatchPlayer.
   */
  data: Prisma.XOR<Prisma.MatchPlayerCreateInput, Prisma.MatchPlayerUncheckedCreateInput>
}

/**
 * MatchPlayer createMany
 */
export type MatchPlayerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many MatchPlayers.
   */
  data: Prisma.MatchPlayerCreateManyInput | Prisma.MatchPlayerCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * MatchPlayer createManyAndReturn
 */
export type MatchPlayerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * The data used to create many MatchPlayers.
   */
  data: Prisma.MatchPlayerCreateManyInput | Prisma.MatchPlayerCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * MatchPlayer update
 */
export type MatchPlayerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * The data needed to update a MatchPlayer.
   */
  data: Prisma.XOR<Prisma.MatchPlayerUpdateInput, Prisma.MatchPlayerUncheckedUpdateInput>
  /**
   * Choose, which MatchPlayer to update.
   */
  where: Prisma.MatchPlayerWhereUniqueInput
}

/**
 * MatchPlayer updateMany
 */
export type MatchPlayerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update MatchPlayers.
   */
  data: Prisma.XOR<Prisma.MatchPlayerUpdateManyMutationInput, Prisma.MatchPlayerUncheckedUpdateManyInput>
  /**
   * Filter which MatchPlayers to update
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * Limit how many MatchPlayers to update.
   */
  limit?: number
}

/**
 * MatchPlayer updateManyAndReturn
 */
export type MatchPlayerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * The data used to update MatchPlayers.
   */
  data: Prisma.XOR<Prisma.MatchPlayerUpdateManyMutationInput, Prisma.MatchPlayerUncheckedUpdateManyInput>
  /**
   * Filter which MatchPlayers to update
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * Limit how many MatchPlayers to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * MatchPlayer upsert
 */
export type MatchPlayerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * The filter to search for the MatchPlayer to update in case it exists.
   */
  where: Prisma.MatchPlayerWhereUniqueInput
  /**
   * In case the MatchPlayer found by the `where` argument doesn't exist, create a new MatchPlayer with this data.
   */
  create: Prisma.XOR<Prisma.MatchPlayerCreateInput, Prisma.MatchPlayerUncheckedCreateInput>
  /**
   * In case the MatchPlayer was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.MatchPlayerUpdateInput, Prisma.MatchPlayerUncheckedUpdateInput>
}

/**
 * MatchPlayer delete
 */
export type MatchPlayerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
  /**
   * Filter which MatchPlayer to delete.
   */
  where: Prisma.MatchPlayerWhereUniqueInput
}

/**
 * MatchPlayer deleteMany
 */
export type MatchPlayerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which MatchPlayers to delete
   */
  where?: Prisma.MatchPlayerWhereInput
  /**
   * Limit how many MatchPlayers to delete.
   */
  limit?: number
}

/**
 * MatchPlayer.userTeamSelections
 */
export type MatchPlayer$userTeamSelectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the UserTeamPlayer
   */
  select?: Prisma.UserTeamPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the UserTeamPlayer
   */
  omit?: Prisma.UserTeamPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.UserTeamPlayerInclude<ExtArgs> | null
  where?: Prisma.UserTeamPlayerWhereInput
  orderBy?: Prisma.UserTeamPlayerOrderByWithRelationInput | Prisma.UserTeamPlayerOrderByWithRelationInput[]
  cursor?: Prisma.UserTeamPlayerWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.UserTeamPlayerScalarFieldEnum | Prisma.UserTeamPlayerScalarFieldEnum[]
}

/**
 * MatchPlayer without action
 */
export type MatchPlayerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MatchPlayer
   */
  select?: Prisma.MatchPlayerSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MatchPlayer
   */
  omit?: Prisma.MatchPlayerOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MatchPlayerInclude<ExtArgs> | null
}
