
/* !!! 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_cmd_item` 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_cmd_item
 * 
 */
export type project_cmd_itemModel = runtime.Types.Result.DefaultSelection<Prisma.$project_cmd_itemPayload>

export type AggregateProject_cmd_item = {
  _count: Project_cmd_itemCountAggregateOutputType | null
  _avg: Project_cmd_itemAvgAggregateOutputType | null
  _sum: Project_cmd_itemSumAggregateOutputType | null
  _min: Project_cmd_itemMinAggregateOutputType | null
  _max: Project_cmd_itemMaxAggregateOutputType | null
}

export type Project_cmd_itemAvgAggregateOutputType = {
  id: number | null
  cmd_id: number | null
  product_id: number | null
  qte: number | null
  price: number | null
  recu: number | null
  qte_recu: number | null
  status: number | null
}

export type Project_cmd_itemSumAggregateOutputType = {
  id: number | null
  cmd_id: number | null
  product_id: number | null
  qte: number | null
  price: number | null
  recu: number | null
  qte_recu: number | null
  status: number | null
}

export type Project_cmd_itemMinAggregateOutputType = {
  id: number | null
  cmd_id: number | null
  product_id: number | null
  desc: string | null
  qte: number | null
  price: number | null
  usd: boolean | null
  recu: number | null
  qte_recu: number | null
  date_recu: string | null
  comment: string | null
  eta: string | null
  status: number | null
}

export type Project_cmd_itemMaxAggregateOutputType = {
  id: number | null
  cmd_id: number | null
  product_id: number | null
  desc: string | null
  qte: number | null
  price: number | null
  usd: boolean | null
  recu: number | null
  qte_recu: number | null
  date_recu: string | null
  comment: string | null
  eta: string | null
  status: number | null
}

export type Project_cmd_itemCountAggregateOutputType = {
  id: number
  cmd_id: number
  product_id: number
  desc: number
  qte: number
  price: number
  usd: number
  recu: number
  qte_recu: number
  date_recu: number
  comment: number
  eta: number
  status: number
  _all: number
}


export type Project_cmd_itemAvgAggregateInputType = {
  id?: true
  cmd_id?: true
  product_id?: true
  qte?: true
  price?: true
  recu?: true
  qte_recu?: true
  status?: true
}

export type Project_cmd_itemSumAggregateInputType = {
  id?: true
  cmd_id?: true
  product_id?: true
  qte?: true
  price?: true
  recu?: true
  qte_recu?: true
  status?: true
}

export type Project_cmd_itemMinAggregateInputType = {
  id?: true
  cmd_id?: true
  product_id?: true
  desc?: true
  qte?: true
  price?: true
  usd?: true
  recu?: true
  qte_recu?: true
  date_recu?: true
  comment?: true
  eta?: true
  status?: true
}

export type Project_cmd_itemMaxAggregateInputType = {
  id?: true
  cmd_id?: true
  product_id?: true
  desc?: true
  qte?: true
  price?: true
  usd?: true
  recu?: true
  qte_recu?: true
  date_recu?: true
  comment?: true
  eta?: true
  status?: true
}

export type Project_cmd_itemCountAggregateInputType = {
  id?: true
  cmd_id?: true
  product_id?: true
  desc?: true
  qte?: true
  price?: true
  usd?: true
  recu?: true
  qte_recu?: true
  date_recu?: true
  comment?: true
  eta?: true
  status?: true
  _all?: true
}

