@memberjunction/core-entities 2.63.1 → 2.65.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.
@@ -666,6 +666,8 @@ export declare const AIAgentSchema: z.ZodObject<{
666
666
  ModelSelectionMode: z.ZodUnion<[z.ZodLiteral<"Agent Type">, z.ZodLiteral<"Agent">]>;
667
667
  PayloadDownstreamPaths: z.ZodString;
668
668
  PayloadUpstreamPaths: z.ZodString;
669
+ PayloadSelfReadPaths: z.ZodNullable<z.ZodString>;
670
+ PayloadSelfWritePaths: z.ZodNullable<z.ZodString>;
669
671
  Parent: z.ZodNullable<z.ZodString>;
670
672
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
671
673
  Type: z.ZodNullable<z.ZodString>;
@@ -693,6 +695,8 @@ export declare const AIAgentSchema: z.ZodObject<{
693
695
  ModelSelectionMode?: "Agent" | "Agent Type";
694
696
  PayloadDownstreamPaths?: string;
695
697
  PayloadUpstreamPaths?: string;
698
+ PayloadSelfReadPaths?: string;
699
+ PayloadSelfWritePaths?: string;
696
700
  ContextCompressionPrompt?: string;
697
701
  }, {
698
702
  ID?: string;
@@ -718,6 +722,8 @@ export declare const AIAgentSchema: z.ZodObject<{
718
722
  ModelSelectionMode?: "Agent" | "Agent Type";
719
723
  PayloadDownstreamPaths?: string;
720
724
  PayloadUpstreamPaths?: string;
725
+ PayloadSelfReadPaths?: string;
726
+ PayloadSelfWritePaths?: string;
721
727
  ContextCompressionPrompt?: string;
722
728
  }>;
723
729
  export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
@@ -8874,6 +8880,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
8874
8880
  * * Field Name: Name
8875
8881
  * * Display Name: Name
8876
8882
  * * SQL Data Type: nvarchar(425)
8883
+ * * Description: The name of the action. Must be unique within the combination of CategoryID and ParentID. Actions with the same name can exist in different categories or under different parents.
8877
8884
  */
8878
8885
  get Name(): string;
8879
8886
  set Name(value: string);
@@ -9613,6 +9620,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
9613
9620
  * * Schema: __mj
9614
9621
  * * Base Table: AIAgentRequest
9615
9622
  * * Base View: vwAIAgentRequests
9623
+ * * @description Table to log AI Agent requests, responses, and their statuses.
9616
9624
  * * Primary Key: ID
9617
9625
  * @extends {BaseEntity}
9618
9626
  * @class
@@ -9830,6 +9838,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9830
9838
  * * Field Name: LogoURL
9831
9839
  * * Display Name: Logo URL
9832
9840
  * * SQL Data Type: nvarchar(255)
9841
+ * * Description: URL to an image file or base64 data URI (e.g., data:image/png;base64,...) for the agent logo. Takes precedence over IconClass in UI display.
9833
9842
  */
9834
9843
  get LogoURL(): string | null;
9835
9844
  set LogoURL(value: string | null);
@@ -9985,6 +9994,24 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
9985
9994
  get PayloadUpstreamPaths(): string;
9986
9995
  set PayloadUpstreamPaths(value: string);
9987
9996
  /**
9997
+ * * Field Name: PayloadSelfReadPaths
9998
+ * * Display Name: Payload Self Read Paths
9999
+ * * SQL Data Type: nvarchar(MAX)
10000
+ * * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
10001
+ flow when the agent executes its own prompt step.
10002
+ */
10003
+ get PayloadSelfReadPaths(): string | null;
10004
+ set PayloadSelfReadPaths(value: string | null);
10005
+ /**
10006
+ * * Field Name: PayloadSelfWritePaths
10007
+ * * Display Name: Payload Self Write Paths
10008
+ * * SQL Data Type: nvarchar(MAX)
10009
+ * * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
10010
+ data flow when the agent executes its own prompt step.
10011
+ */
10012
+ get PayloadSelfWritePaths(): string | null;
10013
+ set PayloadSelfWritePaths(value: string | null);
10014
+ /**
9988
10015
  * * Field Name: Parent
9989
10016
  * * Display Name: Parent
9990
10017
  * * SQL Data Type: nvarchar(255)
@@ -19525,6 +19552,7 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
19525
19552
  * * Schema: __mj
19526
19553
  * * Base Table: GeneratedCodeCategory
19527
19554
  * * Base View: vwGeneratedCodeCategories
19555
+ * * @description Categorization for generated code, including optional parent-child relationships.
19528
19556
  * * Primary Key: ID
19529
19557
  * @extends {BaseEntity}
19530
19558
  * @class
@@ -19600,6 +19628,7 @@ export declare class GeneratedCodeCategoryEntity extends BaseEntity<GeneratedCod
19600
19628
  * * Schema: __mj
19601
19629
  * * Base Table: GeneratedCode
19602
19630
  * * Base View: vwGeneratedCodes
19631
+ * * @description Stores LLM-generated code snippets, tracking their source, category, and validation status.
19603
19632
  * * Primary Key: ID
19604
19633
  * @extends {BaseEntity}
19605
19634
  * @class
@@ -20443,6 +20472,7 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
20443
20472
  * * Schema: __mj
20444
20473
  * * Base Table: AIAgentPrompt
20445
20474
  * * Base View: vwAIAgentPrompts
20475
+ * * @description Links AI agents with the prompts they use, including execution order and context handling.
20446
20476
  * * Primary Key: ID
20447
20477
  * @extends {BaseEntity}
20448
20478
  * @class
@@ -20606,6 +20636,7 @@ export declare class AIAgentPromptEntity extends BaseEntity<AIAgentPromptEntityT
20606
20636
  * * Schema: __mj
20607
20637
  * * Base Table: AIAgentRunStep
20608
20638
  * * Base View: vwAIAgentRunSteps
20639
+ * * @description Provides basic, step-by-step tracking of agent execution. Each step represents a discrete action within an agent run, such as prompt execution, tool usage, decision making, or sub-agent coordination.
20609
20640
  * * Primary Key: ID
20610
20641
  * @extends {BaseEntity}
20611
20642
  * @class
@@ -20806,6 +20837,7 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
20806
20837
  * * Schema: __mj
20807
20838
  * * Base Table: AIAgentRun
20808
20839
  * * Base View: vwAIAgentRuns
20840
+ * * @description Tracks individual execution runs of AI agents, including hierarchical sub-agent runs. Provides basic logging, state persistence, and resource tracking for agent executions. Supports pause/resume functionality through state serialization.
20809
20841
  * * Primary Key: ID
20810
20842
  * @extends {BaseEntity}
20811
20843
  * @class
@@ -21118,6 +21150,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
21118
21150
  * * Schema: __mj
21119
21151
  * * Base Table: AIAgentType
21120
21152
  * * Base View: vwAIAgentTypes
21153
+ * * @description Defines types of AI agents with their system prompts and behavioral characteristics. Each agent type represents a category of agents that share common system-level instructions and capabilities.
21121
21154
  * * Primary Key: ID
21122
21155
  * @extends {BaseEntity}
21123
21156
  * @class
@@ -21221,6 +21254,7 @@ export declare class AIAgentTypeEntity extends BaseEntity<AIAgentTypeEntityType>
21221
21254
  * * Schema: __mj
21222
21255
  * * Base Table: AIConfigurationParam
21223
21256
  * * Base View: vwAIConfigurationParams
21257
+ * * @description Stores configuration parameters that can be referenced by prompts and used to control execution behavior.
21224
21258
  * * Primary Key: ID
21225
21259
  * @extends {BaseEntity}
21226
21260
  * @class
@@ -21321,6 +21355,7 @@ export declare class AIConfigurationParamEntity extends BaseEntity<AIConfigurati
21321
21355
  * * Schema: __mj
21322
21356
  * * Base Table: AIConfiguration
21323
21357
  * * Base View: vwAIConfigurations
21358
+ * * @description Stores configurations for AI prompt execution environments and settings.
21324
21359
  * * Primary Key: ID
21325
21360
  * @extends {BaseEntity}
21326
21361
  * @class
@@ -21437,6 +21472,7 @@ export declare class AIConfigurationEntity extends BaseEntity<AIConfigurationEnt
21437
21472
  * * Schema: __mj
21438
21473
  * * Base Table: AIModelCost
21439
21474
  * * Base View: vwAIModelCosts
21475
+ * * @description Stores historical and current pricing information for AI models across different vendors, with optional temporal tracking and support for different processing types
21440
21476
  * * Primary Key: ID
21441
21477
  * @extends {BaseEntity}
21442
21478
  * @class
@@ -21653,6 +21689,7 @@ export declare class AIModelCostEntity extends BaseEntity<AIModelCostEntityType>
21653
21689
  * * Schema: __mj
21654
21690
  * * Base Table: AIModelPriceType
21655
21691
  * * Base View: vwAIModelPriceTypes
21692
+ * * @description Defines the different types of pricing metrics used by AI model vendors (e.g., Tokens, Minutes, Characters, API Calls)
21656
21693
  * * Primary Key: ID
21657
21694
  * @extends {BaseEntity}
21658
21695
  * @class
@@ -21730,6 +21767,7 @@ export declare class AIModelPriceTypeEntity extends BaseEntity<AIModelPriceTypeE
21730
21767
  * * Schema: __mj
21731
21768
  * * Base Table: AIModelPriceUnitType
21732
21769
  * * Base View: vwAIModelPriceUnitTypes
21770
+ * * @description Defines the unit scales used for pricing (e.g., Per 1M Tokens, Per 1K Tokens, Per Minute). Includes driver class for normalization calculations
21733
21771
  * * Primary Key: ID
21734
21772
  * @extends {BaseEntity}
21735
21773
  * @class
@@ -21823,6 +21861,7 @@ export declare class AIModelPriceUnitTypeEntity extends BaseEntity<AIModelPriceU
21823
21861
  * * Schema: __mj
21824
21862
  * * Base Table: AIModelVendor
21825
21863
  * * Base View: vwAIModelVendors
21864
+ * * @description Associates AI models with vendors providing them, including vendor-specific implementation details.
21826
21865
  * * Primary Key: ID
21827
21866
  * @extends {BaseEntity}
21828
21867
  * @class
@@ -22034,6 +22073,7 @@ export declare class AIModelVendorEntity extends BaseEntity<AIModelVendorEntityT
22034
22073
  * * Schema: __mj
22035
22074
  * * Base Table: AIPromptModel
22036
22075
  * * Base View: vwAIPromptModels
22076
+ * * @description Associates AI prompts with specific models and configurations, including execution details.
22037
22077
  * * Primary Key: ID
22038
22078
  * @extends {BaseEntity}
22039
22079
  * @class
@@ -22251,6 +22291,7 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
22251
22291
  * * Schema: __mj
22252
22292
  * * Base Table: AIPromptRun
22253
22293
  * * Base View: vwAIPromptRuns
22294
+ * * @description Tracks AI prompt executions including timings, inputs, outputs, and performance metrics.
22254
22295
  * * Primary Key: ID
22255
22296
  * @extends {BaseEntity}
22256
22297
  * @class
@@ -22830,6 +22871,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
22830
22871
  * * Schema: __mj
22831
22872
  * * Base Table: AIVendorTypeDefinition
22832
22873
  * * Base View: vwAIVendorTypeDefinitions
22874
+ * * @description Defines the possible types of AI vendors, such as Model Developer or Inference Provider.
22833
22875
  * * Primary Key: ID
22834
22876
  * @extends {BaseEntity}
22835
22877
  * @class
@@ -22891,6 +22933,7 @@ export declare class AIVendorTypeDefinitionEntity extends BaseEntity<AIVendorTyp
22891
22933
  * * Schema: __mj
22892
22934
  * * Base Table: AIVendorType
22893
22935
  * * Base View: vwAIVendorTypes
22936
+ * * @description Associates vendors with their types (Model Developer, Inference Provider) and tracks the status of each role.
22894
22937
  * * Primary Key: ID
22895
22938
  * @extends {BaseEntity}
22896
22939
  * @class
@@ -23004,6 +23047,7 @@ export declare class AIVendorTypeEntity extends BaseEntity<AIVendorTypeEntityTyp
23004
23047
  * * Schema: __mj
23005
23048
  * * Base Table: AIVendor
23006
23049
  * * Base View: vwAIVendors
23050
+ * * @description Stores information about AI vendors providing models and/or inference services.
23007
23051
  * * Primary Key: ID
23008
23052
  * @extends {BaseEntity}
23009
23053
  * @class
@@ -23066,6 +23110,7 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
23066
23110
  * * Schema: __mj
23067
23111
  * * Base Table: ArtifactType
23068
23112
  * * Base View: vwArtifactTypes
23113
+ * * @description Defines the types of artifacts that can be created within conversations
23069
23114
  * * Primary Key: ID
23070
23115
  * @extends {BaseEntity}
23071
23116
  * @class
@@ -23144,6 +23189,7 @@ export declare class ArtifactTypeEntity extends BaseEntity<ArtifactTypeEntityTyp
23144
23189
  * * Schema: __mj
23145
23190
  * * Base Table: ConversationArtifactPermission
23146
23191
  * * Base View: vwConversationArtifactPermissions
23192
+ * * @description Manages user permissions for conversation artifacts
23147
23193
  * * Primary Key: ID
23148
23194
  * @extends {BaseEntity}
23149
23195
  * @class
@@ -23226,6 +23272,7 @@ export declare class ConversationArtifactPermissionEntity extends BaseEntity<Con
23226
23272
  * * Schema: __mj
23227
23273
  * * Base Table: ConversationArtifactVersion
23228
23274
  * * Base View: vwConversationArtifactVersions
23275
+ * * @description Stores versions of conversation artifacts
23229
23276
  * * Primary Key: ID
23230
23277
  * @extends {BaseEntity}
23231
23278
  * @class
@@ -23334,6 +23381,7 @@ export declare class ConversationArtifactVersionEntity extends BaseEntity<Conver
23334
23381
  * * Schema: __mj
23335
23382
  * * Base Table: ConversationArtifact
23336
23383
  * * Base View: vwConversationArtifacts
23384
+ * * @description Stores metadata for artifacts created within conversations
23337
23385
  * * Primary Key: ID
23338
23386
  * @extends {BaseEntity}
23339
23387
  * @class
@@ -23448,6 +23496,7 @@ export declare class ConversationArtifactEntity extends BaseEntity<ConversationA
23448
23496
  * * Schema: __mj
23449
23497
  * * Base Table: DashboardUserPreference
23450
23498
  * * Base View: vwDashboardUserPreferences
23499
+ * * @description Stores dashboard preferences for users and system defaults. The absence of a record for a dashboard means it is not shown.
23451
23500
  * * Primary Key: ID
23452
23501
  * @extends {BaseEntity}
23453
23502
  * @class
@@ -23574,6 +23623,7 @@ export declare class DashboardUserPreferenceEntity extends BaseEntity<DashboardU
23574
23623
  * * Schema: __mj
23575
23624
  * * Base Table: DashboardUserState
23576
23625
  * * Base View: vwDashboardUserStates
23626
+ * * @description Stores user-specific dashboard state information
23577
23627
  * * Primary Key: ID
23578
23628
  * @extends {BaseEntity}
23579
23629
  * @class
@@ -23658,6 +23708,7 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
23658
23708
  * * Schema: __mj
23659
23709
  * * Base Table: ReportUserState
23660
23710
  * * Base View: vwReportUserStates
23711
+ * * @description Tracks individual user state within interactive reports
23661
23712
  * * Primary Key: ID
23662
23713
  * @extends {BaseEntity}
23663
23714
  * @class
@@ -23740,6 +23791,7 @@ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEnt
23740
23791
  * * Schema: __mj
23741
23792
  * * Base Table: ReportVersion
23742
23793
  * * Base View: vwReportVersions
23794
+ * * @description Stores iterations of report logic, structure, and layout changes
23743
23795
  * * Primary Key: ID
23744
23796
  * @extends {BaseEntity}
23745
23797
  * @class
@@ -28980,6 +29032,7 @@ export declare class UserEntity extends BaseEntity<UserEntityType> {
28980
29032
  /**
28981
29033
  * * Field Name: Email
28982
29034
  * * SQL Data Type: nvarchar(100)
29035
+ * * Description: Unique email address for the user. This field must be unique across all users in the system.
28983
29036
  */
28984
29037
  get Email(): string;
28985
29038
  set Email(value: string);