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

export type AggregateSick_leave = {
  _count: Sick_leaveCountAggregateOutputType | null
  _avg: Sick_leaveAvgAggregateOutputType | null
  _sum: Sick_leaveSumAggregateOutputType | null
  _min: Sick_leaveMinAggregateOutputType | null
  _max: Sick_leaveMaxAggregateOutputType | null
}

export type Sick_leaveAvgAggregateOutputType = {
  accumulated: number | null
  consumed: number | null
  year: number | null
  created_at: number | null
  updated_at: number | null
}

export type Sick_leaveSumAggregateOutputType = {
  accumulated: number | null
  consumed: number | null
  year: number | null
  created_at: bigint | null
  updated_at: bigint | null
}

export type Sick_leaveMinAggregateOutputType = {
  id: string | null
  employee_id: string | null
  accumulated: number | null
  consumed: number | null
  year: number | null
  created_at: bigint | null
  updated_at: bigint | null
}

export type Sick_leaveMaxAggregateOutputType = {
  id: string | null
  employee_id: string | null
  accumulated: number | null
  consumed: number | null
  year: number | null
  created_at: bigint | null
  updated_at: bigint | null
}

export type Sick_leaveCountAggregateOutputType = {
  id: number
  employee_id: number
  accumulated: number
  consumed: number
  year: number
  created_at: number
  updated_at: number
  _all: number
}


export type Sick_leaveAvgAggregateInputType = {
  accumulated?: true
  consumed?: true
  year?: true
  created_at?: true
  updated_at?: true
}

export type Sick_leaveSumAggregateInputType = {
  accumulated?: true
  consumed?: true
  year?: true
  created_at?: true
  updated_at?: true
}

export type Sick_leaveMinAggregateInputType = {
  id?: true
  employee_id?: true
  accumulated?: true
  consumed?: true
  year?: true
  created_at?: true
  updated_at?: true
}

export type Sick_leaveMaxAggregateInputType = {
  id?: true
  employee_id?: true
  accumulated?: true
  consumed?: true
  year?: true
  created_at?: true
  updated_at?: true
}

export type Sick_leaveCountAggregateInputType = {
  id?: true
  employee_id?: true
  accumulated?: true
  consumed?: true
  year?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

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

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




export type sick_leaveGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.sick_leaveWhereInput
  orderBy?: Prisma.sick_leaveOrderByWithAggregationInput | Prisma.sick_leaveOrderByWithAggregationInput[]
  by: Prisma.Sick_leaveScalarFieldEnum[] | Prisma.Sick_leaveScalarFieldEnum
  having?: Prisma.sick_leaveScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Sick_leaveCountAggregateInputType | true
  _avg?: Sick_leaveAvgAggregateInputType
  _sum?: Sick_leaveSumAggregateInputType
  _min?: Sick_leaveMinAggregateInputType
  _max?: Sick_leaveMaxAggregateInputType
}

export type Sick_leaveGroupByOutputType = {
  id: string
  employee_id: string | null
  accumulated: number | null
  consumed: number | null
  year: number | null
  created_at: bigint | null
  updated_at: bigint | null
  _count: Sick_leaveCountAggregateOutputType | null
  _avg: Sick_leaveAvgAggregateOutputType | null
  _sum: Sick_leaveSumAggregateOutputType | null
  _min: Sick_leaveMinAggregateOutputType | null
  _max: Sick_leaveMaxAggregateOutputType | null
}

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



export type sick_leaveWhereInput = {
  AND?: Prisma.sick_leaveWhereInput | Prisma.sick_leaveWhereInput[]
  OR?: Prisma.sick_leaveWhereInput[]
  NOT?: Prisma.sick_leaveWhereInput | Prisma.sick_leaveWhereInput[]
  id?: Prisma.UuidFilter<"sick_leave"> | string
  employee_id?: Prisma.StringNullableFilter<"sick_leave"> | string | null
  accumulated?: Prisma.FloatNullableFilter<"sick_leave"> | number | null
  consumed?: Prisma.FloatNullableFilter<"sick_leave"> | number | null
  year?: Prisma.IntNullableFilter<"sick_leave"> | number | null
  created_at?: Prisma.BigIntNullableFilter<"sick_leave"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"sick_leave"> | bigint | number | null
}

