Variable MJCommunicationLogSchemaConst
MJCommunicationLogSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CommunicationProvider: ZodString;
CommunicationProviderID: ZodString;
CommunicationProviderMessageType: ZodString;
CommunicationProviderMessageTypeID: ZodString;
CommunicationRun: ZodNullable<ZodString>;
CommunicationRunID: ZodNullable<ZodString>;
Direction: ZodUnion<[ZodLiteral<"Receiving">, ZodLiteral<"Sending">]>;
ErrorMessage: ZodNullable<ZodString>;
ID: ZodString;
MessageContent: ZodNullable<ZodString>;
MessageDate: ZodDate;
Status: ZodUnion<
[
ZodLiteral<"Complete">,
ZodLiteral<"Failed">,
ZodLiteral<"In-Progress">,
ZodLiteral<"Pending">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CommunicationProvider?: string;
CommunicationProviderID?: string;
CommunicationProviderMessageType?: string;
CommunicationProviderMessageTypeID?: string;
CommunicationRun?: string;
CommunicationRunID?: string;
Direction?: "Receiving"
| "Sending";
ErrorMessage?: string;
ID?: string;
MessageContent?: string;
MessageDate?: Date;
Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CommunicationProvider?: string;
CommunicationProviderID?: string;
CommunicationProviderMessageType?: string;
CommunicationProviderMessageTypeID?: string;
CommunicationRun?: string;
CommunicationRunID?: string;
Direction?: "Receiving"
| "Sending";
ErrorMessage?: string;
ID?: string;
MessageContent?: string;
MessageDate?: Date;
Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
},
> = ...
zod schema definition for the entity MJ: Communication Logs