Adds a new Settings → Advanced → Selenium Settings page where the office name (paymentGroupId) used in United/DentalHub portal dropdowns can be configured without touching code. Previously hardcoded as "Summit Dental Care"; now injected from DB into the three United workers at job dispatch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
1008 B
TypeScript
24 lines
1008 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.boolean().optional(),
|
|
userId: z.boolean().optional(),
|
|
name: z.boolean().optional(),
|
|
labName: z.boolean().optional(),
|
|
labPhone: z.boolean().optional(),
|
|
labFax: z.boolean().optional(),
|
|
labAddress: z.boolean().optional(),
|
|
labAccount: z.boolean().optional(),
|
|
caseType: z.boolean().optional(),
|
|
material: z.boolean().optional(),
|
|
instructions: z.boolean().optional(),
|
|
sortOrder: z.boolean().optional(),
|
|
createdAt: z.boolean().optional(),
|
|
updatedAt: z.boolean().optional(),
|
|
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional()
|
|
}).strict();
|
|
export const LabRxTemplateSelectObjectSchema: z.ZodType<Prisma.LabRxTemplateSelect> = makeSchema() as unknown as z.ZodType<Prisma.LabRxTemplateSelect>;
|
|
export const LabRxTemplateSelectObjectZodSchema = makeSchema();
|