@memberjunction/core-entities 2.75.0 → 2.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,12 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.ContentSourceParamSchema = exports.ContentProcessRunSchema = exports.ContentItemSchema = exports.ContentItemTagSchema = exports.ContentItemAttributeSchema = exports.ContentFileTypeSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIAgentSchema = exports.AIAgentRequestSchema = exports.AIAgentNoteSchema = exports.AIAgentNoteTypeSchema = exports.AIAgentModelSchema = exports.AIAgentLearningCycleSchema = exports.AIAgentActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = exports.loadModule = void 0;
10
10
  exports.IntegrationSchema = exports.IntegrationURLFormatSchema = exports.GeneratedCodeSchema = exports.GeneratedCodeCategorySchema = exports.FileSchema = exports.FileStorageProviderSchema = exports.FileEntityRecordLinkSchema = exports.FileCategorySchema = exports.ExplorerNavigationItemSchema = exports.ErrorLogSchema = exports.EntitySettingSchema = exports.EntityRelationshipSchema = exports.EntityRelationshipDisplayComponentSchema = exports.EntityRecordDocumentSchema = exports.EntityPermissionSchema = exports.EntityFieldSchema = exports.EntityFieldValueSchema = exports.EntityDocumentSchema = exports.EntityDocumentTypeSchema = exports.EntityDocumentSettingSchema = exports.EntityDocumentRunSchema = exports.EntityCommunicationMessageTypeSchema = exports.EntityCommunicationFieldSchema = exports.EntityAIActionSchema = exports.EntityActionSchema = exports.EntityActionParamSchema = exports.EntityActionInvocationSchema = exports.EntityActionInvocationTypeSchema = exports.EntityActionFilterSchema = exports.EntitySchema = exports.EmployeeSchema = exports.EmployeeSkillSchema = exports.EmployeeRoleSchema = exports.EmployeeCompanyIntegrationSchema = exports.DuplicateRunSchema = exports.DuplicateRunDetailSchema = exports.DuplicateRunDetailMatchSchema = exports.DatasetSchema = exports.DatasetItemSchema = exports.DataContextSchema = exports.DataContextItemSchema = exports.DashboardSchema = exports.DashboardCategorySchema = exports.ConversationSchema = exports.ConversationDetailSchema = exports.ContentTypeSchema = exports.ContentTypeAttributeSchema = exports.ContentSourceSchema = exports.ContentSourceTypeSchema = exports.ContentSourceTypeParamSchema = void 0;
11
- exports.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.ReportVersionSchema = exports.ReportUserStateSchema = exports.QueryParameterSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ArtifactTypeSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentPromptSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
12
- 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 = 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 = void 0;
13
- 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 = 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 = void 0;
14
- exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentPromptEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = void 0;
15
- 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.ReportVersionEntity = exports.ReportUserStateEntity = exports.QueryParameterEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ArtifactTypeEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = void 0;
16
- exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = void 0;
11
+ exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ReportVersionSchema = exports.ReportUserStateSchema = exports.QueryParameterSchema = exports.DashboardUserStateSchema = exports.DashboardUserPreferenceSchema = exports.ConversationArtifactSchema = exports.ConversationArtifactVersionSchema = exports.ConversationArtifactPermissionSchema = exports.ArtifactTypeSchema = exports.AIVendorSchema = exports.AIVendorTypeSchema = exports.AIVendorTypeDefinitionSchema = exports.AIPromptRunSchema = exports.AIPromptModelSchema = exports.AIModelVendorSchema = exports.AIModelPriceUnitTypeSchema = exports.AIModelPriceTypeSchema = exports.AIModelCostSchema = exports.AIConfigurationSchema = exports.AIConfigurationParamSchema = exports.AIAgentTypeSchema = exports.AIAgentStepSchema = exports.AIAgentStepPathSchema = exports.AIAgentRunSchema = exports.AIAgentRunStepSchema = exports.AIAgentPromptSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = void 0;
12
+ exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = void 0;
13
+ exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = void 0;
14
+ exports.AIConfigurationEntity = exports.AIConfigurationParamEntity = exports.AIAgentTypeEntity = exports.AIAgentStepEntity = exports.AIAgentStepPathEntity = exports.AIAgentRunEntity = exports.AIAgentRunStepEntity = exports.AIAgentPromptEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.GeneratedCodeEntity = exports.GeneratedCodeCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = void 0;
15
+ exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ReportVersionEntity = exports.ReportUserStateEntity = exports.QueryParameterEntity = exports.DashboardUserStateEntity = exports.DashboardUserPreferenceEntity = exports.ConversationArtifactEntity = exports.ConversationArtifactVersionEntity = exports.ConversationArtifactPermissionEntity = exports.ArtifactTypeEntity = exports.AIVendorEntity = exports.AIVendorTypeEntity = exports.AIVendorTypeDefinitionEntity = exports.AIPromptRunEntity = exports.AIPromptModelEntity = exports.AIModelVendorEntity = exports.AIModelPriceUnitTypeEntity = exports.AIModelPriceTypeEntity = exports.AIModelCostEntity = void 0;
16
+ exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = void 0;
17
17
  const core_1 = require("@memberjunction/core");
18
18
  const global_1 = require("@memberjunction/global");
19
19
  const zod_1 = require("zod");
