import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
import { AppointmentUpdateWithoutUserInputObjectSchema as AppointmentUpdateWithoutUserInputObjectSchema } from './AppointmentUpdateWithoutUserInput.schema';
import { AppointmentUncheckedUpdateWithoutUserInputObjectSchema as AppointmentUncheckedUpdateWithoutUserInputObjectSchema } from './AppointmentUncheckedUpdateWithoutUserInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
  data: z.union([z.lazy(() => AppointmentUpdateWithoutUserInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutUserInputObjectSchema)])
}).strict();
export const AppointmentUpdateWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateWithWhereUniqueWithoutUserInput>;
export const AppointmentUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
