@memberjunction/core-entities 2.133.0 → 3.1.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.
- package/dist/custom/DashboardEntityExtended.d.ts +13 -0
- package/dist/custom/DashboardEntityExtended.d.ts.map +1 -1
- package/dist/custom/DashboardEntityExtended.js +48 -1
- package/dist/custom/DashboardEntityExtended.js.map +1 -1
- package/dist/custom/UserViewEntity.d.ts.map +1 -1
- package/dist/custom/UserViewEntity.js +7 -3
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/engines/dashboards.d.ts +121 -2
- package/dist/engines/dashboards.d.ts.map +1 -1
- package/dist/engines/dashboards.js +250 -1
- package/dist/engines/dashboards.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +1826 -148
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +2585 -175
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
|
@@ -7,15 +7,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
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
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
10
|
+
exports.IntegrationURLFormatSchema = exports.GeneratedCodeSchema = exports.GeneratedCodeCategorySchema = exports.flyway_schema_historySchema = 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.ComponentLibraryLinkSchema = exports.ComponentLibrarySchema = exports.ComponentDependencySchema = exports.CollectionSchema = exports.CollectionPermissionSchema = exports.CollectionArtifactSchema = exports.ArtifactSchema = exports.ArtifactVersionSchema = exports.ArtifactVersionAttributeSchema = exports.ArtifactUseSchema = exports.ArtifactTypeSchema = exports.ArtifactPermissionSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptRunMediaSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelModalitySchema = exports.AIModelCostSchema = exports.AIModelArchitectureSchema = exports.AIModalitySchema = exports.AICredentialBindingSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIArchitectureSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentRunMediaSchema = exports.AIAgentRelationshipSchema = exports.AIAgentPromptSchema = exports.AIAgentPermissionSchema = exports.AIAgentModalitySchema = exports.AIAgentExampleSchema = exports.AIAgentDataSourceSchema = exports.AIAgentConfigurationSchema = exports.AIAgentArtifactTypeSchema = exports.AccessControlRuleSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = exports.IntegrationSchema = void 0;
|
|
12
|
+
exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.UserSettingSchema = exports.TestSchema = exports.TestTypeSchema = exports.TestSuiteSchema = exports.TestSuiteTestSchema = exports.TestSuiteRunSchema = exports.TestRunSchema = exports.TestRunFeedbackSchema = exports.TestRubricSchema = exports.TaskSchema = exports.TaskTypeSchema = exports.TaskDependencySchema = exports.ScheduledJobSchema = exports.ScheduledJobTypeSchema = exports.ScheduledJobRunSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.RecordLinkSchema = exports.QueryParameterSchema = exports.PublicLinkSchema = exports.ProjectSchema = exports.ListShareSchema = exports.ListInvitationSchema = exports.EnvironmentSchema = exports.EncryptionKeySchema = exports.EncryptionKeySourceSchema = exports.EncryptionAlgorithmSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.DashboardPermissionSchema = exports.DashboardPartTypeSchema = exports.DashboardCategoryPermissionSchema = exports.DashboardCategoryLinkSchema = exports.CredentialSchema = exports.CredentialTypeSchema = exports.CredentialCategorySchema = exports.ConversationDetailRatingSchema = exports.ConversationDetailAttachmentSchema = exports.ConversationDetailArtifactSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ComponentSchema = exports.ComponentRegistrySchema = void 0;
|
|
13
|
+
exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = void 0;
|
|
14
|
+
exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = void 0;
|
|
15
|
+
exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.flyway_schema_historyEntity = 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 = void 0;
|
|
16
|
+
exports.ComponentLibraryLinkEntity = exports.ComponentLibraryEntity = exports.ComponentDependencyEntity = exports.CollectionEntity = exports.CollectionPermissionEntity = exports.CollectionArtifactEntity = exports.ArtifactEntity = exports.ArtifactVersionEntity = exports.ArtifactVersionAttributeEntity = exports.ArtifactUseEntity = exports.ArtifactTypeEntity = exports.ArtifactPermissionEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptRunMediaEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelModalityEntity = exports.AIModelCostEntity = exports.AIModelArchitectureEntity = exports.AIModalityEntity = exports.AICredentialBindingEntity = exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIArchitectureEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentRunMediaEntity = exports.AIAgentRelationshipEntity = exports.AIAgentPromptEntity = exports.AIAgentPermissionEntity = exports.AIAgentModalityEntity = exports.AIAgentExampleEntity = exports.AIAgentDataSourceEntity = exports.AIAgentConfigurationEntity = exports.AIAgentArtifactTypeEntity = exports.AccessControlRuleEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = void 0;
|
|
17
|
+
exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.UserSettingEntity = exports.TestEntity = exports.TestTypeEntity = exports.TestSuiteEntity = exports.TestSuiteTestEntity = exports.TestSuiteRunEntity = exports.TestRunEntity = exports.TestRunFeedbackEntity = exports.TestRubricEntity = exports.TaskEntity = exports.TaskTypeEntity = exports.TaskDependencyEntity = exports.ScheduledJobEntity = exports.ScheduledJobTypeEntity = exports.ScheduledJobRunEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.RecordLinkEntity = exports.QueryParameterEntity = exports.PublicLinkEntity = exports.ProjectEntity = exports.ListShareEntity = exports.ListInvitationEntity = exports.EnvironmentEntity = exports.EncryptionKeyEntity = exports.EncryptionKeySourceEntity = exports.EncryptionAlgorithmEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.DashboardPermissionEntity = exports.DashboardPartTypeEntity = exports.DashboardCategoryPermissionEntity = exports.DashboardCategoryLinkEntity = exports.CredentialEntity = exports.CredentialTypeEntity = exports.CredentialCategoryEntity = exports.ConversationDetailRatingEntity = exports.ConversationDetailAttachmentEntity = exports.ConversationDetailArtifactEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ComponentEntity = exports.ComponentRegistryEntity = void 0;
|
|
18
|
+
exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = 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 = void 0;
|
|
19
|
+
exports.WorkspaceEntity = void 0;
|
|
19
20
|
const core_1 = require("@memberjunction/core");
|
|
20
21
|
const global_1 = require("@memberjunction/global");
|
|
21
22
|
const zod_1 = require("zod");
|
|
@@ -361,12 +362,12 @@ exports.ActionParamSchema = zod_1.z.object({
|
|
|
361
362
|
* * Default Value: newsequentialid()`),
|
|
362
363
|
ActionID: zod_1.z.string().describe(`
|
|
363
364
|
* * Field Name: ActionID
|
|
364
|
-
* * Display Name: Action
|
|
365
|
+
* * Display Name: Action
|
|
365
366
|
* * SQL Data Type: uniqueidentifier
|
|
366
367
|
* * Related Entity/Foreign Key: Actions (vwActions.ID)`),
|
|
367
368
|
Name: zod_1.z.string().describe(`
|
|
368
369
|
* * Field Name: Name
|
|
369
|
-
* * Display Name: Name
|
|
370
|
+
* * Display Name: Parameter Name
|
|
370
371
|
* * SQL Data Type: nvarchar(255)`),
|
|
371
372
|
DefaultValue: zod_1.z.string().nullable().describe(`
|
|
372
373
|
* * Field Name: DefaultValue
|
|
@@ -375,7 +376,7 @@ exports.ActionParamSchema = zod_1.z.object({
|
|
|
375
376
|
* * Description: The default value for this parameter if not provided during action execution, can be a literal value or JSON for complex types.`),
|
|
376
377
|
Type: zod_1.z.union([zod_1.z.literal('Both'), zod_1.z.literal('Input'), zod_1.z.literal('Output')]).describe(`
|
|
377
378
|
* * Field Name: Type
|
|
378
|
-
* * Display Name:
|
|
379
|
+
* * Display Name: Parameter Direction
|
|
379
380
|
* * SQL Data Type: nchar(10)
|
|
380
381
|
* * Value List Type: List
|
|
381
382
|
* * Possible Values
|
|
@@ -383,7 +384,7 @@ exports.ActionParamSchema = zod_1.z.object({
|
|
|
383
384
|
* * Input
|
|
384
385
|
* * Output
|
|
385
386
|
* * Description: Specifies whether this parameter is used for Input, Output, or Both directions in the action execution flow.`),
|
|
386
|
-
ValueType: zod_1.z.union([zod_1.z.literal('BaseEntity Sub-Class'), zod_1.z.literal('BaseEntity Sub-Class'), zod_1.z.literal('
|
|
387
|
+
ValueType: zod_1.z.union([zod_1.z.literal('BaseEntity Sub-Class'), zod_1.z.literal('BaseEntity Sub-Class'), zod_1.z.literal('MediaOutput'), zod_1.z.literal('Other'), zod_1.z.literal('Scalar'), zod_1.z.literal('Other'), zod_1.z.literal('Scalar'), zod_1.z.literal('Simple Object'), zod_1.z.literal('Simple Object')]).describe(`
|
|
387
388
|
* * Field Name: ValueType
|
|
388
389
|
* * Display Name: Value Type
|
|
389
390
|
* * SQL Data Type: nvarchar(30)
|
|
@@ -392,8 +393,9 @@ exports.ActionParamSchema = zod_1.z.object({
|
|
|
392
393
|
* * BaseEntity Sub-Class
|
|
393
394
|
* * BaseEntity Sub-Class
|
|
394
395
|
* * Other
|
|
395
|
-
* *
|
|
396
|
+
* * MediaOutput
|
|
396
397
|
* * Scalar
|
|
398
|
+
* * Other
|
|
397
399
|
* * Scalar
|
|
398
400
|
* * Simple Object
|
|
399
401
|
* * Simple Object
|
|
@@ -424,6 +426,16 @@ exports.ActionParamSchema = zod_1.z.object({
|
|
|
424
426
|
* * Display Name: Updated At
|
|
425
427
|
* * SQL Data Type: datetimeoffset
|
|
426
428
|
* * Default Value: getutcdate()`),
|
|
429
|
+
MediaModality: zod_1.z.union([zod_1.z.literal('Audio'), zod_1.z.literal('Image'), zod_1.z.literal('Video')]).nullable().describe(`
|
|
430
|
+
* * Field Name: MediaModality
|
|
431
|
+
* * Display Name: Media Modality
|
|
432
|
+
* * SQL Data Type: nvarchar(20)
|
|
433
|
+
* * Value List Type: List
|
|
434
|
+
* * Possible Values
|
|
435
|
+
* * Audio
|
|
436
|
+
* * Image
|
|
437
|
+
* * Video
|
|
438
|
+
* * Description: Specifies the type of media this parameter outputs when ValueType is MediaOutput. Used for action discovery and validation.`),
|
|
427
439
|
Action: zod_1.z.string().describe(`
|
|
428
440
|
* * Field Name: Action
|
|
429
441
|
* * Display Name: Action
|
|
@@ -1062,6 +1074,14 @@ exports.AIAgentNoteSchema = zod_1.z.object({
|
|
|
1062
1074
|
* * Field Name: SourceConversation
|
|
1063
1075
|
* * Display Name: Source Conversation
|
|
1064
1076
|
* * SQL Data Type: nvarchar(255)`),
|
|
1077
|
+
SourceConversationDetail: zod_1.z.string().nullable().describe(`
|
|
1078
|
+
* * Field Name: SourceConversationDetail
|
|
1079
|
+
* * Display Name: Source Conversation Detail
|
|
1080
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
1081
|
+
SourceAIAgentRun: zod_1.z.string().nullable().describe(`
|
|
1082
|
+
* * Field Name: SourceAIAgentRun
|
|
1083
|
+
* * Display Name: Source AI Agent Run
|
|
1084
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
1065
1085
|
Company: zod_1.z.string().nullable().describe(`
|
|
1066
1086
|
* * Field Name: Company
|
|
1067
1087
|
* * Display Name: Company
|
|
@@ -2333,6 +2353,10 @@ exports.AIResultCacheSchema = zod_1.z.object({
|
|
|
2333
2353
|
* * Field Name: Configuration
|
|
2334
2354
|
* * Display Name: Configuration
|
|
2335
2355
|
* * SQL Data Type: nvarchar(100)`),
|
|
2356
|
+
PromptRun: zod_1.z.string().nullable().describe(`
|
|
2357
|
+
* * Field Name: PromptRun
|
|
2358
|
+
* * Display Name: Prompt Run
|
|
2359
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
2336
2360
|
});
|
|
2337
2361
|
/**
|
|
2338
2362
|
* zod schema definition for the entity Application Entities
|
|
@@ -4309,6 +4333,10 @@ exports.ConversationSchema = zod_1.z.object({
|
|
|
4309
4333
|
* * Field Name: Project
|
|
4310
4334
|
* * Display Name: Project
|
|
4311
4335
|
* * SQL Data Type: nvarchar(255)`),
|
|
4336
|
+
TestRun: zod_1.z.string().nullable().describe(`
|
|
4337
|
+
* * Field Name: TestRun
|
|
4338
|
+
* * Display Name: Test Run
|
|
4339
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
4312
4340
|
});
|
|
4313
4341
|
/**
|
|
4314
4342
|
* zod schema definition for the entity Dashboard Categories
|
|
@@ -4869,6 +4897,10 @@ exports.DuplicateRunDetailSchema = zod_1.z.object({
|
|
|
4869
4897
|
* * Display Name: Updated At
|
|
4870
4898
|
* * SQL Data Type: datetimeoffset
|
|
4871
4899
|
* * Default Value: getutcdate()`),
|
|
4900
|
+
DuplicateRun: zod_1.z.string().describe(`
|
|
4901
|
+
* * Field Name: DuplicateRun
|
|
4902
|
+
* * Display Name: Duplicate Run
|
|
4903
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
4872
4904
|
});
|
|
4873
4905
|
/**
|
|
4874
4906
|
* zod schema definition for the entity Duplicate Runs
|
|
@@ -5007,6 +5039,10 @@ exports.EmployeeCompanyIntegrationSchema = zod_1.z.object({
|
|
|
5007
5039
|
* * Display Name: Updated At
|
|
5008
5040
|
* * SQL Data Type: datetimeoffset
|
|
5009
5041
|
* * Default Value: getutcdate()`),
|
|
5042
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5043
|
+
* * Field Name: Employee
|
|
5044
|
+
* * Display Name: Employee
|
|
5045
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5010
5046
|
CompanyIntegration: zod_1.z.string().describe(`
|
|
5011
5047
|
* * Field Name: CompanyIntegration
|
|
5012
5048
|
* * Display Name: Company Integration
|
|
@@ -5041,6 +5077,10 @@ exports.EmployeeRoleSchema = zod_1.z.object({
|
|
|
5041
5077
|
* * Display Name: __mj _Updated At
|
|
5042
5078
|
* * SQL Data Type: datetimeoffset
|
|
5043
5079
|
* * Default Value: getutcdate()`),
|
|
5080
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5081
|
+
* * Field Name: Employee
|
|
5082
|
+
* * Display Name: Employee
|
|
5083
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5044
5084
|
Role: zod_1.z.string().describe(`
|
|
5045
5085
|
* * Field Name: Role
|
|
5046
5086
|
* * Display Name: Role
|
|
@@ -5075,6 +5115,10 @@ exports.EmployeeSkillSchema = zod_1.z.object({
|
|
|
5075
5115
|
* * Display Name: __mj _Updated At
|
|
5076
5116
|
* * SQL Data Type: datetimeoffset
|
|
5077
5117
|
* * Default Value: getutcdate()`),
|
|
5118
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5119
|
+
* * Field Name: Employee
|
|
5120
|
+
* * Display Name: Employee
|
|
5121
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5078
5122
|
Skill: zod_1.z.string().describe(`
|
|
5079
5123
|
* * Field Name: Skill
|
|
5080
5124
|
* * Display Name: Skill
|
|
@@ -5570,6 +5614,14 @@ exports.EntityActionFilterSchema = zod_1.z.object({
|
|
|
5570
5614
|
* * Display Name: __mj _Updated At
|
|
5571
5615
|
* * SQL Data Type: datetimeoffset
|
|
5572
5616
|
* * Default Value: getutcdate()`),
|
|
5617
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5618
|
+
* * Field Name: EntityAction
|
|
5619
|
+
* * Display Name: Entity Action
|
|
5620
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5621
|
+
ActionFilter: zod_1.z.string().describe(`
|
|
5622
|
+
* * Field Name: ActionFilter
|
|
5623
|
+
* * Display Name: Action Filter
|
|
5624
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
5573
5625
|
});
|
|
5574
5626
|
/**
|
|
5575
5627
|
* zod schema definition for the entity Entity Action Invocation Types
|
|
@@ -5647,6 +5699,10 @@ exports.EntityActionInvocationSchema = zod_1.z.object({
|
|
|
5647
5699
|
* * Display Name: __mj _Updated At
|
|
5648
5700
|
* * SQL Data Type: datetimeoffset
|
|
5649
5701
|
* * Default Value: getutcdate()`),
|
|
5702
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5703
|
+
* * Field Name: EntityAction
|
|
5704
|
+
* * Display Name: Entity Action
|
|
5705
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5650
5706
|
InvocationType: zod_1.z.string().describe(`
|
|
5651
5707
|
* * Field Name: InvocationType
|
|
5652
5708
|
* * Display Name: Invocation Type
|
|
@@ -5702,6 +5758,10 @@ exports.EntityActionParamSchema = zod_1.z.object({
|
|
|
5702
5758
|
* * Display Name: Updated At
|
|
5703
5759
|
* * SQL Data Type: datetimeoffset
|
|
5704
5760
|
* * Default Value: getutcdate()`),
|
|
5761
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5762
|
+
* * Field Name: EntityAction
|
|
5763
|
+
* * Display Name: Entity Action
|
|
5764
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5705
5765
|
ActionParam: zod_1.z.string().describe(`
|
|
5706
5766
|
* * Field Name: ActionParam
|
|
5707
5767
|
* * Display Name: Action Param
|
|
@@ -5895,6 +5955,10 @@ exports.EntityCommunicationFieldSchema = zod_1.z.object({
|
|
|
5895
5955
|
* * Display Name: __mj _Updated At
|
|
5896
5956
|
* * SQL Data Type: datetimeoffset
|
|
5897
5957
|
* * Default Value: getutcdate()`),
|
|
5958
|
+
EntityCommunicationMessageType: zod_1.z.string().describe(`
|
|
5959
|
+
* * Field Name: EntityCommunicationMessageType
|
|
5960
|
+
* * Display Name: Entity Communication Message Type
|
|
5961
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
5898
5962
|
});
|
|
5899
5963
|
/**
|
|
5900
5964
|
* zod schema definition for the entity Entity Communication Message Types
|
|
@@ -7094,6 +7158,14 @@ exports.ErrorLogSchema = zod_1.z.object({
|
|
|
7094
7158
|
* * Display Name: Updated At
|
|
7095
7159
|
* * SQL Data Type: datetimeoffset
|
|
7096
7160
|
* * Default Value: getutcdate()`),
|
|
7161
|
+
CompanyIntegrationRun: zod_1.z.string().nullable().describe(`
|
|
7162
|
+
* * Field Name: CompanyIntegrationRun
|
|
7163
|
+
* * Display Name: Company Integration Run
|
|
7164
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
7165
|
+
CompanyIntegrationRunDetail: zod_1.z.string().nullable().describe(`
|
|
7166
|
+
* * Field Name: CompanyIntegrationRunDetail
|
|
7167
|
+
* * Display Name: Company Integration Run Detail
|
|
7168
|
+
* * SQL Data Type: nvarchar(450)`),
|
|
7097
7169
|
});
|
|
7098
7170
|
/**
|
|
7099
7171
|
* zod schema definition for the entity Explorer Navigation Items
|
|
@@ -7366,6 +7438,62 @@ exports.FileSchema = zod_1.z.object({
|
|
|
7366
7438
|
* * Display Name: Provider
|
|
7367
7439
|
* * SQL Data Type: nvarchar(50)`),
|
|
7368
7440
|
});
|
|
7441
|
+
/**
|
|
7442
|
+
* zod schema definition for the entity Flyway _schema _histories
|
|
7443
|
+
*/
|
|
7444
|
+
exports.flyway_schema_historySchema = zod_1.z.object({
|
|
7445
|
+
installed_rank: zod_1.z.number().describe(`
|
|
7446
|
+
* * Field Name: installed_rank
|
|
7447
|
+
* * Display Name: installed _rank
|
|
7448
|
+
* * SQL Data Type: int`),
|
|
7449
|
+
version: zod_1.z.string().nullable().describe(`
|
|
7450
|
+
* * Field Name: version
|
|
7451
|
+
* * Display Name: version
|
|
7452
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
7453
|
+
description: zod_1.z.string().nullable().describe(`
|
|
7454
|
+
* * Field Name: description
|
|
7455
|
+
* * Display Name: description
|
|
7456
|
+
* * SQL Data Type: nvarchar(200)`),
|
|
7457
|
+
type: zod_1.z.string().describe(`
|
|
7458
|
+
* * Field Name: type
|
|
7459
|
+
* * Display Name: type
|
|
7460
|
+
* * SQL Data Type: nvarchar(20)`),
|
|
7461
|
+
script: zod_1.z.string().describe(`
|
|
7462
|
+
* * Field Name: script
|
|
7463
|
+
* * Display Name: script
|
|
7464
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
7465
|
+
checksum: zod_1.z.number().nullable().describe(`
|
|
7466
|
+
* * Field Name: checksum
|
|
7467
|
+
* * Display Name: checksum
|
|
7468
|
+
* * SQL Data Type: int`),
|
|
7469
|
+
installed_by: zod_1.z.string().describe(`
|
|
7470
|
+
* * Field Name: installed_by
|
|
7471
|
+
* * Display Name: installed _by
|
|
7472
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
7473
|
+
installed_on: zod_1.z.date().describe(`
|
|
7474
|
+
* * Field Name: installed_on
|
|
7475
|
+
* * Display Name: installed _on
|
|
7476
|
+
* * SQL Data Type: datetime
|
|
7477
|
+
* * Default Value: getdate()`),
|
|
7478
|
+
execution_time: zod_1.z.number().describe(`
|
|
7479
|
+
* * Field Name: execution_time
|
|
7480
|
+
* * Display Name: execution _time
|
|
7481
|
+
* * SQL Data Type: int`),
|
|
7482
|
+
success: zod_1.z.boolean().describe(`
|
|
7483
|
+
* * Field Name: success
|
|
7484
|
+
* * Display Name: success
|
|
7485
|
+
* * SQL Data Type: bit`),
|
|
7486
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
7487
|
+
* * Field Name: __mj_CreatedAt
|
|
7488
|
+
* * Display Name: Created At
|
|
7489
|
+
* * SQL Data Type: datetimeoffset
|
|
7490
|
+
* * Default Value: getutcdate()`),
|
|
7491
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
7492
|
+
* * Field Name: __mj_UpdatedAt
|
|
7493
|
+
* * Display Name: Updated At
|
|
7494
|
+
* * SQL Data Type: datetimeoffset
|
|
7495
|
+
* * Default Value: getutcdate()`),
|
|
7496
|
+
});
|
|
7369
7497
|
/**
|
|
7370
7498
|
* zod schema definition for the entity Generated Code Categories
|
|
7371
7499
|
*/
|
|
@@ -8380,6 +8508,14 @@ exports.AIAgentExampleSchema = zod_1.z.object({
|
|
|
8380
8508
|
* * Field Name: SourceConversation
|
|
8381
8509
|
* * Display Name: Source Conversation
|
|
8382
8510
|
* * SQL Data Type: nvarchar(255)`),
|
|
8511
|
+
SourceConversationDetail: zod_1.z.string().nullable().describe(`
|
|
8512
|
+
* * Field Name: SourceConversationDetail
|
|
8513
|
+
* * Display Name: Source Conversation Detail
|
|
8514
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
8515
|
+
SourceAIAgentRun: zod_1.z.string().nullable().describe(`
|
|
8516
|
+
* * Field Name: SourceAIAgentRun
|
|
8517
|
+
* * Display Name: Source AI Agent Run
|
|
8518
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8383
8519
|
EmbeddingModel: zod_1.z.string().nullable().describe(`
|
|
8384
8520
|
* * Field Name: EmbeddingModel
|
|
8385
8521
|
* * Display Name: Embedding Model
|
|
@@ -8701,6 +8837,112 @@ exports.AIAgentRelationshipSchema = zod_1.z.object({
|
|
|
8701
8837
|
* * Display Name: Sub Agent
|
|
8702
8838
|
* * SQL Data Type: nvarchar(255)`),
|
|
8703
8839
|
});
|
|
8840
|
+
/**
|
|
8841
|
+
* zod schema definition for the entity MJ: AI Agent Run Medias
|
|
8842
|
+
*/
|
|
8843
|
+
exports.AIAgentRunMediaSchema = zod_1.z.object({
|
|
8844
|
+
ID: zod_1.z.string().describe(`
|
|
8845
|
+
* * Field Name: ID
|
|
8846
|
+
* * Display Name: ID
|
|
8847
|
+
* * SQL Data Type: uniqueidentifier
|
|
8848
|
+
* * Default Value: newsequentialid()`),
|
|
8849
|
+
AgentRunID: zod_1.z.string().describe(`
|
|
8850
|
+
* * Field Name: AgentRunID
|
|
8851
|
+
* * Display Name: Agent Run
|
|
8852
|
+
* * SQL Data Type: uniqueidentifier
|
|
8853
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)`),
|
|
8854
|
+
SourcePromptRunMediaID: zod_1.z.string().nullable().describe(`
|
|
8855
|
+
* * Field Name: SourcePromptRunMediaID
|
|
8856
|
+
* * Display Name: Source Prompt Run Media
|
|
8857
|
+
* * SQL Data Type: uniqueidentifier
|
|
8858
|
+
* * Related Entity/Foreign Key: MJ: AI Prompt Run Medias (vwAIPromptRunMedias.ID)`),
|
|
8859
|
+
ModalityID: zod_1.z.string().describe(`
|
|
8860
|
+
* * Field Name: ModalityID
|
|
8861
|
+
* * Display Name: Modality
|
|
8862
|
+
* * SQL Data Type: uniqueidentifier
|
|
8863
|
+
* * Related Entity/Foreign Key: MJ: AI Modalities (vwAIModalities.ID)`),
|
|
8864
|
+
MimeType: zod_1.z.string().describe(`
|
|
8865
|
+
* * Field Name: MimeType
|
|
8866
|
+
* * Display Name: Mime Type
|
|
8867
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
8868
|
+
FileName: zod_1.z.string().nullable().describe(`
|
|
8869
|
+
* * Field Name: FileName
|
|
8870
|
+
* * Display Name: File Name
|
|
8871
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8872
|
+
FileSizeBytes: zod_1.z.number().nullable().describe(`
|
|
8873
|
+
* * Field Name: FileSizeBytes
|
|
8874
|
+
* * Display Name: File Size Bytes
|
|
8875
|
+
* * SQL Data Type: int`),
|
|
8876
|
+
Width: zod_1.z.number().nullable().describe(`
|
|
8877
|
+
* * Field Name: Width
|
|
8878
|
+
* * Display Name: Width
|
|
8879
|
+
* * SQL Data Type: int`),
|
|
8880
|
+
Height: zod_1.z.number().nullable().describe(`
|
|
8881
|
+
* * Field Name: Height
|
|
8882
|
+
* * Display Name: Height
|
|
8883
|
+
* * SQL Data Type: int`),
|
|
8884
|
+
DurationSeconds: zod_1.z.number().nullable().describe(`
|
|
8885
|
+
* * Field Name: DurationSeconds
|
|
8886
|
+
* * Display Name: Duration Seconds
|
|
8887
|
+
* * SQL Data Type: decimal(10, 2)`),
|
|
8888
|
+
InlineData: zod_1.z.string().nullable().describe(`
|
|
8889
|
+
* * Field Name: InlineData
|
|
8890
|
+
* * Display Name: Inline Data
|
|
8891
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
8892
|
+
FileID: zod_1.z.string().nullable().describe(`
|
|
8893
|
+
* * Field Name: FileID
|
|
8894
|
+
* * Display Name: File ID
|
|
8895
|
+
* * SQL Data Type: uniqueidentifier
|
|
8896
|
+
* * Related Entity/Foreign Key: Files (vwFiles.ID)`),
|
|
8897
|
+
ThumbnailBase64: zod_1.z.string().nullable().describe(`
|
|
8898
|
+
* * Field Name: ThumbnailBase64
|
|
8899
|
+
* * Display Name: Thumbnail Base64
|
|
8900
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
8901
|
+
Label: zod_1.z.string().nullable().describe(`
|
|
8902
|
+
* * Field Name: Label
|
|
8903
|
+
* * Display Name: Label
|
|
8904
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8905
|
+
Metadata: zod_1.z.string().nullable().describe(`
|
|
8906
|
+
* * Field Name: Metadata
|
|
8907
|
+
* * Display Name: Metadata
|
|
8908
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
8909
|
+
DisplayOrder: zod_1.z.number().describe(`
|
|
8910
|
+
* * Field Name: DisplayOrder
|
|
8911
|
+
* * Display Name: Display Order
|
|
8912
|
+
* * SQL Data Type: int
|
|
8913
|
+
* * Default Value: 0`),
|
|
8914
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
8915
|
+
* * Field Name: __mj_CreatedAt
|
|
8916
|
+
* * Display Name: Created At
|
|
8917
|
+
* * SQL Data Type: datetimeoffset
|
|
8918
|
+
* * Default Value: getutcdate()`),
|
|
8919
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
8920
|
+
* * Field Name: __mj_UpdatedAt
|
|
8921
|
+
* * Display Name: Updated At
|
|
8922
|
+
* * SQL Data Type: datetimeoffset
|
|
8923
|
+
* * Default Value: getutcdate()`),
|
|
8924
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
8925
|
+
* * Field Name: Description
|
|
8926
|
+
* * Display Name: Description
|
|
8927
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8928
|
+
* * Description: Agent notes describing what this media represents. Used for internal tracking and can be displayed in UI.`),
|
|
8929
|
+
AgentRun: zod_1.z.string().nullable().describe(`
|
|
8930
|
+
* * Field Name: AgentRun
|
|
8931
|
+
* * Display Name: Agent Run
|
|
8932
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8933
|
+
SourcePromptRunMedia: zod_1.z.string().nullable().describe(`
|
|
8934
|
+
* * Field Name: SourcePromptRunMedia
|
|
8935
|
+
* * Display Name: Source Prompt Run Media
|
|
8936
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8937
|
+
Modality: zod_1.z.string().describe(`
|
|
8938
|
+
* * Field Name: Modality
|
|
8939
|
+
* * Display Name: Modality
|
|
8940
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
8941
|
+
File: zod_1.z.string().nullable().describe(`
|
|
8942
|
+
* * Field Name: File
|
|
8943
|
+
* * Display Name: File
|
|
8944
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
8945
|
+
});
|
|
8704
8946
|
/**
|
|
8705
8947
|
* zod schema definition for the entity MJ: AI Agent Run Steps
|
|
8706
8948
|
*/
|
|
@@ -8850,6 +9092,14 @@ detailed information about what validation rules failed.`),
|
|
|
8850
9092
|
* * Display Name: Comments
|
|
8851
9093
|
* * SQL Data Type: nvarchar(MAX)
|
|
8852
9094
|
* * Description: Human-readable notes and comments about this agent run step`),
|
|
9095
|
+
AgentRun: zod_1.z.string().nullable().describe(`
|
|
9096
|
+
* * Field Name: AgentRun
|
|
9097
|
+
* * Display Name: Agent Run
|
|
9098
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9099
|
+
Parent: zod_1.z.string().nullable().describe(`
|
|
9100
|
+
* * Field Name: Parent
|
|
9101
|
+
* * Display Name: Parent
|
|
9102
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8853
9103
|
RootParentID: zod_1.z.string().nullable().describe(`
|
|
8854
9104
|
* * Field Name: RootParentID
|
|
8855
9105
|
* * Display Name: Root Parent ID
|
|
@@ -9145,6 +9395,10 @@ each time the agent processes a prompt step.`),
|
|
|
9145
9395
|
* * Field Name: ScheduledJobRun
|
|
9146
9396
|
* * Display Name: Scheduled Job Run
|
|
9147
9397
|
* * SQL Data Type: nvarchar(200)`),
|
|
9398
|
+
TestRun: zod_1.z.string().nullable().describe(`
|
|
9399
|
+
* * Field Name: TestRun
|
|
9400
|
+
* * Display Name: Test Run
|
|
9401
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9148
9402
|
RootParentRunID: zod_1.z.string().nullable().describe(`
|
|
9149
9403
|
* * Field Name: RootParentRunID
|
|
9150
9404
|
* * Display Name: Root Parent Run ID
|
|
@@ -10356,6 +10610,99 @@ exports.AIPromptModelSchema = zod_1.z.object({
|
|
|
10356
10610
|
* * Display Name: Configuration
|
|
10357
10611
|
* * SQL Data Type: nvarchar(100)`),
|
|
10358
10612
|
});
|
|
10613
|
+
/**
|
|
10614
|
+
* zod schema definition for the entity MJ: AI Prompt Run Medias
|
|
10615
|
+
*/
|
|
10616
|
+
exports.AIPromptRunMediaSchema = zod_1.z.object({
|
|
10617
|
+
ID: zod_1.z.string().describe(`
|
|
10618
|
+
* * Field Name: ID
|
|
10619
|
+
* * Display Name: ID
|
|
10620
|
+
* * SQL Data Type: uniqueidentifier
|
|
10621
|
+
* * Default Value: newsequentialid()`),
|
|
10622
|
+
PromptRunID: zod_1.z.string().describe(`
|
|
10623
|
+
* * Field Name: PromptRunID
|
|
10624
|
+
* * Display Name: Prompt Run
|
|
10625
|
+
* * SQL Data Type: uniqueidentifier
|
|
10626
|
+
* * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)`),
|
|
10627
|
+
ModalityID: zod_1.z.string().describe(`
|
|
10628
|
+
* * Field Name: ModalityID
|
|
10629
|
+
* * Display Name: Modality
|
|
10630
|
+
* * SQL Data Type: uniqueidentifier
|
|
10631
|
+
* * Related Entity/Foreign Key: MJ: AI Modalities (vwAIModalities.ID)`),
|
|
10632
|
+
MimeType: zod_1.z.string().describe(`
|
|
10633
|
+
* * Field Name: MimeType
|
|
10634
|
+
* * Display Name: MIME Type
|
|
10635
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
10636
|
+
FileName: zod_1.z.string().nullable().describe(`
|
|
10637
|
+
* * Field Name: FileName
|
|
10638
|
+
* * Display Name: File Name
|
|
10639
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10640
|
+
FileSizeBytes: zod_1.z.number().nullable().describe(`
|
|
10641
|
+
* * Field Name: FileSizeBytes
|
|
10642
|
+
* * Display Name: File Size (Bytes)
|
|
10643
|
+
* * SQL Data Type: int`),
|
|
10644
|
+
Width: zod_1.z.number().nullable().describe(`
|
|
10645
|
+
* * Field Name: Width
|
|
10646
|
+
* * Display Name: Width
|
|
10647
|
+
* * SQL Data Type: int`),
|
|
10648
|
+
Height: zod_1.z.number().nullable().describe(`
|
|
10649
|
+
* * Field Name: Height
|
|
10650
|
+
* * Display Name: Height
|
|
10651
|
+
* * SQL Data Type: int`),
|
|
10652
|
+
DurationSeconds: zod_1.z.number().nullable().describe(`
|
|
10653
|
+
* * Field Name: DurationSeconds
|
|
10654
|
+
* * Display Name: Duration (Seconds)
|
|
10655
|
+
* * SQL Data Type: decimal(10, 2)`),
|
|
10656
|
+
InlineData: zod_1.z.string().nullable().describe(`
|
|
10657
|
+
* * Field Name: InlineData
|
|
10658
|
+
* * Display Name: Inline Data
|
|
10659
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
10660
|
+
FileID: zod_1.z.string().nullable().describe(`
|
|
10661
|
+
* * Field Name: FileID
|
|
10662
|
+
* * Display Name: File ID
|
|
10663
|
+
* * SQL Data Type: uniqueidentifier
|
|
10664
|
+
* * Related Entity/Foreign Key: Files (vwFiles.ID)`),
|
|
10665
|
+
ThumbnailBase64: zod_1.z.string().nullable().describe(`
|
|
10666
|
+
* * Field Name: ThumbnailBase64
|
|
10667
|
+
* * Display Name: Thumbnail (Base64)
|
|
10668
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
10669
|
+
Metadata: zod_1.z.string().nullable().describe(`
|
|
10670
|
+
* * Field Name: Metadata
|
|
10671
|
+
* * Display Name: Metadata
|
|
10672
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
10673
|
+
DisplayOrder: zod_1.z.number().describe(`
|
|
10674
|
+
* * Field Name: DisplayOrder
|
|
10675
|
+
* * Display Name: Display Order
|
|
10676
|
+
* * SQL Data Type: int
|
|
10677
|
+
* * Default Value: 0`),
|
|
10678
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10679
|
+
* * Field Name: __mj_CreatedAt
|
|
10680
|
+
* * Display Name: Created At
|
|
10681
|
+
* * SQL Data Type: datetimeoffset
|
|
10682
|
+
* * Default Value: getutcdate()`),
|
|
10683
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10684
|
+
* * Field Name: __mj_UpdatedAt
|
|
10685
|
+
* * Display Name: Updated At
|
|
10686
|
+
* * SQL Data Type: datetimeoffset
|
|
10687
|
+
* * Default Value: getutcdate()`),
|
|
10688
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
10689
|
+
* * Field Name: Description
|
|
10690
|
+
* * Display Name: Description
|
|
10691
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10692
|
+
* * Description: Description of the media generated during prompt execution. Provides context for audit trail.`),
|
|
10693
|
+
PromptRun: zod_1.z.string().nullable().describe(`
|
|
10694
|
+
* * Field Name: PromptRun
|
|
10695
|
+
* * Display Name: Prompt Run
|
|
10696
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10697
|
+
Modality: zod_1.z.string().describe(`
|
|
10698
|
+
* * Field Name: Modality
|
|
10699
|
+
* * Display Name: Modality
|
|
10700
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
10701
|
+
File: zod_1.z.string().nullable().describe(`
|
|
10702
|
+
* * Field Name: File
|
|
10703
|
+
* * Display Name: File
|
|
10704
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
10705
|
+
});
|
|
10359
10706
|
/**
|
|
10360
10707
|
* zod schema definition for the entity MJ: AI Prompt Runs
|
|
10361
10708
|
*/
|
|
@@ -12226,6 +12573,10 @@ exports.ConversationDetailArtifactSchema = zod_1.z.object({
|
|
|
12226
12573
|
* * Display Name: Updated At
|
|
12227
12574
|
* * SQL Data Type: datetimeoffset
|
|
12228
12575
|
* * Default Value: getutcdate()`),
|
|
12576
|
+
ConversationDetail: zod_1.z.string().describe(`
|
|
12577
|
+
* * Field Name: ConversationDetail
|
|
12578
|
+
* * Display Name: Conversation Detail
|
|
12579
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
12229
12580
|
ArtifactVersion: zod_1.z.string().nullable().describe(`
|
|
12230
12581
|
* * Field Name: ArtifactVersion
|
|
12231
12582
|
* * Display Name: Artifact Version
|
|
@@ -12263,32 +12614,32 @@ exports.ConversationDetailAttachmentSchema = zod_1.z.object({
|
|
|
12263
12614
|
* * Description: Original filename of the attachment. Supports long cloud storage paths up to 4000 characters.`),
|
|
12264
12615
|
FileSizeBytes: zod_1.z.number().describe(`
|
|
12265
12616
|
* * Field Name: FileSizeBytes
|
|
12266
|
-
* * Display Name: File Size (
|
|
12617
|
+
* * Display Name: File Size (Bytes)
|
|
12267
12618
|
* * SQL Data Type: int
|
|
12268
12619
|
* * Description: Size of the attachment in bytes.`),
|
|
12269
12620
|
Width: zod_1.z.number().nullable().describe(`
|
|
12270
12621
|
* * Field Name: Width
|
|
12271
|
-
* * Display Name: Width
|
|
12622
|
+
* * Display Name: Width
|
|
12272
12623
|
* * SQL Data Type: int
|
|
12273
12624
|
* * Description: Width in pixels for images and videos.`),
|
|
12274
12625
|
Height: zod_1.z.number().nullable().describe(`
|
|
12275
12626
|
* * Field Name: Height
|
|
12276
|
-
* * Display Name: Height
|
|
12627
|
+
* * Display Name: Height
|
|
12277
12628
|
* * SQL Data Type: int
|
|
12278
12629
|
* * Description: Height in pixels for images and videos.`),
|
|
12279
12630
|
DurationSeconds: zod_1.z.number().nullable().describe(`
|
|
12280
12631
|
* * Field Name: DurationSeconds
|
|
12281
|
-
* * Display Name: Duration (
|
|
12632
|
+
* * Display Name: Duration (Seconds)
|
|
12282
12633
|
* * SQL Data Type: int
|
|
12283
12634
|
* * Description: Duration in seconds for audio and video files.`),
|
|
12284
12635
|
InlineData: zod_1.z.string().nullable().describe(`
|
|
12285
12636
|
* * Field Name: InlineData
|
|
12286
|
-
* * Display Name: Inline Data
|
|
12637
|
+
* * Display Name: Inline Data
|
|
12287
12638
|
* * SQL Data Type: nvarchar(MAX)
|
|
12288
12639
|
* * Description: Base64-encoded file data for small attachments stored inline. Mutually exclusive with FileID - exactly one must be populated.`),
|
|
12289
12640
|
FileID: zod_1.z.string().nullable().describe(`
|
|
12290
12641
|
* * Field Name: FileID
|
|
12291
|
-
* * Display Name: File
|
|
12642
|
+
* * Display Name: File ID
|
|
12292
12643
|
* * SQL Data Type: uniqueidentifier
|
|
12293
12644
|
* * Related Entity/Foreign Key: Files (vwFiles.ID)
|
|
12294
12645
|
* * Description: Reference to File entity for large attachments stored in MJStorage. Mutually exclusive with InlineData - exactly one must be populated.`),
|
|
@@ -12300,7 +12651,7 @@ exports.ConversationDetailAttachmentSchema = zod_1.z.object({
|
|
|
12300
12651
|
* * Description: Display order for multiple attachments in a message. Lower numbers appear first.`),
|
|
12301
12652
|
ThumbnailBase64: zod_1.z.string().nullable().describe(`
|
|
12302
12653
|
* * Field Name: ThumbnailBase64
|
|
12303
|
-
* * Display Name: Thumbnail
|
|
12654
|
+
* * Display Name: Thumbnail
|
|
12304
12655
|
* * SQL Data Type: nvarchar(MAX)
|
|
12305
12656
|
* * Description: Base64-encoded thumbnail image for quick preview display. Max 200px on longest side.`),
|
|
12306
12657
|
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
@@ -12313,17 +12664,22 @@ exports.ConversationDetailAttachmentSchema = zod_1.z.object({
|
|
|
12313
12664
|
* * Display Name: Updated At
|
|
12314
12665
|
* * SQL Data Type: datetimeoffset
|
|
12315
12666
|
* * Default Value: getutcdate()`),
|
|
12667
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
12668
|
+
* * Field Name: Description
|
|
12669
|
+
* * Display Name: Description
|
|
12670
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
12671
|
+
* * Description: Description of the attachment providing context about its content and purpose.`),
|
|
12316
12672
|
ConversationDetail: zod_1.z.string().describe(`
|
|
12317
12673
|
* * Field Name: ConversationDetail
|
|
12318
|
-
* * Display Name: Conversation Detail
|
|
12674
|
+
* * Display Name: Conversation Detail
|
|
12319
12675
|
* * SQL Data Type: nvarchar(MAX)`),
|
|
12320
12676
|
Modality: zod_1.z.string().describe(`
|
|
12321
12677
|
* * Field Name: Modality
|
|
12322
|
-
* * Display Name: Modality
|
|
12678
|
+
* * Display Name: Modality
|
|
12323
12679
|
* * SQL Data Type: nvarchar(50)`),
|
|
12324
12680
|
File: zod_1.z.string().nullable().describe(`
|
|
12325
12681
|
* * Field Name: File
|
|
12326
|
-
* * Display Name: File
|
|
12682
|
+
* * Display Name: File
|
|
12327
12683
|
* * SQL Data Type: nvarchar(500)`),
|
|
12328
12684
|
});
|
|
12329
12685
|
/**
|
|
@@ -12367,6 +12723,10 @@ exports.ConversationDetailRatingSchema = zod_1.z.object({
|
|
|
12367
12723
|
* * Display Name: Updated At
|
|
12368
12724
|
* * SQL Data Type: datetimeoffset
|
|
12369
12725
|
* * Default Value: getutcdate()`),
|
|
12726
|
+
ConversationDetail: zod_1.z.string().describe(`
|
|
12727
|
+
* * Field Name: ConversationDetail
|
|
12728
|
+
* * Display Name: Conversation Detail
|
|
12729
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
12370
12730
|
User: zod_1.z.string().describe(`
|
|
12371
12731
|
* * Field Name: User
|
|
12372
12732
|
* * Display Name: User
|
|
@@ -12566,6 +12926,272 @@ exports.CredentialSchema = zod_1.z.object({
|
|
|
12566
12926
|
* * Display Name: Category
|
|
12567
12927
|
* * SQL Data Type: nvarchar(100)`),
|
|
12568
12928
|
});
|
|
12929
|
+
/**
|
|
12930
|
+
* zod schema definition for the entity MJ: Dashboard Category Links
|
|
12931
|
+
*/
|
|
12932
|
+
exports.DashboardCategoryLinkSchema = zod_1.z.object({
|
|
12933
|
+
ID: zod_1.z.string().describe(`
|
|
12934
|
+
* * Field Name: ID
|
|
12935
|
+
* * Display Name: ID
|
|
12936
|
+
* * SQL Data Type: uniqueidentifier
|
|
12937
|
+
* * Default Value: newsequentialid()`),
|
|
12938
|
+
DashboardID: zod_1.z.string().describe(`
|
|
12939
|
+
* * Field Name: DashboardID
|
|
12940
|
+
* * Display Name: Dashboard
|
|
12941
|
+
* * SQL Data Type: uniqueidentifier
|
|
12942
|
+
* * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)`),
|
|
12943
|
+
UserID: zod_1.z.string().describe(`
|
|
12944
|
+
* * Field Name: UserID
|
|
12945
|
+
* * Display Name: User
|
|
12946
|
+
* * SQL Data Type: uniqueidentifier
|
|
12947
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
12948
|
+
DashboardCategoryID: zod_1.z.string().nullable().describe(`
|
|
12949
|
+
* * Field Name: DashboardCategoryID
|
|
12950
|
+
* * Display Name: Dashboard Category
|
|
12951
|
+
* * SQL Data Type: uniqueidentifier
|
|
12952
|
+
* * Related Entity/Foreign Key: Dashboard Categories (vwDashboardCategories.ID)
|
|
12953
|
+
* * Description: The category in the user's personal folder structure. NULL means the dashboard appears at root level.`),
|
|
12954
|
+
DisplayName: zod_1.z.string().nullable().describe(`
|
|
12955
|
+
* * Field Name: DisplayName
|
|
12956
|
+
* * Display Name: Display Name
|
|
12957
|
+
* * SQL Data Type: nvarchar(255)
|
|
12958
|
+
* * Description: Optional user-friendly alias for the dashboard within this user's view. If NULL, uses the original dashboard name.`),
|
|
12959
|
+
Sequence: zod_1.z.number().describe(`
|
|
12960
|
+
* * Field Name: Sequence
|
|
12961
|
+
* * Display Name: Sequence
|
|
12962
|
+
* * SQL Data Type: int
|
|
12963
|
+
* * Default Value: 0
|
|
12964
|
+
* * Description: Display order of this dashboard within the user's category. Lower values appear first.`),
|
|
12965
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
12966
|
+
* * Field Name: __mj_CreatedAt
|
|
12967
|
+
* * Display Name: Created At
|
|
12968
|
+
* * SQL Data Type: datetimeoffset
|
|
12969
|
+
* * Default Value: getutcdate()`),
|
|
12970
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
12971
|
+
* * Field Name: __mj_UpdatedAt
|
|
12972
|
+
* * Display Name: Updated At
|
|
12973
|
+
* * SQL Data Type: datetimeoffset
|
|
12974
|
+
* * Default Value: getutcdate()`),
|
|
12975
|
+
Dashboard: zod_1.z.string().describe(`
|
|
12976
|
+
* * Field Name: Dashboard
|
|
12977
|
+
* * Display Name: Dashboard Name
|
|
12978
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
12979
|
+
User: zod_1.z.string().describe(`
|
|
12980
|
+
* * Field Name: User
|
|
12981
|
+
* * Display Name: User Name
|
|
12982
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
12983
|
+
DashboardCategory: zod_1.z.string().nullable().describe(`
|
|
12984
|
+
* * Field Name: DashboardCategory
|
|
12985
|
+
* * Display Name: Category Name
|
|
12986
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
12987
|
+
});
|
|
12988
|
+
/**
|
|
12989
|
+
* zod schema definition for the entity MJ: Dashboard Category Permissions
|
|
12990
|
+
*/
|
|
12991
|
+
exports.DashboardCategoryPermissionSchema = zod_1.z.object({
|
|
12992
|
+
ID: zod_1.z.string().describe(`
|
|
12993
|
+
* * Field Name: ID
|
|
12994
|
+
* * Display Name: ID
|
|
12995
|
+
* * SQL Data Type: uniqueidentifier
|
|
12996
|
+
* * Default Value: newsequentialid()`),
|
|
12997
|
+
DashboardCategoryID: zod_1.z.string().describe(`
|
|
12998
|
+
* * Field Name: DashboardCategoryID
|
|
12999
|
+
* * Display Name: Dashboard Category ID
|
|
13000
|
+
* * SQL Data Type: uniqueidentifier
|
|
13001
|
+
* * Related Entity/Foreign Key: Dashboard Categories (vwDashboardCategories.ID)`),
|
|
13002
|
+
UserID: zod_1.z.string().describe(`
|
|
13003
|
+
* * Field Name: UserID
|
|
13004
|
+
* * Display Name: User ID
|
|
13005
|
+
* * SQL Data Type: uniqueidentifier
|
|
13006
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
13007
|
+
CanRead: zod_1.z.boolean().describe(`
|
|
13008
|
+
* * Field Name: CanRead
|
|
13009
|
+
* * Display Name: Can Read
|
|
13010
|
+
* * SQL Data Type: bit
|
|
13011
|
+
* * Default Value: 1
|
|
13012
|
+
* * Description: Whether the user can view dashboards within this category`),
|
|
13013
|
+
CanEdit: zod_1.z.boolean().describe(`
|
|
13014
|
+
* * Field Name: CanEdit
|
|
13015
|
+
* * Display Name: Can Edit
|
|
13016
|
+
* * SQL Data Type: bit
|
|
13017
|
+
* * Default Value: 0
|
|
13018
|
+
* * Description: Whether the user can modify dashboards within this category`),
|
|
13019
|
+
CanAddRemove: zod_1.z.boolean().describe(`
|
|
13020
|
+
* * Field Name: CanAddRemove
|
|
13021
|
+
* * Display Name: Can Add/Remove
|
|
13022
|
+
* * SQL Data Type: bit
|
|
13023
|
+
* * Default Value: 0
|
|
13024
|
+
* * Description: Whether the user can add new dashboards to or remove dashboards from this category`),
|
|
13025
|
+
CanShare: zod_1.z.boolean().describe(`
|
|
13026
|
+
* * Field Name: CanShare
|
|
13027
|
+
* * Display Name: Can Share
|
|
13028
|
+
* * SQL Data Type: bit
|
|
13029
|
+
* * Default Value: 0
|
|
13030
|
+
* * Description: Whether the user can share this category with other users`),
|
|
13031
|
+
SharedByUserID: zod_1.z.string().nullable().describe(`
|
|
13032
|
+
* * Field Name: SharedByUserID
|
|
13033
|
+
* * Display Name: Shared By User ID
|
|
13034
|
+
* * SQL Data Type: uniqueidentifier
|
|
13035
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
13036
|
+
* * Description: The user who granted this permission. NULL if shared by the category owner.`),
|
|
13037
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
13038
|
+
* * Field Name: __mj_CreatedAt
|
|
13039
|
+
* * Display Name: Created At
|
|
13040
|
+
* * SQL Data Type: datetimeoffset
|
|
13041
|
+
* * Default Value: getutcdate()`),
|
|
13042
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
13043
|
+
* * Field Name: __mj_UpdatedAt
|
|
13044
|
+
* * Display Name: Updated At
|
|
13045
|
+
* * SQL Data Type: datetimeoffset
|
|
13046
|
+
* * Default Value: getutcdate()`),
|
|
13047
|
+
DashboardCategory: zod_1.z.string().describe(`
|
|
13048
|
+
* * Field Name: DashboardCategory
|
|
13049
|
+
* * Display Name: Dashboard Category
|
|
13050
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13051
|
+
User: zod_1.z.string().describe(`
|
|
13052
|
+
* * Field Name: User
|
|
13053
|
+
* * Display Name: User
|
|
13054
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13055
|
+
SharedByUser: zod_1.z.string().nullable().describe(`
|
|
13056
|
+
* * Field Name: SharedByUser
|
|
13057
|
+
* * Display Name: Shared By User
|
|
13058
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13059
|
+
});
|
|
13060
|
+
/**
|
|
13061
|
+
* zod schema definition for the entity MJ: Dashboard Part Types
|
|
13062
|
+
*/
|
|
13063
|
+
exports.DashboardPartTypeSchema = zod_1.z.object({
|
|
13064
|
+
ID: zod_1.z.string().describe(`
|
|
13065
|
+
* * Field Name: ID
|
|
13066
|
+
* * Display Name: ID
|
|
13067
|
+
* * SQL Data Type: uniqueidentifier
|
|
13068
|
+
* * Default Value: newsequentialid()
|
|
13069
|
+
* * Description: Primary key`),
|
|
13070
|
+
Name: zod_1.z.string().describe(`
|
|
13071
|
+
* * Field Name: Name
|
|
13072
|
+
* * Display Name: Name
|
|
13073
|
+
* * SQL Data Type: nvarchar(100)
|
|
13074
|
+
* * Description: Unique name for the panel type (e.g., View, Query, Artifact, WebURL, Custom)`),
|
|
13075
|
+
Description: zod_1.z.string().nullable().describe(`
|
|
13076
|
+
* * Field Name: Description
|
|
13077
|
+
* * Display Name: Description
|
|
13078
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
13079
|
+
* * Description: Detailed description of what this panel type displays and its capabilities`),
|
|
13080
|
+
Icon: zod_1.z.string().nullable().describe(`
|
|
13081
|
+
* * Field Name: Icon
|
|
13082
|
+
* * Display Name: Icon
|
|
13083
|
+
* * SQL Data Type: nvarchar(100)
|
|
13084
|
+
* * Description: Font Awesome icon class for the panel type (e.g., fa-solid fa-table)`),
|
|
13085
|
+
DriverClass: zod_1.z.string().describe(`
|
|
13086
|
+
* * Field Name: DriverClass
|
|
13087
|
+
* * Display Name: Driver Class
|
|
13088
|
+
* * SQL Data Type: nvarchar(255)
|
|
13089
|
+
* * Description: The @RegisterClass name for the panel renderer component that extends DashboardBasePanelRenderer`),
|
|
13090
|
+
ConfigDialogClass: zod_1.z.string().nullable().describe(`
|
|
13091
|
+
* * Field Name: ConfigDialogClass
|
|
13092
|
+
* * Display Name: Configuration Dialog Class
|
|
13093
|
+
* * SQL Data Type: nvarchar(255)
|
|
13094
|
+
* * Description: The @RegisterClass name for the configuration dialog component that extends DashboardBasePanelConfigDialog`),
|
|
13095
|
+
DefaultConfig: zod_1.z.string().nullable().describe(`
|
|
13096
|
+
* * Field Name: DefaultConfig
|
|
13097
|
+
* * Display Name: Default Configuration
|
|
13098
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
13099
|
+
* * Description: JSON object containing default configuration values for new panels of this type`),
|
|
13100
|
+
SortOrder: zod_1.z.number().describe(`
|
|
13101
|
+
* * Field Name: SortOrder
|
|
13102
|
+
* * Display Name: Sort Order
|
|
13103
|
+
* * SQL Data Type: int
|
|
13104
|
+
* * Default Value: 0
|
|
13105
|
+
* * Description: Display order in panel type selection UI (lower numbers appear first)`),
|
|
13106
|
+
IsActive: zod_1.z.boolean().describe(`
|
|
13107
|
+
* * Field Name: IsActive
|
|
13108
|
+
* * Display Name: Active
|
|
13109
|
+
* * SQL Data Type: bit
|
|
13110
|
+
* * Default Value: 1
|
|
13111
|
+
* * Description: Whether this panel type is currently available for use`),
|
|
13112
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
13113
|
+
* * Field Name: __mj_CreatedAt
|
|
13114
|
+
* * Display Name: Created At
|
|
13115
|
+
* * SQL Data Type: datetimeoffset
|
|
13116
|
+
* * Default Value: getutcdate()`),
|
|
13117
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
13118
|
+
* * Field Name: __mj_UpdatedAt
|
|
13119
|
+
* * Display Name: Updated At
|
|
13120
|
+
* * SQL Data Type: datetimeoffset
|
|
13121
|
+
* * Default Value: getutcdate()`),
|
|
13122
|
+
});
|
|
13123
|
+
/**
|
|
13124
|
+
* zod schema definition for the entity MJ: Dashboard Permissions
|
|
13125
|
+
*/
|
|
13126
|
+
exports.DashboardPermissionSchema = zod_1.z.object({
|
|
13127
|
+
ID: zod_1.z.string().describe(`
|
|
13128
|
+
* * Field Name: ID
|
|
13129
|
+
* * Display Name: ID
|
|
13130
|
+
* * SQL Data Type: uniqueidentifier
|
|
13131
|
+
* * Default Value: newsequentialid()`),
|
|
13132
|
+
DashboardID: zod_1.z.string().describe(`
|
|
13133
|
+
* * Field Name: DashboardID
|
|
13134
|
+
* * Display Name: Dashboard ID
|
|
13135
|
+
* * SQL Data Type: uniqueidentifier
|
|
13136
|
+
* * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)`),
|
|
13137
|
+
UserID: zod_1.z.string().describe(`
|
|
13138
|
+
* * Field Name: UserID
|
|
13139
|
+
* * Display Name: User ID
|
|
13140
|
+
* * SQL Data Type: uniqueidentifier
|
|
13141
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)`),
|
|
13142
|
+
CanRead: zod_1.z.boolean().describe(`
|
|
13143
|
+
* * Field Name: CanRead
|
|
13144
|
+
* * Display Name: Can Read
|
|
13145
|
+
* * SQL Data Type: bit
|
|
13146
|
+
* * Default Value: 1
|
|
13147
|
+
* * Description: Whether the user can view the dashboard and its contents`),
|
|
13148
|
+
CanEdit: zod_1.z.boolean().describe(`
|
|
13149
|
+
* * Field Name: CanEdit
|
|
13150
|
+
* * Display Name: Can Edit
|
|
13151
|
+
* * SQL Data Type: bit
|
|
13152
|
+
* * Default Value: 0
|
|
13153
|
+
* * Description: Whether the user can modify the dashboard layout, add/remove parts, or change settings`),
|
|
13154
|
+
CanDelete: zod_1.z.boolean().describe(`
|
|
13155
|
+
* * Field Name: CanDelete
|
|
13156
|
+
* * Display Name: Can Delete
|
|
13157
|
+
* * SQL Data Type: bit
|
|
13158
|
+
* * Default Value: 0
|
|
13159
|
+
* * Description: Whether the user can delete the dashboard entirely`),
|
|
13160
|
+
CanShare: zod_1.z.boolean().describe(`
|
|
13161
|
+
* * Field Name: CanShare
|
|
13162
|
+
* * Display Name: Can Share
|
|
13163
|
+
* * SQL Data Type: bit
|
|
13164
|
+
* * Default Value: 0
|
|
13165
|
+
* * Description: Whether the user can share the dashboard with other users`),
|
|
13166
|
+
SharedByUserID: zod_1.z.string().nullable().describe(`
|
|
13167
|
+
* * Field Name: SharedByUserID
|
|
13168
|
+
* * Display Name: Shared By User ID
|
|
13169
|
+
* * SQL Data Type: uniqueidentifier
|
|
13170
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
13171
|
+
* * Description: The user who granted this permission. NULL if shared by the dashboard owner.`),
|
|
13172
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
13173
|
+
* * Field Name: __mj_CreatedAt
|
|
13174
|
+
* * Display Name: Created At
|
|
13175
|
+
* * SQL Data Type: datetimeoffset
|
|
13176
|
+
* * Default Value: getutcdate()`),
|
|
13177
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
13178
|
+
* * Field Name: __mj_UpdatedAt
|
|
13179
|
+
* * Display Name: Updated At
|
|
13180
|
+
* * SQL Data Type: datetimeoffset
|
|
13181
|
+
* * Default Value: getutcdate()`),
|
|
13182
|
+
Dashboard: zod_1.z.string().describe(`
|
|
13183
|
+
* * Field Name: Dashboard
|
|
13184
|
+
* * Display Name: Dashboard
|
|
13185
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
13186
|
+
User: zod_1.z.string().describe(`
|
|
13187
|
+
* * Field Name: User
|
|
13188
|
+
* * Display Name: User
|
|
13189
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13190
|
+
SharedByUser: zod_1.z.string().nullable().describe(`
|
|
13191
|
+
* * Field Name: SharedByUser
|
|
13192
|
+
* * Display Name: Shared By User
|
|
13193
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
13194
|
+
});
|
|
12569
13195
|
/**
|
|
12570
13196
|
* zod schema definition for the entity MJ: Dashboard User Preferences
|
|
12571
13197
|
*/
|
|
@@ -13973,6 +14599,10 @@ exports.TaskSchema = zod_1.z.object({
|
|
|
13973
14599
|
* * Field Name: Project
|
|
13974
14600
|
* * Display Name: Project
|
|
13975
14601
|
* * SQL Data Type: nvarchar(255)`),
|
|
14602
|
+
ConversationDetail: zod_1.z.string().nullable().describe(`
|
|
14603
|
+
* * Field Name: ConversationDetail
|
|
14604
|
+
* * Display Name: Conversation Detail
|
|
14605
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
13976
14606
|
User: zod_1.z.string().nullable().describe(`
|
|
13977
14607
|
* * Field Name: User
|
|
13978
14608
|
* * Display Name: User
|
|
@@ -14227,7 +14857,7 @@ exports.TestRunSchema = zod_1.z.object({
|
|
|
14227
14857
|
* * Description: Overall test score from 0.0000 to 1.0000 (0-100%). Calculated by test driver based on passed/failed checks and weights.`),
|
|
14228
14858
|
CostUSD: zod_1.z.number().nullable().describe(`
|
|
14229
14859
|
* * Field Name: CostUSD
|
|
14230
|
-
* * Display Name: Cost USD
|
|
14860
|
+
* * Display Name: Cost (USD)
|
|
14231
14861
|
* * SQL Data Type: decimal(10, 6)
|
|
14232
14862
|
* * Description: Cost in USD for running this test (e.g., LLM token costs, compute resources)`),
|
|
14233
14863
|
ErrorMessage: zod_1.z.string().nullable().describe(`
|
|
@@ -14287,13 +14917,18 @@ exports.TestRunSchema = zod_1.z.object({
|
|
|
14287
14917
|
* * Description: JSON object containing extensible execution context: osType, osVersion, nodeVersion, timezone, locale, ipAddress, and CI/CD metadata (ciProvider, pipelineId, buildNumber, branch, prNumber). Allows detailed environment tracking without schema changes.`),
|
|
14288
14918
|
TargetLogEntityID: zod_1.z.string().nullable().describe(`
|
|
14289
14919
|
* * Field Name: TargetLogEntityID
|
|
14290
|
-
* * Display Name: Target Log Entity
|
|
14920
|
+
* * Display Name: Target Log Entity
|
|
14291
14921
|
* * SQL Data Type: uniqueidentifier
|
|
14292
14922
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
14293
14923
|
* * Description: Foreign key to Entity table identifying the type of entity referenced by TargetLogID. When populated, TargetLogID is a record ID in this entity. Used for linking test runs to AI Agent Runs, Workflow Runs, or other entity types being tested.`),
|
|
14924
|
+
ResolvedVariables: zod_1.z.string().nullable().describe(`
|
|
14925
|
+
* * Field Name: ResolvedVariables
|
|
14926
|
+
* * Display Name: Resolved Variables
|
|
14927
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
14928
|
+
* * Description: JSON object containing the final resolved variable values used during test execution. Includes both the resolved values and the source of each value (run, suite, test, or type level). Stored for reproducibility and auditing.`),
|
|
14294
14929
|
Test: zod_1.z.string().describe(`
|
|
14295
14930
|
* * Field Name: Test
|
|
14296
|
-
* * Display Name: Test
|
|
14931
|
+
* * Display Name: Test Name
|
|
14297
14932
|
* * SQL Data Type: nvarchar(255)`),
|
|
14298
14933
|
TestSuiteRun: zod_1.z.string().nullable().describe(`
|
|
14299
14934
|
* * Field Name: TestSuiteRun
|
|
@@ -14305,7 +14940,7 @@ exports.TestRunSchema = zod_1.z.object({
|
|
|
14305
14940
|
* * SQL Data Type: nvarchar(100)`),
|
|
14306
14941
|
TargetLogEntity: zod_1.z.string().nullable().describe(`
|
|
14307
14942
|
* * Field Name: TargetLogEntity
|
|
14308
|
-
* * Display Name: Target Log Entity
|
|
14943
|
+
* * Display Name: Target Log Entity Name
|
|
14309
14944
|
* * SQL Data Type: nvarchar(255)`),
|
|
14310
14945
|
});
|
|
14311
14946
|
/**
|
|
@@ -14325,7 +14960,7 @@ exports.TestSuiteRunSchema = zod_1.z.object({
|
|
|
14325
14960
|
* * Description: Foreign Key - The test suite that was executed`),
|
|
14326
14961
|
RunByUserID: zod_1.z.string().describe(`
|
|
14327
14962
|
* * Field Name: RunByUserID
|
|
14328
|
-
* * Display Name: Run By User
|
|
14963
|
+
* * Display Name: Run By User ID
|
|
14329
14964
|
* * SQL Data Type: uniqueidentifier
|
|
14330
14965
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
14331
14966
|
* * Description: Foreign Key - The user who triggered the suite run (could be system user for automated runs)`),
|
|
@@ -14399,12 +15034,12 @@ exports.TestSuiteRunSchema = zod_1.z.object({
|
|
|
14399
15034
|
* * Description: Number of tests that encountered execution errors (different from failing validation)`),
|
|
14400
15035
|
TotalDurationSeconds: zod_1.z.number().nullable().describe(`
|
|
14401
15036
|
* * Field Name: TotalDurationSeconds
|
|
14402
|
-
* * Display Name: Total Duration
|
|
15037
|
+
* * Display Name: Total Duration Seconds
|
|
14403
15038
|
* * SQL Data Type: decimal(10, 3)
|
|
14404
15039
|
* * Description: Total execution time in seconds for the entire suite`),
|
|
14405
15040
|
TotalCostUSD: zod_1.z.number().nullable().describe(`
|
|
14406
15041
|
* * Field Name: TotalCostUSD
|
|
14407
|
-
* * Display Name: Total Cost
|
|
15042
|
+
* * Display Name: Total Cost USD
|
|
14408
15043
|
* * SQL Data Type: decimal(10, 6)
|
|
14409
15044
|
* * Description: Total cost in USD for running the entire suite (sum of all test costs)`),
|
|
14410
15045
|
Configuration: zod_1.z.string().nullable().describe(`
|
|
@@ -14462,6 +15097,11 @@ exports.TestSuiteRunSchema = zod_1.z.object({
|
|
|
14462
15097
|
* * Display Name: Run Context Details
|
|
14463
15098
|
* * SQL Data Type: nvarchar(MAX)
|
|
14464
15099
|
* * Description: JSON object containing extensible execution context: osType, osVersion, nodeVersion, timezone, locale, ipAddress, and CI/CD metadata (ciProvider, pipelineId, buildNumber, branch, prNumber). Allows detailed environment tracking without schema changes.`),
|
|
15100
|
+
ResolvedVariables: zod_1.z.string().nullable().describe(`
|
|
15101
|
+
* * Field Name: ResolvedVariables
|
|
15102
|
+
* * Display Name: Resolved Variables
|
|
15103
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15104
|
+
* * Description: JSON object containing the variable values provided at suite run level. These values were applied to all tests in the suite run and can be seen on individual TestRun.ResolvedVariables with source="suite".`),
|
|
14465
15105
|
Suite: zod_1.z.string().describe(`
|
|
14466
15106
|
* * Field Name: Suite
|
|
14467
15107
|
* * Display Name: Suite
|
|
@@ -14544,7 +15184,7 @@ exports.TestSuiteSchema = zod_1.z.object({
|
|
|
14544
15184
|
* * Default Value: newsequentialid()`),
|
|
14545
15185
|
ParentID: zod_1.z.string().nullable().describe(`
|
|
14546
15186
|
* * Field Name: ParentID
|
|
14547
|
-
* * Display Name: Parent
|
|
15187
|
+
* * Display Name: Parent ID
|
|
14548
15188
|
* * SQL Data Type: uniqueidentifier
|
|
14549
15189
|
* * Related Entity/Foreign Key: MJ: Test Suites (vwTestSuites.ID)
|
|
14550
15190
|
* * Description: Optional parent suite ID for hierarchical organization. NULL for root-level suites.`),
|
|
@@ -14594,13 +15234,18 @@ exports.TestSuiteSchema = zod_1.z.object({
|
|
|
14594
15234
|
* * Display Name: Max Execution Time (ms)
|
|
14595
15235
|
* * SQL Data Type: int
|
|
14596
15236
|
* * Description: Maximum total execution time in milliseconds for the entire suite. If NULL, no suite-level timeout applies (individual test timeouts still apply). When exceeded, current test is cancelled and remaining tests are skipped.`),
|
|
15237
|
+
Variables: zod_1.z.string().nullable().describe(`
|
|
15238
|
+
* * Field Name: Variables
|
|
15239
|
+
* * Display Name: Variables
|
|
15240
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15241
|
+
* * Description: JSON object containing variable values to apply to all tests in this suite. These values override test-level defaults but can be overridden by run-level values.`),
|
|
14597
15242
|
Parent: zod_1.z.string().nullable().describe(`
|
|
14598
15243
|
* * Field Name: Parent
|
|
14599
|
-
* * Display Name: Parent
|
|
15244
|
+
* * Display Name: Parent
|
|
14600
15245
|
* * SQL Data Type: nvarchar(255)`),
|
|
14601
15246
|
RootParentID: zod_1.z.string().nullable().describe(`
|
|
14602
15247
|
* * Field Name: RootParentID
|
|
14603
|
-
* * Display Name: Root Parent
|
|
15248
|
+
* * Display Name: Root Parent ID
|
|
14604
15249
|
* * SQL Data Type: uniqueidentifier`),
|
|
14605
15250
|
});
|
|
14606
15251
|
/**
|
|
@@ -14648,6 +15293,11 @@ exports.TestTypeSchema = zod_1.z.object({
|
|
|
14648
15293
|
* * Display Name: Updated At
|
|
14649
15294
|
* * SQL Data Type: datetimeoffset
|
|
14650
15295
|
* * Default Value: getutcdate()`),
|
|
15296
|
+
VariablesSchema: zod_1.z.string().nullable().describe(`
|
|
15297
|
+
* * Field Name: VariablesSchema
|
|
15298
|
+
* * Display Name: Variables Schema
|
|
15299
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15300
|
+
* * Description: JSON schema defining the variables available for tests of this type. Contains schemaVersion and array of variable definitions with name, displayName, description, dataType, valueSource, possibleValues, defaultValue, and required fields.`),
|
|
14651
15301
|
});
|
|
14652
15302
|
/**
|
|
14653
15303
|
* zod schema definition for the entity MJ: Tests
|
|
@@ -14741,9 +15391,14 @@ exports.TestSchema = zod_1.z.object({
|
|
|
14741
15391
|
* * Display Name: Max Execution Time (ms)
|
|
14742
15392
|
* * SQL Data Type: int
|
|
14743
15393
|
* * Description: Maximum execution time in milliseconds for this test. If NULL, uses default (300000ms = 5 minutes). Can be overridden by Configuration JSON maxExecutionTime field for backward compatibility.`),
|
|
15394
|
+
Variables: zod_1.z.string().nullable().describe(`
|
|
15395
|
+
* * Field Name: Variables
|
|
15396
|
+
* * Display Name: Variables
|
|
15397
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15398
|
+
* * Description: JSON configuration for which test type variables are exposed by this test, along with test-level defaults, locks, and value restrictions. References variables defined in the parent TestType.VariablesSchema.`),
|
|
14744
15399
|
Type: zod_1.z.string().describe(`
|
|
14745
15400
|
* * Field Name: Type
|
|
14746
|
-
* * Display Name:
|
|
15401
|
+
* * Display Name: Type
|
|
14747
15402
|
* * SQL Data Type: nvarchar(100)`),
|
|
14748
15403
|
});
|
|
14749
15404
|
/**
|
|
@@ -15534,6 +16189,10 @@ exports.RecommendationItemSchema = zod_1.z.object({
|
|
|
15534
16189
|
* * Display Name: Updated At
|
|
15535
16190
|
* * SQL Data Type: datetimeoffset
|
|
15536
16191
|
* * Default Value: getutcdate()`),
|
|
16192
|
+
Recommendation: zod_1.z.string().describe(`
|
|
16193
|
+
* * Field Name: Recommendation
|
|
16194
|
+
* * Display Name: Recommendation
|
|
16195
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
15537
16196
|
DestinationEntity: zod_1.z.string().describe(`
|
|
15538
16197
|
* * Field Name: DestinationEntity
|
|
15539
16198
|
* * Display Name: Destination Entity
|
|
@@ -15665,6 +16324,10 @@ exports.RecommendationSchema = zod_1.z.object({
|
|
|
15665
16324
|
* * Display Name: Updated At
|
|
15666
16325
|
* * SQL Data Type: datetimeoffset
|
|
15667
16326
|
* * Default Value: getutcdate()`),
|
|
16327
|
+
RecommendationRun: zod_1.z.string().describe(`
|
|
16328
|
+
* * Field Name: RecommendationRun
|
|
16329
|
+
* * Display Name: Recommendation Run
|
|
16330
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
15668
16331
|
SourceEntity: zod_1.z.string().describe(`
|
|
15669
16332
|
* * Field Name: SourceEntity
|
|
15670
16333
|
* * Display Name: Source Entity
|
|
@@ -15833,6 +16496,10 @@ exports.RecordChangeSchema = zod_1.z.object({
|
|
|
15833
16496
|
* * Field Name: User
|
|
15834
16497
|
* * Display Name: User
|
|
15835
16498
|
* * SQL Data Type: nvarchar(100)`),
|
|
16499
|
+
ReplayRun: zod_1.z.string().nullable().describe(`
|
|
16500
|
+
* * Field Name: ReplayRun
|
|
16501
|
+
* * Display Name: Replay Run
|
|
16502
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
15836
16503
|
Integration: zod_1.z.string().nullable().describe(`
|
|
15837
16504
|
* * Field Name: Integration
|
|
15838
16505
|
* * Display Name: Integration
|
|
@@ -15882,6 +16549,10 @@ exports.RecordMergeDeletionLogSchema = zod_1.z.object({
|
|
|
15882
16549
|
* * Display Name: Updated At
|
|
15883
16550
|
* * SQL Data Type: datetimeoffset
|
|
15884
16551
|
* * Default Value: getutcdate()`),
|
|
16552
|
+
RecordMergeLog: zod_1.z.string().describe(`
|
|
16553
|
+
* * Field Name: RecordMergeLog
|
|
16554
|
+
* * Display Name: Record Merge Log
|
|
16555
|
+
* * SQL Data Type: nvarchar(450)`),
|
|
15885
16556
|
});
|
|
15886
16557
|
/**
|
|
15887
16558
|
* zod schema definition for the entity Record Merge Logs
|
|
@@ -16191,6 +16862,10 @@ exports.ReportSchema = zod_1.z.object({
|
|
|
16191
16862
|
* * Field Name: Conversation
|
|
16192
16863
|
* * Display Name: Conversation
|
|
16193
16864
|
* * SQL Data Type: nvarchar(255)`),
|
|
16865
|
+
ConversationDetail: zod_1.z.string().nullable().describe(`
|
|
16866
|
+
* * Field Name: ConversationDetail
|
|
16867
|
+
* * Display Name: Conversation Detail
|
|
16868
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
16194
16869
|
DataContext: zod_1.z.string().nullable().describe(`
|
|
16195
16870
|
* * Field Name: DataContext
|
|
16196
16871
|
* * Display Name: Data Context
|
|
@@ -17074,6 +17749,10 @@ exports.TemplateParamSchema = zod_1.z.object({
|
|
|
17074
17749
|
* * Field Name: Entity
|
|
17075
17750
|
* * Display Name: Entity
|
|
17076
17751
|
* * SQL Data Type: nvarchar(255)`),
|
|
17752
|
+
TemplateContent: zod_1.z.string().nullable().describe(`
|
|
17753
|
+
* * Field Name: TemplateContent
|
|
17754
|
+
* * Display Name: Template Content
|
|
17755
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
17077
17756
|
});
|
|
17078
17757
|
/**
|
|
17079
17758
|
* zod schema definition for the entity Templates
|
|
@@ -19190,7 +19869,7 @@ let ActionParamEntity = class ActionParamEntity extends core_1.BaseEntity {
|
|
|
19190
19869
|
}
|
|
19191
19870
|
/**
|
|
19192
19871
|
* * Field Name: ActionID
|
|
19193
|
-
* * Display Name: Action
|
|
19872
|
+
* * Display Name: Action
|
|
19194
19873
|
* * SQL Data Type: uniqueidentifier
|
|
19195
19874
|
* * Related Entity/Foreign Key: Actions (vwActions.ID)
|
|
19196
19875
|
*/
|
|
@@ -19202,7 +19881,7 @@ let ActionParamEntity = class ActionParamEntity extends core_1.BaseEntity {
|
|
|
19202
19881
|
}
|
|
19203
19882
|
/**
|
|
19204
19883
|
* * Field Name: Name
|
|
19205
|
-
* * Display Name: Name
|
|
19884
|
+
* * Display Name: Parameter Name
|
|
19206
19885
|
* * SQL Data Type: nvarchar(255)
|
|
19207
19886
|
*/
|
|
19208
19887
|
get Name() {
|
|
@@ -19225,7 +19904,7 @@ let ActionParamEntity = class ActionParamEntity extends core_1.BaseEntity {
|
|
|
19225
19904
|
}
|
|
19226
19905
|
/**
|
|
19227
19906
|
* * Field Name: Type
|
|
19228
|
-
* * Display Name:
|
|
19907
|
+
* * Display Name: Parameter Direction
|
|
19229
19908
|
* * SQL Data Type: nchar(10)
|
|
19230
19909
|
* * Value List Type: List
|
|
19231
19910
|
* * Possible Values
|
|
@@ -19249,8 +19928,9 @@ let ActionParamEntity = class ActionParamEntity extends core_1.BaseEntity {
|
|
|
19249
19928
|
* * BaseEntity Sub-Class
|
|
19250
19929
|
* * BaseEntity Sub-Class
|
|
19251
19930
|
* * Other
|
|
19252
|
-
* *
|
|
19931
|
+
* * MediaOutput
|
|
19253
19932
|
* * Scalar
|
|
19933
|
+
* * Other
|
|
19254
19934
|
* * Scalar
|
|
19255
19935
|
* * Simple Object
|
|
19256
19936
|
* * Simple Object
|
|
@@ -19318,6 +19998,23 @@ let ActionParamEntity = class ActionParamEntity extends core_1.BaseEntity {
|
|
|
19318
19998
|
return this.Get('__mj_UpdatedAt');
|
|
19319
19999
|
}
|
|
19320
20000
|
/**
|
|
20001
|
+
* * Field Name: MediaModality
|
|
20002
|
+
* * Display Name: Media Modality
|
|
20003
|
+
* * SQL Data Type: nvarchar(20)
|
|
20004
|
+
* * Value List Type: List
|
|
20005
|
+
* * Possible Values
|
|
20006
|
+
* * Audio
|
|
20007
|
+
* * Image
|
|
20008
|
+
* * Video
|
|
20009
|
+
* * Description: Specifies the type of media this parameter outputs when ValueType is MediaOutput. Used for action discovery and validation.
|
|
20010
|
+
*/
|
|
20011
|
+
get MediaModality() {
|
|
20012
|
+
return this.Get('MediaModality');
|
|
20013
|
+
}
|
|
20014
|
+
set MediaModality(value) {
|
|
20015
|
+
this.Set('MediaModality', value);
|
|
20016
|
+
}
|
|
20017
|
+
/**
|
|
19321
20018
|
* * Field Name: Action
|
|
19322
20019
|
* * Display Name: Action
|
|
19323
20020
|
* * SQL Data Type: nvarchar(425)
|
|
@@ -19975,6 +20672,7 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
19975
20672
|
/**
|
|
19976
20673
|
* Validate() method override for AI Agent Actions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
19977
20674
|
* * CompactLength: This rule ensures that if a value is provided for CompactLength, it must be greater than zero. If CompactLength is left empty, no rule applies.
|
|
20675
|
+
* * CompactMode: CompactMode can be left empty, but if a value is provided it must be either 'AI Summary' or 'First N Chars' to ensure only supported compact display options are used.
|
|
19978
20676
|
* * MaxExecutionsPerRun: This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
19979
20677
|
* * MinExecutionsPerRun: This rule ensures that if a minimum executions per run value is provided, it must be zero or greater.
|
|
19980
20678
|
* * ResultExpirationTurns: This rule ensures that if the ResultExpirationTurns field has a value, it must be zero or greater (it cannot be negative). If ResultExpirationTurns is left empty, there is no restriction.
|
|
@@ -19989,6 +20687,7 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
19989
20687
|
Validate() {
|
|
19990
20688
|
const result = super.Validate();
|
|
19991
20689
|
this.ValidateCompactLengthGreaterThanZero(result);
|
|
20690
|
+
this.ValidateCompactModeAllowedValues(result);
|
|
19992
20691
|
this.ValidateMaxExecutionsPerRunGreaterThanZero(result);
|
|
19993
20692
|
this.ValidateMinExecutionsPerRunIsNonNegative(result);
|
|
19994
20693
|
this.ValidateResultExpirationTurnsNonNegative(result);
|
|
@@ -20011,6 +20710,18 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
20011
20710
|
}
|
|
20012
20711
|
}
|
|
20013
20712
|
/**
|
|
20713
|
+
* CompactMode can be left empty, but if a value is provided it must be either 'AI Summary' or 'First N Chars' to ensure only supported compact display options are used.
|
|
20714
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
20715
|
+
* @public
|
|
20716
|
+
* @method
|
|
20717
|
+
*/
|
|
20718
|
+
ValidateCompactModeAllowedValues(result) {
|
|
20719
|
+
// CompactMode is optional; if set, it must be one of the allowed options
|
|
20720
|
+
if (this.CompactMode != null && this.CompactMode !== 'AI Summary' && this.CompactMode !== 'First N Chars') {
|
|
20721
|
+
result.Errors.push(new core_1.ValidationErrorInfo('CompactMode', "CompactMode must be either 'AI Summary' or 'First N Chars' when provided.", this.CompactMode, core_1.ValidationErrorType.Failure));
|
|
20722
|
+
}
|
|
20723
|
+
}
|
|
20724
|
+
/**
|
|
20014
20725
|
* This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
20015
20726
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
20016
20727
|
* @public
|
|
@@ -20953,6 +21664,22 @@ let AIAgentNoteEntity = class AIAgentNoteEntity extends core_1.BaseEntity {
|
|
|
20953
21664
|
return this.Get('SourceConversation');
|
|
20954
21665
|
}
|
|
20955
21666
|
/**
|
|
21667
|
+
* * Field Name: SourceConversationDetail
|
|
21668
|
+
* * Display Name: Source Conversation Detail
|
|
21669
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21670
|
+
*/
|
|
21671
|
+
get SourceConversationDetail() {
|
|
21672
|
+
return this.Get('SourceConversationDetail');
|
|
21673
|
+
}
|
|
21674
|
+
/**
|
|
21675
|
+
* * Field Name: SourceAIAgentRun
|
|
21676
|
+
* * Display Name: Source AI Agent Run
|
|
21677
|
+
* * SQL Data Type: nvarchar(255)
|
|
21678
|
+
*/
|
|
21679
|
+
get SourceAIAgentRun() {
|
|
21680
|
+
return this.Get('SourceAIAgentRun');
|
|
21681
|
+
}
|
|
21682
|
+
/**
|
|
20956
21683
|
* * Field Name: Company
|
|
20957
21684
|
* * Display Name: Company
|
|
20958
21685
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -24044,6 +24771,14 @@ let AIResultCacheEntity = class AIResultCacheEntity extends core_1.BaseEntity {
|
|
|
24044
24771
|
get Configuration() {
|
|
24045
24772
|
return this.Get('Configuration');
|
|
24046
24773
|
}
|
|
24774
|
+
/**
|
|
24775
|
+
* * Field Name: PromptRun
|
|
24776
|
+
* * Display Name: Prompt Run
|
|
24777
|
+
* * SQL Data Type: nvarchar(255)
|
|
24778
|
+
*/
|
|
24779
|
+
get PromptRun() {
|
|
24780
|
+
return this.Get('PromptRun');
|
|
24781
|
+
}
|
|
24047
24782
|
};
|
|
24048
24783
|
exports.AIResultCacheEntity = AIResultCacheEntity;
|
|
24049
24784
|
exports.AIResultCacheEntity = AIResultCacheEntity = __decorate([
|
|
@@ -29155,6 +29890,14 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
29155
29890
|
get Project() {
|
|
29156
29891
|
return this.Get('Project');
|
|
29157
29892
|
}
|
|
29893
|
+
/**
|
|
29894
|
+
* * Field Name: TestRun
|
|
29895
|
+
* * Display Name: Test Run
|
|
29896
|
+
* * SQL Data Type: nvarchar(255)
|
|
29897
|
+
*/
|
|
29898
|
+
get TestRun() {
|
|
29899
|
+
return this.Get('TestRun');
|
|
29900
|
+
}
|
|
29158
29901
|
};
|
|
29159
29902
|
exports.ConversationEntity = ConversationEntity;
|
|
29160
29903
|
exports.ConversationEntity = ConversationEntity = __decorate([
|
|
@@ -30529,6 +31272,14 @@ let DuplicateRunDetailEntity = class DuplicateRunDetailEntity extends core_1.Bas
|
|
|
30529
31272
|
get __mj_UpdatedAt() {
|
|
30530
31273
|
return this.Get('__mj_UpdatedAt');
|
|
30531
31274
|
}
|
|
31275
|
+
/**
|
|
31276
|
+
* * Field Name: DuplicateRun
|
|
31277
|
+
* * Display Name: Duplicate Run
|
|
31278
|
+
* * SQL Data Type: nvarchar(255)
|
|
31279
|
+
*/
|
|
31280
|
+
get DuplicateRun() {
|
|
31281
|
+
return this.Get('DuplicateRun');
|
|
31282
|
+
}
|
|
30532
31283
|
};
|
|
30533
31284
|
exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity;
|
|
30534
31285
|
exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity = __decorate([
|
|
@@ -30868,6 +31619,14 @@ let EmployeeCompanyIntegrationEntity = class EmployeeCompanyIntegrationEntity ex
|
|
|
30868
31619
|
return this.Get('__mj_UpdatedAt');
|
|
30869
31620
|
}
|
|
30870
31621
|
/**
|
|
31622
|
+
* * Field Name: Employee
|
|
31623
|
+
* * Display Name: Employee
|
|
31624
|
+
* * SQL Data Type: nvarchar(81)
|
|
31625
|
+
*/
|
|
31626
|
+
get Employee() {
|
|
31627
|
+
return this.Get('Employee');
|
|
31628
|
+
}
|
|
31629
|
+
/**
|
|
30871
31630
|
* * Field Name: CompanyIntegration
|
|
30872
31631
|
* * Display Name: Company Integration
|
|
30873
31632
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -30963,6 +31722,14 @@ let EmployeeRoleEntity = class EmployeeRoleEntity extends core_1.BaseEntity {
|
|
|
30963
31722
|
return this.Get('__mj_UpdatedAt');
|
|
30964
31723
|
}
|
|
30965
31724
|
/**
|
|
31725
|
+
* * Field Name: Employee
|
|
31726
|
+
* * Display Name: Employee
|
|
31727
|
+
* * SQL Data Type: nvarchar(81)
|
|
31728
|
+
*/
|
|
31729
|
+
get Employee() {
|
|
31730
|
+
return this.Get('Employee');
|
|
31731
|
+
}
|
|
31732
|
+
/**
|
|
30966
31733
|
* * Field Name: Role
|
|
30967
31734
|
* * Display Name: Role
|
|
30968
31735
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -31058,6 +31825,14 @@ let EmployeeSkillEntity = class EmployeeSkillEntity extends core_1.BaseEntity {
|
|
|
31058
31825
|
return this.Get('__mj_UpdatedAt');
|
|
31059
31826
|
}
|
|
31060
31827
|
/**
|
|
31828
|
+
* * Field Name: Employee
|
|
31829
|
+
* * Display Name: Employee
|
|
31830
|
+
* * SQL Data Type: nvarchar(81)
|
|
31831
|
+
*/
|
|
31832
|
+
get Employee() {
|
|
31833
|
+
return this.Get('Employee');
|
|
31834
|
+
}
|
|
31835
|
+
/**
|
|
31061
31836
|
* * Field Name: Skill
|
|
31062
31837
|
* * Display Name: Skill
|
|
31063
31838
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -32213,6 +32988,22 @@ let EntityActionFilterEntity = class EntityActionFilterEntity extends core_1.Bas
|
|
|
32213
32988
|
get __mj_UpdatedAt() {
|
|
32214
32989
|
return this.Get('__mj_UpdatedAt');
|
|
32215
32990
|
}
|
|
32991
|
+
/**
|
|
32992
|
+
* * Field Name: EntityAction
|
|
32993
|
+
* * Display Name: Entity Action
|
|
32994
|
+
* * SQL Data Type: nvarchar(425)
|
|
32995
|
+
*/
|
|
32996
|
+
get EntityAction() {
|
|
32997
|
+
return this.Get('EntityAction');
|
|
32998
|
+
}
|
|
32999
|
+
/**
|
|
33000
|
+
* * Field Name: ActionFilter
|
|
33001
|
+
* * Display Name: Action Filter
|
|
33002
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
33003
|
+
*/
|
|
33004
|
+
get ActionFilter() {
|
|
33005
|
+
return this.Get('ActionFilter');
|
|
33006
|
+
}
|
|
32216
33007
|
};
|
|
32217
33008
|
exports.EntityActionFilterEntity = EntityActionFilterEntity;
|
|
32218
33009
|
exports.EntityActionFilterEntity = EntityActionFilterEntity = __decorate([
|
|
@@ -32419,6 +33210,14 @@ let EntityActionInvocationEntity = class EntityActionInvocationEntity extends co
|
|
|
32419
33210
|
return this.Get('__mj_UpdatedAt');
|
|
32420
33211
|
}
|
|
32421
33212
|
/**
|
|
33213
|
+
* * Field Name: EntityAction
|
|
33214
|
+
* * Display Name: Entity Action
|
|
33215
|
+
* * SQL Data Type: nvarchar(425)
|
|
33216
|
+
*/
|
|
33217
|
+
get EntityAction() {
|
|
33218
|
+
return this.Get('EntityAction');
|
|
33219
|
+
}
|
|
33220
|
+
/**
|
|
32422
33221
|
* * Field Name: InvocationType
|
|
32423
33222
|
* * Display Name: Invocation Type
|
|
32424
33223
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -32556,6 +33355,14 @@ let EntityActionParamEntity = class EntityActionParamEntity extends core_1.BaseE
|
|
|
32556
33355
|
return this.Get('__mj_UpdatedAt');
|
|
32557
33356
|
}
|
|
32558
33357
|
/**
|
|
33358
|
+
* * Field Name: EntityAction
|
|
33359
|
+
* * Display Name: Entity Action
|
|
33360
|
+
* * SQL Data Type: nvarchar(425)
|
|
33361
|
+
*/
|
|
33362
|
+
get EntityAction() {
|
|
33363
|
+
return this.Get('EntityAction');
|
|
33364
|
+
}
|
|
33365
|
+
/**
|
|
32559
33366
|
* * Field Name: ActionParam
|
|
32560
33367
|
* * Display Name: Action Param
|
|
32561
33368
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -33032,6 +33839,14 @@ let EntityCommunicationFieldEntity = class EntityCommunicationFieldEntity extend
|
|
|
33032
33839
|
get __mj_UpdatedAt() {
|
|
33033
33840
|
return this.Get('__mj_UpdatedAt');
|
|
33034
33841
|
}
|
|
33842
|
+
/**
|
|
33843
|
+
* * Field Name: EntityCommunicationMessageType
|
|
33844
|
+
* * Display Name: Entity Communication Message Type
|
|
33845
|
+
* * SQL Data Type: nvarchar(100)
|
|
33846
|
+
*/
|
|
33847
|
+
get EntityCommunicationMessageType() {
|
|
33848
|
+
return this.Get('EntityCommunicationMessageType');
|
|
33849
|
+
}
|
|
33035
33850
|
};
|
|
33036
33851
|
exports.EntityCommunicationFieldEntity = EntityCommunicationFieldEntity;
|
|
33037
33852
|
exports.EntityCommunicationFieldEntity = EntityCommunicationFieldEntity = __decorate([
|
|
@@ -35892,6 +36707,22 @@ let ErrorLogEntity = class ErrorLogEntity extends core_1.BaseEntity {
|
|
|
35892
36707
|
get __mj_UpdatedAt() {
|
|
35893
36708
|
return this.Get('__mj_UpdatedAt');
|
|
35894
36709
|
}
|
|
36710
|
+
/**
|
|
36711
|
+
* * Field Name: CompanyIntegrationRun
|
|
36712
|
+
* * Display Name: Company Integration Run
|
|
36713
|
+
* * SQL Data Type: nvarchar(100)
|
|
36714
|
+
*/
|
|
36715
|
+
get CompanyIntegrationRun() {
|
|
36716
|
+
return this.Get('CompanyIntegrationRun');
|
|
36717
|
+
}
|
|
36718
|
+
/**
|
|
36719
|
+
* * Field Name: CompanyIntegrationRunDetail
|
|
36720
|
+
* * Display Name: Company Integration Run Detail
|
|
36721
|
+
* * SQL Data Type: nvarchar(450)
|
|
36722
|
+
*/
|
|
36723
|
+
get CompanyIntegrationRunDetail() {
|
|
36724
|
+
return this.Get('CompanyIntegrationRunDetail');
|
|
36725
|
+
}
|
|
35895
36726
|
};
|
|
35896
36727
|
exports.ErrorLogEntity = ErrorLogEntity;
|
|
35897
36728
|
exports.ErrorLogEntity = ErrorLogEntity = __decorate([
|
|
@@ -36635,6 +37466,167 @@ exports.FileEntity = FileEntity;
|
|
|
36635
37466
|
exports.FileEntity = FileEntity = __decorate([
|
|
36636
37467
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Files')
|
|
36637
37468
|
], FileEntity);
|
|
37469
|
+
/**
|
|
37470
|
+
* Flyway _schema _histories - strongly typed entity sub-class
|
|
37471
|
+
* * Schema: __mj
|
|
37472
|
+
* * Base Table: flyway_schema_history
|
|
37473
|
+
* * Base View: vwFlyway_schema_histories
|
|
37474
|
+
* * Primary Key: installed_rank
|
|
37475
|
+
* @extends {BaseEntity}
|
|
37476
|
+
* @class
|
|
37477
|
+
* @public
|
|
37478
|
+
*/
|
|
37479
|
+
let flyway_schema_historyEntity = class flyway_schema_historyEntity extends core_1.BaseEntity {
|
|
37480
|
+
/**
|
|
37481
|
+
* Loads the Flyway _schema _histories record from the database
|
|
37482
|
+
* @param installed_rank: number - primary key value to load the Flyway _schema _histories record.
|
|
37483
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
37484
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
37485
|
+
* @public
|
|
37486
|
+
* @async
|
|
37487
|
+
* @memberof flyway_schema_historyEntity
|
|
37488
|
+
* @method
|
|
37489
|
+
* @override
|
|
37490
|
+
*/
|
|
37491
|
+
async Load(installed_rank, EntityRelationshipsToLoad) {
|
|
37492
|
+
const compositeKey = new core_1.CompositeKey();
|
|
37493
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'installed_rank', Value: installed_rank });
|
|
37494
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
37495
|
+
}
|
|
37496
|
+
/**
|
|
37497
|
+
* * Field Name: installed_rank
|
|
37498
|
+
* * Display Name: installed _rank
|
|
37499
|
+
* * SQL Data Type: int
|
|
37500
|
+
*/
|
|
37501
|
+
get installed_rank() {
|
|
37502
|
+
return this.Get('installed_rank');
|
|
37503
|
+
}
|
|
37504
|
+
set installed_rank(value) {
|
|
37505
|
+
this.Set('installed_rank', value);
|
|
37506
|
+
}
|
|
37507
|
+
/**
|
|
37508
|
+
* * Field Name: version
|
|
37509
|
+
* * Display Name: version
|
|
37510
|
+
* * SQL Data Type: nvarchar(50)
|
|
37511
|
+
*/
|
|
37512
|
+
get version() {
|
|
37513
|
+
return this.Get('version');
|
|
37514
|
+
}
|
|
37515
|
+
set version(value) {
|
|
37516
|
+
this.Set('version', value);
|
|
37517
|
+
}
|
|
37518
|
+
/**
|
|
37519
|
+
* * Field Name: description
|
|
37520
|
+
* * Display Name: description
|
|
37521
|
+
* * SQL Data Type: nvarchar(200)
|
|
37522
|
+
*/
|
|
37523
|
+
get description() {
|
|
37524
|
+
return this.Get('description');
|
|
37525
|
+
}
|
|
37526
|
+
set description(value) {
|
|
37527
|
+
this.Set('description', value);
|
|
37528
|
+
}
|
|
37529
|
+
/**
|
|
37530
|
+
* * Field Name: type
|
|
37531
|
+
* * Display Name: type
|
|
37532
|
+
* * SQL Data Type: nvarchar(20)
|
|
37533
|
+
*/
|
|
37534
|
+
get type() {
|
|
37535
|
+
return this.Get('type');
|
|
37536
|
+
}
|
|
37537
|
+
set type(value) {
|
|
37538
|
+
this.Set('type', value);
|
|
37539
|
+
}
|
|
37540
|
+
/**
|
|
37541
|
+
* * Field Name: script
|
|
37542
|
+
* * Display Name: script
|
|
37543
|
+
* * SQL Data Type: nvarchar(1000)
|
|
37544
|
+
*/
|
|
37545
|
+
get script() {
|
|
37546
|
+
return this.Get('script');
|
|
37547
|
+
}
|
|
37548
|
+
set script(value) {
|
|
37549
|
+
this.Set('script', value);
|
|
37550
|
+
}
|
|
37551
|
+
/**
|
|
37552
|
+
* * Field Name: checksum
|
|
37553
|
+
* * Display Name: checksum
|
|
37554
|
+
* * SQL Data Type: int
|
|
37555
|
+
*/
|
|
37556
|
+
get checksum() {
|
|
37557
|
+
return this.Get('checksum');
|
|
37558
|
+
}
|
|
37559
|
+
set checksum(value) {
|
|
37560
|
+
this.Set('checksum', value);
|
|
37561
|
+
}
|
|
37562
|
+
/**
|
|
37563
|
+
* * Field Name: installed_by
|
|
37564
|
+
* * Display Name: installed _by
|
|
37565
|
+
* * SQL Data Type: nvarchar(100)
|
|
37566
|
+
*/
|
|
37567
|
+
get installed_by() {
|
|
37568
|
+
return this.Get('installed_by');
|
|
37569
|
+
}
|
|
37570
|
+
set installed_by(value) {
|
|
37571
|
+
this.Set('installed_by', value);
|
|
37572
|
+
}
|
|
37573
|
+
/**
|
|
37574
|
+
* * Field Name: installed_on
|
|
37575
|
+
* * Display Name: installed _on
|
|
37576
|
+
* * SQL Data Type: datetime
|
|
37577
|
+
* * Default Value: getdate()
|
|
37578
|
+
*/
|
|
37579
|
+
get installed_on() {
|
|
37580
|
+
return this.Get('installed_on');
|
|
37581
|
+
}
|
|
37582
|
+
set installed_on(value) {
|
|
37583
|
+
this.Set('installed_on', value);
|
|
37584
|
+
}
|
|
37585
|
+
/**
|
|
37586
|
+
* * Field Name: execution_time
|
|
37587
|
+
* * Display Name: execution _time
|
|
37588
|
+
* * SQL Data Type: int
|
|
37589
|
+
*/
|
|
37590
|
+
get execution_time() {
|
|
37591
|
+
return this.Get('execution_time');
|
|
37592
|
+
}
|
|
37593
|
+
set execution_time(value) {
|
|
37594
|
+
this.Set('execution_time', value);
|
|
37595
|
+
}
|
|
37596
|
+
/**
|
|
37597
|
+
* * Field Name: success
|
|
37598
|
+
* * Display Name: success
|
|
37599
|
+
* * SQL Data Type: bit
|
|
37600
|
+
*/
|
|
37601
|
+
get success() {
|
|
37602
|
+
return this.Get('success');
|
|
37603
|
+
}
|
|
37604
|
+
set success(value) {
|
|
37605
|
+
this.Set('success', value);
|
|
37606
|
+
}
|
|
37607
|
+
/**
|
|
37608
|
+
* * Field Name: __mj_CreatedAt
|
|
37609
|
+
* * Display Name: Created At
|
|
37610
|
+
* * SQL Data Type: datetimeoffset
|
|
37611
|
+
* * Default Value: getutcdate()
|
|
37612
|
+
*/
|
|
37613
|
+
get __mj_CreatedAt() {
|
|
37614
|
+
return this.Get('__mj_CreatedAt');
|
|
37615
|
+
}
|
|
37616
|
+
/**
|
|
37617
|
+
* * Field Name: __mj_UpdatedAt
|
|
37618
|
+
* * Display Name: Updated At
|
|
37619
|
+
* * SQL Data Type: datetimeoffset
|
|
37620
|
+
* * Default Value: getutcdate()
|
|
37621
|
+
*/
|
|
37622
|
+
get __mj_UpdatedAt() {
|
|
37623
|
+
return this.Get('__mj_UpdatedAt');
|
|
37624
|
+
}
|
|
37625
|
+
};
|
|
37626
|
+
exports.flyway_schema_historyEntity = flyway_schema_historyEntity;
|
|
37627
|
+
exports.flyway_schema_historyEntity = flyway_schema_historyEntity = __decorate([
|
|
37628
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Flyway _schema _histories')
|
|
37629
|
+
], flyway_schema_historyEntity);
|
|
36638
37630
|
/**
|
|
36639
37631
|
* Generated Code Categories - strongly typed entity sub-class
|
|
36640
37632
|
* * Schema: __mj
|
|
@@ -38505,6 +39497,7 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38505
39497
|
}
|
|
38506
39498
|
/**
|
|
38507
39499
|
* Validate() method override for MJ: AI Agent Data Sources entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
39500
|
+
* * ResultType: Result Type can be left blank or set only to the values 'entity_object' or 'simple'. Any other value is not allowed, ensuring that the system only processes recognized result formats.
|
|
38508
39501
|
* * Table-Level: This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
38509
39502
|
* * Table-Level: This rule makes sure that if the source type is 'RunView', the entity name must be provided. If the source type is anything else, the entity name can be left blank.
|
|
38510
39503
|
* * Table-Level: This rule ensures that when the Source Type is set to 'RunQuery', a Query Name must be provided. If Source Type is anything other than 'RunQuery', Query Name is optional.
|
|
@@ -38514,6 +39507,7 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38514
39507
|
*/
|
|
38515
39508
|
Validate() {
|
|
38516
39509
|
const result = super.Validate();
|
|
39510
|
+
this.ValidateResultTypeAllowedValues(result);
|
|
38517
39511
|
this.ValidateCacheTimeoutSecondsRequiredForPerAgentPolicy(result);
|
|
38518
39512
|
this.ValidateEntityNameRequiredWhenSourceTypeRunView(result);
|
|
38519
39513
|
this.ValidateQueryNameRequiredWhenSourceTypeIsRunQuery(result);
|
|
@@ -38521,6 +39515,18 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38521
39515
|
return result;
|
|
38522
39516
|
}
|
|
38523
39517
|
/**
|
|
39518
|
+
* Result Type can be left blank or set only to the values 'entity_object' or 'simple'. Any other value is not allowed, ensuring that the system only processes recognized result formats.
|
|
39519
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
39520
|
+
* @public
|
|
39521
|
+
* @method
|
|
39522
|
+
*/
|
|
39523
|
+
ValidateResultTypeAllowedValues(result) {
|
|
39524
|
+
// If ResultType has a value, ensure it is one of the permitted options
|
|
39525
|
+
if (this.ResultType != null && this.ResultType !== 'entity_object' && this.ResultType !== 'simple') {
|
|
39526
|
+
result.Errors.push(new core_1.ValidationErrorInfo("ResultType", "Result Type must be either 'entity_object' or 'simple' when specified", this.ResultType, core_1.ValidationErrorType.Failure));
|
|
39527
|
+
}
|
|
39528
|
+
}
|
|
39529
|
+
/**
|
|
38524
39530
|
* This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
38525
39531
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
38526
39532
|
* @public
|
|
@@ -39145,6 +40151,22 @@ let AIAgentExampleEntity = class AIAgentExampleEntity extends core_1.BaseEntity
|
|
|
39145
40151
|
return this.Get('SourceConversation');
|
|
39146
40152
|
}
|
|
39147
40153
|
/**
|
|
40154
|
+
* * Field Name: SourceConversationDetail
|
|
40155
|
+
* * Display Name: Source Conversation Detail
|
|
40156
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40157
|
+
*/
|
|
40158
|
+
get SourceConversationDetail() {
|
|
40159
|
+
return this.Get('SourceConversationDetail');
|
|
40160
|
+
}
|
|
40161
|
+
/**
|
|
40162
|
+
* * Field Name: SourceAIAgentRun
|
|
40163
|
+
* * Display Name: Source AI Agent Run
|
|
40164
|
+
* * SQL Data Type: nvarchar(255)
|
|
40165
|
+
*/
|
|
40166
|
+
get SourceAIAgentRun() {
|
|
40167
|
+
return this.Get('SourceAIAgentRun');
|
|
40168
|
+
}
|
|
40169
|
+
/**
|
|
39148
40170
|
* * Field Name: EmbeddingModel
|
|
39149
40171
|
* * Display Name: Embedding Model
|
|
39150
40172
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -39969,6 +40991,282 @@ exports.AIAgentRelationshipEntity = AIAgentRelationshipEntity;
|
|
|
39969
40991
|
exports.AIAgentRelationshipEntity = AIAgentRelationshipEntity = __decorate([
|
|
39970
40992
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Relationships')
|
|
39971
40993
|
], AIAgentRelationshipEntity);
|
|
40994
|
+
/**
|
|
40995
|
+
* MJ: AI Agent Run Medias - strongly typed entity sub-class
|
|
40996
|
+
* * Schema: __mj
|
|
40997
|
+
* * Base Table: AIAgentRunMedia
|
|
40998
|
+
* * Base View: vwAIAgentRunMedias
|
|
40999
|
+
* * Primary Key: ID
|
|
41000
|
+
* @extends {BaseEntity}
|
|
41001
|
+
* @class
|
|
41002
|
+
* @public
|
|
41003
|
+
*/
|
|
41004
|
+
let AIAgentRunMediaEntity = class AIAgentRunMediaEntity extends core_1.BaseEntity {
|
|
41005
|
+
/**
|
|
41006
|
+
* Loads the MJ: AI Agent Run Medias record from the database
|
|
41007
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Run Medias record.
|
|
41008
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
41009
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
41010
|
+
* @public
|
|
41011
|
+
* @async
|
|
41012
|
+
* @memberof AIAgentRunMediaEntity
|
|
41013
|
+
* @method
|
|
41014
|
+
* @override
|
|
41015
|
+
*/
|
|
41016
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
41017
|
+
const compositeKey = new core_1.CompositeKey();
|
|
41018
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
41019
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
41020
|
+
}
|
|
41021
|
+
/**
|
|
41022
|
+
* * Field Name: ID
|
|
41023
|
+
* * Display Name: ID
|
|
41024
|
+
* * SQL Data Type: uniqueidentifier
|
|
41025
|
+
* * Default Value: newsequentialid()
|
|
41026
|
+
*/
|
|
41027
|
+
get ID() {
|
|
41028
|
+
return this.Get('ID');
|
|
41029
|
+
}
|
|
41030
|
+
set ID(value) {
|
|
41031
|
+
this.Set('ID', value);
|
|
41032
|
+
}
|
|
41033
|
+
/**
|
|
41034
|
+
* * Field Name: AgentRunID
|
|
41035
|
+
* * Display Name: Agent Run
|
|
41036
|
+
* * SQL Data Type: uniqueidentifier
|
|
41037
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
41038
|
+
*/
|
|
41039
|
+
get AgentRunID() {
|
|
41040
|
+
return this.Get('AgentRunID');
|
|
41041
|
+
}
|
|
41042
|
+
set AgentRunID(value) {
|
|
41043
|
+
this.Set('AgentRunID', value);
|
|
41044
|
+
}
|
|
41045
|
+
/**
|
|
41046
|
+
* * Field Name: SourcePromptRunMediaID
|
|
41047
|
+
* * Display Name: Source Prompt Run Media
|
|
41048
|
+
* * SQL Data Type: uniqueidentifier
|
|
41049
|
+
* * Related Entity/Foreign Key: MJ: AI Prompt Run Medias (vwAIPromptRunMedias.ID)
|
|
41050
|
+
*/
|
|
41051
|
+
get SourcePromptRunMediaID() {
|
|
41052
|
+
return this.Get('SourcePromptRunMediaID');
|
|
41053
|
+
}
|
|
41054
|
+
set SourcePromptRunMediaID(value) {
|
|
41055
|
+
this.Set('SourcePromptRunMediaID', value);
|
|
41056
|
+
}
|
|
41057
|
+
/**
|
|
41058
|
+
* * Field Name: ModalityID
|
|
41059
|
+
* * Display Name: Modality
|
|
41060
|
+
* * SQL Data Type: uniqueidentifier
|
|
41061
|
+
* * Related Entity/Foreign Key: MJ: AI Modalities (vwAIModalities.ID)
|
|
41062
|
+
*/
|
|
41063
|
+
get ModalityID() {
|
|
41064
|
+
return this.Get('ModalityID');
|
|
41065
|
+
}
|
|
41066
|
+
set ModalityID(value) {
|
|
41067
|
+
this.Set('ModalityID', value);
|
|
41068
|
+
}
|
|
41069
|
+
/**
|
|
41070
|
+
* * Field Name: MimeType
|
|
41071
|
+
* * Display Name: Mime Type
|
|
41072
|
+
* * SQL Data Type: nvarchar(100)
|
|
41073
|
+
*/
|
|
41074
|
+
get MimeType() {
|
|
41075
|
+
return this.Get('MimeType');
|
|
41076
|
+
}
|
|
41077
|
+
set MimeType(value) {
|
|
41078
|
+
this.Set('MimeType', value);
|
|
41079
|
+
}
|
|
41080
|
+
/**
|
|
41081
|
+
* * Field Name: FileName
|
|
41082
|
+
* * Display Name: File Name
|
|
41083
|
+
* * SQL Data Type: nvarchar(255)
|
|
41084
|
+
*/
|
|
41085
|
+
get FileName() {
|
|
41086
|
+
return this.Get('FileName');
|
|
41087
|
+
}
|
|
41088
|
+
set FileName(value) {
|
|
41089
|
+
this.Set('FileName', value);
|
|
41090
|
+
}
|
|
41091
|
+
/**
|
|
41092
|
+
* * Field Name: FileSizeBytes
|
|
41093
|
+
* * Display Name: File Size Bytes
|
|
41094
|
+
* * SQL Data Type: int
|
|
41095
|
+
*/
|
|
41096
|
+
get FileSizeBytes() {
|
|
41097
|
+
return this.Get('FileSizeBytes');
|
|
41098
|
+
}
|
|
41099
|
+
set FileSizeBytes(value) {
|
|
41100
|
+
this.Set('FileSizeBytes', value);
|
|
41101
|
+
}
|
|
41102
|
+
/**
|
|
41103
|
+
* * Field Name: Width
|
|
41104
|
+
* * Display Name: Width
|
|
41105
|
+
* * SQL Data Type: int
|
|
41106
|
+
*/
|
|
41107
|
+
get Width() {
|
|
41108
|
+
return this.Get('Width');
|
|
41109
|
+
}
|
|
41110
|
+
set Width(value) {
|
|
41111
|
+
this.Set('Width', value);
|
|
41112
|
+
}
|
|
41113
|
+
/**
|
|
41114
|
+
* * Field Name: Height
|
|
41115
|
+
* * Display Name: Height
|
|
41116
|
+
* * SQL Data Type: int
|
|
41117
|
+
*/
|
|
41118
|
+
get Height() {
|
|
41119
|
+
return this.Get('Height');
|
|
41120
|
+
}
|
|
41121
|
+
set Height(value) {
|
|
41122
|
+
this.Set('Height', value);
|
|
41123
|
+
}
|
|
41124
|
+
/**
|
|
41125
|
+
* * Field Name: DurationSeconds
|
|
41126
|
+
* * Display Name: Duration Seconds
|
|
41127
|
+
* * SQL Data Type: decimal(10, 2)
|
|
41128
|
+
*/
|
|
41129
|
+
get DurationSeconds() {
|
|
41130
|
+
return this.Get('DurationSeconds');
|
|
41131
|
+
}
|
|
41132
|
+
set DurationSeconds(value) {
|
|
41133
|
+
this.Set('DurationSeconds', value);
|
|
41134
|
+
}
|
|
41135
|
+
/**
|
|
41136
|
+
* * Field Name: InlineData
|
|
41137
|
+
* * Display Name: Inline Data
|
|
41138
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41139
|
+
*/
|
|
41140
|
+
get InlineData() {
|
|
41141
|
+
return this.Get('InlineData');
|
|
41142
|
+
}
|
|
41143
|
+
set InlineData(value) {
|
|
41144
|
+
this.Set('InlineData', value);
|
|
41145
|
+
}
|
|
41146
|
+
/**
|
|
41147
|
+
* * Field Name: FileID
|
|
41148
|
+
* * Display Name: File ID
|
|
41149
|
+
* * SQL Data Type: uniqueidentifier
|
|
41150
|
+
* * Related Entity/Foreign Key: Files (vwFiles.ID)
|
|
41151
|
+
*/
|
|
41152
|
+
get FileID() {
|
|
41153
|
+
return this.Get('FileID');
|
|
41154
|
+
}
|
|
41155
|
+
set FileID(value) {
|
|
41156
|
+
this.Set('FileID', value);
|
|
41157
|
+
}
|
|
41158
|
+
/**
|
|
41159
|
+
* * Field Name: ThumbnailBase64
|
|
41160
|
+
* * Display Name: Thumbnail Base64
|
|
41161
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41162
|
+
*/
|
|
41163
|
+
get ThumbnailBase64() {
|
|
41164
|
+
return this.Get('ThumbnailBase64');
|
|
41165
|
+
}
|
|
41166
|
+
set ThumbnailBase64(value) {
|
|
41167
|
+
this.Set('ThumbnailBase64', value);
|
|
41168
|
+
}
|
|
41169
|
+
/**
|
|
41170
|
+
* * Field Name: Label
|
|
41171
|
+
* * Display Name: Label
|
|
41172
|
+
* * SQL Data Type: nvarchar(255)
|
|
41173
|
+
*/
|
|
41174
|
+
get Label() {
|
|
41175
|
+
return this.Get('Label');
|
|
41176
|
+
}
|
|
41177
|
+
set Label(value) {
|
|
41178
|
+
this.Set('Label', value);
|
|
41179
|
+
}
|
|
41180
|
+
/**
|
|
41181
|
+
* * Field Name: Metadata
|
|
41182
|
+
* * Display Name: Metadata
|
|
41183
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41184
|
+
*/
|
|
41185
|
+
get Metadata() {
|
|
41186
|
+
return this.Get('Metadata');
|
|
41187
|
+
}
|
|
41188
|
+
set Metadata(value) {
|
|
41189
|
+
this.Set('Metadata', value);
|
|
41190
|
+
}
|
|
41191
|
+
/**
|
|
41192
|
+
* * Field Name: DisplayOrder
|
|
41193
|
+
* * Display Name: Display Order
|
|
41194
|
+
* * SQL Data Type: int
|
|
41195
|
+
* * Default Value: 0
|
|
41196
|
+
*/
|
|
41197
|
+
get DisplayOrder() {
|
|
41198
|
+
return this.Get('DisplayOrder');
|
|
41199
|
+
}
|
|
41200
|
+
set DisplayOrder(value) {
|
|
41201
|
+
this.Set('DisplayOrder', value);
|
|
41202
|
+
}
|
|
41203
|
+
/**
|
|
41204
|
+
* * Field Name: __mj_CreatedAt
|
|
41205
|
+
* * Display Name: Created At
|
|
41206
|
+
* * SQL Data Type: datetimeoffset
|
|
41207
|
+
* * Default Value: getutcdate()
|
|
41208
|
+
*/
|
|
41209
|
+
get __mj_CreatedAt() {
|
|
41210
|
+
return this.Get('__mj_CreatedAt');
|
|
41211
|
+
}
|
|
41212
|
+
/**
|
|
41213
|
+
* * Field Name: __mj_UpdatedAt
|
|
41214
|
+
* * Display Name: Updated At
|
|
41215
|
+
* * SQL Data Type: datetimeoffset
|
|
41216
|
+
* * Default Value: getutcdate()
|
|
41217
|
+
*/
|
|
41218
|
+
get __mj_UpdatedAt() {
|
|
41219
|
+
return this.Get('__mj_UpdatedAt');
|
|
41220
|
+
}
|
|
41221
|
+
/**
|
|
41222
|
+
* * Field Name: Description
|
|
41223
|
+
* * Display Name: Description
|
|
41224
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41225
|
+
* * Description: Agent notes describing what this media represents. Used for internal tracking and can be displayed in UI.
|
|
41226
|
+
*/
|
|
41227
|
+
get Description() {
|
|
41228
|
+
return this.Get('Description');
|
|
41229
|
+
}
|
|
41230
|
+
set Description(value) {
|
|
41231
|
+
this.Set('Description', value);
|
|
41232
|
+
}
|
|
41233
|
+
/**
|
|
41234
|
+
* * Field Name: AgentRun
|
|
41235
|
+
* * Display Name: Agent Run
|
|
41236
|
+
* * SQL Data Type: nvarchar(255)
|
|
41237
|
+
*/
|
|
41238
|
+
get AgentRun() {
|
|
41239
|
+
return this.Get('AgentRun');
|
|
41240
|
+
}
|
|
41241
|
+
/**
|
|
41242
|
+
* * Field Name: SourcePromptRunMedia
|
|
41243
|
+
* * Display Name: Source Prompt Run Media
|
|
41244
|
+
* * SQL Data Type: nvarchar(255)
|
|
41245
|
+
*/
|
|
41246
|
+
get SourcePromptRunMedia() {
|
|
41247
|
+
return this.Get('SourcePromptRunMedia');
|
|
41248
|
+
}
|
|
41249
|
+
/**
|
|
41250
|
+
* * Field Name: Modality
|
|
41251
|
+
* * Display Name: Modality
|
|
41252
|
+
* * SQL Data Type: nvarchar(50)
|
|
41253
|
+
*/
|
|
41254
|
+
get Modality() {
|
|
41255
|
+
return this.Get('Modality');
|
|
41256
|
+
}
|
|
41257
|
+
/**
|
|
41258
|
+
* * Field Name: File
|
|
41259
|
+
* * Display Name: File
|
|
41260
|
+
* * SQL Data Type: nvarchar(500)
|
|
41261
|
+
*/
|
|
41262
|
+
get File() {
|
|
41263
|
+
return this.Get('File');
|
|
41264
|
+
}
|
|
41265
|
+
};
|
|
41266
|
+
exports.AIAgentRunMediaEntity = AIAgentRunMediaEntity;
|
|
41267
|
+
exports.AIAgentRunMediaEntity = AIAgentRunMediaEntity = __decorate([
|
|
41268
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Run Medias')
|
|
41269
|
+
], AIAgentRunMediaEntity);
|
|
39972
41270
|
/**
|
|
39973
41271
|
* MJ: AI Agent Run Steps - strongly typed entity sub-class
|
|
39974
41272
|
* * Schema: __mj
|
|
@@ -39999,6 +41297,7 @@ let AIAgentRunStepEntity = class AIAgentRunStepEntity extends core_1.BaseEntity
|
|
|
39999
41297
|
}
|
|
40000
41298
|
/**
|
|
40001
41299
|
* Validate() method override for MJ: AI Agent Run Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
41300
|
+
* * FinalPayloadValidationResult: The FinalPayloadValidationResult field can be empty, but if a value is set it must be one of the allowed outcomes: Warn, Fail, Retry, or Pass. This ensures that only valid validation results are stored.
|
|
40002
41301
|
* * StepNumber: This rule ensures that the step number must be greater than zero.
|
|
40003
41302
|
* @public
|
|
40004
41303
|
* @method
|
|
@@ -40006,11 +41305,28 @@ let AIAgentRunStepEntity = class AIAgentRunStepEntity extends core_1.BaseEntity
|
|
|
40006
41305
|
*/
|
|
40007
41306
|
Validate() {
|
|
40008
41307
|
const result = super.Validate();
|
|
41308
|
+
this.ValidateFinalPayloadValidationResultAllowedValues(result);
|
|
40009
41309
|
this.ValidateStepNumberGreaterThanZero(result);
|
|
40010
41310
|
result.Success = result.Success && (result.Errors.length === 0);
|
|
40011
41311
|
return result;
|
|
40012
41312
|
}
|
|
40013
41313
|
/**
|
|
41314
|
+
* The FinalPayloadValidationResult field can be empty, but if a value is set it must be one of the allowed outcomes: Warn, Fail, Retry, or Pass. This ensures that only valid validation results are stored.
|
|
41315
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
41316
|
+
* @public
|
|
41317
|
+
* @method
|
|
41318
|
+
*/
|
|
41319
|
+
ValidateFinalPayloadValidationResultAllowedValues(result) {
|
|
41320
|
+
// Ensure the value is either null or one of the permitted statuses
|
|
41321
|
+
if (this.FinalPayloadValidationResult != null &&
|
|
41322
|
+
!(this.FinalPayloadValidationResult === 'Warn' ||
|
|
41323
|
+
this.FinalPayloadValidationResult === 'Fail' ||
|
|
41324
|
+
this.FinalPayloadValidationResult === 'Retry' ||
|
|
41325
|
+
this.FinalPayloadValidationResult === 'Pass')) {
|
|
41326
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FinalPayloadValidationResult", "FinalPayloadValidationResult must be one of: Warn, Fail, Retry, Pass, or left empty.", this.FinalPayloadValidationResult, core_1.ValidationErrorType.Failure));
|
|
41327
|
+
}
|
|
41328
|
+
}
|
|
41329
|
+
/**
|
|
40014
41330
|
* This rule ensures that the step number must be greater than zero.
|
|
40015
41331
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
40016
41332
|
* @public
|
|
@@ -40315,6 +41631,22 @@ detailed information about what validation rules failed.
|
|
|
40315
41631
|
this.Set('Comments', value);
|
|
40316
41632
|
}
|
|
40317
41633
|
/**
|
|
41634
|
+
* * Field Name: AgentRun
|
|
41635
|
+
* * Display Name: Agent Run
|
|
41636
|
+
* * SQL Data Type: nvarchar(255)
|
|
41637
|
+
*/
|
|
41638
|
+
get AgentRun() {
|
|
41639
|
+
return this.Get('AgentRun');
|
|
41640
|
+
}
|
|
41641
|
+
/**
|
|
41642
|
+
* * Field Name: Parent
|
|
41643
|
+
* * Display Name: Parent
|
|
41644
|
+
* * SQL Data Type: nvarchar(255)
|
|
41645
|
+
*/
|
|
41646
|
+
get Parent() {
|
|
41647
|
+
return this.Get('Parent');
|
|
41648
|
+
}
|
|
41649
|
+
/**
|
|
40318
41650
|
* * Field Name: RootParentID
|
|
40319
41651
|
* * Display Name: Root Parent ID
|
|
40320
41652
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -40358,6 +41690,7 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40358
41690
|
/**
|
|
40359
41691
|
* Validate() method override for MJ: AI Agent Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
40360
41692
|
* * EffortLevel: This rule ensures that the effort level, if specified, must be a number between 1 and 100, inclusive.
|
|
41693
|
+
* * FinalStep: The FinalStep field can be left empty, but if a value is provided it must be one of the approved step names – While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, or Success. This ensures only valid workflow steps are recorded.
|
|
40361
41694
|
* @public
|
|
40362
41695
|
* @method
|
|
40363
41696
|
* @override
|
|
@@ -40365,6 +41698,7 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40365
41698
|
Validate() {
|
|
40366
41699
|
const result = super.Validate();
|
|
40367
41700
|
this.ValidateEffortLevelBetween1And100(result);
|
|
41701
|
+
this.ValidateFinalStepAllowedValues(result);
|
|
40368
41702
|
result.Success = result.Success && (result.Errors.length === 0);
|
|
40369
41703
|
return result;
|
|
40370
41704
|
}
|
|
@@ -40380,6 +41714,22 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40380
41714
|
}
|
|
40381
41715
|
}
|
|
40382
41716
|
/**
|
|
41717
|
+
* The FinalStep field can be left empty, but if a value is provided it must be one of the approved step names – While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, or Success. This ensures only valid workflow steps are recorded.
|
|
41718
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
41719
|
+
* @public
|
|
41720
|
+
* @method
|
|
41721
|
+
*/
|
|
41722
|
+
ValidateFinalStepAllowedValues(result) {
|
|
41723
|
+
// If FinalStep has a value, it must be one of the permitted options
|
|
41724
|
+
if (this.FinalStep != null) {
|
|
41725
|
+
const allowed = ["While", "ForEach", "Chat", "Sub-Agent", "Actions", "Retry", "Failed", "Success"];
|
|
41726
|
+
const allowedValues = allowed.join(", ");
|
|
41727
|
+
if (!allowed.includes(this.FinalStep)) {
|
|
41728
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FinalStep", "FinalStep must be one of the allowed values: " + allowedValues + ".", this.FinalStep, core_1.ValidationErrorType.Failure));
|
|
41729
|
+
}
|
|
41730
|
+
}
|
|
41731
|
+
}
|
|
41732
|
+
/**
|
|
40383
41733
|
* * Field Name: ID
|
|
40384
41734
|
* * Display Name: ID
|
|
40385
41735
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -40988,6 +42338,14 @@ each time the agent processes a prompt step.
|
|
|
40988
42338
|
return this.Get('ScheduledJobRun');
|
|
40989
42339
|
}
|
|
40990
42340
|
/**
|
|
42341
|
+
* * Field Name: TestRun
|
|
42342
|
+
* * Display Name: Test Run
|
|
42343
|
+
* * SQL Data Type: nvarchar(255)
|
|
42344
|
+
*/
|
|
42345
|
+
get TestRun() {
|
|
42346
|
+
return this.Get('TestRun');
|
|
42347
|
+
}
|
|
42348
|
+
/**
|
|
40991
42349
|
* * Field Name: RootParentRunID
|
|
40992
42350
|
* * Display Name: Root Parent Run ID
|
|
40993
42351
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -44319,6 +45677,251 @@ exports.AIPromptModelEntity = AIPromptModelEntity;
|
|
|
44319
45677
|
exports.AIPromptModelEntity = AIPromptModelEntity = __decorate([
|
|
44320
45678
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Prompt Models')
|
|
44321
45679
|
], AIPromptModelEntity);
|
|
45680
|
+
/**
|
|
45681
|
+
* MJ: AI Prompt Run Medias - strongly typed entity sub-class
|
|
45682
|
+
* * Schema: __mj
|
|
45683
|
+
* * Base Table: AIPromptRunMedia
|
|
45684
|
+
* * Base View: vwAIPromptRunMedias
|
|
45685
|
+
* * Primary Key: ID
|
|
45686
|
+
* @extends {BaseEntity}
|
|
45687
|
+
* @class
|
|
45688
|
+
* @public
|
|
45689
|
+
*/
|
|
45690
|
+
let AIPromptRunMediaEntity = class AIPromptRunMediaEntity extends core_1.BaseEntity {
|
|
45691
|
+
/**
|
|
45692
|
+
* Loads the MJ: AI Prompt Run Medias record from the database
|
|
45693
|
+
* @param ID: string - primary key value to load the MJ: AI Prompt Run Medias record.
|
|
45694
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
45695
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
45696
|
+
* @public
|
|
45697
|
+
* @async
|
|
45698
|
+
* @memberof AIPromptRunMediaEntity
|
|
45699
|
+
* @method
|
|
45700
|
+
* @override
|
|
45701
|
+
*/
|
|
45702
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
45703
|
+
const compositeKey = new core_1.CompositeKey();
|
|
45704
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
45705
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
45706
|
+
}
|
|
45707
|
+
/**
|
|
45708
|
+
* * Field Name: ID
|
|
45709
|
+
* * Display Name: ID
|
|
45710
|
+
* * SQL Data Type: uniqueidentifier
|
|
45711
|
+
* * Default Value: newsequentialid()
|
|
45712
|
+
*/
|
|
45713
|
+
get ID() {
|
|
45714
|
+
return this.Get('ID');
|
|
45715
|
+
}
|
|
45716
|
+
set ID(value) {
|
|
45717
|
+
this.Set('ID', value);
|
|
45718
|
+
}
|
|
45719
|
+
/**
|
|
45720
|
+
* * Field Name: PromptRunID
|
|
45721
|
+
* * Display Name: Prompt Run
|
|
45722
|
+
* * SQL Data Type: uniqueidentifier
|
|
45723
|
+
* * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)
|
|
45724
|
+
*/
|
|
45725
|
+
get PromptRunID() {
|
|
45726
|
+
return this.Get('PromptRunID');
|
|
45727
|
+
}
|
|
45728
|
+
set PromptRunID(value) {
|
|
45729
|
+
this.Set('PromptRunID', value);
|
|
45730
|
+
}
|
|
45731
|
+
/**
|
|
45732
|
+
* * Field Name: ModalityID
|
|
45733
|
+
* * Display Name: Modality
|
|
45734
|
+
* * SQL Data Type: uniqueidentifier
|
|
45735
|
+
* * Related Entity/Foreign Key: MJ: AI Modalities (vwAIModalities.ID)
|
|
45736
|
+
*/
|
|
45737
|
+
get ModalityID() {
|
|
45738
|
+
return this.Get('ModalityID');
|
|
45739
|
+
}
|
|
45740
|
+
set ModalityID(value) {
|
|
45741
|
+
this.Set('ModalityID', value);
|
|
45742
|
+
}
|
|
45743
|
+
/**
|
|
45744
|
+
* * Field Name: MimeType
|
|
45745
|
+
* * Display Name: MIME Type
|
|
45746
|
+
* * SQL Data Type: nvarchar(100)
|
|
45747
|
+
*/
|
|
45748
|
+
get MimeType() {
|
|
45749
|
+
return this.Get('MimeType');
|
|
45750
|
+
}
|
|
45751
|
+
set MimeType(value) {
|
|
45752
|
+
this.Set('MimeType', value);
|
|
45753
|
+
}
|
|
45754
|
+
/**
|
|
45755
|
+
* * Field Name: FileName
|
|
45756
|
+
* * Display Name: File Name
|
|
45757
|
+
* * SQL Data Type: nvarchar(255)
|
|
45758
|
+
*/
|
|
45759
|
+
get FileName() {
|
|
45760
|
+
return this.Get('FileName');
|
|
45761
|
+
}
|
|
45762
|
+
set FileName(value) {
|
|
45763
|
+
this.Set('FileName', value);
|
|
45764
|
+
}
|
|
45765
|
+
/**
|
|
45766
|
+
* * Field Name: FileSizeBytes
|
|
45767
|
+
* * Display Name: File Size (Bytes)
|
|
45768
|
+
* * SQL Data Type: int
|
|
45769
|
+
*/
|
|
45770
|
+
get FileSizeBytes() {
|
|
45771
|
+
return this.Get('FileSizeBytes');
|
|
45772
|
+
}
|
|
45773
|
+
set FileSizeBytes(value) {
|
|
45774
|
+
this.Set('FileSizeBytes', value);
|
|
45775
|
+
}
|
|
45776
|
+
/**
|
|
45777
|
+
* * Field Name: Width
|
|
45778
|
+
* * Display Name: Width
|
|
45779
|
+
* * SQL Data Type: int
|
|
45780
|
+
*/
|
|
45781
|
+
get Width() {
|
|
45782
|
+
return this.Get('Width');
|
|
45783
|
+
}
|
|
45784
|
+
set Width(value) {
|
|
45785
|
+
this.Set('Width', value);
|
|
45786
|
+
}
|
|
45787
|
+
/**
|
|
45788
|
+
* * Field Name: Height
|
|
45789
|
+
* * Display Name: Height
|
|
45790
|
+
* * SQL Data Type: int
|
|
45791
|
+
*/
|
|
45792
|
+
get Height() {
|
|
45793
|
+
return this.Get('Height');
|
|
45794
|
+
}
|
|
45795
|
+
set Height(value) {
|
|
45796
|
+
this.Set('Height', value);
|
|
45797
|
+
}
|
|
45798
|
+
/**
|
|
45799
|
+
* * Field Name: DurationSeconds
|
|
45800
|
+
* * Display Name: Duration (Seconds)
|
|
45801
|
+
* * SQL Data Type: decimal(10, 2)
|
|
45802
|
+
*/
|
|
45803
|
+
get DurationSeconds() {
|
|
45804
|
+
return this.Get('DurationSeconds');
|
|
45805
|
+
}
|
|
45806
|
+
set DurationSeconds(value) {
|
|
45807
|
+
this.Set('DurationSeconds', value);
|
|
45808
|
+
}
|
|
45809
|
+
/**
|
|
45810
|
+
* * Field Name: InlineData
|
|
45811
|
+
* * Display Name: Inline Data
|
|
45812
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
45813
|
+
*/
|
|
45814
|
+
get InlineData() {
|
|
45815
|
+
return this.Get('InlineData');
|
|
45816
|
+
}
|
|
45817
|
+
set InlineData(value) {
|
|
45818
|
+
this.Set('InlineData', value);
|
|
45819
|
+
}
|
|
45820
|
+
/**
|
|
45821
|
+
* * Field Name: FileID
|
|
45822
|
+
* * Display Name: File ID
|
|
45823
|
+
* * SQL Data Type: uniqueidentifier
|
|
45824
|
+
* * Related Entity/Foreign Key: Files (vwFiles.ID)
|
|
45825
|
+
*/
|
|
45826
|
+
get FileID() {
|
|
45827
|
+
return this.Get('FileID');
|
|
45828
|
+
}
|
|
45829
|
+
set FileID(value) {
|
|
45830
|
+
this.Set('FileID', value);
|
|
45831
|
+
}
|
|
45832
|
+
/**
|
|
45833
|
+
* * Field Name: ThumbnailBase64
|
|
45834
|
+
* * Display Name: Thumbnail (Base64)
|
|
45835
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
45836
|
+
*/
|
|
45837
|
+
get ThumbnailBase64() {
|
|
45838
|
+
return this.Get('ThumbnailBase64');
|
|
45839
|
+
}
|
|
45840
|
+
set ThumbnailBase64(value) {
|
|
45841
|
+
this.Set('ThumbnailBase64', value);
|
|
45842
|
+
}
|
|
45843
|
+
/**
|
|
45844
|
+
* * Field Name: Metadata
|
|
45845
|
+
* * Display Name: Metadata
|
|
45846
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
45847
|
+
*/
|
|
45848
|
+
get Metadata() {
|
|
45849
|
+
return this.Get('Metadata');
|
|
45850
|
+
}
|
|
45851
|
+
set Metadata(value) {
|
|
45852
|
+
this.Set('Metadata', value);
|
|
45853
|
+
}
|
|
45854
|
+
/**
|
|
45855
|
+
* * Field Name: DisplayOrder
|
|
45856
|
+
* * Display Name: Display Order
|
|
45857
|
+
* * SQL Data Type: int
|
|
45858
|
+
* * Default Value: 0
|
|
45859
|
+
*/
|
|
45860
|
+
get DisplayOrder() {
|
|
45861
|
+
return this.Get('DisplayOrder');
|
|
45862
|
+
}
|
|
45863
|
+
set DisplayOrder(value) {
|
|
45864
|
+
this.Set('DisplayOrder', value);
|
|
45865
|
+
}
|
|
45866
|
+
/**
|
|
45867
|
+
* * Field Name: __mj_CreatedAt
|
|
45868
|
+
* * Display Name: Created At
|
|
45869
|
+
* * SQL Data Type: datetimeoffset
|
|
45870
|
+
* * Default Value: getutcdate()
|
|
45871
|
+
*/
|
|
45872
|
+
get __mj_CreatedAt() {
|
|
45873
|
+
return this.Get('__mj_CreatedAt');
|
|
45874
|
+
}
|
|
45875
|
+
/**
|
|
45876
|
+
* * Field Name: __mj_UpdatedAt
|
|
45877
|
+
* * Display Name: Updated At
|
|
45878
|
+
* * SQL Data Type: datetimeoffset
|
|
45879
|
+
* * Default Value: getutcdate()
|
|
45880
|
+
*/
|
|
45881
|
+
get __mj_UpdatedAt() {
|
|
45882
|
+
return this.Get('__mj_UpdatedAt');
|
|
45883
|
+
}
|
|
45884
|
+
/**
|
|
45885
|
+
* * Field Name: Description
|
|
45886
|
+
* * Display Name: Description
|
|
45887
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
45888
|
+
* * Description: Description of the media generated during prompt execution. Provides context for audit trail.
|
|
45889
|
+
*/
|
|
45890
|
+
get Description() {
|
|
45891
|
+
return this.Get('Description');
|
|
45892
|
+
}
|
|
45893
|
+
set Description(value) {
|
|
45894
|
+
this.Set('Description', value);
|
|
45895
|
+
}
|
|
45896
|
+
/**
|
|
45897
|
+
* * Field Name: PromptRun
|
|
45898
|
+
* * Display Name: Prompt Run
|
|
45899
|
+
* * SQL Data Type: nvarchar(255)
|
|
45900
|
+
*/
|
|
45901
|
+
get PromptRun() {
|
|
45902
|
+
return this.Get('PromptRun');
|
|
45903
|
+
}
|
|
45904
|
+
/**
|
|
45905
|
+
* * Field Name: Modality
|
|
45906
|
+
* * Display Name: Modality
|
|
45907
|
+
* * SQL Data Type: nvarchar(50)
|
|
45908
|
+
*/
|
|
45909
|
+
get Modality() {
|
|
45910
|
+
return this.Get('Modality');
|
|
45911
|
+
}
|
|
45912
|
+
/**
|
|
45913
|
+
* * Field Name: File
|
|
45914
|
+
* * Display Name: File
|
|
45915
|
+
* * SQL Data Type: nvarchar(500)
|
|
45916
|
+
*/
|
|
45917
|
+
get File() {
|
|
45918
|
+
return this.Get('File');
|
|
45919
|
+
}
|
|
45920
|
+
};
|
|
45921
|
+
exports.AIPromptRunMediaEntity = AIPromptRunMediaEntity;
|
|
45922
|
+
exports.AIPromptRunMediaEntity = AIPromptRunMediaEntity = __decorate([
|
|
45923
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Prompt Run Medias')
|
|
45924
|
+
], AIPromptRunMediaEntity);
|
|
44322
45925
|
/**
|
|
44323
45926
|
* MJ: AI Prompt Runs - strongly typed entity sub-class
|
|
44324
45927
|
* * Schema: __mj
|
|
@@ -48997,6 +50600,14 @@ let ConversationDetailArtifactEntity = class ConversationDetailArtifactEntity ex
|
|
|
48997
50600
|
return this.Get('__mj_UpdatedAt');
|
|
48998
50601
|
}
|
|
48999
50602
|
/**
|
|
50603
|
+
* * Field Name: ConversationDetail
|
|
50604
|
+
* * Display Name: Conversation Detail
|
|
50605
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
50606
|
+
*/
|
|
50607
|
+
get ConversationDetail() {
|
|
50608
|
+
return this.Get('ConversationDetail');
|
|
50609
|
+
}
|
|
50610
|
+
/**
|
|
49000
50611
|
* * Field Name: ArtifactVersion
|
|
49001
50612
|
* * Display Name: Artifact Version
|
|
49002
50613
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -49125,7 +50736,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49125
50736
|
}
|
|
49126
50737
|
/**
|
|
49127
50738
|
* * Field Name: FileSizeBytes
|
|
49128
|
-
* * Display Name: File Size (
|
|
50739
|
+
* * Display Name: File Size (Bytes)
|
|
49129
50740
|
* * SQL Data Type: int
|
|
49130
50741
|
* * Description: Size of the attachment in bytes.
|
|
49131
50742
|
*/
|
|
@@ -49137,7 +50748,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49137
50748
|
}
|
|
49138
50749
|
/**
|
|
49139
50750
|
* * Field Name: Width
|
|
49140
|
-
* * Display Name: Width
|
|
50751
|
+
* * Display Name: Width
|
|
49141
50752
|
* * SQL Data Type: int
|
|
49142
50753
|
* * Description: Width in pixels for images and videos.
|
|
49143
50754
|
*/
|
|
@@ -49149,7 +50760,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49149
50760
|
}
|
|
49150
50761
|
/**
|
|
49151
50762
|
* * Field Name: Height
|
|
49152
|
-
* * Display Name: Height
|
|
50763
|
+
* * Display Name: Height
|
|
49153
50764
|
* * SQL Data Type: int
|
|
49154
50765
|
* * Description: Height in pixels for images and videos.
|
|
49155
50766
|
*/
|
|
@@ -49161,7 +50772,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49161
50772
|
}
|
|
49162
50773
|
/**
|
|
49163
50774
|
* * Field Name: DurationSeconds
|
|
49164
|
-
* * Display Name: Duration (
|
|
50775
|
+
* * Display Name: Duration (Seconds)
|
|
49165
50776
|
* * SQL Data Type: int
|
|
49166
50777
|
* * Description: Duration in seconds for audio and video files.
|
|
49167
50778
|
*/
|
|
@@ -49173,7 +50784,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49173
50784
|
}
|
|
49174
50785
|
/**
|
|
49175
50786
|
* * Field Name: InlineData
|
|
49176
|
-
* * Display Name: Inline Data
|
|
50787
|
+
* * Display Name: Inline Data
|
|
49177
50788
|
* * SQL Data Type: nvarchar(MAX)
|
|
49178
50789
|
* * Description: Base64-encoded file data for small attachments stored inline. Mutually exclusive with FileID - exactly one must be populated.
|
|
49179
50790
|
*/
|
|
@@ -49185,7 +50796,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49185
50796
|
}
|
|
49186
50797
|
/**
|
|
49187
50798
|
* * Field Name: FileID
|
|
49188
|
-
* * Display Name: File
|
|
50799
|
+
* * Display Name: File ID
|
|
49189
50800
|
* * SQL Data Type: uniqueidentifier
|
|
49190
50801
|
* * Related Entity/Foreign Key: Files (vwFiles.ID)
|
|
49191
50802
|
* * Description: Reference to File entity for large attachments stored in MJStorage. Mutually exclusive with InlineData - exactly one must be populated.
|
|
@@ -49211,7 +50822,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49211
50822
|
}
|
|
49212
50823
|
/**
|
|
49213
50824
|
* * Field Name: ThumbnailBase64
|
|
49214
|
-
* * Display Name: Thumbnail
|
|
50825
|
+
* * Display Name: Thumbnail
|
|
49215
50826
|
* * SQL Data Type: nvarchar(MAX)
|
|
49216
50827
|
* * Description: Base64-encoded thumbnail image for quick preview display. Max 200px on longest side.
|
|
49217
50828
|
*/
|
|
@@ -49240,8 +50851,20 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49240
50851
|
return this.Get('__mj_UpdatedAt');
|
|
49241
50852
|
}
|
|
49242
50853
|
/**
|
|
50854
|
+
* * Field Name: Description
|
|
50855
|
+
* * Display Name: Description
|
|
50856
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
50857
|
+
* * Description: Description of the attachment providing context about its content and purpose.
|
|
50858
|
+
*/
|
|
50859
|
+
get Description() {
|
|
50860
|
+
return this.Get('Description');
|
|
50861
|
+
}
|
|
50862
|
+
set Description(value) {
|
|
50863
|
+
this.Set('Description', value);
|
|
50864
|
+
}
|
|
50865
|
+
/**
|
|
49243
50866
|
* * Field Name: ConversationDetail
|
|
49244
|
-
* * Display Name: Conversation Detail
|
|
50867
|
+
* * Display Name: Conversation Detail
|
|
49245
50868
|
* * SQL Data Type: nvarchar(MAX)
|
|
49246
50869
|
*/
|
|
49247
50870
|
get ConversationDetail() {
|
|
@@ -49249,7 +50872,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49249
50872
|
}
|
|
49250
50873
|
/**
|
|
49251
50874
|
* * Field Name: Modality
|
|
49252
|
-
* * Display Name: Modality
|
|
50875
|
+
* * Display Name: Modality
|
|
49253
50876
|
* * SQL Data Type: nvarchar(50)
|
|
49254
50877
|
*/
|
|
49255
50878
|
get Modality() {
|
|
@@ -49257,7 +50880,7 @@ let ConversationDetailAttachmentEntity = class ConversationDetailAttachmentEntit
|
|
|
49257
50880
|
}
|
|
49258
50881
|
/**
|
|
49259
50882
|
* * Field Name: File
|
|
49260
|
-
* * Display Name: File
|
|
50883
|
+
* * Display Name: File
|
|
49261
50884
|
* * SQL Data Type: nvarchar(500)
|
|
49262
50885
|
*/
|
|
49263
50886
|
get File() {
|
|
@@ -49401,6 +51024,14 @@ let ConversationDetailRatingEntity = class ConversationDetailRatingEntity extend
|
|
|
49401
51024
|
return this.Get('__mj_UpdatedAt');
|
|
49402
51025
|
}
|
|
49403
51026
|
/**
|
|
51027
|
+
* * Field Name: ConversationDetail
|
|
51028
|
+
* * Display Name: Conversation Detail
|
|
51029
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51030
|
+
*/
|
|
51031
|
+
get ConversationDetail() {
|
|
51032
|
+
return this.Get('ConversationDetail');
|
|
51033
|
+
}
|
|
51034
|
+
/**
|
|
49404
51035
|
* * Field Name: User
|
|
49405
51036
|
* * Display Name: User
|
|
49406
51037
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -49725,140 +51356,795 @@ let CredentialEntity = class CredentialEntity extends core_1.BaseEntity {
|
|
|
49725
51356
|
this.Set('ID', value);
|
|
49726
51357
|
}
|
|
49727
51358
|
/**
|
|
49728
|
-
* * Field Name: CredentialTypeID
|
|
49729
|
-
* * Display Name: Credential Type
|
|
51359
|
+
* * Field Name: CredentialTypeID
|
|
51360
|
+
* * Display Name: Credential Type
|
|
51361
|
+
* * SQL Data Type: uniqueidentifier
|
|
51362
|
+
* * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
|
|
51363
|
+
* * Description: Reference to the credential type that defines the schema for this credential.
|
|
51364
|
+
*/
|
|
51365
|
+
get CredentialTypeID() {
|
|
51366
|
+
return this.Get('CredentialTypeID');
|
|
51367
|
+
}
|
|
51368
|
+
set CredentialTypeID(value) {
|
|
51369
|
+
this.Set('CredentialTypeID', value);
|
|
51370
|
+
}
|
|
51371
|
+
/**
|
|
51372
|
+
* * Field Name: CategoryID
|
|
51373
|
+
* * Display Name: Category
|
|
51374
|
+
* * SQL Data Type: uniqueidentifier
|
|
51375
|
+
* * Related Entity/Foreign Key: MJ: Credential Categories (vwCredentialCategories.ID)
|
|
51376
|
+
* * Description: Optional category for organizational grouping.
|
|
51377
|
+
*/
|
|
51378
|
+
get CategoryID() {
|
|
51379
|
+
return this.Get('CategoryID');
|
|
51380
|
+
}
|
|
51381
|
+
set CategoryID(value) {
|
|
51382
|
+
this.Set('CategoryID', value);
|
|
51383
|
+
}
|
|
51384
|
+
/**
|
|
51385
|
+
* * Field Name: Name
|
|
51386
|
+
* * Display Name: Name
|
|
51387
|
+
* * SQL Data Type: nvarchar(200)
|
|
51388
|
+
* * Description: Human-readable name for this credential (e.g., Production SendGrid, Development OpenAI).
|
|
51389
|
+
*/
|
|
51390
|
+
get Name() {
|
|
51391
|
+
return this.Get('Name');
|
|
51392
|
+
}
|
|
51393
|
+
set Name(value) {
|
|
51394
|
+
this.Set('Name', value);
|
|
51395
|
+
}
|
|
51396
|
+
/**
|
|
51397
|
+
* * Field Name: Description
|
|
51398
|
+
* * Display Name: Description
|
|
51399
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51400
|
+
* * Description: Optional description of this credential instance.
|
|
51401
|
+
*/
|
|
51402
|
+
get Description() {
|
|
51403
|
+
return this.Get('Description');
|
|
51404
|
+
}
|
|
51405
|
+
set Description(value) {
|
|
51406
|
+
this.Set('Description', value);
|
|
51407
|
+
}
|
|
51408
|
+
/**
|
|
51409
|
+
* * Field Name: Values
|
|
51410
|
+
* * Display Name: Values
|
|
51411
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51412
|
+
* * Description: Encrypted JSON blob containing all credential values. This field uses MemberJunction field-level encryption.
|
|
51413
|
+
*/
|
|
51414
|
+
get Values() {
|
|
51415
|
+
return this.Get('Values');
|
|
51416
|
+
}
|
|
51417
|
+
set Values(value) {
|
|
51418
|
+
this.Set('Values', value);
|
|
51419
|
+
}
|
|
51420
|
+
/**
|
|
51421
|
+
* * Field Name: IsDefault
|
|
51422
|
+
* * Display Name: Default
|
|
51423
|
+
* * SQL Data Type: bit
|
|
51424
|
+
* * Default Value: 0
|
|
51425
|
+
* * Description: If true, this is the default credential for its type when no specific credential is requested.
|
|
51426
|
+
*/
|
|
51427
|
+
get IsDefault() {
|
|
51428
|
+
return this.Get('IsDefault');
|
|
51429
|
+
}
|
|
51430
|
+
set IsDefault(value) {
|
|
51431
|
+
this.Set('IsDefault', value);
|
|
51432
|
+
}
|
|
51433
|
+
/**
|
|
51434
|
+
* * Field Name: IsActive
|
|
51435
|
+
* * Display Name: Active
|
|
51436
|
+
* * SQL Data Type: bit
|
|
51437
|
+
* * Default Value: 1
|
|
51438
|
+
* * Description: If false, the credential is disabled and will not be used.
|
|
51439
|
+
*/
|
|
51440
|
+
get IsActive() {
|
|
51441
|
+
return this.Get('IsActive');
|
|
51442
|
+
}
|
|
51443
|
+
set IsActive(value) {
|
|
51444
|
+
this.Set('IsActive', value);
|
|
51445
|
+
}
|
|
51446
|
+
/**
|
|
51447
|
+
* * Field Name: ExpiresAt
|
|
51448
|
+
* * Display Name: Expires At
|
|
51449
|
+
* * SQL Data Type: datetimeoffset
|
|
51450
|
+
* * Description: Optional expiration date. Expired credentials are treated as inactive.
|
|
51451
|
+
*/
|
|
51452
|
+
get ExpiresAt() {
|
|
51453
|
+
return this.Get('ExpiresAt');
|
|
51454
|
+
}
|
|
51455
|
+
set ExpiresAt(value) {
|
|
51456
|
+
this.Set('ExpiresAt', value);
|
|
51457
|
+
}
|
|
51458
|
+
/**
|
|
51459
|
+
* * Field Name: LastValidatedAt
|
|
51460
|
+
* * Display Name: Last Validated At
|
|
51461
|
+
* * SQL Data Type: datetimeoffset
|
|
51462
|
+
* * Description: Timestamp of the last successful validation against the provider.
|
|
51463
|
+
*/
|
|
51464
|
+
get LastValidatedAt() {
|
|
51465
|
+
return this.Get('LastValidatedAt');
|
|
51466
|
+
}
|
|
51467
|
+
set LastValidatedAt(value) {
|
|
51468
|
+
this.Set('LastValidatedAt', value);
|
|
51469
|
+
}
|
|
51470
|
+
/**
|
|
51471
|
+
* * Field Name: LastUsedAt
|
|
51472
|
+
* * Display Name: Last Used At
|
|
51473
|
+
* * SQL Data Type: datetimeoffset
|
|
51474
|
+
* * Description: Timestamp of the last time this credential was used.
|
|
51475
|
+
*/
|
|
51476
|
+
get LastUsedAt() {
|
|
51477
|
+
return this.Get('LastUsedAt');
|
|
51478
|
+
}
|
|
51479
|
+
set LastUsedAt(value) {
|
|
51480
|
+
this.Set('LastUsedAt', value);
|
|
51481
|
+
}
|
|
51482
|
+
/**
|
|
51483
|
+
* * Field Name: IconClass
|
|
51484
|
+
* * Display Name: Icon Class
|
|
51485
|
+
* * SQL Data Type: nvarchar(100)
|
|
51486
|
+
* * Description: Optional Font Awesome icon class to override the type icon for this specific credential.
|
|
51487
|
+
*/
|
|
51488
|
+
get IconClass() {
|
|
51489
|
+
return this.Get('IconClass');
|
|
51490
|
+
}
|
|
51491
|
+
set IconClass(value) {
|
|
51492
|
+
this.Set('IconClass', value);
|
|
51493
|
+
}
|
|
51494
|
+
/**
|
|
51495
|
+
* * Field Name: __mj_CreatedAt
|
|
51496
|
+
* * Display Name: Created At
|
|
51497
|
+
* * SQL Data Type: datetimeoffset
|
|
51498
|
+
* * Default Value: getutcdate()
|
|
51499
|
+
*/
|
|
51500
|
+
get __mj_CreatedAt() {
|
|
51501
|
+
return this.Get('__mj_CreatedAt');
|
|
51502
|
+
}
|
|
51503
|
+
/**
|
|
51504
|
+
* * Field Name: __mj_UpdatedAt
|
|
51505
|
+
* * Display Name: Updated At
|
|
51506
|
+
* * SQL Data Type: datetimeoffset
|
|
51507
|
+
* * Default Value: getutcdate()
|
|
51508
|
+
*/
|
|
51509
|
+
get __mj_UpdatedAt() {
|
|
51510
|
+
return this.Get('__mj_UpdatedAt');
|
|
51511
|
+
}
|
|
51512
|
+
/**
|
|
51513
|
+
* * Field Name: CredentialType
|
|
51514
|
+
* * Display Name: Credential Type
|
|
51515
|
+
* * SQL Data Type: nvarchar(100)
|
|
51516
|
+
*/
|
|
51517
|
+
get CredentialType() {
|
|
51518
|
+
return this.Get('CredentialType');
|
|
51519
|
+
}
|
|
51520
|
+
/**
|
|
51521
|
+
* * Field Name: Category
|
|
51522
|
+
* * Display Name: Category
|
|
51523
|
+
* * SQL Data Type: nvarchar(100)
|
|
51524
|
+
*/
|
|
51525
|
+
get Category() {
|
|
51526
|
+
return this.Get('Category');
|
|
51527
|
+
}
|
|
51528
|
+
};
|
|
51529
|
+
exports.CredentialEntity = CredentialEntity;
|
|
51530
|
+
exports.CredentialEntity = CredentialEntity = __decorate([
|
|
51531
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Credentials')
|
|
51532
|
+
], CredentialEntity);
|
|
51533
|
+
/**
|
|
51534
|
+
* MJ: Dashboard Category Links - strongly typed entity sub-class
|
|
51535
|
+
* * Schema: __mj
|
|
51536
|
+
* * Base Table: DashboardCategoryLink
|
|
51537
|
+
* * Base View: vwDashboardCategoryLinks
|
|
51538
|
+
* * @description Allows users to organize shared dashboards into their own category structure. Creates a link/reference to a dashboard without duplicating it. Users can optionally provide a custom display name and control ordering within their folders.
|
|
51539
|
+
* * Primary Key: ID
|
|
51540
|
+
* @extends {BaseEntity}
|
|
51541
|
+
* @class
|
|
51542
|
+
* @public
|
|
51543
|
+
*/
|
|
51544
|
+
let DashboardCategoryLinkEntity = class DashboardCategoryLinkEntity extends core_1.BaseEntity {
|
|
51545
|
+
/**
|
|
51546
|
+
* Loads the MJ: Dashboard Category Links record from the database
|
|
51547
|
+
* @param ID: string - primary key value to load the MJ: Dashboard Category Links record.
|
|
51548
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
51549
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
51550
|
+
* @public
|
|
51551
|
+
* @async
|
|
51552
|
+
* @memberof DashboardCategoryLinkEntity
|
|
51553
|
+
* @method
|
|
51554
|
+
* @override
|
|
51555
|
+
*/
|
|
51556
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
51557
|
+
const compositeKey = new core_1.CompositeKey();
|
|
51558
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
51559
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
51560
|
+
}
|
|
51561
|
+
/**
|
|
51562
|
+
* * Field Name: ID
|
|
51563
|
+
* * Display Name: ID
|
|
51564
|
+
* * SQL Data Type: uniqueidentifier
|
|
51565
|
+
* * Default Value: newsequentialid()
|
|
51566
|
+
*/
|
|
51567
|
+
get ID() {
|
|
51568
|
+
return this.Get('ID');
|
|
51569
|
+
}
|
|
51570
|
+
set ID(value) {
|
|
51571
|
+
this.Set('ID', value);
|
|
51572
|
+
}
|
|
51573
|
+
/**
|
|
51574
|
+
* * Field Name: DashboardID
|
|
51575
|
+
* * Display Name: Dashboard
|
|
51576
|
+
* * SQL Data Type: uniqueidentifier
|
|
51577
|
+
* * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
|
|
51578
|
+
*/
|
|
51579
|
+
get DashboardID() {
|
|
51580
|
+
return this.Get('DashboardID');
|
|
51581
|
+
}
|
|
51582
|
+
set DashboardID(value) {
|
|
51583
|
+
this.Set('DashboardID', value);
|
|
51584
|
+
}
|
|
51585
|
+
/**
|
|
51586
|
+
* * Field Name: UserID
|
|
51587
|
+
* * Display Name: User
|
|
51588
|
+
* * SQL Data Type: uniqueidentifier
|
|
51589
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
51590
|
+
*/
|
|
51591
|
+
get UserID() {
|
|
51592
|
+
return this.Get('UserID');
|
|
51593
|
+
}
|
|
51594
|
+
set UserID(value) {
|
|
51595
|
+
this.Set('UserID', value);
|
|
51596
|
+
}
|
|
51597
|
+
/**
|
|
51598
|
+
* * Field Name: DashboardCategoryID
|
|
51599
|
+
* * Display Name: Dashboard Category
|
|
51600
|
+
* * SQL Data Type: uniqueidentifier
|
|
51601
|
+
* * Related Entity/Foreign Key: Dashboard Categories (vwDashboardCategories.ID)
|
|
51602
|
+
* * Description: The category in the user's personal folder structure. NULL means the dashboard appears at root level.
|
|
51603
|
+
*/
|
|
51604
|
+
get DashboardCategoryID() {
|
|
51605
|
+
return this.Get('DashboardCategoryID');
|
|
51606
|
+
}
|
|
51607
|
+
set DashboardCategoryID(value) {
|
|
51608
|
+
this.Set('DashboardCategoryID', value);
|
|
51609
|
+
}
|
|
51610
|
+
/**
|
|
51611
|
+
* * Field Name: DisplayName
|
|
51612
|
+
* * Display Name: Display Name
|
|
51613
|
+
* * SQL Data Type: nvarchar(255)
|
|
51614
|
+
* * Description: Optional user-friendly alias for the dashboard within this user's view. If NULL, uses the original dashboard name.
|
|
51615
|
+
*/
|
|
51616
|
+
get DisplayName() {
|
|
51617
|
+
return this.Get('DisplayName');
|
|
51618
|
+
}
|
|
51619
|
+
set DisplayName(value) {
|
|
51620
|
+
this.Set('DisplayName', value);
|
|
51621
|
+
}
|
|
51622
|
+
/**
|
|
51623
|
+
* * Field Name: Sequence
|
|
51624
|
+
* * Display Name: Sequence
|
|
51625
|
+
* * SQL Data Type: int
|
|
51626
|
+
* * Default Value: 0
|
|
51627
|
+
* * Description: Display order of this dashboard within the user's category. Lower values appear first.
|
|
51628
|
+
*/
|
|
51629
|
+
get Sequence() {
|
|
51630
|
+
return this.Get('Sequence');
|
|
51631
|
+
}
|
|
51632
|
+
set Sequence(value) {
|
|
51633
|
+
this.Set('Sequence', value);
|
|
51634
|
+
}
|
|
51635
|
+
/**
|
|
51636
|
+
* * Field Name: __mj_CreatedAt
|
|
51637
|
+
* * Display Name: Created At
|
|
51638
|
+
* * SQL Data Type: datetimeoffset
|
|
51639
|
+
* * Default Value: getutcdate()
|
|
51640
|
+
*/
|
|
51641
|
+
get __mj_CreatedAt() {
|
|
51642
|
+
return this.Get('__mj_CreatedAt');
|
|
51643
|
+
}
|
|
51644
|
+
/**
|
|
51645
|
+
* * Field Name: __mj_UpdatedAt
|
|
51646
|
+
* * Display Name: Updated At
|
|
51647
|
+
* * SQL Data Type: datetimeoffset
|
|
51648
|
+
* * Default Value: getutcdate()
|
|
51649
|
+
*/
|
|
51650
|
+
get __mj_UpdatedAt() {
|
|
51651
|
+
return this.Get('__mj_UpdatedAt');
|
|
51652
|
+
}
|
|
51653
|
+
/**
|
|
51654
|
+
* * Field Name: Dashboard
|
|
51655
|
+
* * Display Name: Dashboard Name
|
|
51656
|
+
* * SQL Data Type: nvarchar(255)
|
|
51657
|
+
*/
|
|
51658
|
+
get Dashboard() {
|
|
51659
|
+
return this.Get('Dashboard');
|
|
51660
|
+
}
|
|
51661
|
+
/**
|
|
51662
|
+
* * Field Name: User
|
|
51663
|
+
* * Display Name: User Name
|
|
51664
|
+
* * SQL Data Type: nvarchar(100)
|
|
51665
|
+
*/
|
|
51666
|
+
get User() {
|
|
51667
|
+
return this.Get('User');
|
|
51668
|
+
}
|
|
51669
|
+
/**
|
|
51670
|
+
* * Field Name: DashboardCategory
|
|
51671
|
+
* * Display Name: Category Name
|
|
51672
|
+
* * SQL Data Type: nvarchar(100)
|
|
51673
|
+
*/
|
|
51674
|
+
get DashboardCategory() {
|
|
51675
|
+
return this.Get('DashboardCategory');
|
|
51676
|
+
}
|
|
51677
|
+
};
|
|
51678
|
+
exports.DashboardCategoryLinkEntity = DashboardCategoryLinkEntity;
|
|
51679
|
+
exports.DashboardCategoryLinkEntity = DashboardCategoryLinkEntity = __decorate([
|
|
51680
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Dashboard Category Links')
|
|
51681
|
+
], DashboardCategoryLinkEntity);
|
|
51682
|
+
/**
|
|
51683
|
+
* MJ: Dashboard Category Permissions - strongly typed entity sub-class
|
|
51684
|
+
* * Schema: __mj
|
|
51685
|
+
* * Base Table: DashboardCategoryPermission
|
|
51686
|
+
* * Base View: vwDashboardCategoryPermissions
|
|
51687
|
+
* * @description Manages user permissions for dashboard categories (folders). Permissions cascade to all dashboards within the category. Enables sharing entire folders of dashboards with granular access control.
|
|
51688
|
+
* * Primary Key: ID
|
|
51689
|
+
* @extends {BaseEntity}
|
|
51690
|
+
* @class
|
|
51691
|
+
* @public
|
|
51692
|
+
*/
|
|
51693
|
+
let DashboardCategoryPermissionEntity = class DashboardCategoryPermissionEntity extends core_1.BaseEntity {
|
|
51694
|
+
/**
|
|
51695
|
+
* Loads the MJ: Dashboard Category Permissions record from the database
|
|
51696
|
+
* @param ID: string - primary key value to load the MJ: Dashboard Category Permissions record.
|
|
51697
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
51698
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
51699
|
+
* @public
|
|
51700
|
+
* @async
|
|
51701
|
+
* @memberof DashboardCategoryPermissionEntity
|
|
51702
|
+
* @method
|
|
51703
|
+
* @override
|
|
51704
|
+
*/
|
|
51705
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
51706
|
+
const compositeKey = new core_1.CompositeKey();
|
|
51707
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
51708
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
51709
|
+
}
|
|
51710
|
+
/**
|
|
51711
|
+
* * Field Name: ID
|
|
51712
|
+
* * Display Name: ID
|
|
51713
|
+
* * SQL Data Type: uniqueidentifier
|
|
51714
|
+
* * Default Value: newsequentialid()
|
|
51715
|
+
*/
|
|
51716
|
+
get ID() {
|
|
51717
|
+
return this.Get('ID');
|
|
51718
|
+
}
|
|
51719
|
+
set ID(value) {
|
|
51720
|
+
this.Set('ID', value);
|
|
51721
|
+
}
|
|
51722
|
+
/**
|
|
51723
|
+
* * Field Name: DashboardCategoryID
|
|
51724
|
+
* * Display Name: Dashboard Category ID
|
|
51725
|
+
* * SQL Data Type: uniqueidentifier
|
|
51726
|
+
* * Related Entity/Foreign Key: Dashboard Categories (vwDashboardCategories.ID)
|
|
51727
|
+
*/
|
|
51728
|
+
get DashboardCategoryID() {
|
|
51729
|
+
return this.Get('DashboardCategoryID');
|
|
51730
|
+
}
|
|
51731
|
+
set DashboardCategoryID(value) {
|
|
51732
|
+
this.Set('DashboardCategoryID', value);
|
|
51733
|
+
}
|
|
51734
|
+
/**
|
|
51735
|
+
* * Field Name: UserID
|
|
51736
|
+
* * Display Name: User ID
|
|
51737
|
+
* * SQL Data Type: uniqueidentifier
|
|
51738
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
51739
|
+
*/
|
|
51740
|
+
get UserID() {
|
|
51741
|
+
return this.Get('UserID');
|
|
51742
|
+
}
|
|
51743
|
+
set UserID(value) {
|
|
51744
|
+
this.Set('UserID', value);
|
|
51745
|
+
}
|
|
51746
|
+
/**
|
|
51747
|
+
* * Field Name: CanRead
|
|
51748
|
+
* * Display Name: Can Read
|
|
51749
|
+
* * SQL Data Type: bit
|
|
51750
|
+
* * Default Value: 1
|
|
51751
|
+
* * Description: Whether the user can view dashboards within this category
|
|
51752
|
+
*/
|
|
51753
|
+
get CanRead() {
|
|
51754
|
+
return this.Get('CanRead');
|
|
51755
|
+
}
|
|
51756
|
+
set CanRead(value) {
|
|
51757
|
+
this.Set('CanRead', value);
|
|
51758
|
+
}
|
|
51759
|
+
/**
|
|
51760
|
+
* * Field Name: CanEdit
|
|
51761
|
+
* * Display Name: Can Edit
|
|
51762
|
+
* * SQL Data Type: bit
|
|
51763
|
+
* * Default Value: 0
|
|
51764
|
+
* * Description: Whether the user can modify dashboards within this category
|
|
51765
|
+
*/
|
|
51766
|
+
get CanEdit() {
|
|
51767
|
+
return this.Get('CanEdit');
|
|
51768
|
+
}
|
|
51769
|
+
set CanEdit(value) {
|
|
51770
|
+
this.Set('CanEdit', value);
|
|
51771
|
+
}
|
|
51772
|
+
/**
|
|
51773
|
+
* * Field Name: CanAddRemove
|
|
51774
|
+
* * Display Name: Can Add/Remove
|
|
51775
|
+
* * SQL Data Type: bit
|
|
51776
|
+
* * Default Value: 0
|
|
51777
|
+
* * Description: Whether the user can add new dashboards to or remove dashboards from this category
|
|
51778
|
+
*/
|
|
51779
|
+
get CanAddRemove() {
|
|
51780
|
+
return this.Get('CanAddRemove');
|
|
51781
|
+
}
|
|
51782
|
+
set CanAddRemove(value) {
|
|
51783
|
+
this.Set('CanAddRemove', value);
|
|
51784
|
+
}
|
|
51785
|
+
/**
|
|
51786
|
+
* * Field Name: CanShare
|
|
51787
|
+
* * Display Name: Can Share
|
|
51788
|
+
* * SQL Data Type: bit
|
|
51789
|
+
* * Default Value: 0
|
|
51790
|
+
* * Description: Whether the user can share this category with other users
|
|
51791
|
+
*/
|
|
51792
|
+
get CanShare() {
|
|
51793
|
+
return this.Get('CanShare');
|
|
51794
|
+
}
|
|
51795
|
+
set CanShare(value) {
|
|
51796
|
+
this.Set('CanShare', value);
|
|
51797
|
+
}
|
|
51798
|
+
/**
|
|
51799
|
+
* * Field Name: SharedByUserID
|
|
51800
|
+
* * Display Name: Shared By User ID
|
|
51801
|
+
* * SQL Data Type: uniqueidentifier
|
|
51802
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
51803
|
+
* * Description: The user who granted this permission. NULL if shared by the category owner.
|
|
51804
|
+
*/
|
|
51805
|
+
get SharedByUserID() {
|
|
51806
|
+
return this.Get('SharedByUserID');
|
|
51807
|
+
}
|
|
51808
|
+
set SharedByUserID(value) {
|
|
51809
|
+
this.Set('SharedByUserID', value);
|
|
51810
|
+
}
|
|
51811
|
+
/**
|
|
51812
|
+
* * Field Name: __mj_CreatedAt
|
|
51813
|
+
* * Display Name: Created At
|
|
51814
|
+
* * SQL Data Type: datetimeoffset
|
|
51815
|
+
* * Default Value: getutcdate()
|
|
51816
|
+
*/
|
|
51817
|
+
get __mj_CreatedAt() {
|
|
51818
|
+
return this.Get('__mj_CreatedAt');
|
|
51819
|
+
}
|
|
51820
|
+
/**
|
|
51821
|
+
* * Field Name: __mj_UpdatedAt
|
|
51822
|
+
* * Display Name: Updated At
|
|
51823
|
+
* * SQL Data Type: datetimeoffset
|
|
51824
|
+
* * Default Value: getutcdate()
|
|
51825
|
+
*/
|
|
51826
|
+
get __mj_UpdatedAt() {
|
|
51827
|
+
return this.Get('__mj_UpdatedAt');
|
|
51828
|
+
}
|
|
51829
|
+
/**
|
|
51830
|
+
* * Field Name: DashboardCategory
|
|
51831
|
+
* * Display Name: Dashboard Category
|
|
51832
|
+
* * SQL Data Type: nvarchar(100)
|
|
51833
|
+
*/
|
|
51834
|
+
get DashboardCategory() {
|
|
51835
|
+
return this.Get('DashboardCategory');
|
|
51836
|
+
}
|
|
51837
|
+
/**
|
|
51838
|
+
* * Field Name: User
|
|
51839
|
+
* * Display Name: User
|
|
51840
|
+
* * SQL Data Type: nvarchar(100)
|
|
51841
|
+
*/
|
|
51842
|
+
get User() {
|
|
51843
|
+
return this.Get('User');
|
|
51844
|
+
}
|
|
51845
|
+
/**
|
|
51846
|
+
* * Field Name: SharedByUser
|
|
51847
|
+
* * Display Name: Shared By User
|
|
51848
|
+
* * SQL Data Type: nvarchar(100)
|
|
51849
|
+
*/
|
|
51850
|
+
get SharedByUser() {
|
|
51851
|
+
return this.Get('SharedByUser');
|
|
51852
|
+
}
|
|
51853
|
+
};
|
|
51854
|
+
exports.DashboardCategoryPermissionEntity = DashboardCategoryPermissionEntity;
|
|
51855
|
+
exports.DashboardCategoryPermissionEntity = DashboardCategoryPermissionEntity = __decorate([
|
|
51856
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Dashboard Category Permissions')
|
|
51857
|
+
], DashboardCategoryPermissionEntity);
|
|
51858
|
+
/**
|
|
51859
|
+
* MJ: Dashboard Part Types - strongly typed entity sub-class
|
|
51860
|
+
* * Schema: __mj
|
|
51861
|
+
* * Base Table: DashboardPartType
|
|
51862
|
+
* * Base View: vwDashboardPartTypes
|
|
51863
|
+
* * @description Stores available panel types for metadata-driven dashboards. Each panel type defines a driver class for rendering content and an optional config dialog for setup UI.
|
|
51864
|
+
* * Primary Key: ID
|
|
51865
|
+
* @extends {BaseEntity}
|
|
51866
|
+
* @class
|
|
51867
|
+
* @public
|
|
51868
|
+
*/
|
|
51869
|
+
let DashboardPartTypeEntity = class DashboardPartTypeEntity extends core_1.BaseEntity {
|
|
51870
|
+
/**
|
|
51871
|
+
* Loads the MJ: Dashboard Part Types record from the database
|
|
51872
|
+
* @param ID: string - primary key value to load the MJ: Dashboard Part Types record.
|
|
51873
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
51874
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
51875
|
+
* @public
|
|
51876
|
+
* @async
|
|
51877
|
+
* @memberof DashboardPartTypeEntity
|
|
51878
|
+
* @method
|
|
51879
|
+
* @override
|
|
51880
|
+
*/
|
|
51881
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
51882
|
+
const compositeKey = new core_1.CompositeKey();
|
|
51883
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
51884
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
51885
|
+
}
|
|
51886
|
+
/**
|
|
51887
|
+
* * Field Name: ID
|
|
51888
|
+
* * Display Name: ID
|
|
51889
|
+
* * SQL Data Type: uniqueidentifier
|
|
51890
|
+
* * Default Value: newsequentialid()
|
|
51891
|
+
* * Description: Primary key
|
|
51892
|
+
*/
|
|
51893
|
+
get ID() {
|
|
51894
|
+
return this.Get('ID');
|
|
51895
|
+
}
|
|
51896
|
+
set ID(value) {
|
|
51897
|
+
this.Set('ID', value);
|
|
51898
|
+
}
|
|
51899
|
+
/**
|
|
51900
|
+
* * Field Name: Name
|
|
51901
|
+
* * Display Name: Name
|
|
51902
|
+
* * SQL Data Type: nvarchar(100)
|
|
51903
|
+
* * Description: Unique name for the panel type (e.g., View, Query, Artifact, WebURL, Custom)
|
|
51904
|
+
*/
|
|
51905
|
+
get Name() {
|
|
51906
|
+
return this.Get('Name');
|
|
51907
|
+
}
|
|
51908
|
+
set Name(value) {
|
|
51909
|
+
this.Set('Name', value);
|
|
51910
|
+
}
|
|
51911
|
+
/**
|
|
51912
|
+
* * Field Name: Description
|
|
51913
|
+
* * Display Name: Description
|
|
51914
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51915
|
+
* * Description: Detailed description of what this panel type displays and its capabilities
|
|
51916
|
+
*/
|
|
51917
|
+
get Description() {
|
|
51918
|
+
return this.Get('Description');
|
|
51919
|
+
}
|
|
51920
|
+
set Description(value) {
|
|
51921
|
+
this.Set('Description', value);
|
|
51922
|
+
}
|
|
51923
|
+
/**
|
|
51924
|
+
* * Field Name: Icon
|
|
51925
|
+
* * Display Name: Icon
|
|
51926
|
+
* * SQL Data Type: nvarchar(100)
|
|
51927
|
+
* * Description: Font Awesome icon class for the panel type (e.g., fa-solid fa-table)
|
|
51928
|
+
*/
|
|
51929
|
+
get Icon() {
|
|
51930
|
+
return this.Get('Icon');
|
|
51931
|
+
}
|
|
51932
|
+
set Icon(value) {
|
|
51933
|
+
this.Set('Icon', value);
|
|
51934
|
+
}
|
|
51935
|
+
/**
|
|
51936
|
+
* * Field Name: DriverClass
|
|
51937
|
+
* * Display Name: Driver Class
|
|
51938
|
+
* * SQL Data Type: nvarchar(255)
|
|
51939
|
+
* * Description: The @RegisterClass name for the panel renderer component that extends DashboardBasePanelRenderer
|
|
51940
|
+
*/
|
|
51941
|
+
get DriverClass() {
|
|
51942
|
+
return this.Get('DriverClass');
|
|
51943
|
+
}
|
|
51944
|
+
set DriverClass(value) {
|
|
51945
|
+
this.Set('DriverClass', value);
|
|
51946
|
+
}
|
|
51947
|
+
/**
|
|
51948
|
+
* * Field Name: ConfigDialogClass
|
|
51949
|
+
* * Display Name: Configuration Dialog Class
|
|
51950
|
+
* * SQL Data Type: nvarchar(255)
|
|
51951
|
+
* * Description: The @RegisterClass name for the configuration dialog component that extends DashboardBasePanelConfigDialog
|
|
51952
|
+
*/
|
|
51953
|
+
get ConfigDialogClass() {
|
|
51954
|
+
return this.Get('ConfigDialogClass');
|
|
51955
|
+
}
|
|
51956
|
+
set ConfigDialogClass(value) {
|
|
51957
|
+
this.Set('ConfigDialogClass', value);
|
|
51958
|
+
}
|
|
51959
|
+
/**
|
|
51960
|
+
* * Field Name: DefaultConfig
|
|
51961
|
+
* * Display Name: Default Configuration
|
|
51962
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
51963
|
+
* * Description: JSON object containing default configuration values for new panels of this type
|
|
51964
|
+
*/
|
|
51965
|
+
get DefaultConfig() {
|
|
51966
|
+
return this.Get('DefaultConfig');
|
|
51967
|
+
}
|
|
51968
|
+
set DefaultConfig(value) {
|
|
51969
|
+
this.Set('DefaultConfig', value);
|
|
51970
|
+
}
|
|
51971
|
+
/**
|
|
51972
|
+
* * Field Name: SortOrder
|
|
51973
|
+
* * Display Name: Sort Order
|
|
51974
|
+
* * SQL Data Type: int
|
|
51975
|
+
* * Default Value: 0
|
|
51976
|
+
* * Description: Display order in panel type selection UI (lower numbers appear first)
|
|
51977
|
+
*/
|
|
51978
|
+
get SortOrder() {
|
|
51979
|
+
return this.Get('SortOrder');
|
|
51980
|
+
}
|
|
51981
|
+
set SortOrder(value) {
|
|
51982
|
+
this.Set('SortOrder', value);
|
|
51983
|
+
}
|
|
51984
|
+
/**
|
|
51985
|
+
* * Field Name: IsActive
|
|
51986
|
+
* * Display Name: Active
|
|
51987
|
+
* * SQL Data Type: bit
|
|
51988
|
+
* * Default Value: 1
|
|
51989
|
+
* * Description: Whether this panel type is currently available for use
|
|
51990
|
+
*/
|
|
51991
|
+
get IsActive() {
|
|
51992
|
+
return this.Get('IsActive');
|
|
51993
|
+
}
|
|
51994
|
+
set IsActive(value) {
|
|
51995
|
+
this.Set('IsActive', value);
|
|
51996
|
+
}
|
|
51997
|
+
/**
|
|
51998
|
+
* * Field Name: __mj_CreatedAt
|
|
51999
|
+
* * Display Name: Created At
|
|
52000
|
+
* * SQL Data Type: datetimeoffset
|
|
52001
|
+
* * Default Value: getutcdate()
|
|
52002
|
+
*/
|
|
52003
|
+
get __mj_CreatedAt() {
|
|
52004
|
+
return this.Get('__mj_CreatedAt');
|
|
52005
|
+
}
|
|
52006
|
+
/**
|
|
52007
|
+
* * Field Name: __mj_UpdatedAt
|
|
52008
|
+
* * Display Name: Updated At
|
|
52009
|
+
* * SQL Data Type: datetimeoffset
|
|
52010
|
+
* * Default Value: getutcdate()
|
|
52011
|
+
*/
|
|
52012
|
+
get __mj_UpdatedAt() {
|
|
52013
|
+
return this.Get('__mj_UpdatedAt');
|
|
52014
|
+
}
|
|
52015
|
+
};
|
|
52016
|
+
exports.DashboardPartTypeEntity = DashboardPartTypeEntity;
|
|
52017
|
+
exports.DashboardPartTypeEntity = DashboardPartTypeEntity = __decorate([
|
|
52018
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Dashboard Part Types')
|
|
52019
|
+
], DashboardPartTypeEntity);
|
|
52020
|
+
/**
|
|
52021
|
+
* MJ: Dashboard Permissions - strongly typed entity sub-class
|
|
52022
|
+
* * Schema: __mj
|
|
52023
|
+
* * Base Table: DashboardPermission
|
|
52024
|
+
* * Base View: vwDashboardPermissions
|
|
52025
|
+
* * @description Manages user permissions for dashboards with granular access control (Read, Edit, Delete, Share). Each record grants a specific user access to a dashboard with configurable permission levels.
|
|
52026
|
+
* * Primary Key: ID
|
|
52027
|
+
* @extends {BaseEntity}
|
|
52028
|
+
* @class
|
|
52029
|
+
* @public
|
|
52030
|
+
*/
|
|
52031
|
+
let DashboardPermissionEntity = class DashboardPermissionEntity extends core_1.BaseEntity {
|
|
52032
|
+
/**
|
|
52033
|
+
* Loads the MJ: Dashboard Permissions record from the database
|
|
52034
|
+
* @param ID: string - primary key value to load the MJ: Dashboard Permissions record.
|
|
52035
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
52036
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
52037
|
+
* @public
|
|
52038
|
+
* @async
|
|
52039
|
+
* @memberof DashboardPermissionEntity
|
|
52040
|
+
* @method
|
|
52041
|
+
* @override
|
|
52042
|
+
*/
|
|
52043
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
52044
|
+
const compositeKey = new core_1.CompositeKey();
|
|
52045
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
52046
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
52047
|
+
}
|
|
52048
|
+
/**
|
|
52049
|
+
* * Field Name: ID
|
|
52050
|
+
* * Display Name: ID
|
|
52051
|
+
* * SQL Data Type: uniqueidentifier
|
|
52052
|
+
* * Default Value: newsequentialid()
|
|
52053
|
+
*/
|
|
52054
|
+
get ID() {
|
|
52055
|
+
return this.Get('ID');
|
|
52056
|
+
}
|
|
52057
|
+
set ID(value) {
|
|
52058
|
+
this.Set('ID', value);
|
|
52059
|
+
}
|
|
52060
|
+
/**
|
|
52061
|
+
* * Field Name: DashboardID
|
|
52062
|
+
* * Display Name: Dashboard ID
|
|
49730
52063
|
* * SQL Data Type: uniqueidentifier
|
|
49731
|
-
* * Related Entity/Foreign Key:
|
|
49732
|
-
* * Description: Reference to the credential type that defines the schema for this credential.
|
|
52064
|
+
* * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
|
|
49733
52065
|
*/
|
|
49734
|
-
get
|
|
49735
|
-
return this.Get('
|
|
52066
|
+
get DashboardID() {
|
|
52067
|
+
return this.Get('DashboardID');
|
|
49736
52068
|
}
|
|
49737
|
-
set
|
|
49738
|
-
this.Set('
|
|
52069
|
+
set DashboardID(value) {
|
|
52070
|
+
this.Set('DashboardID', value);
|
|
49739
52071
|
}
|
|
49740
52072
|
/**
|
|
49741
|
-
* * Field Name:
|
|
49742
|
-
* * Display Name:
|
|
52073
|
+
* * Field Name: UserID
|
|
52074
|
+
* * Display Name: User ID
|
|
49743
52075
|
* * SQL Data Type: uniqueidentifier
|
|
49744
|
-
* * Related Entity/Foreign Key:
|
|
49745
|
-
* * Description: Optional category for organizational grouping.
|
|
49746
|
-
*/
|
|
49747
|
-
get CategoryID() {
|
|
49748
|
-
return this.Get('CategoryID');
|
|
49749
|
-
}
|
|
49750
|
-
set CategoryID(value) {
|
|
49751
|
-
this.Set('CategoryID', value);
|
|
49752
|
-
}
|
|
49753
|
-
/**
|
|
49754
|
-
* * Field Name: Name
|
|
49755
|
-
* * Display Name: Name
|
|
49756
|
-
* * SQL Data Type: nvarchar(200)
|
|
49757
|
-
* * Description: Human-readable name for this credential (e.g., Production SendGrid, Development OpenAI).
|
|
49758
|
-
*/
|
|
49759
|
-
get Name() {
|
|
49760
|
-
return this.Get('Name');
|
|
49761
|
-
}
|
|
49762
|
-
set Name(value) {
|
|
49763
|
-
this.Set('Name', value);
|
|
49764
|
-
}
|
|
49765
|
-
/**
|
|
49766
|
-
* * Field Name: Description
|
|
49767
|
-
* * Display Name: Description
|
|
49768
|
-
* * SQL Data Type: nvarchar(MAX)
|
|
49769
|
-
* * Description: Optional description of this credential instance.
|
|
52076
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
49770
52077
|
*/
|
|
49771
|
-
get
|
|
49772
|
-
return this.Get('
|
|
52078
|
+
get UserID() {
|
|
52079
|
+
return this.Get('UserID');
|
|
49773
52080
|
}
|
|
49774
|
-
set
|
|
49775
|
-
this.Set('
|
|
52081
|
+
set UserID(value) {
|
|
52082
|
+
this.Set('UserID', value);
|
|
49776
52083
|
}
|
|
49777
52084
|
/**
|
|
49778
|
-
* * Field Name:
|
|
49779
|
-
* * Display Name:
|
|
49780
|
-
* * SQL Data Type:
|
|
49781
|
-
* *
|
|
52085
|
+
* * Field Name: CanRead
|
|
52086
|
+
* * Display Name: Can Read
|
|
52087
|
+
* * SQL Data Type: bit
|
|
52088
|
+
* * Default Value: 1
|
|
52089
|
+
* * Description: Whether the user can view the dashboard and its contents
|
|
49782
52090
|
*/
|
|
49783
|
-
get
|
|
49784
|
-
return this.Get('
|
|
52091
|
+
get CanRead() {
|
|
52092
|
+
return this.Get('CanRead');
|
|
49785
52093
|
}
|
|
49786
|
-
set
|
|
49787
|
-
this.Set('
|
|
52094
|
+
set CanRead(value) {
|
|
52095
|
+
this.Set('CanRead', value);
|
|
49788
52096
|
}
|
|
49789
52097
|
/**
|
|
49790
|
-
* * Field Name:
|
|
49791
|
-
* * Display Name:
|
|
52098
|
+
* * Field Name: CanEdit
|
|
52099
|
+
* * Display Name: Can Edit
|
|
49792
52100
|
* * SQL Data Type: bit
|
|
49793
52101
|
* * Default Value: 0
|
|
49794
|
-
* * Description:
|
|
52102
|
+
* * Description: Whether the user can modify the dashboard layout, add/remove parts, or change settings
|
|
49795
52103
|
*/
|
|
49796
|
-
get
|
|
49797
|
-
return this.Get('
|
|
52104
|
+
get CanEdit() {
|
|
52105
|
+
return this.Get('CanEdit');
|
|
49798
52106
|
}
|
|
49799
|
-
set
|
|
49800
|
-
this.Set('
|
|
52107
|
+
set CanEdit(value) {
|
|
52108
|
+
this.Set('CanEdit', value);
|
|
49801
52109
|
}
|
|
49802
52110
|
/**
|
|
49803
|
-
* * Field Name:
|
|
49804
|
-
* * Display Name:
|
|
52111
|
+
* * Field Name: CanDelete
|
|
52112
|
+
* * Display Name: Can Delete
|
|
49805
52113
|
* * SQL Data Type: bit
|
|
49806
|
-
* * Default Value:
|
|
49807
|
-
* * Description:
|
|
49808
|
-
*/
|
|
49809
|
-
get IsActive() {
|
|
49810
|
-
return this.Get('IsActive');
|
|
49811
|
-
}
|
|
49812
|
-
set IsActive(value) {
|
|
49813
|
-
this.Set('IsActive', value);
|
|
49814
|
-
}
|
|
49815
|
-
/**
|
|
49816
|
-
* * Field Name: ExpiresAt
|
|
49817
|
-
* * Display Name: Expires At
|
|
49818
|
-
* * SQL Data Type: datetimeoffset
|
|
49819
|
-
* * Description: Optional expiration date. Expired credentials are treated as inactive.
|
|
49820
|
-
*/
|
|
49821
|
-
get ExpiresAt() {
|
|
49822
|
-
return this.Get('ExpiresAt');
|
|
49823
|
-
}
|
|
49824
|
-
set ExpiresAt(value) {
|
|
49825
|
-
this.Set('ExpiresAt', value);
|
|
49826
|
-
}
|
|
49827
|
-
/**
|
|
49828
|
-
* * Field Name: LastValidatedAt
|
|
49829
|
-
* * Display Name: Last Validated At
|
|
49830
|
-
* * SQL Data Type: datetimeoffset
|
|
49831
|
-
* * Description: Timestamp of the last successful validation against the provider.
|
|
52114
|
+
* * Default Value: 0
|
|
52115
|
+
* * Description: Whether the user can delete the dashboard entirely
|
|
49832
52116
|
*/
|
|
49833
|
-
get
|
|
49834
|
-
return this.Get('
|
|
52117
|
+
get CanDelete() {
|
|
52118
|
+
return this.Get('CanDelete');
|
|
49835
52119
|
}
|
|
49836
|
-
set
|
|
49837
|
-
this.Set('
|
|
52120
|
+
set CanDelete(value) {
|
|
52121
|
+
this.Set('CanDelete', value);
|
|
49838
52122
|
}
|
|
49839
52123
|
/**
|
|
49840
|
-
* * Field Name:
|
|
49841
|
-
* * Display Name:
|
|
49842
|
-
* * SQL Data Type:
|
|
49843
|
-
* *
|
|
52124
|
+
* * Field Name: CanShare
|
|
52125
|
+
* * Display Name: Can Share
|
|
52126
|
+
* * SQL Data Type: bit
|
|
52127
|
+
* * Default Value: 0
|
|
52128
|
+
* * Description: Whether the user can share the dashboard with other users
|
|
49844
52129
|
*/
|
|
49845
|
-
get
|
|
49846
|
-
return this.Get('
|
|
52130
|
+
get CanShare() {
|
|
52131
|
+
return this.Get('CanShare');
|
|
49847
52132
|
}
|
|
49848
|
-
set
|
|
49849
|
-
this.Set('
|
|
52133
|
+
set CanShare(value) {
|
|
52134
|
+
this.Set('CanShare', value);
|
|
49850
52135
|
}
|
|
49851
52136
|
/**
|
|
49852
|
-
* * Field Name:
|
|
49853
|
-
* * Display Name:
|
|
49854
|
-
* * SQL Data Type:
|
|
49855
|
-
* *
|
|
52137
|
+
* * Field Name: SharedByUserID
|
|
52138
|
+
* * Display Name: Shared By User ID
|
|
52139
|
+
* * SQL Data Type: uniqueidentifier
|
|
52140
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
52141
|
+
* * Description: The user who granted this permission. NULL if shared by the dashboard owner.
|
|
49856
52142
|
*/
|
|
49857
|
-
get
|
|
49858
|
-
return this.Get('
|
|
52143
|
+
get SharedByUserID() {
|
|
52144
|
+
return this.Get('SharedByUserID');
|
|
49859
52145
|
}
|
|
49860
|
-
set
|
|
49861
|
-
this.Set('
|
|
52146
|
+
set SharedByUserID(value) {
|
|
52147
|
+
this.Set('SharedByUserID', value);
|
|
49862
52148
|
}
|
|
49863
52149
|
/**
|
|
49864
52150
|
* * Field Name: __mj_CreatedAt
|
|
@@ -49879,26 +52165,34 @@ let CredentialEntity = class CredentialEntity extends core_1.BaseEntity {
|
|
|
49879
52165
|
return this.Get('__mj_UpdatedAt');
|
|
49880
52166
|
}
|
|
49881
52167
|
/**
|
|
49882
|
-
* * Field Name:
|
|
49883
|
-
* * Display Name:
|
|
52168
|
+
* * Field Name: Dashboard
|
|
52169
|
+
* * Display Name: Dashboard
|
|
52170
|
+
* * SQL Data Type: nvarchar(255)
|
|
52171
|
+
*/
|
|
52172
|
+
get Dashboard() {
|
|
52173
|
+
return this.Get('Dashboard');
|
|
52174
|
+
}
|
|
52175
|
+
/**
|
|
52176
|
+
* * Field Name: User
|
|
52177
|
+
* * Display Name: User
|
|
49884
52178
|
* * SQL Data Type: nvarchar(100)
|
|
49885
52179
|
*/
|
|
49886
|
-
get
|
|
49887
|
-
return this.Get('
|
|
52180
|
+
get User() {
|
|
52181
|
+
return this.Get('User');
|
|
49888
52182
|
}
|
|
49889
52183
|
/**
|
|
49890
|
-
* * Field Name:
|
|
49891
|
-
* * Display Name:
|
|
52184
|
+
* * Field Name: SharedByUser
|
|
52185
|
+
* * Display Name: Shared By User
|
|
49892
52186
|
* * SQL Data Type: nvarchar(100)
|
|
49893
52187
|
*/
|
|
49894
|
-
get
|
|
49895
|
-
return this.Get('
|
|
52188
|
+
get SharedByUser() {
|
|
52189
|
+
return this.Get('SharedByUser');
|
|
49896
52190
|
}
|
|
49897
52191
|
};
|
|
49898
|
-
exports.
|
|
49899
|
-
exports.
|
|
49900
|
-
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ:
|
|
49901
|
-
],
|
|
52192
|
+
exports.DashboardPermissionEntity = DashboardPermissionEntity;
|
|
52193
|
+
exports.DashboardPermissionEntity = DashboardPermissionEntity = __decorate([
|
|
52194
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Dashboard Permissions')
|
|
52195
|
+
], DashboardPermissionEntity);
|
|
49902
52196
|
/**
|
|
49903
52197
|
* MJ: Dashboard User Preferences - strongly typed entity sub-class
|
|
49904
52198
|
* * Schema: __mj
|
|
@@ -53501,6 +55795,14 @@ let TaskEntity = class TaskEntity extends core_1.BaseEntity {
|
|
|
53501
55795
|
return this.Get('Project');
|
|
53502
55796
|
}
|
|
53503
55797
|
/**
|
|
55798
|
+
* * Field Name: ConversationDetail
|
|
55799
|
+
* * Display Name: Conversation Detail
|
|
55800
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
55801
|
+
*/
|
|
55802
|
+
get ConversationDetail() {
|
|
55803
|
+
return this.Get('ConversationDetail');
|
|
55804
|
+
}
|
|
55805
|
+
/**
|
|
53504
55806
|
* * Field Name: User
|
|
53505
55807
|
* * Display Name: User
|
|
53506
55808
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -54140,7 +56442,7 @@ let TestRunEntity = class TestRunEntity extends core_1.BaseEntity {
|
|
|
54140
56442
|
}
|
|
54141
56443
|
/**
|
|
54142
56444
|
* * Field Name: CostUSD
|
|
54143
|
-
* * Display Name: Cost USD
|
|
56445
|
+
* * Display Name: Cost (USD)
|
|
54144
56446
|
* * SQL Data Type: decimal(10, 6)
|
|
54145
56447
|
* * Description: Cost in USD for running this test (e.g., LLM token costs, compute resources)
|
|
54146
56448
|
*/
|
|
@@ -54278,7 +56580,7 @@ let TestRunEntity = class TestRunEntity extends core_1.BaseEntity {
|
|
|
54278
56580
|
}
|
|
54279
56581
|
/**
|
|
54280
56582
|
* * Field Name: TargetLogEntityID
|
|
54281
|
-
* * Display Name: Target Log Entity
|
|
56583
|
+
* * Display Name: Target Log Entity
|
|
54282
56584
|
* * SQL Data Type: uniqueidentifier
|
|
54283
56585
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
54284
56586
|
* * Description: Foreign key to Entity table identifying the type of entity referenced by TargetLogID. When populated, TargetLogID is a record ID in this entity. Used for linking test runs to AI Agent Runs, Workflow Runs, or other entity types being tested.
|
|
@@ -54290,8 +56592,20 @@ let TestRunEntity = class TestRunEntity extends core_1.BaseEntity {
|
|
|
54290
56592
|
this.Set('TargetLogEntityID', value);
|
|
54291
56593
|
}
|
|
54292
56594
|
/**
|
|
56595
|
+
* * Field Name: ResolvedVariables
|
|
56596
|
+
* * Display Name: Resolved Variables
|
|
56597
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
56598
|
+
* * Description: JSON object containing the final resolved variable values used during test execution. Includes both the resolved values and the source of each value (run, suite, test, or type level). Stored for reproducibility and auditing.
|
|
56599
|
+
*/
|
|
56600
|
+
get ResolvedVariables() {
|
|
56601
|
+
return this.Get('ResolvedVariables');
|
|
56602
|
+
}
|
|
56603
|
+
set ResolvedVariables(value) {
|
|
56604
|
+
this.Set('ResolvedVariables', value);
|
|
56605
|
+
}
|
|
56606
|
+
/**
|
|
54293
56607
|
* * Field Name: Test
|
|
54294
|
-
* * Display Name: Test
|
|
56608
|
+
* * Display Name: Test Name
|
|
54295
56609
|
* * SQL Data Type: nvarchar(255)
|
|
54296
56610
|
*/
|
|
54297
56611
|
get Test() {
|
|
@@ -54315,7 +56629,7 @@ let TestRunEntity = class TestRunEntity extends core_1.BaseEntity {
|
|
|
54315
56629
|
}
|
|
54316
56630
|
/**
|
|
54317
56631
|
* * Field Name: TargetLogEntity
|
|
54318
|
-
* * Display Name: Target Log Entity
|
|
56632
|
+
* * Display Name: Target Log Entity Name
|
|
54319
56633
|
* * SQL Data Type: nvarchar(255)
|
|
54320
56634
|
*/
|
|
54321
56635
|
get TargetLogEntity() {
|
|
@@ -54381,7 +56695,7 @@ let TestSuiteRunEntity = class TestSuiteRunEntity extends core_1.BaseEntity {
|
|
|
54381
56695
|
}
|
|
54382
56696
|
/**
|
|
54383
56697
|
* * Field Name: RunByUserID
|
|
54384
|
-
* * Display Name: Run By User
|
|
56698
|
+
* * Display Name: Run By User ID
|
|
54385
56699
|
* * SQL Data Type: uniqueidentifier
|
|
54386
56700
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
54387
56701
|
* * Description: Foreign Key - The user who triggered the suite run (could be system user for automated runs)
|
|
@@ -54546,7 +56860,7 @@ let TestSuiteRunEntity = class TestSuiteRunEntity extends core_1.BaseEntity {
|
|
|
54546
56860
|
}
|
|
54547
56861
|
/**
|
|
54548
56862
|
* * Field Name: TotalDurationSeconds
|
|
54549
|
-
* * Display Name: Total Duration
|
|
56863
|
+
* * Display Name: Total Duration Seconds
|
|
54550
56864
|
* * SQL Data Type: decimal(10, 3)
|
|
54551
56865
|
* * Description: Total execution time in seconds for the entire suite
|
|
54552
56866
|
*/
|
|
@@ -54558,7 +56872,7 @@ let TestSuiteRunEntity = class TestSuiteRunEntity extends core_1.BaseEntity {
|
|
|
54558
56872
|
}
|
|
54559
56873
|
/**
|
|
54560
56874
|
* * Field Name: TotalCostUSD
|
|
54561
|
-
* * Display Name: Total Cost
|
|
56875
|
+
* * Display Name: Total Cost USD
|
|
54562
56876
|
* * SQL Data Type: decimal(10, 6)
|
|
54563
56877
|
* * Description: Total cost in USD for running the entire suite (sum of all test costs)
|
|
54564
56878
|
*/
|
|
@@ -54695,6 +57009,18 @@ let TestSuiteRunEntity = class TestSuiteRunEntity extends core_1.BaseEntity {
|
|
|
54695
57009
|
this.Set('RunContextDetails', value);
|
|
54696
57010
|
}
|
|
54697
57011
|
/**
|
|
57012
|
+
* * Field Name: ResolvedVariables
|
|
57013
|
+
* * Display Name: Resolved Variables
|
|
57014
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
57015
|
+
* * Description: JSON object containing the variable values provided at suite run level. These values were applied to all tests in the suite run and can be seen on individual TestRun.ResolvedVariables with source="suite".
|
|
57016
|
+
*/
|
|
57017
|
+
get ResolvedVariables() {
|
|
57018
|
+
return this.Get('ResolvedVariables');
|
|
57019
|
+
}
|
|
57020
|
+
set ResolvedVariables(value) {
|
|
57021
|
+
this.Set('ResolvedVariables', value);
|
|
57022
|
+
}
|
|
57023
|
+
/**
|
|
54698
57024
|
* * Field Name: Suite
|
|
54699
57025
|
* * Display Name: Suite
|
|
54700
57026
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -54905,7 +57231,7 @@ let TestSuiteEntity = class TestSuiteEntity extends core_1.BaseEntity {
|
|
|
54905
57231
|
}
|
|
54906
57232
|
/**
|
|
54907
57233
|
* * Field Name: ParentID
|
|
54908
|
-
* * Display Name: Parent
|
|
57234
|
+
* * Display Name: Parent ID
|
|
54909
57235
|
* * SQL Data Type: uniqueidentifier
|
|
54910
57236
|
* * Related Entity/Foreign Key: MJ: Test Suites (vwTestSuites.ID)
|
|
54911
57237
|
* * Description: Optional parent suite ID for hierarchical organization. NULL for root-level suites.
|
|
@@ -55013,8 +57339,20 @@ let TestSuiteEntity = class TestSuiteEntity extends core_1.BaseEntity {
|
|
|
55013
57339
|
this.Set('MaxExecutionTimeMS', value);
|
|
55014
57340
|
}
|
|
55015
57341
|
/**
|
|
57342
|
+
* * Field Name: Variables
|
|
57343
|
+
* * Display Name: Variables
|
|
57344
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
57345
|
+
* * Description: JSON object containing variable values to apply to all tests in this suite. These values override test-level defaults but can be overridden by run-level values.
|
|
57346
|
+
*/
|
|
57347
|
+
get Variables() {
|
|
57348
|
+
return this.Get('Variables');
|
|
57349
|
+
}
|
|
57350
|
+
set Variables(value) {
|
|
57351
|
+
this.Set('Variables', value);
|
|
57352
|
+
}
|
|
57353
|
+
/**
|
|
55016
57354
|
* * Field Name: Parent
|
|
55017
|
-
* * Display Name: Parent
|
|
57355
|
+
* * Display Name: Parent
|
|
55018
57356
|
* * SQL Data Type: nvarchar(255)
|
|
55019
57357
|
*/
|
|
55020
57358
|
get Parent() {
|
|
@@ -55022,7 +57360,7 @@ let TestSuiteEntity = class TestSuiteEntity extends core_1.BaseEntity {
|
|
|
55022
57360
|
}
|
|
55023
57361
|
/**
|
|
55024
57362
|
* * Field Name: RootParentID
|
|
55025
|
-
* * Display Name: Root Parent
|
|
57363
|
+
* * Display Name: Root Parent ID
|
|
55026
57364
|
* * SQL Data Type: uniqueidentifier
|
|
55027
57365
|
*/
|
|
55028
57366
|
get RootParentID() {
|
|
@@ -55145,6 +57483,18 @@ let TestTypeEntity = class TestTypeEntity extends core_1.BaseEntity {
|
|
|
55145
57483
|
get __mj_UpdatedAt() {
|
|
55146
57484
|
return this.Get('__mj_UpdatedAt');
|
|
55147
57485
|
}
|
|
57486
|
+
/**
|
|
57487
|
+
* * Field Name: VariablesSchema
|
|
57488
|
+
* * Display Name: Variables Schema
|
|
57489
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
57490
|
+
* * Description: JSON schema defining the variables available for tests of this type. Contains schemaVersion and array of variable definitions with name, displayName, description, dataType, valueSource, possibleValues, defaultValue, and required fields.
|
|
57491
|
+
*/
|
|
57492
|
+
get VariablesSchema() {
|
|
57493
|
+
return this.Get('VariablesSchema');
|
|
57494
|
+
}
|
|
57495
|
+
set VariablesSchema(value) {
|
|
57496
|
+
this.Set('VariablesSchema', value);
|
|
57497
|
+
}
|
|
55148
57498
|
};
|
|
55149
57499
|
exports.TestTypeEntity = TestTypeEntity;
|
|
55150
57500
|
exports.TestTypeEntity = TestTypeEntity = __decorate([
|
|
@@ -55398,8 +57748,20 @@ let TestEntity = class TestEntity extends core_1.BaseEntity {
|
|
|
55398
57748
|
this.Set('MaxExecutionTimeMS', value);
|
|
55399
57749
|
}
|
|
55400
57750
|
/**
|
|
57751
|
+
* * Field Name: Variables
|
|
57752
|
+
* * Display Name: Variables
|
|
57753
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
57754
|
+
* * Description: JSON configuration for which test type variables are exposed by this test, along with test-level defaults, locks, and value restrictions. References variables defined in the parent TestType.VariablesSchema.
|
|
57755
|
+
*/
|
|
57756
|
+
get Variables() {
|
|
57757
|
+
return this.Get('Variables');
|
|
57758
|
+
}
|
|
57759
|
+
set Variables(value) {
|
|
57760
|
+
this.Set('Variables', value);
|
|
57761
|
+
}
|
|
57762
|
+
/**
|
|
55401
57763
|
* * Field Name: Type
|
|
55402
|
-
* * Display Name:
|
|
57764
|
+
* * Display Name: Type
|
|
55403
57765
|
* * SQL Data Type: nvarchar(100)
|
|
55404
57766
|
*/
|
|
55405
57767
|
get Type() {
|
|
@@ -57509,6 +59871,14 @@ let RecommendationItemEntity = class RecommendationItemEntity extends core_1.Bas
|
|
|
57509
59871
|
return this.Get('__mj_UpdatedAt');
|
|
57510
59872
|
}
|
|
57511
59873
|
/**
|
|
59874
|
+
* * Field Name: Recommendation
|
|
59875
|
+
* * Display Name: Recommendation
|
|
59876
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
59877
|
+
*/
|
|
59878
|
+
get Recommendation() {
|
|
59879
|
+
return this.Get('Recommendation');
|
|
59880
|
+
}
|
|
59881
|
+
/**
|
|
57512
59882
|
* * Field Name: DestinationEntity
|
|
57513
59883
|
* * Display Name: Destination Entity
|
|
57514
59884
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -57858,6 +60228,14 @@ let RecommendationEntity = class RecommendationEntity extends core_1.BaseEntity
|
|
|
57858
60228
|
return this.Get('__mj_UpdatedAt');
|
|
57859
60229
|
}
|
|
57860
60230
|
/**
|
|
60231
|
+
* * Field Name: RecommendationRun
|
|
60232
|
+
* * Display Name: Recommendation Run
|
|
60233
|
+
* * SQL Data Type: nvarchar(255)
|
|
60234
|
+
*/
|
|
60235
|
+
get RecommendationRun() {
|
|
60236
|
+
return this.Get('RecommendationRun');
|
|
60237
|
+
}
|
|
60238
|
+
/**
|
|
57861
60239
|
* * Field Name: SourceEntity
|
|
57862
60240
|
* * Display Name: Source Entity
|
|
57863
60241
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -58254,6 +60632,14 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
58254
60632
|
return this.Get('User');
|
|
58255
60633
|
}
|
|
58256
60634
|
/**
|
|
60635
|
+
* * Field Name: ReplayRun
|
|
60636
|
+
* * Display Name: Replay Run
|
|
60637
|
+
* * SQL Data Type: nvarchar(100)
|
|
60638
|
+
*/
|
|
60639
|
+
get ReplayRun() {
|
|
60640
|
+
return this.Get('ReplayRun');
|
|
60641
|
+
}
|
|
60642
|
+
/**
|
|
58257
60643
|
* * Field Name: Integration
|
|
58258
60644
|
* * Display Name: Integration
|
|
58259
60645
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -58377,6 +60763,14 @@ let RecordMergeDeletionLogEntity = class RecordMergeDeletionLogEntity extends co
|
|
|
58377
60763
|
get __mj_UpdatedAt() {
|
|
58378
60764
|
return this.Get('__mj_UpdatedAt');
|
|
58379
60765
|
}
|
|
60766
|
+
/**
|
|
60767
|
+
* * Field Name: RecordMergeLog
|
|
60768
|
+
* * Display Name: Record Merge Log
|
|
60769
|
+
* * SQL Data Type: nvarchar(450)
|
|
60770
|
+
*/
|
|
60771
|
+
get RecordMergeLog() {
|
|
60772
|
+
return this.Get('RecordMergeLog');
|
|
60773
|
+
}
|
|
58380
60774
|
};
|
|
58381
60775
|
exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity;
|
|
58382
60776
|
exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity = __decorate([
|
|
@@ -59176,6 +61570,14 @@ let ReportEntity = class ReportEntity extends core_1.BaseEntity {
|
|
|
59176
61570
|
return this.Get('Conversation');
|
|
59177
61571
|
}
|
|
59178
61572
|
/**
|
|
61573
|
+
* * Field Name: ConversationDetail
|
|
61574
|
+
* * Display Name: Conversation Detail
|
|
61575
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
61576
|
+
*/
|
|
61577
|
+
get ConversationDetail() {
|
|
61578
|
+
return this.Get('ConversationDetail');
|
|
61579
|
+
}
|
|
61580
|
+
/**
|
|
59179
61581
|
* * Field Name: DataContext
|
|
59180
61582
|
* * Display Name: Data Context
|
|
59181
61583
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -61488,6 +63890,14 @@ let TemplateParamEntity = class TemplateParamEntity extends core_1.BaseEntity {
|
|
|
61488
63890
|
get Entity() {
|
|
61489
63891
|
return this.Get('Entity');
|
|
61490
63892
|
}
|
|
63893
|
+
/**
|
|
63894
|
+
* * Field Name: TemplateContent
|
|
63895
|
+
* * Display Name: Template Content
|
|
63896
|
+
* * SQL Data Type: nvarchar(255)
|
|
63897
|
+
*/
|
|
63898
|
+
get TemplateContent() {
|
|
63899
|
+
return this.Get('TemplateContent');
|
|
63900
|
+
}
|
|
61491
63901
|
};
|
|
61492
63902
|
exports.TemplateParamEntity = TemplateParamEntity;
|
|
61493
63903
|
exports.TemplateParamEntity = TemplateParamEntity = __decorate([
|