Variable MJWorkflowSchemaConst
MJWorkflowSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AutoRunEnabled: ZodBoolean;
AutoRunInterval: ZodNullable<ZodNumber>;
AutoRunIntervalMinutes: ZodNullable<ZodNumber>;
AutoRunIntervalUnits: ZodNullable<
ZodUnion<
[
ZodLiteral<"Days">,
ZodLiteral<"Hours">,
ZodLiteral<"Minutes">,
ZodLiteral<"Months">,
ZodLiteral<"Weeks">,
ZodLiteral<"Years">,
],
>,
>;
Description: ZodNullable<ZodString>;
ExternalSystemRecordID: ZodString;
ID: ZodString;
Name: ZodString;
SubclassName: ZodNullable<ZodString>;
WorkflowEngineID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoRunEnabled?: boolean;
AutoRunInterval?: number;
AutoRunIntervalMinutes?: number;
AutoRunIntervalUnits?: | "Days"
| "Hours"
| "Minutes"
| "Months"
| "Weeks"
| "Years";
Description?: string;
ExternalSystemRecordID?: string;
ID?: string;
Name?: string;
SubclassName?: string;
WorkflowEngineID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoRunEnabled?: boolean;
AutoRunInterval?: number;
AutoRunIntervalMinutes?: number;
AutoRunIntervalUnits?: | "Days"
| "Hours"
| "Minutes"
| "Months"
| "Weeks"
| "Years";
Description?: string;
ExternalSystemRecordID?: string;
ID?: string;
Name?: string;
SubclassName?: string;
WorkflowEngineID?: string;
},
> = ...
zod schema definition for the entity MJ: Workflows