import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { AppointmentCreateWithoutProceduresInputObjectSchema as AppointmentCreateWithoutProceduresInputObjectSchema } from './AppointmentCreateWithoutProceduresInput.schema'; import { AppointmentUncheckedCreateWithoutProceduresInputObjectSchema as AppointmentUncheckedCreateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedCreateWithoutProceduresInput.schema'; import { AppointmentCreateOrConnectWithoutProceduresInputObjectSchema as AppointmentCreateOrConnectWithoutProceduresInputObjectSchema } from './AppointmentCreateOrConnectWithoutProceduresInput.schema'; import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => AppointmentCreateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutProceduresInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutProceduresInputObjectSchema).optional(), connect: z.lazy(() => AppointmentWhereUniqueInputObjectSchema).optional() }).strict(); export const AppointmentCreateNestedOneWithoutProceduresInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const AppointmentCreateNestedOneWithoutProceduresInputObjectZodSchema = makeSchema();