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

export type AggregateLoginEvent = {
  _count: LoginEventCountAggregateOutputType | null
  _min: LoginEventMinAggregateOutputType | null
  _max: LoginEventMaxAggregateOutputType | null
}

export type LoginEventMinAggregateOutputType = {
  id: string | null
  userId: string | null
  username: string | null
  success: boolean | null
  kind: string | null
  actor: string | null
  ip: string | null
  userAgent: string | null
  createdAt: Date | null
}

export type LoginEventMaxAggregateOutputType = {
  id: string | null
  userId: string | null
  username: string | null
  success: boolean | null
  kind: string | null
  actor: string | null
  ip: string | null
  userAgent: string | null
  createdAt: Date | null
}

export type LoginEventCountAggregateOutputType = {
  id: number
  userId: number
  username: number
  success: number
  kind: number
  actor: number
  ip: number
  userAgent: number
  createdAt: number
  _all: number
}


export type LoginEventMinAggregateInputType = {
  id?: true
  userId?: true
  username?: true
  success?: true
  kind?: true
  actor?: true
  ip?: true
  userAgent?: true
  createdAt?: true
}

export type LoginEventMaxAggregateInputType = {
  id?: true
  userId?: true
  username?: true
  success?: true
  kind?: true
  actor?: true
  ip?: true
  userAgent?: true
  createdAt?: true
}

export type LoginEventCountAggregateInputType = {
  id?: true
  userId?: true
  username?: true
  success?: true
  kind?: true
  actor?: true
  ip?: true
  userAgent?: true
  createdAt?: true
  _all?: true
}

export type LoginEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which LoginEvent to aggregate.
   */
  where?: Prisma.LoginEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of LoginEvents to fetch.
   */
  orderBy?: Prisma.LoginEventOrderByWithRelationInput | Prisma.LoginEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.LoginEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` LoginEvents 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` LoginEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned LoginEvents
  **/
  _count?: true | LoginEventCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: LoginEventMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: LoginEventMaxAggregateInputType
}

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




export type LoginEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.LoginEventWhereInput
  orderBy?: Prisma.LoginEventOrderByWithAggregationInput | Prisma.LoginEventOrderByWithAggregationInput[]
  by: Prisma.LoginEventScalarFieldEnum[] | Prisma.LoginEventScalarFieldEnum
  having?: Prisma.LoginEventScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: LoginEventCountAggregateInputType | true
  _min?: LoginEventMinAggregateInputType
  _max?: LoginEventMaxAggregateInputType
}

export type LoginEventGroupByOutputType = {
  id: string
  userId: string | null
  username: string
  success: boolean
  kind: string
  actor: string | null
  ip: string | null
  userAgent: string | null
  createdAt: Date
  _count: LoginEventCountAggregateOutputType | null
  _min: LoginEventMinAggregateOutputType | null
  _max: LoginEventMaxAggregateOutputType | null
}

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



export type LoginEventWhereInput = {
  AND?: Prisma.LoginEventWhereInput | Prisma.LoginEventWhereInput[]
  OR?: Prisma.LoginEventWhereInput[]
  NOT?: Prisma.LoginEventWhereInput | Prisma.LoginEventWhereInput[]
  id?: Prisma.StringFilter<"LoginEvent"> | string
  userId?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  username?: Prisma.StringFilter<"LoginEvent"> | string
  success?: Prisma.BoolFilter<"LoginEvent"> | boolean
  kind?: Prisma.StringFilter<"LoginEvent"> | string
  actor?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  ip?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  userAgent?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  createdAt?: Prisma.DateTimeFilter<"LoginEvent"> | Date | string
}

export type LoginEventOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  userId?: Prisma.SortOrderInput | Prisma.SortOrder
  username?: Prisma.SortOrder
  success?: Prisma.SortOrder
  kind?: Prisma.SortOrder
  actor?: Prisma.SortOrderInput | Prisma.SortOrder
  ip?: Prisma.SortOrderInput | Prisma.SortOrder
  userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type LoginEventWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.LoginEventWhereInput | Prisma.LoginEventWhereInput[]
  OR?: Prisma.LoginEventWhereInput[]
  NOT?: Prisma.LoginEventWhereInput | Prisma.LoginEventWhereInput[]
  userId?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  username?: Prisma.StringFilter<"LoginEvent"> | string
  success?: Prisma.BoolFilter<"LoginEvent"> | boolean
  kind?: Prisma.StringFilter<"LoginEvent"> | string
  actor?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  ip?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  userAgent?: Prisma.StringNullableFilter<"LoginEvent"> | string | null
  createdAt?: Prisma.DateTimeFilter<"LoginEvent"> | Date | string
}, "id">

export type LoginEventOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  userId?: Prisma.SortOrderInput | Prisma.SortOrder
  username?: Prisma.SortOrder
  success?: Prisma.SortOrder
  kind?: Prisma.SortOrder
  actor?: Prisma.SortOrderInput | Prisma.SortOrder
  ip?: Prisma.SortOrderInput | Prisma.SortOrder
  userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  _count?: Prisma.LoginEventCountOrderByAggregateInput
  _max?: Prisma.LoginEventMaxOrderByAggregateInput
  _min?: Prisma.LoginEventMinOrderByAggregateInput
}

