
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `channel_models` 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.js"
import type * as Prisma from "../internal/prismaNamespace.js"

/**
 * Model channel_models
 * 
 */
export type channel_modelsModel = runtime.Types.Result.DefaultSelection<Prisma.$channel_modelsPayload>

export type AggregateChannel_models = {
  _count: Channel_modelsCountAggregateOutputType | null
  _min: Channel_modelsMinAggregateOutputType | null
  _max: Channel_modelsMaxAggregateOutputType | null
}

export type Channel_modelsMinAggregateOutputType = {
  channel_id: string | null
  model_id: string | null
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
}

export type Channel_modelsMaxAggregateOutputType = {
  channel_id: string | null
  model_id: string | null
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
}

export type Channel_modelsCountAggregateOutputType = {
  channel_id: number
  model_id: number
  variant: number
  created_at: number
  updated_at: number
  _all: number
}


export type Channel_modelsMinAggregateInputType = {
  channel_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
}

export type Channel_modelsMaxAggregateInputType = {
  channel_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
}

export type Channel_modelsCountAggregateInputType = {
  channel_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

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

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




export type channel_modelsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.channel_modelsWhereInput
  orderBy?: Prisma.channel_modelsOrderByWithAggregationInput | Prisma.channel_modelsOrderByWithAggregationInput[]
  by: Prisma.Channel_modelsScalarFieldEnum[] | Prisma.Channel_modelsScalarFieldEnum
  having?: Prisma.channel_modelsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Channel_modelsCountAggregateInputType | true
  _min?: Channel_modelsMinAggregateInputType
  _max?: Channel_modelsMaxAggregateInputType
}

export type Channel_modelsGroupByOutputType = {
  channel_id: string
  model_id: string
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
  _count: Channel_modelsCountAggregateOutputType | null
  _min: Channel_modelsMinAggregateOutputType | null
  _max: Channel_modelsMaxAggregateOutputType | null
}

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



export type channel_modelsWhereInput = {
  AND?: Prisma.channel_modelsWhereInput | Prisma.channel_modelsWhereInput[]
  OR?: Prisma.channel_modelsWhereInput[]
  NOT?: Prisma.channel_modelsWhereInput | Prisma.channel_modelsWhereInput[]
  channel_id?: Prisma.StringFilter<"channel_models"> | string
  model_id?: Prisma.StringFilter<"channel_models"> | string
  variant?: Prisma.StringNullableFilter<"channel_models"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"channel_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"channel_models"> | Date | string | null
  channel?: Prisma.XOR<Prisma.Channel_directoriesScalarRelationFilter, Prisma.channel_directoriesWhereInput>
}

export type channel_modelsOrderByWithRelationInput = {
  channel_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  channel?: Prisma.channel_directoriesOrderByWithRelationInput
}

export type channel_modelsWhereUniqueInput = Prisma.AtLeast<{
  channel_id?: string
  AND?: Prisma.channel_modelsWhereInput | Prisma.channel_modelsWhereInput[]
  OR?: Prisma.channel_modelsWhereInput[]
  NOT?: Prisma.channel_modelsWhereInput | Prisma.channel_modelsWhereInput[]
  model_id?: Prisma.StringFilter<"channel_models"> | string
  variant?: Prisma.StringNullableFilter<"channel_models"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"channel_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"channel_models"> | Date | string | null
  channel?: Prisma.XOR<Prisma.Channel_directoriesScalarRelationFilter, Prisma.channel_directoriesWhereInput>
}, "channel_id">

export type channel_modelsOrderByWithAggregationInput = {
  channel_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.channel_modelsCountOrderByAggregateInput
  _max?: Prisma.channel_modelsMaxOrderByAggregateInput
  _min?: Prisma.channel_modelsMinOrderByAggregateInput
}

export type channel_modelsScalarWhereWithAggregatesInput = {
  AND?: Prisma.channel_modelsScalarWhereWithAggregatesInput | Prisma.channel_modelsScalarWhereWithAggregatesInput[]
  OR?: Prisma.channel_modelsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.channel_modelsScalarWhereWithAggregatesInput | Prisma.channel_modelsScalarWhereWithAggregatesInput[]
  channel_id?: Prisma.StringWithAggregatesFilter<"channel_models"> | string
  model_id?: Prisma.StringWithAggregatesFilter<"channel_models"> | string
  variant?: Prisma.StringNullableWithAggregatesFilter<"channel_models"> | string | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"channel_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"channel_models"> | Date | string | null
}

