
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `carte_temps` 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"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model carte_temps
 * 
 */
export type carte_tempsModel = runtime.Types.Result.DefaultSelection<Prisma.$carte_tempsPayload>

export type AggregateCarte_temps = {
  _count: Carte_tempsCountAggregateOutputType | null
  _avg: Carte_tempsAvgAggregateOutputType | null
  _sum: Carte_tempsSumAggregateOutputType | null
  _min: Carte_tempsMinAggregateOutputType | null
  _max: Carte_tempsMaxAggregateOutputType | null
}

export type Carte_tempsAvgAggregateOutputType = {
  id: number | null
  week: number | null
  year: number | null
  date: number | null
  staff_id: number | null
  start_am: number | null
  end_am: number | null
  start_pm: number | null
  end_pm: number | null
  start_night: number | null
  end_night: number | null
  relais: number | null
  conge: number | null
}

export type Carte_tempsSumAggregateOutputType = {
  id: number | null
  week: number | null
  year: number | null
  date: bigint | null
  staff_id: bigint | null
  start_am: bigint | null
  end_am: bigint | null
  start_pm: bigint | null
  end_pm: bigint | null
  start_night: bigint | null
  end_night: bigint | null
  relais: number | null
  conge: number | null
}

export type Carte_tempsMinAggregateOutputType = {
  id: number | null
  week: number | null
  year: number | null
  date: bigint | null
  staff_id: bigint | null
  start_am: bigint | null
  end_am: bigint | null
  start_pm: bigint | null
  end_pm: bigint | null
  start_night: bigint | null
  end_night: bigint | null
  relais: number | null
  comment: string | null
  note_int: string | null
  conge: number | null
  appr: string | null
  appr_dir: string | null
}

export type Carte_tempsMaxAggregateOutputType = {
  id: number | null
  week: number | null
  year: number | null
  date: bigint | null
  staff_id: bigint | null
  start_am: bigint | null
  end_am: bigint | null
  start_pm: bigint | null
  end_pm: bigint | null
  start_night: bigint | null
  end_night: bigint | null
  relais: number | null
  comment: string | null
  note_int: string | null
  conge: number | null
  appr: string | null
  appr_dir: string | null
}

export type Carte_tempsCountAggregateOutputType = {
  id: number
  week: number
  year: number
  date: number
  staff_id: number
  start_am: number
  end_am: number
  start_pm: number
  end_pm: number
  start_night: number
  end_night: number
  relais: number
  comment: number
  note_int: number
  conge: number
  appr: number
  appr_dir: number
  _all: number
}


export type Carte_tempsAvgAggregateInputType = {
  id?: true
  week?: true
  year?: true
  date?: true
  staff_id?: true
  start_am?: true
  end_am?: true
  start_pm?: true
  end_pm?: true
  start_night?: true
  end_night?: true
  relais?: true
  conge?: true
}

export type Carte_tempsSumAggregateInputType = {
  id?: true
  week?: true
  year?: true
  date?: true
  staff_id?: true
  start_am?: true
  end_am?: true
  start_pm?: true
  end_pm?: true
  start_night?: true
  end_night?: true
  relais?: true
  conge?: true
}

export type Carte_tempsMinAggregateInputType = {
  id?: true
  week?: true
  year?: true
  date?: true
  staff_id?: true
  start_am?: true
  end_am?: true
  start_pm?: true
  end_pm?: true
  start_night?: true
  end_night?: true
  relais?: true
  comment?: true
  note_int?: true
  conge?: true
  appr?: true
  appr_dir?: true
}

export type Carte_tempsMaxAggregateInputType = {
  id?: true
  week?: true
  year?: true
  date?: true
  staff_id?: true
  start_am?: true
  end_am?: true
  start_pm?: true
  end_pm?: true
  start_night?: true
  end_night?: true
  relais?: true
  comment?: true
  note_int?: true
  conge?: true
  appr?: true
  appr_dir?: true
}

export type Carte_tempsCountAggregateInputType = {
  id?: true
  week?: true
  year?: true
  date?: true
  staff_id?: true
  start_am?: true
  end_am?: true
  start_pm?: true
  end_pm?: true
  start_night?: true
  end_night?: true
  relais?: true
  comment?: true
  note_int?: true
  conge?: true
  appr?: true
  appr_dir?: true
  _all?: true
}

