/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `notification` 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 notification * */ export type notificationModel = runtime.Types.Result.DefaultSelection export type AggregateNotification = { _count: NotificationCountAggregateOutputType | null _avg: NotificationAvgAggregateOutputType | null _sum: NotificationSumAggregateOutputType | null _min: NotificationMinAggregateOutputType | null _max: NotificationMaxAggregateOutputType | null } export type NotificationAvgAggregateOutputType = { id: number | null staff_id: number | null } export type NotificationSumAggregateOutputType = { id: number | null staff_id: number | null } export type NotificationMinAggregateOutputType = { id: number | null staff_id: number | null endpoint: string | null authToken: string | null publicKey: string | null contentEncoding: string | null plateforme: string | null } export type NotificationMaxAggregateOutputType = { id: number | null staff_id: number | null endpoint: string | null authToken: string | null publicKey: string | null contentEncoding: string | null plateforme: string | null } export type NotificationCountAggregateOutputType = { id: number staff_id: number endpoint: number authToken: number publicKey: number contentEncoding: number plateforme: number _all: number } export type NotificationAvgAggregateInputType = { id?: true staff_id?: true } export type NotificationSumAggregateInputType = { id?: true staff_id?: true } export type NotificationMinAggregateInputType = { id?: true staff_id?: true endpoint?: true authToken?: true publicKey?: true contentEncoding?: true plateforme?: true } export type NotificationMaxAggregateInputType = { id?: true staff_id?: true endpoint?: true authToken?: true publicKey?: true contentEncoding?: true plateforme?: true } export type NotificationCountAggregateInputType = { id?: true staff_id?: true endpoint?: true authToken?: true publicKey?: true contentEncoding?: true plateforme?: true _all?: true } export type NotificationAggregateArgs = { /** * Filter which notification to aggregate. */ where?: Prisma.notificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationOrderByWithRelationInput | Prisma.notificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.notificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` notifications 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` notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned notifications **/ _count?: true | NotificationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: NotificationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: NotificationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: NotificationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: NotificationMaxAggregateInputType } export type GetNotificationAggregateType = { [P in keyof T & keyof AggregateNotification]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type notificationGroupByArgs = { where?: Prisma.notificationWhereInput orderBy?: Prisma.notificationOrderByWithAggregationInput | Prisma.notificationOrderByWithAggregationInput[] by: Prisma.NotificationScalarFieldEnum[] | Prisma.NotificationScalarFieldEnum having?: Prisma.notificationScalarWhereWithAggregatesInput take?: number skip?: number _count?: NotificationCountAggregateInputType | true _avg?: NotificationAvgAggregateInputType _sum?: NotificationSumAggregateInputType _min?: NotificationMinAggregateInputType _max?: NotificationMaxAggregateInputType } export type NotificationGroupByOutputType = { id: number staff_id: number endpoint: string authToken: string publicKey: string contentEncoding: string plateforme: string | null _count: NotificationCountAggregateOutputType | null _avg: NotificationAvgAggregateOutputType | null _sum: NotificationSumAggregateOutputType | null _min: NotificationMinAggregateOutputType | null _max: NotificationMaxAggregateOutputType | null } type GetNotificationGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof NotificationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type notificationWhereInput = { AND?: Prisma.notificationWhereInput | Prisma.notificationWhereInput[] OR?: Prisma.notificationWhereInput[] NOT?: Prisma.notificationWhereInput | Prisma.notificationWhereInput[] id?: Prisma.IntFilter<"notification"> | number staff_id?: Prisma.IntFilter<"notification"> | number endpoint?: Prisma.StringFilter<"notification"> | string authToken?: Prisma.StringFilter<"notification"> | string publicKey?: Prisma.StringFilter<"notification"> | string contentEncoding?: Prisma.StringFilter<"notification"> | string plateforme?: Prisma.StringNullableFilter<"notification"> | string | null } export type notificationOrderByWithRelationInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder endpoint?: Prisma.SortOrder authToken?: Prisma.SortOrder publicKey?: Prisma.SortOrder contentEncoding?: Prisma.SortOrder plateforme?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.notificationOrderByRelevanceInput } export type notificationWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.notificationWhereInput | Prisma.notificationWhereInput[] OR?: Prisma.notificationWhereInput[] NOT?: Prisma.notificationWhereInput | Prisma.notificationWhereInput[] staff_id?: Prisma.IntFilter<"notification"> | number endpoint?: Prisma.StringFilter<"notification"> | string authToken?: Prisma.StringFilter<"notification"> | string publicKey?: Prisma.StringFilter<"notification"> | string contentEncoding?: Prisma.StringFilter<"notification"> | string plateforme?: Prisma.StringNullableFilter<"notification"> | string | null }, "id"> export type notificationOrderByWithAggregationInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder endpoint?: Prisma.SortOrder authToken?: Prisma.SortOrder publicKey?: Prisma.SortOrder contentEncoding?: Prisma.SortOrder plateforme?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.notificationCountOrderByAggregateInput _avg?: Prisma.notificationAvgOrderByAggregateInput _max?: Prisma.notificationMaxOrderByAggregateInput _min?: Prisma.notificationMinOrderByAggregateInput _sum?: Prisma.notificationSumOrderByAggregateInput } export type notificationScalarWhereWithAggregatesInput = { AND?: Prisma.notificationScalarWhereWithAggregatesInput | Prisma.notificationScalarWhereWithAggregatesInput[] OR?: Prisma.notificationScalarWhereWithAggregatesInput[] NOT?: Prisma.notificationScalarWhereWithAggregatesInput | Prisma.notificationScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"notification"> | number staff_id?: Prisma.IntWithAggregatesFilter<"notification"> | number endpoint?: Prisma.StringWithAggregatesFilter<"notification"> | string authToken?: Prisma.StringWithAggregatesFilter<"notification"> | string publicKey?: Prisma.StringWithAggregatesFilter<"notification"> | string contentEncoding?: Prisma.StringWithAggregatesFilter<"notification"> | string plateforme?: Prisma.StringNullableWithAggregatesFilter<"notification"> | string | null } export type notificationCreateInput = { staff_id: number endpoint: string authToken: string publicKey: string contentEncoding?: string plateforme?: string | null } export type notificationUncheckedCreateInput = { id?: number staff_id: number endpoint: string authToken: string publicKey: string contentEncoding?: string plateforme?: string | null } export type notificationUpdateInput = { staff_id?: Prisma.IntFieldUpdateOperationsInput | number endpoint?: Prisma.StringFieldUpdateOperationsInput | string authToken?: Prisma.StringFieldUpdateOperationsInput | string publicKey?: Prisma.StringFieldUpdateOperationsInput | string contentEncoding?: Prisma.StringFieldUpdateOperationsInput | string plateforme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type notificationUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number staff_id?: Prisma.IntFieldUpdateOperationsInput | number endpoint?: Prisma.StringFieldUpdateOperationsInput | string authToken?: Prisma.StringFieldUpdateOperationsInput | string publicKey?: Prisma.StringFieldUpdateOperationsInput | string contentEncoding?: Prisma.StringFieldUpdateOperationsInput | string plateforme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type notificationCreateManyInput = { id?: number staff_id: number endpoint: string authToken: string publicKey: string contentEncoding?: string plateforme?: string | null } export type notificationUpdateManyMutationInput = { staff_id?: Prisma.IntFieldUpdateOperationsInput | number endpoint?: Prisma.StringFieldUpdateOperationsInput | string authToken?: Prisma.StringFieldUpdateOperationsInput | string publicKey?: Prisma.StringFieldUpdateOperationsInput | string contentEncoding?: Prisma.StringFieldUpdateOperationsInput | string plateforme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type notificationUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number staff_id?: Prisma.IntFieldUpdateOperationsInput | number endpoint?: Prisma.StringFieldUpdateOperationsInput | string authToken?: Prisma.StringFieldUpdateOperationsInput | string publicKey?: Prisma.StringFieldUpdateOperationsInput | string contentEncoding?: Prisma.StringFieldUpdateOperationsInput | string plateforme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type notificationOrderByRelevanceInput = { fields: Prisma.notificationOrderByRelevanceFieldEnum | Prisma.notificationOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type notificationCountOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder endpoint?: Prisma.SortOrder authToken?: Prisma.SortOrder publicKey?: Prisma.SortOrder contentEncoding?: Prisma.SortOrder plateforme?: Prisma.SortOrder } export type notificationAvgOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type notificationMaxOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder endpoint?: Prisma.SortOrder authToken?: Prisma.SortOrder publicKey?: Prisma.SortOrder contentEncoding?: Prisma.SortOrder plateforme?: Prisma.SortOrder } export type notificationMinOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder endpoint?: Prisma.SortOrder authToken?: Prisma.SortOrder publicKey?: Prisma.SortOrder contentEncoding?: Prisma.SortOrder plateforme?: Prisma.SortOrder } export type notificationSumOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type notificationSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean staff_id?: boolean endpoint?: boolean authToken?: boolean publicKey?: boolean contentEncoding?: boolean plateforme?: boolean }, ExtArgs["result"]["notification"]> export type notificationSelectScalar = { id?: boolean staff_id?: boolean endpoint?: boolean authToken?: boolean publicKey?: boolean contentEncoding?: boolean plateforme?: boolean } export type notificationOmit = runtime.Types.Extensions.GetOmit<"id" | "staff_id" | "endpoint" | "authToken" | "publicKey" | "contentEncoding" | "plateforme", ExtArgs["result"]["notification"]> export type $notificationPayload = { name: "notification" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number staff_id: number endpoint: string authToken: string publicKey: string contentEncoding: string plateforme: string | null }, ExtArgs["result"]["notification"]> composites: {} } export type notificationGetPayload = runtime.Types.Result.GetResult export type notificationCountArgs = Omit & { select?: NotificationCountAggregateInputType | true } export interface notificationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['notification'], meta: { name: 'notification' } } /** * Find zero or one Notification that matches the filter. * @param {notificationFindUniqueArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Notification that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {notificationFindUniqueOrThrowArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Notification 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 {notificationFindFirstArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Notification 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 {notificationFindFirstOrThrowArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Notifications 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 {notificationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Notifications * const notifications = await prisma.notification.findMany() * * // Get first 10 Notifications * const notifications = await prisma.notification.findMany({ take: 10 }) * * // Only select the `id` * const notificationWithIdOnly = await prisma.notification.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Notification. * @param {notificationCreateArgs} args - Arguments to create a Notification. * @example * // Create one Notification * const Notification = await prisma.notification.create({ * data: { * // ... data to create a Notification * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Notifications. * @param {notificationCreateManyArgs} args - Arguments to create many Notifications. * @example * // Create many Notifications * const notification = await prisma.notification.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Notification. * @param {notificationDeleteArgs} args - Arguments to delete one Notification. * @example * // Delete one Notification * const Notification = await prisma.notification.delete({ * where: { * // ... filter to delete one Notification * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Notification. * @param {notificationUpdateArgs} args - Arguments to update one Notification. * @example * // Update one Notification * const notification = await prisma.notification.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Notifications. * @param {notificationDeleteManyArgs} args - Arguments to filter Notifications to delete. * @example * // Delete a few Notifications * const { count } = await prisma.notification.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {notificationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Notifications * const notification = await prisma.notification.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Notification. * @param {notificationUpsertArgs} args - Arguments to update or create a Notification. * @example * // Update or create a Notification * const notification = await prisma.notification.upsert({ * create: { * // ... data to create a Notification * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Notification we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__notificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {notificationCountArgs} args - Arguments to filter Notifications to count. * @example * // Count the number of Notifications * const count = await prisma.notification.count({ * where: { * // ... the filter for the Notifications 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 Notification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationAggregateArgs} 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 Notification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {notificationGroupByArgs} 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 notificationGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: notificationGroupByArgs['orderBy'] } : { orderBy?: notificationGroupByArgs['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 ? GetNotificationGroupByPayload : Prisma.PrismaPromise /** * Fields of the notification model */ readonly fields: notificationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for notification. * 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__notificationClient 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 notification model */ export interface notificationFieldRefs { readonly id: Prisma.FieldRef<"notification", 'Int'> readonly staff_id: Prisma.FieldRef<"notification", 'Int'> readonly endpoint: Prisma.FieldRef<"notification", 'String'> readonly authToken: Prisma.FieldRef<"notification", 'String'> readonly publicKey: Prisma.FieldRef<"notification", 'String'> readonly contentEncoding: Prisma.FieldRef<"notification", 'String'> readonly plateforme: Prisma.FieldRef<"notification", 'String'> } // Custom InputTypes /** * notification findUnique */ export type notificationFindUniqueArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter, which notification to fetch. */ where: Prisma.notificationWhereUniqueInput } /** * notification findUniqueOrThrow */ export type notificationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter, which notification to fetch. */ where: Prisma.notificationWhereUniqueInput } /** * notification findFirst */ export type notificationFindFirstArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter, which notification to fetch. */ where?: Prisma.notificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationOrderByWithRelationInput | Prisma.notificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for notifications. */ cursor?: Prisma.notificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` notifications 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` notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of notifications. */ distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * notification findFirstOrThrow */ export type notificationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter, which notification to fetch. */ where?: Prisma.notificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationOrderByWithRelationInput | Prisma.notificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for notifications. */ cursor?: Prisma.notificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` notifications 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` notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of notifications. */ distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * notification findMany */ export type notificationFindManyArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter, which notifications to fetch. */ where?: Prisma.notificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationOrderByWithRelationInput | Prisma.notificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing notifications. */ cursor?: Prisma.notificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` notifications 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` notifications. */ skip?: number distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * notification create */ export type notificationCreateArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * The data needed to create a notification. */ data: Prisma.XOR } /** * notification createMany */ export type notificationCreateManyArgs = { /** * The data used to create many notifications. */ data: Prisma.notificationCreateManyInput | Prisma.notificationCreateManyInput[] skipDuplicates?: boolean } /** * notification update */ export type notificationUpdateArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * The data needed to update a notification. */ data: Prisma.XOR /** * Choose, which notification to update. */ where: Prisma.notificationWhereUniqueInput } /** * notification updateMany */ export type notificationUpdateManyArgs = { /** * The data used to update notifications. */ data: Prisma.XOR /** * Filter which notifications to update */ where?: Prisma.notificationWhereInput /** * Limit how many notifications to update. */ limit?: number } /** * notification upsert */ export type notificationUpsertArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * The filter to search for the notification to update in case it exists. */ where: Prisma.notificationWhereUniqueInput /** * In case the notification found by the `where` argument doesn't exist, create a new notification with this data. */ create: Prisma.XOR /** * In case the notification was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * notification delete */ export type notificationDeleteArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null /** * Filter which notification to delete. */ where: Prisma.notificationWhereUniqueInput } /** * notification deleteMany */ export type notificationDeleteManyArgs = { /** * Filter which notifications to delete */ where?: Prisma.notificationWhereInput /** * Limit how many notifications to delete. */ limit?: number } /** * notification without action */ export type notificationDefaultArgs = { /** * Select specific fields to fetch from the notification */ select?: Prisma.notificationSelect | null /** * Omit specific fields from the notification */ omit?: Prisma.notificationOmit | null }