@memberjunction/core-entities 2.74.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.
- package/dist/custom/AIPromptRunEntityExtended.d.ts +47 -0
- package/dist/custom/AIPromptRunEntityExtended.d.ts.map +1 -0
- package/dist/custom/AIPromptRunEntityExtended.js +156 -0
- package/dist/custom/AIPromptRunEntityExtended.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +625 -81
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +1001 -196
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -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>;
|
|
@@ -5284,6 +5417,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5284
5417
|
OriginalModelID: z.ZodNullable<z.ZodString>;
|
|
5285
5418
|
OriginalRequestStartTime: z.ZodNullable<z.ZodDate>;
|
|
5286
5419
|
TotalFailoverDuration: z.ZodNullable<z.ZodNumber>;
|
|
5420
|
+
RerunFromPromptRunID: z.ZodNullable<z.ZodString>;
|
|
5287
5421
|
Prompt: z.ZodString;
|
|
5288
5422
|
Model: z.ZodString;
|
|
5289
5423
|
Vendor: z.ZodString;
|
|
@@ -5356,6 +5490,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5356
5490
|
OriginalModelID?: string;
|
|
5357
5491
|
OriginalRequestStartTime?: Date;
|
|
5358
5492
|
TotalFailoverDuration?: number;
|
|
5493
|
+
RerunFromPromptRunID?: string;
|
|
5359
5494
|
OriginalModel?: string;
|
|
5360
5495
|
}, {
|
|
5361
5496
|
ID?: string;
|
|
@@ -5423,6 +5558,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5423
5558
|
OriginalModelID?: string;
|
|
5424
5559
|
OriginalRequestStartTime?: Date;
|
|
5425
5560
|
TotalFailoverDuration?: number;
|
|
5561
|
+
RerunFromPromptRunID?: string;
|
|
5426
5562
|
OriginalModel?: string;
|
|
5427
5563
|
}>;
|
|
5428
5564
|
export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
|
|
@@ -9318,8 +9454,8 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
9318
9454
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
9319
9455
|
/**
|
|
9320
9456
|
* Validate() method override for AI Agent Actions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
9321
|
-
* * MinExecutionsPerRun: This rule ensures that if a value for 'Minimum Executions Per Run' is provided, it must be zero or greater. If the value is not provided (left blank), that's also allowed.
|
|
9322
9457
|
* * MaxExecutionsPerRun: This rule ensures that if a value for the maximum number of executions per run is provided, it must be greater than zero. If no value is provided, that's acceptable.
|
|
9458
|
+
* * MinExecutionsPerRun: This rule ensures that if a value for 'Minimum Executions Per Run' is provided, it must be zero or greater. If the value is not provided (left blank), that's also allowed.
|
|
9323
9459
|
* * Table-Level: This rule ensures that the minimum number of executions per run cannot be greater than the maximum number of executions per run. If either value is not specified, the rule is considered satisfied.
|
|
9324
9460
|
* @public
|
|
9325
9461
|
* @method
|
|
@@ -9327,19 +9463,19 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
9327
9463
|
*/
|
|
9328
9464
|
Validate(): ValidationResult;
|
|
9329
9465
|
/**
|
|
9330
|
-
* This rule ensures that if a value for
|
|
9466
|
+
* This rule ensures that if a value for the maximum number of executions per run is provided, it must be greater than zero. If no value is provided, that's acceptable.
|
|
9331
9467
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
9332
9468
|
* @public
|
|
9333
9469
|
* @method
|
|
9334
9470
|
*/
|
|
9335
|
-
|
|
9471
|
+
ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
|
|
9336
9472
|
/**
|
|
9337
|
-
* This rule ensures that if a value for
|
|
9473
|
+
* This rule ensures that if a value for 'Minimum Executions Per Run' is provided, it must be zero or greater. If the value is not provided (left blank), that's also allowed.
|
|
9338
9474
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
9339
9475
|
* @public
|
|
9340
9476
|
* @method
|
|
9341
9477
|
*/
|
|
9342
|
-
|
|
9478
|
+
ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
|
|
9343
9479
|
/**
|
|
9344
9480
|
* This rule ensures that the minimum number of executions per run cannot be greater than the maximum number of executions per run. If either value is not specified, the rule is considered satisfied.
|
|
9345
9481
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -9970,17 +10106,24 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
9970
10106
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
9971
10107
|
/**
|
|
9972
10108
|
* Validate() method override for AI Agents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
9973
|
-
* * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
|
|
9974
10109
|
* * MaxExecutionsPerRun: This rule ensures that the maximum number of executions per run can either be left blank (unspecified) or, if provided, it must be a positive number greater than zero.
|
|
10110
|
+
* * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
|
|
10111
|
+
* * Table-Level: This rule ensures that if context compression is enabled, all related settings (message threshold, prompt ID, and message retention count) must be specified. If context compression is not enabled, these settings may be left unspecified.
|
|
9975
10112
|
* * Table-Level: This rule ensures that if both 'Minimum Executions Per Run' and 'Maximum Executions Per Run' are specified, the minimum must not be greater than the maximum. If either field is not specified, this rule does not apply.
|
|
9976
10113
|
* * Table-Level: This rule makes sure that if the ParentID is set (not empty), then the ExposeAsAction option must be disabled. If ExposeAsAction is enabled, ParentID must be empty.
|
|
9977
|
-
* * Table-Level: This rule ensures that if context compression is enabled, all related settings (message threshold, prompt ID, and message retention count) must be specified. If context compression is not enabled, these settings may be left unspecified.
|
|
9978
10114
|
* @public
|
|
9979
10115
|
* @method
|
|
9980
10116
|
* @override
|
|
9981
10117
|
*/
|
|
9982
10118
|
Validate(): ValidationResult;
|
|
9983
10119
|
/**
|
|
10120
|
+
* This rule ensures that the maximum number of executions per run can either be left blank (unspecified) or, if provided, it must be a positive number greater than zero.
|
|
10121
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10122
|
+
* @public
|
|
10123
|
+
* @method
|
|
10124
|
+
*/
|
|
10125
|
+
ValidateMaxExecutionsPerRunIsNullOrPositive(result: ValidationResult): void;
|
|
10126
|
+
/**
|
|
9984
10127
|
* This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
|
|
9985
10128
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
9986
10129
|
* @public
|
|
@@ -9988,12 +10131,12 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
9988
10131
|
*/
|
|
9989
10132
|
ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
|
|
9990
10133
|
/**
|
|
9991
|
-
* This rule ensures that
|
|
10134
|
+
* This rule ensures that if context compression is enabled, all related settings (message threshold, prompt ID, and message retention count) must be specified. If context compression is not enabled, these settings may be left unspecified.
|
|
9992
10135
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
9993
10136
|
* @public
|
|
9994
10137
|
* @method
|
|
9995
10138
|
*/
|
|
9996
|
-
|
|
10139
|
+
ValidateEnableContextCompressionRequiresContextFields(result: ValidationResult): void;
|
|
9997
10140
|
/**
|
|
9998
10141
|
* This rule ensures that if both 'Minimum Executions Per Run' and 'Maximum Executions Per Run' are specified, the minimum must not be greater than the maximum. If either field is not specified, this rule does not apply.
|
|
9999
10142
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -10009,13 +10152,6 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
10009
10152
|
*/
|
|
10010
10153
|
ValidateParentIDMustBeNullIfExposeAsActionTrue(result: ValidationResult): void;
|
|
10011
10154
|
/**
|
|
10012
|
-
* This rule ensures that if context compression is enabled, all related settings (message threshold, prompt ID, and message retention count) must be specified. If context compression is not enabled, these settings may be left unspecified.
|
|
10013
|
-
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10014
|
-
* @public
|
|
10015
|
-
* @method
|
|
10016
|
-
*/
|
|
10017
|
-
ValidateEnableContextCompressionRequiresContextFields(result: ValidationResult): void;
|
|
10018
|
-
/**
|
|
10019
10155
|
* * Field Name: ID
|
|
10020
10156
|
* * Display Name: ID
|
|
10021
10157
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -10521,35 +10657,35 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
10521
10657
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10522
10658
|
/**
|
|
10523
10659
|
* Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10524
|
-
* * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
|
|
10525
10660
|
* * CostRank: This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
|
|
10526
10661
|
* * PowerRank: This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
|
|
10662
|
+
* * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
|
|
10527
10663
|
* @public
|
|
10528
10664
|
* @method
|
|
10529
10665
|
* @override
|
|
10530
10666
|
*/
|
|
10531
10667
|
Validate(): ValidationResult;
|
|
10532
10668
|
/**
|
|
10533
|
-
* This rule ensures that the
|
|
10669
|
+
* This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
|
|
10534
10670
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10535
10671
|
* @public
|
|
10536
10672
|
* @method
|
|
10537
10673
|
*/
|
|
10538
|
-
|
|
10674
|
+
ValidateCostRank(result: ValidationResult): void;
|
|
10539
10675
|
/**
|
|
10540
|
-
* This rule ensures that the
|
|
10676
|
+
* This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
|
|
10541
10677
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10542
10678
|
* @public
|
|
10543
10679
|
* @method
|
|
10544
10680
|
*/
|
|
10545
|
-
|
|
10681
|
+
ValidatePowerRank(result: ValidationResult): void;
|
|
10546
10682
|
/**
|
|
10547
|
-
* This rule ensures that the
|
|
10683
|
+
* This rule ensures that the speed rank must be zero or a positive number.
|
|
10548
10684
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10549
10685
|
* @public
|
|
10550
10686
|
* @method
|
|
10551
10687
|
*/
|
|
10552
|
-
|
|
10688
|
+
ValidateSpeedRank(result: ValidationResult): void;
|
|
10553
10689
|
/**
|
|
10554
10690
|
* * Field Name: ID
|
|
10555
10691
|
* * Display Name: ID
|
|
@@ -10850,35 +10986,35 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
10850
10986
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10851
10987
|
/**
|
|
10852
10988
|
* Validate() method override for AI Prompts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10853
|
-
* * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
10854
|
-
* * FailoverModelStrategy: This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
|
|
10855
|
-
* * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
10856
10989
|
* * CacheSimilarityThreshold: This rule ensures that if a cache similarity threshold is provided, it must be a value between 0 and 1, inclusive. If no value is provided, that's also allowed.
|
|
10857
10990
|
* * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
|
|
10858
|
-
* *
|
|
10991
|
+
* * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
10992
|
+
* * FailoverModelStrategy: This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
|
|
10993
|
+
* * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
10859
10994
|
* * Table-Level: This rule ensures that if the cache match type is set to 'Vector', the cache similarity threshold must be specified. If the match type is anything other than 'Vector', the similarity threshold can be left empty.
|
|
10860
|
-
* * Table-Level: This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
|
|
10861
|
-
* * Table-Level: This rule ensures that if the Parallelization Mode is set to 'ConfigParam', then the Parallel Config Param field must be filled in. For any other mode, the Parallel Config Param can be left empty.
|
|
10862
10995
|
* * Table-Level: This rule ensures that if the OutputType is set to 'object', an OutputExample must be provided. If the OutputType is anything other than 'object', providing an OutputExample is not required.
|
|
10996
|
+
* * Table-Level: This rule ensures that if the Parallelization Mode is set to 'ConfigParam', then the Parallel Config Param field must be filled in. For any other mode, the Parallel Config Param can be left empty.
|
|
10997
|
+
* * Table-Level: This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
|
|
10998
|
+
* * Table-Level: This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
|
|
10863
10999
|
* @public
|
|
10864
11000
|
* @method
|
|
10865
11001
|
* @override
|
|
10866
11002
|
*/
|
|
10867
11003
|
Validate(): ValidationResult;
|
|
10868
11004
|
/**
|
|
10869
|
-
* This rule ensures that
|
|
11005
|
+
* This rule ensures that if a cache similarity threshold is provided, it must be a value between 0 and 1, inclusive. If no value is provided, that's also allowed.
|
|
10870
11006
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10871
11007
|
* @public
|
|
10872
11008
|
* @method
|
|
10873
11009
|
*/
|
|
10874
|
-
|
|
11010
|
+
ValidateCacheSimilarityThresholdIsBetweenZeroAndOne(result: ValidationResult): void;
|
|
10875
11011
|
/**
|
|
10876
|
-
* This rule ensures that the
|
|
11012
|
+
* This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
|
|
10877
11013
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10878
11014
|
* @public
|
|
10879
11015
|
* @method
|
|
10880
11016
|
*/
|
|
10881
|
-
|
|
11017
|
+
ValidateCacheTTLSecondsGreaterThanZero(result: ValidationResult): void;
|
|
10882
11018
|
/**
|
|
10883
11019
|
* This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
|
|
10884
11020
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -10887,54 +11023,54 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
10887
11023
|
*/
|
|
10888
11024
|
ValidateFailoverErrorScopeAgainstAllowedValues(result: ValidationResult): void;
|
|
10889
11025
|
/**
|
|
10890
|
-
* This rule ensures that
|
|
11026
|
+
* This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
|
|
10891
11027
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10892
11028
|
* @public
|
|
10893
11029
|
* @method
|
|
10894
11030
|
*/
|
|
10895
|
-
|
|
11031
|
+
ValidateFailoverModelStrategyAgainstAllowedValues(result: ValidationResult): void;
|
|
10896
11032
|
/**
|
|
10897
|
-
* This rule ensures that
|
|
11033
|
+
* This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
|
|
10898
11034
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10899
11035
|
* @public
|
|
10900
11036
|
* @method
|
|
10901
11037
|
*/
|
|
10902
|
-
|
|
11038
|
+
ValidateFailoverStrategyAllowedValues(result: ValidationResult): void;
|
|
10903
11039
|
/**
|
|
10904
|
-
* This rule ensures that the
|
|
11040
|
+
* This rule ensures that if the cache match type is set to 'Vector', the cache similarity threshold must be specified. If the match type is anything other than 'Vector', the similarity threshold can be left empty.
|
|
10905
11041
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10906
11042
|
* @public
|
|
10907
11043
|
* @method
|
|
10908
11044
|
*/
|
|
10909
|
-
|
|
11045
|
+
ValidateCacheSimilarityThresholdRequiredForVectorCache(result: ValidationResult): void;
|
|
10910
11046
|
/**
|
|
10911
|
-
* This rule ensures that if the
|
|
11047
|
+
* This rule ensures that if the OutputType is set to 'object', an OutputExample must be provided. If the OutputType is anything other than 'object', providing an OutputExample is not required.
|
|
10912
11048
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10913
11049
|
* @public
|
|
10914
11050
|
* @method
|
|
10915
11051
|
*/
|
|
10916
|
-
|
|
11052
|
+
ValidateOutputExampleWhenOutputTypeObject(result: ValidationResult): void;
|
|
10917
11053
|
/**
|
|
10918
|
-
* This rule ensures that if the
|
|
11054
|
+
* This rule ensures that if the Parallelization Mode is set to 'ConfigParam', then the Parallel Config Param field must be filled in. For any other mode, the Parallel Config Param can be left empty.
|
|
10919
11055
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10920
11056
|
* @public
|
|
10921
11057
|
* @method
|
|
10922
11058
|
*/
|
|
10923
|
-
|
|
11059
|
+
ValidateParallelConfigParamRequiredForConfigParamMode(result: ValidationResult): void;
|
|
10924
11060
|
/**
|
|
10925
|
-
* This rule ensures that if the
|
|
11061
|
+
* This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
|
|
10926
11062
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10927
11063
|
* @public
|
|
10928
11064
|
* @method
|
|
10929
11065
|
*/
|
|
10930
|
-
|
|
11066
|
+
ValidateParallelCountWhenParallelizationModeIsStaticCount(result: ValidationResult): void;
|
|
10931
11067
|
/**
|
|
10932
|
-
* This rule ensures that
|
|
11068
|
+
* This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
|
|
10933
11069
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10934
11070
|
* @public
|
|
10935
11071
|
* @method
|
|
10936
11072
|
*/
|
|
10937
|
-
|
|
11073
|
+
ValidateResultSelectorPromptIDNotEqualID(result: ValidationResult): void;
|
|
10938
11074
|
/**
|
|
10939
11075
|
* * Field Name: ID
|
|
10940
11076
|
* * Display Name: ID
|
|
@@ -21183,27 +21319,27 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
21183
21319
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21184
21320
|
/**
|
|
21185
21321
|
* Validate() method override for MJ: AI Agent Run Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
21186
|
-
* * StepNumber: This rule ensures that the step number must always be greater than zero.
|
|
21187
21322
|
* * FinalPayloadValidationResult: This rule ensures that the FinalPayloadValidationResult field is either left blank or is set to one of the following values: 'Warn', 'Fail', 'Retry', or 'Pass'. No other values are allowed.
|
|
21323
|
+
* * StepNumber: This rule ensures that the step number must always be greater than zero.
|
|
21188
21324
|
* @public
|
|
21189
21325
|
* @method
|
|
21190
21326
|
* @override
|
|
21191
21327
|
*/
|
|
21192
21328
|
Validate(): ValidationResult;
|
|
21193
21329
|
/**
|
|
21194
|
-
* This rule ensures that the
|
|
21330
|
+
* This rule ensures that the FinalPayloadValidationResult field is either left blank or is set to one of the following values: 'Warn', 'Fail', 'Retry', or 'Pass'. No other values are allowed.
|
|
21195
21331
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21196
21332
|
* @public
|
|
21197
21333
|
* @method
|
|
21198
21334
|
*/
|
|
21199
|
-
|
|
21335
|
+
ValidateFinalPayloadValidationResultAllowedValues(result: ValidationResult): void;
|
|
21200
21336
|
/**
|
|
21201
|
-
* This rule ensures that the
|
|
21337
|
+
* This rule ensures that the step number must always be greater than zero.
|
|
21202
21338
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21203
21339
|
* @public
|
|
21204
21340
|
* @method
|
|
21205
21341
|
*/
|
|
21206
|
-
|
|
21342
|
+
ValidateStepNumberGreaterThanZero(result: ValidationResult): void;
|
|
21207
21343
|
/**
|
|
21208
21344
|
* * Field Name: ID
|
|
21209
21345
|
* * Display Name: ID
|
|
@@ -21708,6 +21844,380 @@ each time the agent processes a prompt step.
|
|
|
21708
21844
|
*/
|
|
21709
21845
|
get User(): string | null;
|
|
21710
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
|
+
}
|
|
21711
22221
|
/**
|
|
21712
22222
|
* MJ: AI Agent Types - strongly typed entity sub-class
|
|
21713
22223
|
* * Schema: __mj
|
|
@@ -21806,6 +22316,31 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
|
|
|
21806
22316
|
get DriverClass(): string | null;
|
|
21807
22317
|
set DriverClass(value: string | null);
|
|
21808
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
|
+
/**
|
|
21809
22344
|
* * Field Name: SystemPrompt
|
|
21810
22345
|
* * Display Name: System Prompt
|
|
21811
22346
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -22351,27 +22886,27 @@ export declare class AIModelPriceUnitTypeEntity extends BaseEntity<AIModelPriceU
|
|
|
22351
22886
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
22352
22887
|
/**
|
|
22353
22888
|
* Validate() method override for MJ: AI Model Price Unit Types entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
22354
|
-
* * Name: This rule ensures that the Name field cannot be empty or contain only spaces; it must have at least one non-space character.
|
|
22355
22889
|
* * DriverClass: This rule ensures that the DriverClass field cannot be empty or consist only of spaces. The value must contain at least one character when leading and trailing spaces are ignored.
|
|
22890
|
+
* * Name: This rule ensures that the Name field cannot be empty or contain only spaces; it must have at least one non-space character.
|
|
22356
22891
|
* @public
|
|
22357
22892
|
* @method
|
|
22358
22893
|
* @override
|
|
22359
22894
|
*/
|
|
22360
22895
|
Validate(): ValidationResult;
|
|
22361
22896
|
/**
|
|
22362
|
-
* This rule ensures that the
|
|
22897
|
+
* This rule ensures that the DriverClass field cannot be empty or consist only of spaces. The value must contain at least one character when leading and trailing spaces are ignored.
|
|
22363
22898
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22364
22899
|
* @public
|
|
22365
22900
|
* @method
|
|
22366
22901
|
*/
|
|
22367
|
-
|
|
22902
|
+
ValidateDriverClassNotEmpty(result: ValidationResult): void;
|
|
22368
22903
|
/**
|
|
22369
|
-
* This rule ensures that the
|
|
22904
|
+
* This rule ensures that the Name field cannot be empty or contain only spaces; it must have at least one non-space character.
|
|
22370
22905
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22371
22906
|
* @public
|
|
22372
22907
|
* @method
|
|
22373
22908
|
*/
|
|
22374
|
-
|
|
22909
|
+
ValidateNameNotEmptyOrWhitespace(result: ValidationResult): void;
|
|
22375
22910
|
/**
|
|
22376
22911
|
* * Field Name: ID
|
|
22377
22912
|
* * Display Name: ID
|
|
@@ -22445,35 +22980,35 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
|
|
|
22445
22980
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
22446
22981
|
/**
|
|
22447
22982
|
* Validate() method override for MJ: AI Model Vendors entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
22448
|
-
* * Priority: This rule ensures that the Priority value cannot be negative. It must be zero or greater.
|
|
22449
22983
|
* * MaxInputTokens: This rule ensures that if the MaxInputTokens field is specified, it must be zero or a positive number. It cannot be negative.
|
|
22450
22984
|
* * MaxOutputTokens: This rule ensures that the maximum output tokens value must be zero or higher. If no value is provided, that's also acceptable.
|
|
22985
|
+
* * Priority: This rule ensures that the Priority value cannot be negative. It must be zero or greater.
|
|
22451
22986
|
* @public
|
|
22452
22987
|
* @method
|
|
22453
22988
|
* @override
|
|
22454
22989
|
*/
|
|
22455
22990
|
Validate(): ValidationResult;
|
|
22456
22991
|
/**
|
|
22457
|
-
* This rule ensures that the
|
|
22992
|
+
* This rule ensures that if the MaxInputTokens field is specified, it must be zero or a positive number. It cannot be negative.
|
|
22458
22993
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22459
22994
|
* @public
|
|
22460
22995
|
* @method
|
|
22461
22996
|
*/
|
|
22462
|
-
|
|
22997
|
+
ValidateMaxInputTokensNonNegative(result: ValidationResult): void;
|
|
22463
22998
|
/**
|
|
22464
|
-
* This rule ensures that
|
|
22999
|
+
* This rule ensures that the maximum output tokens value must be zero or higher. If no value is provided, that's also acceptable.
|
|
22465
23000
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22466
23001
|
* @public
|
|
22467
23002
|
* @method
|
|
22468
23003
|
*/
|
|
22469
|
-
|
|
23004
|
+
ValidateMaxOutputTokensNotNegative(result: ValidationResult): void;
|
|
22470
23005
|
/**
|
|
22471
|
-
* This rule ensures that the
|
|
23006
|
+
* This rule ensures that the Priority value cannot be negative. It must be zero or greater.
|
|
22472
23007
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22473
23008
|
* @public
|
|
22474
23009
|
* @method
|
|
22475
23010
|
*/
|
|
22476
|
-
|
|
23011
|
+
ValidatePriorityIsNonNegative(result: ValidationResult): void;
|
|
22477
23012
|
/**
|
|
22478
23013
|
* * Field Name: ID
|
|
22479
23014
|
* * Display Name: ID
|
|
@@ -22657,9 +23192,9 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
|
|
|
22657
23192
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
22658
23193
|
/**
|
|
22659
23194
|
* Validate() method override for MJ: AI Prompt Models entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
22660
|
-
* * Priority: This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
|
|
22661
23195
|
* * ExecutionGroup: This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
|
|
22662
23196
|
* * ParallelCount: This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
|
|
23197
|
+
* * Priority: This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
|
|
22663
23198
|
* * Table-Level: This rule ensures that if the parallelization mode is 'None' or 'StaticCount', then the parallel config parameter must be empty. If the parallelization mode is 'ConfigParam', then the parallel config parameter must be provided.
|
|
22664
23199
|
* @public
|
|
22665
23200
|
* @method
|
|
@@ -22667,26 +23202,26 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
|
|
|
22667
23202
|
*/
|
|
22668
23203
|
Validate(): ValidationResult;
|
|
22669
23204
|
/**
|
|
22670
|
-
* This rule ensures that the
|
|
23205
|
+
* This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
|
|
22671
23206
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22672
23207
|
* @public
|
|
22673
23208
|
* @method
|
|
22674
23209
|
*/
|
|
22675
|
-
|
|
23210
|
+
ValidateExecutionGroupIsNonNegative(result: ValidationResult): void;
|
|
22676
23211
|
/**
|
|
22677
|
-
* This rule ensures that the
|
|
23212
|
+
* This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
|
|
22678
23213
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22679
23214
|
* @public
|
|
22680
23215
|
* @method
|
|
22681
23216
|
*/
|
|
22682
|
-
|
|
23217
|
+
ValidateParallelCountAtLeastOne(result: ValidationResult): void;
|
|
22683
23218
|
/**
|
|
22684
|
-
* This rule ensures that the
|
|
23219
|
+
* This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
|
|
22685
23220
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22686
23221
|
* @public
|
|
22687
23222
|
* @method
|
|
22688
23223
|
*/
|
|
22689
|
-
|
|
23224
|
+
ValidatePriorityIsNonNegative(result: ValidationResult): void;
|
|
22690
23225
|
/**
|
|
22691
23226
|
* This rule ensures that if the parallelization mode is 'None' or 'StaticCount', then the parallel config parameter must be empty. If the parallelization mode is 'ConfigParam', then the parallel config parameter must be provided.
|
|
22692
23227
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -22875,27 +23410,27 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
22875
23410
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
22876
23411
|
/**
|
|
22877
23412
|
* Validate() method override for MJ: AI Prompt Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
22878
|
-
* * Table-Level: This rule ensures that either both TokensPrompt and TokensCompletion are missing, or TokensUsed is missing, or, if all values are present, the value of TokensUsed equals the sum of TokensPrompt and TokensCompletion.
|
|
22879
23413
|
* * Table-Level: This rule ensures that if the 'CompletedAt' field has a value, it must be on or after the 'RunAt' field. Otherwise, if 'CompletedAt' is empty, there is no restriction.
|
|
23414
|
+
* * Table-Level: This rule ensures that either both TokensPrompt and TokensCompletion are missing, or TokensUsed is missing, or, if all values are present, the value of TokensUsed equals the sum of TokensPrompt and TokensCompletion.
|
|
22880
23415
|
* @public
|
|
22881
23416
|
* @method
|
|
22882
23417
|
* @override
|
|
22883
23418
|
*/
|
|
22884
23419
|
Validate(): ValidationResult;
|
|
22885
23420
|
/**
|
|
22886
|
-
* This rule ensures that
|
|
23421
|
+
* This rule ensures that if the 'CompletedAt' field has a value, it must be on or after the 'RunAt' field. Otherwise, if 'CompletedAt' is empty, there is no restriction.
|
|
22887
23422
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22888
23423
|
* @public
|
|
22889
23424
|
* @method
|
|
22890
23425
|
*/
|
|
22891
|
-
|
|
23426
|
+
ValidateCompletedAtIsNullOrAfterRunAt(result: ValidationResult): void;
|
|
22892
23427
|
/**
|
|
22893
|
-
* This rule ensures that
|
|
23428
|
+
* This rule ensures that either both TokensPrompt and TokensCompletion are missing, or TokensUsed is missing, or, if all values are present, the value of TokensUsed equals the sum of TokensPrompt and TokensCompletion.
|
|
22894
23429
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
22895
23430
|
* @public
|
|
22896
23431
|
* @method
|
|
22897
23432
|
*/
|
|
22898
|
-
|
|
23433
|
+
ValidateTokensUsedSumMatchesPromptAndCompletion(result: ValidationResult): void;
|
|
22899
23434
|
/**
|
|
22900
23435
|
* * Field Name: ID
|
|
22901
23436
|
* * Display Name: ID
|
|
@@ -23393,6 +23928,15 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
23393
23928
|
get TotalFailoverDuration(): number | null;
|
|
23394
23929
|
set TotalFailoverDuration(value: number | null);
|
|
23395
23930
|
/**
|
|
23931
|
+
* * Field Name: RerunFromPromptRunID
|
|
23932
|
+
* * Display Name: Rerun From Prompt Run ID
|
|
23933
|
+
* * SQL Data Type: uniqueidentifier
|
|
23934
|
+
* * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)
|
|
23935
|
+
* * Description: If this run was initiated as a re-run of another prompt run, this field links back to the original run ID
|
|
23936
|
+
*/
|
|
23937
|
+
get RerunFromPromptRunID(): string | null;
|
|
23938
|
+
set RerunFromPromptRunID(value: string | null);
|
|
23939
|
+
/**
|
|
23396
23940
|
* * Field Name: Prompt
|
|
23397
23941
|
* * Display Name: Prompt
|
|
23398
23942
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27884,27 +28428,27 @@ export declare class SchemaInfoEntity extends BaseEntity<SchemaInfoEntityType> {
|
|
|
27884
28428
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27885
28429
|
/**
|
|
27886
28430
|
* Validate() method override for Schema Info entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
27887
|
-
* * Table-Level: This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
|
|
27888
28431
|
* * Table-Level: This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
|
|
28432
|
+
* * Table-Level: This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
|
|
27889
28433
|
* @public
|
|
27890
28434
|
* @method
|
|
27891
28435
|
* @override
|
|
27892
28436
|
*/
|
|
27893
28437
|
Validate(): ValidationResult;
|
|
27894
28438
|
/**
|
|
27895
|
-
* This rule ensures that
|
|
28439
|
+
* This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
|
|
27896
28440
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
27897
28441
|
* @public
|
|
27898
28442
|
* @method
|
|
27899
28443
|
*/
|
|
27900
|
-
|
|
28444
|
+
ValidateEntityIDMaxGreaterThanEntityIDMin(result: ValidationResult): void;
|
|
27901
28445
|
/**
|
|
27902
|
-
* This rule ensures that the maximum entity
|
|
28446
|
+
* This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
|
|
27903
28447
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
27904
28448
|
* @public
|
|
27905
28449
|
* @method
|
|
27906
28450
|
*/
|
|
27907
|
-
|
|
28451
|
+
ValidateEntityIDMinAndEntityIDMaxGreaterThanZero(result: ValidationResult): void;
|
|
27908
28452
|
/**
|
|
27909
28453
|
* * Field Name: ID
|
|
27910
28454
|
* * Display Name: ID
|