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

export type AggregateSession = {
  _count: SessionCountAggregateOutputType | null
  _min: SessionMinAggregateOutputType | null
  _max: SessionMaxAggregateOutputType | null
}

export type SessionMinAggregateOutputType = {
  id: string | null
  websiteId: string | null
  browser: string | null
  os: string | null
  device: string | null
  screen: string | null
  language: string | null
  country: string | null
  region: string | null
  city: string | null
  distinctId: string | null
  createdAt: Date | null
}

export type SessionMaxAggregateOutputType = {
  id: string | null
  websiteId: string | null
  browser: string | null
  os: string | null
  device: string | null
  screen: string | null
  language: string | null
  country: string | null
  region: string | null
  city: string | null
  distinctId: string | null
  createdAt: Date | null
}

export type SessionCountAggregateOutputType = {
  id: number
  websiteId: number
  browser: number
  os: number
  device: number
  screen: number
  language: number
  country: number
  region: number
  city: number
  distinctId: number
  createdAt: number
  _all: number
}


export type SessionMinAggregateInputType = {
  id?: true
  websiteId?: true
  browser?: true
  os?: true
  device?: true
  screen?: true
  language?: true
  country?: true
  region?: true
  city?: true
  distinctId?: true
  createdAt?: true
}

export type SessionMaxAggregateInputType = {
  id?: true
  websiteId?: true
  browser?: true
  os?: true
  device?: true
  screen?: true
  language?: true
  country?: true
  region?: true
  city?: true
  distinctId?: true
  createdAt?: true
}

export type SessionCountAggregateInputType = {
  id?: true
  websiteId?: true
  browser?: true
  os?: true
  device?: true
  screen?: true
  language?: true
  country?: true
  region?: true
  city?: true
  distinctId?: true
  createdAt?: true
  _all?: true
}

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

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




export type SessionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SessionWhereInput
  orderBy?: Prisma.SessionOrderByWithAggregationInput | Prisma.SessionOrderByWithAggregationInput[]
  by: Prisma.SessionScalarFieldEnum[] | Prisma.SessionScalarFieldEnum
  having?: Prisma.SessionScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: SessionCountAggregateInputType | true
  _min?: SessionMinAggregateInputType
  _max?: SessionMaxAggregateInputType
}

export type SessionGroupByOutputType = {
  id: string
  websiteId: string
  browser: string | null
  os: string | null
  device: string | null
  screen: string | null
  language: string | null
  country: string | null
  region: string | null
  city: string | null
  distinctId: string | null
  createdAt: Date | null
  _count: SessionCountAggregateOutputType | null
  _min: SessionMinAggregateOutputType | null
  _max: SessionMaxAggregateOutputType | null
}

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



export type SessionWhereInput = {
  AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]
  OR?: Prisma.SessionWhereInput[]
  NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]
  id?: Prisma.UuidFilter<"Session"> | string
  websiteId?: Prisma.UuidFilter<"Session"> | string
  browser?: Prisma.StringNullableFilter<"Session"> | string | null
  os?: Prisma.StringNullableFilter<"Session"> | string | null
  device?: Prisma.StringNullableFilter<"Session"> | string | null
  screen?: Prisma.StringNullableFilter<"Session"> | string | null
  language?: Prisma.StringNullableFilter<"Session"> | string | null
  country?: Prisma.StringNullableFilter<"Session"> | string | null
  region?: Prisma.StringNullableFilter<"Session"> | string | null
  city?: Prisma.StringNullableFilter<"Session"> | string | null
  distinctId?: Prisma.StringNullableFilter<"Session"> | string | null
  createdAt?: Prisma.DateTimeNullableFilter<"Session"> | Date | string | null
  websiteEvents?: Prisma.WebsiteEventListRelationFilter
  sessionData?: Prisma.SessionDataListRelationFilter
  revenue?: Prisma.RevenueListRelationFilter
}

export type SessionOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  browser?: Prisma.SortOrderInput | Prisma.SortOrder
  os?: Prisma.SortOrderInput | Prisma.SortOrder
  device?: Prisma.SortOrderInput | Prisma.SortOrder
  screen?: Prisma.SortOrderInput | Prisma.SortOrder
  language?: Prisma.SortOrderInput | Prisma.SortOrder
  country?: Prisma.SortOrderInput | Prisma.SortOrder
  region?: Prisma.SortOrderInput | Prisma.SortOrder
  city?: Prisma.SortOrderInput | Prisma.SortOrder
  distinctId?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  websiteEvents?: Prisma.WebsiteEventOrderByRelationAggregateInput
  sessionData?: Prisma.SessionDataOrderByRelationAggregateInput
  revenue?: Prisma.RevenueOrderByRelationAggregateInput
}

