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>
12 lines
531 B
TypeScript
12 lines
531 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(),
|
|
paymentGroupId: z.literal(true).optional()
|
|
}).strict();
|
|
export const SeleniumSettingsMinAggregateInputObjectSchema: z.ZodType<Prisma.SeleniumSettingsMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.SeleniumSettingsMinAggregateInputType>;
|
|
export const SeleniumSettingsMinAggregateInputObjectZodSchema = makeSchema();
|