import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutInsuranceCredentialsInputObjectSchema as UserCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserCreateWithoutInsuranceCredentialsInput.schema';
import { UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedCreateWithoutInsuranceCredentialsInput.schema';
import { UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema as UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema } from './UserCreateOrConnectWithoutInsuranceCredentialsInput.schema';
import { UserUpsertWithoutInsuranceCredentialsInputObjectSchema as UserUpsertWithoutInsuranceCredentialsInputObjectSchema } from './UserUpsertWithoutInsuranceCredentialsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutInsuranceCredentialsInputObjectSchema as UserUpdateToOneWithWhereWithoutInsuranceCredentialsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput.schema';
import { UserUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUpdateWithoutInsuranceCredentialsInput.schema';
import { UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutInsuranceCredentialsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutInsuranceCredentialsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUpdateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInput>;
export const UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInputObjectZodSchema = makeSchema();
