import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { NpiProviderCreateWithoutUserInputObjectSchema as NpiProviderCreateWithoutUserInputObjectSchema } from './NpiProviderCreateWithoutUserInput.schema';
import { NpiProviderUncheckedCreateWithoutUserInputObjectSchema as NpiProviderUncheckedCreateWithoutUserInputObjectSchema } from './NpiProviderUncheckedCreateWithoutUserInput.schema';
import { NpiProviderCreateOrConnectWithoutUserInputObjectSchema as NpiProviderCreateOrConnectWithoutUserInputObjectSchema } from './NpiProviderCreateOrConnectWithoutUserInput.schema';
import { NpiProviderUpsertWithWhereUniqueWithoutUserInputObjectSchema as NpiProviderUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './NpiProviderUpsertWithWhereUniqueWithoutUserInput.schema';
import { NpiProviderCreateManyUserInputEnvelopeObjectSchema as NpiProviderCreateManyUserInputEnvelopeObjectSchema } from './NpiProviderCreateManyUserInputEnvelope.schema';
import { NpiProviderWhereUniqueInputObjectSchema as NpiProviderWhereUniqueInputObjectSchema } from './NpiProviderWhereUniqueInput.schema';
import { NpiProviderUpdateWithWhereUniqueWithoutUserInputObjectSchema as NpiProviderUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './NpiProviderUpdateWithWhereUniqueWithoutUserInput.schema';
import { NpiProviderUpdateManyWithWhereWithoutUserInputObjectSchema as NpiProviderUpdateManyWithWhereWithoutUserInputObjectSchema } from './NpiProviderUpdateManyWithWhereWithoutUserInput.schema';
import { NpiProviderScalarWhereInputObjectSchema as NpiProviderScalarWhereInputObjectSchema } from './NpiProviderScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => NpiProviderCreateWithoutUserInputObjectSchema), z.lazy(() => NpiProviderCreateWithoutUserInputObjectSchema).array(), z.lazy(() => NpiProviderUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => NpiProviderCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => NpiProviderCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => NpiProviderUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => NpiProviderUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => NpiProviderCreateManyUserInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => NpiProviderWhereUniqueInputObjectSchema), z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => NpiProviderWhereUniqueInputObjectSchema), z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => NpiProviderWhereUniqueInputObjectSchema), z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => NpiProviderWhereUniqueInputObjectSchema), z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => NpiProviderUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => NpiProviderUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => NpiProviderUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => NpiProviderUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => NpiProviderScalarWhereInputObjectSchema), z.lazy(() => NpiProviderScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const NpiProviderUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.NpiProviderUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.NpiProviderUpdateManyWithoutUserNestedInput>;
export const NpiProviderUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
