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

export type AggregateFibre = {
  _count: FibreCountAggregateOutputType | null
  _avg: FibreAvgAggregateOutputType | null
  _sum: FibreSumAggregateOutputType | null
  _min: FibreMinAggregateOutputType | null
  _max: FibreMaxAggregateOutputType | null
}

export type FibreAvgAggregateOutputType = {
  id: number | null
  ontid: number | null
  tech: number | null
  frame: number | null
  slot: number | null
  port: number | null
  vlan_manage: number | null
  vlan_internet: number | null
  vlan_telephone: number | null
  vlan_tele: number | null
  manage_service_id: number | null
  internet_service_id: number | null
  telephone_service_id: number | null
  tele_service_id: number | null
  service_id: number | null
  nb_drop: number | null
  placemarks_id: number | null
  appartements_id: number | null
  latitude: number | null
  longitude: number | null
  boitier_pas_install: number | null
  suite: number | null
  distance: number | null
  nb_portees: number | null
}

export type FibreSumAggregateOutputType = {
  id: number | null
  ontid: number | null
  tech: number | null
  frame: number | null
  slot: number | null
  port: number | null
  vlan_manage: number | null
  vlan_internet: number | null
  vlan_telephone: number | null
  vlan_tele: number | null
  manage_service_id: number | null
  internet_service_id: number | null
  telephone_service_id: number | null
  tele_service_id: number | null
  service_id: number | null
  nb_drop: number | null
  placemarks_id: bigint | null
  appartements_id: bigint | null
  latitude: number | null
  longitude: number | null
  boitier_pas_install: number | null
  suite: number | null
  distance: number | null
  nb_portees: number | null
}

export type FibreMinAggregateOutputType = {
  id: number | null
  terrain: string | null
  rue: string | null
  ville: string | null
  zip: string | null
  ontid: number | null
  sn: string | null
  tech: number | null
  info_connect: string | null
  frame: number | null
  slot: number | null
  port: number | null
  vlan_manage: number | null
  vlan_internet: number | null
  vlan_telephone: number | null
  vlan_tele: number | null
  manage_service_id: number | null
  internet_service_id: number | null
  telephone_service_id: number | null
  tele_service_id: number | null
  service_id: number | null
  nb_drop: number | null
  placemarks_id: bigint | null
  appartements_id: bigint | null
  latitude: number | null
  longitude: number | null
  boitier_pas_install: number | null
  description: string | null
  suite: number | null
  distance: number | null
  nb_portees: number | null
}

export type FibreMaxAggregateOutputType = {
  id: number | null
  terrain: string | null
  rue: string | null
  ville: string | null
  zip: string | null
  ontid: number | null
  sn: string | null
  tech: number | null
  info_connect: string | null
  frame: number | null
  slot: number | null
  port: number | null
  vlan_manage: number | null
  vlan_internet: number | null
  vlan_telephone: number | null
  vlan_tele: number | null
  manage_service_id: number | null
  internet_service_id: number | null
  telephone_service_id: number | null
  tele_service_id: number | null
  service_id: number | null
  nb_drop: number | null
  placemarks_id: bigint | null
  appartements_id: bigint | null
  latitude: number | null
  longitude: number | null
  boitier_pas_install: number | null
  description: string | null
  suite: number | null
  distance: number | null
  nb_portees: number | null
}

export type FibreCountAggregateOutputType = {
  id: number
  terrain: number
  rue: number
  ville: number
  zip: number
  ontid: number
  sn: number
  tech: number
  info_connect: number
  frame: number
  slot: number
  port: number
  vlan_manage: number
  vlan_internet: number
  vlan_telephone: number
  vlan_tele: number
  manage_service_id: number
  internet_service_id: number
  telephone_service_id: number
  tele_service_id: number
  service_id: number
  nb_drop: number
  placemarks_id: number
  appartements_id: number
  latitude: number
  longitude: number
  boitier_pas_install: number
  description: number
  suite: number
  distance: number
  nb_portees: number
  _all: number
}


export type FibreAvgAggregateInputType = {
  id?: true
  ontid?: true
  tech?: true
  frame?: true
  slot?: true
  port?: true
  vlan_manage?: true
  vlan_internet?: true
  vlan_telephone?: true
  vlan_tele?: true
  manage_service_id?: true
  internet_service_id?: true
  telephone_service_id?: true
  tele_service_id?: true
  service_id?: true
  nb_drop?: true
  placemarks_id?: true
  appartements_id?: true
  latitude?: true
  longitude?: true
  boitier_pas_install?: true
  suite?: true
  distance?: true
  nb_portees?: true
}