export type SessionWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]
  OR?: Prisma.SessionWhereInput[]
  NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]
  websiteId?: Prisma.UuidFilter<"Session"> | string
  browser?: Prisma.StringNullableFilter<"Session"> | string | null
  os?: Prisma.StringNullableFilter<"Session"> | string | null
  device?: Prisma.StringNullableFilter<"Session"> | string | null
  screen?: Prisma.StringNullableFilter<"Session"> | string | null
  language?: Prisma.StringNullableFilter<"Session"> | string | null
  country?: Prisma.StringNullableFilter<"Session"> | string | null
  region?: Prisma.StringNullableFilter<"Session"> | string | null
  city?: Prisma.StringNullableFilter<"Session"> | string | null
  distinctId?: Prisma.StringNullableFilter<"Session"> | string | null
  createdAt?: Prisma.DateTimeNullableFilter<"Session"> | Date | string | null
  websiteEvents?: Prisma.WebsiteEventListRelationFilter
  sessionData?: Prisma.SessionDataListRelationFilter
  revenue?: Prisma.RevenueListRelationFilter
}, "id">

export type SessionOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  browser?: Prisma.SortOrderInput | Prisma.SortOrder
  os?: Prisma.SortOrderInput | Prisma.SortOrder
  device?: Prisma.SortOrderInput | Prisma.SortOrder
  screen?: Prisma.SortOrderInput | Prisma.SortOrder
  language?: Prisma.SortOrderInput | Prisma.SortOrder
  country?: Prisma.SortOrderInput | Prisma.SortOrder
  region?: Prisma.SortOrderInput | Prisma.SortOrder
  city?: Prisma.SortOrderInput | Prisma.SortOrder
  distinctId?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.SessionCountOrderByAggregateInput
  _max?: Prisma.SessionMaxOrderByAggregateInput
  _min?: Prisma.SessionMinOrderByAggregateInput
}

export type SessionScalarWhereWithAggregatesInput = {
  AND?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[]
  OR?: Prisma.SessionScalarWhereWithAggregatesInput[]
  NOT?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"Session"> | string
  websiteId?: Prisma.UuidWithAggregatesFilter<"Session"> | string
  browser?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  os?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  device?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  screen?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  language?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  country?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  region?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  city?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  distinctId?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null
  createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Session"> | Date | string | null
}

export type SessionCreateInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventCreateNestedManyWithoutSessionInput
  sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueCreateNestedManyWithoutSessionInput
}

export type SessionUncheckedCreateInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedCreateNestedManyWithoutSessionInput
  sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueUncheckedCreateNestedManyWithoutSessionInput
}

export type SessionUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUpdateManyWithoutSessionNestedInput
  sessionData?: Prisma.SessionDataUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUpdateManyWithoutSessionNestedInput
}

export type SessionUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedUpdateManyWithoutSessionNestedInput
  sessionData?: Prisma.SessionDataUncheckedUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUncheckedUpdateManyWithoutSessionNestedInput
}

export type SessionCreateManyInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
}

export type SessionUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  browser?: Prisma.SortOrder
  os?: Prisma.SortOrder
  device?: Prisma.SortOrder
  screen?: Prisma.SortOrder
  language?: Prisma.SortOrder
  country?: Prisma.SortOrder
  region?: Prisma.SortOrder
  city?: Prisma.SortOrder
  distinctId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type SessionMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  browser?: Prisma.SortOrder
  os?: Prisma.SortOrder
  device?: Prisma.SortOrder
  screen?: Prisma.SortOrder
  language?: Prisma.SortOrder
  country?: Prisma.SortOrder
  region?: Prisma.SortOrder
  city?: Prisma.SortOrder
  distinctId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type SessionMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  browser?: Prisma.SortOrder
  os?: Prisma.SortOrder
  device?: Prisma.SortOrder
  screen?: Prisma.SortOrder
  language?: Prisma.SortOrder
  country?: Prisma.SortOrder
  region?: Prisma.SortOrder
  city?: Prisma.SortOrder
  distinctId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type SessionScalarRelationFilter = {
  is?: Prisma.SessionWhereInput
  isNot?: Prisma.SessionWhereInput
}

