import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './PatientDocumentWhereUniqueInput.schema';
import { PatientDocumentUpdateWithoutPatientInputObjectSchema as PatientDocumentUpdateWithoutPatientInputObjectSchema } from './PatientDocumentUpdateWithoutPatientInput.schema';
import { PatientDocumentUncheckedUpdateWithoutPatientInputObjectSchema as PatientDocumentUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedUpdateWithoutPatientInput.schema';
import { PatientDocumentCreateWithoutPatientInputObjectSchema as PatientDocumentCreateWithoutPatientInputObjectSchema } from './PatientDocumentCreateWithoutPatientInput.schema';
import { PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateWithoutPatientInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientDocumentWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => PatientDocumentUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientDocumentUncheckedUpdateWithoutPatientInputObjectSchema)]),
  create: z.union([z.lazy(() => PatientDocumentCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema)])
}).strict();
export const PatientDocumentUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientDocumentUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientDocumentUpsertWithWhereUniqueWithoutPatientInput>;
export const PatientDocumentUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
