
/* !!! 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_placemarks` 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_placemarks
 * 
 */
export type product_zone_placemarksModel = runtime.Types.Result.DefaultSelection<Prisma.$product_zone_placemarksPayload>

export type AggregateProduct_zone_placemarks = {
  _count: Product_zone_placemarksCountAggregateOutputType | null
  _avg: Product_zone_placemarksAvgAggregateOutputType | null
  _sum: Product_zone_placemarksSumAggregateOutputType | null
  _min: Product_zone_placemarksMinAggregateOutputType | null
  _max: Product_zone_placemarksMaxAggregateOutputType | null
}

export type Product_zone_placemarksAvgAggregateOutputType = {
  id: number | null
  product_zone_id: number | null
  placemarks_id: number | null
}

export type Product_zone_placemarksSumAggregateOutputType = {
  id: bigint | null
  product_zone_id: bigint | null
  placemarks_id: bigint | null
}

export type Product_zone_placemarksMinAggregateOutputType = {
  id: bigint | null
  product_zone_id: bigint | null
  placemarks_id: bigint | null
}

export type Product_zone_placemarksMaxAggregateOutputType = {
  id: bigint | null
  product_zone_id: bigint | null
  placemarks_id: bigint | null
}

export type Product_zone_placemarksCountAggregateOutputType = {
  id: number
  product_zone_id: number
  placemarks_id: number
  _all: number
}


export type Product_zone_placemarksAvgAggregateInputType = {
  id?: true
  product_zone_id?: true
  placemarks_id?: true
}

export type Product_zone_placemarksSumAggregateInputType = {
  id?: true
  product_zone_id?: true
  placemarks_id?: true
}

export type Product_zone_placemarksMinAggregateInputType = {
  id?: true
  product_zone_id?: true
  placemarks_id?: true
}

export type Product_zone_placemarksMaxAggregateInputType = {
  id?: true
  product_zone_id?: true
  placemarks_id?: true
}

export type Product_zone_placemarksCountAggregateInputType = {
  id?: true
  product_zone_id?: true
  placemarks_id?: true
  _all?: true
}

