import * as z from 'zod'; import { ProcedureSourceSchema } from '../../enums/ProcedureSource.schema'; // prettier-ignore export const AppointmentProcedureResultSchema = z.object({ id: z.number().int(), appointmentId: z.number().int(), patientId: z.number().int(), procedureCode: z.string(), procedureLabel: z.string().nullable(), fee: z.number().nullable(), category: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), oralCavityArea: z.string().nullable(), source: ProcedureSourceSchema, comboKey: z.string().nullable(), createdAt: z.date(), appointment: z.unknown(), patient: z.unknown() }).strict(); export type AppointmentProcedureResultType = z.infer;