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

export type AggregateSchedulePresets = {
  _count: SchedulePresetsCountAggregateOutputType | null
  _avg: SchedulePresetsAvgAggregateOutputType | null
  _sum: SchedulePresetsSumAggregateOutputType | null
  _min: SchedulePresetsMinAggregateOutputType | null
  _max: SchedulePresetsMaxAggregateOutputType | null
}

export type SchedulePresetsAvgAggregateOutputType = {
  id: number | null
}

export type SchedulePresetsSumAggregateOutputType = {
  id: number | null
}

export type SchedulePresetsMinAggregateOutputType = {
  id: number | null
  name: string | null
  is_default: boolean | null
}

export type SchedulePresetsMaxAggregateOutputType = {
  id: number | null
  name: string | null
  is_default: boolean | null
}

export type SchedulePresetsCountAggregateOutputType = {
  id: number
  name: number
  is_default: number
  _all: number
}


export type SchedulePresetsAvgAggregateInputType = {
  id?: true
}

export type SchedulePresetsSumAggregateInputType = {
  id?: true
}

export type SchedulePresetsMinAggregateInputType = {
  id?: true
  name?: true
  is_default?: true
}

export type SchedulePresetsMaxAggregateInputType = {
  id?: true
  name?: true
  is_default?: true
}

export type SchedulePresetsCountAggregateInputType = {
  id?: true
  name?: true
  is_default?: true
  _all?: true
}

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

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




export type SchedulePresetsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SchedulePresetsWhereInput
  orderBy?: Prisma.SchedulePresetsOrderByWithAggregationInput | Prisma.SchedulePresetsOrderByWithAggregationInput[]
  by: Prisma.SchedulePresetsScalarFieldEnum[] | Prisma.SchedulePresetsScalarFieldEnum
  having?: Prisma.SchedulePresetsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: SchedulePresetsCountAggregateInputType | true
  _avg?: SchedulePresetsAvgAggregateInputType
  _sum?: SchedulePresetsSumAggregateInputType
  _min?: SchedulePresetsMinAggregateInputType
  _max?: SchedulePresetsMaxAggregateInputType
}

export type SchedulePresetsGroupByOutputType = {
  id: number
  name: string
  is_default: boolean
  _count: SchedulePresetsCountAggregateOutputType | null
  _avg: SchedulePresetsAvgAggregateOutputType | null
  _sum: SchedulePresetsSumAggregateOutputType | null
  _min: SchedulePresetsMinAggregateOutputType | null
  _max: SchedulePresetsMaxAggregateOutputType | null
}

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



export type SchedulePresetsWhereInput = {
  AND?: Prisma.SchedulePresetsWhereInput | Prisma.SchedulePresetsWhereInput[]
  OR?: Prisma.SchedulePresetsWhereInput[]
  NOT?: Prisma.SchedulePresetsWhereInput | Prisma.SchedulePresetsWhereInput[]
  id?: Prisma.IntFilter<"SchedulePresets"> | number
  name?: Prisma.StringFilter<"SchedulePresets"> | string
  is_default?: Prisma.BoolFilter<"SchedulePresets"> | boolean
  employees?: Prisma.EmployeesListRelationFilter
  shifts?: Prisma.SchedulePresetShiftsListRelationFilter
}

export type SchedulePresetsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  is_default?: Prisma.SortOrder
  employees?: Prisma.EmployeesOrderByRelationAggregateInput
  shifts?: Prisma.SchedulePresetShiftsOrderByRelationAggregateInput
}

export type SchedulePresetsWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.SchedulePresetsWhereInput | Prisma.SchedulePresetsWhereInput[]
  OR?: Prisma.SchedulePresetsWhereInput[]
  NOT?: Prisma.SchedulePresetsWhereInput | Prisma.SchedulePresetsWhereInput[]
  name?: Prisma.StringFilter<"SchedulePresets"> | string
  is_default?: Prisma.BoolFilter<"SchedulePresets"> | boolean
  employees?: Prisma.EmployeesListRelationFilter
  shifts?: Prisma.SchedulePresetShiftsListRelationFilter
}, "id">

