
/* !!! 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_group` 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_group
 * 
 */
export type passwords_manager_groupModel = runtime.Types.Result.DefaultSelection<Prisma.$passwords_manager_groupPayload>

export type AggregatePasswords_manager_group = {
  _count: Passwords_manager_groupCountAggregateOutputType | null
  _avg: Passwords_manager_groupAvgAggregateOutputType | null
  _sum: Passwords_manager_groupSumAggregateOutputType | null
  _min: Passwords_manager_groupMinAggregateOutputType | null
  _max: Passwords_manager_groupMaxAggregateOutputType | null
}

export type Passwords_manager_groupAvgAggregateOutputType = {
  id: number | null
}

export type Passwords_manager_groupSumAggregateOutputType = {
  id: number | null
}

export type Passwords_manager_groupMinAggregateOutputType = {
  id: number | null
  name: string | null
  users: string | null
}

export type Passwords_manager_groupMaxAggregateOutputType = {
  id: number | null
  name: string | null
  users: string | null
}

export type Passwords_manager_groupCountAggregateOutputType = {
  id: number
  name: number
  users: number
  _all: number
}


export type Passwords_manager_groupAvgAggregateInputType = {
  id?: true
}

export type Passwords_manager_groupSumAggregateInputType = {
  id?: true
}

export type Passwords_manager_groupMinAggregateInputType = {
  id?: true
  name?: true
  users?: true
}

export type Passwords_manager_groupMaxAggregateInputType = {
  id?: true
  name?: true
  users?: true
}

export type Passwords_manager_groupCountAggregateInputType = {
  id?: true
  name?: true
  users?: true
  _all?: true
}

