1033 lines
41 KiB
TypeScript
1033 lines
41 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 `ticket_calendar_staff_lock` 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 ticket_calendar_staff_lock
|
|
*
|
|
*/
|
|
export type ticket_calendar_staff_lockModel = runtime.Types.Result.DefaultSelection<Prisma.$ticket_calendar_staff_lockPayload>
|
|
|
|
export type AggregateTicket_calendar_staff_lock = {
|
|
_count: Ticket_calendar_staff_lockCountAggregateOutputType | null
|
|
_avg: Ticket_calendar_staff_lockAvgAggregateOutputType | null
|
|
_sum: Ticket_calendar_staff_lockSumAggregateOutputType | null
|
|
_min: Ticket_calendar_staff_lockMinAggregateOutputType | null
|
|
_max: Ticket_calendar_staff_lockMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockAvgAggregateOutputType = {
|
|
id: number | null
|
|
date: number | null
|
|
staff_id: number | null
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockSumAggregateOutputType = {
|
|
id: number | null
|
|
date: bigint | null
|
|
staff_id: number | null
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockMinAggregateOutputType = {
|
|
id: number | null
|
|
date: bigint | null
|
|
staff_id: number | null
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockMaxAggregateOutputType = {
|
|
id: number | null
|
|
date: bigint | null
|
|
staff_id: number | null
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockCountAggregateOutputType = {
|
|
id: number
|
|
date: number
|
|
staff_id: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Ticket_calendar_staff_lockAvgAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
staff_id?: true
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockSumAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
staff_id?: true
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockMinAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
staff_id?: true
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockMaxAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
staff_id?: true
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockCountAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
staff_id?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ticket_calendar_staff_lock to aggregate.
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_calendar_staff_locks to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_calendar_staff_lockOrderByWithRelationInput | Prisma.ticket_calendar_staff_lockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_calendar_staff_locks 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` ticket_calendar_staff_locks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ticket_calendar_staff_locks
|
|
**/
|
|
_count?: true | Ticket_calendar_staff_lockCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Ticket_calendar_staff_lockAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Ticket_calendar_staff_lockSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Ticket_calendar_staff_lockMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Ticket_calendar_staff_lockMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTicket_calendar_staff_lockAggregateType<T extends Ticket_calendar_staff_lockAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTicket_calendar_staff_lock]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTicket_calendar_staff_lock[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTicket_calendar_staff_lock[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ticket_calendar_staff_lockGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
orderBy?: Prisma.ticket_calendar_staff_lockOrderByWithAggregationInput | Prisma.ticket_calendar_staff_lockOrderByWithAggregationInput[]
|
|
by: Prisma.Ticket_calendar_staff_lockScalarFieldEnum[] | Prisma.Ticket_calendar_staff_lockScalarFieldEnum
|
|
having?: Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Ticket_calendar_staff_lockCountAggregateInputType | true
|
|
_avg?: Ticket_calendar_staff_lockAvgAggregateInputType
|
|
_sum?: Ticket_calendar_staff_lockSumAggregateInputType
|
|
_min?: Ticket_calendar_staff_lockMinAggregateInputType
|
|
_max?: Ticket_calendar_staff_lockMaxAggregateInputType
|
|
}
|
|
|
|
export type Ticket_calendar_staff_lockGroupByOutputType = {
|
|
id: number
|
|
date: bigint
|
|
staff_id: number
|
|
_count: Ticket_calendar_staff_lockCountAggregateOutputType | null
|
|
_avg: Ticket_calendar_staff_lockAvgAggregateOutputType | null
|
|
_sum: Ticket_calendar_staff_lockSumAggregateOutputType | null
|
|
_min: Ticket_calendar_staff_lockMinAggregateOutputType | null
|
|
_max: Ticket_calendar_staff_lockMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetTicket_calendar_staff_lockGroupByPayload<T extends ticket_calendar_staff_lockGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Ticket_calendar_staff_lockGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Ticket_calendar_staff_lockGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Ticket_calendar_staff_lockGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Ticket_calendar_staff_lockGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ticket_calendar_staff_lockWhereInput = {
|
|
AND?: Prisma.ticket_calendar_staff_lockWhereInput | Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
OR?: Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
NOT?: Prisma.ticket_calendar_staff_lockWhereInput | Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
id?: Prisma.IntFilter<"ticket_calendar_staff_lock"> | number
|
|
date?: Prisma.BigIntFilter<"ticket_calendar_staff_lock"> | bigint | number
|
|
staff_id?: Prisma.IntFilter<"ticket_calendar_staff_lock"> | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.ticket_calendar_staff_lockWhereInput | Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
OR?: Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
NOT?: Prisma.ticket_calendar_staff_lockWhereInput | Prisma.ticket_calendar_staff_lockWhereInput[]
|
|
date?: Prisma.BigIntFilter<"ticket_calendar_staff_lock"> | bigint | number
|
|
staff_id?: Prisma.IntFilter<"ticket_calendar_staff_lock"> | number
|
|
}, "id">
|
|
|
|
export type ticket_calendar_staff_lockOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
_count?: Prisma.ticket_calendar_staff_lockCountOrderByAggregateInput
|
|
_avg?: Prisma.ticket_calendar_staff_lockAvgOrderByAggregateInput
|
|
_max?: Prisma.ticket_calendar_staff_lockMaxOrderByAggregateInput
|
|
_min?: Prisma.ticket_calendar_staff_lockMinOrderByAggregateInput
|
|
_sum?: Prisma.ticket_calendar_staff_lockSumOrderByAggregateInput
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput | Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput | Prisma.ticket_calendar_staff_lockScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"ticket_calendar_staff_lock"> | number
|
|
date?: Prisma.BigIntWithAggregatesFilter<"ticket_calendar_staff_lock"> | bigint | number
|
|
staff_id?: Prisma.IntWithAggregatesFilter<"ticket_calendar_staff_lock"> | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockCreateInput = {
|
|
date: bigint | number
|
|
staff_id: number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockUncheckedCreateInput = {
|
|
id?: number
|
|
date: bigint | number
|
|
staff_id: number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockUpdateInput = {
|
|
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockCreateManyInput = {
|
|
id?: number
|
|
date: bigint | number
|
|
staff_id: number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockUpdateManyMutationInput = {
|
|
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type ticket_calendar_staff_lockSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
date?: boolean
|
|
staff_id?: boolean
|
|
}, ExtArgs["result"]["ticket_calendar_staff_lock"]>
|
|
|
|
|
|
|
|
export type ticket_calendar_staff_lockSelectScalar = {
|
|
id?: boolean
|
|
date?: boolean
|
|
staff_id?: boolean
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "staff_id", ExtArgs["result"]["ticket_calendar_staff_lock"]>
|
|
|
|
export type $ticket_calendar_staff_lockPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ticket_calendar_staff_lock"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
date: bigint
|
|
staff_id: number
|
|
}, ExtArgs["result"]["ticket_calendar_staff_lock"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ticket_calendar_staff_lockGetPayload<S extends boolean | null | undefined | ticket_calendar_staff_lockDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload, S>
|
|
|
|
export type ticket_calendar_staff_lockCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ticket_calendar_staff_lockFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Ticket_calendar_staff_lockCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ticket_calendar_staff_lockDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ticket_calendar_staff_lock'], meta: { name: 'ticket_calendar_staff_lock' } }
|
|
/**
|
|
* Find zero or one Ticket_calendar_staff_lock that matches the filter.
|
|
* @param {ticket_calendar_staff_lockFindUniqueArgs} args - Arguments to find a Ticket_calendar_staff_lock
|
|
* @example
|
|
* // Get one Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ticket_calendar_staff_lockFindUniqueArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Ticket_calendar_staff_lock that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ticket_calendar_staff_lockFindUniqueOrThrowArgs} args - Arguments to find a Ticket_calendar_staff_lock
|
|
* @example
|
|
* // Get one Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ticket_calendar_staff_lockFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Ticket_calendar_staff_lock 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 {ticket_calendar_staff_lockFindFirstArgs} args - Arguments to find a Ticket_calendar_staff_lock
|
|
* @example
|
|
* // Get one Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ticket_calendar_staff_lockFindFirstArgs>(args?: Prisma.SelectSubset<T, ticket_calendar_staff_lockFindFirstArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Ticket_calendar_staff_lock 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 {ticket_calendar_staff_lockFindFirstOrThrowArgs} args - Arguments to find a Ticket_calendar_staff_lock
|
|
* @example
|
|
* // Get one Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ticket_calendar_staff_lockFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ticket_calendar_staff_lockFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Ticket_calendar_staff_locks 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 {ticket_calendar_staff_lockFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Ticket_calendar_staff_locks
|
|
* const ticket_calendar_staff_locks = await prisma.ticket_calendar_staff_lock.findMany()
|
|
*
|
|
* // Get first 10 Ticket_calendar_staff_locks
|
|
* const ticket_calendar_staff_locks = await prisma.ticket_calendar_staff_lock.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const ticket_calendar_staff_lockWithIdOnly = await prisma.ticket_calendar_staff_lock.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ticket_calendar_staff_lockFindManyArgs>(args?: Prisma.SelectSubset<T, ticket_calendar_staff_lockFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Ticket_calendar_staff_lock.
|
|
* @param {ticket_calendar_staff_lockCreateArgs} args - Arguments to create a Ticket_calendar_staff_lock.
|
|
* @example
|
|
* // Create one Ticket_calendar_staff_lock
|
|
* const Ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.create({
|
|
* data: {
|
|
* // ... data to create a Ticket_calendar_staff_lock
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ticket_calendar_staff_lockCreateArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockCreateArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Ticket_calendar_staff_locks.
|
|
* @param {ticket_calendar_staff_lockCreateManyArgs} args - Arguments to create many Ticket_calendar_staff_locks.
|
|
* @example
|
|
* // Create many Ticket_calendar_staff_locks
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ticket_calendar_staff_lockCreateManyArgs>(args?: Prisma.SelectSubset<T, ticket_calendar_staff_lockCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Ticket_calendar_staff_lock.
|
|
* @param {ticket_calendar_staff_lockDeleteArgs} args - Arguments to delete one Ticket_calendar_staff_lock.
|
|
* @example
|
|
* // Delete one Ticket_calendar_staff_lock
|
|
* const Ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.delete({
|
|
* where: {
|
|
* // ... filter to delete one Ticket_calendar_staff_lock
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ticket_calendar_staff_lockDeleteArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockDeleteArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Ticket_calendar_staff_lock.
|
|
* @param {ticket_calendar_staff_lockUpdateArgs} args - Arguments to update one Ticket_calendar_staff_lock.
|
|
* @example
|
|
* // Update one Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ticket_calendar_staff_lockUpdateArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockUpdateArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Ticket_calendar_staff_locks.
|
|
* @param {ticket_calendar_staff_lockDeleteManyArgs} args - Arguments to filter Ticket_calendar_staff_locks to delete.
|
|
* @example
|
|
* // Delete a few Ticket_calendar_staff_locks
|
|
* const { count } = await prisma.ticket_calendar_staff_lock.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ticket_calendar_staff_lockDeleteManyArgs>(args?: Prisma.SelectSubset<T, ticket_calendar_staff_lockDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Ticket_calendar_staff_locks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_calendar_staff_lockUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Ticket_calendar_staff_locks
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ticket_calendar_staff_lockUpdateManyArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Ticket_calendar_staff_lock.
|
|
* @param {ticket_calendar_staff_lockUpsertArgs} args - Arguments to update or create a Ticket_calendar_staff_lock.
|
|
* @example
|
|
* // Update or create a Ticket_calendar_staff_lock
|
|
* const ticket_calendar_staff_lock = await prisma.ticket_calendar_staff_lock.upsert({
|
|
* create: {
|
|
* // ... data to create a Ticket_calendar_staff_lock
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Ticket_calendar_staff_lock we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ticket_calendar_staff_lockUpsertArgs>(args: Prisma.SelectSubset<T, ticket_calendar_staff_lockUpsertArgs<ExtArgs>>): Prisma.Prisma__ticket_calendar_staff_lockClient<runtime.Types.Result.GetResult<Prisma.$ticket_calendar_staff_lockPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Ticket_calendar_staff_locks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_calendar_staff_lockCountArgs} args - Arguments to filter Ticket_calendar_staff_locks to count.
|
|
* @example
|
|
* // Count the number of Ticket_calendar_staff_locks
|
|
* const count = await prisma.ticket_calendar_staff_lock.count({
|
|
* where: {
|
|
* // ... the filter for the Ticket_calendar_staff_locks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ticket_calendar_staff_lockCountArgs>(
|
|
args?: Prisma.Subset<T, ticket_calendar_staff_lockCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Ticket_calendar_staff_lockCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Ticket_calendar_staff_lock.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Ticket_calendar_staff_lockAggregateArgs} 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 Ticket_calendar_staff_lockAggregateArgs>(args: Prisma.Subset<T, Ticket_calendar_staff_lockAggregateArgs>): Prisma.PrismaPromise<GetTicket_calendar_staff_lockAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Ticket_calendar_staff_lock.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_calendar_staff_lockGroupByArgs} 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 ticket_calendar_staff_lockGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ticket_calendar_staff_lockGroupByArgs['orderBy'] }
|
|
: { orderBy?: ticket_calendar_staff_lockGroupByArgs['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, ticket_calendar_staff_lockGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicket_calendar_staff_lockGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ticket_calendar_staff_lock model
|
|
*/
|
|
readonly fields: ticket_calendar_staff_lockFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ticket_calendar_staff_lock.
|
|
* 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__ticket_calendar_staff_lockClient<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 ticket_calendar_staff_lock model
|
|
*/
|
|
export interface ticket_calendar_staff_lockFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ticket_calendar_staff_lock", 'Int'>
|
|
readonly date: Prisma.FieldRef<"ticket_calendar_staff_lock", 'BigInt'>
|
|
readonly staff_id: Prisma.FieldRef<"ticket_calendar_staff_lock", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ticket_calendar_staff_lock findUnique
|
|
*/
|
|
export type ticket_calendar_staff_lockFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_calendar_staff_lock to fetch.
|
|
*/
|
|
where: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock findUniqueOrThrow
|
|
*/
|
|
export type ticket_calendar_staff_lockFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_calendar_staff_lock to fetch.
|
|
*/
|
|
where: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock findFirst
|
|
*/
|
|
export type ticket_calendar_staff_lockFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_calendar_staff_lock to fetch.
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_calendar_staff_locks to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_calendar_staff_lockOrderByWithRelationInput | Prisma.ticket_calendar_staff_lockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ticket_calendar_staff_locks.
|
|
*/
|
|
cursor?: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_calendar_staff_locks 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` ticket_calendar_staff_locks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ticket_calendar_staff_locks.
|
|
*/
|
|
distinct?: Prisma.Ticket_calendar_staff_lockScalarFieldEnum | Prisma.Ticket_calendar_staff_lockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock findFirstOrThrow
|
|
*/
|
|
export type ticket_calendar_staff_lockFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_calendar_staff_lock to fetch.
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_calendar_staff_locks to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_calendar_staff_lockOrderByWithRelationInput | Prisma.ticket_calendar_staff_lockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ticket_calendar_staff_locks.
|
|
*/
|
|
cursor?: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_calendar_staff_locks 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` ticket_calendar_staff_locks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ticket_calendar_staff_locks.
|
|
*/
|
|
distinct?: Prisma.Ticket_calendar_staff_lockScalarFieldEnum | Prisma.Ticket_calendar_staff_lockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock findMany
|
|
*/
|
|
export type ticket_calendar_staff_lockFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_calendar_staff_locks to fetch.
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_calendar_staff_locks to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_calendar_staff_lockOrderByWithRelationInput | Prisma.ticket_calendar_staff_lockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ticket_calendar_staff_locks.
|
|
*/
|
|
cursor?: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_calendar_staff_locks 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` ticket_calendar_staff_locks.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Ticket_calendar_staff_lockScalarFieldEnum | Prisma.Ticket_calendar_staff_lockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock create
|
|
*/
|
|
export type ticket_calendar_staff_lockCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ticket_calendar_staff_lock.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_calendar_staff_lockCreateInput, Prisma.ticket_calendar_staff_lockUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock createMany
|
|
*/
|
|
export type ticket_calendar_staff_lockCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ticket_calendar_staff_locks.
|
|
*/
|
|
data: Prisma.ticket_calendar_staff_lockCreateManyInput | Prisma.ticket_calendar_staff_lockCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock update
|
|
*/
|
|
export type ticket_calendar_staff_lockUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ticket_calendar_staff_lock.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_calendar_staff_lockUpdateInput, Prisma.ticket_calendar_staff_lockUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ticket_calendar_staff_lock to update.
|
|
*/
|
|
where: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock updateMany
|
|
*/
|
|
export type ticket_calendar_staff_lockUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ticket_calendar_staff_locks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_calendar_staff_lockUpdateManyMutationInput, Prisma.ticket_calendar_staff_lockUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ticket_calendar_staff_locks to update
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* Limit how many ticket_calendar_staff_locks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock upsert
|
|
*/
|
|
export type ticket_calendar_staff_lockUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ticket_calendar_staff_lock to update in case it exists.
|
|
*/
|
|
where: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
/**
|
|
* In case the ticket_calendar_staff_lock found by the `where` argument doesn't exist, create a new ticket_calendar_staff_lock with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ticket_calendar_staff_lockCreateInput, Prisma.ticket_calendar_staff_lockUncheckedCreateInput>
|
|
/**
|
|
* In case the ticket_calendar_staff_lock was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ticket_calendar_staff_lockUpdateInput, Prisma.ticket_calendar_staff_lockUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock delete
|
|
*/
|
|
export type ticket_calendar_staff_lockDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which ticket_calendar_staff_lock to delete.
|
|
*/
|
|
where: Prisma.ticket_calendar_staff_lockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock deleteMany
|
|
*/
|
|
export type ticket_calendar_staff_lockDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ticket_calendar_staff_locks to delete
|
|
*/
|
|
where?: Prisma.ticket_calendar_staff_lockWhereInput
|
|
/**
|
|
* Limit how many ticket_calendar_staff_locks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ticket_calendar_staff_lock without action
|
|
*/
|
|
export type ticket_calendar_staff_lockDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_calendar_staff_lock
|
|
*/
|
|
select?: Prisma.ticket_calendar_staff_lockSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_calendar_staff_lock
|
|
*/
|
|
omit?: Prisma.ticket_calendar_staff_lockOmit<ExtArgs> | null
|
|
}
|