@memberjunction/core-entities 2.130.1 → 2.132.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.
@@ -778,6 +778,7 @@ export declare const AIAgentSchema: z.ZodObject<{
778
778
  AttachmentStorageProviderID: z.ZodNullable<z.ZodString>;
779
779
  AttachmentRootPath: z.ZodNullable<z.ZodString>;
780
780
  InlineStorageThresholdBytes: z.ZodNullable<z.ZodNumber>;
781
+ AgentTypePromptParams: z.ZodNullable<z.ZodString>;
781
782
  Parent: z.ZodNullable<z.ZodString>;
782
783
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
783
784
  Type: z.ZodNullable<z.ZodString>;
@@ -844,6 +845,7 @@ export declare const AIAgentSchema: z.ZodObject<{
844
845
  AttachmentStorageProviderID?: string;
845
846
  AttachmentRootPath?: string;
846
847
  InlineStorageThresholdBytes?: number;
848
+ AgentTypePromptParams?: string;
847
849
  ContextCompressionPrompt?: string;
848
850
  DefaultArtifactType?: string;
849
851
  OwnerUser?: string;
@@ -907,6 +909,7 @@ export declare const AIAgentSchema: z.ZodObject<{
907
909
  AttachmentStorageProviderID?: string;
908
910
  AttachmentRootPath?: string;
909
911
  InlineStorageThresholdBytes?: number;
912
+ AgentTypePromptParams?: string;
910
913
  ContextCompressionPrompt?: string;
911
914
  DefaultArtifactType?: string;
912
915
  OwnerUser?: string;
@@ -5846,6 +5849,7 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
5846
5849
  UIFormSectionKey: z.ZodNullable<z.ZodString>;
5847
5850
  UIFormKey: z.ZodNullable<z.ZodString>;
5848
5851
  UIFormSectionExpandedByDefault: z.ZodBoolean;
5852
+ PromptParamsSchema: z.ZodNullable<z.ZodString>;
5849
5853
  SystemPrompt: z.ZodNullable<z.ZodString>;
5850
5854
  }, "strip", z.ZodTypeAny, {
5851
5855
  ID?: string;
@@ -5860,6 +5864,7 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
5860
5864
  UIFormSectionKey?: string;
5861
5865
  UIFormKey?: string;
5862
5866
  UIFormSectionExpandedByDefault?: boolean;
5867
+ PromptParamsSchema?: string;
5863
5868
  SystemPrompt?: string;
5864
5869
  }, {
5865
5870
  ID?: string;
@@ -5874,6 +5879,7 @@ export declare const AIAgentTypeSchema: z.ZodObject<{
5874
5879
  UIFormSectionKey?: string;
5875
5880
  UIFormKey?: string;
5876
5881
  UIFormSectionExpandedByDefault?: boolean;
5882
+ PromptParamsSchema?: string;
5877
5883
  SystemPrompt?: string;
5878
5884
  }>;
5879
5885
  export type AIAgentTypeEntityType = z.infer<typeof AIAgentTypeSchema>;
@@ -13716,7 +13722,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
13716
13722
  get __mj_UpdatedAt(): Date;
13717
13723
  /**
13718
13724
  * * Field Name: ParentID
13719
- * * Display Name: Parent
13725
+ * * Display Name: Parent Agent
13720
13726
  * * SQL Data Type: uniqueidentifier
13721
13727
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
13722
13728
  * * Description: References the parent agent in the hierarchical structure. If NULL, this is a root (top-level) agent.
@@ -13789,7 +13795,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
13789
13795
  set ContextCompressionMessageRetentionCount(value: number | null);
13790
13796
  /**
13791
13797
  * * Field Name: TypeID
13792
- * * Display Name: Type
13798
+ * * Display Name: Agent Type
13793
13799
  * * SQL Data Type: uniqueidentifier
13794
13800
  * * Related Entity/Foreign Key: MJ: AI Agent Types (vwAIAgentTypes.ID)
13795
13801
  * * Description: Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.
@@ -14187,13 +14193,21 @@ if this limit is exceeded.
14187
14193
  set AttachmentRootPath(value: string | null);
14188
14194
  /**
14189
14195
  * * Field Name: InlineStorageThresholdBytes
14190
- * * Display Name: Inline Storage Threshold (Bytes)
14196
+ * * Display Name: Inline Storage Threshold Bytes
14191
14197
  * * SQL Data Type: int
14192
14198
  * * Description: File size threshold for inline storage. Files <= this size are stored as base64 inline, larger files use MJStorage. NULL uses system default (1MB). Set to 0 to always use MJStorage.
14193
14199
  */
14194
14200
  get InlineStorageThresholdBytes(): number | null;
14195
14201
  set InlineStorageThresholdBytes(value: number | null);
14196
14202
  /**
14203
+ * * Field Name: AgentTypePromptParams
14204
+ * * Display Name: Agent Type Prompt Params
14205
+ * * SQL Data Type: nvarchar(MAX)
14206
+ * * Description: JSON object containing parameter values that customize how this agent's type-level system prompt is rendered. The schema is defined by the agent type's PromptParamsSchema field. Allows per-agent control over which prompt sections are included, enabling token savings by excluding unused documentation.
14207
+ */
14208
+ get AgentTypePromptParams(): string | null;
14209
+ set AgentTypePromptParams(value: string | null);
14210
+ /**
14197
14211
  * * Field Name: Parent
14198
14212
  * * Display Name: Parent
14199
14213
  * * SQL Data Type: nvarchar(255)
@@ -14201,7 +14215,7 @@ if this limit is exceeded.
14201
14215
  get Parent(): string | null;
14202
14216
  /**
14203
14217
  * * Field Name: ContextCompressionPrompt
14204
- * * Display Name: Context Compression Prompt Text
14218
+ * * Display Name: Context Compression Prompt
14205
14219
  * * SQL Data Type: nvarchar(255)
14206
14220
  */
14207
14221
  get ContextCompressionPrompt(): string | null;
@@ -14225,13 +14239,13 @@ if this limit is exceeded.
14225
14239
  get OwnerUser(): string;
14226
14240
  /**
14227
14241
  * * Field Name: AttachmentStorageProvider
14228
- * * Display Name: Attachment Storage Provider Name
14242
+ * * Display Name: Attachment Storage Provider
14229
14243
  * * SQL Data Type: nvarchar(50)
14230
14244
  */
14231
14245
  get AttachmentStorageProvider(): string | null;
14232
14246
  /**
14233
14247
  * * Field Name: RootParentID
14234
- * * Display Name: Root Parent
14248
+ * * Display Name: Root Parent ID
14235
14249
  * * SQL Data Type: uniqueidentifier
14236
14250
  */
14237
14251
  get RootParentID(): string | null;
@@ -22490,7 +22504,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
22490
22504
  set ID(value: string);
22491
22505
  /**
22492
22506
  * * Field Name: EntityFieldID
22493
- * * Display Name: Entity Field
22507
+ * * Display Name: Entity Field ID
22494
22508
  * * SQL Data Type: uniqueidentifier
22495
22509
  * * Related Entity/Foreign Key: Entity Fields (vwEntityFields.ID)
22496
22510
  */
@@ -22529,14 +22543,14 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
22529
22543
  set Description(value: string | null);
22530
22544
  /**
22531
22545
  * * Field Name: __mj_CreatedAt
22532
- * * Display Name: Created At
22546
+ * * Display Name: __mj _Created At
22533
22547
  * * SQL Data Type: datetimeoffset
22534
22548
  * * Default Value: getutcdate()
22535
22549
  */
22536
22550
  get __mj_CreatedAt(): Date;
22537
22551
  /**
22538
22552
  * * Field Name: __mj_UpdatedAt
22539
- * * Display Name: Updated At
22553
+ * * Display Name: __mj _Updated At
22540
22554
  * * SQL Data Type: datetimeoffset
22541
22555
  * * Default Value: getutcdate()
22542
22556
  */
@@ -22555,7 +22569,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
22555
22569
  get Entity(): string;
22556
22570
  /**
22557
22571
  * * Field Name: EntityID
22558
- * * Display Name: Entity
22572
+ * * Display Name: Entity ID
22559
22573
  * * SQL Data Type: uniqueidentifier
22560
22574
  */
22561
22575
  get EntityID(): string;
@@ -28095,7 +28109,7 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
28095
28109
  set Description(value: string | null);
28096
28110
  /**
28097
28111
  * * Field Name: SystemPromptID
28098
- * * Display Name: System Prompt ID
28112
+ * * Display Name: System Prompt
28099
28113
  * * SQL Data Type: uniqueidentifier
28100
28114
  * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
28101
28115
  * * Description: Reference to the AI Prompt that contains the system-level instructions for all agents of this type. This prompt will be blended with individual agent prompts.
@@ -28104,7 +28118,7 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
28104
28118
  set SystemPromptID(value: string | null);
28105
28119
  /**
28106
28120
  * * Field Name: IsActive
28107
- * * Display Name: Is Active
28121
+ * * Display Name: Active
28108
28122
  * * SQL Data Type: bit
28109
28123
  * * Default Value: 1
28110
28124
  * * Description: Indicates whether this agent type is available for use. Inactive types cannot be assigned to new agents.
@@ -28167,6 +28181,14 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
28167
28181
  get UIFormSectionExpandedByDefault(): boolean;
28168
28182
  set UIFormSectionExpandedByDefault(value: boolean);
28169
28183
  /**
28184
+ * * Field Name: PromptParamsSchema
28185
+ * * Display Name: Prompt Params Schema
28186
+ * * SQL Data Type: nvarchar(MAX)
28187
+ * * Description: JSON Schema defining the available prompt parameters for this agent type. Includes property definitions with types, defaults, and descriptions. Used by agents of this type to customize which prompt sections are included in the system prompt. The schema follows JSON Schema draft-07 format.
28188
+ */
28189
+ get PromptParamsSchema(): string | null;
28190
+ set PromptParamsSchema(value: string | null);
28191
+ /**
28170
28192
  * * Field Name: SystemPrompt
28171
28193
  * * Display Name: System Prompt
28172
28194
  * * SQL Data Type: nvarchar(255)