
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `ListingDealType` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/library"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model ListingDealType
 * 
 */
export type ListingDealTypeModel = runtime.Types.Result.DefaultSelection<Prisma.$ListingDealTypePayload>

export type AggregateListingDealType = {
  _count: ListingDealTypeCountAggregateOutputType | null
  _min: ListingDealTypeMinAggregateOutputType | null
  _max: ListingDealTypeMaxAggregateOutputType | null
}

export type ListingDealTypeMinAggregateOutputType = {
  id: string | null
  listingId: string | null
  dealType: string | null
}

export type ListingDealTypeMaxAggregateOutputType = {
  id: string | null
  listingId: string | null
  dealType: string | null
}

export type ListingDealTypeCountAggregateOutputType = {
  id: number
  listingId: number
  dealType: number
  _all: number
}


export type ListingDealTypeMinAggregateInputType = {
  id?: true
  listingId?: true
  dealType?: true
}

export type ListingDealTypeMaxAggregateInputType = {
  id?: true
  listingId?: true
  dealType?: true
}

export type ListingDealTypeCountAggregateInputType = {
  id?: true
  listingId?: true
  dealType?: true
  _all?: true
}

export type ListingDealTypeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which ListingDealType to aggregate.
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ListingDealTypes to fetch.
   */
  orderBy?: Prisma.ListingDealTypeOrderByWithRelationInput | Prisma.ListingDealTypeOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.ListingDealTypeWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ListingDealTypes 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` ListingDealTypes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned ListingDealTypes
  **/
  _count?: true | ListingDealTypeCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: ListingDealTypeMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: ListingDealTypeMaxAggregateInputType
}

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




export type ListingDealTypeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.ListingDealTypeWhereInput
  orderBy?: Prisma.ListingDealTypeOrderByWithAggregationInput | Prisma.ListingDealTypeOrderByWithAggregationInput[]
  by: Prisma.ListingDealTypeScalarFieldEnum[] | Prisma.ListingDealTypeScalarFieldEnum
  having?: Prisma.ListingDealTypeScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: ListingDealTypeCountAggregateInputType | true
  _min?: ListingDealTypeMinAggregateInputType
  _max?: ListingDealTypeMaxAggregateInputType
}

export type ListingDealTypeGroupByOutputType = {
  id: string
  listingId: string
  dealType: string
  _count: ListingDealTypeCountAggregateOutputType | null
  _min: ListingDealTypeMinAggregateOutputType | null
  _max: ListingDealTypeMaxAggregateOutputType | null
}

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



export type ListingDealTypeWhereInput = {
  AND?: Prisma.ListingDealTypeWhereInput | Prisma.ListingDealTypeWhereInput[]
  OR?: Prisma.ListingDealTypeWhereInput[]
  NOT?: Prisma.ListingDealTypeWhereInput | Prisma.ListingDealTypeWhereInput[]
  id?: Prisma.StringFilter<"ListingDealType"> | string
  listingId?: Prisma.StringFilter<"ListingDealType"> | string
  dealType?: Prisma.StringFilter<"ListingDealType"> | string
  listing?: Prisma.XOR<Prisma.ListingScalarRelationFilter, Prisma.ListingWhereInput>
}

export type ListingDealTypeOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  listingId?: Prisma.SortOrder
  dealType?: Prisma.SortOrder
  listing?: Prisma.ListingOrderByWithRelationInput
}

export type ListingDealTypeWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.ListingDealTypeWhereInput | Prisma.ListingDealTypeWhereInput[]
  OR?: Prisma.ListingDealTypeWhereInput[]
  NOT?: Prisma.ListingDealTypeWhereInput | Prisma.ListingDealTypeWhereInput[]
  listingId?: Prisma.StringFilter<"ListingDealType"> | string
  dealType?: Prisma.StringFilter<"ListingDealType"> | string
  listing?: Prisma.XOR<Prisma.ListingScalarRelationFilter, Prisma.ListingWhereInput>
}, "id">

export type ListingDealTypeOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  listingId?: Prisma.SortOrder
  dealType?: Prisma.SortOrder
  _count?: Prisma.ListingDealTypeCountOrderByAggregateInput
  _max?: Prisma.ListingDealTypeMaxOrderByAggregateInput
  _min?: Prisma.ListingDealTypeMinOrderByAggregateInput
}

export type ListingDealTypeScalarWhereWithAggregatesInput = {
  AND?: Prisma.ListingDealTypeScalarWhereWithAggregatesInput | Prisma.ListingDealTypeScalarWhereWithAggregatesInput[]
  OR?: Prisma.ListingDealTypeScalarWhereWithAggregatesInput[]
  NOT?: Prisma.ListingDealTypeScalarWhereWithAggregatesInput | Prisma.ListingDealTypeScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"ListingDealType"> | string
  listingId?: Prisma.StringWithAggregatesFilter<"ListingDealType"> | string
  dealType?: Prisma.StringWithAggregatesFilter<"ListingDealType"> | string
}

export type ListingDealTypeCreateInput = {
  id?: string
  dealType: string
  listing: Prisma.ListingCreateNestedOneWithoutDealTypesInput
}

export type ListingDealTypeUncheckedCreateInput = {
  id?: string
  listingId: string
  dealType: string
}

export type ListingDealTypeUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
  listing?: Prisma.ListingUpdateOneRequiredWithoutDealTypesNestedInput
}

export type ListingDealTypeUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  listingId?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}

export type ListingDealTypeCreateManyInput = {
  id?: string
  listingId: string
  dealType: string
}

export type ListingDealTypeUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}

export type ListingDealTypeUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  listingId?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}

export type ListingDealTypeListRelationFilter = {
  every?: Prisma.ListingDealTypeWhereInput
  some?: Prisma.ListingDealTypeWhereInput
  none?: Prisma.ListingDealTypeWhereInput
}

export type ListingDealTypeOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type ListingDealTypeCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  listingId?: Prisma.SortOrder
  dealType?: Prisma.SortOrder
}

export type ListingDealTypeMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  listingId?: Prisma.SortOrder
  dealType?: Prisma.SortOrder
}

export type ListingDealTypeMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  listingId?: Prisma.SortOrder
  dealType?: Prisma.SortOrder
}

export type ListingDealTypeCreateNestedManyWithoutListingInput = {
  create?: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput> | Prisma.ListingDealTypeCreateWithoutListingInput[] | Prisma.ListingDealTypeUncheckedCreateWithoutListingInput[]
  connectOrCreate?: Prisma.ListingDealTypeCreateOrConnectWithoutListingInput | Prisma.ListingDealTypeCreateOrConnectWithoutListingInput[]
  createMany?: Prisma.ListingDealTypeCreateManyListingInputEnvelope
  connect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
}

export type ListingDealTypeUncheckedCreateNestedManyWithoutListingInput = {
  create?: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput> | Prisma.ListingDealTypeCreateWithoutListingInput[] | Prisma.ListingDealTypeUncheckedCreateWithoutListingInput[]
  connectOrCreate?: Prisma.ListingDealTypeCreateOrConnectWithoutListingInput | Prisma.ListingDealTypeCreateOrConnectWithoutListingInput[]
  createMany?: Prisma.ListingDealTypeCreateManyListingInputEnvelope
  connect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
}

export type ListingDealTypeUpdateManyWithoutListingNestedInput = {
  create?: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput> | Prisma.ListingDealTypeCreateWithoutListingInput[] | Prisma.ListingDealTypeUncheckedCreateWithoutListingInput[]
  connectOrCreate?: Prisma.ListingDealTypeCreateOrConnectWithoutListingInput | Prisma.ListingDealTypeCreateOrConnectWithoutListingInput[]
  upsert?: Prisma.ListingDealTypeUpsertWithWhereUniqueWithoutListingInput | Prisma.ListingDealTypeUpsertWithWhereUniqueWithoutListingInput[]
  createMany?: Prisma.ListingDealTypeCreateManyListingInputEnvelope
  set?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  disconnect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  delete?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  connect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  update?: Prisma.ListingDealTypeUpdateWithWhereUniqueWithoutListingInput | Prisma.ListingDealTypeUpdateWithWhereUniqueWithoutListingInput[]
  updateMany?: Prisma.ListingDealTypeUpdateManyWithWhereWithoutListingInput | Prisma.ListingDealTypeUpdateManyWithWhereWithoutListingInput[]
  deleteMany?: Prisma.ListingDealTypeScalarWhereInput | Prisma.ListingDealTypeScalarWhereInput[]
}

export type ListingDealTypeUncheckedUpdateManyWithoutListingNestedInput = {
  create?: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput> | Prisma.ListingDealTypeCreateWithoutListingInput[] | Prisma.ListingDealTypeUncheckedCreateWithoutListingInput[]
  connectOrCreate?: Prisma.ListingDealTypeCreateOrConnectWithoutListingInput | Prisma.ListingDealTypeCreateOrConnectWithoutListingInput[]
  upsert?: Prisma.ListingDealTypeUpsertWithWhereUniqueWithoutListingInput | Prisma.ListingDealTypeUpsertWithWhereUniqueWithoutListingInput[]
  createMany?: Prisma.ListingDealTypeCreateManyListingInputEnvelope
  set?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  disconnect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  delete?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  connect?: Prisma.ListingDealTypeWhereUniqueInput | Prisma.ListingDealTypeWhereUniqueInput[]
  update?: Prisma.ListingDealTypeUpdateWithWhereUniqueWithoutListingInput | Prisma.ListingDealTypeUpdateWithWhereUniqueWithoutListingInput[]
  updateMany?: Prisma.ListingDealTypeUpdateManyWithWhereWithoutListingInput | Prisma.ListingDealTypeUpdateManyWithWhereWithoutListingInput[]
  deleteMany?: Prisma.ListingDealTypeScalarWhereInput | Prisma.ListingDealTypeScalarWhereInput[]
}

export type ListingDealTypeCreateWithoutListingInput = {
  id?: string
  dealType: string
}

export type ListingDealTypeUncheckedCreateWithoutListingInput = {
  id?: string
  dealType: string
}

export type ListingDealTypeCreateOrConnectWithoutListingInput = {
  where: Prisma.ListingDealTypeWhereUniqueInput
  create: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput>
}

export type ListingDealTypeCreateManyListingInputEnvelope = {
  data: Prisma.ListingDealTypeCreateManyListingInput | Prisma.ListingDealTypeCreateManyListingInput[]
}

export type ListingDealTypeUpsertWithWhereUniqueWithoutListingInput = {
  where: Prisma.ListingDealTypeWhereUniqueInput
  update: Prisma.XOR<Prisma.ListingDealTypeUpdateWithoutListingInput, Prisma.ListingDealTypeUncheckedUpdateWithoutListingInput>
  create: Prisma.XOR<Prisma.ListingDealTypeCreateWithoutListingInput, Prisma.ListingDealTypeUncheckedCreateWithoutListingInput>
}

export type ListingDealTypeUpdateWithWhereUniqueWithoutListingInput = {
  where: Prisma.ListingDealTypeWhereUniqueInput
  data: Prisma.XOR<Prisma.ListingDealTypeUpdateWithoutListingInput, Prisma.ListingDealTypeUncheckedUpdateWithoutListingInput>
}

export type ListingDealTypeUpdateManyWithWhereWithoutListingInput = {
  where: Prisma.ListingDealTypeScalarWhereInput
  data: Prisma.XOR<Prisma.ListingDealTypeUpdateManyMutationInput, Prisma.ListingDealTypeUncheckedUpdateManyWithoutListingInput>
}

export type ListingDealTypeScalarWhereInput = {
  AND?: Prisma.ListingDealTypeScalarWhereInput | Prisma.ListingDealTypeScalarWhereInput[]
  OR?: Prisma.ListingDealTypeScalarWhereInput[]
  NOT?: Prisma.ListingDealTypeScalarWhereInput | Prisma.ListingDealTypeScalarWhereInput[]
  id?: Prisma.StringFilter<"ListingDealType"> | string
  listingId?: Prisma.StringFilter<"ListingDealType"> | string
  dealType?: Prisma.StringFilter<"ListingDealType"> | string
}

export type ListingDealTypeCreateManyListingInput = {
  id?: string
  dealType: string
}

export type ListingDealTypeUpdateWithoutListingInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}

export type ListingDealTypeUncheckedUpdateWithoutListingInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}

export type ListingDealTypeUncheckedUpdateManyWithoutListingInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  dealType?: Prisma.StringFieldUpdateOperationsInput | string
}



export type ListingDealTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  listingId?: boolean
  dealType?: boolean
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["listingDealType"]>

export type ListingDealTypeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  listingId?: boolean
  dealType?: boolean
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["listingDealType"]>

export type ListingDealTypeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  listingId?: boolean
  dealType?: boolean
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["listingDealType"]>

export type ListingDealTypeSelectScalar = {
  id?: boolean
  listingId?: boolean
  dealType?: boolean
}

export type ListingDealTypeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "listingId" | "dealType", ExtArgs["result"]["listingDealType"]>
export type ListingDealTypeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}
export type ListingDealTypeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}
export type ListingDealTypeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  listing?: boolean | Prisma.ListingDefaultArgs<ExtArgs>
}

export type $ListingDealTypePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "ListingDealType"
  objects: {
    listing: Prisma.$ListingPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    listingId: string
    dealType: string
  }, ExtArgs["result"]["listingDealType"]>
  composites: {}
}

export type ListingDealTypeGetPayload<S extends boolean | null | undefined | ListingDealTypeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ListingDealTypePayload, S>

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

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

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

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

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

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

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

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

  /**
   * Create many ListingDealTypes and returns the data saved in the database.
   * @param {ListingDealTypeCreateManyAndReturnArgs} args - Arguments to create many ListingDealTypes.
   * @example
   * // Create many ListingDealTypes
   * const listingDealType = await prisma.listingDealType.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many ListingDealTypes and only return the `id`
   * const listingDealTypeWithIdOnly = await prisma.listingDealType.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 ListingDealTypeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ListingDealTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ListingDealTypePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more ListingDealTypes and returns the data updated in the database.
   * @param {ListingDealTypeUpdateManyAndReturnArgs} args - Arguments to update many ListingDealTypes.
   * @example
   * // Update many ListingDealTypes
   * const listingDealType = await prisma.listingDealType.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more ListingDealTypes and only return the `id`
   * const listingDealTypeWithIdOnly = await prisma.listingDealType.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 ListingDealTypeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ListingDealTypeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ListingDealTypePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for ListingDealType.
 * 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__ListingDealTypeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  listing<T extends Prisma.ListingDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ListingDefaultArgs<ExtArgs>>): Prisma.Prisma__ListingClient<runtime.Types.Result.GetResult<Prisma.$ListingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * 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 ListingDealType model
 */
export interface ListingDealTypeFieldRefs {
  readonly id: Prisma.FieldRef<"ListingDealType", 'String'>
  readonly listingId: Prisma.FieldRef<"ListingDealType", 'String'>
  readonly dealType: Prisma.FieldRef<"ListingDealType", 'String'>
}
    

// Custom InputTypes
/**
 * ListingDealType findUnique
 */
export type ListingDealTypeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter, which ListingDealType to fetch.
   */
  where: Prisma.ListingDealTypeWhereUniqueInput
}

/**
 * ListingDealType findUniqueOrThrow
 */
export type ListingDealTypeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter, which ListingDealType to fetch.
   */
  where: Prisma.ListingDealTypeWhereUniqueInput
}

/**
 * ListingDealType findFirst
 */
export type ListingDealTypeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter, which ListingDealType to fetch.
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ListingDealTypes to fetch.
   */
  orderBy?: Prisma.ListingDealTypeOrderByWithRelationInput | Prisma.ListingDealTypeOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ListingDealTypes.
   */
  cursor?: Prisma.ListingDealTypeWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ListingDealTypes 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` ListingDealTypes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ListingDealTypes.
   */
  distinct?: Prisma.ListingDealTypeScalarFieldEnum | Prisma.ListingDealTypeScalarFieldEnum[]
}