export type SchedulePresetsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  is_default?: Prisma.SortOrder
  _count?: Prisma.SchedulePresetsCountOrderByAggregateInput
  _avg?: Prisma.SchedulePresetsAvgOrderByAggregateInput
  _max?: Prisma.SchedulePresetsMaxOrderByAggregateInput
  _min?: Prisma.SchedulePresetsMinOrderByAggregateInput
  _sum?: Prisma.SchedulePresetsSumOrderByAggregateInput
}

export type SchedulePresetsScalarWhereWithAggregatesInput = {
  AND?: Prisma.SchedulePresetsScalarWhereWithAggregatesInput | Prisma.SchedulePresetsScalarWhereWithAggregatesInput[]
  OR?: Prisma.SchedulePresetsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.SchedulePresetsScalarWhereWithAggregatesInput | Prisma.SchedulePresetsScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"SchedulePresets"> | number
  name?: Prisma.StringWithAggregatesFilter<"SchedulePresets"> | string
  is_default?: Prisma.BoolWithAggregatesFilter<"SchedulePresets"> | boolean
}

export type SchedulePresetsCreateInput = {
  name: string
  is_default?: boolean
  employees?: Prisma.EmployeesCreateNestedManyWithoutSchedule_presetInput
  shifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutPresetInput
}

export type SchedulePresetsUncheckedCreateInput = {
  id?: number
  name: string
  is_default?: boolean
  employees?: Prisma.EmployeesUncheckedCreateNestedManyWithoutSchedule_presetInput
  shifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutPresetInput
}

export type SchedulePresetsUpdateInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  employees?: Prisma.EmployeesUpdateManyWithoutSchedule_presetNestedInput
  shifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutPresetNestedInput
}

export type SchedulePresetsUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  employees?: Prisma.EmployeesUncheckedUpdateManyWithoutSchedule_presetNestedInput
  shifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutPresetNestedInput
}

export type SchedulePresetsCreateManyInput = {
  id?: number
  name: string
  is_default?: boolean
}

export type SchedulePresetsUpdateManyMutationInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type SchedulePresetsUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type SchedulePresetsNullableScalarRelationFilter = {
  is?: Prisma.SchedulePresetsWhereInput | null
  isNot?: Prisma.SchedulePresetsWhereInput | null
}

export type SchedulePresetsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  is_default?: Prisma.SortOrder
}

export type SchedulePresetsAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
}

export type SchedulePresetsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  is_default?: Prisma.SortOrder
}

export type SchedulePresetsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  is_default?: Prisma.SortOrder
}

export type SchedulePresetsSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
}

export type SchedulePresetsScalarRelationFilter = {
  is?: Prisma.SchedulePresetsWhereInput
  isNot?: Prisma.SchedulePresetsWhereInput
}

export type SchedulePresetsCreateNestedOneWithoutEmployeesInput = {
  create?: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedCreateWithoutEmployeesInput>
  connectOrCreate?: Prisma.SchedulePresetsCreateOrConnectWithoutEmployeesInput
  connect?: Prisma.SchedulePresetsWhereUniqueInput
}

export type SchedulePresetsUpdateOneWithoutEmployeesNestedInput = {
  create?: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedCreateWithoutEmployeesInput>
  connectOrCreate?: Prisma.SchedulePresetsCreateOrConnectWithoutEmployeesInput
  upsert?: Prisma.SchedulePresetsUpsertWithoutEmployeesInput
  disconnect?: Prisma.SchedulePresetsWhereInput | boolean
  delete?: Prisma.SchedulePresetsWhereInput | boolean
  connect?: Prisma.SchedulePresetsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.SchedulePresetsUpdateToOneWithWhereWithoutEmployeesInput, Prisma.SchedulePresetsUpdateWithoutEmployeesInput>, Prisma.SchedulePresetsUncheckedUpdateWithoutEmployeesInput>
}

export type SchedulePresetsCreateNestedOneWithoutShiftsInput = {
  create?: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedCreateWithoutShiftsInput>
  connectOrCreate?: Prisma.SchedulePresetsCreateOrConnectWithoutShiftsInput
  connect?: Prisma.SchedulePresetsWhereUniqueInput
}