export type FibreSumAggregateInputType = {
  id?: true
  ontid?: true
  tech?: true
  frame?: true
  slot?: true
  port?: true
  vlan_manage?: true
  vlan_internet?: true
  vlan_telephone?: true
  vlan_tele?: true
  manage_service_id?: true
  internet_service_id?: true
  telephone_service_id?: true
  tele_service_id?: true
  service_id?: true
  nb_drop?: true
  placemarks_id?: true
  appartements_id?: true
  latitude?: true
  longitude?: true
  boitier_pas_install?: true
  suite?: true
  distance?: true
  nb_portees?: true
}

export type FibreMinAggregateInputType = {
  id?: true
  terrain?: true
  rue?: true
  ville?: true
  zip?: true
  ontid?: true
  sn?: true
  tech?: true
  info_connect?: true
  frame?: true
  slot?: true
  port?: true
  vlan_manage?: true
  vlan_internet?: true
  vlan_telephone?: true
  vlan_tele?: true
  manage_service_id?: true
  internet_service_id?: true
  telephone_service_id?: true
  tele_service_id?: true
  service_id?: true
  nb_drop?: true
  placemarks_id?: true
  appartements_id?: true
  latitude?: true
  longitude?: true
  boitier_pas_install?: true
  description?: true
  suite?: true
  distance?: true
  nb_portees?: true
}

export type FibreMaxAggregateInputType = {
  id?: true
  terrain?: true
  rue?: true
  ville?: true
  zip?: true
  ontid?: true
  sn?: true
  tech?: true
  info_connect?: true
  frame?: true
  slot?: true
  port?: true
  vlan_manage?: true
  vlan_internet?: true
  vlan_telephone?: true
  vlan_tele?: true
  manage_service_id?: true
  internet_service_id?: true
  telephone_service_id?: true
  tele_service_id?: true
  service_id?: true
  nb_drop?: true
  placemarks_id?: true
  appartements_id?: true
  latitude?: true
  longitude?: true
  boitier_pas_install?: true
  description?: true
  suite?: true
  distance?: true
  nb_portees?: true
}

export type FibreCountAggregateInputType = {
  id?: true
  terrain?: true
  rue?: true
  ville?: true
  zip?: true
  ontid?: true
  sn?: true
  tech?: true
  info_connect?: true
  frame?: true
  slot?: true
  port?: true
  vlan_manage?: true
  vlan_internet?: true
  vlan_telephone?: true
  vlan_tele?: true
  manage_service_id?: true
  internet_service_id?: true
  telephone_service_id?: true
  tele_service_id?: true
  service_id?: true
  nb_drop?: true
  placemarks_id?: true
  appartements_id?: true
  latitude?: true
  longitude?: true
  boitier_pas_install?: true
  description?: true
  suite?: true
  distance?: true
  nb_portees?: true
  _all?: true
}

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

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




export type fibreGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.fibreWhereInput
  orderBy?: Prisma.fibreOrderByWithAggregationInput | Prisma.fibreOrderByWithAggregationInput[]
  by: Prisma.FibreScalarFieldEnum[] | Prisma.FibreScalarFieldEnum
  having?: Prisma.fibreScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: FibreCountAggregateInputType | true
  _avg?: FibreAvgAggregateInputType
  _sum?: FibreSumAggregateInputType
  _min?: FibreMinAggregateInputType
  _max?: FibreMaxAggregateInputType
}

export type FibreGroupByOutputType = {
  id: number
  terrain: string
  rue: string
  ville: string
  zip: string
  ontid: number | null
  sn: string | null
  tech: number
  info_connect: string
  frame: number | null
  slot: number | null
  port: number | null
  vlan_manage: number | null
  vlan_internet: number | null
  vlan_telephone: number | null
  vlan_tele: number | null
  manage_service_id: number | null
  internet_service_id: number | null
  telephone_service_id: number | null
  tele_service_id: number | null
  service_id: number | null
  nb_drop: number
  placemarks_id: bigint | null
  appartements_id: bigint | null
  latitude: number | null
  longitude: number | null
  boitier_pas_install: number | null
  description: string | null
  suite: number
  distance: number | null
  nb_portees: number | null
  _count: FibreCountAggregateOutputType | null
  _avg: FibreAvgAggregateOutputType | null
  _sum: FibreSumAggregateOutputType | null
  _min: FibreMinAggregateOutputType | null
  _max: FibreMaxAggregateOutputType | null
}

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