export type SessionCreateNestedOneWithoutWebsiteEventsInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutWebsiteEventsInput, Prisma.SessionUncheckedCreateWithoutWebsiteEventsInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutWebsiteEventsInput
  connect?: Prisma.SessionWhereUniqueInput
}

export type SessionUpdateOneRequiredWithoutWebsiteEventsNestedInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutWebsiteEventsInput, Prisma.SessionUncheckedCreateWithoutWebsiteEventsInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutWebsiteEventsInput
  upsert?: Prisma.SessionUpsertWithoutWebsiteEventsInput
  connect?: Prisma.SessionWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.SessionUpdateToOneWithWhereWithoutWebsiteEventsInput, Prisma.SessionUpdateWithoutWebsiteEventsInput>, Prisma.SessionUncheckedUpdateWithoutWebsiteEventsInput>
}

export type SessionCreateNestedOneWithoutSessionDataInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutSessionDataInput, Prisma.SessionUncheckedCreateWithoutSessionDataInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutSessionDataInput
  connect?: Prisma.SessionWhereUniqueInput
}

export type SessionUpdateOneRequiredWithoutSessionDataNestedInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutSessionDataInput, Prisma.SessionUncheckedCreateWithoutSessionDataInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutSessionDataInput
  upsert?: Prisma.SessionUpsertWithoutSessionDataInput
  connect?: Prisma.SessionWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.SessionUpdateToOneWithWhereWithoutSessionDataInput, Prisma.SessionUpdateWithoutSessionDataInput>, Prisma.SessionUncheckedUpdateWithoutSessionDataInput>
}

export type SessionCreateNestedOneWithoutRevenueInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutRevenueInput, Prisma.SessionUncheckedCreateWithoutRevenueInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutRevenueInput
  connect?: Prisma.SessionWhereUniqueInput
}

export type SessionUpdateOneRequiredWithoutRevenueNestedInput = {
  create?: Prisma.XOR<Prisma.SessionCreateWithoutRevenueInput, Prisma.SessionUncheckedCreateWithoutRevenueInput>
  connectOrCreate?: Prisma.SessionCreateOrConnectWithoutRevenueInput
  upsert?: Prisma.SessionUpsertWithoutRevenueInput
  connect?: Prisma.SessionWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.SessionUpdateToOneWithWhereWithoutRevenueInput, Prisma.SessionUpdateWithoutRevenueInput>, Prisma.SessionUncheckedUpdateWithoutRevenueInput>
}

export type SessionCreateWithoutWebsiteEventsInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueCreateNestedManyWithoutSessionInput
}

export type SessionUncheckedCreateWithoutWebsiteEventsInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueUncheckedCreateNestedManyWithoutSessionInput
}

export type SessionCreateOrConnectWithoutWebsiteEventsInput = {
  where: Prisma.SessionWhereUniqueInput
  create: Prisma.XOR<Prisma.SessionCreateWithoutWebsiteEventsInput, Prisma.SessionUncheckedCreateWithoutWebsiteEventsInput>
}

export type SessionUpsertWithoutWebsiteEventsInput = {
  update: Prisma.XOR<Prisma.SessionUpdateWithoutWebsiteEventsInput, Prisma.SessionUncheckedUpdateWithoutWebsiteEventsInput>
  create: Prisma.XOR<Prisma.SessionCreateWithoutWebsiteEventsInput, Prisma.SessionUncheckedCreateWithoutWebsiteEventsInput>
  where?: Prisma.SessionWhereInput
}

export type SessionUpdateToOneWithWhereWithoutWebsiteEventsInput = {
  where?: Prisma.SessionWhereInput
  data: Prisma.XOR<Prisma.SessionUpdateWithoutWebsiteEventsInput, Prisma.SessionUncheckedUpdateWithoutWebsiteEventsInput>
}

export type SessionUpdateWithoutWebsiteEventsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  sessionData?: Prisma.SessionDataUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUpdateManyWithoutSessionNestedInput
}