/**
 * ListingDealType findFirstOrThrow
 */
export type ListingDealTypeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter, which ListingDealType to fetch.
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ListingDealTypes to fetch.
   */
  orderBy?: Prisma.ListingDealTypeOrderByWithRelationInput | Prisma.ListingDealTypeOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ListingDealTypes.
   */
  cursor?: Prisma.ListingDealTypeWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ListingDealTypes 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` ListingDealTypes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ListingDealTypes.
   */
  distinct?: Prisma.ListingDealTypeScalarFieldEnum | Prisma.ListingDealTypeScalarFieldEnum[]
}

/**
 * ListingDealType findMany
 */
export type ListingDealTypeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter, which ListingDealTypes to fetch.
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ListingDealTypes to fetch.
   */
  orderBy?: Prisma.ListingDealTypeOrderByWithRelationInput | Prisma.ListingDealTypeOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing ListingDealTypes.
   */
  cursor?: Prisma.ListingDealTypeWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ListingDealTypes 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` ListingDealTypes.
   */
  skip?: number
  distinct?: Prisma.ListingDealTypeScalarFieldEnum | Prisma.ListingDealTypeScalarFieldEnum[]
}

/**
 * ListingDealType create
 */
export type ListingDealTypeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * The data needed to create a ListingDealType.
   */
  data: Prisma.XOR<Prisma.ListingDealTypeCreateInput, Prisma.ListingDealTypeUncheckedCreateInput>
}