export type Carte_tempsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which carte_temps to aggregate.
   */
  where?: Prisma.carte_tempsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of carte_temps to fetch.
   */
  orderBy?: Prisma.carte_tempsOrderByWithRelationInput | Prisma.carte_tempsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.carte_tempsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` carte_temps 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` carte_temps.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned carte_temps
  **/
  _count?: true | Carte_tempsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Carte_tempsAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Carte_tempsSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Carte_tempsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Carte_tempsMaxAggregateInputType
}

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




export type carte_tempsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.carte_tempsWhereInput
  orderBy?: Prisma.carte_tempsOrderByWithAggregationInput | Prisma.carte_tempsOrderByWithAggregationInput[]
  by: Prisma.Carte_tempsScalarFieldEnum[] | Prisma.Carte_tempsScalarFieldEnum
  having?: Prisma.carte_tempsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Carte_tempsCountAggregateInputType | true
  _avg?: Carte_tempsAvgAggregateInputType
  _sum?: Carte_tempsSumAggregateInputType
  _min?: Carte_tempsMinAggregateInputType
  _max?: Carte_tempsMaxAggregateInputType
}

export type Carte_tempsGroupByOutputType = {
  id: number
  week: number
  year: number | null
  date: bigint
  staff_id: bigint
  start_am: bigint | null
  end_am: bigint | null
  start_pm: bigint | null
  end_pm: bigint | null
  start_night: bigint | null
  end_night: bigint | null
  relais: number | null
  comment: string | null
  note_int: string | null
  conge: number
  appr: string | null
  appr_dir: string | null
  _count: Carte_tempsCountAggregateOutputType | null
  _avg: Carte_tempsAvgAggregateOutputType | null
  _sum: Carte_tempsSumAggregateOutputType | null
  _min: Carte_tempsMinAggregateOutputType | null
  _max: Carte_tempsMaxAggregateOutputType | null
}

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



export type carte_tempsWhereInput = {
  AND?: Prisma.carte_tempsWhereInput | Prisma.carte_tempsWhereInput[]
  OR?: Prisma.carte_tempsWhereInput[]
  NOT?: Prisma.carte_tempsWhereInput | Prisma.carte_tempsWhereInput[]
  id?: Prisma.IntFilter<"carte_temps"> | number
  week?: Prisma.IntFilter<"carte_temps"> | number
  year?: Prisma.IntNullableFilter<"carte_temps"> | number | null
  date?: Prisma.BigIntFilter<"carte_temps"> | bigint | number
  staff_id?: Prisma.BigIntFilter<"carte_temps"> | bigint | number
  start_am?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_am?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  start_pm?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_pm?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  start_night?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_night?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  relais?: Prisma.FloatNullableFilter<"carte_temps"> | number | null
  comment?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  note_int?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  conge?: Prisma.IntFilter<"carte_temps"> | number
  appr?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  appr_dir?: Prisma.StringNullableFilter<"carte_temps"> | string | null
}

export type carte_tempsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrderInput | Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrderInput | Prisma.SortOrder
  end_am?: Prisma.SortOrderInput | Prisma.SortOrder
  start_pm?: Prisma.SortOrderInput | Prisma.SortOrder
  end_pm?: Prisma.SortOrderInput | Prisma.SortOrder
  start_night?: Prisma.SortOrderInput | Prisma.SortOrder
  end_night?: Prisma.SortOrderInput | Prisma.SortOrder
  relais?: Prisma.SortOrderInput | Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  note_int?: Prisma.SortOrderInput | Prisma.SortOrder
  conge?: Prisma.SortOrder
  appr?: Prisma.SortOrderInput | Prisma.SortOrder
  appr_dir?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.carte_tempsOrderByRelevanceInput
}

