
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `checklist_relais` 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 checklist_relais
 * 
 */
export type checklist_relaisModel = runtime.Types.Result.DefaultSelection<Prisma.$checklist_relaisPayload>

export type AggregateChecklist_relais = {
  _count: Checklist_relaisCountAggregateOutputType | null
  _avg: Checklist_relaisAvgAggregateOutputType | null
  _sum: Checklist_relaisSumAggregateOutputType | null
  _min: Checklist_relaisMinAggregateOutputType | null
  _max: Checklist_relaisMaxAggregateOutputType | null
}

export type Checklist_relaisAvgAggregateOutputType = {
  id: number | null
  site_id: number | null
  account_id: number | null
  priority: number | null
  done: number | null
}

export type Checklist_relaisSumAggregateOutputType = {
  id: number | null
  site_id: number | null
  account_id: number | null
  priority: number | null
  done: number | null
}

export type Checklist_relaisMinAggregateOutputType = {
  id: number | null
  site_id: number | null
  site_name: string | null
  account_id: number | null
  priority: number | null
  done: number | null
  equipement: string | null
  connecteur: string | null
  grounding: string | null
  surge_lightning: string | null
  switch_poe: string | null
  switch_giga_shield: string | null
  batterie: string | null
  solidity: string | null
  redondance: string | null
  antenne_58_360: string | null
  antenne_24_360: string | null
  rspro_maj: string | null
  boite: string | null
  cable: string | null
  staros_ubnt: string | null
  autre: string | null
}

export type Checklist_relaisMaxAggregateOutputType = {
  id: number | null
  site_id: number | null
  site_name: string | null
  account_id: number | null
  priority: number | null
  done: number | null
  equipement: string | null
  connecteur: string | null
  grounding: string | null
  surge_lightning: string | null
  switch_poe: string | null
  switch_giga_shield: string | null
  batterie: string | null
  solidity: string | null
  redondance: string | null
  antenne_58_360: string | null
  antenne_24_360: string | null
  rspro_maj: string | null
  boite: string | null
  cable: string | null
  staros_ubnt: string | null
  autre: string | null
}

export type Checklist_relaisCountAggregateOutputType = {
  id: number
  site_id: number
  site_name: number
  account_id: number
  priority: number
  done: number
  equipement: number
  connecteur: number
  grounding: number
  surge_lightning: number
  switch_poe: number
  switch_giga_shield: number
  batterie: number
  solidity: number
  redondance: number
  antenne_58_360: number
  antenne_24_360: number
  rspro_maj: number
  boite: number
  cable: number
  staros_ubnt: number
  autre: number
  _all: number
}


export type Checklist_relaisAvgAggregateInputType = {
  id?: true
  site_id?: true
  account_id?: true
  priority?: true
  done?: true
}

export type Checklist_relaisSumAggregateInputType = {
  id?: true
  site_id?: true
  account_id?: true
  priority?: true
  done?: true
}

export type Checklist_relaisMinAggregateInputType = {
  id?: true
  site_id?: true
  site_name?: true
  account_id?: true
  priority?: true
  done?: true
  equipement?: true
  connecteur?: true
  grounding?: true
  surge_lightning?: true
  switch_poe?: true
  switch_giga_shield?: true
  batterie?: true
  solidity?: true
  redondance?: true
  antenne_58_360?: true
  antenne_24_360?: true
  rspro_maj?: true
  boite?: true
  cable?: true
  staros_ubnt?: true
  autre?: true
}

export type Checklist_relaisMaxAggregateInputType = {
  id?: true
  site_id?: true
  site_name?: true
  account_id?: true
  priority?: true
  done?: true
  equipement?: true
  connecteur?: true
  grounding?: true
  surge_lightning?: true
  switch_poe?: true
  switch_giga_shield?: true
  batterie?: true
  solidity?: true
  redondance?: true
  antenne_58_360?: true
  antenne_24_360?: true
  rspro_maj?: true
  boite?: true
  cable?: true
  staros_ubnt?: true
  autre?: true
}