/**
 * ListingDealType createMany
 */
export type ListingDealTypeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many ListingDealTypes.
   */
  data: Prisma.ListingDealTypeCreateManyInput | Prisma.ListingDealTypeCreateManyInput[]
}

/**
 * ListingDealType createManyAndReturn
 */
export type ListingDealTypeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * The data used to create many ListingDealTypes.
   */
  data: Prisma.ListingDealTypeCreateManyInput | Prisma.ListingDealTypeCreateManyInput[]
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * ListingDealType update
 */
export type ListingDealTypeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * The data needed to update a ListingDealType.
   */
  data: Prisma.XOR<Prisma.ListingDealTypeUpdateInput, Prisma.ListingDealTypeUncheckedUpdateInput>
  /**
   * Choose, which ListingDealType to update.
   */
  where: Prisma.ListingDealTypeWhereUniqueInput
}

/**
 * ListingDealType updateMany
 */
export type ListingDealTypeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update ListingDealTypes.
   */
  data: Prisma.XOR<Prisma.ListingDealTypeUpdateManyMutationInput, Prisma.ListingDealTypeUncheckedUpdateManyInput>
  /**
   * Filter which ListingDealTypes to update
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * Limit how many ListingDealTypes to update.
   */
  limit?: number
}

/**
 * ListingDealType updateManyAndReturn
 */
