@memberjunction/core-entities 2.16.1 → 2.18.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.
@@ -6,13 +6,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.ConversationSchema = exports.ConversationDetailSchema = exports.ContentTypeSchema = exports.ContentTypeAttributeSchema = exports.ContentSourceSchema = exports.ContentSourceTypeSchema = exports.ContentSourceTypeParamSchema = 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.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.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = exports.IntegrationSchema = exports.IntegrationURLFormatSchema = 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 = void 0;
11
- 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 = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = void 0;
12
- exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.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 = void 0;
13
- exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = 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 = void 0;
14
- 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 = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = void 0;
15
- exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = void 0;
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.LibrarySchema = exports.IntegrationSchema = exports.IntegrationURLFormatSchema = 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.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = void 0;
12
+ exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = void 0;
13
+ exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = void 0;
14
+ exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.flyway_schema_historyEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = void 0;
15
+ 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 = void 0;
16
16
  const core_1 = require("@memberjunction/core");
17
17
  const global_1 = require("@memberjunction/global");
18
18
  const zod_1 = require("zod");
@@ -616,6 +616,378 @@ exports.AIActionSchema = zod_1.z.object({
616
616
  * * Display Name: Default Model
617
617
  * * SQL Data Type: nvarchar(50)`),
618
618
  });
619
+ /**
620
+ * zod schema definition for the entity AI Agent Actions
621
+ */
622
+ exports.AIAgentActionSchema = zod_1.z.object({
623
+ ID: zod_1.z.string().describe(`
624
+ * * Field Name: ID
625
+ * * Display Name: ID
626
+ * * SQL Data Type: uniqueidentifier
627
+ * * Default Value: newsequentialid()
628
+ * * Description: The unique identifier for each AI agent-action mapping. Serves as the primary key.`),
629
+ AgentID: zod_1.z.string().nullish().describe(`
630
+ * * Field Name: AgentID
631
+ * * Display Name: Agent ID
632
+ * * SQL Data Type: uniqueidentifier
633
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
634
+ * * Description: References the unique identifier of the associated AI agent from the AIAgent table.`),
635
+ ActionID: zod_1.z.string().nullish().describe(`
636
+ * * Field Name: ActionID
637
+ * * Display Name: Action ID
638
+ * * SQL Data Type: uniqueidentifier
639
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)
640
+ * * Description: References the unique identifier of the associated action from the Action table.`),
641
+ Status: zod_1.z.union([zod_1.z.literal('Pending'), zod_1.z.literal('Active'), zod_1.z.literal('Revoked')]).describe(`
642
+ * * Field Name: Status
643
+ * * Display Name: Status
644
+ * * SQL Data Type: nvarchar(15)
645
+ * * Default Value: Active
646
+ * * Value List Type: List
647
+ * * Possible Values
648
+ * * Pending
649
+ * * Active
650
+ * * Revoked`),
651
+ __mj_CreatedAt: zod_1.z.date().describe(`
652
+ * * Field Name: __mj_CreatedAt
653
+ * * Display Name: Created At
654
+ * * SQL Data Type: datetimeoffset
655
+ * * Default Value: getutcdate()`),
656
+ __mj_UpdatedAt: zod_1.z.date().describe(`
657
+ * * Field Name: __mj_UpdatedAt
658
+ * * Display Name: Updated At
659
+ * * SQL Data Type: datetimeoffset
660
+ * * Default Value: getutcdate()`),
661
+ Agent: zod_1.z.string().nullish().describe(`
662
+ * * Field Name: Agent
663
+ * * Display Name: Agent
664
+ * * SQL Data Type: nvarchar(255)`),
665
+ Action: zod_1.z.string().nullish().describe(`
666
+ * * Field Name: Action
667
+ * * Display Name: Action
668
+ * * SQL Data Type: nvarchar(425)`),
669
+ });
670
+ /**
671
+ * zod schema definition for the entity AI Agent Learning Cycles
672
+ */
673
+ exports.AIAgentLearningCycleSchema = zod_1.z.object({
674
+ ID: zod_1.z.string().describe(`
675
+ * * Field Name: ID
676
+ * * Display Name: ID
677
+ * * SQL Data Type: uniqueidentifier
678
+ * * Default Value: newsequentialid()
679
+ * * Description: Unique identifier for the learning cycle.`),
680
+ AgentID: zod_1.z.string().describe(`
681
+ * * Field Name: AgentID
682
+ * * Display Name: Agent ID
683
+ * * SQL Data Type: uniqueidentifier
684
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
685
+ * * Description: Identifier for the AI Agent associated with this learning cycle.`),
686
+ StartedAt: zod_1.z.date().describe(`
687
+ * * Field Name: StartedAt
688
+ * * Display Name: Started At
689
+ * * SQL Data Type: datetimeoffset
690
+ * * Default Value: getutcdate()
691
+ * * Description: Timestamp indicating when the learning cycle started.`),
692
+ EndedAt: zod_1.z.date().nullish().describe(`
693
+ * * Field Name: EndedAt
694
+ * * Display Name: Ended At
695
+ * * SQL Data Type: datetimeoffset
696
+ * * Description: Timestamp indicating when the learning cycle ended.`),
697
+ Status: zod_1.z.union([zod_1.z.literal('In-Progress'), zod_1.z.literal('Complete'), zod_1.z.literal('Failed')]).describe(`
698
+ * * Field Name: Status
699
+ * * Display Name: Status
700
+ * * SQL Data Type: nvarchar(20)
701
+ * * Value List Type: List
702
+ * * Possible Values
703
+ * * In-Progress
704
+ * * Complete
705
+ * * Failed
706
+ * * Description: Status of the learning cycle (In-Progress, Complete, or Failed).`),
707
+ AgentSummary: zod_1.z.string().nullish().describe(`
708
+ * * Field Name: AgentSummary
709
+ * * Display Name: Agent Summary
710
+ * * SQL Data Type: nvarchar(MAX)
711
+ * * Description: Text summary provided by the agent about what it learned and any changes it requested for stored metadata.`),
712
+ __mj_CreatedAt: zod_1.z.date().describe(`
713
+ * * Field Name: __mj_CreatedAt
714
+ * * Display Name: Created At
715
+ * * SQL Data Type: datetimeoffset
716
+ * * Default Value: getutcdate()`),
717
+ __mj_UpdatedAt: zod_1.z.date().describe(`
718
+ * * Field Name: __mj_UpdatedAt
719
+ * * Display Name: Updated At
720
+ * * SQL Data Type: datetimeoffset
721
+ * * Default Value: getutcdate()`),
722
+ Agent: zod_1.z.string().nullish().describe(`
723
+ * * Field Name: Agent
724
+ * * Display Name: Agent
725
+ * * SQL Data Type: nvarchar(255)`),
726
+ });
727
+ /**
728
+ * zod schema definition for the entity AI Agent Models
729
+ */
730
+ exports.AIAgentModelSchema = zod_1.z.object({
731
+ ID: zod_1.z.string().describe(`
732
+ * * Field Name: ID
733
+ * * Display Name: ID
734
+ * * SQL Data Type: uniqueidentifier
735
+ * * Default Value: newsequentialid()
736
+ * * Description: The unique identifier for each AI agent-model mapping. Serves as the primary key.`),
737
+ AgentID: zod_1.z.string().nullish().describe(`
738
+ * * Field Name: AgentID
739
+ * * Display Name: Agent ID
740
+ * * SQL Data Type: uniqueidentifier
741
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
742
+ * * Description: References the unique identifier of the associated AI agent from AIAgent table.`),
743
+ ModelID: zod_1.z.string().nullish().describe(`
744
+ * * Field Name: ModelID
745
+ * * Display Name: Model ID
746
+ * * SQL Data Type: uniqueidentifier
747
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
748
+ * * Description: The unique identifier of the associated AI model.`),
749
+ Active: zod_1.z.boolean().nullish().describe(`
750
+ * * Field Name: Active
751
+ * * Display Name: Active
752
+ * * SQL Data Type: bit`),
753
+ Priority: zod_1.z.number().nullish().describe(`
754
+ * * Field Name: Priority
755
+ * * Display Name: Priority
756
+ * * SQL Data Type: int
757
+ * * Description: The priority level of the AI model for the agent, where higher values indicate higher priority.`),
758
+ __mj_CreatedAt: zod_1.z.date().describe(`
759
+ * * Field Name: __mj_CreatedAt
760
+ * * Display Name: Created At
761
+ * * SQL Data Type: datetimeoffset
762
+ * * Default Value: getutcdate()`),
763
+ __mj_UpdatedAt: zod_1.z.date().describe(`
764
+ * * Field Name: __mj_UpdatedAt
765
+ * * Display Name: Updated At
766
+ * * SQL Data Type: datetimeoffset
767
+ * * Default Value: getutcdate()`),
768
+ Agent: zod_1.z.string().nullish().describe(`
769
+ * * Field Name: Agent
770
+ * * Display Name: Agent
771
+ * * SQL Data Type: nvarchar(255)`),
772
+ Model: zod_1.z.string().nullish().describe(`
773
+ * * Field Name: Model
774
+ * * Display Name: Model
775
+ * * SQL Data Type: nvarchar(50)`),
776
+ });
777
+ /**
778
+ * zod schema definition for the entity AI Agent Note Types
779
+ */
780
+ exports.AIAgentNoteTypeSchema = zod_1.z.object({
781
+ ID: zod_1.z.string().describe(`
782
+ * * Field Name: ID
783
+ * * Display Name: ID
784
+ * * SQL Data Type: uniqueidentifier
785
+ * * Default Value: newsequentialid()`),
786
+ Name: zod_1.z.string().nullish().describe(`
787
+ * * Field Name: Name
788
+ * * Display Name: Name
789
+ * * SQL Data Type: nvarchar(255)`),
790
+ Description: zod_1.z.string().nullish().describe(`
791
+ * * Field Name: Description
792
+ * * Display Name: Description
793
+ * * SQL Data Type: nvarchar(MAX)`),
794
+ __mj_CreatedAt: zod_1.z.date().describe(`
795
+ * * Field Name: __mj_CreatedAt
796
+ * * Display Name: Created At
797
+ * * SQL Data Type: datetimeoffset
798
+ * * Default Value: getutcdate()`),
799
+ __mj_UpdatedAt: zod_1.z.date().describe(`
800
+ * * Field Name: __mj_UpdatedAt
801
+ * * Display Name: Updated At
802
+ * * SQL Data Type: datetimeoffset
803
+ * * Default Value: getutcdate()`),
804
+ });
805
+ /**
806
+ * zod schema definition for the entity AI Agent Notes
807
+ */
808
+ exports.AIAgentNoteSchema = zod_1.z.object({
809
+ ID: zod_1.z.string().describe(`
810
+ * * Field Name: ID
811
+ * * Display Name: ID
812
+ * * SQL Data Type: uniqueidentifier
813
+ * * Default Value: newsequentialid()`),
814
+ AgentID: zod_1.z.string().nullish().describe(`
815
+ * * Field Name: AgentID
816
+ * * Display Name: Agent ID
817
+ * * SQL Data Type: uniqueidentifier
818
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)`),
819
+ AgentNoteTypeID: zod_1.z.string().nullish().describe(`
820
+ * * Field Name: AgentNoteTypeID
821
+ * * Display Name: Agent Note Type ID
822
+ * * SQL Data Type: uniqueidentifier
823
+ * * Related Entity/Foreign Key: AI Agent Note Types (vwAIAgentNoteTypes.ID)`),
824
+ Note: zod_1.z.string().nullish().describe(`
825
+ * * Field Name: Note
826
+ * * Display Name: Note
827
+ * * SQL Data Type: nvarchar(MAX)`),
828
+ __mj_CreatedAt: zod_1.z.date().describe(`
829
+ * * Field Name: __mj_CreatedAt
830
+ * * Display Name: Created At
831
+ * * SQL Data Type: datetimeoffset
832
+ * * Default Value: getutcdate()`),
833
+ __mj_UpdatedAt: zod_1.z.date().describe(`
834
+ * * Field Name: __mj_UpdatedAt
835
+ * * Display Name: Updated At
836
+ * * SQL Data Type: datetimeoffset
837
+ * * Default Value: getutcdate()`),
838
+ Type: zod_1.z.union([zod_1.z.literal('User'), zod_1.z.literal('Global')]).describe(`
839
+ * * Field Name: Type
840
+ * * Display Name: Type
841
+ * * SQL Data Type: nvarchar(20)
842
+ * * Value List Type: List
843
+ * * Possible Values
844
+ * * User
845
+ * * Global
846
+ * * Description: Indicates the type of note, either User-specific or Global.`),
847
+ UserID: zod_1.z.string().nullish().describe(`
848
+ * * Field Name: UserID
849
+ * * Display Name: User ID
850
+ * * SQL Data Type: uniqueidentifier
851
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
852
+ * * Description: Foreign key referencing the ID column in the User table, indicating the user associated with the note. Used when Type=User`),
853
+ Agent: zod_1.z.string().nullish().describe(`
854
+ * * Field Name: Agent
855
+ * * Display Name: Agent
856
+ * * SQL Data Type: nvarchar(255)`),
857
+ AgentNoteType: zod_1.z.string().nullish().describe(`
858
+ * * Field Name: AgentNoteType
859
+ * * Display Name: Agent Note Type
860
+ * * SQL Data Type: nvarchar(255)`),
861
+ User: zod_1.z.string().nullish().describe(`
862
+ * * Field Name: User
863
+ * * Display Name: User
864
+ * * SQL Data Type: nvarchar(100)
865
+ * * Default Value: null`),
866
+ });
867
+ /**
868
+ * zod schema definition for the entity AI Agent Requests
869
+ */
870
+ exports.AIAgentRequestSchema = zod_1.z.object({
871
+ ID: zod_1.z.string().describe(`
872
+ * * Field Name: ID
873
+ * * Display Name: ID
874
+ * * SQL Data Type: uniqueidentifier
875
+ * * Default Value: newsequentialid()
876
+ * * Description: Primary key for the AIAgentRequest table, uniquely identifies each record.`),
877
+ AgentID: zod_1.z.string().describe(`
878
+ * * Field Name: AgentID
879
+ * * Display Name: Agent ID
880
+ * * SQL Data Type: uniqueidentifier
881
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
882
+ * * Description: Foreign key referencing the ID column in the AIAgent table.`),
883
+ RequestedAt: zod_1.z.date().describe(`
884
+ * * Field Name: RequestedAt
885
+ * * Display Name: Requested At
886
+ * * SQL Data Type: datetime
887
+ * * Description: Timestamp when the request was made by the agent.`),
888
+ RequestForUserID: zod_1.z.string().nullish().describe(`
889
+ * * Field Name: RequestForUserID
890
+ * * Display Name: Request For User ID
891
+ * * SQL Data Type: uniqueidentifier
892
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
893
+ * * Description: Optional, a user that the AI specifically is directing the request to, if null intended for general system owner.`),
894
+ Status: zod_1.z.union([zod_1.z.literal('Requested'), zod_1.z.literal('Approved'), zod_1.z.literal('Rejected'), zod_1.z.literal('Canceled')]).describe(`
895
+ * * Field Name: Status
896
+ * * Display Name: Status
897
+ * * SQL Data Type: nvarchar(20)
898
+ * * Value List Type: List
899
+ * * Possible Values
900
+ * * Requested
901
+ * * Approved
902
+ * * Rejected
903
+ * * Canceled
904
+ * * Description: Current status of the request (Requested, Approved, Rejected, Canceled).`),
905
+ Request: zod_1.z.string().describe(`
906
+ * * Field Name: Request
907
+ * * Display Name: Request
908
+ * * SQL Data Type: nvarchar(MAX)
909
+ * * Description: Details of what the AI Agent is requesting.`),
910
+ Response: zod_1.z.string().nullish().describe(`
911
+ * * Field Name: Response
912
+ * * Display Name: Response
913
+ * * SQL Data Type: nvarchar(MAX)
914
+ * * Description: Response provided by the human to the agent request.`),
915
+ ResponseByUserID: zod_1.z.string().nullish().describe(`
916
+ * * Field Name: ResponseByUserID
917
+ * * Display Name: Response By User ID
918
+ * * SQL Data Type: uniqueidentifier
919
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
920
+ * * Description: Populated when a user responds indicating which user responded to the request.`),
921
+ RespondedAt: zod_1.z.date().nullish().describe(`
922
+ * * Field Name: RespondedAt
923
+ * * Display Name: Responded At
924
+ * * SQL Data Type: datetime
925
+ * * Description: Timestamp when the response was provided by the human.`),
926
+ Comments: zod_1.z.string().nullish().describe(`
927
+ * * Field Name: Comments
928
+ * * Display Name: Comments
929
+ * * SQL Data Type: nvarchar(MAX)
930
+ * * Description: Additional comments about the request. Not shared with the agent, purely record keeping.`),
931
+ __mj_CreatedAt: zod_1.z.date().describe(`
932
+ * * Field Name: __mj_CreatedAt
933
+ * * Display Name: Created At
934
+ * * SQL Data Type: datetimeoffset
935
+ * * Default Value: getutcdate()`),
936
+ __mj_UpdatedAt: zod_1.z.date().describe(`
937
+ * * Field Name: __mj_UpdatedAt
938
+ * * Display Name: Updated At
939
+ * * SQL Data Type: datetimeoffset
940
+ * * Default Value: getutcdate()`),
941
+ Agent: zod_1.z.string().nullish().describe(`
942
+ * * Field Name: Agent
943
+ * * Display Name: Agent
944
+ * * SQL Data Type: nvarchar(255)`),
945
+ RequestForUser: zod_1.z.string().nullish().describe(`
946
+ * * Field Name: RequestForUser
947
+ * * Display Name: Request For User
948
+ * * SQL Data Type: nvarchar(100)
949
+ * * Default Value: null`),
950
+ ResponseByUser: zod_1.z.string().nullish().describe(`
951
+ * * Field Name: ResponseByUser
952
+ * * Display Name: Response By User
953
+ * * SQL Data Type: nvarchar(100)
954
+ * * Default Value: null`),
955
+ });
956
+ /**
957
+ * zod schema definition for the entity AI Agents
958
+ */
959
+ exports.AIAgentSchema = zod_1.z.object({
960
+ ID: zod_1.z.string().describe(`
961
+ * * Field Name: ID
962
+ * * Display Name: ID
963
+ * * SQL Data Type: uniqueidentifier
964
+ * * Default Value: newsequentialid()
965
+ * * Description: The unique identifier for each AI agent. Serves as the primary key.`),
966
+ Name: zod_1.z.string().nullish().describe(`
967
+ * * Field Name: Name
968
+ * * Display Name: Name
969
+ * * SQL Data Type: nvarchar(255)
970
+ * * Description: The name of the AI agent.`),
971
+ Description: zod_1.z.string().nullish().describe(`
972
+ * * Field Name: Description
973
+ * * Display Name: Description
974
+ * * SQL Data Type: nvarchar(MAX)
975
+ * * Description: A detailed description of the AI agent.`),
976
+ LogoURL: zod_1.z.string().nullish().describe(`
977
+ * * Field Name: LogoURL
978
+ * * Display Name: Logo URL
979
+ * * SQL Data Type: nvarchar(255)`),
980
+ __mj_CreatedAt: zod_1.z.date().describe(`
981
+ * * Field Name: __mj_CreatedAt
982
+ * * Display Name: Created At
983
+ * * SQL Data Type: datetimeoffset
984
+ * * Default Value: getutcdate()`),
985
+ __mj_UpdatedAt: zod_1.z.date().describe(`
986
+ * * Field Name: __mj_UpdatedAt
987
+ * * Display Name: Updated At
988
+ * * SQL Data Type: datetimeoffset
989
+ * * Default Value: getutcdate()`),
990
+ });
619
991
  /**
620
992
  * zod schema definition for the entity AI Model Actions
621
993
  */
@@ -5961,13 +6333,11 @@ exports.QueryEntitySchema = zod_1.z.object({
5961
6333
  Query: zod_1.z.string().describe(`
