
/* !!! 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_mention_mode` 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_mention_mode
 * 
 */
export type channel_mention_modeModel = runtime.Types.Result.DefaultSelection<Prisma.$channel_mention_modePayload>

export type AggregateChannel_mention_mode = {
  _count: Channel_mention_modeCountAggregateOutputType | null
  _avg: Channel_mention_modeAvgAggregateOutputType | null
  _sum: Channel_mention_modeSumAggregateOutputType | null
  _min: Channel_mention_modeMinAggregateOutputType | null
  _max: Channel_mention_modeMaxAggregateOutputType | null
}

export type Channel_mention_modeAvgAggregateOutputType = {
  enabled: number | null
}

export type Channel_mention_modeSumAggregateOutputType = {
  enabled: number | null
}

export type Channel_mention_modeMinAggregateOutputType = {
  channel_id: string | null
  enabled: number | null
  created_at: Date | null
  updated_at: Date | null
}

export type Channel_mention_modeMaxAggregateOutputType = {
  channel_id: string | null
  enabled: number | null
  created_at: Date | null
  updated_at: Date | null
}

export type Channel_mention_modeCountAggregateOutputType = {
  channel_id: number
  enabled: number
  created_at: number
  updated_at: number
  _all: number
}


export type Channel_mention_modeAvgAggregateInputType = {
  enabled?: true
}

export type Channel_mention_modeSumAggregateInputType = {
  enabled?: true
}

export type Channel_mention_modeMinAggregateInputType = {
  channel_id?: true
  enabled?: true
  created_at?: true
  updated_at?: true
}

export type Channel_mention_modeMaxAggregateInputType = {
  channel_id?: true
  enabled?: true
  created_at?: true
  updated_at?: true
}

export type Channel_mention_modeCountAggregateInputType = {
  channel_id?: true
  enabled?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type Channel_mention_modeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which channel_mention_mode to aggregate.
   */
  where?: Prisma.channel_mention_modeWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of channel_mention_modes to fetch.
   */
  orderBy?: Prisma.channel_mention_modeOrderByWithRelationInput | Prisma.channel_mention_modeOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.channel_mention_modeWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` channel_mention_modes 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_mention_modes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned channel_mention_modes
  **/
  _count?: true | Channel_mention_modeCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Channel_mention_modeAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Channel_mention_modeSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Channel_mention_modeMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Channel_mention_modeMaxAggregateInputType
}

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




export type channel_mention_modeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.channel_mention_modeWhereInput
  orderBy?: Prisma.channel_mention_modeOrderByWithAggregationInput | Prisma.channel_mention_modeOrderByWithAggregationInput[]
  by: Prisma.Channel_mention_modeScalarFieldEnum[] | Prisma.Channel_mention_modeScalarFieldEnum
  having?: Prisma.channel_mention_modeScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Channel_mention_modeCountAggregateInputType | true
  _avg?: Channel_mention_modeAvgAggregateInputType
  _sum?: Channel_mention_modeSumAggregateInputType
  _min?: Channel_mention_modeMinAggregateInputType
  _max?: Channel_mention_modeMaxAggregateInputType
}

export type Channel_mention_modeGroupByOutputType = {
  channel_id: string
  enabled: number
  created_at: Date | null
  updated_at: Date | null
  _count: Channel_mention_modeCountAggregateOutputType | null
  _avg: Channel_mention_modeAvgAggregateOutputType | null
  _sum: Channel_mention_modeSumAggregateOutputType | null
  _min: Channel_mention_modeMinAggregateOutputType | null
  _max: Channel_mention_modeMaxAggregateOutputType | null
}

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



export type channel_mention_modeWhereInput = {
  AND?: Prisma.channel_mention_modeWhereInput | Prisma.channel_mention_modeWhereInput[]
  OR?: Prisma.channel_mention_modeWhereInput[]
  NOT?: Prisma.channel_mention_modeWhereInput | Prisma.channel_mention_modeWhereInput[]
  channel_id?: Prisma.StringFilter<"channel_mention_mode"> | string
  enabled?: Prisma.IntFilter<"channel_mention_mode"> | number
  created_at?: Prisma.DateTimeNullableFilter<"channel_mention_mode"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"channel_mention_mode"> | Date | string | null
  channel?: Prisma.XOR<Prisma.Channel_directoriesScalarRelationFilter, Prisma.channel_directoriesWhereInput>
}

export type channel_mention_modeOrderByWithRelationInput = {
  channel_id?: Prisma.SortOrder
  enabled?: Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  channel?: Prisma.channel_directoriesOrderByWithRelationInput
}

export type channel_mention_modeWhereUniqueInput = Prisma.AtLeast<{
  channel_id?: string
  AND?: Prisma.channel_mention_modeWhereInput | Prisma.channel_mention_modeWhereInput[]
  OR?: Prisma.channel_mention_modeWhereInput[]
  NOT?: Prisma.channel_mention_modeWhereInput | Prisma.channel_mention_modeWhereInput[]
  enabled?: Prisma.IntFilter<"channel_mention_mode"> | number
  created_at?: Prisma.DateTimeNullableFilter<"channel_mention_mode"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"channel_mention_mode"> | Date | string | null
  channel?: Prisma.XOR<Prisma.Channel_directoriesScalarRelationFilter, Prisma.channel_directoriesWhereInput>
}, "channel_id">

export type channel_mention_modeOrderByWithAggregationInput = {
  channel_id?: Prisma.SortOrder
  enabled?: Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.channel_mention_modeCountOrderByAggregateInput
  _avg?: Prisma.channel_mention_modeAvgOrderByAggregateInput
  _max?: Prisma.channel_mention_modeMaxOrderByAggregateInput
  _min?: Prisma.channel_mention_modeMinOrderByAggregateInput
  _sum?: Prisma.channel_mention_modeSumOrderByAggregateInput
}

export type channel_mention_modeScalarWhereWithAggregatesInput = {
  AND?: Prisma.channel_mention_modeScalarWhereWithAggregatesInput | Prisma.channel_mention_modeScalarWhereWithAggregatesInput[]
  OR?: Prisma.channel_mention_modeScalarWhereWithAggregatesInput[]
  NOT?: Prisma.channel_mention_modeScalarWhereWithAggregatesInput | Prisma.channel_mention_modeScalarWhereWithAggregatesInput[]
  channel_id?: Prisma.StringWithAggregatesFilter<"channel_mention_mode"> | string
  enabled?: Prisma.IntWithAggregatesFilter<"channel_mention_mode"> | number
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"channel_mention_mode"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"channel_mention_mode"> | Date | string | null
}

export type channel_mention_modeCreateInput = {
  enabled?: number
  created_at?: Date | string | null
  updated_at?: Date | string | null
  channel: Prisma.channel_directoriesCreateNestedOneWithoutChannel_mention_modeInput
}

export type channel_mention_modeUncheckedCreateInput = {
  channel_id: string
  enabled?: number
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_mention_modeUpdateInput = {
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  channel?: Prisma.channel_directoriesUpdateOneRequiredWithoutChannel_mention_modeNestedInput
}

export type channel_mention_modeUncheckedUpdateInput = {
  channel_id?: Prisma.StringFieldUpdateOperationsInput | string
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_mention_modeCreateManyInput = {
  channel_id: string
  enabled?: number
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_mention_modeUpdateManyMutationInput = {
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_mention_modeUncheckedUpdateManyInput = {
  channel_id?: Prisma.StringFieldUpdateOperationsInput | string
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Channel_mention_modeNullableScalarRelationFilter = {
  is?: Prisma.channel_mention_modeWhereInput | null
  isNot?: Prisma.channel_mention_modeWhereInput | null
}

export type channel_mention_modeCountOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  enabled?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_mention_modeAvgOrderByAggregateInput = {
  enabled?: Prisma.SortOrder
}

export type channel_mention_modeMaxOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  enabled?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_mention_modeMinOrderByAggregateInput = {
  channel_id?: Prisma.SortOrder
  enabled?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type channel_mention_modeSumOrderByAggregateInput = {
  enabled?: Prisma.SortOrder
}

export type channel_mention_modeCreateNestedOneWithoutChannelInput = {
  create?: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_mention_modeCreateOrConnectWithoutChannelInput
  connect?: Prisma.channel_mention_modeWhereUniqueInput
}

export type channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput = {
  create?: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_mention_modeCreateOrConnectWithoutChannelInput
  connect?: Prisma.channel_mention_modeWhereUniqueInput
}

export type channel_mention_modeUpdateOneWithoutChannelNestedInput = {
  create?: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_mention_modeCreateOrConnectWithoutChannelInput
  upsert?: Prisma.channel_mention_modeUpsertWithoutChannelInput
  disconnect?: Prisma.channel_mention_modeWhereInput | boolean
  delete?: Prisma.channel_mention_modeWhereInput | boolean
  connect?: Prisma.channel_mention_modeWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.channel_mention_modeUpdateToOneWithWhereWithoutChannelInput, Prisma.channel_mention_modeUpdateWithoutChannelInput>, Prisma.channel_mention_modeUncheckedUpdateWithoutChannelInput>
}

export type channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput = {
  create?: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
  connectOrCreate?: Prisma.channel_mention_modeCreateOrConnectWithoutChannelInput
  upsert?: Prisma.channel_mention_modeUpsertWithoutChannelInput
  disconnect?: Prisma.channel_mention_modeWhereInput | boolean
  delete?: Prisma.channel_mention_modeWhereInput | boolean
  connect?: Prisma.channel_mention_modeWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.channel_mention_modeUpdateToOneWithWhereWithoutChannelInput, Prisma.channel_mention_modeUpdateWithoutChannelInput>, Prisma.channel_mention_modeUncheckedUpdateWithoutChannelInput>
}

export type channel_mention_modeCreateWithoutChannelInput = {
  enabled?: number
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_mention_modeUncheckedCreateWithoutChannelInput = {
  enabled?: number
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type channel_mention_modeCreateOrConnectWithoutChannelInput = {
  where: Prisma.channel_mention_modeWhereUniqueInput
  create: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
}

export type channel_mention_modeUpsertWithoutChannelInput = {
  update: Prisma.XOR<Prisma.channel_mention_modeUpdateWithoutChannelInput, Prisma.channel_mention_modeUncheckedUpdateWithoutChannelInput>
  create: Prisma.XOR<Prisma.channel_mention_modeCreateWithoutChannelInput, Prisma.channel_mention_modeUncheckedCreateWithoutChannelInput>
  where?: Prisma.channel_mention_modeWhereInput
}

export type channel_mention_modeUpdateToOneWithWhereWithoutChannelInput = {
  where?: Prisma.channel_mention_modeWhereInput
  data: Prisma.XOR<Prisma.channel_mention_modeUpdateWithoutChannelInput, Prisma.channel_mention_modeUncheckedUpdateWithoutChannelInput>
}

export type channel_mention_modeUpdateWithoutChannelInput = {
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type channel_mention_modeUncheckedUpdateWithoutChannelInput = {
  enabled?: Prisma.IntFieldUpdateOperationsInput | number
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



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

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

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

export type channel_mention_modeSelectScalar = {
  channel_id?: boolean
  enabled?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type channel_mention_modeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"channel_id" | "enabled" | "created_at" | "updated_at", ExtArgs["result"]["channel_mention_mode"]>
export type channel_mention_modeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}
export type channel_mention_modeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}
export type channel_mention_modeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  channel?: boolean | Prisma.channel_directoriesDefaultArgs<ExtArgs>
}

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

export type channel_mention_modeGetPayload<S extends boolean | null | undefined | channel_mention_modeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$channel_mention_modePayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for channel_mention_mode.
 * 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_mention_modeClient<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_mention_mode model
 */
export interface channel_mention_modeFieldRefs {
  readonly channel_id: Prisma.FieldRef<"channel_mention_mode", 'String'>
  readonly enabled: Prisma.FieldRef<"channel_mention_mode", 'Int'>
  readonly created_at: Prisma.FieldRef<"channel_mention_mode", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"channel_mention_mode", 'DateTime'>
}
    

// Custom InputTypes
/**
 * channel_mention_mode findUnique
 */
export type channel_mention_modeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * Filter, which channel_mention_mode to fetch.
   */
  where: Prisma.channel_mention_modeWhereUniqueInput
}

/**
 * channel_mention_mode findUniqueOrThrow
 */
export type channel_mention_modeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * Filter, which channel_mention_mode to fetch.
   */
  where: Prisma.channel_mention_modeWhereUniqueInput
}

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

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

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

/**
 * channel_mention_mode create
 */
export type channel_mention_modeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * The data needed to create a channel_mention_mode.
   */
  data: Prisma.XOR<Prisma.channel_mention_modeCreateInput, Prisma.channel_mention_modeUncheckedCreateInput>
}

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

/**
 * channel_mention_mode createManyAndReturn
 */
export type channel_mention_modeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * The data used to create many channel_mention_modes.
   */
  data: Prisma.channel_mention_modeCreateManyInput | Prisma.channel_mention_modeCreateManyInput[]
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * channel_mention_mode update
 */
export type channel_mention_modeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * The data needed to update a channel_mention_mode.
   */
  data: Prisma.XOR<Prisma.channel_mention_modeUpdateInput, Prisma.channel_mention_modeUncheckedUpdateInput>
  /**
   * Choose, which channel_mention_mode to update.
   */
  where: Prisma.channel_mention_modeWhereUniqueInput
}

/**
 * channel_mention_mode updateMany
 */
export type channel_mention_modeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update channel_mention_modes.
   */
  data: Prisma.XOR<Prisma.channel_mention_modeUpdateManyMutationInput, Prisma.channel_mention_modeUncheckedUpdateManyInput>
  /**
   * Filter which channel_mention_modes to update
   */
  where?: Prisma.channel_mention_modeWhereInput
  /**
   * Limit how many channel_mention_modes to update.
   */
  limit?: number
}

/**
 * channel_mention_mode updateManyAndReturn
 */
export type channel_mention_modeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * The data used to update channel_mention_modes.
   */
  data: Prisma.XOR<Prisma.channel_mention_modeUpdateManyMutationInput, Prisma.channel_mention_modeUncheckedUpdateManyInput>
  /**
   * Filter which channel_mention_modes to update
   */
  where?: Prisma.channel_mention_modeWhereInput
  /**
   * Limit how many channel_mention_modes to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * channel_mention_mode upsert
 */
export type channel_mention_modeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * The filter to search for the channel_mention_mode to update in case it exists.
   */
  where: Prisma.channel_mention_modeWhereUniqueInput
  /**
   * In case the channel_mention_mode found by the `where` argument doesn't exist, create a new channel_mention_mode with this data.
   */
  create: Prisma.XOR<Prisma.channel_mention_modeCreateInput, Prisma.channel_mention_modeUncheckedCreateInput>
  /**
   * In case the channel_mention_mode was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.channel_mention_modeUpdateInput, Prisma.channel_mention_modeUncheckedUpdateInput>
}

/**
 * channel_mention_mode delete
 */
export type channel_mention_modeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the channel_mention_mode
   */
  select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
  /**
   * Omit specific fields from the channel_mention_mode
   */
  omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
  /**
   * Filter which channel_mention_mode to delete.
   */
  where: Prisma.channel_mention_modeWhereUniqueInput
}

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

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