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:
+4
-2
@@ -20,7 +20,8 @@ import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as Of
|
||||
import { ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema as ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema as InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema as PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './PatientConversationUncheckedCreateNestedManyWithoutUserInput.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({
|
||||
procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional()
|
||||
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
seleniumSettings: z.lazy(() => SeleniumSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutBackupDestinationsInput>;
|
||||
export const UserUncheckedCreateWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
Reference in New Issue
Block a user