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

export type AggregateEmployees = {
  _count: EmployeesCountAggregateOutputType | null
  _avg: EmployeesAvgAggregateOutputType | null
  _sum: EmployeesSumAggregateOutputType | null
  _min: EmployeesMinAggregateOutputType | null
  _max: EmployeesMaxAggregateOutputType | null
}

export type EmployeesAvgAggregateOutputType = {
  company: number | null
  onboarding: number | null
  offboarding: number | null
  regular_hours_day: number | null
  hours_bank_max: number | null
  created_at: number | null
  updated_at: number | null
}

export type EmployeesSumAggregateOutputType = {
  company: number | null
  onboarding: bigint | null
  offboarding: bigint | null
  regular_hours_day: number | null
  hours_bank_max: number | null
  created_at: bigint | null
  updated_at: bigint | null
}

export type EmployeesMinAggregateOutputType = {
  id: string | null
  user_id: string | null
  employee_number: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  job_title: string | null
  company: number | null
  supervisor: string | null
  is_supervisor: boolean | null
  onboarding: bigint | null
  offboarding: bigint | null
  regular_hours_day: number | null
  hours_bank_max: number | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type EmployeesMaxAggregateOutputType = {
  id: string | null
  user_id: string | null
  employee_number: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  job_title: string | null
  company: number | null
  supervisor: string | null
  is_supervisor: boolean | null
  onboarding: bigint | null
  offboarding: bigint | null
  regular_hours_day: number | null
  hours_bank_max: number | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type EmployeesCountAggregateOutputType = {
  id: number
  user_id: number
  employee_number: number
  email: number
  first_name: number
  last_name: number
  phone_number: number
  job_title: number
  company: number
  supervisor: number
  is_supervisor: number
  onboarding: number
  offboarding: number
  regular_hours_day: number
  hours_bank_max: number
  created_at: number
  updated_at: number
  created_by: number
  _all: number
}


export type EmployeesAvgAggregateInputType = {
  company?: true
  onboarding?: true
  offboarding?: true
  regular_hours_day?: true
  hours_bank_max?: true
  created_at?: true
  updated_at?: true
}

export type EmployeesSumAggregateInputType = {
  company?: true
  onboarding?: true
  offboarding?: true
  regular_hours_day?: true
  hours_bank_max?: true
  created_at?: true
  updated_at?: true
}

export type EmployeesMinAggregateInputType = {
  id?: true
  user_id?: true
  employee_number?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  job_title?: true
  company?: true
  supervisor?: true
  is_supervisor?: true
  onboarding?: true
  offboarding?: true
  regular_hours_day?: true
  hours_bank_max?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type EmployeesMaxAggregateInputType = {
  id?: true
  user_id?: true
  employee_number?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  job_title?: true
  company?: true
  supervisor?: true
  is_supervisor?: true
  onboarding?: true
  offboarding?: true
  regular_hours_day?: true
  hours_bank_max?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type EmployeesCountAggregateInputType = {
  id?: true
  user_id?: true
  employee_number?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  job_title?: true
  company?: true
  supervisor?: true
  is_supervisor?: true
  onboarding?: true
  offboarding?: true
  regular_hours_day?: true
  hours_bank_max?: true
  created_at?: true
  updated_at?: true
  created_by?: true
  _all?: true
}

export type EmployeesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which employees to aggregate.
   */
  where?: Prisma.employeesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of employees to fetch.
   */
  orderBy?: Prisma.employeesOrderByWithRelationInput | Prisma.employeesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.employeesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` employees 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` employees.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned employees
  **/
  _count?: true | EmployeesCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: EmployeesAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: EmployeesSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: EmployeesMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: EmployeesMaxAggregateInputType
}

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




export type employeesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.employeesWhereInput
  orderBy?: Prisma.employeesOrderByWithAggregationInput | Prisma.employeesOrderByWithAggregationInput[]
  by: Prisma.EmployeesScalarFieldEnum[] | Prisma.EmployeesScalarFieldEnum
  having?: Prisma.employeesScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: EmployeesCountAggregateInputType | true
  _avg?: EmployeesAvgAggregateInputType
  _sum?: EmployeesSumAggregateInputType
  _min?: EmployeesMinAggregateInputType
  _max?: EmployeesMaxAggregateInputType
}

export type EmployeesGroupByOutputType = {
  id: string
  user_id: string | null
  employee_number: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  job_title: string | null
  company: number | null
  supervisor: string | null
  is_supervisor: boolean | null
  onboarding: bigint | null
  offboarding: bigint | null
  regular_hours_day: number | null
  hours_bank_max: number | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
  _count: EmployeesCountAggregateOutputType | null
  _avg: EmployeesAvgAggregateOutputType | null
  _sum: EmployeesSumAggregateOutputType | null
  _min: EmployeesMinAggregateOutputType | null
  _max: EmployeesMaxAggregateOutputType | null
}

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



export type employeesWhereInput = {
  AND?: Prisma.employeesWhereInput | Prisma.employeesWhereInput[]
  OR?: Prisma.employeesWhereInput[]
  NOT?: Prisma.employeesWhereInput | Prisma.employeesWhereInput[]
  id?: Prisma.UuidFilter<"employees"> | string
  user_id?: Prisma.StringNullableFilter<"employees"> | string | null
  employee_number?: Prisma.StringNullableFilter<"employees"> | string | null
  email?: Prisma.StringNullableFilter<"employees"> | string | null
  first_name?: Prisma.StringNullableFilter<"employees"> | string | null
  last_name?: Prisma.StringNullableFilter<"employees"> | string | null
  phone_number?: Prisma.StringNullableFilter<"employees"> | string | null
  job_title?: Prisma.StringNullableFilter<"employees"> | string | null
  company?: Prisma.IntNullableFilter<"employees"> | number | null
  supervisor?: Prisma.StringNullableFilter<"employees"> | string | null
  is_supervisor?: Prisma.BoolNullableFilter<"employees"> | boolean | null
  onboarding?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  offboarding?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  regular_hours_day?: Prisma.FloatNullableFilter<"employees"> | number | null
  hours_bank_max?: Prisma.IntNullableFilter<"employees"> | number | null
  created_at?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"employees"> | string | null
}

export type employeesOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  employee_number?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  job_title?: Prisma.SortOrderInput | Prisma.SortOrder
  company?: Prisma.SortOrderInput | Prisma.SortOrder
  supervisor?: Prisma.SortOrderInput | Prisma.SortOrder
  is_supervisor?: Prisma.SortOrderInput | Prisma.SortOrder
  onboarding?: Prisma.SortOrderInput | Prisma.SortOrder
  offboarding?: Prisma.SortOrderInput | Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrderInput | Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type employeesWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.employeesWhereInput | Prisma.employeesWhereInput[]
  OR?: Prisma.employeesWhereInput[]
  NOT?: Prisma.employeesWhereInput | Prisma.employeesWhereInput[]
  user_id?: Prisma.StringNullableFilter<"employees"> | string | null
  employee_number?: Prisma.StringNullableFilter<"employees"> | string | null
  email?: Prisma.StringNullableFilter<"employees"> | string | null
  first_name?: Prisma.StringNullableFilter<"employees"> | string | null
  last_name?: Prisma.StringNullableFilter<"employees"> | string | null
  phone_number?: Prisma.StringNullableFilter<"employees"> | string | null
  job_title?: Prisma.StringNullableFilter<"employees"> | string | null
  company?: Prisma.IntNullableFilter<"employees"> | number | null
  supervisor?: Prisma.StringNullableFilter<"employees"> | string | null
  is_supervisor?: Prisma.BoolNullableFilter<"employees"> | boolean | null
  onboarding?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  offboarding?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  regular_hours_day?: Prisma.FloatNullableFilter<"employees"> | number | null
  hours_bank_max?: Prisma.IntNullableFilter<"employees"> | number | null
  created_at?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"employees"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"employees"> | string | null
}, "id">

export type employeesOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  employee_number?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  job_title?: Prisma.SortOrderInput | Prisma.SortOrder
  company?: Prisma.SortOrderInput | Prisma.SortOrder
  supervisor?: Prisma.SortOrderInput | Prisma.SortOrder
  is_supervisor?: Prisma.SortOrderInput | Prisma.SortOrder
  onboarding?: Prisma.SortOrderInput | Prisma.SortOrder
  offboarding?: Prisma.SortOrderInput | Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrderInput | Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.employeesCountOrderByAggregateInput
  _avg?: Prisma.employeesAvgOrderByAggregateInput
  _max?: Prisma.employeesMaxOrderByAggregateInput
  _min?: Prisma.employeesMinOrderByAggregateInput
  _sum?: Prisma.employeesSumOrderByAggregateInput
}

