import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ClaimCreateWithoutAppointmentInputObjectSchema as ClaimCreateWithoutAppointmentInputObjectSchema } from './ClaimCreateWithoutAppointmentInput.schema';
import { ClaimUncheckedCreateWithoutAppointmentInputObjectSchema as ClaimUncheckedCreateWithoutAppointmentInputObjectSchema } from './ClaimUncheckedCreateWithoutAppointmentInput.schema';
import { ClaimCreateOrConnectWithoutAppointmentInputObjectSchema as ClaimCreateOrConnectWithoutAppointmentInputObjectSchema } from './ClaimCreateOrConnectWithoutAppointmentInput.schema';
import { ClaimCreateManyAppointmentInputEnvelopeObjectSchema as ClaimCreateManyAppointmentInputEnvelopeObjectSchema } from './ClaimCreateManyAppointmentInputEnvelope.schema';
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ClaimCreateWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => ClaimUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => ClaimCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => ClaimCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => ClaimWhereUniqueInputObjectSchema), z.lazy(() => ClaimWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.ClaimUncheckedCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUncheckedCreateNestedManyWithoutAppointmentInput>;
export const ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
