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

13 lines
2.0 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
import { CommunicationIncludeObjectSchema as CommunicationIncludeObjectSchema } from './objects/CommunicationInclude.schema';
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
import { CommunicationCreateInputObjectSchema as CommunicationCreateInputObjectSchema } from './objects/CommunicationCreateInput.schema';
import { CommunicationUncheckedCreateInputObjectSchema as CommunicationUncheckedCreateInputObjectSchema } from './objects/CommunicationUncheckedCreateInput.schema';
import { CommunicationUpdateInputObjectSchema as CommunicationUpdateInputObjectSchema } from './objects/CommunicationUpdateInput.schema';
import { CommunicationUncheckedUpdateInputObjectSchema as CommunicationUncheckedUpdateInputObjectSchema } from './objects/CommunicationUncheckedUpdateInput.schema';
export const CommunicationUpsertOneSchema: z.ZodType<Prisma.CommunicationUpsertArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema, create: z.union([ CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema ]), update: z.union([ CommunicationUpdateInputObjectSchema, CommunicationUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.CommunicationUpsertArgs>;
export const CommunicationUpsertOneZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema, create: z.union([ CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema ]), update: z.union([ CommunicationUpdateInputObjectSchema, CommunicationUncheckedUpdateInputObjectSchema ]) }).strict();