export type carte_tempsWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.carte_tempsWhereInput | Prisma.carte_tempsWhereInput[]
  OR?: Prisma.carte_tempsWhereInput[]
  NOT?: Prisma.carte_tempsWhereInput | Prisma.carte_tempsWhereInput[]
  week?: Prisma.IntFilter<"carte_temps"> | number
  year?: Prisma.IntNullableFilter<"carte_temps"> | number | null
  date?: Prisma.BigIntFilter<"carte_temps"> | bigint | number
  staff_id?: Prisma.BigIntFilter<"carte_temps"> | bigint | number
  start_am?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_am?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  start_pm?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_pm?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  start_night?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  end_night?: Prisma.BigIntNullableFilter<"carte_temps"> | bigint | number | null
  relais?: Prisma.FloatNullableFilter<"carte_temps"> | number | null
  comment?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  note_int?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  conge?: Prisma.IntFilter<"carte_temps"> | number
  appr?: Prisma.StringNullableFilter<"carte_temps"> | string | null
  appr_dir?: Prisma.StringNullableFilter<"carte_temps"> | string | null
}, "id">

export type carte_tempsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrderInput | Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrderInput | Prisma.SortOrder
  end_am?: Prisma.SortOrderInput | Prisma.SortOrder
  start_pm?: Prisma.SortOrderInput | Prisma.SortOrder
  end_pm?: Prisma.SortOrderInput | Prisma.SortOrder
  start_night?: Prisma.SortOrderInput | Prisma.SortOrder
  end_night?: Prisma.SortOrderInput | Prisma.SortOrder
  relais?: Prisma.SortOrderInput | Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  note_int?: Prisma.SortOrderInput | Prisma.SortOrder
  conge?: Prisma.SortOrder
  appr?: Prisma.SortOrderInput | Prisma.SortOrder
  appr_dir?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.carte_tempsCountOrderByAggregateInput
  _avg?: Prisma.carte_tempsAvgOrderByAggregateInput
  _max?: Prisma.carte_tempsMaxOrderByAggregateInput
  _min?: Prisma.carte_tempsMinOrderByAggregateInput
  _sum?: Prisma.carte_tempsSumOrderByAggregateInput
}

export type carte_tempsScalarWhereWithAggregatesInput = {
  AND?: Prisma.carte_tempsScalarWhereWithAggregatesInput | Prisma.carte_tempsScalarWhereWithAggregatesInput[]
  OR?: Prisma.carte_tempsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.carte_tempsScalarWhereWithAggregatesInput | Prisma.carte_tempsScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"carte_temps"> | number
  week?: Prisma.IntWithAggregatesFilter<"carte_temps"> | number
  year?: Prisma.IntNullableWithAggregatesFilter<"carte_temps"> | number | null
  date?: Prisma.BigIntWithAggregatesFilter<"carte_temps"> | bigint | number
  staff_id?: Prisma.BigIntWithAggregatesFilter<"carte_temps"> | bigint | number
  start_am?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  end_am?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  start_pm?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  end_pm?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  start_night?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  end_night?: Prisma.BigIntNullableWithAggregatesFilter<"carte_temps"> | bigint | number | null
  relais?: Prisma.FloatNullableWithAggregatesFilter<"carte_temps"> | number | null
  comment?: Prisma.StringNullableWithAggregatesFilter<"carte_temps"> | string | null
  note_int?: Prisma.StringNullableWithAggregatesFilter<"carte_temps"> | string | null
  conge?: Prisma.IntWithAggregatesFilter<"carte_temps"> | number
  appr?: Prisma.StringNullableWithAggregatesFilter<"carte_temps"> | string | null
  appr_dir?: Prisma.StringNullableWithAggregatesFilter<"carte_temps"> | string | null
}

export type carte_tempsCreateInput = {
  week: number
  year?: number | null
  date: bigint | number
  staff_id: bigint | number
  start_am?: bigint | number | null
  end_am?: bigint | number | null
  start_pm?: bigint | number | null
  end_pm?: bigint | number | null
  start_night?: bigint | number | null
  end_night?: bigint | number | null
  relais?: number | null
  comment?: string | null
  note_int?: string | null
  conge?: number
  appr?: string | null
  appr_dir?: string | null
}

export type carte_tempsUncheckedCreateInput = {
  id?: number
  week: number
  year?: number | null
  date: bigint | number
  staff_id: bigint | number
  start_am?: bigint | number | null
  end_am?: bigint | number | null
  start_pm?: bigint | number | null
  end_pm?: bigint | number | null
  start_night?: bigint | number | null
  end_night?: bigint | number | null
  relais?: number | null
  comment?: string | null
  note_int?: string | null
  conge?: number
  appr?: string | null
  appr_dir?: string | null
}