export type employeesScalarWhereWithAggregatesInput = {
  AND?: Prisma.employeesScalarWhereWithAggregatesInput | Prisma.employeesScalarWhereWithAggregatesInput[]
  OR?: Prisma.employeesScalarWhereWithAggregatesInput[]
  NOT?: Prisma.employeesScalarWhereWithAggregatesInput | Prisma.employeesScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"employees"> | string
  user_id?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  employee_number?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  email?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  first_name?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  last_name?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  phone_number?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  job_title?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  company?: Prisma.IntNullableWithAggregatesFilter<"employees"> | number | null
  supervisor?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
  is_supervisor?: Prisma.BoolNullableWithAggregatesFilter<"employees"> | boolean | null
  onboarding?: Prisma.BigIntNullableWithAggregatesFilter<"employees"> | bigint | number | null
  offboarding?: Prisma.BigIntNullableWithAggregatesFilter<"employees"> | bigint | number | null
  regular_hours_day?: Prisma.FloatNullableWithAggregatesFilter<"employees"> | number | null
  hours_bank_max?: Prisma.IntNullableWithAggregatesFilter<"employees"> | number | null
  created_at?: Prisma.BigIntNullableWithAggregatesFilter<"employees"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableWithAggregatesFilter<"employees"> | bigint | number | null
  created_by?: Prisma.StringNullableWithAggregatesFilter<"employees"> | string | null
}

