import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutNpiProvidersInputObjectSchema as UserCreateWithoutNpiProvidersInputObjectSchema } from './UserCreateWithoutNpiProvidersInput.schema';
import { UserUncheckedCreateWithoutNpiProvidersInputObjectSchema as UserUncheckedCreateWithoutNpiProvidersInputObjectSchema } from './UserUncheckedCreateWithoutNpiProvidersInput.schema';
import { UserCreateOrConnectWithoutNpiProvidersInputObjectSchema as UserCreateOrConnectWithoutNpiProvidersInputObjectSchema } from './UserCreateOrConnectWithoutNpiProvidersInput.schema';
import { UserUpsertWithoutNpiProvidersInputObjectSchema as UserUpsertWithoutNpiProvidersInputObjectSchema } from './UserUpsertWithoutNpiProvidersInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutNpiProvidersInputObjectSchema as UserUpdateToOneWithWhereWithoutNpiProvidersInputObjectSchema } from './UserUpdateToOneWithWhereWithoutNpiProvidersInput.schema';
import { UserUpdateWithoutNpiProvidersInputObjectSchema as UserUpdateWithoutNpiProvidersInputObjectSchema } from './UserUpdateWithoutNpiProvidersInput.schema';
import { UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema as UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema } from './UserUncheckedUpdateWithoutNpiProvidersInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutNpiProvidersInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutNpiProvidersInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutNpiProvidersInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutNpiProvidersInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutNpiProvidersInputObjectSchema), z.lazy(() => UserUpdateWithoutNpiProvidersInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutNpiProvidersNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutNpiProvidersNestedInput>;
export const UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectZodSchema = makeSchema();
