targo-backend/prisma/generated/legacy/models/vacation_leave.ts

1337 lines
49 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `vacation_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 vacation_leave
*
*/
export type vacation_leaveModel = runtime.Types.Result.DefaultSelection<Prisma.$vacation_leavePayload>
export type AggregateVacation_leave = {
_count: Vacation_leaveCountAggregateOutputType | null
_avg: Vacation_leaveAvgAggregateOutputType | null
_sum: Vacation_leaveSumAggregateOutputType | null
_min: Vacation_leaveMinAggregateOutputType | null
_max: Vacation_leaveMaxAggregateOutputType | null
}
export type Vacation_leaveAvgAggregateOutputType = {
accumulated: number | null
consumed: number | null
created_at: number | null
updated_at: number | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
}
export type Vacation_leaveSumAggregateOutputType = {
accumulated: number | null
consumed: number | null
created_at: bigint | null
updated_at: bigint | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
}
export type Vacation_leaveMinAggregateOutputType = {
id: string | null
employee_id: string | null
accumulated: number | null
consumed: number | null
created_at: bigint | null
updated_at: bigint | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
}
export type Vacation_leaveMaxAggregateOutputType = {
id: string | null
employee_id: string | null
accumulated: number | null
consumed: number | null
created_at: bigint | null
updated_at: bigint | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
}
export type Vacation_leaveCountAggregateOutputType = {
id: number
employee_id: number
accumulated: number
consumed: number
created_at: number
updated_at: number
start_year: number
end_year: number
max_hours_per_year: number
_all: number
}
export type Vacation_leaveAvgAggregateInputType = {
accumulated?: true
consumed?: true
created_at?: true
updated_at?: true
start_year?: true
end_year?: true
max_hours_per_year?: true
}
export type Vacation_leaveSumAggregateInputType = {
accumulated?: true
consumed?: true
created_at?: true
updated_at?: true
start_year?: true
end_year?: true
max_hours_per_year?: true
}
export type Vacation_leaveMinAggregateInputType = {
id?: true
employee_id?: true
accumulated?: true
consumed?: true
created_at?: true
updated_at?: true
start_year?: true
end_year?: true
max_hours_per_year?: true
}
export type Vacation_leaveMaxAggregateInputType = {
id?: true
employee_id?: true
accumulated?: true
consumed?: true
created_at?: true
updated_at?: true
start_year?: true
end_year?: true
max_hours_per_year?: true
}
export type Vacation_leaveCountAggregateInputType = {
id?: true
employee_id?: true
accumulated?: true
consumed?: true
created_at?: true
updated_at?: true
start_year?: true
end_year?: true
max_hours_per_year?: true
_all?: true
}
export type Vacation_leaveAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which vacation_leave to aggregate.
*/
where?: Prisma.vacation_leaveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of vacation_leaves to fetch.
*/
orderBy?: Prisma.vacation_leaveOrderByWithRelationInput | Prisma.vacation_leaveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.vacation_leaveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` vacation_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` vacation_leaves.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned vacation_leaves
**/
_count?: true | Vacation_leaveCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Vacation_leaveAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Vacation_leaveSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Vacation_leaveMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Vacation_leaveMaxAggregateInputType
}
export type GetVacation_leaveAggregateType<T extends Vacation_leaveAggregateArgs> = {
[P in keyof T & keyof AggregateVacation_leave]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateVacation_leave[P]>
: Prisma.GetScalarType<T[P], AggregateVacation_leave[P]>
}
export type vacation_leaveGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.vacation_leaveWhereInput
orderBy?: Prisma.vacation_leaveOrderByWithAggregationInput | Prisma.vacation_leaveOrderByWithAggregationInput[]
by: Prisma.Vacation_leaveScalarFieldEnum[] | Prisma.Vacation_leaveScalarFieldEnum
having?: Prisma.vacation_leaveScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Vacation_leaveCountAggregateInputType | true
_avg?: Vacation_leaveAvgAggregateInputType
_sum?: Vacation_leaveSumAggregateInputType
_min?: Vacation_leaveMinAggregateInputType
_max?: Vacation_leaveMaxAggregateInputType
}
export type Vacation_leaveGroupByOutputType = {
id: string
employee_id: string | null
accumulated: number | null
consumed: number | null
created_at: bigint | null
updated_at: bigint | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
_count: Vacation_leaveCountAggregateOutputType | null
_avg: Vacation_leaveAvgAggregateOutputType | null
_sum: Vacation_leaveSumAggregateOutputType | null
_min: Vacation_leaveMinAggregateOutputType | null
_max: Vacation_leaveMaxAggregateOutputType | null
}
type GetVacation_leaveGroupByPayload<T extends vacation_leaveGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Vacation_leaveGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Vacation_leaveGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Vacation_leaveGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Vacation_leaveGroupByOutputType[P]>
}
>
>
export type vacation_leaveWhereInput = {
AND?: Prisma.vacation_leaveWhereInput | Prisma.vacation_leaveWhereInput[]
OR?: Prisma.vacation_leaveWhereInput[]
NOT?: Prisma.vacation_leaveWhereInput | Prisma.vacation_leaveWhereInput[]
id?: Prisma.UuidFilter<"vacation_leave"> | string
employee_id?: Prisma.StringNullableFilter<"vacation_leave"> | string | null
accumulated?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
consumed?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
created_at?: Prisma.BigIntNullableFilter<"vacation_leave"> | bigint | number | null
updated_at?: Prisma.BigIntNullableFilter<"vacation_leave"> | bigint | number | null
start_year?: Prisma.IntNullableFilter<"vacation_leave"> | number | null
end_year?: Prisma.IntNullableFilter<"vacation_leave"> | number | null
max_hours_per_year?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
}
export type vacation_leaveOrderByWithRelationInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrderInput | Prisma.SortOrder
accumulated?: Prisma.SortOrderInput | Prisma.SortOrder
consumed?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
start_year?: Prisma.SortOrderInput | Prisma.SortOrder
end_year?: Prisma.SortOrderInput | Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type vacation_leaveWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.vacation_leaveWhereInput | Prisma.vacation_leaveWhereInput[]
OR?: Prisma.vacation_leaveWhereInput[]
NOT?: Prisma.vacation_leaveWhereInput | Prisma.vacation_leaveWhereInput[]
employee_id?: Prisma.StringNullableFilter<"vacation_leave"> | string | null
accumulated?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
consumed?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
created_at?: Prisma.BigIntNullableFilter<"vacation_leave"> | bigint | number | null
updated_at?: Prisma.BigIntNullableFilter<"vacation_leave"> | bigint | number | null
start_year?: Prisma.IntNullableFilter<"vacation_leave"> | number | null
end_year?: Prisma.IntNullableFilter<"vacation_leave"> | number | null
max_hours_per_year?: Prisma.FloatNullableFilter<"vacation_leave"> | number | null
}, "id">
export type vacation_leaveOrderByWithAggregationInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrderInput | Prisma.SortOrder
accumulated?: Prisma.SortOrderInput | Prisma.SortOrder
consumed?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
start_year?: Prisma.SortOrderInput | Prisma.SortOrder
end_year?: Prisma.SortOrderInput | Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.vacation_leaveCountOrderByAggregateInput
_avg?: Prisma.vacation_leaveAvgOrderByAggregateInput
_max?: Prisma.vacation_leaveMaxOrderByAggregateInput
_min?: Prisma.vacation_leaveMinOrderByAggregateInput
_sum?: Prisma.vacation_leaveSumOrderByAggregateInput
}
export type vacation_leaveScalarWhereWithAggregatesInput = {
AND?: Prisma.vacation_leaveScalarWhereWithAggregatesInput | Prisma.vacation_leaveScalarWhereWithAggregatesInput[]
OR?: Prisma.vacation_leaveScalarWhereWithAggregatesInput[]
NOT?: Prisma.vacation_leaveScalarWhereWithAggregatesInput | Prisma.vacation_leaveScalarWhereWithAggregatesInput[]
id?: Prisma.UuidWithAggregatesFilter<"vacation_leave"> | string
employee_id?: Prisma.StringNullableWithAggregatesFilter<"vacation_leave"> | string | null
accumulated?: Prisma.FloatNullableWithAggregatesFilter<"vacation_leave"> | number | null
consumed?: Prisma.FloatNullableWithAggregatesFilter<"vacation_leave"> | number | null
created_at?: Prisma.BigIntNullableWithAggregatesFilter<"vacation_leave"> | bigint | number | null
updated_at?: Prisma.BigIntNullableWithAggregatesFilter<"vacation_leave"> | bigint | number | null
start_year?: Prisma.IntNullableWithAggregatesFilter<"vacation_leave"> | number | null
end_year?: Prisma.IntNullableWithAggregatesFilter<"vacation_leave"> | number | null
max_hours_per_year?: Prisma.FloatNullableWithAggregatesFilter<"vacation_leave"> | number | null
}
export type vacation_leaveCreateInput = {
id: string
employee_id?: string | null
accumulated?: number | null
consumed?: number | null
created_at?: bigint | number | null
updated_at?: bigint | number | null
start_year?: number | null
end_year?: number | null
max_hours_per_year?: number | null
}
export type vacation_leaveUncheckedCreateInput = {
id: string
employee_id?: string | null
accumulated?: number | null
consumed?: number | null
created_at?: bigint | number | null
updated_at?: bigint | number | null
start_year?: number | null
end_year?: number | null
max_hours_per_year?: number | null
}
export type vacation_leaveUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
start_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
end_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
max_hours_per_year?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
}
export type vacation_leaveUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
start_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
end_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
max_hours_per_year?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
}
export type vacation_leaveCreateManyInput = {
id: string
employee_id?: string | null
accumulated?: number | null
consumed?: number | null
created_at?: bigint | number | null
updated_at?: bigint | number | null
start_year?: number | null
end_year?: number | null
max_hours_per_year?: number | null
}
export type vacation_leaveUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
start_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
end_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
max_hours_per_year?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
}
export type vacation_leaveUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
accumulated?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
consumed?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
start_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
end_year?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
max_hours_per_year?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
}
export type vacation_leaveCountOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
accumulated?: Prisma.SortOrder
consumed?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
start_year?: Prisma.SortOrder
end_year?: Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrder
}
export type vacation_leaveAvgOrderByAggregateInput = {
accumulated?: Prisma.SortOrder
consumed?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
start_year?: Prisma.SortOrder
end_year?: Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrder
}
export type vacation_leaveMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
accumulated?: Prisma.SortOrder
consumed?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
start_year?: Prisma.SortOrder
end_year?: Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrder
}
export type vacation_leaveMinOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
accumulated?: Prisma.SortOrder
consumed?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
start_year?: Prisma.SortOrder
end_year?: Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrder
}
export type vacation_leaveSumOrderByAggregateInput = {
accumulated?: Prisma.SortOrder
consumed?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
start_year?: Prisma.SortOrder
end_year?: Prisma.SortOrder
max_hours_per_year?: Prisma.SortOrder
}
export type vacation_leaveSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
accumulated?: boolean
consumed?: boolean
created_at?: boolean
updated_at?: boolean
start_year?: boolean
end_year?: boolean
max_hours_per_year?: boolean
}, ExtArgs["result"]["vacation_leave"]>
export type vacation_leaveSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
accumulated?: boolean
consumed?: boolean
created_at?: boolean
updated_at?: boolean
start_year?: boolean
end_year?: boolean
max_hours_per_year?: boolean
}, ExtArgs["result"]["vacation_leave"]>
export type vacation_leaveSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
accumulated?: boolean
consumed?: boolean
created_at?: boolean
updated_at?: boolean
start_year?: boolean
end_year?: boolean
max_hours_per_year?: boolean
}, ExtArgs["result"]["vacation_leave"]>
export type vacation_leaveSelectScalar = {
id?: boolean
employee_id?: boolean
accumulated?: boolean
consumed?: boolean
created_at?: boolean
updated_at?: boolean
start_year?: boolean
end_year?: boolean
max_hours_per_year?: boolean
}
export type vacation_leaveOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "employee_id" | "accumulated" | "consumed" | "created_at" | "updated_at" | "start_year" | "end_year" | "max_hours_per_year", ExtArgs["result"]["vacation_leave"]>
export type $vacation_leavePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "vacation_leave"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
employee_id: string | null
accumulated: number | null
consumed: number | null
created_at: bigint | null
updated_at: bigint | null
start_year: number | null
end_year: number | null
max_hours_per_year: number | null
}, ExtArgs["result"]["vacation_leave"]>
composites: {}
}
export type vacation_leaveGetPayload<S extends boolean | null | undefined | vacation_leaveDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload, S>
export type vacation_leaveCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<vacation_leaveFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Vacation_leaveCountAggregateInputType | true
}
export interface vacation_leaveDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['vacation_leave'], meta: { name: 'vacation_leave' } }
/**
* Find zero or one Vacation_leave that matches the filter.
* @param {vacation_leaveFindUniqueArgs} args - Arguments to find a Vacation_leave
* @example
* // Get one Vacation_leave
* const vacation_leave = await prisma.vacation_leave.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends vacation_leaveFindUniqueArgs>(args: Prisma.SelectSubset<T, vacation_leaveFindUniqueArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Vacation_leave that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {vacation_leaveFindUniqueOrThrowArgs} args - Arguments to find a Vacation_leave
* @example
* // Get one Vacation_leave
* const vacation_leave = await prisma.vacation_leave.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends vacation_leaveFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, vacation_leaveFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Vacation_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 {vacation_leaveFindFirstArgs} args - Arguments to find a Vacation_leave
* @example
* // Get one Vacation_leave
* const vacation_leave = await prisma.vacation_leave.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends vacation_leaveFindFirstArgs>(args?: Prisma.SelectSubset<T, vacation_leaveFindFirstArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Vacation_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 {vacation_leaveFindFirstOrThrowArgs} args - Arguments to find a Vacation_leave
* @example
* // Get one Vacation_leave
* const vacation_leave = await prisma.vacation_leave.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends vacation_leaveFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, vacation_leaveFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Vacation_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 {vacation_leaveFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Vacation_leaves
* const vacation_leaves = await prisma.vacation_leave.findMany()
*
* // Get first 10 Vacation_leaves
* const vacation_leaves = await prisma.vacation_leave.findMany({ take: 10 })
*
* // Only select the `id`
* const vacation_leaveWithIdOnly = await prisma.vacation_leave.findMany({ select: { id: true } })
*
*/
findMany<T extends vacation_leaveFindManyArgs>(args?: Prisma.SelectSubset<T, vacation_leaveFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Vacation_leave.
* @param {vacation_leaveCreateArgs} args - Arguments to create a Vacation_leave.
* @example
* // Create one Vacation_leave
* const Vacation_leave = await prisma.vacation_leave.create({
* data: {
* // ... data to create a Vacation_leave
* }
* })
*
*/
create<T extends vacation_leaveCreateArgs>(args: Prisma.SelectSubset<T, vacation_leaveCreateArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Vacation_leaves.
* @param {vacation_leaveCreateManyArgs} args - Arguments to create many Vacation_leaves.
* @example
* // Create many Vacation_leaves
* const vacation_leave = await prisma.vacation_leave.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends vacation_leaveCreateManyArgs>(args?: Prisma.SelectSubset<T, vacation_leaveCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Vacation_leaves and returns the data saved in the database.
* @param {vacation_leaveCreateManyAndReturnArgs} args - Arguments to create many Vacation_leaves.
* @example
* // Create many Vacation_leaves
* const vacation_leave = await prisma.vacation_leave.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Vacation_leaves and only return the `id`
* const vacation_leaveWithIdOnly = await prisma.vacation_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 vacation_leaveCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, vacation_leaveCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Vacation_leave.
* @param {vacation_leaveDeleteArgs} args - Arguments to delete one Vacation_leave.
* @example
* // Delete one Vacation_leave
* const Vacation_leave = await prisma.vacation_leave.delete({
* where: {
* // ... filter to delete one Vacation_leave
* }
* })
*
*/
delete<T extends vacation_leaveDeleteArgs>(args: Prisma.SelectSubset<T, vacation_leaveDeleteArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Vacation_leave.
* @param {vacation_leaveUpdateArgs} args - Arguments to update one Vacation_leave.
* @example
* // Update one Vacation_leave
* const vacation_leave = await prisma.vacation_leave.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends vacation_leaveUpdateArgs>(args: Prisma.SelectSubset<T, vacation_leaveUpdateArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Vacation_leaves.
* @param {vacation_leaveDeleteManyArgs} args - Arguments to filter Vacation_leaves to delete.
* @example
* // Delete a few Vacation_leaves
* const { count } = await prisma.vacation_leave.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends vacation_leaveDeleteManyArgs>(args?: Prisma.SelectSubset<T, vacation_leaveDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Vacation_leaves.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {vacation_leaveUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Vacation_leaves
* const vacation_leave = await prisma.vacation_leave.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends vacation_leaveUpdateManyArgs>(args: Prisma.SelectSubset<T, vacation_leaveUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Vacation_leaves and returns the data updated in the database.
* @param {vacation_leaveUpdateManyAndReturnArgs} args - Arguments to update many Vacation_leaves.
* @example
* // Update many Vacation_leaves
* const vacation_leave = await prisma.vacation_leave.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Vacation_leaves and only return the `id`
* const vacation_leaveWithIdOnly = await prisma.vacation_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 vacation_leaveUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, vacation_leaveUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Vacation_leave.
* @param {vacation_leaveUpsertArgs} args - Arguments to update or create a Vacation_leave.
* @example
* // Update or create a Vacation_leave
* const vacation_leave = await prisma.vacation_leave.upsert({
* create: {
* // ... data to create a Vacation_leave
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Vacation_leave we want to update
* }
* })
*/
upsert<T extends vacation_leaveUpsertArgs>(args: Prisma.SelectSubset<T, vacation_leaveUpsertArgs<ExtArgs>>): Prisma.Prisma__vacation_leaveClient<runtime.Types.Result.GetResult<Prisma.$vacation_leavePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Vacation_leaves.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {vacation_leaveCountArgs} args - Arguments to filter Vacation_leaves to count.
* @example
* // Count the number of Vacation_leaves
* const count = await prisma.vacation_leave.count({
* where: {
* // ... the filter for the Vacation_leaves we want to count
* }
* })
**/
count<T extends vacation_leaveCountArgs>(
args?: Prisma.Subset<T, vacation_leaveCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Vacation_leaveCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Vacation_leave.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Vacation_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 Vacation_leaveAggregateArgs>(args: Prisma.Subset<T, Vacation_leaveAggregateArgs>): Prisma.PrismaPromise<GetVacation_leaveAggregateType<T>>
/**
* Group by Vacation_leave.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {vacation_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 vacation_leaveGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: vacation_leaveGroupByArgs['orderBy'] }
: { orderBy?: vacation_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, vacation_leaveGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVacation_leaveGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the vacation_leave model
*/
readonly fields: vacation_leaveFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for vacation_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__vacation_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 vacation_leave model
*/
export interface vacation_leaveFieldRefs {
readonly id: Prisma.FieldRef<"vacation_leave", 'String'>
readonly employee_id: Prisma.FieldRef<"vacation_leave", 'String'>
readonly accumulated: Prisma.FieldRef<"vacation_leave", 'Float'>
readonly consumed: Prisma.FieldRef<"vacation_leave", 'Float'>
readonly created_at: Prisma.FieldRef<"vacation_leave", 'BigInt'>
readonly updated_at: Prisma.FieldRef<"vacation_leave", 'BigInt'>
readonly start_year: Prisma.FieldRef<"vacation_leave", 'Int'>
readonly end_year: Prisma.FieldRef<"vacation_leave", 'Int'>
readonly max_hours_per_year: Prisma.FieldRef<"vacation_leave", 'Float'>
}
// Custom InputTypes
/**
* vacation_leave findUnique
*/
export type vacation_leaveFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter, which vacation_leave to fetch.
*/
where: Prisma.vacation_leaveWhereUniqueInput
}
/**
* vacation_leave findUniqueOrThrow
*/
export type vacation_leaveFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter, which vacation_leave to fetch.
*/
where: Prisma.vacation_leaveWhereUniqueInput
}
/**
* vacation_leave findFirst
*/
export type vacation_leaveFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter, which vacation_leave to fetch.
*/
where?: Prisma.vacation_leaveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of vacation_leaves to fetch.
*/
orderBy?: Prisma.vacation_leaveOrderByWithRelationInput | Prisma.vacation_leaveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for vacation_leaves.
*/
cursor?: Prisma.vacation_leaveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` vacation_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` vacation_leaves.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of vacation_leaves.
*/
distinct?: Prisma.Vacation_leaveScalarFieldEnum | Prisma.Vacation_leaveScalarFieldEnum[]
}
/**
* vacation_leave findFirstOrThrow
*/
export type vacation_leaveFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter, which vacation_leave to fetch.
*/
where?: Prisma.vacation_leaveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of vacation_leaves to fetch.
*/
orderBy?: Prisma.vacation_leaveOrderByWithRelationInput | Prisma.vacation_leaveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for vacation_leaves.
*/
cursor?: Prisma.vacation_leaveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` vacation_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` vacation_leaves.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of vacation_leaves.
*/
distinct?: Prisma.Vacation_leaveScalarFieldEnum | Prisma.Vacation_leaveScalarFieldEnum[]
}
/**
* vacation_leave findMany
*/
export type vacation_leaveFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter, which vacation_leaves to fetch.
*/
where?: Prisma.vacation_leaveWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of vacation_leaves to fetch.
*/
orderBy?: Prisma.vacation_leaveOrderByWithRelationInput | Prisma.vacation_leaveOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing vacation_leaves.
*/
cursor?: Prisma.vacation_leaveWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` vacation_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` vacation_leaves.
*/
skip?: number
distinct?: Prisma.Vacation_leaveScalarFieldEnum | Prisma.Vacation_leaveScalarFieldEnum[]
}
/**
* vacation_leave create
*/
export type vacation_leaveCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* The data needed to create a vacation_leave.
*/
data: Prisma.XOR<Prisma.vacation_leaveCreateInput, Prisma.vacation_leaveUncheckedCreateInput>
}
/**
* vacation_leave createMany
*/
export type vacation_leaveCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many vacation_leaves.
*/
data: Prisma.vacation_leaveCreateManyInput | Prisma.vacation_leaveCreateManyInput[]
skipDuplicates?: boolean
}
/**
* vacation_leave createManyAndReturn
*/
export type vacation_leaveCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* The data used to create many vacation_leaves.
*/
data: Prisma.vacation_leaveCreateManyInput | Prisma.vacation_leaveCreateManyInput[]
skipDuplicates?: boolean
}
/**
* vacation_leave update
*/
export type vacation_leaveUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* The data needed to update a vacation_leave.
*/
data: Prisma.XOR<Prisma.vacation_leaveUpdateInput, Prisma.vacation_leaveUncheckedUpdateInput>
/**
* Choose, which vacation_leave to update.
*/
where: Prisma.vacation_leaveWhereUniqueInput
}
/**
* vacation_leave updateMany
*/
export type vacation_leaveUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update vacation_leaves.
*/
data: Prisma.XOR<Prisma.vacation_leaveUpdateManyMutationInput, Prisma.vacation_leaveUncheckedUpdateManyInput>
/**
* Filter which vacation_leaves to update
*/
where?: Prisma.vacation_leaveWhereInput
/**
* Limit how many vacation_leaves to update.
*/
limit?: number
}
/**
* vacation_leave updateManyAndReturn
*/
export type vacation_leaveUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* The data used to update vacation_leaves.
*/
data: Prisma.XOR<Prisma.vacation_leaveUpdateManyMutationInput, Prisma.vacation_leaveUncheckedUpdateManyInput>
/**
* Filter which vacation_leaves to update
*/
where?: Prisma.vacation_leaveWhereInput
/**
* Limit how many vacation_leaves to update.
*/
limit?: number
}
/**
* vacation_leave upsert
*/
export type vacation_leaveUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* The filter to search for the vacation_leave to update in case it exists.
*/
where: Prisma.vacation_leaveWhereUniqueInput
/**
* In case the vacation_leave found by the `where` argument doesn't exist, create a new vacation_leave with this data.
*/
create: Prisma.XOR<Prisma.vacation_leaveCreateInput, Prisma.vacation_leaveUncheckedCreateInput>
/**
* In case the vacation_leave was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.vacation_leaveUpdateInput, Prisma.vacation_leaveUncheckedUpdateInput>
}
/**
* vacation_leave delete
*/
export type vacation_leaveDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
/**
* Filter which vacation_leave to delete.
*/
where: Prisma.vacation_leaveWhereUniqueInput
}
/**
* vacation_leave deleteMany
*/
export type vacation_leaveDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which vacation_leaves to delete
*/
where?: Prisma.vacation_leaveWhereInput
/**
* Limit how many vacation_leaves to delete.
*/
limit?: number
}
/**
* vacation_leave without action
*/
export type vacation_leaveDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the vacation_leave
*/
select?: Prisma.vacation_leaveSelect<ExtArgs> | null
/**
* Omit specific fields from the vacation_leave
*/
omit?: Prisma.vacation_leaveOmit<ExtArgs> | null
}