
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `project_manager_checklist` 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 project_manager_checklist
 * 
 */
export type project_manager_checklistModel = runtime.Types.Result.DefaultSelection<Prisma.$project_manager_checklistPayload>

export type AggregateProject_manager_checklist = {
  _count: Project_manager_checklistCountAggregateOutputType | null
  _avg: Project_manager_checklistAvgAggregateOutputType | null
  _sum: Project_manager_checklistSumAggregateOutputType | null
  _min: Project_manager_checklistMinAggregateOutputType | null
  _max: Project_manager_checklistMaxAggregateOutputType | null
}

export type Project_manager_checklistAvgAggregateOutputType = {
  id: number | null
  task_id: number | null
  ticket_id: number | null
  poids: number | null
  done: number | null
}

export type Project_manager_checklistSumAggregateOutputType = {
  id: number | null
  task_id: number | null
  ticket_id: number | null
  poids: number | null
  done: number | null
}

export type Project_manager_checklistMinAggregateOutputType = {
  id: number | null
  task_id: number | null
  ticket_id: number | null
  desc: string | null
  poids: number | null
  done: number | null
}

export type Project_manager_checklistMaxAggregateOutputType = {
  id: number | null
  task_id: number | null
  ticket_id: number | null
  desc: string | null
  poids: number | null
  done: number | null
}

export type Project_manager_checklistCountAggregateOutputType = {
  id: number
  task_id: number
  ticket_id: number
  desc: number
  poids: number
  done: number
  _all: number
}


export type Project_manager_checklistAvgAggregateInputType = {
  id?: true
  task_id?: true
  ticket_id?: true
  poids?: true
  done?: true
}

export type Project_manager_checklistSumAggregateInputType = {
  id?: true
  task_id?: true
  ticket_id?: true
  poids?: true
  done?: true
}

export type Project_manager_checklistMinAggregateInputType = {
  id?: true
  task_id?: true
  ticket_id?: true
  desc?: true
  poids?: true
  done?: true
}

export type Project_manager_checklistMaxAggregateInputType = {
  id?: true
  task_id?: true
  ticket_id?: true
  desc?: true
  poids?: true
  done?: true
}

export type Project_manager_checklistCountAggregateInputType = {
  id?: true
  task_id?: true
  ticket_id?: true
  desc?: true
  poids?: true
  done?: true
  _all?: true
}

