/* !!! 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_feed` 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_feed * */ export type intranet_feedModel = runtime.Types.Result.DefaultSelection export type AggregateIntranet_feed = { _count: Intranet_feedCountAggregateOutputType | null _avg: Intranet_feedAvgAggregateOutputType | null _sum: Intranet_feedSumAggregateOutputType | null _min: Intranet_feedMinAggregateOutputType | null _max: Intranet_feedMaxAggregateOutputType | null } export type Intranet_feedAvgAggregateOutputType = { id: number | null account_id: number | null date: number | null } export type Intranet_feedSumAggregateOutputType = { id: bigint | null account_id: bigint | null date: bigint | null } export type Intranet_feedMinAggregateOutputType = { 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_feedMaxAggregateOutputType = { 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_feedCountAggregateOutputType = { id: number account_id: number date: number title: number msg: number attachment: number unread_csv: number _all: number } export type Intranet_feedAvgAggregateInputType = { id?: true account_id?: true date?: true } export type Intranet_feedSumAggregateInputType = { id?: true account_id?: true date?: true } export type Intranet_feedMinAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true } export type Intranet_feedMaxAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true } export type Intranet_feedCountAggregateInputType = { id?: true account_id?: true date?: true title?: true msg?: true attachment?: true unread_csv?: true _all?: true } export type Intranet_feedAggregateArgs = { /** * Filter which intranet_feed to aggregate. */ where?: Prisma.intranet_feedWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_feeds to fetch. */ orderBy?: Prisma.intranet_feedOrderByWithRelationInput | Prisma.intranet_feedOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.intranet_feedWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_feeds 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_feeds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned intranet_feeds **/ _count?: true | Intranet_feedCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Intranet_feedAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Intranet_feedSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Intranet_feedMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Intranet_feedMaxAggregateInputType } export type GetIntranet_feedAggregateType = { [P in keyof T & keyof AggregateIntranet_feed]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type intranet_feedGroupByArgs = { where?: Prisma.intranet_feedWhereInput orderBy?: Prisma.intranet_feedOrderByWithAggregationInput | Prisma.intranet_feedOrderByWithAggregationInput[] by: Prisma.Intranet_feedScalarFieldEnum[] | Prisma.Intranet_feedScalarFieldEnum having?: Prisma.intranet_feedScalarWhereWithAggregatesInput take?: number skip?: number _count?: Intranet_feedCountAggregateInputType | true _avg?: Intranet_feedAvgAggregateInputType _sum?: Intranet_feedSumAggregateInputType _min?: Intranet_feedMinAggregateInputType _max?: Intranet_feedMaxAggregateInputType } export type Intranet_feedGroupByOutputType = { id: bigint account_id: bigint date: bigint title: string msg: string attachment: string unread_csv: string _count: Intranet_feedCountAggregateOutputType | null _avg: Intranet_feedAvgAggregateOutputType | null _sum: Intranet_feedSumAggregateOutputType | null _min: Intranet_feedMinAggregateOutputType | null _max: Intranet_feedMaxAggregateOutputType | null } type GetIntranet_feedGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Intranet_feedGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type intranet_feedWhereInput = { AND?: Prisma.intranet_feedWhereInput | Prisma.intranet_feedWhereInput[] OR?: Prisma.intranet_feedWhereInput[] NOT?: Prisma.intranet_feedWhereInput | Prisma.intranet_feedWhereInput[] id?: Prisma.BigIntFilter<"intranet_feed"> | bigint | number account_id?: Prisma.BigIntFilter<"intranet_feed"> | bigint | number date?: Prisma.BigIntFilter<"intranet_feed"> | bigint | number title?: Prisma.StringFilter<"intranet_feed"> | string msg?: Prisma.StringFilter<"intranet_feed"> | string attachment?: Prisma.StringFilter<"intranet_feed"> | string unread_csv?: Prisma.StringFilter<"intranet_feed"> | string } export type intranet_feedOrderByWithRelationInput = { 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_feedOrderByRelevanceInput } export type intranet_feedWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.intranet_feedWhereInput | Prisma.intranet_feedWhereInput[] OR?: Prisma.intranet_feedWhereInput[] NOT?: Prisma.intranet_feedWhereInput | Prisma.intranet_feedWhereInput[] account_id?: Prisma.BigIntFilter<"intranet_feed"> | bigint | number date?: Prisma.BigIntFilter<"intranet_feed"> | bigint | number title?: Prisma.StringFilter<"intranet_feed"> | string msg?: Prisma.StringFilter<"intranet_feed"> | string attachment?: Prisma.StringFilter<"intranet_feed"> | string unread_csv?: Prisma.StringFilter<"intranet_feed"> | string }, "id"> export type intranet_feedOrderByWithAggregationInput = { 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_feedCountOrderByAggregateInput _avg?: Prisma.intranet_feedAvgOrderByAggregateInput _max?: Prisma.intranet_feedMaxOrderByAggregateInput _min?: Prisma.intranet_feedMinOrderByAggregateInput _sum?: Prisma.intranet_feedSumOrderByAggregateInput } export type intranet_feedScalarWhereWithAggregatesInput = { AND?: Prisma.intranet_feedScalarWhereWithAggregatesInput | Prisma.intranet_feedScalarWhereWithAggregatesInput[] OR?: Prisma.intranet_feedScalarWhereWithAggregatesInput[] NOT?: Prisma.intranet_feedScalarWhereWithAggregatesInput | Prisma.intranet_feedScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"intranet_feed"> | bigint | number account_id?: Prisma.BigIntWithAggregatesFilter<"intranet_feed"> | bigint | number date?: Prisma.BigIntWithAggregatesFilter<"intranet_feed"> | bigint | number title?: Prisma.StringWithAggregatesFilter<"intranet_feed"> | string msg?: Prisma.StringWithAggregatesFilter<"intranet_feed"> | string attachment?: Prisma.StringWithAggregatesFilter<"intranet_feed"> | string unread_csv?: Prisma.StringWithAggregatesFilter<"intranet_feed"> | string } export type intranet_feedCreateInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_feedUncheckedCreateInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_feedUpdateInput = { 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_feedUncheckedUpdateInput = { 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_feedCreateManyInput = { id?: bigint | number account_id: bigint | number date: bigint | number title: string msg: string attachment: string unread_csv: string } export type intranet_feedUpdateManyMutationInput = { 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_feedUncheckedUpdateManyInput = { 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_feedOrderByRelevanceInput = { fields: Prisma.intranet_feedOrderByRelevanceFieldEnum | Prisma.intranet_feedOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type intranet_feedCountOrderByAggregateInput = { 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_feedAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder } export type intranet_feedMaxOrderByAggregateInput = { 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_feedMinOrderByAggregateInput = { 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_feedSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder } export type intranet_feedSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean date?: boolean title?: boolean msg?: boolean attachment?: boolean unread_csv?: boolean }, ExtArgs["result"]["intranet_feed"]> export type intranet_feedSelectScalar = { id?: boolean account_id?: boolean date?: boolean title?: boolean msg?: boolean attachment?: boolean unread_csv?: boolean } export type intranet_feedOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date" | "title" | "msg" | "attachment" | "unread_csv", ExtArgs["result"]["intranet_feed"]> export type $intranet_feedPayload = { name: "intranet_feed" 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_feed"]> composites: {} } export type intranet_feedGetPayload = runtime.Types.Result.GetResult export type intranet_feedCountArgs = Omit & { select?: Intranet_feedCountAggregateInputType | true } export interface intranet_feedDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['intranet_feed'], meta: { name: 'intranet_feed' } } /** * Find zero or one Intranet_feed that matches the filter. * @param {intranet_feedFindUniqueArgs} args - Arguments to find a Intranet_feed * @example * // Get one Intranet_feed * const intranet_feed = await prisma.intranet_feed.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Intranet_feed that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {intranet_feedFindUniqueOrThrowArgs} args - Arguments to find a Intranet_feed * @example * // Get one Intranet_feed * const intranet_feed = await prisma.intranet_feed.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_feed 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_feedFindFirstArgs} args - Arguments to find a Intranet_feed * @example * // Get one Intranet_feed * const intranet_feed = await prisma.intranet_feed.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_feed 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_feedFindFirstOrThrowArgs} args - Arguments to find a Intranet_feed * @example * // Get one Intranet_feed * const intranet_feed = await prisma.intranet_feed.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Intranet_feeds 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_feedFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Intranet_feeds * const intranet_feeds = await prisma.intranet_feed.findMany() * * // Get first 10 Intranet_feeds * const intranet_feeds = await prisma.intranet_feed.findMany({ take: 10 }) * * // Only select the `id` * const intranet_feedWithIdOnly = await prisma.intranet_feed.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Intranet_feed. * @param {intranet_feedCreateArgs} args - Arguments to create a Intranet_feed. * @example * // Create one Intranet_feed * const Intranet_feed = await prisma.intranet_feed.create({ * data: { * // ... data to create a Intranet_feed * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Intranet_feeds. * @param {intranet_feedCreateManyArgs} args - Arguments to create many Intranet_feeds. * @example * // Create many Intranet_feeds * const intranet_feed = await prisma.intranet_feed.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Intranet_feed. * @param {intranet_feedDeleteArgs} args - Arguments to delete one Intranet_feed. * @example * // Delete one Intranet_feed * const Intranet_feed = await prisma.intranet_feed.delete({ * where: { * // ... filter to delete one Intranet_feed * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Intranet_feed. * @param {intranet_feedUpdateArgs} args - Arguments to update one Intranet_feed. * @example * // Update one Intranet_feed * const intranet_feed = await prisma.intranet_feed.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Intranet_feeds. * @param {intranet_feedDeleteManyArgs} args - Arguments to filter Intranet_feeds to delete. * @example * // Delete a few Intranet_feeds * const { count } = await prisma.intranet_feed.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Intranet_feeds. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_feedUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Intranet_feeds * const intranet_feed = await prisma.intranet_feed.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Intranet_feed. * @param {intranet_feedUpsertArgs} args - Arguments to update or create a Intranet_feed. * @example * // Update or create a Intranet_feed * const intranet_feed = await prisma.intranet_feed.upsert({ * create: { * // ... data to create a Intranet_feed * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Intranet_feed we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_feedClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Intranet_feeds. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_feedCountArgs} args - Arguments to filter Intranet_feeds to count. * @example * // Count the number of Intranet_feeds * const count = await prisma.intranet_feed.count({ * where: { * // ... the filter for the Intranet_feeds 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_feed. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Intranet_feedAggregateArgs} 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_feed. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_feedGroupByArgs} 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_feedGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: intranet_feedGroupByArgs['orderBy'] } : { orderBy?: intranet_feedGroupByArgs['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_feedGroupByPayload : Prisma.PrismaPromise /** * Fields of the intranet_feed model */ readonly fields: intranet_feedFieldRefs; } /** * The delegate class that acts as a "Promise-like" for intranet_feed. * 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_feedClient 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_feed model */ export interface intranet_feedFieldRefs { readonly id: Prisma.FieldRef<"intranet_feed", 'BigInt'> readonly account_id: Prisma.FieldRef<"intranet_feed", 'BigInt'> readonly date: Prisma.FieldRef<"intranet_feed", 'BigInt'> readonly title: Prisma.FieldRef<"intranet_feed", 'String'> readonly msg: Prisma.FieldRef<"intranet_feed", 'String'> readonly attachment: Prisma.FieldRef<"intranet_feed", 'String'> readonly unread_csv: Prisma.FieldRef<"intranet_feed", 'String'> } // Custom InputTypes /** * intranet_feed findUnique */ export type intranet_feedFindUniqueArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter, which intranet_feed to fetch. */ where: Prisma.intranet_feedWhereUniqueInput } /** * intranet_feed findUniqueOrThrow */ export type intranet_feedFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter, which intranet_feed to fetch. */ where: Prisma.intranet_feedWhereUniqueInput } /** * intranet_feed findFirst */ export type intranet_feedFindFirstArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter, which intranet_feed to fetch. */ where?: Prisma.intranet_feedWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_feeds to fetch. */ orderBy?: Prisma.intranet_feedOrderByWithRelationInput | Prisma.intranet_feedOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_feeds. */ cursor?: Prisma.intranet_feedWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_feeds 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_feeds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_feeds. */ distinct?: Prisma.Intranet_feedScalarFieldEnum | Prisma.Intranet_feedScalarFieldEnum[] } /** * intranet_feed findFirstOrThrow */ export type intranet_feedFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter, which intranet_feed to fetch. */ where?: Prisma.intranet_feedWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_feeds to fetch. */ orderBy?: Prisma.intranet_feedOrderByWithRelationInput | Prisma.intranet_feedOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_feeds. */ cursor?: Prisma.intranet_feedWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_feeds 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_feeds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_feeds. */ distinct?: Prisma.Intranet_feedScalarFieldEnum | Prisma.Intranet_feedScalarFieldEnum[] } /** * intranet_feed findMany */ export type intranet_feedFindManyArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter, which intranet_feeds to fetch. */ where?: Prisma.intranet_feedWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_feeds to fetch. */ orderBy?: Prisma.intranet_feedOrderByWithRelationInput | Prisma.intranet_feedOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing intranet_feeds. */ cursor?: Prisma.intranet_feedWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_feeds 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_feeds. */ skip?: number distinct?: Prisma.Intranet_feedScalarFieldEnum | Prisma.Intranet_feedScalarFieldEnum[] } /** * intranet_feed create */ export type intranet_feedCreateArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * The data needed to create a intranet_feed. */ data: Prisma.XOR } /** * intranet_feed createMany */ export type intranet_feedCreateManyArgs = { /** * The data used to create many intranet_feeds. */ data: Prisma.intranet_feedCreateManyInput | Prisma.intranet_feedCreateManyInput[] skipDuplicates?: boolean } /** * intranet_feed update */ export type intranet_feedUpdateArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * The data needed to update a intranet_feed. */ data: Prisma.XOR /** * Choose, which intranet_feed to update. */ where: Prisma.intranet_feedWhereUniqueInput } /** * intranet_feed updateMany */ export type intranet_feedUpdateManyArgs = { /** * The data used to update intranet_feeds. */ data: Prisma.XOR /** * Filter which intranet_feeds to update */ where?: Prisma.intranet_feedWhereInput /** * Limit how many intranet_feeds to update. */ limit?: number } /** * intranet_feed upsert */ export type intranet_feedUpsertArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * The filter to search for the intranet_feed to update in case it exists. */ where: Prisma.intranet_feedWhereUniqueInput /** * In case the intranet_feed found by the `where` argument doesn't exist, create a new intranet_feed with this data. */ create: Prisma.XOR /** * In case the intranet_feed was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * intranet_feed delete */ export type intranet_feedDeleteArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null /** * Filter which intranet_feed to delete. */ where: Prisma.intranet_feedWhereUniqueInput } /** * intranet_feed deleteMany */ export type intranet_feedDeleteManyArgs = { /** * Filter which intranet_feeds to delete */ where?: Prisma.intranet_feedWhereInput /** * Limit how many intranet_feeds to delete. */ limit?: number } /** * intranet_feed without action */ export type intranet_feedDefaultArgs = { /** * Select specific fields to fetch from the intranet_feed */ select?: Prisma.intranet_feedSelect | null /** * Omit specific fields from the intranet_feed */ omit?: Prisma.intranet_feedOmit | null }