export type Checklist_relaisCountAggregateInputType = {
  id?: true
  site_id?: true
  site_name?: true
  account_id?: true
  priority?: true
  done?: true
  equipement?: true
  connecteur?: true
  grounding?: true
  surge_lightning?: true
  switch_poe?: true
  switch_giga_shield?: true
  batterie?: true
  solidity?: true
  redondance?: true
  antenne_58_360?: true
  antenne_24_360?: true
  rspro_maj?: true
  boite?: true
  cable?: true
  staros_ubnt?: true
  autre?: true
  _all?: true
}

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

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




export type checklist_relaisGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.checklist_relaisWhereInput
  orderBy?: Prisma.checklist_relaisOrderByWithAggregationInput | Prisma.checklist_relaisOrderByWithAggregationInput[]
  by: Prisma.Checklist_relaisScalarFieldEnum[] | Prisma.Checklist_relaisScalarFieldEnum
  having?: Prisma.checklist_relaisScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Checklist_relaisCountAggregateInputType | true
  _avg?: Checklist_relaisAvgAggregateInputType
  _sum?: Checklist_relaisSumAggregateInputType
  _min?: Checklist_relaisMinAggregateInputType
  _max?: Checklist_relaisMaxAggregateInputType
}

export type Checklist_relaisGroupByOutputType = {
  id: number
  site_id: number
  site_name: string | null
  account_id: number
  priority: number
  done: number
  equipement: string | null
  connecteur: string | null
  grounding: string | null
  surge_lightning: string | null
  switch_poe: string | null
  switch_giga_shield: string | null
  batterie: string | null
  solidity: string | null
  redondance: string | null
  antenne_58_360: string | null
  antenne_24_360: string | null
  rspro_maj: string | null
  boite: string | null
  cable: string | null
  staros_ubnt: string | null
  autre: string | null
  _count: Checklist_relaisCountAggregateOutputType | null
  _avg: Checklist_relaisAvgAggregateOutputType | null
  _sum: Checklist_relaisSumAggregateOutputType | null
  _min: Checklist_relaisMinAggregateOutputType | null
  _max: Checklist_relaisMaxAggregateOutputType | null
}

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



export type checklist_relaisWhereInput = {
  AND?: Prisma.checklist_relaisWhereInput | Prisma.checklist_relaisWhereInput[]
  OR?: Prisma.checklist_relaisWhereInput[]
  NOT?: Prisma.checklist_relaisWhereInput | Prisma.checklist_relaisWhereInput[]
  id?: Prisma.IntFilter<"checklist_relais"> | number
  site_id?: Prisma.IntFilter<"checklist_relais"> | number
  site_name?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  account_id?: Prisma.IntFilter<"checklist_relais"> | number
  priority?: Prisma.IntFilter<"checklist_relais"> | number
  done?: Prisma.IntFilter<"checklist_relais"> | number
  equipement?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  connecteur?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  grounding?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  surge_lightning?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  switch_poe?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  switch_giga_shield?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  batterie?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  solidity?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  redondance?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  antenne_58_360?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  antenne_24_360?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  rspro_maj?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  boite?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  cable?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  staros_ubnt?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  autre?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
}

export type checklist_relaisOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  site_name?: Prisma.SortOrderInput | Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
  equipement?: Prisma.SortOrderInput | Prisma.SortOrder
  connecteur?: Prisma.SortOrderInput | Prisma.SortOrder
  grounding?: Prisma.SortOrderInput | Prisma.SortOrder
  surge_lightning?: Prisma.SortOrderInput | Prisma.SortOrder
  switch_poe?: Prisma.SortOrderInput | Prisma.SortOrder
  switch_giga_shield?: Prisma.SortOrderInput | Prisma.SortOrder
  batterie?: Prisma.SortOrderInput | Prisma.SortOrder
  solidity?: Prisma.SortOrderInput | Prisma.SortOrder
  redondance?: Prisma.SortOrderInput | Prisma.SortOrder
  antenne_58_360?: Prisma.SortOrderInput | Prisma.SortOrder
  antenne_24_360?: Prisma.SortOrderInput | Prisma.SortOrder
  rspro_maj?: Prisma.SortOrderInput | Prisma.SortOrder
  boite?: Prisma.SortOrderInput | Prisma.SortOrder
  cable?: Prisma.SortOrderInput | Prisma.SortOrder
  staros_ubnt?: Prisma.SortOrderInput | Prisma.SortOrder
  autre?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.checklist_relaisOrderByRelevanceInput
}