export type SessionUncheckedUpdateWithoutWebsiteEventsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  sessionData?: Prisma.SessionDataUncheckedUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUncheckedUpdateManyWithoutSessionNestedInput
}

export type SessionCreateWithoutSessionDataInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueCreateNestedManyWithoutSessionInput
}

export type SessionUncheckedCreateWithoutSessionDataInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedCreateNestedManyWithoutSessionInput
  revenue?: Prisma.RevenueUncheckedCreateNestedManyWithoutSessionInput
}

export type SessionCreateOrConnectWithoutSessionDataInput = {
  where: Prisma.SessionWhereUniqueInput
  create: Prisma.XOR<Prisma.SessionCreateWithoutSessionDataInput, Prisma.SessionUncheckedCreateWithoutSessionDataInput>
}

export type SessionUpsertWithoutSessionDataInput = {
  update: Prisma.XOR<Prisma.SessionUpdateWithoutSessionDataInput, Prisma.SessionUncheckedUpdateWithoutSessionDataInput>
  create: Prisma.XOR<Prisma.SessionCreateWithoutSessionDataInput, Prisma.SessionUncheckedCreateWithoutSessionDataInput>
  where?: Prisma.SessionWhereInput
}

export type SessionUpdateToOneWithWhereWithoutSessionDataInput = {
  where?: Prisma.SessionWhereInput
  data: Prisma.XOR<Prisma.SessionUpdateWithoutSessionDataInput, Prisma.SessionUncheckedUpdateWithoutSessionDataInput>
}

export type SessionUpdateWithoutSessionDataInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUpdateManyWithoutSessionNestedInput
}

export type SessionUncheckedUpdateWithoutSessionDataInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedUpdateManyWithoutSessionNestedInput
  revenue?: Prisma.RevenueUncheckedUpdateManyWithoutSessionNestedInput
}

export type SessionCreateWithoutRevenueInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventCreateNestedManyWithoutSessionInput
  sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput
}

export type SessionUncheckedCreateWithoutRevenueInput = {
  id: string
  websiteId: string
  browser?: string | null
  os?: string | null
  device?: string | null
  screen?: string | null
  language?: string | null
  country?: string | null
  region?: string | null
  city?: string | null
  distinctId?: string | null
  createdAt?: Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedCreateNestedManyWithoutSessionInput
  sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput
}

export type SessionCreateOrConnectWithoutRevenueInput = {
  where: Prisma.SessionWhereUniqueInput
  create: Prisma.XOR<Prisma.SessionCreateWithoutRevenueInput, Prisma.SessionUncheckedCreateWithoutRevenueInput>
}

export type SessionUpsertWithoutRevenueInput = {
  update: Prisma.XOR<Prisma.SessionUpdateWithoutRevenueInput, Prisma.SessionUncheckedUpdateWithoutRevenueInput>
  create: Prisma.XOR<Prisma.SessionCreateWithoutRevenueInput, Prisma.SessionUncheckedCreateWithoutRevenueInput>
  where?: Prisma.SessionWhereInput
}

export type SessionUpdateToOneWithWhereWithoutRevenueInput = {
  where?: Prisma.SessionWhereInput
  data: Prisma.XOR<Prisma.SessionUpdateWithoutRevenueInput, Prisma.SessionUncheckedUpdateWithoutRevenueInput>
}

export type SessionUpdateWithoutRevenueInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUpdateManyWithoutSessionNestedInput
  sessionData?: Prisma.SessionDataUpdateManyWithoutSessionNestedInput
}

export type SessionUncheckedUpdateWithoutRevenueInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  browser?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  os?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  device?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  screen?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  language?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  distinctId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  websiteEvents?: Prisma.WebsiteEventUncheckedUpdateManyWithoutSessionNestedInput
  sessionData?: Prisma.SessionDataUncheckedUpdateManyWithoutSessionNestedInput
}


/**
 * Count Type SessionCountOutputType
 */

export type SessionCountOutputType = {
  websiteEvents: number
  sessionData: number
  revenue: number
}

export type SessionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  websiteEvents?: boolean | SessionCountOutputTypeCountWebsiteEventsArgs
  sessionData?: boolean | SessionCountOutputTypeCountSessionDataArgs
  revenue?: boolean | SessionCountOutputTypeCountRevenueArgs
}

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

/**
 * SessionCountOutputType without action
 */
export type SessionCountOutputTypeCountWebsiteEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.WebsiteEventWhereInput
}

/**
 * SessionCountOutputType without action
 */
export type SessionCountOutputTypeCountSessionDataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SessionDataWhereInput
}

/**
 * SessionCountOutputType without action
 */
export type SessionCountOutputTypeCountRevenueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.RevenueWhereInput
}


export type SessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  browser?: boolean
  os?: boolean
  device?: boolean
  screen?: boolean
  language?: boolean
  country?: boolean
  region?: boolean
  city?: boolean
  distinctId?: boolean
  createdAt?: boolean
  websiteEvents?: boolean | Prisma.Session$websiteEventsArgs<ExtArgs>
  sessionData?: boolean | Prisma.Session$sessionDataArgs<ExtArgs>
  revenue?: boolean | Prisma.Session$revenueArgs<ExtArgs>
  _count?: boolean | Prisma.SessionCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["session"]>

export type SessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  browser?: boolean
  os?: boolean
  device?: boolean
  screen?: boolean
  language?: boolean
  country?: boolean
  region?: boolean
  city?: boolean
  distinctId?: boolean
  createdAt?: boolean
}, ExtArgs["result"]["session"]>

export type SessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  websiteId?: boolean
  browser?: boolean
  os?: boolean
  device?: boolean
  screen?: boolean
  language?: boolean
  country?: boolean
  region?: boolean
  city?: boolean
  distinctId?: boolean
  createdAt?: boolean
}, ExtArgs["result"]["session"]>

export type SessionSelectScalar = {
  id?: boolean
  websiteId?: boolean
  browser?: boolean
  os?: boolean
  device?: boolean
  screen?: boolean
  language?: boolean
  country?: boolean
  region?: boolean
  city?: boolean
  distinctId?: boolean
  createdAt?: boolean
}

export type SessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "websiteId" | "browser" | "os" | "device" | "screen" | "language" | "country" | "region" | "city" | "distinctId" | "createdAt", ExtArgs["result"]["session"]>
export type SessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  websiteEvents?: boolean | Prisma.Session$websiteEventsArgs<ExtArgs>
  sessionData?: boolean | Prisma.Session$sessionDataArgs<ExtArgs>
  revenue?: boolean | Prisma.Session$revenueArgs<ExtArgs>
  _count?: boolean | Prisma.SessionCountOutputTypeDefaultArgs<ExtArgs>
}
export type SessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type SessionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}

export type $SessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "Session"
  objects: {
    websiteEvents: Prisma.$WebsiteEventPayload<ExtArgs>[]
    sessionData: Prisma.$SessionDataPayload<ExtArgs>[]
    revenue: Prisma.$RevenuePayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    websiteId: string
    browser: string | null
    os: string | null
    device: string | null
    screen: string | null
    language: string | null
    country: string | null
    region: string | null
    city: string | null
    distinctId: string | null
    createdAt: Date | null
  }, ExtArgs["result"]["session"]>
  composites: {}
}

export type SessionGetPayload<S extends boolean | null | undefined | SessionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SessionPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for Session.
 * 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__SessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  websiteEvents<T extends Prisma.Session$websiteEventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Session$websiteEventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebsiteEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  sessionData<T extends Prisma.Session$sessionDataArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Session$sessionDataArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionDataPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  revenue<T extends Prisma.Session$revenueArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Session$revenueArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RevenuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * 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 Session model
 */
export interface SessionFieldRefs {
  readonly id: Prisma.FieldRef<"Session", 'String'>
  readonly websiteId: Prisma.FieldRef<"Session", 'String'>
  readonly browser: Prisma.FieldRef<"Session", 'String'>
  readonly os: Prisma.FieldRef<"Session", 'String'>
  readonly device: Prisma.FieldRef<"Session", 'String'>
  readonly screen: Prisma.FieldRef<"Session", 'String'>
  readonly language: Prisma.FieldRef<"Session", 'String'>
  readonly country: Prisma.FieldRef<"Session", 'String'>
  readonly region: Prisma.FieldRef<"Session", 'String'>
  readonly city: Prisma.FieldRef<"Session", 'String'>
  readonly distinctId: Prisma.FieldRef<"Session", 'String'>
  readonly createdAt: Prisma.FieldRef<"Session", 'DateTime'>
}
    