export type sick_leaveOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  employee_id?: Prisma.SortOrderInput | Prisma.SortOrder
  accumulated?: Prisma.SortOrderInput | Prisma.SortOrder
  consumed?: Prisma.SortOrderInput | Prisma.SortOrder
  year?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type sick_leaveWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.sick_leaveWhereInput | Prisma.sick_leaveWhereInput[]
  OR?: Prisma.sick_leaveWhereInput[]
  NOT?: Prisma.sick_leaveWhereInput | Prisma.sick_leaveWhereInput[]
  employee_id?: Prisma.StringNullableFilter<"sick_leave"> | string | null
  accumulated?: Prisma.FloatNullableFilter<"sick_leave"> | number | null
  consumed?: Prisma.FloatNullableFilter<"sick_leave"> | number | null
  year?: Prisma.IntNullableFilter<"sick_leave"> | number | null
  created_at?: Prisma.BigIntNullableFilter<"sick_leave"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"sick_leave"> | bigint | number | null
}, "id">

export type sick_leaveOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  employee_id?: Prisma.SortOrderInput | Prisma.SortOrder
  accumulated?: Prisma.SortOrderInput | Prisma.SortOrder
  consumed?: Prisma.SortOrderInput | Prisma.SortOrder
  year?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.sick_leaveCountOrderByAggregateInput
  _avg?: Prisma.sick_leaveAvgOrderByAggregateInput
  _max?: Prisma.sick_leaveMaxOrderByAggregateInput
  _min?: Prisma.sick_leaveMinOrderByAggregateInput
  _sum?: Prisma.sick_leaveSumOrderByAggregateInput
}

export type sick_leaveScalarWhereWithAggregatesInput = {
  AND?: Prisma.sick_leaveScalarWhereWithAggregatesInput | Prisma.sick_leaveScalarWhereWithAggregatesInput[]
  OR?: Prisma.sick_leaveScalarWhereWithAggregatesInput[]
  NOT?: Prisma.sick_leaveScalarWhereWithAggregatesInput | Prisma.sick_leaveScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"sick_leave"> | string
  employee_id?: Prisma.StringNullableWithAggregatesFilter<"sick_leave"> | string | null
  accumulated?: Prisma.FloatNullableWithAggregatesFilter<"sick_leave"> | number | null
  consumed?: Prisma.FloatNullableWithAggregatesFilter<"sick_leave"> | number | null
  year?: Prisma.IntNullableWithAggregatesFilter<"sick_leave"> | number | null
  created_at?: Prisma.BigIntNullableWithAggregatesFilter<"sick_leave"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableWithAggregatesFilter<"sick_leave"> | bigint | number | null
}

export type sick_leaveCreateInput = {
  id: string
  employee_id?: string | null
  accumulated?: number | null
  consumed?: number | null
  year?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
}

export type sick_leaveUncheckedCreateInput = {
  id: string
  employee_id?: string | null
  accumulated?: number | null
  consumed?: number | null
  year?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
}

export type sick_leaveUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
}

export type sick_leaveUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
}

export type sick_leaveCreateManyInput = {
  id: string
  employee_id?: string | null
  accumulated?: number | null
  consumed?: number | null
  year?: number | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
}

export type sick_leaveUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
}

export type sick_leaveUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
}

export type sick_leaveCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  employee_id?: Prisma.SortOrder
  accumulated?: Prisma.SortOrder
  consumed?: Prisma.SortOrder
  year?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type sick_leaveAvgOrderByAggregateInput = {
  accumulated?: Prisma.SortOrder
  consumed?: Prisma.SortOrder
  year?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type sick_leaveMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  employee_id?: Prisma.SortOrder
  accumulated?: Prisma.SortOrder
  consumed?: Prisma.SortOrder
  year?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type sick_leaveMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  employee_id?: Prisma.SortOrder
  accumulated?: Prisma.SortOrder
  consumed?: Prisma.SortOrder
  year?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type sick_leaveSumOrderByAggregateInput = {
  accumulated?: Prisma.SortOrder
  consumed?: Prisma.SortOrder
  year?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}



export type sick_leaveSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  employee_id?: boolean
  accumulated?: boolean
  consumed?: boolean
  year?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["sick_leave"]>

export type sick_leaveSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  employee_id?: boolean
  accumulated?: boolean
  consumed?: boolean
  year?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["sick_leave"]>

export type sick_leaveSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  employee_id?: boolean
  accumulated?: boolean
  consumed?: boolean
  year?: boolean
  created_at?: boolean
  updated_at?: boolean
}, ExtArgs["result"]["sick_leave"]>

