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>
32 lines
3.0 KiB
TypeScript
32 lines
3.0 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { InsuranceContactIncludeObjectSchema as InsuranceContactIncludeObjectSchema } from './objects/InsuranceContactInclude.schema';
|
|
import { InsuranceContactOrderByWithRelationInputObjectSchema as InsuranceContactOrderByWithRelationInputObjectSchema } from './objects/InsuranceContactOrderByWithRelationInput.schema';
|
|
import { InsuranceContactWhereInputObjectSchema as InsuranceContactWhereInputObjectSchema } from './objects/InsuranceContactWhereInput.schema';
|
|
import { InsuranceContactWhereUniqueInputObjectSchema as InsuranceContactWhereUniqueInputObjectSchema } from './objects/InsuranceContactWhereUniqueInput.schema';
|
|
import { InsuranceContactScalarFieldEnumSchema } from './enums/InsuranceContactScalarFieldEnum.schema';
|
|
|
|
// Select schema needs to be in file to prevent circular imports
|
|
//------------------------------------------------------
|
|
|
|
export const InsuranceContactFindFirstSelectSchema: z.ZodType<Prisma.InsuranceContactSelect> = z.object({
|
|
id: z.boolean().optional(),
|
|
userId: z.boolean().optional(),
|
|
name: z.boolean().optional(),
|
|
phoneNumber: z.boolean().optional(),
|
|
createdAt: z.boolean().optional(),
|
|
user: z.boolean().optional()
|
|
}).strict() as unknown as z.ZodType<Prisma.InsuranceContactSelect>;
|
|
|
|
export const InsuranceContactFindFirstSelectZodSchema = z.object({
|
|
id: z.boolean().optional(),
|
|
userId: z.boolean().optional(),
|
|
name: z.boolean().optional(),
|
|
phoneNumber: z.boolean().optional(),
|
|
createdAt: z.boolean().optional(),
|
|
user: z.boolean().optional()
|
|
}).strict();
|
|
|
|
export const InsuranceContactFindFirstSchema: z.ZodType<Prisma.InsuranceContactFindFirstArgs> = z.object({ select: InsuranceContactFindFirstSelectSchema.optional(), include: z.lazy(() => InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactFindFirstArgs>;
|
|
|
|
export const InsuranceContactFindFirstZodSchema = z.object({ select: InsuranceContactFindFirstSelectSchema.optional(), include: z.lazy(() => InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); |