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
1.0 KiB
TypeScript
22 lines
1.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
id: SortOrderSchema.optional(),
|
|
username: SortOrderSchema.optional(),
|
|
password: SortOrderSchema.optional(),
|
|
autoBackupEnabled: SortOrderSchema.optional(),
|
|
autoBackupHour: SortOrderSchema.optional(),
|
|
usbBackupEnabled: SortOrderSchema.optional(),
|
|
usbBackupHour: SortOrderSchema.optional(),
|
|
autoMhCheckEnabled: SortOrderSchema.optional(),
|
|
autoMhCheckDayOfWeek: SortOrderSchema.optional(),
|
|
autoMhCheckHour: SortOrderSchema.optional(),
|
|
autoDdmaCheckEnabled: SortOrderSchema.optional(),
|
|
autoDdmaCheckDayOfWeek: SortOrderSchema.optional(),
|
|
autoDdmaCheckHour: SortOrderSchema.optional()
|
|
}).strict();
|
|
export const UserMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.UserMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.UserMinOrderByAggregateInput>;
|
|
export const UserMinOrderByAggregateInputObjectZodSchema = makeSchema();
|