/* !!! 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_zone` 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_zone * */ export type product_zoneModel = runtime.Types.Result.DefaultSelection export type AggregateProduct_zone = { _count: Product_zoneCountAggregateOutputType | null _avg: Product_zoneAvgAggregateOutputType | null _sum: Product_zoneSumAggregateOutputType | null _min: Product_zoneMinAggregateOutputType | null _max: Product_zoneMaxAggregateOutputType | null } export type Product_zoneAvgAggregateOutputType = { id: number | null zoneNumber: number | null } export type Product_zoneSumAggregateOutputType = { id: bigint | null zoneNumber: number | null } export type Product_zoneMinAggregateOutputType = { id: bigint | null zoneNumber: number | null description: string | null } export type Product_zoneMaxAggregateOutputType = { id: bigint | null zoneNumber: number | null description: string | null } export type Product_zoneCountAggregateOutputType = { id: number zoneNumber: number description: number _all: number } export type Product_zoneAvgAggregateInputType = { id?: true zoneNumber?: true } export type Product_zoneSumAggregateInputType = { id?: true zoneNumber?: true } export type Product_zoneMinAggregateInputType = { id?: true zoneNumber?: true description?: true } export type Product_zoneMaxAggregateInputType = { id?: true zoneNumber?: true description?: true } export type Product_zoneCountAggregateInputType = { id?: true zoneNumber?: true description?: true _all?: true } export type Product_zoneAggregateArgs = { /** * Filter which product_zone to aggregate. */ where?: Prisma.product_zoneWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_zones to fetch. */ orderBy?: Prisma.product_zoneOrderByWithRelationInput | Prisma.product_zoneOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.product_zoneWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_zones 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_zones. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned product_zones **/ _count?: true | Product_zoneCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Product_zoneAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Product_zoneSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Product_zoneMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Product_zoneMaxAggregateInputType } export type GetProduct_zoneAggregateType = { [P in keyof T & keyof AggregateProduct_zone]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type product_zoneGroupByArgs = { where?: Prisma.product_zoneWhereInput orderBy?: Prisma.product_zoneOrderByWithAggregationInput | Prisma.product_zoneOrderByWithAggregationInput[] by: Prisma.Product_zoneScalarFieldEnum[] | Prisma.Product_zoneScalarFieldEnum having?: Prisma.product_zoneScalarWhereWithAggregatesInput take?: number skip?: number _count?: Product_zoneCountAggregateInputType | true _avg?: Product_zoneAvgAggregateInputType _sum?: Product_zoneSumAggregateInputType _min?: Product_zoneMinAggregateInputType _max?: Product_zoneMaxAggregateInputType } export type Product_zoneGroupByOutputType = { id: bigint zoneNumber: number description: string | null _count: Product_zoneCountAggregateOutputType | null _avg: Product_zoneAvgAggregateOutputType | null _sum: Product_zoneSumAggregateOutputType | null _min: Product_zoneMinAggregateOutputType | null _max: Product_zoneMaxAggregateOutputType | null } type GetProduct_zoneGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Product_zoneGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type product_zoneWhereInput = { AND?: Prisma.product_zoneWhereInput | Prisma.product_zoneWhereInput[] OR?: Prisma.product_zoneWhereInput[] NOT?: Prisma.product_zoneWhereInput | Prisma.product_zoneWhereInput[] id?: Prisma.BigIntFilter<"product_zone"> | bigint | number zoneNumber?: Prisma.IntFilter<"product_zone"> | number description?: Prisma.StringNullableFilter<"product_zone"> | string | null } export type product_zoneOrderByWithRelationInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.product_zoneOrderByRelevanceInput } export type product_zoneWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.product_zoneWhereInput | Prisma.product_zoneWhereInput[] OR?: Prisma.product_zoneWhereInput[] NOT?: Prisma.product_zoneWhereInput | Prisma.product_zoneWhereInput[] zoneNumber?: Prisma.IntFilter<"product_zone"> | number description?: Prisma.StringNullableFilter<"product_zone"> | string | null }, "id"> export type product_zoneOrderByWithAggregationInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.product_zoneCountOrderByAggregateInput _avg?: Prisma.product_zoneAvgOrderByAggregateInput _max?: Prisma.product_zoneMaxOrderByAggregateInput _min?: Prisma.product_zoneMinOrderByAggregateInput _sum?: Prisma.product_zoneSumOrderByAggregateInput } export type product_zoneScalarWhereWithAggregatesInput = { AND?: Prisma.product_zoneScalarWhereWithAggregatesInput | Prisma.product_zoneScalarWhereWithAggregatesInput[] OR?: Prisma.product_zoneScalarWhereWithAggregatesInput[] NOT?: Prisma.product_zoneScalarWhereWithAggregatesInput | Prisma.product_zoneScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"product_zone"> | bigint | number zoneNumber?: Prisma.IntWithAggregatesFilter<"product_zone"> | number description?: Prisma.StringNullableWithAggregatesFilter<"product_zone"> | string | null } export type product_zoneCreateInput = { id?: bigint | number zoneNumber: number description?: string | null } export type product_zoneUncheckedCreateInput = { id?: bigint | number zoneNumber: number description?: string | null } export type product_zoneUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number zoneNumber?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_zoneUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number zoneNumber?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_zoneCreateManyInput = { id?: bigint | number zoneNumber: number description?: string | null } export type product_zoneUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number zoneNumber?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_zoneUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number zoneNumber?: Prisma.IntFieldUpdateOperationsInput | number description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type product_zoneOrderByRelevanceInput = { fields: Prisma.product_zoneOrderByRelevanceFieldEnum | Prisma.product_zoneOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type product_zoneCountOrderByAggregateInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_zoneAvgOrderByAggregateInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder } export type product_zoneMaxOrderByAggregateInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_zoneMinOrderByAggregateInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder description?: Prisma.SortOrder } export type product_zoneSumOrderByAggregateInput = { id?: Prisma.SortOrder zoneNumber?: Prisma.SortOrder } export type product_zoneSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean zoneNumber?: boolean description?: boolean }, ExtArgs["result"]["product_zone"]> export type product_zoneSelectScalar = { id?: boolean zoneNumber?: boolean description?: boolean } export type product_zoneOmit = runtime.Types.Extensions.GetOmit<"id" | "zoneNumber" | "description", ExtArgs["result"]["product_zone"]> export type $product_zonePayload = { name: "product_zone" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint zoneNumber: number description: string | null }, ExtArgs["result"]["product_zone"]> composites: {} } export type product_zoneGetPayload = runtime.Types.Result.GetResult export type product_zoneCountArgs = Omit & { select?: Product_zoneCountAggregateInputType | true } export interface product_zoneDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['product_zone'], meta: { name: 'product_zone' } } /** * Find zero or one Product_zone that matches the filter. * @param {product_zoneFindUniqueArgs} args - Arguments to find a Product_zone * @example * // Get one Product_zone * const product_zone = await prisma.product_zone.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Product_zone that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {product_zoneFindUniqueOrThrowArgs} args - Arguments to find a Product_zone * @example * // Get one Product_zone * const product_zone = await prisma.product_zone.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Product_zone 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_zoneFindFirstArgs} args - Arguments to find a Product_zone * @example * // Get one Product_zone * const product_zone = await prisma.product_zone.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Product_zone 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_zoneFindFirstOrThrowArgs} args - Arguments to find a Product_zone * @example * // Get one Product_zone * const product_zone = await prisma.product_zone.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Product_zones 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_zoneFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Product_zones * const product_zones = await prisma.product_zone.findMany() * * // Get first 10 Product_zones * const product_zones = await prisma.product_zone.findMany({ take: 10 }) * * // Only select the `id` * const product_zoneWithIdOnly = await prisma.product_zone.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Product_zone. * @param {product_zoneCreateArgs} args - Arguments to create a Product_zone. * @example * // Create one Product_zone * const Product_zone = await prisma.product_zone.create({ * data: { * // ... data to create a Product_zone * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Product_zones. * @param {product_zoneCreateManyArgs} args - Arguments to create many Product_zones. * @example * // Create many Product_zones * const product_zone = await prisma.product_zone.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Product_zone. * @param {product_zoneDeleteArgs} args - Arguments to delete one Product_zone. * @example * // Delete one Product_zone * const Product_zone = await prisma.product_zone.delete({ * where: { * // ... filter to delete one Product_zone * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Product_zone. * @param {product_zoneUpdateArgs} args - Arguments to update one Product_zone. * @example * // Update one Product_zone * const product_zone = await prisma.product_zone.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Product_zones. * @param {product_zoneDeleteManyArgs} args - Arguments to filter Product_zones to delete. * @example * // Delete a few Product_zones * const { count } = await prisma.product_zone.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Product_zones. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_zoneUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Product_zones * const product_zone = await prisma.product_zone.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Product_zone. * @param {product_zoneUpsertArgs} args - Arguments to update or create a Product_zone. * @example * // Update or create a Product_zone * const product_zone = await prisma.product_zone.upsert({ * create: { * // ... data to create a Product_zone * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Product_zone we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__product_zoneClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Product_zones. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_zoneCountArgs} args - Arguments to filter Product_zones to count. * @example * // Count the number of Product_zones * const count = await prisma.product_zone.count({ * where: { * // ... the filter for the Product_zones 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_zone. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Product_zoneAggregateArgs} 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_zone. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {product_zoneGroupByArgs} 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_zoneGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: product_zoneGroupByArgs['orderBy'] } : { orderBy?: product_zoneGroupByArgs['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_zoneGroupByPayload : Prisma.PrismaPromise /** * Fields of the product_zone model */ readonly fields: product_zoneFieldRefs; } /** * The delegate class that acts as a "Promise-like" for product_zone. * 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_zoneClient 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_zone model */ export interface product_zoneFieldRefs { readonly id: Prisma.FieldRef<"product_zone", 'BigInt'> readonly zoneNumber: Prisma.FieldRef<"product_zone", 'Int'> readonly description: Prisma.FieldRef<"product_zone", 'String'> } // Custom InputTypes /** * product_zone findUnique */ export type product_zoneFindUniqueArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter, which product_zone to fetch. */ where: Prisma.product_zoneWhereUniqueInput } /** * product_zone findUniqueOrThrow */ export type product_zoneFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter, which product_zone to fetch. */ where: Prisma.product_zoneWhereUniqueInput } /** * product_zone findFirst */ export type product_zoneFindFirstArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter, which product_zone to fetch. */ where?: Prisma.product_zoneWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_zones to fetch. */ orderBy?: Prisma.product_zoneOrderByWithRelationInput | Prisma.product_zoneOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_zones. */ cursor?: Prisma.product_zoneWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_zones 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_zones. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_zones. */ distinct?: Prisma.Product_zoneScalarFieldEnum | Prisma.Product_zoneScalarFieldEnum[] } /** * product_zone findFirstOrThrow */ export type product_zoneFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter, which product_zone to fetch. */ where?: Prisma.product_zoneWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_zones to fetch. */ orderBy?: Prisma.product_zoneOrderByWithRelationInput | Prisma.product_zoneOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for product_zones. */ cursor?: Prisma.product_zoneWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_zones 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_zones. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of product_zones. */ distinct?: Prisma.Product_zoneScalarFieldEnum | Prisma.Product_zoneScalarFieldEnum[] } /** * product_zone findMany */ export type product_zoneFindManyArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter, which product_zones to fetch. */ where?: Prisma.product_zoneWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of product_zones to fetch. */ orderBy?: Prisma.product_zoneOrderByWithRelationInput | Prisma.product_zoneOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing product_zones. */ cursor?: Prisma.product_zoneWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` product_zones 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_zones. */ skip?: number distinct?: Prisma.Product_zoneScalarFieldEnum | Prisma.Product_zoneScalarFieldEnum[] } /** * product_zone create */ export type product_zoneCreateArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * The data needed to create a product_zone. */ data: Prisma.XOR } /** * product_zone createMany */ export type product_zoneCreateManyArgs = { /** * The data used to create many product_zones. */ data: Prisma.product_zoneCreateManyInput | Prisma.product_zoneCreateManyInput[] skipDuplicates?: boolean } /** * product_zone update */ export type product_zoneUpdateArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * The data needed to update a product_zone. */ data: Prisma.XOR /** * Choose, which product_zone to update. */ where: Prisma.product_zoneWhereUniqueInput } /** * product_zone updateMany */ export type product_zoneUpdateManyArgs = { /** * The data used to update product_zones. */ data: Prisma.XOR /** * Filter which product_zones to update */ where?: Prisma.product_zoneWhereInput /** * Limit how many product_zones to update. */ limit?: number } /** * product_zone upsert */ export type product_zoneUpsertArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * The filter to search for the product_zone to update in case it exists. */ where: Prisma.product_zoneWhereUniqueInput /** * In case the product_zone found by the `where` argument doesn't exist, create a new product_zone with this data. */ create: Prisma.XOR /** * In case the product_zone was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * product_zone delete */ export type product_zoneDeleteArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null /** * Filter which product_zone to delete. */ where: Prisma.product_zoneWhereUniqueInput } /** * product_zone deleteMany */ export type product_zoneDeleteManyArgs = { /** * Filter which product_zones to delete */ where?: Prisma.product_zoneWhereInput /** * Limit how many product_zones to delete. */ limit?: number } /** * product_zone without action */ export type product_zoneDefaultArgs = { /** * Select specific fields to fetch from the product_zone */ select?: Prisma.product_zoneSelect | null /** * Omit specific fields from the product_zone */ omit?: Prisma.product_zoneOmit | null }