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

28 lines
2.6 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { OfficeHoursIncludeObjectSchema as OfficeHoursIncludeObjectSchema } from './objects/OfficeHoursInclude.schema';
import { OfficeHoursOrderByWithRelationInputObjectSchema as OfficeHoursOrderByWithRelationInputObjectSchema } from './objects/OfficeHoursOrderByWithRelationInput.schema';
import { OfficeHoursWhereInputObjectSchema as OfficeHoursWhereInputObjectSchema } from './objects/OfficeHoursWhereInput.schema';
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './objects/OfficeHoursWhereUniqueInput.schema';
import { OfficeHoursScalarFieldEnumSchema } from './enums/OfficeHoursScalarFieldEnum.schema';
// Select schema needs to be in file to prevent circular imports
//------------------------------------------------------
export const OfficeHoursFindFirstSelectSchema: z.ZodType<Prisma.OfficeHoursSelect> = z.object({
id: z.boolean().optional(),
userId: z.boolean().optional(),
data: z.boolean().optional(),
user: z.boolean().optional()
}).strict() as unknown as z.ZodType<Prisma.OfficeHoursSelect>;
export const OfficeHoursFindFirstSelectZodSchema = z.object({
id: z.boolean().optional(),
userId: z.boolean().optional(),
data: z.boolean().optional(),
user: z.boolean().optional()
}).strict();
export const OfficeHoursFindFirstSchema: z.ZodType<Prisma.OfficeHoursFindFirstArgs> = z.object({ select: OfficeHoursFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursFindFirstArgs>;
export const OfficeHoursFindFirstZodSchema = z.object({ select: OfficeHoursFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict();