import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { UserUpdateWithoutAppointmentsInputObjectSchema as UserUpdateWithoutAppointmentsInputObjectSchema } from './UserUpdateWithoutAppointmentsInput.schema'; import { UserUncheckedUpdateWithoutAppointmentsInputObjectSchema as UserUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './UserUncheckedUpdateWithoutAppointmentsInput.schema'; import { UserCreateWithoutAppointmentsInputObjectSchema as UserCreateWithoutAppointmentsInputObjectSchema } from './UserCreateWithoutAppointmentsInput.schema'; import { UserUncheckedCreateWithoutAppointmentsInputObjectSchema as UserUncheckedCreateWithoutAppointmentsInputObjectSchema } from './UserUncheckedCreateWithoutAppointmentsInput.schema'; import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => UserUpdateWithoutAppointmentsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutAppointmentsInputObjectSchema)]), create: z.union([z.lazy(() => UserCreateWithoutAppointmentsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutAppointmentsInputObjectSchema)]), where: z.lazy(() => UserWhereInputObjectSchema).optional() }).strict(); export const UserUpsertWithoutAppointmentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const UserUpsertWithoutAppointmentsInputObjectZodSchema = makeSchema();