@memberjunction/core-entities 2.74.0 → 2.75.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.
@@ -5284,6 +5284,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5284
5284
  OriginalModelID: z.ZodNullable<z.ZodString>;
5285
5285
  OriginalRequestStartTime: z.ZodNullable<z.ZodDate>;
5286
5286
  TotalFailoverDuration: z.ZodNullable<z.ZodNumber>;
5287
+ RerunFromPromptRunID: z.ZodNullable<z.ZodString>;
5287
5288
  Prompt: z.ZodString;
5288
5289
  Model: z.ZodString;
5289
5290
  Vendor: z.ZodString;
@@ -5356,6 +5357,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5356
5357
  OriginalModelID?: string;
5357
5358
  OriginalRequestStartTime?: Date;
5358
5359
  TotalFailoverDuration?: number;
5360
+ RerunFromPromptRunID?: string;
5359
5361
  OriginalModel?: string;
5360
5362
  }, {
5361
5363
  ID?: string;
@@ -5423,6 +5425,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5423
5425
  OriginalModelID?: string;
5424
5426
  OriginalRequestStartTime?: Date;
5425
5427
  TotalFailoverDuration?: number;
5428
+ RerunFromPromptRunID?: string;
5426
5429
  OriginalModel?: string;
5427
5430
  }>;
5428
5431
  export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
@@ -9318,8 +9321,8 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9318
9321
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
9319
9322
  /**
9320
9323
  * 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
9324
  * * 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.
9325
+ * * 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
9326
  * * 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
9327
  * @public
9325
9328
  * @method
@@ -9327,19 +9330,19 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
9327
9330
  */
9328
9331
  Validate(): ValidationResult;
9329
9332
  /**
9330
- * 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.
9333
+ * 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
9334
  * @param result - the ValidationResult object to add any errors or warnings to
9332
9335
  * @public
9333
9336
  * @method
9334
9337
  */
9335
- ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9338
+ ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
9336
9339
  /**
9337
- * 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.
9340
+ * 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
9341
  * @param result - the ValidationResult object to add any errors or warnings to
9339
9342
  * @public
9340
9343
  * @method
9341
9344
  */
9342
- ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
9345
+ ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9343
9346
  /**
9344
9347
  * 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
9348
  * @param result - the ValidationResult object to add any errors or warnings to
@@ -9970,17 +9973,24 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9970
9973
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
9971
9974
  /**
9972
9975
  * 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
9976
  * * 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.
9977
+ * * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
9978
+ * * 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
9979
  * * 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
9980
  * * 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
9981
  * @public
9979
9982
  * @method
9980
9983
  * @override
9981
9984
  */
9982
9985
  Validate(): ValidationResult;
9983
9986
  /**
9987
+ * 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.
9988
+ * @param result - the ValidationResult object to add any errors or warnings to
9989
+ * @public
9990
+ * @method
9991
+ */
9992
+ ValidateMaxExecutionsPerRunIsNullOrPositive(result: ValidationResult): void;
9993
+ /**
9984
9994
  * This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
9985
9995
  * @param result - the ValidationResult object to add any errors or warnings to
9986
9996
  * @public
@@ -9988,12 +9998,12 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9988
9998
  */
9989
9999
  ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
9990
10000
  /**
9991
- * 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.
10001
+ * 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
10002
  * @param result - the ValidationResult object to add any errors or warnings to
9993
10003
  * @public
9994
10004
  * @method
9995
10005
  */
9996
- ValidateMaxExecutionsPerRunIsNullOrPositive(result: ValidationResult): void;
10006
+ ValidateEnableContextCompressionRequiresContextFields(result: ValidationResult): void;
9997
10007
  /**
9998
10008
  * 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
10009
  * @param result - the ValidationResult object to add any errors or warnings to
@@ -10009,13 +10019,6 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
10009
10019
  */
10010
10020
  ValidateParentIDMustBeNullIfExposeAsActionTrue(result: ValidationResult): void;
10011
10021
  /**
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
10022
  * * Field Name: ID
10020
10023
  * * Display Name: ID
10021
10024
  * * SQL Data Type: uniqueidentifier
@@ -10521,35 +10524,35 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
10521
10524
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
10522
10525
  /**
10523
10526
  * 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
10527
  * * 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
10528
  * * PowerRank: This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
10529
+ * * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
10527
10530
  * @public
10528
10531
  * @method
10529
10532
  * @override
10530
10533
  */
10531
10534
  Validate(): ValidationResult;
10532
10535
  /**
10533
- * This rule ensures that the speed rank must be zero or a positive number.
10536
+ * 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
10537
  * @param result - the ValidationResult object to add any errors or warnings to
10535
10538
  * @public
10536
10539
  * @method
10537
10540
  */
10538
- ValidateSpeedRank(result: ValidationResult): void;
10541
+ ValidateCostRank(result: ValidationResult): void;
10539
10542
  /**
10540
- * This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
10543
+ * This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
10541
10544
  * @param result - the ValidationResult object to add any errors or warnings to
10542
10545
  * @public
10543
10546
  * @method
10544
10547
  */
10545
- ValidateCostRank(result: ValidationResult): void;
10548
+ ValidatePowerRank(result: ValidationResult): void;
10546
10549
  /**
10547
- * This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
10550
+ * This rule ensures that the speed rank must be zero or a positive number.
10548
10551
  * @param result - the ValidationResult object to add any errors or warnings to
10549
10552
  * @public
10550
10553
  * @method
10551
10554
  */
10552
- ValidatePowerRank(result: ValidationResult): void;
10555
+ ValidateSpeedRank(result: ValidationResult): void;
10553
10556
  /**
10554
10557
  * * Field Name: ID
10555
10558
  * * Display Name: ID
@@ -10850,35 +10853,35 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10850
10853
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
10851
10854
  /**
10852
10855
  * 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
10856
  * * 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
10857
  * * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
10858
- * * 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.
10858
+ * * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
10859
+ * * 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.
10860
+ * * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
10859
10861
  * * 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
10862
  * * 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.
10863
+ * * 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.
10864
+ * * Table-Level: This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
10865
+ * * 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
10866
  * @public
10864
10867
  * @method
10865
10868
  * @override
10866
10869
  */
10867
10870
  Validate(): ValidationResult;
10868
10871
  /**
10869
- * This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
10872
+ * 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
10873
  * @param result - the ValidationResult object to add any errors or warnings to
10871
10874
  * @public
10872
10875
  * @method
10873
10876
  */
10874
- ValidateFailoverStrategyAllowedValues(result: ValidationResult): void;
10877
+ ValidateCacheSimilarityThresholdIsBetweenZeroAndOne(result: ValidationResult): void;
10875
10878
  /**
10876
- * This rule ensures that the value for FailoverModelStrategy is either 'RequireSameModel', 'PreferDifferentModel', 'PreferSameModel', or left blank (not set). Any other value is not allowed.
10879
+ * This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
10877
10880
  * @param result - the ValidationResult object to add any errors or warnings to
10878
10881
  * @public
10879
10882
  * @method
10880
10883
  */
10881
- ValidateFailoverModelStrategyAgainstAllowedValues(result: ValidationResult): void;
10884
+ ValidateCacheTTLSecondsGreaterThanZero(result: ValidationResult): void;
10882
10885
  /**
10883
10886
  * This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
10884
10887
  * @param result - the ValidationResult object to add any errors or warnings to
@@ -10887,54 +10890,54 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10887
10890
  */
10888
10891
  ValidateFailoverErrorScopeAgainstAllowedValues(result: ValidationResult): void;
10889
10892
  /**
10890
- * 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.
10893
+ * 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
10894
  * @param result - the ValidationResult object to add any errors or warnings to
10892
10895
  * @public
10893
10896
  * @method
10894
10897
  */
10895
- ValidateCacheSimilarityThresholdIsBetweenZeroAndOne(result: ValidationResult): void;
10898
+ ValidateFailoverModelStrategyAgainstAllowedValues(result: ValidationResult): void;
10896
10899
  /**
10897
- * This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
10900
+ * This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
10898
10901
  * @param result - the ValidationResult object to add any errors or warnings to
10899
10902
  * @public
10900
10903
  * @method
10901
10904
  */
10902
- ValidateCacheTTLSecondsGreaterThanZero(result: ValidationResult): void;
10905
+ ValidateFailoverStrategyAllowedValues(result: ValidationResult): void;
10903
10906
  /**
10904
- * This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
10907
+ * 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
10908
  * @param result - the ValidationResult object to add any errors or warnings to
10906
10909
  * @public
10907
10910
  * @method
10908
10911
  */