export type channel_modelsCreateInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  channel: Prisma.channel_directoriesCreateNestedOneWithoutChannel_modelInput
}

export type channel_modelsUncheckedCreateInput = {
  channel_id: string
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_modelsUpdateInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  channel?: Prisma.channel_directoriesUpdateOneRequiredWithoutChannel_modelNestedInput
}

export type channel_modelsUncheckedUpdateInput = {
  channel_id?: Prisma.StringFieldUpdateOperationsInput | string
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_modelsCreateManyInput = {
  channel_id: string
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_modelsUpdateManyMutationInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_modelsUncheckedUpdateManyInput = {
  channel_id?: Prisma.StringFieldUpdateOperationsInput | string
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Channel_modelsNullableScalarRelationFilter = {
  is?: Prisma.channel_modelsWhereInput | null
  isNot?: Prisma.channel_modelsWhereInput | null
}

export type channel_modelsCountOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_modelsMaxOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_modelsMinOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_modelsCreateNestedOneWithoutChannelInput = {
  create?: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_modelsCreateOrConnectWithoutChannelInput
  connect?: Prisma.channel_modelsWhereUniqueInput
}

export type channel_modelsUncheckedCreateNestedOneWithoutChannelInput = {
  create?: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_modelsCreateOrConnectWithoutChannelInput
  connect?: Prisma.channel_modelsWhereUniqueInput
}

export type channel_modelsUpdateOneWithoutChannelNestedInput = {
  create?: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_modelsCreateOrConnectWithoutChannelInput
  upsert?: Prisma.channel_modelsUpsertWithoutChannelInput
  disconnect?: Prisma.channel_modelsWhereInput | boolean
  delete?: Prisma.channel_modelsWhereInput | boolean
  connect?: Prisma.channel_modelsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.channel_modelsUpdateToOneWithWhereWithoutChannelInput, Prisma.channel_modelsUpdateWithoutChannelInput>, Prisma.channel_modelsUncheckedUpdateWithoutChannelInput>
}

export type channel_modelsUncheckedUpdateOneWithoutChannelNestedInput = {
  create?: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_modelsCreateOrConnectWithoutChannelInput
  upsert?: Prisma.channel_modelsUpsertWithoutChannelInput
  disconnect?: Prisma.channel_modelsWhereInput | boolean
  delete?: Prisma.channel_modelsWhereInput | boolean
  connect?: Prisma.channel_modelsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.channel_modelsUpdateToOneWithWhereWithoutChannelInput, Prisma.channel_modelsUpdateWithoutChannelInput>, Prisma.channel_modelsUncheckedUpdateWithoutChannelInput>
}

export type channel_modelsCreateWithoutChannelInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_modelsUncheckedCreateWithoutChannelInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_modelsCreateOrConnectWithoutChannelInput = {
  where: Prisma.channel_modelsWhereUniqueInput
  create: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
}

export type channel_modelsUpsertWithoutChannelInput = {
  update: Prisma.XOR<Prisma.channel_modelsUpdateWithoutChannelInput, Prisma.channel_modelsUncheckedUpdateWithoutChannelInput>
  create: Prisma.XOR<Prisma.channel_modelsCreateWithoutChannelInput, Prisma.channel_modelsUncheckedCreateWithoutChannelInput>
  where?: Prisma.channel_modelsWhereInput
}

export type channel_modelsUpdateToOneWithWhereWithoutChannelInput = {
  where?: Prisma.channel_modelsWhereInput
  data: Prisma.XOR<Prisma.channel_modelsUpdateWithoutChannelInput, Prisma.channel_modelsUncheckedUpdateWithoutChannelInput>
}

export type channel_modelsUpdateWithoutChannelInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_modelsUncheckedUpdateWithoutChannelInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type channel_modelsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  channel_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["channel_models"]>

export type channel_modelsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  channel_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["channel_models"]>

export type channel_modelsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  channel_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}, ExtArgs["result"]["channel_models"]>

export type channel_modelsSelectScalar = {
  channel_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type channel_modelsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"channel_id" | "model_id" | "variant" | "created_at" | "updated_at", ExtArgs["result"]["channel_models"]>
export type channel_modelsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}
export type channel_modelsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}
export type channel_modelsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}