export type checklist_relaisWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  site_id?: number
  AND?: Prisma.checklist_relaisWhereInput | Prisma.checklist_relaisWhereInput[]
  OR?: Prisma.checklist_relaisWhereInput[]
  NOT?: Prisma.checklist_relaisWhereInput | Prisma.checklist_relaisWhereInput[]
  site_name?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  account_id?: Prisma.IntFilter<"checklist_relais"> | number
  priority?: Prisma.IntFilter<"checklist_relais"> | number
  done?: Prisma.IntFilter<"checklist_relais"> | number
  equipement?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  connecteur?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  grounding?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  surge_lightning?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  switch_poe?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  switch_giga_shield?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  batterie?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  solidity?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  redondance?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  antenne_58_360?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  antenne_24_360?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  rspro_maj?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  boite?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  cable?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  staros_ubnt?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
  autre?: Prisma.StringNullableFilter<"checklist_relais"> | string | null
}, "id" | "site_id">

export type checklist_relaisOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  site_name?: Prisma.SortOrderInput | Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
  equipement?: Prisma.SortOrderInput | Prisma.SortOrder
  connecteur?: Prisma.SortOrderInput | Prisma.SortOrder
  grounding?: Prisma.SortOrderInput | Prisma.SortOrder
  surge_lightning?: Prisma.SortOrderInput | Prisma.SortOrder
  switch_poe?: Prisma.SortOrderInput | Prisma.SortOrder
  switch_giga_shield?: Prisma.SortOrderInput | Prisma.SortOrder
  batterie?: Prisma.SortOrderInput | Prisma.SortOrder
  solidity?: Prisma.SortOrderInput | Prisma.SortOrder
  redondance?: Prisma.SortOrderInput | Prisma.SortOrder
  antenne_58_360?: Prisma.SortOrderInput | Prisma.SortOrder
  antenne_24_360?: Prisma.SortOrderInput | Prisma.SortOrder
  rspro_maj?: Prisma.SortOrderInput | Prisma.SortOrder
  boite?: Prisma.SortOrderInput | Prisma.SortOrder
  cable?: Prisma.SortOrderInput | Prisma.SortOrder
  staros_ubnt?: Prisma.SortOrderInput | Prisma.SortOrder
  autre?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.checklist_relaisCountOrderByAggregateInput
  _avg?: Prisma.checklist_relaisAvgOrderByAggregateInput
  _max?: Prisma.checklist_relaisMaxOrderByAggregateInput
  _min?: Prisma.checklist_relaisMinOrderByAggregateInput
  _sum?: Prisma.checklist_relaisSumOrderByAggregateInput
}

export type checklist_relaisScalarWhereWithAggregatesInput = {
  AND?: Prisma.checklist_relaisScalarWhereWithAggregatesInput | Prisma.checklist_relaisScalarWhereWithAggregatesInput[]
  OR?: Prisma.checklist_relaisScalarWhereWithAggregatesInput[]
  NOT?: Prisma.checklist_relaisScalarWhereWithAggregatesInput | Prisma.checklist_relaisScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"checklist_relais"> | number
  site_id?: Prisma.IntWithAggregatesFilter<"checklist_relais"> | number
  site_name?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  account_id?: Prisma.IntWithAggregatesFilter<"checklist_relais"> | number
  priority?: Prisma.IntWithAggregatesFilter<"checklist_relais"> | number
  done?: Prisma.IntWithAggregatesFilter<"checklist_relais"> | number
  equipement?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  connecteur?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  grounding?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  surge_lightning?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  switch_poe?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  switch_giga_shield?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  batterie?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  solidity?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  redondance?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  antenne_58_360?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  antenne_24_360?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  rspro_maj?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  boite?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  cable?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  staros_ubnt?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
  autre?: Prisma.StringNullableWithAggregatesFilter<"checklist_relais"> | string | null
}

export type checklist_relaisCreateInput = {
  site_id: number
  site_name?: string | null
  account_id: number
  priority?: number
  done?: number
  equipement?: string | null
  connecteur?: string | null
  grounding?: string | null
  surge_lightning?: string | null
  switch_poe?: string | null
  switch_giga_shield?: string | null
  batterie?: string | null
  solidity?: string | null
  redondance?: string | null
  antenne_58_360?: string | null
  antenne_24_360?: string | null
  rspro_maj?: string | null
  boite?: string | null
  cable?: string | null
  staros_ubnt?: string | null
  autre?: string | null
}

export type checklist_relaisUncheckedCreateInput = {
  id?: number
  site_id: number
  site_name?: string | null
  account_id: number
  priority?: number
  done?: number
  equipement?: string | null
  connecteur?: string | null
  grounding?: string | null
  surge_lightning?: string | null
  switch_poe?: string | null
  switch_giga_shield?: string | null
  batterie?: string | null
  solidity?: string | null
  redondance?: string | null
  antenne_58_360?: string | null
  antenne_24_360?: string | null
  rspro_maj?: string | null
  boite?: string | null
  cable?: string | null
  staros_ubnt?: string | null
  autre?: string | null
}

export type checklist_relaisUpdateInput = {
  site_id?: Prisma.IntFieldUpdateOperationsInput | number
  site_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  priority?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
  equipement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  connecteur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  grounding?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  surge_lightning?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_poe?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_giga_shield?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  batterie?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  solidity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  redondance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_58_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_24_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  rspro_maj?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  boite?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  staros_ubnt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  autre?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type checklist_relaisUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  site_id?: Prisma.IntFieldUpdateOperationsInput | number
  site_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  priority?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
  equipement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  connecteur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  grounding?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  surge_lightning?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_poe?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_giga_shield?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  batterie?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  solidity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  redondance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_58_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_24_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  rspro_maj?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  boite?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  staros_ubnt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  autre?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type checklist_relaisCreateManyInput = {
  id?: number
  site_id: number
  site_name?: string | null
  account_id: number
  priority?: number
  done?: number
  equipement?: string | null
  connecteur?: string | null
  grounding?: string | null
  surge_lightning?: string | null
  switch_poe?: string | null
  switch_giga_shield?: string | null
  batterie?: string | null
  solidity?: string | null
  redondance?: string | null
  antenne_58_360?: string | null
  antenne_24_360?: string | null
  rspro_maj?: string | null
  boite?: string | null
  cable?: string | null
  staros_ubnt?: string | null
  autre?: string | null
}

export type checklist_relaisUpdateManyMutationInput = {
  site_id?: Prisma.IntFieldUpdateOperationsInput | number
  site_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  priority?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
  equipement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  connecteur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  grounding?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  surge_lightning?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_poe?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_giga_shield?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  batterie?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  solidity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  redondance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_58_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_24_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  rspro_maj?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  boite?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  staros_ubnt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  autre?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type checklist_relaisUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  site_id?: Prisma.IntFieldUpdateOperationsInput | number
  site_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  account_id?: Prisma.IntFieldUpdateOperationsInput | number
  priority?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
  equipement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  connecteur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  grounding?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  surge_lightning?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_poe?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  switch_giga_shield?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  batterie?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  solidity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  redondance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_58_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  antenne_24_360?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  rspro_maj?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  boite?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  cable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  staros_ubnt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  autre?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

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

export type checklist_relaisCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  site_name?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
  equipement?: Prisma.SortOrder
  connecteur?: Prisma.SortOrder
  grounding?: Prisma.SortOrder
  surge_lightning?: Prisma.SortOrder
  switch_poe?: Prisma.SortOrder
  switch_giga_shield?: Prisma.SortOrder
  batterie?: Prisma.SortOrder
  solidity?: Prisma.SortOrder
  redondance?: Prisma.SortOrder
  antenne_58_360?: Prisma.SortOrder
  antenne_24_360?: Prisma.SortOrder
  rspro_maj?: Prisma.SortOrder
  boite?: Prisma.SortOrder
  cable?: Prisma.SortOrder
  staros_ubnt?: Prisma.SortOrder
  autre?: Prisma.SortOrder
}

export type checklist_relaisAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
}

