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

export type AggregateWebsiteEvent = {
  _count: WebsiteEventCountAggregateOutputType | null
  _avg: WebsiteEventAvgAggregateOutputType | null
  _sum: WebsiteEventSumAggregateOutputType | null
  _min: WebsiteEventMinAggregateOutputType | null
  _max: WebsiteEventMaxAggregateOutputType | null
}

export type WebsiteEventAvgAggregateOutputType = {
  eventType: number | null
  lcp: runtime.Decimal | null
  inp: runtime.Decimal | null
  cls: runtime.Decimal | null
  fcp: runtime.Decimal | null
  ttfb: runtime.Decimal | null
}

export type WebsiteEventSumAggregateOutputType = {
  eventType: number | null
  lcp: runtime.Decimal | null
  inp: runtime.Decimal | null
  cls: runtime.Decimal | null
  fcp: runtime.Decimal | null
  ttfb: runtime.Decimal | null
}

export type WebsiteEventMinAggregateOutputType = {
  id: string | null
  websiteId: string | null
  sessionId: string | null
  visitId: string | null
  createdAt: Date | null
  urlPath: string | null
  urlQuery: string | null
  utmSource: string | null
  utmMedium: string | null
  utmCampaign: string | null
  utmContent: string | null
  utmTerm: string | null
  referrerPath: string | null
  referrerQuery: string | null
  referrerDomain: string | null
  pageTitle: string | null
  gclid: string | null
  fbclid: string | null
  msclkid: string | null
  ttclid: string | null
  lifatid: string | null
  twclid: string | null
  eventType: number | null
  eventName: string | null
  tag: string | null
  hostname: string | null
  lcp: runtime.Decimal | null
  inp: runtime.Decimal | null
  cls: runtime.Decimal | null
  fcp: runtime.Decimal | null
  ttfb: runtime.Decimal | null
}

export type WebsiteEventMaxAggregateOutputType = {
  id: string | null
  websiteId: string | null
  sessionId: string | null
  visitId: string | null
  createdAt: Date | null
  urlPath: string | null
  urlQuery: string | null
  utmSource: string | null
  utmMedium: string | null
  utmCampaign: string | null
  utmContent: string | null
  utmTerm: string | null
  referrerPath: string | null
  referrerQuery: string | null
  referrerDomain: string | null
  pageTitle: string | null
  gclid: string | null
  fbclid: string | null
  msclkid: string | null
  ttclid: string | null
  lifatid: string | null
  twclid: string | null
  eventType: number | null
  eventName: string | null
  tag: string | null
  hostname: string | null
  lcp: runtime.Decimal | null
  inp: runtime.Decimal | null
  cls: runtime.Decimal | null
  fcp: runtime.Decimal | null
  ttfb: runtime.Decimal | null
}

export type WebsiteEventCountAggregateOutputType = {
  id: number
  websiteId: number
  sessionId: number
  visitId: number
  createdAt: number
  urlPath: number
  urlQuery: number
  utmSource: number
  utmMedium: number
  utmCampaign: number
  utmContent: number
  utmTerm: number
  referrerPath: number
  referrerQuery: number
  referrerDomain: number
  pageTitle: number
  gclid: number
  fbclid: number
  msclkid: number
  ttclid: number
  lifatid: number
  twclid: number
  eventType: number
  eventName: number
  tag: number
  hostname: number
  lcp: number
  inp: number
  cls: number
  fcp: number
  ttfb: number
  _all: number
}


export type WebsiteEventAvgAggregateInputType = {
  eventType?: true
  lcp?: true
  inp?: true
  cls?: true
  fcp?: true
  ttfb?: true
}

export type WebsiteEventSumAggregateInputType = {
  eventType?: true
  lcp?: true
  inp?: true
  cls?: true
  fcp?: true
  ttfb?: true
}

export type WebsiteEventMinAggregateInputType = {
  id?: true
  websiteId?: true
  sessionId?: true
  visitId?: true
  createdAt?: true
  urlPath?: true
  urlQuery?: true
  utmSource?: true
  utmMedium?: true
  utmCampaign?: true
  utmContent?: true
  utmTerm?: true
  referrerPath?: true
  referrerQuery?: true
  referrerDomain?: true
  pageTitle?: true
  gclid?: true
  fbclid?: true
  msclkid?: true
  ttclid?: true
  lifatid?: true
  twclid?: true
  eventType?: true
  eventName?: true
  tag?: true
  hostname?: true
  lcp?: true
  inp?: true
  cls?: true
  fcp?: true
  ttfb?: true
}

export type WebsiteEventMaxAggregateInputType = {
  id?: true
  websiteId?: true
  sessionId?: true
  visitId?: true
  createdAt?: true
  urlPath?: true
  urlQuery?: true
  utmSource?: true
  utmMedium?: true
  utmCampaign?: true
  utmContent?: true
  utmTerm?: true
  referrerPath?: true
  referrerQuery?: true
  referrerDomain?: true
  pageTitle?: true
  gclid?: true
  fbclid?: true
  msclkid?: true
  ttclid?: true
  lifatid?: true
  twclid?: true
  eventType?: true
  eventName?: true
  tag?: true
  hostname?: true
  lcp?: true
  inp?: true
  cls?: true
  fcp?: true
  ttfb?: true
}

export type WebsiteEventCountAggregateInputType = {
  id?: true
  websiteId?: true
  sessionId?: true
  visitId?: true
  createdAt?: true
  urlPath?: true
  urlQuery?: true
  utmSource?: true
  utmMedium?: true
  utmCampaign?: true
  utmContent?: true
  utmTerm?: true
  referrerPath?: true
  referrerQuery?: true
  referrerDomain?: true
  pageTitle?: true
  gclid?: true
  fbclid?: true
  msclkid?: true
  ttclid?: true
  lifatid?: true
  twclid?: true
  eventType?: true
  eventName?: true
  tag?: true
  hostname?: true
  lcp?: true
  inp?: true
  cls?: true
  fcp?: true
  ttfb?: true
  _all?: true
}