export type fibreWhereInput = {
  AND?: Prisma.fibreWhereInput | Prisma.fibreWhereInput[]
  OR?: Prisma.fibreWhereInput[]
  NOT?: Prisma.fibreWhereInput | Prisma.fibreWhereInput[]
  id?: Prisma.IntFilter<"fibre"> | number
  terrain?: Prisma.StringFilter<"fibre"> | string
  rue?: Prisma.StringFilter<"fibre"> | string
  ville?: Prisma.StringFilter<"fibre"> | string
  zip?: Prisma.StringFilter<"fibre"> | string
  ontid?: Prisma.IntNullableFilter<"fibre"> | number | null
  sn?: Prisma.StringNullableFilter<"fibre"> | string | null
  tech?: Prisma.IntFilter<"fibre"> | number
  info_connect?: Prisma.StringFilter<"fibre"> | string
  frame?: Prisma.IntNullableFilter<"fibre"> | number | null
  slot?: Prisma.IntNullableFilter<"fibre"> | number | null
  port?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_manage?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_internet?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_telephone?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_tele?: Prisma.IntNullableFilter<"fibre"> | number | null
  manage_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  internet_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  telephone_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  tele_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  nb_drop?: Prisma.IntFilter<"fibre"> | number
  placemarks_id?: Prisma.BigIntNullableFilter<"fibre"> | bigint | number | null
  appartements_id?: Prisma.BigIntNullableFilter<"fibre"> | bigint | number | null
  latitude?: Prisma.FloatNullableFilter<"fibre"> | number | null
  longitude?: Prisma.FloatNullableFilter<"fibre"> | number | null
  boitier_pas_install?: Prisma.IntNullableFilter<"fibre"> | number | null
  description?: Prisma.StringNullableFilter<"fibre"> | string | null
  suite?: Prisma.IntFilter<"fibre"> | number
  distance?: Prisma.IntNullableFilter<"fibre"> | number | null
  nb_portees?: Prisma.IntNullableFilter<"fibre"> | number | null
}

export type fibreOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  terrain?: Prisma.SortOrder
  rue?: Prisma.SortOrder
  ville?: Prisma.SortOrder
  zip?: Prisma.SortOrder
  ontid?: Prisma.SortOrderInput | Prisma.SortOrder
  sn?: Prisma.SortOrderInput | Prisma.SortOrder
  tech?: Prisma.SortOrder
  info_connect?: Prisma.SortOrder
  frame?: Prisma.SortOrderInput | Prisma.SortOrder
  slot?: Prisma.SortOrderInput | Prisma.SortOrder
  port?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_manage?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_internet?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_tele?: Prisma.SortOrderInput | Prisma.SortOrder
  manage_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  internet_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  tele_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrderInput | Prisma.SortOrder
  appartements_id?: Prisma.SortOrderInput | Prisma.SortOrder
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrderInput | Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrderInput | Prisma.SortOrder
  nb_portees?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.fibreOrderByRelevanceInput
}

export type fibreWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.fibreWhereInput | Prisma.fibreWhereInput[]
  OR?: Prisma.fibreWhereInput[]
  NOT?: Prisma.fibreWhereInput | Prisma.fibreWhereInput[]
  terrain?: Prisma.StringFilter<"fibre"> | string
  rue?: Prisma.StringFilter<"fibre"> | string
  ville?: Prisma.StringFilter<"fibre"> | string
  zip?: Prisma.StringFilter<"fibre"> | string
  ontid?: Prisma.IntNullableFilter<"fibre"> | number | null
  sn?: Prisma.StringNullableFilter<"fibre"> | string | null
  tech?: Prisma.IntFilter<"fibre"> | number
  info_connect?: Prisma.StringFilter<"fibre"> | string
  frame?: Prisma.IntNullableFilter<"fibre"> | number | null
  slot?: Prisma.IntNullableFilter<"fibre"> | number | null
  port?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_manage?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_internet?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_telephone?: Prisma.IntNullableFilter<"fibre"> | number | null
  vlan_tele?: Prisma.IntNullableFilter<"fibre"> | number | null
  manage_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  internet_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  telephone_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  tele_service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  service_id?: Prisma.IntNullableFilter<"fibre"> | number | null
  nb_drop?: Prisma.IntFilter<"fibre"> | number
  placemarks_id?: Prisma.BigIntNullableFilter<"fibre"> | bigint | number | null
  appartements_id?: Prisma.BigIntNullableFilter<"fibre"> | bigint | number | null
  latitude?: Prisma.FloatNullableFilter<"fibre"> | number | null
  longitude?: Prisma.FloatNullableFilter<"fibre"> | number | null
  boitier_pas_install?: Prisma.IntNullableFilter<"fibre"> | number | null
  description?: Prisma.StringNullableFilter<"fibre"> | string | null
  suite?: Prisma.IntFilter<"fibre"> | number
  distance?: Prisma.IntNullableFilter<"fibre"> | number | null
  nb_portees?: Prisma.IntNullableFilter<"fibre"> | number | null
}, "id">

