Variable MJAIAgentDataSourceSchemaConst
MJAIAgentDataSourceSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Agent: ZodNullable<ZodString>;
AgentID: ZodString;
CachePolicy: ZodUnion<
[ZodLiteral<"None">, ZodLiteral<"PerAgent">, ZodLiteral<"PerRun">],
>;
CacheTimeoutSeconds: ZodNullable<ZodNumber>;
CategoryPath: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DestinationPath: ZodNullable<ZodString>;
DestinationType: ZodUnion<
[ZodLiteral<"Context">, ZodLiteral<"Data">, ZodLiteral<"Payload">],
>;
EntityName: ZodNullable<ZodString>;
ExecutionOrder: ZodNumber;
ExtraFilter: ZodNullable<ZodString>;
FieldsToRetrieve: ZodNullable<ZodString>;
ID: ZodString;
MaxRows: ZodNullable<ZodNumber>;
Name: ZodString;
OrderBy: ZodNullable<ZodString>;
Parameters: ZodNullable<ZodString>;
QueryName: ZodNullable<ZodString>;
ResultType: ZodNullable<
ZodUnion<[ZodLiteral<"entity_object">, ZodLiteral<"simple">]>,
>;
SourceType: ZodUnion<[ZodLiteral<"RunQuery">, ZodLiteral<"RunView">]>;
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Disabled">]>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
CachePolicy?: "None"
| "PerAgent"
| "PerRun";
CacheTimeoutSeconds?: number;
CategoryPath?: string;
Description?: string;
DestinationPath?: string;
DestinationType?: "Context" | "Data" | "Payload";
EntityName?: string;
ExecutionOrder?: number;
ExtraFilter?: string;
FieldsToRetrieve?: string;
ID?: string;
MaxRows?: number;
Name?: string;
OrderBy?: string;
Parameters?: string;
QueryName?: string;
ResultType?: "entity_object" | "simple";
SourceType?: "RunQuery" | "RunView";
Status?: "Active" | "Disabled";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
CachePolicy?: "None"
| "PerAgent"
| "PerRun";
CacheTimeoutSeconds?: number;
CategoryPath?: string;
Description?: string;
DestinationPath?: string;
DestinationType?: "Context" | "Data" | "Payload";
EntityName?: string;
ExecutionOrder?: number;
ExtraFilter?: string;
FieldsToRetrieve?: string;
ID?: string;
MaxRows?: number;
Name?: string;
OrderBy?: string;
Parameters?: string;
QueryName?: string;
ResultType?: "entity_object" | "simple";
SourceType?: "RunQuery" | "RunView";
Status?: "Active" | "Disabled";
},
> = ...
zod schema definition for the entity MJ: AI Agent Data Sources