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
974 B
TypeScript
12 lines
974 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
|
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
paymentGroupId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
}).strict();
|
|
export const SeleniumSettingsUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.SeleniumSettingsUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.SeleniumSettingsUncheckedUpdateWithoutUserInput>;
|
|
export const SeleniumSettingsUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();
|