export type fibreOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  terrain?: Prisma.SortOrder
  rue?: Prisma.SortOrder
  ville?: Prisma.SortOrder
  zip?: Prisma.SortOrder
  ontid?: Prisma.SortOrderInput | Prisma.SortOrder
  sn?: Prisma.SortOrderInput | Prisma.SortOrder
  tech?: Prisma.SortOrder
  info_connect?: Prisma.SortOrder
  frame?: Prisma.SortOrderInput | Prisma.SortOrder
  slot?: Prisma.SortOrderInput | Prisma.SortOrder
  port?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_manage?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_internet?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrderInput | Prisma.SortOrder
  vlan_tele?: Prisma.SortOrderInput | Prisma.SortOrder
  manage_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  internet_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  tele_service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrderInput | Prisma.SortOrder
  appartements_id?: Prisma.SortOrderInput | Prisma.SortOrder
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrderInput | Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrderInput | Prisma.SortOrder
  nb_portees?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.fibreCountOrderByAggregateInput
  _avg?: Prisma.fibreAvgOrderByAggregateInput
  _max?: Prisma.fibreMaxOrderByAggregateInput
  _min?: Prisma.fibreMinOrderByAggregateInput
  _sum?: Prisma.fibreSumOrderByAggregateInput
}

export type fibreScalarWhereWithAggregatesInput = {
  AND?: Prisma.fibreScalarWhereWithAggregatesInput | Prisma.fibreScalarWhereWithAggregatesInput[]
  OR?: Prisma.fibreScalarWhereWithAggregatesInput[]
  NOT?: Prisma.fibreScalarWhereWithAggregatesInput | Prisma.fibreScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"fibre"> | number
  terrain?: Prisma.StringWithAggregatesFilter<"fibre"> | string
  rue?: Prisma.StringWithAggregatesFilter<"fibre"> | string
  ville?: Prisma.StringWithAggregatesFilter<"fibre"> | string
  zip?: Prisma.StringWithAggregatesFilter<"fibre"> | string
  ontid?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  sn?: Prisma.StringNullableWithAggregatesFilter<"fibre"> | string | null
  tech?: Prisma.IntWithAggregatesFilter<"fibre"> | number
  info_connect?: Prisma.StringWithAggregatesFilter<"fibre"> | string
  frame?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  slot?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  port?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  vlan_manage?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  vlan_internet?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  vlan_telephone?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  vlan_tele?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  manage_service_id?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  internet_service_id?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  telephone_service_id?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  tele_service_id?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  service_id?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  nb_drop?: Prisma.IntWithAggregatesFilter<"fibre"> | number
  placemarks_id?: Prisma.BigIntNullableWithAggregatesFilter<"fibre"> | bigint | number | null
  appartements_id?: Prisma.BigIntNullableWithAggregatesFilter<"fibre"> | bigint | number | null
  latitude?: Prisma.FloatNullableWithAggregatesFilter<"fibre"> | number | null
  longitude?: Prisma.FloatNullableWithAggregatesFilter<"fibre"> | number | null
  boitier_pas_install?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  description?: Prisma.StringNullableWithAggregatesFilter<"fibre"> | string | null
  suite?: Prisma.IntWithAggregatesFilter<"fibre"> | number
  distance?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
  nb_portees?: Prisma.IntNullableWithAggregatesFilter<"fibre"> | number | null
}

