@memberjunction/core-entities 2.85.0 → 2.87.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.
@@ -8,12 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.ContentSourceParamSchema = exports.ContentProcessRunSchema = exports.ContentItemSchema = exports.ContentItemTagSchema = exports.ContentItemAttributeSchema = exports.ContentFileTypeSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIAgentSchema = exports.AIAgentRequestSchema = exports.AIAgentNoteSchema = exports.AIAgentNoteTypeSchema = exports.AIAgentModelSchema = exports.AIAgentLearningCycleSchema = exports.AIAgentActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = exports.loadModule = void 0;
10
10
  exports.IntegrationSchema = exports.IntegrationURLFormatSchema = exports.GeneratedCodeSchema = exports.GeneratedCodeCategorySchema = exports.FileSchema = exports.FileStorageProviderSchema = exports.FileEntityRecordLinkSchema = exports.FileCategorySchema = exports.ExplorerNavigationItemSchema = exports.ErrorLogSchema = exports.EntitySettingSchema = exports.EntityRelationshipSchema = exports.EntityRelationshipDisplayComponentSchema = exports.EntityRecordDocumentSchema = exports.EntityPermissionSchema = exports.EntityFieldSchema = exports.EntityFieldValueSchema = exports.EntityDocumentSchema = exports.EntityDocumentTypeSchema = exports.EntityDocumentSettingSchema = exports.EntityDocumentRunSchema = exports.EntityCommunicationMessageTypeSchema = exports.EntityCommunicationFieldSchema = exports.EntityAIActionSchema = exports.EntityActionSchema = exports.EntityActionParamSchema = exports.EntityActionInvocationSchema = exports.EntityActionInvocationTypeSchema = exports.EntityActionFilterSchema = exports.EntitySchema = exports.EmployeeSchema = exports.EmployeeSkillSchema = exports.EmployeeRoleSchema = exports.EmployeeCompanyIntegrationSchema = exports.DuplicateRunSchema = exports.DuplicateRunDetailSchema = exports.DuplicateRunDetailMatchSchema = exports.DatasetSchema = exports.DatasetItemSchema = exports.DataContextSchema = exports.DataContextItemSchema = exports.DashboardSchema = exports.DashboardCategorySchema = exports.ConversationSchema = exports.ConversationDetailSchema = exports.ContentTypeSchema = exports.ContentTypeAttributeSchema = exports.ContentSourceSchema = exports.ContentSourceTypeSchema = exports.ContentSourceTypeParamSchema = void 0;
11
- exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.QueryParameterSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ArtifactTypeSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentPromptSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
12
- exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = void 0;
13
- exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = void 0;
14
- exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentPromptEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = void 0;
15
- exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.QueryParameterEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ArtifactTypeEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = void 0;
16
- exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = void 0;
11
+ exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.QueryParameterSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ComponentSchema = exports.ComponentRegistrySchema = exports.ComponentLibraryLinkSchema = exports.ComponentLibrarySchema = exports.ComponentDependencySchema = exports.ArtifactTypeSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentRelationshipSchema = exports.AIAgentPromptSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
12
+ exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = void 0;
13
+ exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = void 0;
14
+ exports.AIAgentRelationshipEntity = exports.AIAgentPromptEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = void 0;
15
+ exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.QueryParameterEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ComponentEntity = exports.ComponentRegistryEntity = exports.ComponentLibraryLinkEntity = exports.ComponentLibraryEntity = exports.ComponentDependencyEntity = exports.ArtifactTypeEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = void 0;
16
+ exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = void 0;
17
17
  const core_1 = require("@memberjunction/core");
18
18
  const global_1 = require("@memberjunction/global");
19
19
  const zod_1 = require("zod");
@@ -7255,6 +7255,57 @@ exports.AIAgentPromptSchema = zod_1.z.object({
7255
7255
  * * Display Name: Configuration
7256
7256
  * * SQL Data Type: nvarchar(100)`),
7257
7257
  });
7258
+ /**
7259
+ * zod schema definition for the entity MJ: AI Agent Relationships
7260
+ */
7261
+ exports.AIAgentRelationshipSchema = zod_1.z.object({
7262
+ ID: zod_1.z.string().describe(`
7263
+ * * Field Name: ID
7264
+ * * Display Name: ID
7265
+ * * SQL Data Type: uniqueidentifier
7266
+ * * Default Value: newsequentialid()
7267
+ * * Description: Primary key for AI agent relationships`),
7268
+ AgentID: zod_1.z.string().describe(`
7269
+ * * Field Name: AgentID
7270
+ * * Display Name: Agent ID
7271
+ * * SQL Data Type: uniqueidentifier
7272
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
7273
+ * * Description: Foreign key to parent AIAgent that can invoke the sub-agent`),
7274
+ SubAgentID: zod_1.z.string().describe(`
7275
+ * * Field Name: SubAgentID
7276
+ * * Display Name: Sub Agent ID
7277
+ * * SQL Data Type: uniqueidentifier
7278
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
7279
+ * * Description: Foreign key to sub-agent AIAgent that can be invoked`),
7280
+ Status: zod_1.z.union([zod_1.z.literal('Pending'), zod_1.z.literal('Active'), zod_1.z.literal('Revoked')]).describe(`
7281
+ * * Field Name: Status
7282
+ * * Display Name: Status
7283
+ * * SQL Data Type: nvarchar(50)
7284
+ * * Value List Type: List
7285
+ * * Possible Values
7286
+ * * Pending
7287
+ * * Active
7288
+ * * Revoked
7289
+ * * Description: Status of the relationship: Pending (awaiting approval), Active (can invoke), or Revoked (no longer allowed)`),
7290
+ __mj_CreatedAt: zod_1.z.date().describe(`
7291
+ * * Field Name: __mj_CreatedAt
7292
+ * * Display Name: Created At
7293
+ * * SQL Data Type: datetimeoffset
7294
+ * * Default Value: getutcdate()`),
7295
+ __mj_UpdatedAt: zod_1.z.date().describe(`
7296
+ * * Field Name: __mj_UpdatedAt
7297
+ * * Display Name: Updated At
7298
+ * * SQL Data Type: datetimeoffset
7299
+ * * Default Value: getutcdate()`),
7300
+ Agent: zod_1.z.string().nullable().describe(`
7301
+ * * Field Name: Agent
7302
+ * * Display Name: Agent
7303
+ * * SQL Data Type: nvarchar(255)`),
7304
+ SubAgent: zod_1.z.string().nullable().describe(`
7305
+ * * Field Name: SubAgent
7306
+ * * Display Name: Sub Agent
7307
+ * * SQL Data Type: nvarchar(255)`),
7308
+ });
7258
7309
  /**
7259
7310
  * zod schema definition for the entity MJ: AI Agent Run Steps
7260
7311
  */
@@ -9056,6 +9107,362 @@ exports.ArtifactTypeSchema = zod_1.z.object({
9056
9107
  * * SQL Data Type: datetimeoffset
9057
9108
  * * Default Value: getutcdate()`),
9058
9109
  });