10909
- ValidateResultSelectorPromptIDNotEqualID(result: ValidationResult): void;
10912
+ ValidateCacheSimilarityThresholdRequiredForVectorCache(result: ValidationResult): void;
10910
10913
  /**
10911
- * 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.
10914
+ * 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
10915
  * @param result - the ValidationResult object to add any errors or warnings to
10913
10916
  * @public
10914
10917
  * @method
10915
10918
  */
10916
- ValidateCacheSimilarityThresholdRequiredForVectorCache(result: ValidationResult): void;
10919
+ ValidateOutputExampleWhenOutputTypeObject(result: ValidationResult): void;
10917
10920
  /**
10918
- * This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
10921
+ * 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
10922
  * @param result - the ValidationResult object to add any errors or warnings to
10920
10923
  * @public
10921
10924
  * @method
10922
10925
  */
10923
- ValidateParallelCountWhenParallelizationModeIsStaticCount(result: ValidationResult): void;
10926
+ ValidateParallelConfigParamRequiredForConfigParamMode(result: ValidationResult): void;
10924
10927
  /**
10925
- * 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.
10928
+ * This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
10926
10929
  * @param result - the ValidationResult object to add any errors or warnings to
10927
10930
  * @public
10928
10931
  * @method
10929
10932
  */
10930
- ValidateParallelConfigParamRequiredForConfigParamMode(result: ValidationResult): void;
10933
+ ValidateParallelCountWhenParallelizationModeIsStaticCount(result: ValidationResult): void;
10931
10934
  /**
10932
- * 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.
10935
+ * 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
10936
  * @param result - the ValidationResult object to add any errors or warnings to
10934
10937
  * @public
10935
10938
  * @method
10936
10939
  */
10937
- ValidateOutputExampleWhenOutputTypeObject(result: ValidationResult): void;
10940
+ ValidateResultSelectorPromptIDNotEqualID(result: ValidationResult): void;
10938
10941
  /**
10939
10942
  * * Field Name: ID
10940
10943
  * * Display Name: ID
@@ -21183,27 +21186,27 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
21183
21186
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
21184
21187
  /**
21185
21188
  * 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
21189
  * * 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.
21190
+ * * StepNumber: This rule ensures that the step number must always be greater than zero.
21188
21191
  * @public
21189
21192
  * @method
21190
21193
  * @override
21191
21194
  */
21192
21195
  Validate(): ValidationResult;
21193
21196
  /**
21194
- * This rule ensures that the step number must always be greater than zero.
21197
+ * 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
21198
  * @param result - the ValidationResult object to add any errors or warnings to
21196
21199
  * @public
21197
21200
  * @method
21198
21201
  */
21199
- ValidateStepNumberGreaterThanZero(result: ValidationResult): void;
21202
+ ValidateFinalPayloadValidationResultAllowedValues(result: ValidationResult): void;
21200
21203
  /**
21201
- * 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.
21204
+ * This rule ensures that the step number must always be greater than zero.
21202
21205
  * @param result - the ValidationResult object to add any errors or warnings to
21203
21206
  * @public
21204
21207
  * @method
21205
21208
  */
21206
- ValidateFinalPayloadValidationResultAllowedValues(result: ValidationResult): void;
21209
+ ValidateStepNumberGreaterThanZero(result: ValidationResult): void;
21207
21210
  /**
21208
21211
  * * Field Name: ID
21209
21212
  * * Display Name: ID
@@ -22351,27 +22354,27 @@ export declare class AIModelPriceUnitTypeEntity extends BaseEntity<AIModelPriceU
22351
22354
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
22352
22355
  /**
22353
22356
  * 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
22357
  * * 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.
22358
+ * * 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
22359
  * @public
22357
22360
  * @method
22358
22361
  * @override
22359
22362
  */
22360
22363
  Validate(): ValidationResult;
22361
22364
  /**
22362
- * This rule ensures that the Name field cannot be empty or contain only spaces; it must have at least one non-space character.
22365
+ * 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
22366
  * @param result - the ValidationResult object to add any errors or warnings to
22364
22367
  * @public
22365
22368
  * @method
22366
22369
  */
