Files
DentalManagementMH05/packages/db/shared/schemas/variants/pure/Communication.pure.d.ts

43 lines
1.5 KiB
TypeScript

import * as z from 'zod';
export declare const CommunicationModelSchema: z.ZodObject<{
id: z.ZodNumber;
patientId: z.ZodNumber;
userId: z.ZodNullable<z.ZodNumber>;
channel: z.ZodEnum<["sms", "voice"]>;
direction: z.ZodEnum<["outbound", "inbound"]>;
status: z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>;
body: z.ZodNullable<z.ZodString>;
callDuration: z.ZodNullable<z.ZodNumber>;
twilioSid: z.ZodNullable<z.ZodString>;
createdAt: z.ZodDate;
patient: z.ZodUnknown;
user: z.ZodNullable<z.ZodUnknown>;
}, "strict", z.ZodTypeAny, {
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
id: number;
createdAt: Date;
patientId: number;
userId: number | null;
channel: "sms" | "voice";
direction: "outbound" | "inbound";
body: string | null;
callDuration: number | null;
twilioSid: string | null;
patient?: unknown;
user?: unknown;
}, {
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
id: number;
createdAt: Date;
patientId: number;
userId: number | null;
channel: "sms" | "voice";
direction: "outbound" | "inbound";
body: string | null;
callDuration: number | null;
twilioSid: string | null;
patient?: unknown;
user?: unknown;
}>;
export type CommunicationPureType = z.infer<typeof CommunicationModelSchema>;
//# sourceMappingURL=Communication.pure.d.ts.map