import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentCreateWithoutClaimsInputObjectSchema as AppointmentCreateWithoutClaimsInputObjectSchema } from './AppointmentCreateWithoutClaimsInput.schema';
import { AppointmentUncheckedCreateWithoutClaimsInputObjectSchema as AppointmentUncheckedCreateWithoutClaimsInputObjectSchema } from './AppointmentUncheckedCreateWithoutClaimsInput.schema';
import { AppointmentCreateOrConnectWithoutClaimsInputObjectSchema as AppointmentCreateOrConnectWithoutClaimsInputObjectSchema } from './AppointmentCreateOrConnectWithoutClaimsInput.schema';
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => AppointmentCreateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutClaimsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutClaimsInputObjectSchema).optional(),
  connect: z.lazy(() => AppointmentWhereUniqueInputObjectSchema).optional()
}).strict();
export const AppointmentCreateNestedOneWithoutClaimsInputObjectSchema: z.ZodType<Prisma.AppointmentCreateNestedOneWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateNestedOneWithoutClaimsInput>;
export const AppointmentCreateNestedOneWithoutClaimsInputObjectZodSchema = makeSchema();
