import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './CommunicationWhereUniqueInput.schema'; import { CommunicationUpdateWithoutPatientInputObjectSchema as CommunicationUpdateWithoutPatientInputObjectSchema } from './CommunicationUpdateWithoutPatientInput.schema'; import { CommunicationUncheckedUpdateWithoutPatientInputObjectSchema as CommunicationUncheckedUpdateWithoutPatientInputObjectSchema } from './CommunicationUncheckedUpdateWithoutPatientInput.schema'; import { CommunicationCreateWithoutPatientInputObjectSchema as CommunicationCreateWithoutPatientInputObjectSchema } from './CommunicationCreateWithoutPatientInput.schema'; import { CommunicationUncheckedCreateWithoutPatientInputObjectSchema as CommunicationUncheckedCreateWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateWithoutPatientInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => CommunicationWhereUniqueInputObjectSchema), update: z.union([z.lazy(() => CommunicationUpdateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedUpdateWithoutPatientInputObjectSchema)]), create: z.union([z.lazy(() => CommunicationCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInputObjectSchema)]) }).strict(); export const CommunicationUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const CommunicationUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();