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

export type AggregateDealers = {
  _count: DealersCountAggregateOutputType | null
  _avg: DealersAvgAggregateOutputType | null
  _sum: DealersSumAggregateOutputType | null
  _min: DealersMinAggregateOutputType | null
  _max: DealersMaxAggregateOutputType | null
}

export type DealersAvgAggregateOutputType = {
  created_at: number | null
  updated_at: number | null
}

export type DealersSumAggregateOutputType = {
  created_at: bigint | null
  updated_at: bigint | null
}

export type DealersMinAggregateOutputType = {
  id: string | null
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type DealersMaxAggregateOutputType = {
  id: string | null
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type DealersCountAggregateOutputType = {
  id: number
  user_id: number
  email: number
  first_name: number
  last_name: number
  phone_number: number
  created_at: number
  updated_at: number
  created_by: number
  _all: number
}


export type DealersAvgAggregateInputType = {
  created_at?: true
  updated_at?: true
}

export type DealersSumAggregateInputType = {
  created_at?: true
  updated_at?: true
}

export type DealersMinAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type DealersMaxAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type DealersCountAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  created_at?: true
  updated_at?: true
  created_by?: true
  _all?: true
}

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

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




export type dealersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.dealersWhereInput
  orderBy?: Prisma.dealersOrderByWithAggregationInput | Prisma.dealersOrderByWithAggregationInput[]
  by: Prisma.DealersScalarFieldEnum[] | Prisma.DealersScalarFieldEnum
  having?: Prisma.dealersScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: DealersCountAggregateInputType | true
  _avg?: DealersAvgAggregateInputType
  _sum?: DealersSumAggregateInputType
  _min?: DealersMinAggregateInputType
  _max?: DealersMaxAggregateInputType
}

export type DealersGroupByOutputType = {
  id: string
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
  _count: DealersCountAggregateOutputType | null
  _avg: DealersAvgAggregateOutputType | null
  _sum: DealersSumAggregateOutputType | null
  _min: DealersMinAggregateOutputType | null
  _max: DealersMaxAggregateOutputType | null
}

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



export type dealersWhereInput = {
  AND?: Prisma.dealersWhereInput | Prisma.dealersWhereInput[]
  OR?: Prisma.dealersWhereInput[]
  NOT?: Prisma.dealersWhereInput | Prisma.dealersWhereInput[]
  id?: Prisma.UuidFilter<"dealers"> | string
  user_id?: Prisma.StringNullableFilter<"dealers"> | string | null
  email?: Prisma.StringNullableFilter<"dealers"> | string | null
  first_name?: Prisma.StringNullableFilter<"dealers"> | string | null
  last_name?: Prisma.StringNullableFilter<"dealers"> | string | null
  phone_number?: Prisma.StringNullableFilter<"dealers"> | string | null
  created_at?: Prisma.BigIntNullableFilter<"dealers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"dealers"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"dealers"> | string | null
}

export type dealersOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type dealersWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.dealersWhereInput | Prisma.dealersWhereInput[]
  OR?: Prisma.dealersWhereInput[]
  NOT?: Prisma.dealersWhereInput | Prisma.dealersWhereInput[]
  user_id?: Prisma.StringNullableFilter<"dealers"> | string | null
  email?: Prisma.StringNullableFilter<"dealers"> | string | null
  first_name?: Prisma.StringNullableFilter<"dealers"> | string | null
  last_name?: Prisma.StringNullableFilter<"dealers"> | string | null
  phone_number?: Prisma.StringNullableFilter<"dealers"> | string | null
  created_at?: Prisma.BigIntNullableFilter<"dealers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"dealers"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"dealers"> | string | null
}, "id">

export type dealersOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.dealersCountOrderByAggregateInput
  _avg?: Prisma.dealersAvgOrderByAggregateInput
  _max?: Prisma.dealersMaxOrderByAggregateInput
  _min?: Prisma.dealersMinOrderByAggregateInput
  _sum?: Prisma.dealersSumOrderByAggregateInput
}

export type dealersScalarWhereWithAggregatesInput = {
  AND?: Prisma.dealersScalarWhereWithAggregatesInput | Prisma.dealersScalarWhereWithAggregatesInput[]
  OR?: Prisma.dealersScalarWhereWithAggregatesInput[]
  NOT?: Prisma.dealersScalarWhereWithAggregatesInput | Prisma.dealersScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"dealers"> | string
  user_id?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
  email?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
  first_name?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
  last_name?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
  phone_number?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
  created_at?: Prisma.BigIntNullableWithAggregatesFilter<"dealers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableWithAggregatesFilter<"dealers"> | bigint | number | null
  created_by?: Prisma.StringNullableWithAggregatesFilter<"dealers"> | string | null
}

