Variable MJAIAgentSearchScopeSchemaConst
MJAIAgentSearchScopeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Agent: ZodNullable<ZodString>;
AgentID: ZodString;
EndAt: ZodNullable<ZodDate>;
FusionWeightsOverride: ZodNullable<ZodString>;
ID: ZodString;
IsDefault: ZodBoolean;
MaxResults: ZodNullable<ZodNumber>;
MinScore: ZodNullable<ZodNumber>;
Phase: ZodUnion<
[
ZodLiteral<"AgentInvoked">,
ZodLiteral<"Both">,
ZodLiteral<"PreExecution">,
],
>;
Priority: ZodNumber;
QueryTemplate: ZodNullable<ZodString>;
QueryTemplateID: ZodNullable<ZodString>;
SearchScope: ZodString;
SearchScopeID: ZodString;
StartAt: ZodNullable<ZodDate>;
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Inactive">]>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
EndAt?: Date;
FusionWeightsOverride?: string;
ID?: string;
IsDefault?: boolean;
MaxResults?: number;
MinScore?: number;
Phase?: "Both"
| "AgentInvoked"
| "PreExecution";
Priority?: number;
QueryTemplate?: string;
QueryTemplateID?: string;
SearchScope?: string;
SearchScopeID?: string;
StartAt?: Date;
Status?: "Active" | "Inactive";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
EndAt?: Date;
FusionWeightsOverride?: string;
ID?: string;
IsDefault?: boolean;
MaxResults?: number;
MinScore?: number;
Phase?: "Both"
| "AgentInvoked"
| "PreExecution";
Priority?: number;
QueryTemplate?: string;
QueryTemplateID?: string;
SearchScope?: string;
SearchScopeID?: string;
StartAt?: Date;
Status?: "Active" | "Inactive";
},
> = ...
zod schema definition for the entity MJ: AI Agent Search Scopes