import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutOfficeContactInputObjectSchema as UserUpdateWithoutOfficeContactInputObjectSchema } from './UserUpdateWithoutOfficeContactInput.schema';
import { UserUncheckedUpdateWithoutOfficeContactInputObjectSchema as UserUncheckedUpdateWithoutOfficeContactInputObjectSchema } from './UserUncheckedUpdateWithoutOfficeContactInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeContactInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutOfficeContactInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutOfficeContactInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutOfficeContactInput>;
export const UserUpdateToOneWithWhereWithoutOfficeContactInputObjectZodSchema = makeSchema();