export type ListingDealTypeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * The data used to update ListingDealTypes.
   */
  data: Prisma.XOR<Prisma.ListingDealTypeUpdateManyMutationInput, Prisma.ListingDealTypeUncheckedUpdateManyInput>
  /**
   * Filter which ListingDealTypes to update
   */
  where?: Prisma.ListingDealTypeWhereInput
  /**
   * Limit how many ListingDealTypes to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * ListingDealType upsert
 */
export type ListingDealTypeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * The filter to search for the ListingDealType to update in case it exists.
   */
  where: Prisma.ListingDealTypeWhereUniqueInput
  /**
   * In case the ListingDealType found by the `where` argument doesn't exist, create a new ListingDealType with this data.
   */
  create: Prisma.XOR<Prisma.ListingDealTypeCreateInput, Prisma.ListingDealTypeUncheckedCreateInput>
  /**
   * In case the ListingDealType was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.ListingDealTypeUpdateInput, Prisma.ListingDealTypeUncheckedUpdateInput>
}

/**
 * ListingDealType delete
 */
export type ListingDealTypeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
  /**
   * Filter which ListingDealType to delete.
   */
  where: Prisma.ListingDealTypeWhereUniqueInput
}

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

/**
 * ListingDealType without action
 */
export type ListingDealTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ListingDealType
   */
  select?: Prisma.ListingDealTypeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ListingDealType
   */
  omit?: Prisma.ListingDealTypeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ListingDealTypeInclude<ExtArgs> | null
}