22367
- ValidateNameNotEmptyOrWhitespace(result: ValidationResult): void;
22370
+ ValidateDriverClassNotEmpty(result: ValidationResult): void;
22368
22371
  /**
22369
- * 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.
22372
+ * This rule ensures that the Name field cannot be empty or contain only spaces; it must have at least one non-space character.
22370
22373
  * @param result - the ValidationResult object to add any errors or warnings to
22371
22374
  * @public
22372
22375
  * @method
22373
22376
  */
22374
- ValidateDriverClassNotEmpty(result: ValidationResult): void;
22377
+ ValidateNameNotEmptyOrWhitespace(result: ValidationResult): void;
22375
22378
  /**
22376
22379
  * * Field Name: ID
22377
22380
  * * Display Name: ID
@@ -22445,35 +22448,35 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
22445
22448
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
22446
22449
  /**
22447
22450
  * 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
22451
  * * MaxInputTokens: This rule ensures that if the MaxInputTokens field is specified, it must be zero or a positive number. It cannot be negative.
22450
22452
  * * MaxOutputTokens: This rule ensures that the maximum output tokens value must be zero or higher. If no value is provided, that's also acceptable.
22453
+ * * Priority: This rule ensures that the Priority value cannot be negative. It must be zero or greater.
22451
22454
  * @public
22452
22455
  * @method
22453
22456
  * @override
22454
22457
  */
22455
22458
  Validate(): ValidationResult;
22456
22459
  /**
22457
- * This rule ensures that the Priority value cannot be negative. It must be zero or greater.
22460
+ * This rule ensures that if the MaxInputTokens field is specified, it must be zero or a positive number. It cannot be negative.
22458
22461
  * @param result - the ValidationResult object to add any errors or warnings to
22459
22462
  * @public
22460
22463
  * @method
22461
22464
  */
22462
- ValidatePriorityIsNonNegative(result: ValidationResult): void;
22465
+ ValidateMaxInputTokensNonNegative(result: ValidationResult): void;
22463
22466
  /**
22464
- * This rule ensures that if the MaxInputTokens field is specified, it must be zero or a positive number. It cannot be negative.
22467
+ * This rule ensures that the maximum output tokens value must be zero or higher. If no value is provided, that's also acceptable.
22465
22468
  * @param result - the ValidationResult object to add any errors or warnings to
22466
22469
  * @public
22467
22470
  * @method
22468
22471
  */
22469
- ValidateMaxInputTokensNonNegative(result: ValidationResult): void;
22472
+ ValidateMaxOutputTokensNotNegative(result: ValidationResult): void;
22470
22473
  /**
22471
- * This rule ensures that the maximum output tokens value must be zero or higher. If no value is provided, that's also acceptable.
22474
+ * This rule ensures that the Priority value cannot be negative. It must be zero or greater.
22472
22475
  * @param result - the ValidationResult object to add any errors or warnings to
22473
22476
  * @public
22474
22477
  * @method
22475
22478
  */
22476
- ValidateMaxOutputTokensNotNegative(result: ValidationResult): void;
22479
+ ValidatePriorityIsNonNegative(result: ValidationResult): void;
22477
22480
  /**
22478
22481
  * * Field Name: ID
22479
22482
  * * Display Name: ID
@@ -22657,9 +22660,9 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
22657
22660
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
22658
22661
  /**
22659
22662
  * 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
22663
  * * ExecutionGroup: This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
22662
22664
  * * ParallelCount: This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
22665
+ * * Priority: This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
22663
22666
  * * 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
22667
  * @public
22665
22668
  * @method
@@ -22667,26 +22670,26 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
22667
22670
  */
22668
22671
  Validate(): ValidationResult;
22669
22672
  /**
22670
- * This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
22673
+ * This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
22671
22674
  * @param result - the ValidationResult object to add any errors or warnings to
22672
22675
  * @public
22673
22676
  * @method
22674
22677
  */
22675
- ValidatePriorityIsNonNegative(result: ValidationResult): void;
22678
+ ValidateExecutionGroupIsNonNegative(result: ValidationResult): void;
22676
22679
  /**
22677
- * This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
22680
+ * This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
22678
22681
  * @param result - the ValidationResult object to add any errors or warnings to
22679
22682
  * @public
22680
22683
  * @method
22681
22684
  */