export type $channel_modelsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "channel_models"
  objects: {
    channel: Prisma.$channel_directoriesPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    channel_id: string
    model_id: string
    variant: string | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["channel_models"]>
  composites: {}
}

export type channel_modelsGetPayload<S extends boolean | null | undefined | channel_modelsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$channel_modelsPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for channel_models.
 * 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__channel_modelsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  channel<T extends Prisma.channel_directoriesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directoriesDefaultArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<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 channel_models model
 */
export interface channel_modelsFieldRefs {
  readonly channel_id: Prisma.FieldRef<"channel_models", 'String'>
  readonly model_id: Prisma.FieldRef<"channel_models", 'String'>
  readonly variant: Prisma.FieldRef<"channel_models", 'String'>
  readonly created_at: Prisma.FieldRef<"channel_models", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"channel_models", 'DateTime'>
}
    

// Custom InputTypes
/**
 * channel_models findUnique
 */
export type channel_modelsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * Filter, which channel_models to fetch.
   */
  where: Prisma.channel_modelsWhereUniqueInput
}

/**
 * channel_models findUniqueOrThrow
 */
export type channel_modelsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * Filter, which channel_models to fetch.
   */
  where: Prisma.channel_modelsWhereUniqueInput
}

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

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

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

/**
 * channel_models create
 */
export type channel_modelsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * The data needed to create a channel_models.
   */
  data: Prisma.XOR<Prisma.channel_modelsCreateInput, Prisma.channel_modelsUncheckedCreateInput>
}

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

/**
 * channel_models createManyAndReturn
 */
export type channel_modelsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * The data used to create many channel_models.
   */
  data: Prisma.channel_modelsCreateManyInput | Prisma.channel_modelsCreateManyInput[]
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * channel_models update
 */
export type channel_modelsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * The data needed to update a channel_models.
   */
  data: Prisma.XOR<Prisma.channel_modelsUpdateInput, Prisma.channel_modelsUncheckedUpdateInput>
  /**
   * Choose, which channel_models to update.
   */
  where: Prisma.channel_modelsWhereUniqueInput
}

/**
 * channel_models updateMany
 */
export type channel_modelsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update channel_models.
   */
  data: Prisma.XOR<Prisma.channel_modelsUpdateManyMutationInput, Prisma.channel_modelsUncheckedUpdateManyInput>
  /**
   * Filter which channel_models to update
   */
  where?: Prisma.channel_modelsWhereInput
  /**
   * Limit how many channel_models to update.
   */
  limit?: number
}

/**
 * channel_models updateManyAndReturn
 */
export type channel_modelsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * The data used to update channel_models.
   */
  data: Prisma.XOR<Prisma.channel_modelsUpdateManyMutationInput, Prisma.channel_modelsUncheckedUpdateManyInput>
  /**
   * Filter which channel_models to update
   */
  where?: Prisma.channel_modelsWhereInput
  /**
   * Limit how many channel_models to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * channel_models upsert
 */
export type channel_modelsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * The filter to search for the channel_models to update in case it exists.
   */
  where: Prisma.channel_modelsWhereUniqueInput
  /**
   * In case the channel_models found by the `where` argument doesn't exist, create a new channel_models with this data.
   */
  create: Prisma.XOR<Prisma.channel_modelsCreateInput, Prisma.channel_modelsUncheckedCreateInput>
  /**
   * In case the channel_models was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.channel_modelsUpdateInput, Prisma.channel_modelsUncheckedUpdateInput>
}

/**
 * channel_models delete
 */
export type channel_modelsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_models
   */
  select?: Prisma.channel_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_models
   */
  omit?: Prisma.channel_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_modelsInclude<ExtArgs> | null
  /**
   * Filter which channel_models to delete.
   */
  where: Prisma.channel_modelsWhereUniqueInput
}

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

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