import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutInsuranceContactsInputObjectSchema as UserCreateWithoutInsuranceContactsInputObjectSchema } from './UserCreateWithoutInsuranceContactsInput.schema';
import { UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema as UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema } from './UserUncheckedCreateWithoutInsuranceContactsInput.schema';
import { UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema as UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema } from './UserCreateOrConnectWithoutInsuranceContactsInput.schema';
import { UserUpsertWithoutInsuranceContactsInputObjectSchema as UserUpsertWithoutInsuranceContactsInputObjectSchema } from './UserUpsertWithoutInsuranceContactsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema as UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema';
import { UserUpdateWithoutInsuranceContactsInputObjectSchema as UserUpdateWithoutInsuranceContactsInputObjectSchema } from './UserUpdateWithoutInsuranceContactsInput.schema';
import { UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema as UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema } from './UserUncheckedUpdateWithoutInsuranceContactsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutInsuranceContactsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUpdateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutInsuranceContactsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutInsuranceContactsNestedInput>;
export const UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectZodSchema = makeSchema();
