/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `phone_note` 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 phone_note * */ export type phone_noteModel = runtime.Types.Result.DefaultSelection export type AggregatePhone_note = { _count: Phone_noteCountAggregateOutputType | null _avg: Phone_noteAvgAggregateOutputType | null _sum: Phone_noteSumAggregateOutputType | null _min: Phone_noteMinAggregateOutputType | null _max: Phone_noteMaxAggregateOutputType | null } export type Phone_noteAvgAggregateOutputType = { id: number | null } export type Phone_noteSumAggregateOutputType = { id: number | null } export type Phone_noteMinAggregateOutputType = { id: number | null phone: string | null rate_center: string | null fournisseur: string | null note: string | null } export type Phone_noteMaxAggregateOutputType = { id: number | null phone: string | null rate_center: string | null fournisseur: string | null note: string | null } export type Phone_noteCountAggregateOutputType = { id: number phone: number rate_center: number fournisseur: number note: number _all: number } export type Phone_noteAvgAggregateInputType = { id?: true } export type Phone_noteSumAggregateInputType = { id?: true } export type Phone_noteMinAggregateInputType = { id?: true phone?: true rate_center?: true fournisseur?: true note?: true } export type Phone_noteMaxAggregateInputType = { id?: true phone?: true rate_center?: true fournisseur?: true note?: true } export type Phone_noteCountAggregateInputType = { id?: true phone?: true rate_center?: true fournisseur?: true note?: true _all?: true } export type Phone_noteAggregateArgs = { /** * Filter which phone_note to aggregate. */ where?: Prisma.phone_noteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_notes to fetch. */ orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.phone_noteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_notes 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` phone_notes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned phone_notes **/ _count?: true | Phone_noteCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Phone_noteAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Phone_noteSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Phone_noteMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Phone_noteMaxAggregateInputType } export type GetPhone_noteAggregateType = { [P in keyof T & keyof AggregatePhone_note]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type phone_noteGroupByArgs = { where?: Prisma.phone_noteWhereInput orderBy?: Prisma.phone_noteOrderByWithAggregationInput | Prisma.phone_noteOrderByWithAggregationInput[] by: Prisma.Phone_noteScalarFieldEnum[] | Prisma.Phone_noteScalarFieldEnum having?: Prisma.phone_noteScalarWhereWithAggregatesInput take?: number skip?: number _count?: Phone_noteCountAggregateInputType | true _avg?: Phone_noteAvgAggregateInputType _sum?: Phone_noteSumAggregateInputType _min?: Phone_noteMinAggregateInputType _max?: Phone_noteMaxAggregateInputType } export type Phone_noteGroupByOutputType = { id: number phone: string rate_center: string | null fournisseur: string note: string | null _count: Phone_noteCountAggregateOutputType | null _avg: Phone_noteAvgAggregateOutputType | null _sum: Phone_noteSumAggregateOutputType | null _min: Phone_noteMinAggregateOutputType | null _max: Phone_noteMaxAggregateOutputType | null } type GetPhone_noteGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Phone_noteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type phone_noteWhereInput = { AND?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[] OR?: Prisma.phone_noteWhereInput[] NOT?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[] id?: Prisma.IntFilter<"phone_note"> | number phone?: Prisma.StringFilter<"phone_note"> | string rate_center?: Prisma.StringNullableFilter<"phone_note"> | string | null fournisseur?: Prisma.StringFilter<"phone_note"> | string note?: Prisma.StringNullableFilter<"phone_note"> | string | null } export type phone_noteOrderByWithRelationInput = { id?: Prisma.SortOrder phone?: Prisma.SortOrder rate_center?: Prisma.SortOrderInput | Prisma.SortOrder fournisseur?: Prisma.SortOrder note?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.phone_noteOrderByRelevanceInput } export type phone_noteWhereUniqueInput = Prisma.AtLeast<{ id?: number phone?: string AND?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[] OR?: Prisma.phone_noteWhereInput[] NOT?: Prisma.phone_noteWhereInput | Prisma.phone_noteWhereInput[] rate_center?: Prisma.StringNullableFilter<"phone_note"> | string | null fournisseur?: Prisma.StringFilter<"phone_note"> | string note?: Prisma.StringNullableFilter<"phone_note"> | string | null }, "id" | "phone"> export type phone_noteOrderByWithAggregationInput = { id?: Prisma.SortOrder phone?: Prisma.SortOrder rate_center?: Prisma.SortOrderInput | Prisma.SortOrder fournisseur?: Prisma.SortOrder note?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.phone_noteCountOrderByAggregateInput _avg?: Prisma.phone_noteAvgOrderByAggregateInput _max?: Prisma.phone_noteMaxOrderByAggregateInput _min?: Prisma.phone_noteMinOrderByAggregateInput _sum?: Prisma.phone_noteSumOrderByAggregateInput } export type phone_noteScalarWhereWithAggregatesInput = { AND?: Prisma.phone_noteScalarWhereWithAggregatesInput | Prisma.phone_noteScalarWhereWithAggregatesInput[] OR?: Prisma.phone_noteScalarWhereWithAggregatesInput[] NOT?: Prisma.phone_noteScalarWhereWithAggregatesInput | Prisma.phone_noteScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"phone_note"> | number phone?: Prisma.StringWithAggregatesFilter<"phone_note"> | string rate_center?: Prisma.StringNullableWithAggregatesFilter<"phone_note"> | string | null fournisseur?: Prisma.StringWithAggregatesFilter<"phone_note"> | string note?: Prisma.StringNullableWithAggregatesFilter<"phone_note"> | string | null } export type phone_noteCreateInput = { phone: string rate_center?: string | null fournisseur?: string note?: string | null } export type phone_noteUncheckedCreateInput = { id?: number phone: string rate_center?: string | null fournisseur?: string note?: string | null } export type phone_noteUpdateInput = { phone?: Prisma.StringFieldUpdateOperationsInput | string rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fournisseur?: Prisma.StringFieldUpdateOperationsInput | string note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_noteUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fournisseur?: Prisma.StringFieldUpdateOperationsInput | string note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_noteCreateManyInput = { id?: number phone: string rate_center?: string | null fournisseur?: string note?: string | null } export type phone_noteUpdateManyMutationInput = { phone?: Prisma.StringFieldUpdateOperationsInput | string rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fournisseur?: Prisma.StringFieldUpdateOperationsInput | string note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_noteUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string rate_center?: Prisma.NullableStringFieldUpdateOperationsInput | string | null fournisseur?: Prisma.StringFieldUpdateOperationsInput | string note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_noteOrderByRelevanceInput = { fields: Prisma.phone_noteOrderByRelevanceFieldEnum | Prisma.phone_noteOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type phone_noteCountOrderByAggregateInput = { id?: Prisma.SortOrder phone?: Prisma.SortOrder rate_center?: Prisma.SortOrder fournisseur?: Prisma.SortOrder note?: Prisma.SortOrder } export type phone_noteAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type phone_noteMaxOrderByAggregateInput = { id?: Prisma.SortOrder phone?: Prisma.SortOrder rate_center?: Prisma.SortOrder fournisseur?: Prisma.SortOrder note?: Prisma.SortOrder } export type phone_noteMinOrderByAggregateInput = { id?: Prisma.SortOrder phone?: Prisma.SortOrder rate_center?: Prisma.SortOrder fournisseur?: Prisma.SortOrder note?: Prisma.SortOrder } export type phone_noteSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type phone_noteSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean phone?: boolean rate_center?: boolean fournisseur?: boolean note?: boolean }, ExtArgs["result"]["phone_note"]> export type phone_noteSelectScalar = { id?: boolean phone?: boolean rate_center?: boolean fournisseur?: boolean note?: boolean } export type phone_noteOmit = runtime.Types.Extensions.GetOmit<"id" | "phone" | "rate_center" | "fournisseur" | "note", ExtArgs["result"]["phone_note"]> export type $phone_notePayload = { name: "phone_note" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number phone: string rate_center: string | null fournisseur: string note: string | null }, ExtArgs["result"]["phone_note"]> composites: {} } export type phone_noteGetPayload = runtime.Types.Result.GetResult export type phone_noteCountArgs = Omit & { select?: Phone_noteCountAggregateInputType | true } export interface phone_noteDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['phone_note'], meta: { name: 'phone_note' } } /** * Find zero or one Phone_note that matches the filter. * @param {phone_noteFindUniqueArgs} args - Arguments to find a Phone_note * @example * // Get one Phone_note * const phone_note = await prisma.phone_note.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Phone_note that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {phone_noteFindUniqueOrThrowArgs} args - Arguments to find a Phone_note * @example * // Get one Phone_note * const phone_note = await prisma.phone_note.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_note 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 {phone_noteFindFirstArgs} args - Arguments to find a Phone_note * @example * // Get one Phone_note * const phone_note = await prisma.phone_note.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_note 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 {phone_noteFindFirstOrThrowArgs} args - Arguments to find a Phone_note * @example * // Get one Phone_note * const phone_note = await prisma.phone_note.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Phone_notes 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 {phone_noteFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Phone_notes * const phone_notes = await prisma.phone_note.findMany() * * // Get first 10 Phone_notes * const phone_notes = await prisma.phone_note.findMany({ take: 10 }) * * // Only select the `id` * const phone_noteWithIdOnly = await prisma.phone_note.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Phone_note. * @param {phone_noteCreateArgs} args - Arguments to create a Phone_note. * @example * // Create one Phone_note * const Phone_note = await prisma.phone_note.create({ * data: { * // ... data to create a Phone_note * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Phone_notes. * @param {phone_noteCreateManyArgs} args - Arguments to create many Phone_notes. * @example * // Create many Phone_notes * const phone_note = await prisma.phone_note.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Phone_note. * @param {phone_noteDeleteArgs} args - Arguments to delete one Phone_note. * @example * // Delete one Phone_note * const Phone_note = await prisma.phone_note.delete({ * where: { * // ... filter to delete one Phone_note * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Phone_note. * @param {phone_noteUpdateArgs} args - Arguments to update one Phone_note. * @example * // Update one Phone_note * const phone_note = await prisma.phone_note.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Phone_notes. * @param {phone_noteDeleteManyArgs} args - Arguments to filter Phone_notes to delete. * @example * // Delete a few Phone_notes * const { count } = await prisma.phone_note.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Phone_notes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_noteUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Phone_notes * const phone_note = await prisma.phone_note.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Phone_note. * @param {phone_noteUpsertArgs} args - Arguments to update or create a Phone_note. * @example * // Update or create a Phone_note * const phone_note = await prisma.phone_note.upsert({ * create: { * // ... data to create a Phone_note * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Phone_note we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__phone_noteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Phone_notes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_noteCountArgs} args - Arguments to filter Phone_notes to count. * @example * // Count the number of Phone_notes * const count = await prisma.phone_note.count({ * where: { * // ... the filter for the Phone_notes 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 Phone_note. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Phone_noteAggregateArgs} 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 Phone_note. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_noteGroupByArgs} 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 phone_noteGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: phone_noteGroupByArgs['orderBy'] } : { orderBy?: phone_noteGroupByArgs['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 ? GetPhone_noteGroupByPayload : Prisma.PrismaPromise /** * Fields of the phone_note model */ readonly fields: phone_noteFieldRefs; } /** * The delegate class that acts as a "Promise-like" for phone_note. * 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__phone_noteClient 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 phone_note model */ export interface phone_noteFieldRefs { readonly id: Prisma.FieldRef<"phone_note", 'Int'> readonly phone: Prisma.FieldRef<"phone_note", 'String'> readonly rate_center: Prisma.FieldRef<"phone_note", 'String'> readonly fournisseur: Prisma.FieldRef<"phone_note", 'String'> readonly note: Prisma.FieldRef<"phone_note", 'String'> } // Custom InputTypes /** * phone_note findUnique */ export type phone_noteFindUniqueArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter, which phone_note to fetch. */ where: Prisma.phone_noteWhereUniqueInput } /** * phone_note findUniqueOrThrow */ export type phone_noteFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter, which phone_note to fetch. */ where: Prisma.phone_noteWhereUniqueInput } /** * phone_note findFirst */ export type phone_noteFindFirstArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter, which phone_note to fetch. */ where?: Prisma.phone_noteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_notes to fetch. */ orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_notes. */ cursor?: Prisma.phone_noteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_notes 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` phone_notes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_notes. */ distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[] } /** * phone_note findFirstOrThrow */ export type phone_noteFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter, which phone_note to fetch. */ where?: Prisma.phone_noteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_notes to fetch. */ orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_notes. */ cursor?: Prisma.phone_noteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_notes 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` phone_notes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_notes. */ distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[] } /** * phone_note findMany */ export type phone_noteFindManyArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter, which phone_notes to fetch. */ where?: Prisma.phone_noteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_notes to fetch. */ orderBy?: Prisma.phone_noteOrderByWithRelationInput | Prisma.phone_noteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing phone_notes. */ cursor?: Prisma.phone_noteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_notes 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` phone_notes. */ skip?: number distinct?: Prisma.Phone_noteScalarFieldEnum | Prisma.Phone_noteScalarFieldEnum[] } /** * phone_note create */ export type phone_noteCreateArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * The data needed to create a phone_note. */ data: Prisma.XOR } /** * phone_note createMany */ export type phone_noteCreateManyArgs = { /** * The data used to create many phone_notes. */ data: Prisma.phone_noteCreateManyInput | Prisma.phone_noteCreateManyInput[] skipDuplicates?: boolean } /** * phone_note update */ export type phone_noteUpdateArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * The data needed to update a phone_note. */ data: Prisma.XOR /** * Choose, which phone_note to update. */ where: Prisma.phone_noteWhereUniqueInput } /** * phone_note updateMany */ export type phone_noteUpdateManyArgs = { /** * The data used to update phone_notes. */ data: Prisma.XOR /** * Filter which phone_notes to update */ where?: Prisma.phone_noteWhereInput /** * Limit how many phone_notes to update. */ limit?: number } /** * phone_note upsert */ export type phone_noteUpsertArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * The filter to search for the phone_note to update in case it exists. */ where: Prisma.phone_noteWhereUniqueInput /** * In case the phone_note found by the `where` argument doesn't exist, create a new phone_note with this data. */ create: Prisma.XOR /** * In case the phone_note was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * phone_note delete */ export type phone_noteDeleteArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null /** * Filter which phone_note to delete. */ where: Prisma.phone_noteWhereUniqueInput } /** * phone_note deleteMany */ export type phone_noteDeleteManyArgs = { /** * Filter which phone_notes to delete */ where?: Prisma.phone_noteWhereInput /** * Limit how many phone_notes to delete. */ limit?: number } /** * phone_note without action */ export type phone_noteDefaultArgs = { /** * Select specific fields to fetch from the phone_note */ select?: Prisma.phone_noteSelect | null /** * Omit specific fields from the phone_note */ omit?: Prisma.phone_noteOmit | null }