/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `banque_heure_staff` 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 banque_heure_staff * */ export type banque_heure_staffModel = runtime.Types.Result.DefaultSelection export type AggregateBanque_heure_staff = { _count: Banque_heure_staffCountAggregateOutputType | null _avg: Banque_heure_staffAvgAggregateOutputType | null _sum: Banque_heure_staffSumAggregateOutputType | null _min: Banque_heure_staffMinAggregateOutputType | null _max: Banque_heure_staffMaxAggregateOutputType | null } export type Banque_heure_staffAvgAggregateOutputType = { id: number | null staff_id: number | null week: number | null year: number | null heure: number | null } export type Banque_heure_staffSumAggregateOutputType = { id: number | null staff_id: number | null week: number | null year: number | null heure: number | null } export type Banque_heure_staffMinAggregateOutputType = { id: number | null staff_id: number | null week: number | null year: number | null sunday: string | null heure: number | null } export type Banque_heure_staffMaxAggregateOutputType = { id: number | null staff_id: number | null week: number | null year: number | null sunday: string | null heure: number | null } export type Banque_heure_staffCountAggregateOutputType = { id: number staff_id: number week: number year: number sunday: number heure: number _all: number } export type Banque_heure_staffAvgAggregateInputType = { id?: true staff_id?: true week?: true year?: true heure?: true } export type Banque_heure_staffSumAggregateInputType = { id?: true staff_id?: true week?: true year?: true heure?: true } export type Banque_heure_staffMinAggregateInputType = { id?: true staff_id?: true week?: true year?: true sunday?: true heure?: true } export type Banque_heure_staffMaxAggregateInputType = { id?: true staff_id?: true week?: true year?: true sunday?: true heure?: true } export type Banque_heure_staffCountAggregateInputType = { id?: true staff_id?: true week?: true year?: true sunday?: true heure?: true _all?: true } export type Banque_heure_staffAggregateArgs = { /** * Filter which banque_heure_staff to aggregate. */ where?: Prisma.banque_heure_staffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of banque_heure_staffs to fetch. */ orderBy?: Prisma.banque_heure_staffOrderByWithRelationInput | Prisma.banque_heure_staffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.banque_heure_staffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` banque_heure_staffs 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` banque_heure_staffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned banque_heure_staffs **/ _count?: true | Banque_heure_staffCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Banque_heure_staffAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Banque_heure_staffSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Banque_heure_staffMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Banque_heure_staffMaxAggregateInputType } export type GetBanque_heure_staffAggregateType = { [P in keyof T & keyof AggregateBanque_heure_staff]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type banque_heure_staffGroupByArgs = { where?: Prisma.banque_heure_staffWhereInput orderBy?: Prisma.banque_heure_staffOrderByWithAggregationInput | Prisma.banque_heure_staffOrderByWithAggregationInput[] by: Prisma.Banque_heure_staffScalarFieldEnum[] | Prisma.Banque_heure_staffScalarFieldEnum having?: Prisma.banque_heure_staffScalarWhereWithAggregatesInput take?: number skip?: number _count?: Banque_heure_staffCountAggregateInputType | true _avg?: Banque_heure_staffAvgAggregateInputType _sum?: Banque_heure_staffSumAggregateInputType _min?: Banque_heure_staffMinAggregateInputType _max?: Banque_heure_staffMaxAggregateInputType } export type Banque_heure_staffGroupByOutputType = { id: number staff_id: number week: number year: number sunday: string | null heure: number _count: Banque_heure_staffCountAggregateOutputType | null _avg: Banque_heure_staffAvgAggregateOutputType | null _sum: Banque_heure_staffSumAggregateOutputType | null _min: Banque_heure_staffMinAggregateOutputType | null _max: Banque_heure_staffMaxAggregateOutputType | null } type GetBanque_heure_staffGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Banque_heure_staffGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type banque_heure_staffWhereInput = { AND?: Prisma.banque_heure_staffWhereInput | Prisma.banque_heure_staffWhereInput[] OR?: Prisma.banque_heure_staffWhereInput[] NOT?: Prisma.banque_heure_staffWhereInput | Prisma.banque_heure_staffWhereInput[] id?: Prisma.IntFilter<"banque_heure_staff"> | number staff_id?: Prisma.IntFilter<"banque_heure_staff"> | number week?: Prisma.IntFilter<"banque_heure_staff"> | number year?: Prisma.IntFilter<"banque_heure_staff"> | number sunday?: Prisma.StringNullableFilter<"banque_heure_staff"> | string | null heure?: Prisma.FloatFilter<"banque_heure_staff"> | number } export type banque_heure_staffOrderByWithRelationInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder sunday?: Prisma.SortOrderInput | Prisma.SortOrder heure?: Prisma.SortOrder _relevance?: Prisma.banque_heure_staffOrderByRelevanceInput } export type banque_heure_staffWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.banque_heure_staffWhereInput | Prisma.banque_heure_staffWhereInput[] OR?: Prisma.banque_heure_staffWhereInput[] NOT?: Prisma.banque_heure_staffWhereInput | Prisma.banque_heure_staffWhereInput[] staff_id?: Prisma.IntFilter<"banque_heure_staff"> | number week?: Prisma.IntFilter<"banque_heure_staff"> | number year?: Prisma.IntFilter<"banque_heure_staff"> | number sunday?: Prisma.StringNullableFilter<"banque_heure_staff"> | string | null heure?: Prisma.FloatFilter<"banque_heure_staff"> | number }, "id"> export type banque_heure_staffOrderByWithAggregationInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder sunday?: Prisma.SortOrderInput | Prisma.SortOrder heure?: Prisma.SortOrder _count?: Prisma.banque_heure_staffCountOrderByAggregateInput _avg?: Prisma.banque_heure_staffAvgOrderByAggregateInput _max?: Prisma.banque_heure_staffMaxOrderByAggregateInput _min?: Prisma.banque_heure_staffMinOrderByAggregateInput _sum?: Prisma.banque_heure_staffSumOrderByAggregateInput } export type banque_heure_staffScalarWhereWithAggregatesInput = { AND?: Prisma.banque_heure_staffScalarWhereWithAggregatesInput | Prisma.banque_heure_staffScalarWhereWithAggregatesInput[] OR?: Prisma.banque_heure_staffScalarWhereWithAggregatesInput[] NOT?: Prisma.banque_heure_staffScalarWhereWithAggregatesInput | Prisma.banque_heure_staffScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"banque_heure_staff"> | number staff_id?: Prisma.IntWithAggregatesFilter<"banque_heure_staff"> | number week?: Prisma.IntWithAggregatesFilter<"banque_heure_staff"> | number year?: Prisma.IntWithAggregatesFilter<"banque_heure_staff"> | number sunday?: Prisma.StringNullableWithAggregatesFilter<"banque_heure_staff"> | string | null heure?: Prisma.FloatWithAggregatesFilter<"banque_heure_staff"> | number } export type banque_heure_staffCreateInput = { staff_id: number week: number year: number sunday?: string | null heure: number } export type banque_heure_staffUncheckedCreateInput = { id?: number staff_id: number week: number year: number sunday?: string | null heure: number } export type banque_heure_staffUpdateInput = { staff_id?: Prisma.IntFieldUpdateOperationsInput | number week?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number sunday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null heure?: Prisma.FloatFieldUpdateOperationsInput | number } export type banque_heure_staffUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number staff_id?: Prisma.IntFieldUpdateOperationsInput | number week?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number sunday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null heure?: Prisma.FloatFieldUpdateOperationsInput | number } export type banque_heure_staffCreateManyInput = { id?: number staff_id: number week: number year: number sunday?: string | null heure: number } export type banque_heure_staffUpdateManyMutationInput = { staff_id?: Prisma.IntFieldUpdateOperationsInput | number week?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number sunday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null heure?: Prisma.FloatFieldUpdateOperationsInput | number } export type banque_heure_staffUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number staff_id?: Prisma.IntFieldUpdateOperationsInput | number week?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number sunday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null heure?: Prisma.FloatFieldUpdateOperationsInput | number } export type banque_heure_staffOrderByRelevanceInput = { fields: Prisma.banque_heure_staffOrderByRelevanceFieldEnum | Prisma.banque_heure_staffOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type banque_heure_staffCountOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder sunday?: Prisma.SortOrder heure?: Prisma.SortOrder } export type banque_heure_staffAvgOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder heure?: Prisma.SortOrder } export type banque_heure_staffMaxOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder sunday?: Prisma.SortOrder heure?: Prisma.SortOrder } export type banque_heure_staffMinOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder sunday?: Prisma.SortOrder heure?: Prisma.SortOrder } export type banque_heure_staffSumOrderByAggregateInput = { id?: Prisma.SortOrder staff_id?: Prisma.SortOrder week?: Prisma.SortOrder year?: Prisma.SortOrder heure?: Prisma.SortOrder } export type banque_heure_staffSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean staff_id?: boolean week?: boolean year?: boolean sunday?: boolean heure?: boolean }, ExtArgs["result"]["banque_heure_staff"]> export type banque_heure_staffSelectScalar = { id?: boolean staff_id?: boolean week?: boolean year?: boolean sunday?: boolean heure?: boolean } export type banque_heure_staffOmit = runtime.Types.Extensions.GetOmit<"id" | "staff_id" | "week" | "year" | "sunday" | "heure", ExtArgs["result"]["banque_heure_staff"]> export type $banque_heure_staffPayload = { name: "banque_heure_staff" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number staff_id: number week: number year: number sunday: string | null heure: number }, ExtArgs["result"]["banque_heure_staff"]> composites: {} } export type banque_heure_staffGetPayload = runtime.Types.Result.GetResult export type banque_heure_staffCountArgs = Omit & { select?: Banque_heure_staffCountAggregateInputType | true } export interface banque_heure_staffDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['banque_heure_staff'], meta: { name: 'banque_heure_staff' } } /** * Find zero or one Banque_heure_staff that matches the filter. * @param {banque_heure_staffFindUniqueArgs} args - Arguments to find a Banque_heure_staff * @example * // Get one Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Banque_heure_staff that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {banque_heure_staffFindUniqueOrThrowArgs} args - Arguments to find a Banque_heure_staff * @example * // Get one Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Banque_heure_staff 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 {banque_heure_staffFindFirstArgs} args - Arguments to find a Banque_heure_staff * @example * // Get one Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Banque_heure_staff 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 {banque_heure_staffFindFirstOrThrowArgs} args - Arguments to find a Banque_heure_staff * @example * // Get one Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Banque_heure_staffs 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 {banque_heure_staffFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Banque_heure_staffs * const banque_heure_staffs = await prisma.banque_heure_staff.findMany() * * // Get first 10 Banque_heure_staffs * const banque_heure_staffs = await prisma.banque_heure_staff.findMany({ take: 10 }) * * // Only select the `id` * const banque_heure_staffWithIdOnly = await prisma.banque_heure_staff.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Banque_heure_staff. * @param {banque_heure_staffCreateArgs} args - Arguments to create a Banque_heure_staff. * @example * // Create one Banque_heure_staff * const Banque_heure_staff = await prisma.banque_heure_staff.create({ * data: { * // ... data to create a Banque_heure_staff * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Banque_heure_staffs. * @param {banque_heure_staffCreateManyArgs} args - Arguments to create many Banque_heure_staffs. * @example * // Create many Banque_heure_staffs * const banque_heure_staff = await prisma.banque_heure_staff.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Banque_heure_staff. * @param {banque_heure_staffDeleteArgs} args - Arguments to delete one Banque_heure_staff. * @example * // Delete one Banque_heure_staff * const Banque_heure_staff = await prisma.banque_heure_staff.delete({ * where: { * // ... filter to delete one Banque_heure_staff * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Banque_heure_staff. * @param {banque_heure_staffUpdateArgs} args - Arguments to update one Banque_heure_staff. * @example * // Update one Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Banque_heure_staffs. * @param {banque_heure_staffDeleteManyArgs} args - Arguments to filter Banque_heure_staffs to delete. * @example * // Delete a few Banque_heure_staffs * const { count } = await prisma.banque_heure_staff.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Banque_heure_staffs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {banque_heure_staffUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Banque_heure_staffs * const banque_heure_staff = await prisma.banque_heure_staff.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Banque_heure_staff. * @param {banque_heure_staffUpsertArgs} args - Arguments to update or create a Banque_heure_staff. * @example * // Update or create a Banque_heure_staff * const banque_heure_staff = await prisma.banque_heure_staff.upsert({ * create: { * // ... data to create a Banque_heure_staff * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Banque_heure_staff we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__banque_heure_staffClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Banque_heure_staffs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {banque_heure_staffCountArgs} args - Arguments to filter Banque_heure_staffs to count. * @example * // Count the number of Banque_heure_staffs * const count = await prisma.banque_heure_staff.count({ * where: { * // ... the filter for the Banque_heure_staffs 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 Banque_heure_staff. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Banque_heure_staffAggregateArgs} 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 Banque_heure_staff. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {banque_heure_staffGroupByArgs} 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 banque_heure_staffGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: banque_heure_staffGroupByArgs['orderBy'] } : { orderBy?: banque_heure_staffGroupByArgs['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 ? GetBanque_heure_staffGroupByPayload : Prisma.PrismaPromise /** * Fields of the banque_heure_staff model */ readonly fields: banque_heure_staffFieldRefs; } /** * The delegate class that acts as a "Promise-like" for banque_heure_staff. * 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__banque_heure_staffClient 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 banque_heure_staff model */ export interface banque_heure_staffFieldRefs { readonly id: Prisma.FieldRef<"banque_heure_staff", 'Int'> readonly staff_id: Prisma.FieldRef<"banque_heure_staff", 'Int'> readonly week: Prisma.FieldRef<"banque_heure_staff", 'Int'> readonly year: Prisma.FieldRef<"banque_heure_staff", 'Int'> readonly sunday: Prisma.FieldRef<"banque_heure_staff", 'String'> readonly heure: Prisma.FieldRef<"banque_heure_staff", 'Float'> } // Custom InputTypes /** * banque_heure_staff findUnique */ export type banque_heure_staffFindUniqueArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter, which banque_heure_staff to fetch. */ where: Prisma.banque_heure_staffWhereUniqueInput } /** * banque_heure_staff findUniqueOrThrow */ export type banque_heure_staffFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter, which banque_heure_staff to fetch. */ where: Prisma.banque_heure_staffWhereUniqueInput } /** * banque_heure_staff findFirst */ export type banque_heure_staffFindFirstArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter, which banque_heure_staff to fetch. */ where?: Prisma.banque_heure_staffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of banque_heure_staffs to fetch. */ orderBy?: Prisma.banque_heure_staffOrderByWithRelationInput | Prisma.banque_heure_staffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for banque_heure_staffs. */ cursor?: Prisma.banque_heure_staffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` banque_heure_staffs 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` banque_heure_staffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of banque_heure_staffs. */ distinct?: Prisma.Banque_heure_staffScalarFieldEnum | Prisma.Banque_heure_staffScalarFieldEnum[] } /** * banque_heure_staff findFirstOrThrow */ export type banque_heure_staffFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter, which banque_heure_staff to fetch. */ where?: Prisma.banque_heure_staffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of banque_heure_staffs to fetch. */ orderBy?: Prisma.banque_heure_staffOrderByWithRelationInput | Prisma.banque_heure_staffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for banque_heure_staffs. */ cursor?: Prisma.banque_heure_staffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` banque_heure_staffs 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` banque_heure_staffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of banque_heure_staffs. */ distinct?: Prisma.Banque_heure_staffScalarFieldEnum | Prisma.Banque_heure_staffScalarFieldEnum[] } /** * banque_heure_staff findMany */ export type banque_heure_staffFindManyArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter, which banque_heure_staffs to fetch. */ where?: Prisma.banque_heure_staffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of banque_heure_staffs to fetch. */ orderBy?: Prisma.banque_heure_staffOrderByWithRelationInput | Prisma.banque_heure_staffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing banque_heure_staffs. */ cursor?: Prisma.banque_heure_staffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` banque_heure_staffs 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` banque_heure_staffs. */ skip?: number distinct?: Prisma.Banque_heure_staffScalarFieldEnum | Prisma.Banque_heure_staffScalarFieldEnum[] } /** * banque_heure_staff create */ export type banque_heure_staffCreateArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * The data needed to create a banque_heure_staff. */ data: Prisma.XOR } /** * banque_heure_staff createMany */ export type banque_heure_staffCreateManyArgs = { /** * The data used to create many banque_heure_staffs. */ data: Prisma.banque_heure_staffCreateManyInput | Prisma.banque_heure_staffCreateManyInput[] skipDuplicates?: boolean } /** * banque_heure_staff update */ export type banque_heure_staffUpdateArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * The data needed to update a banque_heure_staff. */ data: Prisma.XOR /** * Choose, which banque_heure_staff to update. */ where: Prisma.banque_heure_staffWhereUniqueInput } /** * banque_heure_staff updateMany */ export type banque_heure_staffUpdateManyArgs = { /** * The data used to update banque_heure_staffs. */ data: Prisma.XOR /** * Filter which banque_heure_staffs to update */ where?: Prisma.banque_heure_staffWhereInput /** * Limit how many banque_heure_staffs to update. */ limit?: number } /** * banque_heure_staff upsert */ export type banque_heure_staffUpsertArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * The filter to search for the banque_heure_staff to update in case it exists. */ where: Prisma.banque_heure_staffWhereUniqueInput /** * In case the banque_heure_staff found by the `where` argument doesn't exist, create a new banque_heure_staff with this data. */ create: Prisma.XOR /** * In case the banque_heure_staff was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * banque_heure_staff delete */ export type banque_heure_staffDeleteArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null /** * Filter which banque_heure_staff to delete. */ where: Prisma.banque_heure_staffWhereUniqueInput } /** * banque_heure_staff deleteMany */ export type banque_heure_staffDeleteManyArgs = { /** * Filter which banque_heure_staffs to delete */ where?: Prisma.banque_heure_staffWhereInput /** * Limit how many banque_heure_staffs to delete. */ limit?: number } /** * banque_heure_staff without action */ export type banque_heure_staffDefaultArgs = { /** * Select specific fields to fetch from the banque_heure_staff */ select?: Prisma.banque_heure_staffSelect | null /** * Omit specific fields from the banque_heure_staff */ omit?: Prisma.banque_heure_staffOmit | null }