Files
DentalManagementMH07/packages/db/shared/schemas/groupByCommunication.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

15 lines
3.1 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommunicationWhereInputObjectSchema as CommunicationWhereInputObjectSchema } from './objects/CommunicationWhereInput.schema';
import { CommunicationOrderByWithAggregationInputObjectSchema as CommunicationOrderByWithAggregationInputObjectSchema } from './objects/CommunicationOrderByWithAggregationInput.schema';
import { CommunicationScalarWhereWithAggregatesInputObjectSchema as CommunicationScalarWhereWithAggregatesInputObjectSchema } from './objects/CommunicationScalarWhereWithAggregatesInput.schema';
import { CommunicationScalarFieldEnumSchema } from './enums/CommunicationScalarFieldEnum.schema';
import { CommunicationCountAggregateInputObjectSchema as CommunicationCountAggregateInputObjectSchema } from './objects/CommunicationCountAggregateInput.schema';
import { CommunicationMinAggregateInputObjectSchema as CommunicationMinAggregateInputObjectSchema } from './objects/CommunicationMinAggregateInput.schema';
import { CommunicationMaxAggregateInputObjectSchema as CommunicationMaxAggregateInputObjectSchema } from './objects/CommunicationMaxAggregateInput.schema';
import { CommunicationAvgAggregateInputObjectSchema as CommunicationAvgAggregateInputObjectSchema } from './objects/CommunicationAvgAggregateInput.schema';
import { CommunicationSumAggregateInputObjectSchema as CommunicationSumAggregateInputObjectSchema } from './objects/CommunicationSumAggregateInput.schema';
export const CommunicationGroupBySchema: z.ZodType<Prisma.CommunicationGroupByArgs> = z.object({ where: CommunicationWhereInputObjectSchema.optional(), orderBy: z.union([CommunicationOrderByWithAggregationInputObjectSchema, CommunicationOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommunicationScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommunicationScalarFieldEnumSchema), _count: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional(), _min: CommunicationMinAggregateInputObjectSchema.optional(), _max: CommunicationMaxAggregateInputObjectSchema.optional(), _avg: CommunicationAvgAggregateInputObjectSchema.optional(), _sum: CommunicationSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationGroupByArgs>;
export const CommunicationGroupByZodSchema = z.object({ where: CommunicationWhereInputObjectSchema.optional(), orderBy: z.union([CommunicationOrderByWithAggregationInputObjectSchema, CommunicationOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommunicationScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommunicationScalarFieldEnumSchema), _count: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional(), _min: CommunicationMinAggregateInputObjectSchema.optional(), _max: CommunicationMaxAggregateInputObjectSchema.optional(), _avg: CommunicationAvgAggregateInputObjectSchema.optional(), _sum: CommunicationSumAggregateInputObjectSchema.optional() }).strict();