Files
DentalManagementMH06/packages/db/shared/schemas/variants/input/Communication.input.d.ts

43 lines
1.7 KiB
TypeScript

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