
/* !!! 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_techno` 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_techno
 * 
 */
export type intranet_technoModel = runtime.Types.Result.DefaultSelection<Prisma.$intranet_technoPayload>

export type AggregateIntranet_techno = {
  _count: Intranet_technoCountAggregateOutputType | null
  _avg: Intranet_technoAvgAggregateOutputType | null
  _sum: Intranet_technoSumAggregateOutputType | null
  _min: Intranet_technoMinAggregateOutputType | null
  _max: Intranet_technoMaxAggregateOutputType | null
}

export type Intranet_technoAvgAggregateOutputType = {
  id: number | null
  account_id: number | null
  date: number | null
}

export type Intranet_technoSumAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date: bigint | null
}

export type Intranet_technoMinAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date: bigint | null
  title: string | null
  msg: string | null
  attachment: string | null
  unread_csv: string | null
}

export type Intranet_technoMaxAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date: bigint | null
  title: string | null
  msg: string | null
  attachment: string | null
  unread_csv: string | null
}

export type Intranet_technoCountAggregateOutputType = {
  id: number
  account_id: number
  date: number
  title: number
  msg: number
  attachment: number
  unread_csv: number
  _all: number
}


export type Intranet_technoAvgAggregateInputType = {
  id?: true
  account_id?: true
  date?: true
}

export type Intranet_technoSumAggregateInputType = {
  id?: true
  account_id?: true
  date?: true
}

export type Intranet_technoMinAggregateInputType = {
  id?: true
  account_id?: true
  date?: true
  title?: true
  msg?: true
  attachment?: true
  unread_csv?: true
}

export type Intranet_technoMaxAggregateInputType = {
  id?: true
  account_id?: true
  date?: true
  title?: true
  msg?: true
  attachment?: true
  unread_csv?: true
}

export type Intranet_technoCountAggregateInputType = {
  id?: true
  account_id?: true
  date?: true
  title?: true
  msg?: true
  attachment?: true
  unread_csv?: true
  _all?: true
}

export type Intranet_technoAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which intranet_techno to aggregate.
   */
  where?: Prisma.intranet_technoWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of intranet_technos to fetch.
   */
  orderBy?: Prisma.intranet_technoOrderByWithRelationInput | Prisma.intranet_technoOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.intranet_technoWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` intranet_technos 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_technos.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned intranet_technos
  **/
  _count?: true | Intranet_technoCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Intranet_technoAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Intranet_technoSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Intranet_technoMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Intranet_technoMaxAggregateInputType
}

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




export type intranet_technoGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.intranet_technoWhereInput
  orderBy?: Prisma.intranet_technoOrderByWithAggregationInput | Prisma.intranet_technoOrderByWithAggregationInput[]
  by: Prisma.Intranet_technoScalarFieldEnum[] | Prisma.Intranet_technoScalarFieldEnum
  having?: Prisma.intranet_technoScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Intranet_technoCountAggregateInputType | true
  _avg?: Intranet_technoAvgAggregateInputType
  _sum?: Intranet_technoSumAggregateInputType
  _min?: Intranet_technoMinAggregateInputType
  _max?: Intranet_technoMaxAggregateInputType
}

export type Intranet_technoGroupByOutputType = {
  id: bigint
  account_id: bigint
  date: bigint
  title: string
  msg: string
  attachment: string
  unread_csv: string
  _count: Intranet_technoCountAggregateOutputType | null
  _avg: Intranet_technoAvgAggregateOutputType | null
  _sum: Intranet_technoSumAggregateOutputType | null
  _min: Intranet_technoMinAggregateOutputType | null
  _max: Intranet_technoMaxAggregateOutputType | null
}

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



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

export type intranet_technoOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  title?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  unread_csv?: Prisma.SortOrder
  _relevance?: Prisma.intranet_technoOrderByRelevanceInput
}

export type intranet_technoWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.intranet_technoWhereInput | Prisma.intranet_technoWhereInput[]
  OR?: Prisma.intranet_technoWhereInput[]
  NOT?: Prisma.intranet_technoWhereInput | Prisma.intranet_technoWhereInput[]
  account_id?: Prisma.BigIntFilter<"intranet_techno"> | bigint | number
  date?: Prisma.BigIntFilter<"intranet_techno"> | bigint | number
  title?: Prisma.StringFilter<"intranet_techno"> | string
  msg?: Prisma.StringFilter<"intranet_techno"> | string
  attachment?: Prisma.StringFilter<"intranet_techno"> | string
  unread_csv?: Prisma.StringFilter<"intranet_techno"> | string
}, "id">

export type intranet_technoOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  title?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  unread_csv?: Prisma.SortOrder
  _count?: Prisma.intranet_technoCountOrderByAggregateInput
  _avg?: Prisma.intranet_technoAvgOrderByAggregateInput
  _max?: Prisma.intranet_technoMaxOrderByAggregateInput
  _min?: Prisma.intranet_technoMinOrderByAggregateInput
  _sum?: Prisma.intranet_technoSumOrderByAggregateInput
}

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

export type intranet_technoCreateInput = {
  id?: bigint | number
  account_id: bigint | number
  date: bigint | number
  title: string
  msg: string
  attachment: string
  unread_csv: string
}

export type intranet_technoUncheckedCreateInput = {
  id?: bigint | number
  account_id: bigint | number
  date: bigint | number
  title: string
  msg: string
  attachment: string
  unread_csv: string
}

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

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

export type intranet_technoCreateManyInput = {
  id?: bigint | number
  account_id: bigint | number
  date: bigint | number
  title: string
  msg: string
  attachment: string
  unread_csv: string
}

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

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

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

export type intranet_technoCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  title?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  unread_csv?: Prisma.SortOrder
}

export type intranet_technoAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
}

export type intranet_technoMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  title?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  unread_csv?: Prisma.SortOrder
}

export type intranet_technoMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
  title?: Prisma.SortOrder
  msg?: Prisma.SortOrder
  attachment?: Prisma.SortOrder
  unread_csv?: Prisma.SortOrder
}

export type intranet_technoSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date?: Prisma.SortOrder
}



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



export type intranet_technoSelectScalar = {
  id?: boolean
  account_id?: boolean
  date?: boolean
  title?: boolean
  msg?: boolean
  attachment?: boolean
  unread_csv?: boolean
}

export type intranet_technoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date" | "title" | "msg" | "attachment" | "unread_csv", ExtArgs["result"]["intranet_techno"]>

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

export type intranet_technoGetPayload<S extends boolean | null | undefined | intranet_technoDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$intranet_technoPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for intranet_techno.
 * 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_technoClient<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_techno model
 */
export interface intranet_technoFieldRefs {
  readonly id: Prisma.FieldRef<"intranet_techno", 'BigInt'>
  readonly account_id: Prisma.FieldRef<"intranet_techno", 'BigInt'>
  readonly date: Prisma.FieldRef<"intranet_techno", 'BigInt'>
  readonly title: Prisma.FieldRef<"intranet_techno", 'String'>
  readonly msg: Prisma.FieldRef<"intranet_techno", 'String'>
  readonly attachment: Prisma.FieldRef<"intranet_techno", 'String'>
  readonly unread_csv: Prisma.FieldRef<"intranet_techno", 'String'>
}
    

// Custom InputTypes
/**
 * intranet_techno findUnique
 */
export type intranet_technoFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * Filter, which intranet_techno to fetch.
   */
  where: Prisma.intranet_technoWhereUniqueInput
}

/**
 * intranet_techno findUniqueOrThrow
 */
export type intranet_technoFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * Filter, which intranet_techno to fetch.
   */
  where: Prisma.intranet_technoWhereUniqueInput
}

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

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

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

/**
 * intranet_techno create
 */
export type intranet_technoCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * The data needed to create a intranet_techno.
   */
  data: Prisma.XOR<Prisma.intranet_technoCreateInput, Prisma.intranet_technoUncheckedCreateInput>
}

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

/**
 * intranet_techno update
 */
export type intranet_technoUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * The data needed to update a intranet_techno.
   */
  data: Prisma.XOR<Prisma.intranet_technoUpdateInput, Prisma.intranet_technoUncheckedUpdateInput>
  /**
   * Choose, which intranet_techno to update.
   */
  where: Prisma.intranet_technoWhereUniqueInput
}

/**
 * intranet_techno updateMany
 */
export type intranet_technoUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update intranet_technos.
   */
  data: Prisma.XOR<Prisma.intranet_technoUpdateManyMutationInput, Prisma.intranet_technoUncheckedUpdateManyInput>
  /**
   * Filter which intranet_technos to update
   */
  where?: Prisma.intranet_technoWhereInput
  /**
   * Limit how many intranet_technos to update.
   */
  limit?: number
}

/**
 * intranet_techno upsert
 */
export type intranet_technoUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * The filter to search for the intranet_techno to update in case it exists.
   */
  where: Prisma.intranet_technoWhereUniqueInput
  /**
   * In case the intranet_techno found by the `where` argument doesn't exist, create a new intranet_techno with this data.
   */
  create: Prisma.XOR<Prisma.intranet_technoCreateInput, Prisma.intranet_technoUncheckedCreateInput>
  /**
   * In case the intranet_techno was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.intranet_technoUpdateInput, Prisma.intranet_technoUncheckedUpdateInput>
}

/**
 * intranet_techno delete
 */
export type intranet_technoDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the intranet_techno
   */
  select?: Prisma.intranet_technoSelect<ExtArgs> | null
  /**
   * Omit specific fields from the intranet_techno
   */
  omit?: Prisma.intranet_technoOmit<ExtArgs> | null
  /**
   * Filter which intranet_techno to delete.
   */
  where: Prisma.intranet_technoWhereUniqueInput
}

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

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