export type SchedulePresetsUpdateOneRequiredWithoutShiftsNestedInput = {
  create?: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedCreateWithoutShiftsInput>
  connectOrCreate?: Prisma.SchedulePresetsCreateOrConnectWithoutShiftsInput
  upsert?: Prisma.SchedulePresetsUpsertWithoutShiftsInput
  connect?: Prisma.SchedulePresetsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.SchedulePresetsUpdateToOneWithWhereWithoutShiftsInput, Prisma.SchedulePresetsUpdateWithoutShiftsInput>, Prisma.SchedulePresetsUncheckedUpdateWithoutShiftsInput>
}

export type SchedulePresetsCreateWithoutEmployeesInput = {
  name: string
  is_default?: boolean
  shifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutPresetInput
}

export type SchedulePresetsUncheckedCreateWithoutEmployeesInput = {
  id?: number
  name: string
  is_default?: boolean
  shifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutPresetInput
}

export type SchedulePresetsCreateOrConnectWithoutEmployeesInput = {
  where: Prisma.SchedulePresetsWhereUniqueInput
  create: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedCreateWithoutEmployeesInput>
}

export type SchedulePresetsUpsertWithoutEmployeesInput = {
  update: Prisma.XOR<Prisma.SchedulePresetsUpdateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedUpdateWithoutEmployeesInput>
  create: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedCreateWithoutEmployeesInput>
  where?: Prisma.SchedulePresetsWhereInput
}

export type SchedulePresetsUpdateToOneWithWhereWithoutEmployeesInput = {
  where?: Prisma.SchedulePresetsWhereInput
  data: Prisma.XOR<Prisma.SchedulePresetsUpdateWithoutEmployeesInput, Prisma.SchedulePresetsUncheckedUpdateWithoutEmployeesInput>
}

export type SchedulePresetsUpdateWithoutEmployeesInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  shifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutPresetNestedInput
}

export type SchedulePresetsUncheckedUpdateWithoutEmployeesInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  shifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutPresetNestedInput
}

export type SchedulePresetsCreateWithoutShiftsInput = {
  name: string
  is_default?: boolean
  employees?: Prisma.EmployeesCreateNestedManyWithoutSchedule_presetInput
}

export type SchedulePresetsUncheckedCreateWithoutShiftsInput = {
  id?: number
  name: string
  is_default?: boolean
  employees?: Prisma.EmployeesUncheckedCreateNestedManyWithoutSchedule_presetInput
}

export type SchedulePresetsCreateOrConnectWithoutShiftsInput = {
  where: Prisma.SchedulePresetsWhereUniqueInput
  create: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedCreateWithoutShiftsInput>
}

export type SchedulePresetsUpsertWithoutShiftsInput = {
  update: Prisma.XOR<Prisma.SchedulePresetsUpdateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedUpdateWithoutShiftsInput>
  create: Prisma.XOR<Prisma.SchedulePresetsCreateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedCreateWithoutShiftsInput>
  where?: Prisma.SchedulePresetsWhereInput
}

export type SchedulePresetsUpdateToOneWithWhereWithoutShiftsInput = {
  where?: Prisma.SchedulePresetsWhereInput
  data: Prisma.XOR<Prisma.SchedulePresetsUpdateWithoutShiftsInput, Prisma.SchedulePresetsUncheckedUpdateWithoutShiftsInput>
}

export type SchedulePresetsUpdateWithoutShiftsInput = {
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  employees?: Prisma.EmployeesUpdateManyWithoutSchedule_presetNestedInput
}

export type SchedulePresetsUncheckedUpdateWithoutShiftsInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  name?: Prisma.StringFieldUpdateOperationsInput | string
  is_default?: Prisma.BoolFieldUpdateOperationsInput | boolean
  employees?: Prisma.EmployeesUncheckedUpdateManyWithoutSchedule_presetNestedInput
}


/**
 * Count Type SchedulePresetsCountOutputType
 */

export type SchedulePresetsCountOutputType = {
  employees: number
  shifts: number
}

export type SchedulePresetsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  employees?: boolean | SchedulePresetsCountOutputTypeCountEmployeesArgs
  shifts?: boolean | SchedulePresetsCountOutputTypeCountShiftsArgs
}

/**
 * SchedulePresetsCountOutputType without action
 */
export type SchedulePresetsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresetsCountOutputType
   */
  select?: Prisma.SchedulePresetsCountOutputTypeSelect<ExtArgs> | null
}

/**
 * SchedulePresetsCountOutputType without action
 */
