/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Report` 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 Report * */ export type ReportModel = runtime.Types.Result.DefaultSelection export type AggregateReport = { _count: ReportCountAggregateOutputType | null _avg: ReportAvgAggregateOutputType | null _sum: ReportSumAggregateOutputType | null _min: ReportMinAggregateOutputType | null _max: ReportMaxAggregateOutputType | null } export type ReportAvgAggregateOutputType = { sessionCount: number | null } export type ReportSumAggregateOutputType = { sessionCount: number | null } export type ReportMinAggregateOutputType = { id: string | null title: string | null generatedAt: Date | null contentJson: string | null sessionCount: number | null createdAt: Date | null } export type ReportMaxAggregateOutputType = { id: string | null title: string | null generatedAt: Date | null contentJson: string | null sessionCount: number | null createdAt: Date | null } export type ReportCountAggregateOutputType = { id: number title: number generatedAt: number contentJson: number sessionCount: number createdAt: number _all: number } export type ReportAvgAggregateInputType = { sessionCount?: true } export type ReportSumAggregateInputType = { sessionCount?: true } export type ReportMinAggregateInputType = { id?: true title?: true generatedAt?: true contentJson?: true sessionCount?: true createdAt?: true } export type ReportMaxAggregateInputType = { id?: true title?: true generatedAt?: true contentJson?: true sessionCount?: true createdAt?: true } export type ReportCountAggregateInputType = { id?: true title?: true generatedAt?: true contentJson?: true sessionCount?: true createdAt?: true _all?: true } export type ReportAggregateArgs = { /** * Filter which Report to aggregate. */ where?: Prisma.ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports 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` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Reports **/ _count?: true | ReportCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ReportAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ReportSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ReportMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ReportMaxAggregateInputType } export type GetReportAggregateType = { [P in keyof T & keyof AggregateReport]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ReportGroupByArgs = { where?: Prisma.ReportWhereInput orderBy?: Prisma.ReportOrderByWithAggregationInput | Prisma.ReportOrderByWithAggregationInput[] by: Prisma.ReportScalarFieldEnum[] | Prisma.ReportScalarFieldEnum having?: Prisma.ReportScalarWhereWithAggregatesInput take?: number skip?: number _count?: ReportCountAggregateInputType | true _avg?: ReportAvgAggregateInputType _sum?: ReportSumAggregateInputType _min?: ReportMinAggregateInputType _max?: ReportMaxAggregateInputType } export type ReportGroupByOutputType = { id: string title: string generatedAt: Date contentJson: string sessionCount: number createdAt: Date _count: ReportCountAggregateOutputType | null _avg: ReportAvgAggregateOutputType | null _sum: ReportSumAggregateOutputType | null _min: ReportMinAggregateOutputType | null _max: ReportMaxAggregateOutputType | null } export type GetReportGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ReportGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ReportWhereInput = { AND?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[] OR?: Prisma.ReportWhereInput[] NOT?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[] id?: Prisma.StringFilter<"Report"> | string title?: Prisma.StringFilter<"Report"> | string generatedAt?: Prisma.DateTimeFilter<"Report"> | Date | string contentJson?: Prisma.StringFilter<"Report"> | string sessionCount?: Prisma.IntFilter<"Report"> | number createdAt?: Prisma.DateTimeFilter<"Report"> | Date | string } export type ReportOrderByWithRelationInput = { id?: Prisma.SortOrder title?: Prisma.SortOrder generatedAt?: Prisma.SortOrder contentJson?: Prisma.SortOrder sessionCount?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ReportWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[] OR?: Prisma.ReportWhereInput[] NOT?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[] title?: Prisma.StringFilter<"Report"> | string generatedAt?: Prisma.DateTimeFilter<"Report"> | Date | string contentJson?: Prisma.StringFilter<"Report"> | string sessionCount?: Prisma.IntFilter<"Report"> | number createdAt?: Prisma.DateTimeFilter<"Report"> | Date | string }, "id"> export type ReportOrderByWithAggregationInput = { id?: Prisma.SortOrder title?: Prisma.SortOrder generatedAt?: Prisma.SortOrder contentJson?: Prisma.SortOrder sessionCount?: Prisma.SortOrder createdAt?: Prisma.SortOrder _count?: Prisma.ReportCountOrderByAggregateInput _avg?: Prisma.ReportAvgOrderByAggregateInput _max?: Prisma.ReportMaxOrderByAggregateInput _min?: Prisma.ReportMinOrderByAggregateInput _sum?: Prisma.ReportSumOrderByAggregateInput } export type ReportScalarWhereWithAggregatesInput = { AND?: Prisma.ReportScalarWhereWithAggregatesInput | Prisma.ReportScalarWhereWithAggregatesInput[] OR?: Prisma.ReportScalarWhereWithAggregatesInput[] NOT?: Prisma.ReportScalarWhereWithAggregatesInput | Prisma.ReportScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Report"> | string title?: Prisma.StringWithAggregatesFilter<"Report"> | string generatedAt?: Prisma.DateTimeWithAggregatesFilter<"Report"> | Date | string contentJson?: Prisma.StringWithAggregatesFilter<"Report"> | string sessionCount?: Prisma.IntWithAggregatesFilter<"Report"> | number createdAt?: Prisma.DateTimeWithAggregatesFilter<"Report"> | Date | string } export type ReportCreateInput = { id?: string title: string generatedAt?: Date | string contentJson: string sessionCount: number createdAt?: Date | string } export type ReportUncheckedCreateInput = { id?: string title: string generatedAt?: Date | string contentJson: string sessionCount: number createdAt?: Date | string } export type ReportUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string generatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contentJson?: Prisma.StringFieldUpdateOperationsInput | string sessionCount?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ReportUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string generatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contentJson?: Prisma.StringFieldUpdateOperationsInput | string sessionCount?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ReportCreateManyInput = { id?: string title: string generatedAt?: Date | string contentJson: string sessionCount: number createdAt?: Date | string } export type ReportUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string generatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contentJson?: Prisma.StringFieldUpdateOperationsInput | string sessionCount?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ReportUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string generatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contentJson?: Prisma.StringFieldUpdateOperationsInput | string sessionCount?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ReportCountOrderByAggregateInput = { id?: Prisma.SortOrder title?: Prisma.SortOrder generatedAt?: Prisma.SortOrder contentJson?: Prisma.SortOrder sessionCount?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ReportAvgOrderByAggregateInput = { sessionCount?: Prisma.SortOrder } export type ReportMaxOrderByAggregateInput = { id?: Prisma.SortOrder title?: Prisma.SortOrder generatedAt?: Prisma.SortOrder contentJson?: Prisma.SortOrder sessionCount?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ReportMinOrderByAggregateInput = { id?: Prisma.SortOrder title?: Prisma.SortOrder generatedAt?: Prisma.SortOrder contentJson?: Prisma.SortOrder sessionCount?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ReportSumOrderByAggregateInput = { sessionCount?: Prisma.SortOrder } export type ReportSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean generatedAt?: boolean contentJson?: boolean sessionCount?: boolean createdAt?: boolean }, ExtArgs["result"]["report"]> export type ReportSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean generatedAt?: boolean contentJson?: boolean sessionCount?: boolean createdAt?: boolean }, ExtArgs["result"]["report"]> export type ReportSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean generatedAt?: boolean contentJson?: boolean sessionCount?: boolean createdAt?: boolean }, ExtArgs["result"]["report"]> export type ReportSelectScalar = { id?: boolean title?: boolean generatedAt?: boolean contentJson?: boolean sessionCount?: boolean createdAt?: boolean } export type ReportOmit = runtime.Types.Extensions.GetOmit<"id" | "title" | "generatedAt" | "contentJson" | "sessionCount" | "createdAt", ExtArgs["result"]["report"]> export type $ReportPayload = { name: "Report" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string title: string generatedAt: Date contentJson: string sessionCount: number createdAt: Date }, ExtArgs["result"]["report"]> composites: {} } export type ReportGetPayload = runtime.Types.Result.GetResult export type ReportCountArgs = Omit & { select?: ReportCountAggregateInputType | true } export interface ReportDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Report'], meta: { name: 'Report' } } /** * Find zero or one Report that matches the filter. * @param {ReportFindUniqueArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Report that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ReportFindUniqueOrThrowArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Report 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 {ReportFindFirstArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Report 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 {ReportFindFirstOrThrowArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Reports 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 {ReportFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Reports * const reports = await prisma.report.findMany() * * // Get first 10 Reports * const reports = await prisma.report.findMany({ take: 10 }) * * // Only select the `id` * const reportWithIdOnly = await prisma.report.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Report. * @param {ReportCreateArgs} args - Arguments to create a Report. * @example * // Create one Report * const Report = await prisma.report.create({ * data: { * // ... data to create a Report * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Reports. * @param {ReportCreateManyArgs} args - Arguments to create many Reports. * @example * // Create many Reports * const report = await prisma.report.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Reports and returns the data saved in the database. * @param {ReportCreateManyAndReturnArgs} args - Arguments to create many Reports. * @example * // Create many Reports * const report = await prisma.report.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Reports and only return the `id` * const reportWithIdOnly = await prisma.report.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Report. * @param {ReportDeleteArgs} args - Arguments to delete one Report. * @example * // Delete one Report * const Report = await prisma.report.delete({ * where: { * // ... filter to delete one Report * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Report. * @param {ReportUpdateArgs} args - Arguments to update one Report. * @example * // Update one Report * const report = await prisma.report.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Reports. * @param {ReportDeleteManyArgs} args - Arguments to filter Reports to delete. * @example * // Delete a few Reports * const { count } = await prisma.report.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Reports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Reports * const report = await prisma.report.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Reports and returns the data updated in the database. * @param {ReportUpdateManyAndReturnArgs} args - Arguments to update many Reports. * @example * // Update many Reports * const report = await prisma.report.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Reports and only return the `id` * const reportWithIdOnly = await prisma.report.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Report. * @param {ReportUpsertArgs} args - Arguments to update or create a Report. * @example * // Update or create a Report * const report = await prisma.report.upsert({ * create: { * // ... data to create a Report * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Report we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ReportClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Reports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportCountArgs} args - Arguments to filter Reports to count. * @example * // Count the number of Reports * const count = await prisma.report.count({ * where: { * // ... the filter for the Reports 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 Report. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportAggregateArgs} 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 Report. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportGroupByArgs} 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 ReportGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ReportGroupByArgs['orderBy'] } : { orderBy?: ReportGroupByArgs['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 ? GetReportGroupByPayload : Prisma.PrismaPromise /** * Fields of the Report model */ readonly fields: ReportFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Report. * 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__ReportClient 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 Report model */ export interface ReportFieldRefs { readonly id: Prisma.FieldRef<"Report", 'String'> readonly title: Prisma.FieldRef<"Report", 'String'> readonly generatedAt: Prisma.FieldRef<"Report", 'DateTime'> readonly contentJson: Prisma.FieldRef<"Report", 'String'> readonly sessionCount: Prisma.FieldRef<"Report", 'Int'> readonly createdAt: Prisma.FieldRef<"Report", 'DateTime'> } // Custom InputTypes /** * Report findUnique */ export type ReportFindUniqueArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter, which Report to fetch. */ where: Prisma.ReportWhereUniqueInput } /** * Report findUniqueOrThrow */ export type ReportFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter, which Report to fetch. */ where: Prisma.ReportWhereUniqueInput } /** * Report findFirst */ export type ReportFindFirstArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter, which Report to fetch. */ where?: Prisma.ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Reports. */ cursor?: Prisma.ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports 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` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Reports. */ distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[] } /** * Report findFirstOrThrow */ export type ReportFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter, which Report to fetch. */ where?: Prisma.ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Reports. */ cursor?: Prisma.ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports 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` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Reports. */ distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[] } /** * Report findMany */ export type ReportFindManyArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter, which Reports to fetch. */ where?: Prisma.ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Reports. */ cursor?: Prisma.ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports 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` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Reports. */ distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[] } /** * Report create */ export type ReportCreateArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * The data needed to create a Report. */ data: Prisma.XOR } /** * Report createMany */ export type ReportCreateManyArgs = { /** * The data used to create many Reports. */ data: Prisma.ReportCreateManyInput | Prisma.ReportCreateManyInput[] } /** * Report createManyAndReturn */ export type ReportCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelectCreateManyAndReturn | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * The data used to create many Reports. */ data: Prisma.ReportCreateManyInput | Prisma.ReportCreateManyInput[] } /** * Report update */ export type ReportUpdateArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * The data needed to update a Report. */ data: Prisma.XOR /** * Choose, which Report to update. */ where: Prisma.ReportWhereUniqueInput } /** * Report updateMany */ export type ReportUpdateManyArgs = { /** * The data used to update Reports. */ data: Prisma.XOR /** * Filter which Reports to update */ where?: Prisma.ReportWhereInput /** * Limit how many Reports to update. */ limit?: number } /** * Report updateManyAndReturn */ export type ReportUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelectUpdateManyAndReturn | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * The data used to update Reports. */ data: Prisma.XOR /** * Filter which Reports to update */ where?: Prisma.ReportWhereInput /** * Limit how many Reports to update. */ limit?: number } /** * Report upsert */ export type ReportUpsertArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * The filter to search for the Report to update in case it exists. */ where: Prisma.ReportWhereUniqueInput /** * In case the Report found by the `where` argument doesn't exist, create a new Report with this data. */ create: Prisma.XOR /** * In case the Report was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Report delete */ export type ReportDeleteArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null /** * Filter which Report to delete. */ where: Prisma.ReportWhereUniqueInput } /** * Report deleteMany */ export type ReportDeleteManyArgs = { /** * Filter which Reports to delete */ where?: Prisma.ReportWhereInput /** * Limit how many Reports to delete. */ limit?: number } /** * Report without action */ export type ReportDefaultArgs = { /** * Select specific fields to fetch from the Report */ select?: Prisma.ReportSelect | null /** * Omit specific fields from the Report */ omit?: Prisma.ReportOmit | null }