- New MH eligibility worker for providers.masshealth-dental.org (same DentaQuest portal as Tufts SCO): persistent Chrome profile, OTP via app popup, member details PDF, address, service history, plan name and remaining benefit - Reads the OTP from the office Gmail over IMAP (App Password) and types it in; falls back to the manual OTP popup - Insurance credentials: OTP Email / Phone and OTP Email Password fields - New patient status ACTIVE_PLAN_NOT_ACCEPTED (coverage active, plan not accepted) - Removes the old MH eligibility, MH history and CMSP remaining workers/processors; batch appointment check and AI conversation use the new MH processor Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
import * as z from 'zod';
|
|
export const InsuranceCredentialAggregateResultSchema = z.object({ _count: z.object({
|
|
id: z.number(),
|
|
userId: z.number(),
|
|
siteKey: z.number(),
|
|
username: z.number(),
|
|
password: z.number(),
|
|
otpContact: z.number(),
|
|
otpContactPassword: z.number(),
|
|
user: z.number()
|
|
}).optional(),
|
|
_sum: z.object({
|
|
id: z.number().nullable(),
|
|
userId: z.number().nullable()
|
|
}).nullable().optional(),
|
|
_avg: z.object({
|
|
id: z.number().nullable(),
|
|
userId: z.number().nullable()
|
|
}).nullable().optional(),
|
|
_min: z.object({
|
|
id: z.number().int().nullable(),
|
|
userId: z.number().int().nullable(),
|
|
siteKey: z.string().nullable(),
|
|
username: z.string().nullable(),
|
|
password: z.string().nullable(),
|
|
otpContact: z.string().nullable(),
|
|
otpContactPassword: z.string().nullable()
|
|
}).nullable().optional(),
|
|
_max: z.object({
|
|
id: z.number().int().nullable(),
|
|
userId: z.number().int().nullable(),
|
|
siteKey: z.string().nullable(),
|
|
username: z.string().nullable(),
|
|
password: z.string().nullable(),
|
|
otpContact: z.string().nullable(),
|
|
otpContactPassword: z.string().nullable()
|
|
}).nullable().optional()}); |