export type Project_manager_checklistAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which project_manager_checklist to aggregate.
   */
  where?: Prisma.project_manager_checklistWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_manager_checklists to fetch.
   */
  orderBy?: Prisma.project_manager_checklistOrderByWithRelationInput | Prisma.project_manager_checklistOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.project_manager_checklistWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_manager_checklists 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` project_manager_checklists.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned project_manager_checklists
  **/
  _count?: true | Project_manager_checklistCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Project_manager_checklistAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Project_manager_checklistSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Project_manager_checklistMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Project_manager_checklistMaxAggregateInputType
}

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




export type project_manager_checklistGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.project_manager_checklistWhereInput
  orderBy?: Prisma.project_manager_checklistOrderByWithAggregationInput | Prisma.project_manager_checklistOrderByWithAggregationInput[]
  by: Prisma.Project_manager_checklistScalarFieldEnum[] | Prisma.Project_manager_checklistScalarFieldEnum
  having?: Prisma.project_manager_checklistScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Project_manager_checklistCountAggregateInputType | true
  _avg?: Project_manager_checklistAvgAggregateInputType
  _sum?: Project_manager_checklistSumAggregateInputType
  _min?: Project_manager_checklistMinAggregateInputType
  _max?: Project_manager_checklistMaxAggregateInputType
}

export type Project_manager_checklistGroupByOutputType = {
  id: number
  task_id: number
  ticket_id: number
  desc: string
  poids: number
  done: number
  _count: Project_manager_checklistCountAggregateOutputType | null
  _avg: Project_manager_checklistAvgAggregateOutputType | null
  _sum: Project_manager_checklistSumAggregateOutputType | null
  _min: Project_manager_checklistMinAggregateOutputType | null
  _max: Project_manager_checklistMaxAggregateOutputType | null
}

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



export type project_manager_checklistWhereInput = {
  AND?: Prisma.project_manager_checklistWhereInput | Prisma.project_manager_checklistWhereInput[]
  OR?: Prisma.project_manager_checklistWhereInput[]
  NOT?: Prisma.project_manager_checklistWhereInput | Prisma.project_manager_checklistWhereInput[]
  id?: Prisma.IntFilter<"project_manager_checklist"> | number
  task_id?: Prisma.IntFilter<"project_manager_checklist"> | number
  ticket_id?: Prisma.IntFilter<"project_manager_checklist"> | number
  desc?: Prisma.StringFilter<"project_manager_checklist"> | string
  poids?: Prisma.IntFilter<"project_manager_checklist"> | number
  done?: Prisma.IntFilter<"project_manager_checklist"> | number
}

export type project_manager_checklistOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
  _relevance?: Prisma.project_manager_checklistOrderByRelevanceInput
}

export type project_manager_checklistWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.project_manager_checklistWhereInput | Prisma.project_manager_checklistWhereInput[]
  OR?: Prisma.project_manager_checklistWhereInput[]
  NOT?: Prisma.project_manager_checklistWhereInput | Prisma.project_manager_checklistWhereInput[]
  task_id?: Prisma.IntFilter<"project_manager_checklist"> | number
  ticket_id?: Prisma.IntFilter<"project_manager_checklist"> | number
  desc?: Prisma.StringFilter<"project_manager_checklist"> | string
  poids?: Prisma.IntFilter<"project_manager_checklist"> | number
  done?: Prisma.IntFilter<"project_manager_checklist"> | number
}, "id">

export type project_manager_checklistOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
  _count?: Prisma.project_manager_checklistCountOrderByAggregateInput
  _avg?: Prisma.project_manager_checklistAvgOrderByAggregateInput
  _max?: Prisma.project_manager_checklistMaxOrderByAggregateInput
  _min?: Prisma.project_manager_checklistMinOrderByAggregateInput
  _sum?: Prisma.project_manager_checklistSumOrderByAggregateInput
}

export type project_manager_checklistScalarWhereWithAggregatesInput = {
  AND?: Prisma.project_manager_checklistScalarWhereWithAggregatesInput | Prisma.project_manager_checklistScalarWhereWithAggregatesInput[]
  OR?: Prisma.project_manager_checklistScalarWhereWithAggregatesInput[]
  NOT?: Prisma.project_manager_checklistScalarWhereWithAggregatesInput | Prisma.project_manager_checklistScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"project_manager_checklist"> | number
  task_id?: Prisma.IntWithAggregatesFilter<"project_manager_checklist"> | number
  ticket_id?: Prisma.IntWithAggregatesFilter<"project_manager_checklist"> | number
  desc?: Prisma.StringWithAggregatesFilter<"project_manager_checklist"> | string
  poids?: Prisma.IntWithAggregatesFilter<"project_manager_checklist"> | number
  done?: Prisma.IntWithAggregatesFilter<"project_manager_checklist"> | number
}

export type project_manager_checklistCreateInput = {
  task_id: number
  ticket_id: number
  desc: string
  poids?: number
  done?: number
}

export type project_manager_checklistUncheckedCreateInput = {
  id?: number
  task_id: number
  ticket_id: number
  desc: string
  poids?: number
  done?: number
}

export type project_manager_checklistUpdateInput = {
  task_id?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  poids?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_manager_checklistUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  task_id?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  poids?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_manager_checklistCreateManyInput = {
  id?: number
  task_id: number
  ticket_id: number
  desc: string
  poids?: number
  done?: number
}

export type project_manager_checklistUpdateManyMutationInput = {
  task_id?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  poids?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_manager_checklistUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  task_id?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  poids?: Prisma.IntFieldUpdateOperationsInput | number
  done?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_manager_checklistOrderByRelevanceInput = {
  fields: Prisma.project_manager_checklistOrderByRelevanceFieldEnum | Prisma.project_manager_checklistOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type project_manager_checklistCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
}

export type project_manager_checklistAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
}

export type project_manager_checklistMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
}

export type project_manager_checklistMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
}

export type project_manager_checklistSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  task_id?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  poids?: Prisma.SortOrder
  done?: Prisma.SortOrder
}



export type project_manager_checklistSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  task_id?: boolean
  ticket_id?: boolean
  desc?: boolean
  poids?: boolean
  done?: boolean
}, ExtArgs["result"]["project_manager_checklist"]>



export type project_manager_checklistSelectScalar = {
  id?: boolean
  task_id?: boolean
  ticket_id?: boolean
  desc?: boolean
  poids?: boolean
  done?: boolean
}

export type project_manager_checklistOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "task_id" | "ticket_id" | "desc" | "poids" | "done", ExtArgs["result"]["project_manager_checklist"]>

export type $project_manager_checklistPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "project_manager_checklist"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    task_id: number
    ticket_id: number
    desc: string
    poids: number
    done: number
  }, ExtArgs["result"]["project_manager_checklist"]>
  composites: {}
}

export type project_manager_checklistGetPayload<S extends boolean | null | undefined | project_manager_checklistDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$project_manager_checklistPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

  /**
   * Group by Project_manager_checklist.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {project_manager_checklistGroupByArgs} 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 project_manager_checklistGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: project_manager_checklistGroupByArgs['orderBy'] }
      : { orderBy?: project_manager_checklistGroupByArgs['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, project_manager_checklistGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProject_manager_checklistGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the project_manager_checklist model
 */
readonly fields: project_manager_checklistFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for project_manager_checklist.
 * 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__project_manager_checklistClient<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 project_manager_checklist model
 */
export interface project_manager_checklistFieldRefs {
  readonly id: Prisma.FieldRef<"project_manager_checklist", 'Int'>
  readonly task_id: Prisma.FieldRef<"project_manager_checklist", 'Int'>
  readonly ticket_id: Prisma.FieldRef<"project_manager_checklist", 'Int'>
  readonly desc: Prisma.FieldRef<"project_manager_checklist", 'String'>
  readonly poids: Prisma.FieldRef<"project_manager_checklist", 'Int'>
  readonly done: Prisma.FieldRef<"project_manager_checklist", 'Int'>
}
    

// Custom InputTypes
/**
 * project_manager_checklist findUnique
 */
export type project_manager_checklistFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_checklist to fetch.
   */
  where: Prisma.project_manager_checklistWhereUniqueInput
}

/**
 * project_manager_checklist findUniqueOrThrow
 */
export type project_manager_checklistFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_checklist to fetch.
   */
  where: Prisma.project_manager_checklistWhereUniqueInput
}

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

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

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

/**
 * project_manager_checklist create
 */
export type project_manager_checklistCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * The data needed to create a project_manager_checklist.
   */
  data: Prisma.XOR<Prisma.project_manager_checklistCreateInput, Prisma.project_manager_checklistUncheckedCreateInput>
}

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

/**
 * project_manager_checklist update
 */
export type project_manager_checklistUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * The data needed to update a project_manager_checklist.
   */
  data: Prisma.XOR<Prisma.project_manager_checklistUpdateInput, Prisma.project_manager_checklistUncheckedUpdateInput>
  /**
   * Choose, which project_manager_checklist to update.
   */
  where: Prisma.project_manager_checklistWhereUniqueInput
}

/**
 * project_manager_checklist updateMany
 */
export type project_manager_checklistUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update project_manager_checklists.
   */
  data: Prisma.XOR<Prisma.project_manager_checklistUpdateManyMutationInput, Prisma.project_manager_checklistUncheckedUpdateManyInput>
  /**
   * Filter which project_manager_checklists to update
   */
  where?: Prisma.project_manager_checklistWhereInput
  /**
   * Limit how many project_manager_checklists to update.
   */
  limit?: number
}

/**
 * project_manager_checklist upsert
 */
export type project_manager_checklistUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * The filter to search for the project_manager_checklist to update in case it exists.
   */
  where: Prisma.project_manager_checklistWhereUniqueInput
  /**
   * In case the project_manager_checklist found by the `where` argument doesn't exist, create a new project_manager_checklist with this data.
   */
  create: Prisma.XOR<Prisma.project_manager_checklistCreateInput, Prisma.project_manager_checklistUncheckedCreateInput>
  /**
   * In case the project_manager_checklist was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.project_manager_checklistUpdateInput, Prisma.project_manager_checklistUncheckedUpdateInput>
}

/**
 * project_manager_checklist delete
 */
export type project_manager_checklistDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_checklist
   */
  select?: Prisma.project_manager_checklistSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_checklist
   */
  omit?: Prisma.project_manager_checklistOmit<ExtArgs> | null
  /**
   * Filter which project_manager_checklist to delete.
   */
  where: Prisma.project_manager_checklistWhereUniqueInput
}

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

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