import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
import { PatientCreateWithoutCommunicationsInputObjectSchema as PatientCreateWithoutCommunicationsInputObjectSchema } from './PatientCreateWithoutCommunicationsInput.schema';
import { PatientUncheckedCreateWithoutCommunicationsInputObjectSchema as PatientUncheckedCreateWithoutCommunicationsInputObjectSchema } from './PatientUncheckedCreateWithoutCommunicationsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
  create: z.union([z.lazy(() => PatientCreateWithoutCommunicationsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCommunicationsInputObjectSchema)])
}).strict();
export const PatientCreateOrConnectWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutCommunicationsInput>;
export const PatientCreateOrConnectWithoutCommunicationsInputObjectZodSchema = makeSchema();
