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

1271 lines
50 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 `employee_shift_template` 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 employee_shift_template
*
*/
export type employee_shift_templateModel = runtime.Types.Result.DefaultSelection<Prisma.$employee_shift_templatePayload>
export type AggregateEmployee_shift_template = {
_count: Employee_shift_templateCountAggregateOutputType | null
_avg: Employee_shift_templateAvgAggregateOutputType | null
_sum: Employee_shift_templateSumAggregateOutputType | null
_min: Employee_shift_templateMinAggregateOutputType | null
_max: Employee_shift_templateMaxAggregateOutputType | null
}
export type Employee_shift_templateAvgAggregateOutputType = {
start_time: number | null
end_time: number | null
created_at: number | null
updated_at: number | null
}
export type Employee_shift_templateSumAggregateOutputType = {
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Employee_shift_templateMinAggregateOutputType = {
id: string | null
employee_id: string | null
day_of_the_week: string | null
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Employee_shift_templateMaxAggregateOutputType = {
id: string | null
employee_id: string | null
day_of_the_week: string | null
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Employee_shift_templateCountAggregateOutputType = {
id: number
employee_id: number
day_of_the_week: number
start_time: number
end_time: number
created_at: number
updated_at: number
_all: number
}
export type Employee_shift_templateAvgAggregateInputType = {
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Employee_shift_templateSumAggregateInputType = {
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Employee_shift_templateMinAggregateInputType = {
id?: true
employee_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Employee_shift_templateMaxAggregateInputType = {
id?: true
employee_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Employee_shift_templateCountAggregateInputType = {
id?: true
employee_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
_all?: true
}
export type Employee_shift_templateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which employee_shift_template to aggregate.
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of employee_shift_templates to fetch.
*/
orderBy?: Prisma.employee_shift_templateOrderByWithRelationInput | Prisma.employee_shift_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.employee_shift_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` employee_shift_templates 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` employee_shift_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned employee_shift_templates
**/
_count?: true | Employee_shift_templateCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Employee_shift_templateAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Employee_shift_templateSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Employee_shift_templateMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Employee_shift_templateMaxAggregateInputType
}
export type GetEmployee_shift_templateAggregateType<T extends Employee_shift_templateAggregateArgs> = {
[P in keyof T & keyof AggregateEmployee_shift_template]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateEmployee_shift_template[P]>
: Prisma.GetScalarType<T[P], AggregateEmployee_shift_template[P]>
}
export type employee_shift_templateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.employee_shift_templateWhereInput
orderBy?: Prisma.employee_shift_templateOrderByWithAggregationInput | Prisma.employee_shift_templateOrderByWithAggregationInput[]
by: Prisma.Employee_shift_templateScalarFieldEnum[] | Prisma.Employee_shift_templateScalarFieldEnum
having?: Prisma.employee_shift_templateScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Employee_shift_templateCountAggregateInputType | true
_avg?: Employee_shift_templateAvgAggregateInputType
_sum?: Employee_shift_templateSumAggregateInputType
_min?: Employee_shift_templateMinAggregateInputType
_max?: Employee_shift_templateMaxAggregateInputType
}
export type Employee_shift_templateGroupByOutputType = {
id: string
employee_id: string
day_of_the_week: string
start_time: bigint
end_time: bigint
created_at: bigint
updated_at: bigint
_count: Employee_shift_templateCountAggregateOutputType | null
_avg: Employee_shift_templateAvgAggregateOutputType | null
_sum: Employee_shift_templateSumAggregateOutputType | null
_min: Employee_shift_templateMinAggregateOutputType | null
_max: Employee_shift_templateMaxAggregateOutputType | null
}
type GetEmployee_shift_templateGroupByPayload<T extends employee_shift_templateGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Employee_shift_templateGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Employee_shift_templateGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Employee_shift_templateGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Employee_shift_templateGroupByOutputType[P]>
}
>
>
export type employee_shift_templateWhereInput = {
AND?: Prisma.employee_shift_templateWhereInput | Prisma.employee_shift_templateWhereInput[]
OR?: Prisma.employee_shift_templateWhereInput[]
NOT?: Prisma.employee_shift_templateWhereInput | Prisma.employee_shift_templateWhereInput[]
id?: Prisma.UuidFilter<"employee_shift_template"> | string
employee_id?: Prisma.StringFilter<"employee_shift_template"> | string
day_of_the_week?: Prisma.StringFilter<"employee_shift_template"> | string
start_time?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
end_time?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
created_at?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
updated_at?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
}
export type employee_shift_templateOrderByWithRelationInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type employee_shift_templateWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.employee_shift_templateWhereInput | Prisma.employee_shift_templateWhereInput[]
OR?: Prisma.employee_shift_templateWhereInput[]
NOT?: Prisma.employee_shift_templateWhereInput | Prisma.employee_shift_templateWhereInput[]
employee_id?: Prisma.StringFilter<"employee_shift_template"> | string
day_of_the_week?: Prisma.StringFilter<"employee_shift_template"> | string
start_time?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
end_time?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
created_at?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
updated_at?: Prisma.BigIntFilter<"employee_shift_template"> | bigint | number
}, "id">
export type employee_shift_templateOrderByWithAggregationInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
_count?: Prisma.employee_shift_templateCountOrderByAggregateInput
_avg?: Prisma.employee_shift_templateAvgOrderByAggregateInput
_max?: Prisma.employee_shift_templateMaxOrderByAggregateInput
_min?: Prisma.employee_shift_templateMinOrderByAggregateInput
_sum?: Prisma.employee_shift_templateSumOrderByAggregateInput
}
export type employee_shift_templateScalarWhereWithAggregatesInput = {
AND?: Prisma.employee_shift_templateScalarWhereWithAggregatesInput | Prisma.employee_shift_templateScalarWhereWithAggregatesInput[]
OR?: Prisma.employee_shift_templateScalarWhereWithAggregatesInput[]
NOT?: Prisma.employee_shift_templateScalarWhereWithAggregatesInput | Prisma.employee_shift_templateScalarWhereWithAggregatesInput[]
id?: Prisma.UuidWithAggregatesFilter<"employee_shift_template"> | string
employee_id?: Prisma.StringWithAggregatesFilter<"employee_shift_template"> | string
day_of_the_week?: Prisma.StringWithAggregatesFilter<"employee_shift_template"> | string
start_time?: Prisma.BigIntWithAggregatesFilter<"employee_shift_template"> | bigint | number
end_time?: Prisma.BigIntWithAggregatesFilter<"employee_shift_template"> | bigint | number
created_at?: Prisma.BigIntWithAggregatesFilter<"employee_shift_template"> | bigint | number
updated_at?: Prisma.BigIntWithAggregatesFilter<"employee_shift_template"> | bigint | number
}
export type employee_shift_templateCreateInput = {
id: string
employee_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type employee_shift_templateUncheckedCreateInput = {
id: string
employee_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type employee_shift_templateUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type employee_shift_templateUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type employee_shift_templateCreateManyInput = {
id: string
employee_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type employee_shift_templateUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type employee_shift_templateUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
employee_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type employee_shift_templateCountOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type employee_shift_templateAvgOrderByAggregateInput = {
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type employee_shift_templateMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type employee_shift_templateMinOrderByAggregateInput = {
id?: Prisma.SortOrder
employee_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type employee_shift_templateSumOrderByAggregateInput = {
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type BigIntFieldUpdateOperationsInput = {
set?: bigint | number
increment?: bigint | number
decrement?: bigint | number
multiply?: bigint | number
divide?: bigint | number
}
export type employee_shift_templateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["employee_shift_template"]>
export type employee_shift_templateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["employee_shift_template"]>
export type employee_shift_templateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
employee_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["employee_shift_template"]>
export type employee_shift_templateSelectScalar = {
id?: boolean
employee_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}
export type employee_shift_templateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "employee_id" | "day_of_the_week" | "start_time" | "end_time" | "created_at" | "updated_at", ExtArgs["result"]["employee_shift_template"]>
export type $employee_shift_templatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "employee_shift_template"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
employee_id: string
day_of_the_week: string
start_time: bigint
end_time: bigint
created_at: bigint
updated_at: bigint
}, ExtArgs["result"]["employee_shift_template"]>
composites: {}
}
export type employee_shift_templateGetPayload<S extends boolean | null | undefined | employee_shift_templateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload, S>
export type employee_shift_templateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<employee_shift_templateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Employee_shift_templateCountAggregateInputType | true
}
export interface employee_shift_templateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['employee_shift_template'], meta: { name: 'employee_shift_template' } }
/**
* Find zero or one Employee_shift_template that matches the filter.
* @param {employee_shift_templateFindUniqueArgs} args - Arguments to find a Employee_shift_template
* @example
* // Get one Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends employee_shift_templateFindUniqueArgs>(args: Prisma.SelectSubset<T, employee_shift_templateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Employee_shift_template that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {employee_shift_templateFindUniqueOrThrowArgs} args - Arguments to find a Employee_shift_template
* @example
* // Get one Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends employee_shift_templateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, employee_shift_templateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Employee_shift_template 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 {employee_shift_templateFindFirstArgs} args - Arguments to find a Employee_shift_template
* @example
* // Get one Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends employee_shift_templateFindFirstArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateFindFirstArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Employee_shift_template 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 {employee_shift_templateFindFirstOrThrowArgs} args - Arguments to find a Employee_shift_template
* @example
* // Get one Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends employee_shift_templateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Employee_shift_templates 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 {employee_shift_templateFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Employee_shift_templates
* const employee_shift_templates = await prisma.employee_shift_template.findMany()
*
* // Get first 10 Employee_shift_templates
* const employee_shift_templates = await prisma.employee_shift_template.findMany({ take: 10 })
*
* // Only select the `id`
* const employee_shift_templateWithIdOnly = await prisma.employee_shift_template.findMany({ select: { id: true } })
*
*/
findMany<T extends employee_shift_templateFindManyArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Employee_shift_template.
* @param {employee_shift_templateCreateArgs} args - Arguments to create a Employee_shift_template.
* @example
* // Create one Employee_shift_template
* const Employee_shift_template = await prisma.employee_shift_template.create({
* data: {
* // ... data to create a Employee_shift_template
* }
* })
*
*/
create<T extends employee_shift_templateCreateArgs>(args: Prisma.SelectSubset<T, employee_shift_templateCreateArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Employee_shift_templates.
* @param {employee_shift_templateCreateManyArgs} args - Arguments to create many Employee_shift_templates.
* @example
* // Create many Employee_shift_templates
* const employee_shift_template = await prisma.employee_shift_template.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends employee_shift_templateCreateManyArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Employee_shift_templates and returns the data saved in the database.
* @param {employee_shift_templateCreateManyAndReturnArgs} args - Arguments to create many Employee_shift_templates.
* @example
* // Create many Employee_shift_templates
* const employee_shift_template = await prisma.employee_shift_template.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Employee_shift_templates and only return the `id`
* const employee_shift_templateWithIdOnly = await prisma.employee_shift_template.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 employee_shift_templateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Employee_shift_template.
* @param {employee_shift_templateDeleteArgs} args - Arguments to delete one Employee_shift_template.
* @example
* // Delete one Employee_shift_template
* const Employee_shift_template = await prisma.employee_shift_template.delete({
* where: {
* // ... filter to delete one Employee_shift_template
* }
* })
*
*/
delete<T extends employee_shift_templateDeleteArgs>(args: Prisma.SelectSubset<T, employee_shift_templateDeleteArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Employee_shift_template.
* @param {employee_shift_templateUpdateArgs} args - Arguments to update one Employee_shift_template.
* @example
* // Update one Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends employee_shift_templateUpdateArgs>(args: Prisma.SelectSubset<T, employee_shift_templateUpdateArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Employee_shift_templates.
* @param {employee_shift_templateDeleteManyArgs} args - Arguments to filter Employee_shift_templates to delete.
* @example
* // Delete a few Employee_shift_templates
* const { count } = await prisma.employee_shift_template.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends employee_shift_templateDeleteManyArgs>(args?: Prisma.SelectSubset<T, employee_shift_templateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Employee_shift_templates.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {employee_shift_templateUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Employee_shift_templates
* const employee_shift_template = await prisma.employee_shift_template.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends employee_shift_templateUpdateManyArgs>(args: Prisma.SelectSubset<T, employee_shift_templateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Employee_shift_templates and returns the data updated in the database.
* @param {employee_shift_templateUpdateManyAndReturnArgs} args - Arguments to update many Employee_shift_templates.
* @example
* // Update many Employee_shift_templates
* const employee_shift_template = await prisma.employee_shift_template.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Employee_shift_templates and only return the `id`
* const employee_shift_templateWithIdOnly = await prisma.employee_shift_template.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 employee_shift_templateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, employee_shift_templateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Employee_shift_template.
* @param {employee_shift_templateUpsertArgs} args - Arguments to update or create a Employee_shift_template.
* @example
* // Update or create a Employee_shift_template
* const employee_shift_template = await prisma.employee_shift_template.upsert({
* create: {
* // ... data to create a Employee_shift_template
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Employee_shift_template we want to update
* }
* })
*/
upsert<T extends employee_shift_templateUpsertArgs>(args: Prisma.SelectSubset<T, employee_shift_templateUpsertArgs<ExtArgs>>): Prisma.Prisma__employee_shift_templateClient<runtime.Types.Result.GetResult<Prisma.$employee_shift_templatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Employee_shift_templates.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {employee_shift_templateCountArgs} args - Arguments to filter Employee_shift_templates to count.
* @example
* // Count the number of Employee_shift_templates
* const count = await prisma.employee_shift_template.count({
* where: {
* // ... the filter for the Employee_shift_templates we want to count
* }
* })
**/
count<T extends employee_shift_templateCountArgs>(
args?: Prisma.Subset<T, employee_shift_templateCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Employee_shift_templateCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Employee_shift_template.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Employee_shift_templateAggregateArgs} 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 Employee_shift_templateAggregateArgs>(args: Prisma.Subset<T, Employee_shift_templateAggregateArgs>): Prisma.PrismaPromise<GetEmployee_shift_templateAggregateType<T>>
/**
* Group by Employee_shift_template.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {employee_shift_templateGroupByArgs} 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 employee_shift_templateGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: employee_shift_templateGroupByArgs['orderBy'] }
: { orderBy?: employee_shift_templateGroupByArgs['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, employee_shift_templateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmployee_shift_templateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the employee_shift_template model
*/
readonly fields: employee_shift_templateFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for employee_shift_template.
* 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__employee_shift_templateClient<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 employee_shift_template model
*/
export interface employee_shift_templateFieldRefs {
readonly id: Prisma.FieldRef<"employee_shift_template", 'String'>
readonly employee_id: Prisma.FieldRef<"employee_shift_template", 'String'>
readonly day_of_the_week: Prisma.FieldRef<"employee_shift_template", 'String'>
readonly start_time: Prisma.FieldRef<"employee_shift_template", 'BigInt'>
readonly end_time: Prisma.FieldRef<"employee_shift_template", 'BigInt'>
readonly created_at: Prisma.FieldRef<"employee_shift_template", 'BigInt'>
readonly updated_at: Prisma.FieldRef<"employee_shift_template", 'BigInt'>
}
// Custom InputTypes
/**
* employee_shift_template findUnique
*/
export type employee_shift_templateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter, which employee_shift_template to fetch.
*/
where: Prisma.employee_shift_templateWhereUniqueInput
}
/**
* employee_shift_template findUniqueOrThrow
*/
export type employee_shift_templateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter, which employee_shift_template to fetch.
*/
where: Prisma.employee_shift_templateWhereUniqueInput
}
/**
* employee_shift_template findFirst
*/
export type employee_shift_templateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter, which employee_shift_template to fetch.
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of employee_shift_templates to fetch.
*/
orderBy?: Prisma.employee_shift_templateOrderByWithRelationInput | Prisma.employee_shift_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for employee_shift_templates.
*/
cursor?: Prisma.employee_shift_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` employee_shift_templates 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` employee_shift_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of employee_shift_templates.
*/
distinct?: Prisma.Employee_shift_templateScalarFieldEnum | Prisma.Employee_shift_templateScalarFieldEnum[]
}
/**
* employee_shift_template findFirstOrThrow
*/
export type employee_shift_templateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter, which employee_shift_template to fetch.
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of employee_shift_templates to fetch.
*/
orderBy?: Prisma.employee_shift_templateOrderByWithRelationInput | Prisma.employee_shift_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for employee_shift_templates.
*/
cursor?: Prisma.employee_shift_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` employee_shift_templates 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` employee_shift_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of employee_shift_templates.
*/
distinct?: Prisma.Employee_shift_templateScalarFieldEnum | Prisma.Employee_shift_templateScalarFieldEnum[]
}
/**
* employee_shift_template findMany
*/
export type employee_shift_templateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter, which employee_shift_templates to fetch.
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of employee_shift_templates to fetch.
*/
orderBy?: Prisma.employee_shift_templateOrderByWithRelationInput | Prisma.employee_shift_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing employee_shift_templates.
*/
cursor?: Prisma.employee_shift_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` employee_shift_templates 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` employee_shift_templates.
*/
skip?: number
distinct?: Prisma.Employee_shift_templateScalarFieldEnum | Prisma.Employee_shift_templateScalarFieldEnum[]
}
/**
* employee_shift_template create
*/
export type employee_shift_templateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* The data needed to create a employee_shift_template.
*/
data: Prisma.XOR<Prisma.employee_shift_templateCreateInput, Prisma.employee_shift_templateUncheckedCreateInput>
}
/**
* employee_shift_template createMany
*/
export type employee_shift_templateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many employee_shift_templates.
*/
data: Prisma.employee_shift_templateCreateManyInput | Prisma.employee_shift_templateCreateManyInput[]
skipDuplicates?: boolean
}
/**
* employee_shift_template createManyAndReturn
*/
export type employee_shift_templateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* The data used to create many employee_shift_templates.
*/
data: Prisma.employee_shift_templateCreateManyInput | Prisma.employee_shift_templateCreateManyInput[]
skipDuplicates?: boolean
}
/**
* employee_shift_template update
*/
export type employee_shift_templateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* The data needed to update a employee_shift_template.
*/
data: Prisma.XOR<Prisma.employee_shift_templateUpdateInput, Prisma.employee_shift_templateUncheckedUpdateInput>
/**
* Choose, which employee_shift_template to update.
*/
where: Prisma.employee_shift_templateWhereUniqueInput
}
/**
* employee_shift_template updateMany
*/
export type employee_shift_templateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update employee_shift_templates.
*/
data: Prisma.XOR<Prisma.employee_shift_templateUpdateManyMutationInput, Prisma.employee_shift_templateUncheckedUpdateManyInput>
/**
* Filter which employee_shift_templates to update
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* Limit how many employee_shift_templates to update.
*/
limit?: number
}
/**
* employee_shift_template updateManyAndReturn
*/
export type employee_shift_templateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* The data used to update employee_shift_templates.
*/
data: Prisma.XOR<Prisma.employee_shift_templateUpdateManyMutationInput, Prisma.employee_shift_templateUncheckedUpdateManyInput>
/**
* Filter which employee_shift_templates to update
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* Limit how many employee_shift_templates to update.
*/
limit?: number
}
/**
* employee_shift_template upsert
*/
export type employee_shift_templateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* The filter to search for the employee_shift_template to update in case it exists.
*/
where: Prisma.employee_shift_templateWhereUniqueInput
/**
* In case the employee_shift_template found by the `where` argument doesn't exist, create a new employee_shift_template with this data.
*/
create: Prisma.XOR<Prisma.employee_shift_templateCreateInput, Prisma.employee_shift_templateUncheckedCreateInput>
/**
* In case the employee_shift_template was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.employee_shift_templateUpdateInput, Prisma.employee_shift_templateUncheckedUpdateInput>
}
/**
* employee_shift_template delete
*/
export type employee_shift_templateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
/**
* Filter which employee_shift_template to delete.
*/
where: Prisma.employee_shift_templateWhereUniqueInput
}
/**
* employee_shift_template deleteMany
*/
export type employee_shift_templateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which employee_shift_templates to delete
*/
where?: Prisma.employee_shift_templateWhereInput
/**
* Limit how many employee_shift_templates to delete.
*/
limit?: number
}
/**
* employee_shift_template without action
*/
export type employee_shift_templateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the employee_shift_template
*/
select?: Prisma.employee_shift_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the employee_shift_template
*/
omit?: Prisma.employee_shift_templateOmit<ExtArgs> | null
}