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

export type AggregateInvoice_item = {
  _count: Invoice_itemCountAggregateOutputType | null
  _avg: Invoice_itemAvgAggregateOutputType | null
  _sum: Invoice_itemSumAggregateOutputType | null
  _min: Invoice_itemMinAggregateOutputType | null
  _max: Invoice_itemMaxAggregateOutputType | null
}

export type Invoice_itemAvgAggregateOutputType = {
  id: number | null
  service_id: number | null
  invoice_id: number | null
  quantity: number | null
  unitary_price: number | null
}

export type Invoice_itemSumAggregateOutputType = {
  id: bigint | null
  service_id: bigint | null
  invoice_id: bigint | null
  quantity: number | null
  unitary_price: number | null
}

export type Invoice_itemMinAggregateOutputType = {
  id: bigint | null
  service_id: bigint | null
  invoice_id: bigint | null
  sku: string | null
  quantity: number | null
  product_name: string | null
  unitary_price: number | null
  nosub: boolean | null
  delivery_name: string | null
}

export type Invoice_itemMaxAggregateOutputType = {
  id: bigint | null
  service_id: bigint | null
  invoice_id: bigint | null
  sku: string | null
  quantity: number | null
  product_name: string | null
  unitary_price: number | null
  nosub: boolean | null
  delivery_name: string | null
}

export type Invoice_itemCountAggregateOutputType = {
  id: number
  service_id: number
  invoice_id: number
  sku: number
  quantity: number
  product_name: number
  unitary_price: number
  nosub: number
  delivery_name: number
  _all: number
}


export type Invoice_itemAvgAggregateInputType = {
  id?: true
  service_id?: true
  invoice_id?: true
  quantity?: true
  unitary_price?: true
}

export type Invoice_itemSumAggregateInputType = {
  id?: true
  service_id?: true
  invoice_id?: true
  quantity?: true
  unitary_price?: true
}

export type Invoice_itemMinAggregateInputType = {
  id?: true
  service_id?: true
  invoice_id?: true
  sku?: true
  quantity?: true
  product_name?: true
  unitary_price?: true
  nosub?: true
  delivery_name?: true
}

export type Invoice_itemMaxAggregateInputType = {
  id?: true
  service_id?: true
  invoice_id?: true
  sku?: true
  quantity?: true
  product_name?: true
  unitary_price?: true
  nosub?: true
  delivery_name?: true
}

export type Invoice_itemCountAggregateInputType = {
  id?: true
  service_id?: true
  invoice_id?: true
  sku?: true
  quantity?: true
  product_name?: true
  unitary_price?: true
  nosub?: true
  delivery_name?: true
  _all?: true
}

export type Invoice_itemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which invoice_item to aggregate.
   */
  where?: Prisma.invoice_itemWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of invoice_items to fetch.
   */
  orderBy?: Prisma.invoice_itemOrderByWithRelationInput | Prisma.invoice_itemOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.invoice_itemWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` invoice_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` invoice_items.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned invoice_items
  **/
  _count?: true | Invoice_itemCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Invoice_itemAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Invoice_itemSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Invoice_itemMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Invoice_itemMaxAggregateInputType
}

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




export type invoice_itemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.invoice_itemWhereInput
  orderBy?: Prisma.invoice_itemOrderByWithAggregationInput | Prisma.invoice_itemOrderByWithAggregationInput[]
  by: Prisma.Invoice_itemScalarFieldEnum[] | Prisma.Invoice_itemScalarFieldEnum
  having?: Prisma.invoice_itemScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Invoice_itemCountAggregateInputType | true
  _avg?: Invoice_itemAvgAggregateInputType
  _sum?: Invoice_itemSumAggregateInputType
  _min?: Invoice_itemMinAggregateInputType
  _max?: Invoice_itemMaxAggregateInputType
}

