import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutPatientsInputObjectSchema as UserUpdateWithoutPatientsInputObjectSchema } from './UserUpdateWithoutPatientsInput.schema';
import { UserUncheckedUpdateWithoutPatientsInputObjectSchema as UserUncheckedUpdateWithoutPatientsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutPatientsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutPatientsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutPatientsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutPatientsInput>;
export const UserUpdateToOneWithWhereWithoutPatientsInputObjectZodSchema = makeSchema();