export type dealersCreateInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type dealersUncheckedCreateInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type dealersUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type dealersUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type dealersCreateManyInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type dealersUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type dealersUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type dealersCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type dealersAvgOrderByAggregateInput = {
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type dealersMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type dealersMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type dealersSumOrderByAggregateInput = {
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}



export type dealersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["dealers"]>

export type dealersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["dealers"]>

export type dealersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["dealers"]>

export type dealersSelectScalar = {
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}

export type dealersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "email" | "first_name" | "last_name" | "phone_number" | "created_at" | "updated_at" | "created_by", ExtArgs["result"]["dealers"]>

export type $dealersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "dealers"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    user_id: string | null
    email: string | null
    first_name: string | null
    last_name: string | null
    phone_number: string | null
    created_at: bigint | null
    updated_at: bigint | null
    created_by: string | null
  }, ExtArgs["result"]["dealers"]>
  composites: {}
}

export type dealersGetPayload<S extends boolean | null | undefined | dealersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$dealersPayload, S>

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

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

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

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

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

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

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

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

  /**
   * Create many Dealers and returns the data saved in the database.
   * @param {dealersCreateManyAndReturnArgs} args - Arguments to create many Dealers.
   * @example
   * // Create many Dealers
   * const dealers = await prisma.dealers.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Dealers and only return the `id`
   * const dealersWithIdOnly = await prisma.dealers.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends dealersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, dealersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$dealersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more Dealers and returns the data updated in the database.
   * @param {dealersUpdateManyAndReturnArgs} args - Arguments to update many Dealers.
   * @example
   * // Update many Dealers
   * const dealers = await prisma.dealers.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Dealers and only return the `id`
   * const dealersWithIdOnly = await prisma.dealers.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends dealersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, dealersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$dealersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for dealers.
 * 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__dealersClient<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 dealers model
 */
export interface dealersFieldRefs {
  readonly id: Prisma.FieldRef<"dealers", 'String'>
  readonly user_id: Prisma.FieldRef<"dealers", 'String'>
  readonly email: Prisma.FieldRef<"dealers", 'String'>
  readonly first_name: Prisma.FieldRef<"dealers", 'String'>
  readonly last_name: Prisma.FieldRef<"dealers", 'String'>
  readonly phone_number: Prisma.FieldRef<"dealers", 'String'>
  readonly created_at: Prisma.FieldRef<"dealers", 'BigInt'>
  readonly updated_at: Prisma.FieldRef<"dealers", 'BigInt'>
  readonly created_by: Prisma.FieldRef<"dealers", 'String'>
}
    

// Custom InputTypes
/**
 * dealers findUnique
 */
export type dealersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * Filter, which dealers to fetch.
   */
  where: Prisma.dealersWhereUniqueInput
}

/**
 * dealers findUniqueOrThrow
 */
export type dealersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * Filter, which dealers to fetch.
   */
  where: Prisma.dealersWhereUniqueInput
}

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

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

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

/**
 * dealers create
 */
export type dealersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * The data needed to create a dealers.
   */
  data: Prisma.XOR<Prisma.dealersCreateInput, Prisma.dealersUncheckedCreateInput>
}

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

/**
 * dealers createManyAndReturn
 */
export type dealersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * The data used to create many dealers.
   */
  data: Prisma.dealersCreateManyInput | Prisma.dealersCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * dealers update
 */
export type dealersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * The data needed to update a dealers.
   */
  data: Prisma.XOR<Prisma.dealersUpdateInput, Prisma.dealersUncheckedUpdateInput>
  /**
   * Choose, which dealers to update.
   */
  where: Prisma.dealersWhereUniqueInput
}

/**
 * dealers updateMany
 */
export type dealersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update dealers.
   */
  data: Prisma.XOR<Prisma.dealersUpdateManyMutationInput, Prisma.dealersUncheckedUpdateManyInput>
  /**
   * Filter which dealers to update
   */
  where?: Prisma.dealersWhereInput
  /**
   * Limit how many dealers to update.
   */
  limit?: number
}

/**
 * dealers updateManyAndReturn
 */
export type dealersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * The data used to update dealers.
   */
  data: Prisma.XOR<Prisma.dealersUpdateManyMutationInput, Prisma.dealersUncheckedUpdateManyInput>
  /**
   * Filter which dealers to update
   */
  where?: Prisma.dealersWhereInput
  /**
   * Limit how many dealers to update.
   */
  limit?: number
}

/**
 * dealers upsert
 */
export type dealersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * The filter to search for the dealers to update in case it exists.
   */
  where: Prisma.dealersWhereUniqueInput
  /**
   * In case the dealers found by the `where` argument doesn't exist, create a new dealers with this data.
   */
  create: Prisma.XOR<Prisma.dealersCreateInput, Prisma.dealersUncheckedCreateInput>
  /**
   * In case the dealers was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.dealersUpdateInput, Prisma.dealersUncheckedUpdateInput>
}

/**
 * dealers delete
 */
export type dealersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the dealers
   */
  select?: Prisma.dealersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the dealers
   */
  omit?: Prisma.dealersOmit<ExtArgs> | null
  /**
   * Filter which dealers to delete.
   */
  where: Prisma.dealersWhereUniqueInput
}

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

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