
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * WARNING: This is an internal file that is subject to change!
 *
 * 🛑 Under no circumstances should you import this file directly! 🛑
 *
 * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
 * While this enables partial backward compatibility, it is not part of the stable public API.
 *
 * If you are looking for your Models, Enums, and Input Types, please import them from the respective
 * model files in the `model` directory!
 */

import * as runtime from "@prisma/client/runtime/index-browser"

export type * from '../models'
export type * from './prismaNamespace'

export const Decimal = runtime.Decimal


export const NullTypes = {
  DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
  JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
  AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
}
/**
 * Helper for filtering JSON entries that have `null` on the database (empty on the db)
 *
 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
 */
export const DbNull = runtime.DbNull

/**
 * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
 *
 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
 */
export const JsonNull = runtime.JsonNull

/**
 * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
 *
 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
 */
export const AnyNull = runtime.AnyNull


export const ModelName = {
  User: 'User',
  Session: 'Session',
  Website: 'Website',
  WebsiteEvent: 'WebsiteEvent',
  EventData: 'EventData',
  SessionData: 'SessionData',
  Team: 'Team',
  TeamUser: 'TeamUser',
  Report: 'Report',
  Segment: 'Segment',
  Revenue: 'Revenue',
  Link: 'Link',
  Pixel: 'Pixel',
  Board: 'Board',
  Share: 'Share',
  SessionReplay: 'SessionReplay',
  SessionReplaySaved: 'SessionReplaySaved'
} as const

export type ModelName = (typeof ModelName)[keyof typeof ModelName]

/*
 * Enums
 */

export const TransactionIsolationLevel = runtime.makeStrictEnum({
  ReadUncommitted: 'ReadUncommitted',
  ReadCommitted: 'ReadCommitted',
  RepeatableRead: 'RepeatableRead',
  Serializable: 'Serializable'
} as const)

export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]


export const UserScalarFieldEnum = {
  id: 'id',
  username: 'username',
  password: 'password',
  role: 'role',
  logoUrl: 'logoUrl',
  displayName: 'displayName',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt'
} as const

export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]


export const SessionScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  browser: 'browser',
  os: 'os',
  device: 'device',
  screen: 'screen',
  language: 'language',
  country: 'country',
  region: 'region',
  city: 'city',
  distinctId: 'distinctId',
  createdAt: 'createdAt'
} as const

export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]


export const WebsiteScalarFieldEnum = {
  id: 'id',
  name: 'name',
  domain: 'domain',
  resetAt: 'resetAt',
  userId: 'userId',
  teamId: 'teamId',
  createdBy: 'createdBy',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt',
  replayEnabled: 'replayEnabled',
  replayConfig: 'replayConfig'
} as const

export type WebsiteScalarFieldEnum = (typeof WebsiteScalarFieldEnum)[keyof typeof WebsiteScalarFieldEnum]


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

export type WebsiteEventScalarFieldEnum = (typeof WebsiteEventScalarFieldEnum)[keyof typeof WebsiteEventScalarFieldEnum]


export const EventDataScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  websiteEventId: 'websiteEventId',
  dataKey: 'dataKey',
  stringValue: 'stringValue',
  numberValue: 'numberValue',
  dateValue: 'dateValue',
  dataType: 'dataType',
  createdAt: 'createdAt'
} as const

export type EventDataScalarFieldEnum = (typeof EventDataScalarFieldEnum)[keyof typeof EventDataScalarFieldEnum]


export const SessionDataScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  sessionId: 'sessionId',
  dataKey: 'dataKey',
  stringValue: 'stringValue',
  numberValue: 'numberValue',
  dateValue: 'dateValue',
  dataType: 'dataType',
  distinctId: 'distinctId',
  createdAt: 'createdAt'
} as const

export type SessionDataScalarFieldEnum = (typeof SessionDataScalarFieldEnum)[keyof typeof SessionDataScalarFieldEnum]


export const TeamScalarFieldEnum = {
  id: 'id',
  name: 'name',
  accessCode: 'accessCode',
  logoUrl: 'logoUrl',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt'
} as const

export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum]