5962
6334
  * * Field Name: Query
5963
6335
  * * Display Name: Query
5964
- * * SQL Data Type: nvarchar(255)
5965
- * * Default Value: null`),
6336
+ * * SQL Data Type: nvarchar(255)`),
5966
6337
  Entity: zod_1.z.string().describe(`
5967
6338
  * * Field Name: Entity
5968
6339
  * * Display Name: Entity
5969
- * * SQL Data Type: nvarchar(255)
5970
- * * Default Value: null`),
6340
+ * * SQL Data Type: nvarchar(255)`),
5971
6341
  });
5972
6342
  /**
5973
6343
  * zod schema definition for the entity Query Fields
@@ -10108,157 +10478,1086 @@ let ActionEntity = class ActionEntity extends core_1.BaseEntity {
10108
10478
  get UserPrompt() {
10109
10479
  return this.Get('UserPrompt');
10110
10480
  }
10111
- set UserPrompt(value) {
10112
- this.Set('UserPrompt', value);
10481
+ set UserPrompt(value) {
10482
+ this.Set('UserPrompt', value);
10483
+ }
10484
+ /**
10485
+ * * Field Name: UserComments
10486
+ * * Display Name: User Comments
10487
+ * * SQL Data Type: nvarchar(MAX)
10488
+ * * Description: User's comments not shared with the LLM.
10489
+ */
10490
+ get UserComments() {
10491
+ return this.Get('UserComments');
10492
+ }
10493
+ set UserComments(value) {
10494
+ this.Set('UserComments', value);
10495
+ }
10496
+ /**
10497
+ * * Field Name: Code
10498
+ * * Display Name: Code
10499
+ * * SQL Data Type: nvarchar(MAX)
10500
+ */
10501
+ get Code() {
10502
+ return this.Get('Code');
10503
+ }
10504
+ set Code(value) {
10505
+ this.Set('Code', value);
10506
+ }
10507
+ /**
10508
+ * * Field Name: CodeComments
10509
+ * * Display Name: Code Comments
10510
+ * * SQL Data Type: nvarchar(MAX)
10511
+ * * Description: AI's explanation of the code.
10512
+ */
10513
+ get CodeComments() {
10514
+ return this.Get('CodeComments');
10515
+ }
10516
+ set CodeComments(value) {
10517
+ this.Set('CodeComments', value);
10518
+ }
10519
+ /**
10520
+ * * Field Name: CodeApprovalStatus
10521
+ * * Display Name: Code Approval Status
10522
+ * * SQL Data Type: nvarchar(20)
10523
+ * * Default Value: Pending
10524
+ * * Value List Type: List
10525
+ * * Possible Values
10526
+ * * Rejected
10527
+ * * Approved
10528
+ * * Pending
10529
+ * * Description: An action won't be usable until the code is approved.
10530
+ */
10531
+ get CodeApprovalStatus() {
10532
+ return this.Get('CodeApprovalStatus');
10533
+ }
10534
+ set CodeApprovalStatus(value) {
10535
+ this.Set('CodeApprovalStatus', value);
10536
+ }
10537
+ /**
10538
+ * * Field Name: CodeApprovalComments
10539
+ * * Display Name: Code Approval Comments
10540
+ * * SQL Data Type: nvarchar(MAX)
10541
+ * * Description: Optional comments when an individual (or an AI) reviews and approves the code.
10542
+ */
10543
+ get CodeApprovalComments() {
10544
+ return this.Get('CodeApprovalComments');
10545
+ }
10546
+ set CodeApprovalComments(value) {
10547
+ this.Set('CodeApprovalComments', value);
10548
+ }
10549
+ /**
10550
+ * * Field Name: CodeApprovedByUserID
10551
+ * * Display Name: Code Approved By User ID
10552
+ * * SQL Data Type: uniqueidentifier
10553
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
10554
+ */
10555
+ get CodeApprovedByUserID() {
10556
+ return this.Get('CodeApprovedByUserID');
10557
+ }
10558
+ set CodeApprovedByUserID(value) {
10559
+ this.Set('CodeApprovedByUserID', value);
10560
+ }
10561
+ /**
10562
+ * * Field Name: CodeApprovedAt
10563
+ * * Display Name: Code Approved At
10564
+ * * SQL Data Type: datetime
10565
+ * * Description: When the code was approved.
10566
+ */
10567
+ get CodeApprovedAt() {
10568
+ return this.Get('CodeApprovedAt');
10569
+ }
10570
+ set CodeApprovedAt(value) {
10571
+ this.Set('CodeApprovedAt', value);
10572
+ }
10573
+ /**
10574
+ * * Field Name: CodeLocked
10575
+ * * Display Name: Code Locked
10576
+ * * SQL Data Type: bit
10577
+ * * Default Value: 0
10578
+ * * Description: If set to 1, Code will never be generated by the AI system. This overrides all other settings including the ForceCodeGeneration bit
10579
+ */
10580
+ get CodeLocked() {
10581
+ return this.Get('CodeLocked');
10582
+ }
10583
+ set CodeLocked(value) {
10584
+ this.Set('CodeLocked', value);
10585
+ }
10586
+ /**
10587
+ * * Field Name: ForceCodeGeneration
10588
+ * * Display Name: Force Code Generation
10589
+ * * SQL Data Type: bit
10590
+ * * Default Value: 0
10591
+ * * Description: If set to 1, the Action will generate code for the provided UserPrompt on the next Save even if the UserPrompt hasn't changed. This is useful to force regeneration when other candidates (such as a change in Action Inputs/Outputs) occurs or on demand by a user.
10592
+ */
10593
+ get ForceCodeGeneration() {
10594
+ return this.Get('ForceCodeGeneration');
10595
+ }
10596
+ set ForceCodeGeneration(value) {
10597
+ this.Set('ForceCodeGeneration', value);
10598
+ }
10599
+ /**
10600
+ * * Field Name: RetentionPeriod
10601
+ * * Display Name: Retention Period
10602
+ * * SQL Data Type: int
10603
+ * * Description: Number of days to retain execution logs; NULL for indefinite.
10604
+ */
10605
+ get RetentionPeriod() {
10606
+ return this.Get('RetentionPeriod');
10607
+ }
10608
+ set RetentionPeriod(value) {
10609
+ this.Set('RetentionPeriod', value);
10610
+ }
10611
+ /**
10612
+ * * Field Name: Status
10613
+ * * Display Name: Status
10614
+ * * SQL Data Type: nvarchar(20)
10615
+ * * Default Value: Pending
10616
+ * * Value List Type: List
10617
+ * * Possible Values
10618
+ * * Disabled
10619
+ * * Active
10620
+ * * Pending
10621
+ * * Description: Status of the action (Pending, Active, Disabled).
10622
+ */
10623
+ get Status() {
10624
+ return this.Get('Status');
10625
+ }
10626
+ set Status(value) {
10627
+ this.Set('Status', value);
10628
+ }
10629
+ /**
10630
+ * * Field Name: __mj_CreatedAt
10631
+ * * Display Name: __mj _Created At
10632
+ * * SQL Data Type: datetimeoffset
10633
+ * * Default Value: getutcdate()
10634
+ */
10635
+ get __mj_CreatedAt() {
10636
+ return this.Get('__mj_CreatedAt');
10637
+ }
10638
+ /**
10639
+ * * Field Name: __mj_UpdatedAt
10640
+ * * Display Name: __mj _Updated At
10641
+ * * SQL Data Type: datetimeoffset
10642
+ * * Default Value: getutcdate()
10643
+ */
10644
+ get __mj_UpdatedAt() {
10645
+ return this.Get('__mj_UpdatedAt');
10646
+ }
10647
+ /**
10648
+ * * Field Name: Category
10649
+ * * Display Name: Category
10650
+ * * SQL Data Type: nvarchar(255)
10651
+ */
10652
+ get Category() {
10653
+ return this.Get('Category');
10654
+ }
10655
+ /**
10656
+ * * Field Name: CodeApprovedByUser
10657
+ * * Display Name: Code Approved By User
10658
+ * * SQL Data Type: nvarchar(100)
10659
+ */
10660
+ get CodeApprovedByUser() {
10661
+ return this.Get('CodeApprovedByUser');
10662
+ }
10663
+ };
10664
+ exports.ActionEntity = ActionEntity;
10665
+ exports.ActionEntity = ActionEntity = __decorate([
10666
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Actions')
10667
+ ], ActionEntity);
10668
+ /**
10669
+ * AI Actions - strongly typed entity sub-class
10670
+ * * Schema: __mj
10671
+ * * Base Table: AIAction
10672
+ * * Base View: vwAIActions
10673
+ * * @description List of all actions that are possible across all AI Models
10674
+ * * Primary Key: ID
10675
+ * @extends {BaseEntity}
10676
+ * @class
10677
+ * @public
10678
+ */
10679
+ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10680
+ /**
10681
+ * Loads the AI Actions record from the database
10682
+ * @param ID: string - primary key value to load the AI Actions record.
10683
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10684
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10685
+ * @public
10686
+ * @async
10687
+ * @memberof AIActionEntity
10688
+ * @method
10689
+ * @override
10690
+ */
10691
+ async Load(ID, EntityRelationshipsToLoad) {
10692
+ const compositeKey = new core_1.CompositeKey();
10693
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
10694
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
10695
+ }
10696
+ /**
10697
+ * * Field Name: ID
10698
+ * * Display Name: ID
10699
+ * * SQL Data Type: uniqueidentifier
10700
+ * * Default Value: newsequentialid()
10701
+ */
10702
+ get ID() {
10703
+ return this.Get('ID');
10704
+ }
10705
+ /**
10706
+ * * Field Name: Name
10707
+ * * Display Name: Name
10708
+ * * SQL Data Type: nvarchar(50)
10709
+ */
10710
+ get Name() {
10711
+ return this.Get('Name');
10712
+ }
10713
+ set Name(value) {
10714
+ this.Set('Name', value);
10715
+ }
10716
+ /**
10717
+ * * Field Name: Description
10718
+ * * Display Name: Description
10719
+ * * SQL Data Type: nvarchar(MAX)
10720
+ */
10721
+ get Description() {
10722
+ return this.Get('Description');
10723
+ }
10724
+ set Description(value) {
10725
+ this.Set('Description', value);
10726
+ }
10727
+ /**
10728
+ * * Field Name: DefaultPrompt
10729
+ * * Display Name: Default Prompt
10730
+ * * SQL Data Type: nvarchar(MAX)
10731
+ */
10732
+ get DefaultPrompt() {
10733
+ return this.Get('DefaultPrompt');
10734
+ }
10735
+ set DefaultPrompt(value) {
10736
+ this.Set('DefaultPrompt', value);
10737
+ }
10738
+ /**
10739
+ * * Field Name: DefaultModelID
10740
+ * * Display Name: Default Model ID
10741
+ * * SQL Data Type: uniqueidentifier
10742
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
10743
+ */
10744
+ get DefaultModelID() {
10745
+ return this.Get('DefaultModelID');
10746
+ }
10747
+ set DefaultModelID(value) {
10748
+ this.Set('DefaultModelID', value);
10749
+ }
10750
+ /**
10751
+ * * Field Name: IsActive
10752
+ * * Display Name: Is Active
10753
+ * * SQL Data Type: bit
10754
+ * * Default Value: 1
10755
+ */
10756
+ get IsActive() {
10757
+ return this.Get('IsActive');
10758
+ }
10759
+ set IsActive(value) {
10760
+ this.Set('IsActive', value);
10761
+ }
10762
+ /**
10763
+ * * Field Name: __mj_CreatedAt
10764
+ * * Display Name: Created At
10765
+ * * SQL Data Type: datetimeoffset
10766
+ * * Default Value: getutcdate()
10767
+ */
10768
+ get __mj_CreatedAt() {
10769
+ return this.Get('__mj_CreatedAt');
10770
+ }
10771
+ /**
10772
+ * * Field Name: __mj_UpdatedAt
10773
+ * * Display Name: Updated At
10774
+ * * SQL Data Type: datetimeoffset
10775
+ * * Default Value: getutcdate()
10776
+ */
10777
+ get __mj_UpdatedAt() {
10778
+ return this.Get('__mj_UpdatedAt');
10779
+ }
10780
+ /**
10781
+ * * Field Name: DefaultModel
10782
+ * * Display Name: Default Model
10783
+ * * SQL Data Type: nvarchar(50)
10784
+ */
10785
+ get DefaultModel() {
10786
+ return this.Get('DefaultModel');
10787
+ }
10788
+ };
10789
+ exports.AIActionEntity = AIActionEntity;
10790
+ exports.AIActionEntity = AIActionEntity = __decorate([
10791
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Actions')
10792
+ ], AIActionEntity);
10793
+ /**
10794
+ * AI Agent Actions - strongly typed entity sub-class
10795
+ * * Schema: __mj
10796
+ * * Base Table: AIAgentAction
10797
+ * * Base View: vwAIAgentActions
10798
+ * * @description Table to store the relationship between AI agents and actions.
10799
+ * * Primary Key: ID
10800
+ * @extends {BaseEntity}
10801
+ * @class
10802
+ * @public
10803
+ */
10804
+ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
10805
+ /**
10806
+ * Loads the AI Agent Actions record from the database
10807
+ * @param ID: string - primary key value to load the AI Agent Actions record.
10808
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10809
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10810
+ * @public
10811
+ * @async
10812
+ * @memberof AIAgentActionEntity
10813
+ * @method
10814
+ * @override
10815
+ */
10816
+ async Load(ID, EntityRelationshipsToLoad) {
10817
+ const compositeKey = new core_1.CompositeKey();
10818
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
10819
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
10820
+ }
10821
+ /**
10822
+ * * Field Name: ID
10823
+ * * Display Name: ID
10824
+ * * SQL Data Type: uniqueidentifier
10825
+ * * Default Value: newsequentialid()
10826
+ * * Description: The unique identifier for each AI agent-action mapping. Serves as the primary key.
10827
+ */
10828
+ get ID() {
10829
+ return this.Get('ID');
10830
+ }
10831
+ /**
10832
+ * * Field Name: AgentID
10833
+ * * Display Name: Agent ID
10834
+ * * SQL Data Type: uniqueidentifier
10835
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
10836
+ * * Description: References the unique identifier of the associated AI agent from the AIAgent table.
10837
+ */
10838
+ get AgentID() {
10839
+ return this.Get('AgentID');
10840
+ }
10841
+ set AgentID(value) {
10842
+ this.Set('AgentID', value);
10843
+ }
10844
+ /**
10845
+ * * Field Name: ActionID
10846
+ * * Display Name: Action ID
10847
+ * * SQL Data Type: uniqueidentifier
10848
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)
10849
+ * * Description: References the unique identifier of the associated action from the Action table.
10850
+ */
10851
+ get ActionID() {
10852
+ return this.Get('ActionID');
10853
+ }
10854
+ set ActionID(value) {
10855
+ this.Set('ActionID', value);
10856
+ }
10857
+ /**
10858
+ * * Field Name: Status
10859
+ * * Display Name: Status
10860
+ * * SQL Data Type: nvarchar(15)
10861
+ * * Default Value: Active
10862
+ * * Value List Type: List
10863
+ * * Possible Values
10864
+ * * Pending
10865
+ * * Active
10866
+ * * Revoked
10867
+ */
10868
+ get Status() {
10869
+ return this.Get('Status');
10870
+ }
10871
+ set Status(value) {
10872
+ this.Set('Status', value);
10873
+ }
10874
+ /**
10875
+ * * Field Name: __mj_CreatedAt
10876
+ * * Display Name: Created At
10877
+ * * SQL Data Type: datetimeoffset
10878
+ * * Default Value: getutcdate()
10879
+ */
10880
+ get __mj_CreatedAt() {
10881
+ return this.Get('__mj_CreatedAt');
10882
+ }
10883
+ /**
10884
+ * * Field Name: __mj_UpdatedAt
10885
+ * * Display Name: Updated At
10886
+ * * SQL Data Type: datetimeoffset
10887
+ * * Default Value: getutcdate()
10888
+ */
10889
+ get __mj_UpdatedAt() {
10890
+ return this.Get('__mj_UpdatedAt');
10891
+ }
10892
+ /**
10893
+ * * Field Name: Agent
10894
+ * * Display Name: Agent
10895
+ * * SQL Data Type: nvarchar(255)
10896
+ */
10897
+ get Agent() {
10898
+ return this.Get('Agent');
10899
+ }
10900
+ /**
10901
+ * * Field Name: Action
10902
+ * * Display Name: Action
10903
+ * * SQL Data Type: nvarchar(425)
10904
+ */
10905
+ get Action() {
10906
+ return this.Get('Action');
10907
+ }
10908
+ };
10909
+ exports.AIAgentActionEntity = AIAgentActionEntity;
10910
+ exports.AIAgentActionEntity = AIAgentActionEntity = __decorate([
10911
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Actions')
10912
+ ], AIAgentActionEntity);
10913
+ /**
10914
+ * AI Agent Learning Cycles - strongly typed entity sub-class
10915
+ * * Schema: __mj
10916
+ * * Base Table: AIAgentLearningCycle
10917
+ * * Base View: vwAIAgentLearningCycles
10918
+ * * @description Tracks the learning cycles for AI Agents where the Agent does offline reasoning, reflection, learning, and updates metadata.
10919
+ * * Primary Key: ID
10920
+ * @extends {BaseEntity}
10921
+ * @class
10922
+ * @public
10923
+ */
10924
+ let AIAgentLearningCycleEntity = class AIAgentLearningCycleEntity extends core_1.BaseEntity {
10925
+ /**
10926
+ * Loads the AI Agent Learning Cycles record from the database
10927
+ * @param ID: string - primary key value to load the AI Agent Learning Cycles record.
10928
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10929
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10930
+ * @public
10931
+ * @async
10932
+ * @memberof AIAgentLearningCycleEntity
10933
+ * @method
10934
+ * @override
10935
+ */
10936
+ async Load(ID, EntityRelationshipsToLoad) {
10937
+ const compositeKey = new core_1.CompositeKey();
10938
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
10939
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
10940
+ }
10941
+ /**
10942
+ * * Field Name: ID
10943
+ * * Display Name: ID
10944
+ * * SQL Data Type: uniqueidentifier
10945
+ * * Default Value: newsequentialid()
10946
+ * * Description: Unique identifier for the learning cycle.
10947
+ */
10948
+ get ID() {
10949
+ return this.Get('ID');
10950
+ }
10951
+ /**
10952
+ * * Field Name: AgentID
10953
+ * * Display Name: Agent ID
10954
+ * * SQL Data Type: uniqueidentifier
10955
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
10956
+ * * Description: Identifier for the AI Agent associated with this learning cycle.
10957
+ */
10958
+ get AgentID() {
10959
+ return this.Get('AgentID');
10960
+ }
10961
+ set AgentID(value) {
10962
+ this.Set('AgentID', value);
10963
+ }
10964
+ /**
10965
+ * * Field Name: StartedAt
10966
+ * * Display Name: Started At
10967
+ * * SQL Data Type: datetimeoffset
10968
+ * * Default Value: getutcdate()
10969
+ * * Description: Timestamp indicating when the learning cycle started.
10970
+ */
10971
+ get StartedAt() {
10972
+ return this.Get('StartedAt');
10973
+ }
10974
+ set StartedAt(value) {
10975
+ this.Set('StartedAt', value);
10976
+ }
10977
+ /**
10978
+ * * Field Name: EndedAt
10979
+ * * Display Name: Ended At
10980
+ * * SQL Data Type: datetimeoffset
10981
+ * * Description: Timestamp indicating when the learning cycle ended.
10982
+ */
10983
+ get EndedAt() {
10984
+ return this.Get('EndedAt');
10985
+ }
10986
+ set EndedAt(value) {
10987
+ this.Set('EndedAt', value);
10988
+ }
10989
+ /**
10990
+ * * Field Name: Status
10991
+ * * Display Name: Status
10992
+ * * SQL Data Type: nvarchar(20)
10993
+ * * Value List Type: List
10994
+ * * Possible Values
10995
+ * * In-Progress
10996
+ * * Complete
10997
+ * * Failed
10998
+ * * Description: Status of the learning cycle (In-Progress, Complete, or Failed).
10999
+ */
11000
+ get Status() {
11001
+ return this.Get('Status');
11002
+ }
11003
+ set Status(value) {
11004
+ this.Set('Status', value);
11005
+ }
11006
+ /**
11007
+ * * Field Name: AgentSummary
11008
+ * * Display Name: Agent Summary
11009
+ * * SQL Data Type: nvarchar(MAX)
11010
+ * * Description: Text summary provided by the agent about what it learned and any changes it requested for stored metadata.
11011
+ */
11012
+ get AgentSummary() {
11013
+ return this.Get('AgentSummary');
11014
+ }
11015
+ set AgentSummary(value) {
11016
+ this.Set('AgentSummary', value);
11017
+ }
11018
+ /**
11019
+ * * Field Name: __mj_CreatedAt
11020
+ * * Display Name: Created At
11021
+ * * SQL Data Type: datetimeoffset
11022
+ * * Default Value: getutcdate()
11023
+ */
11024
+ get __mj_CreatedAt() {
11025
+ return this.Get('__mj_CreatedAt');
11026
+ }
11027
+ /**
11028
+ * * Field Name: __mj_UpdatedAt
11029
+ * * Display Name: Updated At
11030
+ * * SQL Data Type: datetimeoffset
11031
+ * * Default Value: getutcdate()
11032
+ */
11033
+ get __mj_UpdatedAt() {
11034
+ return this.Get('__mj_UpdatedAt');
11035
+ }
11036
+ /**
11037
+ * * Field Name: Agent
11038
+ * * Display Name: Agent
11039
+ * * SQL Data Type: nvarchar(255)
11040
+ */
11041
+ get Agent() {
11042
+ return this.Get('Agent');
11043
+ }
11044
+ };
11045
+ exports.AIAgentLearningCycleEntity = AIAgentLearningCycleEntity;
11046
+ exports.AIAgentLearningCycleEntity = AIAgentLearningCycleEntity = __decorate([
11047
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Learning Cycles')
11048
+ ], AIAgentLearningCycleEntity);
11049
+ /**
11050
+ * AI Agent Models - strongly typed entity sub-class
11051
+ * * Schema: __mj
11052
+ * * Base Table: AIAgentModel
11053
+ * * Base View: vwAIAgentModels
11054
+ * * @description Table to store the relationship between AI agents and AI models.
11055
+ * * Primary Key: ID
11056
+ * @extends {BaseEntity}
11057
+ * @class
11058
+ * @public
11059
+ */
11060
+ let AIAgentModelEntity = class AIAgentModelEntity extends core_1.BaseEntity {
11061
+ /**
11062
+ * Loads the AI Agent Models record from the database
11063
+ * @param ID: string - primary key value to load the AI Agent Models record.
11064
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11065
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11066
+ * @public
11067
+ * @async
11068
+ * @memberof AIAgentModelEntity
11069
+ * @method
11070
+ * @override
11071
+ */
11072
+ async Load(ID, EntityRelationshipsToLoad) {
11073
+ const compositeKey = new core_1.CompositeKey();
11074
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
11075
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
11076
+ }
11077
+ /**
11078
+ * * Field Name: ID
11079
+ * * Display Name: ID
11080
+ * * SQL Data Type: uniqueidentifier
11081
+ * * Default Value: newsequentialid()
11082
+ * * Description: The unique identifier for each AI agent-model mapping. Serves as the primary key.
11083
+ */
11084
+ get ID() {
11085
+ return this.Get('ID');
11086
+ }
11087
+ /**
11088
+ * * Field Name: AgentID
11089
+ * * Display Name: Agent ID
11090
+ * * SQL Data Type: uniqueidentifier
11091
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
11092
+ * * Description: References the unique identifier of the associated AI agent from AIAgent table.
11093
+ */
11094
+ get AgentID() {
11095
+ return this.Get('AgentID');
11096
+ }
11097
+ set AgentID(value) {
11098
+ this.Set('AgentID', value);
11099
+ }
11100
+ /**
11101
+ * * Field Name: ModelID
11102
+ * * Display Name: Model ID
11103
+ * * SQL Data Type: uniqueidentifier
11104
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
11105
+ * * Description: The unique identifier of the associated AI model.
11106
+ */
11107
+ get ModelID() {
11108
+ return this.Get('ModelID');
11109
+ }
11110
+ set ModelID(value) {
11111
+ this.Set('ModelID', value);
11112
+ }
11113
+ /**
11114
+ * * Field Name: Active
11115
+ * * Display Name: Active
11116
+ * * SQL Data Type: bit
11117
+ */
11118
+ get Active() {
11119
+ return this.Get('Active');
11120
+ }
11121
+ set Active(value) {
11122
+ this.Set('Active', value);
11123
+ }
11124
+ /**
11125
+ * * Field Name: Priority
11126
+ * * Display Name: Priority
11127
+ * * SQL Data Type: int
11128
+ * * Description: The priority level of the AI model for the agent, where higher values indicate higher priority.
11129
+ */
11130
+ get Priority() {
11131
+ return this.Get('Priority');
11132
+ }
11133
+ set Priority(value) {
11134
+ this.Set('Priority', value);
11135
+ }
11136
+ /**
11137
+ * * Field Name: __mj_CreatedAt
11138
+ * * Display Name: Created At
11139
+ * * SQL Data Type: datetimeoffset
11140
+ * * Default Value: getutcdate()
11141
+ */
11142
+ get __mj_CreatedAt() {
11143
+ return this.Get('__mj_CreatedAt');
11144
+ }
11145
+ /**
11146
+ * * Field Name: __mj_UpdatedAt
11147
+ * * Display Name: Updated At
11148
+ * * SQL Data Type: datetimeoffset
11149
+ * * Default Value: getutcdate()
11150
+ */
11151
+ get __mj_UpdatedAt() {
11152
+ return this.Get('__mj_UpdatedAt');
11153
+ }
11154
+ /**
11155
+ * * Field Name: Agent
11156
+ * * Display Name: Agent
11157
+ * * SQL Data Type: nvarchar(255)
11158
+ */
11159
+ get Agent() {
11160
+ return this.Get('Agent');
11161
+ }
11162
+ /**
11163
+ * * Field Name: Model
11164
+ * * Display Name: Model
11165
+ * * SQL Data Type: nvarchar(50)
11166
+ */
11167
+ get Model() {
11168
+ return this.Get('Model');
11169
+ }
11170
+ };
11171
+ exports.AIAgentModelEntity = AIAgentModelEntity;
11172
+ exports.AIAgentModelEntity = AIAgentModelEntity = __decorate([
11173
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Models')
11174
+ ], AIAgentModelEntity);
11175
+ /**
11176
+ * AI Agent Note Types - strongly typed entity sub-class
11177
+ * * Schema: __mj
11178
+ * * Base Table: AIAgentNoteType
11179
+ * * Base View: vwAIAgentNoteTypes
11180
+ * * Primary Key: ID
11181
+ * @extends {BaseEntity}
11182
+ * @class
11183
+ * @public
11184
+ */
11185
+ let AIAgentNoteTypeEntity = class AIAgentNoteTypeEntity extends core_1.BaseEntity {
11186
+ /**
11187
+ * Loads the AI Agent Note Types record from the database
11188
+ * @param ID: string - primary key value to load the AI Agent Note Types record.
11189
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11190
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11191
+ * @public
11192
+ * @async
11193
+ * @memberof AIAgentNoteTypeEntity
11194
+ * @method
11195
+ * @override
11196
+ */
11197
+ async Load(ID, EntityRelationshipsToLoad) {
11198
+ const compositeKey = new core_1.CompositeKey();
11199
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
11200
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
11201
+ }
11202
+ /**
11203
+ * * Field Name: ID
11204
+ * * Display Name: ID
11205
+ * * SQL Data Type: uniqueidentifier
11206
+ * * Default Value: newsequentialid()
11207
+ */
11208
+ get ID() {
11209
+ return this.Get('ID');
11210
+ }
11211
+ /**
11212
+ * * Field Name: Name
11213
+ * * Display Name: Name
11214
+ * * SQL Data Type: nvarchar(255)
11215
+ */
11216
+ get Name() {
11217
+ return this.Get('Name');
11218
+ }
11219
+ set Name(value) {
11220
+ this.Set('Name', value);
11221
+ }
11222
+ /**
11223
+ * * Field Name: Description
11224
+ * * Display Name: Description
11225
+ * * SQL Data Type: nvarchar(MAX)
11226
+ */
11227
+ get Description() {
11228
+ return this.Get('Description');
11229
+ }
11230
+ set Description(value) {
11231
+ this.Set('Description', value);
11232
+ }
11233
+ /**
11234
+ * * Field Name: __mj_CreatedAt
11235
+ * * Display Name: Created At
11236
+ * * SQL Data Type: datetimeoffset
11237
+ * * Default Value: getutcdate()
11238
+ */
11239
+ get __mj_CreatedAt() {
11240
+ return this.Get('__mj_CreatedAt');
11241
+ }
11242
+ /**
11243
+ * * Field Name: __mj_UpdatedAt
11244
+ * * Display Name: Updated At
11245
+ * * SQL Data Type: datetimeoffset
11246
+ * * Default Value: getutcdate()
11247
+ */
11248
+ get __mj_UpdatedAt() {
11249
+ return this.Get('__mj_UpdatedAt');
11250
+ }
11251
+ };
11252
+ exports.AIAgentNoteTypeEntity = AIAgentNoteTypeEntity;
11253
+ exports.AIAgentNoteTypeEntity = AIAgentNoteTypeEntity = __decorate([
11254
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Note Types')
11255
+ ], AIAgentNoteTypeEntity);
11256
+ /**
11257
+ * AI Agent Notes - strongly typed entity sub-class
11258
+ * * Schema: __mj
11259
+ * * Base Table: AIAgentNote
11260
+ * * Base View: vwAIAgentNotes
11261
+ * * Primary Key: ID
11262
+ * @extends {BaseEntity}
11263
+ * @class
11264
+ * @public
11265
+ */
11266
+ let AIAgentNoteEntity = class AIAgentNoteEntity extends core_1.BaseEntity {
11267
+ /**
11268
+ * Loads the AI Agent Notes record from the database
11269
+ * @param ID: string - primary key value to load the AI Agent Notes record.
11270
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11271
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11272
+ * @public
11273
+ * @async
11274
+ * @memberof AIAgentNoteEntity
11275
+ * @method
11276
+ * @override
11277
+ */
11278
+ async Load(ID, EntityRelationshipsToLoad) {
11279
+ const compositeKey = new core_1.CompositeKey();
11280
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
11281
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
11282
+ }
11283
+ /**
11284
+ * * Field Name: ID
11285
+ * * Display Name: ID
11286
+ * * SQL Data Type: uniqueidentifier
11287
+ * * Default Value: newsequentialid()
11288
+ */
11289
+ get ID() {
11290
+ return this.Get('ID');
11291
+ }
11292
+ /**
11293
+ * * Field Name: AgentID
11294
+ * * Display Name: Agent ID
11295
+ * * SQL Data Type: uniqueidentifier
11296
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
11297
+ */
11298
+ get AgentID() {
11299
+ return this.Get('AgentID');
11300
+ }
11301
+ set AgentID(value) {
11302
+ this.Set('AgentID', value);
11303
+ }
11304
+ /**
11305
+ * * Field Name: AgentNoteTypeID
11306
+ * * Display Name: Agent Note Type ID
11307
+ * * SQL Data Type: uniqueidentifier
11308
+ * * Related Entity/Foreign Key: AI Agent Note Types (vwAIAgentNoteTypes.ID)
11309
+ */
11310
+ get AgentNoteTypeID() {
11311
+ return this.Get('AgentNoteTypeID');
11312
+ }
11313
+ set AgentNoteTypeID(value) {
11314
+ this.Set('AgentNoteTypeID', value);
11315
+ }
11316
+ /**
11317
+ * * Field Name: Note
11318
+ * * Display Name: Note
11319
+ * * SQL Data Type: nvarchar(MAX)
11320
+ */
11321
+ get Note() {
11322
+ return this.Get('Note');
11323
+ }
11324
+ set Note(value) {
11325
+ this.Set('Note', value);
11326
+ }
11327
+ /**
11328
+ * * Field Name: __mj_CreatedAt
11329
+ * * Display Name: Created At
11330
+ * * SQL Data Type: datetimeoffset
11331
+ * * Default Value: getutcdate()
11332
+ */
11333
+ get __mj_CreatedAt() {
11334
+ return this.Get('__mj_CreatedAt');
11335
+ }
11336
+ /**
11337
+ * * Field Name: __mj_UpdatedAt
11338
+ * * Display Name: Updated At
11339
+ * * SQL Data Type: datetimeoffset
11340
+ * * Default Value: getutcdate()
11341
+ */
11342
+ get __mj_UpdatedAt() {
11343
+ return this.Get('__mj_UpdatedAt');
11344
+ }
11345
+ /**
11346
+ * * Field Name: Type
11347
+ * * Display Name: Type
11348
+ * * SQL Data Type: nvarchar(20)
11349
+ * * Value List Type: List
11350
+ * * Possible Values
11351
+ * * User
11352
+ * * Global
11353
+ * * Description: Indicates the type of note, either User-specific or Global.
11354
+ */
11355
+ get Type() {
11356
+ return this.Get('Type');
11357
+ }
11358
+ set Type(value) {
11359
+ this.Set('Type', value);
11360
+ }
11361
+ /**
11362
+ * * Field Name: UserID
11363
+ * * Display Name: User ID
11364
+ * * SQL Data Type: uniqueidentifier
11365
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
11366
+ * * Description: Foreign key referencing the ID column in the User table, indicating the user associated with the note. Used when Type=User
11367
+ */
11368
+ get UserID() {
11369
+ return this.Get('UserID');
11370
+ }
11371
+ set UserID(value) {
11372
+ this.Set('UserID', value);
10113
11373
  }
10114
11374
  /**
10115
- * * Field Name: UserComments
10116
- * * Display Name: User Comments
10117
- * * SQL Data Type: nvarchar(MAX)
10118
- * * Description: User's comments not shared with the LLM.
11375
+ * * Field Name: Agent
11376
+ * * Display Name: Agent
11377
+ * * SQL Data Type: nvarchar(255)
10119
11378
  */
10120
- get UserComments() {
10121
- return this.Get('UserComments');
10122
- }
10123
- set UserComments(value) {
10124
- this.Set('UserComments', value);
11379
+ get Agent() {
11380
+ return this.Get('Agent');
10125
11381
  }
10126
11382
  /**
10127
- * * Field Name: Code
10128
- * * Display Name: Code
10129
- * * SQL Data Type: nvarchar(MAX)
11383
+ * * Field Name: AgentNoteType
11384
+ * * Display Name: Agent Note Type
11385
+ * * SQL Data Type: nvarchar(255)
10130
11386
  */
10131
- get Code() {
10132
- return this.Get('Code');
11387
+ get AgentNoteType() {
11388
+ return this.Get('AgentNoteType');
10133
11389
  }
10134
- set Code(value) {
10135
- this.Set('Code', value);
11390
+ /**
11391
+ * * Field Name: User
11392
+ * * Display Name: User
11393
+ * * SQL Data Type: nvarchar(100)
11394
+ * * Default Value: null
11395
+ */
11396
+ get User() {
11397
+ return this.Get('User');
10136
11398
  }
11399
+ };
11400
+ exports.AIAgentNoteEntity = AIAgentNoteEntity;
11401
+ exports.AIAgentNoteEntity = AIAgentNoteEntity = __decorate([
11402
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Notes')
11403
+ ], AIAgentNoteEntity);
11404
+ /**
11405
+ * AI Agent Requests - strongly typed entity sub-class
11406
+ * * Schema: __mj
11407
+ * * Base Table: AIAgentRequest
11408
+ * * Base View: vwAIAgentRequests
11409
+ * * Primary Key: ID
11410
+ * @extends {BaseEntity}
11411
+ * @class
11412
+ * @public
11413
+ */
11414
+ let AIAgentRequestEntity = class AIAgentRequestEntity extends core_1.BaseEntity {
10137
11415
  /**
10138
- * * Field Name: CodeComments
10139
- * * Display Name: Code Comments
10140
- * * SQL Data Type: nvarchar(MAX)
10141
- * * Description: AI's explanation of the code.
11416
+ * Loads the AI Agent Requests record from the database
11417
+ * @param ID: string - primary key value to load the AI Agent Requests record.
11418
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11419
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11420
+ * @public
11421
+ * @async
11422
+ * @memberof AIAgentRequestEntity
11423
+ * @method
11424
+ * @override
10142
11425
  */
10143
- get CodeComments() {
10144
- return this.Get('CodeComments');
11426
+ async Load(ID, EntityRelationshipsToLoad) {
11427
+ const compositeKey = new core_1.CompositeKey();
11428
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
11429
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
10145
11430
  }
10146
- set CodeComments(value) {
10147
- this.Set('CodeComments', value);
11431
+ /**
11432
+ * * Field Name: ID
11433
+ * * Display Name: ID
11434
+ * * SQL Data Type: uniqueidentifier
11435
+ * * Default Value: newsequentialid()
11436
+ * * Description: Primary key for the AIAgentRequest table, uniquely identifies each record.
11437
+ */
11438
+ get ID() {
11439
+ return this.Get('ID');
10148
11440
  }
10149
11441
  /**
10150
- * * Field Name: CodeApprovalStatus
10151
- * * Display Name: Code Approval Status
10152
- * * SQL Data Type: nvarchar(20)
10153
- * * Default Value: Pending
10154
- * * Value List Type: List
10155
- * * Possible Values
10156
- * * Rejected
10157
- * * Approved
10158
- * * Pending
10159
- * * Description: An action won't be usable until the code is approved.
11442
+ * * Field Name: AgentID
11443
+ * * Display Name: Agent ID
11444
+ * * SQL Data Type: uniqueidentifier
11445
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
11446
+ * * Description: Foreign key referencing the ID column in the AIAgent table.
10160
11447
  */
10161
- get CodeApprovalStatus() {
10162
- return this.Get('CodeApprovalStatus');
11448
+ get AgentID() {
11449
+ return this.Get('AgentID');
10163
11450
  }
10164
- set CodeApprovalStatus(value) {
10165
- this.Set('CodeApprovalStatus', value);
11451
+ set AgentID(value) {
11452
+ this.Set('AgentID', value);
10166
11453
  }
10167
11454
  /**
10168
- * * Field Name: CodeApprovalComments
10169
- * * Display Name: Code Approval Comments
10170
- * * SQL Data Type: nvarchar(MAX)
10171
- * * Description: Optional comments when an individual (or an AI) reviews and approves the code.
11455
+ * * Field Name: RequestedAt
11456
+ * * Display Name: Requested At
11457
+ * * SQL Data Type: datetime
11458
+ * * Description: Timestamp when the request was made by the agent.
10172
11459
  */
10173
- get CodeApprovalComments() {
10174
- return this.Get('CodeApprovalComments');
11460
+ get RequestedAt() {
11461
+ return this.Get('RequestedAt');
10175
11462
  }
10176
- set CodeApprovalComments(value) {
10177
- this.Set('CodeApprovalComments', value);
11463
+ set RequestedAt(value) {
11464
+ this.Set('RequestedAt', value);
10178
11465
  }
10179
11466
  /**
10180
- * * Field Name: CodeApprovedByUserID
10181
- * * Display Name: Code Approved By User ID
11467
+ * * Field Name: RequestForUserID
11468
+ * * Display Name: Request For User ID
10182
11469
  * * SQL Data Type: uniqueidentifier
10183
11470
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
11471
+ * * Description: Optional, a user that the AI specifically is directing the request to, if null intended for general system owner.
10184
11472
  */
10185
- get CodeApprovedByUserID() {
10186
- return this.Get('CodeApprovedByUserID');
11473
+ get RequestForUserID() {
11474
+ return this.Get('RequestForUserID');
10187
11475
  }
10188
- set CodeApprovedByUserID(value) {
10189
- this.Set('CodeApprovedByUserID', value);
11476
+ set RequestForUserID(value) {
11477
+ this.Set('RequestForUserID', value);
10190
11478
  }
10191
11479
  /**
10192
- * * Field Name: CodeApprovedAt
10193
- * * Display Name: Code Approved At
10194
- * * SQL Data Type: datetime
10195
- * * Description: When the code was approved.
11480
+ * * Field Name: Status
11481
+ * * Display Name: Status
11482
+ * * SQL Data Type: nvarchar(20)
11483
+ * * Value List Type: List
11484
+ * * Possible Values
11485
+ * * Requested
11486
+ * * Approved
11487
+ * * Rejected
11488
+ * * Canceled
11489
+ * * Description: Current status of the request (Requested, Approved, Rejected, Canceled).
10196
11490
  */
10197
- get CodeApprovedAt() {
10198
- return this.Get('CodeApprovedAt');
11491
+ get Status() {
11492
+ return this.Get('Status');
10199
11493
  }
10200
- set CodeApprovedAt(value) {
10201
- this.Set('CodeApprovedAt', value);
11494
+ set Status(value) {
11495
+ this.Set('Status', value);
10202
11496
  }
10203
11497
  /**
10204
- * * Field Name: CodeLocked
10205
- * * Display Name: Code Locked
10206
- * * SQL Data Type: bit
10207
- * * Default Value: 0
10208
- * * Description: If set to 1, Code will never be generated by the AI system. This overrides all other settings including the ForceCodeGeneration bit
11498
+ * * Field Name: Request
11499
+ * * Display Name: Request
11500
+ * * SQL Data Type: nvarchar(MAX)
11501
+ * * Description: Details of what the AI Agent is requesting.
10209
11502
  */
10210
- get CodeLocked() {
10211
- return this.Get('CodeLocked');
11503
+ get Request() {
11504
+ return this.Get('Request');
10212
11505
  }
10213
- set CodeLocked(value) {
10214
- this.Set('CodeLocked', value);
11506
+ set Request(value) {
11507
+ this.Set('Request', value);
10215
11508
  }
10216
11509
  /**
10217
- * * Field Name: ForceCodeGeneration
10218
- * * Display Name: Force Code Generation
10219
- * * SQL Data Type: bit
10220
- * * Default Value: 0
10221
- * * Description: If set to 1, the Action will generate code for the provided UserPrompt on the next Save even if the UserPrompt hasn't changed. This is useful to force regeneration when other candidates (such as a change in Action Inputs/Outputs) occurs or on demand by a user.
11510
+ * * Field Name: Response
11511
+ * * Display Name: Response
11512
+ * * SQL Data Type: nvarchar(MAX)
11513
+ * * Description: Response provided by the human to the agent request.
10222
11514
  */
10223
- get ForceCodeGeneration() {
10224
- return this.Get('ForceCodeGeneration');
11515
+ get Response() {
11516
+ return this.Get('Response');
10225
11517
  }
10226
- set ForceCodeGeneration(value) {
10227
- this.Set('ForceCodeGeneration', value);
11518
+ set Response(value) {
11519
+ this.Set('Response', value);
10228
11520
  }
10229
11521
  /**
10230
- * * Field Name: RetentionPeriod
10231
- * * Display Name: Retention Period
10232
- * * SQL Data Type: int
10233
- * * Description: Number of days to retain execution logs; NULL for indefinite.
11522
+ * * Field Name: ResponseByUserID
11523
+ * * Display Name: Response By User ID
11524
+ * * SQL Data Type: uniqueidentifier
11525
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
11526
+ * * Description: Populated when a user responds indicating which user responded to the request.
10234
11527
  */
10235
- get RetentionPeriod() {
10236
- return this.Get('RetentionPeriod');
11528
+ get ResponseByUserID() {
11529
+ return this.Get('ResponseByUserID');
10237
11530
  }
10238
- set RetentionPeriod(value) {
10239
- this.Set('RetentionPeriod', value);
11531
+ set ResponseByUserID(value) {
11532
+ this.Set('ResponseByUserID', value);
10240
11533
  }
10241
11534
  /**
10242
- * * Field Name: Status
10243
- * * Display Name: Status
10244
- * * SQL Data Type: nvarchar(20)
10245
- * * Default Value: Pending
10246
- * * Value List Type: List
10247
- * * Possible Values
10248
- * * Disabled
10249
- * * Active
10250
- * * Pending
10251
- * * Description: Status of the action (Pending, Active, Disabled).
11535
+ * * Field Name: RespondedAt
11536
+ * * Display Name: Responded At
11537
+ * * SQL Data Type: datetime
11538
+ * * Description: Timestamp when the response was provided by the human.
10252
11539
  */
10253
- get Status() {
10254
- return this.Get('Status');
11540
+ get RespondedAt() {
11541
+ return this.Get('RespondedAt');
10255
11542
  }
10256
- set Status(value) {
10257
- this.Set('Status', value);
11543
+ set RespondedAt(value) {
11544
+ this.Set('RespondedAt', value);
11545
+ }
11546
+ /**
11547
+ * * Field Name: Comments
11548
+ * * Display Name: Comments
11549
+ * * SQL Data Type: nvarchar(MAX)
11550
+ * * Description: Additional comments about the request. Not shared with the agent, purely record keeping.
11551
+ */
11552
+ get Comments() {
11553
+ return this.Get('Comments');
11554
+ }
11555
+ set Comments(value) {
11556
+ this.Set('Comments', value);
10258
11557
  }
10259
11558
  /**
10260
11559
  * * Field Name: __mj_CreatedAt
10261
- * * Display Name: __mj _Created At
11560
+ * * Display Name: Created At
10262
11561
  * * SQL Data Type: datetimeoffset
10263
11562
  * * Default Value: getutcdate()
10264
11563
  */
@@ -10267,7 +11566,7 @@ let ActionEntity = class ActionEntity extends core_1.BaseEntity {
10267
11566
  }
10268
11567
  /**
10269
11568
  * * Field Name: __mj_UpdatedAt
10270
- * * Display Name: __mj _Updated At
11569
+ * * Display Name: Updated At
10271
11570
  * * SQL Data Type: datetimeoffset
10272
11571
  * * Default Value: getutcdate()
10273
11572
  */
@@ -10275,46 +11574,56 @@ let ActionEntity = class ActionEntity extends core_1.BaseEntity {
10275
11574
  return this.Get('__mj_UpdatedAt');
10276
11575
  }
10277
11576
  /**
10278
- * * Field Name: Category
10279
- * * Display Name: Category
11577
+ * * Field Name: Agent
11578
+ * * Display Name: Agent
10280
11579
  * * SQL Data Type: nvarchar(255)
10281
11580
  */
10282
- get Category() {
10283
- return this.Get('Category');
11581
+ get Agent() {
11582
+ return this.Get('Agent');
10284
11583
  }
10285
11584
  /**
10286
- * * Field Name: CodeApprovedByUser
10287
- * * Display Name: Code Approved By User
11585
+ * * Field Name: RequestForUser
11586
+ * * Display Name: Request For User
10288
11587
  * * SQL Data Type: nvarchar(100)
11588
+ * * Default Value: null
10289
11589
  */
10290
- get CodeApprovedByUser() {
10291
- return this.Get('CodeApprovedByUser');
11590
+ get RequestForUser() {
11591
+ return this.Get('RequestForUser');
11592
+ }
11593
+ /**
11594
+ * * Field Name: ResponseByUser
11595
+ * * Display Name: Response By User
11596
+ * * SQL Data Type: nvarchar(100)
11597
+ * * Default Value: null
11598
+ */
11599
+ get ResponseByUser() {
11600
+ return this.Get('ResponseByUser');
10292
11601
  }
10293
11602
  };
10294
- exports.ActionEntity = ActionEntity;
10295
- exports.ActionEntity = ActionEntity = __decorate([
10296
- (0, global_1.RegisterClass)(core_1.BaseEntity, 'Actions')
10297
- ], ActionEntity);
11603
+ exports.AIAgentRequestEntity = AIAgentRequestEntity;
11604
+ exports.AIAgentRequestEntity = AIAgentRequestEntity = __decorate([
11605
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agent Requests')
11606
+ ], AIAgentRequestEntity);
10298
11607
  /**
10299
- * AI Actions - strongly typed entity sub-class
11608
+ * AI Agents - strongly typed entity sub-class
10300
11609
  * * Schema: __mj
10301
- * * Base Table: AIAction
10302
- * * Base View: vwAIActions
10303
- * * @description List of all actions that are possible across all AI Models
11610
+ * * Base Table: AIAgent
11611
+ * * Base View: vwAIAgents
11612
+ * * @description Table to store information about AI agents.
10304
11613
  * * Primary Key: ID
10305
11614
  * @extends {BaseEntity}
10306
11615
  * @class
10307
11616
  * @public
10308
11617
  */
10309
- let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
11618
+ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
10310
11619
  /**
10311
- * Loads the AI Actions record from the database
10312
- * @param ID: string - primary key value to load the AI Actions record.
11620
+ * Loads the AI Agents record from the database
11621
+ * @param ID: string - primary key value to load the AI Agents record.
10313
11622
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
10314
11623
  * @returns {Promise<boolean>} - true if successful, false otherwise
10315
11624
  * @public
10316
11625
  * @async
10317
- * @memberof AIActionEntity
11626
+ * @memberof AIAgentEntity
10318
11627
  * @method
10319
11628
  * @override
10320
11629
  */
@@ -10328,6 +11637,7 @@ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10328
11637
  * * Display Name: ID
10329
11638
  * * SQL Data Type: uniqueidentifier
10330
11639
  * * Default Value: newsequentialid()
11640
+ * * Description: The unique identifier for each AI agent. Serves as the primary key.
10331
11641
  */
10332
11642
  get ID() {
10333
11643
  return this.Get('ID');
@@ -10335,7 +11645,8 @@ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10335
11645
  /**
10336
11646
  * * Field Name: Name
10337
11647
  * * Display Name: Name
10338
- * * SQL Data Type: nvarchar(50)
11648
+ * * SQL Data Type: nvarchar(255)
11649
+ * * Description: The name of the AI agent.
10339
11650
  */
10340
11651
  get Name() {
10341
11652
  return this.Get('Name');
@@ -10347,6 +11658,7 @@ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10347
11658
  * * Field Name: Description
10348
11659
  * * Display Name: Description
10349
11660
  * * SQL Data Type: nvarchar(MAX)
11661
+ * * Description: A detailed description of the AI agent.
10350
11662
  */
10351
11663
  get Description() {
10352
11664
  return this.Get('Description');
@@ -10355,39 +11667,15 @@ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10355
11667
  this.Set('Description', value);
10356
11668
  }
10357
11669
  /**
10358
- * * Field Name: DefaultPrompt
10359
- * * Display Name: Default Prompt
10360
- * * SQL Data Type: nvarchar(MAX)
10361
- */
10362
- get DefaultPrompt() {
10363
- return this.Get('DefaultPrompt');
10364
- }
10365
- set DefaultPrompt(value) {
10366
- this.Set('DefaultPrompt', value);
10367
- }
10368
- /**
10369
- * * Field Name: DefaultModelID
10370
- * * Display Name: Default Model ID
10371
- * * SQL Data Type: uniqueidentifier
10372
- * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
10373
- */
10374
- get DefaultModelID() {
10375
- return this.Get('DefaultModelID');
10376
- }
10377
- set DefaultModelID(value) {
10378
- this.Set('DefaultModelID', value);
10379
- }
10380
- /**
10381
- * * Field Name: IsActive
10382
- * * Display Name: Is Active
10383
- * * SQL Data Type: bit
10384
- * * Default Value: 1
11670
+ * * Field Name: LogoURL
11671
+ * * Display Name: Logo URL
11672
+ * * SQL Data Type: nvarchar(255)
10385
11673
  */
10386
- get IsActive() {
10387
- return this.Get('IsActive');
11674
+ get LogoURL() {
11675
+ return this.Get('LogoURL');
10388
11676
  }
10389
- set IsActive(value) {
10390
- this.Set('IsActive', value);
11677
+ set LogoURL(value) {
11678
+ this.Set('LogoURL', value);
10391
11679
  }
10392
11680
  /**
10393
11681
  * * Field Name: __mj_CreatedAt
@@ -10407,19 +11695,11 @@ let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
10407
11695
  get __mj_UpdatedAt() {
10408
11696
  return this.Get('__mj_UpdatedAt');
10409
11697
  }
10410
- /**
10411
- * * Field Name: DefaultModel
10412
- * * Display Name: Default Model
10413
- * * SQL Data Type: nvarchar(50)
10414
- */
10415
- get DefaultModel() {
10416
- return this.Get('DefaultModel');
10417
- }
10418
11698
  };
10419
- exports.AIActionEntity = AIActionEntity;
10420
- exports.AIActionEntity = AIActionEntity = __decorate([
10421
- (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Actions')
10422
- ], AIActionEntity);
11699
+ exports.AIAgentEntity = AIAgentEntity;
11700
+ exports.AIAgentEntity = AIAgentEntity = __decorate([
11701
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Agents')
11702
+ ], AIAgentEntity);
10423
11703
  /**
10424
11704
  * AI Model Actions - strongly typed entity sub-class
10425
11705
  * * Schema: __mj
@@ -24511,7 +25791,6 @@ let QueryEntityEntity = class QueryEntityEntity extends core_1.BaseEntity {
24511
25791
  * * Field Name: Query
24512
25792
  * * Display Name: Query
24513
25793
  * * SQL Data Type: nvarchar(255)
24514
- * * Default Value: null
24515
25794
  */
24516
25795
  get Query() {
24517
25796
  return this.Get('Query');
@@ -24520,7 +25799,6 @@ let QueryEntityEntity = class QueryEntityEntity extends core_1.BaseEntity {
24520
25799
  * * Field Name: Entity
24521
25800
  * * Display Name: Entity
24522
25801
  * * SQL Data Type: nvarchar(255)
24523
- * * Default Value: null
24524
25802
  */
24525
25803
  get Entity() {
24526
25804
  return this.Get('Entity');