import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutOfficeHoursInputObjectSchema as UserCreateWithoutOfficeHoursInputObjectSchema } from './UserCreateWithoutOfficeHoursInput.schema';
import { UserUncheckedCreateWithoutOfficeHoursInputObjectSchema as UserUncheckedCreateWithoutOfficeHoursInputObjectSchema } from './UserUncheckedCreateWithoutOfficeHoursInput.schema';
import { UserCreateOrConnectWithoutOfficeHoursInputObjectSchema as UserCreateOrConnectWithoutOfficeHoursInputObjectSchema } from './UserCreateOrConnectWithoutOfficeHoursInput.schema';
import { UserUpsertWithoutOfficeHoursInputObjectSchema as UserUpsertWithoutOfficeHoursInputObjectSchema } from './UserUpsertWithoutOfficeHoursInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema as UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema } from './UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema';
import { UserUpdateWithoutOfficeHoursInputObjectSchema as UserUpdateWithoutOfficeHoursInputObjectSchema } from './UserUpdateWithoutOfficeHoursInput.schema';
import { UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema as UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema } from './UserUncheckedUpdateWithoutOfficeHoursInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeHoursInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeHoursInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutOfficeHoursInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUpdateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutOfficeHoursNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutOfficeHoursNestedInput>;
export const UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectZodSchema = makeSchema();
