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

47 lines
5.8 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const CommunicationScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput>;
export declare const CommunicationScalarWhereWithAggregatesInputObjectZodSchema: z.ZodObject<{
AND: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>, "many">]>>;
OR: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>, "many">>;
NOT: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>, "many">]>>;
id: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.IntWithAggregatesFilter<never>>>, z.ZodNumber]>>;
patientId: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.IntWithAggregatesFilter<never>>>, z.ZodNumber]>>;
userId: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntNullableWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.IntNullableWithAggregatesFilter<never>>>, z.ZodNumber]>>>;
channel: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.EnumCommunicationChannelWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.EnumCommunicationChannelWithAggregatesFilter<never>>>, z.ZodEnum<["sms", "voice"]>]>>;
direction: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.EnumCommunicationDirectionWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.EnumCommunicationDirectionWithAggregatesFilter<never>>>, z.ZodEnum<["outbound", "inbound"]>]>>;
status: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.EnumCommunicationStatusWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.EnumCommunicationStatusWithAggregatesFilter<never>>>, z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>]>>;
body: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.StringNullableWithAggregatesFilter<never>>>, z.ZodString]>>>;
callDuration: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntNullableWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.IntNullableWithAggregatesFilter<never>>>, z.ZodNumber]>>>;
twilioSid: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.StringNullableWithAggregatesFilter<never>>>, z.ZodString]>>>;
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DateTimeWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.DateTimeWithAggregatesFilter<never>>>, z.ZodDate]>>;
}, "strict", z.ZodTypeAny, {
status?: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer" | Prisma.EnumCommunicationStatusWithAggregatesFilter<never> | undefined;
createdAt?: Date | Prisma.DateTimeWithAggregatesFilter<never> | undefined;
id?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
userId?: number | Prisma.IntNullableWithAggregatesFilter<never> | null | undefined;
AND?: Prisma.CommunicationScalarWhereWithAggregatesInput | Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
OR?: Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
NOT?: Prisma.CommunicationScalarWhereWithAggregatesInput | Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
patientId?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
channel?: "sms" | "voice" | Prisma.EnumCommunicationChannelWithAggregatesFilter<never> | undefined;
direction?: "outbound" | "inbound" | Prisma.EnumCommunicationDirectionWithAggregatesFilter<never> | undefined;
body?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
callDuration?: number | Prisma.IntNullableWithAggregatesFilter<never> | null | undefined;
twilioSid?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
}, {
status?: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer" | Prisma.EnumCommunicationStatusWithAggregatesFilter<never> | undefined;
createdAt?: Date | Prisma.DateTimeWithAggregatesFilter<never> | undefined;
id?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
userId?: number | Prisma.IntNullableWithAggregatesFilter<never> | null | undefined;
AND?: Prisma.CommunicationScalarWhereWithAggregatesInput | Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
OR?: Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
NOT?: Prisma.CommunicationScalarWhereWithAggregatesInput | Prisma.CommunicationScalarWhereWithAggregatesInput[] | undefined;
patientId?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
channel?: "sms" | "voice" | Prisma.EnumCommunicationChannelWithAggregatesFilter<never> | undefined;
direction?: "outbound" | "inbound" | Prisma.EnumCommunicationDirectionWithAggregatesFilter<never> | undefined;
body?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
callDuration?: number | Prisma.IntNullableWithAggregatesFilter<never> | null | undefined;
twilioSid?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
}>;
//# sourceMappingURL=CommunicationScalarWhereWithAggregatesInput.schema.d.ts.map