export type LoginEventScalarWhereWithAggregatesInput = {
  AND?: Prisma.LoginEventScalarWhereWithAggregatesInput | Prisma.LoginEventScalarWhereWithAggregatesInput[]
  OR?: Prisma.LoginEventScalarWhereWithAggregatesInput[]
  NOT?: Prisma.LoginEventScalarWhereWithAggregatesInput | Prisma.LoginEventScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"LoginEvent"> | string
  userId?: Prisma.StringNullableWithAggregatesFilter<"LoginEvent"> | string | null
  username?: Prisma.StringWithAggregatesFilter<"LoginEvent"> | string
  success?: Prisma.BoolWithAggregatesFilter<"LoginEvent"> | boolean
  kind?: Prisma.StringWithAggregatesFilter<"LoginEvent"> | string
  actor?: Prisma.StringNullableWithAggregatesFilter<"LoginEvent"> | string | null
  ip?: Prisma.StringNullableWithAggregatesFilter<"LoginEvent"> | string | null
  userAgent?: Prisma.StringNullableWithAggregatesFilter<"LoginEvent"> | string | null
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"LoginEvent"> | Date | string
}

export type LoginEventCreateInput = {
  id?: string
  userId?: string | null
  username: string
  success: boolean
  kind?: string
  actor?: string | null
  ip?: string | null
  userAgent?: string | null
  createdAt?: Date | string
}

export type LoginEventUncheckedCreateInput = {
  id?: string
  userId?: string | null
  username: string
  success: boolean
  kind?: string
  actor?: string | null
  ip?: string | null
  userAgent?: string | null
  createdAt?: Date | string
}

export type LoginEventUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  username?: Prisma.StringFieldUpdateOperationsInput | string
  success?: Prisma.BoolFieldUpdateOperationsInput | boolean
  kind?: Prisma.StringFieldUpdateOperationsInput | string
  actor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type LoginEventUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  username?: Prisma.StringFieldUpdateOperationsInput | string
  success?: Prisma.BoolFieldUpdateOperationsInput | boolean
  kind?: Prisma.StringFieldUpdateOperationsInput | string
  actor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type LoginEventCreateManyInput = {
  id?: string
  userId?: string | null
  username: string
  success: boolean
  kind?: string
  actor?: string | null
  ip?: string | null
  userAgent?: string | null
  createdAt?: Date | string
}

export type LoginEventUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  username?: Prisma.StringFieldUpdateOperationsInput | string
  success?: Prisma.BoolFieldUpdateOperationsInput | boolean
  kind?: Prisma.StringFieldUpdateOperationsInput | string
  actor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type LoginEventUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  username?: Prisma.StringFieldUpdateOperationsInput | string
  success?: Prisma.BoolFieldUpdateOperationsInput | boolean
  kind?: Prisma.StringFieldUpdateOperationsInput | string
  actor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type LoginEventCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  username?: Prisma.SortOrder
  success?: Prisma.SortOrder
  kind?: Prisma.SortOrder
  actor?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  userAgent?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type LoginEventMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  username?: Prisma.SortOrder
  success?: Prisma.SortOrder
  kind?: Prisma.SortOrder
  actor?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  userAgent?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type LoginEventMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  username?: Prisma.SortOrder
  success?: Prisma.SortOrder
  kind?: Prisma.SortOrder
  actor?: Prisma.SortOrder
  ip?: Prisma.SortOrder
  userAgent?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}



export type LoginEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  userId?: boolean
  username?: boolean
  success?: boolean
  kind?: boolean
  actor?: boolean
  ip?: boolean
  userAgent?: boolean
  createdAt?: boolean
}, ExtArgs["result"]["loginEvent"]>

export type LoginEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  userId?: boolean
  username?: boolean
  success?: boolean
  kind?: boolean
  actor?: boolean
  ip?: boolean
  userAgent?: boolean
  createdAt?: boolean
}, ExtArgs["result"]["loginEvent"]>

export type LoginEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  userId?: boolean
  username?: boolean
  success?: boolean
  kind?: boolean
  actor?: boolean
  ip?: boolean
  userAgent?: boolean
  createdAt?: boolean
}, ExtArgs["result"]["loginEvent"]>

export type LoginEventSelectScalar = {
  id?: boolean
  userId?: boolean
  username?: boolean
  success?: boolean
  kind?: boolean
  actor?: boolean
  ip?: boolean
  userAgent?: boolean
  createdAt?: boolean
}

export type LoginEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "username" | "success" | "kind" | "actor" | "ip" | "userAgent" | "createdAt", ExtArgs["result"]["loginEvent"]>

export type $LoginEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "LoginEvent"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    userId: string | null
    username: string
    success: boolean
    kind: string
    actor: string | null
    ip: string | null
    userAgent: string | null
    createdAt: Date
  }, ExtArgs["result"]["loginEvent"]>
  composites: {}
}