9110
+ /**
9111
+ * zod schema definition for the entity MJ: Component Dependencies
9112
+ */
9113
+ exports.ComponentDependencySchema = zod_1.z.object({
9114
+ ID: zod_1.z.string().describe(`
9115
+ * * Field Name: ID
9116
+ * * Display Name: ID
9117
+ * * SQL Data Type: uniqueidentifier
9118
+ * * Default Value: newsequentialid()
9119
+ * * Description: Primary key for component dependency`),
9120
+ ComponentID: zod_1.z.string().describe(`
9121
+ * * Field Name: ComponentID
9122
+ * * Display Name: Component ID
9123
+ * * SQL Data Type: uniqueidentifier
9124
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
9125
+ * * Description: Foreign key to parent Component that has the dependency`),
9126
+ DependencyComponentID: zod_1.z.string().describe(`
9127
+ * * Field Name: DependencyComponentID
9128
+ * * Display Name: Dependency Component ID
9129
+ * * SQL Data Type: uniqueidentifier
9130
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
9131
+ * * Description: Foreign key to the Component that is depended upon`),
9132
+ __mj_CreatedAt: zod_1.z.date().describe(`
9133
+ * * Field Name: __mj_CreatedAt
9134
+ * * Display Name: Created At
9135
+ * * SQL Data Type: datetimeoffset
9136
+ * * Default Value: getutcdate()`),
9137
+ __mj_UpdatedAt: zod_1.z.date().describe(`
9138
+ * * Field Name: __mj_UpdatedAt
9139
+ * * Display Name: Updated At
9140
+ * * SQL Data Type: datetimeoffset
9141
+ * * Default Value: getutcdate()`),
9142
+ Component: zod_1.z.string().describe(`
9143
+ * * Field Name: Component
9144
+ * * Display Name: Component
9145
+ * * SQL Data Type: nvarchar(500)`),
9146
+ DependencyComponent: zod_1.z.string().describe(`
9147
+ * * Field Name: DependencyComponent
9148
+ * * Display Name: Dependency Component
9149
+ * * SQL Data Type: nvarchar(500)`),
9150
+ });
9151
+ /**
9152
+ * zod schema definition for the entity MJ: Component Libraries
9153
+ */
9154
+ exports.ComponentLibrarySchema = zod_1.z.object({
9155
+ ID: zod_1.z.string().describe(`
9156
+ * * Field Name: ID
9157
+ * * Display Name: ID
9158
+ * * SQL Data Type: uniqueidentifier
9159
+ * * Default Value: newsequentialid()
9160
+ * * Description: Primary key for the component library`),
9161
+ Name: zod_1.z.string().describe(`
9162
+ * * Field Name: Name
9163
+ * * Display Name: Name
9164
+ * * SQL Data Type: nvarchar(500)
9165
+ * * Description: NPM-style package name (e.g., recharts, lodash, @memberjunction/lib-name)`),
9166
+ DisplayName: zod_1.z.string().nullable().describe(`
9167
+ * * Field Name: DisplayName
9168
+ * * Display Name: Display Name
9169
+ * * SQL Data Type: nvarchar(500)
9170
+ * * Description: User-friendly display name for the library`),
9171
+ Version: zod_1.z.string().nullable().describe(`
9172
+ * * Field Name: Version
9173
+ * * Display Name: Version
9174
+ * * SQL Data Type: nvarchar(100)
9175
+ * * Description: Library version number`),
9176
+ GlobalVariable: zod_1.z.string().nullable().describe(`
9177
+ * * Field Name: GlobalVariable
9178
+ * * Display Name: Global Variable
9179
+ * * SQL Data Type: nvarchar(255)
9180
+ * * Description: Global variable name when loaded (e.g., _ for lodash, React for react)`),
9181
+ Category: zod_1.z.union([zod_1.z.literal('Core'), zod_1.z.literal('Runtime'), zod_1.z.literal('UI'), zod_1.z.literal('Charting'), zod_1.z.literal('Utility'), zod_1.z.literal('Other')]).nullable().describe(`
9182
+ * * Field Name: Category
9183
+ * * Display Name: Category
9184
+ * * SQL Data Type: nvarchar(100)
9185
+ * * Value List Type: List
9186
+ * * Possible Values
9187
+ * * Core
9188
+ * * Runtime
9189
+ * * UI
9190
+ * * Charting
9191
+ * * Utility
9192
+ * * Other
9193
+ * * Description: Library category: Core, Runtime, UI, Charting, Utility, or Other`),
9194
+ CDNUrl: zod_1.z.string().nullable().describe(`
9195
+ * * Field Name: CDNUrl
9196
+ * * Display Name: CDN Url
9197
+ * * SQL Data Type: nvarchar(1000)
9198
+ * * Description: CDN URL for loading the library JavaScript`),
9199
+ CDNCssUrl: zod_1.z.string().nullable().describe(`
9200
+ * * Field Name: CDNCssUrl
9201
+ * * Display Name: CDN Css Url
9202
+ * * SQL Data Type: nvarchar(1000)
9203
+ * * Description: Optional CDN URL for loading library CSS`),
9204
+ Description: zod_1.z.string().nullable().describe(`
9205
+ * * Field Name: Description
9206
+ * * Display Name: Description
9207
+ * * SQL Data Type: nvarchar(MAX)
9208
+ * * Description: Description of the library and its capabilities`),
9209
+ __mj_CreatedAt: zod_1.z.date().describe(`
9210
+ * * Field Name: __mj_CreatedAt
9211
+ * * Display Name: Created At
9212
+ * * SQL Data Type: datetimeoffset
9213
+ * * Default Value: getutcdate()`),
9214
+ __mj_UpdatedAt: zod_1.z.date().describe(`
9215
+ * * Field Name: __mj_UpdatedAt
9216
+ * * Display Name: Updated At
9217
+ * * SQL Data Type: datetimeoffset
9218
+ * * Default Value: getutcdate()`),
9219
+ });
9220
+ /**
9221
+ * zod schema definition for the entity MJ: Component Library Links
9222
+ */
9223
+ exports.ComponentLibraryLinkSchema = zod_1.z.object({
9224
+ ID: zod_1.z.string().describe(`
9225
+ * * Field Name: ID
9226
+ * * Display Name: ID
9227
+ * * SQL Data Type: uniqueidentifier
9228
+ * * Default Value: newsequentialid()
9229
+ * * Description: Primary key for component-library relationship`),
9230
+ ComponentID: zod_1.z.string().describe(`
9231
+ * * Field Name: ComponentID
9232
+ * * Display Name: Component ID
9233
+ * * SQL Data Type: uniqueidentifier
9234
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
9235
+ * * Description: Foreign key to Component that depends on the library`),
9236
+ LibraryID: zod_1.z.string().describe(`
9237
+ * * Field Name: LibraryID
9238
+ * * Display Name: Library ID
9239
+ * * SQL Data Type: uniqueidentifier
9240
+ * * Related Entity/Foreign Key: MJ: Component Libraries (vwComponentLibraries.ID)
9241
+ * * Description: Foreign key to ComponentLibrary that the component depends on`),
9242
+ MinVersion: zod_1.z.string().nullable().describe(`
9243
+ * * Field Name: MinVersion
9244
+ * * Display Name: Min Version
9245
+ * * SQL Data Type: nvarchar(100)
9246
+ * * Description: Minimum version requirement using semantic versioning (e.g., ^1.0.0, ~2.5.0)`),
9247
+ __mj_CreatedAt: zod_1.z.date().describe(`
9248
+ * * Field Name: __mj_CreatedAt
9249
+ * * Display Name: Created At
9250
+ * * SQL Data Type: datetimeoffset
9251
+ * * Default Value: getutcdate()`),
9252
+ __mj_UpdatedAt: zod_1.z.date().describe(`
9253
+ * * Field Name: __mj_UpdatedAt
9254
+ * * Display Name: Updated At
9255
+ * * SQL Data Type: datetimeoffset
9256
+ * * Default Value: getutcdate()`),
9257
+ Component: zod_1.z.string().describe(`
9258
+ * * Field Name: Component
9259
+ * * Display Name: Component
9260
+ * * SQL Data Type: nvarchar(500)`),
9261
+ Library: zod_1.z.string().describe(`
9262
+ * * Field Name: Library
9263
+ * * Display Name: Library
9264
+ * * SQL Data Type: nvarchar(500)`),
9265
+ });
9266
+ /**
9267
+ * zod schema definition for the entity MJ: Component Registries
9268
+ */
9269
+ exports.ComponentRegistrySchema = zod_1.z.object({
9270
+ ID: zod_1.z.string().describe(`
9271
+ * * Field Name: ID
9272
+ * * Display Name: ID
9273
+ * * SQL Data Type: uniqueidentifier
9274
+ * * Default Value: newsequentialid()
9275
+ * * Description: Primary key for the component registry`),
9276
+ Name: zod_1.z.string().describe(`
9277
+ * * Field Name: Name
9278
+ * * Display Name: Name
9279
+ * * SQL Data Type: nvarchar(255)
9280
+ * * Description: Name of the registry (e.g., MemberJunction Registry, NPM, Internal Registry)`),
9281
+ Description: zod_1.z.string().nullable().describe(`
9282
+ * * Field Name: Description
9283
+ * * Display Name: Description
9284
+ * * SQL Data Type: nvarchar(MAX)
9285
+ * * Description: Description of the registry and its purpose`),
9286
+ URI: zod_1.z.string().nullable().describe(`
9287
+ * * Field Name: URI
9288
+ * * Display Name: URI
9289
+ * * SQL Data Type: nvarchar(500)
9290
+ * * Description: Registry endpoint URI (e.g., https://registry.memberjunction.org)`),
9291
+ Type: zod_1.z.union([zod_1.z.literal('Public'), zod_1.z.literal('Private'), zod_1.z.literal('Internal')]).nullable().describe(`
9292
+ * * Field Name: Type
9293
+ * * Display Name: Type
9294
+ * * SQL Data Type: nvarchar(50)
9295
+ * * Value List Type: List
9296
+ * * Possible Values
9297
+ * * Public
9298
+ * * Private
9299
+ * * Internal
9300
+ * * Description: Type of registry: public, private, or internal`),
9301
+ APIVersion: zod_1.z.string().nullable().describe(`
9302
+ * * Field Name: APIVersion
9303
+ * * Display Name: API Version
9304
+ * * SQL Data Type: nvarchar(50)
9305
+ * * Description: API version supported by the registry for compatibility`),
9306
+ Status: zod_1.z.union([zod_1.z.literal('Active'), zod_1.z.literal('Deprecated'), zod_1.z.literal('Offline')]).nullable().describe(`
9307
+ * * Field Name: Status
9308
+ * * Display Name: Status
9309
+ * * SQL Data Type: nvarchar(50)
9310
+ * * Value List Type: List
9311
+ * * Possible Values
9312
+ * * Active
9313
+ * * Deprecated
9314
+ * * Offline
9315
+ * * Description: Current status of the registry: active, deprecated, or offline`),
9316
+ __mj_CreatedAt: zod_1.z.date().describe(`
9317
+ * * Field Name: __mj_CreatedAt
9318
+ * * Display Name: Created At
9319
+ * * SQL Data Type: datetimeoffset
9320
+ * * Default Value: getutcdate()`),
9321
+ __mj_UpdatedAt: zod_1.z.date().describe(`
9322
+ * * Field Name: __mj_UpdatedAt
9323
+ * * Display Name: Updated At
9324
+ * * SQL Data Type: datetimeoffset
9325
+ * * Default Value: getutcdate()`),
9326
+ });
9327
+ /**
9328
+ * zod schema definition for the entity MJ: Components
9329
+ */
9330
+ exports.ComponentSchema = zod_1.z.object({
9331
+ ID: zod_1.z.string().describe(`
9332
+ * * Field Name: ID
9333
+ * * Display Name: ID
9334
+ * * SQL Data Type: uniqueidentifier
9335
+ * * Default Value: newsequentialid()
9336
+ * * Description: Immutable UUID that remains the same across all systems`),
9337
+ Namespace: zod_1.z.string().nullable().describe(`
9338
+ * * Field Name: Namespace
9339
+ * * Display Name: Namespace
9340
+ * * SQL Data Type: nvarchar(MAX)
9341
+ * * Description: Hierarchical namespace path (e.g., dashboards/sales for local, @memberjunction/dashboards/financial for external)`),
9342
+ Name: zod_1.z.string().describe(`
9343
+ * * Field Name: Name
9344
+ * * Display Name: Name
9345
+ * * SQL Data Type: nvarchar(500)
9346
+ * * Description: Component name within the namespace (e.g., revenue-tracker)`),
9347
+ Version: zod_1.z.string().describe(`
9348
+ * * Field Name: Version
9349
+ * * Display Name: Version
9350
+ * * SQL Data Type: nvarchar(50)
9351
+ * * Description: Semantic version number (e.g., 1.0.0, 1.2.3-beta)`),
9352
+ VersionSequence: zod_1.z.number().describe(`
9353
+ * * Field Name: VersionSequence
9354
+ * * Display Name: Version Sequence
9355
+ * * SQL Data Type: int
9356
+ * * Default Value: 0
9357
+ * * Description: Numeric sequence for sorting versions`),
9358
+ Title: zod_1.z.string().nullable().describe(`
9359
+ * * Field Name: Title
9360
+ * * Display Name: Title
9361
+ * * SQL Data Type: nvarchar(1000)
9362
+ * * Description: User-friendly display title for the component`),
9363
+ Description: zod_1.z.string().nullable().describe(`
9364
+ * * Field Name: Description
9365
+ * * Display Name: Description
9366
+ * * SQL Data Type: nvarchar(MAX)
9367
+ * * Description: Detailed description of the component functionality`),
9368
+ Type: zod_1.z.union([zod_1.z.literal('Report'), zod_1.z.literal('Dashboard'), zod_1.z.literal('Form'), zod_1.z.literal('Table'), zod_1.z.literal('Chart'), zod_1.z.literal('Navigation'), zod_1.z.literal('Search'), zod_1.z.literal('Widget'), zod_1.z.literal('Utility'), zod_1.z.literal('Other')]).nullable().describe(`
9369
+ * * Field Name: Type
9370
+ * * Display Name: Type
9371
+ * * SQL Data Type: nvarchar(255)
9372
+ * * Value List Type: List
9373
+ * * Possible Values
9374
+ * * Report
9375
+ * * Dashboard
9376
+ * * Form
9377
+ * * Table
9378
+ * * Chart
9379
+ * * Navigation
9380
+ * * Search
9381
+ * * Widget
9382
+ * * Utility
9383
+ * * Other
9384
+ * * Description: Component type: report, dashboard, form, table, chart, navigation, search, widget, utility, or other`),
9385
+ Status: zod_1.z.union([zod_1.z.literal('Draft'), zod_1.z.literal('Published'), zod_1.z.literal('Deprecated')]).nullable().describe(`
9386
+ * * Field Name: Status
9387
+ * * Display Name: Status
9388
+ * * SQL Data Type: nvarchar(50)
9389
+ * * Value List Type: List
9390
+ * * Possible Values
9391
+ * * Draft
9392
+ * * Published
9393
+ * * Deprecated
9394
+ * * Description: Publication status: draft, published, or deprecated`),
9395
+ DeveloperName: zod_1.z.string().nullable().describe(`
9396
+ * * Field Name: DeveloperName
9397
+ * * Display Name: Developer Name
9398
+ * * SQL Data Type: nvarchar(255)
9399
+ * * Description: Name of the component developer or author`),
9400
+ DeveloperEmail: zod_1.z.string().nullable().describe(`
9401
+ * * Field Name: DeveloperEmail
9402
+ * * Display Name: Developer Email
9403
+ * * SQL Data Type: nvarchar(255)
9404
+ * * Description: Contact email for the component developer`),
9405
+ DeveloperOrganization: zod_1.z.string().nullable().describe(`
9406
+ * * Field Name: DeveloperOrganization
9407
+ * * Display Name: Developer Organization
9408
+ * * SQL Data Type: nvarchar(255)
9409
+ * * Description: Organization name of the component developer`),
9410
+ SourceRegistryID: zod_1.z.string().nullable().describe(`
9411
+ * * Field Name: SourceRegistryID
9412
+ * * Display Name: Source Registry ID
9413
+ * * SQL Data Type: uniqueidentifier
9414
+ * * Related Entity/Foreign Key: MJ: Component Registries (vwComponentRegistries.ID)
9415
+ * * Description: Foreign key to ComponentRegistry - NULL for local components, populated for replicated ones`),
9416
+ ReplicatedAt: zod_1.z.date().nullable().describe(`
9417
+ * * Field Name: ReplicatedAt
9418
+ * * Display Name: Replicated At
9419
+ * * SQL Data Type: datetimeoffset
9420
+ * * Description: Timestamp when the component was replicated from external registry (NULL for local components)`),
9421
+ LastSyncedAt: zod_1.z.date().nullable().describe(`
9422
+ * * Field Name: LastSyncedAt
9423
+ * * Display Name: Last Synced At
9424
+ * * SQL Data Type: datetimeoffset
9425
+ * * Description: Last synchronization timestamp with the source registry`),
9426
+ __mj_CreatedAt: zod_1.z.date().describe(`
9427
+ * * Field Name: __mj_CreatedAt
9428
+ * * Display Name: Created At
9429
+ * * SQL Data Type: datetimeoffset
9430
+ * * Default Value: getutcdate()`),
9431
+ __mj_UpdatedAt: zod_1.z.date().describe(`
9432
+ * * Field Name: __mj_UpdatedAt
9433
+ * * Display Name: Updated At
9434
+ * * SQL Data Type: datetimeoffset
9435
+ * * Default Value: getutcdate()`),
9436
+ Specification: zod_1.z.string().describe(`
9437
+ * * Field Name: Specification
9438
+ * * Display Name: Specification
9439
+ * * SQL Data Type: nvarchar(MAX)
9440
+ * * Description: Complete JSON specification object for the component`),
9441
+ FunctionalRequirements: zod_1.z.string().nullable().describe(`
9442
+ * * Field Name: FunctionalRequirements
9443
+ * * Display Name: Functional Requirements
9444
+ * * SQL Data Type: nvarchar(MAX)
9445
+ * * Description: Functional requirements describing what the component should accomplish`),
9446
+ TechnicalDesign: zod_1.z.string().nullable().describe(`
9447
+ * * Field Name: TechnicalDesign
9448
+ * * Display Name: Technical Design
9449
+ * * SQL Data Type: nvarchar(MAX)
9450
+ * * Description: Technical design describing how the component is implemented`),
9451
+ FunctionalRequirementsVector: zod_1.z.string().nullable().describe(`
9452
+ * * Field Name: FunctionalRequirementsVector
9453
+ * * Display Name: Functional Requirements Vector
9454
+ * * SQL Data Type: nvarchar(MAX)
9455
+ * * Description: Vector embedding of the functional requirements for similarity search`),
9456
+ TechnicalDesignVector: zod_1.z.string().nullable().describe(`
9457
+ * * Field Name: TechnicalDesignVector
9458
+ * * Display Name: Technical Design Vector
9459
+ * * SQL Data Type: nvarchar(MAX)
9460
+ * * Description: Vector embedding of the technical design for similarity search`),
9461
+ SourceRegistry: zod_1.z.string().nullable().describe(`
9462
+ * * Field Name: SourceRegistry
9463
+ * * Display Name: Source Registry
9464
+ * * SQL Data Type: nvarchar(255)`),
9465
+ });
9059
9466
  /**
9060
9467
  * zod schema definition for the entity MJ: Conversation Artifact Permissions
9061
9468
  */
