Files
DentalManagementMHAprilgg/packages/db/shared/schemas/groupByPatient.schema.d.ts
2026-04-04 22:13:55 -04:00

41 lines
3.5 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const PatientGroupBySchema: z.ZodType<Prisma.PatientGroupByArgs>;
export declare const PatientGroupByZodSchema: z.ZodObject<{
where: z.ZodOptional<z.ZodType<Prisma.PatientWhereInput, z.ZodTypeDef, Prisma.PatientWhereInput>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.PatientOrderByWithAggregationInput, z.ZodTypeDef, Prisma.PatientOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.PatientOrderByWithAggregationInput, z.ZodTypeDef, Prisma.PatientOrderByWithAggregationInput>, "many">]>>;
having: z.ZodOptional<z.ZodType<Prisma.PatientScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.PatientScalarWhereWithAggregatesInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
by: z.ZodArray<z.ZodEnum<["id", "firstName", "lastName", "dateOfBirth", "gender", "phone", "email", "address", "city", "zipCode", "insuranceProvider", "insuranceId", "groupNumber", "policyHolder", "allergies", "medicalConditions", "status", "userId", "createdAt"]>, "many">;
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.PatientCountAggregateInputType, z.ZodTypeDef, Prisma.PatientCountAggregateInputType>]>>;
_min: z.ZodOptional<z.ZodType<Prisma.PatientMinAggregateInputType, z.ZodTypeDef, Prisma.PatientMinAggregateInputType>>;
_max: z.ZodOptional<z.ZodType<Prisma.PatientMaxAggregateInputType, z.ZodTypeDef, Prisma.PatientMaxAggregateInputType>>;
_avg: z.ZodOptional<z.ZodType<Prisma.PatientAvgAggregateInputType, z.ZodTypeDef, Prisma.PatientAvgAggregateInputType>>;
_sum: z.ZodOptional<z.ZodType<Prisma.PatientSumAggregateInputType, z.ZodTypeDef, Prisma.PatientSumAggregateInputType>>;
}, "strict", z.ZodTypeAny, {
by: ("status" | "createdAt" | "id" | "userId" | "email" | "phone" | "dateOfBirth" | "insuranceProvider" | "firstName" | "lastName" | "gender" | "address" | "city" | "zipCode" | "insuranceId" | "groupNumber" | "policyHolder" | "allergies" | "medicalConditions")[];
where?: Prisma.PatientWhereInput | undefined;
_count?: true | Prisma.PatientCountAggregateInputType | undefined;
orderBy?: Prisma.PatientOrderByWithAggregationInput | Prisma.PatientOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.PatientMinAggregateInputType | undefined;
_max?: Prisma.PatientMaxAggregateInputType | undefined;
_avg?: Prisma.PatientAvgAggregateInputType | undefined;
_sum?: Prisma.PatientSumAggregateInputType | undefined;
having?: Prisma.PatientScalarWhereWithAggregatesInput | undefined;
}, {
by: ("status" | "createdAt" | "id" | "userId" | "email" | "phone" | "dateOfBirth" | "insuranceProvider" | "firstName" | "lastName" | "gender" | "address" | "city" | "zipCode" | "insuranceId" | "groupNumber" | "policyHolder" | "allergies" | "medicalConditions")[];
where?: Prisma.PatientWhereInput | undefined;
_count?: true | Prisma.PatientCountAggregateInputType | undefined;
orderBy?: Prisma.PatientOrderByWithAggregationInput | Prisma.PatientOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.PatientMinAggregateInputType | undefined;
_max?: Prisma.PatientMaxAggregateInputType | undefined;
_avg?: Prisma.PatientAvgAggregateInputType | undefined;
_sum?: Prisma.PatientSumAggregateInputType | undefined;
having?: Prisma.PatientScalarWhereWithAggregatesInput | undefined;
}>;
//# sourceMappingURL=groupByPatient.schema.d.ts.map