export type LoginEventGetPayload<S extends boolean | null | undefined | LoginEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LoginEventPayload, S>

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

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

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

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

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

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

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

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

  /**
   * Create many LoginEvents and returns the data saved in the database.
   * @param {LoginEventCreateManyAndReturnArgs} args - Arguments to create many LoginEvents.
   * @example
   * // Create many LoginEvents
   * const loginEvent = await prisma.loginEvent.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many LoginEvents and only return the `id`
   * const loginEventWithIdOnly = await prisma.loginEvent.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends LoginEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LoginEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LoginEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more LoginEvents and returns the data updated in the database.
   * @param {LoginEventUpdateManyAndReturnArgs} args - Arguments to update many LoginEvents.
   * @example
   * // Update many LoginEvents
   * const loginEvent = await prisma.loginEvent.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more LoginEvents and only return the `id`
   * const loginEventWithIdOnly = await prisma.loginEvent.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends LoginEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LoginEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LoginEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for LoginEvent.
 * 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__LoginEventClient<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 LoginEvent model
 */
export interface LoginEventFieldRefs {
  readonly id: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly userId: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly username: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly success: Prisma.FieldRef<"LoginEvent", 'Boolean'>
  readonly kind: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly actor: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly ip: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly userAgent: Prisma.FieldRef<"LoginEvent", 'String'>
  readonly createdAt: Prisma.FieldRef<"LoginEvent", 'DateTime'>
}
    

// Custom InputTypes
/**
 * LoginEvent findUnique
 */
export type LoginEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * Filter, which LoginEvent to fetch.
   */
  where: Prisma.LoginEventWhereUniqueInput
}

/**
 * LoginEvent findUniqueOrThrow
 */
export type LoginEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * Filter, which LoginEvent to fetch.
   */
  where: Prisma.LoginEventWhereUniqueInput
}

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

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

/**
 * LoginEvent findMany
 */
export type LoginEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * Filter, which LoginEvents to fetch.
   */
  where?: Prisma.LoginEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of LoginEvents to fetch.
   */
  orderBy?: Prisma.LoginEventOrderByWithRelationInput | Prisma.LoginEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing LoginEvents.
   */
  cursor?: Prisma.LoginEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` LoginEvents 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` LoginEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of LoginEvents.
   */
  distinct?: Prisma.LoginEventScalarFieldEnum | Prisma.LoginEventScalarFieldEnum[]
}

/**
 * LoginEvent create
 */
export type LoginEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * The data needed to create a LoginEvent.
   */
  data: Prisma.XOR<Prisma.LoginEventCreateInput, Prisma.LoginEventUncheckedCreateInput>
}

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

/**
 * LoginEvent createManyAndReturn
 */
export type LoginEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * The data used to create many LoginEvents.
   */
  data: Prisma.LoginEventCreateManyInput | Prisma.LoginEventCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * LoginEvent update
 */
export type LoginEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * The data needed to update a LoginEvent.
   */
  data: Prisma.XOR<Prisma.LoginEventUpdateInput, Prisma.LoginEventUncheckedUpdateInput>
  /**
   * Choose, which LoginEvent to update.
   */
  where: Prisma.LoginEventWhereUniqueInput
}

/**
 * LoginEvent updateMany
 */
export type LoginEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update LoginEvents.
   */
  data: Prisma.XOR<Prisma.LoginEventUpdateManyMutationInput, Prisma.LoginEventUncheckedUpdateManyInput>
  /**
   * Filter which LoginEvents to update
   */
  where?: Prisma.LoginEventWhereInput
  /**
   * Limit how many LoginEvents to update.
   */
  limit?: number
}

/**
 * LoginEvent updateManyAndReturn
 */
export type LoginEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * The data used to update LoginEvents.
   */
  data: Prisma.XOR<Prisma.LoginEventUpdateManyMutationInput, Prisma.LoginEventUncheckedUpdateManyInput>
  /**
   * Filter which LoginEvents to update
   */
  where?: Prisma.LoginEventWhereInput
  /**
   * Limit how many LoginEvents to update.
   */
  limit?: number
}

/**
 * LoginEvent upsert
 */
export type LoginEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * The filter to search for the LoginEvent to update in case it exists.
   */
  where: Prisma.LoginEventWhereUniqueInput
  /**
   * In case the LoginEvent found by the `where` argument doesn't exist, create a new LoginEvent with this data.
   */
  create: Prisma.XOR<Prisma.LoginEventCreateInput, Prisma.LoginEventUncheckedCreateInput>
  /**
   * In case the LoginEvent was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.LoginEventUpdateInput, Prisma.LoginEventUncheckedUpdateInput>
}

/**
 * LoginEvent delete
 */
export type LoginEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the LoginEvent
   */
  select?: Prisma.LoginEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the LoginEvent
   */
  omit?: Prisma.LoginEventOmit<ExtArgs> | null
  /**
   * Filter which LoginEvent to delete.
   */
  where: Prisma.LoginEventWhereUniqueInput
}

/**
 * LoginEvent deleteMany
 */
export type LoginEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which LoginEvents to delete
   */
  where?: Prisma.LoginEventWhereInput
  /**
   * Limit how many LoginEvents to delete.
   */
  limit?: number
}

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