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

export type AggregateSommaire_porte = {
  _count: Sommaire_porteCountAggregateOutputType | null
  _avg: Sommaire_porteAvgAggregateOutputType | null
  _sum: Sommaire_porteSumAggregateOutputType | null
  _min: Sommaire_porteMinAggregateOutputType | null
  _max: Sommaire_porteMaxAggregateOutputType | null
}

export type Sommaire_porteAvgAggregateOutputType = {
  id: number | null
  fibre_id: number | null
  contest_adresse: number | null
  new_adresse: number | null
  placemarks_id: number | null
}

export type Sommaire_porteSumAggregateOutputType = {
  id: number | null
  fibre_id: number | null
  contest_adresse: number | null
  new_adresse: number | null
  placemarks_id: bigint | null
}

export type Sommaire_porteMinAggregateOutputType = {
  id: number | null
  fibre_id: number | null
  id_adresse: string | null
  id_subvention: string | null
  adresse_subvention: string | null
  ville_subvention: string | null
  latitude: string | null
  longitude: string | null
  contest_adresse: number | null
  new_adresse: number | null
  placemarks_id: bigint | null
}

export type Sommaire_porteMaxAggregateOutputType = {
  id: number | null
  fibre_id: number | null
  id_adresse: string | null
  id_subvention: string | null
  adresse_subvention: string | null
  ville_subvention: string | null
  latitude: string | null
  longitude: string | null
  contest_adresse: number | null
  new_adresse: number | null
  placemarks_id: bigint | null
}

export type Sommaire_porteCountAggregateOutputType = {
  id: number
  fibre_id: number
  id_adresse: number
  id_subvention: number
  adresse_subvention: number
  ville_subvention: number
  latitude: number
  longitude: number
  contest_adresse: number
  new_adresse: number
  placemarks_id: number
  _all: number
}


export type Sommaire_porteAvgAggregateInputType = {
  id?: true
  fibre_id?: true
  contest_adresse?: true
  new_adresse?: true
  placemarks_id?: true
}

export type Sommaire_porteSumAggregateInputType = {
  id?: true
  fibre_id?: true
  contest_adresse?: true
  new_adresse?: true
  placemarks_id?: true
}

export type Sommaire_porteMinAggregateInputType = {
  id?: true
  fibre_id?: true
  id_adresse?: true
  id_subvention?: true
  adresse_subvention?: true
  ville_subvention?: true
  latitude?: true
  longitude?: true
  contest_adresse?: true
  new_adresse?: true
  placemarks_id?: true
}

export type Sommaire_porteMaxAggregateInputType = {
  id?: true
  fibre_id?: true
  id_adresse?: true
  id_subvention?: true
  adresse_subvention?: true
  ville_subvention?: true
  latitude?: true
  longitude?: true
  contest_adresse?: true
  new_adresse?: true
  placemarks_id?: true
}

export type Sommaire_porteCountAggregateInputType = {
  id?: true
  fibre_id?: true
  id_adresse?: true
  id_subvention?: true
  adresse_subvention?: true
  ville_subvention?: true
  latitude?: true
  longitude?: true
  contest_adresse?: true
  new_adresse?: true
  placemarks_id?: true
  _all?: true
}

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

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




export type sommaire_porteGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.sommaire_porteWhereInput
  orderBy?: Prisma.sommaire_porteOrderByWithAggregationInput | Prisma.sommaire_porteOrderByWithAggregationInput[]
  by: Prisma.Sommaire_porteScalarFieldEnum[] | Prisma.Sommaire_porteScalarFieldEnum
  having?: Prisma.sommaire_porteScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Sommaire_porteCountAggregateInputType | true
  _avg?: Sommaire_porteAvgAggregateInputType
  _sum?: Sommaire_porteSumAggregateInputType
  _min?: Sommaire_porteMinAggregateInputType
  _max?: Sommaire_porteMaxAggregateInputType
}

export type Sommaire_porteGroupByOutputType = {
  id: number
  fibre_id: number
  id_adresse: string
  id_subvention: string
  adresse_subvention: string
  ville_subvention: string
  latitude: string
  longitude: string
  contest_adresse: number
  new_adresse: number
  placemarks_id: bigint
  _count: Sommaire_porteCountAggregateOutputType | null
  _avg: Sommaire_porteAvgAggregateOutputType | null
  _sum: Sommaire_porteSumAggregateOutputType | null
  _min: Sommaire_porteMinAggregateOutputType | null
  _max: Sommaire_porteMaxAggregateOutputType | null
}

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



export type sommaire_porteWhereInput = {
  AND?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[]
  OR?: Prisma.sommaire_porteWhereInput[]
  NOT?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[]
  id?: Prisma.IntFilter<"sommaire_porte"> | number
  fibre_id?: Prisma.IntFilter<"sommaire_porte"> | number
  id_adresse?: Prisma.StringFilter<"sommaire_porte"> | string
  id_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  adresse_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  ville_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  latitude?: Prisma.StringFilter<"sommaire_porte"> | string
  longitude?: Prisma.StringFilter<"sommaire_porte"> | string
  contest_adresse?: Prisma.IntFilter<"sommaire_porte"> | number
  new_adresse?: Prisma.IntFilter<"sommaire_porte"> | number
  placemarks_id?: Prisma.BigIntFilter<"sommaire_porte"> | bigint | number
}

export type sommaire_porteOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  id_adresse?: Prisma.SortOrder
  id_subvention?: Prisma.SortOrder
  adresse_subvention?: Prisma.SortOrder
  ville_subvention?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  _relevance?: Prisma.sommaire_porteOrderByRelevanceInput
}

export type sommaire_porteWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[]
  OR?: Prisma.sommaire_porteWhereInput[]
  NOT?: Prisma.sommaire_porteWhereInput | Prisma.sommaire_porteWhereInput[]
  fibre_id?: Prisma.IntFilter<"sommaire_porte"> | number
  id_adresse?: Prisma.StringFilter<"sommaire_porte"> | string
  id_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  adresse_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  ville_subvention?: Prisma.StringFilter<"sommaire_porte"> | string
  latitude?: Prisma.StringFilter<"sommaire_porte"> | string
  longitude?: Prisma.StringFilter<"sommaire_porte"> | string
  contest_adresse?: Prisma.IntFilter<"sommaire_porte"> | number
  new_adresse?: Prisma.IntFilter<"sommaire_porte"> | number
  placemarks_id?: Prisma.BigIntFilter<"sommaire_porte"> | bigint | number
}, "id">

export type sommaire_porteOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  id_adresse?: Prisma.SortOrder
  id_subvention?: Prisma.SortOrder
  adresse_subvention?: Prisma.SortOrder
  ville_subvention?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  _count?: Prisma.sommaire_porteCountOrderByAggregateInput
  _avg?: Prisma.sommaire_porteAvgOrderByAggregateInput
  _max?: Prisma.sommaire_porteMaxOrderByAggregateInput
  _min?: Prisma.sommaire_porteMinOrderByAggregateInput
  _sum?: Prisma.sommaire_porteSumOrderByAggregateInput
}

export type sommaire_porteScalarWhereWithAggregatesInput = {
  AND?: Prisma.sommaire_porteScalarWhereWithAggregatesInput | Prisma.sommaire_porteScalarWhereWithAggregatesInput[]
  OR?: Prisma.sommaire_porteScalarWhereWithAggregatesInput[]
  NOT?: Prisma.sommaire_porteScalarWhereWithAggregatesInput | Prisma.sommaire_porteScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number
  fibre_id?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number
  id_adresse?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  id_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  adresse_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  ville_subvention?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  latitude?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  longitude?: Prisma.StringWithAggregatesFilter<"sommaire_porte"> | string
  contest_adresse?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number
  new_adresse?: Prisma.IntWithAggregatesFilter<"sommaire_porte"> | number
  placemarks_id?: Prisma.BigIntWithAggregatesFilter<"sommaire_porte"> | bigint | number
}