export type carte_tempsUpdateInput = {
  week?: Prisma.IntFieldUpdateOperationsInput | number
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  start_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  relais?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  note_int?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  conge?: Prisma.IntFieldUpdateOperationsInput | number
  appr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  appr_dir?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type carte_tempsUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  week?: Prisma.IntFieldUpdateOperationsInput | number
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  start_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  relais?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  note_int?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  conge?: Prisma.IntFieldUpdateOperationsInput | number
  appr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  appr_dir?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type carte_tempsCreateManyInput = {
  id?: number
  week: number
  year?: number | null
  date: bigint | number
  staff_id: bigint | number
  start_am?: bigint | number | null
  end_am?: bigint | number | null
  start_pm?: bigint | number | null
  end_pm?: bigint | number | null
  start_night?: bigint | number | null
  end_night?: bigint | number | null
  relais?: number | null
  comment?: string | null
  note_int?: string | null
  conge?: number
  appr?: string | null
  appr_dir?: string | null
}

export type carte_tempsUpdateManyMutationInput = {
  week?: Prisma.IntFieldUpdateOperationsInput | number
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  start_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  relais?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  note_int?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  conge?: Prisma.IntFieldUpdateOperationsInput | number
  appr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  appr_dir?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type carte_tempsUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  week?: Prisma.IntFieldUpdateOperationsInput | number
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  start_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_am?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_pm?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  start_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  end_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  relais?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  note_int?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  conge?: Prisma.IntFieldUpdateOperationsInput | number
  appr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  appr_dir?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type carte_tempsOrderByRelevanceInput = {
  fields: Prisma.carte_tempsOrderByRelevanceFieldEnum | Prisma.carte_tempsOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type carte_tempsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrder
  end_am?: Prisma.SortOrder
  start_pm?: Prisma.SortOrder
  end_pm?: Prisma.SortOrder
  start_night?: Prisma.SortOrder
  end_night?: Prisma.SortOrder
  relais?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  note_int?: Prisma.SortOrder
  conge?: Prisma.SortOrder
  appr?: Prisma.SortOrder
  appr_dir?: Prisma.SortOrder
}

export type carte_tempsAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrder
  end_am?: Prisma.SortOrder
  start_pm?: Prisma.SortOrder
  end_pm?: Prisma.SortOrder
  start_night?: Prisma.SortOrder
  end_night?: Prisma.SortOrder
  relais?: Prisma.SortOrder
  conge?: Prisma.SortOrder
}

export type carte_tempsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrder
  end_am?: Prisma.SortOrder
  start_pm?: Prisma.SortOrder
  end_pm?: Prisma.SortOrder
  start_night?: Prisma.SortOrder
  end_night?: Prisma.SortOrder
  relais?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  note_int?: Prisma.SortOrder
  conge?: Prisma.SortOrder
  appr?: Prisma.SortOrder
  appr_dir?: Prisma.SortOrder
}

export type carte_tempsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrder
  end_am?: Prisma.SortOrder
  start_pm?: Prisma.SortOrder
  end_pm?: Prisma.SortOrder
  start_night?: Prisma.SortOrder
  end_night?: Prisma.SortOrder
  relais?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  note_int?: Prisma.SortOrder
  conge?: Prisma.SortOrder
  appr?: Prisma.SortOrder
  appr_dir?: Prisma.SortOrder
}

export type carte_tempsSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  week?: Prisma.SortOrder
  year?: Prisma.SortOrder
  date?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  start_am?: Prisma.SortOrder
  end_am?: Prisma.SortOrder
  start_pm?: Prisma.SortOrder
  end_pm?: Prisma.SortOrder
  start_night?: Prisma.SortOrder
  end_night?: Prisma.SortOrder
  relais?: Prisma.SortOrder
  conge?: Prisma.SortOrder
}



export type carte_tempsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  week?: boolean
  year?: boolean
  date?: boolean
  staff_id?: boolean
  start_am?: boolean
  end_am?: boolean
  start_pm?: boolean
  end_pm?: boolean
  start_night?: boolean
  end_night?: boolean
  relais?: boolean
  comment?: boolean
  note_int?: boolean
  conge?: boolean
  appr?: boolean
  appr_dir?: boolean
}, ExtArgs["result"]["carte_temps"]>