export type Passwords_manager_groupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which passwords_manager_group to aggregate.
   */
  where?: Prisma.passwords_manager_groupWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of passwords_manager_groups to fetch.
   */
  orderBy?: Prisma.passwords_manager_groupOrderByWithRelationInput | Prisma.passwords_manager_groupOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.passwords_manager_groupWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` passwords_manager_groups 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_groups.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned passwords_manager_groups
  **/
  _count?: true | Passwords_manager_groupCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Passwords_manager_groupAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Passwords_manager_groupSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Passwords_manager_groupMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Passwords_manager_groupMaxAggregateInputType
}

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




export type passwords_manager_groupGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.passwords_manager_groupWhereInput
  orderBy?: Prisma.passwords_manager_groupOrderByWithAggregationInput | Prisma.passwords_manager_groupOrderByWithAggregationInput[]
  by: Prisma.Passwords_manager_groupScalarFieldEnum[] | Prisma.Passwords_manager_groupScalarFieldEnum
  having?: Prisma.passwords_manager_groupScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Passwords_manager_groupCountAggregateInputType | true
  _avg?: Passwords_manager_groupAvgAggregateInputType
  _sum?: Passwords_manager_groupSumAggregateInputType
  _min?: Passwords_manager_groupMinAggregateInputType
  _max?: Passwords_manager_groupMaxAggregateInputType
}

export type Passwords_manager_groupGroupByOutputType = {
  id: number
  name: string
  users: string | null
  _count: Passwords_manager_groupCountAggregateOutputType | null
  _avg: Passwords_manager_groupAvgAggregateOutputType | null
  _sum: Passwords_manager_groupSumAggregateOutputType | null
  _min: Passwords_manager_groupMinAggregateOutputType | null
  _max: Passwords_manager_groupMaxAggregateOutputType | null
}

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



export type passwords_manager_groupWhereInput = {
  AND?: Prisma.passwords_manager_groupWhereInput | Prisma.passwords_manager_groupWhereInput[]
  OR?: Prisma.passwords_manager_groupWhereInput[]
  NOT?: Prisma.passwords_manager_groupWhereInput | Prisma.passwords_manager_groupWhereInput[]
  id?: Prisma.IntFilter<"passwords_manager_group"> | number
  name?: Prisma.StringFilter<"passwords_manager_group"> | string
  users?: Prisma.StringNullableFilter<"passwords_manager_group"> | string | null
}

export type passwords_manager_groupOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  users?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.passwords_manager_groupOrderByRelevanceInput
}

export type passwords_manager_groupWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.passwords_manager_groupWhereInput | Prisma.passwords_manager_groupWhereInput[]
  OR?: Prisma.passwords_manager_groupWhereInput[]
  NOT?: Prisma.passwords_manager_groupWhereInput | Prisma.passwords_manager_groupWhereInput[]
  name?: Prisma.StringFilter<"passwords_manager_group"> | string
  users?: Prisma.StringNullableFilter<"passwords_manager_group"> | string | null
}, "id">

export type passwords_manager_groupOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  users?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.passwords_manager_groupCountOrderByAggregateInput
  _avg?: Prisma.passwords_manager_groupAvgOrderByAggregateInput
  _max?: Prisma.passwords_manager_groupMaxOrderByAggregateInput
  _min?: Prisma.passwords_manager_groupMinOrderByAggregateInput
  _sum?: Prisma.passwords_manager_groupSumOrderByAggregateInput
}

export type passwords_manager_groupScalarWhereWithAggregatesInput = {
  AND?: Prisma.passwords_manager_groupScalarWhereWithAggregatesInput | Prisma.passwords_manager_groupScalarWhereWithAggregatesInput[]
  OR?: Prisma.passwords_manager_groupScalarWhereWithAggregatesInput[]
  NOT?: Prisma.passwords_manager_groupScalarWhereWithAggregatesInput | Prisma.passwords_manager_groupScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"passwords_manager_group"> | number
  name?: Prisma.StringWithAggregatesFilter<"passwords_manager_group"> | string
  users?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager_group"> | string | null
}

export type passwords_manager_groupCreateInput = {
  name: string
  users?: string | null
}

export type passwords_manager_groupUncheckedCreateInput = {
  id?: number
  name: string
  users?: string | null
}

export type passwords_manager_groupUpdateInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  users?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_groupUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  users?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_groupCreateManyInput = {
  id?: number
  name: string
  users?: string | null
}

export type passwords_manager_groupUpdateManyMutationInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  users?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type passwords_manager_groupUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  users?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

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

export type passwords_manager_groupCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  users?: Prisma.SortOrder
}

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

export type passwords_manager_groupMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  users?: Prisma.SortOrder
}

export type passwords_manager_groupMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  users?: Prisma.SortOrder
}

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



export type passwords_manager_groupSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  users?: boolean
}, ExtArgs["result"]["passwords_manager_group"]>



export type passwords_manager_groupSelectScalar = {
  id?: boolean
  name?: boolean
  users?: boolean
}

export type passwords_manager_groupOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "users", ExtArgs["result"]["passwords_manager_group"]>

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

export type passwords_manager_groupGetPayload<S extends boolean | null | undefined | passwords_manager_groupDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$passwords_manager_groupPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

  /**
   * Group by Passwords_manager_group.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {passwords_manager_groupGroupByArgs} 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_groupGroupByArgs,
    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_groupGroupByArgs['orderBy'] }
      : { orderBy?: passwords_manager_groupGroupByArgs['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_groupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPasswords_manager_groupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the passwords_manager_group model
 */
readonly fields: passwords_manager_groupFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for passwords_manager_group.
 * 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_groupClient<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_group model
 */
export interface passwords_manager_groupFieldRefs {
  readonly id: Prisma.FieldRef<"passwords_manager_group", 'Int'>
  readonly name: Prisma.FieldRef<"passwords_manager_group", 'String'>
  readonly users: Prisma.FieldRef<"passwords_manager_group", 'String'>
}
    

// Custom InputTypes
/**
 * passwords_manager_group findUnique
 */
export type passwords_manager_groupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * Filter, which passwords_manager_group to fetch.
   */
  where: Prisma.passwords_manager_groupWhereUniqueInput
}

/**
 * passwords_manager_group findUniqueOrThrow
 */
export type passwords_manager_groupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * Filter, which passwords_manager_group to fetch.
   */
  where: Prisma.passwords_manager_groupWhereUniqueInput
}

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

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

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

/**
 * passwords_manager_group create
 */
export type passwords_manager_groupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * The data needed to create a passwords_manager_group.
   */
  data: Prisma.XOR<Prisma.passwords_manager_groupCreateInput, Prisma.passwords_manager_groupUncheckedCreateInput>
}

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

/**
 * passwords_manager_group update
 */
export type passwords_manager_groupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * The data needed to update a passwords_manager_group.
   */
  data: Prisma.XOR<Prisma.passwords_manager_groupUpdateInput, Prisma.passwords_manager_groupUncheckedUpdateInput>
  /**
   * Choose, which passwords_manager_group to update.
   */
  where: Prisma.passwords_manager_groupWhereUniqueInput
}

/**
 * passwords_manager_group updateMany
 */
export type passwords_manager_groupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update passwords_manager_groups.
   */
  data: Prisma.XOR<Prisma.passwords_manager_groupUpdateManyMutationInput, Prisma.passwords_manager_groupUncheckedUpdateManyInput>
  /**
   * Filter which passwords_manager_groups to update
   */
  where?: Prisma.passwords_manager_groupWhereInput
  /**
   * Limit how many passwords_manager_groups to update.
   */
  limit?: number
}

/**
 * passwords_manager_group upsert
 */
export type passwords_manager_groupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * The filter to search for the passwords_manager_group to update in case it exists.
   */
  where: Prisma.passwords_manager_groupWhereUniqueInput
  /**
   * In case the passwords_manager_group found by the `where` argument doesn't exist, create a new passwords_manager_group with this data.
   */
  create: Prisma.XOR<Prisma.passwords_manager_groupCreateInput, Prisma.passwords_manager_groupUncheckedCreateInput>
  /**
   * In case the passwords_manager_group was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.passwords_manager_groupUpdateInput, Prisma.passwords_manager_groupUncheckedUpdateInput>
}

/**
 * passwords_manager_group delete
 */
export type passwords_manager_groupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the passwords_manager_group
   */
  select?: Prisma.passwords_manager_groupSelect<ExtArgs> | null
  /**
   * Omit specific fields from the passwords_manager_group
   */
  omit?: Prisma.passwords_manager_groupOmit<ExtArgs> | null
  /**
   * Filter which passwords_manager_group to delete.
   */
  where: Prisma.passwords_manager_groupWhereUniqueInput
}

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

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