import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { OfficeHoursCreateWithoutUserInputObjectSchema as OfficeHoursCreateWithoutUserInputObjectSchema } from './OfficeHoursCreateWithoutUserInput.schema';
import { OfficeHoursUncheckedCreateWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateWithoutUserInput.schema';
import { OfficeHoursCreateOrConnectWithoutUserInputObjectSchema as OfficeHoursCreateOrConnectWithoutUserInputObjectSchema } from './OfficeHoursCreateOrConnectWithoutUserInput.schema';
import { OfficeHoursUpsertWithoutUserInputObjectSchema as OfficeHoursUpsertWithoutUserInputObjectSchema } from './OfficeHoursUpsertWithoutUserInput.schema';
import { OfficeHoursWhereInputObjectSchema as OfficeHoursWhereInputObjectSchema } from './OfficeHoursWhereInput.schema';
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './OfficeHoursWhereUniqueInput.schema';
import { OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema as OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema } from './OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema';
import { OfficeHoursUpdateWithoutUserInputObjectSchema as OfficeHoursUpdateWithoutUserInputObjectSchema } from './OfficeHoursUpdateWithoutUserInput.schema';
import { OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema as OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema } from './OfficeHoursUncheckedUpdateWithoutUserInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => OfficeHoursCreateOrConnectWithoutUserInputObjectSchema).optional(),
  upsert: z.lazy(() => OfficeHoursUpsertWithoutUserInputObjectSchema).optional(),
  disconnect: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInputObjectSchema)]).optional(),
  delete: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInputObjectSchema)]).optional(),
  connect: z.lazy(() => OfficeHoursWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema)]).optional()
}).strict();
export const OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.OfficeHoursUncheckedUpdateOneWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeHoursUncheckedUpdateOneWithoutUserNestedInput>;
export const OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema();
