Variable ActionSchemaConst
ActionSchema: ZodObject<{
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;
DefaultCompactPrompt: ZodNullable<ZodString>;
DefaultCompactPromptID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DriverClass: ZodNullable<ZodString>;
ForceCodeGeneration: ZodBoolean;
ID: ZodString;
IconClass: ZodNullable<ZodString>;
Name: ZodString;
Parent: ZodNullable<ZodString>;
ParentID: ZodNullable<ZodString>;
RetentionPeriod: ZodNullable<ZodNumber>;
RootParentID: ZodNullable<ZodString>;
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Pending">]>;
Type: ZodUnion<[ZodLiteral<"Custom">, ZodLiteral<"Generated">]>;
UserComments: ZodNullable<ZodString>;
UserPrompt: ZodNullable<ZodString>;
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
}, "strip", ZodTypeAny, {
Category?: string;
CategoryID?: string;
Code?: string;
CodeApprovalComments?: string;
CodeApprovalStatus?: "Pending" | "Approved" | "Rejected";
CodeApprovedAt?: Date;
CodeApprovedByUser?: string;
CodeApprovedByUserID?: string;
CodeComments?: string;
CodeLocked?: boolean;
DefaultCompactPrompt?: string;
DefaultCompactPromptID?: string;
Description?: string;
DriverClass?: string;
ForceCodeGeneration?: boolean;
ID?: string;
IconClass?: string;
Name?: string;
Parent?: string;
ParentID?: string;
RetentionPeriod?: number;
RootParentID?: string;
Status?: "Active" | "Disabled" | "Pending";
Type?: "Custom" | "Generated";
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;
DefaultCompactPrompt?: string;
DefaultCompactPromptID?: string;
Description?: string;
DriverClass?: string;
ForceCodeGeneration?: boolean;
ID?: string;
IconClass?: string;
Name?: string;
Parent?: string;
ParentID?: string;
RetentionPeriod?: number;
RootParentID?: string;
Status?: "Active" | "Disabled" | "Pending";
Type?: "Custom" | "Generated";
UserComments?: string;
UserPrompt?: string;
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
}> = ...
Type declaration
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
DefaultCompactPrompt: ZodNullable<ZodString>
DefaultCompactPromptID: ZodNullable<ZodString>
Description: ZodNullable<ZodString>
DriverClass: ZodNullable<ZodString>
ForceCodeGeneration: ZodBoolean
ID: ZodString
IconClass: ZodNullable<ZodString>
Name: ZodString
Parent: ZodNullable<ZodString>
ParentID: ZodNullable<ZodString>
RetentionPeriod: ZodNullable<ZodNumber>
RootParentID: ZodNullable<ZodString>
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Pending">]>
Type: ZodUnion<[ZodLiteral<"Custom">, ZodLiteral<"Generated">]>
UserComments: ZodNullable<ZodString>
UserPrompt: ZodNullable<ZodString>
__mj_CreatedAt: ZodDate
__mj_UpdatedAt: ZodDate
Type declaration
Optional Category?: string
Optional CategoryID?: string
Optional Code?: string
Optional CodeApprovalComments?: string
Optional CodeApprovalStatus?: "Pending" | "Approved" | "Rejected"
Optional CodeApprovedAt?: Date
Optional CodeApprovedByUser?: string
Optional CodeApprovedByUserID?: string
Optional CodeComments?: string
Optional CodeLocked?: boolean
Optional DefaultCompactPrompt?: string
Optional DefaultCompactPromptID?: string
Optional Description?: string
Optional DriverClass?: string
Optional ForceCodeGeneration?: boolean
Optional ID?: string
Optional IconClass?: string
Optional Name?: string
Optional Parent?: string
Optional ParentID?: string
Optional RetentionPeriod?: number
Optional RootParentID?: string
Optional Status?: "Active" | "Disabled" | "Pending"
Optional Type?: "Custom" | "Generated"
Optional UserComments?: string
Optional UserPrompt?: string
Optional __mj_CreatedAt?: Date
Optional __mj_UpdatedAt?: Date
Type declaration
Optional Category?: string
Optional CategoryID?: string
Optional Code?: string
Optional CodeApprovalComments?: string
Optional CodeApprovalStatus?: "Pending" | "Approved" | "Rejected"
Optional CodeApprovedAt?: Date
Optional CodeApprovedByUser?: string
Optional CodeApprovedByUserID?: string
Optional CodeComments?: string
Optional CodeLocked?: boolean
Optional DefaultCompactPrompt?: string
Optional DefaultCompactPromptID?: string
Optional Description?: string
Optional DriverClass?: string
Optional ForceCodeGeneration?: boolean
Optional ID?: string
Optional IconClass?: string
Optional Name?: string
Optional Parent?: string
Optional ParentID?: string
Optional RetentionPeriod?: number
Optional RootParentID?: string
Optional Status?: "Active" | "Disabled" | "Pending"
Optional Type?: "Custom" | "Generated"
Optional UserComments?: string
Optional UserPrompt?: string
Optional __mj_CreatedAt?: Date
Optional __mj_UpdatedAt?: Date
zod schema definition for the entity Actions