/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `product_cat` 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 product_cat * */ export type product_catModel = runtime.Types.Result.DefaultSelection export type AggregateProduct_cat = { _count: Product_catCountAggregateOutputType | null _avg: Product_catAvgAggregateOutputType | null _sum: Product_catSumAggregateOutputType | null _min: Product_catMinAggregateOutputType | null _max: Product_catMaxAggregateOutputType | null } export type Product_catAvgAggregateOutputType = { id: number | null status: number | null num_compte: number | null combo_dispo: number | null } export type Product_catSumAggregateOutputType = { id: number | null status: number | null num_compte: bigint | null combo_dispo: number | null } export type Product_catMinAggregateOutputType = { id: number | null name: string | null notes: string | null status: number | null num_compte: bigint | null combo_dispo: number | null } export type Product_catMaxAggregateOutputType = { id: number | null name: string | null notes: string | null status: number | null num_compte: bigint | null combo_dispo: number | null } export type Product_catCountAggregateOutputType = { id: number name: number notes: number status: number num_compte: number combo_dispo: number _all: number } export type Product_catAvgAggregateInputType = { id?: true status?: true num_compte?: true combo_dispo?: true } export type Product_catSumAggregateInputType = { id?: true status?: true num_compte?: true combo_dispo?: true } export type Product_catMinAggregateInputType = { id?: true name?: true notes?: true status?: true num_compte?: true combo_dispo?: true } export type Product_catMaxAggregateInputType = { id?: true name?: true notes?: true status?: true num_compte?: true combo_dispo?: true } export type Product_catCountAggregateInputType = { id?: true name?: true notes?: true status?: true num_compte?: true combo_dispo?: true _all?: true } export type Product_catAggregateArgs = { /** * Filter which product_cat to aggregate. */ where?: Prisma.product_catWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_cats to fetch. */ orderBy?: Prisma.product_catOrderByWithRelationInput | Prisma.product_catOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.product_catWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_cats 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` product_cats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned product_cats **/ _count?: true | Product_catCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Product_catAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Product_catSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Product_catMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Product_catMaxAggregateInputType } export type GetProduct_catAggregateType = { [P in keyof T & keyof AggregateProduct_cat]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type product_catGroupByArgs = { where?: Prisma.product_catWhereInput orderBy?: Prisma.product_catOrderByWithAggregationInput | Prisma.product_catOrderByWithAggregationInput[] by: Prisma.Product_catScalarFieldEnum[] | Prisma.Product_catScalarFieldEnum having?: Prisma.product_catScalarWhereWithAggregatesInput take?: number skip?: number _count?: Product_catCountAggregateInputType | true _avg?: Product_catAvgAggregateInputType _sum?: Product_catSumAggregateInputType _min?: Product_catMinAggregateInputType _max?: Product_catMaxAggregateInputType } export type Product_catGroupByOutputType = { id: number name: string | null notes: string | null status: number | null num_compte: bigint | null combo_dispo: number _count: Product_catCountAggregateOutputType | null _avg: Product_catAvgAggregateOutputType | null _sum: Product_catSumAggregateOutputType | null _min: Product_catMinAggregateOutputType | null _max: Product_catMaxAggregateOutputType | null } type GetProduct_catGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Product_catGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type product_catWhereInput = { AND?: Prisma.product_catWhereInput | Prisma.product_catWhereInput[] OR?: Prisma.product_catWhereInput[] NOT?: Prisma.product_catWhereInput | Prisma.product_catWhereInput[] id?: Prisma.IntFilter<"product_cat"> | number name?: Prisma.StringNullableFilter<"product_cat"> | string | null notes?: Prisma.StringNullableFilter<"product_cat"> | string | null status?: Prisma.IntNullableFilter<"product_cat"> | number | null num_compte?: Prisma.BigIntNullableFilter<"product_cat"> | bigint | number | null combo_dispo?: Prisma.IntFilter<"product_cat"> | number } export type product_catOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder notes?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrderInput | Prisma.SortOrder num_compte?: Prisma.SortOrderInput | Prisma.SortOrder combo_dispo?: Prisma.SortOrder _relevance?: Prisma.product_catOrderByRelevanceInput } export type product_catWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.product_catWhereInput | Prisma.product_catWhereInput[] OR?: Prisma.product_catWhereInput[] NOT?: Prisma.product_catWhereInput | Prisma.product_catWhereInput[] name?: Prisma.StringNullableFilter<"product_cat"> | string | null notes?: Prisma.StringNullableFilter<"product_cat"> | string | null status?: Prisma.IntNullableFilter<"product_cat"> | number | null num_compte?: Prisma.BigIntNullableFilter<"product_cat"> | bigint | number | null combo_dispo?: Prisma.IntFilter<"product_cat"> | number }, "id"> export type product_catOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder notes?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrderInput | Prisma.SortOrder num_compte?: Prisma.SortOrderInput | Prisma.SortOrder combo_dispo?: Prisma.SortOrder _count?: Prisma.product_catCountOrderByAggregateInput _avg?: Prisma.product_catAvgOrderByAggregateInput _max?: Prisma.product_catMaxOrderByAggregateInput _min?: Prisma.product_catMinOrderByAggregateInput _sum?: Prisma.product_catSumOrderByAggregateInput } export type product_catScalarWhereWithAggregatesInput = { AND?: Prisma.product_catScalarWhereWithAggregatesInput | Prisma.product_catScalarWhereWithAggregatesInput[] OR?: Prisma.product_catScalarWhereWithAggregatesInput[] NOT?: Prisma.product_catScalarWhereWithAggregatesInput | Prisma.product_catScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"product_cat"> | number name?: Prisma.StringNullableWithAggregatesFilter<"product_cat"> | string | null notes?: Prisma.StringNullableWithAggregatesFilter<"product_cat"> | string | null status?: Prisma.IntNullableWithAggregatesFilter<"product_cat"> | number | null num_compte?: Prisma.BigIntNullableWithAggregatesFilter<"product_cat"> | bigint | number | null combo_dispo?: Prisma.IntWithAggregatesFilter<"product_cat"> | number } export type product_catCreateInput = { name?: string | null notes?: string | null status?: number | null num_compte?: bigint | number | null combo_dispo?: number } export type product_catUncheckedCreateInput = { id?: number name?: string | null notes?: string | null status?: number | null num_compte?: bigint | number | null combo_dispo?: number } export type product_catUpdateInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null combo_dispo?: Prisma.IntFieldUpdateOperationsInput | number } export type product_catUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null combo_dispo?: Prisma.IntFieldUpdateOperationsInput | number } export type product_catCreateManyInput = { id?: number name?: string | null notes?: string | null status?: number | null num_compte?: bigint | number | null combo_dispo?: number } export type product_catUpdateManyMutationInput = { name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null combo_dispo?: Prisma.IntFieldUpdateOperationsInput | number } export type product_catUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableIntFieldUpdateOperationsInput | number | null num_compte?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null combo_dispo?: Prisma.IntFieldUpdateOperationsInput | number } export type product_catOrderByRelevanceInput = { fields: Prisma.product_catOrderByRelevanceFieldEnum | Prisma.product_catOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type product_catCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder notes?: Prisma.SortOrder status?: Prisma.SortOrder num_compte?: Prisma.SortOrder combo_dispo?: Prisma.SortOrder } export type product_catAvgOrderByAggregateInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder num_compte?: Prisma.SortOrder combo_dispo?: Prisma.SortOrder } export type product_catMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder notes?: Prisma.SortOrder status?: Prisma.SortOrder num_compte?: Prisma.SortOrder combo_dispo?: Prisma.SortOrder } export type product_catMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder notes?: Prisma.SortOrder status?: Prisma.SortOrder num_compte?: Prisma.SortOrder combo_dispo?: Prisma.SortOrder } export type product_catSumOrderByAggregateInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder num_compte?: Prisma.SortOrder combo_dispo?: Prisma.SortOrder } export type product_catSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean notes?: boolean status?: boolean num_compte?: boolean combo_dispo?: boolean }, ExtArgs["result"]["product_cat"]> export type product_catSelectScalar = { id?: boolean name?: boolean notes?: boolean status?: boolean num_compte?: boolean combo_dispo?: boolean } export type product_catOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "notes" | "status" | "num_compte" | "combo_dispo", ExtArgs["result"]["product_cat"]> export type $product_catPayload = { name: "product_cat" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name: string | null notes: string | null status: number | null num_compte: bigint | null combo_dispo: number }, ExtArgs["result"]["product_cat"]> composites: {} } export type product_catGetPayload = runtime.Types.Result.GetResult export type product_catCountArgs = Omit & { select?: Product_catCountAggregateInputType | true } export interface product_catDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['product_cat'], meta: { name: 'product_cat' } } /** * Find zero or one Product_cat that matches the filter. * @param {product_catFindUniqueArgs} args - Arguments to find a Product_cat * @example * // Get one Product_cat * const product_cat = await prisma.product_cat.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Product_cat that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {product_catFindUniqueOrThrowArgs} args - Arguments to find a Product_cat * @example * // Get one Product_cat * const product_cat = await prisma.product_cat.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Product_cat 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 {product_catFindFirstArgs} args - Arguments to find a Product_cat * @example * // Get one Product_cat * const product_cat = await prisma.product_cat.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Product_cat 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 {product_catFindFirstOrThrowArgs} args - Arguments to find a Product_cat * @example * // Get one Product_cat * const product_cat = await prisma.product_cat.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Product_cats 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 {product_catFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Product_cats * const product_cats = await prisma.product_cat.findMany() * * // Get first 10 Product_cats * const product_cats = await prisma.product_cat.findMany({ take: 10 }) * * // Only select the `id` * const product_catWithIdOnly = await prisma.product_cat.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Product_cat. * @param {product_catCreateArgs} args - Arguments to create a Product_cat. * @example * // Create one Product_cat * const Product_cat = await prisma.product_cat.create({ * data: { * // ... data to create a Product_cat * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Product_cats. * @param {product_catCreateManyArgs} args - Arguments to create many Product_cats. * @example * // Create many Product_cats * const product_cat = await prisma.product_cat.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Product_cat. * @param {product_catDeleteArgs} args - Arguments to delete one Product_cat. * @example * // Delete one Product_cat * const Product_cat = await prisma.product_cat.delete({ * where: { * // ... filter to delete one Product_cat * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Product_cat. * @param {product_catUpdateArgs} args - Arguments to update one Product_cat. * @example * // Update one Product_cat * const product_cat = await prisma.product_cat.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Product_cats. * @param {product_catDeleteManyArgs} args - Arguments to filter Product_cats to delete. * @example * // Delete a few Product_cats * const { count } = await prisma.product_cat.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Product_cats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_catUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Product_cats * const product_cat = await prisma.product_cat.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Product_cat. * @param {product_catUpsertArgs} args - Arguments to update or create a Product_cat. * @example * // Update or create a Product_cat * const product_cat = await prisma.product_cat.upsert({ * create: { * // ... data to create a Product_cat * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Product_cat we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__product_catClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Product_cats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_catCountArgs} args - Arguments to filter Product_cats to count. * @example * // Count the number of Product_cats * const count = await prisma.product_cat.count({ * where: { * // ... the filter for the Product_cats 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 Product_cat. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Product_catAggregateArgs} 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 Product_cat. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_catGroupByArgs} 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 product_catGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: product_catGroupByArgs['orderBy'] } : { orderBy?: product_catGroupByArgs['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 ? GetProduct_catGroupByPayload : Prisma.PrismaPromise /** * Fields of the product_cat model */ readonly fields: product_catFieldRefs; } /** * The delegate class that acts as a "Promise-like" for product_cat. * 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__product_catClient 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 product_cat model */ export interface product_catFieldRefs { readonly id: Prisma.FieldRef<"product_cat", 'Int'> readonly name: Prisma.FieldRef<"product_cat", 'String'> readonly notes: Prisma.FieldRef<"product_cat", 'String'> readonly status: Prisma.FieldRef<"product_cat", 'Int'> readonly num_compte: Prisma.FieldRef<"product_cat", 'BigInt'> readonly combo_dispo: Prisma.FieldRef<"product_cat", 'Int'> } // Custom InputTypes /** * product_cat findUnique */ export type product_catFindUniqueArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter, which product_cat to fetch. */ where: Prisma.product_catWhereUniqueInput } /** * product_cat findUniqueOrThrow */ export type product_catFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter, which product_cat to fetch. */ where: Prisma.product_catWhereUniqueInput } /** * product_cat findFirst */ export type product_catFindFirstArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter, which product_cat to fetch. */ where?: Prisma.product_catWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_cats to fetch. */ orderBy?: Prisma.product_catOrderByWithRelationInput | Prisma.product_catOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_cats. */ cursor?: Prisma.product_catWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_cats 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` product_cats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_cats. */ distinct?: Prisma.Product_catScalarFieldEnum | Prisma.Product_catScalarFieldEnum[] } /** * product_cat findFirstOrThrow */ export type product_catFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter, which product_cat to fetch. */ where?: Prisma.product_catWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_cats to fetch. */ orderBy?: Prisma.product_catOrderByWithRelationInput | Prisma.product_catOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_cats. */ cursor?: Prisma.product_catWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_cats 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` product_cats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_cats. */ distinct?: Prisma.Product_catScalarFieldEnum | Prisma.Product_catScalarFieldEnum[] } /** * product_cat findMany */ export type product_catFindManyArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter, which product_cats to fetch. */ where?: Prisma.product_catWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_cats to fetch. */ orderBy?: Prisma.product_catOrderByWithRelationInput | Prisma.product_catOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing product_cats. */ cursor?: Prisma.product_catWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_cats 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` product_cats. */ skip?: number distinct?: Prisma.Product_catScalarFieldEnum | Prisma.Product_catScalarFieldEnum[] } /** * product_cat create */ export type product_catCreateArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * The data needed to create a product_cat. */ data?: Prisma.XOR } /** * product_cat createMany */ export type product_catCreateManyArgs = { /** * The data used to create many product_cats. */ data: Prisma.product_catCreateManyInput | Prisma.product_catCreateManyInput[] skipDuplicates?: boolean } /** * product_cat update */ export type product_catUpdateArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * The data needed to update a product_cat. */ data: Prisma.XOR /** * Choose, which product_cat to update. */ where: Prisma.product_catWhereUniqueInput } /** * product_cat updateMany */ export type product_catUpdateManyArgs = { /** * The data used to update product_cats. */ data: Prisma.XOR /** * Filter which product_cats to update */ where?: Prisma.product_catWhereInput /** * Limit how many product_cats to update. */ limit?: number } /** * product_cat upsert */ export type product_catUpsertArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * The filter to search for the product_cat to update in case it exists. */ where: Prisma.product_catWhereUniqueInput /** * In case the product_cat found by the `where` argument doesn't exist, create a new product_cat with this data. */ create: Prisma.XOR /** * In case the product_cat was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * product_cat delete */ export type product_catDeleteArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null /** * Filter which product_cat to delete. */ where: Prisma.product_catWhereUniqueInput } /** * product_cat deleteMany */ export type product_catDeleteManyArgs = { /** * Filter which product_cats to delete */ where?: Prisma.product_catWhereInput /** * Limit how many product_cats to delete. */ limit?: number } /** * product_cat without action */ export type product_catDefaultArgs = { /** * Select specific fields to fetch from the product_cat */ select?: Prisma.product_catSelect | null /** * Omit specific fields from the product_cat */ omit?: Prisma.product_catOmit | null }