export type WebsiteEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which WebsiteEvent to aggregate.
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of WebsiteEvents to fetch.
   */
  orderBy?: Prisma.WebsiteEventOrderByWithRelationInput | Prisma.WebsiteEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.WebsiteEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` WebsiteEvents 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` WebsiteEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned WebsiteEvents
  **/
  _count?: true | WebsiteEventCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: WebsiteEventAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: WebsiteEventSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: WebsiteEventMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: WebsiteEventMaxAggregateInputType
}

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




export type WebsiteEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.WebsiteEventWhereInput
  orderBy?: Prisma.WebsiteEventOrderByWithAggregationInput | Prisma.WebsiteEventOrderByWithAggregationInput[]
  by: Prisma.WebsiteEventScalarFieldEnum[] | Prisma.WebsiteEventScalarFieldEnum
  having?: Prisma.WebsiteEventScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: WebsiteEventCountAggregateInputType | true
  _avg?: WebsiteEventAvgAggregateInputType
  _sum?: WebsiteEventSumAggregateInputType
  _min?: WebsiteEventMinAggregateInputType
  _max?: WebsiteEventMaxAggregateInputType
}

export type WebsiteEventGroupByOutputType = {
  id: string
  websiteId: string
  sessionId: string
  visitId: string
  createdAt: Date | null
  urlPath: string
  urlQuery: string | null
  utmSource: string | null
  utmMedium: string | null
  utmCampaign: string | null
  utmContent: string | null
  utmTerm: string | null
  referrerPath: string | null
  referrerQuery: string | null
  referrerDomain: string | null
  pageTitle: string | null
  gclid: string | null
  fbclid: string | null
  msclkid: string | null
  ttclid: string | null
  lifatid: string | null
  twclid: string | null
  eventType: number
  eventName: string | null
  tag: string | null
  hostname: string | null
  lcp: runtime.Decimal | null
  inp: runtime.Decimal | null
  cls: runtime.Decimal | null
  fcp: runtime.Decimal | null
  ttfb: runtime.Decimal | null
  _count: WebsiteEventCountAggregateOutputType | null
  _avg: WebsiteEventAvgAggregateOutputType | null
  _sum: WebsiteEventSumAggregateOutputType | null
  _min: WebsiteEventMinAggregateOutputType | null
  _max: WebsiteEventMaxAggregateOutputType | null
}

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



export type WebsiteEventWhereInput = {
  AND?: Prisma.WebsiteEventWhereInput | Prisma.WebsiteEventWhereInput[]
  OR?: Prisma.WebsiteEventWhereInput[]
  NOT?: Prisma.WebsiteEventWhereInput | Prisma.WebsiteEventWhereInput[]
  id?: Prisma.UuidFilter<"WebsiteEvent"> | string
  websiteId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  sessionId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  visitId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"WebsiteEvent"> | Date | string | null
  urlPath?: Prisma.StringFilter<"WebsiteEvent"> | string
  urlQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmSource?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmMedium?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmCampaign?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmContent?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmTerm?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerPath?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerDomain?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  pageTitle?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  gclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  fbclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  msclkid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  ttclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lifatid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  twclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  eventType?: Prisma.IntFilter<"WebsiteEvent"> | number
  eventName?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  tag?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  hostname?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataListRelationFilter
  session?: Prisma.XOR<Prisma.SessionScalarRelationFilter, Prisma.SessionWhereInput>
}

export type WebsiteEventOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  sessionId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  urlPath?: Prisma.SortOrder
  urlQuery?: Prisma.SortOrderInput | Prisma.SortOrder
  utmSource?: Prisma.SortOrderInput | Prisma.SortOrder
  utmMedium?: Prisma.SortOrderInput | Prisma.SortOrder
  utmCampaign?: Prisma.SortOrderInput | Prisma.SortOrder
  utmContent?: Prisma.SortOrderInput | Prisma.SortOrder
  utmTerm?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerPath?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerQuery?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerDomain?: Prisma.SortOrderInput | Prisma.SortOrder
  pageTitle?: Prisma.SortOrderInput | Prisma.SortOrder
  gclid?: Prisma.SortOrderInput | Prisma.SortOrder
  fbclid?: Prisma.SortOrderInput | Prisma.SortOrder
  msclkid?: Prisma.SortOrderInput | Prisma.SortOrder
  ttclid?: Prisma.SortOrderInput | Prisma.SortOrder
  lifatid?: Prisma.SortOrderInput | Prisma.SortOrder
  twclid?: Prisma.SortOrderInput | Prisma.SortOrder
  eventType?: Prisma.SortOrder
  eventName?: Prisma.SortOrderInput | Prisma.SortOrder
  tag?: Prisma.SortOrderInput | Prisma.SortOrder
  hostname?: Prisma.SortOrderInput | Prisma.SortOrder
  lcp?: Prisma.SortOrderInput | Prisma.SortOrder
  inp?: Prisma.SortOrderInput | Prisma.SortOrder
  cls?: Prisma.SortOrderInput | Prisma.SortOrder
  fcp?: Prisma.SortOrderInput | Prisma.SortOrder
  ttfb?: Prisma.SortOrderInput | Prisma.SortOrder
  eventData?: Prisma.EventDataOrderByRelationAggregateInput
  session?: Prisma.SessionOrderByWithRelationInput
}

