
/* !!! 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_tech` 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_tech
 * 
 */
export type fibre_techModel = runtime.Types.Result.DefaultSelection<Prisma.$fibre_techPayload>

export type AggregateFibre_tech = {
  _count: Fibre_techCountAggregateOutputType | null
  _avg: Fibre_techAvgAggregateOutputType | null
  _sum: Fibre_techSumAggregateOutputType | null
  _min: Fibre_techMinAggregateOutputType | null
  _max: Fibre_techMaxAggregateOutputType | null
}

export type Fibre_techAvgAggregateOutputType = {
  id: number | null
}

export type Fibre_techSumAggregateOutputType = {
  id: number | null
}

export type Fibre_techMinAggregateOutputType = {
  id: number | null
  description: string | null
}

export type Fibre_techMaxAggregateOutputType = {
  id: number | null
  description: string | null
}

export type Fibre_techCountAggregateOutputType = {
  id: number
  description: number
  _all: number
}


export type Fibre_techAvgAggregateInputType = {
  id?: true
}

export type Fibre_techSumAggregateInputType = {
  id?: true
}

export type Fibre_techMinAggregateInputType = {
  id?: true
  description?: true
}

export type Fibre_techMaxAggregateInputType = {
  id?: true
  description?: true
}

export type Fibre_techCountAggregateInputType = {
  id?: true
  description?: true
  _all?: true
}

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

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




export type fibre_techGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.fibre_techWhereInput
  orderBy?: Prisma.fibre_techOrderByWithAggregationInput | Prisma.fibre_techOrderByWithAggregationInput[]
  by: Prisma.Fibre_techScalarFieldEnum[] | Prisma.Fibre_techScalarFieldEnum
  having?: Prisma.fibre_techScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Fibre_techCountAggregateInputType | true
  _avg?: Fibre_techAvgAggregateInputType
  _sum?: Fibre_techSumAggregateInputType
  _min?: Fibre_techMinAggregateInputType
  _max?: Fibre_techMaxAggregateInputType
}

export type Fibre_techGroupByOutputType = {
  id: number
  description: string
  _count: Fibre_techCountAggregateOutputType | null
  _avg: Fibre_techAvgAggregateOutputType | null
  _sum: Fibre_techSumAggregateOutputType | null
  _min: Fibre_techMinAggregateOutputType | null
  _max: Fibre_techMaxAggregateOutputType | null
}

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



export type fibre_techWhereInput = {
  AND?: Prisma.fibre_techWhereInput | Prisma.fibre_techWhereInput[]
  OR?: Prisma.fibre_techWhereInput[]
  NOT?: Prisma.fibre_techWhereInput | Prisma.fibre_techWhereInput[]
  id?: Prisma.IntFilter<"fibre_tech"> | number
  description?: Prisma.StringFilter<"fibre_tech"> | string
}

export type fibre_techOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  description?: Prisma.SortOrder
  _relevance?: Prisma.fibre_techOrderByRelevanceInput
}

export type fibre_techWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.fibre_techWhereInput | Prisma.fibre_techWhereInput[]
  OR?: Prisma.fibre_techWhereInput[]
  NOT?: Prisma.fibre_techWhereInput | Prisma.fibre_techWhereInput[]
  description?: Prisma.StringFilter<"fibre_tech"> | string
}, "id">

export type fibre_techOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  description?: Prisma.SortOrder
  _count?: Prisma.fibre_techCountOrderByAggregateInput
  _avg?: Prisma.fibre_techAvgOrderByAggregateInput
  _max?: Prisma.fibre_techMaxOrderByAggregateInput
  _min?: Prisma.fibre_techMinOrderByAggregateInput
  _sum?: Prisma.fibre_techSumOrderByAggregateInput
}

export type fibre_techScalarWhereWithAggregatesInput = {
  AND?: Prisma.fibre_techScalarWhereWithAggregatesInput | Prisma.fibre_techScalarWhereWithAggregatesInput[]
  OR?: Prisma.fibre_techScalarWhereWithAggregatesInput[]
  NOT?: Prisma.fibre_techScalarWhereWithAggregatesInput | Prisma.fibre_techScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"fibre_tech"> | number
  description?: Prisma.StringWithAggregatesFilter<"fibre_tech"> | string
}

