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

export type AggregateTele_penetration = {
  _count: Tele_penetrationCountAggregateOutputType | null
  _avg: Tele_penetrationAvgAggregateOutputType | null
  _sum: Tele_penetrationSumAggregateOutputType | null
  _min: Tele_penetrationMinAggregateOutputType | null
  _max: Tele_penetrationMaxAggregateOutputType | null
}

export type Tele_penetrationAvgAggregateOutputType = {
  id: number | null
  id_channel: number | null
  percentage: runtime.Decimal | null
  prix: runtime.Decimal | null
}

export type Tele_penetrationSumAggregateOutputType = {
  id: number | null
  id_channel: number | null
  percentage: runtime.Decimal | null
  prix: runtime.Decimal | null
}

export type Tele_penetrationMinAggregateOutputType = {
  id: number | null
  id_channel: number | null
  percentage: runtime.Decimal | null
  prix: runtime.Decimal | null
}

export type Tele_penetrationMaxAggregateOutputType = {
  id: number | null
  id_channel: number | null
  percentage: runtime.Decimal | null
  prix: runtime.Decimal | null
}

export type Tele_penetrationCountAggregateOutputType = {
  id: number
  id_channel: number
  percentage: number
  prix: number
  _all: number
}


export type Tele_penetrationAvgAggregateInputType = {
  id?: true
  id_channel?: true
  percentage?: true
  prix?: true
}

export type Tele_penetrationSumAggregateInputType = {
  id?: true
  id_channel?: true
  percentage?: true
  prix?: true
}

export type Tele_penetrationMinAggregateInputType = {
  id?: true
  id_channel?: true
  percentage?: true
  prix?: true
}

export type Tele_penetrationMaxAggregateInputType = {
  id?: true
  id_channel?: true
  percentage?: true
  prix?: true
}

export type Tele_penetrationCountAggregateInputType = {
  id?: true
  id_channel?: true
  percentage?: true
  prix?: true
  _all?: true
}

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

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




export type tele_penetrationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.tele_penetrationWhereInput
  orderBy?: Prisma.tele_penetrationOrderByWithAggregationInput | Prisma.tele_penetrationOrderByWithAggregationInput[]
  by: Prisma.Tele_penetrationScalarFieldEnum[] | Prisma.Tele_penetrationScalarFieldEnum
  having?: Prisma.tele_penetrationScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Tele_penetrationCountAggregateInputType | true
  _avg?: Tele_penetrationAvgAggregateInputType
  _sum?: Tele_penetrationSumAggregateInputType
  _min?: Tele_penetrationMinAggregateInputType
  _max?: Tele_penetrationMaxAggregateInputType
}

export type Tele_penetrationGroupByOutputType = {
  id: number
  id_channel: number
  percentage: runtime.Decimal
  prix: runtime.Decimal
  _count: Tele_penetrationCountAggregateOutputType | null
  _avg: Tele_penetrationAvgAggregateOutputType | null
  _sum: Tele_penetrationSumAggregateOutputType | null
  _min: Tele_penetrationMinAggregateOutputType | null
  _max: Tele_penetrationMaxAggregateOutputType | null
}

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



export type tele_penetrationWhereInput = {
  AND?: Prisma.tele_penetrationWhereInput | Prisma.tele_penetrationWhereInput[]
  OR?: Prisma.tele_penetrationWhereInput[]
  NOT?: Prisma.tele_penetrationWhereInput | Prisma.tele_penetrationWhereInput[]
  id?: Prisma.IntFilter<"tele_penetration"> | number
  id_channel?: Prisma.IntFilter<"tele_penetration"> | number
  percentage?: Prisma.DecimalFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}

export type tele_penetrationWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.tele_penetrationWhereInput | Prisma.tele_penetrationWhereInput[]
  OR?: Prisma.tele_penetrationWhereInput[]
  NOT?: Prisma.tele_penetrationWhereInput | Prisma.tele_penetrationWhereInput[]
  id_channel?: Prisma.IntFilter<"tele_penetration"> | number
  percentage?: Prisma.DecimalFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
}, "id">

export type tele_penetrationOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
  _count?: Prisma.tele_penetrationCountOrderByAggregateInput
  _avg?: Prisma.tele_penetrationAvgOrderByAggregateInput
  _max?: Prisma.tele_penetrationMaxOrderByAggregateInput
  _min?: Prisma.tele_penetrationMinOrderByAggregateInput
  _sum?: Prisma.tele_penetrationSumOrderByAggregateInput
}