export type WebsiteEventWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.WebsiteEventWhereInput | Prisma.WebsiteEventWhereInput[]
  OR?: Prisma.WebsiteEventWhereInput[]
  NOT?: Prisma.WebsiteEventWhereInput | Prisma.WebsiteEventWhereInput[]
  websiteId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  sessionId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  visitId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"WebsiteEvent"> | Date | string | null
  urlPath?: Prisma.StringFilter<"WebsiteEvent"> | string
  urlQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmSource?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmMedium?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmCampaign?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmContent?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmTerm?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerPath?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerDomain?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  pageTitle?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  gclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  fbclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  msclkid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  ttclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lifatid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  twclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  eventType?: Prisma.IntFilter<"WebsiteEvent"> | number
  eventName?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  tag?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  hostname?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataListRelationFilter
  session?: Prisma.XOR<Prisma.SessionScalarRelationFilter, Prisma.SessionWhereInput>
}, "id">

export type WebsiteEventOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  sessionId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  urlPath?: Prisma.SortOrder
  urlQuery?: Prisma.SortOrderInput | Prisma.SortOrder
  utmSource?: Prisma.SortOrderInput | Prisma.SortOrder
  utmMedium?: Prisma.SortOrderInput | Prisma.SortOrder
  utmCampaign?: Prisma.SortOrderInput | Prisma.SortOrder
  utmContent?: Prisma.SortOrderInput | Prisma.SortOrder
  utmTerm?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerPath?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerQuery?: Prisma.SortOrderInput | Prisma.SortOrder
  referrerDomain?: Prisma.SortOrderInput | Prisma.SortOrder
  pageTitle?: Prisma.SortOrderInput | Prisma.SortOrder
  gclid?: Prisma.SortOrderInput | Prisma.SortOrder
  fbclid?: Prisma.SortOrderInput | Prisma.SortOrder
  msclkid?: Prisma.SortOrderInput | Prisma.SortOrder
  ttclid?: Prisma.SortOrderInput | Prisma.SortOrder
  lifatid?: Prisma.SortOrderInput | Prisma.SortOrder
  twclid?: Prisma.SortOrderInput | Prisma.SortOrder
  eventType?: Prisma.SortOrder
  eventName?: Prisma.SortOrderInput | Prisma.SortOrder
  tag?: Prisma.SortOrderInput | Prisma.SortOrder
  hostname?: Prisma.SortOrderInput | Prisma.SortOrder
  lcp?: Prisma.SortOrderInput | Prisma.SortOrder
  inp?: Prisma.SortOrderInput | Prisma.SortOrder
  cls?: Prisma.SortOrderInput | Prisma.SortOrder
  fcp?: Prisma.SortOrderInput | Prisma.SortOrder
  ttfb?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.WebsiteEventCountOrderByAggregateInput
  _avg?: Prisma.WebsiteEventAvgOrderByAggregateInput
  _max?: Prisma.WebsiteEventMaxOrderByAggregateInput
  _min?: Prisma.WebsiteEventMinOrderByAggregateInput
  _sum?: Prisma.WebsiteEventSumOrderByAggregateInput
}

export type WebsiteEventScalarWhereWithAggregatesInput = {
  AND?: Prisma.WebsiteEventScalarWhereWithAggregatesInput | Prisma.WebsiteEventScalarWhereWithAggregatesInput[]
  OR?: Prisma.WebsiteEventScalarWhereWithAggregatesInput[]
  NOT?: Prisma.WebsiteEventScalarWhereWithAggregatesInput | Prisma.WebsiteEventScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"WebsiteEvent"> | string
  websiteId?: Prisma.UuidWithAggregatesFilter<"WebsiteEvent"> | string
  sessionId?: Prisma.UuidWithAggregatesFilter<"WebsiteEvent"> | string
  visitId?: Prisma.UuidWithAggregatesFilter<"WebsiteEvent"> | string
  createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WebsiteEvent"> | Date | string | null
  urlPath?: Prisma.StringWithAggregatesFilter<"WebsiteEvent"> | string
  urlQuery?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  utmSource?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  utmMedium?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  utmCampaign?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  utmContent?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  utmTerm?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  referrerPath?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  referrerQuery?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  referrerDomain?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  pageTitle?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  gclid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  fbclid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  msclkid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  ttclid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  lifatid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  twclid?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  eventType?: Prisma.IntWithAggregatesFilter<"WebsiteEvent"> | number
  eventName?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  tag?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  hostname?: Prisma.StringNullableWithAggregatesFilter<"WebsiteEvent"> | string | null
  lcp?: Prisma.DecimalNullableWithAggregatesFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.DecimalNullableWithAggregatesFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.DecimalNullableWithAggregatesFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.DecimalNullableWithAggregatesFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.DecimalNullableWithAggregatesFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventCreateInput = {
  id: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataCreateNestedManyWithoutWebsiteEventInput
  session: Prisma.SessionCreateNestedOneWithoutWebsiteEventsInput
}

export type WebsiteEventUncheckedCreateInput = {
  id: string
  websiteId: string
  sessionId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUncheckedCreateNestedManyWithoutWebsiteEventInput
}

export type WebsiteEventUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUpdateManyWithoutWebsiteEventNestedInput
  session?: Prisma.SessionUpdateOneRequiredWithoutWebsiteEventsNestedInput
}

export type WebsiteEventUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  sessionId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUncheckedUpdateManyWithoutWebsiteEventNestedInput
}

export type WebsiteEventCreateManyInput = {
  id: string
  websiteId: string
  sessionId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  sessionId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventListRelationFilter = {
  every?: Prisma.WebsiteEventWhereInput
  some?: Prisma.WebsiteEventWhereInput
  none?: Prisma.WebsiteEventWhereInput
}

export type WebsiteEventOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type WebsiteEventCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  sessionId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  urlPath?: Prisma.SortOrder
  urlQuery?: Prisma.SortOrder
  utmSource?: Prisma.SortOrder
  utmMedium?: Prisma.SortOrder
  utmCampaign?: Prisma.SortOrder
  utmContent?: Prisma.SortOrder
  utmTerm?: Prisma.SortOrder
  referrerPath?: Prisma.SortOrder
  referrerQuery?: Prisma.SortOrder
  referrerDomain?: Prisma.SortOrder
  pageTitle?: Prisma.SortOrder
  gclid?: Prisma.SortOrder
  fbclid?: Prisma.SortOrder
  msclkid?: Prisma.SortOrder
  ttclid?: Prisma.SortOrder
  lifatid?: Prisma.SortOrder
  twclid?: Prisma.SortOrder
  eventType?: Prisma.SortOrder
  eventName?: Prisma.SortOrder
  tag?: Prisma.SortOrder
  hostname?: Prisma.SortOrder
  lcp?: Prisma.SortOrder
  inp?: Prisma.SortOrder
  cls?: Prisma.SortOrder
  fcp?: Prisma.SortOrder
  ttfb?: Prisma.SortOrder
}