export type Invoice_itemGroupByOutputType = {
  id: bigint
  service_id: bigint | null
  invoice_id: bigint | null
  sku: string | null
  quantity: number
  product_name: string | null
  unitary_price: number | null
  nosub: boolean
  delivery_name: string | null
  _count: Invoice_itemCountAggregateOutputType | null
  _avg: Invoice_itemAvgAggregateOutputType | null
  _sum: Invoice_itemSumAggregateOutputType | null
  _min: Invoice_itemMinAggregateOutputType | null
  _max: Invoice_itemMaxAggregateOutputType | null
}

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



export type invoice_itemWhereInput = {
  AND?: Prisma.invoice_itemWhereInput | Prisma.invoice_itemWhereInput[]
  OR?: Prisma.invoice_itemWhereInput[]
  NOT?: Prisma.invoice_itemWhereInput | Prisma.invoice_itemWhereInput[]
  id?: Prisma.BigIntFilter<"invoice_item"> | bigint | number
  service_id?: Prisma.BigIntNullableFilter<"invoice_item"> | bigint | number | null
  invoice_id?: Prisma.BigIntNullableFilter<"invoice_item"> | bigint | number | null
  sku?: Prisma.StringNullableFilter<"invoice_item"> | string | null
  quantity?: Prisma.FloatFilter<"invoice_item"> | number
  product_name?: Prisma.StringNullableFilter<"invoice_item"> | string | null
  unitary_price?: Prisma.FloatNullableFilter<"invoice_item"> | number | null
  nosub?: Prisma.BoolFilter<"invoice_item"> | boolean
  delivery_name?: Prisma.StringNullableFilter<"invoice_item"> | string | null
}

export type invoice_itemOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
  sku?: Prisma.SortOrderInput | Prisma.SortOrder
  quantity?: Prisma.SortOrder
  product_name?: Prisma.SortOrderInput | Prisma.SortOrder
  unitary_price?: Prisma.SortOrderInput | Prisma.SortOrder
  nosub?: Prisma.SortOrder
  delivery_name?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.invoice_itemOrderByRelevanceInput
}

export type invoice_itemWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.invoice_itemWhereInput | Prisma.invoice_itemWhereInput[]
  OR?: Prisma.invoice_itemWhereInput[]
  NOT?: Prisma.invoice_itemWhereInput | Prisma.invoice_itemWhereInput[]
  service_id?: Prisma.BigIntNullableFilter<"invoice_item"> | bigint | number | null
  invoice_id?: Prisma.BigIntNullableFilter<"invoice_item"> | bigint | number | null
  sku?: Prisma.StringNullableFilter<"invoice_item"> | string | null
  quantity?: Prisma.FloatFilter<"invoice_item"> | number
  product_name?: Prisma.StringNullableFilter<"invoice_item"> | string | null
  unitary_price?: Prisma.FloatNullableFilter<"invoice_item"> | number | null
  nosub?: Prisma.BoolFilter<"invoice_item"> | boolean
  delivery_name?: Prisma.StringNullableFilter<"invoice_item"> | string | null
}, "id">

export type invoice_itemOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrderInput | Prisma.SortOrder
  invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder
  sku?: Prisma.SortOrderInput | Prisma.SortOrder
  quantity?: Prisma.SortOrder
  product_name?: Prisma.SortOrderInput | Prisma.SortOrder
  unitary_price?: Prisma.SortOrderInput | Prisma.SortOrder
  nosub?: Prisma.SortOrder
  delivery_name?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.invoice_itemCountOrderByAggregateInput
  _avg?: Prisma.invoice_itemAvgOrderByAggregateInput
  _max?: Prisma.invoice_itemMaxOrderByAggregateInput
  _min?: Prisma.invoice_itemMinOrderByAggregateInput
  _sum?: Prisma.invoice_itemSumOrderByAggregateInput
}

export type invoice_itemScalarWhereWithAggregatesInput = {
  AND?: Prisma.invoice_itemScalarWhereWithAggregatesInput | Prisma.invoice_itemScalarWhereWithAggregatesInput[]
  OR?: Prisma.invoice_itemScalarWhereWithAggregatesInput[]
  NOT?: Prisma.invoice_itemScalarWhereWithAggregatesInput | Prisma.invoice_itemScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"invoice_item"> | bigint | number
  service_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_item"> | bigint | number | null
  invoice_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoice_item"> | bigint | number | null
  sku?: Prisma.StringNullableWithAggregatesFilter<"invoice_item"> | string | null
  quantity?: Prisma.FloatWithAggregatesFilter<"invoice_item"> | number
  product_name?: Prisma.StringNullableWithAggregatesFilter<"invoice_item"> | string | null
  unitary_price?: Prisma.FloatNullableWithAggregatesFilter<"invoice_item"> | number | null
  nosub?: Prisma.BoolWithAggregatesFilter<"invoice_item"> | boolean
  delivery_name?: Prisma.StringNullableWithAggregatesFilter<"invoice_item"> | string | null
}

export type invoice_itemCreateInput = {
  id?: bigint | number
  service_id?: bigint | number | null
  invoice_id?: bigint | number | null
  sku?: string | null
  quantity?: number
  product_name?: string | null
  unitary_price?: number | null
  nosub?: boolean
  delivery_name?: string | null
}

export type invoice_itemUncheckedCreateInput = {
  id?: bigint | number
  service_id?: bigint | number | null
  invoice_id?: bigint | number | null
  sku?: string | null
  quantity?: number
  product_name?: string | null
  unitary_price?: number | null
  nosub?: boolean
  delivery_name?: string | null
}

export type invoice_itemUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  quantity?: Prisma.FloatFieldUpdateOperationsInput | number
  product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
  delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type invoice_itemUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  quantity?: Prisma.FloatFieldUpdateOperationsInput | number
  product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
  delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type invoice_itemCreateManyInput = {
  id?: bigint | number
  service_id?: bigint | number | null
  invoice_id?: bigint | number | null
  sku?: string | null
  quantity?: number
  product_name?: string | null
  unitary_price?: number | null
  nosub?: boolean
  delivery_name?: string | null
}

export type invoice_itemUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  quantity?: Prisma.FloatFieldUpdateOperationsInput | number
  product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
  delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type invoice_itemUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  quantity?: Prisma.FloatFieldUpdateOperationsInput | number
  product_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  unitary_price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  nosub?: Prisma.BoolFieldUpdateOperationsInput | boolean
  delivery_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

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

export type invoice_itemCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  invoice_id?: Prisma.SortOrder
  sku?: Prisma.SortOrder
  quantity?: Prisma.SortOrder
  product_name?: Prisma.SortOrder
  unitary_price?: Prisma.SortOrder
  nosub?: Prisma.SortOrder
  delivery_name?: Prisma.SortOrder
}

export type invoice_itemAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  invoice_id?: Prisma.SortOrder
  quantity?: Prisma.SortOrder
  unitary_price?: Prisma.SortOrder
}

export type invoice_itemMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  invoice_id?: Prisma.SortOrder
  sku?: Prisma.SortOrder
  quantity?: Prisma.SortOrder
  product_name?: Prisma.SortOrder
  unitary_price?: Prisma.SortOrder
  nosub?: Prisma.SortOrder
  delivery_name?: Prisma.SortOrder
}

export type invoice_itemMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  invoice_id?: Prisma.SortOrder
  sku?: Prisma.SortOrder
  quantity?: Prisma.SortOrder
  product_name?: Prisma.SortOrder
  unitary_price?: Prisma.SortOrder
  nosub?: Prisma.SortOrder
  delivery_name?: Prisma.SortOrder
}

export type invoice_itemSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  service_id?: Prisma.SortOrder
  invoice_id?: Prisma.SortOrder
  quantity?: Prisma.SortOrder
  unitary_price?: Prisma.SortOrder
}



export type invoice_itemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  service_id?: boolean
  invoice_id?: boolean
  sku?: boolean
  quantity?: boolean
  product_name?: boolean
  unitary_price?: boolean
  nosub?: boolean
  delivery_name?: boolean
}, ExtArgs["result"]["invoice_item"]>