export type tele_penetrationScalarWhereWithAggregatesInput = {
  AND?: Prisma.tele_penetrationScalarWhereWithAggregatesInput | Prisma.tele_penetrationScalarWhereWithAggregatesInput[]
  OR?: Prisma.tele_penetrationScalarWhereWithAggregatesInput[]
  NOT?: Prisma.tele_penetrationScalarWhereWithAggregatesInput | Prisma.tele_penetrationScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"tele_penetration"> | number
  id_channel?: Prisma.IntWithAggregatesFilter<"tele_penetration"> | number
  percentage?: Prisma.DecimalWithAggregatesFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalWithAggregatesFilter<"tele_penetration"> | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationCreateInput = {
  id_channel: number
  percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
  prix: runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationUncheckedCreateInput = {
  id?: number
  id_channel: number
  percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
  prix: runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationUpdateInput = {
  id_channel?: Prisma.IntFieldUpdateOperationsInput | number
  percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  id_channel?: Prisma.IntFieldUpdateOperationsInput | number
  percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationCreateManyInput = {
  id?: number
  id_channel: number
  percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
  prix: runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationUpdateManyMutationInput = {
  id_channel?: Prisma.IntFieldUpdateOperationsInput | number
  percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  id_channel?: Prisma.IntFieldUpdateOperationsInput | number
  percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
  prix?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type tele_penetrationCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}

export type tele_penetrationAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}

export type tele_penetrationMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}

export type tele_penetrationMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}

export type tele_penetrationSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  id_channel?: Prisma.SortOrder
  percentage?: Prisma.SortOrder
  prix?: Prisma.SortOrder
}



export type tele_penetrationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  id_channel?: boolean
  percentage?: boolean
  prix?: boolean
}, ExtArgs["result"]["tele_penetration"]>



export type tele_penetrationSelectScalar = {
  id?: boolean
  id_channel?: boolean
  percentage?: boolean
  prix?: boolean
}

export type tele_penetrationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "id_channel" | "percentage" | "prix", ExtArgs["result"]["tele_penetration"]>

export type $tele_penetrationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "tele_penetration"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    id_channel: number
    percentage: runtime.Decimal
    prix: runtime.Decimal
  }, ExtArgs["result"]["tele_penetration"]>
  composites: {}
}

export type tele_penetrationGetPayload<S extends boolean | null | undefined | tele_penetrationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$tele_penetrationPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for tele_penetration.
 * 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__tele_penetrationClient<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 tele_penetration model
 */
export interface tele_penetrationFieldRefs {
  readonly id: Prisma.FieldRef<"tele_penetration", 'Int'>
  readonly id_channel: Prisma.FieldRef<"tele_penetration", 'Int'>
  readonly percentage: Prisma.FieldRef<"tele_penetration", 'Decimal'>
  readonly prix: Prisma.FieldRef<"tele_penetration", 'Decimal'>
}
    

// Custom InputTypes
/**
 * tele_penetration findUnique
 */
export type tele_penetrationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * Filter, which tele_penetration to fetch.
   */
  where: Prisma.tele_penetrationWhereUniqueInput
}

/**
 * tele_penetration findUniqueOrThrow
 */
export type tele_penetrationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * Filter, which tele_penetration to fetch.
   */
  where: Prisma.tele_penetrationWhereUniqueInput
}

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

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

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

/**
 * tele_penetration create
 */
export type tele_penetrationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * The data needed to create a tele_penetration.
   */
  data: Prisma.XOR<Prisma.tele_penetrationCreateInput, Prisma.tele_penetrationUncheckedCreateInput>
}

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

/**
 * tele_penetration update
 */
export type tele_penetrationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * The data needed to update a tele_penetration.
   */
  data: Prisma.XOR<Prisma.tele_penetrationUpdateInput, Prisma.tele_penetrationUncheckedUpdateInput>
  /**
   * Choose, which tele_penetration to update.
   */
  where: Prisma.tele_penetrationWhereUniqueInput
}

/**
 * tele_penetration updateMany
 */
export type tele_penetrationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update tele_penetrations.
   */
  data: Prisma.XOR<Prisma.tele_penetrationUpdateManyMutationInput, Prisma.tele_penetrationUncheckedUpdateManyInput>
  /**
   * Filter which tele_penetrations to update
   */
  where?: Prisma.tele_penetrationWhereInput
  /**
   * Limit how many tele_penetrations to update.
   */
  limit?: number
}

/**
 * tele_penetration upsert
 */
export type tele_penetrationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * The filter to search for the tele_penetration to update in case it exists.
   */
  where: Prisma.tele_penetrationWhereUniqueInput
  /**
   * In case the tele_penetration found by the `where` argument doesn't exist, create a new tele_penetration with this data.
   */
  create: Prisma.XOR<Prisma.tele_penetrationCreateInput, Prisma.tele_penetrationUncheckedCreateInput>
  /**
   * In case the tele_penetration was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.tele_penetrationUpdateInput, Prisma.tele_penetrationUncheckedUpdateInput>
}

/**
 * tele_penetration delete
 */
export type tele_penetrationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the tele_penetration
   */
  select?: Prisma.tele_penetrationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the tele_penetration
   */
  omit?: Prisma.tele_penetrationOmit<ExtArgs> | null
  /**
   * Filter which tele_penetration to delete.
   */
  where: Prisma.tele_penetrationWhereUniqueInput
}

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

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