Files
DentalManagement09/packages/db/shared/schemas/results/UserUpdateResult.schema.d.ts
T
GiteadandClaude Opus 5.5 1abc2c705d fix: allow letters in insurance ID; add patient state (default MA)
- Backend insurance ID check now accepts letters + digits (BCBS IDs have
  a letter prefix), matching the frontend schema; create route validates
  the normalized body
- Patient.state column (default "MA") with State select on the patient
  form; ADA claim form uses the patient's state instead of the office's
- Rebuild stale packages/db compiled .js so the runtime schemas include
  new fields (state, office billing NPI fields, Telnyx settings)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 23:29:27 -04:00

108 lines
3.6 KiB
TypeScript

import * as z from 'zod';
export declare const UserUpdateResultSchema: z.ZodNullable<z.ZodObject<{
id: z.ZodNumber;
username: z.ZodString;
password: z.ZodString;
autoBackupEnabled: z.ZodBoolean;
autoBackupHour: z.ZodNumber;
usbBackupEnabled: z.ZodBoolean;
usbBackupHour: z.ZodNumber;
autoMhCheckEnabled: z.ZodBoolean;
autoMhCheckDayOfWeek: z.ZodNumber;
autoMhCheckHour: z.ZodNumber;
patients: z.ZodArray<z.ZodUnknown, "many">;
appointments: z.ZodArray<z.ZodUnknown, "many">;
staff: z.ZodArray<z.ZodUnknown, "many">;
npiProviders: z.ZodArray<z.ZodUnknown, "many">;
claims: z.ZodArray<z.ZodUnknown, "many">;
insuranceCredentials: z.ZodArray<z.ZodUnknown, "many">;
shoppingVendors: z.ZodArray<z.ZodUnknown, "many">;
updatedPayments: z.ZodArray<z.ZodUnknown, "many">;
backups: z.ZodArray<z.ZodUnknown, "many">;
backupDestinations: z.ZodArray<z.ZodUnknown, "many">;
notifications: z.ZodArray<z.ZodUnknown, "many">;
cloudFolders: z.ZodArray<z.ZodUnknown, "many">;
cloudFiles: z.ZodArray<z.ZodUnknown, "many">;
communications: z.ZodArray<z.ZodUnknown, "many">;
twilioSettings: z.ZodOptional<z.ZodUnknown>;
telnyxSettings: z.ZodOptional<z.ZodUnknown>;
aiSettings: z.ZodOptional<z.ZodUnknown>;
officeHours: z.ZodOptional<z.ZodUnknown>;
officeContact: z.ZodOptional<z.ZodUnknown>;
procedureTimeslot: z.ZodOptional<z.ZodUnknown>;
insuranceContacts: z.ZodArray<z.ZodUnknown, "many">;
patientConversations: z.ZodArray<z.ZodUnknown, "many">;
labRxTemplates: z.ZodArray<z.ZodUnknown, "many">;
seleniumSettings: z.ZodOptional<z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
id: number;
username: string;
password: string;
appointments: unknown[];
staff: unknown[];
claims: unknown[];
autoBackupEnabled: boolean;
autoBackupHour: number;
usbBackupEnabled: boolean;
usbBackupHour: number;
autoMhCheckEnabled: boolean;
autoMhCheckDayOfWeek: number;
autoMhCheckHour: number;
patients: unknown[];
npiProviders: unknown[];
insuranceCredentials: unknown[];
shoppingVendors: unknown[];
updatedPayments: unknown[];
backups: unknown[];
backupDestinations: unknown[];
notifications: unknown[];
cloudFolders: unknown[];
cloudFiles: unknown[];
communications: unknown[];
insuranceContacts: unknown[];
labRxTemplates: unknown[];
patientConversations: unknown[];
twilioSettings?: unknown;
telnyxSettings?: unknown;
aiSettings?: unknown;
officeHours?: unknown;
officeContact?: unknown;
procedureTimeslot?: unknown;
seleniumSettings?: unknown;
}, {
id: number;
username: string;
password: string;
appointments: unknown[];
staff: unknown[];
claims: unknown[];
autoBackupEnabled: boolean;
autoBackupHour: number;
usbBackupEnabled: boolean;
usbBackupHour: number;
autoMhCheckEnabled: boolean;
autoMhCheckDayOfWeek: number;
autoMhCheckHour: number;
patients: unknown[];
npiProviders: unknown[];
insuranceCredentials: unknown[];
shoppingVendors: unknown[];
updatedPayments: unknown[];
backups: unknown[];
backupDestinations: unknown[];
notifications: unknown[];
cloudFolders: unknown[];
cloudFiles: unknown[];
communications: unknown[];
insuranceContacts: unknown[];
labRxTemplates: unknown[];
patientConversations: unknown[];
twilioSettings?: unknown;
telnyxSettings?: unknown;
aiSettings?: unknown;
officeHours?: unknown;
officeContact?: unknown;
procedureTimeslot?: unknown;
seleniumSettings?: unknown;
}>>;
//# sourceMappingURL=UserUpdateResult.schema.d.ts.map