export type sommaire_porteCreateInput = {
  fibre_id?: number
  id_adresse: string
  id_subvention: string
  adresse_subvention: string
  ville_subvention: string
  latitude: string
  longitude: string
  contest_adresse?: number
  new_adresse?: number
  placemarks_id: bigint | number
}

export type sommaire_porteUncheckedCreateInput = {
  id?: number
  fibre_id?: number
  id_adresse: string
  id_subvention: string
  adresse_subvention: string
  ville_subvention: string
  latitude: string
  longitude: string
  contest_adresse?: number
  new_adresse?: number
  placemarks_id: bigint | number
}

export type sommaire_porteUpdateInput = {
  fibre_id?: Prisma.IntFieldUpdateOperationsInput | number
  id_adresse?: Prisma.StringFieldUpdateOperationsInput | string
  id_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  latitude?: Prisma.StringFieldUpdateOperationsInput | string
  longitude?: Prisma.StringFieldUpdateOperationsInput | string
  contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  new_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type sommaire_porteUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  fibre_id?: Prisma.IntFieldUpdateOperationsInput | number
  id_adresse?: Prisma.StringFieldUpdateOperationsInput | string
  id_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  latitude?: Prisma.StringFieldUpdateOperationsInput | string
  longitude?: Prisma.StringFieldUpdateOperationsInput | string
  contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  new_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type sommaire_porteCreateManyInput = {
  id?: number
  fibre_id?: number
  id_adresse: string
  id_subvention: string
  adresse_subvention: string
  ville_subvention: string
  latitude: string
  longitude: string
  contest_adresse?: number
  new_adresse?: number
  placemarks_id: bigint | number
}

export type sommaire_porteUpdateManyMutationInput = {
  fibre_id?: Prisma.IntFieldUpdateOperationsInput | number
  id_adresse?: Prisma.StringFieldUpdateOperationsInput | string
  id_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  latitude?: Prisma.StringFieldUpdateOperationsInput | string
  longitude?: Prisma.StringFieldUpdateOperationsInput | string
  contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  new_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type sommaire_porteUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  fibre_id?: Prisma.IntFieldUpdateOperationsInput | number
  id_adresse?: Prisma.StringFieldUpdateOperationsInput | string
  id_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  adresse_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  ville_subvention?: Prisma.StringFieldUpdateOperationsInput | string
  latitude?: Prisma.StringFieldUpdateOperationsInput | string
  longitude?: Prisma.StringFieldUpdateOperationsInput | string
  contest_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  new_adresse?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

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

export type sommaire_porteCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  id_adresse?: Prisma.SortOrder
  id_subvention?: Prisma.SortOrder
  adresse_subvention?: Prisma.SortOrder
  ville_subvention?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type sommaire_porteAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type sommaire_porteMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  id_adresse?: Prisma.SortOrder
  id_subvention?: Prisma.SortOrder
  adresse_subvention?: Prisma.SortOrder
  ville_subvention?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type sommaire_porteMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  id_adresse?: Prisma.SortOrder
  id_subvention?: Prisma.SortOrder
  adresse_subvention?: Prisma.SortOrder
  ville_subvention?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type sommaire_porteSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  fibre_id?: Prisma.SortOrder
  contest_adresse?: Prisma.SortOrder
  new_adresse?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}



export type sommaire_porteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  fibre_id?: boolean
  id_adresse?: boolean
  id_subvention?: boolean
  adresse_subvention?: boolean
  ville_subvention?: boolean
  latitude?: boolean
  longitude?: boolean
  contest_adresse?: boolean
  new_adresse?: boolean
  placemarks_id?: boolean
}, ExtArgs["result"]["sommaire_porte"]>



export type sommaire_porteSelectScalar = {
  id?: boolean
  fibre_id?: boolean
  id_adresse?: boolean
  id_subvention?: boolean
  adresse_subvention?: boolean
  ville_subvention?: boolean
  latitude?: boolean
  longitude?: boolean
  contest_adresse?: boolean
  new_adresse?: boolean
  placemarks_id?: boolean
}

