import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema';
import { EnumPdfTitleKeyFieldUpdateOperationsInputObjectSchema as EnumPdfTitleKeyFieldUpdateOperationsInputObjectSchema } from './EnumPdfTitleKeyFieldUpdateOperationsInput.schema';
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
import { PdfFileUpdateManyWithoutGroupNestedInputObjectSchema as PdfFileUpdateManyWithoutGroupNestedInputObjectSchema } from './PdfFileUpdateManyWithoutGroupNestedInput.schema'

const makeSchema = () => z.object({
  title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
  titleKey: z.union([PdfTitleKeySchema, z.lazy(() => EnumPdfTitleKeyFieldUpdateOperationsInputObjectSchema)]).optional(),
  createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
  pdfs: z.lazy(() => PdfFileUpdateManyWithoutGroupNestedInputObjectSchema).optional()
}).strict();
export const PdfGroupUpdateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupUpdateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUpdateWithoutPatientInput>;
export const PdfGroupUpdateWithoutPatientInputObjectZodSchema = makeSchema();
