- Added copayment and adjustment fields (Decimal, default 0) to Payment model in schema and directly to DB via ALTER TABLE - Added PATCH /api/payments/:id/copayment and /adjustment routes - Added inline-editable Copayment and Adjustment columns after MH Paid with same click-to-edit format; Copayment in blue, Adjustment in orange Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
911 B
TypeScript
26 lines
911 B
TypeScript
import * as z from 'zod';
|
|
export const UserCreateResultSchema = z.object({
|
|
id: z.number().int(),
|
|
username: z.string(),
|
|
password: z.string(),
|
|
autoBackupEnabled: z.boolean(),
|
|
usbBackupEnabled: z.boolean(),
|
|
patients: z.array(z.unknown()),
|
|
appointments: z.array(z.unknown()),
|
|
staff: z.array(z.unknown()),
|
|
npiProviders: z.array(z.unknown()),
|
|
claims: z.array(z.unknown()),
|
|
insuranceCredentials: z.array(z.unknown()),
|
|
updatedPayments: z.array(z.unknown()),
|
|
backups: z.array(z.unknown()),
|
|
backupDestinations: z.array(z.unknown()),
|
|
notifications: z.array(z.unknown()),
|
|
cloudFolders: z.array(z.unknown()),
|
|
cloudFiles: z.array(z.unknown()),
|
|
communications: z.array(z.unknown()),
|
|
twilioSettings: z.unknown().optional(),
|
|
aiSettings: z.unknown().optional(),
|
|
officeHours: z.unknown().optional(),
|
|
officeContact: z.unknown().optional(),
|
|
procedureTimeslot: z.unknown().optional()
|
|
}); |