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

/**
 * Model intranet_feed_reply
 * 
 */
export type intranet_feed_replyModel = runtime.Types.Result.DefaultSelection<Prisma.$intranet_feed_replyPayload>

export type AggregateIntranet_feed_reply = {
  _count: Intranet_feed_replyCountAggregateOutputType | null
  _avg: Intranet_feed_replyAvgAggregateOutputType | null
  _sum: Intranet_feed_replySumAggregateOutputType | null
  _min: Intranet_feed_replyMinAggregateOutputType | null
  _max: Intranet_feed_replyMaxAggregateOutputType | null
}

export type Intranet_feed_replyAvgAggregateOutputType = {
  id: number | null
  feed_id: number | null
  date: number | null
  account_id: number | null
  attachment: number | null
}

export type Intranet_feed_replySumAggregateOutputType = {
  id: bigint | null
  feed_id: bigint | null
  date: bigint | null
  account_id: bigint | null
  attachment: bigint | null
}

export type Intranet_feed_replyMinAggregateOutputType = {
  id: bigint | null
  feed_id: bigint | null
  date: bigint | null
  account_id: bigint | null
  msg: string | null
  attachment: bigint | null
}

export type Intranet_feed_replyMaxAggregateOutputType = {
  id: bigint | null
  feed_id: bigint | null
  date: bigint | null
  account_id: bigint | null
  msg: string | null
  attachment: bigint | null
}

export type Intranet_feed_replyCountAggregateOutputType = {
  id: number
  feed_id: number
  date: number
  account_id: number
  msg: number
  attachment: number
  _all: number
}


export type Intranet_feed_replyAvgAggregateInputType = {
  id?: true
  feed_id?: true
  date?: true
  account_id?: true
  attachment?: true
}

export type Intranet_feed_replySumAggregateInputType = {
  id?: true
  feed_id?: true
  date?: true
  account_id?: true
  attachment?: true
}

export type Intranet_feed_replyMinAggregateInputType = {
  id?: true
  feed_id?: true
  date?: true
  account_id?: true
  msg?: true
  attachment?: true
}

export type Intranet_feed_replyMaxAggregateInputType = {
  id?: true
  feed_id?: true
  date?: true
  account_id?: true
  msg?: true
  attachment?: true
}

export type Intranet_feed_replyCountAggregateInputType = {
  id?: true
  feed_id?: true
  date?: true
  account_id?: true
  msg?: true
  attachment?: true
  _all?: true
}

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

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




export type intranet_feed_replyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.intranet_feed_replyWhereInput
  orderBy?: Prisma.intranet_feed_replyOrderByWithAggregationInput | Prisma.intranet_feed_replyOrderByWithAggregationInput[]
  by: Prisma.Intranet_feed_replyScalarFieldEnum[] | Prisma.Intranet_feed_replyScalarFieldEnum
  having?: Prisma.intranet_feed_replyScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Intranet_feed_replyCountAggregateInputType | true
  _avg?: Intranet_feed_replyAvgAggregateInputType
  _sum?: Intranet_feed_replySumAggregateInputType
  _min?: Intranet_feed_replyMinAggregateInputType
  _max?: Intranet_feed_replyMaxAggregateInputType
}

export type Intranet_feed_replyGroupByOutputType = {
  id: bigint
  feed_id: bigint
  date: bigint
  account_id: bigint
  msg: string
  attachment: bigint
  _count: Intranet_feed_replyCountAggregateOutputType | null
  _avg: Intranet_feed_replyAvgAggregateOutputType | null
  _sum: Intranet_feed_replySumAggregateOutputType | null
  _min: Intranet_feed_replyMinAggregateOutputType | null
  _max: Intranet_feed_replyMaxAggregateOutputType | null
}

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



export type intranet_feed_replyWhereInput = {
  AND?: Prisma.intranet_feed_replyWhereInput | Prisma.intranet_feed_replyWhereInput[]
  OR?: Prisma.intranet_feed_replyWhereInput[]
  NOT?: Prisma.intranet_feed_replyWhereInput | Prisma.intranet_feed_replyWhereInput[]
  id?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  feed_id?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  date?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  account_id?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  msg?: Prisma.StringFilter<"intranet_feed_reply"> | string
  attachment?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
}

