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

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeContactInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutOfficeContactInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutOfficeContactInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutOfficeContactInput>;
export const UserUpsertWithoutOfficeContactInputObjectZodSchema = makeSchema();
