Files
DentalManagementMH07/packages/db/shared/schemas/groupByTwilioSettings.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 { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './objects/TwilioSettingsWhereInput.schema';
import { TwilioSettingsOrderByWithAggregationInputObjectSchema as TwilioSettingsOrderByWithAggregationInputObjectSchema } from './objects/TwilioSettingsOrderByWithAggregationInput.schema';
import { TwilioSettingsScalarWhereWithAggregatesInputObjectSchema as TwilioSettingsScalarWhereWithAggregatesInputObjectSchema } from './objects/TwilioSettingsScalarWhereWithAggregatesInput.schema';
import { TwilioSettingsScalarFieldEnumSchema } from './enums/TwilioSettingsScalarFieldEnum.schema';
import { TwilioSettingsCountAggregateInputObjectSchema as TwilioSettingsCountAggregateInputObjectSchema } from './objects/TwilioSettingsCountAggregateInput.schema';
import { TwilioSettingsMinAggregateInputObjectSchema as TwilioSettingsMinAggregateInputObjectSchema } from './objects/TwilioSettingsMinAggregateInput.schema';
import { TwilioSettingsMaxAggregateInputObjectSchema as TwilioSettingsMaxAggregateInputObjectSchema } from './objects/TwilioSettingsMaxAggregateInput.schema';
import { TwilioSettingsAvgAggregateInputObjectSchema as TwilioSettingsAvgAggregateInputObjectSchema } from './objects/TwilioSettingsAvgAggregateInput.schema';
import { TwilioSettingsSumAggregateInputObjectSchema as TwilioSettingsSumAggregateInputObjectSchema } from './objects/TwilioSettingsSumAggregateInput.schema';
export const TwilioSettingsGroupBySchema: z.ZodType<Prisma.TwilioSettingsGroupByArgs> = z.object({ where: TwilioSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TwilioSettingsOrderByWithAggregationInputObjectSchema, TwilioSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TwilioSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TwilioSettingsScalarFieldEnumSchema), _count: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional(), _min: TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsGroupByArgs>;
export const TwilioSettingsGroupByZodSchema = z.object({ where: TwilioSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TwilioSettingsOrderByWithAggregationInputObjectSchema, TwilioSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TwilioSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TwilioSettingsScalarFieldEnumSchema), _count: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional(), _min: TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict();