import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
import { BoolFieldUpdateOperationsInputObjectSchema as BoolFieldUpdateOperationsInputObjectSchema } from './BoolFieldUpdateOperationsInput.schema';
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
import { PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema as PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema } from './PatientUpdateOneRequiredWithoutConversationNestedInput.schema';
import { UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema as UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema'

const makeSchema = () => z.object({
  stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
  aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
  updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
  patient: z.lazy(() => PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema).optional(),
  user: z.lazy(() => UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema).optional()
}).strict();
export const PatientConversationUpdateInputObjectSchema: z.ZodType<Prisma.PatientConversationUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientConversationUpdateInput>;
export const PatientConversationUpdateInputObjectZodSchema = makeSchema();
