- 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>
24 lines
2.1 KiB
TypeScript
24 lines
2.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
|
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
|
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
|
|
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
|
|
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
|
|
|
const insurancecredentialwhereinputSchema = z.object({
|
|
AND: z.union([z.lazy(() => InsuranceCredentialWhereInputObjectSchema), z.lazy(() => InsuranceCredentialWhereInputObjectSchema).array()]).optional(),
|
|
OR: z.lazy(() => InsuranceCredentialWhereInputObjectSchema).array().optional(),
|
|
NOT: z.union([z.lazy(() => InsuranceCredentialWhereInputObjectSchema), z.lazy(() => InsuranceCredentialWhereInputObjectSchema).array()]).optional(),
|
|
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
|
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
|
siteKey: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
|
username: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
|
password: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
|
otpContact: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
|
otpContactPassword: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
|
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
|
|
}).strict();
|
|
export const InsuranceCredentialWhereInputObjectSchema: z.ZodType<Prisma.InsuranceCredentialWhereInput> = insurancecredentialwhereinputSchema as unknown as z.ZodType<Prisma.InsuranceCredentialWhereInput>;
|
|
export const InsuranceCredentialWhereInputObjectZodSchema = insurancecredentialwhereinputSchema;
|