/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `soumission` 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 soumission * */ export type soumissionModel = runtime.Types.Result.DefaultSelection export type AggregateSoumission = { _count: SoumissionCountAggregateOutputType | null _avg: SoumissionAvgAggregateOutputType | null _sum: SoumissionSumAggregateOutputType | null _min: SoumissionMinAggregateOutputType | null _max: SoumissionMaxAggregateOutputType | null } export type SoumissionAvgAggregateOutputType = { id: number | null account_id: number | null tax: number | null } export type SoumissionSumAggregateOutputType = { id: number | null account_id: bigint | null tax: number | null } export type SoumissionMinAggregateOutputType = { id: number | null account_id: bigint | null name: string | null po: string | null date: string | null tax: number | null materiel: string | null mensuel: string | null text: string | null } export type SoumissionMaxAggregateOutputType = { id: number | null account_id: bigint | null name: string | null po: string | null date: string | null tax: number | null materiel: string | null mensuel: string | null text: string | null } export type SoumissionCountAggregateOutputType = { id: number account_id: number name: number po: number date: number tax: number materiel: number mensuel: number text: number _all: number } export type SoumissionAvgAggregateInputType = { id?: true account_id?: true tax?: true } export type SoumissionSumAggregateInputType = { id?: true account_id?: true tax?: true } export type SoumissionMinAggregateInputType = { id?: true account_id?: true name?: true po?: true date?: true tax?: true materiel?: true mensuel?: true text?: true } export type SoumissionMaxAggregateInputType = { id?: true account_id?: true name?: true po?: true date?: true tax?: true materiel?: true mensuel?: true text?: true } export type SoumissionCountAggregateInputType = { id?: true account_id?: true name?: true po?: true date?: true tax?: true materiel?: true mensuel?: true text?: true _all?: true } export type SoumissionAggregateArgs = { /** * Filter which soumission to aggregate. */ where?: Prisma.soumissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of soumissions to fetch. */ orderBy?: Prisma.soumissionOrderByWithRelationInput | Prisma.soumissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.soumissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` soumissions 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` soumissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned soumissions **/ _count?: true | SoumissionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SoumissionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SoumissionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SoumissionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SoumissionMaxAggregateInputType } export type GetSoumissionAggregateType = { [P in keyof T & keyof AggregateSoumission]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type soumissionGroupByArgs = { where?: Prisma.soumissionWhereInput orderBy?: Prisma.soumissionOrderByWithAggregationInput | Prisma.soumissionOrderByWithAggregationInput[] by: Prisma.SoumissionScalarFieldEnum[] | Prisma.SoumissionScalarFieldEnum having?: Prisma.soumissionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SoumissionCountAggregateInputType | true _avg?: SoumissionAvgAggregateInputType _sum?: SoumissionSumAggregateInputType _min?: SoumissionMinAggregateInputType _max?: SoumissionMaxAggregateInputType } export type SoumissionGroupByOutputType = { id: number account_id: bigint name: string po: string | null date: string tax: number materiel: string | null mensuel: string | null text: string | null _count: SoumissionCountAggregateOutputType | null _avg: SoumissionAvgAggregateOutputType | null _sum: SoumissionSumAggregateOutputType | null _min: SoumissionMinAggregateOutputType | null _max: SoumissionMaxAggregateOutputType | null } type GetSoumissionGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SoumissionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type soumissionWhereInput = { AND?: Prisma.soumissionWhereInput | Prisma.soumissionWhereInput[] OR?: Prisma.soumissionWhereInput[] NOT?: Prisma.soumissionWhereInput | Prisma.soumissionWhereInput[] id?: Prisma.IntFilter<"soumission"> | number account_id?: Prisma.BigIntFilter<"soumission"> | bigint | number name?: Prisma.StringFilter<"soumission"> | string po?: Prisma.StringNullableFilter<"soumission"> | string | null date?: Prisma.StringFilter<"soumission"> | string tax?: Prisma.IntFilter<"soumission"> | number materiel?: Prisma.StringNullableFilter<"soumission"> | string | null mensuel?: Prisma.StringNullableFilter<"soumission"> | string | null text?: Prisma.StringNullableFilter<"soumission"> | string | null } export type soumissionOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder po?: Prisma.SortOrderInput | Prisma.SortOrder date?: Prisma.SortOrder tax?: Prisma.SortOrder materiel?: Prisma.SortOrderInput | Prisma.SortOrder mensuel?: Prisma.SortOrderInput | Prisma.SortOrder text?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.soumissionOrderByRelevanceInput } export type soumissionWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.soumissionWhereInput | Prisma.soumissionWhereInput[] OR?: Prisma.soumissionWhereInput[] NOT?: Prisma.soumissionWhereInput | Prisma.soumissionWhereInput[] account_id?: Prisma.BigIntFilter<"soumission"> | bigint | number name?: Prisma.StringFilter<"soumission"> | string po?: Prisma.StringNullableFilter<"soumission"> | string | null date?: Prisma.StringFilter<"soumission"> | string tax?: Prisma.IntFilter<"soumission"> | number materiel?: Prisma.StringNullableFilter<"soumission"> | string | null mensuel?: Prisma.StringNullableFilter<"soumission"> | string | null text?: Prisma.StringNullableFilter<"soumission"> | string | null }, "id"> export type soumissionOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder po?: Prisma.SortOrderInput | Prisma.SortOrder date?: Prisma.SortOrder tax?: Prisma.SortOrder materiel?: Prisma.SortOrderInput | Prisma.SortOrder mensuel?: Prisma.SortOrderInput | Prisma.SortOrder text?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.soumissionCountOrderByAggregateInput _avg?: Prisma.soumissionAvgOrderByAggregateInput _max?: Prisma.soumissionMaxOrderByAggregateInput _min?: Prisma.soumissionMinOrderByAggregateInput _sum?: Prisma.soumissionSumOrderByAggregateInput } export type soumissionScalarWhereWithAggregatesInput = { AND?: Prisma.soumissionScalarWhereWithAggregatesInput | Prisma.soumissionScalarWhereWithAggregatesInput[] OR?: Prisma.soumissionScalarWhereWithAggregatesInput[] NOT?: Prisma.soumissionScalarWhereWithAggregatesInput | Prisma.soumissionScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"soumission"> | number account_id?: Prisma.BigIntWithAggregatesFilter<"soumission"> | bigint | number name?: Prisma.StringWithAggregatesFilter<"soumission"> | string po?: Prisma.StringNullableWithAggregatesFilter<"soumission"> | string | null date?: Prisma.StringWithAggregatesFilter<"soumission"> | string tax?: Prisma.IntWithAggregatesFilter<"soumission"> | number materiel?: Prisma.StringNullableWithAggregatesFilter<"soumission"> | string | null mensuel?: Prisma.StringNullableWithAggregatesFilter<"soumission"> | string | null text?: Prisma.StringNullableWithAggregatesFilter<"soumission"> | string | null } export type soumissionCreateInput = { account_id: bigint | number name: string po?: string | null date: string tax: number materiel?: string | null mensuel?: string | null text?: string | null } export type soumissionUncheckedCreateInput = { id?: number account_id: bigint | number name: string po?: string | null date: string tax: number materiel?: string | null mensuel?: string | null text?: string | null } export type soumissionUpdateInput = { account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.StringFieldUpdateOperationsInput | string po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.StringFieldUpdateOperationsInput | string tax?: Prisma.IntFieldUpdateOperationsInput | number materiel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mensuel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type soumissionUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.StringFieldUpdateOperationsInput | string po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.StringFieldUpdateOperationsInput | string tax?: Prisma.IntFieldUpdateOperationsInput | number materiel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mensuel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type soumissionCreateManyInput = { id?: number account_id: bigint | number name: string po?: string | null date: string tax: number materiel?: string | null mensuel?: string | null text?: string | null } export type soumissionUpdateManyMutationInput = { account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.StringFieldUpdateOperationsInput | string po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.StringFieldUpdateOperationsInput | string tax?: Prisma.IntFieldUpdateOperationsInput | number materiel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mensuel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type soumissionUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.StringFieldUpdateOperationsInput | string po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date?: Prisma.StringFieldUpdateOperationsInput | string tax?: Prisma.IntFieldUpdateOperationsInput | number materiel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mensuel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type soumissionOrderByRelevanceInput = { fields: Prisma.soumissionOrderByRelevanceFieldEnum | Prisma.soumissionOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type soumissionCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder po?: Prisma.SortOrder date?: Prisma.SortOrder tax?: Prisma.SortOrder materiel?: Prisma.SortOrder mensuel?: Prisma.SortOrder text?: Prisma.SortOrder } export type soumissionAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder tax?: Prisma.SortOrder } export type soumissionMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder po?: Prisma.SortOrder date?: Prisma.SortOrder tax?: Prisma.SortOrder materiel?: Prisma.SortOrder mensuel?: Prisma.SortOrder text?: Prisma.SortOrder } export type soumissionMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder name?: Prisma.SortOrder po?: Prisma.SortOrder date?: Prisma.SortOrder tax?: Prisma.SortOrder materiel?: Prisma.SortOrder mensuel?: Prisma.SortOrder text?: Prisma.SortOrder } export type soumissionSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder tax?: Prisma.SortOrder } export type soumissionSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean name?: boolean po?: boolean date?: boolean tax?: boolean materiel?: boolean mensuel?: boolean text?: boolean }, ExtArgs["result"]["soumission"]> export type soumissionSelectScalar = { id?: boolean account_id?: boolean name?: boolean po?: boolean date?: boolean tax?: boolean materiel?: boolean mensuel?: boolean text?: boolean } export type soumissionOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "name" | "po" | "date" | "tax" | "materiel" | "mensuel" | "text", ExtArgs["result"]["soumission"]> export type $soumissionPayload = { name: "soumission" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: bigint name: string po: string | null date: string tax: number materiel: string | null mensuel: string | null text: string | null }, ExtArgs["result"]["soumission"]> composites: {} } export type soumissionGetPayload = runtime.Types.Result.GetResult export type soumissionCountArgs = Omit & { select?: SoumissionCountAggregateInputType | true } export interface soumissionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['soumission'], meta: { name: 'soumission' } } /** * Find zero or one Soumission that matches the filter. * @param {soumissionFindUniqueArgs} args - Arguments to find a Soumission * @example * // Get one Soumission * const soumission = await prisma.soumission.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Soumission that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {soumissionFindUniqueOrThrowArgs} args - Arguments to find a Soumission * @example * // Get one Soumission * const soumission = await prisma.soumission.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Soumission 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 {soumissionFindFirstArgs} args - Arguments to find a Soumission * @example * // Get one Soumission * const soumission = await prisma.soumission.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Soumission 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 {soumissionFindFirstOrThrowArgs} args - Arguments to find a Soumission * @example * // Get one Soumission * const soumission = await prisma.soumission.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Soumissions 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 {soumissionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Soumissions * const soumissions = await prisma.soumission.findMany() * * // Get first 10 Soumissions * const soumissions = await prisma.soumission.findMany({ take: 10 }) * * // Only select the `id` * const soumissionWithIdOnly = await prisma.soumission.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Soumission. * @param {soumissionCreateArgs} args - Arguments to create a Soumission. * @example * // Create one Soumission * const Soumission = await prisma.soumission.create({ * data: { * // ... data to create a Soumission * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Soumissions. * @param {soumissionCreateManyArgs} args - Arguments to create many Soumissions. * @example * // Create many Soumissions * const soumission = await prisma.soumission.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Soumission. * @param {soumissionDeleteArgs} args - Arguments to delete one Soumission. * @example * // Delete one Soumission * const Soumission = await prisma.soumission.delete({ * where: { * // ... filter to delete one Soumission * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Soumission. * @param {soumissionUpdateArgs} args - Arguments to update one Soumission. * @example * // Update one Soumission * const soumission = await prisma.soumission.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Soumissions. * @param {soumissionDeleteManyArgs} args - Arguments to filter Soumissions to delete. * @example * // Delete a few Soumissions * const { count } = await prisma.soumission.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Soumissions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {soumissionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Soumissions * const soumission = await prisma.soumission.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Soumission. * @param {soumissionUpsertArgs} args - Arguments to update or create a Soumission. * @example * // Update or create a Soumission * const soumission = await prisma.soumission.upsert({ * create: { * // ... data to create a Soumission * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Soumission we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__soumissionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Soumissions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {soumissionCountArgs} args - Arguments to filter Soumissions to count. * @example * // Count the number of Soumissions * const count = await prisma.soumission.count({ * where: { * // ... the filter for the Soumissions 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 Soumission. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SoumissionAggregateArgs} 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 Soumission. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {soumissionGroupByArgs} 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 soumissionGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: soumissionGroupByArgs['orderBy'] } : { orderBy?: soumissionGroupByArgs['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 ? GetSoumissionGroupByPayload : Prisma.PrismaPromise /** * Fields of the soumission model */ readonly fields: soumissionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for soumission. * 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__soumissionClient 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 soumission model */ export interface soumissionFieldRefs { readonly id: Prisma.FieldRef<"soumission", 'Int'> readonly account_id: Prisma.FieldRef<"soumission", 'BigInt'> readonly name: Prisma.FieldRef<"soumission", 'String'> readonly po: Prisma.FieldRef<"soumission", 'String'> readonly date: Prisma.FieldRef<"soumission", 'String'> readonly tax: Prisma.FieldRef<"soumission", 'Int'> readonly materiel: Prisma.FieldRef<"soumission", 'String'> readonly mensuel: Prisma.FieldRef<"soumission", 'String'> readonly text: Prisma.FieldRef<"soumission", 'String'> } // Custom InputTypes /** * soumission findUnique */ export type soumissionFindUniqueArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter, which soumission to fetch. */ where: Prisma.soumissionWhereUniqueInput } /** * soumission findUniqueOrThrow */ export type soumissionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter, which soumission to fetch. */ where: Prisma.soumissionWhereUniqueInput } /** * soumission findFirst */ export type soumissionFindFirstArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter, which soumission to fetch. */ where?: Prisma.soumissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of soumissions to fetch. */ orderBy?: Prisma.soumissionOrderByWithRelationInput | Prisma.soumissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for soumissions. */ cursor?: Prisma.soumissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` soumissions 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` soumissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of soumissions. */ distinct?: Prisma.SoumissionScalarFieldEnum | Prisma.SoumissionScalarFieldEnum[] } /** * soumission findFirstOrThrow */ export type soumissionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter, which soumission to fetch. */ where?: Prisma.soumissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of soumissions to fetch. */ orderBy?: Prisma.soumissionOrderByWithRelationInput | Prisma.soumissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for soumissions. */ cursor?: Prisma.soumissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` soumissions 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` soumissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of soumissions. */ distinct?: Prisma.SoumissionScalarFieldEnum | Prisma.SoumissionScalarFieldEnum[] } /** * soumission findMany */ export type soumissionFindManyArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter, which soumissions to fetch. */ where?: Prisma.soumissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of soumissions to fetch. */ orderBy?: Prisma.soumissionOrderByWithRelationInput | Prisma.soumissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing soumissions. */ cursor?: Prisma.soumissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` soumissions 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` soumissions. */ skip?: number distinct?: Prisma.SoumissionScalarFieldEnum | Prisma.SoumissionScalarFieldEnum[] } /** * soumission create */ export type soumissionCreateArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * The data needed to create a soumission. */ data: Prisma.XOR } /** * soumission createMany */ export type soumissionCreateManyArgs = { /** * The data used to create many soumissions. */ data: Prisma.soumissionCreateManyInput | Prisma.soumissionCreateManyInput[] skipDuplicates?: boolean } /** * soumission update */ export type soumissionUpdateArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * The data needed to update a soumission. */ data: Prisma.XOR /** * Choose, which soumission to update. */ where: Prisma.soumissionWhereUniqueInput } /** * soumission updateMany */ export type soumissionUpdateManyArgs = { /** * The data used to update soumissions. */ data: Prisma.XOR /** * Filter which soumissions to update */ where?: Prisma.soumissionWhereInput /** * Limit how many soumissions to update. */ limit?: number } /** * soumission upsert */ export type soumissionUpsertArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * The filter to search for the soumission to update in case it exists. */ where: Prisma.soumissionWhereUniqueInput /** * In case the soumission found by the `where` argument doesn't exist, create a new soumission with this data. */ create: Prisma.XOR /** * In case the soumission was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * soumission delete */ export type soumissionDeleteArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null /** * Filter which soumission to delete. */ where: Prisma.soumissionWhereUniqueInput } /** * soumission deleteMany */ export type soumissionDeleteManyArgs = { /** * Filter which soumissions to delete */ where?: Prisma.soumissionWhereInput /** * Limit how many soumissions to delete. */ limit?: number } /** * soumission without action */ export type soumissionDefaultArgs = { /** * Select specific fields to fetch from the soumission */ select?: Prisma.soumissionSelect | null /** * Omit specific fields from the soumission */ omit?: Prisma.soumissionOmit | null }