export type fibre_techCreateInput = {
  description: string
}

export type fibre_techUncheckedCreateInput = {
  id?: number
  description: string
}

export type fibre_techUpdateInput = {
  description?: Prisma.StringFieldUpdateOperationsInput | string
}

export type fibre_techUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.StringFieldUpdateOperationsInput | string
}

export type fibre_techCreateManyInput = {
  id?: number
  description: string
}

export type fibre_techUpdateManyMutationInput = {
  description?: Prisma.StringFieldUpdateOperationsInput | string
}

export type fibre_techUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.StringFieldUpdateOperationsInput | string
}

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

export type fibre_techCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  description?: Prisma.SortOrder
}

export type fibre_techAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
}

export type fibre_techMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  description?: Prisma.SortOrder
}

export type fibre_techMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  description?: Prisma.SortOrder
}

export type fibre_techSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
}



export type fibre_techSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  description?: boolean
}, ExtArgs["result"]["fibre_tech"]>



export type fibre_techSelectScalar = {
  id?: boolean
  description?: boolean
}

export type fibre_techOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "description", ExtArgs["result"]["fibre_tech"]>

export type $fibre_techPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "fibre_tech"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    description: string
  }, ExtArgs["result"]["fibre_tech"]>
  composites: {}
}

export type fibre_techGetPayload<S extends boolean | null | undefined | fibre_techDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$fibre_techPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for fibre_tech.
 * 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__fibre_techClient<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_tech model
 */
export interface fibre_techFieldRefs {
  readonly id: Prisma.FieldRef<"fibre_tech", 'Int'>
  readonly description: Prisma.FieldRef<"fibre_tech", 'String'>
}
    

// Custom InputTypes
/**
 * fibre_tech findUnique
 */
export type fibre_techFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * Filter, which fibre_tech to fetch.
   */
  where: Prisma.fibre_techWhereUniqueInput
}

/**
 * fibre_tech findUniqueOrThrow
 */
export type fibre_techFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * Filter, which fibre_tech to fetch.
   */
  where: Prisma.fibre_techWhereUniqueInput
}

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

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

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

/**
 * fibre_tech create
 */
export type fibre_techCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * The data needed to create a fibre_tech.
   */
  data: Prisma.XOR<Prisma.fibre_techCreateInput, Prisma.fibre_techUncheckedCreateInput>
}

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

/**
 * fibre_tech update
 */
export type fibre_techUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * The data needed to update a fibre_tech.
   */
  data: Prisma.XOR<Prisma.fibre_techUpdateInput, Prisma.fibre_techUncheckedUpdateInput>
  /**
   * Choose, which fibre_tech to update.
   */
  where: Prisma.fibre_techWhereUniqueInput
}

/**
 * fibre_tech updateMany
 */
export type fibre_techUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update fibre_teches.
   */
  data: Prisma.XOR<Prisma.fibre_techUpdateManyMutationInput, Prisma.fibre_techUncheckedUpdateManyInput>
  /**
   * Filter which fibre_teches to update
   */
  where?: Prisma.fibre_techWhereInput
  /**
   * Limit how many fibre_teches to update.
   */
  limit?: number
}

/**
 * fibre_tech upsert
 */
export type fibre_techUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * The filter to search for the fibre_tech to update in case it exists.
   */
  where: Prisma.fibre_techWhereUniqueInput
  /**
   * In case the fibre_tech found by the `where` argument doesn't exist, create a new fibre_tech with this data.
   */
  create: Prisma.XOR<Prisma.fibre_techCreateInput, Prisma.fibre_techUncheckedCreateInput>
  /**
   * In case the fibre_tech was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.fibre_techUpdateInput, Prisma.fibre_techUncheckedUpdateInput>
}

/**
 * fibre_tech delete
 */
export type fibre_techDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the fibre_tech
   */
  select?: Prisma.fibre_techSelect<ExtArgs> | null
  /**
   * Omit specific fields from the fibre_tech
   */
  omit?: Prisma.fibre_techOmit<ExtArgs> | null
  /**
   * Filter which fibre_tech to delete.
   */
  where: Prisma.fibre_techWhereUniqueInput
}

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

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