import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfGroupCreateWithoutPdfsInputObjectSchema as PdfGroupCreateWithoutPdfsInputObjectSchema } from './PdfGroupCreateWithoutPdfsInput.schema';
import { PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema as PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPdfsInput.schema';
import { PdfGroupCreateOrConnectWithoutPdfsInputObjectSchema as PdfGroupCreateOrConnectWithoutPdfsInputObjectSchema } from './PdfGroupCreateOrConnectWithoutPdfsInput.schema';
import { PdfGroupUpsertWithoutPdfsInputObjectSchema as PdfGroupUpsertWithoutPdfsInputObjectSchema } from './PdfGroupUpsertWithoutPdfsInput.schema';
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
import { PdfGroupUpdateToOneWithWhereWithoutPdfsInputObjectSchema as PdfGroupUpdateToOneWithWhereWithoutPdfsInputObjectSchema } from './PdfGroupUpdateToOneWithWhereWithoutPdfsInput.schema';
import { PdfGroupUpdateWithoutPdfsInputObjectSchema as PdfGroupUpdateWithoutPdfsInputObjectSchema } from './PdfGroupUpdateWithoutPdfsInput.schema';
import { PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema as PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema } from './PdfGroupUncheckedUpdateWithoutPdfsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PdfGroupCreateWithoutPdfsInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PdfGroupCreateOrConnectWithoutPdfsInputObjectSchema).optional(),
  upsert: z.lazy(() => PdfGroupUpsertWithoutPdfsInputObjectSchema).optional(),
  connect: z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => PdfGroupUpdateToOneWithWhereWithoutPdfsInputObjectSchema), z.lazy(() => PdfGroupUpdateWithoutPdfsInputObjectSchema), z.lazy(() => PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema)]).optional()
}).strict();
export const PdfGroupUpdateOneRequiredWithoutPdfsNestedInputObjectSchema: z.ZodType<Prisma.PdfGroupUpdateOneRequiredWithoutPdfsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUpdateOneRequiredWithoutPdfsNestedInput>;
export const PdfGroupUpdateOneRequiredWithoutPdfsNestedInputObjectZodSchema = makeSchema();