export type Product_zone_placemarksAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which product_zone_placemarks to aggregate.
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of product_zone_placemarks to fetch.
   */
  orderBy?: Prisma.product_zone_placemarksOrderByWithRelationInput | Prisma.product_zone_placemarksOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.product_zone_placemarksWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` product_zone_placemarks 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_zone_placemarks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned product_zone_placemarks
  **/
  _count?: true | Product_zone_placemarksCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Product_zone_placemarksAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Product_zone_placemarksSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Product_zone_placemarksMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Product_zone_placemarksMaxAggregateInputType
}

export type GetProduct_zone_placemarksAggregateType<T extends Product_zone_placemarksAggregateArgs> = {
      [P in keyof T & keyof AggregateProduct_zone_placemarks]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateProduct_zone_placemarks[P]>
    : Prisma.GetScalarType<T[P], AggregateProduct_zone_placemarks[P]>
}




export type product_zone_placemarksGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.product_zone_placemarksWhereInput
  orderBy?: Prisma.product_zone_placemarksOrderByWithAggregationInput | Prisma.product_zone_placemarksOrderByWithAggregationInput[]
  by: Prisma.Product_zone_placemarksScalarFieldEnum[] | Prisma.Product_zone_placemarksScalarFieldEnum
  having?: Prisma.product_zone_placemarksScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Product_zone_placemarksCountAggregateInputType | true
  _avg?: Product_zone_placemarksAvgAggregateInputType
  _sum?: Product_zone_placemarksSumAggregateInputType
  _min?: Product_zone_placemarksMinAggregateInputType
  _max?: Product_zone_placemarksMaxAggregateInputType
}

export type Product_zone_placemarksGroupByOutputType = {
  id: bigint
  product_zone_id: bigint
  placemarks_id: bigint
  _count: Product_zone_placemarksCountAggregateOutputType | null
  _avg: Product_zone_placemarksAvgAggregateOutputType | null
  _sum: Product_zone_placemarksSumAggregateOutputType | null
  _min: Product_zone_placemarksMinAggregateOutputType | null
  _max: Product_zone_placemarksMaxAggregateOutputType | null
}

type GetProduct_zone_placemarksGroupByPayload<T extends product_zone_placemarksGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<Product_zone_placemarksGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof Product_zone_placemarksGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], Product_zone_placemarksGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], Product_zone_placemarksGroupByOutputType[P]>
      }
    >
  >



export type product_zone_placemarksWhereInput = {
  AND?: Prisma.product_zone_placemarksWhereInput | Prisma.product_zone_placemarksWhereInput[]
  OR?: Prisma.product_zone_placemarksWhereInput[]
  NOT?: Prisma.product_zone_placemarksWhereInput | Prisma.product_zone_placemarksWhereInput[]
  id?: Prisma.BigIntFilter<"product_zone_placemarks"> | bigint | number
  product_zone_id?: Prisma.BigIntFilter<"product_zone_placemarks"> | bigint | number
  placemarks_id?: Prisma.BigIntFilter<"product_zone_placemarks"> | bigint | number
}

export type product_zone_placemarksOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type product_zone_placemarksWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.product_zone_placemarksWhereInput | Prisma.product_zone_placemarksWhereInput[]
  OR?: Prisma.product_zone_placemarksWhereInput[]
  NOT?: Prisma.product_zone_placemarksWhereInput | Prisma.product_zone_placemarksWhereInput[]
  product_zone_id?: Prisma.BigIntFilter<"product_zone_placemarks"> | bigint | number
  placemarks_id?: Prisma.BigIntFilter<"product_zone_placemarks"> | bigint | number
}, "id">

export type product_zone_placemarksOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
  _count?: Prisma.product_zone_placemarksCountOrderByAggregateInput
  _avg?: Prisma.product_zone_placemarksAvgOrderByAggregateInput
  _max?: Prisma.product_zone_placemarksMaxOrderByAggregateInput
  _min?: Prisma.product_zone_placemarksMinOrderByAggregateInput
  _sum?: Prisma.product_zone_placemarksSumOrderByAggregateInput
}

export type product_zone_placemarksScalarWhereWithAggregatesInput = {
  AND?: Prisma.product_zone_placemarksScalarWhereWithAggregatesInput | Prisma.product_zone_placemarksScalarWhereWithAggregatesInput[]
  OR?: Prisma.product_zone_placemarksScalarWhereWithAggregatesInput[]
  NOT?: Prisma.product_zone_placemarksScalarWhereWithAggregatesInput | Prisma.product_zone_placemarksScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"product_zone_placemarks"> | bigint | number
  product_zone_id?: Prisma.BigIntWithAggregatesFilter<"product_zone_placemarks"> | bigint | number
  placemarks_id?: Prisma.BigIntWithAggregatesFilter<"product_zone_placemarks"> | bigint | number
}

export type product_zone_placemarksCreateInput = {
  id?: bigint | number
  product_zone_id: bigint | number
  placemarks_id: bigint | number
}

export type product_zone_placemarksUncheckedCreateInput = {
  id?: bigint | number
  product_zone_id: bigint | number
  placemarks_id: bigint | number
}

export type product_zone_placemarksUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type product_zone_placemarksUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type product_zone_placemarksCreateManyInput = {
  id?: bigint | number
  product_zone_id: bigint | number
  placemarks_id: bigint | number
}

export type product_zone_placemarksUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type product_zone_placemarksUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  product_zone_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  placemarks_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type product_zone_placemarksCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type product_zone_placemarksAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type product_zone_placemarksMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type product_zone_placemarksMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}

export type product_zone_placemarksSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  product_zone_id?: Prisma.SortOrder
  placemarks_id?: Prisma.SortOrder
}



export type product_zone_placemarksSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  product_zone_id?: boolean
  placemarks_id?: boolean
}, ExtArgs["result"]["product_zone_placemarks"]>



export type product_zone_placemarksSelectScalar = {
  id?: boolean
  product_zone_id?: boolean
  placemarks_id?: boolean
}

export type product_zone_placemarksOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "product_zone_id" | "placemarks_id", ExtArgs["result"]["product_zone_placemarks"]>

export type $product_zone_placemarksPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "product_zone_placemarks"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    product_zone_id: bigint
    placemarks_id: bigint
  }, ExtArgs["result"]["product_zone_placemarks"]>
  composites: {}
}

export type product_zone_placemarksGetPayload<S extends boolean | null | undefined | product_zone_placemarksDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload, S>

export type product_zone_placemarksCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<product_zone_placemarksFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Product_zone_placemarksCountAggregateInputType | true
  }

export interface product_zone_placemarksDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['product_zone_placemarks'], meta: { name: 'product_zone_placemarks' } }
  /**
   * Find zero or one Product_zone_placemarks that matches the filter.
   * @param {product_zone_placemarksFindUniqueArgs} args - Arguments to find a Product_zone_placemarks
   * @example
   * // Get one Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends product_zone_placemarksFindUniqueArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksFindUniqueArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Product_zone_placemarks that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {product_zone_placemarksFindUniqueOrThrowArgs} args - Arguments to find a Product_zone_placemarks
   * @example
   * // Get one Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends product_zone_placemarksFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Product_zone_placemarks 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_zone_placemarksFindFirstArgs} args - Arguments to find a Product_zone_placemarks
   * @example
   * // Get one Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends product_zone_placemarksFindFirstArgs>(args?: Prisma.SelectSubset<T, product_zone_placemarksFindFirstArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Product_zone_placemarks 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_zone_placemarksFindFirstOrThrowArgs} args - Arguments to find a Product_zone_placemarks
   * @example
   * // Get one Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends product_zone_placemarksFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, product_zone_placemarksFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Product_zone_placemarks 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_zone_placemarksFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findMany()
   * 
   * // Get first 10 Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const product_zone_placemarksWithIdOnly = await prisma.product_zone_placemarks.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends product_zone_placemarksFindManyArgs>(args?: Prisma.SelectSubset<T, product_zone_placemarksFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Product_zone_placemarks.
   * @param {product_zone_placemarksCreateArgs} args - Arguments to create a Product_zone_placemarks.
   * @example
   * // Create one Product_zone_placemarks
   * const Product_zone_placemarks = await prisma.product_zone_placemarks.create({
   *   data: {
   *     // ... data to create a Product_zone_placemarks
   *   }
   * })
   * 
   */
  create<T extends product_zone_placemarksCreateArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksCreateArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Product_zone_placemarks.
   * @param {product_zone_placemarksCreateManyArgs} args - Arguments to create many Product_zone_placemarks.
   * @example
   * // Create many Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends product_zone_placemarksCreateManyArgs>(args?: Prisma.SelectSubset<T, product_zone_placemarksCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Delete a Product_zone_placemarks.
   * @param {product_zone_placemarksDeleteArgs} args - Arguments to delete one Product_zone_placemarks.
   * @example
   * // Delete one Product_zone_placemarks
   * const Product_zone_placemarks = await prisma.product_zone_placemarks.delete({
   *   where: {
   *     // ... filter to delete one Product_zone_placemarks
   *   }
   * })
   * 
   */
  delete<T extends product_zone_placemarksDeleteArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksDeleteArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Product_zone_placemarks.
   * @param {product_zone_placemarksUpdateArgs} args - Arguments to update one Product_zone_placemarks.
   * @example
   * // Update one Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends product_zone_placemarksUpdateArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksUpdateArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Product_zone_placemarks.
   * @param {product_zone_placemarksDeleteManyArgs} args - Arguments to filter Product_zone_placemarks to delete.
   * @example
   * // Delete a few Product_zone_placemarks
   * const { count } = await prisma.product_zone_placemarks.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends product_zone_placemarksDeleteManyArgs>(args?: Prisma.SelectSubset<T, product_zone_placemarksDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Product_zone_placemarks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {product_zone_placemarksUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends product_zone_placemarksUpdateManyArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create or update one Product_zone_placemarks.
   * @param {product_zone_placemarksUpsertArgs} args - Arguments to update or create a Product_zone_placemarks.
   * @example
   * // Update or create a Product_zone_placemarks
   * const product_zone_placemarks = await prisma.product_zone_placemarks.upsert({
   *   create: {
   *     // ... data to create a Product_zone_placemarks
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Product_zone_placemarks we want to update
   *   }
   * })
   */
  upsert<T extends product_zone_placemarksUpsertArgs>(args: Prisma.SelectSubset<T, product_zone_placemarksUpsertArgs<ExtArgs>>): Prisma.Prisma__product_zone_placemarksClient<runtime.Types.Result.GetResult<Prisma.$product_zone_placemarksPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Product_zone_placemarks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {product_zone_placemarksCountArgs} args - Arguments to filter Product_zone_placemarks to count.
   * @example
   * // Count the number of Product_zone_placemarks
   * const count = await prisma.product_zone_placemarks.count({
   *   where: {
   *     // ... the filter for the Product_zone_placemarks we want to count
   *   }
   * })
  **/
  count<T extends product_zone_placemarksCountArgs>(
    args?: Prisma.Subset<T, product_zone_placemarksCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], Product_zone_placemarksCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Product_zone_placemarks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Product_zone_placemarksAggregateArgs} 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<T extends Product_zone_placemarksAggregateArgs>(args: Prisma.Subset<T, Product_zone_placemarksAggregateArgs>): Prisma.PrismaPromise<GetProduct_zone_placemarksAggregateType<T>>

  /**
   * Group by Product_zone_placemarks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {product_zone_placemarksGroupByArgs} 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_zone_placemarksGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: product_zone_placemarksGroupByArgs['orderBy'] }
      : { orderBy?: product_zone_placemarksGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    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<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? 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<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? 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<T, product_zone_placemarksGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProduct_zone_placemarksGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the product_zone_placemarks model
 */
readonly fields: product_zone_placemarksFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for product_zone_placemarks.
 * 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_zone_placemarksClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * 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<T>
}




/**
 * Fields of the product_zone_placemarks model
 */
export interface product_zone_placemarksFieldRefs {
  readonly id: Prisma.FieldRef<"product_zone_placemarks", 'BigInt'>
  readonly product_zone_id: Prisma.FieldRef<"product_zone_placemarks", 'BigInt'>
  readonly placemarks_id: Prisma.FieldRef<"product_zone_placemarks", 'BigInt'>
}
    

// Custom InputTypes
/**
 * product_zone_placemarks findUnique
 */
export type product_zone_placemarksFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter, which product_zone_placemarks to fetch.
   */
  where: Prisma.product_zone_placemarksWhereUniqueInput
}

/**
 * product_zone_placemarks findUniqueOrThrow
 */
export type product_zone_placemarksFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter, which product_zone_placemarks to fetch.
   */
  where: Prisma.product_zone_placemarksWhereUniqueInput
}

/**
 * product_zone_placemarks findFirst
 */
export type product_zone_placemarksFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter, which product_zone_placemarks to fetch.
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of product_zone_placemarks to fetch.
   */
  orderBy?: Prisma.product_zone_placemarksOrderByWithRelationInput | Prisma.product_zone_placemarksOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for product_zone_placemarks.
   */
  cursor?: Prisma.product_zone_placemarksWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` product_zone_placemarks 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_zone_placemarks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of product_zone_placemarks.
   */
  distinct?: Prisma.Product_zone_placemarksScalarFieldEnum | Prisma.Product_zone_placemarksScalarFieldEnum[]
}

