import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { StaffUpdateWithoutAppointmentsInputObjectSchema as StaffUpdateWithoutAppointmentsInputObjectSchema } from './StaffUpdateWithoutAppointmentsInput.schema'; import { StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema as StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './StaffUncheckedUpdateWithoutAppointmentsInput.schema'; import { StaffCreateWithoutAppointmentsInputObjectSchema as StaffCreateWithoutAppointmentsInputObjectSchema } from './StaffCreateWithoutAppointmentsInput.schema'; import { StaffUncheckedCreateWithoutAppointmentsInputObjectSchema as StaffUncheckedCreateWithoutAppointmentsInputObjectSchema } from './StaffUncheckedCreateWithoutAppointmentsInput.schema'; import { StaffWhereInputObjectSchema as StaffWhereInputObjectSchema } from './StaffWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => StaffUpdateWithoutAppointmentsInputObjectSchema), z.lazy(() => StaffUncheckedUpdateWithoutAppointmentsInputObjectSchema)]), create: z.union([z.lazy(() => StaffCreateWithoutAppointmentsInputObjectSchema), z.lazy(() => StaffUncheckedCreateWithoutAppointmentsInputObjectSchema)]), where: z.lazy(() => StaffWhereInputObjectSchema).optional() }).strict(); export const StaffUpsertWithoutAppointmentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const StaffUpsertWithoutAppointmentsInputObjectZodSchema = makeSchema();