export type intranet_feed_replyOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  _relevance?: Prisma.intranet_feed_replyOrderByRelevanceInput
}

export type intranet_feed_replyWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.intranet_feed_replyWhereInput | Prisma.intranet_feed_replyWhereInput[]
  OR?: Prisma.intranet_feed_replyWhereInput[]
  NOT?: Prisma.intranet_feed_replyWhereInput | Prisma.intranet_feed_replyWhereInput[]
  feed_id?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  date?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  account_id?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
  msg?: Prisma.StringFilter<"intranet_feed_reply"> | string
  attachment?: Prisma.BigIntFilter<"intranet_feed_reply"> | bigint | number
}, "id">

export type intranet_feed_replyOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  _count?: Prisma.intranet_feed_replyCountOrderByAggregateInput
  _avg?: Prisma.intranet_feed_replyAvgOrderByAggregateInput
  _max?: Prisma.intranet_feed_replyMaxOrderByAggregateInput
  _min?: Prisma.intranet_feed_replyMinOrderByAggregateInput
  _sum?: Prisma.intranet_feed_replySumOrderByAggregateInput
}

export type intranet_feed_replyScalarWhereWithAggregatesInput = {
  AND?: Prisma.intranet_feed_replyScalarWhereWithAggregatesInput | Prisma.intranet_feed_replyScalarWhereWithAggregatesInput[]
  OR?: Prisma.intranet_feed_replyScalarWhereWithAggregatesInput[]
  NOT?: Prisma.intranet_feed_replyScalarWhereWithAggregatesInput | Prisma.intranet_feed_replyScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"intranet_feed_reply"> | bigint | number
  feed_id?: Prisma.BigIntWithAggregatesFilter<"intranet_feed_reply"> | bigint | number
  date?: Prisma.BigIntWithAggregatesFilter<"intranet_feed_reply"> | bigint | number
  account_id?: Prisma.BigIntWithAggregatesFilter<"intranet_feed_reply"> | bigint | number
  msg?: Prisma.StringWithAggregatesFilter<"intranet_feed_reply"> | string
  attachment?: Prisma.BigIntWithAggregatesFilter<"intranet_feed_reply"> | bigint | number
}

export type intranet_feed_replyCreateInput = {
  id?: bigint | number
  feed_id: bigint | number
  date: bigint | number
  account_id: bigint | number
  msg: string
  attachment: bigint | number
}

export type intranet_feed_replyUncheckedCreateInput = {
  id?: bigint | number
  feed_id: bigint | number
  date: bigint | number
  account_id: bigint | number
  msg: string
  attachment: bigint | number
}

export type intranet_feed_replyUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  feed_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  msg?: Prisma.StringFieldUpdateOperationsInput | string
  attachment?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type intranet_feed_replyUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  feed_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  msg?: Prisma.StringFieldUpdateOperationsInput | string
  attachment?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type intranet_feed_replyCreateManyInput = {
  id?: bigint | number
  feed_id: bigint | number
  date: bigint | number
  account_id: bigint | number
  msg: string
  attachment: bigint | number
}

export type intranet_feed_replyUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  feed_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  msg?: Prisma.StringFieldUpdateOperationsInput | string
  attachment?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

export type intranet_feed_replyUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  feed_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  msg?: Prisma.StringFieldUpdateOperationsInput | string
  attachment?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}

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

export type intranet_feed_replyCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
}

export type intranet_feed_replyAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
}

export type intranet_feed_replyMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
}

export type intranet_feed_replyMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
}

export type intranet_feed_replySumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  feed_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
}



export type intranet_feed_replySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  feed_id?: boolean
  date?: boolean
  account_id?: boolean
  msg?: boolean
  attachment?: boolean
}, ExtArgs["result"]["intranet_feed_reply"]>



export type intranet_feed_replySelectScalar = {
  id?: boolean
  feed_id?: boolean
  date?: boolean
  account_id?: boolean
  msg?: boolean
  attachment?: boolean
}

export type intranet_feed_replyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "feed_id" | "date" | "account_id" | "msg" | "attachment", ExtArgs["result"]["intranet_feed_reply"]>

export type $intranet_feed_replyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "intranet_feed_reply"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    feed_id: bigint
    date: bigint
    account_id: bigint
    msg: string
    attachment: bigint
  }, ExtArgs["result"]["intranet_feed_reply"]>
  composites: {}
}

export type intranet_feed_replyGetPayload<S extends boolean | null | undefined | intranet_feed_replyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$intranet_feed_replyPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for intranet_feed_reply.
 * 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__intranet_feed_replyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the intranet_feed_reply model
 */
export interface intranet_feed_replyFieldRefs {
  readonly id: Prisma.FieldRef<"intranet_feed_reply", 'BigInt'>
  readonly feed_id: Prisma.FieldRef<"intranet_feed_reply", 'BigInt'>
  readonly date: Prisma.FieldRef<"intranet_feed_reply", 'BigInt'>
  readonly account_id: Prisma.FieldRef<"intranet_feed_reply", 'BigInt'>
  readonly msg: Prisma.FieldRef<"intranet_feed_reply", 'String'>
  readonly attachment: Prisma.FieldRef<"intranet_feed_reply", 'BigInt'>
}
    

// Custom InputTypes
/**
 * intranet_feed_reply findUnique
 */
export type intranet_feed_replyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * Filter, which intranet_feed_reply to fetch.
   */
  where: Prisma.intranet_feed_replyWhereUniqueInput
}

/**
 * intranet_feed_reply findUniqueOrThrow
 */
export type intranet_feed_replyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * Filter, which intranet_feed_reply to fetch.
   */
  where: Prisma.intranet_feed_replyWhereUniqueInput
}

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

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

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

/**
 * intranet_feed_reply create
 */
export type intranet_feed_replyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * The data needed to create a intranet_feed_reply.
   */
  data: Prisma.XOR<Prisma.intranet_feed_replyCreateInput, Prisma.intranet_feed_replyUncheckedCreateInput>
}

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

/**
 * intranet_feed_reply update
 */
export type intranet_feed_replyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * The data needed to update a intranet_feed_reply.
   */
  data: Prisma.XOR<Prisma.intranet_feed_replyUpdateInput, Prisma.intranet_feed_replyUncheckedUpdateInput>
  /**
   * Choose, which intranet_feed_reply to update.
   */
  where: Prisma.intranet_feed_replyWhereUniqueInput
}

/**
 * intranet_feed_reply updateMany
 */
export type intranet_feed_replyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update intranet_feed_replies.
   */
  data: Prisma.XOR<Prisma.intranet_feed_replyUpdateManyMutationInput, Prisma.intranet_feed_replyUncheckedUpdateManyInput>
  /**
   * Filter which intranet_feed_replies to update
   */
  where?: Prisma.intranet_feed_replyWhereInput
  /**
   * Limit how many intranet_feed_replies to update.
   */
  limit?: number
}

/**
 * intranet_feed_reply upsert
 */
export type intranet_feed_replyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * The filter to search for the intranet_feed_reply to update in case it exists.
   */
  where: Prisma.intranet_feed_replyWhereUniqueInput
  /**
   * In case the intranet_feed_reply found by the `where` argument doesn't exist, create a new intranet_feed_reply with this data.
   */
  create: Prisma.XOR<Prisma.intranet_feed_replyCreateInput, Prisma.intranet_feed_replyUncheckedCreateInput>
  /**
   * In case the intranet_feed_reply was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.intranet_feed_replyUpdateInput, Prisma.intranet_feed_replyUncheckedUpdateInput>
}

/**
 * intranet_feed_reply delete
 */
export type intranet_feed_replyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_feed_reply
   */
  select?: Prisma.intranet_feed_replySelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_feed_reply
   */
  omit?: Prisma.intranet_feed_replyOmit<ExtArgs> | null
  /**
   * Filter which intranet_feed_reply to delete.
   */
  where: Prisma.intranet_feed_replyWhereUniqueInput
}

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

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