@@ -31373,6 +31780,129 @@ exports.AIAgentPromptEntity = AIAgentPromptEntity;
31373
31780
  exports.AIAgentPromptEntity = AIAgentPromptEntity = __decorate([
31374
31781
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Prompts')
31375
31782
  ], AIAgentPromptEntity);
31783
+ /**
31784
+ * MJ: AI Agent Relationships - strongly typed entity sub-class
31785
+ * * Schema: __mj
31786
+ * * Base Table: AIAgentRelationship
31787
+ * * Base View: vwAIAgentRelationships
31788
+ * * @description Tracks relationships between AI agents for sub-agent orchestration
31789
+ * * Primary Key: ID
31790
+ * @extends {BaseEntity}
31791
+ * @class
31792
+ * @public
31793
+ */
31794
+ let AIAgentRelationshipEntity = class AIAgentRelationshipEntity extends core_1.BaseEntity {
31795
+ /**
31796
+ * Loads the MJ: AI Agent Relationships record from the database
31797
+ * @param ID: string - primary key value to load the MJ: AI Agent Relationships record.
31798
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
31799
+ * @returns {Promise<boolean>} - true if successful, false otherwise
31800
+ * @public
31801
+ * @async
31802
+ * @memberof AIAgentRelationshipEntity
31803
+ * @method
31804
+ * @override
31805
+ */
31806
+ async Load(ID, EntityRelationshipsToLoad) {
31807
+ const compositeKey = new core_1.CompositeKey();
31808
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
31809
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
31810
+ }
31811
+ /**
31812
+ * * Field Name: ID
31813
+ * * Display Name: ID
31814
+ * * SQL Data Type: uniqueidentifier
31815
+ * * Default Value: newsequentialid()
31816
+ * * Description: Primary key for AI agent relationships
31817
+ */
31818
+ get ID() {
31819
+ return this.Get('ID');
31820
+ }
31821
+ set ID(value) {
31822
+ this.Set('ID', value);
31823
+ }
31824
+ /**
31825
+ * * Field Name: AgentID
31826
+ * * Display Name: Agent ID
31827
+ * * SQL Data Type: uniqueidentifier
31828
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
31829
+ * * Description: Foreign key to parent AIAgent that can invoke the sub-agent
31830
+ */
31831
+ get AgentID() {
31832
+ return this.Get('AgentID');
31833
+ }
31834
+ set AgentID(value) {
31835
+ this.Set('AgentID', value);
31836
+ }
31837
+ /**
31838
+ * * Field Name: SubAgentID
31839
+ * * Display Name: Sub Agent ID
31840
+ * * SQL Data Type: uniqueidentifier
31841
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
31842
+ * * Description: Foreign key to sub-agent AIAgent that can be invoked
31843
+ */
31844
+ get SubAgentID() {
31845
+ return this.Get('SubAgentID');
31846
+ }
31847
+ set SubAgentID(value) {
31848
+ this.Set('SubAgentID', value);
31849
+ }
31850
+ /**
31851
+ * * Field Name: Status
31852
+ * * Display Name: Status
31853
+ * * SQL Data Type: nvarchar(50)
31854
+ * * Value List Type: List
31855
+ * * Possible Values
31856
+ * * Pending
31857
+ * * Active
31858
+ * * Revoked
31859
+ * * Description: Status of the relationship: Pending (awaiting approval), Active (can invoke), or Revoked (no longer allowed)
31860
+ */
31861
+ get Status() {
31862
+ return this.Get('Status');
31863
+ }
31864
+ set Status(value) {
31865
+ this.Set('Status', value);
31866
+ }
31867
+ /**
31868
+ * * Field Name: __mj_CreatedAt
31869
+ * * Display Name: Created At
31870
+ * * SQL Data Type: datetimeoffset
31871
+ * * Default Value: getutcdate()
31872
+ */
31873
+ get __mj_CreatedAt() {
31874
+ return this.Get('__mj_CreatedAt');
31875
+ }
31876
+ /**
31877
+ * * Field Name: __mj_UpdatedAt
31878
+ * * Display Name: Updated At
31879
+ * * SQL Data Type: datetimeoffset
31880
+ * * Default Value: getutcdate()
31881
+ */
31882
+ get __mj_UpdatedAt() {
31883
+ return this.Get('__mj_UpdatedAt');
31884
+ }
31885
+ /**
31886
+ * * Field Name: Agent
31887
+ * * Display Name: Agent
31888
+ * * SQL Data Type: nvarchar(255)
31889
+ */
31890
+ get Agent() {
31891
+ return this.Get('Agent');
31892
+ }
31893
+ /**
31894
+ * * Field Name: SubAgent
31895
+ * * Display Name: Sub Agent
31896
+ * * SQL Data Type: nvarchar(255)
31897
+ */
31898
+ get SubAgent() {
31899
+ return this.Get('SubAgent');
31900
+ }
31901
+ };
31902
+ exports.AIAgentRelationshipEntity = AIAgentRelationshipEntity;
31903
+ exports.AIAgentRelationshipEntity = AIAgentRelationshipEntity = __decorate([
31904
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Relationships')
31905
+ ], AIAgentRelationshipEntity);
31376
31906
  /**
31377
31907
  * MJ: AI Agent Run Steps - strongly typed entity sub-class
31378
31908
  * * Schema: __mj
@@ -36068,6 +36598,863 @@ exports.ArtifactTypeEntity = ArtifactTypeEntity;
36068
36598
  exports.ArtifactTypeEntity = ArtifactTypeEntity = __decorate([
36069
36599
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifact Types')
36070
36600
  ], ArtifactTypeEntity);
36601
+ /**
36602
+ * MJ: Component Dependencies - strongly typed entity sub-class
36603
+ * * Schema: __mj
36604
+ * * Base Table: ComponentDependency
36605
+ * * Base View: vwComponentDependencies
36606
+ * * @description Tracks component-to-component dependencies for composition
36607
+ * * Primary Key: ID
36608
+ * @extends {BaseEntity}
36609
+ * @class
36610
+ * @public
36611
+ */
36612
+ let ComponentDependencyEntity = class ComponentDependencyEntity extends core_1.BaseEntity {
36613
+ /**
36614
+ * Loads the MJ: Component Dependencies record from the database
36615
+ * @param ID: string - primary key value to load the MJ: Component Dependencies record.
36616
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
36617
+ * @returns {Promise<boolean>} - true if successful, false otherwise
36618
+ * @public
36619
+ * @async
36620
+ * @memberof ComponentDependencyEntity
36621
+ * @method
36622
+ * @override
36623
+ */
36624
+ async Load(ID, EntityRelationshipsToLoad) {
36625
+ const compositeKey = new core_1.CompositeKey();
36626
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
36627
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
36628
+ }
36629
+ /**
36630
+ * * Field Name: ID
36631
+ * * Display Name: ID
36632
+ * * SQL Data Type: uniqueidentifier
36633
+ * * Default Value: newsequentialid()
36634
+ * * Description: Primary key for component dependency
36635
+ */
36636
+ get ID() {
36637
+ return this.Get('ID');
36638
+ }
36639
+ set ID(value) {
36640
+ this.Set('ID', value);
36641
+ }
36642
+ /**
36643
+ * * Field Name: ComponentID
36644
+ * * Display Name: Component ID
36645
+ * * SQL Data Type: uniqueidentifier
36646
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
36647
+ * * Description: Foreign key to parent Component that has the dependency
36648
+ */
36649
+ get ComponentID() {
36650
+ return this.Get('ComponentID');
36651
+ }
36652
+ set ComponentID(value) {
36653
+ this.Set('ComponentID', value);
36654
+ }
36655
+ /**
36656
+ * * Field Name: DependencyComponentID
36657
+ * * Display Name: Dependency Component ID
36658
+ * * SQL Data Type: uniqueidentifier
36659
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
36660
+ * * Description: Foreign key to the Component that is depended upon
36661
+ */
36662
+ get DependencyComponentID() {
36663
+ return this.Get('DependencyComponentID');
36664
+ }
36665
+ set DependencyComponentID(value) {
36666
+ this.Set('DependencyComponentID', value);
36667
+ }
36668
+ /**
36669
+ * * Field Name: __mj_CreatedAt
36670
+ * * Display Name: Created At
36671
+ * * SQL Data Type: datetimeoffset
36672
+ * * Default Value: getutcdate()
36673
+ */
36674
+ get __mj_CreatedAt() {
36675
+ return this.Get('__mj_CreatedAt');
36676
+ }
36677
+ /**
36678
+ * * Field Name: __mj_UpdatedAt
36679
+ * * Display Name: Updated At
36680
+ * * SQL Data Type: datetimeoffset
36681
+ * * Default Value: getutcdate()
36682
+ */
36683
+ get __mj_UpdatedAt() {
36684
+ return this.Get('__mj_UpdatedAt');
36685
+ }
36686
+ /**
36687
+ * * Field Name: Component
36688
+ * * Display Name: Component
36689
+ * * SQL Data Type: nvarchar(500)
36690
+ */
36691
+ get Component() {
36692
+ return this.Get('Component');
36693
+ }
36694
+ /**
36695
+ * * Field Name: DependencyComponent
36696
+ * * Display Name: Dependency Component
36697
+ * * SQL Data Type: nvarchar(500)
36698
+ */
36699
+ get DependencyComponent() {
36700
+ return this.Get('DependencyComponent');
36701
+ }
36702
+ };
36703
+ exports.ComponentDependencyEntity = ComponentDependencyEntity;
36704
+ exports.ComponentDependencyEntity = ComponentDependencyEntity = __decorate([
36705
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Component Dependencies')
36706
+ ], ComponentDependencyEntity);
36707
+ /**
36708
+ * MJ: Component Libraries - strongly typed entity sub-class
36709
+ * * Schema: __mj
36710
+ * * Base Table: ComponentLibrary
36711
+ * * Base View: vwComponentLibraries
36712
+ * * @description Catalog of third-party JavaScript libraries that components can depend on
36713
+ * * Primary Key: ID
36714
+ * @extends {BaseEntity}
36715
+ * @class
36716
+ * @public
36717
+ */
36718
+ let ComponentLibraryEntity = class ComponentLibraryEntity extends core_1.BaseEntity {
36719
+ /**
36720
+ * Loads the MJ: Component Libraries record from the database
36721
+ * @param ID: string - primary key value to load the MJ: Component Libraries record.
36722
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
36723
+ * @returns {Promise<boolean>} - true if successful, false otherwise
36724
+ * @public
36725
+ * @async
36726
+ * @memberof ComponentLibraryEntity
36727
+ * @method
36728
+ * @override
36729
+ */
36730
+ async Load(ID, EntityRelationshipsToLoad) {
36731
+ const compositeKey = new core_1.CompositeKey();
36732
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
36733
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
36734
+ }
36735
+ /**
36736
+ * * Field Name: ID
36737
+ * * Display Name: ID
36738
+ * * SQL Data Type: uniqueidentifier
36739
+ * * Default Value: newsequentialid()
36740
+ * * Description: Primary key for the component library
36741
+ */
36742
+ get ID() {
36743
+ return this.Get('ID');
36744
+ }
36745
+ set ID(value) {
36746
+ this.Set('ID', value);
36747
+ }
36748
+ /**
36749
+ * * Field Name: Name
36750
+ * * Display Name: Name
36751
+ * * SQL Data Type: nvarchar(500)
36752
+ * * Description: NPM-style package name (e.g., recharts, lodash, @memberjunction/lib-name)
36753
+ */
36754
+ get Name() {
36755
+ return this.Get('Name');
36756
+ }
36757
+ set Name(value) {
36758
+ this.Set('Name', value);
36759
+ }
36760
+ /**
36761
+ * * Field Name: DisplayName
36762
+ * * Display Name: Display Name
36763
+ * * SQL Data Type: nvarchar(500)
36764
+ * * Description: User-friendly display name for the library
36765
+ */
36766
+ get DisplayName() {
36767
+ return this.Get('DisplayName');
36768
+ }
36769
+ set DisplayName(value) {
36770
+ this.Set('DisplayName', value);
36771
+ }
36772
+ /**
36773
+ * * Field Name: Version
36774
+ * * Display Name: Version
36775
+ * * SQL Data Type: nvarchar(100)
36776
+ * * Description: Library version number
36777
+ */
36778
+ get Version() {
36779
+ return this.Get('Version');
36780
+ }
36781
+ set Version(value) {
36782
+ this.Set('Version', value);
36783
+ }
36784
+ /**
36785
+ * * Field Name: GlobalVariable
36786
+ * * Display Name: Global Variable
36787
+ * * SQL Data Type: nvarchar(255)
36788
+ * * Description: Global variable name when loaded (e.g., _ for lodash, React for react)
36789
+ */
36790
+ get GlobalVariable() {
36791
+ return this.Get('GlobalVariable');
36792
+ }
36793
+ set GlobalVariable(value) {
36794
+ this.Set('GlobalVariable', value);
36795
+ }
36796
+ /**
36797
+ * * Field Name: Category
36798
+ * * Display Name: Category
36799
+ * * SQL Data Type: nvarchar(100)
36800
+ * * Value List Type: List
36801
+ * * Possible Values
36802
+ * * Core
36803
+ * * Runtime
36804
+ * * UI
36805
+ * * Charting
36806
+ * * Utility
36807
+ * * Other
36808
+ * * Description: Library category: Core, Runtime, UI, Charting, Utility, or Other
36809
+ */
36810
+ get Category() {
36811
+ return this.Get('Category');
36812
+ }
36813
+ set Category(value) {
36814
+ this.Set('Category', value);
36815
+ }
36816
+ /**
36817
+ * * Field Name: CDNUrl
36818
+ * * Display Name: CDN Url
36819
+ * * SQL Data Type: nvarchar(1000)
36820
+ * * Description: CDN URL for loading the library JavaScript
36821
+ */
36822
+ get CDNUrl() {
36823
+ return this.Get('CDNUrl');
36824
+ }
36825
+ set CDNUrl(value) {
36826
+ this.Set('CDNUrl', value);
36827
+ }
36828
+ /**
36829
+ * * Field Name: CDNCssUrl
36830
+ * * Display Name: CDN Css Url
36831
+ * * SQL Data Type: nvarchar(1000)
36832
+ * * Description: Optional CDN URL for loading library CSS
36833
+ */
36834
+ get CDNCssUrl() {
36835
+ return this.Get('CDNCssUrl');
36836
+ }
36837
+ set CDNCssUrl(value) {
36838
+ this.Set('CDNCssUrl', value);
36839
+ }
36840
+ /**
36841
+ * * Field Name: Description
36842
+ * * Display Name: Description
36843
+ * * SQL Data Type: nvarchar(MAX)
36844
+ * * Description: Description of the library and its capabilities
36845
+ */
36846
+ get Description() {
36847
+ return this.Get('Description');
36848
+ }
36849
+ set Description(value) {
36850
+ this.Set('Description', value);
36851
+ }
36852
+ /**
36853
+ * * Field Name: __mj_CreatedAt
36854
+ * * Display Name: Created At
36855
+ * * SQL Data Type: datetimeoffset
36856
+ * * Default Value: getutcdate()
36857
+ */
36858
+ get __mj_CreatedAt() {
36859
+ return this.Get('__mj_CreatedAt');
36860
+ }
36861
+ /**
36862
+ * * Field Name: __mj_UpdatedAt
36863
+ * * Display Name: Updated At
36864
+ * * SQL Data Type: datetimeoffset
36865
+ * * Default Value: getutcdate()
36866
+ */
36867
+ get __mj_UpdatedAt() {
36868
+ return this.Get('__mj_UpdatedAt');
36869
+ }
36870
+ };
36871
+ exports.ComponentLibraryEntity = ComponentLibraryEntity;
36872
+ exports.ComponentLibraryEntity = ComponentLibraryEntity = __decorate([
36873
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Component Libraries')
36874
+ ], ComponentLibraryEntity);
36875
+ /**
36876
+ * MJ: Component Library Links - strongly typed entity sub-class
36877
+ * * Schema: __mj
36878
+ * * Base Table: ComponentLibraryLink
36879
+ * * Base View: vwComponentLibraryLinks
36880
+ * * @description Links components to their third-party library dependencies
36881
+ * * Primary Key: ID
36882
+ * @extends {BaseEntity}
36883
+ * @class
36884
+ * @public
36885
+ */
36886
+ let ComponentLibraryLinkEntity = class ComponentLibraryLinkEntity extends core_1.BaseEntity {
36887
+ /**
36888
+ * Loads the MJ: Component Library Links record from the database
36889
+ * @param ID: string - primary key value to load the MJ: Component Library Links record.
36890
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
36891
+ * @returns {Promise<boolean>} - true if successful, false otherwise
36892
+ * @public
36893
+ * @async
36894
+ * @memberof ComponentLibraryLinkEntity
36895
+ * @method
36896
+ * @override
36897
+ */
36898
+ async Load(ID, EntityRelationshipsToLoad) {
36899
+ const compositeKey = new core_1.CompositeKey();
36900
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
36901
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
36902
+ }
36903
+ /**
36904
+ * * Field Name: ID
36905
+ * * Display Name: ID
36906
+ * * SQL Data Type: uniqueidentifier
36907
+ * * Default Value: newsequentialid()
36908
+ * * Description: Primary key for component-library relationship
36909
+ */
36910
+ get ID() {
36911
+ return this.Get('ID');
36912
+ }
36913
+ set ID(value) {
36914
+ this.Set('ID', value);
36915
+ }
36916
+ /**
36917
+ * * Field Name: ComponentID
36918
+ * * Display Name: Component ID
36919
+ * * SQL Data Type: uniqueidentifier
36920
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
36921
+ * * Description: Foreign key to Component that depends on the library
36922
+ */
36923
+ get ComponentID() {
36924
+ return this.Get('ComponentID');
36925
+ }
36926
+ set ComponentID(value) {
36927
+ this.Set('ComponentID', value);
36928
+ }
36929
+ /**
36930
+ * * Field Name: LibraryID
36931
+ * * Display Name: Library ID
36932
+ * * SQL Data Type: uniqueidentifier
36933
+ * * Related Entity/Foreign Key: MJ: Component Libraries (vwComponentLibraries.ID)
36934
+ * * Description: Foreign key to ComponentLibrary that the component depends on
36935
+ */
36936
+ get LibraryID() {
36937
+ return this.Get('LibraryID');
36938
+ }
36939
+ set LibraryID(value) {
36940
+ this.Set('LibraryID', value);
36941
+ }
36942
+ /**
36943
+ * * Field Name: MinVersion
36944
+ * * Display Name: Min Version
36945
+ * * SQL Data Type: nvarchar(100)
36946
+ * * Description: Minimum version requirement using semantic versioning (e.g., ^1.0.0, ~2.5.0)
36947
+ */
36948
+ get MinVersion() {
36949
+ return this.Get('MinVersion');
36950
+ }
36951
+ set MinVersion(value) {
36952
+ this.Set('MinVersion', value);
36953
+ }
36954
+ /**
36955
+ * * Field Name: __mj_CreatedAt
36956
+ * * Display Name: Created At
36957
+ * * SQL Data Type: datetimeoffset
36958
+ * * Default Value: getutcdate()
36959
+ */
36960
+ get __mj_CreatedAt() {
36961
+ return this.Get('__mj_CreatedAt');
36962
+ }
36963
+ /**
36964
+ * * Field Name: __mj_UpdatedAt
36965
+ * * Display Name: Updated At
36966
+ * * SQL Data Type: datetimeoffset
36967
+ * * Default Value: getutcdate()
36968
+ */
36969
+ get __mj_UpdatedAt() {
36970
+ return this.Get('__mj_UpdatedAt');
36971
+ }
36972
+ /**
36973
+ * * Field Name: Component
36974
+ * * Display Name: Component
36975
+ * * SQL Data Type: nvarchar(500)
36976
+ */
36977
+ get Component() {
36978
+ return this.Get('Component');
36979
+ }
36980
+ /**
36981
+ * * Field Name: Library
36982
+ * * Display Name: Library
36983
+ * * SQL Data Type: nvarchar(500)
36984
+ */
36985
+ get Library() {
36986
+ return this.Get('Library');
36987
+ }
36988
+ };
36989
+ exports.ComponentLibraryLinkEntity = ComponentLibraryLinkEntity;
36990
+ exports.ComponentLibraryLinkEntity = ComponentLibraryLinkEntity = __decorate([
36991
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Component Library Links')
36992
+ ], ComponentLibraryLinkEntity);
36993
+ /**
36994
+ * MJ: Component Registries - strongly typed entity sub-class
36995
+ * * Schema: __mj
36996
+ * * Base Table: ComponentRegistry
36997
+ * * Base View: vwComponentRegistries
36998
+ * * @description Registry catalog for component sources, similar to NPM registry but supporting multiple sources
36999
+ * * Primary Key: ID
37000
+ * @extends {BaseEntity}
37001
+ * @class
37002
+ * @public
37003
+ */
37004
+ let ComponentRegistryEntity = class ComponentRegistryEntity extends core_1.BaseEntity {
37005
+ /**
37006
+ * Loads the MJ: Component Registries record from the database
37007
+ * @param ID: string - primary key value to load the MJ: Component Registries record.
37008
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
37009
+ * @returns {Promise<boolean>} - true if successful, false otherwise
37010
+ * @public
37011
+ * @async
37012
+ * @memberof ComponentRegistryEntity
37013
+ * @method
37014
+ * @override
37015
+ */
37016
+ async Load(ID, EntityRelationshipsToLoad) {
37017
+ const compositeKey = new core_1.CompositeKey();
37018
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
37019
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
37020
+ }
37021
+ /**
37022
+ * * Field Name: ID
37023
+ * * Display Name: ID
37024
+ * * SQL Data Type: uniqueidentifier
37025
+ * * Default Value: newsequentialid()
37026
+ * * Description: Primary key for the component registry
37027
+ */
37028
+ get ID() {
37029
+ return this.Get('ID');
37030
+ }
37031
+ set ID(value) {
37032
+ this.Set('ID', value);
37033
+ }
37034
+ /**
37035
+ * * Field Name: Name
37036
+ * * Display Name: Name
37037
+ * * SQL Data Type: nvarchar(255)
37038
+ * * Description: Name of the registry (e.g., MemberJunction Registry, NPM, Internal Registry)
37039
+ */
37040
+ get Name() {
37041
+ return this.Get('Name');
37042
+ }
37043
+ set Name(value) {
37044
+ this.Set('Name', value);
37045
+ }
37046
+ /**
37047
+ * * Field Name: Description
37048
+ * * Display Name: Description
37049
+ * * SQL Data Type: nvarchar(MAX)
37050
+ * * Description: Description of the registry and its purpose
37051
+ */
37052
+ get Description() {
37053
+ return this.Get('Description');
37054
+ }
37055
+ set Description(value) {
37056
+ this.Set('Description', value);
37057
+ }
37058
+ /**
37059
+ * * Field Name: URI
37060
+ * * Display Name: URI
37061
+ * * SQL Data Type: nvarchar(500)
37062
+ * * Description: Registry endpoint URI (e.g., https://registry.memberjunction.org)
37063
+ */
37064
+ get URI() {
37065
+ return this.Get('URI');
37066
+ }
37067
+ set URI(value) {
37068
+ this.Set('URI', value);
37069
+ }
37070
+ /**
37071
+ * * Field Name: Type
37072
+ * * Display Name: Type
37073
+ * * SQL Data Type: nvarchar(50)
37074
+ * * Value List Type: List
37075
+ * * Possible Values
37076
+ * * Public
37077
+ * * Private
37078
+ * * Internal
37079
+ * * Description: Type of registry: public, private, or internal
37080
+ */
37081
+ get Type() {
37082
+ return this.Get('Type');
37083
+ }
37084
+ set Type(value) {
37085
+ this.Set('Type', value);
37086
+ }
37087
+ /**
37088
+ * * Field Name: APIVersion
37089
+ * * Display Name: API Version
37090
+ * * SQL Data Type: nvarchar(50)
37091
+ * * Description: API version supported by the registry for compatibility
37092
+ */
37093
+ get APIVersion() {
37094
+ return this.Get('APIVersion');
37095
+ }
37096
+ set APIVersion(value) {
37097
+ this.Set('APIVersion', value);
37098
+ }
37099
+ /**
37100
+ * * Field Name: Status
37101
+ * * Display Name: Status
37102
+ * * SQL Data Type: nvarchar(50)
37103
+ * * Value List Type: List
37104
+ * * Possible Values
37105
+ * * Active
37106
+ * * Deprecated
37107
+ * * Offline
37108
+ * * Description: Current status of the registry: active, deprecated, or offline
37109
+ */
37110
+ get Status() {
37111
+ return this.Get('Status');
37112
+ }
37113
+ set Status(value) {
37114
+ this.Set('Status', value);
37115
+ }
37116
+ /**
37117
+ * * Field Name: __mj_CreatedAt
37118
+ * * Display Name: Created At
37119
+ * * SQL Data Type: datetimeoffset
37120
+ * * Default Value: getutcdate()
37121
+ */
37122
+ get __mj_CreatedAt() {
37123
+ return this.Get('__mj_CreatedAt');
37124
+ }
37125
+ /**
37126
+ * * Field Name: __mj_UpdatedAt
37127
+ * * Display Name: Updated At
37128
+ * * SQL Data Type: datetimeoffset
37129
+ * * Default Value: getutcdate()
37130
+ */
37131
+ get __mj_UpdatedAt() {
37132
+ return this.Get('__mj_UpdatedAt');
37133
+ }
37134
+ };
37135
+ exports.ComponentRegistryEntity = ComponentRegistryEntity;
37136
+ exports.ComponentRegistryEntity = ComponentRegistryEntity = __decorate([
37137
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Component Registries')
37138
+ ], ComponentRegistryEntity);
37139
+ /**
37140
+ * MJ: Components - strongly typed entity sub-class
37141
+ * * Schema: __mj
37142
+ * * Base Table: Component
37143
+ * * Base View: vwComponents
37144
+ * * @description Main catalog of reusable components with versioning and registry support
37145
+ * * Primary Key: ID
37146
+ * @extends {BaseEntity}
37147
+ * @class
37148
+ * @public
37149
+ */
37150
+ let ComponentEntity = class ComponentEntity extends core_1.BaseEntity {
37151
+ /**
37152
+ * Loads the MJ: Components record from the database
37153
+ * @param ID: string - primary key value to load the MJ: Components record.
37154
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
37155
+ * @returns {Promise<boolean>} - true if successful, false otherwise
37156
+ * @public
37157
+ * @async
37158
+ * @memberof ComponentEntity
37159
+ * @method
37160
+ * @override
37161
+ */
37162
+ async Load(ID, EntityRelationshipsToLoad) {
37163
+ const compositeKey = new core_1.CompositeKey();
37164
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
37165
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
37166
+ }
37167
+ /**
37168
+ * * Field Name: ID
37169
+ * * Display Name: ID
37170
+ * * SQL Data Type: uniqueidentifier
37171
+ * * Default Value: newsequentialid()
37172
+ * * Description: Immutable UUID that remains the same across all systems
37173
+ */
37174
+ get ID() {
37175
+ return this.Get('ID');
37176
+ }
37177
+ set ID(value) {
37178
+ this.Set('ID', value);
37179
+ }
37180
+ /**
37181
+ * * Field Name: Namespace
37182
+ * * Display Name: Namespace
37183
+ * * SQL Data Type: nvarchar(MAX)
37184
+ * * Description: Hierarchical namespace path (e.g., dashboards/sales for local, @memberjunction/dashboards/financial for external)
37185
+ */
37186
+ get Namespace() {
37187
+ return this.Get('Namespace');
37188
+ }
37189
+ set Namespace(value) {
37190
+ this.Set('Namespace', value);
37191
+ }
37192
+ /**
37193
+ * * Field Name: Name
37194
+ * * Display Name: Name
37195
+ * * SQL Data Type: nvarchar(500)
37196
+ * * Description: Component name within the namespace (e.g., revenue-tracker)
37197
+ */
37198
+ get Name() {
37199
+ return this.Get('Name');
37200
+ }
37201
+ set Name(value) {
37202
+ this.Set('Name', value);
37203
+ }
37204
+ /**
37205
+ * * Field Name: Version
37206
+ * * Display Name: Version
37207
+ * * SQL Data Type: nvarchar(50)
37208
+ * * Description: Semantic version number (e.g., 1.0.0, 1.2.3-beta)
37209
+ */
37210
+ get Version() {
37211
+ return this.Get('Version');
37212
+ }
37213
+ set Version(value) {
37214
+ this.Set('Version', value);
37215
+ }
37216
+ /**
37217
+ * * Field Name: VersionSequence
37218
+ * * Display Name: Version Sequence
37219
+ * * SQL Data Type: int
37220
+ * * Default Value: 0
37221
+ * * Description: Numeric sequence for sorting versions
37222
+ */
37223
+ get VersionSequence() {
37224
+ return this.Get('VersionSequence');
37225
+ }
37226
+ set VersionSequence(value) {
37227
+ this.Set('VersionSequence', value);
37228
+ }
37229
+ /**
37230
+ * * Field Name: Title
37231
+ * * Display Name: Title
37232
+ * * SQL Data Type: nvarchar(1000)
37233
+ * * Description: User-friendly display title for the component
37234
+ */
37235
+ get Title() {
37236
+ return this.Get('Title');
37237
+ }
37238
+ set Title(value) {
37239
+ this.Set('Title', value);
37240
+ }
37241
+ /**
37242
+ * * Field Name: Description
37243
+ * * Display Name: Description
37244
+ * * SQL Data Type: nvarchar(MAX)
37245
+ * * Description: Detailed description of the component functionality
37246
+ */
37247
+ get Description() {
37248
+ return this.Get('Description');
37249
+ }
37250
+ set Description(value) {
37251
+ this.Set('Description', value);
37252
+ }
37253
+ /**
37254
+ * * Field Name: Type
37255
+ * * Display Name: Type
37256
+ * * SQL Data Type: nvarchar(255)
37257
+ * * Value List Type: List
37258
+ * * Possible Values
37259
+ * * Report
37260
+ * * Dashboard
37261
+ * * Form
37262
+ * * Table
37263
+ * * Chart
37264
+ * * Navigation
37265
+ * * Search
37266
+ * * Widget
37267
+ * * Utility
37268
+ * * Other
37269
+ * * Description: Component type: report, dashboard, form, table, chart, navigation, search, widget, utility, or other
37270
+ */
37271
+ get Type() {
37272
+ return this.Get('Type');
37273
+ }
37274
+ set Type(value) {
37275
+ this.Set('Type', value);
37276
+ }
37277
+ /**
37278
+ * * Field Name: Status
37279
+ * * Display Name: Status
37280
+ * * SQL Data Type: nvarchar(50)
37281
+ * * Value List Type: List
37282
+ * * Possible Values
37283
+ * * Draft
37284
+ * * Published
37285
+ * * Deprecated
37286
+ * * Description: Publication status: draft, published, or deprecated
37287
+ */
37288
+ get Status() {
37289
+ return this.Get('Status');
37290
+ }
37291
+ set Status(value) {
37292
+ this.Set('Status', value);
37293
+ }
37294
+ /**
37295
+ * * Field Name: DeveloperName
37296
+ * * Display Name: Developer Name
37297
+ * * SQL Data Type: nvarchar(255)
37298
+ * * Description: Name of the component developer or author
37299
+ */
37300
+ get DeveloperName() {
37301
+ return this.Get('DeveloperName');
37302
+ }
37303
+ set DeveloperName(value) {
37304
+ this.Set('DeveloperName', value);
37305
+ }
37306
+ /**
37307
+ * * Field Name: DeveloperEmail
37308
+ * * Display Name: Developer Email
37309
+ * * SQL Data Type: nvarchar(255)
37310
+ * * Description: Contact email for the component developer
37311
+ */
37312
+ get DeveloperEmail() {
37313
+ return this.Get('DeveloperEmail');
37314
+ }
37315
+ set DeveloperEmail(value) {
37316
+ this.Set('DeveloperEmail', value);
37317
+ }
37318
+ /**
37319
+ * * Field Name: DeveloperOrganization
37320
+ * * Display Name: Developer Organization
37321
+ * * SQL Data Type: nvarchar(255)
37322
+ * * Description: Organization name of the component developer
37323
+ */
37324
+ get DeveloperOrganization() {
37325
+ return this.Get('DeveloperOrganization');
37326
+ }
37327
+ set DeveloperOrganization(value) {
37328
+ this.Set('DeveloperOrganization', value);
37329
+ }
37330
+ /**
37331
+ * * Field Name: SourceRegistryID
37332
+ * * Display Name: Source Registry ID
37333
+ * * SQL Data Type: uniqueidentifier
37334
+ * * Related Entity/Foreign Key: MJ: Component Registries (vwComponentRegistries.ID)
37335
+ * * Description: Foreign key to ComponentRegistry - NULL for local components, populated for replicated ones
37336
+ */
37337
+ get SourceRegistryID() {
37338
+ return this.Get('SourceRegistryID');
37339
+ }
37340
+ set SourceRegistryID(value) {
37341
+ this.Set('SourceRegistryID', value);
37342
+ }
37343
+ /**
37344
+ * * Field Name: ReplicatedAt
37345
+ * * Display Name: Replicated At
37346
+ * * SQL Data Type: datetimeoffset
37347
+ * * Description: Timestamp when the component was replicated from external registry (NULL for local components)
37348
+ */
37349
+ get ReplicatedAt() {
37350
+ return this.Get('ReplicatedAt');
37351
+ }
37352
+ set ReplicatedAt(value) {
37353
+ this.Set('ReplicatedAt', value);
37354
+ }
37355
+ /**
37356
+ * * Field Name: LastSyncedAt
37357
+ * * Display Name: Last Synced At
37358
+ * * SQL Data Type: datetimeoffset
37359
+ * * Description: Last synchronization timestamp with the source registry
37360
+ */
37361
+ get LastSyncedAt() {
37362
+ return this.Get('LastSyncedAt');
37363
+ }
37364
+ set LastSyncedAt(value) {
37365
+ this.Set('LastSyncedAt', value);
37366
+ }
37367
+ /**
37368
+ * * Field Name: __mj_CreatedAt
37369
+ * * Display Name: Created At
37370
+ * * SQL Data Type: datetimeoffset
37371
+ * * Default Value: getutcdate()
37372
+ */
37373
+ get __mj_CreatedAt() {
37374
+ return this.Get('__mj_CreatedAt');
37375
+ }
37376
+ /**
37377
+ * * Field Name: __mj_UpdatedAt
37378
+ * * Display Name: Updated At
37379
+ * * SQL Data Type: datetimeoffset
37380
+ * * Default Value: getutcdate()
37381
+ */
37382
+ get __mj_UpdatedAt() {
37383
+ return this.Get('__mj_UpdatedAt');
37384
+ }
37385
+ /**
37386
+ * * Field Name: Specification
37387
+ * * Display Name: Specification
37388
+ * * SQL Data Type: nvarchar(MAX)
37389
+ * * Description: Complete JSON specification object for the component
37390
+ */
37391
+ get Specification() {
37392
+ return this.Get('Specification');
37393
+ }
37394
+ set Specification(value) {
37395
+ this.Set('Specification', value);
37396
+ }
37397
+ /**
37398
+ * * Field Name: FunctionalRequirements
37399
+ * * Display Name: Functional Requirements
37400
+ * * SQL Data Type: nvarchar(MAX)
37401
+ * * Description: Functional requirements describing what the component should accomplish
37402
+ */
37403
+ get FunctionalRequirements() {
37404
+ return this.Get('FunctionalRequirements');
37405
+ }
37406
+ set FunctionalRequirements(value) {
37407
+ this.Set('FunctionalRequirements', value);
37408
+ }
37409
+ /**
37410
+ * * Field Name: TechnicalDesign
37411
+ * * Display Name: Technical Design
37412
+ * * SQL Data Type: nvarchar(MAX)
37413
+ * * Description: Technical design describing how the component is implemented
37414
+ */
37415
+ get TechnicalDesign() {
37416
+ return this.Get('TechnicalDesign');
37417
+ }
37418
+ set TechnicalDesign(value) {
37419
+ this.Set('TechnicalDesign', value);
37420
+ }
37421
+ /**
37422
+ * * Field Name: FunctionalRequirementsVector
37423
+ * * Display Name: Functional Requirements Vector
37424
+ * * SQL Data Type: nvarchar(MAX)
37425
+ * * Description: Vector embedding of the functional requirements for similarity search
37426
+ */
37427
+ get FunctionalRequirementsVector() {
37428
+ return this.Get('FunctionalRequirementsVector');
37429
+ }
37430
+ set FunctionalRequirementsVector(value) {
37431
+ this.Set('FunctionalRequirementsVector', value);
37432
+ }
37433
+ /**
37434
+ * * Field Name: TechnicalDesignVector
37435
+ * * Display Name: Technical Design Vector
37436
+ * * SQL Data Type: nvarchar(MAX)
37437
+ * * Description: Vector embedding of the technical design for similarity search
37438
+ */
37439
+ get TechnicalDesignVector() {
37440
+ return this.Get('TechnicalDesignVector');
37441
+ }
37442
+ set TechnicalDesignVector(value) {
37443
+ this.Set('TechnicalDesignVector', value);
37444
+ }
37445
+ /**
37446
+ * * Field Name: SourceRegistry
37447
+ * * Display Name: Source Registry
37448
+ * * SQL Data Type: nvarchar(255)
37449
+ */
37450
+ get SourceRegistry() {
37451
+ return this.Get('SourceRegistry');
37452
+ }
37453
+ };
37454
+ exports.ComponentEntity = ComponentEntity;
37455
+ exports.ComponentEntity = ComponentEntity = __decorate([
37456
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Components')
37457
+ ], ComponentEntity);
36071
37458
  /**
36072
37459
  * MJ: Conversation Artifact Permissions - strongly typed entity sub-class
36073
37460
  * * Schema: __mj