import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUpdateWithoutInsuranceCredentialsInput.schema';
import { UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema as UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema } from './UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutInsuranceCredentialsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutInsuranceCredentialsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput>;
export const UserUpdateToOneWithWhereWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema();