export type fibreCreateInput = {
  terrain: string
  rue: string
  ville: string
  zip?: string
  ontid?: number | null
  sn?: string | null
  tech?: number
  info_connect?: string
  frame?: number | null
  slot?: number | null
  port?: number | null
  vlan_manage?: number | null
  vlan_internet?: number | null
  vlan_telephone?: number | null
  vlan_tele?: number | null
  manage_service_id?: number | null
  internet_service_id?: number | null
  telephone_service_id?: number | null
  tele_service_id?: number | null
  service_id?: number | null
  nb_drop?: number
  placemarks_id?: bigint | number | null
  appartements_id?: bigint | number | null
  latitude?: number | null
  longitude?: number | null
  boitier_pas_install?: number | null
  description?: string | null
  suite?: number
  distance?: number | null
  nb_portees?: number | null
}

export type fibreUncheckedCreateInput = {
  id?: number
  terrain: string
  rue: string
  ville: string
  zip?: string
  ontid?: number | null
  sn?: string | null
  tech?: number
  info_connect?: string
  frame?: number | null
  slot?: number | null
  port?: number | null
  vlan_manage?: number | null
  vlan_internet?: number | null
  vlan_telephone?: number | null
  vlan_tele?: number | null
  manage_service_id?: number | null
  internet_service_id?: number | null
  telephone_service_id?: number | null
  tele_service_id?: number | null
  service_id?: number | null
  nb_drop?: number
  placemarks_id?: bigint | number | null
  appartements_id?: bigint | number | null
  latitude?: number | null
  longitude?: number | null
  boitier_pas_install?: number | null
  description?: string | null
  suite?: number
  distance?: number | null
  nb_portees?: number | null
}

export type fibreUpdateInput = {
  terrain?: Prisma.StringFieldUpdateOperationsInput | string
  rue?: Prisma.StringFieldUpdateOperationsInput | string
  ville?: Prisma.StringFieldUpdateOperationsInput | string
  zip?: Prisma.StringFieldUpdateOperationsInput | string
  ontid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tech?: Prisma.IntFieldUpdateOperationsInput | number
  info_connect?: Prisma.StringFieldUpdateOperationsInput | string
  frame?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  slot?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  port?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_manage?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_internet?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_telephone?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_tele?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  manage_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  internet_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  telephone_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  tele_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_drop?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  appartements_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  boitier_pas_install?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  suite?: Prisma.IntFieldUpdateOperationsInput | number
  distance?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_portees?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}

export type fibreUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  terrain?: Prisma.StringFieldUpdateOperationsInput | string
  rue?: Prisma.StringFieldUpdateOperationsInput | string
  ville?: Prisma.StringFieldUpdateOperationsInput | string
  zip?: Prisma.StringFieldUpdateOperationsInput | string
  ontid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tech?: Prisma.IntFieldUpdateOperationsInput | number
  info_connect?: Prisma.StringFieldUpdateOperationsInput | string
  frame?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  slot?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  port?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_manage?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_internet?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_telephone?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_tele?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  manage_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  internet_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  telephone_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  tele_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_drop?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  appartements_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  boitier_pas_install?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  suite?: Prisma.IntFieldUpdateOperationsInput | number
  distance?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_portees?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}

export type fibreCreateManyInput = {
  id?: number
  terrain: string
  rue: string
  ville: string
  zip?: string
  ontid?: number | null
  sn?: string | null
  tech?: number
  info_connect?: string
  frame?: number | null
  slot?: number | null
  port?: number | null
  vlan_manage?: number | null
  vlan_internet?: number | null
  vlan_telephone?: number | null
  vlan_tele?: number | null
  manage_service_id?: number | null
  internet_service_id?: number | null
  telephone_service_id?: number | null
  tele_service_id?: number | null
  service_id?: number | null
  nb_drop?: number
  placemarks_id?: bigint | number | null
  appartements_id?: bigint | number | null
  latitude?: number | null
  longitude?: number | null
  boitier_pas_install?: number | null
  description?: string | null
  suite?: number
  distance?: number | null
  nb_portees?: number | null
}

