import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema';
import { AppointmentUpdateWithoutFilesInputObjectSchema as AppointmentUpdateWithoutFilesInputObjectSchema } from './AppointmentUpdateWithoutFilesInput.schema';
import { AppointmentUncheckedUpdateWithoutFilesInputObjectSchema as AppointmentUncheckedUpdateWithoutFilesInputObjectSchema } from './AppointmentUncheckedUpdateWithoutFilesInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => AppointmentWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => AppointmentUpdateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutFilesInputObjectSchema)])
}).strict();
export const AppointmentUpdateToOneWithWhereWithoutFilesInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutFilesInput>;
export const AppointmentUpdateToOneWithWhereWithoutFilesInputObjectZodSchema = makeSchema();