export type employeesCreateInput = {
  id: string
  user_id?: string | null
  employee_number?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  job_title?: string | null
  company?: number | null
  supervisor?: string | null
  is_supervisor?: boolean | null
  onboarding?: bigint | number | null
  offboarding?: bigint | number | null
  regular_hours_day?: number | null
  hours_bank_max?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type employeesUncheckedCreateInput = {
  id: string
  user_id?: string | null
  employee_number?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  job_title?: string | null
  company?: number | null
  supervisor?: string | null
  is_supervisor?: boolean | null
  onboarding?: bigint | number | null
  offboarding?: bigint | number | null
  regular_hours_day?: number | null
  hours_bank_max?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type employeesUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  employee_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  job_title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  company?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  supervisor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  is_supervisor?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  onboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  offboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  regular_hours_day?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  hours_bank_max?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type employeesUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  employee_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  job_title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  company?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  supervisor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  is_supervisor?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  onboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  offboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  regular_hours_day?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  hours_bank_max?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type employeesCreateManyInput = {
  id: string
  user_id?: string | null
  employee_number?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  job_title?: string | null
  company?: number | null
  supervisor?: string | null
  is_supervisor?: boolean | null
  onboarding?: bigint | number | null
  offboarding?: bigint | number | null
  regular_hours_day?: number | null
  hours_bank_max?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type employeesUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  employee_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  job_title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  company?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  supervisor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  is_supervisor?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  onboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  offboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  regular_hours_day?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  hours_bank_max?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type employeesUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  employee_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  job_title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  company?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  supervisor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  is_supervisor?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  onboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  offboarding?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  regular_hours_day?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  hours_bank_max?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type employeesCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  employee_number?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  job_title?: Prisma.SortOrder
  company?: Prisma.SortOrder
  supervisor?: Prisma.SortOrder
  is_supervisor?: Prisma.SortOrder
  onboarding?: Prisma.SortOrder
  offboarding?: Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type employeesAvgOrderByAggregateInput = {
  company?: Prisma.SortOrder
  onboarding?: Prisma.SortOrder
  offboarding?: Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type employeesMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  employee_number?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  job_title?: Prisma.SortOrder
  company?: Prisma.SortOrder
  supervisor?: Prisma.SortOrder
  is_supervisor?: Prisma.SortOrder
  onboarding?: Prisma.SortOrder
  offboarding?: Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type employeesMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  employee_number?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  job_title?: Prisma.SortOrder
  company?: Prisma.SortOrder
  supervisor?: Prisma.SortOrder
  is_supervisor?: Prisma.SortOrder
  onboarding?: Prisma.SortOrder
  offboarding?: Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type employeesSumOrderByAggregateInput = {
  company?: Prisma.SortOrder
  onboarding?: Prisma.SortOrder
  offboarding?: Prisma.SortOrder
  regular_hours_day?: Prisma.SortOrder
  hours_bank_max?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type NullableIntFieldUpdateOperationsInput = {
  set?: number | null
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type NullableBoolFieldUpdateOperationsInput = {
  set?: boolean | null
}

export type NullableFloatFieldUpdateOperationsInput = {
  set?: number | null
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}



export type employeesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  employee_number?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  job_title?: boolean
  company?: boolean
  supervisor?: boolean
  is_supervisor?: boolean
  onboarding?: boolean
  offboarding?: boolean
  regular_hours_day?: boolean
  hours_bank_max?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["employees"]>

export type employeesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  employee_number?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  job_title?: boolean
  company?: boolean
  supervisor?: boolean
  is_supervisor?: boolean
  onboarding?: boolean
  offboarding?: boolean
  regular_hours_day?: boolean
  hours_bank_max?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["employees"]>

export type employeesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  employee_number?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  job_title?: boolean
  company?: boolean
  supervisor?: boolean
  is_supervisor?: boolean
  onboarding?: boolean
  offboarding?: boolean
  regular_hours_day?: boolean
  hours_bank_max?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["employees"]>

export type employeesSelectScalar = {
  id?: boolean
  user_id?: boolean
  employee_number?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  job_title?: boolean
  company?: boolean
  supervisor?: boolean
  is_supervisor?: boolean
  onboarding?: boolean
  offboarding?: boolean
  regular_hours_day?: boolean
  hours_bank_max?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}

export type employeesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "employee_number" | "email" | "first_name" | "last_name" | "phone_number" | "job_title" | "company" | "supervisor" | "is_supervisor" | "onboarding" | "offboarding" | "regular_hours_day" | "hours_bank_max" | "created_at" | "updated_at" | "created_by", ExtArgs["result"]["employees"]>

export type $employeesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "employees"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    user_id: string | null
    employee_number: string | null
    email: string | null
    first_name: string | null
    last_name: string | null
    phone_number: string | null
    job_title: string | null
    company: number | null
    supervisor: string | null
    is_supervisor: boolean | null
    onboarding: bigint | null
    offboarding: bigint | null
    regular_hours_day: number | null
    hours_bank_max: number | null
    created_at: bigint | null
    updated_at: bigint | null
    created_by: string | null
  }, ExtArgs["result"]["employees"]>
  composites: {}
}

export type employeesGetPayload<S extends boolean | null | undefined | employeesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$employeesPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for employees.
 * 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__employeesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 employees model
 */
export interface employeesFieldRefs {
  readonly id: Prisma.FieldRef<"employees", 'String'>
  readonly user_id: Prisma.FieldRef<"employees", 'String'>
  readonly employee_number: Prisma.FieldRef<"employees", 'String'>
  readonly email: Prisma.FieldRef<"employees", 'String'>
  readonly first_name: Prisma.FieldRef<"employees", 'String'>
  readonly last_name: Prisma.FieldRef<"employees", 'String'>
  readonly phone_number: Prisma.FieldRef<"employees", 'String'>
  readonly job_title: Prisma.FieldRef<"employees", 'String'>
  readonly company: Prisma.FieldRef<"employees", 'Int'>
  readonly supervisor: Prisma.FieldRef<"employees", 'String'>
  readonly is_supervisor: Prisma.FieldRef<"employees", 'Boolean'>
  readonly onboarding: Prisma.FieldRef<"employees", 'BigInt'>
  readonly offboarding: Prisma.FieldRef<"employees", 'BigInt'>
  readonly regular_hours_day: Prisma.FieldRef<"employees", 'Float'>
  readonly hours_bank_max: Prisma.FieldRef<"employees", 'Int'>
  readonly created_at: Prisma.FieldRef<"employees", 'BigInt'>
  readonly updated_at: Prisma.FieldRef<"employees", 'BigInt'>
  readonly created_by: Prisma.FieldRef<"employees", 'String'>
}
    

// Custom InputTypes
/**
 * employees findUnique
 */
export type employeesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter, which employees to fetch.
   */
  where: Prisma.employeesWhereUniqueInput
}

/**
 * employees findUniqueOrThrow
 */
export type employeesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter, which employees to fetch.
   */
  where: Prisma.employeesWhereUniqueInput
}

/**
 * employees findFirst
 */
export type employeesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter, which employees to fetch.
   */
  where?: Prisma.employeesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of employees to fetch.
   */
  orderBy?: Prisma.employeesOrderByWithRelationInput | Prisma.employeesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for employees.
   */
  cursor?: Prisma.employeesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` employees 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` employees.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of employees.
   */
  distinct?: Prisma.EmployeesScalarFieldEnum | Prisma.EmployeesScalarFieldEnum[]
}

/**
 * employees findFirstOrThrow
 */
export type employeesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter, which employees to fetch.
   */
  where?: Prisma.employeesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of employees to fetch.
   */
  orderBy?: Prisma.employeesOrderByWithRelationInput | Prisma.employeesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for employees.
   */
  cursor?: Prisma.employeesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` employees 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` employees.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of employees.
   */
  distinct?: Prisma.EmployeesScalarFieldEnum | Prisma.EmployeesScalarFieldEnum[]
}