export type SchedulePresetsCountOutputTypeCountEmployeesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.EmployeesWhereInput
}

/**
 * SchedulePresetsCountOutputType without action
 */
export type SchedulePresetsCountOutputTypeCountShiftsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SchedulePresetShiftsWhereInput
}


export type SchedulePresetsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  is_default?: boolean
  employees?: boolean | Prisma.SchedulePresets$employeesArgs<ExtArgs>
  shifts?: boolean | Prisma.SchedulePresets$shiftsArgs<ExtArgs>
  _count?: boolean | Prisma.SchedulePresetsCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["schedulePresets"]>

export type SchedulePresetsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  is_default?: boolean
}, ExtArgs["result"]["schedulePresets"]>

export type SchedulePresetsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  is_default?: boolean
}, ExtArgs["result"]["schedulePresets"]>

export type SchedulePresetsSelectScalar = {
  id?: boolean
  name?: boolean
  is_default?: boolean
}

export type SchedulePresetsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "is_default", ExtArgs["result"]["schedulePresets"]>
export type SchedulePresetsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  employees?: boolean | Prisma.SchedulePresets$employeesArgs<ExtArgs>
  shifts?: boolean | Prisma.SchedulePresets$shiftsArgs<ExtArgs>
  _count?: boolean | Prisma.SchedulePresetsCountOutputTypeDefaultArgs<ExtArgs>
}
export type SchedulePresetsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type SchedulePresetsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}

export type $SchedulePresetsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "SchedulePresets"
  objects: {
    employees: Prisma.$EmployeesPayload<ExtArgs>[]
    shifts: Prisma.$SchedulePresetShiftsPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    name: string
    is_default: boolean
  }, ExtArgs["result"]["schedulePresets"]>
  composites: {}
}

export type SchedulePresetsGetPayload<S extends boolean | null | undefined | SchedulePresetsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SchedulePresetsPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for SchedulePresets.
 * 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__SchedulePresetsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  employees<T extends Prisma.SchedulePresets$employeesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SchedulePresets$employeesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  shifts<T extends Prisma.SchedulePresets$shiftsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SchedulePresets$shiftsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePresetShiftsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * 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 SchedulePresets model
 */
export interface SchedulePresetsFieldRefs {
  readonly id: Prisma.FieldRef<"SchedulePresets", 'Int'>
  readonly name: Prisma.FieldRef<"SchedulePresets", 'String'>
  readonly is_default: Prisma.FieldRef<"SchedulePresets", 'Boolean'>
}
    

// Custom InputTypes
/**
 * SchedulePresets findUnique
 */
export type SchedulePresetsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter, which SchedulePresets to fetch.
   */
  where: Prisma.SchedulePresetsWhereUniqueInput
}

/**
 * SchedulePresets findUniqueOrThrow
 */
export type SchedulePresetsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter, which SchedulePresets to fetch.
   */
  where: Prisma.SchedulePresetsWhereUniqueInput
}

/**
 * SchedulePresets findFirst
 */
export type SchedulePresetsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter, which SchedulePresets to fetch.
   */
  where?: Prisma.SchedulePresetsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SchedulePresets to fetch.
   */
  orderBy?: Prisma.SchedulePresetsOrderByWithRelationInput | Prisma.SchedulePresetsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SchedulePresets.
   */
  cursor?: Prisma.SchedulePresetsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SchedulePresets 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` SchedulePresets.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SchedulePresets.
   */
  distinct?: Prisma.SchedulePresetsScalarFieldEnum | Prisma.SchedulePresetsScalarFieldEnum[]
}

/**
 * SchedulePresets findFirstOrThrow
 */
export type SchedulePresetsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter, which SchedulePresets to fetch.
   */
  where?: Prisma.SchedulePresetsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SchedulePresets to fetch.
   */
  orderBy?: Prisma.SchedulePresetsOrderByWithRelationInput | Prisma.SchedulePresetsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SchedulePresets.
   */
  cursor?: Prisma.SchedulePresetsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SchedulePresets 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` SchedulePresets.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SchedulePresets.
   */
  distinct?: Prisma.SchedulePresetsScalarFieldEnum | Prisma.SchedulePresetsScalarFieldEnum[]
}

/**
 * SchedulePresets findMany
 */