export type WebsiteEventAvgOrderByAggregateInput = {
  eventType?: Prisma.SortOrder
  lcp?: Prisma.SortOrder
  inp?: Prisma.SortOrder
  cls?: Prisma.SortOrder
  fcp?: Prisma.SortOrder
  ttfb?: Prisma.SortOrder
}

export type WebsiteEventMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  sessionId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  urlPath?: Prisma.SortOrder
  urlQuery?: Prisma.SortOrder
  utmSource?: Prisma.SortOrder
  utmMedium?: Prisma.SortOrder
  utmCampaign?: Prisma.SortOrder
  utmContent?: Prisma.SortOrder
  utmTerm?: Prisma.SortOrder
  referrerPath?: Prisma.SortOrder
  referrerQuery?: Prisma.SortOrder
  referrerDomain?: Prisma.SortOrder
  pageTitle?: Prisma.SortOrder
  gclid?: Prisma.SortOrder
  fbclid?: Prisma.SortOrder
  msclkid?: Prisma.SortOrder
  ttclid?: Prisma.SortOrder
  lifatid?: Prisma.SortOrder
  twclid?: Prisma.SortOrder
  eventType?: Prisma.SortOrder
  eventName?: Prisma.SortOrder
  tag?: Prisma.SortOrder
  hostname?: Prisma.SortOrder
  lcp?: Prisma.SortOrder
  inp?: Prisma.SortOrder
  cls?: Prisma.SortOrder
  fcp?: Prisma.SortOrder
  ttfb?: Prisma.SortOrder
}

export type WebsiteEventMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  sessionId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  urlPath?: Prisma.SortOrder
  urlQuery?: Prisma.SortOrder
  utmSource?: Prisma.SortOrder
  utmMedium?: Prisma.SortOrder
  utmCampaign?: Prisma.SortOrder
  utmContent?: Prisma.SortOrder
  utmTerm?: Prisma.SortOrder
  referrerPath?: Prisma.SortOrder
  referrerQuery?: Prisma.SortOrder
  referrerDomain?: Prisma.SortOrder
  pageTitle?: Prisma.SortOrder
  gclid?: Prisma.SortOrder
  fbclid?: Prisma.SortOrder
  msclkid?: Prisma.SortOrder
  ttclid?: Prisma.SortOrder
  lifatid?: Prisma.SortOrder
  twclid?: Prisma.SortOrder
  eventType?: Prisma.SortOrder
  eventName?: Prisma.SortOrder
  tag?: Prisma.SortOrder
  hostname?: Prisma.SortOrder
  lcp?: Prisma.SortOrder
  inp?: Prisma.SortOrder
  cls?: Prisma.SortOrder
  fcp?: Prisma.SortOrder
  ttfb?: Prisma.SortOrder
}

export type WebsiteEventSumOrderByAggregateInput = {
  eventType?: Prisma.SortOrder
  lcp?: Prisma.SortOrder
  inp?: Prisma.SortOrder
  cls?: Prisma.SortOrder
  fcp?: Prisma.SortOrder
  ttfb?: Prisma.SortOrder
}

export type WebsiteEventScalarRelationFilter = {
  is?: Prisma.WebsiteEventWhereInput
  isNot?: Prisma.WebsiteEventWhereInput
}

export type WebsiteEventCreateNestedManyWithoutSessionInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput> | Prisma.WebsiteEventCreateWithoutSessionInput[] | Prisma.WebsiteEventUncheckedCreateWithoutSessionInput[]
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutSessionInput | Prisma.WebsiteEventCreateOrConnectWithoutSessionInput[]
  createMany?: Prisma.WebsiteEventCreateManySessionInputEnvelope
  connect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
}

export type WebsiteEventUncheckedCreateNestedManyWithoutSessionInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput> | Prisma.WebsiteEventCreateWithoutSessionInput[] | Prisma.WebsiteEventUncheckedCreateWithoutSessionInput[]
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutSessionInput | Prisma.WebsiteEventCreateOrConnectWithoutSessionInput[]
  createMany?: Prisma.WebsiteEventCreateManySessionInputEnvelope
  connect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
}

export type WebsiteEventUpdateManyWithoutSessionNestedInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput> | Prisma.WebsiteEventCreateWithoutSessionInput[] | Prisma.WebsiteEventUncheckedCreateWithoutSessionInput[]
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutSessionInput | Prisma.WebsiteEventCreateOrConnectWithoutSessionInput[]
  upsert?: Prisma.WebsiteEventUpsertWithWhereUniqueWithoutSessionInput | Prisma.WebsiteEventUpsertWithWhereUniqueWithoutSessionInput[]
  createMany?: Prisma.WebsiteEventCreateManySessionInputEnvelope
  set?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  disconnect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  delete?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  connect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  update?: Prisma.WebsiteEventUpdateWithWhereUniqueWithoutSessionInput | Prisma.WebsiteEventUpdateWithWhereUniqueWithoutSessionInput[]
  updateMany?: Prisma.WebsiteEventUpdateManyWithWhereWithoutSessionInput | Prisma.WebsiteEventUpdateManyWithWhereWithoutSessionInput[]
  deleteMany?: Prisma.WebsiteEventScalarWhereInput | Prisma.WebsiteEventScalarWhereInput[]
}

