AIAgentDataSourceSchema: ZodObject<{
    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">]>;
    __mj_CreatedAt: ZodDate;
    __mj_UpdatedAt: ZodDate;
}, "strip", ZodTypeAny, {
    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";
    __mj_CreatedAt?: Date;
    __mj_UpdatedAt?: Date;
}> = ...

zod schema definition for the entity MJ: AI Agent Data Sources

Type declaration

  • 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">]>
  • __mj_CreatedAt: ZodDate
  • __mj_UpdatedAt: ZodDate

Type declaration

  • Optional Agent?: string
  • Optional AgentID?: string
  • Optional CachePolicy?: "None" | "PerAgent" | "PerRun"
  • Optional CacheTimeoutSeconds?: number
  • Optional CategoryPath?: string
  • Optional Description?: string
  • Optional DestinationPath?: string
  • Optional DestinationType?: "Context" | "Data" | "Payload"
  • Optional EntityName?: string
  • Optional ExecutionOrder?: number
  • Optional ExtraFilter?: string
  • Optional FieldsToRetrieve?: string
  • Optional ID?: string
  • Optional MaxRows?: number
  • Optional Name?: string
  • Optional OrderBy?: string
  • Optional Parameters?: string
  • Optional QueryName?: string
  • Optional ResultType?: "entity_object" | "simple"
  • Optional SourceType?: "RunQuery" | "RunView"
  • Optional Status?: "Active" | "Disabled"
  • Optional __mj_CreatedAt?: Date
  • Optional __mj_UpdatedAt?: Date

Type declaration

  • Optional Agent?: string
  • Optional AgentID?: string
  • Optional CachePolicy?: "None" | "PerAgent" | "PerRun"
  • Optional CacheTimeoutSeconds?: number
  • Optional CategoryPath?: string
  • Optional Description?: string
  • Optional DestinationPath?: string
  • Optional DestinationType?: "Context" | "Data" | "Payload"
  • Optional EntityName?: string
  • Optional ExecutionOrder?: number
  • Optional ExtraFilter?: string
  • Optional FieldsToRetrieve?: string
  • Optional ID?: string
  • Optional MaxRows?: number
  • Optional Name?: string
  • Optional OrderBy?: string
  • Optional Parameters?: string
  • Optional QueryName?: string
  • Optional ResultType?: "entity_object" | "simple"
  • Optional SourceType?: "RunQuery" | "RunView"
  • Optional Status?: "Active" | "Disabled"
  • Optional __mj_CreatedAt?: Date
  • Optional __mj_UpdatedAt?: Date