Files
DentalManagement09/packages/db/shared/schemas/results/CommunicationFindFirstResult.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

45 lines
1.3 KiB
TypeScript

import * as z from 'zod';
export declare const CommunicationFindFirstResultSchema: z.ZodNullable<z.ZodObject<{
id: z.ZodNumber;
patientId: z.ZodNumber;
userId: z.ZodOptional<z.ZodNumber>;
channel: z.ZodUnknown;
direction: z.ZodUnknown;
status: z.ZodUnknown;
provider: z.ZodUnknown;
body: z.ZodOptional<z.ZodString>;
callDuration: z.ZodOptional<z.ZodNumber>;
twilioSid: z.ZodOptional<z.ZodString>;
createdAt: z.ZodDate;
patient: z.ZodUnknown;
user: z.ZodOptional<z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
id: number;
createdAt: Date;
patientId: number;
status?: unknown;
patient?: unknown;
userId?: number | undefined;
user?: unknown;
channel?: unknown;
direction?: unknown;
provider?: unknown;
body?: string | undefined;
callDuration?: number | undefined;
twilioSid?: string | undefined;
}, {
id: number;
createdAt: Date;
patientId: number;
status?: unknown;
patient?: unknown;
userId?: number | undefined;
user?: unknown;
channel?: unknown;
direction?: unknown;
provider?: unknown;
body?: string | undefined;
callDuration?: number | undefined;
twilioSid?: string | undefined;
}>>;
//# sourceMappingURL=CommunicationFindFirstResult.schema.d.ts.map