import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientUpdateWithoutDocumentsInputObjectSchema as PatientUpdateWithoutDocumentsInputObjectSchema } from './PatientUpdateWithoutDocumentsInput.schema'; import { PatientUncheckedUpdateWithoutDocumentsInputObjectSchema as PatientUncheckedUpdateWithoutDocumentsInputObjectSchema } from './PatientUncheckedUpdateWithoutDocumentsInput.schema'; import { PatientCreateWithoutDocumentsInputObjectSchema as PatientCreateWithoutDocumentsInputObjectSchema } from './PatientCreateWithoutDocumentsInput.schema'; import { PatientUncheckedCreateWithoutDocumentsInputObjectSchema as PatientUncheckedCreateWithoutDocumentsInputObjectSchema } from './PatientUncheckedCreateWithoutDocumentsInput.schema'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => PatientUpdateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutDocumentsInputObjectSchema)]), create: z.union([z.lazy(() => PatientCreateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutDocumentsInputObjectSchema)]), where: z.lazy(() => PatientWhereInputObjectSchema).optional() }).strict(); export const PatientUpsertWithoutDocumentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpsertWithoutDocumentsInputObjectZodSchema = makeSchema();