// Custom InputTypes
/**
 * Session findUnique
 */
export type SessionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * Filter, which Session to fetch.
   */
  where: Prisma.SessionWhereUniqueInput
}

/**
 * Session findUniqueOrThrow
 */
export type SessionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * Filter, which Session to fetch.
   */
  where: Prisma.SessionWhereUniqueInput
}

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

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

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

/**
 * Session create
 */
export type SessionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * The data needed to create a Session.
   */
  data: Prisma.XOR<Prisma.SessionCreateInput, Prisma.SessionUncheckedCreateInput>
}

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

/**
 * Session createManyAndReturn
 */
export type SessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * The data used to create many Sessions.
   */
  data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Session update
 */
export type SessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * The data needed to update a Session.
   */
  data: Prisma.XOR<Prisma.SessionUpdateInput, Prisma.SessionUncheckedUpdateInput>
  /**
   * Choose, which Session to update.
   */
  where: Prisma.SessionWhereUniqueInput
}

/**
 * Session updateMany
 */
export type SessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update Sessions.
   */
  data: Prisma.XOR<Prisma.SessionUpdateManyMutationInput, Prisma.SessionUncheckedUpdateManyInput>
  /**
   * Filter which Sessions to update
   */
  where?: Prisma.SessionWhereInput
  /**
   * Limit how many Sessions to update.
   */
  limit?: number
}

/**
 * Session updateManyAndReturn
 */
export type SessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * The data used to update Sessions.
   */
  data: Prisma.XOR<Prisma.SessionUpdateManyMutationInput, Prisma.SessionUncheckedUpdateManyInput>
  /**
   * Filter which Sessions to update
   */
  where?: Prisma.SessionWhereInput
  /**
   * Limit how many Sessions to update.
   */
  limit?: number
}

/**
 * Session upsert
 */
export type SessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * The filter to search for the Session to update in case it exists.
   */
  where: Prisma.SessionWhereUniqueInput
  /**
   * In case the Session found by the `where` argument doesn't exist, create a new Session with this data.
   */
  create: Prisma.XOR<Prisma.SessionCreateInput, Prisma.SessionUncheckedCreateInput>
  /**
   * In case the Session was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.SessionUpdateInput, Prisma.SessionUncheckedUpdateInput>
}

/**
 * Session delete
 */
export type SessionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Session
   */
  select?: Prisma.SessionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Session
   */
  omit?: Prisma.SessionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionInclude<ExtArgs> | null
  /**
   * Filter which Session to delete.
   */
  where: Prisma.SessionWhereUniqueInput
}

/**
 * Session deleteMany
 */
export type SessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Sessions to delete
   */
  where?: Prisma.SessionWhereInput
  /**
   * Limit how many Sessions to delete.
   */
  limit?: number
}

/**
 * Session.websiteEvents
 */
export type Session$websiteEventsArgs<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
  where?: Prisma.WebsiteEventWhereInput
  orderBy?: Prisma.WebsiteEventOrderByWithRelationInput | Prisma.WebsiteEventOrderByWithRelationInput[]
  cursor?: Prisma.WebsiteEventWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.WebsiteEventScalarFieldEnum | Prisma.WebsiteEventScalarFieldEnum[]
}

/**
 * Session.sessionData
 */
export type Session$sessionDataArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionData
   */
  select?: Prisma.SessionDataSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionData
   */
  omit?: Prisma.SessionDataOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionDataInclude<ExtArgs> | null
  where?: Prisma.SessionDataWhereInput
  orderBy?: Prisma.SessionDataOrderByWithRelationInput | Prisma.SessionDataOrderByWithRelationInput[]
  cursor?: Prisma.SessionDataWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.SessionDataScalarFieldEnum | Prisma.SessionDataScalarFieldEnum[]
}

/**
 * Session.revenue
 */
export type Session$revenueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Revenue
   */
  select?: Prisma.RevenueSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Revenue
   */
  omit?: Prisma.RevenueOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.RevenueInclude<ExtArgs> | null
  where?: Prisma.RevenueWhereInput
  orderBy?: Prisma.RevenueOrderByWithRelationInput | Prisma.RevenueOrderByWithRelationInput[]
  cursor?: Prisma.RevenueWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.RevenueScalarFieldEnum | Prisma.RevenueScalarFieldEnum[]
}

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