export type WebsiteEventUncheckedUpdateManyWithoutSessionNestedInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput> | Prisma.WebsiteEventCreateWithoutSessionInput[] | Prisma.WebsiteEventUncheckedCreateWithoutSessionInput[]
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutSessionInput | Prisma.WebsiteEventCreateOrConnectWithoutSessionInput[]
  upsert?: Prisma.WebsiteEventUpsertWithWhereUniqueWithoutSessionInput | Prisma.WebsiteEventUpsertWithWhereUniqueWithoutSessionInput[]
  createMany?: Prisma.WebsiteEventCreateManySessionInputEnvelope
  set?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  disconnect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  delete?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  connect?: Prisma.WebsiteEventWhereUniqueInput | Prisma.WebsiteEventWhereUniqueInput[]
  update?: Prisma.WebsiteEventUpdateWithWhereUniqueWithoutSessionInput | Prisma.WebsiteEventUpdateWithWhereUniqueWithoutSessionInput[]
  updateMany?: Prisma.WebsiteEventUpdateManyWithWhereWithoutSessionInput | Prisma.WebsiteEventUpdateManyWithWhereWithoutSessionInput[]
  deleteMany?: Prisma.WebsiteEventScalarWhereInput | Prisma.WebsiteEventScalarWhereInput[]
}

export type IntFieldUpdateOperationsInput = {
  set?: number
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type NullableDecimalFieldUpdateOperationsInput = {
  set?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
  decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
  multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
  divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
}

export type WebsiteEventCreateNestedOneWithoutEventDataInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutEventDataInput, Prisma.WebsiteEventUncheckedCreateWithoutEventDataInput>
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutEventDataInput
  connect?: Prisma.WebsiteEventWhereUniqueInput
}

export type WebsiteEventUpdateOneRequiredWithoutEventDataNestedInput = {
  create?: Prisma.XOR<Prisma.WebsiteEventCreateWithoutEventDataInput, Prisma.WebsiteEventUncheckedCreateWithoutEventDataInput>
  connectOrCreate?: Prisma.WebsiteEventCreateOrConnectWithoutEventDataInput
  upsert?: Prisma.WebsiteEventUpsertWithoutEventDataInput
  connect?: Prisma.WebsiteEventWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.WebsiteEventUpdateToOneWithWhereWithoutEventDataInput, Prisma.WebsiteEventUpdateWithoutEventDataInput>, Prisma.WebsiteEventUncheckedUpdateWithoutEventDataInput>
}

export type WebsiteEventCreateWithoutSessionInput = {
  id: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataCreateNestedManyWithoutWebsiteEventInput
}

export type WebsiteEventUncheckedCreateWithoutSessionInput = {
  id: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUncheckedCreateNestedManyWithoutWebsiteEventInput
}

export type WebsiteEventCreateOrConnectWithoutSessionInput = {
  where: Prisma.WebsiteEventWhereUniqueInput
  create: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput>
}

export type WebsiteEventCreateManySessionInputEnvelope = {
  data: Prisma.WebsiteEventCreateManySessionInput | Prisma.WebsiteEventCreateManySessionInput[]
  skipDuplicates?: boolean
}

export type WebsiteEventUpsertWithWhereUniqueWithoutSessionInput = {
  where: Prisma.WebsiteEventWhereUniqueInput
  update: Prisma.XOR<Prisma.WebsiteEventUpdateWithoutSessionInput, Prisma.WebsiteEventUncheckedUpdateWithoutSessionInput>
  create: Prisma.XOR<Prisma.WebsiteEventCreateWithoutSessionInput, Prisma.WebsiteEventUncheckedCreateWithoutSessionInput>
}

export type WebsiteEventUpdateWithWhereUniqueWithoutSessionInput = {
  where: Prisma.WebsiteEventWhereUniqueInput
  data: Prisma.XOR<Prisma.WebsiteEventUpdateWithoutSessionInput, Prisma.WebsiteEventUncheckedUpdateWithoutSessionInput>
}

export type WebsiteEventUpdateManyWithWhereWithoutSessionInput = {
  where: Prisma.WebsiteEventScalarWhereInput
  data: Prisma.XOR<Prisma.WebsiteEventUpdateManyMutationInput, Prisma.WebsiteEventUncheckedUpdateManyWithoutSessionInput>
}

