@memberjunction/core-entities 2.111.1 → 2.113.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/ComponentEntityExtended.d.ts +3 -2
- package/dist/custom/ComponentEntityExtended.d.ts.map +1 -1
- package/dist/custom/ComponentEntityExtended.js +36 -4
- package/dist/custom/ComponentEntityExtended.js.map +1 -1
- package/dist/custom/UserViewEntity.d.ts.map +1 -1
- package/dist/custom/UserViewEntity.js +13 -1
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +459 -32
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +666 -32
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +4 -4
|
@@ -8,13 +8,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ContentSourceParamSchema = exports.ContentProcessRunSchema = exports.ContentItemSchema = exports.ContentItemTagSchema = exports.ContentItemAttributeSchema = exports.ContentFileTypeSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIAgentSchema = exports.AIAgentRequestSchema = exports.AIAgentNoteSchema = exports.AIAgentNoteTypeSchema = exports.AIAgentModelSchema = exports.AIAgentLearningCycleSchema = exports.AIAgentActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = exports.loadModule = void 0;
|
|
10
10
|
exports.IntegrationSchema = exports.IntegrationURLFormatSchema = exports.GeneratedCodeSchema = exports.GeneratedCodeCategorySchema = exports.FileSchema = exports.FileStorageProviderSchema = exports.FileEntityRecordLinkSchema = exports.FileCategorySchema = exports.ExplorerNavigationItemSchema = exports.ErrorLogSchema = exports.EntitySettingSchema = exports.EntityRelationshipSchema = exports.EntityRelationshipDisplayComponentSchema = exports.EntityRecordDocumentSchema = exports.EntityPermissionSchema = exports.EntityFieldSchema = exports.EntityFieldValueSchema = exports.EntityDocumentSchema = exports.EntityDocumentTypeSchema = exports.EntityDocumentSettingSchema = exports.EntityDocumentRunSchema = exports.EntityCommunicationMessageTypeSchema = exports.EntityCommunicationFieldSchema = exports.EntityAIActionSchema = exports.EntityActionSchema = exports.EntityActionParamSchema = exports.EntityActionInvocationSchema = exports.EntityActionInvocationTypeSchema = exports.EntityActionFilterSchema = exports.EntitySchema = exports.EmployeeSchema = exports.EmployeeSkillSchema = exports.EmployeeRoleSchema = exports.EmployeeCompanyIntegrationSchema = exports.DuplicateRunSchema = exports.DuplicateRunDetailSchema = exports.DuplicateRunDetailMatchSchema = exports.DatasetSchema = exports.DatasetItemSchema = exports.DataContextSchema = exports.DataContextItemSchema = exports.DashboardSchema = exports.DashboardCategorySchema = exports.ConversationSchema = exports.ConversationDetailSchema = exports.ContentTypeSchema = exports.ContentTypeAttributeSchema = exports.ContentSourceSchema = exports.ContentSourceTypeSchema = exports.ContentSourceTypeParamSchema = void 0;
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = void 0;
|
|
11
|
+
exports.EnvironmentSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationDetailRatingSchema = exports.ConversationDetailArtifactSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ComponentSchema = exports.ComponentRegistrySchema = 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.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentRelationshipSchema = exports.AIAgentPromptSchema = exports.AIAgentPermissionSchema = exports.AIAgentExampleSchema = exports.AIAgentDataSourceSchema = exports.AIAgentArtifactTypeSchema = exports.AccessControlRuleSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
|
|
12
|
+
exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.TaskSchema = exports.TaskTypeSchema = exports.TaskDependencySchema = exports.ScheduledJobSchema = exports.ScheduledJobTypeSchema = exports.ScheduledJobRunSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.RecordLinkSchema = exports.QueryParameterSchema = exports.PublicLinkSchema = exports.ProjectSchema = void 0;
|
|
13
|
+
exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = 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 = void 0;
|
|
14
|
+
exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = 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 = void 0;
|
|
15
|
+
exports.ArtifactVersionAttributeEntity = exports.ArtifactUseEntity = exports.ArtifactTypeEntity = exports.ArtifactPermissionEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentRelationshipEntity = exports.AIAgentPromptEntity = exports.AIAgentPermissionEntity = exports.AIAgentExampleEntity = exports.AIAgentDataSourceEntity = exports.AIAgentArtifactTypeEntity = exports.AccessControlRuleEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = void 0;
|
|
16
|
+
exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.TaskEntity = exports.TaskTypeEntity = exports.TaskDependencyEntity = exports.ScheduledJobEntity = exports.ScheduledJobTypeEntity = exports.ScheduledJobRunEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.RecordLinkEntity = exports.QueryParameterEntity = exports.PublicLinkEntity = exports.ProjectEntity = exports.EnvironmentEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationDetailRatingEntity = exports.ConversationDetailArtifactEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ComponentEntity = exports.ComponentRegistryEntity = exports.ComponentLibraryLinkEntity = exports.ComponentLibraryEntity = exports.ComponentDependencyEntity = exports.CollectionEntity = exports.CollectionPermissionEntity = exports.CollectionArtifactEntity = exports.ArtifactEntity = exports.ArtifactVersionEntity = void 0;
|
|
17
|
+
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = void 0;
|
|
18
18
|
const core_1 = require("@memberjunction/core");
|
|
19
19
|
const global_1 = require("@memberjunction/global");
|
|
20
20
|
const zod_1 = require("zod");
|
|
@@ -1034,6 +1034,17 @@ exports.AIAgentNoteSchema = zod_1.z.object({
|
|
|
1034
1034
|
* * SQL Data Type: uniqueidentifier
|
|
1035
1035
|
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
1036
1036
|
* * Description: Optional company scope for this note. When populated with UserID, creates org+user specific notes.`),
|
|
1037
|
+
EmbeddingVector: zod_1.z.string().nullable().describe(`
|
|
1038
|
+
* * Field Name: EmbeddingVector
|
|
1039
|
+
* * Display Name: Embedding Vector
|
|
1040
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1041
|
+
* * Description: JSON array of embedding vector for semantic search on Note field. Auto-generated when Note changes.`),
|
|
1042
|
+
EmbeddingModelID: zod_1.z.string().nullable().describe(`
|
|
1043
|
+
* * Field Name: EmbeddingModelID
|
|
1044
|
+
* * Display Name: Embedding Model ID
|
|
1045
|
+
* * SQL Data Type: uniqueidentifier
|
|
1046
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
1047
|
+
* * Description: Reference to the AI model used to generate the embedding vector.`),
|
|
1037
1048
|
Agent: zod_1.z.string().nullable().describe(`
|
|
1038
1049
|
* * Field Name: Agent
|
|
1039
1050
|
* * Display Name: Agent
|
|
@@ -1054,6 +1065,10 @@ exports.AIAgentNoteSchema = zod_1.z.object({
|
|
|
1054
1065
|
* * Field Name: Company
|
|
1055
1066
|
* * Display Name: Company
|
|
1056
1067
|
* * SQL Data Type: nvarchar(50)`),
|
|
1068
|
+
EmbeddingModel: zod_1.z.string().nullable().describe(`
|
|
1069
|
+
* * Field Name: EmbeddingModel
|
|
1070
|
+
* * Display Name: Embedding Model
|
|
1071
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
1057
1072
|
});
|
|
1058
1073
|
/**
|
|
1059
1074
|
* zod schema definition for the entity AI Agent Requests
|
|
@@ -1470,6 +1485,29 @@ if this limit is exceeded.`),
|
|
|
1470
1485
|
* * Recent
|
|
1471
1486
|
* * Semantic
|
|
1472
1487
|
* * Description: Strategy for selecting which examples to inject: Semantic (vector similarity), Recent (most recent first), or Rated (highest success score first).`),
|
|
1488
|
+
IsRestricted: zod_1.z.boolean().describe(`
|
|
1489
|
+
* * Field Name: IsRestricted
|
|
1490
|
+
* * Display Name: Is Restricted
|
|
1491
|
+
* * SQL Data Type: bit
|
|
1492
|
+
* * Default Value: 0
|
|
1493
|
+
* * Description: When true, agent is restricted to system/scheduled use only and hidden from user selection, Agent Manager, and MCP/A2A discovery.`),
|
|
1494
|
+
MessageMode: zod_1.z.union([zod_1.z.literal('All'), zod_1.z.literal('Bookend'), zod_1.z.literal('Latest'), zod_1.z.literal('None')]).describe(`
|
|
1495
|
+
* * Field Name: MessageMode
|
|
1496
|
+
* * Display Name: Message Mode
|
|
1497
|
+
* * SQL Data Type: nvarchar(50)
|
|
1498
|
+
* * Default Value: None
|
|
1499
|
+
* * Value List Type: List
|
|
1500
|
+
* * Possible Values
|
|
1501
|
+
* * All
|
|
1502
|
+
* * Bookend
|
|
1503
|
+
* * Latest
|
|
1504
|
+
* * None
|
|
1505
|
+
* * Description: Specifies how conversation messages are passed from parent agent to this child sub-agent (when this agent is a child via ParentID). Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on child agent because each child has only one parent relationship.`),
|
|
1506
|
+
MaxMessages: zod_1.z.number().nullable().describe(`
|
|
1507
|
+
* * Field Name: MaxMessages
|
|
1508
|
+
* * Display Name: Max Messages
|
|
1509
|
+
* * SQL Data Type: int
|
|
1510
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.`),
|
|
1473
1511
|
Parent: zod_1.z.string().nullable().describe(`
|
|
1474
1512
|
* * Field Name: Parent
|
|
1475
1513
|
* * Display Name: Parent
|
|
@@ -7958,6 +7996,17 @@ exports.AIAgentExampleSchema = zod_1.z.object({
|
|
|
7958
7996
|
* * Display Name: Updated At
|
|
7959
7997
|
* * SQL Data Type: datetimeoffset
|
|
7960
7998
|
* * Default Value: getutcdate()`),
|
|
7999
|
+
EmbeddingVector: zod_1.z.string().nullable().describe(`
|
|
8000
|
+
* * Field Name: EmbeddingVector
|
|
8001
|
+
* * Display Name: Embedding Vector
|
|
8002
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8003
|
+
* * Description: JSON array of embedding vector for semantic search on ExampleInput field. Auto-generated when ExampleInput changes.`),
|
|
8004
|
+
EmbeddingModelID: zod_1.z.string().nullable().describe(`
|
|
8005
|
+
* * Field Name: EmbeddingModelID
|
|
8006
|
+
* * Display Name: Embedding Model ID
|
|
8007
|
+
* * SQL Data Type: uniqueidentifier
|
|
8008
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
8009
|
+
* * Description: Reference to the AI model used to generate the embedding vector.`),
|
|
7961
8010
|
Agent: zod_1.z.string().nullable().describe(`
|
|
7962
8011
|
* * Field Name: Agent
|
|
7963
8012
|
* * Display Name: Agent
|
|
@@ -7974,6 +8023,10 @@ exports.AIAgentExampleSchema = zod_1.z.object({
|
|
|
7974
8023
|
* * Field Name: SourceConversation
|
|
7975
8024
|
* * Display Name: Source Conversation
|
|
7976
8025
|
* * SQL Data Type: nvarchar(255)`),
|
|
8026
|
+
EmbeddingModel: zod_1.z.string().nullable().describe(`
|
|
8027
|
+
* * Field Name: EmbeddingModel
|
|
8028
|
+
* * Display Name: Embedding Model
|
|
8029
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
7977
8030
|
});
|
|
7978
8031
|
/**
|
|
7979
8032
|
* zod schema definition for the entity MJ: AI Agent Permissions
|
|
@@ -8202,6 +8255,23 @@ exports.AIAgentRelationshipSchema = zod_1.z.object({
|
|
|
8202
8255
|
* * Display Name: Sub Agent Context Paths
|
|
8203
8256
|
* * SQL Data Type: nvarchar(MAX)
|
|
8204
8257
|
* * Description: JSON array of parent payload paths to send as LLM context to related sub-agent. Sub-agent receives this data in a formatted context message before its task message. Format: ["path1", "path2.nested", "path3.*", "*"]. Use "*" to send entire parent payload. Example: ["userPreferences", "priorFindings.summary", "sources[*]"]. If null, no parent context is sent (default behavior).`),
|
|
8258
|
+
MessageMode: zod_1.z.union([zod_1.z.literal('All'), zod_1.z.literal('Bookend'), zod_1.z.literal('Latest'), zod_1.z.literal('None')]).describe(`
|
|
8259
|
+
* * Field Name: MessageMode
|
|
8260
|
+
* * Display Name: Message Mode
|
|
8261
|
+
* * SQL Data Type: nvarchar(50)
|
|
8262
|
+
* * Default Value: None
|
|
8263
|
+
* * Value List Type: List
|
|
8264
|
+
* * Possible Values
|
|
8265
|
+
* * All
|
|
8266
|
+
* * Bookend
|
|
8267
|
+
* * Latest
|
|
8268
|
+
* * None
|
|
8269
|
+
* * Description: Specifies how conversation messages are passed from parent agent to related sub-agent. Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on relationship because related sub-agents can have multiple parents with different message passing needs.`),
|
|
8270
|
+
MaxMessages: zod_1.z.number().nullable().describe(`
|
|
8271
|
+
* * Field Name: MaxMessages
|
|
8272
|
+
* * Display Name: Max Messages
|
|
8273
|
+
* * SQL Data Type: int
|
|
8274
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.`),
|
|
8205
8275
|
Agent: zod_1.z.string().nullable().describe(`
|
|
8206
8276
|
* * Field Name: Agent
|
|
8207
8277
|
* * Display Name: Agent
|
|
@@ -10196,6 +10266,63 @@ exports.ArtifactTypeSchema = zod_1.z.object({
|
|
|
10196
10266
|
* * Display Name: Root Parent ID
|
|
10197
10267
|
* * SQL Data Type: uniqueidentifier`),
|
|
10198
10268
|
});
|
|
10269
|
+
/**
|
|
10270
|
+
* zod schema definition for the entity MJ: Artifact Uses
|
|
10271
|
+
*/
|
|
10272
|
+
exports.ArtifactUseSchema = zod_1.z.object({
|
|
10273
|
+
ID: zod_1.z.string().describe(`
|
|
10274
|
+
* * Field Name: ID
|
|
10275
|
+
* * Display Name: ID
|
|
10276
|
+
* * SQL Data Type: uniqueidentifier
|
|
10277
|
+
* * Default Value: newsequentialid()`),
|
|
10278
|
+
ArtifactVersionID: zod_1.z.string().describe(`
|
|
10279
|
+
* * Field Name: ArtifactVersionID
|
|
10280
|
+
* * Display Name: Artifact Version ID
|
|
10281
|
+
* * SQL Data Type: uniqueidentifier
|
|
10282
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
10283
|
+
* * Description: The specific version of the artifact being used.`),
|
|
10284
|
+
UserID: zod_1.z.string().describe(`
|
|
10285
|
+
* * Field Name: UserID
|
|
10286
|
+
* * Display Name: User ID
|
|
10287
|
+
* * SQL Data Type: uniqueidentifier
|
|
10288
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
10289
|
+
* * Description: The user performing the action.`),
|
|
10290
|
+
UsageType: zod_1.z.union([zod_1.z.literal('Exported'), zod_1.z.literal('Opened'), zod_1.z.literal('Saved'), zod_1.z.literal('Shared'), zod_1.z.literal('Viewed')]).describe(`
|
|
10291
|
+
* * Field Name: UsageType
|
|
10292
|
+
* * Display Name: Usage Type
|
|
10293
|
+
* * SQL Data Type: nvarchar(20)
|
|
10294
|
+
* * Value List Type: List
|
|
10295
|
+
* * Possible Values
|
|
10296
|
+
* * Exported
|
|
10297
|
+
* * Opened
|
|
10298
|
+
* * Saved
|
|
10299
|
+
* * Shared
|
|
10300
|
+
* * Viewed
|
|
10301
|
+
* * Description: Type of usage: Viewed (artifact displayed), Opened (artifact accessed), Shared (artifact shared with others), Saved (artifact bookmarked), or Exported (artifact downloaded).`),
|
|
10302
|
+
UsageContext: zod_1.z.string().nullable().describe(`
|
|
10303
|
+
* * Field Name: UsageContext
|
|
10304
|
+
* * Display Name: Usage Context
|
|
10305
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10306
|
+
* * Description: Optional JSON context with additional metadata about the usage event (e.g., source page, referrer, device info).`),
|
|
10307
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
10308
|
+
* * Field Name: __mj_CreatedAt
|
|
10309
|
+
* * Display Name: Created At
|
|
10310
|
+
* * SQL Data Type: datetimeoffset
|
|
10311
|
+
* * Default Value: getutcdate()`),
|
|
10312
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
10313
|
+
* * Field Name: __mj_UpdatedAt
|
|
10314
|
+
* * Display Name: Updated At
|
|
10315
|
+
* * SQL Data Type: datetimeoffset
|
|
10316
|
+
* * Default Value: getutcdate()`),
|
|
10317
|
+
ArtifactVersion: zod_1.z.string().nullable().describe(`
|
|
10318
|
+
* * Field Name: ArtifactVersion
|
|
10319
|
+
* * Display Name: Artifact Version
|
|
10320
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
10321
|
+
User: zod_1.z.string().describe(`
|
|
10322
|
+
* * Field Name: User
|
|
10323
|
+
* * Display Name: User
|
|
10324
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
10325
|
+
});
|
|
10199
10326
|
/**
|
|
10200
10327
|
* zod schema definition for the entity MJ: Artifact Version Attributes
|
|
10201
10328
|
*/
|
|
@@ -10412,11 +10539,6 @@ exports.CollectionArtifactSchema = zod_1.z.object({
|
|
|
10412
10539
|
* * Display Name: Collection ID
|
|
10413
10540
|
* * SQL Data Type: uniqueidentifier
|
|
10414
10541
|
* * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)`),
|
|
10415
|
-
ArtifactID: zod_1.z.string().describe(`
|
|
10416
|
-
* * Field Name: ArtifactID
|
|
10417
|
-
* * Display Name: Artifact ID
|
|
10418
|
-
* * SQL Data Type: uniqueidentifier
|
|
10419
|
-
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)`),
|
|
10420
10542
|
Sequence: zod_1.z.number().describe(`
|
|
10421
10543
|
* * Field Name: Sequence
|
|
10422
10544
|
* * Display Name: Sequence
|
|
@@ -10433,13 +10555,19 @@ exports.CollectionArtifactSchema = zod_1.z.object({
|
|
|
10433
10555
|
* * Display Name: Updated At
|
|
10434
10556
|
* * SQL Data Type: datetimeoffset
|
|
10435
10557
|
* * Default Value: getutcdate()`),
|
|
10558
|
+
ArtifactVersionID: zod_1.z.string().describe(`
|
|
10559
|
+
* * Field Name: ArtifactVersionID
|
|
10560
|
+
* * Display Name: Artifact Version ID
|
|
10561
|
+
* * SQL Data Type: uniqueidentifier
|
|
10562
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
10563
|
+
* * Description: Required. Specific version of the artifact saved to this collection. Collections store version-specific artifacts to enable proper version tracking and Links tab filtering.`),
|
|
10436
10564
|
Collection: zod_1.z.string().describe(`
|
|
10437
10565
|
* * Field Name: Collection
|
|
10438
10566
|
* * Display Name: Collection
|
|
10439
10567
|
* * SQL Data Type: nvarchar(255)`),
|
|
10440
|
-
|
|
10441
|
-
* * Field Name:
|
|
10442
|
-
* * Display Name: Artifact
|
|
10568
|
+
ArtifactVersion: zod_1.z.string().nullable().describe(`
|
|
10569
|
+
* * Field Name: ArtifactVersion
|
|
10570
|
+
* * Display Name: Artifact Version
|
|
10443
10571
|
* * SQL Data Type: nvarchar(255)`),
|
|
10444
10572
|
});
|
|
10445
10573
|
/**
|
|
@@ -11227,6 +11355,52 @@ exports.ConversationDetailArtifactSchema = zod_1.z.object({
|
|
|
11227
11355
|
* * Display Name: Artifact Version
|
|
11228
11356
|
* * SQL Data Type: nvarchar(255)`),
|
|
11229
11357
|
});
|
|
11358
|
+
/**
|
|
11359
|
+
* zod schema definition for the entity MJ: Conversation Detail Ratings
|
|
11360
|
+
*/
|
|
11361
|
+
exports.ConversationDetailRatingSchema = zod_1.z.object({
|
|
11362
|
+
ID: zod_1.z.string().describe(`
|
|
11363
|
+
* * Field Name: ID
|
|
11364
|
+
* * Display Name: ID
|
|
11365
|
+
* * SQL Data Type: uniqueidentifier
|
|
11366
|
+
* * Default Value: newsequentialid()`),
|
|
11367
|
+
ConversationDetailID: zod_1.z.string().describe(`
|
|
11368
|
+
* * Field Name: ConversationDetailID
|
|
11369
|
+
* * Display Name: Conversation Detail ID
|
|
11370
|
+
* * SQL Data Type: uniqueidentifier
|
|
11371
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
11372
|
+
* * Description: The conversation message being rated.`),
|
|
11373
|
+
UserID: zod_1.z.string().describe(`
|
|
11374
|
+
* * Field Name: UserID
|
|
11375
|
+
* * Display Name: User ID
|
|
11376
|
+
* * SQL Data Type: uniqueidentifier
|
|
11377
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
11378
|
+
* * Description: The user providing the rating.`),
|
|
11379
|
+
Rating: zod_1.z.number().describe(`
|
|
11380
|
+
* * Field Name: Rating
|
|
11381
|
+
* * Display Name: Rating
|
|
11382
|
+
* * SQL Data Type: int
|
|
11383
|
+
* * Description: Rating on a 1-10 scale where 1 is thumbs down and 10 is thumbs up.`),
|
|
11384
|
+
Comments: zod_1.z.string().nullable().describe(`
|
|
11385
|
+
* * Field Name: Comments
|
|
11386
|
+
* * Display Name: Comments
|
|
11387
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11388
|
+
* * Description: Optional textual feedback from the user about this message.`),
|
|
11389
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
11390
|
+
* * Field Name: __mj_CreatedAt
|
|
11391
|
+
* * Display Name: Created At
|
|
11392
|
+
* * SQL Data Type: datetimeoffset
|
|
11393
|
+
* * Default Value: getutcdate()`),
|
|
11394
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
11395
|
+
* * Field Name: __mj_UpdatedAt
|
|
11396
|
+
* * Display Name: Updated At
|
|
11397
|
+
* * SQL Data Type: datetimeoffset
|
|
11398
|
+
* * Default Value: getutcdate()`),
|
|
11399
|
+
User: zod_1.z.string().describe(`
|
|
11400
|
+
* * Field Name: User
|
|
11401
|
+
* * Display Name: User
|
|
11402
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
11403
|
+
});
|
|
11230
11404
|
/**
|
|
11231
11405
|
* zod schema definition for the entity MJ: Dashboard User Preferences
|
|
11232
11406
|
*/
|
|
@@ -18366,6 +18540,31 @@ let AIAgentNoteEntity = class AIAgentNoteEntity extends core_1.BaseEntity {
|
|
|
18366
18540
|
this.Set('CompanyID', value);
|
|
18367
18541
|
}
|
|
18368
18542
|
/**
|
|
18543
|
+
* * Field Name: EmbeddingVector
|
|
18544
|
+
* * Display Name: Embedding Vector
|
|
18545
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18546
|
+
* * Description: JSON array of embedding vector for semantic search on Note field. Auto-generated when Note changes.
|
|
18547
|
+
*/
|
|
18548
|
+
get EmbeddingVector() {
|
|
18549
|
+
return this.Get('EmbeddingVector');
|
|
18550
|
+
}
|
|
18551
|
+
set EmbeddingVector(value) {
|
|
18552
|
+
this.Set('EmbeddingVector', value);
|
|
18553
|
+
}
|
|
18554
|
+
/**
|
|
18555
|
+
* * Field Name: EmbeddingModelID
|
|
18556
|
+
* * Display Name: Embedding Model ID
|
|
18557
|
+
* * SQL Data Type: uniqueidentifier
|
|
18558
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
18559
|
+
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
18560
|
+
*/
|
|
18561
|
+
get EmbeddingModelID() {
|
|
18562
|
+
return this.Get('EmbeddingModelID');
|
|
18563
|
+
}
|
|
18564
|
+
set EmbeddingModelID(value) {
|
|
18565
|
+
this.Set('EmbeddingModelID', value);
|
|
18566
|
+
}
|
|
18567
|
+
/**
|
|
18369
18568
|
* * Field Name: Agent
|
|
18370
18569
|
* * Display Name: Agent
|
|
18371
18570
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -18405,6 +18604,14 @@ let AIAgentNoteEntity = class AIAgentNoteEntity extends core_1.BaseEntity {
|
|
|
18405
18604
|
get Company() {
|
|
18406
18605
|
return this.Get('Company');
|
|
18407
18606
|
}
|
|
18607
|
+
/**
|
|
18608
|
+
* * Field Name: EmbeddingModel
|
|
18609
|
+
* * Display Name: Embedding Model
|
|
18610
|
+
* * SQL Data Type: nvarchar(50)
|
|
18611
|
+
*/
|
|
18612
|
+
get EmbeddingModel() {
|
|
18613
|
+
return this.Get('EmbeddingModel');
|
|
18614
|
+
}
|
|
18408
18615
|
};
|
|
18409
18616
|
exports.AIAgentNoteEntity = AIAgentNoteEntity;
|
|
18410
18617
|
exports.AIAgentNoteEntity = AIAgentNoteEntity = __decorate([
|
|
@@ -18647,6 +18854,7 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
|
|
|
18647
18854
|
* Validate() method override for AI Agents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
18648
18855
|
* * DefaultPromptEffortLevel: This rule ensures that if a default prompt effort level is specified, it must be a number between 1 and 100, inclusive.
|
|
18649
18856
|
* * MaxExecutionsPerRun: This rule ensures that if 'MaxExecutionsPerRun' is provided, it must be a value greater than zero. If it is left blank, that's acceptable.
|
|
18857
|
+
* * MaxMessages: This rule ensures that the maximum number of messages, if specified, must be greater than zero.
|
|
18650
18858
|
* * MinExecutionsPerRun: This rule ensures that if a minimum executions per run value is specified, it cannot be negative. If the field is not specified, there is no restriction.
|
|
18651
18859
|
* * Table-Level: This rule ensures that if context compression is enabled, then the message threshold, prompt ID, and message retention count must all be provided. If context compression is not enabled, then these fields can be left empty.
|
|
18652
18860
|
* * Table-Level: This rule ensures that if both the minimum and maximum number of executions per run are provided, the minimum cannot be greater than the maximum. If either value is not provided, no check is performed.
|
|
@@ -18659,6 +18867,7 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
|
|
|
18659
18867
|
const result = super.Validate();
|
|
18660
18868
|
this.ValidateDefaultPromptEffortLevelInAllowedRange(result);
|
|
18661
18869
|
this.ValidateMaxExecutionsPerRunGreaterThanZero(result);
|
|
18870
|
+
this.ValidateMaxMessagesGreaterThanZero(result);
|
|
18662
18871
|
this.ValidateMinExecutionsPerRunNonNegative(result);
|
|
18663
18872
|
this.ValidateContextCompressionFieldsWhenEnabled(result);
|
|
18664
18873
|
this.ValidateMinExecutionsPerRunLessThanOrEqualToMaxExecutionsPerRun(result);
|
|
@@ -18689,6 +18898,17 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
|
|
|
18689
18898
|
}
|
|
18690
18899
|
}
|
|
18691
18900
|
/**
|
|
18901
|
+
* This rule ensures that the maximum number of messages, if specified, must be greater than zero.
|
|
18902
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
18903
|
+
* @public
|
|
18904
|
+
* @method
|
|
18905
|
+
*/
|
|
18906
|
+
ValidateMaxMessagesGreaterThanZero(result) {
|
|
18907
|
+
if (this.MaxMessages != null && this.MaxMessages <= 0) {
|
|
18908
|
+
result.Errors.push(new core_1.ValidationErrorInfo("MaxMessages", "If a maximum number of messages is specified, it must be greater than zero.", this.MaxMessages, core_1.ValidationErrorType.Failure));
|
|
18909
|
+
}
|
|
18910
|
+
}
|
|
18911
|
+
/**
|
|
18692
18912
|
* This rule ensures that if a minimum executions per run value is specified, it cannot be negative. If the field is not specified, there is no restriction.
|
|
18693
18913
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
18694
18914
|
* @public
|
|
@@ -19404,6 +19624,50 @@ if this limit is exceeded.
|
|
|
19404
19624
|
this.Set('ExampleInjectionStrategy', value);
|
|
19405
19625
|
}
|
|
19406
19626
|
/**
|
|
19627
|
+
* * Field Name: IsRestricted
|
|
19628
|
+
* * Display Name: Is Restricted
|
|
19629
|
+
* * SQL Data Type: bit
|
|
19630
|
+
* * Default Value: 0
|
|
19631
|
+
* * Description: When true, agent is restricted to system/scheduled use only and hidden from user selection, Agent Manager, and MCP/A2A discovery.
|
|
19632
|
+
*/
|
|
19633
|
+
get IsRestricted() {
|
|
19634
|
+
return this.Get('IsRestricted');
|
|
19635
|
+
}
|
|
19636
|
+
set IsRestricted(value) {
|
|
19637
|
+
this.Set('IsRestricted', value);
|
|
19638
|
+
}
|
|
19639
|
+
/**
|
|
19640
|
+
* * Field Name: MessageMode
|
|
19641
|
+
* * Display Name: Message Mode
|
|
19642
|
+
* * SQL Data Type: nvarchar(50)
|
|
19643
|
+
* * Default Value: None
|
|
19644
|
+
* * Value List Type: List
|
|
19645
|
+
* * Possible Values
|
|
19646
|
+
* * All
|
|
19647
|
+
* * Bookend
|
|
19648
|
+
* * Latest
|
|
19649
|
+
* * None
|
|
19650
|
+
* * Description: Specifies how conversation messages are passed from parent agent to this child sub-agent (when this agent is a child via ParentID). Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on child agent because each child has only one parent relationship.
|
|
19651
|
+
*/
|
|
19652
|
+
get MessageMode() {
|
|
19653
|
+
return this.Get('MessageMode');
|
|
19654
|
+
}
|
|
19655
|
+
set MessageMode(value) {
|
|
19656
|
+
this.Set('MessageMode', value);
|
|
19657
|
+
}
|
|
19658
|
+
/**
|
|
19659
|
+
* * Field Name: MaxMessages
|
|
19660
|
+
* * Display Name: Max Messages
|
|
19661
|
+
* * SQL Data Type: int
|
|
19662
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.
|
|
19663
|
+
*/
|
|
19664
|
+
get MaxMessages() {
|
|
19665
|
+
return this.Get('MaxMessages');
|
|
19666
|
+
}
|
|
19667
|
+
set MaxMessages(value) {
|
|
19668
|
+
this.Set('MaxMessages', value);
|
|
19669
|
+
}
|
|
19670
|
+
/**
|
|
19407
19671
|
* * Field Name: Parent
|
|
19408
19672
|
* * Display Name: Parent
|
|
19409
19673
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -35718,6 +35982,31 @@ let AIAgentExampleEntity = class AIAgentExampleEntity extends core_1.BaseEntity
|
|
|
35718
35982
|
return this.Get('__mj_UpdatedAt');
|
|
35719
35983
|
}
|
|
35720
35984
|
/**
|
|
35985
|
+
* * Field Name: EmbeddingVector
|
|
35986
|
+
* * Display Name: Embedding Vector
|
|
35987
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
35988
|
+
* * Description: JSON array of embedding vector for semantic search on ExampleInput field. Auto-generated when ExampleInput changes.
|
|
35989
|
+
*/
|
|
35990
|
+
get EmbeddingVector() {
|
|
35991
|
+
return this.Get('EmbeddingVector');
|
|
35992
|
+
}
|
|
35993
|
+
set EmbeddingVector(value) {
|
|
35994
|
+
this.Set('EmbeddingVector', value);
|
|
35995
|
+
}
|
|
35996
|
+
/**
|
|
35997
|
+
* * Field Name: EmbeddingModelID
|
|
35998
|
+
* * Display Name: Embedding Model ID
|
|
35999
|
+
* * SQL Data Type: uniqueidentifier
|
|
36000
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
36001
|
+
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
36002
|
+
*/
|
|
36003
|
+
get EmbeddingModelID() {
|
|
36004
|
+
return this.Get('EmbeddingModelID');
|
|
36005
|
+
}
|
|
36006
|
+
set EmbeddingModelID(value) {
|
|
36007
|
+
this.Set('EmbeddingModelID', value);
|
|
36008
|
+
}
|
|
36009
|
+
/**
|
|
35721
36010
|
* * Field Name: Agent
|
|
35722
36011
|
* * Display Name: Agent
|
|
35723
36012
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -35749,6 +36038,14 @@ let AIAgentExampleEntity = class AIAgentExampleEntity extends core_1.BaseEntity
|
|
|
35749
36038
|
get SourceConversation() {
|
|
35750
36039
|
return this.Get('SourceConversation');
|
|
35751
36040
|
}
|
|
36041
|
+
/**
|
|
36042
|
+
* * Field Name: EmbeddingModel
|
|
36043
|
+
* * Display Name: Embedding Model
|
|
36044
|
+
* * SQL Data Type: nvarchar(50)
|
|
36045
|
+
*/
|
|
36046
|
+
get EmbeddingModel() {
|
|
36047
|
+
return this.Get('EmbeddingModel');
|
|
36048
|
+
}
|
|
35752
36049
|
};
|
|
35753
36050
|
exports.AIAgentExampleEntity = AIAgentExampleEntity;
|
|
35754
36051
|
exports.AIAgentExampleEntity = AIAgentExampleEntity = __decorate([
|
|
@@ -36225,6 +36522,30 @@ let AIAgentRelationshipEntity = class AIAgentRelationshipEntity extends core_1.B
|
|
|
36225
36522
|
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
36226
36523
|
}
|
|
36227
36524
|
/**
|
|
36525
|
+
* Validate() method override for MJ: AI Agent Relationships entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
36526
|
+
* * MaxMessages: This rule makes sure that if a value is specified for MaxMessages, it must be greater than 0.
|
|
36527
|
+
* @public
|
|
36528
|
+
* @method
|
|
36529
|
+
* @override
|
|
36530
|
+
*/
|
|
36531
|
+
Validate() {
|
|
36532
|
+
const result = super.Validate();
|
|
36533
|
+
this.ValidateMaxMessagesGreaterThanZero(result);
|
|
36534
|
+
result.Success = result.Success && (result.Errors.length === 0);
|
|
36535
|
+
return result;
|
|
36536
|
+
}
|
|
36537
|
+
/**
|
|
36538
|
+
* This rule makes sure that if a value is specified for MaxMessages, it must be greater than 0.
|
|
36539
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
36540
|
+
* @public
|
|
36541
|
+
* @method
|
|
36542
|
+
*/
|
|
36543
|
+
ValidateMaxMessagesGreaterThanZero(result) {
|
|
36544
|
+
if (this.MaxMessages != null && this.MaxMessages <= 0) {
|
|
36545
|
+
result.Errors.push(new core_1.ValidationErrorInfo("MaxMessages", "MaxMessages must be greater than 0 when specified.", this.MaxMessages, core_1.ValidationErrorType.Failure));
|
|
36546
|
+
}
|
|
36547
|
+
}
|
|
36548
|
+
/**
|
|
36228
36549
|
* * Field Name: ID
|
|
36229
36550
|
* * Display Name: ID
|
|
36230
36551
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -36335,6 +36656,37 @@ let AIAgentRelationshipEntity = class AIAgentRelationshipEntity extends core_1.B
|
|
|
36335
36656
|
this.Set('SubAgentContextPaths', value);
|
|
36336
36657
|
}
|
|
36337
36658
|
/**
|
|
36659
|
+
* * Field Name: MessageMode
|
|
36660
|
+
* * Display Name: Message Mode
|
|
36661
|
+
* * SQL Data Type: nvarchar(50)
|
|
36662
|
+
* * Default Value: None
|
|
36663
|
+
* * Value List Type: List
|
|
36664
|
+
* * Possible Values
|
|
36665
|
+
* * All
|
|
36666
|
+
* * Bookend
|
|
36667
|
+
* * Latest
|
|
36668
|
+
* * None
|
|
36669
|
+
* * Description: Specifies how conversation messages are passed from parent agent to related sub-agent. Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on relationship because related sub-agents can have multiple parents with different message passing needs.
|
|
36670
|
+
*/
|
|
36671
|
+
get MessageMode() {
|
|
36672
|
+
return this.Get('MessageMode');
|
|
36673
|
+
}
|
|
36674
|
+
set MessageMode(value) {
|
|
36675
|
+
this.Set('MessageMode', value);
|
|
36676
|
+
}
|
|
36677
|
+
/**
|
|
36678
|
+
* * Field Name: MaxMessages
|
|
36679
|
+
* * Display Name: Max Messages
|
|
36680
|
+
* * SQL Data Type: int
|
|
36681
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.
|
|
36682
|
+
*/
|
|
36683
|
+
get MaxMessages() {
|
|
36684
|
+
return this.Get('MaxMessages');
|
|
36685
|
+
}
|
|
36686
|
+
set MaxMessages(value) {
|
|
36687
|
+
this.Set('MaxMessages', value);
|
|
36688
|
+
}
|
|
36689
|
+
/**
|
|
36338
36690
|
* * Field Name: Agent
|
|
36339
36691
|
* * Display Name: Agent
|
|
36340
36692
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -41452,6 +41804,142 @@ exports.ArtifactTypeEntity = ArtifactTypeEntity;
|
|
|
41452
41804
|
exports.ArtifactTypeEntity = ArtifactTypeEntity = __decorate([
|
|
41453
41805
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifact Types')
|
|
41454
41806
|
], ArtifactTypeEntity);
|
|
41807
|
+
/**
|
|
41808
|
+
* MJ: Artifact Uses - strongly typed entity sub-class
|
|
41809
|
+
* * Schema: __mj
|
|
41810
|
+
* * Base Table: ArtifactUse
|
|
41811
|
+
* * Base View: vwArtifactUses
|
|
41812
|
+
* * @description Audit trail of artifact usage for security and analytics. Tracks each time an artifact is viewed, opened, shared, saved, or exported by users.
|
|
41813
|
+
* * Primary Key: ID
|
|
41814
|
+
* @extends {BaseEntity}
|
|
41815
|
+
* @class
|
|
41816
|
+
* @public
|
|
41817
|
+
*/
|
|
41818
|
+
let ArtifactUseEntity = class ArtifactUseEntity extends core_1.BaseEntity {
|
|
41819
|
+
/**
|
|
41820
|
+
* Loads the MJ: Artifact Uses record from the database
|
|
41821
|
+
* @param ID: string - primary key value to load the MJ: Artifact Uses record.
|
|
41822
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
41823
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
41824
|
+
* @public
|
|
41825
|
+
* @async
|
|
41826
|
+
* @memberof ArtifactUseEntity
|
|
41827
|
+
* @method
|
|
41828
|
+
* @override
|
|
41829
|
+
*/
|
|
41830
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
41831
|
+
const compositeKey = new core_1.CompositeKey();
|
|
41832
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
41833
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
41834
|
+
}
|
|
41835
|
+
/**
|
|
41836
|
+
* * Field Name: ID
|
|
41837
|
+
* * Display Name: ID
|
|
41838
|
+
* * SQL Data Type: uniqueidentifier
|
|
41839
|
+
* * Default Value: newsequentialid()
|
|
41840
|
+
*/
|
|
41841
|
+
get ID() {
|
|
41842
|
+
return this.Get('ID');
|
|
41843
|
+
}
|
|
41844
|
+
set ID(value) {
|
|
41845
|
+
this.Set('ID', value);
|
|
41846
|
+
}
|
|
41847
|
+
/**
|
|
41848
|
+
* * Field Name: ArtifactVersionID
|
|
41849
|
+
* * Display Name: Artifact Version ID
|
|
41850
|
+
* * SQL Data Type: uniqueidentifier
|
|
41851
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
41852
|
+
* * Description: The specific version of the artifact being used.
|
|
41853
|
+
*/
|
|
41854
|
+
get ArtifactVersionID() {
|
|
41855
|
+
return this.Get('ArtifactVersionID');
|
|
41856
|
+
}
|
|
41857
|
+
set ArtifactVersionID(value) {
|
|
41858
|
+
this.Set('ArtifactVersionID', value);
|
|
41859
|
+
}
|
|
41860
|
+
/**
|
|
41861
|
+
* * Field Name: UserID
|
|
41862
|
+
* * Display Name: User ID
|
|
41863
|
+
* * SQL Data Type: uniqueidentifier
|
|
41864
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
41865
|
+
* * Description: The user performing the action.
|
|
41866
|
+
*/
|
|
41867
|
+
get UserID() {
|
|
41868
|
+
return this.Get('UserID');
|
|
41869
|
+
}
|
|
41870
|
+
set UserID(value) {
|
|
41871
|
+
this.Set('UserID', value);
|
|
41872
|
+
}
|
|
41873
|
+
/**
|
|
41874
|
+
* * Field Name: UsageType
|
|
41875
|
+
* * Display Name: Usage Type
|
|
41876
|
+
* * SQL Data Type: nvarchar(20)
|
|
41877
|
+
* * Value List Type: List
|
|
41878
|
+
* * Possible Values
|
|
41879
|
+
* * Exported
|
|
41880
|
+
* * Opened
|
|
41881
|
+
* * Saved
|
|
41882
|
+
* * Shared
|
|
41883
|
+
* * Viewed
|
|
41884
|
+
* * Description: Type of usage: Viewed (artifact displayed), Opened (artifact accessed), Shared (artifact shared with others), Saved (artifact bookmarked), or Exported (artifact downloaded).
|
|
41885
|
+
*/
|
|
41886
|
+
get UsageType() {
|
|
41887
|
+
return this.Get('UsageType');
|
|
41888
|
+
}
|
|
41889
|
+
set UsageType(value) {
|
|
41890
|
+
this.Set('UsageType', value);
|
|
41891
|
+
}
|
|
41892
|
+
/**
|
|
41893
|
+
* * Field Name: UsageContext
|
|
41894
|
+
* * Display Name: Usage Context
|
|
41895
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
41896
|
+
* * Description: Optional JSON context with additional metadata about the usage event (e.g., source page, referrer, device info).
|
|
41897
|
+
*/
|
|
41898
|
+
get UsageContext() {
|
|
41899
|
+
return this.Get('UsageContext');
|
|
41900
|
+
}
|
|
41901
|
+
set UsageContext(value) {
|
|
41902
|
+
this.Set('UsageContext', value);
|
|
41903
|
+
}
|
|
41904
|
+
/**
|
|
41905
|
+
* * Field Name: __mj_CreatedAt
|
|
41906
|
+
* * Display Name: Created At
|
|
41907
|
+
* * SQL Data Type: datetimeoffset
|
|
41908
|
+
* * Default Value: getutcdate()
|
|
41909
|
+
*/
|
|
41910
|
+
get __mj_CreatedAt() {
|
|
41911
|
+
return this.Get('__mj_CreatedAt');
|
|
41912
|
+
}
|
|
41913
|
+
/**
|
|
41914
|
+
* * Field Name: __mj_UpdatedAt
|
|
41915
|
+
* * Display Name: Updated At
|
|
41916
|
+
* * SQL Data Type: datetimeoffset
|
|
41917
|
+
* * Default Value: getutcdate()
|
|
41918
|
+
*/
|
|
41919
|
+
get __mj_UpdatedAt() {
|
|
41920
|
+
return this.Get('__mj_UpdatedAt');
|
|
41921
|
+
}
|
|
41922
|
+
/**
|
|
41923
|
+
* * Field Name: ArtifactVersion
|
|
41924
|
+
* * Display Name: Artifact Version
|
|
41925
|
+
* * SQL Data Type: nvarchar(255)
|
|
41926
|
+
*/
|
|
41927
|
+
get ArtifactVersion() {
|
|
41928
|
+
return this.Get('ArtifactVersion');
|
|
41929
|
+
}
|
|
41930
|
+
/**
|
|
41931
|
+
* * Field Name: User
|
|
41932
|
+
* * Display Name: User
|
|
41933
|
+
* * SQL Data Type: nvarchar(100)
|
|
41934
|
+
*/
|
|
41935
|
+
get User() {
|
|
41936
|
+
return this.Get('User');
|
|
41937
|
+
}
|
|
41938
|
+
};
|
|
41939
|
+
exports.ArtifactUseEntity = ArtifactUseEntity;
|
|
41940
|
+
exports.ArtifactUseEntity = ArtifactUseEntity = __decorate([
|
|
41941
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Artifact Uses')
|
|
41942
|
+
], ArtifactUseEntity);
|
|
41455
41943
|
/**
|
|
41456
41944
|
* MJ: Artifact Version Attributes - strongly typed entity sub-class
|
|
41457
41945
|
* * Schema: __mj
|
|
@@ -41959,7 +42447,7 @@ exports.ArtifactEntity = ArtifactEntity = __decorate([
|
|
|
41959
42447
|
* * Schema: __mj
|
|
41960
42448
|
* * Base Table: CollectionArtifact
|
|
41961
42449
|
* * Base View: vwCollectionArtifacts
|
|
41962
|
-
* * @description
|
|
42450
|
+
* * @description Links collections to specific artifact versions. Each collection can contain multiple versions of the same artifact.
|
|
41963
42451
|
* * Primary Key: ID
|
|
41964
42452
|
* @extends {BaseEntity}
|
|
41965
42453
|
* @class
|
|
@@ -42007,18 +42495,6 @@ let CollectionArtifactEntity = class CollectionArtifactEntity extends core_1.Bas
|
|
|
42007
42495
|
this.Set('CollectionID', value);
|
|
42008
42496
|
}
|
|
42009
42497
|
/**
|
|
42010
|
-
* * Field Name: ArtifactID
|
|
42011
|
-
* * Display Name: Artifact ID
|
|
42012
|
-
* * SQL Data Type: uniqueidentifier
|
|
42013
|
-
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
|
|
42014
|
-
*/
|
|
42015
|
-
get ArtifactID() {
|
|
42016
|
-
return this.Get('ArtifactID');
|
|
42017
|
-
}
|
|
42018
|
-
set ArtifactID(value) {
|
|
42019
|
-
this.Set('ArtifactID', value);
|
|
42020
|
-
}
|
|
42021
|
-
/**
|
|
42022
42498
|
* * Field Name: Sequence
|
|
42023
42499
|
* * Display Name: Sequence
|
|
42024
42500
|
* * SQL Data Type: int
|
|
@@ -42050,6 +42526,19 @@ let CollectionArtifactEntity = class CollectionArtifactEntity extends core_1.Bas
|
|
|
42050
42526
|
return this.Get('__mj_UpdatedAt');
|
|
42051
42527
|
}
|
|
42052
42528
|
/**
|
|
42529
|
+
* * Field Name: ArtifactVersionID
|
|
42530
|
+
* * Display Name: Artifact Version ID
|
|
42531
|
+
* * SQL Data Type: uniqueidentifier
|
|
42532
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
42533
|
+
* * Description: Required. Specific version of the artifact saved to this collection. Collections store version-specific artifacts to enable proper version tracking and Links tab filtering.
|
|
42534
|
+
*/
|
|
42535
|
+
get ArtifactVersionID() {
|
|
42536
|
+
return this.Get('ArtifactVersionID');
|
|
42537
|
+
}
|
|
42538
|
+
set ArtifactVersionID(value) {
|
|
42539
|
+
this.Set('ArtifactVersionID', value);
|
|
42540
|
+
}
|
|
42541
|
+
/**
|
|
42053
42542
|
* * Field Name: Collection
|
|
42054
42543
|
* * Display Name: Collection
|
|
42055
42544
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -42058,12 +42547,12 @@ let CollectionArtifactEntity = class CollectionArtifactEntity extends core_1.Bas
|
|
|
42058
42547
|
return this.Get('Collection');
|
|
42059
42548
|
}
|
|
42060
42549
|
/**
|
|
42061
|
-
* * Field Name:
|
|
42062
|
-
* * Display Name: Artifact
|
|
42550
|
+
* * Field Name: ArtifactVersion
|
|
42551
|
+
* * Display Name: Artifact Version
|
|
42063
42552
|
* * SQL Data Type: nvarchar(255)
|
|
42064
42553
|
*/
|
|
42065
|
-
get
|
|
42066
|
-
return this.Get('
|
|
42554
|
+
get ArtifactVersion() {
|
|
42555
|
+
return this.Get('ArtifactVersion');
|
|
42067
42556
|
}
|
|
42068
42557
|
};
|
|
42069
42558
|
exports.CollectionArtifactEntity = CollectionArtifactEntity;
|
|
@@ -44060,6 +44549,151 @@ exports.ConversationDetailArtifactEntity = ConversationDetailArtifactEntity;
|
|
|
44060
44549
|
exports.ConversationDetailArtifactEntity = ConversationDetailArtifactEntity = __decorate([
|
|
44061
44550
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Conversation Detail Artifacts')
|
|
44062
44551
|
], ConversationDetailArtifactEntity);
|
|
44552
|
+
/**
|
|
44553
|
+
* MJ: Conversation Detail Ratings - strongly typed entity sub-class
|
|
44554
|
+
* * Schema: __mj
|
|
44555
|
+
* * Base Table: ConversationDetailRating
|
|
44556
|
+
* * Base View: vwConversationDetailRatings
|
|
44557
|
+
* * @description Stores per-user ratings for conversation messages, supporting multi-user conversations where each user can independently rate messages.
|
|
44558
|
+
* * Primary Key: ID
|
|
44559
|
+
* @extends {BaseEntity}
|
|
44560
|
+
* @class
|
|
44561
|
+
* @public
|
|
44562
|
+
*/
|
|
44563
|
+
let ConversationDetailRatingEntity = class ConversationDetailRatingEntity extends core_1.BaseEntity {
|
|
44564
|
+
/**
|
|
44565
|
+
* Loads the MJ: Conversation Detail Ratings record from the database
|
|
44566
|
+
* @param ID: string - primary key value to load the MJ: Conversation Detail Ratings record.
|
|
44567
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
44568
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
44569
|
+
* @public
|
|
44570
|
+
* @async
|
|
44571
|
+
* @memberof ConversationDetailRatingEntity
|
|
44572
|
+
* @method
|
|
44573
|
+
* @override
|
|
44574
|
+
*/
|
|
44575
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
44576
|
+
const compositeKey = new core_1.CompositeKey();
|
|
44577
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
44578
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
44579
|
+
}
|
|
44580
|
+
/**
|
|
44581
|
+
* Validate() method override for MJ: Conversation Detail Ratings entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
44582
|
+
* * Rating: This rule ensures that the rating must be a whole number between 1 and 10, inclusive.
|
|
44583
|
+
* @public
|
|
44584
|
+
* @method
|
|
44585
|
+
* @override
|
|
44586
|
+
*/
|
|
44587
|
+
Validate() {
|
|
44588
|
+
const result = super.Validate();
|
|
44589
|
+
this.ValidateRatingWithinAllowedRange(result);
|
|
44590
|
+
result.Success = result.Success && (result.Errors.length === 0);
|
|
44591
|
+
return result;
|
|
44592
|
+
}
|
|
44593
|
+
/**
|
|
44594
|
+
* This rule ensures that the rating must be a whole number between 1 and 10, inclusive.
|
|
44595
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
44596
|
+
* @public
|
|
44597
|
+
* @method
|
|
44598
|
+
*/
|
|
44599
|
+
ValidateRatingWithinAllowedRange(result) {
|
|
44600
|
+
if (this.Rating < 1 || this.Rating > 10) {
|
|
44601
|
+
result.Errors.push(new core_1.ValidationErrorInfo("Rating", "Rating must be between 1 and 10.", this.Rating, core_1.ValidationErrorType.Failure));
|
|
44602
|
+
}
|
|
44603
|
+
}
|
|
44604
|
+
/**
|
|
44605
|
+
* * Field Name: ID
|
|
44606
|
+
* * Display Name: ID
|
|
44607
|
+
* * SQL Data Type: uniqueidentifier
|
|
44608
|
+
* * Default Value: newsequentialid()
|
|
44609
|
+
*/
|
|
44610
|
+
get ID() {
|
|
44611
|
+
return this.Get('ID');
|
|
44612
|
+
}
|
|
44613
|
+
set ID(value) {
|
|
44614
|
+
this.Set('ID', value);
|
|
44615
|
+
}
|
|
44616
|
+
/**
|
|
44617
|
+
* * Field Name: ConversationDetailID
|
|
44618
|
+
* * Display Name: Conversation Detail ID
|
|
44619
|
+
* * SQL Data Type: uniqueidentifier
|
|
44620
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
44621
|
+
* * Description: The conversation message being rated.
|
|
44622
|
+
*/
|
|
44623
|
+
get ConversationDetailID() {
|
|
44624
|
+
return this.Get('ConversationDetailID');
|
|
44625
|
+
}
|
|
44626
|
+
set ConversationDetailID(value) {
|
|
44627
|
+
this.Set('ConversationDetailID', value);
|
|
44628
|
+
}
|
|
44629
|
+
/**
|
|
44630
|
+
* * Field Name: UserID
|
|
44631
|
+
* * Display Name: User ID
|
|
44632
|
+
* * SQL Data Type: uniqueidentifier
|
|
44633
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
44634
|
+
* * Description: The user providing the rating.
|
|
44635
|
+
*/
|
|
44636
|
+
get UserID() {
|
|
44637
|
+
return this.Get('UserID');
|
|
44638
|
+
}
|
|
44639
|
+
set UserID(value) {
|
|
44640
|
+
this.Set('UserID', value);
|
|
44641
|
+
}
|
|
44642
|
+
/**
|
|
44643
|
+
* * Field Name: Rating
|
|
44644
|
+
* * Display Name: Rating
|
|
44645
|
+
* * SQL Data Type: int
|
|
44646
|
+
* * Description: Rating on a 1-10 scale where 1 is thumbs down and 10 is thumbs up.
|
|
44647
|
+
*/
|
|
44648
|
+
get Rating() {
|
|
44649
|
+
return this.Get('Rating');
|
|
44650
|
+
}
|
|
44651
|
+
set Rating(value) {
|
|
44652
|
+
this.Set('Rating', value);
|
|
44653
|
+
}
|
|
44654
|
+
/**
|
|
44655
|
+
* * Field Name: Comments
|
|
44656
|
+
* * Display Name: Comments
|
|
44657
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
44658
|
+
* * Description: Optional textual feedback from the user about this message.
|
|
44659
|
+
*/
|
|
44660
|
+
get Comments() {
|
|
44661
|
+
return this.Get('Comments');
|
|
44662
|
+
}
|
|
44663
|
+
set Comments(value) {
|
|
44664
|
+
this.Set('Comments', value);
|
|
44665
|
+
}
|
|
44666
|
+
/**
|
|
44667
|
+
* * Field Name: __mj_CreatedAt
|
|
44668
|
+
* * Display Name: Created At
|
|
44669
|
+
* * SQL Data Type: datetimeoffset
|
|
44670
|
+
* * Default Value: getutcdate()
|
|
44671
|
+
*/
|
|
44672
|
+
get __mj_CreatedAt() {
|
|
44673
|
+
return this.Get('__mj_CreatedAt');
|
|
44674
|
+
}
|
|
44675
|
+
/**
|
|
44676
|
+
* * Field Name: __mj_UpdatedAt
|
|
44677
|
+
* * Display Name: Updated At
|
|
44678
|
+
* * SQL Data Type: datetimeoffset
|
|
44679
|
+
* * Default Value: getutcdate()
|
|
44680
|
+
*/
|
|
44681
|
+
get __mj_UpdatedAt() {
|
|
44682
|
+
return this.Get('__mj_UpdatedAt');
|
|
44683
|
+
}
|
|
44684
|
+
/**
|
|
44685
|
+
* * Field Name: User
|
|
44686
|
+
* * Display Name: User
|
|
44687
|
+
* * SQL Data Type: nvarchar(100)
|
|
44688
|
+
*/
|
|
44689
|
+
get User() {
|
|
44690
|
+
return this.Get('User');
|
|
44691
|
+
}
|
|
44692
|
+
};
|
|
44693
|
+
exports.ConversationDetailRatingEntity = ConversationDetailRatingEntity;
|
|
44694
|
+
exports.ConversationDetailRatingEntity = ConversationDetailRatingEntity = __decorate([
|
|
44695
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Conversation Detail Ratings')
|
|
44696
|
+
], ConversationDetailRatingEntity);
|
|
44063
44697
|
/**
|
|
44064
44698
|
* MJ: Dashboard User Preferences - strongly typed entity sub-class
|
|
44065
44699
|
* * Schema: __mj
|