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:
@@ -23,7 +23,8 @@ import { OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema as Of
|
||||
import { ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema as ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema';
|
||||
import { InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema as InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema as PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
import { LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema as LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './LabRxTemplateUncheckedUpdateManyWithoutUserNestedInput.schema'
|
||||
import { LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema as LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './LabRxTemplateUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
import { SeleniumSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema as SeleniumSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema } from './SeleniumSettingsUncheckedUpdateOneWithoutUserNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -56,7 +57,8 @@ const makeSchema = () => z.object({
|
||||
procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(),
|
||||
insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(),
|
||||
patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(),
|
||||
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional()
|
||||
labRxTemplates: z.lazy(() => LabRxTemplateUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(),
|
||||
seleniumSettings: z.lazy(() => SeleniumSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedUpdateWithoutBackupsInputObjectSchema: z.ZodType<Prisma.UserUncheckedUpdateWithoutBackupsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedUpdateWithoutBackupsInput>;
|
||||
export const UserUncheckedUpdateWithoutBackupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
Reference in New Issue
Block a user