export type WebsiteEventScalarWhereInput = {
  AND?: Prisma.WebsiteEventScalarWhereInput | Prisma.WebsiteEventScalarWhereInput[]
  OR?: Prisma.WebsiteEventScalarWhereInput[]
  NOT?: Prisma.WebsiteEventScalarWhereInput | Prisma.WebsiteEventScalarWhereInput[]
  id?: Prisma.UuidFilter<"WebsiteEvent"> | string
  websiteId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  sessionId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  visitId?: Prisma.UuidFilter<"WebsiteEvent"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"WebsiteEvent"> | Date | string | null
  urlPath?: Prisma.StringFilter<"WebsiteEvent"> | string
  urlQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmSource?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmMedium?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmCampaign?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmContent?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  utmTerm?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerPath?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerQuery?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  referrerDomain?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  pageTitle?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  gclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  fbclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  msclkid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  ttclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lifatid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  twclid?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  eventType?: Prisma.IntFilter<"WebsiteEvent"> | number
  eventName?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  tag?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  hostname?: Prisma.StringNullableFilter<"WebsiteEvent"> | string | null
  lcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.DecimalNullableFilter<"WebsiteEvent"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventCreateWithoutEventDataInput = {
  id: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  session: Prisma.SessionCreateNestedOneWithoutWebsiteEventsInput
}

export type WebsiteEventUncheckedCreateWithoutEventDataInput = {
  id: string
  websiteId: string
  sessionId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventCreateOrConnectWithoutEventDataInput = {
  where: Prisma.WebsiteEventWhereUniqueInput
  create: Prisma.XOR<Prisma.WebsiteEventCreateWithoutEventDataInput, Prisma.WebsiteEventUncheckedCreateWithoutEventDataInput>
}

export type WebsiteEventUpsertWithoutEventDataInput = {
  update: Prisma.XOR<Prisma.WebsiteEventUpdateWithoutEventDataInput, Prisma.WebsiteEventUncheckedUpdateWithoutEventDataInput>
  create: Prisma.XOR<Prisma.WebsiteEventCreateWithoutEventDataInput, Prisma.WebsiteEventUncheckedCreateWithoutEventDataInput>
  where?: Prisma.WebsiteEventWhereInput
}

export type WebsiteEventUpdateToOneWithWhereWithoutEventDataInput = {
  where?: Prisma.WebsiteEventWhereInput
  data: Prisma.XOR<Prisma.WebsiteEventUpdateWithoutEventDataInput, Prisma.WebsiteEventUncheckedUpdateWithoutEventDataInput>
}

export type WebsiteEventUpdateWithoutEventDataInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  session?: Prisma.SessionUpdateOneRequiredWithoutWebsiteEventsNestedInput
}

export type WebsiteEventUncheckedUpdateWithoutEventDataInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  sessionId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventCreateManySessionInput = {
  id: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  urlPath: string
  urlQuery?: string | null
  utmSource?: string | null
  utmMedium?: string | null
  utmCampaign?: string | null
  utmContent?: string | null
  utmTerm?: string | null
  referrerPath?: string | null
  referrerQuery?: string | null
  referrerDomain?: string | null
  pageTitle?: string | null
  gclid?: string | null
  fbclid?: string | null
  msclkid?: string | null
  ttclid?: string | null
  lifatid?: string | null
  twclid?: string | null
  eventType?: number
  eventName?: string | null
  tag?: string | null
  hostname?: string | null
  lcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
}

export type WebsiteEventUpdateWithoutSessionInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUpdateManyWithoutWebsiteEventNestedInput
}

export type WebsiteEventUncheckedUpdateWithoutSessionInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  eventData?: Prisma.EventDataUncheckedUpdateManyWithoutWebsiteEventNestedInput
}

export type WebsiteEventUncheckedUpdateManyWithoutSessionInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  urlPath?: Prisma.StringFieldUpdateOperationsInput | string
  urlQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmMedium?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmCampaign?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmContent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  utmTerm?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerQuery?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  referrerDomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  pageTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  gclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  fbclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  msclkid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  ttclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lifatid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  twclid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  eventType?: Prisma.IntFieldUpdateOperationsInput | number
  eventName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  tag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  hostname?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  lcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  inp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  cls?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  fcp?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
  ttfb?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
}


/**
 * Count Type WebsiteEventCountOutputType
 */

export type WebsiteEventCountOutputType = {
  eventData: number
}

export type WebsiteEventCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  eventData?: boolean | WebsiteEventCountOutputTypeCountEventDataArgs
}

/**
 * WebsiteEventCountOutputType without action
 */
export type WebsiteEventCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEventCountOutputType
   */
  select?: Prisma.WebsiteEventCountOutputTypeSelect<ExtArgs> | null
}

/**
 * WebsiteEventCountOutputType without action
 */
export type WebsiteEventCountOutputTypeCountEventDataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.EventDataWhereInput
}


export type WebsiteEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  sessionId?: boolean
  visitId?: boolean
  createdAt?: boolean
  urlPath?: boolean
  urlQuery?: boolean
  utmSource?: boolean
  utmMedium?: boolean
  utmCampaign?: boolean
  utmContent?: boolean
  utmTerm?: boolean
  referrerPath?: boolean
  referrerQuery?: boolean
  referrerDomain?: boolean
  pageTitle?: boolean
  gclid?: boolean
  fbclid?: boolean
  msclkid?: boolean
  ttclid?: boolean
  lifatid?: boolean
  twclid?: boolean
  eventType?: boolean
  eventName?: boolean
  tag?: boolean
  hostname?: boolean
  lcp?: boolean
  inp?: boolean
  cls?: boolean
  fcp?: boolean
  ttfb?: boolean
  eventData?: boolean | Prisma.WebsiteEvent$eventDataArgs<ExtArgs>
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
  _count?: boolean | Prisma.WebsiteEventCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["websiteEvent"]>

export type WebsiteEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  sessionId?: boolean
  visitId?: boolean
  createdAt?: boolean
  urlPath?: boolean
  urlQuery?: boolean
  utmSource?: boolean
  utmMedium?: boolean
  utmCampaign?: boolean
  utmContent?: boolean
  utmTerm?: boolean
  referrerPath?: boolean
  referrerQuery?: boolean
  referrerDomain?: boolean
  pageTitle?: boolean
  gclid?: boolean
  fbclid?: boolean
  msclkid?: boolean
  ttclid?: boolean
  lifatid?: boolean
  twclid?: boolean
  eventType?: boolean
  eventName?: boolean
  tag?: boolean
  hostname?: boolean
  lcp?: boolean
  inp?: boolean
  cls?: boolean
  fcp?: boolean
  ttfb?: boolean
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["websiteEvent"]>

export type WebsiteEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  sessionId?: boolean
  visitId?: boolean
  createdAt?: boolean
  urlPath?: boolean
  urlQuery?: boolean
  utmSource?: boolean
  utmMedium?: boolean
  utmCampaign?: boolean
  utmContent?: boolean
  utmTerm?: boolean
  referrerPath?: boolean
  referrerQuery?: boolean
  referrerDomain?: boolean
  pageTitle?: boolean
  gclid?: boolean
  fbclid?: boolean
  msclkid?: boolean
  ttclid?: boolean
  lifatid?: boolean
  twclid?: boolean
  eventType?: boolean
  eventName?: boolean
  tag?: boolean
  hostname?: boolean
  lcp?: boolean
  inp?: boolean
  cls?: boolean
  fcp?: boolean
  ttfb?: boolean
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["websiteEvent"]>

