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>
23 lines
957 B
TypeScript
23 lines
957 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
userId: z.literal(true).optional(),
|
|
name: z.literal(true).optional(),
|
|
labName: z.literal(true).optional(),
|
|
labPhone: z.literal(true).optional(),
|
|
labFax: z.literal(true).optional(),
|
|
labAddress: z.literal(true).optional(),
|
|
labAccount: z.literal(true).optional(),
|
|
caseType: z.literal(true).optional(),
|
|
material: z.literal(true).optional(),
|
|
instructions: z.literal(true).optional(),
|
|
sortOrder: z.literal(true).optional(),
|
|
createdAt: z.literal(true).optional(),
|
|
updatedAt: z.literal(true).optional()
|
|
}).strict();
|
|
export const LabRxTemplateMinAggregateInputObjectSchema: z.ZodType<Prisma.LabRxTemplateMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.LabRxTemplateMinAggregateInputType>;
|
|
export const LabRxTemplateMinAggregateInputObjectZodSchema = makeSchema();
|