/**
 * product_zone_placemarks findFirstOrThrow
 */
export type product_zone_placemarksFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter, which product_zone_placemarks to fetch.
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of product_zone_placemarks to fetch.
   */
  orderBy?: Prisma.product_zone_placemarksOrderByWithRelationInput | Prisma.product_zone_placemarksOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for product_zone_placemarks.
   */
  cursor?: Prisma.product_zone_placemarksWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` product_zone_placemarks 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_zone_placemarks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of product_zone_placemarks.
   */
  distinct?: Prisma.Product_zone_placemarksScalarFieldEnum | Prisma.Product_zone_placemarksScalarFieldEnum[]
}

/**
 * product_zone_placemarks findMany
 */
export type product_zone_placemarksFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter, which product_zone_placemarks to fetch.
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of product_zone_placemarks to fetch.
   */
  orderBy?: Prisma.product_zone_placemarksOrderByWithRelationInput | Prisma.product_zone_placemarksOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing product_zone_placemarks.
   */
  cursor?: Prisma.product_zone_placemarksWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` product_zone_placemarks 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_zone_placemarks.
   */
  skip?: number
  distinct?: Prisma.Product_zone_placemarksScalarFieldEnum | Prisma.Product_zone_placemarksScalarFieldEnum[]
}

