Variable MJProcessRunDetailSchemaConst
MJProcessRunDetailSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ActionExecutionLog: ZodNullable<ZodString>;
ActionExecutionLogID: ZodNullable<ZodString>;
AIAgentRun: ZodNullable<ZodString>;
AIAgentRunID: ZodNullable<ZodString>;
AttemptCount: ZodNumber;
CompletedAt: ZodNullable<ZodDate>;
DurationMs: ZodNullable<ZodNumber>;
Entity: ZodString;
EntityID: ZodString;
ErrorMessage: ZodNullable<ZodString>;
ID: ZodString;
ProcessRunID: ZodString;
RecordID: ZodString;
ResultPayload: ZodNullable<ZodString>;
StartedAt: ZodNullable<ZodDate>;
Status: ZodUnion<
[
ZodLiteral<"Failed">,
ZodLiteral<"Pending">,
ZodLiteral<"Skipped">,
ZodLiteral<"Succeeded">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActionExecutionLog?: string;
ActionExecutionLogID?: string;
AIAgentRun?: string;
AIAgentRunID?: string;
AttemptCount?: number;
CompletedAt?: Date;
DurationMs?: number;
Entity?: string;
EntityID?: string;
ErrorMessage?: string;
ID?: string;
ProcessRunID?: string;
RecordID?: string;
ResultPayload?: string;
StartedAt?: Date;
Status?: "Pending"
| "Failed"
| "Skipped"
| "Succeeded";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActionExecutionLog?: string;
ActionExecutionLogID?: string;
AIAgentRun?: string;
AIAgentRunID?: string;
AttemptCount?: number;
CompletedAt?: Date;
DurationMs?: number;
Entity?: string;
EntityID?: string;
ErrorMessage?: string;
ID?: string;
ProcessRunID?: string;
RecordID?: string;
ResultPayload?: string;
StartedAt?: Date;
Status?: "Pending"
| "Failed"
| "Skipped"
| "Succeeded";
},
> = ...
zod schema definition for the entity MJ: Process Run Details