initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import * as z from 'zod';
|
||||
export const ServiceLineFindManyResultSchema = z.object({
|
||||
data: z.array(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())
|
||||
})),
|
||||
pagination: z.object({
|
||||
page: z.number().int().min(1),
|
||||
pageSize: z.number().int().min(1),
|
||||
total: z.number().int().min(0),
|
||||
totalPages: z.number().int().min(0),
|
||||
hasNext: z.boolean(),
|
||||
hasPrev: z.boolean()
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user