/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `fournisseur` 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 fournisseur * */ export type fournisseurModel = runtime.Types.Result.DefaultSelection export type AggregateFournisseur = { _count: FournisseurCountAggregateOutputType | null _avg: FournisseurAvgAggregateOutputType | null _sum: FournisseurSumAggregateOutputType | null _min: FournisseurMinAggregateOutputType | null _max: FournisseurMaxAggregateOutputType | null } export type FournisseurAvgAggregateOutputType = { id: number | null } export type FournisseurSumAggregateOutputType = { id: number | null } export type FournisseurMinAggregateOutputType = { id: number | null nom: string | null email: string | null actif: boolean | null } export type FournisseurMaxAggregateOutputType = { id: number | null nom: string | null email: string | null actif: boolean | null } export type FournisseurCountAggregateOutputType = { id: number nom: number email: number actif: number _all: number } export type FournisseurAvgAggregateInputType = { id?: true } export type FournisseurSumAggregateInputType = { id?: true } export type FournisseurMinAggregateInputType = { id?: true nom?: true email?: true actif?: true } export type FournisseurMaxAggregateInputType = { id?: true nom?: true email?: true actif?: true } export type FournisseurCountAggregateInputType = { id?: true nom?: true email?: true actif?: true _all?: true } export type FournisseurAggregateArgs = { /** * Filter which fournisseur to aggregate. */ where?: Prisma.fournisseurWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fournisseurs to fetch. */ orderBy?: Prisma.fournisseurOrderByWithRelationInput | Prisma.fournisseurOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.fournisseurWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fournisseurs 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` fournisseurs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned fournisseurs **/ _count?: true | FournisseurCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: FournisseurAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: FournisseurSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FournisseurMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FournisseurMaxAggregateInputType } export type GetFournisseurAggregateType = { [P in keyof T & keyof AggregateFournisseur]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type fournisseurGroupByArgs = { where?: Prisma.fournisseurWhereInput orderBy?: Prisma.fournisseurOrderByWithAggregationInput | Prisma.fournisseurOrderByWithAggregationInput[] by: Prisma.FournisseurScalarFieldEnum[] | Prisma.FournisseurScalarFieldEnum having?: Prisma.fournisseurScalarWhereWithAggregatesInput take?: number skip?: number _count?: FournisseurCountAggregateInputType | true _avg?: FournisseurAvgAggregateInputType _sum?: FournisseurSumAggregateInputType _min?: FournisseurMinAggregateInputType _max?: FournisseurMaxAggregateInputType } export type FournisseurGroupByOutputType = { id: number nom: string email: string actif: boolean _count: FournisseurCountAggregateOutputType | null _avg: FournisseurAvgAggregateOutputType | null _sum: FournisseurSumAggregateOutputType | null _min: FournisseurMinAggregateOutputType | null _max: FournisseurMaxAggregateOutputType | null } type GetFournisseurGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FournisseurGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type fournisseurWhereInput = { AND?: Prisma.fournisseurWhereInput | Prisma.fournisseurWhereInput[] OR?: Prisma.fournisseurWhereInput[] NOT?: Prisma.fournisseurWhereInput | Prisma.fournisseurWhereInput[] id?: Prisma.IntFilter<"fournisseur"> | number nom?: Prisma.StringFilter<"fournisseur"> | string email?: Prisma.StringFilter<"fournisseur"> | string actif?: Prisma.BoolFilter<"fournisseur"> | boolean } export type fournisseurOrderByWithRelationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder email?: Prisma.SortOrder actif?: Prisma.SortOrder _relevance?: Prisma.fournisseurOrderByRelevanceInput } export type fournisseurWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.fournisseurWhereInput | Prisma.fournisseurWhereInput[] OR?: Prisma.fournisseurWhereInput[] NOT?: Prisma.fournisseurWhereInput | Prisma.fournisseurWhereInput[] nom?: Prisma.StringFilter<"fournisseur"> | string email?: Prisma.StringFilter<"fournisseur"> | string actif?: Prisma.BoolFilter<"fournisseur"> | boolean }, "id"> export type fournisseurOrderByWithAggregationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder email?: Prisma.SortOrder actif?: Prisma.SortOrder _count?: Prisma.fournisseurCountOrderByAggregateInput _avg?: Prisma.fournisseurAvgOrderByAggregateInput _max?: Prisma.fournisseurMaxOrderByAggregateInput _min?: Prisma.fournisseurMinOrderByAggregateInput _sum?: Prisma.fournisseurSumOrderByAggregateInput } export type fournisseurScalarWhereWithAggregatesInput = { AND?: Prisma.fournisseurScalarWhereWithAggregatesInput | Prisma.fournisseurScalarWhereWithAggregatesInput[] OR?: Prisma.fournisseurScalarWhereWithAggregatesInput[] NOT?: Prisma.fournisseurScalarWhereWithAggregatesInput | Prisma.fournisseurScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"fournisseur"> | number nom?: Prisma.StringWithAggregatesFilter<"fournisseur"> | string email?: Prisma.StringWithAggregatesFilter<"fournisseur"> | string actif?: Prisma.BoolWithAggregatesFilter<"fournisseur"> | boolean } export type fournisseurCreateInput = { nom: string email: string actif?: boolean } export type fournisseurUncheckedCreateInput = { id?: number nom: string email: string actif?: boolean } export type fournisseurUpdateInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type fournisseurUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type fournisseurCreateManyInput = { id?: number nom: string email: string actif?: boolean } export type fournisseurUpdateManyMutationInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type fournisseurUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.StringFieldUpdateOperationsInput | string actif?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type fournisseurOrderByRelevanceInput = { fields: Prisma.fournisseurOrderByRelevanceFieldEnum | Prisma.fournisseurOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type fournisseurCountOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder email?: Prisma.SortOrder actif?: Prisma.SortOrder } export type fournisseurAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type fournisseurMaxOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder email?: Prisma.SortOrder actif?: Prisma.SortOrder } export type fournisseurMinOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder email?: Prisma.SortOrder actif?: Prisma.SortOrder } export type fournisseurSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type fournisseurSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean nom?: boolean email?: boolean actif?: boolean }, ExtArgs["result"]["fournisseur"]> export type fournisseurSelectScalar = { id?: boolean nom?: boolean email?: boolean actif?: boolean } export type fournisseurOmit = runtime.Types.Extensions.GetOmit<"id" | "nom" | "email" | "actif", ExtArgs["result"]["fournisseur"]> export type $fournisseurPayload = { name: "fournisseur" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number nom: string email: string actif: boolean }, ExtArgs["result"]["fournisseur"]> composites: {} } export type fournisseurGetPayload = runtime.Types.Result.GetResult export type fournisseurCountArgs = Omit & { select?: FournisseurCountAggregateInputType | true } export interface fournisseurDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['fournisseur'], meta: { name: 'fournisseur' } } /** * Find zero or one Fournisseur that matches the filter. * @param {fournisseurFindUniqueArgs} args - Arguments to find a Fournisseur * @example * // Get one Fournisseur * const fournisseur = await prisma.fournisseur.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Fournisseur that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {fournisseurFindUniqueOrThrowArgs} args - Arguments to find a Fournisseur * @example * // Get one Fournisseur * const fournisseur = await prisma.fournisseur.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Fournisseur 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 {fournisseurFindFirstArgs} args - Arguments to find a Fournisseur * @example * // Get one Fournisseur * const fournisseur = await prisma.fournisseur.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Fournisseur 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 {fournisseurFindFirstOrThrowArgs} args - Arguments to find a Fournisseur * @example * // Get one Fournisseur * const fournisseur = await prisma.fournisseur.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Fournisseurs 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 {fournisseurFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Fournisseurs * const fournisseurs = await prisma.fournisseur.findMany() * * // Get first 10 Fournisseurs * const fournisseurs = await prisma.fournisseur.findMany({ take: 10 }) * * // Only select the `id` * const fournisseurWithIdOnly = await prisma.fournisseur.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Fournisseur. * @param {fournisseurCreateArgs} args - Arguments to create a Fournisseur. * @example * // Create one Fournisseur * const Fournisseur = await prisma.fournisseur.create({ * data: { * // ... data to create a Fournisseur * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Fournisseurs. * @param {fournisseurCreateManyArgs} args - Arguments to create many Fournisseurs. * @example * // Create many Fournisseurs * const fournisseur = await prisma.fournisseur.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Fournisseur. * @param {fournisseurDeleteArgs} args - Arguments to delete one Fournisseur. * @example * // Delete one Fournisseur * const Fournisseur = await prisma.fournisseur.delete({ * where: { * // ... filter to delete one Fournisseur * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Fournisseur. * @param {fournisseurUpdateArgs} args - Arguments to update one Fournisseur. * @example * // Update one Fournisseur * const fournisseur = await prisma.fournisseur.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Fournisseurs. * @param {fournisseurDeleteManyArgs} args - Arguments to filter Fournisseurs to delete. * @example * // Delete a few Fournisseurs * const { count } = await prisma.fournisseur.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Fournisseurs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fournisseurUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Fournisseurs * const fournisseur = await prisma.fournisseur.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Fournisseur. * @param {fournisseurUpsertArgs} args - Arguments to update or create a Fournisseur. * @example * // Update or create a Fournisseur * const fournisseur = await prisma.fournisseur.upsert({ * create: { * // ... data to create a Fournisseur * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Fournisseur we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__fournisseurClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Fournisseurs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fournisseurCountArgs} args - Arguments to filter Fournisseurs to count. * @example * // Count the number of Fournisseurs * const count = await prisma.fournisseur.count({ * where: { * // ... the filter for the Fournisseurs 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 Fournisseur. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FournisseurAggregateArgs} 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 Fournisseur. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fournisseurGroupByArgs} 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 fournisseurGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: fournisseurGroupByArgs['orderBy'] } : { orderBy?: fournisseurGroupByArgs['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 ? GetFournisseurGroupByPayload : Prisma.PrismaPromise /** * Fields of the fournisseur model */ readonly fields: fournisseurFieldRefs; } /** * The delegate class that acts as a "Promise-like" for fournisseur. * 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__fournisseurClient 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 fournisseur model */ export interface fournisseurFieldRefs { readonly id: Prisma.FieldRef<"fournisseur", 'Int'> readonly nom: Prisma.FieldRef<"fournisseur", 'String'> readonly email: Prisma.FieldRef<"fournisseur", 'String'> readonly actif: Prisma.FieldRef<"fournisseur", 'Boolean'> } // Custom InputTypes /** * fournisseur findUnique */ export type fournisseurFindUniqueArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter, which fournisseur to fetch. */ where: Prisma.fournisseurWhereUniqueInput } /** * fournisseur findUniqueOrThrow */ export type fournisseurFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter, which fournisseur to fetch. */ where: Prisma.fournisseurWhereUniqueInput } /** * fournisseur findFirst */ export type fournisseurFindFirstArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter, which fournisseur to fetch. */ where?: Prisma.fournisseurWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fournisseurs to fetch. */ orderBy?: Prisma.fournisseurOrderByWithRelationInput | Prisma.fournisseurOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fournisseurs. */ cursor?: Prisma.fournisseurWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fournisseurs 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` fournisseurs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fournisseurs. */ distinct?: Prisma.FournisseurScalarFieldEnum | Prisma.FournisseurScalarFieldEnum[] } /** * fournisseur findFirstOrThrow */ export type fournisseurFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter, which fournisseur to fetch. */ where?: Prisma.fournisseurWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fournisseurs to fetch. */ orderBy?: Prisma.fournisseurOrderByWithRelationInput | Prisma.fournisseurOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fournisseurs. */ cursor?: Prisma.fournisseurWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fournisseurs 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` fournisseurs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fournisseurs. */ distinct?: Prisma.FournisseurScalarFieldEnum | Prisma.FournisseurScalarFieldEnum[] } /** * fournisseur findMany */ export type fournisseurFindManyArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter, which fournisseurs to fetch. */ where?: Prisma.fournisseurWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fournisseurs to fetch. */ orderBy?: Prisma.fournisseurOrderByWithRelationInput | Prisma.fournisseurOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing fournisseurs. */ cursor?: Prisma.fournisseurWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fournisseurs 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` fournisseurs. */ skip?: number distinct?: Prisma.FournisseurScalarFieldEnum | Prisma.FournisseurScalarFieldEnum[] } /** * fournisseur create */ export type fournisseurCreateArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * The data needed to create a fournisseur. */ data: Prisma.XOR } /** * fournisseur createMany */ export type fournisseurCreateManyArgs = { /** * The data used to create many fournisseurs. */ data: Prisma.fournisseurCreateManyInput | Prisma.fournisseurCreateManyInput[] skipDuplicates?: boolean } /** * fournisseur update */ export type fournisseurUpdateArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * The data needed to update a fournisseur. */ data: Prisma.XOR /** * Choose, which fournisseur to update. */ where: Prisma.fournisseurWhereUniqueInput } /** * fournisseur updateMany */ export type fournisseurUpdateManyArgs = { /** * The data used to update fournisseurs. */ data: Prisma.XOR /** * Filter which fournisseurs to update */ where?: Prisma.fournisseurWhereInput /** * Limit how many fournisseurs to update. */ limit?: number } /** * fournisseur upsert */ export type fournisseurUpsertArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * The filter to search for the fournisseur to update in case it exists. */ where: Prisma.fournisseurWhereUniqueInput /** * In case the fournisseur found by the `where` argument doesn't exist, create a new fournisseur with this data. */ create: Prisma.XOR /** * In case the fournisseur was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * fournisseur delete */ export type fournisseurDeleteArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null /** * Filter which fournisseur to delete. */ where: Prisma.fournisseurWhereUniqueInput } /** * fournisseur deleteMany */ export type fournisseurDeleteManyArgs = { /** * Filter which fournisseurs to delete */ where?: Prisma.fournisseurWhereInput /** * Limit how many fournisseurs to delete. */ limit?: number } /** * fournisseur without action */ export type fournisseurDefaultArgs = { /** * Select specific fields to fetch from the fournisseur */ select?: Prisma.fournisseurSelect | null /** * Omit specific fields from the fournisseur */ omit?: Prisma.fournisseurOmit | null }