import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { PdfGroupSelectObjectSchema as PdfGroupSelectObjectSchema } from './objects/PdfGroupSelect.schema';
import { PdfGroupIncludeObjectSchema as PdfGroupIncludeObjectSchema } from './objects/PdfGroupInclude.schema';
import { PdfGroupUpdateInputObjectSchema as PdfGroupUpdateInputObjectSchema } from './objects/PdfGroupUpdateInput.schema';
import { PdfGroupUncheckedUpdateInputObjectSchema as PdfGroupUncheckedUpdateInputObjectSchema } from './objects/PdfGroupUncheckedUpdateInput.schema';
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './objects/PdfGroupWhereUniqueInput.schema';

export const PdfGroupUpdateOneSchema: z.ZodType<Prisma.PdfGroupUpdateArgs> = z.object({ select: PdfGroupSelectObjectSchema.optional(), include: PdfGroupIncludeObjectSchema.optional(), data: z.union([PdfGroupUpdateInputObjectSchema, PdfGroupUncheckedUpdateInputObjectSchema]), where: PdfGroupWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PdfGroupUpdateArgs>;

export const PdfGroupUpdateOneZodSchema = z.object({ select: PdfGroupSelectObjectSchema.optional(), include: PdfGroupIncludeObjectSchema.optional(), data: z.union([PdfGroupUpdateInputObjectSchema, PdfGroupUncheckedUpdateInputObjectSchema]), where: PdfGroupWhereUniqueInputObjectSchema }).strict();