feat: add Selenium Settings page to configure paymentGroupId per office

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>
This commit is contained in:
2026-07-02 23:53:43 -04:00
co-authored by Claude Sonnet 4.6
parent abb2a0ac96
commit 75ecd7cc20
998 changed files with 18415 additions and 283 deletions
@@ -20,7 +20,8 @@ import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as Offi
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema';
import { ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema as ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema';
import { InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema as InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema';
import { LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema as LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './LabRxTemplateUncheckedCreateNestedManyWithoutUserInput.schema'
import { LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema as LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './LabRxTemplateUncheckedCreateNestedManyWithoutUserInput.schema';
import { SeleniumSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as SeleniumSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './SeleniumSettingsUncheckedCreateNestedOneWithoutUserInput.schema'
const makeSchema = () => z.object({
id: z.number().int().optional(),
@@ -53,7 +54,8 @@ const makeSchema = () => z.object({
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional()
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
seleniumSettings: z.lazy(() => SeleniumSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
}).strict();
export const UserUncheckedCreateWithoutPatientConversationsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutPatientConversationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutPatientConversationsInput>;
export const UserUncheckedCreateWithoutPatientConversationsInputObjectZodSchema = makeSchema();