/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `intranet_techniciens` 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 intranet_techniciens * */ export type intranet_techniciensModel = runtime.Types.Result.DefaultSelection export type AggregateIntranet_techniciens = { _count: Intranet_techniciensCountAggregateOutputType | null _avg: Intranet_techniciensAvgAggregateOutputType | null _sum: Intranet_techniciensSumAggregateOutputType | null _min: Intranet_techniciensMinAggregateOutputType | null _max: Intranet_techniciensMaxAggregateOutputType | null } export type Intranet_techniciensAvgAggregateOutputType = { id: number | null account_id: number | null date: number | null } export type Intranet_techniciensSumAggregateOutputType = { id: bigint | null account_id: bigint | null date: bigint | null } export type Intranet_techniciensMinAggregateOutputType = { id: bigint | null account_id: bigint | null date: bigint | null title: string | null msg: string | null attachment: string | null unread_csv: string | null } export type Intranet_techniciensMaxAggregateOutputType = { id: bigint | null account_id: bigint | null date: bigint | null title: string | null msg: string | null attachment: string | null unread_csv: string | null } export type Intranet_techniciensCountAggregateOutputType = { id: number account_id: number date: number title: number msg: number attachment: number unread_csv: number _all: number } export type Intranet_techniciensAvgAggregateInputType = { id?: true account_id?: true date?: true } export type Intranet_techniciensSumAggregateInputType = { id?: true account_id?: true date?: true } export type Intranet_techniciensMinAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true } export type Intranet_techniciensMaxAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true } export type Intranet_techniciensCountAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true _all?: true } export type Intranet_techniciensAggregateArgs = { /** * Filter which intranet_techniciens to aggregate. */ where?: Prisma.intranet_techniciensWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_techniciens to fetch. */ orderBy?: Prisma.intranet_techniciensOrderByWithRelationInput | Prisma.intranet_techniciensOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.intranet_techniciensWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_techniciens 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` intranet_techniciens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned intranet_techniciens **/ _count?: true | Intranet_techniciensCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Intranet_techniciensAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Intranet_techniciensSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Intranet_techniciensMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Intranet_techniciensMaxAggregateInputType } export type GetIntranet_techniciensAggregateType = { [P in keyof T & keyof AggregateIntranet_techniciens]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type intranet_techniciensGroupByArgs = { where?: Prisma.intranet_techniciensWhereInput orderBy?: Prisma.intranet_techniciensOrderByWithAggregationInput | Prisma.intranet_techniciensOrderByWithAggregationInput[] by: Prisma.Intranet_techniciensScalarFieldEnum[] | Prisma.Intranet_techniciensScalarFieldEnum having?: Prisma.intranet_techniciensScalarWhereWithAggregatesInput take?: number skip?: number _count?: Intranet_techniciensCountAggregateInputType | true _avg?: Intranet_techniciensAvgAggregateInputType _sum?: Intranet_techniciensSumAggregateInputType _min?: Intranet_techniciensMinAggregateInputType _max?: Intranet_techniciensMaxAggregateInputType } export type Intranet_techniciensGroupByOutputType = { id: bigint account_id: bigint date: bigint title: string msg: string attachment: string unread_csv: string _count: Intranet_techniciensCountAggregateOutputType | null _avg: Intranet_techniciensAvgAggregateOutputType | null _sum: Intranet_techniciensSumAggregateOutputType | null _min: Intranet_techniciensMinAggregateOutputType | null _max: Intranet_techniciensMaxAggregateOutputType | null } type GetIntranet_techniciensGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Intranet_techniciensGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type intranet_techniciensWhereInput = { AND?: Prisma.intranet_techniciensWhereInput | Prisma.intranet_techniciensWhereInput[] OR?: Prisma.intranet_techniciensWhereInput[] NOT?: Prisma.intranet_techniciensWhereInput | Prisma.intranet_techniciensWhereInput[] id?: Prisma.BigIntFilter<"intranet_techniciens"> | bigint | number account_id?: Prisma.BigIntFilter<"intranet_techniciens"> | bigint | number date?: Prisma.BigIntFilter<"intranet_techniciens"> | bigint | number title?: Prisma.StringFilter<"intranet_techniciens"> | string msg?: Prisma.StringFilter<"intranet_techniciens"> | string attachment?: Prisma.StringFilter<"intranet_techniciens"> | string unread_csv?: Prisma.StringFilter<"intranet_techniciens"> | string } export type intranet_techniciensOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder title?: Prisma.SortOrder msg?: Prisma.SortOrder attachment?: Prisma.SortOrder unread_csv?: Prisma.SortOrder _relevance?: Prisma.intranet_techniciensOrderByRelevanceInput } export type intranet_techniciensWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.intranet_techniciensWhereInput | Prisma.intranet_techniciensWhereInput[] OR?: Prisma.intranet_techniciensWhereInput[] NOT?: Prisma.intranet_techniciensWhereInput | Prisma.intranet_techniciensWhereInput[] account_id?: Prisma.BigIntFilter<"intranet_techniciens"> | bigint | number date?: Prisma.BigIntFilter<"intranet_techniciens"> | bigint | number title?: Prisma.StringFilter<"intranet_techniciens"> | string msg?: Prisma.StringFilter<"intranet_techniciens"> | string attachment?: Prisma.StringFilter<"intranet_techniciens"> | string unread_csv?: Prisma.StringFilter<"intranet_techniciens"> | string }, "id"> export type intranet_techniciensOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder title?: Prisma.SortOrder msg?: Prisma.SortOrder attachment?: Prisma.SortOrder unread_csv?: Prisma.SortOrder _count?: Prisma.intranet_techniciensCountOrderByAggregateInput _avg?: Prisma.intranet_techniciensAvgOrderByAggregateInput _max?: Prisma.intranet_techniciensMaxOrderByAggregateInput _min?: Prisma.intranet_techniciensMinOrderByAggregateInput _sum?: Prisma.intranet_techniciensSumOrderByAggregateInput } export type intranet_techniciensScalarWhereWithAggregatesInput = { AND?: Prisma.intranet_techniciensScalarWhereWithAggregatesInput | Prisma.intranet_techniciensScalarWhereWithAggregatesInput[] OR?: Prisma.intranet_techniciensScalarWhereWithAggregatesInput[] NOT?: Prisma.intranet_techniciensScalarWhereWithAggregatesInput | Prisma.intranet_techniciensScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"intranet_techniciens"> | bigint | number account_id?: Prisma.BigIntWithAggregatesFilter<"intranet_techniciens"> | bigint | number date?: Prisma.BigIntWithAggregatesFilter<"intranet_techniciens"> | bigint | number title?: Prisma.StringWithAggregatesFilter<"intranet_techniciens"> | string msg?: Prisma.StringWithAggregatesFilter<"intranet_techniciens"> | string attachment?: Prisma.StringWithAggregatesFilter<"intranet_techniciens"> | string unread_csv?: Prisma.StringWithAggregatesFilter<"intranet_techniciens"> | string } export type intranet_techniciensCreateInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_techniciensUncheckedCreateInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_techniciensUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number title?: Prisma.StringFieldUpdateOperationsInput | string msg?: Prisma.StringFieldUpdateOperationsInput | string attachment?: Prisma.StringFieldUpdateOperationsInput | string unread_csv?: Prisma.StringFieldUpdateOperationsInput | string } export type intranet_techniciensUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number title?: Prisma.StringFieldUpdateOperationsInput | string msg?: Prisma.StringFieldUpdateOperationsInput | string attachment?: Prisma.StringFieldUpdateOperationsInput | string unread_csv?: Prisma.StringFieldUpdateOperationsInput | string } export type intranet_techniciensCreateManyInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_techniciensUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number title?: Prisma.StringFieldUpdateOperationsInput | string msg?: Prisma.StringFieldUpdateOperationsInput | string attachment?: Prisma.StringFieldUpdateOperationsInput | string unread_csv?: Prisma.StringFieldUpdateOperationsInput | string } export type intranet_techniciensUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number title?: Prisma.StringFieldUpdateOperationsInput | string msg?: Prisma.StringFieldUpdateOperationsInput | string attachment?: Prisma.StringFieldUpdateOperationsInput | string unread_csv?: Prisma.StringFieldUpdateOperationsInput | string } export type intranet_techniciensOrderByRelevanceInput = { fields: Prisma.intranet_techniciensOrderByRelevanceFieldEnum | Prisma.intranet_techniciensOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type intranet_techniciensCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder title?: Prisma.SortOrder msg?: Prisma.SortOrder attachment?: Prisma.SortOrder unread_csv?: Prisma.SortOrder } export type intranet_techniciensAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder } export type intranet_techniciensMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder title?: Prisma.SortOrder msg?: Prisma.SortOrder attachment?: Prisma.SortOrder unread_csv?: Prisma.SortOrder } export type intranet_techniciensMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder title?: Prisma.SortOrder msg?: Prisma.SortOrder attachment?: Prisma.SortOrder unread_csv?: Prisma.SortOrder } export type intranet_techniciensSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder } export type intranet_techniciensSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean date?: boolean title?: boolean msg?: boolean attachment?: boolean unread_csv?: boolean }, ExtArgs["result"]["intranet_techniciens"]> export type intranet_techniciensSelectScalar = { id?: boolean account_id?: boolean date?: boolean title?: boolean msg?: boolean attachment?: boolean unread_csv?: boolean } export type intranet_techniciensOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date" | "title" | "msg" | "attachment" | "unread_csv", ExtArgs["result"]["intranet_techniciens"]> export type $intranet_techniciensPayload = { name: "intranet_techniciens" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint account_id: bigint date: bigint title: string msg: string attachment: string unread_csv: string }, ExtArgs["result"]["intranet_techniciens"]> composites: {} } export type intranet_techniciensGetPayload = runtime.Types.Result.GetResult export type intranet_techniciensCountArgs = Omit & { select?: Intranet_techniciensCountAggregateInputType | true } export interface intranet_techniciensDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['intranet_techniciens'], meta: { name: 'intranet_techniciens' } } /** * Find zero or one Intranet_techniciens that matches the filter. * @param {intranet_techniciensFindUniqueArgs} args - Arguments to find a Intranet_techniciens * @example * // Get one Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Intranet_techniciens that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {intranet_techniciensFindUniqueOrThrowArgs} args - Arguments to find a Intranet_techniciens * @example * // Get one Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_techniciens 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 {intranet_techniciensFindFirstArgs} args - Arguments to find a Intranet_techniciens * @example * // Get one Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_techniciens 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 {intranet_techniciensFindFirstOrThrowArgs} args - Arguments to find a Intranet_techniciens * @example * // Get one Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Intranet_techniciens 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 {intranet_techniciensFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findMany() * * // Get first 10 Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.findMany({ take: 10 }) * * // Only select the `id` * const intranet_techniciensWithIdOnly = await prisma.intranet_techniciens.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Intranet_techniciens. * @param {intranet_techniciensCreateArgs} args - Arguments to create a Intranet_techniciens. * @example * // Create one Intranet_techniciens * const Intranet_techniciens = await prisma.intranet_techniciens.create({ * data: { * // ... data to create a Intranet_techniciens * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Intranet_techniciens. * @param {intranet_techniciensCreateManyArgs} args - Arguments to create many Intranet_techniciens. * @example * // Create many Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Intranet_techniciens. * @param {intranet_techniciensDeleteArgs} args - Arguments to delete one Intranet_techniciens. * @example * // Delete one Intranet_techniciens * const Intranet_techniciens = await prisma.intranet_techniciens.delete({ * where: { * // ... filter to delete one Intranet_techniciens * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Intranet_techniciens. * @param {intranet_techniciensUpdateArgs} args - Arguments to update one Intranet_techniciens. * @example * // Update one Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Intranet_techniciens. * @param {intranet_techniciensDeleteManyArgs} args - Arguments to filter Intranet_techniciens to delete. * @example * // Delete a few Intranet_techniciens * const { count } = await prisma.intranet_techniciens.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Intranet_techniciens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_techniciensUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Intranet_techniciens. * @param {intranet_techniciensUpsertArgs} args - Arguments to update or create a Intranet_techniciens. * @example * // Update or create a Intranet_techniciens * const intranet_techniciens = await prisma.intranet_techniciens.upsert({ * create: { * // ... data to create a Intranet_techniciens * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Intranet_techniciens we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_techniciensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Intranet_techniciens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_techniciensCountArgs} args - Arguments to filter Intranet_techniciens to count. * @example * // Count the number of Intranet_techniciens * const count = await prisma.intranet_techniciens.count({ * where: { * // ... the filter for the Intranet_techniciens 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 Intranet_techniciens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Intranet_techniciensAggregateArgs} 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 Intranet_techniciens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_techniciensGroupByArgs} 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 intranet_techniciensGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: intranet_techniciensGroupByArgs['orderBy'] } : { orderBy?: intranet_techniciensGroupByArgs['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 ? GetIntranet_techniciensGroupByPayload : Prisma.PrismaPromise /** * Fields of the intranet_techniciens model */ readonly fields: intranet_techniciensFieldRefs; } /** * The delegate class that acts as a "Promise-like" for intranet_techniciens. * 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__intranet_techniciensClient 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 intranet_techniciens model */ export interface intranet_techniciensFieldRefs { readonly id: Prisma.FieldRef<"intranet_techniciens", 'BigInt'> readonly account_id: Prisma.FieldRef<"intranet_techniciens", 'BigInt'> readonly date: Prisma.FieldRef<"intranet_techniciens", 'BigInt'> readonly title: Prisma.FieldRef<"intranet_techniciens", 'String'> readonly msg: Prisma.FieldRef<"intranet_techniciens", 'String'> readonly attachment: Prisma.FieldRef<"intranet_techniciens", 'String'> readonly unread_csv: Prisma.FieldRef<"intranet_techniciens", 'String'> } // Custom InputTypes /** * intranet_techniciens findUnique */ export type intranet_techniciensFindUniqueArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter, which intranet_techniciens to fetch. */ where: Prisma.intranet_techniciensWhereUniqueInput } /** * intranet_techniciens findUniqueOrThrow */ export type intranet_techniciensFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter, which intranet_techniciens to fetch. */ where: Prisma.intranet_techniciensWhereUniqueInput } /** * intranet_techniciens findFirst */ export type intranet_techniciensFindFirstArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter, which intranet_techniciens to fetch. */ where?: Prisma.intranet_techniciensWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_techniciens to fetch. */ orderBy?: Prisma.intranet_techniciensOrderByWithRelationInput | Prisma.intranet_techniciensOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_techniciens. */ cursor?: Prisma.intranet_techniciensWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_techniciens 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` intranet_techniciens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_techniciens. */ distinct?: Prisma.Intranet_techniciensScalarFieldEnum | Prisma.Intranet_techniciensScalarFieldEnum[] } /** * intranet_techniciens findFirstOrThrow */ export type intranet_techniciensFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter, which intranet_techniciens to fetch. */ where?: Prisma.intranet_techniciensWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_techniciens to fetch. */ orderBy?: Prisma.intranet_techniciensOrderByWithRelationInput | Prisma.intranet_techniciensOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_techniciens. */ cursor?: Prisma.intranet_techniciensWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_techniciens 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` intranet_techniciens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_techniciens. */ distinct?: Prisma.Intranet_techniciensScalarFieldEnum | Prisma.Intranet_techniciensScalarFieldEnum[] } /** * intranet_techniciens findMany */ export type intranet_techniciensFindManyArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter, which intranet_techniciens to fetch. */ where?: Prisma.intranet_techniciensWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_techniciens to fetch. */ orderBy?: Prisma.intranet_techniciensOrderByWithRelationInput | Prisma.intranet_techniciensOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing intranet_techniciens. */ cursor?: Prisma.intranet_techniciensWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_techniciens 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` intranet_techniciens. */ skip?: number distinct?: Prisma.Intranet_techniciensScalarFieldEnum | Prisma.Intranet_techniciensScalarFieldEnum[] } /** * intranet_techniciens create */ export type intranet_techniciensCreateArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * The data needed to create a intranet_techniciens. */ data: Prisma.XOR } /** * intranet_techniciens createMany */ export type intranet_techniciensCreateManyArgs = { /** * The data used to create many intranet_techniciens. */ data: Prisma.intranet_techniciensCreateManyInput | Prisma.intranet_techniciensCreateManyInput[] skipDuplicates?: boolean } /** * intranet_techniciens update */ export type intranet_techniciensUpdateArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * The data needed to update a intranet_techniciens. */ data: Prisma.XOR /** * Choose, which intranet_techniciens to update. */ where: Prisma.intranet_techniciensWhereUniqueInput } /** * intranet_techniciens updateMany */ export type intranet_techniciensUpdateManyArgs = { /** * The data used to update intranet_techniciens. */ data: Prisma.XOR /** * Filter which intranet_techniciens to update */ where?: Prisma.intranet_techniciensWhereInput /** * Limit how many intranet_techniciens to update. */ limit?: number } /** * intranet_techniciens upsert */ export type intranet_techniciensUpsertArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * The filter to search for the intranet_techniciens to update in case it exists. */ where: Prisma.intranet_techniciensWhereUniqueInput /** * In case the intranet_techniciens found by the `where` argument doesn't exist, create a new intranet_techniciens with this data. */ create: Prisma.XOR /** * In case the intranet_techniciens was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * intranet_techniciens delete */ export type intranet_techniciensDeleteArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null /** * Filter which intranet_techniciens to delete. */ where: Prisma.intranet_techniciensWhereUniqueInput } /** * intranet_techniciens deleteMany */ export type intranet_techniciensDeleteManyArgs = { /** * Filter which intranet_techniciens to delete */ where?: Prisma.intranet_techniciensWhereInput /** * Limit how many intranet_techniciens to delete. */ limit?: number } /** * intranet_techniciens without action */ export type intranet_techniciensDefaultArgs = { /** * Select specific fields to fetch from the intranet_techniciens */ select?: Prisma.intranet_techniciensSelect | null /** * Omit specific fields from the intranet_techniciens */ omit?: Prisma.intranet_techniciensOmit | null }