Variable MJActionSchemaConst
MJActionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Category: ZodNullable<ZodString>;
CategoryID: ZodNullable<ZodString>;
Code: ZodNullable<ZodString>;
CodeApprovalComments: ZodNullable<ZodString>;
CodeApprovalStatus: ZodUnion<
[
ZodLiteral<"Approved">,
ZodLiteral<"Pending">,
ZodLiteral<"Rejected">,
],
>;
CodeApprovedAt: ZodNullable<ZodDate>;
CodeApprovedByUser: ZodNullable<ZodString>;
CodeApprovedByUserID: ZodNullable<ZodString>;
CodeComments: ZodNullable<ZodString>;
CodeLocked: ZodBoolean;
Config_: ZodNullable<ZodString>;
CreatedByAgent: ZodNullable<ZodString>;
CreatedByAgentID: ZodNullable<ZodString>;
DefaultCompactPrompt: ZodNullable<ZodString>;
DefaultCompactPromptID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DriverClass: ZodNullable<ZodString>;
ForceCodeGeneration: ZodBoolean;
IconClass: ZodNullable<ZodString>;
ID: ZodString;
MaxExecutionTimeMS: ZodNullable<ZodNumber>;
Name: ZodString;
Parent: ZodNullable<ZodString>;
ParentID: ZodNullable<ZodString>;
RetentionPeriod: ZodNullable<ZodNumber>;
RootParentID: ZodNullable<ZodString>;
RuntimeActionConfiguration: ZodNullable<ZodAny>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Pending">],
>;
Type: ZodUnion<
[ZodLiteral<"Custom">, ZodLiteral<"Generated">, ZodLiteral<"Runtime">],
>;
UserComments: ZodNullable<ZodString>;
UserPrompt: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Category?: string;
CategoryID?: string;
Code?: string;
CodeApprovalComments?: string;
CodeApprovalStatus?: "Pending"
| "Approved"
| "Rejected";
CodeApprovedAt?: Date;
CodeApprovedByUser?: string;
CodeApprovedByUserID?: string;
CodeComments?: string;
CodeLocked?: boolean;
Config_?: string;
CreatedByAgent?: string;
CreatedByAgentID?: string;
DefaultCompactPrompt?: string;
DefaultCompactPromptID?: string;
Description?: string;
DriverClass?: string;
ForceCodeGeneration?: boolean;
IconClass?: string;
ID?: string;
MaxExecutionTimeMS?: number;
Name?: string;
Parent?: string;
ParentID?: string;
RetentionPeriod?: number;
RootParentID?: string;
RuntimeActionConfiguration?: any;
Status?: "Active" | "Disabled" | "Pending";
Type?: "Custom" | "Generated" | "Runtime";
UserComments?: string;
UserPrompt?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Category?: string;
CategoryID?: string;
Code?: string;
CodeApprovalComments?: string;
CodeApprovalStatus?: "Pending"
| "Approved"
| "Rejected";
CodeApprovedAt?: Date;
CodeApprovedByUser?: string;
CodeApprovedByUserID?: string;
CodeComments?: string;
CodeLocked?: boolean;
Config_?: string;
CreatedByAgent?: string;
CreatedByAgentID?: string;
DefaultCompactPrompt?: string;
DefaultCompactPromptID?: string;
Description?: string;
DriverClass?: string;
ForceCodeGeneration?: boolean;
IconClass?: string;
ID?: string;
MaxExecutionTimeMS?: number;
Name?: string;
Parent?: string;
ParentID?: string;
RetentionPeriod?: number;
RootParentID?: string;
RuntimeActionConfiguration?: any;
Status?: "Active" | "Disabled" | "Pending";
Type?: "Custom" | "Generated" | "Runtime";
UserComments?: string;
UserPrompt?: string;
},
> = ...
zod schema definition for the entity MJ: Actions