export type carte_tempsSelectScalar = {
  id?: boolean
  week?: boolean
  year?: boolean
  date?: boolean
  staff_id?: boolean
  start_am?: boolean
  end_am?: boolean
  start_pm?: boolean
  end_pm?: boolean
  start_night?: boolean
  end_night?: boolean
  relais?: boolean
  comment?: boolean
  note_int?: boolean
  conge?: boolean
  appr?: boolean
  appr_dir?: boolean
}

export type carte_tempsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "week" | "year" | "date" | "staff_id" | "start_am" | "end_am" | "start_pm" | "end_pm" | "start_night" | "end_night" | "relais" | "comment" | "note_int" | "conge" | "appr" | "appr_dir", ExtArgs["result"]["carte_temps"]>

export type $carte_tempsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "carte_temps"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    week: number
    year: number | null
    date: bigint
    staff_id: bigint
    start_am: bigint | null
    end_am: bigint | null
    start_pm: bigint | null
    end_pm: bigint | null
    start_night: bigint | null
    end_night: bigint | null
    relais: number | null
    comment: string | null
    note_int: string | null
    conge: number
    appr: string | null
    appr_dir: string | null
  }, ExtArgs["result"]["carte_temps"]>
  composites: {}
}

export type carte_tempsGetPayload<S extends boolean | null | undefined | carte_tempsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$carte_tempsPayload, S>

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

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

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

  /**
   * Find the first Carte_temps 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 {carte_tempsFindFirstArgs} args - Arguments to find a Carte_temps
   * @example
   * // Get one Carte_temps
   * const carte_temps = await prisma.carte_temps.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends carte_tempsFindFirstArgs>(args?: Prisma.SelectSubset<T, carte_tempsFindFirstArgs<ExtArgs>>): Prisma.Prisma__carte_tempsClient<runtime.Types.Result.GetResult<Prisma.$carte_tempsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Carte_temps 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 {carte_tempsFindFirstOrThrowArgs} args - Arguments to find a Carte_temps
   * @example
   * // Get one Carte_temps
   * const carte_temps = await prisma.carte_temps.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends carte_tempsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, carte_tempsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__carte_tempsClient<runtime.Types.Result.GetResult<Prisma.$carte_tempsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Carte_temps 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 {carte_tempsFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Carte_temps
   * const carte_temps = await prisma.carte_temps.findMany()
   * 
   * // Get first 10 Carte_temps
   * const carte_temps = await prisma.carte_temps.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const carte_tempsWithIdOnly = await prisma.carte_temps.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends carte_tempsFindManyArgs>(args?: Prisma.SelectSubset<T, carte_tempsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$carte_tempsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

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

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

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

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

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

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

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


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

  /**
   * Allows you to perform aggregations operations on a Carte_temps.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Carte_tempsAggregateArgs} 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 Carte_tempsAggregateArgs>(args: Prisma.Subset<T, Carte_tempsAggregateArgs>): Prisma.PrismaPromise<GetCarte_tempsAggregateType<T>>

  /**
   * Group by Carte_temps.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {carte_tempsGroupByArgs} 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 carte_tempsGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: carte_tempsGroupByArgs['orderBy'] }
      : { orderBy?: carte_tempsGroupByArgs['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, carte_tempsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCarte_tempsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the carte_temps model
 */
readonly fields: carte_tempsFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for carte_temps.
 * 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__carte_tempsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 carte_temps model
 */
export interface carte_tempsFieldRefs {
  readonly id: Prisma.FieldRef<"carte_temps", 'Int'>
  readonly week: Prisma.FieldRef<"carte_temps", 'Int'>
  readonly year: Prisma.FieldRef<"carte_temps", 'Int'>
  readonly date: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly staff_id: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly start_am: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly end_am: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly start_pm: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly end_pm: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly start_night: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly end_night: Prisma.FieldRef<"carte_temps", 'BigInt'>
  readonly relais: Prisma.FieldRef<"carte_temps", 'Float'>
  readonly comment: Prisma.FieldRef<"carte_temps", 'String'>
  readonly note_int: Prisma.FieldRef<"carte_temps", 'String'>
  readonly conge: Prisma.FieldRef<"carte_temps", 'Int'>
  readonly appr: Prisma.FieldRef<"carte_temps", 'String'>
  readonly appr_dir: Prisma.FieldRef<"carte_temps", 'String'>
}
    

