35 lines
2.0 KiB
TypeScript
35 lines
2.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
export declare const CommunicationCreateInputObjectSchema: z.ZodType<Prisma.CommunicationCreateInput>;
|
|
export declare const CommunicationCreateInputObjectZodSchema: z.ZodObject<{
|
|
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.ZodOptional<z.ZodDate>;
|
|
patient: z.ZodLazy<z.ZodType<Prisma.PatientCreateNestedOneWithoutCommunicationsInput, z.ZodTypeDef, Prisma.PatientCreateNestedOneWithoutCommunicationsInput>>;
|
|
user: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutCommunicationsInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutCommunicationsInput>>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
|
|
patient: Prisma.PatientCreateNestedOneWithoutCommunicationsInput;
|
|
channel: "sms" | "voice";
|
|
direction: "outbound" | "inbound";
|
|
createdAt?: Date | undefined;
|
|
user?: Prisma.UserCreateNestedOneWithoutCommunicationsInput | undefined;
|
|
body?: string | null | undefined;
|
|
callDuration?: number | null | undefined;
|
|
twilioSid?: string | null | undefined;
|
|
}, {
|
|
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
|
|
patient: Prisma.PatientCreateNestedOneWithoutCommunicationsInput;
|
|
channel: "sms" | "voice";
|
|
direction: "outbound" | "inbound";
|
|
createdAt?: Date | undefined;
|
|
user?: Prisma.UserCreateNestedOneWithoutCommunicationsInput | undefined;
|
|
body?: string | null | undefined;
|
|
callDuration?: number | null | undefined;
|
|
twilioSid?: string | null | undefined;
|
|
}>;
|
|
//# sourceMappingURL=CommunicationCreateInput.schema.d.ts.map
|