import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput>;
export const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
