import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { PatientDocumentSelectObjectSchema as PatientDocumentSelectObjectSchema } from './objects/PatientDocumentSelect.schema';
import { PatientDocumentIncludeObjectSchema as PatientDocumentIncludeObjectSchema } from './objects/PatientDocumentInclude.schema';
import { PatientDocumentUpdateInputObjectSchema as PatientDocumentUpdateInputObjectSchema } from './objects/PatientDocumentUpdateInput.schema';
import { PatientDocumentUncheckedUpdateInputObjectSchema as PatientDocumentUncheckedUpdateInputObjectSchema } from './objects/PatientDocumentUncheckedUpdateInput.schema';
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './objects/PatientDocumentWhereUniqueInput.schema';

export const PatientDocumentUpdateOneSchema: z.ZodType<Prisma.PatientDocumentUpdateArgs> = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), data: z.union([PatientDocumentUpdateInputObjectSchema, PatientDocumentUncheckedUpdateInputObjectSchema]), where: PatientDocumentWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientDocumentUpdateArgs>;

export const PatientDocumentUpdateOneZodSchema = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), data: z.union([PatientDocumentUpdateInputObjectSchema, PatientDocumentUncheckedUpdateInputObjectSchema]), where: PatientDocumentWhereUniqueInputObjectSchema }).strict();