1394 lines
52 KiB
TypeScript
1394 lines
52 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 `PaidTimeOff` 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 PaidTimeOff
|
|
*
|
|
*/
|
|
export type PaidTimeOffModel = runtime.Types.Result.DefaultSelection<Prisma.$PaidTimeOffPayload>
|
|
|
|
export type AggregatePaidTimeOff = {
|
|
_count: PaidTimeOffCountAggregateOutputType | null
|
|
_avg: PaidTimeOffAvgAggregateOutputType | null
|
|
_sum: PaidTimeOffSumAggregateOutputType | null
|
|
_min: PaidTimeOffMinAggregateOutputType | null
|
|
_max: PaidTimeOffMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PaidTimeOffAvgAggregateOutputType = {
|
|
id: number | null
|
|
employee_id: number | null
|
|
vacation_hours: runtime.Decimal | null
|
|
banked_hours: runtime.Decimal | null
|
|
sick_hours: runtime.Decimal | null
|
|
}
|
|
|
|
export type PaidTimeOffSumAggregateOutputType = {
|
|
id: number | null
|
|
employee_id: number | null
|
|
vacation_hours: runtime.Decimal | null
|
|
banked_hours: runtime.Decimal | null
|
|
sick_hours: runtime.Decimal | null
|
|
}
|
|
|
|
export type PaidTimeOffMinAggregateOutputType = {
|
|
id: number | null
|
|
employee_id: number | null
|
|
vacation_hours: runtime.Decimal | null
|
|
banked_hours: runtime.Decimal | null
|
|
sick_hours: runtime.Decimal | null
|
|
last_updated: Date | null
|
|
}
|
|
|
|
export type PaidTimeOffMaxAggregateOutputType = {
|
|
id: number | null
|
|
employee_id: number | null
|
|
vacation_hours: runtime.Decimal | null
|
|
banked_hours: runtime.Decimal | null
|
|
sick_hours: runtime.Decimal | null
|
|
last_updated: Date | null
|
|
}
|
|
|
|
export type PaidTimeOffCountAggregateOutputType = {
|
|
id: number
|
|
employee_id: number
|
|
vacation_hours: number
|
|
banked_hours: number
|
|
sick_hours: number
|
|
last_updated: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PaidTimeOffAvgAggregateInputType = {
|
|
id?: true
|
|
employee_id?: true
|
|
vacation_hours?: true
|
|
banked_hours?: true
|
|
sick_hours?: true
|
|
}
|
|
|
|
export type PaidTimeOffSumAggregateInputType = {
|
|
id?: true
|
|
employee_id?: true
|
|
vacation_hours?: true
|
|
banked_hours?: true
|
|
sick_hours?: true
|
|
}
|
|
|
|
export type PaidTimeOffMinAggregateInputType = {
|
|
id?: true
|
|
employee_id?: true
|
|
vacation_hours?: true
|
|
banked_hours?: true
|
|
sick_hours?: true
|
|
last_updated?: true
|
|
}
|
|
|
|
export type PaidTimeOffMaxAggregateInputType = {
|
|
id?: true
|
|
employee_id?: true
|
|
vacation_hours?: true
|
|
banked_hours?: true
|
|
sick_hours?: true
|
|
last_updated?: true
|
|
}
|
|
|
|
export type PaidTimeOffCountAggregateInputType = {
|
|
id?: true
|
|
employee_id?: true
|
|
vacation_hours?: true
|
|
banked_hours?: true
|
|
sick_hours?: true
|
|
last_updated?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PaidTimeOffAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PaidTimeOff to aggregate.
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PaidTimeOffs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PaidTimeOffOrderByWithRelationInput | Prisma.PaidTimeOffOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PaidTimeOffWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PaidTimeOffs 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` PaidTimeOffs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PaidTimeOffs
|
|
**/
|
|
_count?: true | PaidTimeOffCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: PaidTimeOffAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: PaidTimeOffSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PaidTimeOffMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PaidTimeOffMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPaidTimeOffAggregateType<T extends PaidTimeOffAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePaidTimeOff]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePaidTimeOff[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePaidTimeOff[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PaidTimeOffGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
orderBy?: Prisma.PaidTimeOffOrderByWithAggregationInput | Prisma.PaidTimeOffOrderByWithAggregationInput[]
|
|
by: Prisma.PaidTimeOffScalarFieldEnum[] | Prisma.PaidTimeOffScalarFieldEnum
|
|
having?: Prisma.PaidTimeOffScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PaidTimeOffCountAggregateInputType | true
|
|
_avg?: PaidTimeOffAvgAggregateInputType
|
|
_sum?: PaidTimeOffSumAggregateInputType
|
|
_min?: PaidTimeOffMinAggregateInputType
|
|
_max?: PaidTimeOffMaxAggregateInputType
|
|
}
|
|
|
|
export type PaidTimeOffGroupByOutputType = {
|
|
id: number
|
|
employee_id: number
|
|
vacation_hours: runtime.Decimal
|
|
banked_hours: runtime.Decimal
|
|
sick_hours: runtime.Decimal
|
|
last_updated: Date | null
|
|
_count: PaidTimeOffCountAggregateOutputType | null
|
|
_avg: PaidTimeOffAvgAggregateOutputType | null
|
|
_sum: PaidTimeOffSumAggregateOutputType | null
|
|
_min: PaidTimeOffMinAggregateOutputType | null
|
|
_max: PaidTimeOffMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetPaidTimeOffGroupByPayload<T extends PaidTimeOffGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PaidTimeOffGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PaidTimeOffGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PaidTimeOffGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PaidTimeOffGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PaidTimeOffWhereInput = {
|
|
AND?: Prisma.PaidTimeOffWhereInput | Prisma.PaidTimeOffWhereInput[]
|
|
OR?: Prisma.PaidTimeOffWhereInput[]
|
|
NOT?: Prisma.PaidTimeOffWhereInput | Prisma.PaidTimeOffWhereInput[]
|
|
id?: Prisma.IntFilter<"PaidTimeOff"> | number
|
|
employee_id?: Prisma.IntFilter<"PaidTimeOff"> | number
|
|
vacation_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.DateTimeNullableFilter<"PaidTimeOff"> | Date | string | null
|
|
employee?: Prisma.XOR<Prisma.EmployeesScalarRelationFilter, Prisma.EmployeesWhereInput>
|
|
}
|
|
|
|
export type PaidTimeOffOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
last_updated?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
employee?: Prisma.EmployeesOrderByWithRelationInput
|
|
}
|
|
|
|
export type PaidTimeOffWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
employee_id?: number
|
|
AND?: Prisma.PaidTimeOffWhereInput | Prisma.PaidTimeOffWhereInput[]
|
|
OR?: Prisma.PaidTimeOffWhereInput[]
|
|
NOT?: Prisma.PaidTimeOffWhereInput | Prisma.PaidTimeOffWhereInput[]
|
|
vacation_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.DateTimeNullableFilter<"PaidTimeOff"> | Date | string | null
|
|
employee?: Prisma.XOR<Prisma.EmployeesScalarRelationFilter, Prisma.EmployeesWhereInput>
|
|
}, "id" | "employee_id">
|
|
|
|
export type PaidTimeOffOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
last_updated?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.PaidTimeOffCountOrderByAggregateInput
|
|
_avg?: Prisma.PaidTimeOffAvgOrderByAggregateInput
|
|
_max?: Prisma.PaidTimeOffMaxOrderByAggregateInput
|
|
_min?: Prisma.PaidTimeOffMinOrderByAggregateInput
|
|
_sum?: Prisma.PaidTimeOffSumOrderByAggregateInput
|
|
}
|
|
|
|
export type PaidTimeOffScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PaidTimeOffScalarWhereWithAggregatesInput | Prisma.PaidTimeOffScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PaidTimeOffScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PaidTimeOffScalarWhereWithAggregatesInput | Prisma.PaidTimeOffScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"PaidTimeOff"> | number
|
|
employee_id?: Prisma.IntWithAggregatesFilter<"PaidTimeOff"> | number
|
|
vacation_hours?: Prisma.DecimalWithAggregatesFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalWithAggregatesFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalWithAggregatesFilter<"PaidTimeOff"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.DateTimeNullableWithAggregatesFilter<"PaidTimeOff"> | Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffCreateInput = {
|
|
vacation_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Date | string | null
|
|
employee: Prisma.EmployeesCreateNestedOneWithoutPaid_time_offInput
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedCreateInput = {
|
|
id?: number
|
|
employee_id: number
|
|
vacation_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffUpdateInput = {
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
employee?: Prisma.EmployeesUpdateOneRequiredWithoutPaid_time_offNestedInput
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
employee_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffCreateManyInput = {
|
|
id?: number
|
|
employee_id: number
|
|
vacation_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffUpdateManyMutationInput = {
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
employee_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffNullableScalarRelationFilter = {
|
|
is?: Prisma.PaidTimeOffWhereInput | null
|
|
isNot?: Prisma.PaidTimeOffWhereInput | null
|
|
}
|
|
|
|
export type PaidTimeOffCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
last_updated?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PaidTimeOffAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PaidTimeOffMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
last_updated?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PaidTimeOffMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
last_updated?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PaidTimeOffSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
employee_id?: Prisma.SortOrder
|
|
vacation_hours?: Prisma.SortOrder
|
|
banked_hours?: Prisma.SortOrder
|
|
sick_hours?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PaidTimeOffCreateNestedOneWithoutEmployeeInput = {
|
|
create?: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
connectOrCreate?: Prisma.PaidTimeOffCreateOrConnectWithoutEmployeeInput
|
|
connect?: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedCreateNestedOneWithoutEmployeeInput = {
|
|
create?: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
connectOrCreate?: Prisma.PaidTimeOffCreateOrConnectWithoutEmployeeInput
|
|
connect?: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
export type PaidTimeOffUpdateOneWithoutEmployeeNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
connectOrCreate?: Prisma.PaidTimeOffCreateOrConnectWithoutEmployeeInput
|
|
upsert?: Prisma.PaidTimeOffUpsertWithoutEmployeeInput
|
|
disconnect?: Prisma.PaidTimeOffWhereInput | boolean
|
|
delete?: Prisma.PaidTimeOffWhereInput | boolean
|
|
connect?: Prisma.PaidTimeOffWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PaidTimeOffUpdateToOneWithWhereWithoutEmployeeInput, Prisma.PaidTimeOffUpdateWithoutEmployeeInput>, Prisma.PaidTimeOffUncheckedUpdateWithoutEmployeeInput>
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedUpdateOneWithoutEmployeeNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
connectOrCreate?: Prisma.PaidTimeOffCreateOrConnectWithoutEmployeeInput
|
|
upsert?: Prisma.PaidTimeOffUpsertWithoutEmployeeInput
|
|
disconnect?: Prisma.PaidTimeOffWhereInput | boolean
|
|
delete?: Prisma.PaidTimeOffWhereInput | boolean
|
|
connect?: Prisma.PaidTimeOffWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PaidTimeOffUpdateToOneWithWhereWithoutEmployeeInput, Prisma.PaidTimeOffUpdateWithoutEmployeeInput>, Prisma.PaidTimeOffUncheckedUpdateWithoutEmployeeInput>
|
|
}
|
|
|
|
export type DecimalFieldUpdateOperationsInput = {
|
|
set?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
}
|
|
|
|
export type PaidTimeOffCreateWithoutEmployeeInput = {
|
|
vacation_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedCreateWithoutEmployeeInput = {
|
|
id?: number
|
|
vacation_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffCreateOrConnectWithoutEmployeeInput = {
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
}
|
|
|
|
export type PaidTimeOffUpsertWithoutEmployeeInput = {
|
|
update: Prisma.XOR<Prisma.PaidTimeOffUpdateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedUpdateWithoutEmployeeInput>
|
|
create: Prisma.XOR<Prisma.PaidTimeOffCreateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedCreateWithoutEmployeeInput>
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
}
|
|
|
|
export type PaidTimeOffUpdateToOneWithWhereWithoutEmployeeInput = {
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
data: Prisma.XOR<Prisma.PaidTimeOffUpdateWithoutEmployeeInput, Prisma.PaidTimeOffUncheckedUpdateWithoutEmployeeInput>
|
|
}
|
|
|
|
export type PaidTimeOffUpdateWithoutEmployeeInput = {
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type PaidTimeOffUncheckedUpdateWithoutEmployeeInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
vacation_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
banked_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
sick_hours?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
last_updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type PaidTimeOffSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
employee_id?: boolean
|
|
vacation_hours?: boolean
|
|
banked_hours?: boolean
|
|
sick_hours?: boolean
|
|
last_updated?: boolean
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["paidTimeOff"]>
|
|
|
|
export type PaidTimeOffSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
employee_id?: boolean
|
|
vacation_hours?: boolean
|
|
banked_hours?: boolean
|
|
sick_hours?: boolean
|
|
last_updated?: boolean
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["paidTimeOff"]>
|
|
|
|
export type PaidTimeOffSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
employee_id?: boolean
|
|
vacation_hours?: boolean
|
|
banked_hours?: boolean
|
|
sick_hours?: boolean
|
|
last_updated?: boolean
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["paidTimeOff"]>
|
|
|
|
export type PaidTimeOffSelectScalar = {
|
|
id?: boolean
|
|
employee_id?: boolean
|
|
vacation_hours?: boolean
|
|
banked_hours?: boolean
|
|
sick_hours?: boolean
|
|
last_updated?: boolean
|
|
}
|
|
|
|
export type PaidTimeOffOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "employee_id" | "vacation_hours" | "banked_hours" | "sick_hours" | "last_updated", ExtArgs["result"]["paidTimeOff"]>
|
|
export type PaidTimeOffInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}
|
|
export type PaidTimeOffIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}
|
|
export type PaidTimeOffIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
employee?: boolean | Prisma.EmployeesDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PaidTimeOffPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PaidTimeOff"
|
|
objects: {
|
|
employee: Prisma.$EmployeesPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
employee_id: number
|
|
vacation_hours: runtime.Decimal
|
|
banked_hours: runtime.Decimal
|
|
sick_hours: runtime.Decimal
|
|
last_updated: Date | null
|
|
}, ExtArgs["result"]["paidTimeOff"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PaidTimeOffGetPayload<S extends boolean | null | undefined | PaidTimeOffDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload, S>
|
|
|
|
export type PaidTimeOffCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PaidTimeOffFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PaidTimeOffCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PaidTimeOffDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PaidTimeOff'], meta: { name: 'PaidTimeOff' } }
|
|
/**
|
|
* Find zero or one PaidTimeOff that matches the filter.
|
|
* @param {PaidTimeOffFindUniqueArgs} args - Arguments to find a PaidTimeOff
|
|
* @example
|
|
* // Get one PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PaidTimeOffFindUniqueArgs>(args: Prisma.SelectSubset<T, PaidTimeOffFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PaidTimeOff that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PaidTimeOffFindUniqueOrThrowArgs} args - Arguments to find a PaidTimeOff
|
|
* @example
|
|
* // Get one PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PaidTimeOffFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PaidTimeOffFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PaidTimeOff 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 {PaidTimeOffFindFirstArgs} args - Arguments to find a PaidTimeOff
|
|
* @example
|
|
* // Get one PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PaidTimeOffFindFirstArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffFindFirstArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PaidTimeOff 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 {PaidTimeOffFindFirstOrThrowArgs} args - Arguments to find a PaidTimeOff
|
|
* @example
|
|
* // Get one PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PaidTimeOffFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PaidTimeOffs 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 {PaidTimeOffFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PaidTimeOffs
|
|
* const paidTimeOffs = await prisma.paidTimeOff.findMany()
|
|
*
|
|
* // Get first 10 PaidTimeOffs
|
|
* const paidTimeOffs = await prisma.paidTimeOff.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const paidTimeOffWithIdOnly = await prisma.paidTimeOff.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PaidTimeOffFindManyArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PaidTimeOff.
|
|
* @param {PaidTimeOffCreateArgs} args - Arguments to create a PaidTimeOff.
|
|
* @example
|
|
* // Create one PaidTimeOff
|
|
* const PaidTimeOff = await prisma.paidTimeOff.create({
|
|
* data: {
|
|
* // ... data to create a PaidTimeOff
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PaidTimeOffCreateArgs>(args: Prisma.SelectSubset<T, PaidTimeOffCreateArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PaidTimeOffs.
|
|
* @param {PaidTimeOffCreateManyArgs} args - Arguments to create many PaidTimeOffs.
|
|
* @example
|
|
* // Create many PaidTimeOffs
|
|
* const paidTimeOff = await prisma.paidTimeOff.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PaidTimeOffCreateManyArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PaidTimeOffs and returns the data saved in the database.
|
|
* @param {PaidTimeOffCreateManyAndReturnArgs} args - Arguments to create many PaidTimeOffs.
|
|
* @example
|
|
* // Create many PaidTimeOffs
|
|
* const paidTimeOff = await prisma.paidTimeOff.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PaidTimeOffs and only return the `id`
|
|
* const paidTimeOffWithIdOnly = await prisma.paidTimeOff.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 PaidTimeOffCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PaidTimeOff.
|
|
* @param {PaidTimeOffDeleteArgs} args - Arguments to delete one PaidTimeOff.
|
|
* @example
|
|
* // Delete one PaidTimeOff
|
|
* const PaidTimeOff = await prisma.paidTimeOff.delete({
|
|
* where: {
|
|
* // ... filter to delete one PaidTimeOff
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PaidTimeOffDeleteArgs>(args: Prisma.SelectSubset<T, PaidTimeOffDeleteArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PaidTimeOff.
|
|
* @param {PaidTimeOffUpdateArgs} args - Arguments to update one PaidTimeOff.
|
|
* @example
|
|
* // Update one PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PaidTimeOffUpdateArgs>(args: Prisma.SelectSubset<T, PaidTimeOffUpdateArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PaidTimeOffs.
|
|
* @param {PaidTimeOffDeleteManyArgs} args - Arguments to filter PaidTimeOffs to delete.
|
|
* @example
|
|
* // Delete a few PaidTimeOffs
|
|
* const { count } = await prisma.paidTimeOff.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PaidTimeOffDeleteManyArgs>(args?: Prisma.SelectSubset<T, PaidTimeOffDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PaidTimeOffs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PaidTimeOffUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PaidTimeOffs
|
|
* const paidTimeOff = await prisma.paidTimeOff.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PaidTimeOffUpdateManyArgs>(args: Prisma.SelectSubset<T, PaidTimeOffUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PaidTimeOffs and returns the data updated in the database.
|
|
* @param {PaidTimeOffUpdateManyAndReturnArgs} args - Arguments to update many PaidTimeOffs.
|
|
* @example
|
|
* // Update many PaidTimeOffs
|
|
* const paidTimeOff = await prisma.paidTimeOff.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PaidTimeOffs and only return the `id`
|
|
* const paidTimeOffWithIdOnly = await prisma.paidTimeOff.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 PaidTimeOffUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PaidTimeOffUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PaidTimeOff.
|
|
* @param {PaidTimeOffUpsertArgs} args - Arguments to update or create a PaidTimeOff.
|
|
* @example
|
|
* // Update or create a PaidTimeOff
|
|
* const paidTimeOff = await prisma.paidTimeOff.upsert({
|
|
* create: {
|
|
* // ... data to create a PaidTimeOff
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PaidTimeOff we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PaidTimeOffUpsertArgs>(args: Prisma.SelectSubset<T, PaidTimeOffUpsertArgs<ExtArgs>>): Prisma.Prisma__PaidTimeOffClient<runtime.Types.Result.GetResult<Prisma.$PaidTimeOffPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PaidTimeOffs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PaidTimeOffCountArgs} args - Arguments to filter PaidTimeOffs to count.
|
|
* @example
|
|
* // Count the number of PaidTimeOffs
|
|
* const count = await prisma.paidTimeOff.count({
|
|
* where: {
|
|
* // ... the filter for the PaidTimeOffs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PaidTimeOffCountArgs>(
|
|
args?: Prisma.Subset<T, PaidTimeOffCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PaidTimeOffCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PaidTimeOff.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PaidTimeOffAggregateArgs} 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 PaidTimeOffAggregateArgs>(args: Prisma.Subset<T, PaidTimeOffAggregateArgs>): Prisma.PrismaPromise<GetPaidTimeOffAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PaidTimeOff.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PaidTimeOffGroupByArgs} 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 PaidTimeOffGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PaidTimeOffGroupByArgs['orderBy'] }
|
|
: { orderBy?: PaidTimeOffGroupByArgs['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, PaidTimeOffGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPaidTimeOffGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PaidTimeOff model
|
|
*/
|
|
readonly fields: PaidTimeOffFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PaidTimeOff.
|
|
* 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__PaidTimeOffClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
employee<T extends Prisma.EmployeesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EmployeesDefaultArgs<ExtArgs>>): Prisma.Prisma__EmployeesClient<runtime.Types.Result.GetResult<Prisma.$EmployeesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* 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 PaidTimeOff model
|
|
*/
|
|
export interface PaidTimeOffFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PaidTimeOff", 'Int'>
|
|
readonly employee_id: Prisma.FieldRef<"PaidTimeOff", 'Int'>
|
|
readonly vacation_hours: Prisma.FieldRef<"PaidTimeOff", 'Decimal'>
|
|
readonly banked_hours: Prisma.FieldRef<"PaidTimeOff", 'Decimal'>
|
|
readonly sick_hours: Prisma.FieldRef<"PaidTimeOff", 'Decimal'>
|
|
readonly last_updated: Prisma.FieldRef<"PaidTimeOff", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PaidTimeOff findUnique
|
|
*/
|
|
export type PaidTimeOffFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PaidTimeOff to fetch.
|
|
*/
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff findUniqueOrThrow
|
|
*/
|
|
export type PaidTimeOffFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PaidTimeOff to fetch.
|
|
*/
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff findFirst
|
|
*/
|
|
export type PaidTimeOffFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PaidTimeOff to fetch.
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PaidTimeOffs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PaidTimeOffOrderByWithRelationInput | Prisma.PaidTimeOffOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PaidTimeOffs.
|
|
*/
|
|
cursor?: Prisma.PaidTimeOffWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PaidTimeOffs 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` PaidTimeOffs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PaidTimeOffs.
|
|
*/
|
|
distinct?: Prisma.PaidTimeOffScalarFieldEnum | Prisma.PaidTimeOffScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff findFirstOrThrow
|
|
*/
|
|
export type PaidTimeOffFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PaidTimeOff to fetch.
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PaidTimeOffs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PaidTimeOffOrderByWithRelationInput | Prisma.PaidTimeOffOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PaidTimeOffs.
|
|
*/
|
|
cursor?: Prisma.PaidTimeOffWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PaidTimeOffs 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` PaidTimeOffs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PaidTimeOffs.
|
|
*/
|
|
distinct?: Prisma.PaidTimeOffScalarFieldEnum | Prisma.PaidTimeOffScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff findMany
|
|
*/
|
|
export type PaidTimeOffFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PaidTimeOffs to fetch.
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PaidTimeOffs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PaidTimeOffOrderByWithRelationInput | Prisma.PaidTimeOffOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PaidTimeOffs.
|
|
*/
|
|
cursor?: Prisma.PaidTimeOffWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PaidTimeOffs 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` PaidTimeOffs.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.PaidTimeOffScalarFieldEnum | Prisma.PaidTimeOffScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff create
|
|
*/
|
|
export type PaidTimeOffCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PaidTimeOff.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PaidTimeOffCreateInput, Prisma.PaidTimeOffUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff createMany
|
|
*/
|
|
export type PaidTimeOffCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PaidTimeOffs.
|
|
*/
|
|
data: Prisma.PaidTimeOffCreateManyInput | Prisma.PaidTimeOffCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff createManyAndReturn
|
|
*/
|
|
export type PaidTimeOffCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PaidTimeOffs.
|
|
*/
|
|
data: Prisma.PaidTimeOffCreateManyInput | Prisma.PaidTimeOffCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff update
|
|
*/
|
|
export type PaidTimeOffUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PaidTimeOff.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PaidTimeOffUpdateInput, Prisma.PaidTimeOffUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PaidTimeOff to update.
|
|
*/
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff updateMany
|
|
*/
|
|
export type PaidTimeOffUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PaidTimeOffs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PaidTimeOffUpdateManyMutationInput, Prisma.PaidTimeOffUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PaidTimeOffs to update
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* Limit how many PaidTimeOffs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff updateManyAndReturn
|
|
*/
|
|
export type PaidTimeOffUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PaidTimeOffs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PaidTimeOffUpdateManyMutationInput, Prisma.PaidTimeOffUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PaidTimeOffs to update
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* Limit how many PaidTimeOffs to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff upsert
|
|
*/
|
|
export type PaidTimeOffUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PaidTimeOff to update in case it exists.
|
|
*/
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
/**
|
|
* In case the PaidTimeOff found by the `where` argument doesn't exist, create a new PaidTimeOff with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PaidTimeOffCreateInput, Prisma.PaidTimeOffUncheckedCreateInput>
|
|
/**
|
|
* In case the PaidTimeOff was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PaidTimeOffUpdateInput, Prisma.PaidTimeOffUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff delete
|
|
*/
|
|
export type PaidTimeOffDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PaidTimeOff to delete.
|
|
*/
|
|
where: Prisma.PaidTimeOffWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff deleteMany
|
|
*/
|
|
export type PaidTimeOffDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PaidTimeOffs to delete
|
|
*/
|
|
where?: Prisma.PaidTimeOffWhereInput
|
|
/**
|
|
* Limit how many PaidTimeOffs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PaidTimeOff without action
|
|
*/
|
|
export type PaidTimeOffDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PaidTimeOff
|
|
*/
|
|
select?: Prisma.PaidTimeOffSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PaidTimeOff
|
|
*/
|
|
omit?: Prisma.PaidTimeOffOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PaidTimeOffInclude<ExtArgs> | null
|
|
}
|