@memberjunction/core-entities 2.80.0 → 2.81.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.
|
@@ -4856,6 +4856,11 @@ exports.EntitySchema = zod_1.z.object({
|
|
|
4856
4856
|
* * Deprecated
|
|
4857
4857
|
* * Disabled
|
|
4858
4858
|
* * 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.`),
|
|
4859
|
+
DisplayName: zod_1.z.string().nullable().describe(`
|
|
4860
|
+
* * Field Name: DisplayName
|
|
4861
|
+
* * Display Name: Display Name
|
|
4862
|
+
* * SQL Data Type: nvarchar(255)
|
|
4863
|
+
* * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.`),
|
|
4859
4864
|
CodeName: zod_1.z.string().nullable().describe(`
|
|
4860
4865
|
* * Field Name: CodeName
|
|
4861
4866
|
* * Display Name: Code Name
|
|
@@ -8271,7 +8276,7 @@ exports.AIModelVendorSchema = zod_1.z.object({
|
|
|
8271
8276
|
* * Display Name: Updated At
|
|
8272
8277
|
* * SQL Data Type: datetimeoffset
|
|
8273
8278
|
* * Default Value: getutcdate()`),
|
|
8274
|
-
TypeID: zod_1.z.string().
|
|
8279
|
+
TypeID: zod_1.z.string().describe(`
|
|
8275
8280
|
* * Field Name: TypeID
|
|
8276
8281
|
* * Display Name: Type ID
|
|
8277
8282
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -8285,7 +8290,7 @@ exports.AIModelVendorSchema = zod_1.z.object({
|
|
|
8285
8290
|
* * Field Name: Vendor
|
|
8286
8291
|
* * Display Name: Vendor
|
|
8287
8292
|
* * SQL Data Type: nvarchar(50)`),
|
|
8288
|
-
Type: zod_1.z.string().
|
|
8293
|
+
Type: zod_1.z.string().describe(`
|
|
8289
8294
|
* * Field Name: Type
|
|
8290
8295
|
* * Display Name: Type
|
|
8291
8296
|
* * SQL Data Type: nvarchar(50)`),
|
|
@@ -9660,6 +9665,28 @@ exports.QuerySchema = zod_1.z.object({
|
|
|
9660
9665
|
* * SQL Data Type: bit
|
|
9661
9666
|
* * Default Value: 0
|
|
9662
9667
|
* * 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.`),
|
|
9668
|
+
AuditQueryRuns: zod_1.z.boolean().describe(`
|
|
9669
|
+
* * Field Name: AuditQueryRuns
|
|
9670
|
+
* * Display Name: Audit Query Runs
|
|
9671
|
+
* * SQL Data Type: bit
|
|
9672
|
+
* * Default Value: 0
|
|
9673
|
+
* * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance`),
|
|
9674
|
+
CacheEnabled: zod_1.z.boolean().describe(`
|
|
9675
|
+
* * Field Name: CacheEnabled
|
|
9676
|
+
* * Display Name: Cache Enabled
|
|
9677
|
+
* * SQL Data Type: bit
|
|
9678
|
+
* * Default Value: 0
|
|
9679
|
+
* * Description: When true, query results will be cached in memory with TTL expiration`),
|
|
9680
|
+
CacheTTLMinutes: zod_1.z.number().nullable().describe(`
|
|
9681
|
+
* * Field Name: CacheTTLMinutes
|
|
9682
|
+
* * Display Name: Cache TTL Minutes
|
|
9683
|
+
* * SQL Data Type: int
|
|
9684
|
+
* * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.`),
|
|
9685
|
+
CacheMaxSize: zod_1.z.number().nullable().describe(`
|
|
9686
|
+
* * Field Name: CacheMaxSize
|
|
9687
|
+
* * Display Name: Cache Max Size
|
|
9688
|
+
* * SQL Data Type: int
|
|
9689
|
+
* * Description: Maximum number of cached result sets for this query. NULL uses default size limit.`),
|
|
9663
9690
|
Category: zod_1.z.string().nullable().describe(`
|
|
9664
9691
|
* * Field Name: Category
|
|
9665
9692
|
* * Display Name: Category
|
|
@@ -9702,6 +9729,28 @@ exports.QueryCategorySchema = zod_1.z.object({
|
|
|
9702
9729
|
* * Display Name: __mj _Updated At
|
|
9703
9730
|
* * SQL Data Type: datetimeoffset
|
|
9704
9731
|
* * Default Value: getutcdate()`),
|
|
9732
|
+
DefaultCacheEnabled: zod_1.z.boolean().describe(`
|
|
9733
|
+
* * Field Name: DefaultCacheEnabled
|
|
9734
|
+
* * Display Name: Default Cache Enabled
|
|
9735
|
+
* * SQL Data Type: bit
|
|
9736
|
+
* * Default Value: 0
|
|
9737
|
+
* * Description: Default cache setting for queries in this category`),
|
|
9738
|
+
DefaultCacheTTLMinutes: zod_1.z.number().nullable().describe(`
|
|
9739
|
+
* * Field Name: DefaultCacheTTLMinutes
|
|
9740
|
+
* * Display Name: Default Cache TTL Minutes
|
|
9741
|
+
* * SQL Data Type: int
|
|
9742
|
+
* * Description: Default TTL in minutes for cached results of queries in this category`),
|
|
9743
|
+
DefaultCacheMaxSize: zod_1.z.number().nullable().describe(`
|
|
9744
|
+
* * Field Name: DefaultCacheMaxSize
|
|
9745
|
+
* * Display Name: Default Cache Max Size
|
|
9746
|
+
* * SQL Data Type: int
|
|
9747
|
+
* * Description: Default maximum cache size for queries in this category`),
|
|
9748
|
+
CacheInheritanceEnabled: zod_1.z.boolean().describe(`
|
|
9749
|
+
* * Field Name: CacheInheritanceEnabled
|
|
9750
|
+
* * Display Name: Cache Inheritance Enabled
|
|
9751
|
+
* * SQL Data Type: bit
|
|
9752
|
+
* * Default Value: 1
|
|
9753
|
+
* * Description: When true, queries without cache config will inherit from this category`),
|
|
9705
9754
|
Parent: zod_1.z.string().nullable().describe(`
|
|
9706
9755
|
* * Field Name: Parent
|
|
9707
9756
|
* * Display Name: Parent
|
|
@@ -25290,6 +25339,18 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
25290
25339
|
this.Set('Status', value);
|
|
25291
25340
|
}
|
|
25292
25341
|
/**
|
|
25342
|
+
* * Field Name: DisplayName
|
|
25343
|
+
* * Display Name: Display Name
|
|
25344
|
+
* * SQL Data Type: nvarchar(255)
|
|
25345
|
+
* * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.
|
|
25346
|
+
*/
|
|
25347
|
+
get DisplayName() {
|
|
25348
|
+
return this.Get('DisplayName');
|
|
25349
|
+
}
|
|
25350
|
+
set DisplayName(value) {
|
|
25351
|
+
this.Set('DisplayName', value);
|
|
25352
|
+
}
|
|
25353
|
+
/**
|
|
25293
25354
|
* * Field Name: CodeName
|
|
25294
25355
|
* * Display Name: Code Name
|
|
25295
25356
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -37656,6 +37717,56 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
|
|
|
37656
37717
|
this.Set('UsesTemplate', value);
|
|
37657
37718
|
}
|
|
37658
37719
|
/**
|
|
37720
|
+
* * Field Name: AuditQueryRuns
|
|
37721
|
+
* * Display Name: Audit Query Runs
|
|
37722
|
+
* * SQL Data Type: bit
|
|
37723
|
+
* * Default Value: 0
|
|
37724
|
+
* * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance
|
|
37725
|
+
*/
|
|
37726
|
+
get AuditQueryRuns() {
|
|
37727
|
+
return this.Get('AuditQueryRuns');
|
|
37728
|
+
}
|
|
37729
|
+
set AuditQueryRuns(value) {
|
|
37730
|
+
this.Set('AuditQueryRuns', value);
|
|
37731
|
+
}
|
|
37732
|
+
/**
|
|
37733
|
+
* * Field Name: CacheEnabled
|
|
37734
|
+
* * Display Name: Cache Enabled
|
|
37735
|
+
* * SQL Data Type: bit
|
|
37736
|
+
* * Default Value: 0
|
|
37737
|
+
* * Description: When true, query results will be cached in memory with TTL expiration
|
|
37738
|
+
*/
|
|
37739
|
+
get CacheEnabled() {
|
|
37740
|
+
return this.Get('CacheEnabled');
|
|
37741
|
+
}
|
|
37742
|
+
set CacheEnabled(value) {
|
|
37743
|
+
this.Set('CacheEnabled', value);
|
|
37744
|
+
}
|
|
37745
|
+
/**
|
|
37746
|
+
* * Field Name: CacheTTLMinutes
|
|
37747
|
+
* * Display Name: Cache TTL Minutes
|
|
37748
|
+
* * SQL Data Type: int
|
|
37749
|
+
* * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.
|
|
37750
|
+
*/
|
|
37751
|
+
get CacheTTLMinutes() {
|
|
37752
|
+
return this.Get('CacheTTLMinutes');
|
|
37753
|
+
}
|
|
37754
|
+
set CacheTTLMinutes(value) {
|
|
37755
|
+
this.Set('CacheTTLMinutes', value);
|
|
37756
|
+
}
|
|
37757
|
+
/**
|
|
37758
|
+
* * Field Name: CacheMaxSize
|
|
37759
|
+
* * Display Name: Cache Max Size
|
|
37760
|
+
* * SQL Data Type: int
|
|
37761
|
+
* * Description: Maximum number of cached result sets for this query. NULL uses default size limit.
|
|
37762
|
+
*/
|
|
37763
|
+
get CacheMaxSize() {
|
|
37764
|
+
return this.Get('CacheMaxSize');
|
|
37765
|
+
}
|
|
37766
|
+
set CacheMaxSize(value) {
|
|
37767
|
+
this.Set('CacheMaxSize', value);
|
|
37768
|
+
}
|
|
37769
|
+
/**
|
|
37659
37770
|
* * Field Name: Category
|
|
37660
37771
|
* * Display Name: Category
|
|
37661
37772
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -37773,6 +37884,56 @@ let QueryCategoryEntity = class QueryCategoryEntity extends core_1.BaseEntity {
|
|
|
37773
37884
|
return this.Get('__mj_UpdatedAt');
|
|
37774
37885
|
}
|
|
37775
37886
|
/**
|
|
37887
|
+
* * Field Name: DefaultCacheEnabled
|
|
37888
|
+
* * Display Name: Default Cache Enabled
|
|
37889
|
+
* * SQL Data Type: bit
|
|
37890
|
+
* * Default Value: 0
|
|
37891
|
+
* * Description: Default cache setting for queries in this category
|
|
37892
|
+
*/
|
|
37893
|
+
get DefaultCacheEnabled() {
|
|
37894
|
+
return this.Get('DefaultCacheEnabled');
|
|
37895
|
+
}
|
|
37896
|
+
set DefaultCacheEnabled(value) {
|
|
37897
|
+
this.Set('DefaultCacheEnabled', value);
|
|
37898
|
+
}
|
|
37899
|
+
/**
|
|
37900
|
+
* * Field Name: DefaultCacheTTLMinutes
|
|
37901
|
+
* * Display Name: Default Cache TTL Minutes
|
|
37902
|
+
* * SQL Data Type: int
|
|
37903
|
+
* * Description: Default TTL in minutes for cached results of queries in this category
|
|
37904
|
+
*/
|
|
37905
|
+
get DefaultCacheTTLMinutes() {
|
|
37906
|
+
return this.Get('DefaultCacheTTLMinutes');
|
|
37907
|
+
}
|
|
37908
|
+
set DefaultCacheTTLMinutes(value) {
|
|
37909
|
+
this.Set('DefaultCacheTTLMinutes', value);
|
|
37910
|
+
}
|
|
37911
|
+
/**
|
|
37912
|
+
* * Field Name: DefaultCacheMaxSize
|
|
37913
|
+
* * Display Name: Default Cache Max Size
|
|
37914
|
+
* * SQL Data Type: int
|
|
37915
|
+
* * Description: Default maximum cache size for queries in this category
|
|
37916
|
+
*/
|
|
37917
|
+
get DefaultCacheMaxSize() {
|
|
37918
|
+
return this.Get('DefaultCacheMaxSize');
|
|
37919
|
+
}
|
|
37920
|
+
set DefaultCacheMaxSize(value) {
|
|
37921
|
+
this.Set('DefaultCacheMaxSize', value);
|
|
37922
|
+
}
|
|
37923
|
+
/**
|
|
37924
|
+
* * Field Name: CacheInheritanceEnabled
|
|
37925
|
+
* * Display Name: Cache Inheritance Enabled
|
|
37926
|
+
* * SQL Data Type: bit
|
|
37927
|
+
* * Default Value: 1
|
|
37928
|
+
* * Description: When true, queries without cache config will inherit from this category
|
|
37929
|
+
*/
|
|
37930
|
+
get CacheInheritanceEnabled() {
|
|
37931
|
+
return this.Get('CacheInheritanceEnabled');
|
|
37932
|
+
}
|
|
37933
|
+
set CacheInheritanceEnabled(value) {
|
|
37934
|
+
this.Set('CacheInheritanceEnabled', value);
|
|
37935
|
+
}
|
|
37936
|
+
/**
|
|
37776
37937
|
* * Field Name: Parent
|
|
37777
37938
|
* * Display Name: Parent
|
|
37778
37939
|
* * SQL Data Type: nvarchar(50)
|