
/* !!! 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_cat` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model project_manager_cat
 * 
 */
export type project_manager_catModel = runtime.Types.Result.DefaultSelection<Prisma.$project_manager_catPayload>

export type AggregateProject_manager_cat = {
  _count: Project_manager_catCountAggregateOutputType | null
  _avg: Project_manager_catAvgAggregateOutputType | null
  _sum: Project_manager_catSumAggregateOutputType | null
  _min: Project_manager_catMinAggregateOutputType | null
  _max: Project_manager_catMaxAggregateOutputType | null
}

export type Project_manager_catAvgAggregateOutputType = {
  id: number | null
  pos: number | null
}

export type Project_manager_catSumAggregateOutputType = {
  id: number | null
  pos: number | null
}

export type Project_manager_catMinAggregateOutputType = {
  id: number | null
  pos: number | null
  name: string | null
  color: string | null
  text_color: string | null
}

export type Project_manager_catMaxAggregateOutputType = {
  id: number | null
  pos: number | null
  name: string | null
  color: string | null
  text_color: string | null
}

export type Project_manager_catCountAggregateOutputType = {
  id: number
  pos: number
  name: number
  color: number
  text_color: number
  _all: number
}


export type Project_manager_catAvgAggregateInputType = {
  id?: true
  pos?: true
}

export type Project_manager_catSumAggregateInputType = {
  id?: true
  pos?: true
}

export type Project_manager_catMinAggregateInputType = {
  id?: true
  pos?: true
  name?: true
  color?: true
  text_color?: true
}

export type Project_manager_catMaxAggregateInputType = {
  id?: true
  pos?: true
  name?: true
  color?: true
  text_color?: true
}

export type Project_manager_catCountAggregateInputType = {
  id?: true
  pos?: true
  name?: true
  color?: true
  text_color?: true
  _all?: true
}

