@memberjunction/core-entities 2.68.0 → 2.69.1

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.
@@ -432,6 +432,8 @@ export declare const AIAgentActionSchema: z.ZodObject<{
432
432
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Revoked">]>;
433
433
  __mj_CreatedAt: z.ZodDate;
434
434
  __mj_UpdatedAt: z.ZodDate;
435
+ MinExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
436
+ MaxExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
435
437
  Agent: z.ZodNullable<z.ZodString>;
436
438
  Action: z.ZodNullable<z.ZodString>;
437
439
  }, "strip", z.ZodTypeAny, {
@@ -442,6 +444,8 @@ export declare const AIAgentActionSchema: z.ZodObject<{
442
444
  Action?: string;
443
445
  Status?: "Active" | "Pending" | "Revoked";
444
446
  AgentID?: string;
447
+ MinExecutionsPerRun?: number;
448
+ MaxExecutionsPerRun?: number;
445
449
  Agent?: string;
446
450
  }, {
447
451
  ID?: string;
@@ -451,6 +455,8 @@ export declare const AIAgentActionSchema: z.ZodObject<{
451
455
  Action?: string;
452
456
  Status?: "Active" | "Pending" | "Revoked";
453
457
  AgentID?: string;
458
+ MinExecutionsPerRun?: number;
459
+ MaxExecutionsPerRun?: number;
454
460
  Agent?: string;
455
461
  }>;
456
462
  export type AIAgentActionEntityType = z.infer<typeof AIAgentActionSchema>;
@@ -668,6 +674,16 @@ export declare const AIAgentSchema: z.ZodObject<{
668
674
  PayloadUpstreamPaths: z.ZodString;
669
675
  PayloadSelfReadPaths: z.ZodNullable<z.ZodString>;
670
676
  PayloadSelfWritePaths: z.ZodNullable<z.ZodString>;
677
+ PayloadScope: z.ZodNullable<z.ZodString>;
678
+ FinalPayloadValidation: z.ZodNullable<z.ZodString>;
679
+ FinalPayloadValidationMode: z.ZodUnion<[z.ZodLiteral<"Retry">, z.ZodLiteral<"Fail">, z.ZodLiteral<"Warn">]>;
680
+ FinalPayloadValidationMaxRetries: z.ZodNumber;
681
+ MaxCostPerRun: z.ZodNullable<z.ZodNumber>;
682
+ MaxTokensPerRun: z.ZodNullable<z.ZodNumber>;
683
+ MaxIterationsPerRun: z.ZodNullable<z.ZodNumber>;
684
+ MaxTimePerRun: z.ZodNullable<z.ZodNumber>;
685
+ MinExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
686
+ MaxExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
671
687
  Parent: z.ZodNullable<z.ZodString>;
672
688
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
673
689
  Type: z.ZodNullable<z.ZodString>;
@@ -683,6 +699,8 @@ export declare const AIAgentSchema: z.ZodObject<{
683
699
  Type?: string;
684
700
  DriverClass?: string;
685
701
  IconClass?: string;
702
+ MinExecutionsPerRun?: number;
703
+ MaxExecutionsPerRun?: number;
686
704
  LogoURL?: string;
687
705
  ExposeAsAction?: boolean;
688
706
  ExecutionOrder?: number;
@@ -697,6 +715,14 @@ export declare const AIAgentSchema: z.ZodObject<{
697
715
  PayloadUpstreamPaths?: string;
698
716
  PayloadSelfReadPaths?: string;
699
717
  PayloadSelfWritePaths?: string;
718
+ PayloadScope?: string;
719
+ FinalPayloadValidation?: string;
720
+ FinalPayloadValidationMode?: "Retry" | "Fail" | "Warn";
721
+ FinalPayloadValidationMaxRetries?: number;
722
+ MaxCostPerRun?: number;
723
+ MaxTokensPerRun?: number;
724
+ MaxIterationsPerRun?: number;
725
+ MaxTimePerRun?: number;
700
726
  ContextCompressionPrompt?: string;
701
727
  }, {
702
728
  ID?: string;
@@ -710,6 +736,8 @@ export declare const AIAgentSchema: z.ZodObject<{
710
736
  Type?: string;
711
737
  DriverClass?: string;
712
738
  IconClass?: string;
739
+ MinExecutionsPerRun?: number;
740
+ MaxExecutionsPerRun?: number;
713
741
  LogoURL?: string;
714
742
  ExposeAsAction?: boolean;
715
743
  ExecutionOrder?: number;
@@ -724,6 +752,14 @@ export declare const AIAgentSchema: z.ZodObject<{
724
752
  PayloadUpstreamPaths?: string;
725
753
  PayloadSelfReadPaths?: string;
726
754
  PayloadSelfWritePaths?: string;
755
+ PayloadScope?: string;
756
+ FinalPayloadValidation?: string;
757
+ FinalPayloadValidationMode?: "Retry" | "Fail" | "Warn";
758
+ FinalPayloadValidationMaxRetries?: number;
759
+ MaxCostPerRun?: number;
760
+ MaxTokensPerRun?: number;
761
+ MaxIterationsPerRun?: number;
762
+ MaxTimePerRun?: number;
727
763
  ContextCompressionPrompt?: string;
728
764
  }>;
729
765
  export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
@@ -982,7 +1018,7 @@ export declare const AIPromptSchema: z.ZodObject<{
982
1018
  ParallelConfigParam?: string;
983
1019
  OutputType?: "string" | "number" | "boolean" | "object" | "date";
984
1020
  OutputExample?: string;
985
- ValidationBehavior?: "None" | "Strict" | "Warn";
1021
+ ValidationBehavior?: "Warn" | "None" | "Strict";
986
1022
  MaxRetries?: number;
987
1023
  RetryDelayMS?: number;
988
1024
  RetryStrategy?: "Fixed" | "Exponential" | "Linear";
@@ -1038,7 +1074,7 @@ export declare const AIPromptSchema: z.ZodObject<{
1038
1074
  ParallelConfigParam?: string;
1039
1075
  OutputType?: "string" | "number" | "boolean" | "object" | "date";
1040
1076
  OutputExample?: string;
1041
- ValidationBehavior?: "None" | "Strict" | "Warn";
1077
+ ValidationBehavior?: "Warn" | "None" | "Strict";
1042
1078
  MaxRetries?: number;
1043
1079
  RetryDelayMS?: number;
1044
1080
  RetryStrategy?: "Fixed" | "Exponential" | "Linear";
@@ -4667,6 +4703,8 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
4667
4703
  TargetLogID: z.ZodNullable<z.ZodString>;
4668
4704
  PayloadAtStart: z.ZodNullable<z.ZodString>;
4669
4705
  PayloadAtEnd: z.ZodNullable<z.ZodString>;
4706
+ FinalPayloadValidationResult: z.ZodNullable<z.ZodString>;
4707
+ FinalPayloadValidationMessages: z.ZodNullable<z.ZodString>;
4670
4708
  }, "strip", z.ZodTypeAny, {
4671
4709
  ID?: string;
4672
4710
  __mj_CreatedAt?: Date;
@@ -4686,6 +4724,8 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
4686
4724
  TargetLogID?: string;
4687
4725
  PayloadAtStart?: string;
4688
4726
  PayloadAtEnd?: string;
4727
+ FinalPayloadValidationResult?: string;
4728
+ FinalPayloadValidationMessages?: string;
4689
4729
  }, {
4690
4730
  ID?: string;
4691
4731
  __mj_CreatedAt?: Date;
@@ -4705,6 +4745,8 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
4705
4745
  TargetLogID?: string;
4706
4746
  PayloadAtStart?: string;
4707
4747
  PayloadAtEnd?: string;
4748
+ FinalPayloadValidationResult?: string;
4749
+ FinalPayloadValidationMessages?: string;
4708
4750
  }>;
4709
4751
  export type AIAgentRunStepEntityType = z.infer<typeof AIAgentRunStepSchema>;
4710
4752
  /**
@@ -4741,6 +4783,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4741
4783
  Message: z.ZodNullable<z.ZodString>;
4742
4784
  LastRunID: z.ZodNullable<z.ZodString>;
4743
4785
  StartingPayload: z.ZodNullable<z.ZodString>;
4786
+ TotalPromptIterations: z.ZodNumber;
4744
4787
  Agent: z.ZodNullable<z.ZodString>;
4745
4788
  Conversation: z.ZodNullable<z.ZodString>;
4746
4789
  User: z.ZodNullable<z.ZodString>;
@@ -4775,9 +4818,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4775
4818
  ConversationDetailID?: string;
4776
4819
  ConversationDetailSequence?: number;
4777
4820
  CancellationReason?: "System" | "User Request" | "Timeout";
4778
- FinalStep?: "Failed" | "Success" | "Actions" | "Sub-Agent" | "Chat" | "Retry";
4821
+ FinalStep?: "Failed" | "Retry" | "Success" | "Actions" | "Sub-Agent" | "Chat";
4779
4822
  FinalPayload?: string;
4780
4823
  StartingPayload?: string;
4824
+ TotalPromptIterations?: number;
4781
4825
  }, {
4782
4826
  ID?: string;
4783
4827
  __mj_CreatedAt?: Date;
@@ -4809,9 +4853,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4809
4853
  ConversationDetailID?: string;
4810
4854
  ConversationDetailSequence?: number;
4811
4855
  CancellationReason?: "System" | "User Request" | "Timeout";
4812
- FinalStep?: "Failed" | "Success" | "Actions" | "Sub-Agent" | "Chat" | "Retry";
4856
+ FinalStep?: "Failed" | "Retry" | "Success" | "Actions" | "Sub-Agent" | "Chat";
4813
4857
  FinalPayload?: string;
4814
4858
  StartingPayload?: string;
4859
+ TotalPromptIterations?: number;
4815
4860
  }>;
4816
4861
  export type AIAgentRunEntityType = z.infer<typeof AIAgentRunSchema>;
4817
4862
  /**
@@ -9186,6 +9231,37 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9186
9231
  */
9187
9232
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
9188
9233
  /**
9234
+ * 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:
9235
+ * * 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.
9236
+ * * 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.
9237
+ * * 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.
9238
+ * @public
9239
+ * @method
9240
+ * @override
9241
+ */
9242
+ Validate(): ValidationResult;
9243
+ /**
9244
+ * 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.
9245
+ * @param result - the ValidationResult object to add any errors or warnings to
9246
+ * @public
9247
+ * @method
9248
+ */
9249
+ ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
9250
+ /**
9251
+ * 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.
9252
+ * @param result - the ValidationResult object to add any errors or warnings to
9253
+ * @public
9254
+ * @method
9255
+ */
9256
+ ValidateMinExecutionsPerRunLessThanOrEqualToMax(result: ValidationResult): void;
9257
+ /**
9258
+ * 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.
9259
+ * @param result - the ValidationResult object to add any errors or warnings to
9260
+ * @public
9261
+ * @method
9262
+ */
9263
+ ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9264
+ /**
9189
9265
  * * Field Name: ID
9190
9266
  * * Display Name: ID
9191
9267
  * * SQL Data Type: uniqueidentifier
@@ -9240,6 +9316,22 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9240
9316
  */
9241
9317
  get __mj_UpdatedAt(): Date;
9242
9318
  /**
9319
+ * * Field Name: MinExecutionsPerRun
9320
+ * * Display Name: Min Executions Per Run
9321
+ * * SQL Data Type: int
9322
+ * * Description: Minimum number of times this action must be executed per agent run
9323
+ */
9324
+ get MinExecutionsPerRun(): number | null;
9325
+ set MinExecutionsPerRun(value: number | null);
9326
+ /**
9327
+ * * Field Name: MaxExecutionsPerRun
9328
+ * * Display Name: Max Executions Per Run
9329
+ * * SQL Data Type: int
9330
+ * * Description: Maximum number of times this action can be executed per agent run
9331
+ */
9332
+ get MaxExecutionsPerRun(): number | null;
9333
+ set MaxExecutionsPerRun(value: number | null);
9334
+ /**
9243
9335
  * * Field Name: Agent
9244
9336
  * * Display Name: Agent
9245
9337
  * * SQL Data Type: nvarchar(255)
@@ -9790,6 +9882,9 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9790
9882
  * 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:
9791
9883
  * * 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.
9792
9884
  * * 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.
9885
+ * * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
9886
+ * * 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.
9887
+ * * 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.
9793
9888
  * @public
9794
9889
  * @method
9795
9890
  * @override
@@ -9810,6 +9905,27 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9810
9905
  */
9811
9906
  ValidateEnableContextCompressionRequiresContextFields(result: ValidationResult): void;
9812
9907
  /**
9908
+ * This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
9909
+ * @param result - the ValidationResult object to add any errors or warnings to
9910
+ * @public
9911
+ * @method
9912
+ */
9913
+ ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9914
+ /**
9915
+ * 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.
9916
+ * @param result - the ValidationResult object to add any errors or warnings to
9917
+ * @public
9918
+ * @method
9919
+ */
9920
+ ValidateMinExecutionsPerRunLessThanOrEqualToMaxExecutionsPerRun(result: ValidationResult): void;
9921
+ /**
9922
+ * 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.
9923
+ * @param result - the ValidationResult object to add any errors or warnings to
9924
+ * @public
9925
+ * @method
9926
+ */
9927
+ ValidateMaxExecutionsPerRunIsNullOrPositive(result: ValidationResult): void;
9928
+ /**
9813
9929
  * * Field Name: ID
9814
9930
  * * Display Name: ID
9815
9931
  * * SQL Data Type: uniqueidentifier
@@ -10012,6 +10128,98 @@ data flow when the agent executes its own prompt step.
10012
10128
  get PayloadSelfWritePaths(): string | null;
10013
10129
  set PayloadSelfWritePaths(value: string | null);
10014
10130
  /**
10131
+ * * Field Name: PayloadScope
10132
+ * * Display Name: Payload Scope
10133
+ * * SQL Data Type: nvarchar(MAX)
10134
+ * * Description: Defines the scope/path within the parent payload that this sub-agent operates on. When set, the sub-agent receives only this portion of the payload and all change requests are relative to this scope. Format: /path/to/scope (e.g. /PropA/SubProp1)
10135
+ */
10136
+ get PayloadScope(): string | null;
10137
+ set PayloadScope(value: string | null);
10138
+ /**
10139
+ * * Field Name: FinalPayloadValidation
10140
+ * * Display Name: Final Payload Validation
10141
+ * * SQL Data Type: nvarchar(MAX)
10142
+ * * Description: Optional JSON schema or requirements that define the expected structure and content of the agent's final payload. Used to validate the output when the agent declares success. Similar to OutputExample in AI Prompts.
10143
+ */
10144
+ get FinalPayloadValidation(): string | null;
10145
+ set FinalPayloadValidation(value: string | null);
10146
+ /**
10147
+ * * Field Name: FinalPayloadValidationMode
10148
+ * * Display Name: Final Payload Validation Mode
10149
+ * * SQL Data Type: nvarchar(25)
10150
+ * * Default Value: Retry
10151
+ * * Value List Type: List
10152
+ * * Possible Values
10153
+ * * Retry
10154
+ * * Fail
10155
+ * * Warn
10156
+ * * Description: Determines how to handle validation failures when FinalPayloadValidation is specified. Options: Retry (default) - retry the agent with validation feedback, Fail - fail the agent run immediately, Warn - log a warning but allow success.
10157
+ */
10158
+ get FinalPayloadValidationMode(): 'Retry' | 'Fail' | 'Warn';
10159
+ set FinalPayloadValidationMode(value: 'Retry' | 'Fail' | 'Warn');
10160
+ /**
10161
+ * * Field Name: FinalPayloadValidationMaxRetries
10162
+ * * Display Name: Final Payload Validation Max Retries
10163
+ * * SQL Data Type: int
10164
+ * * Default Value: 3
10165
+ * * Description: Maximum number of retry attempts allowed when FinalPayloadValidation fails with
10166
+ Retry mode. After reaching this limit, the validation will fail permanently.
10167
+ */
10168
+ get FinalPayloadValidationMaxRetries(): number;
10169
+ set FinalPayloadValidationMaxRetries(value: number);
10170
+ /**
10171
+ * * Field Name: MaxCostPerRun
10172
+ * * Display Name: Max Cost Per Run
10173
+ * * SQL Data Type: decimal(10, 4)
10174
+ * * Description: Maximum cost in dollars allowed for a single agent run. Run will be terminated
10175
+ if this limit is exceeded.
10176
+ */
10177
+ get MaxCostPerRun(): number | null;
10178
+ set MaxCostPerRun(value: number | null);
10179
+ /**
10180
+ * * Field Name: MaxTokensPerRun
10181
+ * * Display Name: Max Tokens Per Run
10182
+ * * SQL Data Type: int
10183
+ * * Description: Maximum total tokens (input + output) allowed for a single agent run. Run will
10184
+ be terminated if this limit is exceeded.
10185
+ */
10186
+ get MaxTokensPerRun(): number | null;
10187
+ set MaxTokensPerRun(value: number | null);
10188
+ /**
10189
+ * * Field Name: MaxIterationsPerRun
10190
+ * * Display Name: Max Iterations Per Run
10191
+ * * SQL Data Type: int
10192
+ * * Description: Maximum number of prompt iterations allowed for a single agent run. Run will be
10193
+ terminated if this limit is exceeded.
10194
+ */
10195
+ get MaxIterationsPerRun(): number | null;
10196
+ set MaxIterationsPerRun(value: number | null);
10197
+ /**
10198
+ * * Field Name: MaxTimePerRun
10199
+ * * Display Name: Max Time Per Run
10200
+ * * SQL Data Type: int
10201
+ * * Description: Maximum time in seconds allowed for a single agent run. Run will be terminated
10202
+ if this limit is exceeded.
10203
+ */
10204
+ get MaxTimePerRun(): number | null;
10205
+ set MaxTimePerRun(value: number | null);
10206
+ /**
10207
+ * * Field Name: MinExecutionsPerRun
10208
+ * * Display Name: Min Executions Per Run
10209
+ * * SQL Data Type: int
10210
+ * * Description: When acting as a sub-agent, minimum number of times this agent must be executed per parent agent run
10211
+ */
10212
+ get MinExecutionsPerRun(): number | null;
10213
+ set MinExecutionsPerRun(value: number | null);
10214
+ /**
10215
+ * * Field Name: MaxExecutionsPerRun
10216
+ * * Display Name: Max Executions Per Run
10217
+ * * SQL Data Type: int
10218
+ * * Description: When acting as a sub-agent, maximum number of times this agent can be executed per parent agent run
10219
+ */
10220
+ get MaxExecutionsPerRun(): number | null;
10221
+ set MaxExecutionsPerRun(value: number | null);
10222
+ /**
10015
10223
  * * Field Name: Parent
10016
10224
  * * Display Name: Parent
10017
10225
  * * SQL Data Type: nvarchar(255)
@@ -20658,6 +20866,7 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
20658
20866
  /**
20659
20867
  * 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:
20660
20868
  * * StepNumber: This rule ensures that the step number must always be greater than zero.
20869
+ * * 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.
20661
20870
  * @public
20662
20871
  * @method
20663
20872
  * @override
@@ -20671,6 +20880,13 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
20671
20880
  */
20672
20881
  ValidateStepNumberGreaterThanZero(result: ValidationResult): void;
20673
20882
  /**
20883
+ * 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.
20884
+ * @param result - the ValidationResult object to add any errors or warnings to
20885
+ * @public
20886
+ * @method
20887
+ */
20888
+ ValidateFinalPayloadValidationResultAllowedValues(result: ValidationResult): void;
20889
+ /**
20674
20890
  * * Field Name: ID
20675
20891
  * * Display Name: ID
20676
20892
  * * SQL Data Type: uniqueidentifier
@@ -20831,6 +21047,25 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
20831
21047
  */
20832
21048
  get PayloadAtEnd(): string | null;
20833
21049
  set PayloadAtEnd(value: string | null);
21050
+ /**
21051
+ * * Field Name: FinalPayloadValidationResult
21052
+ * * Display Name: Final Payload Validation Result
21053
+ * * SQL Data Type: nvarchar(25)
21054
+ * * Description: Result of the final payload validation for this step. Pass indicates successful
21055
+ validation, Retry means validation failed but will retry, Fail means validation failed
21056
+ permanently, Warn means validation failed but execution continues.
21057
+ */
21058
+ get FinalPayloadValidationResult(): string | null;
21059
+ set FinalPayloadValidationResult(value: string | null);
21060
+ /**
21061
+ * * Field Name: FinalPayloadValidationMessages
21062
+ * * Display Name: Final Payload Validation Messages
21063
+ * * SQL Data Type: nvarchar(MAX)
21064
+ * * Description: Validation error messages or warnings from final payload validation. Contains
21065
+ detailed information about what validation rules failed.
21066
+ */
21067
+ get FinalPayloadValidationMessages(): string | null;
21068
+ set FinalPayloadValidationMessages(value: string | null);
20834
21069
  }
20835
21070
  /**
20836
21071
  * MJ: AI Agent Runs - strongly typed entity sub-class
@@ -21127,6 +21362,16 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
21127
21362
  get StartingPayload(): string | null;
21128
21363
  set StartingPayload(value: string | null);
21129
21364
  /**
21365
+ * * Field Name: TotalPromptIterations
21366
+ * * Display Name: Total Prompt Iterations
21367
+ * * SQL Data Type: int
21368
+ * * Default Value: 0
21369
+ * * Description: Total number of prompt iterations executed during this agent run. Incremented
21370
+ each time the agent processes a prompt step.
21371
+ */
21372
+ get TotalPromptIterations(): number;
21373
+ set TotalPromptIterations(value: number);
21374
+ /**
21130
21375
  * * Field Name: Agent
21131
21376
  * * Display Name: Agent
21132
21377
  * * SQL Data Type: nvarchar(255)