export const TeamUserScalarFieldEnum = {
  id: 'id',
  teamId: 'teamId',
  userId: 'userId',
  role: 'role',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type TeamUserScalarFieldEnum = (typeof TeamUserScalarFieldEnum)[keyof typeof TeamUserScalarFieldEnum]


export const ReportScalarFieldEnum = {
  id: 'id',
  userId: 'userId',
  websiteId: 'websiteId',
  type: 'type',
  name: 'name',
  description: 'description',
  parameters: 'parameters',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type ReportScalarFieldEnum = (typeof ReportScalarFieldEnum)[keyof typeof ReportScalarFieldEnum]


export const SegmentScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  type: 'type',
  name: 'name',
  parameters: 'parameters',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type SegmentScalarFieldEnum = (typeof SegmentScalarFieldEnum)[keyof typeof SegmentScalarFieldEnum]


export const RevenueScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  sessionId: 'sessionId',
  eventId: 'eventId',
  eventName: 'eventName',
  currency: 'currency',
  revenue: 'revenue',
  createdAt: 'createdAt'
} as const

export type RevenueScalarFieldEnum = (typeof RevenueScalarFieldEnum)[keyof typeof RevenueScalarFieldEnum]


export const LinkScalarFieldEnum = {
  id: 'id',
  name: 'name',
  url: 'url',
  slug: 'slug',
  userId: 'userId',
  teamId: 'teamId',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt'
} as const

export type LinkScalarFieldEnum = (typeof LinkScalarFieldEnum)[keyof typeof LinkScalarFieldEnum]


export const PixelScalarFieldEnum = {
  id: 'id',
  name: 'name',
  slug: 'slug',
  userId: 'userId',
  teamId: 'teamId',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt'
} as const

export type PixelScalarFieldEnum = (typeof PixelScalarFieldEnum)[keyof typeof PixelScalarFieldEnum]


export const BoardScalarFieldEnum = {
  id: 'id',
  type: 'type',
  name: 'name',
  description: 'description',
  parameters: 'parameters',
  userId: 'userId',
  teamId: 'teamId',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type BoardScalarFieldEnum = (typeof BoardScalarFieldEnum)[keyof typeof BoardScalarFieldEnum]


export const ShareScalarFieldEnum = {
  id: 'id',
  entityId: 'entityId',
  name: 'name',
  shareType: 'shareType',
  slug: 'slug',
  parameters: 'parameters',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type ShareScalarFieldEnum = (typeof ShareScalarFieldEnum)[keyof typeof ShareScalarFieldEnum]


export const SessionReplayScalarFieldEnum = {
  id: 'id',
  websiteId: 'websiteId',
  sessionId: 'sessionId',
  visitId: 'visitId',
  chunkIndex: 'chunkIndex',
  events: 'events',
  eventCount: 'eventCount',
  startedAt: 'startedAt',
  endedAt: 'endedAt',
  createdAt: 'createdAt'
} as const

export type SessionReplayScalarFieldEnum = (typeof SessionReplayScalarFieldEnum)[keyof typeof SessionReplayScalarFieldEnum]


export const SessionReplaySavedScalarFieldEnum = {
  id: 'id',
  name: 'name',
  websiteId: 'websiteId',
  visitId: 'visitId',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

export type SessionReplaySavedScalarFieldEnum = (typeof SessionReplaySavedScalarFieldEnum)[keyof typeof SessionReplaySavedScalarFieldEnum]


export const SortOrder = {
  asc: 'asc',
  desc: 'desc'
} as const

export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]


export const NullableJsonNullValueInput = {
  DbNull: DbNull,
  JsonNull: JsonNull
} as const

export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]


export const JsonNullValueInput = {
  JsonNull: JsonNull
} as const

export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]


export const QueryMode = {
  default: 'default',
  insensitive: 'insensitive'
} as const

export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]


export const NullsOrder = {
  first: 'first',
  last: 'last'
} as const

export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]


export const JsonNullValueFilter = {
  DbNull: DbNull,
  JsonNull: JsonNull,
  AnyNull: AnyNull
} as const

export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]

