import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema'; import { AppointmentUpdateWithoutProceduresInputObjectSchema as AppointmentUpdateWithoutProceduresInputObjectSchema } from './AppointmentUpdateWithoutProceduresInput.schema'; import { AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema as AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedUpdateWithoutProceduresInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => AppointmentWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => AppointmentUpdateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema)]) }).strict(); export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectZodSchema = makeSchema();