@memberjunction/core-entities 2.75.0 → 2.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4865,6 +4865,130 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4865
4865
|
TotalPromptIterations?: number;
|
|
4866
4866
|
}>;
|
|
4867
4867
|
export type AIAgentRunEntityType = z.infer<typeof AIAgentRunSchema>;
|
|
4868
|
+
/**
|
|
4869
|
+
* zod schema definition for the entity MJ: AI Agent Step Paths
|
|
4870
|
+
*/
|
|
4871
|
+
export declare const AIAgentStepPathSchema: z.ZodObject<{
|
|
4872
|
+
ID: z.ZodString;
|
|
4873
|
+
OriginStepID: z.ZodString;
|
|
4874
|
+
DestinationStepID: z.ZodString;
|
|
4875
|
+
Condition: z.ZodNullable<z.ZodString>;
|
|
4876
|
+
Priority: z.ZodNumber;
|
|
4877
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4878
|
+
PathPoints: z.ZodNullable<z.ZodString>;
|
|
4879
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4880
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4881
|
+
OriginStep: z.ZodString;
|
|
4882
|
+
DestinationStep: z.ZodString;
|
|
4883
|
+
}, "strip", z.ZodTypeAny, {
|
|
4884
|
+
ID?: string;
|
|
4885
|
+
__mj_CreatedAt?: Date;
|
|
4886
|
+
__mj_UpdatedAt?: Date;
|
|
4887
|
+
Description?: string;
|
|
4888
|
+
Priority?: number;
|
|
4889
|
+
OriginStepID?: string;
|
|
4890
|
+
DestinationStepID?: string;
|
|
4891
|
+
Condition?: string;
|
|
4892
|
+
PathPoints?: string;
|
|
4893
|
+
OriginStep?: string;
|
|
4894
|
+
DestinationStep?: string;
|
|
4895
|
+
}, {
|
|
4896
|
+
ID?: string;
|
|
4897
|
+
__mj_CreatedAt?: Date;
|
|
4898
|
+
__mj_UpdatedAt?: Date;
|
|
4899
|
+
Description?: string;
|
|
4900
|
+
Priority?: number;
|
|
4901
|
+
OriginStepID?: string;
|
|
4902
|
+
DestinationStepID?: string;
|
|
4903
|
+
Condition?: string;
|
|
4904
|
+
PathPoints?: string;
|
|
4905
|
+
OriginStep?: string;
|
|
4906
|
+
DestinationStep?: string;
|
|
4907
|
+
}>;
|
|
4908
|
+
export type AIAgentStepPathEntityType = z.infer<typeof AIAgentStepPathSchema>;
|
|
4909
|
+
/**
|
|
4910
|
+
* zod schema definition for the entity MJ: AI Agent Steps
|
|
4911
|
+
*/
|
|
4912
|
+
export declare const AIAgentStepSchema: z.ZodObject<{
|
|
4913
|
+
ID: z.ZodString;
|
|
4914
|
+
AgentID: z.ZodString;
|
|
4915
|
+
Name: z.ZodString;
|
|
4916
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4917
|
+
StepType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"Prompt">]>;
|
|
4918
|
+
StartingStep: z.ZodBoolean;
|
|
4919
|
+
TimeoutSeconds: z.ZodNullable<z.ZodNumber>;
|
|
4920
|
+
RetryCount: z.ZodNumber;
|
|
4921
|
+
OnErrorBehavior: z.ZodUnion<[z.ZodLiteral<"fail">, z.ZodLiteral<"continue">, z.ZodLiteral<"retry">]>;
|
|
4922
|
+
ActionID: z.ZodNullable<z.ZodString>;
|
|
4923
|
+
SubAgentID: z.ZodNullable<z.ZodString>;
|
|
4924
|
+
PromptID: z.ZodNullable<z.ZodString>;
|
|
4925
|
+
ActionOutputMapping: z.ZodNullable<z.ZodString>;
|
|
4926
|
+
PositionX: z.ZodNumber;
|
|
4927
|
+
PositionY: z.ZodNumber;
|
|
4928
|
+
Width: z.ZodNumber;
|
|
4929
|
+
Height: z.ZodNumber;
|
|
4930
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4931
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4932
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Disabled">]>;
|
|
4933
|
+
ActionInputMapping: z.ZodNullable<z.ZodString>;
|
|
4934
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
4935
|
+
Action: z.ZodNullable<z.ZodString>;
|
|
4936
|
+
SubAgent: z.ZodNullable<z.ZodString>;
|
|
4937
|
+
Prompt: z.ZodNullable<z.ZodString>;
|
|
4938
|
+
}, "strip", z.ZodTypeAny, {
|
|
4939
|
+
ID?: string;
|
|
4940
|
+
ActionID?: string;
|
|
4941
|
+
__mj_CreatedAt?: Date;
|
|
4942
|
+
__mj_UpdatedAt?: Date;
|
|
4943
|
+
Action?: string;
|
|
4944
|
+
Name?: string;
|
|
4945
|
+
Description?: string;
|
|
4946
|
+
Status?: "Disabled" | "Active" | "Pending";
|
|
4947
|
+
AgentID?: string;
|
|
4948
|
+
Agent?: string;
|
|
4949
|
+
Prompt?: string;
|
|
4950
|
+
PromptID?: string;
|
|
4951
|
+
StepType?: "Action" | "Prompt" | "Sub-Agent";
|
|
4952
|
+
StartingStep?: boolean;
|
|
4953
|
+
TimeoutSeconds?: number;
|
|
4954
|
+
RetryCount?: number;
|
|
4955
|
+
OnErrorBehavior?: "fail" | "continue" | "retry";
|
|
4956
|
+
SubAgentID?: string;
|
|
4957
|
+
ActionOutputMapping?: string;
|
|
4958
|
+
PositionX?: number;
|
|
4959
|
+
PositionY?: number;
|
|
4960
|
+
Width?: number;
|
|
4961
|
+
Height?: number;
|
|
4962
|
+
ActionInputMapping?: string;
|
|
4963
|
+
SubAgent?: string;
|
|
4964
|
+
}, {
|
|
4965
|
+
ID?: string;
|
|
4966
|
+
ActionID?: string;
|
|
4967
|
+
__mj_CreatedAt?: Date;
|
|
4968
|
+
__mj_UpdatedAt?: Date;
|
|
4969
|
+
Action?: string;
|
|
4970
|
+
Name?: string;
|
|
4971
|
+
Description?: string;
|
|
4972
|
+
Status?: "Disabled" | "Active" | "Pending";
|
|
4973
|
+
AgentID?: string;
|
|
4974
|
+
Agent?: string;
|
|
4975
|
+
Prompt?: string;
|
|
4976
|
+
PromptID?: string;
|
|
4977
|
+
StepType?: "Action" | "Prompt" | "Sub-Agent";
|
|
4978
|
+
StartingStep?: boolean;
|
|
4979
|
+
TimeoutSeconds?: number;
|
|
4980
|
+
RetryCount?: number;
|
|
4981
|
+
OnErrorBehavior?: "fail" | "continue" | "retry";
|
|
4982
|
+
SubAgentID?: string;
|
|
4983
|
+
ActionOutputMapping?: string;
|
|
4984
|
+
PositionX?: number;
|
|
4985
|
+
PositionY?: number;
|
|
4986
|
+
Width?: number;
|
|
4987
|
+
Height?: number;
|
|
4988
|
+
ActionInputMapping?: string;
|
|
4989
|
+
SubAgent?: string;
|
|
4990
|
+
}>;
|
|
4991
|
+
export type AIAgentStepEntityType = z.infer<typeof AIAgentStepSchema>;
|
|
4868
4992
|
/**
|
|
4869
4993
|
* zod schema definition for the entity MJ: AI Agent Types
|
|
4870
4994
|
*/
|
|
@@ -4878,6 +5002,9 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
|
|
|
4878
5002
|
__mj_UpdatedAt: z.ZodDate;
|
|
4879
5003
|
AgentPromptPlaceholder: z.ZodNullable<z.ZodString>;
|
|
4880
5004
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
5005
|
+
UIFormSectionKey: z.ZodNullable<z.ZodString>;
|
|
5006
|
+
UIFormKey: z.ZodNullable<z.ZodString>;
|
|
5007
|
+
UIFormSectionExpandedByDefault: z.ZodBoolean;
|
|
4881
5008
|
SystemPrompt: z.ZodNullable<z.ZodString>;
|
|
4882
5009
|
}, "strip", z.ZodTypeAny, {
|
|
4883
5010
|
ID?: string;
|
|
@@ -4889,6 +5016,9 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
|
|
|
4889
5016
|
IsActive?: boolean;
|
|
4890
5017
|
SystemPromptID?: string;
|
|
4891
5018
|
AgentPromptPlaceholder?: string;
|
|
5019
|
+
UIFormSectionKey?: string;
|
|
5020
|
+
UIFormKey?: string;
|
|
5021
|
+
UIFormSectionExpandedByDefault?: boolean;
|
|
4892
5022
|
SystemPrompt?: string;
|
|
4893
5023
|
}, {
|
|
4894
5024
|
ID?: string;
|
|
@@ -4900,6 +5030,9 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
|
|
|
4900
5030
|
IsActive?: boolean;
|
|
4901
5031
|
SystemPromptID?: string;
|
|
4902
5032
|
AgentPromptPlaceholder?: string;
|
|
5033
|
+
UIFormSectionKey?: string;
|
|
5034
|
+
UIFormKey?: string;
|
|
5035
|
+
UIFormSectionExpandedByDefault?: boolean;
|
|
4903
5036
|
SystemPrompt?: string;
|
|
4904
5037
|
}>;
|
|
4905
5038
|
export type AIAgentTypeEntityType = z.infer<typeof AIAgentTypeSchema>;
|
|
@@ -21711,6 +21844,380 @@ each time the agent processes a prompt step.
|
|
|
21711
21844
|
*/
|
|
21712
21845
|
get User(): string | null;
|
|
21713
21846
|
}
|
|
21847
|
+
/**
|
|
21848
|
+
* MJ: AI Agent Step Paths - strongly typed entity sub-class
|
|
21849
|
+
* * Schema: __mj
|
|
21850
|
+
* * Base Table: AIAgentStepPath
|
|
21851
|
+
* * Base View: vwAIAgentStepPaths
|
|
21852
|
+
* * @description Defines paths (edges) between steps in a flow-based AI agent execution graph
|
|
21853
|
+
* * Primary Key: ID
|
|
21854
|
+
* @extends {BaseEntity}
|
|
21855
|
+
* @class
|
|
21856
|
+
* @public
|
|
21857
|
+
*/
|
|
21858
|
+
export declare class AIAgentStepPathEntity extends BaseEntity<AIAgentStepPathEntityType> {
|
|
21859
|
+
/**
|
|
21860
|
+
* Loads the MJ: AI Agent Step Paths record from the database
|
|
21861
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Step Paths record.
|
|
21862
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
21863
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
21864
|
+
* @public
|
|
21865
|
+
* @async
|
|
21866
|
+
* @memberof AIAgentStepPathEntity
|
|
21867
|
+
* @method
|
|
21868
|
+
* @override
|
|
21869
|
+
*/
|
|
21870
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21871
|
+
/**
|
|
21872
|
+
* Validate() method override for MJ: AI Agent Step Paths entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
21873
|
+
* * Table-Level: This rule ensures that the origin step and destination step must be different. In other words, a step cannot connect to itself.
|
|
21874
|
+
* @public
|
|
21875
|
+
* @method
|
|
21876
|
+
* @override
|
|
21877
|
+
*/
|
|
21878
|
+
Validate(): ValidationResult;
|
|
21879
|
+
/**
|
|
21880
|
+
* This rule ensures that the origin step and destination step must be different. In other words, a step cannot connect to itself.
|
|
21881
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21882
|
+
* @public
|
|
21883
|
+
* @method
|
|
21884
|
+
*/
|
|
21885
|
+
ValidateOriginStepIDIsNotEqualToDestinationStepID(result: ValidationResult): void;
|
|
21886
|
+
/**
|
|
21887
|
+
* * Field Name: ID
|
|
21888
|
+
* * Display Name: ID
|
|
21889
|
+
* * SQL Data Type: uniqueidentifier
|
|
21890
|
+
* * Default Value: newsequentialid()
|
|
21891
|
+
*/
|
|
21892
|
+
get ID(): string;
|
|
21893
|
+
set ID(value: string);
|
|
21894
|
+
/**
|
|
21895
|
+
* * Field Name: OriginStepID
|
|
21896
|
+
* * Display Name: Origin Step ID
|
|
21897
|
+
* * SQL Data Type: uniqueidentifier
|
|
21898
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)
|
|
21899
|
+
*/
|
|
21900
|
+
get OriginStepID(): string;
|
|
21901
|
+
set OriginStepID(value: string);
|
|
21902
|
+
/**
|
|
21903
|
+
* * Field Name: DestinationStepID
|
|
21904
|
+
* * Display Name: Destination Step ID
|
|
21905
|
+
* * SQL Data Type: uniqueidentifier
|
|
21906
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)
|
|
21907
|
+
*/
|
|
21908
|
+
get DestinationStepID(): string;
|
|
21909
|
+
set DestinationStepID(value: string);
|
|
21910
|
+
/**
|
|
21911
|
+
* * Field Name: Condition
|
|
21912
|
+
* * Display Name: Condition
|
|
21913
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21914
|
+
* * Description: Boolean expression to evaluate. If null, path is always taken. Evaluated against payload and step results.
|
|
21915
|
+
*/
|
|
21916
|
+
get Condition(): string | null;
|
|
21917
|
+
set Condition(value: string | null);
|
|
21918
|
+
/**
|
|
21919
|
+
* * Field Name: Priority
|
|
21920
|
+
* * Display Name: Priority
|
|
21921
|
+
* * SQL Data Type: int
|
|
21922
|
+
* * Default Value: 0
|
|
21923
|
+
* * Description: Path evaluation priority. Higher values are evaluated first. Use 0 or negative values for default/fallback paths that execute when no other conditions match.
|
|
21924
|
+
*/
|
|
21925
|
+
get Priority(): number;
|
|
21926
|
+
set Priority(value: number);
|
|
21927
|
+
/**
|
|
21928
|
+
* * Field Name: Description
|
|
21929
|
+
* * Display Name: Description
|
|
21930
|
+
* * SQL Data Type: nvarchar(255)
|
|
21931
|
+
*/
|
|
21932
|
+
get Description(): string | null;
|
|
21933
|
+
set Description(value: string | null);
|
|
21934
|
+
/**
|
|
21935
|
+
* * Field Name: PathPoints
|
|
21936
|
+
* * Display Name: Path Points
|
|
21937
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21938
|
+
*/
|
|
21939
|
+
get PathPoints(): string | null;
|
|
21940
|
+
set PathPoints(value: string | null);
|
|
21941
|
+
/**
|
|
21942
|
+
* * Field Name: __mj_CreatedAt
|
|
21943
|
+
* * Display Name: Created At
|
|
21944
|
+
* * SQL Data Type: datetimeoffset
|
|
21945
|
+
* * Default Value: getutcdate()
|
|
21946
|
+
*/
|
|
21947
|
+
get __mj_CreatedAt(): Date;
|
|
21948
|
+
/**
|
|
21949
|
+
* * Field Name: __mj_UpdatedAt
|
|
21950
|
+
* * Display Name: Updated At
|
|
21951
|
+
* * SQL Data Type: datetimeoffset
|
|
21952
|
+
* * Default Value: getutcdate()
|
|
21953
|
+
*/
|
|
21954
|
+
get __mj_UpdatedAt(): Date;
|
|
21955
|
+
/**
|
|
21956
|
+
* * Field Name: OriginStep
|
|
21957
|
+
* * Display Name: Origin Step
|
|
21958
|
+
* * SQL Data Type: nvarchar(255)
|
|
21959
|
+
*/
|
|
21960
|
+
get OriginStep(): string;
|
|
21961
|
+
/**
|
|
21962
|
+
* * Field Name: DestinationStep
|
|
21963
|
+
* * Display Name: Destination Step
|
|
21964
|
+
* * SQL Data Type: nvarchar(255)
|
|
21965
|
+
*/
|
|
21966
|
+
get DestinationStep(): string;
|
|
21967
|
+
}
|
|
21968
|
+
/**
|
|
21969
|
+
* MJ: AI Agent Steps - strongly typed entity sub-class
|
|
21970
|
+
* * Schema: __mj
|
|
21971
|
+
* * Base Table: AIAgentStep
|
|
21972
|
+
* * Base View: vwAIAgentSteps
|
|
21973
|
+
* * @description Defines individual steps (nodes) in a flow-based AI agent execution graph
|
|
21974
|
+
* * Primary Key: ID
|
|
21975
|
+
* @extends {BaseEntity}
|
|
21976
|
+
* @class
|
|
21977
|
+
* @public
|
|
21978
|
+
*/
|
|
21979
|
+
export declare class AIAgentStepEntity extends BaseEntity<AIAgentStepEntityType> {
|
|
21980
|
+
/**
|
|
21981
|
+
* Loads the MJ: AI Agent Steps record from the database
|
|
21982
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Steps record.
|
|
21983
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
21984
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
21985
|
+
* @public
|
|
21986
|
+
* @async
|
|
21987
|
+
* @memberof AIAgentStepEntity
|
|
21988
|
+
* @method
|
|
21989
|
+
* @override
|
|
21990
|
+
*/
|
|
21991
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21992
|
+
/**
|
|
21993
|
+
* Validate() method override for MJ: AI Agent Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
21994
|
+
* * RetryCount: This rule ensures that the RetryCount value cannot be negative. It must be zero or higher.
|
|
21995
|
+
* * TimeoutSeconds: This rule makes sure that the value for TimeoutSeconds must be greater than zero. Negative values or zero are not allowed.
|
|
21996
|
+
* @public
|
|
21997
|
+
* @method
|
|
21998
|
+
* @override
|
|
21999
|
+
*/
|
|
22000
|
+
Validate(): ValidationResult;
|
|
22001
|
+
/**
|
|
22002
|
+
* This rule ensures that the RetryCount value cannot be negative. It must be zero or higher.
|
|
22003
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22004
|
+
* @public
|
|
22005
|
+
* @method
|
|
22006
|
+
*/
|
|
22007
|
+
ValidateRetryCountIsNonNegative(result: ValidationResult): void;
|
|
22008
|
+
/**
|
|
22009
|
+
* This rule makes sure that the value for TimeoutSeconds must be greater than zero. Negative values or zero are not allowed.
|
|
22010
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22011
|
+
* @public
|
|
22012
|
+
* @method
|
|
22013
|
+
*/
|
|
22014
|
+
ValidateTimeoutSecondsGreaterThanZero(result: ValidationResult): void;
|
|
22015
|
+
/**
|
|
22016
|
+
* * Field Name: ID
|
|
22017
|
+
* * Display Name: ID
|
|
22018
|
+
* * SQL Data Type: uniqueidentifier
|
|
22019
|
+
* * Default Value: newsequentialid()
|
|
22020
|
+
*/
|
|
22021
|
+
get ID(): string;
|
|
22022
|
+
set ID(value: string);
|
|
22023
|
+
/**
|
|
22024
|
+
* * Field Name: AgentID
|
|
22025
|
+
* * Display Name: Agent ID
|
|
22026
|
+
* * SQL Data Type: uniqueidentifier
|
|
22027
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
22028
|
+
*/
|
|
22029
|
+
get AgentID(): string;
|
|
22030
|
+
set AgentID(value: string);
|
|
22031
|
+
/**
|
|
22032
|
+
* * Field Name: Name
|
|
22033
|
+
* * Display Name: Name
|
|
22034
|
+
* * SQL Data Type: nvarchar(255)
|
|
22035
|
+
*/
|
|
22036
|
+
get Name(): string;
|
|
22037
|
+
set Name(value: string);
|
|
22038
|
+
/**
|
|
22039
|
+
* * Field Name: Description
|
|
22040
|
+
* * Display Name: Description
|
|
22041
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
22042
|
+
*/
|
|
22043
|
+
get Description(): string | null;
|
|
22044
|
+
set Description(value: string | null);
|
|
22045
|
+
/**
|
|
22046
|
+
* * Field Name: StepType
|
|
22047
|
+
* * Display Name: Step Type
|
|
22048
|
+
* * SQL Data Type: nvarchar(20)
|
|
22049
|
+
* * Value List Type: List
|
|
22050
|
+
* * Possible Values
|
|
22051
|
+
* * Action
|
|
22052
|
+
* * Sub-Agent
|
|
22053
|
+
* * Prompt
|
|
22054
|
+
* * Description: Type of step: Action (execute an action), Sub-Agent (delegate to another agent), or Prompt (run an AI prompt)
|
|
22055
|
+
*/
|
|
22056
|
+
get StepType(): 'Action' | 'Sub-Agent' | 'Prompt';
|
|
22057
|
+
set StepType(value: 'Action' | 'Sub-Agent' | 'Prompt');
|
|
22058
|
+
/**
|
|
22059
|
+
* * Field Name: StartingStep
|
|
22060
|
+
* * Display Name: Starting Step
|
|
22061
|
+
* * SQL Data Type: bit
|
|
22062
|
+
* * Default Value: 0
|
|
22063
|
+
* * Description: If true, this step is executed when the agent starts
|
|
22064
|
+
*/
|
|
22065
|
+
get StartingStep(): boolean;
|
|
22066
|
+
set StartingStep(value: boolean);
|
|
22067
|
+
/**
|
|
22068
|
+
* * Field Name: TimeoutSeconds
|
|
22069
|
+
* * Display Name: Timeout Seconds
|
|
22070
|
+
* * SQL Data Type: int
|
|
22071
|
+
* * Default Value: 600
|
|
22072
|
+
*/
|
|
22073
|
+
get TimeoutSeconds(): number | null;
|
|
22074
|
+
set TimeoutSeconds(value: number | null);
|
|
22075
|
+
/**
|
|
22076
|
+
* * Field Name: RetryCount
|
|
22077
|
+
* * Display Name: Retry Count
|
|
22078
|
+
* * SQL Data Type: int
|
|
22079
|
+
* * Default Value: 0
|
|
22080
|
+
*/
|
|
22081
|
+
get RetryCount(): number;
|
|
22082
|
+
set RetryCount(value: number);
|
|
22083
|
+
/**
|
|
22084
|
+
* * Field Name: OnErrorBehavior
|
|
22085
|
+
* * Display Name: On Error Behavior
|
|
22086
|
+
* * SQL Data Type: nvarchar(20)
|
|
22087
|
+
* * Default Value: fail
|
|
22088
|
+
* * Value List Type: List
|
|
22089
|
+
* * Possible Values
|
|
22090
|
+
* * fail
|
|
22091
|
+
* * continue
|
|
22092
|
+
* * retry
|
|
22093
|
+
*/
|
|
22094
|
+
get OnErrorBehavior(): 'fail' | 'continue' | 'retry';
|
|
22095
|
+
set OnErrorBehavior(value: 'fail' | 'continue' | 'retry');
|
|
22096
|
+
/**
|
|
22097
|
+
* * Field Name: ActionID
|
|
22098
|
+
* * Display Name: Action ID
|
|
22099
|
+
* * SQL Data Type: uniqueidentifier
|
|
22100
|
+
* * Related Entity/Foreign Key: Actions (vwActions.ID)
|
|
22101
|
+
*/
|
|
22102
|
+
get ActionID(): string | null;
|
|
22103
|
+
set ActionID(value: string | null);
|
|
22104
|
+
/**
|
|
22105
|
+
* * Field Name: SubAgentID
|
|
22106
|
+
* * Display Name: Sub Agent ID
|
|
22107
|
+
* * SQL Data Type: uniqueidentifier
|
|
22108
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
22109
|
+
*/
|
|
22110
|
+
get SubAgentID(): string | null;
|
|
22111
|
+
set SubAgentID(value: string | null);
|
|
22112
|
+
/**
|
|
22113
|
+
* * Field Name: PromptID
|
|
22114
|
+
* * Display Name: Prompt ID
|
|
22115
|
+
* * SQL Data Type: uniqueidentifier
|
|
22116
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
22117
|
+
*/
|
|
22118
|
+
get PromptID(): string | null;
|
|
22119
|
+
set PromptID(value: string | null);
|
|
22120
|
+
/**
|
|
22121
|
+
* * Field Name: ActionOutputMapping
|
|
22122
|
+
* * Display Name: Action Output Mapping
|
|
22123
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
22124
|
+
* * Description: JSON configuration for mapping action output parameters to payload paths. Example: {"outputParam1": "payload.customer.status", "*": "payload.lastResult"}
|
|
22125
|
+
*/
|
|
22126
|
+
get ActionOutputMapping(): string | null;
|
|
22127
|
+
set ActionOutputMapping(value: string | null);
|
|
22128
|
+
/**
|
|
22129
|
+
* * Field Name: PositionX
|
|
22130
|
+
* * Display Name: Position X
|
|
22131
|
+
* * SQL Data Type: int
|
|
22132
|
+
* * Default Value: 0
|
|
22133
|
+
*/
|
|
22134
|
+
get PositionX(): number;
|
|
22135
|
+
set PositionX(value: number);
|
|
22136
|
+
/**
|
|
22137
|
+
* * Field Name: PositionY
|
|
22138
|
+
* * Display Name: Position Y
|
|
22139
|
+
* * SQL Data Type: int
|
|
22140
|
+
* * Default Value: 0
|
|
22141
|
+
*/
|
|
22142
|
+
get PositionY(): number;
|
|
22143
|
+
set PositionY(value: number);
|
|
22144
|
+
/**
|
|
22145
|
+
* * Field Name: Width
|
|
22146
|
+
* * Display Name: Width
|
|
22147
|
+
* * SQL Data Type: int
|
|
22148
|
+
* * Default Value: 200
|
|
22149
|
+
*/
|
|
22150
|
+
get Width(): number;
|
|
22151
|
+
set Width(value: number);
|
|
22152
|
+
/**
|
|
22153
|
+
* * Field Name: Height
|
|
22154
|
+
* * Display Name: Height
|
|
22155
|
+
* * SQL Data Type: int
|
|
22156
|
+
* * Default Value: 80
|
|
22157
|
+
*/
|
|
22158
|
+
get Height(): number;
|
|
22159
|
+
set Height(value: number);
|
|
22160
|
+
/**
|
|
22161
|
+
* * Field Name: __mj_CreatedAt
|
|
22162
|
+
* * Display Name: Created At
|
|
22163
|
+
* * SQL Data Type: datetimeoffset
|
|
22164
|
+
* * Default Value: getutcdate()
|
|
22165
|
+
*/
|
|
22166
|
+
get __mj_CreatedAt(): Date;
|
|
22167
|
+
/**
|
|
22168
|
+
* * Field Name: __mj_UpdatedAt
|
|
22169
|
+
* * Display Name: Updated At
|
|
22170
|
+
* * SQL Data Type: datetimeoffset
|
|
22171
|
+
* * Default Value: getutcdate()
|
|
22172
|
+
*/
|
|
22173
|
+
get __mj_UpdatedAt(): Date;
|
|
22174
|
+
/**
|
|
22175
|
+
* * Field Name: Status
|
|
22176
|
+
* * Display Name: Status
|
|
22177
|
+
* * SQL Data Type: nvarchar(20)
|
|
22178
|
+
* * Default Value: Active
|
|
22179
|
+
* * Value List Type: List
|
|
22180
|
+
* * Possible Values
|
|
22181
|
+
* * Active
|
|
22182
|
+
* * Pending
|
|
22183
|
+
* * Disabled
|
|
22184
|
+
* * Description: Controls whether this step is executed. Active=normal execution, Pending=skip but may activate later, Disabled=never execute
|
|
22185
|
+
*/
|
|
22186
|
+
get Status(): 'Active' | 'Pending' | 'Disabled';
|
|
22187
|
+
set Status(value: 'Active' | 'Pending' | 'Disabled');
|
|
22188
|
+
/**
|
|
22189
|
+
* * Field Name: ActionInputMapping
|
|
22190
|
+
* * Display Name: Action Input Mapping
|
|
22191
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
22192
|
+
* * Description: JSON configuration for mapping static values or payload paths to action input parameters. Example: {"param1": "staticValue", "param2": "payload.dynamicValue"}
|
|
22193
|
+
*/
|
|
22194
|
+
get ActionInputMapping(): string | null;
|
|
22195
|
+
set ActionInputMapping(value: string | null);
|
|
22196
|
+
/**
|
|
22197
|
+
* * Field Name: Agent
|
|
22198
|
+
* * Display Name: Agent
|
|
22199
|
+
* * SQL Data Type: nvarchar(255)
|
|
22200
|
+
*/
|
|
22201
|
+
get Agent(): string | null;
|
|
22202
|
+
/**
|
|
22203
|
+
* * Field Name: Action
|
|
22204
|
+
* * Display Name: Action
|
|
22205
|
+
* * SQL Data Type: nvarchar(425)
|
|
22206
|
+
*/
|
|
22207
|
+
get Action(): string | null;
|
|
22208
|
+
/**
|
|
22209
|
+
* * Field Name: SubAgent
|
|
22210
|
+
* * Display Name: Sub Agent
|
|
22211
|
+
* * SQL Data Type: nvarchar(255)
|
|
22212
|
+
*/
|
|
22213
|
+
get SubAgent(): string | null;
|
|
22214
|
+
/**
|
|
22215
|
+
* * Field Name: Prompt
|
|
22216
|
+
* * Display Name: Prompt
|
|
22217
|
+
* * SQL Data Type: nvarchar(255)
|
|
22218
|
+
*/
|
|
22219
|
+
get Prompt(): string | null;
|
|
22220
|
+
}
|
|
21714
22221
|
/**
|
|
21715
22222
|
* MJ: AI Agent Types - strongly typed entity sub-class
|
|
21716
22223
|
* * Schema: __mj
|
|
@@ -21809,6 +22316,31 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
|
|
|
21809
22316
|
get DriverClass(): string | null;
|
|
21810
22317
|
set DriverClass(value: string | null);
|
|
21811
22318
|
/**
|
|
22319
|
+
* * Field Name: UIFormSectionKey
|
|
22320
|
+
* * Display Name: UI Form Section Key
|
|
22321
|
+
* * SQL Data Type: nvarchar(500)
|
|
22322
|
+
* * Description: Optional Angular component key name for a subclass of BaseFormSectionComponent that provides a custom form section for this agent type. When specified, this component will be dynamically loaded and displayed as the first expandable section in the AI Agent form. This allows agent types to have specialized UI elements. The class must be registered with the MemberJunction class factory via @RegisterClass
|
|
22323
|
+
*/
|
|
22324
|
+
get UIFormSectionKey(): string | null;
|
|
22325
|
+
set UIFormSectionKey(value: string | null);
|
|
22326
|
+
/**
|
|
22327
|
+
* * Field Name: UIFormKey
|
|
22328
|
+
* * Display Name: UI Form Key
|
|
22329
|
+
* * SQL Data Type: nvarchar(500)
|
|
22330
|
+
* * Description: Optional Angular component key name for a subclass of BaseFormComponent that will completely overrides the default AI Agent form for this agent type. When specified, this component will be used instead of the standard AI Agent form, allowing for completely custom form implementations. The class must be registered with the MemberJunction class factory via @RegisterClass. If both UIFormClass and UIFormSectionClass are specified, UIFormClass takes precedence.
|
|
22331
|
+
*/
|
|
22332
|
+
get UIFormKey(): string | null;
|
|
22333
|
+
set UIFormKey(value: string | null);
|
|
22334
|
+
/**
|
|
22335
|
+
* * Field Name: UIFormSectionExpandedByDefault
|
|
22336
|
+
* * Display Name: UI Form Section Expanded By Default
|
|
22337
|
+
* * SQL Data Type: bit
|
|
22338
|
+
* * Default Value: 1
|
|
22339
|
+
* * Description: Determines whether the custom form section (specified by UIFormSectionClass) should be expanded by default when the AI Agent form loads. True means the section starts expanded, False means it starts collapsed. Only applies when UIFormSectionClass is specified. Defaults to 1 (expanded).
|
|
22340
|
+
*/
|
|
22341
|
+
get UIFormSectionExpandedByDefault(): boolean;
|
|
22342
|
+
set UIFormSectionExpandedByDefault(value: boolean);
|
|
22343
|
+
/**
|
|
21812
22344
|
* * Field Name: SystemPrompt
|
|
21813
22345
|
* * Display Name: System Prompt
|
|
21814
22346
|
* * SQL Data Type: nvarchar(255)
|