Adds a Check DDMA Payments card (date range, Go, auto-check schedule) above Check MH Payments. Go logs into DDMA (with OTP), searches Check Claim Status by service date range, reads claim numbers and Plan Pays across pages, matches them to app claims to fill the paid amount, creates patient + payment for unmatched paid claims, and saves the results page as a PDF in uploads/DDMAPayment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
971 B
TypeScript
22 lines
971 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
username: z.literal(true).optional(),
|
|
password: z.literal(true).optional(),
|
|
autoBackupEnabled: z.literal(true).optional(),
|
|
autoBackupHour: z.literal(true).optional(),
|
|
usbBackupEnabled: z.literal(true).optional(),
|
|
usbBackupHour: z.literal(true).optional(),
|
|
autoMhCheckEnabled: z.literal(true).optional(),
|
|
autoMhCheckDayOfWeek: z.literal(true).optional(),
|
|
autoMhCheckHour: z.literal(true).optional(),
|
|
autoDdmaCheckEnabled: z.literal(true).optional(),
|
|
autoDdmaCheckDayOfWeek: z.literal(true).optional(),
|
|
autoDdmaCheckHour: z.literal(true).optional()
|
|
}).strict();
|
|
export const UserMinAggregateInputObjectSchema: z.ZodType<Prisma.UserMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.UserMinAggregateInputType>;
|
|
export const UserMinAggregateInputObjectZodSchema = makeSchema();
|