/**
 * product_zone_placemarks create
 */
export type product_zone_placemarksCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * The data needed to create a product_zone_placemarks.
   */
  data: Prisma.XOR<Prisma.product_zone_placemarksCreateInput, Prisma.product_zone_placemarksUncheckedCreateInput>
}

/**
 * product_zone_placemarks createMany
 */
export type product_zone_placemarksCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many product_zone_placemarks.
   */
  data: Prisma.product_zone_placemarksCreateManyInput | Prisma.product_zone_placemarksCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * product_zone_placemarks update
 */
export type product_zone_placemarksUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * The data needed to update a product_zone_placemarks.
   */
  data: Prisma.XOR<Prisma.product_zone_placemarksUpdateInput, Prisma.product_zone_placemarksUncheckedUpdateInput>
  /**
   * Choose, which product_zone_placemarks to update.
   */
  where: Prisma.product_zone_placemarksWhereUniqueInput
}

/**
 * product_zone_placemarks updateMany
 */
export type product_zone_placemarksUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update product_zone_placemarks.
   */
  data: Prisma.XOR<Prisma.product_zone_placemarksUpdateManyMutationInput, Prisma.product_zone_placemarksUncheckedUpdateManyInput>
  /**
   * Filter which product_zone_placemarks to update
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * Limit how many product_zone_placemarks to update.
   */
  limit?: number
}

