import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { NpiProviderCreateWithoutAppointmentsInputObjectSchema as NpiProviderCreateWithoutAppointmentsInputObjectSchema } from './NpiProviderCreateWithoutAppointmentsInput.schema';
import { NpiProviderUncheckedCreateWithoutAppointmentsInputObjectSchema as NpiProviderUncheckedCreateWithoutAppointmentsInputObjectSchema } from './NpiProviderUncheckedCreateWithoutAppointmentsInput.schema';
import { NpiProviderCreateOrConnectWithoutAppointmentsInputObjectSchema as NpiProviderCreateOrConnectWithoutAppointmentsInputObjectSchema } from './NpiProviderCreateOrConnectWithoutAppointmentsInput.schema';
import { NpiProviderWhereUniqueInputObjectSchema as NpiProviderWhereUniqueInputObjectSchema } from './NpiProviderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => NpiProviderCreateWithoutAppointmentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutAppointmentsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutAppointmentsInputObjectSchema).optional(),
  connect: z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).optional()
}).strict();
export const NpiProviderCreateNestedOneWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.NpiProviderCreateNestedOneWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.NpiProviderCreateNestedOneWithoutAppointmentsInput>;
export const NpiProviderCreateNestedOneWithoutAppointmentsInputObjectZodSchema = makeSchema();
