/* !!! 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_pack` 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_pack * */ export type tele_packModel = runtime.Types.Result.DefaultSelection export type AggregateTele_pack = { _count: Tele_packCountAggregateOutputType | null _avg: Tele_packAvgAggregateOutputType | null _sum: Tele_packSumAggregateOutputType | null _min: Tele_packMinAggregateOutputType | null _max: Tele_packMaxAggregateOutputType | null } export type Tele_packAvgAggregateOutputType = { id: number | null product_id: number | null ccsa_packageID: number | null rapport_bell: number | null epgId: number | null } export type Tele_packSumAggregateOutputType = { id: number | null product_id: number | null ccsa_packageID: number | null rapport_bell: number | null epgId: number | null } export type Tele_packMinAggregateOutputType = { id: number | null product_id: number | null channels: string | null actif: boolean | null ccsa_packageID: number | null ccsa_desc: string | null rapport_bell: number | null bell_name: string | null epgId: number | null } export type Tele_packMaxAggregateOutputType = { id: number | null product_id: number | null channels: string | null actif: boolean | null ccsa_packageID: number | null ccsa_desc: string | null rapport_bell: number | null bell_name: string | null epgId: number | null } export type Tele_packCountAggregateOutputType = { id: number product_id: number channels: number actif: number ccsa_packageID: number ccsa_desc: number rapport_bell: number bell_name: number epgId: number _all: number } export type Tele_packAvgAggregateInputType = { id?: true product_id?: true ccsa_packageID?: true rapport_bell?: true epgId?: true } export type Tele_packSumAggregateInputType = { id?: true product_id?: true ccsa_packageID?: true rapport_bell?: true epgId?: true } export type Tele_packMinAggregateInputType = { id?: true product_id?: true channels?: true actif?: true ccsa_packageID?: true ccsa_desc?: true rapport_bell?: true bell_name?: true epgId?: true } export type Tele_packMaxAggregateInputType = { id?: true product_id?: true channels?: true actif?: true ccsa_packageID?: true ccsa_desc?: true rapport_bell?: true bell_name?: true epgId?: true } export type Tele_packCountAggregateInputType = { id?: true product_id?: true channels?: true actif?: true ccsa_packageID?: true ccsa_desc?: true rapport_bell?: true bell_name?: true epgId?: true _all?: true } export type Tele_packAggregateArgs = { /** * Filter which tele_pack to aggregate. */ where?: Prisma.tele_packWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tele_packs to fetch. */ orderBy?: Prisma.tele_packOrderByWithRelationInput | Prisma.tele_packOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.tele_packWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tele_packs 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_packs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned tele_packs **/ _count?: true | Tele_packCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Tele_packAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Tele_packSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Tele_packMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Tele_packMaxAggregateInputType } export type GetTele_packAggregateType = { [P in keyof T & keyof AggregateTele_pack]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type tele_packGroupByArgs = { where?: Prisma.tele_packWhereInput orderBy?: Prisma.tele_packOrderByWithAggregationInput | Prisma.tele_packOrderByWithAggregationInput[] by: Prisma.Tele_packScalarFieldEnum[] | Prisma.Tele_packScalarFieldEnum having?: Prisma.tele_packScalarWhereWithAggregatesInput take?: number skip?: number _count?: Tele_packCountAggregateInputType | true _avg?: Tele_packAvgAggregateInputType _sum?: Tele_packSumAggregateInputType _min?: Tele_packMinAggregateInputType _max?: Tele_packMaxAggregateInputType } export type Tele_packGroupByOutputType = { id: number product_id: number channels: string actif: boolean ccsa_packageID: number ccsa_desc: string rapport_bell: number bell_name: string | null epgId: number | null _count: Tele_packCountAggregateOutputType | null _avg: Tele_packAvgAggregateOutputType | null _sum: Tele_packSumAggregateOutputType | null _min: Tele_packMinAggregateOutputType | null _max: Tele_packMaxAggregateOutputType | null } type GetTele_packGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Tele_packGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type tele_packWhereInput = { AND?: Prisma.tele_packWhereInput | Prisma.tele_packWhereInput[] OR?: Prisma.tele_packWhereInput[] NOT?: Prisma.tele_packWhereInput | Prisma.tele_packWhereInput[] id?: Prisma.IntFilter<"tele_pack"> | number product_id?: Prisma.IntFilter<"tele_pack"> | number channels?: Prisma.StringFilter<"tele_pack"> | string actif?: Prisma.BoolFilter<"tele_pack"> | boolean ccsa_packageID?: Prisma.IntFilter<"tele_pack"> | number ccsa_desc?: Prisma.StringFilter<"tele_pack"> | string rapport_bell?: Prisma.IntFilter<"tele_pack"> | number bell_name?: Prisma.StringNullableFilter<"tele_pack"> | string | null epgId?: Prisma.IntNullableFilter<"tele_pack"> | number | null } export type tele_packOrderByWithRelationInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder channels?: Prisma.SortOrder actif?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder ccsa_desc?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder bell_name?: Prisma.SortOrderInput | Prisma.SortOrder epgId?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.tele_packOrderByRelevanceInput } export type tele_packWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.tele_packWhereInput | Prisma.tele_packWhereInput[] OR?: Prisma.tele_packWhereInput[] NOT?: Prisma.tele_packWhereInput | Prisma.tele_packWhereInput[] product_id?: Prisma.IntFilter<"tele_pack"> | number channels?: Prisma.StringFilter<"tele_pack"> | string actif?: Prisma.BoolFilter<"tele_pack"> | boolean ccsa_packageID?: Prisma.IntFilter<"tele_pack"> | number ccsa_desc?: Prisma.StringFilter<"tele_pack"> | string rapport_bell?: Prisma.IntFilter<"tele_pack"> | number bell_name?: Prisma.StringNullableFilter<"tele_pack"> | string | null epgId?: Prisma.IntNullableFilter<"tele_pack"> | number | null }, "id"> export type tele_packOrderByWithAggregationInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder channels?: Prisma.SortOrder actif?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder ccsa_desc?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder bell_name?: Prisma.SortOrderInput | Prisma.SortOrder epgId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.tele_packCountOrderByAggregateInput _avg?: Prisma.tele_packAvgOrderByAggregateInput _max?: Prisma.tele_packMaxOrderByAggregateInput _min?: Prisma.tele_packMinOrderByAggregateInput _sum?: Prisma.tele_packSumOrderByAggregateInput } export type tele_packScalarWhereWithAggregatesInput = { AND?: Prisma.tele_packScalarWhereWithAggregatesInput | Prisma.tele_packScalarWhereWithAggregatesInput[] OR?: Prisma.tele_packScalarWhereWithAggregatesInput[] NOT?: Prisma.tele_packScalarWhereWithAggregatesInput | Prisma.tele_packScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"tele_pack"> | number product_id?: Prisma.IntWithAggregatesFilter<"tele_pack"> | number channels?: Prisma.StringWithAggregatesFilter<"tele_pack"> | string actif?: Prisma.BoolWithAggregatesFilter<"tele_pack"> | boolean ccsa_packageID?: Prisma.IntWithAggregatesFilter<"tele_pack"> | number ccsa_desc?: Prisma.StringWithAggregatesFilter<"tele_pack"> | string rapport_bell?: Prisma.IntWithAggregatesFilter<"tele_pack"> | number bell_name?: Prisma.StringNullableWithAggregatesFilter<"tele_pack"> | string | null epgId?: Prisma.IntNullableWithAggregatesFilter<"tele_pack"> | number | null } export type tele_packCreateInput = { product_id: number channels: string actif?: boolean ccsa_packageID: number ccsa_desc: string rapport_bell?: number bell_name?: string | null epgId?: number | null } export type tele_packUncheckedCreateInput = { id?: number product_id: number channels: string actif?: boolean ccsa_packageID: number ccsa_desc: string rapport_bell?: number bell_name?: string | null epgId?: number | null } export type tele_packUpdateInput = { product_id?: Prisma.IntFieldUpdateOperationsInput | number channels?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number bell_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null epgId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type tele_packUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number product_id?: Prisma.IntFieldUpdateOperationsInput | number channels?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number bell_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null epgId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type tele_packCreateManyInput = { id?: number product_id: number channels: string actif?: boolean ccsa_packageID: number ccsa_desc: string rapport_bell?: number bell_name?: string | null epgId?: number | null } export type tele_packUpdateManyMutationInput = { product_id?: Prisma.IntFieldUpdateOperationsInput | number channels?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number bell_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null epgId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type tele_packUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number product_id?: Prisma.IntFieldUpdateOperationsInput | number channels?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number bell_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null epgId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type tele_packOrderByRelevanceInput = { fields: Prisma.tele_packOrderByRelevanceFieldEnum | Prisma.tele_packOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type tele_packCountOrderByAggregateInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder channels?: Prisma.SortOrder actif?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder ccsa_desc?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder bell_name?: Prisma.SortOrder epgId?: Prisma.SortOrder } export type tele_packAvgOrderByAggregateInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder epgId?: Prisma.SortOrder } export type tele_packMaxOrderByAggregateInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder channels?: Prisma.SortOrder actif?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder ccsa_desc?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder bell_name?: Prisma.SortOrder epgId?: Prisma.SortOrder } export type tele_packMinOrderByAggregateInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder channels?: Prisma.SortOrder actif?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder ccsa_desc?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder bell_name?: Prisma.SortOrder epgId?: Prisma.SortOrder } export type tele_packSumOrderByAggregateInput = { id?: Prisma.SortOrder product_id?: Prisma.SortOrder ccsa_packageID?: Prisma.SortOrder rapport_bell?: Prisma.SortOrder epgId?: Prisma.SortOrder } export type tele_packSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean product_id?: boolean channels?: boolean actif?: boolean ccsa_packageID?: boolean ccsa_desc?: boolean rapport_bell?: boolean bell_name?: boolean epgId?: boolean }, ExtArgs["result"]["tele_pack"]> export type tele_packSelectScalar = { id?: boolean product_id?: boolean channels?: boolean actif?: boolean ccsa_packageID?: boolean ccsa_desc?: boolean rapport_bell?: boolean bell_name?: boolean epgId?: boolean } export type tele_packOmit = runtime.Types.Extensions.GetOmit<"id" | "product_id" | "channels" | "actif" | "ccsa_packageID" | "ccsa_desc" | "rapport_bell" | "bell_name" | "epgId", ExtArgs["result"]["tele_pack"]> export type $tele_packPayload = { name: "tele_pack" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number product_id: number channels: string actif: boolean ccsa_packageID: number ccsa_desc: string rapport_bell: number bell_name: string | null epgId: number | null }, ExtArgs["result"]["tele_pack"]> composites: {} } export type tele_packGetPayload = runtime.Types.Result.GetResult export type tele_packCountArgs = Omit & { select?: Tele_packCountAggregateInputType | true } export interface tele_packDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['tele_pack'], meta: { name: 'tele_pack' } } /** * Find zero or one Tele_pack that matches the filter. * @param {tele_packFindUniqueArgs} args - Arguments to find a Tele_pack * @example * // Get one Tele_pack * const tele_pack = await prisma.tele_pack.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tele_pack that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {tele_packFindUniqueOrThrowArgs} args - Arguments to find a Tele_pack * @example * // Get one Tele_pack * const tele_pack = await prisma.tele_pack.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tele_pack 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_packFindFirstArgs} args - Arguments to find a Tele_pack * @example * // Get one Tele_pack * const tele_pack = await prisma.tele_pack.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tele_pack 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_packFindFirstOrThrowArgs} args - Arguments to find a Tele_pack * @example * // Get one Tele_pack * const tele_pack = await prisma.tele_pack.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Tele_packs 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_packFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tele_packs * const tele_packs = await prisma.tele_pack.findMany() * * // Get first 10 Tele_packs * const tele_packs = await prisma.tele_pack.findMany({ take: 10 }) * * // Only select the `id` * const tele_packWithIdOnly = await prisma.tele_pack.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Tele_pack. * @param {tele_packCreateArgs} args - Arguments to create a Tele_pack. * @example * // Create one Tele_pack * const Tele_pack = await prisma.tele_pack.create({ * data: { * // ... data to create a Tele_pack * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Tele_packs. * @param {tele_packCreateManyArgs} args - Arguments to create many Tele_packs. * @example * // Create many Tele_packs * const tele_pack = await prisma.tele_pack.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Tele_pack. * @param {tele_packDeleteArgs} args - Arguments to delete one Tele_pack. * @example * // Delete one Tele_pack * const Tele_pack = await prisma.tele_pack.delete({ * where: { * // ... filter to delete one Tele_pack * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tele_pack. * @param {tele_packUpdateArgs} args - Arguments to update one Tele_pack. * @example * // Update one Tele_pack * const tele_pack = await prisma.tele_pack.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Tele_packs. * @param {tele_packDeleteManyArgs} args - Arguments to filter Tele_packs to delete. * @example * // Delete a few Tele_packs * const { count } = await prisma.tele_pack.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tele_packs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tele_packUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tele_packs * const tele_pack = await prisma.tele_pack.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Tele_pack. * @param {tele_packUpsertArgs} args - Arguments to update or create a Tele_pack. * @example * // Update or create a Tele_pack * const tele_pack = await prisma.tele_pack.upsert({ * create: { * // ... data to create a Tele_pack * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tele_pack we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__tele_packClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Tele_packs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tele_packCountArgs} args - Arguments to filter Tele_packs to count. * @example * // Count the number of Tele_packs * const count = await prisma.tele_pack.count({ * where: { * // ... the filter for the Tele_packs we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Tele_pack. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Tele_packAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Tele_pack. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tele_packGroupByArgs} 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_packGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: tele_packGroupByArgs['orderBy'] } : { orderBy?: tele_packGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetTele_packGroupByPayload : Prisma.PrismaPromise /** * Fields of the tele_pack model */ readonly fields: tele_packFieldRefs; } /** * The delegate class that acts as a "Promise-like" for tele_pack. * 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_packClient extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the tele_pack model */ export interface tele_packFieldRefs { readonly id: Prisma.FieldRef<"tele_pack", 'Int'> readonly product_id: Prisma.FieldRef<"tele_pack", 'Int'> readonly channels: Prisma.FieldRef<"tele_pack", 'String'> readonly actif: Prisma.FieldRef<"tele_pack", 'Boolean'> readonly ccsa_packageID: Prisma.FieldRef<"tele_pack", 'Int'> readonly ccsa_desc: Prisma.FieldRef<"tele_pack", 'String'> readonly rapport_bell: Prisma.FieldRef<"tele_pack", 'Int'> readonly bell_name: Prisma.FieldRef<"tele_pack", 'String'> readonly epgId: Prisma.FieldRef<"tele_pack", 'Int'> } // Custom InputTypes /** * tele_pack findUnique */ export type tele_packFindUniqueArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter, which tele_pack to fetch. */ where: Prisma.tele_packWhereUniqueInput } /** * tele_pack findUniqueOrThrow */ export type tele_packFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter, which tele_pack to fetch. */ where: Prisma.tele_packWhereUniqueInput } /** * tele_pack findFirst */ export type tele_packFindFirstArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter, which tele_pack to fetch. */ where?: Prisma.tele_packWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tele_packs to fetch. */ orderBy?: Prisma.tele_packOrderByWithRelationInput | Prisma.tele_packOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tele_packs. */ cursor?: Prisma.tele_packWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tele_packs 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_packs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tele_packs. */ distinct?: Prisma.Tele_packScalarFieldEnum | Prisma.Tele_packScalarFieldEnum[] } /** * tele_pack findFirstOrThrow */ export type tele_packFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter, which tele_pack to fetch. */ where?: Prisma.tele_packWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tele_packs to fetch. */ orderBy?: Prisma.tele_packOrderByWithRelationInput | Prisma.tele_packOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tele_packs. */ cursor?: Prisma.tele_packWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tele_packs 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_packs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tele_packs. */ distinct?: Prisma.Tele_packScalarFieldEnum | Prisma.Tele_packScalarFieldEnum[] } /** * tele_pack findMany */ export type tele_packFindManyArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter, which tele_packs to fetch. */ where?: Prisma.tele_packWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tele_packs to fetch. */ orderBy?: Prisma.tele_packOrderByWithRelationInput | Prisma.tele_packOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing tele_packs. */ cursor?: Prisma.tele_packWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tele_packs 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_packs. */ skip?: number distinct?: Prisma.Tele_packScalarFieldEnum | Prisma.Tele_packScalarFieldEnum[] } /** * tele_pack create */ export type tele_packCreateArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * The data needed to create a tele_pack. */ data: Prisma.XOR } /** * tele_pack createMany */ export type tele_packCreateManyArgs = { /** * The data used to create many tele_packs. */ data: Prisma.tele_packCreateManyInput | Prisma.tele_packCreateManyInput[] skipDuplicates?: boolean } /** * tele_pack update */ export type tele_packUpdateArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * The data needed to update a tele_pack. */ data: Prisma.XOR /** * Choose, which tele_pack to update. */ where: Prisma.tele_packWhereUniqueInput } /** * tele_pack updateMany */ export type tele_packUpdateManyArgs = { /** * The data used to update tele_packs. */ data: Prisma.XOR /** * Filter which tele_packs to update */ where?: Prisma.tele_packWhereInput /** * Limit how many tele_packs to update. */ limit?: number } /** * tele_pack upsert */ export type tele_packUpsertArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * The filter to search for the tele_pack to update in case it exists. */ where: Prisma.tele_packWhereUniqueInput /** * In case the tele_pack found by the `where` argument doesn't exist, create a new tele_pack with this data. */ create: Prisma.XOR /** * In case the tele_pack was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * tele_pack delete */ export type tele_packDeleteArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null /** * Filter which tele_pack to delete. */ where: Prisma.tele_packWhereUniqueInput } /** * tele_pack deleteMany */ export type tele_packDeleteManyArgs = { /** * Filter which tele_packs to delete */ where?: Prisma.tele_packWhereInput /** * Limit how many tele_packs to delete. */ limit?: number } /** * tele_pack without action */ export type tele_packDefaultArgs = { /** * Select specific fields to fetch from the tele_pack */ select?: Prisma.tele_packSelect | null /** * Omit specific fields from the tele_pack */ omit?: Prisma.tele_packOmit | null }