import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutInsuranceContactsInputObjectSchema as UserUpdateWithoutInsuranceContactsInputObjectSchema } from './UserUpdateWithoutInsuranceContactsInput.schema';
import { UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema as UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema } from './UserUncheckedUpdateWithoutInsuranceContactsInput.schema';
import { UserCreateWithoutInsuranceContactsInputObjectSchema as UserCreateWithoutInsuranceContactsInputObjectSchema } from './UserCreateWithoutInsuranceContactsInput.schema';
import { UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema as UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema } from './UserUncheckedCreateWithoutInsuranceContactsInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutInsuranceContactsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutInsuranceContactsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutInsuranceContactsInput>;
export const UserUpsertWithoutInsuranceContactsInputObjectZodSchema = makeSchema();