/**
 * product_zone_placemarks upsert
 */
export type product_zone_placemarksUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * The filter to search for the product_zone_placemarks to update in case it exists.
   */
  where: Prisma.product_zone_placemarksWhereUniqueInput
  /**
   * In case the product_zone_placemarks found by the `where` argument doesn't exist, create a new product_zone_placemarks with this data.
   */
  create: Prisma.XOR<Prisma.product_zone_placemarksCreateInput, Prisma.product_zone_placemarksUncheckedCreateInput>
  /**
   * In case the product_zone_placemarks was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.product_zone_placemarksUpdateInput, Prisma.product_zone_placemarksUncheckedUpdateInput>
}

/**
 * product_zone_placemarks delete
 */
export type product_zone_placemarksDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
  /**
   * Filter which product_zone_placemarks to delete.
   */
  where: Prisma.product_zone_placemarksWhereUniqueInput
}

/**
 * product_zone_placemarks deleteMany
 */
export type product_zone_placemarksDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which product_zone_placemarks to delete
   */
  where?: Prisma.product_zone_placemarksWhereInput
  /**
   * Limit how many product_zone_placemarks to delete.
   */
  limit?: number
}

/**
 * product_zone_placemarks without action
 */
export type product_zone_placemarksDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the product_zone_placemarks
   */
  select?: Prisma.product_zone_placemarksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the product_zone_placemarks
   */
  omit?: Prisma.product_zone_placemarksOmit<ExtArgs> | null
}
