@memberjunction/core-entities 2.100.3 → 2.102.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,13 @@ 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.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
11
|
+
exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.TaskSchema = exports.TaskTypeSchema = exports.TaskDependencySchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.RecordLinkSchema = exports.QueryParameterSchema = exports.PublicLinkSchema = exports.ProjectSchema = exports.EnvironmentSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ComponentSchema = exports.ComponentRegistrySchema = exports.ComponentLibraryLinkSchema = exports.ComponentLibrarySchema = exports.ComponentDependencySchema = exports.CollectionSchema = exports.ArtifactSchema = exports.ArtifactVersionSchema = 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.AccessControlRuleSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
|
|
12
|
+
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 = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = void 0;
|
|
13
|
+
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 = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = void 0;
|
|
14
|
+
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 = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = void 0;
|
|
15
|
+
exports.TaskDependencyEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.RecordLinkEntity = exports.QueryParameterEntity = exports.PublicLinkEntity = exports.ProjectEntity = exports.EnvironmentEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ComponentEntity = exports.ComponentRegistryEntity = exports.ComponentLibraryLinkEntity = exports.ComponentLibraryEntity = exports.ComponentDependencyEntity = exports.CollectionEntity = exports.ArtifactEntity = exports.ArtifactVersionEntity = 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 = exports.AIAgentRelationshipEntity = exports.AIAgentPromptEntity = exports.AccessControlRuleEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = void 0;
|
|
16
|
+
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 = 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.TaskEntity = exports.TaskTypeEntity = void 0;
|
|
17
|
+
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = void 0;
|
|
17
18
|
const core_1 = require("@memberjunction/core");
|
|
18
19
|
const global_1 = require("@memberjunction/global");
|
|
19
20
|
const zod_1 = require("zod");
|
|
@@ -3613,6 +3614,12 @@ exports.ConversationDetailSchema = zod_1.z.object({
|
|
|
3613
3614
|
* * Display Name: Completion Time
|
|
3614
3615
|
* * SQL Data Type: bigint
|
|
3615
3616
|
* * Description: Duration in milliseconds representing how long the AI response processing took to complete for this conversation detail.`),
|
|
3617
|
+
IsPinned: zod_1.z.boolean().describe(`
|
|
3618
|
+
* * Field Name: IsPinned
|
|
3619
|
+
* * Display Name: Is Pinned
|
|
3620
|
+
* * SQL Data Type: bit
|
|
3621
|
+
* * Default Value: 0
|
|
3622
|
+
* * Description: Indicates if this message is pinned within the conversation for easy reference`),
|
|
3616
3623
|
Conversation: zod_1.z.string().nullable().describe(`
|
|
3617
3624
|
* * Field Name: Conversation
|
|
3618
3625
|
* * Display Name: Conversation
|
|
@@ -3700,6 +3707,23 @@ exports.ConversationSchema = zod_1.z.object({
|
|
|
3700
3707
|
* * Processing
|
|
3701
3708
|
* * Available
|
|
3702
3709
|
* * Description: Tracks the processing status of the conversation: Available, Processing`),
|
|
3710
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
3711
|
+
* * Field Name: EnvironmentID
|
|
3712
|
+
* * Display Name: Environment ID
|
|
3713
|
+
* * SQL Data Type: uniqueidentifier
|
|
3714
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
3715
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
3716
|
+
ProjectID: zod_1.z.string().nullable().describe(`
|
|
3717
|
+
* * Field Name: ProjectID
|
|
3718
|
+
* * Display Name: Project ID
|
|
3719
|
+
* * SQL Data Type: uniqueidentifier
|
|
3720
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)`),
|
|
3721
|
+
IsPinned: zod_1.z.boolean().describe(`
|
|
3722
|
+
* * Field Name: IsPinned
|
|
3723
|
+
* * Display Name: Is Pinned
|
|
3724
|
+
* * SQL Data Type: bit
|
|
3725
|
+
* * Default Value: 0
|
|
3726
|
+
* * Description: Indicates if this conversation is pinned to the top of lists`),
|
|
3703
3727
|
User: zod_1.z.string().describe(`
|
|
3704
3728
|
* * Field Name: User
|
|
3705
3729
|
* * Display Name: User
|
|
@@ -3712,6 +3736,14 @@ exports.ConversationSchema = zod_1.z.object({
|
|
|
3712
3736
|
* * Field Name: DataContext
|
|
3713
3737
|
* * Display Name: Data Context
|
|
3714
3738
|
* * SQL Data Type: nvarchar(255)`),
|
|
3739
|
+
Environment: zod_1.z.string().describe(`
|
|
3740
|
+
* * Field Name: Environment
|
|
3741
|
+
* * Display Name: Environment
|
|
3742
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
3743
|
+
Project: zod_1.z.string().nullable().describe(`
|
|
3744
|
+
* * Field Name: Project
|
|
3745
|
+
* * Display Name: Project
|
|
3746
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
3715
3747
|
});
|
|
3716
3748
|
/**
|
|
3717
3749
|
* zod schema definition for the entity Dashboard Categories
|
|
@@ -3843,6 +3875,12 @@ exports.DashboardSchema = zod_1.z.object({
|
|
|
3843
3875
|
* * Display Name: Code
|
|
3844
3876
|
* * SQL Data Type: nvarchar(255)
|
|
3845
3877
|
* * Description: Used to identify the dashboard for code-base dashboards. Allows reuse of the same DriverClass for multiple dashboards that can be rendered differently.`),
|
|
3878
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
3879
|
+
* * Field Name: EnvironmentID
|
|
3880
|
+
* * Display Name: Environment ID
|
|
3881
|
+
* * SQL Data Type: uniqueidentifier
|
|
3882
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
3883
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
3846
3884
|
User: zod_1.z.string().describe(`
|
|
3847
3885
|
* * Field Name: User
|
|
3848
3886
|
* * Display Name: User
|
|
@@ -3855,6 +3893,10 @@ exports.DashboardSchema = zod_1.z.object({
|
|
|
3855
3893
|
* * Field Name: Application
|
|
3856
3894
|
* * Display Name: Application
|
|
3857
3895
|
* * SQL Data Type: nvarchar(100)`),
|
|
3896
|
+
Environment: zod_1.z.string().describe(`
|
|
3897
|
+
* * Field Name: Environment
|
|
3898
|
+
* * Display Name: Environment
|
|
3899
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
3858
3900
|
});
|
|
3859
3901
|
/**
|
|
3860
3902
|
* zod schema definition for the entity Data Context Items
|
|
@@ -7173,6 +7215,99 @@ exports.ListSchema = zod_1.z.object({
|
|
|
7173
7215
|
* * Display Name: Company Integration
|
|
7174
7216
|
* * SQL Data Type: nvarchar(255)`),
|
|
7175
7217
|
});
|
|
7218
|
+
/**
|
|
7219
|
+
* zod schema definition for the entity MJ: Access Control Rules
|
|
7220
|
+
*/
|
|
7221
|
+
exports.AccessControlRuleSchema = zod_1.z.object({
|
|
7222
|
+
ID: zod_1.z.string().describe(`
|
|
7223
|
+
* * Field Name: ID
|
|
7224
|
+
* * Display Name: ID
|
|
7225
|
+
* * SQL Data Type: uniqueidentifier
|
|
7226
|
+
* * Default Value: newsequentialid()`),
|
|
7227
|
+
EntityID: zod_1.z.string().describe(`
|
|
7228
|
+
* * Field Name: EntityID
|
|
7229
|
+
* * Display Name: Entity ID
|
|
7230
|
+
* * SQL Data Type: uniqueidentifier
|
|
7231
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
7232
|
+
RecordID: zod_1.z.string().describe(`
|
|
7233
|
+
* * Field Name: RecordID
|
|
7234
|
+
* * Display Name: Record ID
|
|
7235
|
+
* * SQL Data Type: nvarchar(500)
|
|
7236
|
+
* * Description: Primary key value(s) of the record being protected - scalar for simple PKs or JSON for composite PKs`),
|
|
7237
|
+
GranteeType: zod_1.z.union([zod_1.z.literal('User'), zod_1.z.literal('Role'), zod_1.z.literal('Everyone'), zod_1.z.literal('Public')]).describe(`
|
|
7238
|
+
* * Field Name: GranteeType
|
|
7239
|
+
* * Display Name: Grantee Type
|
|
7240
|
+
* * SQL Data Type: nvarchar(50)
|
|
7241
|
+
* * Value List Type: List
|
|
7242
|
+
* * Possible Values
|
|
7243
|
+
* * User
|
|
7244
|
+
* * Role
|
|
7245
|
+
* * Everyone
|
|
7246
|
+
* * Public
|
|
7247
|
+
* * Description: Type of grantee receiving permission (User, Role, Everyone, Public). "Everyone" means all authenticated users whereas "Public" means any authenticated OR anonymous user.`),
|
|
7248
|
+
GranteeID: zod_1.z.string().nullable().describe(`
|
|
7249
|
+
* * Field Name: GranteeID
|
|
7250
|
+
* * Display Name: Grantee ID
|
|
7251
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
7252
|
+
CanRead: zod_1.z.boolean().describe(`
|
|
7253
|
+
* * Field Name: CanRead
|
|
7254
|
+
* * Display Name: Can Read
|
|
7255
|
+
* * SQL Data Type: bit
|
|
7256
|
+
* * Default Value: 0
|
|
7257
|
+
* * Description: Permission to read/view the record`),
|
|
7258
|
+
CanCreate: zod_1.z.boolean().describe(`
|
|
7259
|
+
* * Field Name: CanCreate
|
|
7260
|
+
* * Display Name: Can Create
|
|
7261
|
+
* * SQL Data Type: bit
|
|
7262
|
+
* * Default Value: 0
|
|
7263
|
+
* * Description: Permission to create new related records`),
|
|
7264
|
+
CanUpdate: zod_1.z.boolean().describe(`
|
|
7265
|
+
* * Field Name: CanUpdate
|
|
7266
|
+
* * Display Name: Can Update
|
|
7267
|
+
* * SQL Data Type: bit
|
|
7268
|
+
* * Default Value: 0
|
|
7269
|
+
* * Description: Permission to update/modify the record`),
|
|
7270
|
+
CanDelete: zod_1.z.boolean().describe(`
|
|
7271
|
+
* * Field Name: CanDelete
|
|
7272
|
+
* * Display Name: Can Delete
|
|
7273
|
+
* * SQL Data Type: bit
|
|
7274
|
+
* * Default Value: 0
|
|
7275
|
+
* * Description: Permission to delete the record`),
|
|
7276
|
+
CanShare: zod_1.z.boolean().describe(`
|
|
7277
|
+
* * Field Name: CanShare
|
|
7278
|
+
* * Display Name: Can Share
|
|
7279
|
+
* * SQL Data Type: bit
|
|
7280
|
+
* * Default Value: 0
|
|
7281
|
+
* * Description: Permission to share/grant permissions to other users`),
|
|
7282
|
+
ExpiresAt: zod_1.z.date().nullable().describe(`
|
|
7283
|
+
* * Field Name: ExpiresAt
|
|
7284
|
+
* * Display Name: Expires At
|
|
7285
|
+
* * SQL Data Type: datetimeoffset
|
|
7286
|
+
* * Description: Optional expiration date/time for this access rule`),
|
|
7287
|
+
GrantedByUserID: zod_1.z.string().describe(`
|
|
7288
|
+
* * Field Name: GrantedByUserID
|
|
7289
|
+
* * Display Name: Granted By User ID
|
|
7290
|
+
* * SQL Data Type: uniqueidentifier
|
|
7291
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
7292
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
7293
|
+
* * Field Name: __mj_CreatedAt
|
|
7294
|
+
* * Display Name: Created At
|
|
7295
|
+
* * SQL Data Type: datetimeoffset
|
|
7296
|
+
* * Default Value: getutcdate()`),
|
|
7297
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
7298
|
+
* * Field Name: __mj_UpdatedAt
|
|
7299
|
+
* * Display Name: Updated At
|
|
7300
|
+
* * SQL Data Type: datetimeoffset
|
|
7301
|
+
* * Default Value: getutcdate()`),
|
|
7302
|
+
Entity: zod_1.z.string().describe(`
|
|
7303
|
+
* * Field Name: Entity
|
|
7304
|
+
* * Display Name: Entity
|
|
7305
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
7306
|
+
GrantedByUser: zod_1.z.string().describe(`
|
|
7307
|
+
* * Field Name: GrantedByUser
|
|
7308
|
+
* * Display Name: Granted By User
|
|
7309
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
7310
|
+
});
|
|
7176
7311
|
/**
|
|
7177
7312
|
* zod schema definition for the entity MJ: AI Agent Prompts
|
|
7178
7313
|
*/
|
|
@@ -9148,6 +9283,191 @@ exports.ArtifactTypeSchema = zod_1.z.object({
|
|
|
9148
9283
|
* * SQL Data Type: datetimeoffset
|
|
9149
9284
|
* * Default Value: getutcdate()`),
|
|
9150
9285
|
});
|
|
9286
|
+
/**
|
|
9287
|
+
* zod schema definition for the entity MJ: Artifact Versions
|
|
9288
|
+
*/
|
|
9289
|
+
exports.ArtifactVersionSchema = zod_1.z.object({
|
|
9290
|
+
ID: zod_1.z.string().describe(`
|
|
9291
|
+
* * Field Name: ID
|
|
9292
|
+
* * Display Name: ID
|
|
9293
|
+
* * SQL Data Type: uniqueidentifier
|
|
9294
|
+
* * Default Value: newsequentialid()`),
|
|
9295
|
+
ArtifactID: zod_1.z.string().describe(`
|
|
9296
|
+
* * Field Name: ArtifactID
|
|
9297
|
+
* * Display Name: Artifact ID
|
|
9298
|
+
* * SQL Data Type: uniqueidentifier
|
|
9299
|
+
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)`),
|
|
9300
|
+
VersionNumber: zod_1.z.number().describe(`
|
|
9301
|
+
* * Field Name: VersionNumber
|
|
9302
|
+
* * Display Name: Version Number
|
|
9303
|
+
* * SQL Data Type: int
|
|
9304
|
+
* * Description: Sequential version number for this artifact`),
|
|
9305
|
+
Content: zod_1.z.string().nullable().describe(`
|
|
9306
|
+
* * Field Name: Content
|
|
9307
|
+
* * Display Name: Content
|
|
9308
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9309
|
+
* * Description: The content of the artifact at this version`),
|
|
9310
|
+
Configuration: zod_1.z.string().nullable().describe(`
|
|
9311
|
+
* * Field Name: Configuration
|
|
9312
|
+
* * Display Name: Configuration
|
|
9313
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9314
|
+
* * Description: JSON configuration for this version`),
|
|
9315
|
+
Comments: zod_1.z.string().nullable().describe(`
|
|
9316
|
+
* * Field Name: Comments
|
|
9317
|
+
* * Display Name: Comments
|
|
9318
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9319
|
+
* * Description: User comments specific to this version`),
|
|
9320
|
+
UserID: zod_1.z.string().describe(`
|
|
9321
|
+
* * Field Name: UserID
|
|
9322
|
+
* * Display Name: User ID
|
|
9323
|
+
* * SQL Data Type: uniqueidentifier
|
|
9324
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
9325
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
9326
|
+
* * Field Name: __mj_CreatedAt
|
|
9327
|
+
* * Display Name: Created At
|
|
9328
|
+
* * SQL Data Type: datetimeoffset
|
|
9329
|
+
* * Default Value: getutcdate()`),
|
|
9330
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
9331
|
+
* * Field Name: __mj_UpdatedAt
|
|
9332
|
+
* * Display Name: Updated At
|
|
9333
|
+
* * SQL Data Type: datetimeoffset
|
|
9334
|
+
* * Default Value: getutcdate()`),
|
|
9335
|
+
Artifact: zod_1.z.string().describe(`
|
|
9336
|
+
* * Field Name: Artifact
|
|
9337
|
+
* * Display Name: Artifact
|
|
9338
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9339
|
+
User: zod_1.z.string().describe(`
|
|
9340
|
+
* * Field Name: User
|
|
9341
|
+
* * Display Name: User
|
|
9342
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
9343
|
+
});
|
|
9344
|
+
/**
|
|
9345
|
+
* zod schema definition for the entity MJ: Artifacts
|
|
9346
|
+
*/
|
|
9347
|
+
exports.ArtifactSchema = zod_1.z.object({
|
|
9348
|
+
ID: zod_1.z.string().describe(`
|
|
9349
|
+
* * Field Name: ID
|
|
9350
|
+
* * Display Name: ID
|
|
9351
|
+
* * SQL Data Type: uniqueidentifier
|
|
9352
|
+
* * Default Value: newsequentialid()`),
|
|
9353
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
9354
|
+
* * Field Name: EnvironmentID
|
|
9355
|
+
* * Display Name: Environment ID
|
|
9356
|
+
* * SQL Data Type: uniqueidentifier
|
|
9357
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
9358
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
9359
|
+
Name: zod_1.z.string().describe(`
|
|
9360
|
+
* * Field Name: Name
|
|
9361
|
+
* * Display Name: Name
|
|
9362
|
+
* * SQL Data Type: nvarchar(255)
|
|
9363
|
+
* * Description: Display name for the artifact`),
|
|
9364
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
9365
|
+
* * Field Name: Description
|
|
9366
|
+
* * Display Name: Description
|
|
9367
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9368
|
+
* * Description: Detailed description of the artifact contents and purpose`),
|
|
9369
|
+
TypeID: zod_1.z.string().describe(`
|
|
9370
|
+
* * Field Name: TypeID
|
|
9371
|
+
* * Display Name: Type ID
|
|
9372
|
+
* * SQL Data Type: uniqueidentifier
|
|
9373
|
+
* * Related Entity/Foreign Key: MJ: Artifact Types (vwArtifactTypes.ID)`),
|
|
9374
|
+
Comments: zod_1.z.string().nullable().describe(`
|
|
9375
|
+
* * Field Name: Comments
|
|
9376
|
+
* * Display Name: Comments
|
|
9377
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9378
|
+
* * Description: User comments about the artifact`),
|
|
9379
|
+
UserID: zod_1.z.string().describe(`
|
|
9380
|
+
* * Field Name: UserID
|
|
9381
|
+
* * Display Name: User ID
|
|
9382
|
+
* * SQL Data Type: uniqueidentifier
|
|
9383
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
9384
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
9385
|
+
* * Field Name: __mj_CreatedAt
|
|
9386
|
+
* * Display Name: Created At
|
|
9387
|
+
* * SQL Data Type: datetimeoffset
|
|
9388
|
+
* * Default Value: getutcdate()`),
|
|
9389
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
9390
|
+
* * Field Name: __mj_UpdatedAt
|
|
9391
|
+
* * Display Name: Updated At
|
|
9392
|
+
* * SQL Data Type: datetimeoffset
|
|
9393
|
+
* * Default Value: getutcdate()`),
|
|
9394
|
+
Environment: zod_1.z.string().describe(`
|
|
9395
|
+
* * Field Name: Environment
|
|
9396
|
+
* * Display Name: Environment
|
|
9397
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9398
|
+
Type: zod_1.z.string().describe(`
|
|
9399
|
+
* * Field Name: Type
|
|
9400
|
+
* * Display Name: Type
|
|
9401
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
9402
|
+
User: zod_1.z.string().describe(`
|
|
9403
|
+
* * Field Name: User
|
|
9404
|
+
* * Display Name: User
|
|
9405
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
9406
|
+
});
|
|
9407
|
+
/**
|
|
9408
|
+
* zod schema definition for the entity MJ: Collections
|
|
9409
|
+
*/
|
|
9410
|
+
exports.CollectionSchema = zod_1.z.object({
|
|
9411
|
+
ID: zod_1.z.string().describe(`
|
|
9412
|
+
* * Field Name: ID
|
|
9413
|
+
* * Display Name: ID
|
|
9414
|
+
* * SQL Data Type: uniqueidentifier
|
|
9415
|
+
* * Default Value: newsequentialid()`),
|
|
9416
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
9417
|
+
* * Field Name: EnvironmentID
|
|
9418
|
+
* * Display Name: Environment ID
|
|
9419
|
+
* * SQL Data Type: uniqueidentifier
|
|
9420
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
9421
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
9422
|
+
ParentID: zod_1.z.string().nullable().describe(`
|
|
9423
|
+
* * Field Name: ParentID
|
|
9424
|
+
* * Display Name: Parent ID
|
|
9425
|
+
* * SQL Data Type: uniqueidentifier
|
|
9426
|
+
* * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)`),
|
|
9427
|
+
Name: zod_1.z.string().describe(`
|
|
9428
|
+
* * Field Name: Name
|
|
9429
|
+
* * Display Name: Name
|
|
9430
|
+
* * SQL Data Type: nvarchar(255)
|
|
9431
|
+
* * Description: Display name for the collection`),
|
|
9432
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
9433
|
+
* * Field Name: Description
|
|
9434
|
+
* * Display Name: Description
|
|
9435
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9436
|
+
* * Description: Detailed description of the collection purpose`),
|
|
9437
|
+
Icon: zod_1.z.string().nullable().describe(`
|
|
9438
|
+
* * Field Name: Icon
|
|
9439
|
+
* * Display Name: Icon
|
|
9440
|
+
* * SQL Data Type: nvarchar(50)
|
|
9441
|
+
* * Description: Font Awesome icon class for UI display`),
|
|
9442
|
+
Color: zod_1.z.string().nullable().describe(`
|
|
9443
|
+
* * Field Name: Color
|
|
9444
|
+
* * Display Name: Color
|
|
9445
|
+
* * SQL Data Type: nvarchar(7)
|
|
9446
|
+
* * Description: Hex color code for UI display (#RRGGBB format)`),
|
|
9447
|
+
Sequence: zod_1.z.number().nullable().describe(`
|
|
9448
|
+
* * Field Name: Sequence
|
|
9449
|
+
* * Display Name: Sequence
|
|
9450
|
+
* * SQL Data Type: int
|
|
9451
|
+
* * Description: Display sequence for ordering collections in UI`),
|
|
9452
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
9453
|
+
* * Field Name: __mj_CreatedAt
|
|
9454
|
+
* * Display Name: Created At
|
|
9455
|
+
* * SQL Data Type: datetimeoffset
|
|
9456
|
+
* * Default Value: getutcdate()`),
|
|
9457
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
9458
|
+
* * Field Name: __mj_UpdatedAt
|
|
9459
|
+
* * Display Name: Updated At
|
|
9460
|
+
* * SQL Data Type: datetimeoffset
|
|
9461
|
+
* * Default Value: getutcdate()`),
|
|
9462
|
+
Environment: zod_1.z.string().describe(`
|
|
9463
|
+
* * Field Name: Environment
|
|
9464
|
+
* * Display Name: Environment
|
|
9465
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9466
|
+
Parent: zod_1.z.string().nullable().describe(`
|
|
9467
|
+
* * Field Name: Parent
|
|
9468
|
+
* * Display Name: Parent
|
|
9469
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9470
|
+
});
|
|
9151
9471
|
/**
|
|
9152
9472
|
* zod schema definition for the entity MJ: Component Dependencies
|
|
9153
9473
|
*/
|
|
@@ -9846,6 +10166,187 @@ exports.DashboardUserStateSchema = zod_1.z.object({
|
|
|
9846
10166
|
* * Display Name: User
|
|
9847
10167
|
* * SQL Data Type: nvarchar(100)`),
|
|
9848
10168
|
});
|
|
10169
|
+
/**
|
|
10170
|
+
* zod schema definition for the entity MJ: Environments
|
|
10171
|
+
*/
|
|
10172
|
+
exports.EnvironmentSchema = zod_1.z.object({
|
|
10173
|
+
ID: zod_1.z.string().describe(`
|
|
10174
|
+
* * Field Name: ID
|
|
10175
|
+
* * Display Name: ID
|
|
10176
|
+
* * SQL Data Type: uniqueidentifier
|
|
10177
|
+
* * Default Value: newsequentialid()`),
|
|
10178
|
+
Name: zod_1.z.string().describe(`
|
|
10179
|
+
* * Field Name: Name
|
|
10180
|
+
* * Display Name: Name
|
|
10181
|
+
* * SQL Data Type: nvarchar(255)
|
|
10182
|
+
* * Description: Display name for the environment`),
|
|
10183
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
10184
|
+
* * Field Name: Description
|
|
10185
|
+
* * Display Name: Description
|
|
10186
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10187
|
+
* * Description: Detailed description of the environment purpose and scope`),
|
|
10188
|
+
IsDefault: zod_1.z.boolean().describe(`
|
|
10189
|
+
* * Field Name: IsDefault
|
|
10190
|
+
* * Display Name: Is Default
|
|
10191
|
+
* * SQL Data Type: bit
|
|
10192
|
+
* * Default Value: 0
|
|
10193
|
+
* * Description: Indicates if this is the default environment for the organization`),
|
|
10194
|
+
Settings: zod_1.z.string().nullable().describe(`
|
|
10195
|
+
* * Field Name: Settings
|
|
10196
|
+
* * Display Name: Settings
|
|
10197
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10198
|
+
* * Description: JSON configuration for environment-specific settings and features`),
|
|
10199
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10200
|
+
* * Field Name: __mj_CreatedAt
|
|
10201
|
+
* * Display Name: Created At
|
|
10202
|
+
* * SQL Data Type: datetimeoffset
|
|
10203
|
+
* * Default Value: getutcdate()`),
|
|
10204
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10205
|
+
* * Field Name: __mj_UpdatedAt
|
|
10206
|
+
* * Display Name: Updated At
|
|
10207
|
+
* * SQL Data Type: datetimeoffset
|
|
10208
|
+
* * Default Value: getutcdate()`),
|
|
10209
|
+
});
|
|
10210
|
+
/**
|
|
10211
|
+
* zod schema definition for the entity MJ: Projects
|
|
10212
|
+
*/
|
|
10213
|
+
exports.ProjectSchema = zod_1.z.object({
|
|
10214
|
+
ID: zod_1.z.string().describe(`
|
|
10215
|
+
* * Field Name: ID
|
|
10216
|
+
* * Display Name: ID
|
|
10217
|
+
* * SQL Data Type: uniqueidentifier
|
|
10218
|
+
* * Default Value: newsequentialid()`),
|
|
10219
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
10220
|
+
* * Field Name: EnvironmentID
|
|
10221
|
+
* * Display Name: Environment ID
|
|
10222
|
+
* * SQL Data Type: uniqueidentifier
|
|
10223
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
10224
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
10225
|
+
ParentID: zod_1.z.string().nullable().describe(`
|
|
10226
|
+
* * Field Name: ParentID
|
|
10227
|
+
* * Display Name: Parent ID
|
|
10228
|
+
* * SQL Data Type: uniqueidentifier
|
|
10229
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)`),
|
|
10230
|
+
Name: zod_1.z.string().describe(`
|
|
10231
|
+
* * Field Name: Name
|
|
10232
|
+
* * Display Name: Name
|
|
10233
|
+
* * SQL Data Type: nvarchar(255)
|
|
10234
|
+
* * Description: Display name for the project`),
|
|
10235
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
10236
|
+
* * Field Name: Description
|
|
10237
|
+
* * Display Name: Description
|
|
10238
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10239
|
+
* * Description: Detailed description of the project goals and scope`),
|
|
10240
|
+
Color: zod_1.z.string().nullable().describe(`
|
|
10241
|
+
* * Field Name: Color
|
|
10242
|
+
* * Display Name: Color
|
|
10243
|
+
* * SQL Data Type: nvarchar(7)
|
|
10244
|
+
* * Description: Hex color code for project badges in UI (#RRGGBB format)`),
|
|
10245
|
+
Icon: zod_1.z.string().nullable().describe(`
|
|
10246
|
+
* * Field Name: Icon
|
|
10247
|
+
* * Display Name: Icon
|
|
10248
|
+
* * SQL Data Type: nvarchar(50)
|
|
10249
|
+
* * Description: Font Awesome icon class for UI display`),
|
|
10250
|
+
IsArchived: zod_1.z.boolean().describe(`
|
|
10251
|
+
* * Field Name: IsArchived
|
|
10252
|
+
* * Display Name: Is Archived
|
|
10253
|
+
* * SQL Data Type: bit
|
|
10254
|
+
* * Default Value: 0
|
|
10255
|
+
* * Description: Indicates if this project is archived and should be hidden from active lists`),
|
|
10256
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10257
|
+
* * Field Name: __mj_CreatedAt
|
|
10258
|
+
* * Display Name: Created At
|
|
10259
|
+
* * SQL Data Type: datetimeoffset
|
|
10260
|
+
* * Default Value: getutcdate()`),
|
|
10261
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10262
|
+
* * Field Name: __mj_UpdatedAt
|
|
10263
|
+
* * Display Name: Updated At
|
|
10264
|
+
* * SQL Data Type: datetimeoffset
|
|
10265
|
+
* * Default Value: getutcdate()`),
|
|
10266
|
+
Environment: zod_1.z.string().describe(`
|
|
10267
|
+
* * Field Name: Environment
|
|
10268
|
+
* * Display Name: Environment
|
|
10269
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10270
|
+
Parent: zod_1.z.string().nullable().describe(`
|
|
10271
|
+
* * Field Name: Parent
|
|
10272
|
+
* * Display Name: Parent
|
|
10273
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10274
|
+
});
|
|
10275
|
+
/**
|
|
10276
|
+
* zod schema definition for the entity MJ: Public Links
|
|
10277
|
+
*/
|
|
10278
|
+
exports.PublicLinkSchema = zod_1.z.object({
|
|
10279
|
+
ID: zod_1.z.string().describe(`
|
|
10280
|
+
* * Field Name: ID
|
|
10281
|
+
* * Display Name: ID
|
|
10282
|
+
* * SQL Data Type: uniqueidentifier
|
|
10283
|
+
* * Default Value: newsequentialid()`),
|
|
10284
|
+
ResourceType: zod_1.z.union([zod_1.z.literal('Artifact'), zod_1.z.literal('Conversation'), zod_1.z.literal('Collection')]).describe(`
|
|
10285
|
+
* * Field Name: ResourceType
|
|
10286
|
+
* * Display Name: Resource Type
|
|
10287
|
+
* * SQL Data Type: nvarchar(50)
|
|
10288
|
+
* * Value List Type: List
|
|
10289
|
+
* * Possible Values
|
|
10290
|
+
* * Artifact
|
|
10291
|
+
* * Conversation
|
|
10292
|
+
* * Collection
|
|
10293
|
+
* * Description: Type of resource being shared (Artifact, Conversation, Collection)`),
|
|
10294
|
+
ResourceID: zod_1.z.string().describe(`
|
|
10295
|
+
* * Field Name: ResourceID
|
|
10296
|
+
* * Display Name: Resource ID
|
|
10297
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
10298
|
+
Token: zod_1.z.string().describe(`
|
|
10299
|
+
* * Field Name: Token
|
|
10300
|
+
* * Display Name: Token
|
|
10301
|
+
* * SQL Data Type: nvarchar(255)
|
|
10302
|
+
* * Description: Unique token for accessing the shared resource via URL`),
|
|
10303
|
+
PasswordHash: zod_1.z.string().nullable().describe(`
|
|
10304
|
+
* * Field Name: PasswordHash
|
|
10305
|
+
* * Display Name: Password Hash
|
|
10306
|
+
* * SQL Data Type: nvarchar(255)
|
|
10307
|
+
* * Description: SHA256 hash of optional password for additional security`),
|
|
10308
|
+
ExpiresAt: zod_1.z.date().nullable().describe(`
|
|
10309
|
+
* * Field Name: ExpiresAt
|
|
10310
|
+
* * Display Name: Expires At
|
|
10311
|
+
* * SQL Data Type: datetimeoffset
|
|
10312
|
+
* * Description: Optional expiration date/time for this public link`),
|
|
10313
|
+
MaxViews: zod_1.z.number().nullable().describe(`
|
|
10314
|
+
* * Field Name: MaxViews
|
|
10315
|
+
* * Display Name: Max Views
|
|
10316
|
+
* * SQL Data Type: int
|
|
10317
|
+
* * Description: Maximum number of times this link can be viewed`),
|
|
10318
|
+
CurrentViews: zod_1.z.number().describe(`
|
|
10319
|
+
* * Field Name: CurrentViews
|
|
10320
|
+
* * Display Name: Current Views
|
|
10321
|
+
* * SQL Data Type: int
|
|
10322
|
+
* * Default Value: 0
|
|
10323
|
+
* * Description: Current count of how many times this link has been viewed`),
|
|
10324
|
+
UserID: zod_1.z.string().describe(`
|
|
10325
|
+
* * Field Name: UserID
|
|
10326
|
+
* * Display Name: User ID
|
|
10327
|
+
* * SQL Data Type: uniqueidentifier
|
|
10328
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
10329
|
+
IsActive: zod_1.z.boolean().describe(`
|
|
10330
|
+
* * Field Name: IsActive
|
|
10331
|
+
* * Display Name: Is Active
|
|
10332
|
+
* * SQL Data Type: bit
|
|
10333
|
+
* * Default Value: 1
|
|
10334
|
+
* * Description: Indicates if this link is currently active and accessible`),
|
|
10335
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10336
|
+
* * Field Name: __mj_CreatedAt
|
|
10337
|
+
* * Display Name: Created At
|
|
10338
|
+
* * SQL Data Type: datetimeoffset
|
|
10339
|
+
* * Default Value: getutcdate()`),
|
|
10340
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10341
|
+
* * Field Name: __mj_UpdatedAt
|
|
10342
|
+
* * Display Name: Updated At
|
|
10343
|
+
* * SQL Data Type: datetimeoffset
|
|
10344
|
+
* * Default Value: getutcdate()`),
|
|
10345
|
+
User: zod_1.z.string().describe(`
|
|
10346
|
+
* * Field Name: User
|
|
10347
|
+
* * Display Name: User
|
|
10348
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
10349
|
+
});
|
|
9849
10350
|
/**
|
|
9850
10351
|
* zod schema definition for the entity MJ: Query Parameters
|
|
9851
10352
|
*/
|
|
@@ -9933,6 +10434,69 @@ exports.QueryParameterSchema = zod_1.z.object({
|
|
|
9933
10434
|
* * Display Name: Query
|
|
9934
10435
|
* * SQL Data Type: nvarchar(255)`),
|
|
9935
10436
|
});
|
|
10437
|
+
/**
|
|
10438
|
+
* zod schema definition for the entity MJ: Record Links
|
|
10439
|
+
*/
|
|
10440
|
+
exports.RecordLinkSchema = zod_1.z.object({
|
|
10441
|
+
ID: zod_1.z.string().describe(`
|
|
10442
|
+
* * Field Name: ID
|
|
10443
|
+
* * Display Name: ID
|
|
10444
|
+
* * SQL Data Type: uniqueidentifier
|
|
10445
|
+
* * Default Value: newsequentialid()`),
|
|
10446
|
+
SourceEntityID: zod_1.z.string().describe(`
|
|
10447
|
+
* * Field Name: SourceEntityID
|
|
10448
|
+
* * Display Name: Source Entity ID
|
|
10449
|
+
* * SQL Data Type: uniqueidentifier
|
|
10450
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
10451
|
+
SourceRecordID: zod_1.z.string().describe(`
|
|
10452
|
+
* * Field Name: SourceRecordID
|
|
10453
|
+
* * Display Name: Source Record ID
|
|
10454
|
+
* * SQL Data Type: nvarchar(500)
|
|
10455
|
+
* * Description: Primary key value(s) of the source record - scalar for simple PKs or JSON KeyValuePair array for composite PKs`),
|
|
10456
|
+
TargetEntityID: zod_1.z.string().describe(`
|
|
10457
|
+
* * Field Name: TargetEntityID
|
|
10458
|
+
* * Display Name: Target Entity ID
|
|
10459
|
+
* * SQL Data Type: uniqueidentifier
|
|
10460
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
|
|
10461
|
+
TargetRecordID: zod_1.z.string().describe(`
|
|
10462
|
+
* * Field Name: TargetRecordID
|
|
10463
|
+
* * Display Name: Target Record ID
|
|
10464
|
+
* * SQL Data Type: nvarchar(500)
|
|
10465
|
+
* * Description: Primary key value(s) of the target record - scalar for simple PKs or JSON KeyValuePair array for composite PKs`),
|
|
10466
|
+
LinkType: zod_1.z.string().nullable().describe(`
|
|
10467
|
+
* * Field Name: LinkType
|
|
10468
|
+
* * Display Name: Link Type
|
|
10469
|
+
* * SQL Data Type: nvarchar(50)
|
|
10470
|
+
* * Description: Application-specific relationship type describing how the records are related`),
|
|
10471
|
+
Sequence: zod_1.z.number().nullable().describe(`
|
|
10472
|
+
* * Field Name: Sequence
|
|
10473
|
+
* * Display Name: Sequence
|
|
10474
|
+
* * SQL Data Type: int
|
|
10475
|
+
* * Description: Display sequence for ordering linked records in UI`),
|
|
10476
|
+
Metadata: zod_1.z.string().nullable().describe(`
|
|
10477
|
+
* * Field Name: Metadata
|
|
10478
|
+
* * Display Name: Metadata
|
|
10479
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10480
|
+
* * Description: JSON field for storing additional link-specific metadata`),
|
|
10481
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10482
|
+
* * Field Name: __mj_CreatedAt
|
|
10483
|
+
* * Display Name: Created At
|
|
10484
|
+
* * SQL Data Type: datetimeoffset
|
|
10485
|
+
* * Default Value: getutcdate()`),
|
|
10486
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10487
|
+
* * Field Name: __mj_UpdatedAt
|
|
10488
|
+
* * Display Name: Updated At
|
|
10489
|
+
* * SQL Data Type: datetimeoffset
|
|
10490
|
+
* * Default Value: getutcdate()`),
|
|
10491
|
+
SourceEntity: zod_1.z.string().describe(`
|
|
10492
|
+
* * Field Name: SourceEntity
|
|
10493
|
+
* * Display Name: Source Entity
|
|
10494
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10495
|
+
TargetEntity: zod_1.z.string().describe(`
|
|
10496
|
+
* * Field Name: TargetEntity
|
|
10497
|
+
* * Display Name: Target Entity
|
|
10498
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10499
|
+
});
|
|
9936
10500
|
/**
|
|
9937
10501
|
* zod schema definition for the entity MJ: Report User States
|
|
9938
10502
|
*/
|
|
@@ -10031,6 +10595,211 @@ exports.ReportVersionSchema = zod_1.z.object({
|
|
|
10031
10595
|
* * Display Name: Report
|
|
10032
10596
|
* * SQL Data Type: nvarchar(255)`),
|
|
10033
10597
|
});
|
|
10598
|
+
/**
|
|
10599
|
+
* zod schema definition for the entity MJ: Task Dependencies
|
|
10600
|
+
*/
|
|
10601
|
+
exports.TaskDependencySchema = zod_1.z.object({
|
|
10602
|
+
ID: zod_1.z.string().describe(`
|
|
10603
|
+
* * Field Name: ID
|
|
10604
|
+
* * Display Name: ID
|
|
10605
|
+
* * SQL Data Type: uniqueidentifier
|
|
10606
|
+
* * Default Value: newsequentialid()`),
|
|
10607
|
+
TaskID: zod_1.z.string().describe(`
|
|
10608
|
+
* * Field Name: TaskID
|
|
10609
|
+
* * Display Name: Task ID
|
|
10610
|
+
* * SQL Data Type: uniqueidentifier
|
|
10611
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)`),
|
|
10612
|
+
DependsOnTaskID: zod_1.z.string().describe(`
|
|
10613
|
+
* * Field Name: DependsOnTaskID
|
|
10614
|
+
* * Display Name: Depends On Task ID
|
|
10615
|
+
* * SQL Data Type: uniqueidentifier
|
|
10616
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)`),
|
|
10617
|
+
DependencyType: zod_1.z.union([zod_1.z.literal('Prerequisite'), zod_1.z.literal('Corequisite'), zod_1.z.literal('Optional')]).describe(`
|
|
10618
|
+
* * Field Name: DependencyType
|
|
10619
|
+
* * Display Name: Dependency Type
|
|
10620
|
+
* * SQL Data Type: nvarchar(50)
|
|
10621
|
+
* * Default Value: Prerequisite
|
|
10622
|
+
* * Value List Type: List
|
|
10623
|
+
* * Possible Values
|
|
10624
|
+
* * Prerequisite
|
|
10625
|
+
* * Corequisite
|
|
10626
|
+
* * Optional
|
|
10627
|
+
* * Description: Type of dependency relationship (Prerequisite, Corequisite, Optional)`),
|
|
10628
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10629
|
+
* * Field Name: __mj_CreatedAt
|
|
10630
|
+
* * Display Name: Created At
|
|
10631
|
+
* * SQL Data Type: datetimeoffset
|
|
10632
|
+
* * Default Value: getutcdate()`),
|
|
10633
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10634
|
+
* * Field Name: __mj_UpdatedAt
|
|
10635
|
+
* * Display Name: Updated At
|
|
10636
|
+
* * SQL Data Type: datetimeoffset
|
|
10637
|
+
* * Default Value: getutcdate()`),
|
|
10638
|
+
Task: zod_1.z.string().describe(`
|
|
10639
|
+
* * Field Name: Task
|
|
10640
|
+
* * Display Name: Task
|
|
10641
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10642
|
+
DependsOnTask: zod_1.z.string().describe(`
|
|
10643
|
+
* * Field Name: DependsOnTask
|
|
10644
|
+
* * Display Name: Depends On Task
|
|
10645
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10646
|
+
});
|
|
10647
|
+
/**
|
|
10648
|
+
* zod schema definition for the entity MJ: Task Types
|
|
10649
|
+
*/
|
|
10650
|
+
exports.TaskTypeSchema = zod_1.z.object({
|
|
10651
|
+
ID: zod_1.z.string().describe(`
|
|
10652
|
+
* * Field Name: ID
|
|
10653
|
+
* * Display Name: ID
|
|
10654
|
+
* * SQL Data Type: uniqueidentifier
|
|
10655
|
+
* * Default Value: newsequentialid()`),
|
|
10656
|
+
Name: zod_1.z.string().describe(`
|
|
10657
|
+
* * Field Name: Name
|
|
10658
|
+
* * Display Name: Name
|
|
10659
|
+
* * SQL Data Type: nvarchar(255)
|
|
10660
|
+
* * Description: Display name for the task type`),
|
|
10661
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
10662
|
+
* * Field Name: Description
|
|
10663
|
+
* * Display Name: Description
|
|
10664
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10665
|
+
* * Description: Detailed description of what this task type represents and when it should be used`),
|
|
10666
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10667
|
+
* * Field Name: __mj_CreatedAt
|
|
10668
|
+
* * Display Name: Created At
|
|
10669
|
+
* * SQL Data Type: datetimeoffset
|
|
10670
|
+
* * Default Value: getutcdate()`),
|
|
10671
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10672
|
+
* * Field Name: __mj_UpdatedAt
|
|
10673
|
+
* * Display Name: Updated At
|
|
10674
|
+
* * SQL Data Type: datetimeoffset
|
|
10675
|
+
* * Default Value: getutcdate()`),
|
|
10676
|
+
});
|
|
10677
|
+
/**
|
|
10678
|
+
* zod schema definition for the entity MJ: Tasks
|
|
10679
|
+
*/
|
|
10680
|
+
exports.TaskSchema = zod_1.z.object({
|
|
10681
|
+
ID: zod_1.z.string().describe(`
|
|
10682
|
+
* * Field Name: ID
|
|
10683
|
+
* * Display Name: ID
|
|
10684
|
+
* * SQL Data Type: uniqueidentifier
|
|
10685
|
+
* * Default Value: newsequentialid()`),
|
|
10686
|
+
ParentID: zod_1.z.string().nullable().describe(`
|
|
10687
|
+
* * Field Name: ParentID
|
|
10688
|
+
* * Display Name: Parent ID
|
|
10689
|
+
* * SQL Data Type: uniqueidentifier
|
|
10690
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)`),
|
|
10691
|
+
Name: zod_1.z.string().describe(`
|
|
10692
|
+
* * Field Name: Name
|
|
10693
|
+
* * Display Name: Name
|
|
10694
|
+
* * SQL Data Type: nvarchar(255)
|
|
10695
|
+
* * Description: Display name for the task`),
|
|
10696
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
10697
|
+
* * Field Name: Description
|
|
10698
|
+
* * Display Name: Description
|
|
10699
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10700
|
+
* * Description: Detailed description of the task requirements and objectives`),
|
|
10701
|
+
TypeID: zod_1.z.string().describe(`
|
|
10702
|
+
* * Field Name: TypeID
|
|
10703
|
+
* * Display Name: Type ID
|
|
10704
|
+
* * SQL Data Type: uniqueidentifier
|
|
10705
|
+
* * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)`),
|
|
10706
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
10707
|
+
* * Field Name: EnvironmentID
|
|
10708
|
+
* * Display Name: Environment ID
|
|
10709
|
+
* * SQL Data Type: uniqueidentifier
|
|
10710
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
10711
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
10712
|
+
ProjectID: zod_1.z.string().nullable().describe(`
|
|
10713
|
+
* * Field Name: ProjectID
|
|
10714
|
+
* * Display Name: Project ID
|
|
10715
|
+
* * SQL Data Type: uniqueidentifier
|
|
10716
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)`),
|
|
10717
|
+
ConversationDetailID: zod_1.z.string().nullable().describe(`
|
|
10718
|
+
* * Field Name: ConversationDetailID
|
|
10719
|
+
* * Display Name: Conversation Detail ID
|
|
10720
|
+
* * SQL Data Type: uniqueidentifier
|
|
10721
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)`),
|
|
10722
|
+
UserID: zod_1.z.string().nullable().describe(`
|
|
10723
|
+
* * Field Name: UserID
|
|
10724
|
+
* * Display Name: User ID
|
|
10725
|
+
* * SQL Data Type: uniqueidentifier
|
|
10726
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
10727
|
+
AgentID: zod_1.z.string().nullable().describe(`
|
|
10728
|
+
* * Field Name: AgentID
|
|
10729
|
+
* * Display Name: Agent ID
|
|
10730
|
+
* * SQL Data Type: uniqueidentifier
|
|
10731
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)`),
|
|
10732
|
+
Status: zod_1.z.union([zod_1.z.literal('Pending'), zod_1.z.literal('In Progress'), zod_1.z.literal('Complete'), zod_1.z.literal('Cancelled'), zod_1.z.literal('Failed'), zod_1.z.literal('Blocked'), zod_1.z.literal('Deferred')]).describe(`
|
|
10733
|
+
* * Field Name: Status
|
|
10734
|
+
* * Display Name: Status
|
|
10735
|
+
* * SQL Data Type: nvarchar(50)
|
|
10736
|
+
* * Default Value: Pending
|
|
10737
|
+
* * Value List Type: List
|
|
10738
|
+
* * Possible Values
|
|
10739
|
+
* * Pending
|
|
10740
|
+
* * In Progress
|
|
10741
|
+
* * Complete
|
|
10742
|
+
* * Cancelled
|
|
10743
|
+
* * Failed
|
|
10744
|
+
* * Blocked
|
|
10745
|
+
* * Deferred
|
|
10746
|
+
* * Description: Current status of the task (Pending, In Progress, Complete, Cancelled, Failed, Blocked, Deferred)`),
|
|
10747
|
+
PercentComplete: zod_1.z.number().nullable().describe(`
|
|
10748
|
+
* * Field Name: PercentComplete
|
|
10749
|
+
* * Display Name: Percent Complete
|
|
10750
|
+
* * SQL Data Type: int
|
|
10751
|
+
* * Default Value: 0
|
|
10752
|
+
* * Description: Completion percentage for tracking progress (0-100)`),
|
|
10753
|
+
DueAt: zod_1.z.date().nullable().describe(`
|
|
10754
|
+
* * Field Name: DueAt
|
|
10755
|
+
* * Display Name: Due At
|
|
10756
|
+
* * SQL Data Type: datetimeoffset
|
|
10757
|
+
* * Description: Due date and time for task completion`),
|
|
10758
|
+
StartedAt: zod_1.z.date().nullable().describe(`
|
|
10759
|
+
* * Field Name: StartedAt
|
|
10760
|
+
* * Display Name: Started At
|
|
10761
|
+
* * SQL Data Type: datetimeoffset
|
|
10762
|
+
* * Description: Timestamp when work on the task began`),
|
|
10763
|
+
CompletedAt: zod_1.z.date().nullable().describe(`
|
|
10764
|
+
* * Field Name: CompletedAt
|
|
10765
|
+
* * Display Name: Completed At
|
|
10766
|
+
* * SQL Data Type: datetimeoffset
|
|
10767
|
+
* * Description: Timestamp when the task was completed`),
|
|
10768
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10769
|
+
* * Field Name: __mj_CreatedAt
|
|
10770
|
+
* * Display Name: Created At
|
|
10771
|
+
* * SQL Data Type: datetimeoffset
|
|
10772
|
+
* * Default Value: getutcdate()`),
|
|
10773
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10774
|
+
* * Field Name: __mj_UpdatedAt
|
|
10775
|
+
* * Display Name: Updated At
|
|
10776
|
+
* * SQL Data Type: datetimeoffset
|
|
10777
|
+
* * Default Value: getutcdate()`),
|
|
10778
|
+
Parent: zod_1.z.string().nullable().describe(`
|
|
10779
|
+
* * Field Name: Parent
|
|
10780
|
+
* * Display Name: Parent
|
|
10781
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10782
|
+
Type: zod_1.z.string().describe(`
|
|
10783
|
+
* * Field Name: Type
|
|
10784
|
+
* * Display Name: Type
|
|
10785
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10786
|
+
Environment: zod_1.z.string().describe(`
|
|
10787
|
+
* * Field Name: Environment
|
|
10788
|
+
* * Display Name: Environment
|
|
10789
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10790
|
+
Project: zod_1.z.string().nullable().describe(`
|
|
10791
|
+
* * Field Name: Project
|
|
10792
|
+
* * Display Name: Project
|
|
10793
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10794
|
+
User: zod_1.z.string().nullable().describe(`
|
|
10795
|
+
* * Field Name: User
|
|
10796
|
+
* * Display Name: User
|
|
10797
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
10798
|
+
Agent: zod_1.z.string().nullable().describe(`
|
|
10799
|
+
* * Field Name: Agent
|
|
10800
|
+
* * Display Name: Agent
|
|
10801
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10802
|
+
});
|
|
10034
10803
|
/**
|
|
10035
10804
|
* zod schema definition for the entity Output Delivery Types
|
|
10036
10805
|
*/
|
|
@@ -11405,6 +12174,12 @@ exports.ReportSchema = zod_1.z.object({
|
|
|
11405
12174
|
* * Display Name: Thumbnail
|
|
11406
12175
|
* * SQL Data Type: nvarchar(MAX)
|
|
11407
12176
|
* * Description: Thumbnail image for the report that can be displayed in gallery views. Can contain either a URL to an image file or a Base64-encoded image string.`),
|
|
12177
|
+
EnvironmentID: zod_1.z.string().describe(`
|
|
12178
|
+
* * Field Name: EnvironmentID
|
|
12179
|
+
* * Display Name: Environment ID
|
|
12180
|
+
* * SQL Data Type: uniqueidentifier
|
|
12181
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
12182
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
|
|
11408
12183
|
Category: zod_1.z.string().nullable().describe(`
|
|
11409
12184
|
* * Field Name: Category
|
|
11410
12185
|
* * Display Name: Category
|
|
@@ -11437,6 +12212,10 @@ exports.ReportSchema = zod_1.z.object({
|
|
|
11437
12212
|
* * Field Name: OutputWorkflow
|
|
11438
12213
|
* * Display Name: Output Workflow
|
|
11439
12214
|
* * SQL Data Type: nvarchar(100)`),
|
|
12215
|
+
Environment: zod_1.z.string().describe(`
|
|
12216
|
+
* * Field Name: Environment
|
|
12217
|
+
* * Display Name: Environment
|
|
12218
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
11440
12219
|
});
|
|
11441
12220
|
/**
|
|
11442
12221
|
* zod schema definition for the entity Resource Links
|
|
@@ -22855,6 +23634,19 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
|
|
|
22855
23634
|
this.Set('CompletionTime', value);
|
|
22856
23635
|
}
|
|
22857
23636
|
/**
|
|
23637
|
+
* * Field Name: IsPinned
|
|
23638
|
+
* * Display Name: Is Pinned
|
|
23639
|
+
* * SQL Data Type: bit
|
|
23640
|
+
* * Default Value: 0
|
|
23641
|
+
* * Description: Indicates if this message is pinned within the conversation for easy reference
|
|
23642
|
+
*/
|
|
23643
|
+
get IsPinned() {
|
|
23644
|
+
return this.Get('IsPinned');
|
|
23645
|
+
}
|
|
23646
|
+
set IsPinned(value) {
|
|
23647
|
+
this.Set('IsPinned', value);
|
|
23648
|
+
}
|
|
23649
|
+
/**
|
|
22858
23650
|
* * Field Name: Conversation
|
|
22859
23651
|
* * Display Name: Conversation
|
|
22860
23652
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -23102,6 +23894,44 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
23102
23894
|
this.Set('Status', value);
|
|
23103
23895
|
}
|
|
23104
23896
|
/**
|
|
23897
|
+
* * Field Name: EnvironmentID
|
|
23898
|
+
* * Display Name: Environment ID
|
|
23899
|
+
* * SQL Data Type: uniqueidentifier
|
|
23900
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
23901
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
23902
|
+
*/
|
|
23903
|
+
get EnvironmentID() {
|
|
23904
|
+
return this.Get('EnvironmentID');
|
|
23905
|
+
}
|
|
23906
|
+
set EnvironmentID(value) {
|
|
23907
|
+
this.Set('EnvironmentID', value);
|
|
23908
|
+
}
|
|
23909
|
+
/**
|
|
23910
|
+
* * Field Name: ProjectID
|
|
23911
|
+
* * Display Name: Project ID
|
|
23912
|
+
* * SQL Data Type: uniqueidentifier
|
|
23913
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
23914
|
+
*/
|
|
23915
|
+
get ProjectID() {
|
|
23916
|
+
return this.Get('ProjectID');
|
|
23917
|
+
}
|
|
23918
|
+
set ProjectID(value) {
|
|
23919
|
+
this.Set('ProjectID', value);
|
|
23920
|
+
}
|
|
23921
|
+
/**
|
|
23922
|
+
* * Field Name: IsPinned
|
|
23923
|
+
* * Display Name: Is Pinned
|
|
23924
|
+
* * SQL Data Type: bit
|
|
23925
|
+
* * Default Value: 0
|
|
23926
|
+
* * Description: Indicates if this conversation is pinned to the top of lists
|
|
23927
|
+
*/
|
|
23928
|
+
get IsPinned() {
|
|
23929
|
+
return this.Get('IsPinned');
|
|
23930
|
+
}
|
|
23931
|
+
set IsPinned(value) {
|
|
23932
|
+
this.Set('IsPinned', value);
|
|
23933
|
+
}
|
|
23934
|
+
/**
|
|
23105
23935
|
* * Field Name: User
|
|
23106
23936
|
* * Display Name: User
|
|
23107
23937
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -23125,6 +23955,22 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
23125
23955
|
get DataContext() {
|
|
23126
23956
|
return this.Get('DataContext');
|
|
23127
23957
|
}
|
|
23958
|
+
/**
|
|
23959
|
+
* * Field Name: Environment
|
|
23960
|
+
* * Display Name: Environment
|
|
23961
|
+
* * SQL Data Type: nvarchar(255)
|
|
23962
|
+
*/
|
|
23963
|
+
get Environment() {
|
|
23964
|
+
return this.Get('Environment');
|
|
23965
|
+
}
|
|
23966
|
+
/**
|
|
23967
|
+
* * Field Name: Project
|
|
23968
|
+
* * Display Name: Project
|
|
23969
|
+
* * SQL Data Type: nvarchar(255)
|
|
23970
|
+
*/
|
|
23971
|
+
get Project() {
|
|
23972
|
+
return this.Get('Project');
|
|
23973
|
+
}
|
|
23128
23974
|
};
|
|
23129
23975
|
exports.ConversationEntity = ConversationEntity;
|
|
23130
23976
|
exports.ConversationEntity = ConversationEntity = __decorate([
|
|
@@ -23456,6 +24302,19 @@ let DashboardEntity = class DashboardEntity extends core_1.BaseEntity {
|
|
|
23456
24302
|
this.Set('Code', value);
|
|
23457
24303
|
}
|
|
23458
24304
|
/**
|
|
24305
|
+
* * Field Name: EnvironmentID
|
|
24306
|
+
* * Display Name: Environment ID
|
|
24307
|
+
* * SQL Data Type: uniqueidentifier
|
|
24308
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
24309
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
24310
|
+
*/
|
|
24311
|
+
get EnvironmentID() {
|
|
24312
|
+
return this.Get('EnvironmentID');
|
|
24313
|
+
}
|
|
24314
|
+
set EnvironmentID(value) {
|
|
24315
|
+
this.Set('EnvironmentID', value);
|
|
24316
|
+
}
|
|
24317
|
+
/**
|
|
23459
24318
|
* * Field Name: User
|
|
23460
24319
|
* * Display Name: User
|
|
23461
24320
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -23479,6 +24338,14 @@ let DashboardEntity = class DashboardEntity extends core_1.BaseEntity {
|
|
|
23479
24338
|
get Application() {
|
|
23480
24339
|
return this.Get('Application');
|
|
23481
24340
|
}
|
|
24341
|
+
/**
|
|
24342
|
+
* * Field Name: Environment
|
|
24343
|
+
* * Display Name: Environment
|
|
24344
|
+
* * SQL Data Type: nvarchar(255)
|
|
24345
|
+
*/
|
|
24346
|
+
get Environment() {
|
|
24347
|
+
return this.Get('Environment');
|
|
24348
|
+
}
|
|
23482
24349
|
};
|
|
23483
24350
|
exports.DashboardEntity = DashboardEntity;
|
|
23484
24351
|
exports.DashboardEntity = DashboardEntity = __decorate([
|
|
@@ -31684,6 +32551,227 @@ exports.ListEntity = ListEntity;
|
|
|
31684
32551
|
exports.ListEntity = ListEntity = __decorate([
|
|
31685
32552
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Lists')
|
|
31686
32553
|
], ListEntity);
|
|
32554
|
+
/**
|
|
32555
|
+
* MJ: Access Control Rules - strongly typed entity sub-class
|
|
32556
|
+
* * Schema: __mj
|
|
32557
|
+
* * Base Table: AccessControlRule
|
|
32558
|
+
* * Base View: vwAccessControlRules
|
|
32559
|
+
* * @description Generic ACL-style permission system that can control access to any entity record in the system with granular CRUD permissions.
|
|
32560
|
+
* * Primary Key: ID
|
|
32561
|
+
* @extends {BaseEntity}
|
|
32562
|
+
* @class
|
|
32563
|
+
* @public
|
|
32564
|
+
*/
|
|
32565
|
+
let AccessControlRuleEntity = class AccessControlRuleEntity extends core_1.BaseEntity {
|
|
32566
|
+
/**
|
|
32567
|
+
* Loads the MJ: Access Control Rules record from the database
|
|
32568
|
+
* @param ID: string - primary key value to load the MJ: Access Control Rules record.
|
|
32569
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
32570
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
32571
|
+
* @public
|
|
32572
|
+
* @async
|
|
32573
|
+
* @memberof AccessControlRuleEntity
|
|
32574
|
+
* @method
|
|
32575
|
+
* @override
|
|
32576
|
+
*/
|
|
32577
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
32578
|
+
const compositeKey = new core_1.CompositeKey();
|
|
32579
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
32580
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
32581
|
+
}
|
|
32582
|
+
/**
|
|
32583
|
+
* * Field Name: ID
|
|
32584
|
+
* * Display Name: ID
|
|
32585
|
+
* * SQL Data Type: uniqueidentifier
|
|
32586
|
+
* * Default Value: newsequentialid()
|
|
32587
|
+
*/
|
|
32588
|
+
get ID() {
|
|
32589
|
+
return this.Get('ID');
|
|
32590
|
+
}
|
|
32591
|
+
set ID(value) {
|
|
32592
|
+
this.Set('ID', value);
|
|
32593
|
+
}
|
|
32594
|
+
/**
|
|
32595
|
+
* * Field Name: EntityID
|
|
32596
|
+
* * Display Name: Entity ID
|
|
32597
|
+
* * SQL Data Type: uniqueidentifier
|
|
32598
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
32599
|
+
*/
|
|
32600
|
+
get EntityID() {
|
|
32601
|
+
return this.Get('EntityID');
|
|
32602
|
+
}
|
|
32603
|
+
set EntityID(value) {
|
|
32604
|
+
this.Set('EntityID', value);
|
|
32605
|
+
}
|
|
32606
|
+
/**
|
|
32607
|
+
* * Field Name: RecordID
|
|
32608
|
+
* * Display Name: Record ID
|
|
32609
|
+
* * SQL Data Type: nvarchar(500)
|
|
32610
|
+
* * Description: Primary key value(s) of the record being protected - scalar for simple PKs or JSON for composite PKs
|
|
32611
|
+
*/
|
|
32612
|
+
get RecordID() {
|
|
32613
|
+
return this.Get('RecordID');
|
|
32614
|
+
}
|
|
32615
|
+
set RecordID(value) {
|
|
32616
|
+
this.Set('RecordID', value);
|
|
32617
|
+
}
|
|
32618
|
+
/**
|
|
32619
|
+
* * Field Name: GranteeType
|
|
32620
|
+
* * Display Name: Grantee Type
|
|
32621
|
+
* * SQL Data Type: nvarchar(50)
|
|
32622
|
+
* * Value List Type: List
|
|
32623
|
+
* * Possible Values
|
|
32624
|
+
* * User
|
|
32625
|
+
* * Role
|
|
32626
|
+
* * Everyone
|
|
32627
|
+
* * Public
|
|
32628
|
+
* * Description: Type of grantee receiving permission (User, Role, Everyone, Public). "Everyone" means all authenticated users whereas "Public" means any authenticated OR anonymous user.
|
|
32629
|
+
*/
|
|
32630
|
+
get GranteeType() {
|
|
32631
|
+
return this.Get('GranteeType');
|
|
32632
|
+
}
|
|
32633
|
+
set GranteeType(value) {
|
|
32634
|
+
this.Set('GranteeType', value);
|
|
32635
|
+
}
|
|
32636
|
+
/**
|
|
32637
|
+
* * Field Name: GranteeID
|
|
32638
|
+
* * Display Name: Grantee ID
|
|
32639
|
+
* * SQL Data Type: uniqueidentifier
|
|
32640
|
+
*/
|
|
32641
|
+
get GranteeID() {
|
|
32642
|
+
return this.Get('GranteeID');
|
|
32643
|
+
}
|
|
32644
|
+
set GranteeID(value) {
|
|
32645
|
+
this.Set('GranteeID', value);
|
|
32646
|
+
}
|
|
32647
|
+
/**
|
|
32648
|
+
* * Field Name: CanRead
|
|
32649
|
+
* * Display Name: Can Read
|
|
32650
|
+
* * SQL Data Type: bit
|
|
32651
|
+
* * Default Value: 0
|
|
32652
|
+
* * Description: Permission to read/view the record
|
|
32653
|
+
*/
|
|
32654
|
+
get CanRead() {
|
|
32655
|
+
return this.Get('CanRead');
|
|
32656
|
+
}
|
|
32657
|
+
set CanRead(value) {
|
|
32658
|
+
this.Set('CanRead', value);
|
|
32659
|
+
}
|
|
32660
|
+
/**
|
|
32661
|
+
* * Field Name: CanCreate
|
|
32662
|
+
* * Display Name: Can Create
|
|
32663
|
+
* * SQL Data Type: bit
|
|
32664
|
+
* * Default Value: 0
|
|
32665
|
+
* * Description: Permission to create new related records
|
|
32666
|
+
*/
|
|
32667
|
+
get CanCreate() {
|
|
32668
|
+
return this.Get('CanCreate');
|
|
32669
|
+
}
|
|
32670
|
+
set CanCreate(value) {
|
|
32671
|
+
this.Set('CanCreate', value);
|
|
32672
|
+
}
|
|
32673
|
+
/**
|
|
32674
|
+
* * Field Name: CanUpdate
|
|
32675
|
+
* * Display Name: Can Update
|
|
32676
|
+
* * SQL Data Type: bit
|
|
32677
|
+
* * Default Value: 0
|
|
32678
|
+
* * Description: Permission to update/modify the record
|
|
32679
|
+
*/
|
|
32680
|
+
get CanUpdate() {
|
|
32681
|
+
return this.Get('CanUpdate');
|
|
32682
|
+
}
|
|
32683
|
+
set CanUpdate(value) {
|
|
32684
|
+
this.Set('CanUpdate', value);
|
|
32685
|
+
}
|
|
32686
|
+
/**
|
|
32687
|
+
* * Field Name: CanDelete
|
|
32688
|
+
* * Display Name: Can Delete
|
|
32689
|
+
* * SQL Data Type: bit
|
|
32690
|
+
* * Default Value: 0
|
|
32691
|
+
* * Description: Permission to delete the record
|
|
32692
|
+
*/
|
|
32693
|
+
get CanDelete() {
|
|
32694
|
+
return this.Get('CanDelete');
|
|
32695
|
+
}
|
|
32696
|
+
set CanDelete(value) {
|
|
32697
|
+
this.Set('CanDelete', value);
|
|
32698
|
+
}
|
|
32699
|
+
/**
|
|
32700
|
+
* * Field Name: CanShare
|
|
32701
|
+
* * Display Name: Can Share
|
|
32702
|
+
* * SQL Data Type: bit
|
|
32703
|
+
* * Default Value: 0
|
|
32704
|
+
* * Description: Permission to share/grant permissions to other users
|
|
32705
|
+
*/
|
|
32706
|
+
get CanShare() {
|
|
32707
|
+
return this.Get('CanShare');
|
|
32708
|
+
}
|
|
32709
|
+
set CanShare(value) {
|
|
32710
|
+
this.Set('CanShare', value);
|
|
32711
|
+
}
|
|
32712
|
+
/**
|
|
32713
|
+
* * Field Name: ExpiresAt
|
|
32714
|
+
* * Display Name: Expires At
|
|
32715
|
+
* * SQL Data Type: datetimeoffset
|
|
32716
|
+
* * Description: Optional expiration date/time for this access rule
|
|
32717
|
+
*/
|
|
32718
|
+
get ExpiresAt() {
|
|
32719
|
+
return this.Get('ExpiresAt');
|
|
32720
|
+
}
|
|
32721
|
+
set ExpiresAt(value) {
|
|
32722
|
+
this.Set('ExpiresAt', value);
|
|
32723
|
+
}
|
|
32724
|
+
/**
|
|
32725
|
+
* * Field Name: GrantedByUserID
|
|
32726
|
+
* * Display Name: Granted By User ID
|
|
32727
|
+
* * SQL Data Type: uniqueidentifier
|
|
32728
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
32729
|
+
*/
|
|
32730
|
+
get GrantedByUserID() {
|
|
32731
|
+
return this.Get('GrantedByUserID');
|
|
32732
|
+
}
|
|
32733
|
+
set GrantedByUserID(value) {
|
|
32734
|
+
this.Set('GrantedByUserID', value);
|
|
32735
|
+
}
|
|
32736
|
+
/**
|
|
32737
|
+
* * Field Name: __mj_CreatedAt
|
|
32738
|
+
* * Display Name: Created At
|
|
32739
|
+
* * SQL Data Type: datetimeoffset
|
|
32740
|
+
* * Default Value: getutcdate()
|
|
32741
|
+
*/
|
|
32742
|
+
get __mj_CreatedAt() {
|
|
32743
|
+
return this.Get('__mj_CreatedAt');
|
|
32744
|
+
}
|
|
32745
|
+
/**
|
|
32746
|
+
* * Field Name: __mj_UpdatedAt
|
|
32747
|
+
* * Display Name: Updated At
|
|
32748
|
+
* * SQL Data Type: datetimeoffset
|
|
32749
|
+
* * Default Value: getutcdate()
|
|
32750
|
+
*/
|
|
32751
|
+
get __mj_UpdatedAt() {
|
|
32752
|
+
return this.Get('__mj_UpdatedAt');
|
|
32753
|
+
}
|
|
32754
|
+
/**
|
|
32755
|
+
* * Field Name: Entity
|
|
32756
|
+
* * Display Name: Entity
|
|
32757
|
+
* * SQL Data Type: nvarchar(255)
|
|
32758
|
+
*/
|
|
32759
|
+
get Entity() {
|
|
32760
|
+
return this.Get('Entity');
|
|
32761
|
+
}
|
|
32762
|
+
/**
|
|
32763
|
+
* * Field Name: GrantedByUser
|
|
32764
|
+
* * Display Name: Granted By User
|
|
32765
|
+
* * SQL Data Type: nvarchar(100)
|
|
32766
|
+
*/
|
|
32767
|
+
get GrantedByUser() {
|
|
32768
|
+
return this.Get('GrantedByUser');
|
|
32769
|
+
}
|
|
32770
|
+
};
|
|
32771
|
+
exports.AccessControlRuleEntity = AccessControlRuleEntity;
|
|
32772
|
+
exports.AccessControlRuleEntity = AccessControlRuleEntity = __decorate([
|
|
32773
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Access Control Rules')
|
|
32774
|
+
], AccessControlRuleEntity);
|
|
31687
32775
|
/**
|
|
31688
32776
|
* MJ: AI Agent Prompts - strongly typed entity sub-class
|
|
31689
32777
|
* * Schema: __mj
|
|
@@ -36801,6 +37889,481 @@ exports.ArtifactTypeEntity = ArtifactTypeEntity;
|
|
|
36801
37889
|
exports.ArtifactTypeEntity = ArtifactTypeEntity = __decorate([
|
|
36802
37890
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifact Types')
|
|
36803
37891
|
], ArtifactTypeEntity);
|
|
37892
|
+
/**
|
|
37893
|
+
* MJ: Artifact Versions - strongly typed entity sub-class
|
|
37894
|
+
* * Schema: __mj
|
|
37895
|
+
* * Base Table: ArtifactVersion
|
|
37896
|
+
* * Base View: vwArtifactVersions
|
|
37897
|
+
* * @description Version history for artifacts, tracking all changes over time
|
|
37898
|
+
* * Primary Key: ID
|
|
37899
|
+
* @extends {BaseEntity}
|
|
37900
|
+
* @class
|
|
37901
|
+
* @public
|
|
37902
|
+
*/
|
|
37903
|
+
let ArtifactVersionEntity = class ArtifactVersionEntity extends core_1.BaseEntity {
|
|
37904
|
+
/**
|
|
37905
|
+
* Loads the MJ: Artifact Versions record from the database
|
|
37906
|
+
* @param ID: string - primary key value to load the MJ: Artifact Versions record.
|
|
37907
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
37908
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
37909
|
+
* @public
|
|
37910
|
+
* @async
|
|
37911
|
+
* @memberof ArtifactVersionEntity
|
|
37912
|
+
* @method
|
|
37913
|
+
* @override
|
|
37914
|
+
*/
|
|
37915
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
37916
|
+
const compositeKey = new core_1.CompositeKey();
|
|
37917
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
37918
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
37919
|
+
}
|
|
37920
|
+
/**
|
|
37921
|
+
* * Field Name: ID
|
|
37922
|
+
* * Display Name: ID
|
|
37923
|
+
* * SQL Data Type: uniqueidentifier
|
|
37924
|
+
* * Default Value: newsequentialid()
|
|
37925
|
+
*/
|
|
37926
|
+
get ID() {
|
|
37927
|
+
return this.Get('ID');
|
|
37928
|
+
}
|
|
37929
|
+
set ID(value) {
|
|
37930
|
+
this.Set('ID', value);
|
|
37931
|
+
}
|
|
37932
|
+
/**
|
|
37933
|
+
* * Field Name: ArtifactID
|
|
37934
|
+
* * Display Name: Artifact ID
|
|
37935
|
+
* * SQL Data Type: uniqueidentifier
|
|
37936
|
+
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
|
|
37937
|
+
*/
|
|
37938
|
+
get ArtifactID() {
|
|
37939
|
+
return this.Get('ArtifactID');
|
|
37940
|
+
}
|
|
37941
|
+
set ArtifactID(value) {
|
|
37942
|
+
this.Set('ArtifactID', value);
|
|
37943
|
+
}
|
|
37944
|
+
/**
|
|
37945
|
+
* * Field Name: VersionNumber
|
|
37946
|
+
* * Display Name: Version Number
|
|
37947
|
+
* * SQL Data Type: int
|
|
37948
|
+
* * Description: Sequential version number for this artifact
|
|
37949
|
+
*/
|
|
37950
|
+
get VersionNumber() {
|
|
37951
|
+
return this.Get('VersionNumber');
|
|
37952
|
+
}
|
|
37953
|
+
set VersionNumber(value) {
|
|
37954
|
+
this.Set('VersionNumber', value);
|
|
37955
|
+
}
|
|
37956
|
+
/**
|
|
37957
|
+
* * Field Name: Content
|
|
37958
|
+
* * Display Name: Content
|
|
37959
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37960
|
+
* * Description: The content of the artifact at this version
|
|
37961
|
+
*/
|
|
37962
|
+
get Content() {
|
|
37963
|
+
return this.Get('Content');
|
|
37964
|
+
}
|
|
37965
|
+
set Content(value) {
|
|
37966
|
+
this.Set('Content', value);
|
|
37967
|
+
}
|
|
37968
|
+
/**
|
|
37969
|
+
* * Field Name: Configuration
|
|
37970
|
+
* * Display Name: Configuration
|
|
37971
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37972
|
+
* * Description: JSON configuration for this version
|
|
37973
|
+
*/
|
|
37974
|
+
get Configuration() {
|
|
37975
|
+
return this.Get('Configuration');
|
|
37976
|
+
}
|
|
37977
|
+
set Configuration(value) {
|
|
37978
|
+
this.Set('Configuration', value);
|
|
37979
|
+
}
|
|
37980
|
+
/**
|
|
37981
|
+
* * Field Name: Comments
|
|
37982
|
+
* * Display Name: Comments
|
|
37983
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37984
|
+
* * Description: User comments specific to this version
|
|
37985
|
+
*/
|
|
37986
|
+
get Comments() {
|
|
37987
|
+
return this.Get('Comments');
|
|
37988
|
+
}
|
|
37989
|
+
set Comments(value) {
|
|
37990
|
+
this.Set('Comments', value);
|
|
37991
|
+
}
|
|
37992
|
+
/**
|
|
37993
|
+
* * Field Name: UserID
|
|
37994
|
+
* * Display Name: User ID
|
|
37995
|
+
* * SQL Data Type: uniqueidentifier
|
|
37996
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
37997
|
+
*/
|
|
37998
|
+
get UserID() {
|
|
37999
|
+
return this.Get('UserID');
|
|
38000
|
+
}
|
|
38001
|
+
set UserID(value) {
|
|
38002
|
+
this.Set('UserID', value);
|
|
38003
|
+
}
|
|
38004
|
+
/**
|
|
38005
|
+
* * Field Name: __mj_CreatedAt
|
|
38006
|
+
* * Display Name: Created At
|
|
38007
|
+
* * SQL Data Type: datetimeoffset
|
|
38008
|
+
* * Default Value: getutcdate()
|
|
38009
|
+
*/
|
|
38010
|
+
get __mj_CreatedAt() {
|
|
38011
|
+
return this.Get('__mj_CreatedAt');
|
|
38012
|
+
}
|
|
38013
|
+
/**
|
|
38014
|
+
* * Field Name: __mj_UpdatedAt
|
|
38015
|
+
* * Display Name: Updated At
|
|
38016
|
+
* * SQL Data Type: datetimeoffset
|
|
38017
|
+
* * Default Value: getutcdate()
|
|
38018
|
+
*/
|
|
38019
|
+
get __mj_UpdatedAt() {
|
|
38020
|
+
return this.Get('__mj_UpdatedAt');
|
|
38021
|
+
}
|
|
38022
|
+
/**
|
|
38023
|
+
* * Field Name: Artifact
|
|
38024
|
+
* * Display Name: Artifact
|
|
38025
|
+
* * SQL Data Type: nvarchar(255)
|
|
38026
|
+
*/
|
|
38027
|
+
get Artifact() {
|
|
38028
|
+
return this.Get('Artifact');
|
|
38029
|
+
}
|
|
38030
|
+
/**
|
|
38031
|
+
* * Field Name: User
|
|
38032
|
+
* * Display Name: User
|
|
38033
|
+
* * SQL Data Type: nvarchar(100)
|
|
38034
|
+
*/
|
|
38035
|
+
get User() {
|
|
38036
|
+
return this.Get('User');
|
|
38037
|
+
}
|
|
38038
|
+
};
|
|
38039
|
+
exports.ArtifactVersionEntity = ArtifactVersionEntity;
|
|
38040
|
+
exports.ArtifactVersionEntity = ArtifactVersionEntity = __decorate([
|
|
38041
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifact Versions')
|
|
38042
|
+
], ArtifactVersionEntity);
|
|
38043
|
+
/**
|
|
38044
|
+
* MJ: Artifacts - strongly typed entity sub-class
|
|
38045
|
+
* * Schema: __mj
|
|
38046
|
+
* * Base Table: Artifact
|
|
38047
|
+
* * Base View: vwArtifacts
|
|
38048
|
+
* * @description Independent content items (code, documents, charts) that can be linked to multiple conversations and collections. Supports versioning and sharing.
|
|
38049
|
+
* * Primary Key: ID
|
|
38050
|
+
* @extends {BaseEntity}
|
|
38051
|
+
* @class
|
|
38052
|
+
* @public
|
|
38053
|
+
*/
|
|
38054
|
+
let ArtifactEntity = class ArtifactEntity extends core_1.BaseEntity {
|
|
38055
|
+
/**
|
|
38056
|
+
* Loads the MJ: Artifacts record from the database
|
|
38057
|
+
* @param ID: string - primary key value to load the MJ: Artifacts record.
|
|
38058
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38059
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38060
|
+
* @public
|
|
38061
|
+
* @async
|
|
38062
|
+
* @memberof ArtifactEntity
|
|
38063
|
+
* @method
|
|
38064
|
+
* @override
|
|
38065
|
+
*/
|
|
38066
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
38067
|
+
const compositeKey = new core_1.CompositeKey();
|
|
38068
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
38069
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
38070
|
+
}
|
|
38071
|
+
/**
|
|
38072
|
+
* * Field Name: ID
|
|
38073
|
+
* * Display Name: ID
|
|
38074
|
+
* * SQL Data Type: uniqueidentifier
|
|
38075
|
+
* * Default Value: newsequentialid()
|
|
38076
|
+
*/
|
|
38077
|
+
get ID() {
|
|
38078
|
+
return this.Get('ID');
|
|
38079
|
+
}
|
|
38080
|
+
set ID(value) {
|
|
38081
|
+
this.Set('ID', value);
|
|
38082
|
+
}
|
|
38083
|
+
/**
|
|
38084
|
+
* * Field Name: EnvironmentID
|
|
38085
|
+
* * Display Name: Environment ID
|
|
38086
|
+
* * SQL Data Type: uniqueidentifier
|
|
38087
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
38088
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
38089
|
+
*/
|
|
38090
|
+
get EnvironmentID() {
|
|
38091
|
+
return this.Get('EnvironmentID');
|
|
38092
|
+
}
|
|
38093
|
+
set EnvironmentID(value) {
|
|
38094
|
+
this.Set('EnvironmentID', value);
|
|
38095
|
+
}
|
|
38096
|
+
/**
|
|
38097
|
+
* * Field Name: Name
|
|
38098
|
+
* * Display Name: Name
|
|
38099
|
+
* * SQL Data Type: nvarchar(255)
|
|
38100
|
+
* * Description: Display name for the artifact
|
|
38101
|
+
*/
|
|
38102
|
+
get Name() {
|
|
38103
|
+
return this.Get('Name');
|
|
38104
|
+
}
|
|
38105
|
+
set Name(value) {
|
|
38106
|
+
this.Set('Name', value);
|
|
38107
|
+
}
|
|
38108
|
+
/**
|
|
38109
|
+
* * Field Name: Description
|
|
38110
|
+
* * Display Name: Description
|
|
38111
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38112
|
+
* * Description: Detailed description of the artifact contents and purpose
|
|
38113
|
+
*/
|
|
38114
|
+
get Description() {
|
|
38115
|
+
return this.Get('Description');
|
|
38116
|
+
}
|
|
38117
|
+
set Description(value) {
|
|
38118
|
+
this.Set('Description', value);
|
|
38119
|
+
}
|
|
38120
|
+
/**
|
|
38121
|
+
* * Field Name: TypeID
|
|
38122
|
+
* * Display Name: Type ID
|
|
38123
|
+
* * SQL Data Type: uniqueidentifier
|
|
38124
|
+
* * Related Entity/Foreign Key: MJ: Artifact Types (vwArtifactTypes.ID)
|
|
38125
|
+
*/
|
|
38126
|
+
get TypeID() {
|
|
38127
|
+
return this.Get('TypeID');
|
|
38128
|
+
}
|
|
38129
|
+
set TypeID(value) {
|
|
38130
|
+
this.Set('TypeID', value);
|
|
38131
|
+
}
|
|
38132
|
+
/**
|
|
38133
|
+
* * Field Name: Comments
|
|
38134
|
+
* * Display Name: Comments
|
|
38135
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38136
|
+
* * Description: User comments about the artifact
|
|
38137
|
+
*/
|
|
38138
|
+
get Comments() {
|
|
38139
|
+
return this.Get('Comments');
|
|
38140
|
+
}
|
|
38141
|
+
set Comments(value) {
|
|
38142
|
+
this.Set('Comments', value);
|
|
38143
|
+
}
|
|
38144
|
+
/**
|
|
38145
|
+
* * Field Name: UserID
|
|
38146
|
+
* * Display Name: User ID
|
|
38147
|
+
* * SQL Data Type: uniqueidentifier
|
|
38148
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
38149
|
+
*/
|
|
38150
|
+
get UserID() {
|
|
38151
|
+
return this.Get('UserID');
|
|
38152
|
+
}
|
|
38153
|
+
set UserID(value) {
|
|
38154
|
+
this.Set('UserID', value);
|
|
38155
|
+
}
|
|
38156
|
+
/**
|
|
38157
|
+
* * Field Name: __mj_CreatedAt
|
|
38158
|
+
* * Display Name: Created At
|
|
38159
|
+
* * SQL Data Type: datetimeoffset
|
|
38160
|
+
* * Default Value: getutcdate()
|
|
38161
|
+
*/
|
|
38162
|
+
get __mj_CreatedAt() {
|
|
38163
|
+
return this.Get('__mj_CreatedAt');
|
|
38164
|
+
}
|
|
38165
|
+
/**
|
|
38166
|
+
* * Field Name: __mj_UpdatedAt
|
|
38167
|
+
* * Display Name: Updated At
|
|
38168
|
+
* * SQL Data Type: datetimeoffset
|
|
38169
|
+
* * Default Value: getutcdate()
|
|
38170
|
+
*/
|
|
38171
|
+
get __mj_UpdatedAt() {
|
|
38172
|
+
return this.Get('__mj_UpdatedAt');
|
|
38173
|
+
}
|
|
38174
|
+
/**
|
|
38175
|
+
* * Field Name: Environment
|
|
38176
|
+
* * Display Name: Environment
|
|
38177
|
+
* * SQL Data Type: nvarchar(255)
|
|
38178
|
+
*/
|
|
38179
|
+
get Environment() {
|
|
38180
|
+
return this.Get('Environment');
|
|
38181
|
+
}
|
|
38182
|
+
/**
|
|
38183
|
+
* * Field Name: Type
|
|
38184
|
+
* * Display Name: Type
|
|
38185
|
+
* * SQL Data Type: nvarchar(100)
|
|
38186
|
+
*/
|
|
38187
|
+
get Type() {
|
|
38188
|
+
return this.Get('Type');
|
|
38189
|
+
}
|
|
38190
|
+
/**
|
|
38191
|
+
* * Field Name: User
|
|
38192
|
+
* * Display Name: User
|
|
38193
|
+
* * SQL Data Type: nvarchar(100)
|
|
38194
|
+
*/
|
|
38195
|
+
get User() {
|
|
38196
|
+
return this.Get('User');
|
|
38197
|
+
}
|
|
38198
|
+
};
|
|
38199
|
+
exports.ArtifactEntity = ArtifactEntity;
|
|
38200
|
+
exports.ArtifactEntity = ArtifactEntity = __decorate([
|
|
38201
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifacts')
|
|
38202
|
+
], ArtifactEntity);
|
|
38203
|
+
/**
|
|
38204
|
+
* MJ: Collections - strongly typed entity sub-class
|
|
38205
|
+
* * Schema: __mj
|
|
38206
|
+
* * Base Table: Collection
|
|
38207
|
+
* * Base View: vwCollections
|
|
38208
|
+
* * @description Organizational folders for storing and categorizing artifacts. Supports nested folder structure for hierarchical organization.
|
|
38209
|
+
* * Primary Key: ID
|
|
38210
|
+
* @extends {BaseEntity}
|
|
38211
|
+
* @class
|
|
38212
|
+
* @public
|
|
38213
|
+
*/
|
|
38214
|
+
let CollectionEntity = class CollectionEntity extends core_1.BaseEntity {
|
|
38215
|
+
/**
|
|
38216
|
+
* Loads the MJ: Collections record from the database
|
|
38217
|
+
* @param ID: string - primary key value to load the MJ: Collections record.
|
|
38218
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38219
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38220
|
+
* @public
|
|
38221
|
+
* @async
|
|
38222
|
+
* @memberof CollectionEntity
|
|
38223
|
+
* @method
|
|
38224
|
+
* @override
|
|
38225
|
+
*/
|
|
38226
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
38227
|
+
const compositeKey = new core_1.CompositeKey();
|
|
38228
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
38229
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
38230
|
+
}
|
|
38231
|
+
/**
|
|
38232
|
+
* * Field Name: ID
|
|
38233
|
+
* * Display Name: ID
|
|
38234
|
+
* * SQL Data Type: uniqueidentifier
|
|
38235
|
+
* * Default Value: newsequentialid()
|
|
38236
|
+
*/
|
|
38237
|
+
get ID() {
|
|
38238
|
+
return this.Get('ID');
|
|
38239
|
+
}
|
|
38240
|
+
set ID(value) {
|
|
38241
|
+
this.Set('ID', value);
|
|
38242
|
+
}
|
|
38243
|
+
/**
|
|
38244
|
+
* * Field Name: EnvironmentID
|
|
38245
|
+
* * Display Name: Environment ID
|
|
38246
|
+
* * SQL Data Type: uniqueidentifier
|
|
38247
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
38248
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
38249
|
+
*/
|
|
38250
|
+
get EnvironmentID() {
|
|
38251
|
+
return this.Get('EnvironmentID');
|
|
38252
|
+
}
|
|
38253
|
+
set EnvironmentID(value) {
|
|
38254
|
+
this.Set('EnvironmentID', value);
|
|
38255
|
+
}
|
|
38256
|
+
/**
|
|
38257
|
+
* * Field Name: ParentID
|
|
38258
|
+
* * Display Name: Parent ID
|
|
38259
|
+
* * SQL Data Type: uniqueidentifier
|
|
38260
|
+
* * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)
|
|
38261
|
+
*/
|
|
38262
|
+
get ParentID() {
|
|
38263
|
+
return this.Get('ParentID');
|
|
38264
|
+
}
|
|
38265
|
+
set ParentID(value) {
|
|
38266
|
+
this.Set('ParentID', value);
|
|
38267
|
+
}
|
|
38268
|
+
/**
|
|
38269
|
+
* * Field Name: Name
|
|
38270
|
+
* * Display Name: Name
|
|
38271
|
+
* * SQL Data Type: nvarchar(255)
|
|
38272
|
+
* * Description: Display name for the collection
|
|
38273
|
+
*/
|
|
38274
|
+
get Name() {
|
|
38275
|
+
return this.Get('Name');
|
|
38276
|
+
}
|
|
38277
|
+
set Name(value) {
|
|
38278
|
+
this.Set('Name', value);
|
|
38279
|
+
}
|
|
38280
|
+
/**
|
|
38281
|
+
* * Field Name: Description
|
|
38282
|
+
* * Display Name: Description
|
|
38283
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38284
|
+
* * Description: Detailed description of the collection purpose
|
|
38285
|
+
*/
|
|
38286
|
+
get Description() {
|
|
38287
|
+
return this.Get('Description');
|
|
38288
|
+
}
|
|
38289
|
+
set Description(value) {
|
|
38290
|
+
this.Set('Description', value);
|
|
38291
|
+
}
|
|
38292
|
+
/**
|
|
38293
|
+
* * Field Name: Icon
|
|
38294
|
+
* * Display Name: Icon
|
|
38295
|
+
* * SQL Data Type: nvarchar(50)
|
|
38296
|
+
* * Description: Font Awesome icon class for UI display
|
|
38297
|
+
*/
|
|
38298
|
+
get Icon() {
|
|
38299
|
+
return this.Get('Icon');
|
|
38300
|
+
}
|
|
38301
|
+
set Icon(value) {
|
|
38302
|
+
this.Set('Icon', value);
|
|
38303
|
+
}
|
|
38304
|
+
/**
|
|
38305
|
+
* * Field Name: Color
|
|
38306
|
+
* * Display Name: Color
|
|
38307
|
+
* * SQL Data Type: nvarchar(7)
|
|
38308
|
+
* * Description: Hex color code for UI display (#RRGGBB format)
|
|
38309
|
+
*/
|
|
38310
|
+
get Color() {
|
|
38311
|
+
return this.Get('Color');
|
|
38312
|
+
}
|
|
38313
|
+
set Color(value) {
|
|
38314
|
+
this.Set('Color', value);
|
|
38315
|
+
}
|
|
38316
|
+
/**
|
|
38317
|
+
* * Field Name: Sequence
|
|
38318
|
+
* * Display Name: Sequence
|
|
38319
|
+
* * SQL Data Type: int
|
|
38320
|
+
* * Description: Display sequence for ordering collections in UI
|
|
38321
|
+
*/
|
|
38322
|
+
get Sequence() {
|
|
38323
|
+
return this.Get('Sequence');
|
|
38324
|
+
}
|
|
38325
|
+
set Sequence(value) {
|
|
38326
|
+
this.Set('Sequence', value);
|
|
38327
|
+
}
|
|
38328
|
+
/**
|
|
38329
|
+
* * Field Name: __mj_CreatedAt
|
|
38330
|
+
* * Display Name: Created At
|
|
38331
|
+
* * SQL Data Type: datetimeoffset
|
|
38332
|
+
* * Default Value: getutcdate()
|
|
38333
|
+
*/
|
|
38334
|
+
get __mj_CreatedAt() {
|
|
38335
|
+
return this.Get('__mj_CreatedAt');
|
|
38336
|
+
}
|
|
38337
|
+
/**
|
|
38338
|
+
* * Field Name: __mj_UpdatedAt
|
|
38339
|
+
* * Display Name: Updated At
|
|
38340
|
+
* * SQL Data Type: datetimeoffset
|
|
38341
|
+
* * Default Value: getutcdate()
|
|
38342
|
+
*/
|
|
38343
|
+
get __mj_UpdatedAt() {
|
|
38344
|
+
return this.Get('__mj_UpdatedAt');
|
|
38345
|
+
}
|
|
38346
|
+
/**
|
|
38347
|
+
* * Field Name: Environment
|
|
38348
|
+
* * Display Name: Environment
|
|
38349
|
+
* * SQL Data Type: nvarchar(255)
|
|
38350
|
+
*/
|
|
38351
|
+
get Environment() {
|
|
38352
|
+
return this.Get('Environment');
|
|
38353
|
+
}
|
|
38354
|
+
/**
|
|
38355
|
+
* * Field Name: Parent
|
|
38356
|
+
* * Display Name: Parent
|
|
38357
|
+
* * SQL Data Type: nvarchar(255)
|
|
38358
|
+
*/
|
|
38359
|
+
get Parent() {
|
|
38360
|
+
return this.Get('Parent');
|
|
38361
|
+
}
|
|
38362
|
+
};
|
|
38363
|
+
exports.CollectionEntity = CollectionEntity;
|
|
38364
|
+
exports.CollectionEntity = CollectionEntity = __decorate([
|
|
38365
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Collections')
|
|
38366
|
+
], CollectionEntity);
|
|
36804
38367
|
/**
|
|
36805
38368
|
* MJ: Component Dependencies - strongly typed entity sub-class
|
|
36806
38369
|
* * Schema: __mj
|
|
@@ -38601,6 +40164,468 @@ exports.DashboardUserStateEntity = DashboardUserStateEntity;
|
|
|
38601
40164
|
exports.DashboardUserStateEntity = DashboardUserStateEntity = __decorate([
|
|
38602
40165
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Dashboard User States')
|
|
38603
40166
|
], DashboardUserStateEntity);
|
|
40167
|
+
/**
|
|
40168
|
+
* MJ: Environments - strongly typed entity sub-class
|
|
40169
|
+
* * Schema: __mj
|
|
40170
|
+
* * Base Table: Environment
|
|
40171
|
+
* * Base View: vwEnvironments
|
|
40172
|
+
* * @description Top-level container for organizing conversations, artifacts, and collections. Provides isolation and grouping for different teams, clients, or functional areas.
|
|
40173
|
+
* * Primary Key: ID
|
|
40174
|
+
* @extends {BaseEntity}
|
|
40175
|
+
* @class
|
|
40176
|
+
* @public
|
|
40177
|
+
*/
|
|
40178
|
+
let EnvironmentEntity = class EnvironmentEntity extends core_1.BaseEntity {
|
|
40179
|
+
/**
|
|
40180
|
+
* Loads the MJ: Environments record from the database
|
|
40181
|
+
* @param ID: string - primary key value to load the MJ: Environments record.
|
|
40182
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40183
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40184
|
+
* @public
|
|
40185
|
+
* @async
|
|
40186
|
+
* @memberof EnvironmentEntity
|
|
40187
|
+
* @method
|
|
40188
|
+
* @override
|
|
40189
|
+
*/
|
|
40190
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
40191
|
+
const compositeKey = new core_1.CompositeKey();
|
|
40192
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
40193
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
40194
|
+
}
|
|
40195
|
+
/**
|
|
40196
|
+
* * Field Name: ID
|
|
40197
|
+
* * Display Name: ID
|
|
40198
|
+
* * SQL Data Type: uniqueidentifier
|
|
40199
|
+
* * Default Value: newsequentialid()
|
|
40200
|
+
*/
|
|
40201
|
+
get ID() {
|
|
40202
|
+
return this.Get('ID');
|
|
40203
|
+
}
|
|
40204
|
+
set ID(value) {
|
|
40205
|
+
this.Set('ID', value);
|
|
40206
|
+
}
|
|
40207
|
+
/**
|
|
40208
|
+
* * Field Name: Name
|
|
40209
|
+
* * Display Name: Name
|
|
40210
|
+
* * SQL Data Type: nvarchar(255)
|
|
40211
|
+
* * Description: Display name for the environment
|
|
40212
|
+
*/
|
|
40213
|
+
get Name() {
|
|
40214
|
+
return this.Get('Name');
|
|
40215
|
+
}
|
|
40216
|
+
set Name(value) {
|
|
40217
|
+
this.Set('Name', value);
|
|
40218
|
+
}
|
|
40219
|
+
/**
|
|
40220
|
+
* * Field Name: Description
|
|
40221
|
+
* * Display Name: Description
|
|
40222
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40223
|
+
* * Description: Detailed description of the environment purpose and scope
|
|
40224
|
+
*/
|
|
40225
|
+
get Description() {
|
|
40226
|
+
return this.Get('Description');
|
|
40227
|
+
}
|
|
40228
|
+
set Description(value) {
|
|
40229
|
+
this.Set('Description', value);
|
|
40230
|
+
}
|
|
40231
|
+
/**
|
|
40232
|
+
* * Field Name: IsDefault
|
|
40233
|
+
* * Display Name: Is Default
|
|
40234
|
+
* * SQL Data Type: bit
|
|
40235
|
+
* * Default Value: 0
|
|
40236
|
+
* * Description: Indicates if this is the default environment for the organization
|
|
40237
|
+
*/
|
|
40238
|
+
get IsDefault() {
|
|
40239
|
+
return this.Get('IsDefault');
|
|
40240
|
+
}
|
|
40241
|
+
set IsDefault(value) {
|
|
40242
|
+
this.Set('IsDefault', value);
|
|
40243
|
+
}
|
|
40244
|
+
/**
|
|
40245
|
+
* * Field Name: Settings
|
|
40246
|
+
* * Display Name: Settings
|
|
40247
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40248
|
+
* * Description: JSON configuration for environment-specific settings and features
|
|
40249
|
+
*/
|
|
40250
|
+
get Settings() {
|
|
40251
|
+
return this.Get('Settings');
|
|
40252
|
+
}
|
|
40253
|
+
set Settings(value) {
|
|
40254
|
+
this.Set('Settings', value);
|
|
40255
|
+
}
|
|
40256
|
+
/**
|
|
40257
|
+
* * Field Name: __mj_CreatedAt
|
|
40258
|
+
* * Display Name: Created At
|
|
40259
|
+
* * SQL Data Type: datetimeoffset
|
|
40260
|
+
* * Default Value: getutcdate()
|
|
40261
|
+
*/
|
|
40262
|
+
get __mj_CreatedAt() {
|
|
40263
|
+
return this.Get('__mj_CreatedAt');
|
|
40264
|
+
}
|
|
40265
|
+
/**
|
|
40266
|
+
* * Field Name: __mj_UpdatedAt
|
|
40267
|
+
* * Display Name: Updated At
|
|
40268
|
+
* * SQL Data Type: datetimeoffset
|
|
40269
|
+
* * Default Value: getutcdate()
|
|
40270
|
+
*/
|
|
40271
|
+
get __mj_UpdatedAt() {
|
|
40272
|
+
return this.Get('__mj_UpdatedAt');
|
|
40273
|
+
}
|
|
40274
|
+
};
|
|
40275
|
+
exports.EnvironmentEntity = EnvironmentEntity;
|
|
40276
|
+
exports.EnvironmentEntity = EnvironmentEntity = __decorate([
|
|
40277
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Environments')
|
|
40278
|
+
], EnvironmentEntity);
|
|
40279
|
+
/**
|
|
40280
|
+
* MJ: Projects - strongly typed entity sub-class
|
|
40281
|
+
* * Schema: __mj
|
|
40282
|
+
* * Base Table: Project
|
|
40283
|
+
* * Base View: vwProjects
|
|
40284
|
+
* * @description Container for grouping related conversations around a common topic, client, or initiative. Supports nesting for sub-projects.
|
|
40285
|
+
* * Primary Key: ID
|
|
40286
|
+
* @extends {BaseEntity}
|
|
40287
|
+
* @class
|
|
40288
|
+
* @public
|
|
40289
|
+
*/
|
|
40290
|
+
let ProjectEntity = class ProjectEntity extends core_1.BaseEntity {
|
|
40291
|
+
/**
|
|
40292
|
+
* Loads the MJ: Projects record from the database
|
|
40293
|
+
* @param ID: string - primary key value to load the MJ: Projects record.
|
|
40294
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40295
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40296
|
+
* @public
|
|
40297
|
+
* @async
|
|
40298
|
+
* @memberof ProjectEntity
|
|
40299
|
+
* @method
|
|
40300
|
+
* @override
|
|
40301
|
+
*/
|
|
40302
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
40303
|
+
const compositeKey = new core_1.CompositeKey();
|
|
40304
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
40305
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
40306
|
+
}
|
|
40307
|
+
/**
|
|
40308
|
+
* * Field Name: ID
|
|
40309
|
+
* * Display Name: ID
|
|
40310
|
+
* * SQL Data Type: uniqueidentifier
|
|
40311
|
+
* * Default Value: newsequentialid()
|
|
40312
|
+
*/
|
|
40313
|
+
get ID() {
|
|
40314
|
+
return this.Get('ID');
|
|
40315
|
+
}
|
|
40316
|
+
set ID(value) {
|
|
40317
|
+
this.Set('ID', value);
|
|
40318
|
+
}
|
|
40319
|
+
/**
|
|
40320
|
+
* * Field Name: EnvironmentID
|
|
40321
|
+
* * Display Name: Environment ID
|
|
40322
|
+
* * SQL Data Type: uniqueidentifier
|
|
40323
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
40324
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
40325
|
+
*/
|
|
40326
|
+
get EnvironmentID() {
|
|
40327
|
+
return this.Get('EnvironmentID');
|
|
40328
|
+
}
|
|
40329
|
+
set EnvironmentID(value) {
|
|
40330
|
+
this.Set('EnvironmentID', value);
|
|
40331
|
+
}
|
|
40332
|
+
/**
|
|
40333
|
+
* * Field Name: ParentID
|
|
40334
|
+
* * Display Name: Parent ID
|
|
40335
|
+
* * SQL Data Type: uniqueidentifier
|
|
40336
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
40337
|
+
*/
|
|
40338
|
+
get ParentID() {
|
|
40339
|
+
return this.Get('ParentID');
|
|
40340
|
+
}
|
|
40341
|
+
set ParentID(value) {
|
|
40342
|
+
this.Set('ParentID', value);
|
|
40343
|
+
}
|
|
40344
|
+
/**
|
|
40345
|
+
* * Field Name: Name
|
|
40346
|
+
* * Display Name: Name
|
|
40347
|
+
* * SQL Data Type: nvarchar(255)
|
|
40348
|
+
* * Description: Display name for the project
|
|
40349
|
+
*/
|
|
40350
|
+
get Name() {
|
|
40351
|
+
return this.Get('Name');
|
|
40352
|
+
}
|
|
40353
|
+
set Name(value) {
|
|
40354
|
+
this.Set('Name', value);
|
|
40355
|
+
}
|
|
40356
|
+
/**
|
|
40357
|
+
* * Field Name: Description
|
|
40358
|
+
* * Display Name: Description
|
|
40359
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40360
|
+
* * Description: Detailed description of the project goals and scope
|
|
40361
|
+
*/
|
|
40362
|
+
get Description() {
|
|
40363
|
+
return this.Get('Description');
|
|
40364
|
+
}
|
|
40365
|
+
set Description(value) {
|
|
40366
|
+
this.Set('Description', value);
|
|
40367
|
+
}
|
|
40368
|
+
/**
|
|
40369
|
+
* * Field Name: Color
|
|
40370
|
+
* * Display Name: Color
|
|
40371
|
+
* * SQL Data Type: nvarchar(7)
|
|
40372
|
+
* * Description: Hex color code for project badges in UI (#RRGGBB format)
|
|
40373
|
+
*/
|
|
40374
|
+
get Color() {
|
|
40375
|
+
return this.Get('Color');
|
|
40376
|
+
}
|
|
40377
|
+
set Color(value) {
|
|
40378
|
+
this.Set('Color', value);
|
|
40379
|
+
}
|
|
40380
|
+
/**
|
|
40381
|
+
* * Field Name: Icon
|
|
40382
|
+
* * Display Name: Icon
|
|
40383
|
+
* * SQL Data Type: nvarchar(50)
|
|
40384
|
+
* * Description: Font Awesome icon class for UI display
|
|
40385
|
+
*/
|
|
40386
|
+
get Icon() {
|
|
40387
|
+
return this.Get('Icon');
|
|
40388
|
+
}
|
|
40389
|
+
set Icon(value) {
|
|
40390
|
+
this.Set('Icon', value);
|
|
40391
|
+
}
|
|
40392
|
+
/**
|
|
40393
|
+
* * Field Name: IsArchived
|
|
40394
|
+
* * Display Name: Is Archived
|
|
40395
|
+
* * SQL Data Type: bit
|
|
40396
|
+
* * Default Value: 0
|
|
40397
|
+
* * Description: Indicates if this project is archived and should be hidden from active lists
|
|
40398
|
+
*/
|
|
40399
|
+
get IsArchived() {
|
|
40400
|
+
return this.Get('IsArchived');
|
|
40401
|
+
}
|
|
40402
|
+
set IsArchived(value) {
|
|
40403
|
+
this.Set('IsArchived', value);
|
|
40404
|
+
}
|
|
40405
|
+
/**
|
|
40406
|
+
* * Field Name: __mj_CreatedAt
|
|
40407
|
+
* * Display Name: Created At
|
|
40408
|
+
* * SQL Data Type: datetimeoffset
|
|
40409
|
+
* * Default Value: getutcdate()
|
|
40410
|
+
*/
|
|
40411
|
+
get __mj_CreatedAt() {
|
|
40412
|
+
return this.Get('__mj_CreatedAt');
|
|
40413
|
+
}
|
|
40414
|
+
/**
|
|
40415
|
+
* * Field Name: __mj_UpdatedAt
|
|
40416
|
+
* * Display Name: Updated At
|
|
40417
|
+
* * SQL Data Type: datetimeoffset
|
|
40418
|
+
* * Default Value: getutcdate()
|
|
40419
|
+
*/
|
|
40420
|
+
get __mj_UpdatedAt() {
|
|
40421
|
+
return this.Get('__mj_UpdatedAt');
|
|
40422
|
+
}
|
|
40423
|
+
/**
|
|
40424
|
+
* * Field Name: Environment
|
|
40425
|
+
* * Display Name: Environment
|
|
40426
|
+
* * SQL Data Type: nvarchar(255)
|
|
40427
|
+
*/
|
|
40428
|
+
get Environment() {
|
|
40429
|
+
return this.Get('Environment');
|
|
40430
|
+
}
|
|
40431
|
+
/**
|
|
40432
|
+
* * Field Name: Parent
|
|
40433
|
+
* * Display Name: Parent
|
|
40434
|
+
* * SQL Data Type: nvarchar(255)
|
|
40435
|
+
*/
|
|
40436
|
+
get Parent() {
|
|
40437
|
+
return this.Get('Parent');
|
|
40438
|
+
}
|
|
40439
|
+
};
|
|
40440
|
+
exports.ProjectEntity = ProjectEntity;
|
|
40441
|
+
exports.ProjectEntity = ProjectEntity = __decorate([
|
|
40442
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Projects')
|
|
40443
|
+
], ProjectEntity);
|
|
40444
|
+
/**
|
|
40445
|
+
* MJ: Public Links - strongly typed entity sub-class
|
|
40446
|
+
* * Schema: __mj
|
|
40447
|
+
* * Base Table: PublicLink
|
|
40448
|
+
* * Base View: vwPublicLinks
|
|
40449
|
+
* * @description Shareable links for external access to artifacts and other resources. Supports password protection and expiration.
|
|
40450
|
+
* * Primary Key: ID
|
|
40451
|
+
* @extends {BaseEntity}
|
|
40452
|
+
* @class
|
|
40453
|
+
* @public
|
|
40454
|
+
*/
|
|
40455
|
+
let PublicLinkEntity = class PublicLinkEntity extends core_1.BaseEntity {
|
|
40456
|
+
/**
|
|
40457
|
+
* Loads the MJ: Public Links record from the database
|
|
40458
|
+
* @param ID: string - primary key value to load the MJ: Public Links record.
|
|
40459
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40460
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40461
|
+
* @public
|
|
40462
|
+
* @async
|
|
40463
|
+
* @memberof PublicLinkEntity
|
|
40464
|
+
* @method
|
|
40465
|
+
* @override
|
|
40466
|
+
*/
|
|
40467
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
40468
|
+
const compositeKey = new core_1.CompositeKey();
|
|
40469
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
40470
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
40471
|
+
}
|
|
40472
|
+
/**
|
|
40473
|
+
* * Field Name: ID
|
|
40474
|
+
* * Display Name: ID
|
|
40475
|
+
* * SQL Data Type: uniqueidentifier
|
|
40476
|
+
* * Default Value: newsequentialid()
|
|
40477
|
+
*/
|
|
40478
|
+
get ID() {
|
|
40479
|
+
return this.Get('ID');
|
|
40480
|
+
}
|
|
40481
|
+
set ID(value) {
|
|
40482
|
+
this.Set('ID', value);
|
|
40483
|
+
}
|
|
40484
|
+
/**
|
|
40485
|
+
* * Field Name: ResourceType
|
|
40486
|
+
* * Display Name: Resource Type
|
|
40487
|
+
* * SQL Data Type: nvarchar(50)
|
|
40488
|
+
* * Value List Type: List
|
|
40489
|
+
* * Possible Values
|
|
40490
|
+
* * Artifact
|
|
40491
|
+
* * Conversation
|
|
40492
|
+
* * Collection
|
|
40493
|
+
* * Description: Type of resource being shared (Artifact, Conversation, Collection)
|
|
40494
|
+
*/
|
|
40495
|
+
get ResourceType() {
|
|
40496
|
+
return this.Get('ResourceType');
|
|
40497
|
+
}
|
|
40498
|
+
set ResourceType(value) {
|
|
40499
|
+
this.Set('ResourceType', value);
|
|
40500
|
+
}
|
|
40501
|
+
/**
|
|
40502
|
+
* * Field Name: ResourceID
|
|
40503
|
+
* * Display Name: Resource ID
|
|
40504
|
+
* * SQL Data Type: uniqueidentifier
|
|
40505
|
+
*/
|
|
40506
|
+
get ResourceID() {
|
|
40507
|
+
return this.Get('ResourceID');
|
|
40508
|
+
}
|
|
40509
|
+
set ResourceID(value) {
|
|
40510
|
+
this.Set('ResourceID', value);
|
|
40511
|
+
}
|
|
40512
|
+
/**
|
|
40513
|
+
* * Field Name: Token
|
|
40514
|
+
* * Display Name: Token
|
|
40515
|
+
* * SQL Data Type: nvarchar(255)
|
|
40516
|
+
* * Description: Unique token for accessing the shared resource via URL
|
|
40517
|
+
*/
|
|
40518
|
+
get Token() {
|
|
40519
|
+
return this.Get('Token');
|
|
40520
|
+
}
|
|
40521
|
+
set Token(value) {
|
|
40522
|
+
this.Set('Token', value);
|
|
40523
|
+
}
|
|
40524
|
+
/**
|
|
40525
|
+
* * Field Name: PasswordHash
|
|
40526
|
+
* * Display Name: Password Hash
|
|
40527
|
+
* * SQL Data Type: nvarchar(255)
|
|
40528
|
+
* * Description: SHA256 hash of optional password for additional security
|
|
40529
|
+
*/
|
|
40530
|
+
get PasswordHash() {
|
|
40531
|
+
return this.Get('PasswordHash');
|
|
40532
|
+
}
|
|
40533
|
+
set PasswordHash(value) {
|
|
40534
|
+
this.Set('PasswordHash', value);
|
|
40535
|
+
}
|
|
40536
|
+
/**
|
|
40537
|
+
* * Field Name: ExpiresAt
|
|
40538
|
+
* * Display Name: Expires At
|
|
40539
|
+
* * SQL Data Type: datetimeoffset
|
|
40540
|
+
* * Description: Optional expiration date/time for this public link
|
|
40541
|
+
*/
|
|
40542
|
+
get ExpiresAt() {
|
|
40543
|
+
return this.Get('ExpiresAt');
|
|
40544
|
+
}
|
|
40545
|
+
set ExpiresAt(value) {
|
|
40546
|
+
this.Set('ExpiresAt', value);
|
|
40547
|
+
}
|
|
40548
|
+
/**
|
|
40549
|
+
* * Field Name: MaxViews
|
|
40550
|
+
* * Display Name: Max Views
|
|
40551
|
+
* * SQL Data Type: int
|
|
40552
|
+
* * Description: Maximum number of times this link can be viewed
|
|
40553
|
+
*/
|
|
40554
|
+
get MaxViews() {
|
|
40555
|
+
return this.Get('MaxViews');
|
|
40556
|
+
}
|
|
40557
|
+
set MaxViews(value) {
|
|
40558
|
+
this.Set('MaxViews', value);
|
|
40559
|
+
}
|
|
40560
|
+
/**
|
|
40561
|
+
* * Field Name: CurrentViews
|
|
40562
|
+
* * Display Name: Current Views
|
|
40563
|
+
* * SQL Data Type: int
|
|
40564
|
+
* * Default Value: 0
|
|
40565
|
+
* * Description: Current count of how many times this link has been viewed
|
|
40566
|
+
*/
|
|
40567
|
+
get CurrentViews() {
|
|
40568
|
+
return this.Get('CurrentViews');
|
|
40569
|
+
}
|
|
40570
|
+
set CurrentViews(value) {
|
|
40571
|
+
this.Set('CurrentViews', value);
|
|
40572
|
+
}
|
|
40573
|
+
/**
|
|
40574
|
+
* * Field Name: UserID
|
|
40575
|
+
* * Display Name: User ID
|
|
40576
|
+
* * SQL Data Type: uniqueidentifier
|
|
40577
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
40578
|
+
*/
|
|
40579
|
+
get UserID() {
|
|
40580
|
+
return this.Get('UserID');
|
|
40581
|
+
}
|
|
40582
|
+
set UserID(value) {
|
|
40583
|
+
this.Set('UserID', value);
|
|
40584
|
+
}
|
|
40585
|
+
/**
|
|
40586
|
+
* * Field Name: IsActive
|
|
40587
|
+
* * Display Name: Is Active
|
|
40588
|
+
* * SQL Data Type: bit
|
|
40589
|
+
* * Default Value: 1
|
|
40590
|
+
* * Description: Indicates if this link is currently active and accessible
|
|
40591
|
+
*/
|
|
40592
|
+
get IsActive() {
|
|
40593
|
+
return this.Get('IsActive');
|
|
40594
|
+
}
|
|
40595
|
+
set IsActive(value) {
|
|
40596
|
+
this.Set('IsActive', value);
|
|
40597
|
+
}
|
|
40598
|
+
/**
|
|
40599
|
+
* * Field Name: __mj_CreatedAt
|
|
40600
|
+
* * Display Name: Created At
|
|
40601
|
+
* * SQL Data Type: datetimeoffset
|
|
40602
|
+
* * Default Value: getutcdate()
|
|
40603
|
+
*/
|
|
40604
|
+
get __mj_CreatedAt() {
|
|
40605
|
+
return this.Get('__mj_CreatedAt');
|
|
40606
|
+
}
|
|
40607
|
+
/**
|
|
40608
|
+
* * Field Name: __mj_UpdatedAt
|
|
40609
|
+
* * Display Name: Updated At
|
|
40610
|
+
* * SQL Data Type: datetimeoffset
|
|
40611
|
+
* * Default Value: getutcdate()
|
|
40612
|
+
*/
|
|
40613
|
+
get __mj_UpdatedAt() {
|
|
40614
|
+
return this.Get('__mj_UpdatedAt');
|
|
40615
|
+
}
|
|
40616
|
+
/**
|
|
40617
|
+
* * Field Name: User
|
|
40618
|
+
* * Display Name: User
|
|
40619
|
+
* * SQL Data Type: nvarchar(100)
|
|
40620
|
+
*/
|
|
40621
|
+
get User() {
|
|
40622
|
+
return this.Get('User');
|
|
40623
|
+
}
|
|
40624
|
+
};
|
|
40625
|
+
exports.PublicLinkEntity = PublicLinkEntity;
|
|
40626
|
+
exports.PublicLinkEntity = PublicLinkEntity = __decorate([
|
|
40627
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Public Links')
|
|
40628
|
+
], PublicLinkEntity);
|
|
38604
40629
|
/**
|
|
38605
40630
|
* MJ: Query Parameters - strongly typed entity sub-class
|
|
38606
40631
|
* * Schema: __mj
|
|
@@ -38805,6 +40830,169 @@ exports.QueryParameterEntity = QueryParameterEntity;
|
|
|
38805
40830
|
exports.QueryParameterEntity = QueryParameterEntity = __decorate([
|
|
38806
40831
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Query Parameters')
|
|
38807
40832
|
], QueryParameterEntity);
|
|
40833
|
+
/**
|
|
40834
|
+
* MJ: Record Links - strongly typed entity sub-class
|
|
40835
|
+
* * Schema: __mj
|
|
40836
|
+
* * Base Table: RecordLink
|
|
40837
|
+
* * Base View: vwRecordLinks
|
|
40838
|
+
* * @description Generic linking table that can connect any two records in the system, providing a flexible relationship management system.
|
|
40839
|
+
* * Primary Key: ID
|
|
40840
|
+
* @extends {BaseEntity}
|
|
40841
|
+
* @class
|
|
40842
|
+
* @public
|
|
40843
|
+
*/
|
|
40844
|
+
let RecordLinkEntity = class RecordLinkEntity extends core_1.BaseEntity {
|
|
40845
|
+
/**
|
|
40846
|
+
* Loads the MJ: Record Links record from the database
|
|
40847
|
+
* @param ID: string - primary key value to load the MJ: Record Links record.
|
|
40848
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40849
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40850
|
+
* @public
|
|
40851
|
+
* @async
|
|
40852
|
+
* @memberof RecordLinkEntity
|
|
40853
|
+
* @method
|
|
40854
|
+
* @override
|
|
40855
|
+
*/
|
|
40856
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
40857
|
+
const compositeKey = new core_1.CompositeKey();
|
|
40858
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
40859
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
40860
|
+
}
|
|
40861
|
+
/**
|
|
40862
|
+
* * Field Name: ID
|
|
40863
|
+
* * Display Name: ID
|
|
40864
|
+
* * SQL Data Type: uniqueidentifier
|
|
40865
|
+
* * Default Value: newsequentialid()
|
|
40866
|
+
*/
|
|
40867
|
+
get ID() {
|
|
40868
|
+
return this.Get('ID');
|
|
40869
|
+
}
|
|
40870
|
+
set ID(value) {
|
|
40871
|
+
this.Set('ID', value);
|
|
40872
|
+
}
|
|
40873
|
+
/**
|
|
40874
|
+
* * Field Name: SourceEntityID
|
|
40875
|
+
* * Display Name: Source Entity ID
|
|
40876
|
+
* * SQL Data Type: uniqueidentifier
|
|
40877
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
40878
|
+
*/
|
|
40879
|
+
get SourceEntityID() {
|
|
40880
|
+
return this.Get('SourceEntityID');
|
|
40881
|
+
}
|
|
40882
|
+
set SourceEntityID(value) {
|
|
40883
|
+
this.Set('SourceEntityID', value);
|
|
40884
|
+
}
|
|
40885
|
+
/**
|
|
40886
|
+
* * Field Name: SourceRecordID
|
|
40887
|
+
* * Display Name: Source Record ID
|
|
40888
|
+
* * SQL Data Type: nvarchar(500)
|
|
40889
|
+
* * Description: Primary key value(s) of the source record - scalar for simple PKs or JSON KeyValuePair array for composite PKs
|
|
40890
|
+
*/
|
|
40891
|
+
get SourceRecordID() {
|
|
40892
|
+
return this.Get('SourceRecordID');
|
|
40893
|
+
}
|
|
40894
|
+
set SourceRecordID(value) {
|
|
40895
|
+
this.Set('SourceRecordID', value);
|
|
40896
|
+
}
|
|
40897
|
+
/**
|
|
40898
|
+
* * Field Name: TargetEntityID
|
|
40899
|
+
* * Display Name: Target Entity ID
|
|
40900
|
+
* * SQL Data Type: uniqueidentifier
|
|
40901
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
40902
|
+
*/
|
|
40903
|
+
get TargetEntityID() {
|
|
40904
|
+
return this.Get('TargetEntityID');
|
|
40905
|
+
}
|
|
40906
|
+
set TargetEntityID(value) {
|
|
40907
|
+
this.Set('TargetEntityID', value);
|
|
40908
|
+
}
|
|
40909
|
+
/**
|
|
40910
|
+
* * Field Name: TargetRecordID
|
|
40911
|
+
* * Display Name: Target Record ID
|
|
40912
|
+
* * SQL Data Type: nvarchar(500)
|
|
40913
|
+
* * Description: Primary key value(s) of the target record - scalar for simple PKs or JSON KeyValuePair array for composite PKs
|
|
40914
|
+
*/
|
|
40915
|
+
get TargetRecordID() {
|
|
40916
|
+
return this.Get('TargetRecordID');
|
|
40917
|
+
}
|
|
40918
|
+
set TargetRecordID(value) {
|
|
40919
|
+
this.Set('TargetRecordID', value);
|
|
40920
|
+
}
|
|
40921
|
+
/**
|
|
40922
|
+
* * Field Name: LinkType
|
|
40923
|
+
* * Display Name: Link Type
|
|
40924
|
+
* * SQL Data Type: nvarchar(50)
|
|
40925
|
+
* * Description: Application-specific relationship type describing how the records are related
|
|
40926
|
+
*/
|
|
40927
|
+
get LinkType() {
|
|
40928
|
+
return this.Get('LinkType');
|
|
40929
|
+
}
|
|
40930
|
+
set LinkType(value) {
|
|
40931
|
+
this.Set('LinkType', value);
|
|
40932
|
+
}
|
|
40933
|
+
/**
|
|
40934
|
+
* * Field Name: Sequence
|
|
40935
|
+
* * Display Name: Sequence
|
|
40936
|
+
* * SQL Data Type: int
|
|
40937
|
+
* * Description: Display sequence for ordering linked records in UI
|
|
40938
|
+
*/
|
|
40939
|
+
get Sequence() {
|
|
40940
|
+
return this.Get('Sequence');
|
|
40941
|
+
}
|
|
40942
|
+
set Sequence(value) {
|
|
40943
|
+
this.Set('Sequence', value);
|
|
40944
|
+
}
|
|
40945
|
+
/**
|
|
40946
|
+
* * Field Name: Metadata
|
|
40947
|
+
* * Display Name: Metadata
|
|
40948
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40949
|
+
* * Description: JSON field for storing additional link-specific metadata
|
|
40950
|
+
*/
|
|
40951
|
+
get Metadata() {
|
|
40952
|
+
return this.Get('Metadata');
|
|
40953
|
+
}
|
|
40954
|
+
set Metadata(value) {
|
|
40955
|
+
this.Set('Metadata', value);
|
|
40956
|
+
}
|
|
40957
|
+
/**
|
|
40958
|
+
* * Field Name: __mj_CreatedAt
|
|
40959
|
+
* * Display Name: Created At
|
|
40960
|
+
* * SQL Data Type: datetimeoffset
|
|
40961
|
+
* * Default Value: getutcdate()
|
|
40962
|
+
*/
|
|
40963
|
+
get __mj_CreatedAt() {
|
|
40964
|
+
return this.Get('__mj_CreatedAt');
|
|
40965
|
+
}
|
|
40966
|
+
/**
|
|
40967
|
+
* * Field Name: __mj_UpdatedAt
|
|
40968
|
+
* * Display Name: Updated At
|
|
40969
|
+
* * SQL Data Type: datetimeoffset
|
|
40970
|
+
* * Default Value: getutcdate()
|
|
40971
|
+
*/
|
|
40972
|
+
get __mj_UpdatedAt() {
|
|
40973
|
+
return this.Get('__mj_UpdatedAt');
|
|
40974
|
+
}
|
|
40975
|
+
/**
|
|
40976
|
+
* * Field Name: SourceEntity
|
|
40977
|
+
* * Display Name: Source Entity
|
|
40978
|
+
* * SQL Data Type: nvarchar(255)
|
|
40979
|
+
*/
|
|
40980
|
+
get SourceEntity() {
|
|
40981
|
+
return this.Get('SourceEntity');
|
|
40982
|
+
}
|
|
40983
|
+
/**
|
|
40984
|
+
* * Field Name: TargetEntity
|
|
40985
|
+
* * Display Name: Target Entity
|
|
40986
|
+
* * SQL Data Type: nvarchar(255)
|
|
40987
|
+
*/
|
|
40988
|
+
get TargetEntity() {
|
|
40989
|
+
return this.Get('TargetEntity');
|
|
40990
|
+
}
|
|
40991
|
+
};
|
|
40992
|
+
exports.RecordLinkEntity = RecordLinkEntity;
|
|
40993
|
+
exports.RecordLinkEntity = RecordLinkEntity = __decorate([
|
|
40994
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Record Links')
|
|
40995
|
+
], RecordLinkEntity);
|
|
38808
40996
|
/**
|
|
38809
40997
|
* MJ: Report User States - strongly typed entity sub-class
|
|
38810
40998
|
* * Schema: __mj
|
|
@@ -38907,39 +41095,206 @@ let ReportUserStateEntity = class ReportUserStateEntity extends core_1.BaseEntit
|
|
|
38907
41095
|
get Report() {
|
|
38908
41096
|
return this.Get('Report');
|
|
38909
41097
|
}
|
|
38910
|
-
/**
|
|
38911
|
-
* * Field Name: User
|
|
38912
|
-
* * Display Name: User
|
|
38913
|
-
* * SQL Data Type: nvarchar(100)
|
|
38914
|
-
*/
|
|
38915
|
-
get User() {
|
|
38916
|
-
return this.Get('User');
|
|
38917
|
-
}
|
|
41098
|
+
/**
|
|
41099
|
+
* * Field Name: User
|
|
41100
|
+
* * Display Name: User
|
|
41101
|
+
* * SQL Data Type: nvarchar(100)
|
|
41102
|
+
*/
|
|
41103
|
+
get User() {
|
|
41104
|
+
return this.Get('User');
|
|
41105
|
+
}
|
|
41106
|
+
};
|
|
41107
|
+
exports.ReportUserStateEntity = ReportUserStateEntity;
|
|
41108
|
+
exports.ReportUserStateEntity = ReportUserStateEntity = __decorate([
|
|
41109
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Report User States')
|
|
41110
|
+
], ReportUserStateEntity);
|
|
41111
|
+
/**
|
|
41112
|
+
* MJ: Report Versions - strongly typed entity sub-class
|
|
41113
|
+
* * Schema: __mj
|
|
41114
|
+
* * Base Table: ReportVersion
|
|
41115
|
+
* * Base View: vwReportVersions
|
|
41116
|
+
* * @description Stores iterations of report logic, structure, and layout changes
|
|
41117
|
+
* * Primary Key: ID
|
|
41118
|
+
* @extends {BaseEntity}
|
|
41119
|
+
* @class
|
|
41120
|
+
* @public
|
|
41121
|
+
*/
|
|
41122
|
+
let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
41123
|
+
/**
|
|
41124
|
+
* Loads the MJ: Report Versions record from the database
|
|
41125
|
+
* @param ID: string - primary key value to load the MJ: Report Versions record.
|
|
41126
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
41127
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
41128
|
+
* @public
|
|
41129
|
+
* @async
|
|
41130
|
+
* @memberof ReportVersionEntity
|
|
41131
|
+
* @method
|
|
41132
|
+
* @override
|
|
41133
|
+
*/
|
|
41134
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
41135
|
+
const compositeKey = new core_1.CompositeKey();
|
|
41136
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
41137
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
41138
|
+
}
|
|
41139
|
+
/**
|
|
41140
|
+
* Validate() method override for MJ: Report Versions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
41141
|
+
* * VersionNumber: This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
|
|
41142
|
+
* @public
|
|
41143
|
+
* @method
|
|
41144
|
+
* @override
|
|
41145
|
+
*/
|
|
41146
|
+
Validate() {
|
|
41147
|
+
const result = super.Validate();
|
|
41148
|
+
this.ValidateVersionNumberGreaterThanZero(result);
|
|
41149
|
+
return result;
|
|
41150
|
+
}
|
|
41151
|
+
/**
|
|
41152
|
+
* This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
|
|
41153
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
41154
|
+
* @public
|
|
41155
|
+
* @method
|
|
41156
|
+
*/
|
|
41157
|
+
ValidateVersionNumberGreaterThanZero(result) {
|
|
41158
|
+
if (this.VersionNumber <= 0) {
|
|
41159
|
+
result.Errors.push(new core_1.ValidationErrorInfo("VersionNumber", "The version number must be greater than zero.", this.VersionNumber, core_1.ValidationErrorType.Failure));
|
|
41160
|
+
}
|
|
41161
|
+
}
|
|
41162
|
+
/**
|
|
41163
|
+
* * Field Name: ID
|
|
41164
|
+
* * Display Name: ID
|
|
41165
|
+
* * SQL Data Type: uniqueidentifier
|
|
41166
|
+
* * Default Value: newsequentialid()
|
|
41167
|
+
*/
|
|
41168
|
+
get ID() {
|
|
41169
|
+
return this.Get('ID');
|
|
41170
|
+
}
|
|
41171
|
+
set ID(value) {
|
|
41172
|
+
this.Set('ID', value);
|
|
41173
|
+
}
|
|
41174
|
+
/**
|
|
41175
|
+
* * Field Name: ReportID
|
|
41176
|
+
* * Display Name: Report ID
|
|
41177
|
+
* * SQL Data Type: uniqueidentifier
|
|
41178
|
+
* * Related Entity/Foreign Key: Reports (vwReports.ID)
|
|
41179
|
+
*/
|
|
41180
|
+
get ReportID() {
|
|
41181
|
+
return this.Get('ReportID');
|
|
41182
|
+
}
|
|
41183
|
+
set ReportID(value) {
|
|
41184
|
+
this.Set('ReportID', value);
|
|
41185
|
+
}
|
|
41186
|
+
/**
|
|
41187
|
+
* * Field Name: VersionNumber
|
|
41188
|
+
* * Display Name: Version Number
|
|
41189
|
+
* * SQL Data Type: int
|
|
41190
|
+
* * Description: Report version number, sequential per report starting at 1
|
|
41191
|
+
*/
|
|
41192
|
+
get VersionNumber() {
|
|
41193
|
+
return this.Get('VersionNumber');
|
|
41194
|
+
}
|
|
41195
|
+
set VersionNumber(value) {
|
|
41196
|
+
this.Set('VersionNumber', value);
|
|
41197
|
+
}
|
|
41198
|
+
/**
|
|
41199
|
+
* * Field Name: Name
|
|
41200
|
+
* * Display Name: Name
|
|
41201
|
+
* * SQL Data Type: nvarchar(255)
|
|
41202
|
+
* * Description: Name of this report version
|
|
41203
|
+
*/
|
|
41204
|
+
get Name() {
|
|
41205
|
+
return this.Get('Name');
|
|
41206
|
+
}
|
|
41207
|
+
set Name(value) {
|
|
41208
|
+
this.Set('Name', value);
|
|
41209
|
+
}
|
|
41210
|
+
/**
|
|
41211
|
+
* * Field Name: Description
|
|
41212
|
+
* * Display Name: Description
|
|
41213
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41214
|
+
* * Description: Description of this report version
|
|
41215
|
+
*/
|
|
41216
|
+
get Description() {
|
|
41217
|
+
return this.Get('Description');
|
|
41218
|
+
}
|
|
41219
|
+
set Description(value) {
|
|
41220
|
+
this.Set('Description', value);
|
|
41221
|
+
}
|
|
41222
|
+
/**
|
|
41223
|
+
* * Field Name: Configuration
|
|
41224
|
+
* * Display Name: Configuration
|
|
41225
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41226
|
+
* * Description: JSON configuration of report structure, layout and logic
|
|
41227
|
+
*/
|
|
41228
|
+
get Configuration() {
|
|
41229
|
+
return this.Get('Configuration');
|
|
41230
|
+
}
|
|
41231
|
+
set Configuration(value) {
|
|
41232
|
+
this.Set('Configuration', value);
|
|
41233
|
+
}
|
|
41234
|
+
/**
|
|
41235
|
+
* * Field Name: DataContextUpdated
|
|
41236
|
+
* * Display Name: Data Context Updated
|
|
41237
|
+
* * SQL Data Type: bit
|
|
41238
|
+
* * Default Value: 0
|
|
41239
|
+
* * Description: Indicates if the data context was updated in this version
|
|
41240
|
+
*/
|
|
41241
|
+
get DataContextUpdated() {
|
|
41242
|
+
return this.Get('DataContextUpdated');
|
|
41243
|
+
}
|
|
41244
|
+
set DataContextUpdated(value) {
|
|
41245
|
+
this.Set('DataContextUpdated', value);
|
|
41246
|
+
}
|
|
41247
|
+
/**
|
|
41248
|
+
* * Field Name: __mj_CreatedAt
|
|
41249
|
+
* * Display Name: Created At
|
|
41250
|
+
* * SQL Data Type: datetimeoffset
|
|
41251
|
+
* * Default Value: getutcdate()
|
|
41252
|
+
*/
|
|
41253
|
+
get __mj_CreatedAt() {
|
|
41254
|
+
return this.Get('__mj_CreatedAt');
|
|
41255
|
+
}
|
|
41256
|
+
/**
|
|
41257
|
+
* * Field Name: __mj_UpdatedAt
|
|
41258
|
+
* * Display Name: Updated At
|
|
41259
|
+
* * SQL Data Type: datetimeoffset
|
|
41260
|
+
* * Default Value: getutcdate()
|
|
41261
|
+
*/
|
|
41262
|
+
get __mj_UpdatedAt() {
|
|
41263
|
+
return this.Get('__mj_UpdatedAt');
|
|
41264
|
+
}
|
|
41265
|
+
/**
|
|
41266
|
+
* * Field Name: Report
|
|
41267
|
+
* * Display Name: Report
|
|
41268
|
+
* * SQL Data Type: nvarchar(255)
|
|
41269
|
+
*/
|
|
41270
|
+
get Report() {
|
|
41271
|
+
return this.Get('Report');
|
|
41272
|
+
}
|
|
38918
41273
|
};
|
|
38919
|
-
exports.
|
|
38920
|
-
exports.
|
|
38921
|
-
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Report
|
|
38922
|
-
],
|
|
41274
|
+
exports.ReportVersionEntity = ReportVersionEntity;
|
|
41275
|
+
exports.ReportVersionEntity = ReportVersionEntity = __decorate([
|
|
41276
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Report Versions')
|
|
41277
|
+
], ReportVersionEntity);
|
|
38923
41278
|
/**
|
|
38924
|
-
* MJ:
|
|
41279
|
+
* MJ: Task Dependencies - strongly typed entity sub-class
|
|
38925
41280
|
* * Schema: __mj
|
|
38926
|
-
* * Base Table:
|
|
38927
|
-
* * Base View:
|
|
38928
|
-
* * @description
|
|
41281
|
+
* * Base Table: TaskDependency
|
|
41282
|
+
* * Base View: vwTaskDependencies
|
|
41283
|
+
* * @description Defines dependencies between tasks to create a directed acyclic graph (DAG) for workflow orchestration
|
|
38929
41284
|
* * Primary Key: ID
|
|
38930
41285
|
* @extends {BaseEntity}
|
|
38931
41286
|
* @class
|
|
38932
41287
|
* @public
|
|
38933
41288
|
*/
|
|
38934
|
-
let
|
|
41289
|
+
let TaskDependencyEntity = class TaskDependencyEntity extends core_1.BaseEntity {
|
|
38935
41290
|
/**
|
|
38936
|
-
* Loads the MJ:
|
|
38937
|
-
* @param ID: string - primary key value to load the MJ:
|
|
41291
|
+
* Loads the MJ: Task Dependencies record from the database
|
|
41292
|
+
* @param ID: string - primary key value to load the MJ: Task Dependencies record.
|
|
38938
41293
|
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38939
41294
|
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38940
41295
|
* @public
|
|
38941
41296
|
* @async
|
|
38942
|
-
* @memberof
|
|
41297
|
+
* @memberof TaskDependencyEntity
|
|
38943
41298
|
* @method
|
|
38944
41299
|
* @override
|
|
38945
41300
|
*/
|
|
@@ -38949,26 +41304,26 @@ let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
|
38949
41304
|
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
38950
41305
|
}
|
|
38951
41306
|
/**
|
|
38952
|
-
* Validate() method override for MJ:
|
|
38953
|
-
* *
|
|
41307
|
+
* Validate() method override for MJ: Task Dependencies entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
41308
|
+
* * Table-Level: This rule ensures that a task cannot depend on itself. In other words, the dependent task and the task it depends on must be different.
|
|
38954
41309
|
* @public
|
|
38955
41310
|
* @method
|
|
38956
41311
|
* @override
|
|
38957
41312
|
*/
|
|
38958
41313
|
Validate() {
|
|
38959
41314
|
const result = super.Validate();
|
|
38960
|
-
this.
|
|
41315
|
+
this.ValidateTaskIDIsNotEqualToDependsOnTaskID(result);
|
|
38961
41316
|
return result;
|
|
38962
41317
|
}
|
|
38963
41318
|
/**
|
|
38964
|
-
* This rule ensures that
|
|
41319
|
+
* This rule ensures that a task cannot depend on itself. In other words, the dependent task and the task it depends on must be different.
|
|
38965
41320
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
38966
41321
|
* @public
|
|
38967
41322
|
* @method
|
|
38968
41323
|
*/
|
|
38969
|
-
|
|
38970
|
-
if (this.
|
|
38971
|
-
result.Errors.push(new core_1.ValidationErrorInfo("
|
|
41324
|
+
ValidateTaskIDIsNotEqualToDependsOnTaskID(result) {
|
|
41325
|
+
if (this.TaskID === this.DependsOnTaskID) {
|
|
41326
|
+
result.Errors.push(new core_1.ValidationErrorInfo("TaskID", "A task cannot depend on itself. The TaskID and DependsOnTaskID must be different.", this.TaskID, core_1.ValidationErrorType.Failure));
|
|
38972
41327
|
}
|
|
38973
41328
|
}
|
|
38974
41329
|
/**
|
|
@@ -38984,34 +41339,131 @@ let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
|
38984
41339
|
this.Set('ID', value);
|
|
38985
41340
|
}
|
|
38986
41341
|
/**
|
|
38987
|
-
* * Field Name:
|
|
38988
|
-
* * Display Name:
|
|
41342
|
+
* * Field Name: TaskID
|
|
41343
|
+
* * Display Name: Task ID
|
|
38989
41344
|
* * SQL Data Type: uniqueidentifier
|
|
38990
|
-
* * Related Entity/Foreign Key:
|
|
41345
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
|
|
38991
41346
|
*/
|
|
38992
|
-
get
|
|
38993
|
-
return this.Get('
|
|
41347
|
+
get TaskID() {
|
|
41348
|
+
return this.Get('TaskID');
|
|
38994
41349
|
}
|
|
38995
|
-
set
|
|
38996
|
-
this.Set('
|
|
41350
|
+
set TaskID(value) {
|
|
41351
|
+
this.Set('TaskID', value);
|
|
38997
41352
|
}
|
|
38998
41353
|
/**
|
|
38999
|
-
* * Field Name:
|
|
39000
|
-
* * Display Name:
|
|
39001
|
-
* * SQL Data Type:
|
|
39002
|
-
* *
|
|
41354
|
+
* * Field Name: DependsOnTaskID
|
|
41355
|
+
* * Display Name: Depends On Task ID
|
|
41356
|
+
* * SQL Data Type: uniqueidentifier
|
|
41357
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
|
|
39003
41358
|
*/
|
|
39004
|
-
get
|
|
39005
|
-
return this.Get('
|
|
41359
|
+
get DependsOnTaskID() {
|
|
41360
|
+
return this.Get('DependsOnTaskID');
|
|
39006
41361
|
}
|
|
39007
|
-
set
|
|
39008
|
-
this.Set('
|
|
41362
|
+
set DependsOnTaskID(value) {
|
|
41363
|
+
this.Set('DependsOnTaskID', value);
|
|
41364
|
+
}
|
|
41365
|
+
/**
|
|
41366
|
+
* * Field Name: DependencyType
|
|
41367
|
+
* * Display Name: Dependency Type
|
|
41368
|
+
* * SQL Data Type: nvarchar(50)
|
|
41369
|
+
* * Default Value: Prerequisite
|
|
41370
|
+
* * Value List Type: List
|
|
41371
|
+
* * Possible Values
|
|
41372
|
+
* * Prerequisite
|
|
41373
|
+
* * Corequisite
|
|
41374
|
+
* * Optional
|
|
41375
|
+
* * Description: Type of dependency relationship (Prerequisite, Corequisite, Optional)
|
|
41376
|
+
*/
|
|
41377
|
+
get DependencyType() {
|
|
41378
|
+
return this.Get('DependencyType');
|
|
41379
|
+
}
|
|
41380
|
+
set DependencyType(value) {
|
|
41381
|
+
this.Set('DependencyType', value);
|
|
41382
|
+
}
|
|
41383
|
+
/**
|
|
41384
|
+
* * Field Name: __mj_CreatedAt
|
|
41385
|
+
* * Display Name: Created At
|
|
41386
|
+
* * SQL Data Type: datetimeoffset
|
|
41387
|
+
* * Default Value: getutcdate()
|
|
41388
|
+
*/
|
|
41389
|
+
get __mj_CreatedAt() {
|
|
41390
|
+
return this.Get('__mj_CreatedAt');
|
|
41391
|
+
}
|
|
41392
|
+
/**
|
|
41393
|
+
* * Field Name: __mj_UpdatedAt
|
|
41394
|
+
* * Display Name: Updated At
|
|
41395
|
+
* * SQL Data Type: datetimeoffset
|
|
41396
|
+
* * Default Value: getutcdate()
|
|
41397
|
+
*/
|
|
41398
|
+
get __mj_UpdatedAt() {
|
|
41399
|
+
return this.Get('__mj_UpdatedAt');
|
|
41400
|
+
}
|
|
41401
|
+
/**
|
|
41402
|
+
* * Field Name: Task
|
|
41403
|
+
* * Display Name: Task
|
|
41404
|
+
* * SQL Data Type: nvarchar(255)
|
|
41405
|
+
*/
|
|
41406
|
+
get Task() {
|
|
41407
|
+
return this.Get('Task');
|
|
41408
|
+
}
|
|
41409
|
+
/**
|
|
41410
|
+
* * Field Name: DependsOnTask
|
|
41411
|
+
* * Display Name: Depends On Task
|
|
41412
|
+
* * SQL Data Type: nvarchar(255)
|
|
41413
|
+
*/
|
|
41414
|
+
get DependsOnTask() {
|
|
41415
|
+
return this.Get('DependsOnTask');
|
|
41416
|
+
}
|
|
41417
|
+
};
|
|
41418
|
+
exports.TaskDependencyEntity = TaskDependencyEntity;
|
|
41419
|
+
exports.TaskDependencyEntity = TaskDependencyEntity = __decorate([
|
|
41420
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Task Dependencies')
|
|
41421
|
+
], TaskDependencyEntity);
|
|
41422
|
+
/**
|
|
41423
|
+
* MJ: Task Types - strongly typed entity sub-class
|
|
41424
|
+
* * Schema: __mj
|
|
41425
|
+
* * Base Table: TaskType
|
|
41426
|
+
* * Base View: vwTaskTypes
|
|
41427
|
+
* * @description Categorization system for different types of tasks that can be created and managed within the system
|
|
41428
|
+
* * Primary Key: ID
|
|
41429
|
+
* @extends {BaseEntity}
|
|
41430
|
+
* @class
|
|
41431
|
+
* @public
|
|
41432
|
+
*/
|
|
41433
|
+
let TaskTypeEntity = class TaskTypeEntity extends core_1.BaseEntity {
|
|
41434
|
+
/**
|
|
41435
|
+
* Loads the MJ: Task Types record from the database
|
|
41436
|
+
* @param ID: string - primary key value to load the MJ: Task Types record.
|
|
41437
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
41438
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
41439
|
+
* @public
|
|
41440
|
+
* @async
|
|
41441
|
+
* @memberof TaskTypeEntity
|
|
41442
|
+
* @method
|
|
41443
|
+
* @override
|
|
41444
|
+
*/
|
|
41445
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
41446
|
+
const compositeKey = new core_1.CompositeKey();
|
|
41447
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
41448
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
41449
|
+
}
|
|
41450
|
+
/**
|
|
41451
|
+
* * Field Name: ID
|
|
41452
|
+
* * Display Name: ID
|
|
41453
|
+
* * SQL Data Type: uniqueidentifier
|
|
41454
|
+
* * Default Value: newsequentialid()
|
|
41455
|
+
*/
|
|
41456
|
+
get ID() {
|
|
41457
|
+
return this.Get('ID');
|
|
41458
|
+
}
|
|
41459
|
+
set ID(value) {
|
|
41460
|
+
this.Set('ID', value);
|
|
39009
41461
|
}
|
|
39010
41462
|
/**
|
|
39011
41463
|
* * Field Name: Name
|
|
39012
41464
|
* * Display Name: Name
|
|
39013
41465
|
* * SQL Data Type: nvarchar(255)
|
|
39014
|
-
* * Description:
|
|
41466
|
+
* * Description: Display name for the task type
|
|
39015
41467
|
*/
|
|
39016
41468
|
get Name() {
|
|
39017
41469
|
return this.Get('Name');
|
|
@@ -39023,7 +41475,7 @@ let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
|
39023
41475
|
* * Field Name: Description
|
|
39024
41476
|
* * Display Name: Description
|
|
39025
41477
|
* * SQL Data Type: nvarchar(MAX)
|
|
39026
|
-
* * Description:
|
|
41478
|
+
* * Description: Detailed description of what this task type represents and when it should be used
|
|
39027
41479
|
*/
|
|
39028
41480
|
get Description() {
|
|
39029
41481
|
return this.Get('Description');
|
|
@@ -39032,29 +41484,284 @@ let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
|
39032
41484
|
this.Set('Description', value);
|
|
39033
41485
|
}
|
|
39034
41486
|
/**
|
|
39035
|
-
* * Field Name:
|
|
39036
|
-
* * Display Name:
|
|
41487
|
+
* * Field Name: __mj_CreatedAt
|
|
41488
|
+
* * Display Name: Created At
|
|
41489
|
+
* * SQL Data Type: datetimeoffset
|
|
41490
|
+
* * Default Value: getutcdate()
|
|
41491
|
+
*/
|
|
41492
|
+
get __mj_CreatedAt() {
|
|
41493
|
+
return this.Get('__mj_CreatedAt');
|
|
41494
|
+
}
|
|
41495
|
+
/**
|
|
41496
|
+
* * Field Name: __mj_UpdatedAt
|
|
41497
|
+
* * Display Name: Updated At
|
|
41498
|
+
* * SQL Data Type: datetimeoffset
|
|
41499
|
+
* * Default Value: getutcdate()
|
|
41500
|
+
*/
|
|
41501
|
+
get __mj_UpdatedAt() {
|
|
41502
|
+
return this.Get('__mj_UpdatedAt');
|
|
41503
|
+
}
|
|
41504
|
+
};
|
|
41505
|
+
exports.TaskTypeEntity = TaskTypeEntity;
|
|
41506
|
+
exports.TaskTypeEntity = TaskTypeEntity = __decorate([
|
|
41507
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Task Types')
|
|
41508
|
+
], TaskTypeEntity);
|
|
41509
|
+
/**
|
|
41510
|
+
* MJ: Tasks - strongly typed entity sub-class
|
|
41511
|
+
* * Schema: __mj
|
|
41512
|
+
* * Base Table: Task
|
|
41513
|
+
* * Base View: vwTasks
|
|
41514
|
+
* * @description Core task management entity supporting multi-agent and multi-human collaboration with dependency tracking
|
|
41515
|
+
* * Primary Key: ID
|
|
41516
|
+
* @extends {BaseEntity}
|
|
41517
|
+
* @class
|
|
41518
|
+
* @public
|
|
41519
|
+
*/
|
|
41520
|
+
let TaskEntity = class TaskEntity extends core_1.BaseEntity {
|
|
41521
|
+
/**
|
|
41522
|
+
* Loads the MJ: Tasks record from the database
|
|
41523
|
+
* @param ID: string - primary key value to load the MJ: Tasks record.
|
|
41524
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
41525
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
41526
|
+
* @public
|
|
41527
|
+
* @async
|
|
41528
|
+
* @memberof TaskEntity
|
|
41529
|
+
* @method
|
|
41530
|
+
* @override
|
|
41531
|
+
*/
|
|
41532
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
41533
|
+
const compositeKey = new core_1.CompositeKey();
|
|
41534
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
41535
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
41536
|
+
}
|
|
41537
|
+
/**
|
|
41538
|
+
* Validate() method override for MJ: Tasks entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
41539
|
+
* * PercentComplete: This rule ensures that the percent complete value must always be between 0 and 100, inclusive.
|
|
41540
|
+
* * Table-Level: This rule ensures that you can have a user, or an agent, or neither, but you cannot have both set at the same time.
|
|
41541
|
+
* @public
|
|
41542
|
+
* @method
|
|
41543
|
+
* @override
|
|
41544
|
+
*/
|
|
41545
|
+
Validate() {
|
|
41546
|
+
const result = super.Validate();
|
|
41547
|
+
this.ValidatePercentCompleteWithinRange(result);
|
|
41548
|
+
this.ValidateUserIDAndAgentIDNotBothSet(result);
|
|
41549
|
+
return result;
|
|
41550
|
+
}
|
|
41551
|
+
/**
|
|
41552
|
+
* This rule ensures that the percent complete value must always be between 0 and 100, inclusive.
|
|
41553
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
41554
|
+
* @public
|
|
41555
|
+
* @method
|
|
41556
|
+
*/
|
|
41557
|
+
ValidatePercentCompleteWithinRange(result) {
|
|
41558
|
+
if (this.PercentComplete < 0 || this.PercentComplete > 100) {
|
|
41559
|
+
result.Errors.push(new core_1.ValidationErrorInfo("PercentComplete", "Percent complete must be between 0 and 100.", this.PercentComplete, core_1.ValidationErrorType.Failure));
|
|
41560
|
+
}
|
|
41561
|
+
}
|
|
41562
|
+
/**
|
|
41563
|
+
* This rule ensures that you can have a user, or an agent, or neither, but you cannot have both set at the same time.
|
|
41564
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
41565
|
+
* @public
|
|
41566
|
+
* @method
|
|
41567
|
+
*/
|
|
41568
|
+
ValidateUserIDAndAgentIDNotBothSet(result) {
|
|
41569
|
+
if (this.UserID !== null && this.AgentID !== null) {
|
|
41570
|
+
result.Errors.push(new core_1.ValidationErrorInfo("UserID", "You cannot have both a User and an Agent specified at the same time.", this.UserID, core_1.ValidationErrorType.Failure));
|
|
41571
|
+
result.Errors.push(new core_1.ValidationErrorInfo("AgentID", "You cannot have both an Agent and a User specified at the same time.", this.AgentID, core_1.ValidationErrorType.Failure));
|
|
41572
|
+
}
|
|
41573
|
+
}
|
|
41574
|
+
/**
|
|
41575
|
+
* * Field Name: ID
|
|
41576
|
+
* * Display Name: ID
|
|
41577
|
+
* * SQL Data Type: uniqueidentifier
|
|
41578
|
+
* * Default Value: newsequentialid()
|
|
41579
|
+
*/
|
|
41580
|
+
get ID() {
|
|
41581
|
+
return this.Get('ID');
|
|
41582
|
+
}
|
|
41583
|
+
set ID(value) {
|
|
41584
|
+
this.Set('ID', value);
|
|
41585
|
+
}
|
|
41586
|
+
/**
|
|
41587
|
+
* * Field Name: ParentID
|
|
41588
|
+
* * Display Name: Parent ID
|
|
41589
|
+
* * SQL Data Type: uniqueidentifier
|
|
41590
|
+
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
|
|
41591
|
+
*/
|
|
41592
|
+
get ParentID() {
|
|
41593
|
+
return this.Get('ParentID');
|
|
41594
|
+
}
|
|
41595
|
+
set ParentID(value) {
|
|
41596
|
+
this.Set('ParentID', value);
|
|
41597
|
+
}
|
|
41598
|
+
/**
|
|
41599
|
+
* * Field Name: Name
|
|
41600
|
+
* * Display Name: Name
|
|
41601
|
+
* * SQL Data Type: nvarchar(255)
|
|
41602
|
+
* * Description: Display name for the task
|
|
41603
|
+
*/
|
|
41604
|
+
get Name() {
|
|
41605
|
+
return this.Get('Name');
|
|
41606
|
+
}
|
|
41607
|
+
set Name(value) {
|
|
41608
|
+
this.Set('Name', value);
|
|
41609
|
+
}
|
|
41610
|
+
/**
|
|
41611
|
+
* * Field Name: Description
|
|
41612
|
+
* * Display Name: Description
|
|
39037
41613
|
* * SQL Data Type: nvarchar(MAX)
|
|
39038
|
-
* * Description:
|
|
41614
|
+
* * Description: Detailed description of the task requirements and objectives
|
|
39039
41615
|
*/
|
|
39040
|
-
get
|
|
39041
|
-
return this.Get('
|
|
41616
|
+
get Description() {
|
|
41617
|
+
return this.Get('Description');
|
|
39042
41618
|
}
|
|
39043
|
-
set
|
|
39044
|
-
this.Set('
|
|
41619
|
+
set Description(value) {
|
|
41620
|
+
this.Set('Description', value);
|
|
39045
41621
|
}
|
|
39046
41622
|
/**
|
|
39047
|
-
* * Field Name:
|
|
39048
|
-
* * Display Name:
|
|
39049
|
-
* * SQL Data Type:
|
|
41623
|
+
* * Field Name: TypeID
|
|
41624
|
+
* * Display Name: Type ID
|
|
41625
|
+
* * SQL Data Type: uniqueidentifier
|
|
41626
|
+
* * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)
|
|
41627
|
+
*/
|
|
41628
|
+
get TypeID() {
|
|
41629
|
+
return this.Get('TypeID');
|
|
41630
|
+
}
|
|
41631
|
+
set TypeID(value) {
|
|
41632
|
+
this.Set('TypeID', value);
|
|
41633
|
+
}
|
|
41634
|
+
/**
|
|
41635
|
+
* * Field Name: EnvironmentID
|
|
41636
|
+
* * Display Name: Environment ID
|
|
41637
|
+
* * SQL Data Type: uniqueidentifier
|
|
41638
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
41639
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
41640
|
+
*/
|
|
41641
|
+
get EnvironmentID() {
|
|
41642
|
+
return this.Get('EnvironmentID');
|
|
41643
|
+
}
|
|
41644
|
+
set EnvironmentID(value) {
|
|
41645
|
+
this.Set('EnvironmentID', value);
|
|
41646
|
+
}
|
|
41647
|
+
/**
|
|
41648
|
+
* * Field Name: ProjectID
|
|
41649
|
+
* * Display Name: Project ID
|
|
41650
|
+
* * SQL Data Type: uniqueidentifier
|
|
41651
|
+
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
41652
|
+
*/
|
|
41653
|
+
get ProjectID() {
|
|
41654
|
+
return this.Get('ProjectID');
|
|
41655
|
+
}
|
|
41656
|
+
set ProjectID(value) {
|
|
41657
|
+
this.Set('ProjectID', value);
|
|
41658
|
+
}
|
|
41659
|
+
/**
|
|
41660
|
+
* * Field Name: ConversationDetailID
|
|
41661
|
+
* * Display Name: Conversation Detail ID
|
|
41662
|
+
* * SQL Data Type: uniqueidentifier
|
|
41663
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
41664
|
+
*/
|
|
41665
|
+
get ConversationDetailID() {
|
|
41666
|
+
return this.Get('ConversationDetailID');
|
|
41667
|
+
}
|
|
41668
|
+
set ConversationDetailID(value) {
|
|
41669
|
+
this.Set('ConversationDetailID', value);
|
|
41670
|
+
}
|
|
41671
|
+
/**
|
|
41672
|
+
* * Field Name: UserID
|
|
41673
|
+
* * Display Name: User ID
|
|
41674
|
+
* * SQL Data Type: uniqueidentifier
|
|
41675
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
41676
|
+
*/
|
|
41677
|
+
get UserID() {
|
|
41678
|
+
return this.Get('UserID');
|
|
41679
|
+
}
|
|
41680
|
+
set UserID(value) {
|
|
41681
|
+
this.Set('UserID', value);
|
|
41682
|
+
}
|
|
41683
|
+
/**
|
|
41684
|
+
* * Field Name: AgentID
|
|
41685
|
+
* * Display Name: Agent ID
|
|
41686
|
+
* * SQL Data Type: uniqueidentifier
|
|
41687
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
41688
|
+
*/
|
|
41689
|
+
get AgentID() {
|
|
41690
|
+
return this.Get('AgentID');
|
|
41691
|
+
}
|
|
41692
|
+
set AgentID(value) {
|
|
41693
|
+
this.Set('AgentID', value);
|
|
41694
|
+
}
|
|
41695
|
+
/**
|
|
41696
|
+
* * Field Name: Status
|
|
41697
|
+
* * Display Name: Status
|
|
41698
|
+
* * SQL Data Type: nvarchar(50)
|
|
41699
|
+
* * Default Value: Pending
|
|
41700
|
+
* * Value List Type: List
|
|
41701
|
+
* * Possible Values
|
|
41702
|
+
* * Pending
|
|
41703
|
+
* * In Progress
|
|
41704
|
+
* * Complete
|
|
41705
|
+
* * Cancelled
|
|
41706
|
+
* * Failed
|
|
41707
|
+
* * Blocked
|
|
41708
|
+
* * Deferred
|
|
41709
|
+
* * Description: Current status of the task (Pending, In Progress, Complete, Cancelled, Failed, Blocked, Deferred)
|
|
41710
|
+
*/
|
|
41711
|
+
get Status() {
|
|
41712
|
+
return this.Get('Status');
|
|
41713
|
+
}
|
|
41714
|
+
set Status(value) {
|
|
41715
|
+
this.Set('Status', value);
|
|
41716
|
+
}
|
|
41717
|
+
/**
|
|
41718
|
+
* * Field Name: PercentComplete
|
|
41719
|
+
* * Display Name: Percent Complete
|
|
41720
|
+
* * SQL Data Type: int
|
|
39050
41721
|
* * Default Value: 0
|
|
39051
|
-
* * Description:
|
|
41722
|
+
* * Description: Completion percentage for tracking progress (0-100)
|
|
39052
41723
|
*/
|
|
39053
|
-
get
|
|
39054
|
-
return this.Get('
|
|
41724
|
+
get PercentComplete() {
|
|
41725
|
+
return this.Get('PercentComplete');
|
|
39055
41726
|
}
|
|
39056
|
-
set
|
|
39057
|
-
this.Set('
|
|
41727
|
+
set PercentComplete(value) {
|
|
41728
|
+
this.Set('PercentComplete', value);
|
|
41729
|
+
}
|
|
41730
|
+
/**
|
|
41731
|
+
* * Field Name: DueAt
|
|
41732
|
+
* * Display Name: Due At
|
|
41733
|
+
* * SQL Data Type: datetimeoffset
|
|
41734
|
+
* * Description: Due date and time for task completion
|
|
41735
|
+
*/
|
|
41736
|
+
get DueAt() {
|
|
41737
|
+
return this.Get('DueAt');
|
|
41738
|
+
}
|
|
41739
|
+
set DueAt(value) {
|
|
41740
|
+
this.Set('DueAt', value);
|
|
41741
|
+
}
|
|
41742
|
+
/**
|
|
41743
|
+
* * Field Name: StartedAt
|
|
41744
|
+
* * Display Name: Started At
|
|
41745
|
+
* * SQL Data Type: datetimeoffset
|
|
41746
|
+
* * Description: Timestamp when work on the task began
|
|
41747
|
+
*/
|
|
41748
|
+
get StartedAt() {
|
|
41749
|
+
return this.Get('StartedAt');
|
|
41750
|
+
}
|
|
41751
|
+
set StartedAt(value) {
|
|
41752
|
+
this.Set('StartedAt', value);
|
|
41753
|
+
}
|
|
41754
|
+
/**
|
|
41755
|
+
* * Field Name: CompletedAt
|
|
41756
|
+
* * Display Name: Completed At
|
|
41757
|
+
* * SQL Data Type: datetimeoffset
|
|
41758
|
+
* * Description: Timestamp when the task was completed
|
|
41759
|
+
*/
|
|
41760
|
+
get CompletedAt() {
|
|
41761
|
+
return this.Get('CompletedAt');
|
|
41762
|
+
}
|
|
41763
|
+
set CompletedAt(value) {
|
|
41764
|
+
this.Set('CompletedAt', value);
|
|
39058
41765
|
}
|
|
39059
41766
|
/**
|
|
39060
41767
|
* * Field Name: __mj_CreatedAt
|
|
@@ -39075,18 +41782,58 @@ let ReportVersionEntity = class ReportVersionEntity extends core_1.BaseEntity {
|
|
|
39075
41782
|
return this.Get('__mj_UpdatedAt');
|
|
39076
41783
|
}
|
|
39077
41784
|
/**
|
|
39078
|
-
* * Field Name:
|
|
39079
|
-
* * Display Name:
|
|
41785
|
+
* * Field Name: Parent
|
|
41786
|
+
* * Display Name: Parent
|
|
39080
41787
|
* * SQL Data Type: nvarchar(255)
|
|
39081
41788
|
*/
|
|
39082
|
-
get
|
|
39083
|
-
return this.Get('
|
|
41789
|
+
get Parent() {
|
|
41790
|
+
return this.Get('Parent');
|
|
41791
|
+
}
|
|
41792
|
+
/**
|
|
41793
|
+
* * Field Name: Type
|
|
41794
|
+
* * Display Name: Type
|
|
41795
|
+
* * SQL Data Type: nvarchar(255)
|
|
41796
|
+
*/
|
|
41797
|
+
get Type() {
|
|
41798
|
+
return this.Get('Type');
|
|
41799
|
+
}
|
|
41800
|
+
/**
|
|
41801
|
+
* * Field Name: Environment
|
|
41802
|
+
* * Display Name: Environment
|
|
41803
|
+
* * SQL Data Type: nvarchar(255)
|
|
41804
|
+
*/
|
|
41805
|
+
get Environment() {
|
|
41806
|
+
return this.Get('Environment');
|
|
41807
|
+
}
|
|
41808
|
+
/**
|
|
41809
|
+
* * Field Name: Project
|
|
41810
|
+
* * Display Name: Project
|
|
41811
|
+
* * SQL Data Type: nvarchar(255)
|
|
41812
|
+
*/
|
|
41813
|
+
get Project() {
|
|
41814
|
+
return this.Get('Project');
|
|
41815
|
+
}
|
|
41816
|
+
/**
|
|
41817
|
+
* * Field Name: User
|
|
41818
|
+
* * Display Name: User
|
|
41819
|
+
* * SQL Data Type: nvarchar(100)
|
|
41820
|
+
*/
|
|
41821
|
+
get User() {
|
|
41822
|
+
return this.Get('User');
|
|
41823
|
+
}
|
|
41824
|
+
/**
|
|
41825
|
+
* * Field Name: Agent
|
|
41826
|
+
* * Display Name: Agent
|
|
41827
|
+
* * SQL Data Type: nvarchar(255)
|
|
41828
|
+
*/
|
|
41829
|
+
get Agent() {
|
|
41830
|
+
return this.Get('Agent');
|
|
39084
41831
|
}
|
|
39085
41832
|
};
|
|
39086
|
-
exports.
|
|
39087
|
-
exports.
|
|
39088
|
-
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ:
|
|
39089
|
-
],
|
|
41833
|
+
exports.TaskEntity = TaskEntity;
|
|
41834
|
+
exports.TaskEntity = TaskEntity = __decorate([
|
|
41835
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Tasks')
|
|
41836
|
+
], TaskEntity);
|
|
39090
41837
|
/**
|
|
39091
41838
|
* Output Delivery Types - strongly typed entity sub-class
|
|
39092
41839
|
* * Schema: __mj
|
|
@@ -42679,6 +45426,19 @@ let ReportEntity = class ReportEntity extends core_1.BaseEntity {
|
|
|
42679
45426
|
this.Set('Thumbnail', value);
|
|
42680
45427
|
}
|
|
42681
45428
|
/**
|
|
45429
|
+
* * Field Name: EnvironmentID
|
|
45430
|
+
* * Display Name: Environment ID
|
|
45431
|
+
* * SQL Data Type: uniqueidentifier
|
|
45432
|
+
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
45433
|
+
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
45434
|
+
*/
|
|
45435
|
+
get EnvironmentID() {
|
|
45436
|
+
return this.Get('EnvironmentID');
|
|
45437
|
+
}
|
|
45438
|
+
set EnvironmentID(value) {
|
|
45439
|
+
this.Set('EnvironmentID', value);
|
|
45440
|
+
}
|
|
45441
|
+
/**
|
|
42682
45442
|
* * Field Name: Category
|
|
42683
45443
|
* * Display Name: Category
|
|
42684
45444
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -42742,6 +45502,14 @@ let ReportEntity = class ReportEntity extends core_1.BaseEntity {
|
|
|
42742
45502
|
get OutputWorkflow() {
|
|
42743
45503
|
return this.Get('OutputWorkflow');
|
|
42744
45504
|
}
|
|
45505
|
+
/**
|
|
45506
|
+
* * Field Name: Environment
|
|
45507
|
+
* * Display Name: Environment
|
|
45508
|
+
* * SQL Data Type: nvarchar(255)
|
|
45509
|
+
*/
|
|
45510
|
+
get Environment() {
|
|
45511
|
+
return this.Get('Environment');
|
|
45512
|
+
}
|
|
42745
45513
|
};
|
|
42746
45514
|
exports.ReportEntity = ReportEntity;
|
|
42747
45515
|
exports.ReportEntity = ReportEntity = __decorate([
|