import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { OfficeHoursSelectObjectSchema as OfficeHoursSelectObjectSchema } from './objects/OfficeHoursSelect.schema';
import { OfficeHoursIncludeObjectSchema as OfficeHoursIncludeObjectSchema } from './objects/OfficeHoursInclude.schema';
import { OfficeHoursUpdateInputObjectSchema as OfficeHoursUpdateInputObjectSchema } from './objects/OfficeHoursUpdateInput.schema';
import { OfficeHoursUncheckedUpdateInputObjectSchema as OfficeHoursUncheckedUpdateInputObjectSchema } from './objects/OfficeHoursUncheckedUpdateInput.schema';
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './objects/OfficeHoursWhereUniqueInput.schema';

export const OfficeHoursUpdateOneSchema: z.ZodType<Prisma.OfficeHoursUpdateArgs> = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInputObjectSchema]), where: OfficeHoursWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeHoursUpdateArgs>;

export const OfficeHoursUpdateOneZodSchema = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInputObjectSchema]), where: OfficeHoursWhereUniqueInputObjectSchema }).strict();