// Custom InputTypes
/**
 * carte_temps findUnique
 */
export type carte_tempsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter, which carte_temps to fetch.
   */
  where: Prisma.carte_tempsWhereUniqueInput
}

/**
 * carte_temps findUniqueOrThrow
 */
export type carte_tempsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter, which carte_temps to fetch.
   */
  where: Prisma.carte_tempsWhereUniqueInput
}

/**
 * carte_temps findFirst
 */
export type carte_tempsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter, which carte_temps to fetch.
   */
  where?: Prisma.carte_tempsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of carte_temps to fetch.
   */
  orderBy?: Prisma.carte_tempsOrderByWithRelationInput | Prisma.carte_tempsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for carte_temps.
   */
  cursor?: Prisma.carte_tempsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` carte_temps 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` carte_temps.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of carte_temps.
   */
  distinct?: Prisma.Carte_tempsScalarFieldEnum | Prisma.Carte_tempsScalarFieldEnum[]
}

/**
 * carte_temps findFirstOrThrow
 */
export type carte_tempsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter, which carte_temps to fetch.
   */
  where?: Prisma.carte_tempsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of carte_temps to fetch.
   */
  orderBy?: Prisma.carte_tempsOrderByWithRelationInput | Prisma.carte_tempsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for carte_temps.
   */
  cursor?: Prisma.carte_tempsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` carte_temps 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` carte_temps.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of carte_temps.
   */
  distinct?: Prisma.Carte_tempsScalarFieldEnum | Prisma.Carte_tempsScalarFieldEnum[]
}

/**
 * carte_temps findMany
 */
export type carte_tempsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter, which carte_temps to fetch.
   */
  where?: Prisma.carte_tempsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of carte_temps to fetch.
   */
  orderBy?: Prisma.carte_tempsOrderByWithRelationInput | Prisma.carte_tempsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing carte_temps.
   */
  cursor?: Prisma.carte_tempsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` carte_temps 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` carte_temps.
   */
  skip?: number
  distinct?: Prisma.Carte_tempsScalarFieldEnum | Prisma.Carte_tempsScalarFieldEnum[]
}

/**
 * carte_temps create
 */
export type carte_tempsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * The data needed to create a carte_temps.
   */
  data: Prisma.XOR<Prisma.carte_tempsCreateInput, Prisma.carte_tempsUncheckedCreateInput>
}

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

/**
 * carte_temps update
 */
export type carte_tempsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * The data needed to update a carte_temps.
   */
  data: Prisma.XOR<Prisma.carte_tempsUpdateInput, Prisma.carte_tempsUncheckedUpdateInput>
  /**
   * Choose, which carte_temps to update.
   */
  where: Prisma.carte_tempsWhereUniqueInput
}

/**
 * carte_temps updateMany
 */
export type carte_tempsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update carte_temps.
   */
  data: Prisma.XOR<Prisma.carte_tempsUpdateManyMutationInput, Prisma.carte_tempsUncheckedUpdateManyInput>
  /**
   * Filter which carte_temps to update
   */
  where?: Prisma.carte_tempsWhereInput
  /**
   * Limit how many carte_temps to update.
   */
  limit?: number
}

/**
 * carte_temps upsert
 */
export type carte_tempsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * The filter to search for the carte_temps to update in case it exists.
   */
  where: Prisma.carte_tempsWhereUniqueInput
  /**
   * In case the carte_temps found by the `where` argument doesn't exist, create a new carte_temps with this data.
   */
  create: Prisma.XOR<Prisma.carte_tempsCreateInput, Prisma.carte_tempsUncheckedCreateInput>
  /**
   * In case the carte_temps was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.carte_tempsUpdateInput, Prisma.carte_tempsUncheckedUpdateInput>
}

/**
 * carte_temps delete
 */
export type carte_tempsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
  /**
   * Filter which carte_temps to delete.
   */
  where: Prisma.carte_tempsWhereUniqueInput
}

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

/**
 * carte_temps without action
 */
export type carte_tempsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the carte_temps
   */
  select?: Prisma.carte_tempsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the carte_temps
   */
  omit?: Prisma.carte_tempsOmit<ExtArgs> | null
}
