Files
DentalManagementMH07/packages/db/shared/schemas/groupByProcedureTimeslot.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.3 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
import { ProcedureTimeslotOrderByWithAggregationInputObjectSchema as ProcedureTimeslotOrderByWithAggregationInputObjectSchema } from './objects/ProcedureTimeslotOrderByWithAggregationInput.schema';
import { ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema as ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema } from './objects/ProcedureTimeslotScalarWhereWithAggregatesInput.schema';
import { ProcedureTimeslotScalarFieldEnumSchema } from './enums/ProcedureTimeslotScalarFieldEnum.schema';
import { ProcedureTimeslotCountAggregateInputObjectSchema as ProcedureTimeslotCountAggregateInputObjectSchema } from './objects/ProcedureTimeslotCountAggregateInput.schema';
import { ProcedureTimeslotMinAggregateInputObjectSchema as ProcedureTimeslotMinAggregateInputObjectSchema } from './objects/ProcedureTimeslotMinAggregateInput.schema';
import { ProcedureTimeslotMaxAggregateInputObjectSchema as ProcedureTimeslotMaxAggregateInputObjectSchema } from './objects/ProcedureTimeslotMaxAggregateInput.schema';
import { ProcedureTimeslotAvgAggregateInputObjectSchema as ProcedureTimeslotAvgAggregateInputObjectSchema } from './objects/ProcedureTimeslotAvgAggregateInput.schema';
import { ProcedureTimeslotSumAggregateInputObjectSchema as ProcedureTimeslotSumAggregateInputObjectSchema } from './objects/ProcedureTimeslotSumAggregateInput.schema';
export const ProcedureTimeslotGroupBySchema: z.ZodType<Prisma.ProcedureTimeslotGroupByArgs> = z.object({ where: ProcedureTimeslotWhereInputObjectSchema.optional(), orderBy: z.union([ProcedureTimeslotOrderByWithAggregationInputObjectSchema, ProcedureTimeslotOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ProcedureTimeslotScalarFieldEnumSchema), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotGroupByArgs>;
export const ProcedureTimeslotGroupByZodSchema = z.object({ where: ProcedureTimeslotWhereInputObjectSchema.optional(), orderBy: z.union([ProcedureTimeslotOrderByWithAggregationInputObjectSchema, ProcedureTimeslotOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ProcedureTimeslotScalarFieldEnumSchema), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict();