
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `passwords_manager_cat` 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 passwords_manager_cat
 * 
 */
export type passwords_manager_catModel = runtime.Types.Result.DefaultSelection<Prisma.$passwords_manager_catPayload>

export type AggregatePasswords_manager_cat = {
  _count: Passwords_manager_catCountAggregateOutputType | null
  _avg: Passwords_manager_catAvgAggregateOutputType | null
  _sum: Passwords_manager_catSumAggregateOutputType | null
  _min: Passwords_manager_catMinAggregateOutputType | null
  _max: Passwords_manager_catMaxAggregateOutputType | null
}

export type Passwords_manager_catAvgAggregateOutputType = {
  id: number | null
}

export type Passwords_manager_catSumAggregateOutputType = {
  id: number | null
}

export type Passwords_manager_catMinAggregateOutputType = {
  id: number | null
  title: string | null
  desc: string | null
}

export type Passwords_manager_catMaxAggregateOutputType = {
  id: number | null
  title: string | null
  desc: string | null
}

export type Passwords_manager_catCountAggregateOutputType = {
  id: number
  title: number
  desc: number
  _all: number
}


export type Passwords_manager_catAvgAggregateInputType = {
  id?: true
}

export type Passwords_manager_catSumAggregateInputType = {
  id?: true
}

export type Passwords_manager_catMinAggregateInputType = {
  id?: true
  title?: true
  desc?: true
}

export type Passwords_manager_catMaxAggregateInputType = {
  id?: true
  title?: true
  desc?: true
}

export type Passwords_manager_catCountAggregateInputType = {
  id?: true
  title?: true
  desc?: true
  _all?: true
}

export type Passwords_manager_catAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which passwords_manager_cat to aggregate.
   */
  where?: Prisma.passwords_manager_catWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of passwords_manager_cats to fetch.
   */
  orderBy?: Prisma.passwords_manager_catOrderByWithRelationInput | Prisma.passwords_manager_catOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.passwords_manager_catWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` passwords_manager_cats 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` passwords_manager_cats.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned passwords_manager_cats
  **/
  _count?: true | Passwords_manager_catCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Passwords_manager_catAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Passwords_manager_catSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Passwords_manager_catMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Passwords_manager_catMaxAggregateInputType
}

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




export type passwords_manager_catGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.passwords_manager_catWhereInput
  orderBy?: Prisma.passwords_manager_catOrderByWithAggregationInput | Prisma.passwords_manager_catOrderByWithAggregationInput[]
  by: Prisma.Passwords_manager_catScalarFieldEnum[] | Prisma.Passwords_manager_catScalarFieldEnum
  having?: Prisma.passwords_manager_catScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Passwords_manager_catCountAggregateInputType | true
  _avg?: Passwords_manager_catAvgAggregateInputType
  _sum?: Passwords_manager_catSumAggregateInputType
  _min?: Passwords_manager_catMinAggregateInputType
  _max?: Passwords_manager_catMaxAggregateInputType
}

export type Passwords_manager_catGroupByOutputType = {
  id: number
  title: string
  desc: string | null
  _count: Passwords_manager_catCountAggregateOutputType | null
  _avg: Passwords_manager_catAvgAggregateOutputType | null
  _sum: Passwords_manager_catSumAggregateOutputType | null
  _min: Passwords_manager_catMinAggregateOutputType | null
  _max: Passwords_manager_catMaxAggregateOutputType | null
}

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



export type passwords_manager_catWhereInput = {
  AND?: Prisma.passwords_manager_catWhereInput | Prisma.passwords_manager_catWhereInput[]
  OR?: Prisma.passwords_manager_catWhereInput[]
  NOT?: Prisma.passwords_manager_catWhereInput | Prisma.passwords_manager_catWhereInput[]
  id?: Prisma.IntFilter<"passwords_manager_cat"> | number
  title?: Prisma.StringFilter<"passwords_manager_cat"> | string
  desc?: Prisma.StringNullableFilter<"passwords_manager_cat"> | string | null
}

export type passwords_manager_catOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  desc?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.passwords_manager_catOrderByRelevanceInput
}

export type passwords_manager_catWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.passwords_manager_catWhereInput | Prisma.passwords_manager_catWhereInput[]
  OR?: Prisma.passwords_manager_catWhereInput[]
  NOT?: Prisma.passwords_manager_catWhereInput | Prisma.passwords_manager_catWhereInput[]
  title?: Prisma.StringFilter<"passwords_manager_cat"> | string
  desc?: Prisma.StringNullableFilter<"passwords_manager_cat"> | string | null
}, "id">

export type passwords_manager_catOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  desc?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.passwords_manager_catCountOrderByAggregateInput
  _avg?: Prisma.passwords_manager_catAvgOrderByAggregateInput
  _max?: Prisma.passwords_manager_catMaxOrderByAggregateInput
  _min?: Prisma.passwords_manager_catMinOrderByAggregateInput
  _sum?: Prisma.passwords_manager_catSumOrderByAggregateInput
}

export type passwords_manager_catScalarWhereWithAggregatesInput = {
  AND?: Prisma.passwords_manager_catScalarWhereWithAggregatesInput | Prisma.passwords_manager_catScalarWhereWithAggregatesInput[]
  OR?: Prisma.passwords_manager_catScalarWhereWithAggregatesInput[]
  NOT?: Prisma.passwords_manager_catScalarWhereWithAggregatesInput | Prisma.passwords_manager_catScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"passwords_manager_cat"> | number
  title?: Prisma.StringWithAggregatesFilter<"passwords_manager_cat"> | string
  desc?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager_cat"> | string | null
}

export type passwords_manager_catCreateInput = {
  title: string
  desc?: string | null
}

export type passwords_manager_catUncheckedCreateInput = {
  id?: number
  title: string
  desc?: string | null
}

export type passwords_manager_catUpdateInput = {
  title?: Prisma.StringFieldUpdateOperationsInput | string
  desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_catUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_catCreateManyInput = {
  id?: number
  title: string
  desc?: string | null
}

export type passwords_manager_catUpdateManyMutationInput = {
  title?: Prisma.StringFieldUpdateOperationsInput | string
  desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_catUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  title?: Prisma.StringFieldUpdateOperationsInput | string
  desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

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

export type passwords_manager_catCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  desc?: Prisma.SortOrder
}

export type passwords_manager_catAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
}

export type passwords_manager_catMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  desc?: Prisma.SortOrder
}

export type passwords_manager_catMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  desc?: Prisma.SortOrder
}

export type passwords_manager_catSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
}



export type passwords_manager_catSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  title?: boolean
  desc?: boolean
}, ExtArgs["result"]["passwords_manager_cat"]>



export type passwords_manager_catSelectScalar = {
  id?: boolean
  title?: boolean
  desc?: boolean
}

export type passwords_manager_catOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "desc", ExtArgs["result"]["passwords_manager_cat"]>

export type $passwords_manager_catPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "passwords_manager_cat"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    title: string
    desc: string | null
  }, ExtArgs["result"]["passwords_manager_cat"]>
  composites: {}
}

export type passwords_manager_catGetPayload<S extends boolean | null | undefined | passwords_manager_catDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$passwords_manager_catPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for passwords_manager_cat.
 * 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__passwords_manager_catClient<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 passwords_manager_cat model
 */
export interface passwords_manager_catFieldRefs {
  readonly id: Prisma.FieldRef<"passwords_manager_cat", 'Int'>
  readonly title: Prisma.FieldRef<"passwords_manager_cat", 'String'>
  readonly desc: Prisma.FieldRef<"passwords_manager_cat", 'String'>
}
    

// Custom InputTypes
/**
 * passwords_manager_cat findUnique
 */
export type passwords_manager_catFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which passwords_manager_cat to fetch.
   */
  where: Prisma.passwords_manager_catWhereUniqueInput
}

/**
 * passwords_manager_cat findUniqueOrThrow
 */
export type passwords_manager_catFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * Filter, which passwords_manager_cat to fetch.
   */
  where: Prisma.passwords_manager_catWhereUniqueInput
}

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

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

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

/**
 * passwords_manager_cat create
 */
export type passwords_manager_catCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * The data needed to create a passwords_manager_cat.
   */
  data: Prisma.XOR<Prisma.passwords_manager_catCreateInput, Prisma.passwords_manager_catUncheckedCreateInput>
}

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

/**
 * passwords_manager_cat update
 */
export type passwords_manager_catUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * The data needed to update a passwords_manager_cat.
   */
  data: Prisma.XOR<Prisma.passwords_manager_catUpdateInput, Prisma.passwords_manager_catUncheckedUpdateInput>
  /**
   * Choose, which passwords_manager_cat to update.
   */
  where: Prisma.passwords_manager_catWhereUniqueInput
}

/**
 * passwords_manager_cat updateMany
 */
export type passwords_manager_catUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update passwords_manager_cats.
   */
  data: Prisma.XOR<Prisma.passwords_manager_catUpdateManyMutationInput, Prisma.passwords_manager_catUncheckedUpdateManyInput>
  /**
   * Filter which passwords_manager_cats to update
   */
  where?: Prisma.passwords_manager_catWhereInput
  /**
   * Limit how many passwords_manager_cats to update.
   */
  limit?: number
}

/**
 * passwords_manager_cat upsert
 */
export type passwords_manager_catUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * The filter to search for the passwords_manager_cat to update in case it exists.
   */
  where: Prisma.passwords_manager_catWhereUniqueInput
  /**
   * In case the passwords_manager_cat found by the `where` argument doesn't exist, create a new passwords_manager_cat with this data.
   */
  create: Prisma.XOR<Prisma.passwords_manager_catCreateInput, Prisma.passwords_manager_catUncheckedCreateInput>
  /**
   * In case the passwords_manager_cat was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.passwords_manager_catUpdateInput, Prisma.passwords_manager_catUncheckedUpdateInput>
}

/**
 * passwords_manager_cat delete
 */
export type passwords_manager_catDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_cat
   */
  select?: Prisma.passwords_manager_catSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_cat
   */
  omit?: Prisma.passwords_manager_catOmit<ExtArgs> | null
  /**
   * Filter which passwords_manager_cat to delete.
   */
  where: Prisma.passwords_manager_catWhereUniqueInput
}

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

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