import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
import { OfficeContactUpdateInputObjectSchema as OfficeContactUpdateInputObjectSchema } from './objects/OfficeContactUpdateInput.schema';
import { OfficeContactUncheckedUpdateInputObjectSchema as OfficeContactUncheckedUpdateInputObjectSchema } from './objects/OfficeContactUncheckedUpdateInput.schema';
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';

export const OfficeContactUpdateOneSchema: z.ZodType<Prisma.OfficeContactUpdateArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInputObjectSchema]), where: OfficeContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeContactUpdateArgs>;

export const OfficeContactUpdateOneZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInputObjectSchema]), where: OfficeContactWhereUniqueInputObjectSchema }).strict();