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>
16 lines
1.6 KiB
TypeScript
16 lines
1.6 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
|
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'
|
|
|
|
const seleniumsettingsscalarwherewithaggregatesinputSchema = z.object({
|
|
AND: z.union([z.lazy(() => SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
OR: z.lazy(() => SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
NOT: z.union([z.lazy(() => SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
paymentGroupId: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional()
|
|
}).strict();
|
|
export const SeleniumSettingsScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.SeleniumSettingsScalarWhereWithAggregatesInput> = seleniumsettingsscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.SeleniumSettingsScalarWhereWithAggregatesInput>;
|
|
export const SeleniumSettingsScalarWhereWithAggregatesInputObjectZodSchema = seleniumsettingsscalarwherewithaggregatesinputSchema;
|