Files
Wellspringmanagement01/packages/db/shared/schemas/objects/SeleniumSettingsWhereInput.schema.ts
T
GiteadandClaude Sonnet 4.6 75ecd7cc20 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>
2026-07-02 23:53:43 -04:00

19 lines
1.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
const seleniumsettingswhereinputSchema = z.object({
AND: z.union([z.lazy(() => SeleniumSettingsWhereInputObjectSchema), z.lazy(() => SeleniumSettingsWhereInputObjectSchema).array()]).optional(),
OR: z.lazy(() => SeleniumSettingsWhereInputObjectSchema).array().optional(),
NOT: z.union([z.lazy(() => SeleniumSettingsWhereInputObjectSchema), z.lazy(() => SeleniumSettingsWhereInputObjectSchema).array()]).optional(),
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
paymentGroupId: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
}).strict();
export const SeleniumSettingsWhereInputObjectSchema: z.ZodType<Prisma.SeleniumSettingsWhereInput> = seleniumsettingswhereinputSchema as unknown as z.ZodType<Prisma.SeleniumSettingsWhereInput>;
export const SeleniumSettingsWhereInputObjectZodSchema = seleniumsettingswhereinputSchema;