/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `compta_comptes_soldes` 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 compta_comptes_soldes * */ export type compta_comptes_soldesModel = runtime.Types.Result.DefaultSelection export type AggregateCompta_comptes_soldes = { _count: Compta_comptes_soldesCountAggregateOutputType | null _avg: Compta_comptes_soldesAvgAggregateOutputType | null _sum: Compta_comptes_soldesSumAggregateOutputType | null _min: Compta_comptes_soldesMinAggregateOutputType | null _max: Compta_comptes_soldesMaxAggregateOutputType | null } export type Compta_comptes_soldesAvgAggregateOutputType = { id: number | null num_compte: number | null year: number | null amount: number | null } export type Compta_comptes_soldesSumAggregateOutputType = { id: bigint | null num_compte: number | null year: number | null amount: number | null } export type Compta_comptes_soldesMinAggregateOutputType = { id: bigint | null num_compte: number | null year: number | null amount: number | null comment: string | null type: string | null } export type Compta_comptes_soldesMaxAggregateOutputType = { id: bigint | null num_compte: number | null year: number | null amount: number | null comment: string | null type: string | null } export type Compta_comptes_soldesCountAggregateOutputType = { id: number num_compte: number year: number amount: number comment: number type: number _all: number } export type Compta_comptes_soldesAvgAggregateInputType = { id?: true num_compte?: true year?: true amount?: true } export type Compta_comptes_soldesSumAggregateInputType = { id?: true num_compte?: true year?: true amount?: true } export type Compta_comptes_soldesMinAggregateInputType = { id?: true num_compte?: true year?: true amount?: true comment?: true type?: true } export type Compta_comptes_soldesMaxAggregateInputType = { id?: true num_compte?: true year?: true amount?: true comment?: true type?: true } export type Compta_comptes_soldesCountAggregateInputType = { id?: true num_compte?: true year?: true amount?: true comment?: true type?: true _all?: true } export type Compta_comptes_soldesAggregateArgs = { /** * Filter which compta_comptes_soldes to aggregate. */ where?: Prisma.compta_comptes_soldesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of compta_comptes_soldes to fetch. */ orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.compta_comptes_soldesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` compta_comptes_soldes 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` compta_comptes_soldes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned compta_comptes_soldes **/ _count?: true | Compta_comptes_soldesCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Compta_comptes_soldesAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Compta_comptes_soldesSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Compta_comptes_soldesMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Compta_comptes_soldesMaxAggregateInputType } export type GetCompta_comptes_soldesAggregateType = { [P in keyof T & keyof AggregateCompta_comptes_soldes]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type compta_comptes_soldesGroupByArgs = { where?: Prisma.compta_comptes_soldesWhereInput orderBy?: Prisma.compta_comptes_soldesOrderByWithAggregationInput | Prisma.compta_comptes_soldesOrderByWithAggregationInput[] by: Prisma.Compta_comptes_soldesScalarFieldEnum[] | Prisma.Compta_comptes_soldesScalarFieldEnum having?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput take?: number skip?: number _count?: Compta_comptes_soldesCountAggregateInputType | true _avg?: Compta_comptes_soldesAvgAggregateInputType _sum?: Compta_comptes_soldesSumAggregateInputType _min?: Compta_comptes_soldesMinAggregateInputType _max?: Compta_comptes_soldesMaxAggregateInputType } export type Compta_comptes_soldesGroupByOutputType = { id: bigint num_compte: number year: number amount: number comment: string type: string _count: Compta_comptes_soldesCountAggregateOutputType | null _avg: Compta_comptes_soldesAvgAggregateOutputType | null _sum: Compta_comptes_soldesSumAggregateOutputType | null _min: Compta_comptes_soldesMinAggregateOutputType | null _max: Compta_comptes_soldesMaxAggregateOutputType | null } type GetCompta_comptes_soldesGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Compta_comptes_soldesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type compta_comptes_soldesWhereInput = { AND?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[] OR?: Prisma.compta_comptes_soldesWhereInput[] NOT?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[] id?: Prisma.BigIntFilter<"compta_comptes_soldes"> | bigint | number num_compte?: Prisma.IntFilter<"compta_comptes_soldes"> | number year?: Prisma.IntFilter<"compta_comptes_soldes"> | number amount?: Prisma.FloatFilter<"compta_comptes_soldes"> | number comment?: Prisma.StringFilter<"compta_comptes_soldes"> | string type?: Prisma.StringFilter<"compta_comptes_soldes"> | string } export type compta_comptes_soldesOrderByWithRelationInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder comment?: Prisma.SortOrder type?: Prisma.SortOrder _relevance?: Prisma.compta_comptes_soldesOrderByRelevanceInput } export type compta_comptes_soldesWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[] OR?: Prisma.compta_comptes_soldesWhereInput[] NOT?: Prisma.compta_comptes_soldesWhereInput | Prisma.compta_comptes_soldesWhereInput[] num_compte?: Prisma.IntFilter<"compta_comptes_soldes"> | number year?: Prisma.IntFilter<"compta_comptes_soldes"> | number amount?: Prisma.FloatFilter<"compta_comptes_soldes"> | number comment?: Prisma.StringFilter<"compta_comptes_soldes"> | string type?: Prisma.StringFilter<"compta_comptes_soldes"> | string }, "id"> export type compta_comptes_soldesOrderByWithAggregationInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder comment?: Prisma.SortOrder type?: Prisma.SortOrder _count?: Prisma.compta_comptes_soldesCountOrderByAggregateInput _avg?: Prisma.compta_comptes_soldesAvgOrderByAggregateInput _max?: Prisma.compta_comptes_soldesMaxOrderByAggregateInput _min?: Prisma.compta_comptes_soldesMinOrderByAggregateInput _sum?: Prisma.compta_comptes_soldesSumOrderByAggregateInput } export type compta_comptes_soldesScalarWhereWithAggregatesInput = { AND?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput | Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[] OR?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[] NOT?: Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput | Prisma.compta_comptes_soldesScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"compta_comptes_soldes"> | bigint | number num_compte?: Prisma.IntWithAggregatesFilter<"compta_comptes_soldes"> | number year?: Prisma.IntWithAggregatesFilter<"compta_comptes_soldes"> | number amount?: Prisma.FloatWithAggregatesFilter<"compta_comptes_soldes"> | number comment?: Prisma.StringWithAggregatesFilter<"compta_comptes_soldes"> | string type?: Prisma.StringWithAggregatesFilter<"compta_comptes_soldes"> | string } export type compta_comptes_soldesCreateInput = { id?: bigint | number num_compte: number year: number amount: number comment: string type: string } export type compta_comptes_soldesUncheckedCreateInput = { id?: bigint | number num_compte: number year: number amount: number comment: string type: string } export type compta_comptes_soldesUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number num_compte?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number amount?: Prisma.FloatFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string } export type compta_comptes_soldesUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number num_compte?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number amount?: Prisma.FloatFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string } export type compta_comptes_soldesCreateManyInput = { id?: bigint | number num_compte: number year: number amount: number comment: string type: string } export type compta_comptes_soldesUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number num_compte?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number amount?: Prisma.FloatFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string } export type compta_comptes_soldesUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number num_compte?: Prisma.IntFieldUpdateOperationsInput | number year?: Prisma.IntFieldUpdateOperationsInput | number amount?: Prisma.FloatFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string } export type compta_comptes_soldesOrderByRelevanceInput = { fields: Prisma.compta_comptes_soldesOrderByRelevanceFieldEnum | Prisma.compta_comptes_soldesOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type compta_comptes_soldesCountOrderByAggregateInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder comment?: Prisma.SortOrder type?: Prisma.SortOrder } export type compta_comptes_soldesAvgOrderByAggregateInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder } export type compta_comptes_soldesMaxOrderByAggregateInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder comment?: Prisma.SortOrder type?: Prisma.SortOrder } export type compta_comptes_soldesMinOrderByAggregateInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder comment?: Prisma.SortOrder type?: Prisma.SortOrder } export type compta_comptes_soldesSumOrderByAggregateInput = { id?: Prisma.SortOrder num_compte?: Prisma.SortOrder year?: Prisma.SortOrder amount?: Prisma.SortOrder } export type compta_comptes_soldesSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean num_compte?: boolean year?: boolean amount?: boolean comment?: boolean type?: boolean }, ExtArgs["result"]["compta_comptes_soldes"]> export type compta_comptes_soldesSelectScalar = { id?: boolean num_compte?: boolean year?: boolean amount?: boolean comment?: boolean type?: boolean } export type compta_comptes_soldesOmit = runtime.Types.Extensions.GetOmit<"id" | "num_compte" | "year" | "amount" | "comment" | "type", ExtArgs["result"]["compta_comptes_soldes"]> export type $compta_comptes_soldesPayload = { name: "compta_comptes_soldes" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint num_compte: number year: number amount: number comment: string type: string }, ExtArgs["result"]["compta_comptes_soldes"]> composites: {} } export type compta_comptes_soldesGetPayload = runtime.Types.Result.GetResult export type compta_comptes_soldesCountArgs = Omit & { select?: Compta_comptes_soldesCountAggregateInputType | true } export interface compta_comptes_soldesDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['compta_comptes_soldes'], meta: { name: 'compta_comptes_soldes' } } /** * Find zero or one Compta_comptes_soldes that matches the filter. * @param {compta_comptes_soldesFindUniqueArgs} args - Arguments to find a Compta_comptes_soldes * @example * // Get one Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Compta_comptes_soldes that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {compta_comptes_soldesFindUniqueOrThrowArgs} args - Arguments to find a Compta_comptes_soldes * @example * // Get one Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Compta_comptes_soldes 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 {compta_comptes_soldesFindFirstArgs} args - Arguments to find a Compta_comptes_soldes * @example * // Get one Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Compta_comptes_soldes 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 {compta_comptes_soldesFindFirstOrThrowArgs} args - Arguments to find a Compta_comptes_soldes * @example * // Get one Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Compta_comptes_soldes 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 {compta_comptes_soldesFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findMany() * * // Get first 10 Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.findMany({ take: 10 }) * * // Only select the `id` * const compta_comptes_soldesWithIdOnly = await prisma.compta_comptes_soldes.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Compta_comptes_soldes. * @param {compta_comptes_soldesCreateArgs} args - Arguments to create a Compta_comptes_soldes. * @example * // Create one Compta_comptes_soldes * const Compta_comptes_soldes = await prisma.compta_comptes_soldes.create({ * data: { * // ... data to create a Compta_comptes_soldes * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Compta_comptes_soldes. * @param {compta_comptes_soldesCreateManyArgs} args - Arguments to create many Compta_comptes_soldes. * @example * // Create many Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Compta_comptes_soldes. * @param {compta_comptes_soldesDeleteArgs} args - Arguments to delete one Compta_comptes_soldes. * @example * // Delete one Compta_comptes_soldes * const Compta_comptes_soldes = await prisma.compta_comptes_soldes.delete({ * where: { * // ... filter to delete one Compta_comptes_soldes * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Compta_comptes_soldes. * @param {compta_comptes_soldesUpdateArgs} args - Arguments to update one Compta_comptes_soldes. * @example * // Update one Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Compta_comptes_soldes. * @param {compta_comptes_soldesDeleteManyArgs} args - Arguments to filter Compta_comptes_soldes to delete. * @example * // Delete a few Compta_comptes_soldes * const { count } = await prisma.compta_comptes_soldes.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Compta_comptes_soldes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {compta_comptes_soldesUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Compta_comptes_soldes. * @param {compta_comptes_soldesUpsertArgs} args - Arguments to update or create a Compta_comptes_soldes. * @example * // Update or create a Compta_comptes_soldes * const compta_comptes_soldes = await prisma.compta_comptes_soldes.upsert({ * create: { * // ... data to create a Compta_comptes_soldes * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Compta_comptes_soldes we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__compta_comptes_soldesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Compta_comptes_soldes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {compta_comptes_soldesCountArgs} args - Arguments to filter Compta_comptes_soldes to count. * @example * // Count the number of Compta_comptes_soldes * const count = await prisma.compta_comptes_soldes.count({ * where: { * // ... the filter for the Compta_comptes_soldes 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 Compta_comptes_soldes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Compta_comptes_soldesAggregateArgs} 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 Compta_comptes_soldes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {compta_comptes_soldesGroupByArgs} 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 compta_comptes_soldesGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: compta_comptes_soldesGroupByArgs['orderBy'] } : { orderBy?: compta_comptes_soldesGroupByArgs['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 ? GetCompta_comptes_soldesGroupByPayload : Prisma.PrismaPromise /** * Fields of the compta_comptes_soldes model */ readonly fields: compta_comptes_soldesFieldRefs; } /** * The delegate class that acts as a "Promise-like" for compta_comptes_soldes. * 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__compta_comptes_soldesClient 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 compta_comptes_soldes model */ export interface compta_comptes_soldesFieldRefs { readonly id: Prisma.FieldRef<"compta_comptes_soldes", 'BigInt'> readonly num_compte: Prisma.FieldRef<"compta_comptes_soldes", 'Int'> readonly year: Prisma.FieldRef<"compta_comptes_soldes", 'Int'> readonly amount: Prisma.FieldRef<"compta_comptes_soldes", 'Float'> readonly comment: Prisma.FieldRef<"compta_comptes_soldes", 'String'> readonly type: Prisma.FieldRef<"compta_comptes_soldes", 'String'> } // Custom InputTypes /** * compta_comptes_soldes findUnique */ export type compta_comptes_soldesFindUniqueArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter, which compta_comptes_soldes to fetch. */ where: Prisma.compta_comptes_soldesWhereUniqueInput } /** * compta_comptes_soldes findUniqueOrThrow */ export type compta_comptes_soldesFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter, which compta_comptes_soldes to fetch. */ where: Prisma.compta_comptes_soldesWhereUniqueInput } /** * compta_comptes_soldes findFirst */ export type compta_comptes_soldesFindFirstArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter, which compta_comptes_soldes to fetch. */ where?: Prisma.compta_comptes_soldesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of compta_comptes_soldes to fetch. */ orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for compta_comptes_soldes. */ cursor?: Prisma.compta_comptes_soldesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` compta_comptes_soldes 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` compta_comptes_soldes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of compta_comptes_soldes. */ distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[] } /** * compta_comptes_soldes findFirstOrThrow */ export type compta_comptes_soldesFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter, which compta_comptes_soldes to fetch. */ where?: Prisma.compta_comptes_soldesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of compta_comptes_soldes to fetch. */ orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for compta_comptes_soldes. */ cursor?: Prisma.compta_comptes_soldesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` compta_comptes_soldes 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` compta_comptes_soldes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of compta_comptes_soldes. */ distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[] } /** * compta_comptes_soldes findMany */ export type compta_comptes_soldesFindManyArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter, which compta_comptes_soldes to fetch. */ where?: Prisma.compta_comptes_soldesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of compta_comptes_soldes to fetch. */ orderBy?: Prisma.compta_comptes_soldesOrderByWithRelationInput | Prisma.compta_comptes_soldesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing compta_comptes_soldes. */ cursor?: Prisma.compta_comptes_soldesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` compta_comptes_soldes 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` compta_comptes_soldes. */ skip?: number distinct?: Prisma.Compta_comptes_soldesScalarFieldEnum | Prisma.Compta_comptes_soldesScalarFieldEnum[] } /** * compta_comptes_soldes create */ export type compta_comptes_soldesCreateArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * The data needed to create a compta_comptes_soldes. */ data: Prisma.XOR } /** * compta_comptes_soldes createMany */ export type compta_comptes_soldesCreateManyArgs = { /** * The data used to create many compta_comptes_soldes. */ data: Prisma.compta_comptes_soldesCreateManyInput | Prisma.compta_comptes_soldesCreateManyInput[] skipDuplicates?: boolean } /** * compta_comptes_soldes update */ export type compta_comptes_soldesUpdateArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * The data needed to update a compta_comptes_soldes. */ data: Prisma.XOR /** * Choose, which compta_comptes_soldes to update. */ where: Prisma.compta_comptes_soldesWhereUniqueInput } /** * compta_comptes_soldes updateMany */ export type compta_comptes_soldesUpdateManyArgs = { /** * The data used to update compta_comptes_soldes. */ data: Prisma.XOR /** * Filter which compta_comptes_soldes to update */ where?: Prisma.compta_comptes_soldesWhereInput /** * Limit how many compta_comptes_soldes to update. */ limit?: number } /** * compta_comptes_soldes upsert */ export type compta_comptes_soldesUpsertArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * The filter to search for the compta_comptes_soldes to update in case it exists. */ where: Prisma.compta_comptes_soldesWhereUniqueInput /** * In case the compta_comptes_soldes found by the `where` argument doesn't exist, create a new compta_comptes_soldes with this data. */ create: Prisma.XOR /** * In case the compta_comptes_soldes was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * compta_comptes_soldes delete */ export type compta_comptes_soldesDeleteArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null /** * Filter which compta_comptes_soldes to delete. */ where: Prisma.compta_comptes_soldesWhereUniqueInput } /** * compta_comptes_soldes deleteMany */ export type compta_comptes_soldesDeleteManyArgs = { /** * Filter which compta_comptes_soldes to delete */ where?: Prisma.compta_comptes_soldesWhereInput /** * Limit how many compta_comptes_soldes to delete. */ limit?: number } /** * compta_comptes_soldes without action */ export type compta_comptes_soldesDefaultArgs = { /** * Select specific fields to fetch from the compta_comptes_soldes */ select?: Prisma.compta_comptes_soldesSelect | null /** * Omit specific fields from the compta_comptes_soldes */ omit?: Prisma.compta_comptes_soldesOmit | null }