/* !!! 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_speciaux` 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_speciaux * */ export type product_speciauxModel = runtime.Types.Result.DefaultSelection export type AggregateProduct_speciaux = { _count: Product_speciauxCountAggregateOutputType | null _avg: Product_speciauxAvgAggregateOutputType | null _sum: Product_speciauxSumAggregateOutputType | null _min: Product_speciauxMinAggregateOutputType | null _max: Product_speciauxMaxAggregateOutputType | null } export type Product_speciauxAvgAggregateOutputType = { id: number | null product_zone_id: number | null product_id: number | null price: number | null price_install: number | null exp_timestamp: number | null duree_contrat: number | null } export type Product_speciauxSumAggregateOutputType = { id: bigint | null product_zone_id: bigint | null product_id: bigint | null price: number | null price_install: number | null exp_timestamp: bigint | null duree_contrat: number | null } export type Product_speciauxMinAggregateOutputType = { id: bigint | null product_zone_id: bigint | null product_id: bigint | null price: number | null price_install: number | null exp_timestamp: bigint | null duree_contrat: number | null } export type Product_speciauxMaxAggregateOutputType = { id: bigint | null product_zone_id: bigint | null product_id: bigint | null price: number | null price_install: number | null exp_timestamp: bigint | null duree_contrat: number | null } export type Product_speciauxCountAggregateOutputType = { id: number product_zone_id: number product_id: number price: number price_install: number exp_timestamp: number duree_contrat: number _all: number } export type Product_speciauxAvgAggregateInputType = { id?: true product_zone_id?: true product_id?: true price?: true price_install?: true exp_timestamp?: true duree_contrat?: true } export type Product_speciauxSumAggregateInputType = { id?: true product_zone_id?: true product_id?: true price?: true price_install?: true exp_timestamp?: true duree_contrat?: true } export type Product_speciauxMinAggregateInputType = { id?: true product_zone_id?: true product_id?: true price?: true price_install?: true exp_timestamp?: true duree_contrat?: true } export type Product_speciauxMaxAggregateInputType = { id?: true product_zone_id?: true product_id?: true price?: true price_install?: true exp_timestamp?: true duree_contrat?: true } export type Product_speciauxCountAggregateInputType = { id?: true product_zone_id?: true product_id?: true price?: true price_install?: true exp_timestamp?: true duree_contrat?: true _all?: true } export type Product_speciauxAggregateArgs = { /** * Filter which product_speciaux to aggregate. */ where?: Prisma.product_speciauxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_speciauxes to fetch. */ orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.product_speciauxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_speciauxes 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_speciauxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned product_speciauxes **/ _count?: true | Product_speciauxCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Product_speciauxAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Product_speciauxSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Product_speciauxMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Product_speciauxMaxAggregateInputType } export type GetProduct_speciauxAggregateType = { [P in keyof T & keyof AggregateProduct_speciaux]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type product_speciauxGroupByArgs = { where?: Prisma.product_speciauxWhereInput orderBy?: Prisma.product_speciauxOrderByWithAggregationInput | Prisma.product_speciauxOrderByWithAggregationInput[] by: Prisma.Product_speciauxScalarFieldEnum[] | Prisma.Product_speciauxScalarFieldEnum having?: Prisma.product_speciauxScalarWhereWithAggregatesInput take?: number skip?: number _count?: Product_speciauxCountAggregateInputType | true _avg?: Product_speciauxAvgAggregateInputType _sum?: Product_speciauxSumAggregateInputType _min?: Product_speciauxMinAggregateInputType _max?: Product_speciauxMaxAggregateInputType } export type Product_speciauxGroupByOutputType = { id: bigint product_zone_id: bigint product_id: bigint price: number | null price_install: number | null exp_timestamp: bigint | null duree_contrat: number | null _count: Product_speciauxCountAggregateOutputType | null _avg: Product_speciauxAvgAggregateOutputType | null _sum: Product_speciauxSumAggregateOutputType | null _min: Product_speciauxMinAggregateOutputType | null _max: Product_speciauxMaxAggregateOutputType | null } type GetProduct_speciauxGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Product_speciauxGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type product_speciauxWhereInput = { AND?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[] OR?: Prisma.product_speciauxWhereInput[] NOT?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[] id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number product_zone_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number product_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number price?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null price_install?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null exp_timestamp?: Prisma.BigIntNullableFilter<"product_speciaux"> | bigint | number | null duree_contrat?: Prisma.IntNullableFilter<"product_speciaux"> | number | null } export type product_speciauxOrderByWithRelationInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrderInput | Prisma.SortOrder price_install?: Prisma.SortOrderInput | Prisma.SortOrder exp_timestamp?: Prisma.SortOrderInput | Prisma.SortOrder duree_contrat?: Prisma.SortOrderInput | Prisma.SortOrder } export type product_speciauxWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[] OR?: Prisma.product_speciauxWhereInput[] NOT?: Prisma.product_speciauxWhereInput | Prisma.product_speciauxWhereInput[] product_zone_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number product_id?: Prisma.BigIntFilter<"product_speciaux"> | bigint | number price?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null price_install?: Prisma.FloatNullableFilter<"product_speciaux"> | number | null exp_timestamp?: Prisma.BigIntNullableFilter<"product_speciaux"> | bigint | number | null duree_contrat?: Prisma.IntNullableFilter<"product_speciaux"> | number | null }, "id"> export type product_speciauxOrderByWithAggregationInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrderInput | Prisma.SortOrder price_install?: Prisma.SortOrderInput | Prisma.SortOrder exp_timestamp?: Prisma.SortOrderInput | Prisma.SortOrder duree_contrat?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.product_speciauxCountOrderByAggregateInput _avg?: Prisma.product_speciauxAvgOrderByAggregateInput _max?: Prisma.product_speciauxMaxOrderByAggregateInput _min?: Prisma.product_speciauxMinOrderByAggregateInput _sum?: Prisma.product_speciauxSumOrderByAggregateInput } export type product_speciauxScalarWhereWithAggregatesInput = { AND?: Prisma.product_speciauxScalarWhereWithAggregatesInput | Prisma.product_speciauxScalarWhereWithAggregatesInput[] OR?: Prisma.product_speciauxScalarWhereWithAggregatesInput[] NOT?: Prisma.product_speciauxScalarWhereWithAggregatesInput | Prisma.product_speciauxScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number product_zone_id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number product_id?: Prisma.BigIntWithAggregatesFilter<"product_speciaux"> | bigint | number price?: Prisma.FloatNullableWithAggregatesFilter<"product_speciaux"> | number | null price_install?: Prisma.FloatNullableWithAggregatesFilter<"product_speciaux"> | number | null exp_timestamp?: Prisma.BigIntNullableWithAggregatesFilter<"product_speciaux"> | bigint | number | null duree_contrat?: Prisma.IntNullableWithAggregatesFilter<"product_speciaux"> | number | null } export type product_speciauxCreateInput = { id?: bigint | number product_zone_id: bigint | number product_id: bigint | number price?: number | null price_install?: number | null exp_timestamp?: bigint | number | null duree_contrat?: number | null } export type product_speciauxUncheckedCreateInput = { id?: bigint | number product_zone_id: bigint | number product_id: bigint | number price?: number | null price_install?: number | null exp_timestamp?: bigint | number | null duree_contrat?: number | null } export type product_speciauxUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type product_speciauxUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type product_speciauxCreateManyInput = { id?: bigint | number product_zone_id: bigint | number product_id: bigint | number price?: number | null price_install?: number | null exp_timestamp?: bigint | number | null duree_contrat?: number | null } export type product_speciauxUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type product_speciauxUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number product_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null price_install?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null exp_timestamp?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null duree_contrat?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type product_speciauxCountOrderByAggregateInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrder price_install?: Prisma.SortOrder exp_timestamp?: Prisma.SortOrder duree_contrat?: Prisma.SortOrder } export type product_speciauxAvgOrderByAggregateInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrder price_install?: Prisma.SortOrder exp_timestamp?: Prisma.SortOrder duree_contrat?: Prisma.SortOrder } export type product_speciauxMaxOrderByAggregateInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrder price_install?: Prisma.SortOrder exp_timestamp?: Prisma.SortOrder duree_contrat?: Prisma.SortOrder } export type product_speciauxMinOrderByAggregateInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrder price_install?: Prisma.SortOrder exp_timestamp?: Prisma.SortOrder duree_contrat?: Prisma.SortOrder } export type product_speciauxSumOrderByAggregateInput = { id?: Prisma.SortOrder product_zone_id?: Prisma.SortOrder product_id?: Prisma.SortOrder price?: Prisma.SortOrder price_install?: Prisma.SortOrder exp_timestamp?: Prisma.SortOrder duree_contrat?: Prisma.SortOrder } export type product_speciauxSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean product_zone_id?: boolean product_id?: boolean price?: boolean price_install?: boolean exp_timestamp?: boolean duree_contrat?: boolean }, ExtArgs["result"]["product_speciaux"]> export type product_speciauxSelectScalar = { id?: boolean product_zone_id?: boolean product_id?: boolean price?: boolean price_install?: boolean exp_timestamp?: boolean duree_contrat?: boolean } export type product_speciauxOmit = runtime.Types.Extensions.GetOmit<"id" | "product_zone_id" | "product_id" | "price" | "price_install" | "exp_timestamp" | "duree_contrat", ExtArgs["result"]["product_speciaux"]> export type $product_speciauxPayload = { name: "product_speciaux" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint product_zone_id: bigint product_id: bigint price: number | null price_install: number | null exp_timestamp: bigint | null duree_contrat: number | null }, ExtArgs["result"]["product_speciaux"]> composites: {} } export type product_speciauxGetPayload = runtime.Types.Result.GetResult export type product_speciauxCountArgs = Omit & { select?: Product_speciauxCountAggregateInputType | true } export interface product_speciauxDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['product_speciaux'], meta: { name: 'product_speciaux' } } /** * Find zero or one Product_speciaux that matches the filter. * @param {product_speciauxFindUniqueArgs} args - Arguments to find a Product_speciaux * @example * // Get one Product_speciaux * const product_speciaux = await prisma.product_speciaux.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Product_speciaux that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {product_speciauxFindUniqueOrThrowArgs} args - Arguments to find a Product_speciaux * @example * // Get one Product_speciaux * const product_speciaux = await prisma.product_speciaux.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Product_speciaux 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_speciauxFindFirstArgs} args - Arguments to find a Product_speciaux * @example * // Get one Product_speciaux * const product_speciaux = await prisma.product_speciaux.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Product_speciaux 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_speciauxFindFirstOrThrowArgs} args - Arguments to find a Product_speciaux * @example * // Get one Product_speciaux * const product_speciaux = await prisma.product_speciaux.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Product_speciauxes 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_speciauxFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Product_speciauxes * const product_speciauxes = await prisma.product_speciaux.findMany() * * // Get first 10 Product_speciauxes * const product_speciauxes = await prisma.product_speciaux.findMany({ take: 10 }) * * // Only select the `id` * const product_speciauxWithIdOnly = await prisma.product_speciaux.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Product_speciaux. * @param {product_speciauxCreateArgs} args - Arguments to create a Product_speciaux. * @example * // Create one Product_speciaux * const Product_speciaux = await prisma.product_speciaux.create({ * data: { * // ... data to create a Product_speciaux * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Product_speciauxes. * @param {product_speciauxCreateManyArgs} args - Arguments to create many Product_speciauxes. * @example * // Create many Product_speciauxes * const product_speciaux = await prisma.product_speciaux.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Product_speciaux. * @param {product_speciauxDeleteArgs} args - Arguments to delete one Product_speciaux. * @example * // Delete one Product_speciaux * const Product_speciaux = await prisma.product_speciaux.delete({ * where: { * // ... filter to delete one Product_speciaux * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Product_speciaux. * @param {product_speciauxUpdateArgs} args - Arguments to update one Product_speciaux. * @example * // Update one Product_speciaux * const product_speciaux = await prisma.product_speciaux.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Product_speciauxes. * @param {product_speciauxDeleteManyArgs} args - Arguments to filter Product_speciauxes to delete. * @example * // Delete a few Product_speciauxes * const { count } = await prisma.product_speciaux.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Product_speciauxes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_speciauxUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Product_speciauxes * const product_speciaux = await prisma.product_speciaux.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Product_speciaux. * @param {product_speciauxUpsertArgs} args - Arguments to update or create a Product_speciaux. * @example * // Update or create a Product_speciaux * const product_speciaux = await prisma.product_speciaux.upsert({ * create: { * // ... data to create a Product_speciaux * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Product_speciaux we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__product_speciauxClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Product_speciauxes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_speciauxCountArgs} args - Arguments to filter Product_speciauxes to count. * @example * // Count the number of Product_speciauxes * const count = await prisma.product_speciaux.count({ * where: { * // ... the filter for the Product_speciauxes 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_speciaux. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Product_speciauxAggregateArgs} 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_speciaux. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_speciauxGroupByArgs} 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_speciauxGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: product_speciauxGroupByArgs['orderBy'] } : { orderBy?: product_speciauxGroupByArgs['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_speciauxGroupByPayload : Prisma.PrismaPromise /** * Fields of the product_speciaux model */ readonly fields: product_speciauxFieldRefs; } /** * The delegate class that acts as a "Promise-like" for product_speciaux. * 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_speciauxClient 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_speciaux model */ export interface product_speciauxFieldRefs { readonly id: Prisma.FieldRef<"product_speciaux", 'BigInt'> readonly product_zone_id: Prisma.FieldRef<"product_speciaux", 'BigInt'> readonly product_id: Prisma.FieldRef<"product_speciaux", 'BigInt'> readonly price: Prisma.FieldRef<"product_speciaux", 'Float'> readonly price_install: Prisma.FieldRef<"product_speciaux", 'Float'> readonly exp_timestamp: Prisma.FieldRef<"product_speciaux", 'BigInt'> readonly duree_contrat: Prisma.FieldRef<"product_speciaux", 'Int'> } // Custom InputTypes /** * product_speciaux findUnique */ export type product_speciauxFindUniqueArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter, which product_speciaux to fetch. */ where: Prisma.product_speciauxWhereUniqueInput } /** * product_speciaux findUniqueOrThrow */ export type product_speciauxFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter, which product_speciaux to fetch. */ where: Prisma.product_speciauxWhereUniqueInput } /** * product_speciaux findFirst */ export type product_speciauxFindFirstArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter, which product_speciaux to fetch. */ where?: Prisma.product_speciauxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_speciauxes to fetch. */ orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_speciauxes. */ cursor?: Prisma.product_speciauxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_speciauxes 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_speciauxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_speciauxes. */ distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[] } /** * product_speciaux findFirstOrThrow */ export type product_speciauxFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter, which product_speciaux to fetch. */ where?: Prisma.product_speciauxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_speciauxes to fetch. */ orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_speciauxes. */ cursor?: Prisma.product_speciauxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_speciauxes 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_speciauxes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_speciauxes. */ distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[] } /** * product_speciaux findMany */ export type product_speciauxFindManyArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter, which product_speciauxes to fetch. */ where?: Prisma.product_speciauxWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_speciauxes to fetch. */ orderBy?: Prisma.product_speciauxOrderByWithRelationInput | Prisma.product_speciauxOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing product_speciauxes. */ cursor?: Prisma.product_speciauxWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_speciauxes 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_speciauxes. */ skip?: number distinct?: Prisma.Product_speciauxScalarFieldEnum | Prisma.Product_speciauxScalarFieldEnum[] } /** * product_speciaux create */ export type product_speciauxCreateArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * The data needed to create a product_speciaux. */ data: Prisma.XOR } /** * product_speciaux createMany */ export type product_speciauxCreateManyArgs = { /** * The data used to create many product_speciauxes. */ data: Prisma.product_speciauxCreateManyInput | Prisma.product_speciauxCreateManyInput[] skipDuplicates?: boolean } /** * product_speciaux update */ export type product_speciauxUpdateArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * The data needed to update a product_speciaux. */ data: Prisma.XOR /** * Choose, which product_speciaux to update. */ where: Prisma.product_speciauxWhereUniqueInput } /** * product_speciaux updateMany */ export type product_speciauxUpdateManyArgs = { /** * The data used to update product_speciauxes. */ data: Prisma.XOR /** * Filter which product_speciauxes to update */ where?: Prisma.product_speciauxWhereInput /** * Limit how many product_speciauxes to update. */ limit?: number } /** * product_speciaux upsert */ export type product_speciauxUpsertArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * The filter to search for the product_speciaux to update in case it exists. */ where: Prisma.product_speciauxWhereUniqueInput /** * In case the product_speciaux found by the `where` argument doesn't exist, create a new product_speciaux with this data. */ create: Prisma.XOR /** * In case the product_speciaux was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * product_speciaux delete */ export type product_speciauxDeleteArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null /** * Filter which product_speciaux to delete. */ where: Prisma.product_speciauxWhereUniqueInput } /** * product_speciaux deleteMany */ export type product_speciauxDeleteManyArgs = { /** * Filter which product_speciauxes to delete */ where?: Prisma.product_speciauxWhereInput /** * Limit how many product_speciauxes to delete. */ limit?: number } /** * product_speciaux without action */ export type product_speciauxDefaultArgs = { /** * Select specific fields to fetch from the product_speciaux */ select?: Prisma.product_speciauxSelect | null /** * Omit specific fields from the product_speciaux */ omit?: Prisma.product_speciauxOmit | null }