export type fibreUpdateManyMutationInput = {
  terrain?: Prisma.StringFieldUpdateOperationsInput | string
  rue?: Prisma.StringFieldUpdateOperationsInput | string
  ville?: Prisma.StringFieldUpdateOperationsInput | string
  zip?: Prisma.StringFieldUpdateOperationsInput | string
  ontid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tech?: Prisma.IntFieldUpdateOperationsInput | number
  info_connect?: Prisma.StringFieldUpdateOperationsInput | string
  frame?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  slot?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  port?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_manage?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_internet?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_telephone?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_tele?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  manage_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  internet_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  telephone_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  tele_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_drop?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  appartements_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  boitier_pas_install?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  suite?: Prisma.IntFieldUpdateOperationsInput | number
  distance?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_portees?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}

export type fibreUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  terrain?: Prisma.StringFieldUpdateOperationsInput | string
  rue?: Prisma.StringFieldUpdateOperationsInput | string
  ville?: Prisma.StringFieldUpdateOperationsInput | string
  zip?: Prisma.StringFieldUpdateOperationsInput | string
  ontid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  sn?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tech?: Prisma.IntFieldUpdateOperationsInput | number
  info_connect?: Prisma.StringFieldUpdateOperationsInput | string
  frame?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  slot?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  port?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_manage?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_internet?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_telephone?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  vlan_tele?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  manage_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  internet_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  telephone_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  tele_service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  service_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_drop?: Prisma.IntFieldUpdateOperationsInput | number
  placemarks_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  appartements_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  boitier_pas_install?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  suite?: Prisma.IntFieldUpdateOperationsInput | number
  distance?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  nb_portees?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}

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

export type fibreCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  terrain?: Prisma.SortOrder
  rue?: Prisma.SortOrder
  ville?: Prisma.SortOrder
  zip?: Prisma.SortOrder
  ontid?: Prisma.SortOrder
  sn?: Prisma.SortOrder
  tech?: Prisma.SortOrder
  info_connect?: Prisma.SortOrder
  frame?: Prisma.SortOrder
  slot?: Prisma.SortOrder
  port?: Prisma.SortOrder
  vlan_manage?: Prisma.SortOrder
  vlan_internet?: Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrder
  vlan_tele?: Prisma.SortOrder
  manage_service_id?: Prisma.SortOrder
  internet_service_id?: Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrder
  tele_service_id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  appartements_id?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrder
  description?: Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrder
  nb_portees?: Prisma.SortOrder
}

export type fibreAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  ontid?: Prisma.SortOrder
  tech?: Prisma.SortOrder
  frame?: Prisma.SortOrder
  slot?: Prisma.SortOrder
  port?: Prisma.SortOrder
  vlan_manage?: Prisma.SortOrder
  vlan_internet?: Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrder
  vlan_tele?: Prisma.SortOrder
  manage_service_id?: Prisma.SortOrder
  internet_service_id?: Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrder
  tele_service_id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  appartements_id?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrder
  nb_portees?: Prisma.SortOrder
}

export type fibreMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  terrain?: Prisma.SortOrder
  rue?: Prisma.SortOrder
  ville?: Prisma.SortOrder
  zip?: Prisma.SortOrder
  ontid?: Prisma.SortOrder
  sn?: Prisma.SortOrder
  tech?: Prisma.SortOrder
  info_connect?: Prisma.SortOrder
  frame?: Prisma.SortOrder
  slot?: Prisma.SortOrder
  port?: Prisma.SortOrder
  vlan_manage?: Prisma.SortOrder
  vlan_internet?: Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrder
  vlan_tele?: Prisma.SortOrder
  manage_service_id?: Prisma.SortOrder
  internet_service_id?: Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrder
  tele_service_id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  appartements_id?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrder
  description?: Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrder
  nb_portees?: Prisma.SortOrder
}

export type fibreMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  terrain?: Prisma.SortOrder
  rue?: Prisma.SortOrder
  ville?: Prisma.SortOrder
  zip?: Prisma.SortOrder
  ontid?: Prisma.SortOrder
  sn?: Prisma.SortOrder
  tech?: Prisma.SortOrder
  info_connect?: Prisma.SortOrder
  frame?: Prisma.SortOrder
  slot?: Prisma.SortOrder
  port?: Prisma.SortOrder
  vlan_manage?: Prisma.SortOrder
  vlan_internet?: Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrder
  vlan_tele?: Prisma.SortOrder
  manage_service_id?: Prisma.SortOrder
  internet_service_id?: Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrder
  tele_service_id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  appartements_id?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrder
  description?: Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrder
  nb_portees?: Prisma.SortOrder
}

