@memberjunction/core-entities 2.80.1 → 2.82.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.
@@ -1220,6 +1220,11 @@ if this limit is exceeded.`),
1220
1220
  * * Fail
1221
1221
  * * Warn
1222
1222
  * * Description: Determines how to handle StartingPayloadValidation failures. Fail = reject invalid input, Warn = log warning but proceed.`),
1223
+ DefaultPromptEffortLevel: zod_1.z.number().nullable().describe(`
1224
+ * * Field Name: DefaultPromptEffortLevel
1225
+ * * Display Name: Default Prompt Effort Level
1226
+ * * SQL Data Type: int
1227
+ * * Description: Default effort level for all prompts executed by this agent (1-100, where 1=minimal effort, 100=maximum effort). Takes precedence over individual prompt EffortLevel settings but can be overridden by runtime parameters. Inherited by sub-agents unless explicitly overridden.`),
1223
1228
  Parent: zod_1.z.string().nullable().describe(`
1224
1229
  * * Field Name: Parent
1225
1230
  * * Display Name: Parent
@@ -1805,6 +1810,11 @@ exports.AIPromptSchema = zod_1.z.object({
1805
1810
  * * SQL Data Type: nvarchar(50)
1806
1811
  * * Default Value: All
1807
1812
  * * Description: Types of errors that should trigger failover. Options: All, NetworkOnly, RateLimitOnly, ServiceErrorOnly`),
1813
+ EffortLevel: zod_1.z.number().nullable().describe(`
1814
+ * * Field Name: EffortLevel
1815
+ * * Display Name: Effort Level
1816
+ * * SQL Data Type: int
1817
+ * * Description: Effort level for this specific prompt (1-100, where 1=minimal effort, 100=maximum effort). Higher values request more thorough reasoning and analysis. Can be overridden by agent DefaultPromptEffortLevel or runtime parameters.`),
1808
1818
  Template: zod_1.z.string().describe(`
1809
1819
  * * Field Name: Template
1810
1820
  * * Display Name: Template
@@ -4856,6 +4866,11 @@ exports.EntitySchema = zod_1.z.object({
4856
4866
  * * Deprecated
4857
4867
  * * Disabled
4858
4868
  * * Description: Status of the entity. Active: fully functional; Deprecated: functional but generates console warnings when used; Disabled: not available for use even though metadata and physical table remain.`),
4869
+ DisplayName: zod_1.z.string().nullable().describe(`
4870
+ * * Field Name: DisplayName
4871
+ * * Display Name: Display Name
4872
+ * * SQL Data Type: nvarchar(255)
4873
+ * * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.`),
4859
4874
  CodeName: zod_1.z.string().nullable().describe(`
4860
4875
  * * Field Name: CodeName
4861
4876
  * * Display Name: Code Name
@@ -7588,6 +7603,11 @@ each time the agent processes a prompt step.`),
7588
7603
  * * SQL Data Type: bit
7589
7604
  * * Default Value: 0
7590
7605
  * * Description: Indicates whether verbose logging was enabled during this agent execution. When true, detailed decision-making and execution flow was logged.`),
7606
+ EffortLevel: zod_1.z.number().nullable().describe(`
7607
+ * * Field Name: EffortLevel
7608
+ * * Display Name: Effort Level
7609
+ * * SQL Data Type: int
7610
+ * * Description: Effort level that was actually used during this agent run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt defaults.`),
7591
7611
  Agent: zod_1.z.string().nullable().describe(`
7592
7612
  * * Field Name: Agent
7593
7613
  * * Display Name: Agent
