/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `carte_temps_periode` 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 carte_temps_periode * */ export type carte_temps_periodeModel = runtime.Types.Result.DefaultSelection export type AggregateCarte_temps_periode = { _count: Carte_temps_periodeCountAggregateOutputType | null _avg: Carte_temps_periodeAvgAggregateOutputType | null _sum: Carte_temps_periodeSumAggregateOutputType | null _min: Carte_temps_periodeMinAggregateOutputType | null _max: Carte_temps_periodeMaxAggregateOutputType | null } export type Carte_temps_periodeAvgAggregateOutputType = { id: number | null periode: number | null annee: number | null } export type Carte_temps_periodeSumAggregateOutputType = { id: number | null periode: number | null annee: number | null } export type Carte_temps_periodeMinAggregateOutputType = { id: number | null debut: string | null fin: string | null paid: string | null periode: number | null annee: number | null } export type Carte_temps_periodeMaxAggregateOutputType = { id: number | null debut: string | null fin: string | null paid: string | null periode: number | null annee: number | null } export type Carte_temps_periodeCountAggregateOutputType = { id: number debut: number fin: number paid: number periode: number annee: number _all: number } export type Carte_temps_periodeAvgAggregateInputType = { id?: true periode?: true annee?: true } export type Carte_temps_periodeSumAggregateInputType = { id?: true periode?: true annee?: true } export type Carte_temps_periodeMinAggregateInputType = { id?: true debut?: true fin?: true paid?: true periode?: true annee?: true } export type Carte_temps_periodeMaxAggregateInputType = { id?: true debut?: true fin?: true paid?: true periode?: true annee?: true } export type Carte_temps_periodeCountAggregateInputType = { id?: true debut?: true fin?: true paid?: true periode?: true annee?: true _all?: true } export type Carte_temps_periodeAggregateArgs = { /** * Filter which carte_temps_periode to aggregate. */ where?: Prisma.carte_temps_periodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of carte_temps_periodes to fetch. */ orderBy?: Prisma.carte_temps_periodeOrderByWithRelationInput | Prisma.carte_temps_periodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.carte_temps_periodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` carte_temps_periodes 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` carte_temps_periodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned carte_temps_periodes **/ _count?: true | Carte_temps_periodeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Carte_temps_periodeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Carte_temps_periodeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Carte_temps_periodeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Carte_temps_periodeMaxAggregateInputType } export type GetCarte_temps_periodeAggregateType = { [P in keyof T & keyof AggregateCarte_temps_periode]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type carte_temps_periodeGroupByArgs = { where?: Prisma.carte_temps_periodeWhereInput orderBy?: Prisma.carte_temps_periodeOrderByWithAggregationInput | Prisma.carte_temps_periodeOrderByWithAggregationInput[] by: Prisma.Carte_temps_periodeScalarFieldEnum[] | Prisma.Carte_temps_periodeScalarFieldEnum having?: Prisma.carte_temps_periodeScalarWhereWithAggregatesInput take?: number skip?: number _count?: Carte_temps_periodeCountAggregateInputType | true _avg?: Carte_temps_periodeAvgAggregateInputType _sum?: Carte_temps_periodeSumAggregateInputType _min?: Carte_temps_periodeMinAggregateInputType _max?: Carte_temps_periodeMaxAggregateInputType } export type Carte_temps_periodeGroupByOutputType = { id: number debut: string fin: string paid: string periode: number annee: number _count: Carte_temps_periodeCountAggregateOutputType | null _avg: Carte_temps_periodeAvgAggregateOutputType | null _sum: Carte_temps_periodeSumAggregateOutputType | null _min: Carte_temps_periodeMinAggregateOutputType | null _max: Carte_temps_periodeMaxAggregateOutputType | null } type GetCarte_temps_periodeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Carte_temps_periodeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type carte_temps_periodeWhereInput = { AND?: Prisma.carte_temps_periodeWhereInput | Prisma.carte_temps_periodeWhereInput[] OR?: Prisma.carte_temps_periodeWhereInput[] NOT?: Prisma.carte_temps_periodeWhereInput | Prisma.carte_temps_periodeWhereInput[] id?: Prisma.IntFilter<"carte_temps_periode"> | number debut?: Prisma.StringFilter<"carte_temps_periode"> | string fin?: Prisma.StringFilter<"carte_temps_periode"> | string paid?: Prisma.StringFilter<"carte_temps_periode"> | string periode?: Prisma.IntFilter<"carte_temps_periode"> | number annee?: Prisma.IntFilter<"carte_temps_periode"> | number } export type carte_temps_periodeOrderByWithRelationInput = { id?: Prisma.SortOrder debut?: Prisma.SortOrder fin?: Prisma.SortOrder paid?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder _relevance?: Prisma.carte_temps_periodeOrderByRelevanceInput } export type carte_temps_periodeWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.carte_temps_periodeWhereInput | Prisma.carte_temps_periodeWhereInput[] OR?: Prisma.carte_temps_periodeWhereInput[] NOT?: Prisma.carte_temps_periodeWhereInput | Prisma.carte_temps_periodeWhereInput[] debut?: Prisma.StringFilter<"carte_temps_periode"> | string fin?: Prisma.StringFilter<"carte_temps_periode"> | string paid?: Prisma.StringFilter<"carte_temps_periode"> | string periode?: Prisma.IntFilter<"carte_temps_periode"> | number annee?: Prisma.IntFilter<"carte_temps_periode"> | number }, "id"> export type carte_temps_periodeOrderByWithAggregationInput = { id?: Prisma.SortOrder debut?: Prisma.SortOrder fin?: Prisma.SortOrder paid?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder _count?: Prisma.carte_temps_periodeCountOrderByAggregateInput _avg?: Prisma.carte_temps_periodeAvgOrderByAggregateInput _max?: Prisma.carte_temps_periodeMaxOrderByAggregateInput _min?: Prisma.carte_temps_periodeMinOrderByAggregateInput _sum?: Prisma.carte_temps_periodeSumOrderByAggregateInput } export type carte_temps_periodeScalarWhereWithAggregatesInput = { AND?: Prisma.carte_temps_periodeScalarWhereWithAggregatesInput | Prisma.carte_temps_periodeScalarWhereWithAggregatesInput[] OR?: Prisma.carte_temps_periodeScalarWhereWithAggregatesInput[] NOT?: Prisma.carte_temps_periodeScalarWhereWithAggregatesInput | Prisma.carte_temps_periodeScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"carte_temps_periode"> | number debut?: Prisma.StringWithAggregatesFilter<"carte_temps_periode"> | string fin?: Prisma.StringWithAggregatesFilter<"carte_temps_periode"> | string paid?: Prisma.StringWithAggregatesFilter<"carte_temps_periode"> | string periode?: Prisma.IntWithAggregatesFilter<"carte_temps_periode"> | number annee?: Prisma.IntWithAggregatesFilter<"carte_temps_periode"> | number } export type carte_temps_periodeCreateInput = { debut: string fin: string paid: string periode: number annee: number } export type carte_temps_periodeUncheckedCreateInput = { id?: number debut: string fin: string paid: string periode: number annee: number } export type carte_temps_periodeUpdateInput = { debut?: Prisma.StringFieldUpdateOperationsInput | string fin?: Prisma.StringFieldUpdateOperationsInput | string paid?: Prisma.StringFieldUpdateOperationsInput | string periode?: Prisma.IntFieldUpdateOperationsInput | number annee?: Prisma.IntFieldUpdateOperationsInput | number } export type carte_temps_periodeUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number debut?: Prisma.StringFieldUpdateOperationsInput | string fin?: Prisma.StringFieldUpdateOperationsInput | string paid?: Prisma.StringFieldUpdateOperationsInput | string periode?: Prisma.IntFieldUpdateOperationsInput | number annee?: Prisma.IntFieldUpdateOperationsInput | number } export type carte_temps_periodeCreateManyInput = { id?: number debut: string fin: string paid: string periode: number annee: number } export type carte_temps_periodeUpdateManyMutationInput = { debut?: Prisma.StringFieldUpdateOperationsInput | string fin?: Prisma.StringFieldUpdateOperationsInput | string paid?: Prisma.StringFieldUpdateOperationsInput | string periode?: Prisma.IntFieldUpdateOperationsInput | number annee?: Prisma.IntFieldUpdateOperationsInput | number } export type carte_temps_periodeUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number debut?: Prisma.StringFieldUpdateOperationsInput | string fin?: Prisma.StringFieldUpdateOperationsInput | string paid?: Prisma.StringFieldUpdateOperationsInput | string periode?: Prisma.IntFieldUpdateOperationsInput | number annee?: Prisma.IntFieldUpdateOperationsInput | number } export type carte_temps_periodeOrderByRelevanceInput = { fields: Prisma.carte_temps_periodeOrderByRelevanceFieldEnum | Prisma.carte_temps_periodeOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type carte_temps_periodeCountOrderByAggregateInput = { id?: Prisma.SortOrder debut?: Prisma.SortOrder fin?: Prisma.SortOrder paid?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder } export type carte_temps_periodeAvgOrderByAggregateInput = { id?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder } export type carte_temps_periodeMaxOrderByAggregateInput = { id?: Prisma.SortOrder debut?: Prisma.SortOrder fin?: Prisma.SortOrder paid?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder } export type carte_temps_periodeMinOrderByAggregateInput = { id?: Prisma.SortOrder debut?: Prisma.SortOrder fin?: Prisma.SortOrder paid?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder } export type carte_temps_periodeSumOrderByAggregateInput = { id?: Prisma.SortOrder periode?: Prisma.SortOrder annee?: Prisma.SortOrder } export type carte_temps_periodeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean debut?: boolean fin?: boolean paid?: boolean periode?: boolean annee?: boolean }, ExtArgs["result"]["carte_temps_periode"]> export type carte_temps_periodeSelectScalar = { id?: boolean debut?: boolean fin?: boolean paid?: boolean periode?: boolean annee?: boolean } export type carte_temps_periodeOmit = runtime.Types.Extensions.GetOmit<"id" | "debut" | "fin" | "paid" | "periode" | "annee", ExtArgs["result"]["carte_temps_periode"]> export type $carte_temps_periodePayload = { name: "carte_temps_periode" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number debut: string fin: string paid: string periode: number annee: number }, ExtArgs["result"]["carte_temps_periode"]> composites: {} } export type carte_temps_periodeGetPayload = runtime.Types.Result.GetResult export type carte_temps_periodeCountArgs = Omit & { select?: Carte_temps_periodeCountAggregateInputType | true } export interface carte_temps_periodeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['carte_temps_periode'], meta: { name: 'carte_temps_periode' } } /** * Find zero or one Carte_temps_periode that matches the filter. * @param {carte_temps_periodeFindUniqueArgs} args - Arguments to find a Carte_temps_periode * @example * // Get one Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Carte_temps_periode that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {carte_temps_periodeFindUniqueOrThrowArgs} args - Arguments to find a Carte_temps_periode * @example * // Get one Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Carte_temps_periode 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 {carte_temps_periodeFindFirstArgs} args - Arguments to find a Carte_temps_periode * @example * // Get one Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Carte_temps_periode 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 {carte_temps_periodeFindFirstOrThrowArgs} args - Arguments to find a Carte_temps_periode * @example * // Get one Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Carte_temps_periodes 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 {carte_temps_periodeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Carte_temps_periodes * const carte_temps_periodes = await prisma.carte_temps_periode.findMany() * * // Get first 10 Carte_temps_periodes * const carte_temps_periodes = await prisma.carte_temps_periode.findMany({ take: 10 }) * * // Only select the `id` * const carte_temps_periodeWithIdOnly = await prisma.carte_temps_periode.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Carte_temps_periode. * @param {carte_temps_periodeCreateArgs} args - Arguments to create a Carte_temps_periode. * @example * // Create one Carte_temps_periode * const Carte_temps_periode = await prisma.carte_temps_periode.create({ * data: { * // ... data to create a Carte_temps_periode * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Carte_temps_periodes. * @param {carte_temps_periodeCreateManyArgs} args - Arguments to create many Carte_temps_periodes. * @example * // Create many Carte_temps_periodes * const carte_temps_periode = await prisma.carte_temps_periode.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Carte_temps_periode. * @param {carte_temps_periodeDeleteArgs} args - Arguments to delete one Carte_temps_periode. * @example * // Delete one Carte_temps_periode * const Carte_temps_periode = await prisma.carte_temps_periode.delete({ * where: { * // ... filter to delete one Carte_temps_periode * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Carte_temps_periode. * @param {carte_temps_periodeUpdateArgs} args - Arguments to update one Carte_temps_periode. * @example * // Update one Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Carte_temps_periodes. * @param {carte_temps_periodeDeleteManyArgs} args - Arguments to filter Carte_temps_periodes to delete. * @example * // Delete a few Carte_temps_periodes * const { count } = await prisma.carte_temps_periode.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Carte_temps_periodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {carte_temps_periodeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Carte_temps_periodes * const carte_temps_periode = await prisma.carte_temps_periode.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Carte_temps_periode. * @param {carte_temps_periodeUpsertArgs} args - Arguments to update or create a Carte_temps_periode. * @example * // Update or create a Carte_temps_periode * const carte_temps_periode = await prisma.carte_temps_periode.upsert({ * create: { * // ... data to create a Carte_temps_periode * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Carte_temps_periode we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__carte_temps_periodeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Carte_temps_periodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {carte_temps_periodeCountArgs} args - Arguments to filter Carte_temps_periodes to count. * @example * // Count the number of Carte_temps_periodes * const count = await prisma.carte_temps_periode.count({ * where: { * // ... the filter for the Carte_temps_periodes 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 Carte_temps_periode. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Carte_temps_periodeAggregateArgs} 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 Carte_temps_periode. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {carte_temps_periodeGroupByArgs} 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 carte_temps_periodeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: carte_temps_periodeGroupByArgs['orderBy'] } : { orderBy?: carte_temps_periodeGroupByArgs['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 ? GetCarte_temps_periodeGroupByPayload : Prisma.PrismaPromise /** * Fields of the carte_temps_periode model */ readonly fields: carte_temps_periodeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for carte_temps_periode. * 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__carte_temps_periodeClient 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 carte_temps_periode model */ export interface carte_temps_periodeFieldRefs { readonly id: Prisma.FieldRef<"carte_temps_periode", 'Int'> readonly debut: Prisma.FieldRef<"carte_temps_periode", 'String'> readonly fin: Prisma.FieldRef<"carte_temps_periode", 'String'> readonly paid: Prisma.FieldRef<"carte_temps_periode", 'String'> readonly periode: Prisma.FieldRef<"carte_temps_periode", 'Int'> readonly annee: Prisma.FieldRef<"carte_temps_periode", 'Int'> } // Custom InputTypes /** * carte_temps_periode findUnique */ export type carte_temps_periodeFindUniqueArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter, which carte_temps_periode to fetch. */ where: Prisma.carte_temps_periodeWhereUniqueInput } /** * carte_temps_periode findUniqueOrThrow */ export type carte_temps_periodeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter, which carte_temps_periode to fetch. */ where: Prisma.carte_temps_periodeWhereUniqueInput } /** * carte_temps_periode findFirst */ export type carte_temps_periodeFindFirstArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter, which carte_temps_periode to fetch. */ where?: Prisma.carte_temps_periodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of carte_temps_periodes to fetch. */ orderBy?: Prisma.carte_temps_periodeOrderByWithRelationInput | Prisma.carte_temps_periodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for carte_temps_periodes. */ cursor?: Prisma.carte_temps_periodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` carte_temps_periodes 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` carte_temps_periodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of carte_temps_periodes. */ distinct?: Prisma.Carte_temps_periodeScalarFieldEnum | Prisma.Carte_temps_periodeScalarFieldEnum[] } /** * carte_temps_periode findFirstOrThrow */ export type carte_temps_periodeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter, which carte_temps_periode to fetch. */ where?: Prisma.carte_temps_periodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of carte_temps_periodes to fetch. */ orderBy?: Prisma.carte_temps_periodeOrderByWithRelationInput | Prisma.carte_temps_periodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for carte_temps_periodes. */ cursor?: Prisma.carte_temps_periodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` carte_temps_periodes 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` carte_temps_periodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of carte_temps_periodes. */ distinct?: Prisma.Carte_temps_periodeScalarFieldEnum | Prisma.Carte_temps_periodeScalarFieldEnum[] } /** * carte_temps_periode findMany */ export type carte_temps_periodeFindManyArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter, which carte_temps_periodes to fetch. */ where?: Prisma.carte_temps_periodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of carte_temps_periodes to fetch. */ orderBy?: Prisma.carte_temps_periodeOrderByWithRelationInput | Prisma.carte_temps_periodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing carte_temps_periodes. */ cursor?: Prisma.carte_temps_periodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` carte_temps_periodes 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` carte_temps_periodes. */ skip?: number distinct?: Prisma.Carte_temps_periodeScalarFieldEnum | Prisma.Carte_temps_periodeScalarFieldEnum[] } /** * carte_temps_periode create */ export type carte_temps_periodeCreateArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * The data needed to create a carte_temps_periode. */ data: Prisma.XOR } /** * carte_temps_periode createMany */ export type carte_temps_periodeCreateManyArgs = { /** * The data used to create many carte_temps_periodes. */ data: Prisma.carte_temps_periodeCreateManyInput | Prisma.carte_temps_periodeCreateManyInput[] skipDuplicates?: boolean } /** * carte_temps_periode update */ export type carte_temps_periodeUpdateArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * The data needed to update a carte_temps_periode. */ data: Prisma.XOR /** * Choose, which carte_temps_periode to update. */ where: Prisma.carte_temps_periodeWhereUniqueInput } /** * carte_temps_periode updateMany */ export type carte_temps_periodeUpdateManyArgs = { /** * The data used to update carte_temps_periodes. */ data: Prisma.XOR /** * Filter which carte_temps_periodes to update */ where?: Prisma.carte_temps_periodeWhereInput /** * Limit how many carte_temps_periodes to update. */ limit?: number } /** * carte_temps_periode upsert */ export type carte_temps_periodeUpsertArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * The filter to search for the carte_temps_periode to update in case it exists. */ where: Prisma.carte_temps_periodeWhereUniqueInput /** * In case the carte_temps_periode found by the `where` argument doesn't exist, create a new carte_temps_periode with this data. */ create: Prisma.XOR /** * In case the carte_temps_periode was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * carte_temps_periode delete */ export type carte_temps_periodeDeleteArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null /** * Filter which carte_temps_periode to delete. */ where: Prisma.carte_temps_periodeWhereUniqueInput } /** * carte_temps_periode deleteMany */ export type carte_temps_periodeDeleteManyArgs = { /** * Filter which carte_temps_periodes to delete */ where?: Prisma.carte_temps_periodeWhereInput /** * Limit how many carte_temps_periodes to delete. */ limit?: number } /** * carte_temps_periode without action */ export type carte_temps_periodeDefaultArgs = { /** * Select specific fields to fetch from the carte_temps_periode */ select?: Prisma.carte_temps_periodeSelect | null /** * Omit specific fields from the carte_temps_periode */ omit?: Prisma.carte_temps_periodeOmit | null }