@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.
|
@@ -470,7 +470,8 @@ exports.ActionSchema = zod_1.z.object({
|
|
|
470
470
|
Name: zod_1.z.string().describe(`
|
|
471
471
|
* * Field Name: Name
|
|
472
472
|
* * Display Name: Name
|
|
473
|
-
* * SQL Data Type: nvarchar(425)
|
|
473
|
+
* * SQL Data Type: nvarchar(425)
|
|
474
|
+
* * 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.`),
|
|
474
475
|
Description: zod_1.z.string().nullable().describe(`
|
|
475
476
|
* * Field Name: Description
|
|
476
477
|
* * Display Name: Description
|
|
@@ -999,7 +1000,8 @@ exports.AIAgentSchema = zod_1.z.object({
|
|
|
999
1000
|
LogoURL: zod_1.z.string().nullable().describe(`
|
|
1000
1001
|
* * Field Name: LogoURL
|
|
1001
1002
|
* * Display Name: Logo URL
|
|
1002
|
-
* * SQL Data Type: nvarchar(255)
|
|
1003
|
+
* * SQL Data Type: nvarchar(255)
|
|
1004
|
+
* * 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.`),
|
|
1003
1005
|
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
1004
1006
|
* * Field Name: __mj_CreatedAt
|
|
1005
1007
|
* * Display Name: Created At
|
|
@@ -1102,6 +1104,18 @@ exports.AIAgentSchema = zod_1.z.object({
|
|
|
1102
1104
|
* * SQL Data Type: nvarchar(MAX)
|
|
1103
1105
|
* * Default Value: ["*"]
|
|
1104
1106
|
* * Description: JSON array of paths that define which parts of the payload sub-agents are allowed to write back upstream. Use ["*"] to allow all writes, or specify paths like ["analysis.results", "recommendations.*"]`),
|
|
1107
|
+
PayloadSelfReadPaths: zod_1.z.string().nullable().describe(`
|
|
1108
|
+
* * Field Name: PayloadSelfReadPaths
|
|
1109
|
+
* * Display Name: Payload Self Read Paths
|
|
1110
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1111
|
+
* * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
|
|
1112
|
+
flow when the agent executes its own prompt step.`),
|
|
1113
|
+
PayloadSelfWritePaths: zod_1.z.string().nullable().describe(`
|
|
1114
|
+
* * Field Name: PayloadSelfWritePaths
|
|
1115
|
+
* * Display Name: Payload Self Write Paths
|
|
1116
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1117
|
+
* * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
|
|
1118
|
+
data flow when the agent executes its own prompt step.`),
|
|
1105
1119
|
Parent: zod_1.z.string().nullable().describe(`
|
|
1106
1120
|
* * Field Name: Parent
|
|
1107
1121
|
* * Display Name: Parent
|
|
@@ -11457,7 +11471,8 @@ exports.UserSchema = zod_1.z.object({
|
|
|
11457
11471
|
* * SQL Data Type: nvarchar(50)`),
|
|
11458
11472
|
Email: zod_1.z.string().describe(`
|
|
11459
11473
|
* * Field Name: Email
|
|
11460
|
-
* * SQL Data Type: nvarchar(100)
|
|
11474
|
+
* * SQL Data Type: nvarchar(100)
|
|
11475
|
+
* * Description: Unique email address for the user. This field must be unique across all users in the system.`),
|
|
11461
11476
|
Type: zod_1.z.union([zod_1.z.literal('User'), zod_1.z.literal('Owner')]).describe(`
|
|
11462
11477
|
* * Field Name: Type
|
|
11463
11478
|
* * SQL Data Type: nchar(15)
|
|
@@ -13122,6 +13137,7 @@ let ActionEntity = class ActionEntity extends core_1.BaseEntity {
|
|
|
13122
13137
|
* * Field Name: Name
|
|
13123
13138
|
* * Display Name: Name
|
|
13124
13139
|
* * SQL Data Type: nvarchar(425)
|
|
13140
|
+
* * 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.
|
|
13125
13141
|
*/
|
|
13126
13142
|
get Name() {
|
|
13127
13143
|
return this.Get('Name');
|
|
@@ -14157,6 +14173,7 @@ exports.AIAgentNoteEntity = AIAgentNoteEntity = __decorate([
|
|
|
14157
14173
|
* * Schema: __mj
|
|
14158
14174
|
* * Base Table: AIAgentRequest
|
|
14159
14175
|
* * Base View: vwAIAgentRequests
|
|
14176
|
+
* * @description Table to log AI Agent requests, responses, and their statuses.
|
|
14160
14177
|
* * Primary Key: ID
|
|
14161
14178
|
* @extends {BaseEntity}
|
|
14162
14179
|
* @class
|
|
@@ -14469,6 +14486,7 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
|
|
|
14469
14486
|
* * Field Name: LogoURL
|
|
14470
14487
|
* * Display Name: Logo URL
|
|
14471
14488
|
* * SQL Data Type: nvarchar(255)
|
|
14489
|
+
* * 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.
|
|
14472
14490
|
*/
|
|
14473
14491
|
get LogoURL() {
|
|
14474
14492
|
return this.Get('LogoURL');
|
|
@@ -14692,6 +14710,32 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
|
|
|
14692
14710
|
this.Set('PayloadUpstreamPaths', value);
|
|
14693
14711
|
}
|
|
14694
14712
|
/**
|
|
14713
|
+
* * Field Name: PayloadSelfReadPaths
|
|
14714
|
+
* * Display Name: Payload Self Read Paths
|
|
14715
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
14716
|
+
* * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
|
|
14717
|
+
flow when the agent executes its own prompt step.
|
|
14718
|
+
*/
|
|
14719
|
+
get PayloadSelfReadPaths() {
|
|
14720
|
+
return this.Get('PayloadSelfReadPaths');
|
|
14721
|
+
}
|
|
14722
|
+
set PayloadSelfReadPaths(value) {
|
|
14723
|
+
this.Set('PayloadSelfReadPaths', value);
|
|
14724
|
+
}
|
|
14725
|
+
/**
|
|
14726
|
+
* * Field Name: PayloadSelfWritePaths
|
|
14727
|
+
* * Display Name: Payload Self Write Paths
|
|
14728
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
14729
|
+
* * Description: JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
|
|
14730
|
+
data flow when the agent executes its own prompt step.
|
|
14731
|
+
*/
|
|
14732
|
+
get PayloadSelfWritePaths() {
|
|
14733
|
+
return this.Get('PayloadSelfWritePaths');
|
|
14734
|
+
}
|
|
14735
|
+
set PayloadSelfWritePaths(value) {
|
|
14736
|
+
this.Set('PayloadSelfWritePaths', value);
|
|
14737
|
+
}
|
|
14738
|
+
/**
|
|
14695
14739
|
* * Field Name: Parent
|
|
14696
14740
|
* * Display Name: Parent
|
|
14697
14741
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -28196,6 +28240,7 @@ exports.FileEntity = FileEntity = __decorate([
|
|
|
28196
28240
|
* * Schema: __mj
|
|
28197
28241
|
* * Base Table: GeneratedCodeCategory
|
|
28198
28242
|
* * Base View: vwGeneratedCodeCategories
|
|
28243
|
+
* * @description Categorization for generated code, including optional parent-child relationships.
|
|
28199
28244
|
* * Primary Key: ID
|
|
28200
28245
|
* @extends {BaseEntity}
|
|
28201
28246
|
* @class
|
|
@@ -28301,6 +28346,7 @@ exports.GeneratedCodeCategoryEntity = GeneratedCodeCategoryEntity = __decorate([
|
|
|
28301
28346
|
* * Schema: __mj
|
|
28302
28347
|
* * Base Table: GeneratedCode
|
|
28303
28348
|
* * Base View: vwGeneratedCodes
|
|
28349
|
+
* * @description Stores LLM-generated code snippets, tracking their source, category, and validation status.
|
|
28304
28350
|
* * Primary Key: ID
|
|
28305
28351
|
* @extends {BaseEntity}
|
|
28306
28352
|
* @class
|
|
@@ -29484,6 +29530,7 @@ exports.ListEntity = ListEntity = __decorate([
|
|
|
29484
29530
|
* * Schema: __mj
|
|
29485
29531
|
* * Base Table: AIAgentPrompt
|
|
29486
29532
|
* * Base View: vwAIAgentPrompts
|
|
29533
|
+
* * @description Links AI agents with the prompts they use, including execution order and context handling.
|
|
29487
29534
|
* * Primary Key: ID
|
|
29488
29535
|
* @extends {BaseEntity}
|
|
29489
29536
|
* @class
|
|
@@ -29709,6 +29756,7 @@ exports.AIAgentPromptEntity = AIAgentPromptEntity = __decorate([
|
|
|
29709
29756
|
* * Schema: __mj
|
|
29710
29757
|
* * Base Table: AIAgentRunStep
|
|
29711
29758
|
* * Base View: vwAIAgentRunSteps
|
|
29759
|
+
* * @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.
|
|
29712
29760
|
* * Primary Key: ID
|
|
29713
29761
|
* @extends {BaseEntity}
|
|
29714
29762
|
* @class
|
|
@@ -29993,6 +30041,7 @@ exports.AIAgentRunStepEntity = AIAgentRunStepEntity = __decorate([
|
|
|
29993
30041
|
* * Schema: __mj
|
|
29994
30042
|
* * Base Table: AIAgentRun
|
|
29995
30043
|
* * Base View: vwAIAgentRuns
|
|
30044
|
+
* * @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.
|
|
29996
30045
|
* * Primary Key: ID
|
|
29997
30046
|
* @extends {BaseEntity}
|
|
29998
30047
|
* @class
|
|
@@ -30435,6 +30484,7 @@ exports.AIAgentRunEntity = AIAgentRunEntity = __decorate([
|
|
|
30435
30484
|
* * Schema: __mj
|
|
30436
30485
|
* * Base Table: AIAgentType
|
|
30437
30486
|
* * Base View: vwAIAgentTypes
|
|
30487
|
+
* * @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.
|
|
30438
30488
|
* * Primary Key: ID
|
|
30439
30489
|
* @extends {BaseEntity}
|
|
30440
30490
|
* @class
|
|
@@ -30580,6 +30630,7 @@ exports.AIAgentTypeEntity = AIAgentTypeEntity = __decorate([
|
|
|
30580
30630
|
* * Schema: __mj
|
|
30581
30631
|
* * Base Table: AIConfigurationParam
|
|
30582
30632
|
* * Base View: vwAIConfigurationParams
|
|
30633
|
+
* * @description Stores configuration parameters that can be referenced by prompts and used to control execution behavior.
|
|
30583
30634
|
* * Primary Key: ID
|
|
30584
30635
|
* @extends {BaseEntity}
|
|
30585
30636
|
* @class
|
|
@@ -30718,6 +30769,7 @@ exports.AIConfigurationParamEntity = AIConfigurationParamEntity = __decorate([
|
|
|
30718
30769
|
* * Schema: __mj
|
|
30719
30770
|
* * Base Table: AIConfiguration
|
|
30720
30771
|
* * Base View: vwAIConfigurations
|
|
30772
|
+
* * @description Stores configurations for AI prompt execution environments and settings.
|
|
30721
30773
|
* * Primary Key: ID
|
|
30722
30774
|
* @extends {BaseEntity}
|
|
30723
30775
|
* @class
|
|
@@ -30878,6 +30930,7 @@ exports.AIConfigurationEntity = AIConfigurationEntity = __decorate([
|
|
|
30878
30930
|
* * Schema: __mj
|
|
30879
30931
|
* * Base Table: AIModelCost
|
|
30880
30932
|
* * Base View: vwAIModelCosts
|
|
30933
|
+
* * @description Stores historical and current pricing information for AI models across different vendors, with optional temporal tracking and support for different processing types
|
|
30881
30934
|
* * Primary Key: ID
|
|
30882
30935
|
* @extends {BaseEntity}
|
|
30883
30936
|
* @class
|
|
@@ -31191,6 +31244,7 @@ exports.AIModelCostEntity = AIModelCostEntity = __decorate([
|
|
|
31191
31244
|
* * Schema: __mj
|
|
31192
31245
|
* * Base Table: AIModelPriceType
|
|
31193
31246
|
* * Base View: vwAIModelPriceTypes
|
|
31247
|
+
* * @description Defines the different types of pricing metrics used by AI model vendors (e.g., Tokens, Minutes, Characters, API Calls)
|
|
31194
31248
|
* * Primary Key: ID
|
|
31195
31249
|
* @extends {BaseEntity}
|
|
31196
31250
|
* @class
|
|
@@ -31300,6 +31354,7 @@ exports.AIModelPriceTypeEntity = AIModelPriceTypeEntity = __decorate([
|
|
|
31300
31354
|
* * Schema: __mj
|
|
31301
31355
|
* * Base Table: AIModelPriceUnitType
|
|
31302
31356
|
* * Base View: vwAIModelPriceUnitTypes
|
|
31357
|
+
* * @description Defines the unit scales used for pricing (e.g., Per 1M Tokens, Per 1K Tokens, Per Minute). Includes driver class for normalization calculations
|
|
31303
31358
|
* * Primary Key: ID
|
|
31304
31359
|
* @extends {BaseEntity}
|
|
31305
31360
|
* @class
|
|
@@ -31434,6 +31489,7 @@ exports.AIModelPriceUnitTypeEntity = AIModelPriceUnitTypeEntity = __decorate([
|
|
|
31434
31489
|
* * Schema: __mj
|
|
31435
31490
|
* * Base Table: AIModelVendor
|
|
31436
31491
|
* * Base View: vwAIModelVendors
|
|
31492
|
+
* * @description Associates AI models with vendors providing them, including vendor-specific implementation details.
|
|
31437
31493
|
* * Primary Key: ID
|
|
31438
31494
|
* @extends {BaseEntity}
|
|
31439
31495
|
* @class
|
|
@@ -31737,6 +31793,7 @@ exports.AIModelVendorEntity = AIModelVendorEntity = __decorate([
|
|
|
31737
31793
|
* * Schema: __mj
|
|
31738
31794
|
* * Base Table: AIPromptModel
|
|
31739
31795
|
* * Base View: vwAIPromptModels
|
|
31796
|
+
* * @description Associates AI prompts with specific models and configurations, including execution details.
|
|
31740
31797
|
* * Primary Key: ID
|
|
31741
31798
|
* @extends {BaseEntity}
|
|
31742
31799
|
* @class
|
|
@@ -32050,6 +32107,7 @@ exports.AIPromptModelEntity = AIPromptModelEntity = __decorate([
|
|
|
32050
32107
|
* * Schema: __mj
|
|
32051
32108
|
* * Base Table: AIPromptRun
|
|
32052
32109
|
* * Base View: vwAIPromptRuns
|
|
32110
|
+
* * @description Tracks AI prompt executions including timings, inputs, outputs, and performance metrics.
|
|
32053
32111
|
* * Primary Key: ID
|
|
32054
32112
|
* @extends {BaseEntity}
|
|
32055
32113
|
* @class
|
|
@@ -32900,6 +32958,7 @@ exports.AIPromptRunEntity = AIPromptRunEntity = __decorate([
|
|
|
32900
32958
|
* * Schema: __mj
|
|
32901
32959
|
* * Base Table: AIVendorTypeDefinition
|
|
32902
32960
|
* * Base View: vwAIVendorTypeDefinitions
|
|
32961
|
+
* * @description Defines the possible types of AI vendors, such as Model Developer or Inference Provider.
|
|
32903
32962
|
* * Primary Key: ID
|
|
32904
32963
|
* @extends {BaseEntity}
|
|
32905
32964
|
* @class
|
|
@@ -32985,6 +33044,7 @@ exports.AIVendorTypeDefinitionEntity = AIVendorTypeDefinitionEntity = __decorate
|
|
|
32985
33044
|
* * Schema: __mj
|
|
32986
33045
|
* * Base Table: AIVendorType
|
|
32987
33046
|
* * Base View: vwAIVendorTypes
|
|
33047
|
+
* * @description Associates vendors with their types (Model Developer, Inference Provider) and tracks the status of each role.
|
|
32988
33048
|
* * Primary Key: ID
|
|
32989
33049
|
* @extends {BaseEntity}
|
|
32990
33050
|
* @class
|
|
@@ -33142,6 +33202,7 @@ exports.AIVendorTypeEntity = AIVendorTypeEntity = __decorate([
|
|
|
33142
33202
|
* * Schema: __mj
|
|
33143
33203
|
* * Base Table: AIVendor
|
|
33144
33204
|
* * Base View: vwAIVendors
|
|
33205
|
+
* * @description Stores information about AI vendors providing models and/or inference services.
|
|
33145
33206
|
* * Primary Key: ID
|
|
33146
33207
|
* @extends {BaseEntity}
|
|
33147
33208
|
* @class
|
|
@@ -33228,6 +33289,7 @@ exports.AIVendorEntity = AIVendorEntity = __decorate([
|
|
|
33228
33289
|
* * Schema: __mj
|
|
33229
33290
|
* * Base Table: ArtifactType
|
|
33230
33291
|
* * Base View: vwArtifactTypes
|
|
33292
|
+
* * @description Defines the types of artifacts that can be created within conversations
|
|
33231
33293
|
* * Primary Key: ID
|
|
33232
33294
|
* @extends {BaseEntity}
|
|
33233
33295
|
* @class
|
|
@@ -33338,6 +33400,7 @@ exports.ArtifactTypeEntity = ArtifactTypeEntity = __decorate([
|
|
|
33338
33400
|
* * Schema: __mj
|
|
33339
33401
|
* * Base Table: ConversationArtifactPermission
|
|
33340
33402
|
* * Base View: vwConversationArtifactPermissions
|
|
33403
|
+
* * @description Manages user permissions for conversation artifacts
|
|
33341
33404
|
* * Primary Key: ID
|
|
33342
33405
|
* @extends {BaseEntity}
|
|
33343
33406
|
* @class
|
|
@@ -33450,6 +33513,7 @@ exports.ConversationArtifactPermissionEntity = ConversationArtifactPermissionEnt
|
|
|
33450
33513
|
* * Schema: __mj
|
|
33451
33514
|
* * Base Table: ConversationArtifactVersion
|
|
33452
33515
|
* * Base View: vwConversationArtifactVersions
|
|
33516
|
+
* * @description Stores versions of conversation artifacts
|
|
33453
33517
|
* * Primary Key: ID
|
|
33454
33518
|
* @extends {BaseEntity}
|
|
33455
33519
|
* @class
|
|
@@ -33604,6 +33668,7 @@ exports.ConversationArtifactVersionEntity = ConversationArtifactVersionEntity =
|
|
|
33604
33668
|
* * Schema: __mj
|
|
33605
33669
|
* * Base Table: ConversationArtifact
|
|
33606
33670
|
* * Base View: vwConversationArtifacts
|
|
33671
|
+
* * @description Stores metadata for artifacts created within conversations
|
|
33607
33672
|
* * Primary Key: ID
|
|
33608
33673
|
* @extends {BaseEntity}
|
|
33609
33674
|
* @class
|
|
@@ -33762,6 +33827,7 @@ exports.ConversationArtifactEntity = ConversationArtifactEntity = __decorate([
|
|
|
33762
33827
|
* * Schema: __mj
|
|
33763
33828
|
* * Base Table: DashboardUserPreference
|
|
33764
33829
|
* * Base View: vwDashboardUserPreferences
|
|
33830
|
+
* * @description Stores dashboard preferences for users and system defaults. The absence of a record for a dashboard means it is not shown.
|
|
33765
33831
|
* * Primary Key: ID
|
|
33766
33832
|
* @extends {BaseEntity}
|
|
33767
33833
|
* @class
|
|
@@ -33941,6 +34007,7 @@ exports.DashboardUserPreferenceEntity = DashboardUserPreferenceEntity = __decora
|
|
|
33941
34007
|
* * Schema: __mj
|
|
33942
34008
|
* * Base Table: DashboardUserState
|
|
33943
34009
|
* * Base View: vwDashboardUserStates
|
|
34010
|
+
* * @description Stores user-specific dashboard state information
|
|
33944
34011
|
* * Primary Key: ID
|
|
33945
34012
|
* @extends {BaseEntity}
|
|
33946
34013
|
* @class
|
|
@@ -34057,6 +34124,7 @@ exports.DashboardUserStateEntity = DashboardUserStateEntity = __decorate([
|
|
|
34057
34124
|
* * Schema: __mj
|
|
34058
34125
|
* * Base Table: ReportUserState
|
|
34059
34126
|
* * Base View: vwReportUserStates
|
|
34127
|
+
* * @description Tracks individual user state within interactive reports
|
|
34060
34128
|
* * Primary Key: ID
|
|
34061
34129
|
* @extends {BaseEntity}
|
|
34062
34130
|
* @class
|
|
@@ -34171,6 +34239,7 @@ exports.ReportUserStateEntity = ReportUserStateEntity = __decorate([
|
|
|
34171
34239
|
* * Schema: __mj
|
|
34172
34240
|
* * Base Table: ReportVersion
|
|
34173
34241
|
* * Base View: vwReportVersions
|
|
34242
|
+
* * @description Stores iterations of report logic, structure, and layout changes
|
|
34174
34243
|
* * Primary Key: ID
|
|
34175
34244
|
* @extends {BaseEntity}
|
|
34176
34245
|
* @class
|
|
@@ -41592,6 +41661,7 @@ let UserEntity = class UserEntity extends core_1.BaseEntity {
|
|
|
41592
41661
|
/**
|
|
41593
41662
|
* * Field Name: Email
|
|
41594
41663
|
* * SQL Data Type: nvarchar(100)
|
|
41664
|
+
* * Description: Unique email address for the user. This field must be unique across all users in the system.
|
|
41595
41665
|
*/
|
|
41596
41666
|
get Email() {
|
|
41597
41667
|
return this.Get('Email');
|