import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema'; import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'; import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'; import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'; import { AppointmentUncheckedUpdateManyWithoutStaffNestedInputObjectSchema as AppointmentUncheckedUpdateManyWithoutStaffNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutStaffNestedInput.schema'; import { ClaimUncheckedUpdateManyWithoutStaffNestedInputObjectSchema as ClaimUncheckedUpdateManyWithoutStaffNestedInputObjectSchema } from './ClaimUncheckedUpdateManyWithoutStaffNestedInput.schema' const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), role: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), phone: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutStaffNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutStaffNestedInputObjectSchema).optional() }).strict(); export const StaffUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const StaffUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();