export type fibreSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  ontid?: Prisma.SortOrder
  tech?: Prisma.SortOrder
  frame?: Prisma.SortOrder
  slot?: Prisma.SortOrder
  port?: Prisma.SortOrder
  vlan_manage?: Prisma.SortOrder
  vlan_internet?: Prisma.SortOrder
  vlan_telephone?: Prisma.SortOrder
  vlan_tele?: Prisma.SortOrder
  manage_service_id?: Prisma.SortOrder
  internet_service_id?: Prisma.SortOrder
  telephone_service_id?: Prisma.SortOrder
  tele_service_id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  nb_drop?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  appartements_id?: Prisma.SortOrder
  latitude?: Prisma.SortOrder
  longitude?: Prisma.SortOrder
  boitier_pas_install?: Prisma.SortOrder
  suite?: Prisma.SortOrder
  distance?: Prisma.SortOrder
  nb_portees?: Prisma.SortOrder
}



export type fibreSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  terrain?: boolean
  rue?: boolean
  ville?: boolean
  zip?: boolean
  ontid?: boolean
  sn?: boolean
  tech?: boolean
  info_connect?: boolean
  frame?: boolean
  slot?: boolean
  port?: boolean
  vlan_manage?: boolean
  vlan_internet?: boolean
  vlan_telephone?: boolean
  vlan_tele?: boolean
  manage_service_id?: boolean
  internet_service_id?: boolean
  telephone_service_id?: boolean
  tele_service_id?: boolean
  service_id?: boolean
  nb_drop?: boolean
  placemarks_id?: boolean
  appartements_id?: boolean
  latitude?: boolean
  longitude?: boolean
  boitier_pas_install?: boolean
  description?: boolean
  suite?: boolean
  distance?: boolean
  nb_portees?: boolean
}, ExtArgs["result"]["fibre"]>



export type fibreSelectScalar = {
  id?: boolean
  terrain?: boolean
  rue?: boolean
  ville?: boolean
  zip?: boolean
  ontid?: boolean
  sn?: boolean
  tech?: boolean
  info_connect?: boolean
  frame?: boolean
  slot?: boolean
  port?: boolean
  vlan_manage?: boolean
  vlan_internet?: boolean
  vlan_telephone?: boolean
  vlan_tele?: boolean
  manage_service_id?: boolean
  internet_service_id?: boolean
  telephone_service_id?: boolean
  tele_service_id?: boolean
  service_id?: boolean
  nb_drop?: boolean
  placemarks_id?: boolean
  appartements_id?: boolean
  latitude?: boolean
  longitude?: boolean
  boitier_pas_install?: boolean
  description?: boolean
  suite?: boolean
  distance?: boolean
  nb_portees?: boolean
}

export type fibreOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "terrain" | "rue" | "ville" | "zip" | "ontid" | "sn" | "tech" | "info_connect" | "frame" | "slot" | "port" | "vlan_manage" | "vlan_internet" | "vlan_telephone" | "vlan_tele" | "manage_service_id" | "internet_service_id" | "telephone_service_id" | "tele_service_id" | "service_id" | "nb_drop" | "placemarks_id" | "appartements_id" | "latitude" | "longitude" | "boitier_pas_install" | "description" | "suite" | "distance" | "nb_portees", ExtArgs["result"]["fibre"]>

export type $fibrePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "fibre"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    terrain: string
    rue: string
    ville: string
    zip: string
    ontid: number | null
    sn: string | null
    tech: number
    info_connect: string
    frame: number | null
    slot: number | null
    port: number | null
    vlan_manage: number | null
    vlan_internet: number | null
    vlan_telephone: number | null
    vlan_tele: number | null
    manage_service_id: number | null
    internet_service_id: number | null
    telephone_service_id: number | null
    tele_service_id: number | null
    service_id: number | null
    nb_drop: number
    placemarks_id: bigint | null
    appartements_id: bigint | null
    latitude: number | null
    longitude: number | null
    boitier_pas_install: number | null
    description: string | null
    suite: number
    distance: number | null
    nb_portees: number | null
  }, ExtArgs["result"]["fibre"]>
  composites: {}
}

export type fibreGetPayload<S extends boolean | null | undefined | fibreDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$fibrePayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for fibre.
 * 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__fibreClient<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 fibre model
 */
