import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutCommunicationsInputObjectSchema as UserUpdateWithoutCommunicationsInputObjectSchema } from './UserUpdateWithoutCommunicationsInput.schema';
import { UserUncheckedUpdateWithoutCommunicationsInputObjectSchema as UserUncheckedUpdateWithoutCommunicationsInputObjectSchema } from './UserUncheckedUpdateWithoutCommunicationsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutCommunicationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutCommunicationsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutCommunicationsInput>;
export const UserUpdateToOneWithWhereWithoutCommunicationsInputObjectZodSchema = makeSchema();
