@memberjunction/core-entities 2.80.1 → 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.
@@ -3010,6 +3010,7 @@ export declare const EntitySchema: z.ZodObject<{
3010
3010
  RowCount: z.ZodNullable<z.ZodNumber>;
3011
3011
  RowCountRunAt: z.ZodNullable<z.ZodDate>;
3012
3012
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
3013
+ DisplayName: z.ZodNullable<z.ZodString>;
3013
3014
  CodeName: z.ZodNullable<z.ZodString>;
3014
3015
  ClassName: z.ZodNullable<z.ZodString>;
3015
3016
  BaseTableCodeName: z.ZodNullable<z.ZodString>;
@@ -3074,6 +3075,7 @@ export declare const EntitySchema: z.ZodObject<{
3074
3075
  AutoRowCountFrequency?: number;
3075
3076
  RowCount?: number;
3076
3077
  RowCountRunAt?: Date;
3078
+ DisplayName?: string;
3077
3079
  ClassName?: string;
3078
3080
  BaseTableCodeName?: string;
3079
3081
  ParentEntity?: string;
@@ -3137,6 +3139,7 @@ export declare const EntitySchema: z.ZodObject<{
3137
3139
  AutoRowCountFrequency?: number;
3138
3140
  RowCount?: number;
3139
3141
  RowCountRunAt?: Date;
3142
+ DisplayName?: string;
3140
3143
  ClassName?: string;
3141
3144
  BaseTableCodeName?: string;
3142
3145
  ParentEntity?: string;
@@ -5269,10 +5272,10 @@ export declare const AIModelVendorSchema: z.ZodObject<{
5269
5272
  SupportsStreaming: z.ZodBoolean;
5270
5273
  __mj_CreatedAt: z.ZodDate;
5271
5274
  __mj_UpdatedAt: z.ZodDate;
5272
- TypeID: z.ZodNullable<z.ZodString>;
5275
+ TypeID: z.ZodString;
5273
5276
  Model: z.ZodString;
5274
5277
  Vendor: z.ZodString;
5275
- Type: z.ZodNullable<z.ZodString>;
5278
+ Type: z.ZodString;
5276
5279
  }, "strip", z.ZodTypeAny, {
5277
5280
  ID?: string;
5278
5281
  __mj_CreatedAt?: Date;
@@ -6148,6 +6151,10 @@ export declare const QuerySchema: z.ZodObject<{
6148
6151
  __mj_CreatedAt: z.ZodDate;
6149
6152
  __mj_UpdatedAt: z.ZodDate;
6150
6153
  UsesTemplate: z.ZodNullable<z.ZodBoolean>;
6154
+ AuditQueryRuns: z.ZodBoolean;
6155
+ CacheEnabled: z.ZodBoolean;
6156
+ CacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
6157
+ CacheMaxSize: z.ZodNullable<z.ZodNumber>;
6151
6158
  Category: z.ZodNullable<z.ZodString>;
6152
6159
  }, "strip", z.ZodTypeAny, {
6153
6160
  ID?: string;
@@ -6166,6 +6173,10 @@ export declare const QuerySchema: z.ZodObject<{
6166
6173
  QualityRank?: number;
6167
6174
  ExecutionCostRank?: number;
6168
6175
  UsesTemplate?: boolean;
6176
+ AuditQueryRuns?: boolean;
6177
+ CacheEnabled?: boolean;
6178
+ CacheTTLMinutes?: number;
6179
+ CacheMaxSize?: number;
6169
6180
  }, {
6170
6181
  ID?: string;
6171
6182
  __mj_CreatedAt?: Date;
@@ -6183,6 +6194,10 @@ export declare const QuerySchema: z.ZodObject<{
6183
6194
  QualityRank?: number;
6184
6195
  ExecutionCostRank?: number;
6185
6196
  UsesTemplate?: boolean;
6197
+ AuditQueryRuns?: boolean;
6198
+ CacheEnabled?: boolean;
6199
+ CacheTTLMinutes?: number;
6200
+ CacheMaxSize?: number;
6186
6201
  }>;
6187
6202
  export type QueryEntityType = z.infer<typeof QuerySchema>;
6188
6203
  /**
@@ -6196,6 +6211,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
6196
6211
  UserID: z.ZodString;
6197
6212
  __mj_CreatedAt: z.ZodDate;
6198
6213
  __mj_UpdatedAt: z.ZodDate;
6214
+ DefaultCacheEnabled: z.ZodBoolean;
6215
+ DefaultCacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
6216
+ DefaultCacheMaxSize: z.ZodNullable<z.ZodNumber>;
6217
+ CacheInheritanceEnabled: z.ZodBoolean;
6199
6218
  Parent: z.ZodNullable<z.ZodString>;
6200
6219
  User: z.ZodString;
6201
6220
  }, "strip", z.ZodTypeAny, {
@@ -6208,6 +6227,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
6208
6227
  Parent?: string;
6209
6228
  UserID?: string;
6210
6229
  User?: string;
6230
+ DefaultCacheEnabled?: boolean;
6231
+ DefaultCacheTTLMinutes?: number;
6232
+ DefaultCacheMaxSize?: number;
6233
+ CacheInheritanceEnabled?: boolean;
6211
6234
  }, {
6212
6235
  ID?: string;
6213
6236
  __mj_CreatedAt?: Date;
@@ -6218,6 +6241,10 @@ export declare const QueryCategorySchema: z.ZodObject<{
6218
6241
  Parent?: string;
6219
6242
  UserID?: string;
6220
6243
  User?: string;
6244
+ DefaultCacheEnabled?: boolean;
6245
+ DefaultCacheTTLMinutes?: number;
6246
+ DefaultCacheMaxSize?: number;
6247
+ CacheInheritanceEnabled?: boolean;
6221
6248
  }>;
6222
6249
  export type QueryCategoryEntityType = z.infer<typeof QueryCategorySchema>;
6223
6250
  /**
@@ -17155,6 +17182,14 @@ export declare class EntityEntity extends BaseEntity<EntityEntityType> {
17155
17182
  get Status(): 'Active' | 'Deprecated' | 'Disabled';
17156
17183
  set Status(value: 'Active' | 'Deprecated' | 'Disabled');
17157
17184
  /**
17185
+ * * Field Name: DisplayName
17186
+ * * Display Name: Display Name
17187
+ * * SQL Data Type: nvarchar(255)
17188
+ * * Description: Optional display name for the entity. If not provided, the entity Name will be used for display purposes.
17189
+ */
17190
+ get DisplayName(): string | null;
17191
+ set DisplayName(value: string | null);
17192
+ /**
17158
17193
  * * Field Name: CodeName
17159
17194
  * * Display Name: Code Name
17160
17195
  * * SQL Data Type: nvarchar(MAX)
@@ -23314,8 +23349,8 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
23314
23349
  * * Related Entity/Foreign Key: MJ: AI Vendor Type Definitions (vwAIVendorTypeDefinitions.ID)
23315
23350
  * * Description: References the type/role of the vendor for this model (e.g., model developer, inference provider)
23316
23351
  */
23317
- get TypeID(): string | null;
23318
- set TypeID(value: string | null);
23352
+ get TypeID(): string;
23353
+ set TypeID(value: string);
23319
23354
  /**
23320
23355
  * * Field Name: Model
23321
23356
  * * Display Name: Model
@@ -23333,7 +23368,7 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
23333
23368
  * * Display Name: Type
23334
23369
  * * SQL Data Type: nvarchar(50)
23335
23370
  */
23336
- get Type(): string | null;
23371
+ get Type(): string;
23337
23372
  }
23338
23373
  /**
23339
23374
  * MJ: AI Prompt Models - strongly typed entity sub-class
@@ -25881,6 +25916,40 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
25881
25916
  get UsesTemplate(): boolean | null;
25882
25917
  set UsesTemplate(value: boolean | null);
25883
25918
  /**
25919
+ * * Field Name: AuditQueryRuns
25920
+ * * Display Name: Audit Query Runs
25921
+ * * SQL Data Type: bit
25922
+ * * Default Value: 0
25923
+ * * Description: When true, all executions of this query will be logged to the Audit Log system for tracking and compliance
25924
+ */
25925
+ get AuditQueryRuns(): boolean;
25926
+ set AuditQueryRuns(value: boolean);
25927
+ /**
25928
+ * * Field Name: CacheEnabled
25929
+ * * Display Name: Cache Enabled
25930
+ * * SQL Data Type: bit
25931
+ * * Default Value: 0
25932
+ * * Description: When true, query results will be cached in memory with TTL expiration
25933
+ */
25934
+ get CacheEnabled(): boolean;
25935
+ set CacheEnabled(value: boolean);
25936
+ /**
25937
+ * * Field Name: CacheTTLMinutes
25938
+ * * Display Name: Cache TTL Minutes
25939
+ * * SQL Data Type: int
25940
+ * * Description: Time-to-live in minutes for cached query results. NULL uses default TTL.
25941
+ */
25942
+ get CacheTTLMinutes(): number | null;
25943
+ set CacheTTLMinutes(value: number | null);
25944
+ /**
25945
+ * * Field Name: CacheMaxSize
25946
+ * * Display Name: Cache Max Size
25947
+ * * SQL Data Type: int
25948
+ * * Description: Maximum number of cached result sets for this query. NULL uses default size limit.
25949
+ */
25950
+ get CacheMaxSize(): number | null;
25951
+ set CacheMaxSize(value: number | null);
25952
+ /**
25884
25953
  * * Field Name: Category
25885
25954
  * * Display Name: Category
25886
25955
  * * SQL Data Type: nvarchar(50)
@@ -25964,6 +26033,40 @@ export declare class QueryCategoryEntity extends BaseEntity<QueryCategoryEntityT
25964
26033
  */
25965
26034
  get __mj_UpdatedAt(): Date;
25966
26035
  /**
26036
+ * * Field Name: DefaultCacheEnabled
26037
+ * * Display Name: Default Cache Enabled
26038
+ * * SQL Data Type: bit
26039
+ * * Default Value: 0
26040
+ * * Description: Default cache setting for queries in this category
26041
+ */
26042
+ get DefaultCacheEnabled(): boolean;
26043
+ set DefaultCacheEnabled(value: boolean);
26044
+ /**
26045
+ * * Field Name: DefaultCacheTTLMinutes
26046
+ * * Display Name: Default Cache TTL Minutes
26047
+ * * SQL Data Type: int
26048
+ * * Description: Default TTL in minutes for cached results of queries in this category
26049
+ */
26050
+ get DefaultCacheTTLMinutes(): number | null;
26051
+ set DefaultCacheTTLMinutes(value: number | null);
26052
+ /**
26053
+ * * Field Name: DefaultCacheMaxSize
26054
+ * * Display Name: Default Cache Max Size
26055
+ * * SQL Data Type: int
26056
+ * * Description: Default maximum cache size for queries in this category
26057
+ */
26058
+ get DefaultCacheMaxSize(): number | null;
26059
+ set DefaultCacheMaxSize(value: number | null);
26060
+ /**
26061
+ * * Field Name: CacheInheritanceEnabled
26062
+ * * Display Name: Cache Inheritance Enabled
26063
+ * * SQL Data Type: bit
26064
+ * * Default Value: 1
26065
+ * * Description: When true, queries without cache config will inherit from this category
26066
+ */
26067
+ get CacheInheritanceEnabled(): boolean;
26068
+ set CacheInheritanceEnabled(value: boolean);
26069
+ /**
25967
26070
  * * Field Name: Parent
25968
26071
  * * Display Name: Parent
25969
26072
  * * SQL Data Type: nvarchar(50)