import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfGroupCreateWithoutPatientInputObjectSchema as PdfGroupCreateWithoutPatientInputObjectSchema } from './PdfGroupCreateWithoutPatientInput.schema';
import { PdfGroupUncheckedCreateWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPatientInput.schema';
import { PdfGroupCreateOrConnectWithoutPatientInputObjectSchema as PdfGroupCreateOrConnectWithoutPatientInputObjectSchema } from './PdfGroupCreateOrConnectWithoutPatientInput.schema';
import { PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectSchema as PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './PdfGroupUpsertWithWhereUniqueWithoutPatientInput.schema';
import { PdfGroupCreateManyPatientInputEnvelopeObjectSchema as PdfGroupCreateManyPatientInputEnvelopeObjectSchema } from './PdfGroupCreateManyPatientInputEnvelope.schema';
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
import { PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectSchema as PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './PdfGroupUpdateWithWhereUniqueWithoutPatientInput.schema';
import { PdfGroupUpdateManyWithWhereWithoutPatientInputObjectSchema as PdfGroupUpdateManyWithWhereWithoutPatientInputObjectSchema } from './PdfGroupUpdateManyWithWhereWithoutPatientInput.schema';
import { PdfGroupScalarWhereInputObjectSchema as PdfGroupScalarWhereInputObjectSchema } from './PdfGroupScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => PdfGroupCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => PdfGroupCreateManyPatientInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => PdfGroupWhereUniqueInputObjectSchema), z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => PdfGroupWhereUniqueInputObjectSchema), z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => PdfGroupWhereUniqueInputObjectSchema), z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => PdfGroupWhereUniqueInputObjectSchema), z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => PdfGroupUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => PdfGroupScalarWhereInputObjectSchema), z.lazy(() => PdfGroupScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.PdfGroupUncheckedUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUncheckedUpdateManyWithoutPatientNestedInput>;
export const PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