export type checklist_relaisMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  site_name?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
  equipement?: Prisma.SortOrder
  connecteur?: Prisma.SortOrder
  grounding?: Prisma.SortOrder
  surge_lightning?: Prisma.SortOrder
  switch_poe?: Prisma.SortOrder
  switch_giga_shield?: Prisma.SortOrder
  batterie?: Prisma.SortOrder
  solidity?: Prisma.SortOrder
  redondance?: Prisma.SortOrder
  antenne_58_360?: Prisma.SortOrder
  antenne_24_360?: Prisma.SortOrder
  rspro_maj?: Prisma.SortOrder
  boite?: Prisma.SortOrder
  cable?: Prisma.SortOrder
  staros_ubnt?: Prisma.SortOrder
  autre?: Prisma.SortOrder
}

export type checklist_relaisMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  site_name?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
  equipement?: Prisma.SortOrder
  connecteur?: Prisma.SortOrder
  grounding?: Prisma.SortOrder
  surge_lightning?: Prisma.SortOrder
  switch_poe?: Prisma.SortOrder
  switch_giga_shield?: Prisma.SortOrder
  batterie?: Prisma.SortOrder
  solidity?: Prisma.SortOrder
  redondance?: Prisma.SortOrder
  antenne_58_360?: Prisma.SortOrder
  antenne_24_360?: Prisma.SortOrder
  rspro_maj?: Prisma.SortOrder
  boite?: Prisma.SortOrder
  cable?: Prisma.SortOrder
  staros_ubnt?: Prisma.SortOrder
  autre?: Prisma.SortOrder
}

export type checklist_relaisSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  site_id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  priority?: Prisma.SortOrder
  done?: Prisma.SortOrder
}



export type checklist_relaisSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  site_id?: boolean
  site_name?: boolean
  account_id?: boolean
  priority?: boolean
  done?: boolean
  equipement?: boolean
  connecteur?: boolean
  grounding?: boolean
  surge_lightning?: boolean
  switch_poe?: boolean
  switch_giga_shield?: boolean
  batterie?: boolean
  solidity?: boolean
  redondance?: boolean
  antenne_58_360?: boolean
  antenne_24_360?: boolean
  rspro_maj?: boolean
  boite?: boolean
  cable?: boolean
  staros_ubnt?: boolean
  autre?: boolean
}, ExtArgs["result"]["checklist_relais"]>



export type checklist_relaisSelectScalar = {
  id?: boolean
  site_id?: boolean
  site_name?: boolean
  account_id?: boolean
  priority?: boolean
  done?: boolean
  equipement?: boolean
  connecteur?: boolean
  grounding?: boolean
  surge_lightning?: boolean
  switch_poe?: boolean
  switch_giga_shield?: boolean
  batterie?: boolean
  solidity?: boolean
  redondance?: boolean
  antenne_58_360?: boolean
  antenne_24_360?: boolean
  rspro_maj?: boolean
  boite?: boolean
  cable?: boolean
  staros_ubnt?: boolean
  autre?: boolean
}

export type checklist_relaisOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "site_id" | "site_name" | "account_id" | "priority" | "done" | "equipement" | "connecteur" | "grounding" | "surge_lightning" | "switch_poe" | "switch_giga_shield" | "batterie" | "solidity" | "redondance" | "antenne_58_360" | "antenne_24_360" | "rspro_maj" | "boite" | "cable" | "staros_ubnt" | "autre", ExtArgs["result"]["checklist_relais"]>

export type $checklist_relaisPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "checklist_relais"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    site_id: number
    site_name: string | null
    account_id: number
    priority: number
    done: number
    equipement: string | null
    connecteur: string | null
    grounding: string | null
    surge_lightning: string | null
    switch_poe: string | null
    switch_giga_shield: string | null
    batterie: string | null
    solidity: string | null
    redondance: string | null
    antenne_58_360: string | null
    antenne_24_360: string | null
    rspro_maj: string | null
    boite: string | null
    cable: string | null
    staros_ubnt: string | null
    autre: string | null
  }, ExtArgs["result"]["checklist_relais"]>
  composites: {}
}

