@memberjunction/core-entities 2.47.0 → 2.48.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.
@@ -644,10 +644,10 @@ export declare const AIAgentSchema: z.ZodObject<{
644
644
  ContextCompressionMessageThreshold: z.ZodNullable<z.ZodNumber>;
645
645
  ContextCompressionPromptID: z.ZodNullable<z.ZodString>;
646
646
  ContextCompressionMessageRetentionCount: z.ZodNullable<z.ZodNumber>;
647
- TypeID: z.ZodString;
647
+ TypeID: z.ZodNullable<z.ZodString>;
648
648
  Parent: z.ZodNullable<z.ZodString>;
649
649
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
650
- Type: z.ZodString;
650
+ Type: z.ZodNullable<z.ZodString>;
651
651
  }, "strip", z.ZodTypeAny, {
652
652
  ID?: string;
653
653
  __mj_CreatedAt?: Date;
@@ -2320,7 +2320,7 @@ export declare const DashboardSchema: z.ZodObject<{
2320
2320
  UIConfigDetails: z.ZodString;
2321
2321
  __mj_CreatedAt: z.ZodDate;
2322
2322
  __mj_UpdatedAt: z.ZodDate;
2323
- Type: z.ZodUnion<[z.ZodLiteral<"Config">, z.ZodLiteral<"Code">]>;
2323
+ Type: z.ZodUnion<[z.ZodLiteral<"Config">, z.ZodLiteral<"Code">, z.ZodLiteral<"Dynamic Code">]>;
2324
2324
  Thumbnail: z.ZodNullable<z.ZodString>;
2325
2325
  Scope: z.ZodUnion<[z.ZodLiteral<"Global">, z.ZodLiteral<"App">]>;
2326
2326
  ApplicationID: z.ZodNullable<z.ZodString>;
@@ -2339,7 +2339,7 @@ export declare const DashboardSchema: z.ZodObject<{
2339
2339
  UserID?: string;
2340
2340
  User?: string;
2341
2341
  Code?: string;
2342
- Type?: "Code" | "Config";
2342
+ Type?: "Code" | "Config" | "Dynamic Code";
2343
2343
  CategoryID?: string;
2344
2344
  DriverClass?: string;
2345
2345
  ApplicationID?: string;
@@ -2357,7 +2357,7 @@ export declare const DashboardSchema: z.ZodObject<{
2357
2357
  UserID?: string;
2358
2358
  User?: string;
2359
2359
  Code?: string;
2360
- Type?: "Code" | "Config";
2360
+ Type?: "Code" | "Config" | "Dynamic Code";
2361
2361
  CategoryID?: string;
2362
2362
  DriverClass?: string;
2363
2363
  ApplicationID?: string;
@@ -9490,11 +9490,10 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9490
9490
  * * Display Name: Type ID
9491
9491
  * * SQL Data Type: uniqueidentifier
9492
9492
  * * Related Entity/Foreign Key: MJ: AI Agent Types (vwAIAgentTypes.ID)
9493
- * * Default Value: A7B8C9D0-E1F2-3456-7890-123456789ABC
9494
9493
  * * Description: Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.
9495
9494
  */
9496
- get TypeID(): string;
9497
- set TypeID(value: string);
9495
+ get TypeID(): string | null;
9496
+ set TypeID(value: string | null);
9498
9497
  /**
9499
9498
  * * Field Name: Parent
9500
9499
  * * Display Name: Parent
@@ -9512,7 +9511,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9512
9511
  * * Display Name: Type
9513
9512
  * * SQL Data Type: nvarchar(100)
9514
9513
  */
9515
- get Type(): string;
9514
+ get Type(): string | null;
9516
9515
  }
9517
9516
  /**
9518
9517
  * AI Model Actions - strongly typed entity sub-class
@@ -10010,11 +10009,11 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10010
10009
  * 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:
10011
10010
  * * 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.
10012
10011
  * * CacheTTLSeconds: This rule ensures that if the cache expiration time in seconds is provided, it must be greater than zero.
10012
+ * * 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.
10013
10013
  * * 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.
10014
10014
  * * 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.
10015
10015
  * * Table-Level: This rule ensures that if the parallelization mode is set to 'StaticCount', then the number of parallel tasks (ParallelCount) must be provided.
10016
10016
  * * 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.
10017
- * * 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.
10018
10017
  * @public
10019
10018
  * @method
10020
10019
  * @override
@@ -10035,6 +10034,13 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10035
10034
  */
10036
10035
  ValidateCacheTTLSecondsGreaterThanZero(result: ValidationResult): void;
10037
10036
  /**
10037
+ * 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.
10038
+ * @param result - the ValidationResult object to add any errors or warnings to
10039
+ * @public
10040
+ * @method
10041
+ */
10042
+ ValidateOutputExampleWhenOutputTypeObject(result: ValidationResult): void;
10043
+ /**
10038
10044
  * This rule ensures that the ResultSelectorPromptID field must be different from the ID field. In other words, a result selector prompt cannot reference itself.
10039
10045
  * @param result - the ValidationResult object to add any errors or warnings to
10040
10046
  * @public
@@ -10063,13 +10069,6 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
10063
10069
  */
10064
10070
  ValidateParallelConfigParamRequiredForConfigParamMode(result: ValidationResult): void;
10065
10071
  /**
10066
- * 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.
10067
- * @param result - the ValidationResult object to add any errors or warnings to
10068
- * @public
10069
- * @method
10070
- */
10071
- ValidateOutputExampleWhenOutputTypeObject(result: ValidationResult): void;
10072
- /**
10073
10072
  * * Field Name: ID
10074
10073
  * * Display Name: ID
10075
10074
  * * SQL Data Type: uniqueidentifier
@@ -14073,10 +14072,11 @@ export declare class DashboardEntity extends BaseEntity<DashboardEntityType> {
14073
14072
  * * Possible Values
14074
14073
  * * Config
14075
14074
  * * Code
14076
- * * Description: Specifies if the dashboard is metadata-driven (Config) or code-based (Code)
14075
+ * * Dynamic Code
14076
+ * * Description: Dashboard type supporting Config (metadata-driven), Code (compiled TypeScript), and Dynamic Code (Skip-generated runtime JavaScript/React) options
14077
14077
  */
14078
- get Type(): 'Config' | 'Code';
14079
- set Type(value: 'Config' | 'Code');
14078
+ get Type(): 'Config' | 'Code' | 'Dynamic Code';
14079
+ set Type(value: 'Config' | 'Code' | 'Dynamic Code');
14080
14080
  /**
14081
14081
  * * Field Name: Thumbnail
14082
14082
  * * Display Name: Thumbnail
@@ -20957,9 +20957,9 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
20957
20957
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
20958
20958
  /**
20959
20959
  * 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:
20960
+ * * ParallelCount: This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
20960
20961
  * * Priority: This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
20961
20962
  * * ExecutionGroup: This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
20962
- * * ParallelCount: This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
20963
20963
  * * 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.
20964
20964
  * @public
20965
20965
  * @method
@@ -20967,26 +20967,26 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
20967
20967
  */
20968
20968
  Validate(): ValidationResult;
20969
20969
  /**
20970
- * This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
20970
+ * This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
20971
20971
  * @param result - the ValidationResult object to add any errors or warnings to
20972
20972
  * @public
20973
20973
  * @method
20974
20974
  */
20975
- ValidatePriorityIsNonNegative(result: ValidationResult): void;
20975
+ ValidateParallelCountAtLeastOne(result: ValidationResult): void;
20976
20976
  /**
20977
- * This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
20977
+ * This rule ensures that the Priority value must be greater than or equal to zero. Negative priorities are not allowed.
20978
20978
  * @param result - the ValidationResult object to add any errors or warnings to
20979
20979
  * @public
20980
20980
  * @method
20981
20981
  */
20982
- ValidateExecutionGroupIsNonNegative(result: ValidationResult): void;
20982
+ ValidatePriorityIsNonNegative(result: ValidationResult): void;
20983
20983
  /**
20984
- * This rule ensures that the number of parallel tasks (ParallelCount) must be at least 1. It cannot be zero or negative.
20984
+ * This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative numbers are not allowed.
20985
20985
  * @param result - the ValidationResult object to add any errors or warnings to
20986
20986
  * @public
20987
20987
  * @method
20988
20988
  */
20989
- ValidateParallelCountAtLeastOne(result: ValidationResult): void;
20989
+ ValidateExecutionGroupIsNonNegative(result: ValidationResult): void;
20990
20990
  /**
20991
20991
  * 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.
20992
20992
  * @param result - the ValidationResult object to add any errors or warnings to