/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateTicket_calendar_staff_lock]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ticket_calendar_staff_lockGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Ticket_calendar_staff_lockGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "date" | "staff_id", ExtArgs["result"]["ticket_calendar_staff_lock"]> export type $ticket_calendar_staff_lockPayload = { 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 = runtime.Types.Result.GetResult export type ticket_calendar_staff_lockCountArgs = Omit & { select?: Ticket_calendar_staff_lockCountAggregateInputType | true } export interface ticket_calendar_staff_lockDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_calendar_staff_lockClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ticket_calendar_staff_lockGroupByArgs['orderBy'] } : { orderBy?: ticket_calendar_staff_lockGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetTicket_calendar_staff_lockGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | null /** * The data needed to create a ticket_calendar_staff_lock. */ data: Prisma.XOR } /** * ticket_calendar_staff_lock createMany */ export type ticket_calendar_staff_lockCreateManyArgs = { /** * 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | null /** * The data needed to update a ticket_calendar_staff_lock. */ data: Prisma.XOR /** * 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 = { /** * The data used to update ticket_calendar_staff_locks. */ data: Prisma.XOR /** * 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 /** * In case the ticket_calendar_staff_lock was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ticket_calendar_staff_lock delete */ export type ticket_calendar_staff_lockDeleteArgs = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | 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 = { /** * 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 = { /** * Select specific fields to fetch from the ticket_calendar_staff_lock */ select?: Prisma.ticket_calendar_staff_lockSelect | null /** * Omit specific fields from the ticket_calendar_staff_lock */ omit?: Prisma.ticket_calendar_staff_lockOmit | null }