@@ -7572,6 +7572,204 @@ each time the agent processes a prompt step.`),
7572
7572
  * * Display Name: User
7573
7573
  * * SQL Data Type: nvarchar(100)`),
7574
7574
  });
7575
+ /**
7576
+ * zod schema definition for the entity MJ: AI Agent Step Paths
7577
+ */
7578
+ exports.AIAgentStepPathSchema = zod_1.z.object({
7579
+ ID: zod_1.z.string().describe(`
7580
+ * * Field Name: ID
7581
+ * * Display Name: ID
7582
+ * * SQL Data Type: uniqueidentifier
7583
+ * * Default Value: newsequentialid()`),
7584
+ OriginStepID: zod_1.z.string().describe(`
7585
+ * * Field Name: OriginStepID
7586
+ * * Display Name: Origin Step ID
7587
+ * * SQL Data Type: uniqueidentifier
7588
+ * * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)`),
7589
+ DestinationStepID: zod_1.z.string().describe(`
7590
+ * * Field Name: DestinationStepID
7591
+ * * Display Name: Destination Step ID
7592
+ * * SQL Data Type: uniqueidentifier
7593
+ * * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)`),
7594
+ Condition: zod_1.z.string().nullable().describe(`
7595
+ * * Field Name: Condition
7596
+ * * Display Name: Condition
7597
+ * * SQL Data Type: nvarchar(MAX)
7598
+ * * Description: Boolean expression to evaluate. If null, path is always taken. Evaluated against payload and step results.`),
7599
+ Priority: zod_1.z.number().describe(`
7600
+ * * Field Name: Priority
7601
+ * * Display Name: Priority
7602
+ * * SQL Data Type: int
7603
+ * * Default Value: 0
7604
+ * * Description: Path evaluation priority. Higher values are evaluated first. Use 0 or negative values for default/fallback paths that execute when no other conditions match.`),
7605
+ Description: zod_1.z.string().nullable().describe(`
7606
+ * * Field Name: Description
7607
+ * * Display Name: Description
7608
+ * * SQL Data Type: nvarchar(255)`),
7609
+ PathPoints: zod_1.z.string().nullable().describe(`
7610
+ * * Field Name: PathPoints
7611
+ * * Display Name: Path Points
7612
+ * * SQL Data Type: nvarchar(MAX)`),
7613
+ __mj_CreatedAt: zod_1.z.date().describe(`
7614
+ * * Field Name: __mj_CreatedAt
7615
+ * * Display Name: Created At
7616
+ * * SQL Data Type: datetimeoffset
7617
+ * * Default Value: getutcdate()`),
7618
+ __mj_UpdatedAt: zod_1.z.date().describe(`
7619
+ * * Field Name: __mj_UpdatedAt
7620
+ * * Display Name: Updated At
7621
+ * * SQL Data Type: datetimeoffset
7622
+ * * Default Value: getutcdate()`),
7623
+ OriginStep: zod_1.z.string().describe(`
7624
+ * * Field Name: OriginStep
7625
+ * * Display Name: Origin Step
7626
+ * * SQL Data Type: nvarchar(255)`),
7627
+ DestinationStep: zod_1.z.string().describe(`
7628
+ * * Field Name: DestinationStep
7629
+ * * Display Name: Destination Step
7630
+ * * SQL Data Type: nvarchar(255)`),
7631
+ });
7632
+ /**
7633
+ * zod schema definition for the entity MJ: AI Agent Steps
7634
+ */
7635
+ exports.AIAgentStepSchema = zod_1.z.object({
7636
+ ID: zod_1.z.string().describe(`
7637
+ * * Field Name: ID
7638
+ * * Display Name: ID
7639
+ * * SQL Data Type: uniqueidentifier
7640
+ * * Default Value: newsequentialid()`),
7641
+ AgentID: zod_1.z.string().describe(`
7642
+ * * Field Name: AgentID
7643
+ * * Display Name: Agent ID
7644
+ * * SQL Data Type: uniqueidentifier
7645
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)`),
7646
+ Name: zod_1.z.string().describe(`
7647
+ * * Field Name: Name
7648
+ * * Display Name: Name
7649
+ * * SQL Data Type: nvarchar(255)`),
7650
+ Description: zod_1.z.string().nullable().describe(`
7651
+ * * Field Name: Description
7652
+ * * Display Name: Description
7653
+ * * SQL Data Type: nvarchar(MAX)`),
7654
+ StepType: zod_1.z.union([zod_1.z.literal('Action'), zod_1.z.literal('Sub-Agent'), zod_1.z.literal('Prompt')]).describe(`
7655
+ * * Field Name: StepType
7656
+ * * Display Name: Step Type
7657
+ * * SQL Data Type: nvarchar(20)
7658
+ * * Value List Type: List
7659
+ * * Possible Values
7660
+ * * Action
7661
+ * * Sub-Agent
7662
+ * * Prompt
7663
+ * * Description: Type of step: Action (execute an action), Sub-Agent (delegate to another agent), or Prompt (run an AI prompt)`),
7664
+ StartingStep: zod_1.z.boolean().describe(`
7665
+ * * Field Name: StartingStep
7666
+ * * Display Name: Starting Step
7667
+ * * SQL Data Type: bit
7668
+ * * Default Value: 0
7669
+ * * Description: If true, this step is executed when the agent starts`),
7670
+ TimeoutSeconds: zod_1.z.number().nullable().describe(`
7671
+ * * Field Name: TimeoutSeconds
7672
+ * * Display Name: Timeout Seconds
7673
+ * * SQL Data Type: int
7674
+ * * Default Value: 600`),
7675
+ RetryCount: zod_1.z.number().describe(`
7676
+ * * Field Name: RetryCount
7677
+ * * Display Name: Retry Count
7678
+ * * SQL Data Type: int
7679
+ * * Default Value: 0`),
7680
+ OnErrorBehavior: zod_1.z.union([zod_1.z.literal('fail'), zod_1.z.literal('continue'), zod_1.z.literal('retry')]).describe(`
7681
+ * * Field Name: OnErrorBehavior
7682
+ * * Display Name: On Error Behavior
7683
+ * * SQL Data Type: nvarchar(20)
7684
+ * * Default Value: fail
7685
+ * * Value List Type: List
7686
+ * * Possible Values
7687
+ * * fail
7688
+ * * continue
7689
+ * * retry`),
7690
+ ActionID: zod_1.z.string().nullable().describe(`
7691
+ * * Field Name: ActionID
7692
+ * * Display Name: Action ID
7693
+ * * SQL Data Type: uniqueidentifier
7694
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)`),
7695
+ SubAgentID: zod_1.z.string().nullable().describe(`
7696
+ * * Field Name: SubAgentID
7697
+ * * Display Name: Sub Agent ID
7698
+ * * SQL Data Type: uniqueidentifier
7699
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)`),
7700
+ PromptID: zod_1.z.string().nullable().describe(`
7701
+ * * Field Name: PromptID
7702
+ * * Display Name: Prompt ID
7703
+ * * SQL Data Type: uniqueidentifier
7704
+ * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)`),
7705
+ ActionOutputMapping: zod_1.z.string().nullable().describe(`
7706
+ * * Field Name: ActionOutputMapping
7707
+ * * Display Name: Action Output Mapping
7708
+ * * SQL Data Type: nvarchar(MAX)
7709
+ * * Description: JSON configuration for mapping action output parameters to payload paths. Example: {"outputParam1": "payload.customer.status", "*": "payload.lastResult"}`),
7710
+ PositionX: zod_1.z.number().describe(`
7711
+ * * Field Name: PositionX
7712
+ * * Display Name: Position X
7713
+ * * SQL Data Type: int
7714
+ * * Default Value: 0`),
7715
+ PositionY: zod_1.z.number().describe(`
7716
+ * * Field Name: PositionY
7717
+ * * Display Name: Position Y
7718
+ * * SQL Data Type: int
7719
+ * * Default Value: 0`),
7720
+ Width: zod_1.z.number().describe(`
7721
+ * * Field Name: Width
7722
+ * * Display Name: Width
7723
+ * * SQL Data Type: int
7724
+ * * Default Value: 200`),
7725
+ Height: zod_1.z.number().describe(`
7726
+ * * Field Name: Height
7727
+ * * Display Name: Height
7728
+ * * SQL Data Type: int
7729
+ * * Default Value: 80`),
7730
+ __mj_CreatedAt: zod_1.z.date().describe(`
7731
+ * * Field Name: __mj_CreatedAt
7732
+ * * Display Name: Created At
7733
+ * * SQL Data Type: datetimeoffset
7734
+ * * Default Value: getutcdate()`),
7735
+ __mj_UpdatedAt: zod_1.z.date().describe(`
7736
+ * * Field Name: __mj_UpdatedAt
7737
+ * * Display Name: Updated At
7738
+ * * SQL Data Type: datetimeoffset
7739
+ * * Default Value: getutcdate()`),
7740
+ Status: zod_1.z.union([zod_1.z.literal('Active'), zod_1.z.literal('Pending'), zod_1.z.literal('Disabled')]).describe(`
7741
+ * * Field Name: Status
7742
+ * * Display Name: Status
7743
+ * * SQL Data Type: nvarchar(20)
7744
+ * * Default Value: Active
7745
+ * * Value List Type: List
7746
+ * * Possible Values
7747
+ * * Active
7748
+ * * Pending
7749
+ * * Disabled
7750
+ * * Description: Controls whether this step is executed. Active=normal execution, Pending=skip but may activate later, Disabled=never execute`),
7751
+ ActionInputMapping: zod_1.z.string().nullable().describe(`
7752
+ * * Field Name: ActionInputMapping
7753
+ * * Display Name: Action Input Mapping
7754
+ * * SQL Data Type: nvarchar(MAX)
7755
+ * * Description: JSON configuration for mapping static values or payload paths to action input parameters. Example: {"param1": "staticValue", "param2": "payload.dynamicValue"}`),
7756
+ Agent: zod_1.z.string().nullable().describe(`
7757
+ * * Field Name: Agent
7758
+ * * Display Name: Agent
7759
+ * * SQL Data Type: nvarchar(255)`),
7760
+ Action: zod_1.z.string().nullable().describe(`
7761
+ * * Field Name: Action
7762
+ * * Display Name: Action
7763
+ * * SQL Data Type: nvarchar(425)`),
7764
+ SubAgent: zod_1.z.string().nullable().describe(`
7765
+ * * Field Name: SubAgent
7766
+ * * Display Name: Sub Agent
7767
+ * * SQL Data Type: nvarchar(255)`),
7768
+ Prompt: zod_1.z.string().nullable().describe(`
7769
+ * * Field Name: Prompt
7770
+ * * Display Name: Prompt
7771
+ * * SQL Data Type: nvarchar(255)`),
7772
+ });
7575
7773
  /**
7576
7774
  * zod schema definition for the entity MJ: AI Agent Types
7577
7775
  */
