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
521 B
TypeScript
12 lines
521 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.number().int().optional(),
|
|
userId: z.number().int(),
|
|
paymentGroupId: z.string().optional()
|
|
}).strict();
|
|
export const SeleniumSettingsUncheckedCreateInputObjectSchema: z.ZodType<Prisma.SeleniumSettingsUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.SeleniumSettingsUncheckedCreateInput>;
|
|
export const SeleniumSettingsUncheckedCreateInputObjectZodSchema = makeSchema();
|