- 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>
17 lines
1.6 KiB
TypeScript
17 lines
1.6 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
|
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
|
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
siteKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
otpContact: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
otpContactPassword: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
|
}).strict();
|
|
export const InsuranceCredentialUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.InsuranceCredentialUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.InsuranceCredentialUncheckedUpdateWithoutUserInput>;
|
|
export const InsuranceCredentialUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();
|