export type SchedulePresetsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter, which SchedulePresets to fetch.
   */
  where?: Prisma.SchedulePresetsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SchedulePresets to fetch.
   */
  orderBy?: Prisma.SchedulePresetsOrderByWithRelationInput | Prisma.SchedulePresetsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing SchedulePresets.
   */
  cursor?: Prisma.SchedulePresetsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SchedulePresets 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` SchedulePresets.
   */
  skip?: number
  distinct?: Prisma.SchedulePresetsScalarFieldEnum | Prisma.SchedulePresetsScalarFieldEnum[]
}

/**
 * SchedulePresets create
 */
export type SchedulePresetsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * The data needed to create a SchedulePresets.
   */
  data: Prisma.XOR<Prisma.SchedulePresetsCreateInput, Prisma.SchedulePresetsUncheckedCreateInput>
}

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

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

/**
 * SchedulePresets update
 */
export type SchedulePresetsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * The data needed to update a SchedulePresets.
   */
  data: Prisma.XOR<Prisma.SchedulePresetsUpdateInput, Prisma.SchedulePresetsUncheckedUpdateInput>
  /**
   * Choose, which SchedulePresets to update.
   */
  where: Prisma.SchedulePresetsWhereUniqueInput
}

/**
 * SchedulePresets updateMany
 */
export type SchedulePresetsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update SchedulePresets.
   */
  data: Prisma.XOR<Prisma.SchedulePresetsUpdateManyMutationInput, Prisma.SchedulePresetsUncheckedUpdateManyInput>
  /**
   * Filter which SchedulePresets to update
   */
  where?: Prisma.SchedulePresetsWhereInput
  /**
   * Limit how many SchedulePresets to update.
   */
  limit?: number
}

/**
 * SchedulePresets updateManyAndReturn
 */
export type SchedulePresetsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * The data used to update SchedulePresets.
   */
  data: Prisma.XOR<Prisma.SchedulePresetsUpdateManyMutationInput, Prisma.SchedulePresetsUncheckedUpdateManyInput>
  /**
   * Filter which SchedulePresets to update
   */
  where?: Prisma.SchedulePresetsWhereInput
  /**
   * Limit how many SchedulePresets to update.
   */
  limit?: number
}

/**
 * SchedulePresets upsert
 */
export type SchedulePresetsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * The filter to search for the SchedulePresets to update in case it exists.
   */
  where: Prisma.SchedulePresetsWhereUniqueInput
  /**
   * In case the SchedulePresets found by the `where` argument doesn't exist, create a new SchedulePresets with this data.
   */
  create: Prisma.XOR<Prisma.SchedulePresetsCreateInput, Prisma.SchedulePresetsUncheckedCreateInput>
  /**
   * In case the SchedulePresets was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.SchedulePresetsUpdateInput, Prisma.SchedulePresetsUncheckedUpdateInput>
}

/**
 * SchedulePresets delete
 */
export type SchedulePresetsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
  /**
   * Filter which SchedulePresets to delete.
   */
  where: Prisma.SchedulePresetsWhereUniqueInput
}

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

/**
 * SchedulePresets.employees
 */
export type SchedulePresets$employeesArgs<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
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.EmployeesInclude<ExtArgs> | null
  where?: Prisma.EmployeesWhereInput
  orderBy?: Prisma.EmployeesOrderByWithRelationInput | Prisma.EmployeesOrderByWithRelationInput[]
  cursor?: Prisma.EmployeesWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.EmployeesScalarFieldEnum | Prisma.EmployeesScalarFieldEnum[]
}

/**
 * SchedulePresets.shifts
 */
export type SchedulePresets$shiftsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresetShifts
   */
  select?: Prisma.SchedulePresetShiftsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresetShifts
   */
  omit?: Prisma.SchedulePresetShiftsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetShiftsInclude<ExtArgs> | null
  where?: Prisma.SchedulePresetShiftsWhereInput
  orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[]
  cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.SchedulePresetShiftsScalarFieldEnum | Prisma.SchedulePresetShiftsScalarFieldEnum[]
}

/**
 * SchedulePresets without action
 */
export type SchedulePresetsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SchedulePresets
   */
  select?: Prisma.SchedulePresetsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SchedulePresets
   */
  omit?: Prisma.SchedulePresetsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SchedulePresetsInclude<ExtArgs> | null
}
