Variable MJRecordProcessSchemaConst
MJRecordProcessSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Action: ZodNullable<ZodString>;
ActionID: ZodNullable<ZodString>;
Agent: ZodNullable<ZodString>;
AgentID: ZodNullable<ZodString>;
BatchSize: ZodNullable<ZodNumber>;
Category: ZodNullable<ZodString>;
CategoryID: ZodNullable<ZodString>;
Configuration: ZodNullable<ZodString>;
CronExpression: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
Entity: ZodString;
EntityID: ZodString;
ID: ZodString;
InputMapping: ZodNullable<ZodString>;
MaxConcurrency: ZodNullable<ZodNumber>;
Name: ZodString;
OnChangeEnabled: ZodBoolean;
OnChangeFilter: ZodNullable<ZodString>;
OnChangeInvocationType: ZodNullable<
ZodUnion<
[
ZodLiteral<"AfterCreate">,
ZodLiteral<"AfterDelete">,
ZodLiteral<"AfterUpdate">,
ZodLiteral<"Validate">,
],
>,
>;
OnDemandEnabled: ZodBoolean;
OutputMapping: ZodNullable<ZodString>;
Prompt: ZodNullable<ZodString>;
PromptID: ZodNullable<ZodString>;
ScheduleEnabled: ZodBoolean;
ScopeFilter: ZodNullable<ZodString>;
ScopeList: ZodNullable<ZodString>;
ScopeListID: ZodNullable<ZodString>;
ScopeType: ZodUnion<
[
ZodLiteral<"Filter">,
ZodLiteral<"List">,
ZodLiteral<"SingleRecord">,
ZodLiteral<"View">,
],
>;
ScopeView: ZodNullable<ZodString>;
ScopeViewID: ZodNullable<ZodString>;
SkipUnchanged: ZodBoolean;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Draft">],
>;
Timezone: ZodNullable<ZodString>;
WatermarkStrategy: ZodNullable<
ZodUnion<
[ZodLiteral<"Checksum">, ZodLiteral<"None">, ZodLiteral<"UpdatedAt">],
>,
>;
WorkType: ZodUnion<
[
ZodLiteral<"Action">,
ZodLiteral<"Agent">,
ZodLiteral<"FieldRules">,
ZodLiteral<"Infer">,
ZodLiteral<"ML Model">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: string;
ActionID?: string;
Agent?: string;
AgentID?: string;
BatchSize?: number;
Category?: string;
CategoryID?: string;
Configuration?: string;
CronExpression?: string;
Description?: string;
Entity?: string;
EntityID?: string;
ID?: string;
InputMapping?: string;
MaxConcurrency?: number;
Name?: string;
OnChangeEnabled?: boolean;
OnChangeFilter?: string;
OnChangeInvocationType?: | "AfterCreate"
| "AfterDelete"
| "AfterUpdate"
| "Validate";
OnDemandEnabled?: boolean;
OutputMapping?: string;
Prompt?: string;
PromptID?: string;
ScheduleEnabled?: boolean;
ScopeFilter?: string;
ScopeList?: string;
ScopeListID?: string;
ScopeType?: "View"
| "List"
| "Filter"
| "SingleRecord";
ScopeView?: string;
ScopeViewID?: string;
SkipUnchanged?: boolean;
Status?: "Active" | "Disabled" | "Draft";
Timezone?: string;
WatermarkStrategy?: "None" | "Checksum" | "UpdatedAt";
WorkType?: "Action" | "Agent" | "FieldRules" | "Infer" | "ML Model";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: string;
ActionID?: string;
Agent?: string;
AgentID?: string;
BatchSize?: number;
Category?: string;
CategoryID?: string;
Configuration?: string;
CronExpression?: string;
Description?: string;
Entity?: string;
EntityID?: string;
ID?: string;
InputMapping?: string;
MaxConcurrency?: number;
Name?: string;
OnChangeEnabled?: boolean;
OnChangeFilter?: string;
OnChangeInvocationType?: | "AfterCreate"
| "AfterDelete"
| "AfterUpdate"
| "Validate";
OnDemandEnabled?: boolean;
OutputMapping?: string;
Prompt?: string;
PromptID?: string;
ScheduleEnabled?: boolean;
ScopeFilter?: string;
ScopeList?: string;
ScopeListID?: string;
ScopeType?: "View"
| "List"
| "Filter"
| "SingleRecord";
ScopeView?: string;
ScopeViewID?: string;
SkipUnchanged?: boolean;
Status?: "Active" | "Disabled" | "Draft";
Timezone?: string;
WatermarkStrategy?: "None" | "Checksum" | "UpdatedAt";
WorkType?: "Action" | "Agent" | "FieldRules" | "Infer" | "ML Model";
},
> = ...
zod schema definition for the entity MJ: Record Processes