export type sommaire_porteOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fibre_id" | "id_adresse" | "id_subvention" | "adresse_subvention" | "ville_subvention" | "latitude" | "longitude" | "contest_adresse" | "new_adresse" | "placemarks_id", ExtArgs["result"]["sommaire_porte"]>

export type $sommaire_portePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "sommaire_porte"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    fibre_id: number
    id_adresse: string
    id_subvention: string
    adresse_subvention: string
    ville_subvention: string
    latitude: string
    longitude: string
    contest_adresse: number
    new_adresse: number
    placemarks_id: bigint
  }, ExtArgs["result"]["sommaire_porte"]>
  composites: {}
}

export type sommaire_porteGetPayload<S extends boolean | null | undefined | sommaire_porteDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$sommaire_portePayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for sommaire_porte.
 * 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__sommaire_porteClient<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 sommaire_porte model
 */
export interface sommaire_porteFieldRefs {
  readonly id: Prisma.FieldRef<"sommaire_porte", 'Int'>
  readonly fibre_id: Prisma.FieldRef<"sommaire_porte", 'Int'>
  readonly id_adresse: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly id_subvention: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly adresse_subvention: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly ville_subvention: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly latitude: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly longitude: Prisma.FieldRef<"sommaire_porte", 'String'>
  readonly contest_adresse: Prisma.FieldRef<"sommaire_porte", 'Int'>
  readonly new_adresse: Prisma.FieldRef<"sommaire_porte", 'Int'>
  readonly placemarks_id: Prisma.FieldRef<"sommaire_porte", 'BigInt'>
}
    

// Custom InputTypes
/**
 * sommaire_porte findUnique
 */
export type sommaire_porteFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * Filter, which sommaire_porte to fetch.
   */
  where: Prisma.sommaire_porteWhereUniqueInput
}

/**
 * sommaire_porte findUniqueOrThrow
 */
export type sommaire_porteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * Filter, which sommaire_porte to fetch.
   */
  where: Prisma.sommaire_porteWhereUniqueInput
}

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

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

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

/**
 * sommaire_porte create
 */
export type sommaire_porteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * The data needed to create a sommaire_porte.
   */
  data: Prisma.XOR<Prisma.sommaire_porteCreateInput, Prisma.sommaire_porteUncheckedCreateInput>
}

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

/**
 * sommaire_porte update
 */
export type sommaire_porteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * The data needed to update a sommaire_porte.
   */
  data: Prisma.XOR<Prisma.sommaire_porteUpdateInput, Prisma.sommaire_porteUncheckedUpdateInput>
  /**
   * Choose, which sommaire_porte to update.
   */
  where: Prisma.sommaire_porteWhereUniqueInput
}

/**
 * sommaire_porte updateMany
 */
export type sommaire_porteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update sommaire_portes.
   */
  data: Prisma.XOR<Prisma.sommaire_porteUpdateManyMutationInput, Prisma.sommaire_porteUncheckedUpdateManyInput>
  /**
   * Filter which sommaire_portes to update
   */
  where?: Prisma.sommaire_porteWhereInput
  /**
   * Limit how many sommaire_portes to update.
   */
  limit?: number
}

/**
 * sommaire_porte upsert
 */
export type sommaire_porteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * The filter to search for the sommaire_porte to update in case it exists.
   */
  where: Prisma.sommaire_porteWhereUniqueInput
  /**
   * In case the sommaire_porte found by the `where` argument doesn't exist, create a new sommaire_porte with this data.
   */
  create: Prisma.XOR<Prisma.sommaire_porteCreateInput, Prisma.sommaire_porteUncheckedCreateInput>
  /**
   * In case the sommaire_porte was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.sommaire_porteUpdateInput, Prisma.sommaire_porteUncheckedUpdateInput>
}

/**
 * sommaire_porte delete
 */
export type sommaire_porteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sommaire_porte
   */
  select?: Prisma.sommaire_porteSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sommaire_porte
   */
  omit?: Prisma.sommaire_porteOmit<ExtArgs> | null
  /**
   * Filter which sommaire_porte to delete.
   */
  where: Prisma.sommaire_porteWhereUniqueInput
}

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

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