import { z } from 'zod'; import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema'; import type { Prisma } from '../../../generated/prisma'; const Schema: z.ZodType = z .object({ title: z.string(), date: z.coerce.date(), startTime: z.coerce.date(), endTime: z.coerce.date(), type: z.string(), notes: z.string().optional().nullable(), status: z.string().optional(), createdAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema), }) .strict(); export const AppointmentCreateWithoutPatientInputObjectSchema = Schema;