export type sick_leaveSelectScalar = {
  id?: boolean
  employee_id?: boolean
  accumulated?: boolean
  consumed?: boolean
  year?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type sick_leaveOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "employee_id" | "accumulated" | "consumed" | "year" | "created_at" | "updated_at", ExtArgs["result"]["sick_leave"]>

export type $sick_leavePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "sick_leave"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    employee_id: string | null
    accumulated: number | null
    consumed: number | null
    year: number | null
    created_at: bigint | null
    updated_at: bigint | null
  }, ExtArgs["result"]["sick_leave"]>
  composites: {}
}

export type sick_leaveGetPayload<S extends boolean | null | undefined | sick_leaveDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$sick_leavePayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for sick_leave.
 * 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__sick_leaveClient<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 sick_leave model
 */
export interface sick_leaveFieldRefs {
  readonly id: Prisma.FieldRef<"sick_leave", 'String'>
  readonly employee_id: Prisma.FieldRef<"sick_leave", 'String'>
  readonly accumulated: Prisma.FieldRef<"sick_leave", 'Float'>
  readonly consumed: Prisma.FieldRef<"sick_leave", 'Float'>
  readonly year: Prisma.FieldRef<"sick_leave", 'Int'>
  readonly created_at: Prisma.FieldRef<"sick_leave", 'BigInt'>
  readonly updated_at: Prisma.FieldRef<"sick_leave", 'BigInt'>
}
    

// Custom InputTypes
/**
 * sick_leave findUnique
 */
export type sick_leaveFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * Filter, which sick_leave to fetch.
   */
  where: Prisma.sick_leaveWhereUniqueInput
}

/**
 * sick_leave findUniqueOrThrow
 */
export type sick_leaveFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * Filter, which sick_leave to fetch.
   */
  where: Prisma.sick_leaveWhereUniqueInput
}

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

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

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

/**
 * sick_leave create
 */
export type sick_leaveCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * The data needed to create a sick_leave.
   */
  data: Prisma.XOR<Prisma.sick_leaveCreateInput, Prisma.sick_leaveUncheckedCreateInput>
}

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

/**
 * sick_leave createManyAndReturn
 */
export type sick_leaveCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * The data used to create many sick_leaves.
   */
  data: Prisma.sick_leaveCreateManyInput | Prisma.sick_leaveCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * sick_leave update
 */
export type sick_leaveUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * The data needed to update a sick_leave.
   */
  data: Prisma.XOR<Prisma.sick_leaveUpdateInput, Prisma.sick_leaveUncheckedUpdateInput>
  /**
   * Choose, which sick_leave to update.
   */
  where: Prisma.sick_leaveWhereUniqueInput
}

/**
 * sick_leave updateMany
 */
export type sick_leaveUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update sick_leaves.
   */
  data: Prisma.XOR<Prisma.sick_leaveUpdateManyMutationInput, Prisma.sick_leaveUncheckedUpdateManyInput>
  /**
   * Filter which sick_leaves to update
   */
  where?: Prisma.sick_leaveWhereInput
  /**
   * Limit how many sick_leaves to update.
   */
  limit?: number
}

/**
 * sick_leave updateManyAndReturn
 */
export type sick_leaveUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * The data used to update sick_leaves.
   */
  data: Prisma.XOR<Prisma.sick_leaveUpdateManyMutationInput, Prisma.sick_leaveUncheckedUpdateManyInput>
  /**
   * Filter which sick_leaves to update
   */
  where?: Prisma.sick_leaveWhereInput
  /**
   * Limit how many sick_leaves to update.
   */
  limit?: number
}

/**
 * sick_leave upsert
 */
export type sick_leaveUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * The filter to search for the sick_leave to update in case it exists.
   */
  where: Prisma.sick_leaveWhereUniqueInput
  /**
   * In case the sick_leave found by the `where` argument doesn't exist, create a new sick_leave with this data.
   */
  create: Prisma.XOR<Prisma.sick_leaveCreateInput, Prisma.sick_leaveUncheckedCreateInput>
  /**
   * In case the sick_leave was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.sick_leaveUpdateInput, Prisma.sick_leaveUncheckedUpdateInput>
}

/**
 * sick_leave delete
 */
export type sick_leaveDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the sick_leave
   */
  select?: Prisma.sick_leaveSelect<ExtArgs> | null
  /**
   * Omit specific fields from the sick_leave
   */
  omit?: Prisma.sick_leaveOmit<ExtArgs> | null
  /**
   * Filter which sick_leave to delete.
   */
  where: Prisma.sick_leaveWhereUniqueInput
}

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

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