@@ -7624,6 +7822,22 @@ exports.AIAgentTypeSchema = zod_1.z.object({
7624
7822
  * * Display Name: Driver Class
7625
7823
  * * SQL Data Type: nvarchar(255)
7626
7824
  * * Description: The class name used by the MemberJunction class factory to instantiate the specific agent type implementation. For example, "LoopAgentType" for a looping agent pattern. If not specified, defaults to using the agent type Name for the DriverClass lookup key.`),
7825
+ UIFormSectionKey: zod_1.z.string().nullable().describe(`
7826
+ * * Field Name: UIFormSectionKey
7827
+ * * Display Name: UI Form Section Key
7828
+ * * SQL Data Type: nvarchar(500)
7829
+ * * Description: Optional Angular component key name for a subclass of BaseFormSectionComponent that provides a custom form section for this agent type. When specified, this component will be dynamically loaded and displayed as the first expandable section in the AI Agent form. This allows agent types to have specialized UI elements. The class must be registered with the MemberJunction class factory via @RegisterClass`),
7830
+ UIFormKey: zod_1.z.string().nullable().describe(`
7831
+ * * Field Name: UIFormKey
7832
+ * * Display Name: UI Form Key
7833
+ * * SQL Data Type: nvarchar(500)
7834
+ * * Description: Optional Angular component key name for a subclass of BaseFormComponent that will completely overrides the default AI Agent form for this agent type. When specified, this component will be used instead of the standard AI Agent form, allowing for completely custom form implementations. The class must be registered with the MemberJunction class factory via @RegisterClass. If both UIFormClass and UIFormSectionClass are specified, UIFormClass takes precedence.`),
7835
+ UIFormSectionExpandedByDefault: zod_1.z.boolean().describe(`
7836
+ * * Field Name: UIFormSectionExpandedByDefault
7837
+ * * Display Name: UI Form Section Expanded By Default
7838
+ * * SQL Data Type: bit
7839
+ * * Default Value: 1
7840
+ * * Description: Determines whether the custom form section (specified by UIFormSectionClass) should be expanded by default when the AI Agent form loads. True means the section starts expanded, False means it starts collapsed. Only applies when UIFormSectionClass is specified. Defaults to 1 (expanded).`),
7627
7841
  SystemPrompt: zod_1.z.string().nullable().describe(`
7628
7842
  * * Field Name: SystemPrompt
7629
7843
  * * Display Name: System Prompt
@@ -31563,6 +31777,541 @@ exports.AIAgentRunEntity = AIAgentRunEntity;
31563
31777
  exports.AIAgentRunEntity = AIAgentRunEntity = __decorate([
31564
31778
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Runs')
31565
31779
  ], AIAgentRunEntity);
31780
+ /**
31781
+ * MJ: AI Agent Step Paths - strongly typed entity sub-class
31782
+ * * Schema: __mj
31783
+ * * Base Table: AIAgentStepPath
31784
+ * * Base View: vwAIAgentStepPaths
31785
+ * * @description Defines paths (edges) between steps in a flow-based AI agent execution graph
31786
+ * * Primary Key: ID
31787
+ * @extends {BaseEntity}
31788
+ * @class
31789
+ * @public
31790
+ */
31791
+ let AIAgentStepPathEntity = class AIAgentStepPathEntity extends core_1.BaseEntity {
31792
+ /**
31793
+ * Loads the MJ: AI Agent Step Paths record from the database
31794
+ * @param ID: string - primary key value to load the MJ: AI Agent Step Paths record.
31795
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
31796
+ * @returns {Promise<boolean>} - true if successful, false otherwise
31797
+ * @public
31798
+ * @async
31799
+ * @memberof AIAgentStepPathEntity
31800
+ * @method
31801
+ * @override
31802
+ */
31803
+ async Load(ID, EntityRelationshipsToLoad) {
31804
+ const compositeKey = new core_1.CompositeKey();
31805
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
31806
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
31807
+ }
31808
+ /**
31809
+ * Validate() method override for MJ: AI Agent Step Paths entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
31810
+ * * Table-Level: This rule ensures that the origin step and destination step must be different. In other words, a step cannot connect to itself.
31811
+ * @public
31812
+ * @method
31813
+ * @override
31814
+ */
31815
+ Validate() {
31816
+ const result = super.Validate();
31817
+ this.ValidateOriginStepIDIsNotEqualToDestinationStepID(result);
31818
+ return result;
31819
+ }
31820
+ /**
31821
+ * This rule ensures that the origin step and destination step must be different. In other words, a step cannot connect to itself.
31822
+ * @param result - the ValidationResult object to add any errors or warnings to
31823
+ * @public
31824
+ * @method
31825
+ */
31826
+ ValidateOriginStepIDIsNotEqualToDestinationStepID(result) {
31827
+ if (this.OriginStepID === this.DestinationStepID) {
31828
+ result.Errors.push(new core_1.ValidationErrorInfo("OriginStepID", "Origin step and destination step must be different. A step cannot connect to itself.", this.OriginStepID, core_1.ValidationErrorType.Failure));
31829
+ }
31830
+ }
31831
+ /**
31832
+ * * Field Name: ID
31833
+ * * Display Name: ID
31834
+ * * SQL Data Type: uniqueidentifier
31835
+ * * Default Value: newsequentialid()
31836
+ */
31837
+ get ID() {
31838
+ return this.Get('ID');
31839
+ }
31840
+ set ID(value) {
31841
+ this.Set('ID', value);
31842
+ }
31843
+ /**
31844
+ * * Field Name: OriginStepID
31845
+ * * Display Name: Origin Step ID
31846
+ * * SQL Data Type: uniqueidentifier
31847
+ * * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)
31848
+ */
31849
+ get OriginStepID() {
31850
+ return this.Get('OriginStepID');
31851
+ }
31852
+ set OriginStepID(value) {
31853
+ this.Set('OriginStepID', value);
31854
+ }
31855
+ /**
31856
+ * * Field Name: DestinationStepID
31857
+ * * Display Name: Destination Step ID
31858
+ * * SQL Data Type: uniqueidentifier
31859
+ * * Related Entity/Foreign Key: MJ: AI Agent Steps (vwAIAgentSteps.ID)
31860
+ */
31861
+ get DestinationStepID() {
31862
+ return this.Get('DestinationStepID');
31863
+ }
31864
+ set DestinationStepID(value) {
31865
+ this.Set('DestinationStepID', value);
31866
+ }
31867
+ /**
31868
+ * * Field Name: Condition
31869
+ * * Display Name: Condition
31870
+ * * SQL Data Type: nvarchar(MAX)
31871
+ * * Description: Boolean expression to evaluate. If null, path is always taken. Evaluated against payload and step results.
31872
+ */
31873
+ get Condition() {
31874
+ return this.Get('Condition');
31875
+ }
31876
+ set Condition(value) {
31877
+ this.Set('Condition', value);
31878
+ }
31879
+ /**
31880
+ * * Field Name: Priority
31881
+ * * Display Name: Priority
31882
+ * * SQL Data Type: int
31883
+ * * Default Value: 0
31884
+ * * Description: Path evaluation priority. Higher values are evaluated first. Use 0 or negative values for default/fallback paths that execute when no other conditions match.
31885
+ */
31886
+ get Priority() {
31887
+ return this.Get('Priority');
31888
+ }
31889
+ set Priority(value) {
31890
+ this.Set('Priority', value);
31891
+ }
31892
+ /**
31893
+ * * Field Name: Description
31894
+ * * Display Name: Description
31895
+ * * SQL Data Type: nvarchar(255)
31896
+ */
31897
+ get Description() {
31898
+ return this.Get('Description');
31899
+ }
31900
+ set Description(value) {
31901
+ this.Set('Description', value);
31902
+ }
31903
+ /**
31904
+ * * Field Name: PathPoints
31905
+ * * Display Name: Path Points
31906
+ * * SQL Data Type: nvarchar(MAX)
31907
+ */
31908
+ get PathPoints() {
31909
+ return this.Get('PathPoints');
31910
+ }
31911
+ set PathPoints(value) {
31912
+ this.Set('PathPoints', value);
31913
+ }
31914
+ /**
31915
+ * * Field Name: __mj_CreatedAt
31916
+ * * Display Name: Created At
31917
+ * * SQL Data Type: datetimeoffset
31918
+ * * Default Value: getutcdate()
31919
+ */
31920
+ get __mj_CreatedAt() {
31921
+ return this.Get('__mj_CreatedAt');
31922
+ }
31923
+ /**
31924
+ * * Field Name: __mj_UpdatedAt
31925
+ * * Display Name: Updated At
31926
+ * * SQL Data Type: datetimeoffset
31927
+ * * Default Value: getutcdate()
31928
+ */
31929
+ get __mj_UpdatedAt() {
31930
+ return this.Get('__mj_UpdatedAt');
31931
+ }
31932
+ /**
31933
+ * * Field Name: OriginStep
31934
+ * * Display Name: Origin Step
31935
+ * * SQL Data Type: nvarchar(255)
31936
+ */
31937
+ get OriginStep() {
31938
+ return this.Get('OriginStep');
31939
+ }
31940
+ /**
31941
+ * * Field Name: DestinationStep
31942
+ * * Display Name: Destination Step
31943
+ * * SQL Data Type: nvarchar(255)
31944
+ */
31945
+ get DestinationStep() {
31946
+ return this.Get('DestinationStep');
31947
+ }
31948
+ };
31949
+ exports.AIAgentStepPathEntity = AIAgentStepPathEntity;
31950
+ exports.AIAgentStepPathEntity = AIAgentStepPathEntity = __decorate([
31951
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Step Paths')
31952
+ ], AIAgentStepPathEntity);
31953
+ /**
31954
+ * MJ: AI Agent Steps - strongly typed entity sub-class
31955
+ * * Schema: __mj
31956
+ * * Base Table: AIAgentStep
31957
+ * * Base View: vwAIAgentSteps
31958
+ * * @description Defines individual steps (nodes) in a flow-based AI agent execution graph
31959
+ * * Primary Key: ID
31960
+ * @extends {BaseEntity}
31961
+ * @class
31962
+ * @public
31963
+ */
31964
+ let AIAgentStepEntity = class AIAgentStepEntity extends core_1.BaseEntity {
31965
+ /**
31966
+ * Loads the MJ: AI Agent Steps record from the database
31967
+ * @param ID: string - primary key value to load the MJ: AI Agent Steps record.
31968
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
31969
+ * @returns {Promise<boolean>} - true if successful, false otherwise
31970
+ * @public
31971
+ * @async
31972
+ * @memberof AIAgentStepEntity
31973
+ * @method
31974
+ * @override
31975
+ */
31976
+ async Load(ID, EntityRelationshipsToLoad) {
31977
+ const compositeKey = new core_1.CompositeKey();
31978
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
31979
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
31980
+ }
31981
+ /**
31982
+ * Validate() method override for MJ: AI Agent Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
31983
+ * * RetryCount: This rule ensures that the RetryCount value cannot be negative. It must be zero or higher.
31984
+ * * TimeoutSeconds: This rule makes sure that the value for TimeoutSeconds must be greater than zero. Negative values or zero are not allowed.
31985
+ * @public
31986
+ * @method
31987
+ * @override
31988
+ */
31989
+ Validate() {
31990
+ const result = super.Validate();
31991
+ this.ValidateRetryCountIsNonNegative(result);
31992
+ this.ValidateTimeoutSecondsGreaterThanZero(result);
31993
+ return result;
31994
+ }
31995
+ /**
31996
+ * This rule ensures that the RetryCount value cannot be negative. It must be zero or higher.
31997
+ * @param result - the ValidationResult object to add any errors or warnings to
31998
+ * @public
31999
+ * @method
32000
+ */
32001
+ ValidateRetryCountIsNonNegative(result) {
32002
+ if (this.RetryCount < 0) {
32003
+ result.Errors.push(new core_1.ValidationErrorInfo("RetryCount", "Retry count cannot be negative.", this.RetryCount, core_1.ValidationErrorType.Failure));
32004
+ }
32005
+ }
32006
+ /**
32007
+ * This rule makes sure that the value for TimeoutSeconds must be greater than zero. Negative values or zero are not allowed.
32008
+ * @param result - the ValidationResult object to add any errors or warnings to
32009
+ * @public
32010
+ * @method
32011
+ */
32012
+ ValidateTimeoutSecondsGreaterThanZero(result) {
32013
+ if (this.TimeoutSeconds <= 0) {
32014
+ result.Errors.push(new core_1.ValidationErrorInfo("TimeoutSeconds", "TimeoutSeconds must be greater than zero.", this.TimeoutSeconds, core_1.ValidationErrorType.Failure));
32015
+ }
32016
+ }
32017
+ /**
32018
+ * * Field Name: ID
32019
+ * * Display Name: ID
32020
+ * * SQL Data Type: uniqueidentifier
32021
+ * * Default Value: newsequentialid()
32022
+ */
32023
+ get ID() {
32024
+ return this.Get('ID');
32025
+ }
32026
+ set ID(value) {
32027
+ this.Set('ID', value);
32028
+ }
32029
+ /**
32030
+ * * Field Name: AgentID
32031
+ * * Display Name: Agent ID
32032
+ * * SQL Data Type: uniqueidentifier
32033
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
32034
+ */
32035
+ get AgentID() {
32036
+ return this.Get('AgentID');
32037
+ }
32038
+ set AgentID(value) {
32039
+ this.Set('AgentID', value);
32040
+ }
32041
+ /**
32042
+ * * Field Name: Name
32043
+ * * Display Name: Name
32044
+ * * SQL Data Type: nvarchar(255)
32045
+ */
32046
+ get Name() {
32047
+ return this.Get('Name');
32048
+ }
32049
+ set Name(value) {
32050
+ this.Set('Name', value);
32051
+ }
32052
+ /**
32053
+ * * Field Name: Description
32054
+ * * Display Name: Description
32055
+ * * SQL Data Type: nvarchar(MAX)
32056
+ */
32057
+ get Description() {
32058
+ return this.Get('Description');
32059
+ }
32060
+ set Description(value) {
32061
+ this.Set('Description', value);
32062
+ }
32063
+ /**
32064
+ * * Field Name: StepType
32065
+ * * Display Name: Step Type
32066
+ * * SQL Data Type: nvarchar(20)
32067
+ * * Value List Type: List
32068
+ * * Possible Values
32069
+ * * Action
32070
+ * * Sub-Agent
32071
+ * * Prompt
32072
+ * * Description: Type of step: Action (execute an action), Sub-Agent (delegate to another agent), or Prompt (run an AI prompt)
32073
+ */
32074
+ get StepType() {
32075
+ return this.Get('StepType');
32076
+ }
32077
+ set StepType(value) {
32078
+ this.Set('StepType', value);
32079
+ }
32080
+ /**
32081
+ * * Field Name: StartingStep
32082
+ * * Display Name: Starting Step
32083
+ * * SQL Data Type: bit
32084
+ * * Default Value: 0
32085
+ * * Description: If true, this step is executed when the agent starts
32086
+ */
32087
+ get StartingStep() {
32088
+ return this.Get('StartingStep');
32089
+ }
32090
+ set StartingStep(value) {
32091
+ this.Set('StartingStep', value);
32092
+ }
32093
+ /**
32094
+ * * Field Name: TimeoutSeconds
32095
+ * * Display Name: Timeout Seconds
32096
+ * * SQL Data Type: int
32097
+ * * Default Value: 600
32098
+ */
32099
+ get TimeoutSeconds() {
32100
+ return this.Get('TimeoutSeconds');
32101
+ }
32102
+ set TimeoutSeconds(value) {
32103
+ this.Set('TimeoutSeconds', value);
32104
+ }
32105
+ /**
32106
+ * * Field Name: RetryCount
32107
+ * * Display Name: Retry Count
32108
+ * * SQL Data Type: int
32109
+ * * Default Value: 0
32110
+ */
32111
+ get RetryCount() {
32112
+ return this.Get('RetryCount');
32113
+ }
32114
+ set RetryCount(value) {
32115
+ this.Set('RetryCount', value);
32116
+ }
32117
+ /**
32118
+ * * Field Name: OnErrorBehavior
32119
+ * * Display Name: On Error Behavior
32120
+ * * SQL Data Type: nvarchar(20)
32121
+ * * Default Value: fail
32122
+ * * Value List Type: List
32123
+ * * Possible Values
32124
+ * * fail
32125
+ * * continue
32126
+ * * retry
32127
+ */
32128
+ get OnErrorBehavior() {
32129
+ return this.Get('OnErrorBehavior');
32130
+ }
32131
+ set OnErrorBehavior(value) {
32132
+ this.Set('OnErrorBehavior', value);
32133
+ }
32134
+ /**
32135
+ * * Field Name: ActionID
32136
+ * * Display Name: Action ID
32137
+ * * SQL Data Type: uniqueidentifier
32138
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)
32139
+ */
32140
+ get ActionID() {
32141
+ return this.Get('ActionID');
32142
+ }
32143
+ set ActionID(value) {
32144
+ this.Set('ActionID', value);
32145
+ }
32146
+ /**
32147
+ * * Field Name: SubAgentID
32148
+ * * Display Name: Sub Agent ID
32149
+ * * SQL Data Type: uniqueidentifier
32150
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
32151
+ */
32152
+ get SubAgentID() {
32153
+ return this.Get('SubAgentID');
32154
+ }
32155
+ set SubAgentID(value) {
32156
+ this.Set('SubAgentID', value);
32157
+ }
32158
+ /**
32159
+ * * Field Name: PromptID
32160
+ * * Display Name: Prompt ID
32161
+ * * SQL Data Type: uniqueidentifier
32162
+ * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
32163
+ */
32164
+ get PromptID() {
32165
+ return this.Get('PromptID');
32166
+ }
32167
+ set PromptID(value) {
32168
+ this.Set('PromptID', value);
32169
+ }
32170
+ /**
32171
+ * * Field Name: ActionOutputMapping
32172
+ * * Display Name: Action Output Mapping
32173
+ * * SQL Data Type: nvarchar(MAX)
32174
+ * * Description: JSON configuration for mapping action output parameters to payload paths. Example: {"outputParam1": "payload.customer.status", "*": "payload.lastResult"}
32175
+ */
32176
+ get ActionOutputMapping() {
32177
+ return this.Get('ActionOutputMapping');
32178
+ }
32179
+ set ActionOutputMapping(value) {
32180
+ this.Set('ActionOutputMapping', value);
32181
+ }
32182
+ /**
32183
+ * * Field Name: PositionX
32184
+ * * Display Name: Position X
32185
+ * * SQL Data Type: int
32186
+ * * Default Value: 0
32187
+ */
32188
+ get PositionX() {
32189
+ return this.Get('PositionX');
32190
+ }
32191
+ set PositionX(value) {
32192
+ this.Set('PositionX', value);
32193
+ }
32194
+ /**
32195
+ * * Field Name: PositionY
32196
+ * * Display Name: Position Y
32197
+ * * SQL Data Type: int
32198
+ * * Default Value: 0
32199
+ */
32200
+ get PositionY() {
32201
+ return this.Get('PositionY');
32202
+ }
32203
+ set PositionY(value) {
32204
+ this.Set('PositionY', value);
32205
+ }
32206
+ /**
32207
+ * * Field Name: Width
32208
+ * * Display Name: Width
32209
+ * * SQL Data Type: int
32210
+ * * Default Value: 200
32211
+ */
32212
+ get Width() {
32213
+ return this.Get('Width');
32214
+ }
32215
+ set Width(value) {
32216
+ this.Set('Width', value);
32217
+ }
32218
+ /**
32219
+ * * Field Name: Height
32220
+ * * Display Name: Height
32221
+ * * SQL Data Type: int
32222
+ * * Default Value: 80
32223
+ */
32224
+ get Height() {
32225
+ return this.Get('Height');
32226
+ }
32227
+ set Height(value) {
32228
+ this.Set('Height', value);
32229
+ }
32230
+ /**
32231
+ * * Field Name: __mj_CreatedAt
32232
+ * * Display Name: Created At
32233
+ * * SQL Data Type: datetimeoffset
32234
+ * * Default Value: getutcdate()
32235
+ */
32236
+ get __mj_CreatedAt() {
32237
+ return this.Get('__mj_CreatedAt');
32238
+ }
32239
+ /**
32240
+ * * Field Name: __mj_UpdatedAt
32241
+ * * Display Name: Updated At
32242
+ * * SQL Data Type: datetimeoffset
32243
+ * * Default Value: getutcdate()
32244
+ */
32245
+ get __mj_UpdatedAt() {
32246
+ return this.Get('__mj_UpdatedAt');
32247
+ }
32248
+ /**
32249
+ * * Field Name: Status
32250
+ * * Display Name: Status
32251
+ * * SQL Data Type: nvarchar(20)
32252
+ * * Default Value: Active
32253
+ * * Value List Type: List
32254
+ * * Possible Values
32255
+ * * Active
32256
+ * * Pending
32257
+ * * Disabled
32258
+ * * Description: Controls whether this step is executed. Active=normal execution, Pending=skip but may activate later, Disabled=never execute
32259
+ */
32260
+ get Status() {
32261
+ return this.Get('Status');
32262
+ }
32263
+ set Status(value) {
32264
+ this.Set('Status', value);
32265
+ }
32266
+ /**
32267
+ * * Field Name: ActionInputMapping
32268
+ * * Display Name: Action Input Mapping
32269
+ * * SQL Data Type: nvarchar(MAX)
32270
+ * * Description: JSON configuration for mapping static values or payload paths to action input parameters. Example: {"param1": "staticValue", "param2": "payload.dynamicValue"}
32271
+ */
32272
+ get ActionInputMapping() {
32273
+ return this.Get('ActionInputMapping');
32274
+ }
32275
+ set ActionInputMapping(value) {
32276
+ this.Set('ActionInputMapping', value);
32277
+ }
32278
+ /**
32279
+ * * Field Name: Agent
32280
+ * * Display Name: Agent
32281
+ * * SQL Data Type: nvarchar(255)
32282
+ */
32283
+ get Agent() {
32284
+ return this.Get('Agent');
32285
+ }
32286
+ /**
32287
+ * * Field Name: Action
32288
+ * * Display Name: Action
32289
+ * * SQL Data Type: nvarchar(425)
32290
+ */
32291
+ get Action() {
32292
+ return this.Get('Action');
32293
+ }
32294
+ /**
32295
+ * * Field Name: SubAgent
32296
+ * * Display Name: Sub Agent
32297
+ * * SQL Data Type: nvarchar(255)
32298
+ */
32299
+ get SubAgent() {
32300
+ return this.Get('SubAgent');
32301
+ }
32302
+ /**
32303
+ * * Field Name: Prompt
32304
+ * * Display Name: Prompt
32305
+ * * SQL Data Type: nvarchar(255)
32306
+ */
32307
+ get Prompt() {
32308
+ return this.Get('Prompt');
32309
+ }
32310
+ };
32311
+ exports.AIAgentStepEntity = AIAgentStepEntity;
32312
+ exports.AIAgentStepEntity = AIAgentStepEntity = __decorate([
32313
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: AI Agent Steps')
32314
+ ], AIAgentStepEntity);
31566
32315
  /**
31567
32316
  * MJ: AI Agent Types - strongly typed entity sub-class
31568
32317
  * * Schema: __mj
@@ -31697,6 +32446,43 @@ let AIAgentTypeEntity = class AIAgentTypeEntity extends core_1.BaseEntity {
31697
32446
  this.Set('DriverClass', value);
31698
32447
  }
31699
32448
  /**
32449
+ * * Field Name: UIFormSectionKey
32450
+ * * Display Name: UI Form Section Key
32451
+ * * SQL Data Type: nvarchar(500)
32452
+ * * Description: Optional Angular component key name for a subclass of BaseFormSectionComponent that provides a custom form section for this agent type. When specified, this component will be dynamically loaded and displayed as the first expandable section in the AI Agent form. This allows agent types to have specialized UI elements. The class must be registered with the MemberJunction class factory via @RegisterClass
32453
+ */
32454
+ get UIFormSectionKey() {
32455
+ return this.Get('UIFormSectionKey');
32456
+ }
32457
+ set UIFormSectionKey(value) {
32458
+ this.Set('UIFormSectionKey', value);
32459
+ }
32460
+ /**
32461
+ * * Field Name: UIFormKey
32462
+ * * Display Name: UI Form Key
32463
+ * * SQL Data Type: nvarchar(500)
32464
+ * * Description: Optional Angular component key name for a subclass of BaseFormComponent that will completely overrides the default AI Agent form for this agent type. When specified, this component will be used instead of the standard AI Agent form, allowing for completely custom form implementations. The class must be registered with the MemberJunction class factory via @RegisterClass. If both UIFormClass and UIFormSectionClass are specified, UIFormClass takes precedence.
32465
+ */
32466
+ get UIFormKey() {
32467
+ return this.Get('UIFormKey');
32468
+ }
32469
+ set UIFormKey(value) {
32470
+ this.Set('UIFormKey', value);
32471
+ }
32472
+ /**
32473
+ * * Field Name: UIFormSectionExpandedByDefault
32474
+ * * Display Name: UI Form Section Expanded By Default
32475
+ * * SQL Data Type: bit
32476
+ * * Default Value: 1
32477
+ * * Description: Determines whether the custom form section (specified by UIFormSectionClass) should be expanded by default when the AI Agent form loads. True means the section starts expanded, False means it starts collapsed. Only applies when UIFormSectionClass is specified. Defaults to 1 (expanded).
32478
+ */
32479
+ get UIFormSectionExpandedByDefault() {
32480
+ return this.Get('UIFormSectionExpandedByDefault');
32481
+ }
32482
+ set UIFormSectionExpandedByDefault(value) {
32483
+ this.Set('UIFormSectionExpandedByDefault', value);
32484
+ }
32485
+ /**
31700
32486
  * * Field Name: SystemPrompt
31701
32487
  * * Display Name: System Prompt
31702
32488
  * * SQL Data Type: nvarchar(255)