20 lines
642 B
TypeScript
20 lines
642 B
TypeScript
import * as z from 'zod';
|
|
export const ServiceLineUpdateResultSchema = z.nullable(z.object({
|
|
id: z.number().int(),
|
|
claimId: z.number().int().optional(),
|
|
paymentId: z.number().int().optional(),
|
|
procedureCode: z.string(),
|
|
procedureDate: z.date(),
|
|
quad: z.string().optional(),
|
|
arch: z.string().optional(),
|
|
toothNumber: z.string().optional(),
|
|
toothSurface: z.string().optional(),
|
|
totalBilled: z.number(),
|
|
totalPaid: z.number(),
|
|
totalAdjusted: z.number(),
|
|
totalDue: z.number(),
|
|
status: z.unknown(),
|
|
claim: z.unknown().optional(),
|
|
payment: z.unknown().optional(),
|
|
serviceLineTransactions: z.array(z.unknown())
|
|
})); |