export type WebsiteEventSelectScalar = {
  id?: boolean
  websiteId?: boolean
  sessionId?: boolean
  visitId?: boolean
  createdAt?: boolean
  urlPath?: boolean
  urlQuery?: boolean
  utmSource?: boolean
  utmMedium?: boolean
  utmCampaign?: boolean
  utmContent?: boolean
  utmTerm?: boolean
  referrerPath?: boolean
  referrerQuery?: boolean
  referrerDomain?: boolean
  pageTitle?: boolean
  gclid?: boolean
  fbclid?: boolean
  msclkid?: boolean
  ttclid?: boolean
  lifatid?: boolean
  twclid?: boolean
  eventType?: boolean
  eventName?: boolean
  tag?: boolean
  hostname?: boolean
  lcp?: boolean
  inp?: boolean
  cls?: boolean
  fcp?: boolean
  ttfb?: boolean
}

export type WebsiteEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "websiteId" | "sessionId" | "visitId" | "createdAt" | "urlPath" | "urlQuery" | "utmSource" | "utmMedium" | "utmCampaign" | "utmContent" | "utmTerm" | "referrerPath" | "referrerQuery" | "referrerDomain" | "pageTitle" | "gclid" | "fbclid" | "msclkid" | "ttclid" | "lifatid" | "twclid" | "eventType" | "eventName" | "tag" | "hostname" | "lcp" | "inp" | "cls" | "fcp" | "ttfb", ExtArgs["result"]["websiteEvent"]>
export type WebsiteEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  eventData?: boolean | Prisma.WebsiteEvent$eventDataArgs<ExtArgs>
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
  _count?: boolean | Prisma.WebsiteEventCountOutputTypeDefaultArgs<ExtArgs>
}
export type WebsiteEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
}
export type WebsiteEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  session?: boolean | Prisma.SessionDefaultArgs<ExtArgs>
}

export type $WebsiteEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "WebsiteEvent"
  objects: {
    eventData: Prisma.$EventDataPayload<ExtArgs>[]
    session: Prisma.$SessionPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    websiteId: string
    sessionId: string
    visitId: string
    createdAt: Date | null
    urlPath: string
    urlQuery: string | null
    utmSource: string | null
    utmMedium: string | null
    utmCampaign: string | null
    utmContent: string | null
    utmTerm: string | null
    referrerPath: string | null
    referrerQuery: string | null
    referrerDomain: string | null
    pageTitle: string | null
    gclid: string | null
    fbclid: string | null
    msclkid: string | null
    ttclid: string | null
    lifatid: string | null
    twclid: string | null
    eventType: number
    eventName: string | null
    tag: string | null
    hostname: string | null
    lcp: runtime.Decimal | null
    inp: runtime.Decimal | null
    cls: runtime.Decimal | null
    fcp: runtime.Decimal | null
    ttfb: runtime.Decimal | null
  }, ExtArgs["result"]["websiteEvent"]>
  composites: {}
}

export type WebsiteEventGetPayload<S extends boolean | null | undefined | WebsiteEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WebsiteEventPayload, S>

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

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

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

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

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

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

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

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

  /**
   * Create many WebsiteEvents and returns the data saved in the database.
   * @param {WebsiteEventCreateManyAndReturnArgs} args - Arguments to create many WebsiteEvents.
   * @example
   * // Create many WebsiteEvents
   * const websiteEvent = await prisma.websiteEvent.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many WebsiteEvents and only return the `id`
   * const websiteEventWithIdOnly = await prisma.websiteEvent.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 WebsiteEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WebsiteEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebsiteEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more WebsiteEvents and returns the data updated in the database.
   * @param {WebsiteEventUpdateManyAndReturnArgs} args - Arguments to update many WebsiteEvents.
   * @example
   * // Update many WebsiteEvents
   * const websiteEvent = await prisma.websiteEvent.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more WebsiteEvents and only return the `id`
   * const websiteEventWithIdOnly = await prisma.websiteEvent.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 WebsiteEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WebsiteEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebsiteEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for WebsiteEvent.
 * 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__WebsiteEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  eventData<T extends Prisma.WebsiteEvent$eventDataArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WebsiteEvent$eventDataArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventDataPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  session<T extends Prisma.SessionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SessionDefaultArgs<ExtArgs>>): Prisma.Prisma__SessionClient<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * 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 WebsiteEvent model
 */
export interface WebsiteEventFieldRefs {
  readonly id: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly websiteId: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly sessionId: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly visitId: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly createdAt: Prisma.FieldRef<"WebsiteEvent", 'DateTime'>
  readonly urlPath: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly urlQuery: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly utmSource: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly utmMedium: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly utmCampaign: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly utmContent: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly utmTerm: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly referrerPath: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly referrerQuery: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly referrerDomain: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly pageTitle: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly gclid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly fbclid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly msclkid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly ttclid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly lifatid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly twclid: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly eventType: Prisma.FieldRef<"WebsiteEvent", 'Int'>
  readonly eventName: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly tag: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly hostname: Prisma.FieldRef<"WebsiteEvent", 'String'>
  readonly lcp: Prisma.FieldRef<"WebsiteEvent", 'Decimal'>
  readonly inp: Prisma.FieldRef<"WebsiteEvent", 'Decimal'>
  readonly cls: Prisma.FieldRef<"WebsiteEvent", 'Decimal'>
  readonly fcp: Prisma.FieldRef<"WebsiteEvent", 'Decimal'>
  readonly ttfb: Prisma.FieldRef<"WebsiteEvent", 'Decimal'>
}
    