/**
 * employees findMany
 */
export type employeesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter, which employees to fetch.
   */
  where?: Prisma.employeesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of employees to fetch.
   */
  orderBy?: Prisma.employeesOrderByWithRelationInput | Prisma.employeesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing employees.
   */
  cursor?: Prisma.employeesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` employees 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` employees.
   */
  skip?: number
  distinct?: Prisma.EmployeesScalarFieldEnum | Prisma.EmployeesScalarFieldEnum[]
}

/**
 * employees create
 */
export type employeesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * The data needed to create a employees.
   */
  data: Prisma.XOR<Prisma.employeesCreateInput, Prisma.employeesUncheckedCreateInput>
}

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

/**
 * employees createManyAndReturn
 */
export type employeesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * The data used to create many employees.
   */
  data: Prisma.employeesCreateManyInput | Prisma.employeesCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * employees update
 */
export type employeesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * The data needed to update a employees.
   */
  data: Prisma.XOR<Prisma.employeesUpdateInput, Prisma.employeesUncheckedUpdateInput>
  /**
   * Choose, which employees to update.
   */
  where: Prisma.employeesWhereUniqueInput
}

/**
 * employees updateMany
 */
export type employeesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update employees.
   */
  data: Prisma.XOR<Prisma.employeesUpdateManyMutationInput, Prisma.employeesUncheckedUpdateManyInput>
  /**
   * Filter which employees to update
   */
  where?: Prisma.employeesWhereInput
  /**
   * Limit how many employees to update.
   */
  limit?: number
}

/**
 * employees updateManyAndReturn
 */
export type employeesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * The data used to update employees.
   */
  data: Prisma.XOR<Prisma.employeesUpdateManyMutationInput, Prisma.employeesUncheckedUpdateManyInput>
  /**
   * Filter which employees to update
   */
  where?: Prisma.employeesWhereInput
  /**
   * Limit how many employees to update.
   */
  limit?: number
}

/**
 * employees upsert
 */
export type employeesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * The filter to search for the employees to update in case it exists.
   */
  where: Prisma.employeesWhereUniqueInput
  /**
   * In case the employees found by the `where` argument doesn't exist, create a new employees with this data.
   */
  create: Prisma.XOR<Prisma.employeesCreateInput, Prisma.employeesUncheckedCreateInput>
  /**
   * In case the employees was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.employeesUpdateInput, Prisma.employeesUncheckedUpdateInput>
}

/**
 * employees delete
 */
export type employeesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
  /**
   * Filter which employees to delete.
   */
  where: Prisma.employeesWhereUniqueInput
}

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

/**
 * employees without action
 */
export type employeesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the employees
   */
  select?: Prisma.employeesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the employees
   */
  omit?: Prisma.employeesOmit<ExtArgs> | null
}