export interface fibreFieldRefs {
  readonly id: Prisma.FieldRef<"fibre", 'Int'>
  readonly terrain: Prisma.FieldRef<"fibre", 'String'>
  readonly rue: Prisma.FieldRef<"fibre", 'String'>
  readonly ville: Prisma.FieldRef<"fibre", 'String'>
  readonly zip: Prisma.FieldRef<"fibre", 'String'>
  readonly ontid: Prisma.FieldRef<"fibre", 'Int'>
  readonly sn: Prisma.FieldRef<"fibre", 'String'>
  readonly tech: Prisma.FieldRef<"fibre", 'Int'>
  readonly info_connect: Prisma.FieldRef<"fibre", 'String'>
  readonly frame: Prisma.FieldRef<"fibre", 'Int'>
  readonly slot: Prisma.FieldRef<"fibre", 'Int'>
  readonly port: Prisma.FieldRef<"fibre", 'Int'>
  readonly vlan_manage: Prisma.FieldRef<"fibre", 'Int'>
  readonly vlan_internet: Prisma.FieldRef<"fibre", 'Int'>
  readonly vlan_telephone: Prisma.FieldRef<"fibre", 'Int'>
  readonly vlan_tele: Prisma.FieldRef<"fibre", 'Int'>
  readonly manage_service_id: Prisma.FieldRef<"fibre", 'Int'>
  readonly internet_service_id: Prisma.FieldRef<"fibre", 'Int'>
  readonly telephone_service_id: Prisma.FieldRef<"fibre", 'Int'>
  readonly tele_service_id: Prisma.FieldRef<"fibre", 'Int'>
  readonly service_id: Prisma.FieldRef<"fibre", 'Int'>
  readonly nb_drop: Prisma.FieldRef<"fibre", 'Int'>
  readonly placemarks_id: Prisma.FieldRef<"fibre", 'BigInt'>
  readonly appartements_id: Prisma.FieldRef<"fibre", 'BigInt'>
  readonly latitude: Prisma.FieldRef<"fibre", 'Float'>
  readonly longitude: Prisma.FieldRef<"fibre", 'Float'>
  readonly boitier_pas_install: Prisma.FieldRef<"fibre", 'Int'>
  readonly description: Prisma.FieldRef<"fibre", 'String'>
  readonly suite: Prisma.FieldRef<"fibre", 'Int'>
  readonly distance: Prisma.FieldRef<"fibre", 'Int'>
  readonly nb_portees: Prisma.FieldRef<"fibre", 'Int'>
}
    

// Custom InputTypes
/**
 * fibre findUnique
 */
export type fibreFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * Filter, which fibre to fetch.
   */
  where: Prisma.fibreWhereUniqueInput
}

/**
 * fibre findUniqueOrThrow
 */
export type fibreFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * Filter, which fibre to fetch.
   */
  where: Prisma.fibreWhereUniqueInput
}

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

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

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

/**
 * fibre create
 */
export type fibreCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * The data needed to create a fibre.
   */
  data: Prisma.XOR<Prisma.fibreCreateInput, Prisma.fibreUncheckedCreateInput>
}

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

/**
 * fibre update
 */
export type fibreUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * The data needed to update a fibre.
   */
  data: Prisma.XOR<Prisma.fibreUpdateInput, Prisma.fibreUncheckedUpdateInput>
  /**
   * Choose, which fibre to update.
   */
  where: Prisma.fibreWhereUniqueInput
}

/**
 * fibre updateMany
 */
export type fibreUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update fibres.
   */
  data: Prisma.XOR<Prisma.fibreUpdateManyMutationInput, Prisma.fibreUncheckedUpdateManyInput>
  /**
   * Filter which fibres to update
   */
  where?: Prisma.fibreWhereInput
  /**
   * Limit how many fibres to update.
   */
  limit?: number
}

/**
 * fibre upsert
 */
export type fibreUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * The filter to search for the fibre to update in case it exists.
   */
  where: Prisma.fibreWhereUniqueInput
  /**
   * In case the fibre found by the `where` argument doesn't exist, create a new fibre with this data.
   */
  create: Prisma.XOR<Prisma.fibreCreateInput, Prisma.fibreUncheckedCreateInput>
  /**
   * In case the fibre was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.fibreUpdateInput, Prisma.fibreUncheckedUpdateInput>
}

/**
 * fibre delete
 */
export type fibreDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre
   */
  select?: Prisma.fibreSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre
   */
  omit?: Prisma.fibreOmit<ExtArgs> | null
  /**
   * Filter which fibre to delete.
   */
  where: Prisma.fibreWhereUniqueInput
}

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

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