export type Project_manager_catAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which project_manager_cat to aggregate.
   */
  where?: Prisma.project_manager_catWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_manager_cats to fetch.
   */
  orderBy?: Prisma.project_manager_catOrderByWithRelationInput | Prisma.project_manager_catOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.project_manager_catWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_manager_cats from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` project_manager_cats.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned project_manager_cats
  **/
  _count?: true | Project_manager_catCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Project_manager_catAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Project_manager_catSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Project_manager_catMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Project_manager_catMaxAggregateInputType
}

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




export type project_manager_catGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.project_manager_catWhereInput
  orderBy?: Prisma.project_manager_catOrderByWithAggregationInput | Prisma.project_manager_catOrderByWithAggregationInput[]
  by: Prisma.Project_manager_catScalarFieldEnum[] | Prisma.Project_manager_catScalarFieldEnum
  having?: Prisma.project_manager_catScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Project_manager_catCountAggregateInputType | true
  _avg?: Project_manager_catAvgAggregateInputType
  _sum?: Project_manager_catSumAggregateInputType
  _min?: Project_manager_catMinAggregateInputType
  _max?: Project_manager_catMaxAggregateInputType
}

export type Project_manager_catGroupByOutputType = {
  id: number
  pos: number
  name: string
  color: string
  text_color: string
  _count: Project_manager_catCountAggregateOutputType | null
  _avg: Project_manager_catAvgAggregateOutputType | null
  _sum: Project_manager_catSumAggregateOutputType | null
  _min: Project_manager_catMinAggregateOutputType | null
  _max: Project_manager_catMaxAggregateOutputType | null
}

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



export type project_manager_catWhereInput = {
  AND?: Prisma.project_manager_catWhereInput | Prisma.project_manager_catWhereInput[]
  OR?: Prisma.project_manager_catWhereInput[]
  NOT?: Prisma.project_manager_catWhereInput | Prisma.project_manager_catWhereInput[]
  id?: Prisma.IntFilter<"project_manager_cat"> | number
  pos?: Prisma.IntFilter<"project_manager_cat"> | number
  name?: Prisma.StringFilter<"project_manager_cat"> | string
  color?: Prisma.StringFilter<"project_manager_cat"> | string
  text_color?: Prisma.StringFilter<"project_manager_cat"> | string
}

export type project_manager_catOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
  name?: Prisma.SortOrder
  color?: Prisma.SortOrder
  text_color?: Prisma.SortOrder
  _relevance?: Prisma.project_manager_catOrderByRelevanceInput
}

export type project_manager_catWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.project_manager_catWhereInput | Prisma.project_manager_catWhereInput[]
  OR?: Prisma.project_manager_catWhereInput[]
  NOT?: Prisma.project_manager_catWhereInput | Prisma.project_manager_catWhereInput[]
  pos?: Prisma.IntFilter<"project_manager_cat"> | number
  name?: Prisma.StringFilter<"project_manager_cat"> | string
  color?: Prisma.StringFilter<"project_manager_cat"> | string
  text_color?: Prisma.StringFilter<"project_manager_cat"> | string
}, "id">

export type project_manager_catOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
  name?: Prisma.SortOrder
  color?: Prisma.SortOrder
  text_color?: Prisma.SortOrder
  _count?: Prisma.project_manager_catCountOrderByAggregateInput
  _avg?: Prisma.project_manager_catAvgOrderByAggregateInput
  _max?: Prisma.project_manager_catMaxOrderByAggregateInput
  _min?: Prisma.project_manager_catMinOrderByAggregateInput
  _sum?: Prisma.project_manager_catSumOrderByAggregateInput
}

export type project_manager_catScalarWhereWithAggregatesInput = {
  AND?: Prisma.project_manager_catScalarWhereWithAggregatesInput | Prisma.project_manager_catScalarWhereWithAggregatesInput[]
  OR?: Prisma.project_manager_catScalarWhereWithAggregatesInput[]
  NOT?: Prisma.project_manager_catScalarWhereWithAggregatesInput | Prisma.project_manager_catScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"project_manager_cat"> | number
  pos?: Prisma.IntWithAggregatesFilter<"project_manager_cat"> | number
  name?: Prisma.StringWithAggregatesFilter<"project_manager_cat"> | string
  color?: Prisma.StringWithAggregatesFilter<"project_manager_cat"> | string
  text_color?: Prisma.StringWithAggregatesFilter<"project_manager_cat"> | string
}

export type project_manager_catCreateInput = {
  pos: number
  name: string
  color?: string
  text_color?: string
}

export type project_manager_catUncheckedCreateInput = {
  id?: number
  pos: number
  name: string
  color?: string
  text_color?: string
}

export type project_manager_catUpdateInput = {
  pos?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  color?: Prisma.StringFieldUpdateOperationsInput | string
  text_color?: Prisma.StringFieldUpdateOperationsInput | string
}

export type project_manager_catUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  pos?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  color?: Prisma.StringFieldUpdateOperationsInput | string
  text_color?: Prisma.StringFieldUpdateOperationsInput | string
}

export type project_manager_catCreateManyInput = {
  id?: number
  pos: number
  name: string
  color?: string
  text_color?: string
}

export type project_manager_catUpdateManyMutationInput = {
  pos?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  color?: Prisma.StringFieldUpdateOperationsInput | string
  text_color?: Prisma.StringFieldUpdateOperationsInput | string
}

export type project_manager_catUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  pos?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  color?: Prisma.StringFieldUpdateOperationsInput | string
  text_color?: Prisma.StringFieldUpdateOperationsInput | string
}

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

export type project_manager_catCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
  name?: Prisma.SortOrder
  color?: Prisma.SortOrder
  text_color?: Prisma.SortOrder
}

export type project_manager_catAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
}

export type project_manager_catMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
  name?: Prisma.SortOrder
  color?: Prisma.SortOrder
  text_color?: Prisma.SortOrder
}

export type project_manager_catMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
  name?: Prisma.SortOrder
  color?: Prisma.SortOrder
  text_color?: Prisma.SortOrder
}

export type project_manager_catSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  pos?: Prisma.SortOrder
}



export type project_manager_catSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  pos?: boolean
  name?: boolean
  color?: boolean
  text_color?: boolean
}, ExtArgs["result"]["project_manager_cat"]>



export type project_manager_catSelectScalar = {
  id?: boolean
  pos?: boolean
  name?: boolean
  color?: boolean
  text_color?: boolean
}

export type project_manager_catOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "pos" | "name" | "color" | "text_color", ExtArgs["result"]["project_manager_cat"]>

export type $project_manager_catPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "project_manager_cat"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    pos: number
    name: string
    color: string
    text_color: string
  }, ExtArgs["result"]["project_manager_cat"]>
  composites: {}
}

export type project_manager_catGetPayload<S extends boolean | null | undefined | project_manager_catDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$project_manager_catPayload, S>

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

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

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

  /**
   * Find the first Project_manager_cat that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {project_manager_catFindFirstArgs} args - Arguments to find a Project_manager_cat
   * @example
   * // Get one Project_manager_cat
   * const project_manager_cat = await prisma.project_manager_cat.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends project_manager_catFindFirstArgs>(args?: Prisma.SelectSubset<T, project_manager_catFindFirstArgs<ExtArgs>>): Prisma.Prisma__project_manager_catClient<runtime.Types.Result.GetResult<Prisma.$project_manager_catPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Project_manager_cat that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {project_manager_catFindFirstOrThrowArgs} args - Arguments to find a Project_manager_cat
   * @example
   * // Get one Project_manager_cat
   * const project_manager_cat = await prisma.project_manager_cat.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends project_manager_catFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, project_manager_catFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__project_manager_catClient<runtime.Types.Result.GetResult<Prisma.$project_manager_catPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Project_manager_cats that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {project_manager_catFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Project_manager_cats
   * const project_manager_cats = await prisma.project_manager_cat.findMany()
   * 
   * // Get first 10 Project_manager_cats
   * const project_manager_cats = await prisma.project_manager_cat.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const project_manager_catWithIdOnly = await prisma.project_manager_cat.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends project_manager_catFindManyArgs>(args?: Prisma.SelectSubset<T, project_manager_catFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$project_manager_catPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

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

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

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

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

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

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

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


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

  /**
   * Allows you to perform aggregations operations on a Project_manager_cat.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Project_manager_catAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends Project_manager_catAggregateArgs>(args: Prisma.Subset<T, Project_manager_catAggregateArgs>): Prisma.PrismaPromise<GetProject_manager_catAggregateType<T>>

  /**
   * Group by Project_manager_cat.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {project_manager_catGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends project_manager_catGroupByArgs,
    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_catGroupByArgs['orderBy'] }
      : { orderBy?: project_manager_catGroupByArgs['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_catGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProject_manager_catGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the project_manager_cat model
 */
readonly fields: project_manager_catFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for project_manager_cat.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__project_manager_catClient<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_cat model
 */
export interface project_manager_catFieldRefs {
  readonly id: Prisma.FieldRef<"project_manager_cat", 'Int'>
  readonly pos: Prisma.FieldRef<"project_manager_cat", 'Int'>
  readonly name: Prisma.FieldRef<"project_manager_cat", 'String'>
  readonly color: Prisma.FieldRef<"project_manager_cat", 'String'>
  readonly text_color: Prisma.FieldRef<"project_manager_cat", 'String'>
}
    

// Custom InputTypes
/**
 * project_manager_cat findUnique
 */
export type project_manager_catFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_cat to fetch.
   */
  where: Prisma.project_manager_catWhereUniqueInput
}

/**
 * project_manager_cat findUniqueOrThrow
 */
export type project_manager_catFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_cat to fetch.
   */
  where: Prisma.project_manager_catWhereUniqueInput
}

/**
 * project_manager_cat findFirst
 */
export type project_manager_catFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_cat to fetch.
   */
  where?: Prisma.project_manager_catWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_manager_cats to fetch.
   */
  orderBy?: Prisma.project_manager_catOrderByWithRelationInput | Prisma.project_manager_catOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for project_manager_cats.
   */
  cursor?: Prisma.project_manager_catWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_manager_cats from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` project_manager_cats.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of project_manager_cats.
   */
  distinct?: Prisma.Project_manager_catScalarFieldEnum | Prisma.Project_manager_catScalarFieldEnum[]
}

/**
 * project_manager_cat findFirstOrThrow
 */
export type project_manager_catFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_cat to fetch.
   */
  where?: Prisma.project_manager_catWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_manager_cats to fetch.
   */
  orderBy?: Prisma.project_manager_catOrderByWithRelationInput | Prisma.project_manager_catOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for project_manager_cats.
   */
  cursor?: Prisma.project_manager_catWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_manager_cats from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` project_manager_cats.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of project_manager_cats.
   */
  distinct?: Prisma.Project_manager_catScalarFieldEnum | Prisma.Project_manager_catScalarFieldEnum[]
}

/**
 * project_manager_cat findMany
 */
export type project_manager_catFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which project_manager_cats to fetch.
   */
  where?: Prisma.project_manager_catWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_manager_cats to fetch.
   */
  orderBy?: Prisma.project_manager_catOrderByWithRelationInput | Prisma.project_manager_catOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing project_manager_cats.
   */
  cursor?: Prisma.project_manager_catWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_manager_cats from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` project_manager_cats.
   */
  skip?: number
  distinct?: Prisma.Project_manager_catScalarFieldEnum | Prisma.Project_manager_catScalarFieldEnum[]
}

/**
 * project_manager_cat create
 */
export type project_manager_catCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * The data needed to create a project_manager_cat.
   */
  data: Prisma.XOR<Prisma.project_manager_catCreateInput, Prisma.project_manager_catUncheckedCreateInput>
}

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

/**
 * project_manager_cat update
 */
export type project_manager_catUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * The data needed to update a project_manager_cat.
   */
  data: Prisma.XOR<Prisma.project_manager_catUpdateInput, Prisma.project_manager_catUncheckedUpdateInput>
  /**
   * Choose, which project_manager_cat to update.
   */
  where: Prisma.project_manager_catWhereUniqueInput
}

/**
 * project_manager_cat updateMany
 */
export type project_manager_catUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update project_manager_cats.
   */
  data: Prisma.XOR<Prisma.project_manager_catUpdateManyMutationInput, Prisma.project_manager_catUncheckedUpdateManyInput>
  /**
   * Filter which project_manager_cats to update
   */
  where?: Prisma.project_manager_catWhereInput
  /**
   * Limit how many project_manager_cats to update.
   */
  limit?: number
}

/**
 * project_manager_cat upsert
 */
export type project_manager_catUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * The filter to search for the project_manager_cat to update in case it exists.
   */
  where: Prisma.project_manager_catWhereUniqueInput
  /**
   * In case the project_manager_cat found by the `where` argument doesn't exist, create a new project_manager_cat with this data.
   */
  create: Prisma.XOR<Prisma.project_manager_catCreateInput, Prisma.project_manager_catUncheckedCreateInput>
  /**
   * In case the project_manager_cat was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.project_manager_catUpdateInput, Prisma.project_manager_catUncheckedUpdateInput>
}

/**
 * project_manager_cat delete
 */
export type project_manager_catDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_manager_cat
   */
  select?: Prisma.project_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_manager_cat
   */
  omit?: Prisma.project_manager_catOmit<ExtArgs> | null
  /**
   * Filter which project_manager_cat to delete.
   */
  where: Prisma.project_manager_catWhereUniqueInput
}

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

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