Files
DentalManagementMH07/packages/db/shared/schemas/objects/LabRxTemplateWhereInput.schema.ts
Gitead 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

32 lines
2.8 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 { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
import { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema';
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
const labrxtemplatewhereinputSchema = z.object({
AND: z.union([z.lazy(() => LabRxTemplateWhereInputObjectSchema), z.lazy(() => LabRxTemplateWhereInputObjectSchema).array()]).optional(),
OR: z.lazy(() => LabRxTemplateWhereInputObjectSchema).array().optional(),
NOT: z.union([z.lazy(() => LabRxTemplateWhereInputObjectSchema), z.lazy(() => LabRxTemplateWhereInputObjectSchema).array()]).optional(),
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
name: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
labName: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
labPhone: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
labFax: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
labAddress: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
labAccount: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
caseType: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
material: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
instructions: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
sortOrder: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
updatedAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
}).strict();
export const LabRxTemplateWhereInputObjectSchema: z.ZodType<Prisma.LabRxTemplateWhereInput> = labrxtemplatewhereinputSchema as unknown as z.ZodType<Prisma.LabRxTemplateWhereInput>;
export const LabRxTemplateWhereInputObjectZodSchema = labrxtemplatewhereinputSchema;