/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `project_cmd` 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 project_cmd * */ export type project_cmdModel = runtime.Types.Result.DefaultSelection export type AggregateProject_cmd = { _count: Project_cmdCountAggregateOutputType | null _avg: Project_cmdAvgAggregateOutputType | null _sum: Project_cmdSumAggregateOutputType | null _min: Project_cmdMinAggregateOutputType | null _max: Project_cmdMaxAggregateOutputType | null } export type Project_cmdAvgAggregateOutputType = { id: number | null project_id: number | null date: number | null staff_id: number | null } export type Project_cmdSumAggregateOutputType = { id: number | null project_id: number | null date: bigint | null staff_id: number | null } export type Project_cmdMinAggregateOutputType = { id: number | null project_id: number | null date: bigint | null vendeur: string | null no_cmd: string | null po: string | null staff_id: number | null } export type Project_cmdMaxAggregateOutputType = { id: number | null project_id: number | null date: bigint | null vendeur: string | null no_cmd: string | null po: string | null staff_id: number | null } export type Project_cmdCountAggregateOutputType = { id: number project_id: number date: number vendeur: number no_cmd: number po: number staff_id: number _all: number } export type Project_cmdAvgAggregateInputType = { id?: true project_id?: true date?: true staff_id?: true } export type Project_cmdSumAggregateInputType = { id?: true project_id?: true date?: true staff_id?: true } export type Project_cmdMinAggregateInputType = { id?: true project_id?: true date?: true vendeur?: true no_cmd?: true po?: true staff_id?: true } export type Project_cmdMaxAggregateInputType = { id?: true project_id?: true date?: true vendeur?: true no_cmd?: true po?: true staff_id?: true } export type Project_cmdCountAggregateInputType = { id?: true project_id?: true date?: true vendeur?: true no_cmd?: true po?: true staff_id?: true _all?: true } export type Project_cmdAggregateArgs = { /** * Filter which project_cmd to aggregate. */ where?: Prisma.project_cmdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_cmds to fetch. */ orderBy?: Prisma.project_cmdOrderByWithRelationInput | Prisma.project_cmdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.project_cmdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_cmds 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` project_cmds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned project_cmds **/ _count?: true | Project_cmdCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Project_cmdAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Project_cmdSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Project_cmdMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Project_cmdMaxAggregateInputType } export type GetProject_cmdAggregateType = { [P in keyof T & keyof AggregateProject_cmd]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type project_cmdGroupByArgs = { where?: Prisma.project_cmdWhereInput orderBy?: Prisma.project_cmdOrderByWithAggregationInput | Prisma.project_cmdOrderByWithAggregationInput[] by: Prisma.Project_cmdScalarFieldEnum[] | Prisma.Project_cmdScalarFieldEnum having?: Prisma.project_cmdScalarWhereWithAggregatesInput take?: number skip?: number _count?: Project_cmdCountAggregateInputType | true _avg?: Project_cmdAvgAggregateInputType _sum?: Project_cmdSumAggregateInputType _min?: Project_cmdMinAggregateInputType _max?: Project_cmdMaxAggregateInputType } export type Project_cmdGroupByOutputType = { id: number project_id: number date: bigint vendeur: string | null no_cmd: string | null po: string | null staff_id: number _count: Project_cmdCountAggregateOutputType | null _avg: Project_cmdAvgAggregateOutputType | null _sum: Project_cmdSumAggregateOutputType | null _min: Project_cmdMinAggregateOutputType | null _max: Project_cmdMaxAggregateOutputType | null } type GetProject_cmdGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Project_cmdGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type project_cmdWhereInput = { AND?: Prisma.project_cmdWhereInput | Prisma.project_cmdWhereInput[] OR?: Prisma.project_cmdWhereInput[] NOT?: Prisma.project_cmdWhereInput | Prisma.project_cmdWhereInput[] id?: Prisma.IntFilter<"project_cmd"> | number project_id?: Prisma.IntFilter<"project_cmd"> | number date?: Prisma.BigIntFilter<"project_cmd"> | bigint | number vendeur?: Prisma.StringNullableFilter<"project_cmd"> | string | null no_cmd?: Prisma.StringNullableFilter<"project_cmd"> | string | null po?: Prisma.StringNullableFilter<"project_cmd"> | string | null staff_id?: Prisma.IntFilter<"project_cmd"> | number } export type project_cmdOrderByWithRelationInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder vendeur?: Prisma.SortOrderInput | Prisma.SortOrder no_cmd?: Prisma.SortOrderInput | Prisma.SortOrder po?: Prisma.SortOrderInput | Prisma.SortOrder staff_id?: Prisma.SortOrder _relevance?: Prisma.project_cmdOrderByRelevanceInput } export type project_cmdWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.project_cmdWhereInput | Prisma.project_cmdWhereInput[] OR?: Prisma.project_cmdWhereInput[] NOT?: Prisma.project_cmdWhereInput | Prisma.project_cmdWhereInput[] project_id?: Prisma.IntFilter<"project_cmd"> | number date?: Prisma.BigIntFilter<"project_cmd"> | bigint | number vendeur?: Prisma.StringNullableFilter<"project_cmd"> | string | null no_cmd?: Prisma.StringNullableFilter<"project_cmd"> | string | null po?: Prisma.StringNullableFilter<"project_cmd"> | string | null staff_id?: Prisma.IntFilter<"project_cmd"> | number }, "id"> export type project_cmdOrderByWithAggregationInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder vendeur?: Prisma.SortOrderInput | Prisma.SortOrder no_cmd?: Prisma.SortOrderInput | Prisma.SortOrder po?: Prisma.SortOrderInput | Prisma.SortOrder staff_id?: Prisma.SortOrder _count?: Prisma.project_cmdCountOrderByAggregateInput _avg?: Prisma.project_cmdAvgOrderByAggregateInput _max?: Prisma.project_cmdMaxOrderByAggregateInput _min?: Prisma.project_cmdMinOrderByAggregateInput _sum?: Prisma.project_cmdSumOrderByAggregateInput } export type project_cmdScalarWhereWithAggregatesInput = { AND?: Prisma.project_cmdScalarWhereWithAggregatesInput | Prisma.project_cmdScalarWhereWithAggregatesInput[] OR?: Prisma.project_cmdScalarWhereWithAggregatesInput[] NOT?: Prisma.project_cmdScalarWhereWithAggregatesInput | Prisma.project_cmdScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"project_cmd"> | number project_id?: Prisma.IntWithAggregatesFilter<"project_cmd"> | number date?: Prisma.BigIntWithAggregatesFilter<"project_cmd"> | bigint | number vendeur?: Prisma.StringNullableWithAggregatesFilter<"project_cmd"> | string | null no_cmd?: Prisma.StringNullableWithAggregatesFilter<"project_cmd"> | string | null po?: Prisma.StringNullableWithAggregatesFilter<"project_cmd"> | string | null staff_id?: Prisma.IntWithAggregatesFilter<"project_cmd"> | number } export type project_cmdCreateInput = { project_id: number date: bigint | number vendeur?: string | null no_cmd?: string | null po?: string | null staff_id?: number } export type project_cmdUncheckedCreateInput = { id?: number project_id: number date: bigint | number vendeur?: string | null no_cmd?: string | null po?: string | null staff_id?: number } export type project_cmdUpdateInput = { project_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number vendeur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null no_cmd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null staff_id?: Prisma.IntFieldUpdateOperationsInput | number } export type project_cmdUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number project_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number vendeur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null no_cmd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null staff_id?: Prisma.IntFieldUpdateOperationsInput | number } export type project_cmdCreateManyInput = { id?: number project_id: number date: bigint | number vendeur?: string | null no_cmd?: string | null po?: string | null staff_id?: number } export type project_cmdUpdateManyMutationInput = { project_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number vendeur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null no_cmd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null staff_id?: Prisma.IntFieldUpdateOperationsInput | number } export type project_cmdUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number project_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number vendeur?: Prisma.NullableStringFieldUpdateOperationsInput | string | null no_cmd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null po?: Prisma.NullableStringFieldUpdateOperationsInput | string | null staff_id?: Prisma.IntFieldUpdateOperationsInput | number } export type project_cmdOrderByRelevanceInput = { fields: Prisma.project_cmdOrderByRelevanceFieldEnum | Prisma.project_cmdOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type project_cmdCountOrderByAggregateInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder vendeur?: Prisma.SortOrder no_cmd?: Prisma.SortOrder po?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_cmdAvgOrderByAggregateInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_cmdMaxOrderByAggregateInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder vendeur?: Prisma.SortOrder no_cmd?: Prisma.SortOrder po?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_cmdMinOrderByAggregateInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder vendeur?: Prisma.SortOrder no_cmd?: Prisma.SortOrder po?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_cmdSumOrderByAggregateInput = { id?: Prisma.SortOrder project_id?: Prisma.SortOrder date?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_cmdSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean project_id?: boolean date?: boolean vendeur?: boolean no_cmd?: boolean po?: boolean staff_id?: boolean }, ExtArgs["result"]["project_cmd"]> export type project_cmdSelectScalar = { id?: boolean project_id?: boolean date?: boolean vendeur?: boolean no_cmd?: boolean po?: boolean staff_id?: boolean } export type project_cmdOmit = runtime.Types.Extensions.GetOmit<"id" | "project_id" | "date" | "vendeur" | "no_cmd" | "po" | "staff_id", ExtArgs["result"]["project_cmd"]> export type $project_cmdPayload = { name: "project_cmd" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number project_id: number date: bigint vendeur: string | null no_cmd: string | null po: string | null staff_id: number }, ExtArgs["result"]["project_cmd"]> composites: {} } export type project_cmdGetPayload = runtime.Types.Result.GetResult export type project_cmdCountArgs = Omit & { select?: Project_cmdCountAggregateInputType | true } export interface project_cmdDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['project_cmd'], meta: { name: 'project_cmd' } } /** * Find zero or one Project_cmd that matches the filter. * @param {project_cmdFindUniqueArgs} args - Arguments to find a Project_cmd * @example * // Get one Project_cmd * const project_cmd = await prisma.project_cmd.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project_cmd that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {project_cmdFindUniqueOrThrowArgs} args - Arguments to find a Project_cmd * @example * // Get one Project_cmd * const project_cmd = await prisma.project_cmd.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project_cmd 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 {project_cmdFindFirstArgs} args - Arguments to find a Project_cmd * @example * // Get one Project_cmd * const project_cmd = await prisma.project_cmd.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project_cmd 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 {project_cmdFindFirstOrThrowArgs} args - Arguments to find a Project_cmd * @example * // Get one Project_cmd * const project_cmd = await prisma.project_cmd.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Project_cmds 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 {project_cmdFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Project_cmds * const project_cmds = await prisma.project_cmd.findMany() * * // Get first 10 Project_cmds * const project_cmds = await prisma.project_cmd.findMany({ take: 10 }) * * // Only select the `id` * const project_cmdWithIdOnly = await prisma.project_cmd.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Project_cmd. * @param {project_cmdCreateArgs} args - Arguments to create a Project_cmd. * @example * // Create one Project_cmd * const Project_cmd = await prisma.project_cmd.create({ * data: { * // ... data to create a Project_cmd * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Project_cmds. * @param {project_cmdCreateManyArgs} args - Arguments to create many Project_cmds. * @example * // Create many Project_cmds * const project_cmd = await prisma.project_cmd.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Project_cmd. * @param {project_cmdDeleteArgs} args - Arguments to delete one Project_cmd. * @example * // Delete one Project_cmd * const Project_cmd = await prisma.project_cmd.delete({ * where: { * // ... filter to delete one Project_cmd * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project_cmd. * @param {project_cmdUpdateArgs} args - Arguments to update one Project_cmd. * @example * // Update one Project_cmd * const project_cmd = await prisma.project_cmd.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Project_cmds. * @param {project_cmdDeleteManyArgs} args - Arguments to filter Project_cmds to delete. * @example * // Delete a few Project_cmds * const { count } = await prisma.project_cmd.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Project_cmds. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_cmdUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Project_cmds * const project_cmd = await prisma.project_cmd.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Project_cmd. * @param {project_cmdUpsertArgs} args - Arguments to update or create a Project_cmd. * @example * // Update or create a Project_cmd * const project_cmd = await prisma.project_cmd.upsert({ * create: { * // ... data to create a Project_cmd * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project_cmd we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__project_cmdClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Project_cmds. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_cmdCountArgs} args - Arguments to filter Project_cmds to count. * @example * // Count the number of Project_cmds * const count = await prisma.project_cmd.count({ * where: { * // ... the filter for the Project_cmds 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 Project_cmd. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Project_cmdAggregateArgs} 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 Project_cmd. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_cmdGroupByArgs} 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 project_cmdGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: project_cmdGroupByArgs['orderBy'] } : { orderBy?: project_cmdGroupByArgs['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 ? GetProject_cmdGroupByPayload : Prisma.PrismaPromise /** * Fields of the project_cmd model */ readonly fields: project_cmdFieldRefs; } /** * The delegate class that acts as a "Promise-like" for project_cmd. * 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__project_cmdClient 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 project_cmd model */ export interface project_cmdFieldRefs { readonly id: Prisma.FieldRef<"project_cmd", 'Int'> readonly project_id: Prisma.FieldRef<"project_cmd", 'Int'> readonly date: Prisma.FieldRef<"project_cmd", 'BigInt'> readonly vendeur: Prisma.FieldRef<"project_cmd", 'String'> readonly no_cmd: Prisma.FieldRef<"project_cmd", 'String'> readonly po: Prisma.FieldRef<"project_cmd", 'String'> readonly staff_id: Prisma.FieldRef<"project_cmd", 'Int'> } // Custom InputTypes /** * project_cmd findUnique */ export type project_cmdFindUniqueArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter, which project_cmd to fetch. */ where: Prisma.project_cmdWhereUniqueInput } /** * project_cmd findUniqueOrThrow */ export type project_cmdFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter, which project_cmd to fetch. */ where: Prisma.project_cmdWhereUniqueInput } /** * project_cmd findFirst */ export type project_cmdFindFirstArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter, which project_cmd to fetch. */ where?: Prisma.project_cmdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_cmds to fetch. */ orderBy?: Prisma.project_cmdOrderByWithRelationInput | Prisma.project_cmdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_cmds. */ cursor?: Prisma.project_cmdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_cmds 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` project_cmds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_cmds. */ distinct?: Prisma.Project_cmdScalarFieldEnum | Prisma.Project_cmdScalarFieldEnum[] } /** * project_cmd findFirstOrThrow */ export type project_cmdFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter, which project_cmd to fetch. */ where?: Prisma.project_cmdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_cmds to fetch. */ orderBy?: Prisma.project_cmdOrderByWithRelationInput | Prisma.project_cmdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_cmds. */ cursor?: Prisma.project_cmdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_cmds 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` project_cmds. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_cmds. */ distinct?: Prisma.Project_cmdScalarFieldEnum | Prisma.Project_cmdScalarFieldEnum[] } /** * project_cmd findMany */ export type project_cmdFindManyArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter, which project_cmds to fetch. */ where?: Prisma.project_cmdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_cmds to fetch. */ orderBy?: Prisma.project_cmdOrderByWithRelationInput | Prisma.project_cmdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing project_cmds. */ cursor?: Prisma.project_cmdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_cmds 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` project_cmds. */ skip?: number distinct?: Prisma.Project_cmdScalarFieldEnum | Prisma.Project_cmdScalarFieldEnum[] } /** * project_cmd create */ export type project_cmdCreateArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * The data needed to create a project_cmd. */ data: Prisma.XOR } /** * project_cmd createMany */ export type project_cmdCreateManyArgs = { /** * The data used to create many project_cmds. */ data: Prisma.project_cmdCreateManyInput | Prisma.project_cmdCreateManyInput[] skipDuplicates?: boolean } /** * project_cmd update */ export type project_cmdUpdateArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * The data needed to update a project_cmd. */ data: Prisma.XOR /** * Choose, which project_cmd to update. */ where: Prisma.project_cmdWhereUniqueInput } /** * project_cmd updateMany */ export type project_cmdUpdateManyArgs = { /** * The data used to update project_cmds. */ data: Prisma.XOR /** * Filter which project_cmds to update */ where?: Prisma.project_cmdWhereInput /** * Limit how many project_cmds to update. */ limit?: number } /** * project_cmd upsert */ export type project_cmdUpsertArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * The filter to search for the project_cmd to update in case it exists. */ where: Prisma.project_cmdWhereUniqueInput /** * In case the project_cmd found by the `where` argument doesn't exist, create a new project_cmd with this data. */ create: Prisma.XOR /** * In case the project_cmd was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * project_cmd delete */ export type project_cmdDeleteArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null /** * Filter which project_cmd to delete. */ where: Prisma.project_cmdWhereUniqueInput } /** * project_cmd deleteMany */ export type project_cmdDeleteManyArgs = { /** * Filter which project_cmds to delete */ where?: Prisma.project_cmdWhereInput /** * Limit how many project_cmds to delete. */ limit?: number } /** * project_cmd without action */ export type project_cmdDefaultArgs = { /** * Select specific fields to fetch from the project_cmd */ select?: Prisma.project_cmdSelect | null /** * Omit specific fields from the project_cmd */ omit?: Prisma.project_cmdOmit | null }