22682
- ValidateExecutionGroupIsNonNegative(result: ValidationResult): void;
22685
+ ValidateParallelCountAtLeastOne(result: ValidationResult): void;
22683
22686
  /**
22684
- * This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
22687
+ * This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
22685
22688
  * @param result - the ValidationResult object to add any errors or warnings to
22686
22689
  * @public
22687
22690
  * @method
22688
22691
  */
22689
- ValidateParallelCountAtLeastOne(result: ValidationResult): void;
22692
+ ValidatePriorityIsNonNegative(result: ValidationResult): void;
22690
22693
  /**
22691
22694
  * 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
22695
  * @param result - the ValidationResult object to add any errors or warnings to
@@ -22875,27 +22878,27 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
22875
22878
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
22876
22879
  /**
22877
22880
  * 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
22881
  * * 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.
22882
+ * * 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
22883
  * @public
22881
22884
  * @method
22882
22885
  * @override
22883
22886
  */
22884
22887
  Validate(): ValidationResult;
22885
22888
  /**
22886
- * 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.
22889
+ * 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
22890
  * @param result - the ValidationResult object to add any errors or warnings to
22888
22891
  * @public
22889
22892
  * @method
22890
22893
  */
22891
- ValidateTokensUsedSumMatchesPromptAndCompletion(result: ValidationResult): void;
22894
+ ValidateCompletedAtIsNullOrAfterRunAt(result: ValidationResult): void;
22892
22895
  /**
22893
- * 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.
22896
+ * 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
22897
  * @param result - the ValidationResult object to add any errors or warnings to
22895
22898
  * @public
22896
22899
  * @method
22897
22900
  */
22898
- ValidateCompletedAtIsNullOrAfterRunAt(result: ValidationResult): void;
22901
+ ValidateTokensUsedSumMatchesPromptAndCompletion(result: ValidationResult): void;
22899
22902
  /**
22900
22903
  * * Field Name: ID
22901
22904
  * * Display Name: ID
@@ -23393,6 +23396,15 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
23393
23396
  get TotalFailoverDuration(): number | null;
23394
23397
  set TotalFailoverDuration(value: number | null);
23395
23398
  /**
23399
+ * * Field Name: RerunFromPromptRunID
23400
+ * * Display Name: Rerun From Prompt Run ID
23401
+ * * SQL Data Type: uniqueidentifier
23402
+ * * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)
23403
+ * * Description: If this run was initiated as a re-run of another prompt run, this field links back to the original run ID
23404
+ */
23405
+ get RerunFromPromptRunID(): string | null;
23406
+ set RerunFromPromptRunID(value: string | null);
23407
+ /**
23396
23408
  * * Field Name: Prompt
23397
23409
  * * Display Name: Prompt
23398
23410
  * * SQL Data Type: nvarchar(255)
@@ -27884,27 +27896,27 @@ export declare class SchemaInfoEntity extends BaseEntity<SchemaInfoEntityType> {
27884
27896
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27885
27897
  /**
27886
27898
  * 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
27899
  * * 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.
27900
+ * * Table-Level: This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
27889
27901
  * @public
27890
27902
  * @method
27891
27903
  * @override
27892
27904
  */
27893
27905
  Validate(): ValidationResult;
27894
27906
  /**
27895
- * This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
27907
+ * 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
27908
  * @param result - the ValidationResult object to add any errors or warnings to
27897
27909
  * @public
27898
27910
  * @method
27899
27911
  */
27900
- ValidateEntityIDMinAndEntityIDMaxGreaterThanZero(result: ValidationResult): void;
27912
+ ValidateEntityIDMaxGreaterThanEntityIDMin(result: ValidationResult): void;
27901
27913
  /**
27902
- * 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.
27914
+ * This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
27903
27915
  * @param result - the ValidationResult object to add any errors or warnings to
27904
27916
  * @public
27905
27917
  * @method
27906
27918
  */
27907
- ValidateEntityIDMaxGreaterThanEntityIDMin(result: ValidationResult): void;
27919
+ ValidateEntityIDMinAndEntityIDMaxGreaterThanZero(result: ValidationResult): void;
27908
27920
  /**
27909
27921
  * * Field Name: ID
27910
27922
  * * Display Name: ID