// Custom InputTypes
/**
 * WebsiteEvent findUnique
 */
export type WebsiteEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter, which WebsiteEvent to fetch.
   */
  where: Prisma.WebsiteEventWhereUniqueInput
}

/**
 * WebsiteEvent findUniqueOrThrow
 */
export type WebsiteEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter, which WebsiteEvent to fetch.
   */
  where: Prisma.WebsiteEventWhereUniqueInput
}

/**
 * WebsiteEvent findFirst
 */
export type WebsiteEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter, which WebsiteEvent to fetch.
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of WebsiteEvents to fetch.
   */
  orderBy?: Prisma.WebsiteEventOrderByWithRelationInput | Prisma.WebsiteEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for WebsiteEvents.
   */
  cursor?: Prisma.WebsiteEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` WebsiteEvents 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` WebsiteEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of WebsiteEvents.
   */
  distinct?: Prisma.WebsiteEventScalarFieldEnum | Prisma.WebsiteEventScalarFieldEnum[]
}

/**
 * WebsiteEvent findFirstOrThrow
 */
export type WebsiteEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter, which WebsiteEvent to fetch.
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of WebsiteEvents to fetch.
   */
  orderBy?: Prisma.WebsiteEventOrderByWithRelationInput | Prisma.WebsiteEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for WebsiteEvents.
   */
  cursor?: Prisma.WebsiteEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` WebsiteEvents 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` WebsiteEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of WebsiteEvents.
   */
  distinct?: Prisma.WebsiteEventScalarFieldEnum | Prisma.WebsiteEventScalarFieldEnum[]
}

/**
 * WebsiteEvent findMany
 */
export type WebsiteEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter, which WebsiteEvents to fetch.
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of WebsiteEvents to fetch.
   */
  orderBy?: Prisma.WebsiteEventOrderByWithRelationInput | Prisma.WebsiteEventOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing WebsiteEvents.
   */
  cursor?: Prisma.WebsiteEventWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` WebsiteEvents 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` WebsiteEvents.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of WebsiteEvents.
   */
  distinct?: Prisma.WebsiteEventScalarFieldEnum | Prisma.WebsiteEventScalarFieldEnum[]
}

/**
 * WebsiteEvent create
 */
export type WebsiteEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * The data needed to create a WebsiteEvent.
   */
  data: Prisma.XOR<Prisma.WebsiteEventCreateInput, Prisma.WebsiteEventUncheckedCreateInput>
}

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

/**
 * WebsiteEvent createManyAndReturn
 */
export type WebsiteEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * The data used to create many WebsiteEvents.
   */
  data: Prisma.WebsiteEventCreateManyInput | Prisma.WebsiteEventCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * WebsiteEvent update
 */
export type WebsiteEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * The data needed to update a WebsiteEvent.
   */
  data: Prisma.XOR<Prisma.WebsiteEventUpdateInput, Prisma.WebsiteEventUncheckedUpdateInput>
  /**
   * Choose, which WebsiteEvent to update.
   */
  where: Prisma.WebsiteEventWhereUniqueInput
}

/**
 * WebsiteEvent updateMany
 */
export type WebsiteEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update WebsiteEvents.
   */
  data: Prisma.XOR<Prisma.WebsiteEventUpdateManyMutationInput, Prisma.WebsiteEventUncheckedUpdateManyInput>
  /**
   * Filter which WebsiteEvents to update
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * Limit how many WebsiteEvents to update.
   */
  limit?: number
}

/**
 * WebsiteEvent updateManyAndReturn
 */
export type WebsiteEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * The data used to update WebsiteEvents.
   */
  data: Prisma.XOR<Prisma.WebsiteEventUpdateManyMutationInput, Prisma.WebsiteEventUncheckedUpdateManyInput>
  /**
   * Filter which WebsiteEvents to update
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * Limit how many WebsiteEvents to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * WebsiteEvent upsert
 */
export type WebsiteEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * The filter to search for the WebsiteEvent to update in case it exists.
   */
  where: Prisma.WebsiteEventWhereUniqueInput
  /**
   * In case the WebsiteEvent found by the `where` argument doesn't exist, create a new WebsiteEvent with this data.
   */
  create: Prisma.XOR<Prisma.WebsiteEventCreateInput, Prisma.WebsiteEventUncheckedCreateInput>
  /**
   * In case the WebsiteEvent was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.WebsiteEventUpdateInput, Prisma.WebsiteEventUncheckedUpdateInput>
}

/**
 * WebsiteEvent delete
 */
export type WebsiteEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
  /**
   * Filter which WebsiteEvent to delete.
   */
  where: Prisma.WebsiteEventWhereUniqueInput
}

/**
 * WebsiteEvent deleteMany
 */
export type WebsiteEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which WebsiteEvents to delete
   */
  where?: Prisma.WebsiteEventWhereInput
  /**
   * Limit how many WebsiteEvents to delete.
   */
  limit?: number
}

/**
 * WebsiteEvent.eventData
 */
export type WebsiteEvent$eventDataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the EventData
   */
  select?: Prisma.EventDataSelect<ExtArgs> | null
  /**
   * Omit specific fields from the EventData
   */
  omit?: Prisma.EventDataOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.EventDataInclude<ExtArgs> | null
  where?: Prisma.EventDataWhereInput
  orderBy?: Prisma.EventDataOrderByWithRelationInput | Prisma.EventDataOrderByWithRelationInput[]
  cursor?: Prisma.EventDataWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.EventDataScalarFieldEnum | Prisma.EventDataScalarFieldEnum[]
}

/**
 * WebsiteEvent without action
 */
export type WebsiteEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the WebsiteEvent
   */
  select?: Prisma.WebsiteEventSelect<ExtArgs> | null
  /**
   * Omit specific fields from the WebsiteEvent
   */
  omit?: Prisma.WebsiteEventOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.WebsiteEventInclude<ExtArgs> | null
}
