
/* !!! 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',
  LoginAttempt: 'LoginAttempt',
  Project: 'Project',
  HealthCheck: 'HealthCheck',
  MonitoringSettings: 'MonitoringSettings',
  SchedulerRun: 'SchedulerRun',
  Domain: 'Domain',
  DomainRun: 'DomainRun'
} 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',
  passwordHash: 'passwordHash',
  role: 'role',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


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

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


export const LoginAttemptScalarFieldEnum = {
  id: 'id',
  username: 'username',
  ip: 'ip',
  success: 'success',
  createdAt: 'createdAt'
} as const

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


export const ProjectScalarFieldEnum = {
  id: 'id',
  projectCode: 'projectCode',
  projectName: 'projectName',
  productionUrl: 'productionUrl',
  monitoringEnabled: 'monitoringEnabled',
  expectedHttpStatus: 'expectedHttpStatus',
  timeoutSeconds: 'timeoutSeconds',
  description: 'description',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  deletedAt: 'deletedAt',
  currentStatus: 'currentStatus',
  lastCheckedAt: 'lastCheckedAt',
  lastSuccessfulCheckAt: 'lastSuccessfulCheckAt',
  lastFailedCheckAt: 'lastFailedCheckAt',
  failureStartedAt: 'failureStartedAt',
  lastRecoveredAt: 'lastRecoveredAt',
  currentHttpStatus: 'currentHttpStatus',
  currentResponseTimeMs: 'currentResponseTimeMs',
  currentErrorMessage: 'currentErrorMessage'
} as const

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


export const HealthCheckScalarFieldEnum = {
  id: 'id',
  projectId: 'projectId',
  checkedAt: 'checkedAt',
  status: 'status',
  httpStatusCode: 'httpStatusCode',
  responseTimeMs: 'responseTimeMs',
  errorType: 'errorType',
  errorMessage: 'errorMessage',
  trigger: 'trigger',
  attempts: 'attempts',
  runId: 'runId'
} as const

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


export const MonitoringSettingsScalarFieldEnum = {
  id: 'id',
  frequency: 'frequency',
  checkTime: 'checkTime',
  timezone: 'timezone',
  slowThresholdSeconds: 'slowThresholdSeconds',
  updatedAt: 'updatedAt'
} as const

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


export const SchedulerRunScalarFieldEnum = {
  id: 'id',
  trigger: 'trigger',
  slotKey: 'slotKey',
  status: 'status',
  startedBy: 'startedBy',
  startedAt: 'startedAt',
  heartbeatAt: 'heartbeatAt',
  finishedAt: 'finishedAt',
  appsFound: 'appsFound',
  appsChecked: 'appsChecked',
  working: 'working',
  slow: 'slow',
  notWorking: 'notWorking',
  disabled: 'disabled',
  errored: 'errored',
  errorMessage: 'errorMessage'
} as const

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


export const DomainScalarFieldEnum = {
  id: 'id',
  name: 'name',
  addedManually: 'addedManually',
  hiddenAt: 'hiddenAt',
  registrar: 'registrar',
  registeredAt: 'registeredAt',
  expiresAt: 'expiresAt',
  lastChangedAt: 'lastChangedAt',
  registryUpdatedAt: 'registryUpdatedAt',
  registryStatuses: 'registryStatuses',
  manualExpiresAt: 'manualExpiresAt',
  rdapServer: 'rdapServer',
  lastLookupResult: 'lastLookupResult',
  lastLookupError: 'lastLookupError',
  lastCheckedAt: 'lastCheckedAt',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
} as const

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


export const DomainRunScalarFieldEnum = {
  id: 'id',
  trigger: 'trigger',
  slotKey: 'slotKey',
  status: 'status',
  startedBy: 'startedBy',
  startedAt: 'startedAt',
  heartbeatAt: 'heartbeatAt',
  finishedAt: 'finishedAt',
  domainsFound: 'domainsFound',
  domainsChecked: 'domainsChecked',
  failed: 'failed',
  errorMessage: 'errorMessage'
} as const

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


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

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


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]

