
/* !!! 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.js'
export type * from './prismaNamespace.js'

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',
  PasswordSetupToken: 'PasswordSetupToken',
  Client: 'Client',
  ClientKeyword: 'ClientKeyword',
  Report: 'Report',
  ReportKeywordRank: 'ReportKeywordRank',
  ActivityLog: 'ActivityLog',
  PublicDashboardLink: 'PublicDashboardLink'
} 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',
  firstName: 'firstName',
  lastName: 'lastName',
  name: 'name',
  email: 'email',
  password: 'password',
  role: 'role',
  status: 'status',
  isDeleted: 'isDeleted',
  refreshTokenHash: 'refreshTokenHash',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


export const PasswordSetupTokenScalarFieldEnum = {
  id: 'id',
  userId: 'userId',
  tokenHash: 'tokenHash',
  expiresAt: 'expiresAt',
  usedAt: 'usedAt',
  createdAt: 'createdAt'
} as const

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


export const ClientScalarFieldEnum = {
  id: 'id',
  companyName: 'companyName',
  website: 'website',
  contactName: 'contactName',
  email: 'email',
  phone: 'phone',
  primaryMetricType: 'primaryMetricType',
  status: 'status',
  isDeleted: 'isDeleted',
  notes: 'notes',
  dashboardSlug: 'dashboardSlug',
  dashboardVisitCount: 'dashboardVisitCount',
  lastDashboardVisitedAt: 'lastDashboardVisitedAt',
  lastUpdatedAt: 'lastUpdatedAt',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  assignedUserId: 'assignedUserId'
} as const

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


export const ClientKeywordScalarFieldEnum = {
  id: 'id',
  clientId: 'clientId',
  keyword: 'keyword',
  status: 'status',
  isDeleted: 'isDeleted',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


export const ReportScalarFieldEnum = {
  id: 'id',
  clientId: 'clientId',
  createdById: 'createdById',
  reportStartDate: 'reportStartDate',
  reportEndDate: 'reportEndDate',
  businessMetricValue: 'businessMetricValue',
  businessMetricGrowth: 'businessMetricGrowth',
  traffic: 'traffic',
  trafficGrowth: 'trafficGrowth',
  backlinks: 'backlinks',
  newBacklinks: 'newBacklinks',
  notes: 'notes',
  version: 'version',
  isDeleted: 'isDeleted',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


export const ReportKeywordRankScalarFieldEnum = {
  id: 'id',
  reportId: 'reportId',
  keywordId: 'keywordId',
  position: 'position',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


export const ActivityLogScalarFieldEnum = {
  id: 'id',
  action: 'action',
  entityType: 'entityType',
  entityId: 'entityId',
  title: 'title',
  description: 'description',
  metadata: 'metadata',
  actorUserId: 'actorUserId',
  clientId: 'clientId',
  reportId: 'reportId',
  createdAt: 'createdAt'
} as const

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


export const PublicDashboardLinkScalarFieldEnum = {
  id: 'id',
  clientId: 'clientId',
  token: 'token',
  isActive: 'isActive',
  expiresAt: 'expiresAt',
  revokedAt: 'revokedAt',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


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 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]

