Variable MJInteractionEventSchemaConst
MJInteractionEventSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ActorAgent: ZodNullable<ZodString>;
ActorAgentID: ZodNullable<ZodString>;
ActorUser: ZodNullable<ZodString>;
ActorUserID: ZodNullable<ZodString>;
Details: ZodNullable<ZodString>;
EventType: ZodUnion<
[
ZodLiteral<"Abandoned">,
ZodLiteral<"Accepted">,
ZodLiteral<"Answered">,
ZodLiteral<"Created">,
ZodLiteral<"Declined">,
ZodLiteral<"Ended">,
ZodLiteral<"Escalated">,
],
>;
ID: ZodString;
InteractionID: ZodString;
OccurredAt: ZodDate;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActorAgent?: string;
ActorAgentID?: string;
ActorUser?: string;
ActorUserID?: string;
Details?: string;
EventType?: | "Queued"
| "Ended"
| "Abandoned"
| "Accepted"
| "Answered"
| "Created"
| "Declined"
| "Escalated"
| "Held"
| "Offered"
| "RecordingStarted"
| "RecordingStopped"
| "Resumed"
| "Transferred";
ID?: string;
InteractionID?: string;
OccurredAt?: Date;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActorAgent?: string;
ActorAgentID?: string;
ActorUser?: string;
ActorUserID?: string;
Details?: string;
EventType?: | "Queued"
| "Ended"
| "Abandoned"
| "Accepted"
| "Answered"
| "Created"
| "Declined"
| "Escalated"
| "Held"
| "Offered"
| "RecordingStarted"
| "RecordingStopped"
| "Resumed"
| "Transferred";
ID?: string;
InteractionID?: string;
OccurredAt?: Date;
},
> = ...
zod schema definition for the entity MJ: Interaction Events