export type Project_cmd_itemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which project_cmd_item to aggregate.
   */
  where?: Prisma.project_cmd_itemWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of project_cmd_items to fetch.
   */
  orderBy?: Prisma.project_cmd_itemOrderByWithRelationInput | Prisma.project_cmd_itemOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.project_cmd_itemWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` project_cmd_items 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_cmd_items.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned project_cmd_items
  **/
  _count?: true | Project_cmd_itemCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Project_cmd_itemAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Project_cmd_itemSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Project_cmd_itemMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Project_cmd_itemMaxAggregateInputType
}

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




export type project_cmd_itemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.project_cmd_itemWhereInput
  orderBy?: Prisma.project_cmd_itemOrderByWithAggregationInput | Prisma.project_cmd_itemOrderByWithAggregationInput[]
  by: Prisma.Project_cmd_itemScalarFieldEnum[] | Prisma.Project_cmd_itemScalarFieldEnum
  having?: Prisma.project_cmd_itemScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Project_cmd_itemCountAggregateInputType | true
  _avg?: Project_cmd_itemAvgAggregateInputType
  _sum?: Project_cmd_itemSumAggregateInputType
  _min?: Project_cmd_itemMinAggregateInputType
  _max?: Project_cmd_itemMaxAggregateInputType
}

export type Project_cmd_itemGroupByOutputType = {
  id: number
  cmd_id: number
  product_id: number
  desc: string
  qte: number
  price: number
  usd: boolean
  recu: number
  qte_recu: number
  date_recu: string | null
  comment: string | null
  eta: string | null
  status: number
  _count: Project_cmd_itemCountAggregateOutputType | null
  _avg: Project_cmd_itemAvgAggregateOutputType | null
  _sum: Project_cmd_itemSumAggregateOutputType | null
  _min: Project_cmd_itemMinAggregateOutputType | null
  _max: Project_cmd_itemMaxAggregateOutputType | null
}

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



export type project_cmd_itemWhereInput = {
  AND?: Prisma.project_cmd_itemWhereInput | Prisma.project_cmd_itemWhereInput[]
  OR?: Prisma.project_cmd_itemWhereInput[]
  NOT?: Prisma.project_cmd_itemWhereInput | Prisma.project_cmd_itemWhereInput[]
  id?: Prisma.IntFilter<"project_cmd_item"> | number
  cmd_id?: Prisma.IntFilter<"project_cmd_item"> | number
  product_id?: Prisma.IntFilter<"project_cmd_item"> | number
  desc?: Prisma.StringFilter<"project_cmd_item"> | string
  qte?: Prisma.FloatFilter<"project_cmd_item"> | number
  price?: Prisma.FloatFilter<"project_cmd_item"> | number
  usd?: Prisma.BoolFilter<"project_cmd_item"> | boolean
  recu?: Prisma.IntFilter<"project_cmd_item"> | number
  qte_recu?: Prisma.FloatFilter<"project_cmd_item"> | number
  date_recu?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  comment?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  eta?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  status?: Prisma.IntFilter<"project_cmd_item"> | number
}

export type project_cmd_itemOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  usd?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  date_recu?: Prisma.SortOrderInput | Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  eta?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  _relevance?: Prisma.project_cmd_itemOrderByRelevanceInput
}

export type project_cmd_itemWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.project_cmd_itemWhereInput | Prisma.project_cmd_itemWhereInput[]
  OR?: Prisma.project_cmd_itemWhereInput[]
  NOT?: Prisma.project_cmd_itemWhereInput | Prisma.project_cmd_itemWhereInput[]
  cmd_id?: Prisma.IntFilter<"project_cmd_item"> | number
  product_id?: Prisma.IntFilter<"project_cmd_item"> | number
  desc?: Prisma.StringFilter<"project_cmd_item"> | string
  qte?: Prisma.FloatFilter<"project_cmd_item"> | number
  price?: Prisma.FloatFilter<"project_cmd_item"> | number
  usd?: Prisma.BoolFilter<"project_cmd_item"> | boolean
  recu?: Prisma.IntFilter<"project_cmd_item"> | number
  qte_recu?: Prisma.FloatFilter<"project_cmd_item"> | number
  date_recu?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  comment?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  eta?: Prisma.StringNullableFilter<"project_cmd_item"> | string | null
  status?: Prisma.IntFilter<"project_cmd_item"> | number
}, "id">

export type project_cmd_itemOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  usd?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  date_recu?: Prisma.SortOrderInput | Prisma.SortOrder
  comment?: Prisma.SortOrderInput | Prisma.SortOrder
  eta?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  _count?: Prisma.project_cmd_itemCountOrderByAggregateInput
  _avg?: Prisma.project_cmd_itemAvgOrderByAggregateInput
  _max?: Prisma.project_cmd_itemMaxOrderByAggregateInput
  _min?: Prisma.project_cmd_itemMinOrderByAggregateInput
  _sum?: Prisma.project_cmd_itemSumOrderByAggregateInput
}

export type project_cmd_itemScalarWhereWithAggregatesInput = {
  AND?: Prisma.project_cmd_itemScalarWhereWithAggregatesInput | Prisma.project_cmd_itemScalarWhereWithAggregatesInput[]
  OR?: Prisma.project_cmd_itemScalarWhereWithAggregatesInput[]
  NOT?: Prisma.project_cmd_itemScalarWhereWithAggregatesInput | Prisma.project_cmd_itemScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"project_cmd_item"> | number
  cmd_id?: Prisma.IntWithAggregatesFilter<"project_cmd_item"> | number
  product_id?: Prisma.IntWithAggregatesFilter<"project_cmd_item"> | number
  desc?: Prisma.StringWithAggregatesFilter<"project_cmd_item"> | string
  qte?: Prisma.FloatWithAggregatesFilter<"project_cmd_item"> | number
  price?: Prisma.FloatWithAggregatesFilter<"project_cmd_item"> | number
  usd?: Prisma.BoolWithAggregatesFilter<"project_cmd_item"> | boolean
  recu?: Prisma.IntWithAggregatesFilter<"project_cmd_item"> | number
  qte_recu?: Prisma.FloatWithAggregatesFilter<"project_cmd_item"> | number
  date_recu?: Prisma.StringNullableWithAggregatesFilter<"project_cmd_item"> | string | null
  comment?: Prisma.StringNullableWithAggregatesFilter<"project_cmd_item"> | string | null
  eta?: Prisma.StringNullableWithAggregatesFilter<"project_cmd_item"> | string | null
  status?: Prisma.IntWithAggregatesFilter<"project_cmd_item"> | number
}

export type project_cmd_itemCreateInput = {
  cmd_id: number
  product_id?: number
  desc: string
  qte: number
  price: number
  usd?: boolean
  recu?: number
  qte_recu?: number
  date_recu?: string | null
  comment?: string | null
  eta?: string | null
  status?: number
}

export type project_cmd_itemUncheckedCreateInput = {
  id?: number
  cmd_id: number
  product_id?: number
  desc: string
  qte: number
  price: number
  usd?: boolean
  recu?: number
  qte_recu?: number
  date_recu?: string | null
  comment?: string | null
  eta?: string | null
  status?: number
}

export type project_cmd_itemUpdateInput = {
  cmd_id?: Prisma.IntFieldUpdateOperationsInput | number
  product_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  qte?: Prisma.FloatFieldUpdateOperationsInput | number
  price?: Prisma.FloatFieldUpdateOperationsInput | number
  usd?: Prisma.BoolFieldUpdateOperationsInput | boolean
  recu?: Prisma.IntFieldUpdateOperationsInput | number
  qte_recu?: Prisma.FloatFieldUpdateOperationsInput | number
  date_recu?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eta?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_cmd_itemUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  cmd_id?: Prisma.IntFieldUpdateOperationsInput | number
  product_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  qte?: Prisma.FloatFieldUpdateOperationsInput | number
  price?: Prisma.FloatFieldUpdateOperationsInput | number
  usd?: Prisma.BoolFieldUpdateOperationsInput | boolean
  recu?: Prisma.IntFieldUpdateOperationsInput | number
  qte_recu?: Prisma.FloatFieldUpdateOperationsInput | number
  date_recu?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eta?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_cmd_itemCreateManyInput = {
  id?: number
  cmd_id: number
  product_id?: number
  desc: string
  qte: number
  price: number
  usd?: boolean
  recu?: number
  qte_recu?: number
  date_recu?: string | null
  comment?: string | null
  eta?: string | null
  status?: number
}

export type project_cmd_itemUpdateManyMutationInput = {
  cmd_id?: Prisma.IntFieldUpdateOperationsInput | number
  product_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  qte?: Prisma.FloatFieldUpdateOperationsInput | number
  price?: Prisma.FloatFieldUpdateOperationsInput | number
  usd?: Prisma.BoolFieldUpdateOperationsInput | boolean
  recu?: Prisma.IntFieldUpdateOperationsInput | number
  qte_recu?: Prisma.FloatFieldUpdateOperationsInput | number
  date_recu?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eta?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
}

export type project_cmd_itemUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  cmd_id?: Prisma.IntFieldUpdateOperationsInput | number
  product_id?: Prisma.IntFieldUpdateOperationsInput | number
  desc?: Prisma.StringFieldUpdateOperationsInput | string
  qte?: Prisma.FloatFieldUpdateOperationsInput | number
  price?: Prisma.FloatFieldUpdateOperationsInput | number
  usd?: Prisma.BoolFieldUpdateOperationsInput | boolean
  recu?: Prisma.IntFieldUpdateOperationsInput | number
  qte_recu?: Prisma.FloatFieldUpdateOperationsInput | number
  date_recu?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eta?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.IntFieldUpdateOperationsInput | number
}

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

export type project_cmd_itemCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  usd?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  date_recu?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  eta?: Prisma.SortOrder
  status?: Prisma.SortOrder
}

export type project_cmd_itemAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  status?: Prisma.SortOrder
}

export type project_cmd_itemMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  usd?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  date_recu?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  eta?: Prisma.SortOrder
  status?: Prisma.SortOrder
}

export type project_cmd_itemMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  desc?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  usd?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  date_recu?: Prisma.SortOrder
  comment?: Prisma.SortOrder
  eta?: Prisma.SortOrder
  status?: Prisma.SortOrder
}

export type project_cmd_itemSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  cmd_id?: Prisma.SortOrder
  product_id?: Prisma.SortOrder
  qte?: Prisma.SortOrder
  price?: Prisma.SortOrder
  recu?: Prisma.SortOrder
  qte_recu?: Prisma.SortOrder
  status?: Prisma.SortOrder
}



export type project_cmd_itemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  cmd_id?: boolean
  product_id?: boolean
  desc?: boolean
  qte?: boolean
  price?: boolean
  usd?: boolean
  recu?: boolean
  qte_recu?: boolean
  date_recu?: boolean
  comment?: boolean
  eta?: boolean
  status?: boolean
}, ExtArgs["result"]["project_cmd_item"]>



export type project_cmd_itemSelectScalar = {
  id?: boolean
  cmd_id?: boolean
  product_id?: boolean
  desc?: boolean
  qte?: boolean
  price?: boolean
  usd?: boolean
  recu?: boolean
  qte_recu?: boolean
  date_recu?: boolean
  comment?: boolean
  eta?: boolean
  status?: boolean
}

export type project_cmd_itemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cmd_id" | "product_id" | "desc" | "qte" | "price" | "usd" | "recu" | "qte_recu" | "date_recu" | "comment" | "eta" | "status", ExtArgs["result"]["project_cmd_item"]>

export type $project_cmd_itemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "project_cmd_item"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    cmd_id: number
    product_id: number
    desc: string
    qte: number
    price: number
    usd: boolean
    recu: number
    qte_recu: number
    date_recu: string | null
    comment: string | null
    eta: string | null
    status: number
  }, ExtArgs["result"]["project_cmd_item"]>
  composites: {}
}

export type project_cmd_itemGetPayload<S extends boolean | null | undefined | project_cmd_itemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$project_cmd_itemPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for project_cmd_item.
 * 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_cmd_itemClient<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_cmd_item model
 */
export interface project_cmd_itemFieldRefs {
  readonly id: Prisma.FieldRef<"project_cmd_item", 'Int'>
  readonly cmd_id: Prisma.FieldRef<"project_cmd_item", 'Int'>
  readonly product_id: Prisma.FieldRef<"project_cmd_item", 'Int'>
  readonly desc: Prisma.FieldRef<"project_cmd_item", 'String'>
  readonly qte: Prisma.FieldRef<"project_cmd_item", 'Float'>
  readonly price: Prisma.FieldRef<"project_cmd_item", 'Float'>
  readonly usd: Prisma.FieldRef<"project_cmd_item", 'Boolean'>
  readonly recu: Prisma.FieldRef<"project_cmd_item", 'Int'>
  readonly qte_recu: Prisma.FieldRef<"project_cmd_item", 'Float'>
  readonly date_recu: Prisma.FieldRef<"project_cmd_item", 'String'>
  readonly comment: Prisma.FieldRef<"project_cmd_item", 'String'>
  readonly eta: Prisma.FieldRef<"project_cmd_item", 'String'>
  readonly status: Prisma.FieldRef<"project_cmd_item", 'Int'>
}
    

// Custom InputTypes
/**
 * project_cmd_item findUnique
 */
export type project_cmd_itemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * Filter, which project_cmd_item to fetch.
   */
  where: Prisma.project_cmd_itemWhereUniqueInput
}

/**
 * project_cmd_item findUniqueOrThrow
 */
export type project_cmd_itemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * Filter, which project_cmd_item to fetch.
   */
  where: Prisma.project_cmd_itemWhereUniqueInput
}

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

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

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

/**
 * project_cmd_item create
 */
export type project_cmd_itemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * The data needed to create a project_cmd_item.
   */
  data: Prisma.XOR<Prisma.project_cmd_itemCreateInput, Prisma.project_cmd_itemUncheckedCreateInput>
}

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

/**
 * project_cmd_item update
 */
export type project_cmd_itemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * The data needed to update a project_cmd_item.
   */
  data: Prisma.XOR<Prisma.project_cmd_itemUpdateInput, Prisma.project_cmd_itemUncheckedUpdateInput>
  /**
   * Choose, which project_cmd_item to update.
   */
  where: Prisma.project_cmd_itemWhereUniqueInput
}

/**
 * project_cmd_item updateMany
 */
export type project_cmd_itemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update project_cmd_items.
   */
  data: Prisma.XOR<Prisma.project_cmd_itemUpdateManyMutationInput, Prisma.project_cmd_itemUncheckedUpdateManyInput>
  /**
   * Filter which project_cmd_items to update
   */
  where?: Prisma.project_cmd_itemWhereInput
  /**
   * Limit how many project_cmd_items to update.
   */
  limit?: number
}

/**
 * project_cmd_item upsert
 */
export type project_cmd_itemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * The filter to search for the project_cmd_item to update in case it exists.
   */
  where: Prisma.project_cmd_itemWhereUniqueInput
  /**
   * In case the project_cmd_item found by the `where` argument doesn't exist, create a new project_cmd_item with this data.
   */
  create: Prisma.XOR<Prisma.project_cmd_itemCreateInput, Prisma.project_cmd_itemUncheckedCreateInput>
  /**
   * In case the project_cmd_item was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.project_cmd_itemUpdateInput, Prisma.project_cmd_itemUncheckedUpdateInput>
}

/**
 * project_cmd_item delete
 */
export type project_cmd_itemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the project_cmd_item
   */
  select?: Prisma.project_cmd_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the project_cmd_item
   */
  omit?: Prisma.project_cmd_itemOmit<ExtArgs> | null
  /**
   * Filter which project_cmd_item to delete.
   */
  where: Prisma.project_cmd_itemWhereUniqueInput
}

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

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