@memberjunction/core-entities 2.70.0 → 2.72.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.
@@ -684,6 +684,8 @@ export declare const AIAgentSchema: z.ZodObject<{
684
684
  MaxTimePerRun: z.ZodNullable<z.ZodNumber>;
685
685
  MinExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
686
686
  MaxExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
687
+ StartingPayloadValidation: z.ZodNullable<z.ZodString>;
688
+ StartingPayloadValidationMode: z.ZodUnion<[z.ZodLiteral<"Fail">, z.ZodLiteral<"Warn">]>;
687
689
  Parent: z.ZodNullable<z.ZodString>;
688
690
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
689
691
  Type: z.ZodNullable<z.ZodString>;
@@ -723,6 +725,8 @@ export declare const AIAgentSchema: z.ZodObject<{
723
725
  MaxTokensPerRun?: number;
724
726
  MaxIterationsPerRun?: number;
725
727
  MaxTimePerRun?: number;
728
+ StartingPayloadValidation?: string;
729
+ StartingPayloadValidationMode?: "Fail" | "Warn";
726
730
  ContextCompressionPrompt?: string;
727
731
  }, {
728
732
  ID?: string;
@@ -760,6 +764,8 @@ export declare const AIAgentSchema: z.ZodObject<{
760
764
  MaxTokensPerRun?: number;
761
765
  MaxIterationsPerRun?: number;
762
766
  MaxTimePerRun?: number;
767
+ StartingPayloadValidation?: string;
768
+ StartingPayloadValidationMode?: "Fail" | "Warn";
763
769
  ContextCompressionPrompt?: string;
764
770
  }>;
765
771
  export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
@@ -9232,8 +9238,8 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9232
9238
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
9233
9239
  /**
9234
9240
  * 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
- * * 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.
9236
9241
  * * 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.
9242
+ * * 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.
9237
9243
  * * 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.
9238
9244
  * @public
9239
9245
  * @method
@@ -9241,19 +9247,19 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9241
9247
  */
9242
9248
  Validate(): ValidationResult;
9243
9249
  /**
9244
- * 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.
9250
+ * 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
9251
  * @param result - the ValidationResult object to add any errors or warnings to
9246
9252
  * @public
9247
9253
  * @method
9248
9254
  */
9249
- ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9255
+ ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
9250
9256
  /**
9251
- * 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.
9257
+ * 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.
9252
9258
  * @param result - the ValidationResult object to add any errors or warnings to
9253
9259
  * @public
9254
9260
  * @method
9255
9261
  */
9256
- ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
9262
+ ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9257
9263
  /**
9258
9264
  * 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.
9259
9265
  * @param result - the ValidationResult object to add any errors or warnings to
@@ -10172,7 +10178,7 @@ Retry mode. After reaching this limit, the validation will fail permanently.
10172
10178
  * * Display Name: Max Cost Per Run
10173
10179
  * * SQL Data Type: decimal(10, 4)
10174
10180
  * * Description: Maximum cost in dollars allowed for a single agent run. Run will be terminated
10175
- if this limit is exceeded.
10181
+ if this limit is exceeded.
10176
10182
  */
10177
10183
  get MaxCostPerRun(): number | null;
10178
10184
  set MaxCostPerRun(value: number | null);
@@ -10181,7 +10187,7 @@ Retry mode. After reaching this limit, the validation will fail permanently.
10181
10187
  * * Display Name: Max Tokens Per Run
10182
10188
  * * SQL Data Type: int
10183
10189
  * * Description: Maximum total tokens (input + output) allowed for a single agent run. Run will
10184
- be terminated if this limit is exceeded.
10190
+ be terminated if this limit is exceeded.
10185
10191
  */
10186
10192
  get MaxTokensPerRun(): number | null;
10187
10193
  set MaxTokensPerRun(value: number | null);
@@ -10190,7 +10196,7 @@ Retry mode. After reaching this limit, the validation will fail permanently.
10190
10196
  * * Display Name: Max Iterations Per Run
10191
10197
  * * SQL Data Type: int
10192
10198
  * * Description: Maximum number of prompt iterations allowed for a single agent run. Run will be
10193
- terminated if this limit is exceeded.
10199
+ terminated if this limit is exceeded.
10194
10200
  */
10195
10201
  get MaxIterationsPerRun(): number | null;
10196
10202
  set MaxIterationsPerRun(value: number | null);
@@ -10199,7 +10205,7 @@ Retry mode. After reaching this limit, the validation will fail permanently.
10199
10205
  * * Display Name: Max Time Per Run
10200
10206
  * * SQL Data Type: int
10201
10207
  * * Description: Maximum time in seconds allowed for a single agent run. Run will be terminated
10202
- if this limit is exceeded.
10208
+ if this limit is exceeded.
10203
10209
  */
10204
10210
  get MaxTimePerRun(): number | null;
10205
10211
  set MaxTimePerRun(value: number | null);
@@ -10220,6 +10226,29 @@ Retry mode. After reaching this limit, the validation will fail permanently.
10220
10226
  get MaxExecutionsPerRun(): number | null;
10221
10227
  set MaxExecutionsPerRun(value: number | null);
10222
10228
  /**
10229
+ * * Field Name: StartingPayloadValidation
10230
+ * * Display Name: Starting Payload Validation
10231
+ * * SQL Data Type: nvarchar(MAX)
10232
+ * * Description: Optional JSON schema validation to apply to the input payload before agent execution begins. Uses the same JSONValidator
10233
+ format as FinalPayloadValidation.
10234
+ */
10235
+ get StartingPayloadValidation(): string | null;
10236
+ set StartingPayloadValidation(value: string | null);
10237
+ /**
10238
+ * * Field Name: StartingPayloadValidationMode
10239
+ * * Display Name: Starting Payload Validation Mode
10240
+ * * SQL Data Type: nvarchar(25)
10241
+ * * Default Value: Fail
10242
+ * * Value List Type: List
10243
+ * * Possible Values
10244
+ * * Fail
10245
+ * * Warn
10246
+ * * Description: Determines how to handle StartingPayloadValidation failures. Fail = reject invalid input, Warn = log warning but
10247
+ proceed.
10248
+ */
10249
+ get StartingPayloadValidationMode(): 'Fail' | 'Warn';
10250
+ set StartingPayloadValidationMode(value: 'Fail' | 'Warn');
10251
+ /**
10223
10252
  * * Field Name: Parent
10224
10253
  * * Display Name: Parent
10225
10254
  * * SQL Data Type: nvarchar(255)
@@ -21367,7 +21396,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
21367
21396
  * * SQL Data Type: int
21368
21397
  * * Default Value: 0
21369
21398
  * * Description: Total number of prompt iterations executed during this agent run. Incremented
21370
- each time the agent processes a prompt step.
21399
+ each time the agent processes a prompt step.
21371
21400
  */
21372
21401
  get TotalPromptIterations(): number;
21373
21402
  set TotalPromptIterations(value: number);