/* !!! 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_doc_paths` 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_doc_paths * */ export type intranet_doc_pathsModel = runtime.Types.Result.DefaultSelection export type AggregateIntranet_doc_paths = { _count: Intranet_doc_pathsCountAggregateOutputType | null _avg: Intranet_doc_pathsAvgAggregateOutputType | null _sum: Intranet_doc_pathsSumAggregateOutputType | null _min: Intranet_doc_pathsMinAggregateOutputType | null _max: Intranet_doc_pathsMaxAggregateOutputType | null } export type Intranet_doc_pathsAvgAggregateOutputType = { id: number | null parent_id: number | null priority_order: number | null } export type Intranet_doc_pathsSumAggregateOutputType = { id: number | null parent_id: number | null priority_order: number | null } export type Intranet_doc_pathsMinAggregateOutputType = { id: number | null description: string | null parent_id: number | null priority_order: number | null } export type Intranet_doc_pathsMaxAggregateOutputType = { id: number | null description: string | null parent_id: number | null priority_order: number | null } export type Intranet_doc_pathsCountAggregateOutputType = { id: number description: number parent_id: number priority_order: number _all: number } export type Intranet_doc_pathsAvgAggregateInputType = { id?: true parent_id?: true priority_order?: true } export type Intranet_doc_pathsSumAggregateInputType = { id?: true parent_id?: true priority_order?: true } export type Intranet_doc_pathsMinAggregateInputType = { id?: true description?: true parent_id?: true priority_order?: true } export type Intranet_doc_pathsMaxAggregateInputType = { id?: true description?: true parent_id?: true priority_order?: true } export type Intranet_doc_pathsCountAggregateInputType = { id?: true description?: true parent_id?: true priority_order?: true _all?: true } export type Intranet_doc_pathsAggregateArgs = { /** * Filter which intranet_doc_paths to aggregate. */ where?: Prisma.intranet_doc_pathsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_doc_paths to fetch. */ orderBy?: Prisma.intranet_doc_pathsOrderByWithRelationInput | Prisma.intranet_doc_pathsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.intranet_doc_pathsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_doc_paths 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_doc_paths. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned intranet_doc_paths **/ _count?: true | Intranet_doc_pathsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Intranet_doc_pathsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Intranet_doc_pathsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Intranet_doc_pathsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Intranet_doc_pathsMaxAggregateInputType } export type GetIntranet_doc_pathsAggregateType = { [P in keyof T & keyof AggregateIntranet_doc_paths]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type intranet_doc_pathsGroupByArgs = { where?: Prisma.intranet_doc_pathsWhereInput orderBy?: Prisma.intranet_doc_pathsOrderByWithAggregationInput | Prisma.intranet_doc_pathsOrderByWithAggregationInput[] by: Prisma.Intranet_doc_pathsScalarFieldEnum[] | Prisma.Intranet_doc_pathsScalarFieldEnum having?: Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput take?: number skip?: number _count?: Intranet_doc_pathsCountAggregateInputType | true _avg?: Intranet_doc_pathsAvgAggregateInputType _sum?: Intranet_doc_pathsSumAggregateInputType _min?: Intranet_doc_pathsMinAggregateInputType _max?: Intranet_doc_pathsMaxAggregateInputType } export type Intranet_doc_pathsGroupByOutputType = { id: number description: string parent_id: number | null priority_order: number _count: Intranet_doc_pathsCountAggregateOutputType | null _avg: Intranet_doc_pathsAvgAggregateOutputType | null _sum: Intranet_doc_pathsSumAggregateOutputType | null _min: Intranet_doc_pathsMinAggregateOutputType | null _max: Intranet_doc_pathsMaxAggregateOutputType | null } type GetIntranet_doc_pathsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Intranet_doc_pathsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type intranet_doc_pathsWhereInput = { AND?: Prisma.intranet_doc_pathsWhereInput | Prisma.intranet_doc_pathsWhereInput[] OR?: Prisma.intranet_doc_pathsWhereInput[] NOT?: Prisma.intranet_doc_pathsWhereInput | Prisma.intranet_doc_pathsWhereInput[] id?: Prisma.IntFilter<"intranet_doc_paths"> | number description?: Prisma.StringFilter<"intranet_doc_paths"> | string parent_id?: Prisma.IntNullableFilter<"intranet_doc_paths"> | number | null priority_order?: Prisma.IntFilter<"intranet_doc_paths"> | number } export type intranet_doc_pathsOrderByWithRelationInput = { id?: Prisma.SortOrder description?: Prisma.SortOrder parent_id?: Prisma.SortOrderInput | Prisma.SortOrder priority_order?: Prisma.SortOrder _relevance?: Prisma.intranet_doc_pathsOrderByRelevanceInput } export type intranet_doc_pathsWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.intranet_doc_pathsWhereInput | Prisma.intranet_doc_pathsWhereInput[] OR?: Prisma.intranet_doc_pathsWhereInput[] NOT?: Prisma.intranet_doc_pathsWhereInput | Prisma.intranet_doc_pathsWhereInput[] description?: Prisma.StringFilter<"intranet_doc_paths"> | string parent_id?: Prisma.IntNullableFilter<"intranet_doc_paths"> | number | null priority_order?: Prisma.IntFilter<"intranet_doc_paths"> | number }, "id"> export type intranet_doc_pathsOrderByWithAggregationInput = { id?: Prisma.SortOrder description?: Prisma.SortOrder parent_id?: Prisma.SortOrderInput | Prisma.SortOrder priority_order?: Prisma.SortOrder _count?: Prisma.intranet_doc_pathsCountOrderByAggregateInput _avg?: Prisma.intranet_doc_pathsAvgOrderByAggregateInput _max?: Prisma.intranet_doc_pathsMaxOrderByAggregateInput _min?: Prisma.intranet_doc_pathsMinOrderByAggregateInput _sum?: Prisma.intranet_doc_pathsSumOrderByAggregateInput } export type intranet_doc_pathsScalarWhereWithAggregatesInput = { AND?: Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput | Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput[] OR?: Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput[] NOT?: Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput | Prisma.intranet_doc_pathsScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"intranet_doc_paths"> | number description?: Prisma.StringWithAggregatesFilter<"intranet_doc_paths"> | string parent_id?: Prisma.IntNullableWithAggregatesFilter<"intranet_doc_paths"> | number | null priority_order?: Prisma.IntWithAggregatesFilter<"intranet_doc_paths"> | number } export type intranet_doc_pathsCreateInput = { description: string parent_id?: number | null priority_order?: number } export type intranet_doc_pathsUncheckedCreateInput = { id?: number description: string parent_id?: number | null priority_order?: number } export type intranet_doc_pathsUpdateInput = { description?: Prisma.StringFieldUpdateOperationsInput | string parent_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null priority_order?: Prisma.IntFieldUpdateOperationsInput | number } export type intranet_doc_pathsUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.StringFieldUpdateOperationsInput | string parent_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null priority_order?: Prisma.IntFieldUpdateOperationsInput | number } export type intranet_doc_pathsCreateManyInput = { id?: number description: string parent_id?: number | null priority_order?: number } export type intranet_doc_pathsUpdateManyMutationInput = { description?: Prisma.StringFieldUpdateOperationsInput | string parent_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null priority_order?: Prisma.IntFieldUpdateOperationsInput | number } export type intranet_doc_pathsUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.StringFieldUpdateOperationsInput | string parent_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null priority_order?: Prisma.IntFieldUpdateOperationsInput | number } export type intranet_doc_pathsOrderByRelevanceInput = { fields: Prisma.intranet_doc_pathsOrderByRelevanceFieldEnum | Prisma.intranet_doc_pathsOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type intranet_doc_pathsCountOrderByAggregateInput = { id?: Prisma.SortOrder description?: Prisma.SortOrder parent_id?: Prisma.SortOrder priority_order?: Prisma.SortOrder } export type intranet_doc_pathsAvgOrderByAggregateInput = { id?: Prisma.SortOrder parent_id?: Prisma.SortOrder priority_order?: Prisma.SortOrder } export type intranet_doc_pathsMaxOrderByAggregateInput = { id?: Prisma.SortOrder description?: Prisma.SortOrder parent_id?: Prisma.SortOrder priority_order?: Prisma.SortOrder } export type intranet_doc_pathsMinOrderByAggregateInput = { id?: Prisma.SortOrder description?: Prisma.SortOrder parent_id?: Prisma.SortOrder priority_order?: Prisma.SortOrder } export type intranet_doc_pathsSumOrderByAggregateInput = { id?: Prisma.SortOrder parent_id?: Prisma.SortOrder priority_order?: Prisma.SortOrder } export type intranet_doc_pathsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean description?: boolean parent_id?: boolean priority_order?: boolean }, ExtArgs["result"]["intranet_doc_paths"]> export type intranet_doc_pathsSelectScalar = { id?: boolean description?: boolean parent_id?: boolean priority_order?: boolean } export type intranet_doc_pathsOmit = runtime.Types.Extensions.GetOmit<"id" | "description" | "parent_id" | "priority_order", ExtArgs["result"]["intranet_doc_paths"]> export type $intranet_doc_pathsPayload = { name: "intranet_doc_paths" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number description: string parent_id: number | null priority_order: number }, ExtArgs["result"]["intranet_doc_paths"]> composites: {} } export type intranet_doc_pathsGetPayload = runtime.Types.Result.GetResult export type intranet_doc_pathsCountArgs = Omit & { select?: Intranet_doc_pathsCountAggregateInputType | true } export interface intranet_doc_pathsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['intranet_doc_paths'], meta: { name: 'intranet_doc_paths' } } /** * Find zero or one Intranet_doc_paths that matches the filter. * @param {intranet_doc_pathsFindUniqueArgs} args - Arguments to find a Intranet_doc_paths * @example * // Get one Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Intranet_doc_paths that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {intranet_doc_pathsFindUniqueOrThrowArgs} args - Arguments to find a Intranet_doc_paths * @example * // Get one Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_doc_paths 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_doc_pathsFindFirstArgs} args - Arguments to find a Intranet_doc_paths * @example * // Get one Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Intranet_doc_paths 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_doc_pathsFindFirstOrThrowArgs} args - Arguments to find a Intranet_doc_paths * @example * // Get one Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Intranet_doc_paths 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_doc_pathsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findMany() * * // Get first 10 Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.findMany({ take: 10 }) * * // Only select the `id` * const intranet_doc_pathsWithIdOnly = await prisma.intranet_doc_paths.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Intranet_doc_paths. * @param {intranet_doc_pathsCreateArgs} args - Arguments to create a Intranet_doc_paths. * @example * // Create one Intranet_doc_paths * const Intranet_doc_paths = await prisma.intranet_doc_paths.create({ * data: { * // ... data to create a Intranet_doc_paths * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Intranet_doc_paths. * @param {intranet_doc_pathsCreateManyArgs} args - Arguments to create many Intranet_doc_paths. * @example * // Create many Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Intranet_doc_paths. * @param {intranet_doc_pathsDeleteArgs} args - Arguments to delete one Intranet_doc_paths. * @example * // Delete one Intranet_doc_paths * const Intranet_doc_paths = await prisma.intranet_doc_paths.delete({ * where: { * // ... filter to delete one Intranet_doc_paths * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Intranet_doc_paths. * @param {intranet_doc_pathsUpdateArgs} args - Arguments to update one Intranet_doc_paths. * @example * // Update one Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Intranet_doc_paths. * @param {intranet_doc_pathsDeleteManyArgs} args - Arguments to filter Intranet_doc_paths to delete. * @example * // Delete a few Intranet_doc_paths * const { count } = await prisma.intranet_doc_paths.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Intranet_doc_paths. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_doc_pathsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Intranet_doc_paths. * @param {intranet_doc_pathsUpsertArgs} args - Arguments to update or create a Intranet_doc_paths. * @example * // Update or create a Intranet_doc_paths * const intranet_doc_paths = await prisma.intranet_doc_paths.upsert({ * create: { * // ... data to create a Intranet_doc_paths * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Intranet_doc_paths we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__intranet_doc_pathsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Intranet_doc_paths. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_doc_pathsCountArgs} args - Arguments to filter Intranet_doc_paths to count. * @example * // Count the number of Intranet_doc_paths * const count = await prisma.intranet_doc_paths.count({ * where: { * // ... the filter for the Intranet_doc_paths 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_doc_paths. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Intranet_doc_pathsAggregateArgs} 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_doc_paths. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {intranet_doc_pathsGroupByArgs} 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_doc_pathsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: intranet_doc_pathsGroupByArgs['orderBy'] } : { orderBy?: intranet_doc_pathsGroupByArgs['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_doc_pathsGroupByPayload : Prisma.PrismaPromise /** * Fields of the intranet_doc_paths model */ readonly fields: intranet_doc_pathsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for intranet_doc_paths. * 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_doc_pathsClient 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_doc_paths model */ export interface intranet_doc_pathsFieldRefs { readonly id: Prisma.FieldRef<"intranet_doc_paths", 'Int'> readonly description: Prisma.FieldRef<"intranet_doc_paths", 'String'> readonly parent_id: Prisma.FieldRef<"intranet_doc_paths", 'Int'> readonly priority_order: Prisma.FieldRef<"intranet_doc_paths", 'Int'> } // Custom InputTypes /** * intranet_doc_paths findUnique */ export type intranet_doc_pathsFindUniqueArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter, which intranet_doc_paths to fetch. */ where: Prisma.intranet_doc_pathsWhereUniqueInput } /** * intranet_doc_paths findUniqueOrThrow */ export type intranet_doc_pathsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter, which intranet_doc_paths to fetch. */ where: Prisma.intranet_doc_pathsWhereUniqueInput } /** * intranet_doc_paths findFirst */ export type intranet_doc_pathsFindFirstArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter, which intranet_doc_paths to fetch. */ where?: Prisma.intranet_doc_pathsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_doc_paths to fetch. */ orderBy?: Prisma.intranet_doc_pathsOrderByWithRelationInput | Prisma.intranet_doc_pathsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_doc_paths. */ cursor?: Prisma.intranet_doc_pathsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_doc_paths 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_doc_paths. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_doc_paths. */ distinct?: Prisma.Intranet_doc_pathsScalarFieldEnum | Prisma.Intranet_doc_pathsScalarFieldEnum[] } /** * intranet_doc_paths findFirstOrThrow */ export type intranet_doc_pathsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter, which intranet_doc_paths to fetch. */ where?: Prisma.intranet_doc_pathsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_doc_paths to fetch. */ orderBy?: Prisma.intranet_doc_pathsOrderByWithRelationInput | Prisma.intranet_doc_pathsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for intranet_doc_paths. */ cursor?: Prisma.intranet_doc_pathsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_doc_paths 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_doc_paths. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of intranet_doc_paths. */ distinct?: Prisma.Intranet_doc_pathsScalarFieldEnum | Prisma.Intranet_doc_pathsScalarFieldEnum[] } /** * intranet_doc_paths findMany */ export type intranet_doc_pathsFindManyArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter, which intranet_doc_paths to fetch. */ where?: Prisma.intranet_doc_pathsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of intranet_doc_paths to fetch. */ orderBy?: Prisma.intranet_doc_pathsOrderByWithRelationInput | Prisma.intranet_doc_pathsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing intranet_doc_paths. */ cursor?: Prisma.intranet_doc_pathsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` intranet_doc_paths 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_doc_paths. */ skip?: number distinct?: Prisma.Intranet_doc_pathsScalarFieldEnum | Prisma.Intranet_doc_pathsScalarFieldEnum[] } /** * intranet_doc_paths create */ export type intranet_doc_pathsCreateArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * The data needed to create a intranet_doc_paths. */ data: Prisma.XOR } /** * intranet_doc_paths createMany */ export type intranet_doc_pathsCreateManyArgs = { /** * The data used to create many intranet_doc_paths. */ data: Prisma.intranet_doc_pathsCreateManyInput | Prisma.intranet_doc_pathsCreateManyInput[] skipDuplicates?: boolean } /** * intranet_doc_paths update */ export type intranet_doc_pathsUpdateArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * The data needed to update a intranet_doc_paths. */ data: Prisma.XOR /** * Choose, which intranet_doc_paths to update. */ where: Prisma.intranet_doc_pathsWhereUniqueInput } /** * intranet_doc_paths updateMany */ export type intranet_doc_pathsUpdateManyArgs = { /** * The data used to update intranet_doc_paths. */ data: Prisma.XOR /** * Filter which intranet_doc_paths to update */ where?: Prisma.intranet_doc_pathsWhereInput /** * Limit how many intranet_doc_paths to update. */ limit?: number } /** * intranet_doc_paths upsert */ export type intranet_doc_pathsUpsertArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * The filter to search for the intranet_doc_paths to update in case it exists. */ where: Prisma.intranet_doc_pathsWhereUniqueInput /** * In case the intranet_doc_paths found by the `where` argument doesn't exist, create a new intranet_doc_paths with this data. */ create: Prisma.XOR /** * In case the intranet_doc_paths was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * intranet_doc_paths delete */ export type intranet_doc_pathsDeleteArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null /** * Filter which intranet_doc_paths to delete. */ where: Prisma.intranet_doc_pathsWhereUniqueInput } /** * intranet_doc_paths deleteMany */ export type intranet_doc_pathsDeleteManyArgs = { /** * Filter which intranet_doc_paths to delete */ where?: Prisma.intranet_doc_pathsWhereInput /** * Limit how many intranet_doc_paths to delete. */ limit?: number } /** * intranet_doc_paths without action */ export type intranet_doc_pathsDefaultArgs = { /** * Select specific fields to fetch from the intranet_doc_paths */ select?: Prisma.intranet_doc_pathsSelect | null /** * Omit specific fields from the intranet_doc_paths */ omit?: Prisma.intranet_doc_pathsOmit | null }