@@ -8271,7 +8291,7 @@ exports.AIModelVendorSchema = zod_1.z.object({
8271
8291
  * * Display Name: Updated At
8272
8292
  * * SQL Data Type: datetimeoffset
8273
8293
  * * Default Value: getutcdate()`),
8274
- TypeID: zod_1.z.string().nullable().describe(`
8294
+ TypeID: zod_1.z.string().describe(`
8275
8295
  * * Field Name: TypeID
8276
8296
  * * Display Name: Type ID
8277
8297
  * * SQL Data Type: uniqueidentifier
@@ -8285,7 +8305,7 @@ exports.AIModelVendorSchema = zod_1.z.object({
8285
8305
  * * Field Name: Vendor
8286
8306
  * * Display Name: Vendor
8287
8307
  * * SQL Data Type: nvarchar(50)`),
8288
- Type: zod_1.z.string().nullable().describe(`
8308
+ Type: zod_1.z.string().describe(`
8289
8309
  * * Field Name: Type
8290
8310
  * * Display Name: Type
8291
8311
  * * SQL Data Type: nvarchar(50)`),
@@ -8843,6 +8863,11 @@ exports.AIPromptRunSchema = zod_1.z.object({
8843
8863
  * * Display Name: Model Specific Response Details
8844
8864
  * * SQL Data Type: nvarchar(MAX)
8845
8865
  * * Description: JSON field containing provider-specific response metadata and details not captured in standard fields. Structure varies by AI provider.`),
8866
+ EffortLevel: zod_1.z.number().nullable().describe(`
8867
+ * * Field Name: EffortLevel
8868
+ * * Display Name: Effort Level
8869
+ * * SQL Data Type: int
8870
+ * * Description: Effort level that was actually used during this prompt run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt default > provider default.`),
8846
8871
  Prompt: zod_1.z.string().describe(`
8847
8872
  * * Field Name: Prompt
8848
8873
  * * Display Name: Prompt
@@ -9660,6 +9685,28 @@ exports.QuerySchema = zod_1.z.object({
9660
9685
  * * SQL Data Type: bit
9661
9686
  * * Default Value: 0
9662
9687
  * * Description: Automatically set to true when the SQL column contains Nunjucks template markers (e.g., {{ paramName }}). This flag is maintained by the QueryEntityServer for performance optimization and discovery purposes. It allows quick filtering of parameterized queries and enables the UI to show parameter inputs only when needed. The system will automatically update this flag when the SQL content changes.`),
9688
+ AuditQueryRuns: zod_1.z.boolean().describe(`
9689
+ * * Field Name: AuditQueryRuns
9690
+ * * Display Name: Audit Query Runs
9691
+ * * SQL Data Type: bit
9692
+ * * Default Value: 0
9693
+ * * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance`),
9694
+ CacheEnabled: zod_1.z.boolean().describe(`
9695
+ * * Field Name: CacheEnabled
9696
+ * * Display Name: Cache Enabled
9697
+ * * SQL Data Type: bit
9698
+ * * Default Value: 0
9699
+ * * Description: When true, query results will be cached in memory with TTL expiration`),
9700
+ CacheTTLMinutes: zod_1.z.number().nullable().describe(`
9701
+ * * Field Name: CacheTTLMinutes
9702
+ * * Display Name: Cache TTL Minutes
9703
+ * * SQL Data Type: int
9704
+ * * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.`),
9705
+ CacheMaxSize: zod_1.z.number().nullable().describe(`
9706
+ * * Field Name: CacheMaxSize
9707
+ * * Display Name: Cache Max Size
9708
+ * * SQL Data Type: int
9709
+ * * Description: Maximum number of cached result sets for this query. NULL uses default size limit.`),
9663
9710
  Category: zod_1.z.string().nullable().describe(`
9664
9711
  * * Field Name: Category
9665
9712
  * * Display Name: Category
@@ -9702,6 +9749,28 @@ exports.QueryCategorySchema = zod_1.z.object({
9702
9749
  * * Display Name: __mj _Updated At
9703
9750
  * * SQL Data Type: datetimeoffset
9704
9751
  * * Default Value: getutcdate()`),
9752
+ DefaultCacheEnabled: zod_1.z.boolean().describe(`
9753
+ * * Field Name: DefaultCacheEnabled
9754
+ * * Display Name: Default Cache Enabled
9755
+ * * SQL Data Type: bit
9756
+ * * Default Value: 0
9757
+ * * Description: Default cache setting for queries in this category`),
9758
+ DefaultCacheTTLMinutes: zod_1.z.number().nullable().describe(`
9759
+ * * Field Name: DefaultCacheTTLMinutes
9760
+ * * Display Name: Default Cache TTL Minutes
9761
+ * * SQL Data Type: int
9762
+ * * Description: Default TTL in minutes for cached results of queries in this category`),
9763
+ DefaultCacheMaxSize: zod_1.z.number().nullable().describe(`
9764
+ * * Field Name: DefaultCacheMaxSize
9765
+ * * Display Name: Default Cache Max Size
9766
+ * * SQL Data Type: int
9767
+ * * Description: Default maximum cache size for queries in this category`),
9768
+ CacheInheritanceEnabled: zod_1.z.boolean().describe(`
9769
+ * * Field Name: CacheInheritanceEnabled
9770
+ * * Display Name: Cache Inheritance Enabled
9771
+ * * SQL Data Type: bit
9772
+ * * Default Value: 1
9773
+ * * Description: When true, queries without cache config will inherit from this category`),
9705
9774
  Parent: zod_1.z.string().nullable().describe(`
9706
9775
  * * Field Name: Parent
9707
9776
  * * Display Name: Parent
@@ -15402,6 +15471,7 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
15402
15471
  }
15403
15472
  /**
15404
15473
  * 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:
15474
+ * * DefaultPromptEffortLevel: This rule ensures that the DefaultPromptEffortLevel must always be a value between 1 and 100, inclusive.
15405
15475
  * * 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.
15406
15476
  * * MinExecutionsPerRun: This rule ensures that if the minimum executions per run value is provided, it must be zero or greater.
15407
15477
  * * 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.
@@ -15413,6 +15483,7 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
15413
15483
  */
15414
15484
  Validate() {
15415
15485
  const result = super.Validate();
15486
+ this.ValidateDefaultPromptEffortLevelWithinRange(result);
15416
15487
  this.ValidateMaxExecutionsPerRunIsNullOrPositive(result);
15417
15488
  this.ValidateMinExecutionsPerRunIsNonNegative(result);
15418
15489
  this.ValidateEnableContextCompressionRequiresContextFields(result);
@@ -15421,6 +15492,17 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
15421
15492
  return result;
15422
15493
  }
15423
15494
  /**
15495
+ * This rule ensures that the DefaultPromptEffortLevel must always be a value between 1 and 100, inclusive.
15496
+ * @param result - the ValidationResult object to add any errors or warnings to
15497
+ * @public
15498
+ * @method
15499
+ */
15500
+ ValidateDefaultPromptEffortLevelWithinRange(result) {
15501
+ if (this.DefaultPromptEffortLevel < 1 || this.DefaultPromptEffortLevel > 100) {
15502
+ result.Errors.push(new core_1.ValidationErrorInfo("DefaultPromptEffortLevel", "DefaultPromptEffortLevel must be between 1 and 100.", this.DefaultPromptEffortLevel, core_1.ValidationErrorType.Failure));
15503
+ }
15504
+ }
15505
+ /**
15424
15506
  * 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.
15425
15507
  * @param result - the ValidationResult object to add any errors or warnings to
15426
15508
  * @public
@@ -15935,6 +16017,18 @@ if this limit is exceeded.
15935
16017
  this.Set('StartingPayloadValidationMode', value);
15936
16018
  }
15937
16019
  /**
16020
+ * * Field Name: DefaultPromptEffortLevel
16021
+ * * Display Name: Default Prompt Effort Level
16022
+ * * SQL Data Type: int
16023
+ * * Description: Default effort level for all prompts executed by this agent (1-100, where 1=minimal effort, 100=maximum effort). Takes precedence over individual prompt EffortLevel settings but can be overridden by runtime parameters. Inherited by sub-agents unless explicitly overridden.
16024
+ */
16025
+ get DefaultPromptEffortLevel() {
16026
+ return this.Get('DefaultPromptEffortLevel');
16027
+ }
16028
+ set DefaultPromptEffortLevel(value) {
16029
+ this.Set('DefaultPromptEffortLevel', value);
16030
+ }
16031
+ /**
15938
16032
  * * Field Name: Parent
15939
16033
  * * Display Name: Parent
15940
16034
  * * SQL Data Type: nvarchar(255)
@@ -16662,6 +16756,7 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
16662
16756
  * 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:
16663
16757
  * * 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.
16664
16758
  * * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
16759
+ * * EffortLevel: This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
16665
16760
  * * FailoverErrorScope: This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
16666
16761
  * * 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.
16667
16762
  * * FailoverStrategy: This rule ensures that the FailoverStrategy field, if specified, must be either 'None', 'PowerRank', 'NextBestModel', 'SameModelDifferentVendor', or left blank (unset).
@@ -16678,6 +16773,7 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
16678
16773
  const result = super.Validate();
16679
16774
  this.ValidateCacheSimilarityThresholdIsBetweenZeroAndOne(result);
16680
16775
  this.ValidateCacheTTLSecondsGreaterThanZero(result);
16776
+ this.ValidateEffortLevelIsWithinRange(result);
16681
16777
  this.ValidateFailoverErrorScopeAgainstAllowedValues(result);
16682
16778
  this.ValidateFailoverModelStrategyAgainstAllowedValues(result);
16683
16779
  this.ValidateFailoverStrategyAllowedValues(result);
@@ -16711,6 +16807,17 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
16711
16807
  }
16712
16808
  }
16713
16809
  /**
16810
+ * This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
16811
+ * @param result - the ValidationResult object to add any errors or warnings to
16812
+ * @public
16813
+ * @method
16814
+ */
16815
+ ValidateEffortLevelIsWithinRange(result) {
16816
+ if (this.EffortLevel < 1 || this.EffortLevel > 100) {
16817
+ result.Errors.push(new core_1.ValidationErrorInfo("EffortLevel", "EffortLevel must be between 1 and 100.", this.EffortLevel, core_1.ValidationErrorType.Failure));
16818
+ }
16819
+ }
16820
+ /**
16714
16821
  * This rule ensures that the FailoverErrorScope field can only be set to 'ServiceErrorOnly', 'RateLimitOnly', 'NetworkOnly', 'All', or left empty.
16715
16822
  * @param result - the ValidationResult object to add any errors or warnings to
16716
16823
  * @public
@@ -17490,6 +17597,18 @@ let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
17490
17597
  this.Set('FailoverErrorScope', value);
17491
17598
  }
17492
17599
  /**
17600
+ * * Field Name: EffortLevel
17601
+ * * Display Name: Effort Level
17602
+ * * SQL Data Type: int
17603
+ * * Description: Effort level for this specific prompt (1-100, where 1=minimal effort, 100=maximum effort). Higher values request more thorough reasoning and analysis. Can be overridden by agent DefaultPromptEffortLevel or runtime parameters.
17604
+ */
17605
+ get EffortLevel() {
17606
+ return this.Get('EffortLevel');
17607
+ }
17608
+ set EffortLevel(value) {
17609
+ this.Set('EffortLevel', value);
17610
+ }
17611
+ /**
17493
17612
  * * Field Name: Template
17494
17613
  * * Display Name: Template
17495
17614
  * * SQL Data Type: nvarchar(255)
@@ -25290,6 +25409,18 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
25290
25409
  this.Set('Status', value);
25291
25410
  }
25292
25411
  /**
25412
+ * * Field Name: DisplayName
25413
+ * * Display Name: Display Name
25414
+ * * SQL Data Type: nvarchar(255)
25415
+ * * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.
25416
+ */
25417
+ get DisplayName() {
25418
+ return this.Get('DisplayName');
25419
+ }
25420
+ set DisplayName(value) {
25421
+ this.Set('DisplayName', value);
25422
+ }
25423
+ /**
25293
25424
  * * Field Name: CodeName
25294
25425
  * * Display Name: Code Name
25295
25426
  * * SQL Data Type: nvarchar(MAX)
@@ -31582,6 +31713,29 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
31582
31713
  return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
31583
31714
  }
31584
31715
  /**
31716
+ * Validate() method override for MJ: AI Agent Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
31717
+ * * EffortLevel: This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
31718
+ * @public
31719
+ * @method
31720
+ * @override
31721
+ */
31722
+ Validate() {
31723
+ const result = super.Validate();
31724
+ this.ValidateEffortLevelWithinAllowedRange(result);
31725
+ return result;
31726
+ }
31727
+ /**
31728
+ * This rule ensures that the EffortLevel must be a value between 1 and 100, inclusive.
31729
+ * @param result - the ValidationResult object to add any errors or warnings to
31730
+ * @public
31731
+ * @method
31732
+ */
31733
+ ValidateEffortLevelWithinAllowedRange(result) {
31734
+ if (this.EffortLevel < 1 || this.EffortLevel > 100) {
31735
+ result.Errors.push(new core_1.ValidationErrorInfo("EffortLevel", "EffortLevel must be between 1 and 100.", this.EffortLevel, core_1.ValidationErrorType.Failure));
31736
+ }
31737
+ }
31738
+ /**
31585
31739
  * * Field Name: ID
31586
31740
  * * Display Name: ID
31587
31741
  * * SQL Data Type: uniqueidentifier
@@ -32046,6 +32200,18 @@ each time the agent processes a prompt step.
32046
32200
  this.Set('Verbose', value);
32047
32201
  }
32048
32202
  /**
32203
+ * * Field Name: EffortLevel
32204
+ * * Display Name: Effort Level
32205
+ * * SQL Data Type: int
32206
+ * * Description: Effort level that was actually used during this agent run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt defaults.
32207
+ */
32208
+ get EffortLevel() {
32209
+ return this.Get('EffortLevel');
32210
+ }
32211
+ set EffortLevel(value) {
32212
+ this.Set('EffortLevel', value);
32213
+ }
32214
+ /**
32049
32215
  * * Field Name: Agent
32050
32216
  * * Display Name: Agent
32051
32217
  * * SQL Data Type: nvarchar(255)
@@ -34323,6 +34489,7 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
34323
34489
  }
34324
34490
  /**
34325
34491
  * 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:
34492
+ * * EffortLevel: This rule ensures that the effort level must be a number between 1 and 100, inclusive.
34326
34493
  * * 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.
34327
34494
  * * 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.
34328
34495
  * @public
@@ -34331,11 +34498,23 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
34331
34498
  */
34332
34499
  Validate() {
34333
34500
  const result = super.Validate();
34501
+ this.ValidateEffortLevelWithinRange(result);
34334
34502
  this.ValidateCompletedAtIsNullOrAfterRunAt(result);
34335
34503
  this.ValidateTokensUsedSumMatchesPromptAndCompletion(result);
34336
34504
  return result;
34337
34505
  }
34338
34506
  /**
34507
+ * This rule ensures that the effort level must be a number between 1 and 100, inclusive.
34508
+ * @param result - the ValidationResult object to add any errors or warnings to
34509
+ * @public
34510
+ * @method
34511
+ */
34512
+ ValidateEffortLevelWithinRange(result) {
34513
+ if (this.EffortLevel < 1 || this.EffortLevel > 100) {
34514
+ result.Errors.push(new core_1.ValidationErrorInfo("EffortLevel", "EffortLevel must be between 1 and 100.", this.EffortLevel, core_1.ValidationErrorType.Failure));
34515
+ }
34516
+ }
34517
+ /**
34339
34518
  * 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.
34340
34519
  * @param result - the ValidationResult object to add any errors or warnings to
34341
34520
  * @public
@@ -35352,6 +35531,18 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
35352
35531
  this.Set('ModelSpecificResponseDetails', value);
35353
35532
  }
35354
35533
  /**
35534
+ * * Field Name: EffortLevel
35535
+ * * Display Name: Effort Level
35536
+ * * SQL Data Type: int
35537
+ * * Description: Effort level that was actually used during this prompt run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt default > provider default.
35538
+ */
35539
+ get EffortLevel() {
35540
+ return this.Get('EffortLevel');
35541
+ }
35542
+ set EffortLevel(value) {
35543
+ this.Set('EffortLevel', value);
35544
+ }
35545
+ /**
35355
35546
  * * Field Name: Prompt
35356
35547
  * * Display Name: Prompt
35357
35548
  * * SQL Data Type: nvarchar(255)
@@ -37656,6 +37847,56 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
37656
37847
  this.Set('UsesTemplate', value);
37657
37848
  }
37658
37849
  /**
37850
+ * * Field Name: AuditQueryRuns
37851
+ * * Display Name: Audit Query Runs
37852
+ * * SQL Data Type: bit
37853
+ * * Default Value: 0
37854
+ * * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance
37855
+ */
37856
+ get AuditQueryRuns() {
37857
+ return this.Get('AuditQueryRuns');
37858
+ }
37859
+ set AuditQueryRuns(value) {
37860
+ this.Set('AuditQueryRuns', value);
37861
+ }
37862
+ /**
37863
+ * * Field Name: CacheEnabled
37864
+ * * Display Name: Cache Enabled
37865
+ * * SQL Data Type: bit
37866
+ * * Default Value: 0
37867
+ * * Description: When true, query results will be cached in memory with TTL expiration
37868
+ */
37869
+ get CacheEnabled() {
37870
+ return this.Get('CacheEnabled');
37871
+ }
37872
+ set CacheEnabled(value) {
37873
+ this.Set('CacheEnabled', value);
37874
+ }
37875
+ /**
37876
+ * * Field Name: CacheTTLMinutes
37877
+ * * Display Name: Cache TTL Minutes
37878
+ * * SQL Data Type: int
37879
+ * * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.
37880
+ */
37881
+ get CacheTTLMinutes() {
37882
+ return this.Get('CacheTTLMinutes');
37883
+ }
37884
+ set CacheTTLMinutes(value) {
37885
+ this.Set('CacheTTLMinutes', value);
37886
+ }
37887
+ /**
37888
+ * * Field Name: CacheMaxSize
37889
+ * * Display Name: Cache Max Size
37890
+ * * SQL Data Type: int
37891
+ * * Description: Maximum number of cached result sets for this query. NULL uses default size limit.
37892
+ */
37893
+ get CacheMaxSize() {
37894
+ return this.Get('CacheMaxSize');
37895
+ }
37896
+ set CacheMaxSize(value) {
37897
+ this.Set('CacheMaxSize', value);
37898
+ }
37899
+ /**
37659
37900
  * * Field Name: Category
37660
37901
  * * Display Name: Category
37661
37902
  * * SQL Data Type: nvarchar(50)
@@ -37773,6 +38014,56 @@ let QueryCategoryEntity = class QueryCategoryEntity extends core_1.BaseEntity {
37773
38014
  return this.Get('__mj_UpdatedAt');
37774
38015
  }
37775
38016
  /**
38017
+ * * Field Name: DefaultCacheEnabled
38018
+ * * Display Name: Default Cache Enabled
38019
+ * * SQL Data Type: bit
38020
+ * * Default Value: 0
38021
+ * * Description: Default cache setting for queries in this category
38022
+ */
38023
+ get DefaultCacheEnabled() {
38024
+ return this.Get('DefaultCacheEnabled');
38025
+ }
38026
+ set DefaultCacheEnabled(value) {
38027
+ this.Set('DefaultCacheEnabled', value);
38028
+ }
38029
+ /**
38030
+ * * Field Name: DefaultCacheTTLMinutes
38031
+ * * Display Name: Default Cache TTL Minutes
38032
+ * * SQL Data Type: int
38033
+ * * Description: Default TTL in minutes for cached results of queries in this category
38034
+ */
38035
+ get DefaultCacheTTLMinutes() {
38036
+ return this.Get('DefaultCacheTTLMinutes');
38037
+ }
38038
+ set DefaultCacheTTLMinutes(value) {
38039
+ this.Set('DefaultCacheTTLMinutes', value);
38040
+ }
38041
+ /**
38042
+ * * Field Name: DefaultCacheMaxSize
38043
+ * * Display Name: Default Cache Max Size
38044
+ * * SQL Data Type: int
38045
+ * * Description: Default maximum cache size for queries in this category
38046
+ */
38047
+ get DefaultCacheMaxSize() {
38048
+ return this.Get('DefaultCacheMaxSize');
38049
+ }
38050
+ set DefaultCacheMaxSize(value) {
38051
+ this.Set('DefaultCacheMaxSize', value);
38052
+ }
38053
+ /**
38054
+ * * Field Name: CacheInheritanceEnabled
38055
+ * * Display Name: Cache Inheritance Enabled
38056
+ * * SQL Data Type: bit
38057
+ * * Default Value: 1
38058
+ * * Description: When true, queries without cache config will inherit from this category
38059
+ */
38060
+ get CacheInheritanceEnabled() {
38061
+ return this.Get('CacheInheritanceEnabled');
38062
+ }
38063
+ set CacheInheritanceEnabled(value) {
38064
+ this.Set('CacheInheritanceEnabled', value);
38065
+ }
38066
+ /**
37776
38067
  * * Field Name: Parent
37777
38068
  * * Display Name: Parent
37778
38069
  * * SQL Data Type: nvarchar(50)