
/* !!! 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 = {
  codeDesjardins: 'codeDesjardins',
  customers: 'customers',
  dealers: 'dealers',
  employee_shift_template: 'employee_shift_template',
  employees: 'employees',
  expenses: 'expenses',
  hours_bank: 'hours_bank',
  mileage_bank: 'mileage_bank',
  shifts: 'shifts',
  shifts_of_template: 'shifts_of_template',
  sick_leave: 'sick_leave',
  time_sheet_periods: 'time_sheet_periods',
  time_sheet_template: 'time_sheet_template',
  time_sheets: 'time_sheets',
  users: 'users',
  vacation_leave: 'vacation_leave'
} 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 CodeDesjardinsScalarFieldEnum = {
  id: 'id',
  code: 'code',
  label: 'label',
  description: 'description'
} as const

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


export const CustomersScalarFieldEnum = {
  id: 'id',
  user_id: 'user_id',
  email: 'email',
  first_name: 'first_name',
  last_name: 'last_name',
  phone_number: 'phone_number',
  address: 'address',
  created_at: 'created_at',
  updated_at: 'updated_at',
  created_by: 'created_by'
} as const

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


export const DealersScalarFieldEnum = {
  id: 'id',
  user_id: 'user_id',
  email: 'email',
  first_name: 'first_name',
  last_name: 'last_name',
  phone_number: 'phone_number',
  created_at: 'created_at',
  updated_at: 'updated_at',
  created_by: 'created_by'
} as const

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


export const Employee_shift_templateScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  day_of_the_week: 'day_of_the_week',
  start_time: 'start_time',
  end_time: 'end_time',
  created_at: 'created_at',
  updated_at: 'updated_at'
} as const

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


export const EmployeesScalarFieldEnum = {
  id: 'id',
  user_id: 'user_id',
  employee_number: 'employee_number',
  email: 'email',
  first_name: 'first_name',
  last_name: 'last_name',
  phone_number: 'phone_number',
  job_title: 'job_title',
  company: 'company',
  supervisor: 'supervisor',
  is_supervisor: 'is_supervisor',
  onboarding: 'onboarding',
  offboarding: 'offboarding',
  regular_hours_day: 'regular_hours_day',
  hours_bank_max: 'hours_bank_max',
  created_at: 'created_at',
  updated_at: 'updated_at',
  created_by: 'created_by'
} as const

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


export const ExpensesScalarFieldEnum = {
  id: 'id',
  time_sheet_id: 'time_sheet_id',
  date: 'date',
  code: 'code',
  value: 'value',
  description: 'description',
  evidence_id: 'evidence_id',
  status: 'status',
  created_at: 'created_at',
  updated_at: 'updated_at',
  supervisor_note: 'supervisor_note'
} as const

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


export const Hours_bankScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  hours: 'hours',
  created_at: 'created_at',
  updated_at: 'updated_at'
} as const

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


export const Mileage_bankScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  mileage: 'mileage',
  year: 'year'
} as const

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


export const ShiftsScalarFieldEnum = {
  id: 'id',
  time_sheet_id: 'time_sheet_id',
  code: 'code',
  type: 'type',
  date: 'date',
  start_time: 'start_time',
  end_time: 'end_time',
  comment: 'comment',
  status: 'status',
  created_at: 'created_at',
  updated_at: 'updated_at',
  supervisor_note: 'supervisor_note'
} as const

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


export const Shifts_of_templateScalarFieldEnum = {
  id: 'id',
  model_id: 'model_id',
  day_of_the_week: 'day_of_the_week',
  start_time: 'start_time',
  end_time: 'end_time',
  created_at: 'created_at',
  updated_at: 'updated_at'
} as const

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


export const Sick_leaveScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  accumulated: 'accumulated',
  consumed: 'consumed',
  year: 'year',
  created_at: 'created_at',
  updated_at: 'updated_at'
} as const

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


export const Time_sheet_periodsScalarFieldEnum = {
  id: 'id',
  start_date: 'start_date',
  end_date: 'end_date',
  payment_date: 'payment_date',
  period_number: 'period_number',
  year: 'year'
} as const

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


export const Time_sheet_templateScalarFieldEnum = {
  id: 'id',
  title: 'title',
  description: 'description',
  created_at: 'created_at',
  updated_at: 'updated_at'
} as const

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


export const Time_sheetsScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  start_date: 'start_date',
  end_date: 'end_date',
  status: 'status',
  banked_hours: 'banked_hours',
  consumed_vacation: 'consumed_vacation',
  consumed_sick: 'consumed_sick',
  period_id: 'period_id',
  period_number: 'period_number',
  created_at: 'created_at',
  updated_at: 'updated_at',
  blocked_week: 'blocked_week'
} as const

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


export const UsersScalarFieldEnum = {
  id: 'id',
  email: 'email',
  password: 'password',
  type: 'type',
  role: 'role',
  is_verified: 'is_verified',
  verification_token: 'verification_token',
  otp_token: 'otp_token',
  refresh_token: 'refresh_token',
  created_at: 'created_at',
  updated_at: 'updated_at',
  created_by: 'created_by',
  last_login: 'last_login'
} as const

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


export const Vacation_leaveScalarFieldEnum = {
  id: 'id',
  employee_id: 'employee_id',
  accumulated: 'accumulated',
  consumed: 'consumed',
  created_at: 'created_at',
  updated_at: 'updated_at',
  start_year: 'start_year',
  end_year: 'end_year',
  max_hours_per_year: 'max_hours_per_year'
} as const

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


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]