export type checklist_relaisGetPayload<S extends boolean | null | undefined | checklist_relaisDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$checklist_relaisPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for checklist_relais.
 * 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__checklist_relaisClient<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 checklist_relais model
 */
export interface checklist_relaisFieldRefs {
  readonly id: Prisma.FieldRef<"checklist_relais", 'Int'>
  readonly site_id: Prisma.FieldRef<"checklist_relais", 'Int'>
  readonly site_name: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly account_id: Prisma.FieldRef<"checklist_relais", 'Int'>
  readonly priority: Prisma.FieldRef<"checklist_relais", 'Int'>
  readonly done: Prisma.FieldRef<"checklist_relais", 'Int'>
  readonly equipement: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly connecteur: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly grounding: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly surge_lightning: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly switch_poe: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly switch_giga_shield: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly batterie: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly solidity: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly redondance: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly antenne_58_360: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly antenne_24_360: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly rspro_maj: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly boite: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly cable: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly staros_ubnt: Prisma.FieldRef<"checklist_relais", 'String'>
  readonly autre: Prisma.FieldRef<"checklist_relais", 'String'>
}
    

// Custom InputTypes
/**
 * checklist_relais findUnique
 */
export type checklist_relaisFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * Filter, which checklist_relais to fetch.
   */
  where: Prisma.checklist_relaisWhereUniqueInput
}

/**
 * checklist_relais findUniqueOrThrow
 */
export type checklist_relaisFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * Filter, which checklist_relais to fetch.
   */
  where: Prisma.checklist_relaisWhereUniqueInput
}

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

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

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

/**
 * checklist_relais create
 */
export type checklist_relaisCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * The data needed to create a checklist_relais.
   */
  data: Prisma.XOR<Prisma.checklist_relaisCreateInput, Prisma.checklist_relaisUncheckedCreateInput>
}

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

/**
 * checklist_relais update
 */
export type checklist_relaisUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * The data needed to update a checklist_relais.
   */
  data: Prisma.XOR<Prisma.checklist_relaisUpdateInput, Prisma.checklist_relaisUncheckedUpdateInput>
  /**
   * Choose, which checklist_relais to update.
   */
  where: Prisma.checklist_relaisWhereUniqueInput
}

/**
 * checklist_relais updateMany
 */
export type checklist_relaisUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update checklist_relais.
   */
  data: Prisma.XOR<Prisma.checklist_relaisUpdateManyMutationInput, Prisma.checklist_relaisUncheckedUpdateManyInput>
  /**
   * Filter which checklist_relais to update
   */
  where?: Prisma.checklist_relaisWhereInput
  /**
   * Limit how many checklist_relais to update.
   */
  limit?: number
}

/**
 * checklist_relais upsert
 */
export type checklist_relaisUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * The filter to search for the checklist_relais to update in case it exists.
   */
  where: Prisma.checklist_relaisWhereUniqueInput
  /**
   * In case the checklist_relais found by the `where` argument doesn't exist, create a new checklist_relais with this data.
   */
  create: Prisma.XOR<Prisma.checklist_relaisCreateInput, Prisma.checklist_relaisUncheckedCreateInput>
  /**
   * In case the checklist_relais was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.checklist_relaisUpdateInput, Prisma.checklist_relaisUncheckedUpdateInput>
}

/**
 * checklist_relais delete
 */
export type checklist_relaisDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the checklist_relais
   */
  select?: Prisma.checklist_relaisSelect<ExtArgs> | null
  /**
   * Omit specific fields from the checklist_relais
   */
  omit?: Prisma.checklist_relaisOmit<ExtArgs> | null
  /**
   * Filter which checklist_relais to delete.
   */
  where: Prisma.checklist_relaisWhereUniqueInput
}

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

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