export type invoice_itemSelectScalar = {
  id?: boolean
  service_id?: boolean
  invoice_id?: boolean
  sku?: boolean
  quantity?: boolean
  product_name?: boolean
  unitary_price?: boolean
  nosub?: boolean
  delivery_name?: boolean
}

export type invoice_itemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "service_id" | "invoice_id" | "sku" | "quantity" | "product_name" | "unitary_price" | "nosub" | "delivery_name", ExtArgs["result"]["invoice_item"]>

export type $invoice_itemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "invoice_item"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    service_id: bigint | null
    invoice_id: bigint | null
    sku: string | null
    quantity: number
    product_name: string | null
    unitary_price: number | null
    nosub: boolean
    delivery_name: string | null
  }, ExtArgs["result"]["invoice_item"]>
  composites: {}
}

export type invoice_itemGetPayload<S extends boolean | null | undefined | invoice_itemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$invoice_itemPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for invoice_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__invoice_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 invoice_item model
 */
export interface invoice_itemFieldRefs {
  readonly id: Prisma.FieldRef<"invoice_item", 'BigInt'>
  readonly service_id: Prisma.FieldRef<"invoice_item", 'BigInt'>
  readonly invoice_id: Prisma.FieldRef<"invoice_item", 'BigInt'>
  readonly sku: Prisma.FieldRef<"invoice_item", 'String'>
  readonly quantity: Prisma.FieldRef<"invoice_item", 'Float'>
  readonly product_name: Prisma.FieldRef<"invoice_item", 'String'>
  readonly unitary_price: Prisma.FieldRef<"invoice_item", 'Float'>
  readonly nosub: Prisma.FieldRef<"invoice_item", 'Boolean'>
  readonly delivery_name: Prisma.FieldRef<"invoice_item", 'String'>
}
    

// Custom InputTypes
/**
 * invoice_item findUnique
 */
export type invoice_itemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * Filter, which invoice_item to fetch.
   */
  where: Prisma.invoice_itemWhereUniqueInput
}

/**
 * invoice_item findUniqueOrThrow
 */
export type invoice_itemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * Filter, which invoice_item to fetch.
   */
  where: Prisma.invoice_itemWhereUniqueInput
}

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

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

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

/**
 * invoice_item create
 */
export type invoice_itemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * The data needed to create a invoice_item.
   */
  data?: Prisma.XOR<Prisma.invoice_itemCreateInput, Prisma.invoice_itemUncheckedCreateInput>
}

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

/**
 * invoice_item update
 */
export type invoice_itemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * The data needed to update a invoice_item.
   */
  data: Prisma.XOR<Prisma.invoice_itemUpdateInput, Prisma.invoice_itemUncheckedUpdateInput>
  /**
   * Choose, which invoice_item to update.
   */
  where: Prisma.invoice_itemWhereUniqueInput
}

/**
 * invoice_item updateMany
 */
export type invoice_itemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update invoice_items.
   */
  data: Prisma.XOR<Prisma.invoice_itemUpdateManyMutationInput, Prisma.invoice_itemUncheckedUpdateManyInput>
  /**
   * Filter which invoice_items to update
   */
  where?: Prisma.invoice_itemWhereInput
  /**
   * Limit how many invoice_items to update.
   */
  limit?: number
}

/**
 * invoice_item upsert
 */
export type invoice_itemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * The filter to search for the invoice_item to update in case it exists.
   */
  where: Prisma.invoice_itemWhereUniqueInput
  /**
   * In case the invoice_item found by the `where` argument doesn't exist, create a new invoice_item with this data.
   */
  create: Prisma.XOR<Prisma.invoice_itemCreateInput, Prisma.invoice_itemUncheckedCreateInput>
  /**
   * In case the invoice_item was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.invoice_itemUpdateInput, Prisma.invoice_itemUncheckedUpdateInput>
}

/**
 * invoice_item delete
 */
export type invoice_itemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the invoice_item
   */
  select?: Prisma.invoice_itemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the invoice_item
   */
  omit?: Prisma.invoice_itemOmit<ExtArgs> | null
  /**
   * Filter which invoice_item to delete.
   */
  where: Prisma.invoice_itemWhereUniqueInput
}

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

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