/* !!! 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_conge` 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_conge * */ export type ticket_congeModel = runtime.Types.Result.DefaultSelection export type AggregateTicket_conge = { _count: Ticket_congeCountAggregateOutputType | null _avg: Ticket_congeAvgAggregateOutputType | null _sum: Ticket_congeSumAggregateOutputType | null _min: Ticket_congeMinAggregateOutputType | null _max: Ticket_congeMaxAggregateOutputType | null } export type Ticket_congeAvgAggregateOutputType = { id: number | null account_id: number | null date: number | null ticket_id: number | null } export type Ticket_congeSumAggregateOutputType = { id: number | null account_id: number | null date: bigint | null ticket_id: number | null } export type Ticket_congeMinAggregateOutputType = { id: number | null account_id: number | null name: string | null date: bigint | null desc: string | null ticket_id: number | null } export type Ticket_congeMaxAggregateOutputType = { id: number | null account_id: number | null name: string | null date: bigint | null desc: string | null ticket_id: number | null } export type Ticket_congeCountAggregateOutputType = { id: number account_id: number name: number date: number desc: number ticket_id: number _all: number } export type Ticket_congeAvgAggregateInputType = { id?: true account_id?: true date?: true ticket_id?: true } export type Ticket_congeSumAggregateInputType = { id?: true account_id?: true date?: true ticket_id?: true } export type Ticket_congeMinAggregateInputType = { id?: true account_id?: true name?: true date?: true desc?: true ticket_id?: true } export type Ticket_congeMaxAggregateInputType = { id?: true account_id?: true name?: true date?: true desc?: true ticket_id?: true } export type Ticket_congeCountAggregateInputType = { id?: true account_id?: true name?: true date?: true desc?: true ticket_id?: true _all?: true } export type Ticket_congeAggregateArgs = { /** * Filter which ticket_conge to aggregate. */ where?: Prisma.ticket_congeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ticket_conges to fetch. */ orderBy?: Prisma.ticket_congeOrderByWithRelationInput | Prisma.ticket_congeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ticket_congeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ticket_conges 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_conges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ticket_conges **/ _count?: true | Ticket_congeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Ticket_congeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Ticket_congeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Ticket_congeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Ticket_congeMaxAggregateInputType } export type GetTicket_congeAggregateType = { [P in keyof T & keyof AggregateTicket_conge]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ticket_congeGroupByArgs = { where?: Prisma.ticket_congeWhereInput orderBy?: Prisma.ticket_congeOrderByWithAggregationInput | Prisma.ticket_congeOrderByWithAggregationInput[] by: Prisma.Ticket_congeScalarFieldEnum[] | Prisma.Ticket_congeScalarFieldEnum having?: Prisma.ticket_congeScalarWhereWithAggregatesInput take?: number skip?: number _count?: Ticket_congeCountAggregateInputType | true _avg?: Ticket_congeAvgAggregateInputType _sum?: Ticket_congeSumAggregateInputType _min?: Ticket_congeMinAggregateInputType _max?: Ticket_congeMaxAggregateInputType } export type Ticket_congeGroupByOutputType = { id: number account_id: number name: string date: bigint desc: string ticket_id: number | null _count: Ticket_congeCountAggregateOutputType | null _avg: Ticket_congeAvgAggregateOutputType | null _sum: Ticket_congeSumAggregateOutputType | null _min: Ticket_congeMinAggregateOutputType | null _max: Ticket_congeMaxAggregateOutputType | null } type GetTicket_congeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Ticket_congeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ticket_congeWhereInput = { AND?: Prisma.ticket_congeWhereInput | Prisma.ticket_congeWhereInput[] OR?: Prisma.ticket_congeWhereInput[] NOT?: Prisma.ticket_congeWhereInput | Prisma.ticket_congeWhereInput[] id?: Prisma.IntFilter<"ticket_conge"> | number account_id?: Prisma.IntFilter<"ticket_conge"> | number name?: Prisma.StringFilter<"ticket_conge"> | string date?: Prisma.BigIntFilter<"ticket_conge"> | bigint | number desc?: Prisma.StringFilter<"ticket_conge"> | string ticket_id?: Prisma.IntNullableFilter<"ticket_conge"> | number | null } export type ticket_congeOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder date?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.ticket_congeOrderByRelevanceInput } export type ticket_congeWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.ticket_congeWhereInput | Prisma.ticket_congeWhereInput[] OR?: Prisma.ticket_congeWhereInput[] NOT?: Prisma.ticket_congeWhereInput | Prisma.ticket_congeWhereInput[] account_id?: Prisma.IntFilter<"ticket_conge"> | number name?: Prisma.StringFilter<"ticket_conge"> | string date?: Prisma.BigIntFilter<"ticket_conge"> | bigint | number desc?: Prisma.StringFilter<"ticket_conge"> | string ticket_id?: Prisma.IntNullableFilter<"ticket_conge"> | number | null }, "id"> export type ticket_congeOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder date?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ticket_congeCountOrderByAggregateInput _avg?: Prisma.ticket_congeAvgOrderByAggregateInput _max?: Prisma.ticket_congeMaxOrderByAggregateInput _min?: Prisma.ticket_congeMinOrderByAggregateInput _sum?: Prisma.ticket_congeSumOrderByAggregateInput } export type ticket_congeScalarWhereWithAggregatesInput = { AND?: Prisma.ticket_congeScalarWhereWithAggregatesInput | Prisma.ticket_congeScalarWhereWithAggregatesInput[] OR?: Prisma.ticket_congeScalarWhereWithAggregatesInput[] NOT?: Prisma.ticket_congeScalarWhereWithAggregatesInput | Prisma.ticket_congeScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"ticket_conge"> | number account_id?: Prisma.IntWithAggregatesFilter<"ticket_conge"> | number name?: Prisma.StringWithAggregatesFilter<"ticket_conge"> | string date?: Prisma.BigIntWithAggregatesFilter<"ticket_conge"> | bigint | number desc?: Prisma.StringWithAggregatesFilter<"ticket_conge"> | string ticket_id?: Prisma.IntNullableWithAggregatesFilter<"ticket_conge"> | number | null } export type ticket_congeCreateInput = { account_id: number name: string date: bigint | number desc: string ticket_id?: number | null } export type ticket_congeUncheckedCreateInput = { id?: number account_id: number name: string date: bigint | number desc: string ticket_id?: number | null } export type ticket_congeUpdateInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type ticket_congeUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type ticket_congeCreateManyInput = { id?: number account_id: number name: string date: bigint | number desc: string ticket_id?: number | null } export type ticket_congeUpdateManyMutationInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type ticket_congeUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type ticket_congeOrderByRelevanceInput = { fields: Prisma.ticket_congeOrderByRelevanceFieldEnum | Prisma.ticket_congeOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type ticket_congeCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder date?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder } export type ticket_congeAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder ticket_id?: Prisma.SortOrder } export type ticket_congeMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder date?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder } export type ticket_congeMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder date?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder } export type ticket_congeSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder date?: Prisma.SortOrder ticket_id?: Prisma.SortOrder } export type ticket_congeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean name?: boolean date?: boolean desc?: boolean ticket_id?: boolean }, ExtArgs["result"]["ticket_conge"]> export type ticket_congeSelectScalar = { id?: boolean account_id?: boolean name?: boolean date?: boolean desc?: boolean ticket_id?: boolean } export type ticket_congeOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "name" | "date" | "desc" | "ticket_id", ExtArgs["result"]["ticket_conge"]> export type $ticket_congePayload = { name: "ticket_conge" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: number name: string date: bigint desc: string ticket_id: number | null }, ExtArgs["result"]["ticket_conge"]> composites: {} } export type ticket_congeGetPayload = runtime.Types.Result.GetResult export type ticket_congeCountArgs = Omit & { select?: Ticket_congeCountAggregateInputType | true } export interface ticket_congeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ticket_conge'], meta: { name: 'ticket_conge' } } /** * Find zero or one Ticket_conge that matches the filter. * @param {ticket_congeFindUniqueArgs} args - Arguments to find a Ticket_conge * @example * // Get one Ticket_conge * const ticket_conge = await prisma.ticket_conge.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Ticket_conge that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ticket_congeFindUniqueOrThrowArgs} args - Arguments to find a Ticket_conge * @example * // Get one Ticket_conge * const ticket_conge = await prisma.ticket_conge.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Ticket_conge 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_congeFindFirstArgs} args - Arguments to find a Ticket_conge * @example * // Get one Ticket_conge * const ticket_conge = await prisma.ticket_conge.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Ticket_conge 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_congeFindFirstOrThrowArgs} args - Arguments to find a Ticket_conge * @example * // Get one Ticket_conge * const ticket_conge = await prisma.ticket_conge.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Ticket_conges 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_congeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Ticket_conges * const ticket_conges = await prisma.ticket_conge.findMany() * * // Get first 10 Ticket_conges * const ticket_conges = await prisma.ticket_conge.findMany({ take: 10 }) * * // Only select the `id` * const ticket_congeWithIdOnly = await prisma.ticket_conge.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Ticket_conge. * @param {ticket_congeCreateArgs} args - Arguments to create a Ticket_conge. * @example * // Create one Ticket_conge * const Ticket_conge = await prisma.ticket_conge.create({ * data: { * // ... data to create a Ticket_conge * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Ticket_conges. * @param {ticket_congeCreateManyArgs} args - Arguments to create many Ticket_conges. * @example * // Create many Ticket_conges * const ticket_conge = await prisma.ticket_conge.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Ticket_conge. * @param {ticket_congeDeleteArgs} args - Arguments to delete one Ticket_conge. * @example * // Delete one Ticket_conge * const Ticket_conge = await prisma.ticket_conge.delete({ * where: { * // ... filter to delete one Ticket_conge * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Ticket_conge. * @param {ticket_congeUpdateArgs} args - Arguments to update one Ticket_conge. * @example * // Update one Ticket_conge * const ticket_conge = await prisma.ticket_conge.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Ticket_conges. * @param {ticket_congeDeleteManyArgs} args - Arguments to filter Ticket_conges to delete. * @example * // Delete a few Ticket_conges * const { count } = await prisma.ticket_conge.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Ticket_conges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ticket_congeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Ticket_conges * const ticket_conge = await prisma.ticket_conge.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Ticket_conge. * @param {ticket_congeUpsertArgs} args - Arguments to update or create a Ticket_conge. * @example * // Update or create a Ticket_conge * const ticket_conge = await prisma.ticket_conge.upsert({ * create: { * // ... data to create a Ticket_conge * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Ticket_conge we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ticket_congeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Ticket_conges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ticket_congeCountArgs} args - Arguments to filter Ticket_conges to count. * @example * // Count the number of Ticket_conges * const count = await prisma.ticket_conge.count({ * where: { * // ... the filter for the Ticket_conges 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_conge. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Ticket_congeAggregateArgs} 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_conge. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ticket_congeGroupByArgs} 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_congeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ticket_congeGroupByArgs['orderBy'] } : { orderBy?: ticket_congeGroupByArgs['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_congeGroupByPayload : Prisma.PrismaPromise /** * Fields of the ticket_conge model */ readonly fields: ticket_congeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ticket_conge. * 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_congeClient 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_conge model */ export interface ticket_congeFieldRefs { readonly id: Prisma.FieldRef<"ticket_conge", 'Int'> readonly account_id: Prisma.FieldRef<"ticket_conge", 'Int'> readonly name: Prisma.FieldRef<"ticket_conge", 'String'> readonly date: Prisma.FieldRef<"ticket_conge", 'BigInt'> readonly desc: Prisma.FieldRef<"ticket_conge", 'String'> readonly ticket_id: Prisma.FieldRef<"ticket_conge", 'Int'> } // Custom InputTypes /** * ticket_conge findUnique */ export type ticket_congeFindUniqueArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter, which ticket_conge to fetch. */ where: Prisma.ticket_congeWhereUniqueInput } /** * ticket_conge findUniqueOrThrow */ export type ticket_congeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter, which ticket_conge to fetch. */ where: Prisma.ticket_congeWhereUniqueInput } /** * ticket_conge findFirst */ export type ticket_congeFindFirstArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter, which ticket_conge to fetch. */ where?: Prisma.ticket_congeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ticket_conges to fetch. */ orderBy?: Prisma.ticket_congeOrderByWithRelationInput | Prisma.ticket_congeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ticket_conges. */ cursor?: Prisma.ticket_congeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ticket_conges 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_conges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ticket_conges. */ distinct?: Prisma.Ticket_congeScalarFieldEnum | Prisma.Ticket_congeScalarFieldEnum[] } /** * ticket_conge findFirstOrThrow */ export type ticket_congeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter, which ticket_conge to fetch. */ where?: Prisma.ticket_congeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ticket_conges to fetch. */ orderBy?: Prisma.ticket_congeOrderByWithRelationInput | Prisma.ticket_congeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ticket_conges. */ cursor?: Prisma.ticket_congeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ticket_conges 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_conges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ticket_conges. */ distinct?: Prisma.Ticket_congeScalarFieldEnum | Prisma.Ticket_congeScalarFieldEnum[] } /** * ticket_conge findMany */ export type ticket_congeFindManyArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter, which ticket_conges to fetch. */ where?: Prisma.ticket_congeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ticket_conges to fetch. */ orderBy?: Prisma.ticket_congeOrderByWithRelationInput | Prisma.ticket_congeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ticket_conges. */ cursor?: Prisma.ticket_congeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ticket_conges 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_conges. */ skip?: number distinct?: Prisma.Ticket_congeScalarFieldEnum | Prisma.Ticket_congeScalarFieldEnum[] } /** * ticket_conge create */ export type ticket_congeCreateArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * The data needed to create a ticket_conge. */ data: Prisma.XOR } /** * ticket_conge createMany */ export type ticket_congeCreateManyArgs = { /** * The data used to create many ticket_conges. */ data: Prisma.ticket_congeCreateManyInput | Prisma.ticket_congeCreateManyInput[] skipDuplicates?: boolean } /** * ticket_conge update */ export type ticket_congeUpdateArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * The data needed to update a ticket_conge. */ data: Prisma.XOR /** * Choose, which ticket_conge to update. */ where: Prisma.ticket_congeWhereUniqueInput } /** * ticket_conge updateMany */ export type ticket_congeUpdateManyArgs = { /** * The data used to update ticket_conges. */ data: Prisma.XOR /** * Filter which ticket_conges to update */ where?: Prisma.ticket_congeWhereInput /** * Limit how many ticket_conges to update. */ limit?: number } /** * ticket_conge upsert */ export type ticket_congeUpsertArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * The filter to search for the ticket_conge to update in case it exists. */ where: Prisma.ticket_congeWhereUniqueInput /** * In case the ticket_conge found by the `where` argument doesn't exist, create a new ticket_conge with this data. */ create: Prisma.XOR /** * In case the ticket_conge was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ticket_conge delete */ export type ticket_congeDeleteArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null /** * Filter which ticket_conge to delete. */ where: Prisma.ticket_congeWhereUniqueInput } /** * ticket_conge deleteMany */ export type ticket_congeDeleteManyArgs = { /** * Filter which ticket_conges to delete */ where?: Prisma.ticket_congeWhereInput /** * Limit how many ticket_conges to delete. */ limit?: number } /** * ticket_conge without action */ export type ticket_congeDefaultArgs = { /** * Select specific fields to fetch from the ticket_conge */ select?: Prisma.ticket_congeSelect | null /** * Omit specific fields from the ticket_conge */ omit?: Prisma.ticket_congeOmit | null }