@memberjunction/core-entities 2.28.0 → 2.29.1

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.
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.ContentSourceParamSchema = exports.ContentProcessRunSchema = exports.ContentItemSchema = exports.ContentItemTagSchema = exports.ContentItemAttributeSchema = exports.ContentFileTypeSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIAgentSchema = exports.AIAgentRequestSchema = exports.AIAgentNoteSchema = exports.AIAgentNoteTypeSchema = exports.AIAgentModelSchema = exports.AIAgentLearningCycleSchema = exports.AIAgentActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = exports.loadModule = void 0;
10
- exports.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;
10
+ exports.LibraryItemSchema = exports.LibrarySchema = exports.IntegrationSchema = exports.IntegrationURLFormatSchema = 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.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ResourcePermissionSchema = exports.ResourceLinkSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryEntitySchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = void 0;
12
+ exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = exports.AIAgentEntity = exports.AIAgentRequestEntity = exports.AIAgentNoteEntity = exports.AIAgentNoteTypeEntity = exports.AIAgentModelEntity = exports.AIAgentLearningCycleEntity = exports.AIAgentActionEntity = exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = void 0;
13
+ exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.ContentTypeEntity = exports.ContentTypeAttributeEntity = exports.ContentSourceEntity = exports.ContentSourceTypeEntity = exports.ContentSourceTypeParamEntity = exports.ContentSourceParamEntity = exports.ContentProcessRunEntity = exports.ContentItemEntity = exports.ContentItemTagEntity = exports.ContentItemAttributeEntity = exports.ContentFileTypeEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = void 0;
14
+ exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ResourcePermissionEntity = exports.ResourceLinkEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryEntityEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = 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 = 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");
@@ -1974,6 +1974,18 @@ exports.CommunicationProviderSchema = zod_1.z.object({
1974
1974
  * * SQL Data Type: bit
1975
1975
  * * Default Value: 0
1976
1976
  * * Description: Whether or not the provider supports sending messages at a specific time`),
1977
+ SupportsForwarding: zod_1.z.boolean().describe(`
1978
+ * * Field Name: SupportsForwarding
1979
+ * * Display Name: Supports Forwarding
1980
+ * * SQL Data Type: bit
1981
+ * * Default Value: 0
1982
+ * * Description: Whether or not the provider supports forwarding messages to another recipient `),
1983
+ SupportsReplying: zod_1.z.boolean().describe(`
1984
+ * * Field Name: SupportsReplying
1985
+ * * Display Name: Supports Replying
1986
+ * * SQL Data Type: bit
1987
+ * * Default Value: 0
1988
+ * * Description: Whether or not the provider supports replying to messages`),
1977
1989
  });
1978
1990
  /**
1979
1991
  * zod schema definition for the entity Communication Runs
@@ -2946,8 +2958,7 @@ exports.ConversationDetailSchema = zod_1.z.object({
2946
2958
  User: zod_1.z.string().nullish().describe(`
2947
2959
  * * Field Name: User
2948
2960
  * * Display Name: User
2949
- * * SQL Data Type: nvarchar(100)
2950
- * * Default Value: null`),
2961
+ * * SQL Data Type: nvarchar(100)`),
2951
2962
  });
2952
2963
  /**
2953
2964
  * zod schema definition for the entity Conversations
@@ -5014,6 +5025,30 @@ exports.EntityFieldSchema = zod_1.z.object({
5014
5025
  * * None
5015
5026
  * * All
5016
5027
  * * Description: Determines whether values for the field should be included when the schema is packed. Options: Auto (include manually set or auto-derived values), None (exclude all values), All (include all distinct values from the table). Defaults to Auto.`),
5028
+ GeneratedValidationFunctionName: zod_1.z.string().nullish().describe(`
5029
+ * * Field Name: GeneratedValidationFunctionName
5030
+ * * Display Name: Generated Validation Function Name
5031
+ * * SQL Data Type: nvarchar(255)
5032
+ * * Description: Contains the name of the generated field validation function, if it exists, null otherwise`),
5033
+ GeneratedValidationFunctionDescription: zod_1.z.string().nullish().describe(`
5034
+ * * Field Name: GeneratedValidationFunctionDescription
5035
+ * * Display Name: Generated Validation Function Description
5036
+ * * SQL Data Type: nvarchar(MAX)
5037
+ * * Description: Contains a description for business users of what the validation function for this field does, if it exists`),
5038
+ GeneratedValidationFunctionCode: zod_1.z.string().nullish().describe(`
5039
+ * * Field Name: GeneratedValidationFunctionCode
5040
+ * * Display Name: Generated Validation Function Code
5041
+ * * SQL Data Type: nvarchar(MAX)
5042
+ * * Description: Contains the generated code for the field validation function, if it exists, null otherwise.`),
5043
+ GeneratedValidationFunctionCheckConstraint: zod_1.z.string().nullish().describe(`
5044
+ * * Field Name: GeneratedValidationFunctionCheckConstraint
5045
+ * * Display Name: Generated Validation Function Check Constraint
5046
+ * * SQL Data Type: nvarchar(MAX)
5047
+ * * Description: If a generated validation function was generated previously, this stores the text from the source CHECK constraint in the database. This is stored so that regeneration of the validation function will only occur when the source CHECK constraint changes.`),
5048
+ FieldCodeName: zod_1.z.string().nullish().describe(`
5049
+ * * Field Name: FieldCodeName
5050
+ * * Display Name: Field Code Name
5051
+ * * SQL Data Type: nvarchar(MAX)`),
5017
5052
  Entity: zod_1.z.string().describe(`
5018
5053
  * * Field Name: Entity
5019
5054
  * * SQL Data Type: nvarchar(255)`),
@@ -5777,62 +5812,6 @@ exports.FileSchema = zod_1.z.object({
5777
5812
  * * Display Name: Provider
5778
5813
  * * SQL Data Type: nvarchar(50)`),
5779
5814
  });
5780
- /**
5781
- * zod schema definition for the entity Flyway _schema _histories
5782
- */
5783
- exports.flyway_schema_historySchema = zod_1.z.object({
5784
- installed_rank: zod_1.z.number().describe(`
5785
- * * Field Name: installed_rank
5786
- * * Display Name: installed _rank
5787
- * * SQL Data Type: int`),
5788
- version: zod_1.z.string().nullish().describe(`
5789
- * * Field Name: version
5790
- * * Display Name: version
5791
- * * SQL Data Type: nvarchar(50)`),
5792
- description: zod_1.z.string().nullish().describe(`
5793
- * * Field Name: description
5794
- * * Display Name: description
5795
- * * SQL Data Type: nvarchar(200)`),
5796
- type: zod_1.z.string().describe(`
5797
- * * Field Name: type
5798
- * * Display Name: type
5799
- * * SQL Data Type: nvarchar(20)`),
5800
- script: zod_1.z.string().describe(`
5801
- * * Field Name: script
5802
- * * Display Name: script
5803
- * * SQL Data Type: nvarchar(1000)`),
5804
- checksum: zod_1.z.number().nullish().describe(`
5805
- * * Field Name: checksum
5806
- * * Display Name: checksum
5807
- * * SQL Data Type: int`),
5808
- installed_by: zod_1.z.string().describe(`
5809
- * * Field Name: installed_by
5810
- * * Display Name: installed _by
5811
- * * SQL Data Type: nvarchar(100)`),
5812
- installed_on: zod_1.z.date().describe(`
5813
- * * Field Name: installed_on
5814
- * * Display Name: installed _on
5815
- * * SQL Data Type: datetime
5816
- * * Default Value: getdate()`),
5817
- execution_time: zod_1.z.number().describe(`
5818
- * * Field Name: execution_time
5819
- * * Display Name: execution _time
5820
- * * SQL Data Type: int`),
5821
- success: zod_1.z.boolean().describe(`
5822
- * * Field Name: success
5823
- * * Display Name: success
5824
- * * SQL Data Type: bit`),
5825
- __mj_CreatedAt: zod_1.z.date().describe(`
5826
- * * Field Name: __mj_CreatedAt
5827
- * * Display Name: Created At
5828
- * * SQL Data Type: datetimeoffset
5829
- * * Default Value: getutcdate()`),
5830
- __mj_UpdatedAt: zod_1.z.date().describe(`
5831
- * * Field Name: __mj_UpdatedAt
5832
- * * Display Name: Updated At
5833
- * * SQL Data Type: datetimeoffset
5834
- * * Default Value: getutcdate()`),
5835
- });
5836
5815
  /**
5837
5816
  * zod schema definition for the entity Integration URL Formats
5838
5817
  */
@@ -12022,6 +12001,55 @@ let AIModelEntity = class AIModelEntity extends core_1.BaseEntity {
12022
12001
  return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
12023
12002
  }
12024
12003
  /**
12004
+ * Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
12005
+ * * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
12006
+ * * CostRank: This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
12007
+ * * PowerRank: This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
12008
+ * @public
12009
+ * @method
12010
+ * @override
12011
+ */
12012
+ Validate() {
12013
+ const result = super.Validate();
12014
+ this.ValidateSpeedRank(result);
12015
+ this.ValidateCostRank(result);
12016
+ this.ValidatePowerRank(result);
12017
+ return result;
12018
+ }
12019
+ /**
12020
+ * This rule ensures that the speed rank must be zero or a positive number.
12021
+ * @param result - the ValidationResult object to add any errors or warnings to
12022
+ * @public
12023
+ * @method
12024
+ */
12025
+ ValidateSpeedRank(result) {
12026
+ if (this.SpeedRank < 0) {
12027
+ result.Errors.push(new core_1.ValidationErrorInfo('SpeedRank', 'Speed rank must be zero or a positive number.', this.SpeedRank, core_1.ValidationErrorType.Failure));
12028
+ }
12029
+ }
12030
+ /**
12031
+ * This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
12032
+ * @param result - the ValidationResult object to add any errors or warnings to
12033
+ * @public
12034
+ * @method
12035
+ */
12036
+ ValidateCostRank(result) {
12037
+ if (this.CostRank < 0) {
12038
+ result.Errors.push(new core_1.ValidationErrorInfo('CostRank', 'The cost rank must be zero or higher.', this.CostRank, core_1.ValidationErrorType.Failure));
12039
+ }
12040
+ }
12041
+ /**
12042
+ * This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
12043
+ * @param result - the ValidationResult object to add any errors or warnings to
12044
+ * @public
12045
+ * @method
12046
+ */
12047
+ ValidatePowerRank(result) {
12048
+ if (this.PowerRank < 0) {
12049
+ result.Errors.push(new core_1.ValidationErrorInfo('PowerRank', 'The power rank must be greater than or equal to zero.', this.PowerRank, core_1.ValidationErrorType.Failure));
12050
+ }
12051
+ }
12052
+ /**
12025
12053
  * * Field Name: ID
12026
12054
  * * Display Name: ID
12027
12055
  * * SQL Data Type: uniqueidentifier
@@ -14382,6 +14410,32 @@ let CommunicationProviderEntity = class CommunicationProviderEntity extends core
14382
14410
  set SupportsScheduledSending(value) {
14383
14411
  this.Set('SupportsScheduledSending', value);
14384
14412
  }
14413
+ /**
14414
+ * * Field Name: SupportsForwarding
14415
+ * * Display Name: Supports Forwarding
14416
+ * * SQL Data Type: bit
14417
+ * * Default Value: 0
14418
+ * * Description: Whether or not the provider supports forwarding messages to another recipient
14419
+ */
14420
+ get SupportsForwarding() {
14421
+ return this.Get('SupportsForwarding');
14422
+ }
14423
+ set SupportsForwarding(value) {
14424
+ this.Set('SupportsForwarding', value);
14425
+ }
14426
+ /**
14427
+ * * Field Name: SupportsReplying
14428
+ * * Display Name: Supports Replying
14429
+ * * SQL Data Type: bit
14430
+ * * Default Value: 0
14431
+ * * Description: Whether or not the provider supports replying to messages
14432
+ */
14433
+ get SupportsReplying() {
14434
+ return this.Get('SupportsReplying');
14435
+ }
14436
+ set SupportsReplying(value) {
14437
+ this.Set('SupportsReplying', value);
14438
+ }
14385
14439
  };
14386
14440
  exports.CommunicationProviderEntity = CommunicationProviderEntity;
14387
14441
  exports.CommunicationProviderEntity = CommunicationProviderEntity = __decorate([
@@ -16828,6 +16882,29 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
16828
16882
  return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
16829
16883
  }
16830
16884
  /**
16885
+ * Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
16886
+ * * UserRating: This rule ensures that the user rating is between 1 and 10, inclusive. Ratings below 1 or above 10 are not allowed.
16887
+ * @public
16888
+ * @method
16889
+ * @override
16890
+ */
16891
+ Validate() {
16892
+ const result = super.Validate();
16893
+ this.ValidateUserRating(result);
16894
+ return result;
16895
+ }
16896
+ /**
16897
+ * This rule ensures that the user rating is between 1 and 10, inclusive. Ratings below 1 or above 10 are not allowed.
16898
+ * @param result - the ValidationResult object to add any errors or warnings to
16899
+ * @public
16900
+ * @method
16901
+ */
16902
+ ValidateUserRating(result) {
16903
+ if (this.UserRating < 1 || this.UserRating > 10) {
16904
+ result.Errors.push(new core_1.ValidationErrorInfo('UserRating', 'The user rating must be between 1 and 10, inclusive.', this.UserRating, core_1.ValidationErrorType.Failure));
16905
+ }
16906
+ }
16907
+ /**
16831
16908
  * * Field Name: ID
16832
16909
  * * Display Name: ID
16833
16910
  * * SQL Data Type: uniqueidentifier
@@ -17001,7 +17078,6 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
17001
17078
  * * Field Name: User
17002
17079
  * * Display Name: User
17003
17080
  * * SQL Data Type: nvarchar(100)
17004
- * * Default Value: null
17005
17081
  */
17006
17082
  get User() {
17007
17083
  return this.Get('User');
@@ -22126,6 +22202,62 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
22126
22202
  this.Set('ValuesToPackWithSchema', value);
22127
22203
  }
22128
22204
  /**
22205
+ * * Field Name: GeneratedValidationFunctionName
22206
+ * * Display Name: Generated Validation Function Name
22207
+ * * SQL Data Type: nvarchar(255)
22208
+ * * Description: Contains the name of the generated field validation function, if it exists, null otherwise
22209
+ */
22210
+ get GeneratedValidationFunctionName() {
22211
+ return this.Get('GeneratedValidationFunctionName');
22212
+ }
22213
+ set GeneratedValidationFunctionName(value) {
22214
+ this.Set('GeneratedValidationFunctionName', value);
22215
+ }
22216
+ /**
22217
+ * * Field Name: GeneratedValidationFunctionDescription
22218
+ * * Display Name: Generated Validation Function Description
22219
+ * * SQL Data Type: nvarchar(MAX)
22220
+ * * Description: Contains a description for business users of what the validation function for this field does, if it exists
22221
+ */
22222
+ get GeneratedValidationFunctionDescription() {
22223
+ return this.Get('GeneratedValidationFunctionDescription');
22224
+ }
22225
+ set GeneratedValidationFunctionDescription(value) {
22226
+ this.Set('GeneratedValidationFunctionDescription', value);
22227
+ }
22228
+ /**
22229
+ * * Field Name: GeneratedValidationFunctionCode
22230
+ * * Display Name: Generated Validation Function Code
22231
+ * * SQL Data Type: nvarchar(MAX)
22232
+ * * Description: Contains the generated code for the field validation function, if it exists, null otherwise.
22233
+ */
22234
+ get GeneratedValidationFunctionCode() {
22235
+ return this.Get('GeneratedValidationFunctionCode');
22236
+ }
22237
+ set GeneratedValidationFunctionCode(value) {
22238
+ this.Set('GeneratedValidationFunctionCode', value);
22239
+ }
22240
+ /**
22241
+ * * Field Name: GeneratedValidationFunctionCheckConstraint
22242
+ * * Display Name: Generated Validation Function Check Constraint
22243
+ * * SQL Data Type: nvarchar(MAX)
22244
+ * * Description: If a generated validation function was generated previously, this stores the text from the source CHECK constraint in the database. This is stored so that regeneration of the validation function will only occur when the source CHECK constraint changes.
22245
+ */
22246
+ get GeneratedValidationFunctionCheckConstraint() {
22247
+ return this.Get('GeneratedValidationFunctionCheckConstraint');
22248
+ }
22249
+ set GeneratedValidationFunctionCheckConstraint(value) {
22250
+ this.Set('GeneratedValidationFunctionCheckConstraint', value);
22251
+ }
22252
+ /**
22253
+ * * Field Name: FieldCodeName
22254
+ * * Display Name: Field Code Name
22255
+ * * SQL Data Type: nvarchar(MAX)
22256
+ */
22257
+ get FieldCodeName() {
22258
+ return this.Get('FieldCodeName');
22259
+ }
22260
+ /**
22129
22261
  * * Field Name: Entity
22130
22262
  * * SQL Data Type: nvarchar(255)
22131
22263
  */
@@ -23437,6 +23569,29 @@ let ExplorerNavigationItemEntity = class ExplorerNavigationItemEntity extends co
23437
23569
  return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
23438
23570
  }
23439
23571
  /**
23572
+ * Validate() method override for Explorer Navigation Items entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
23573
+ * * Sequence: This rule ensures that the sequence must be greater than zero.
23574
+ * @public
23575
+ * @method
23576
+ * @override
23577
+ */
23578
+ Validate() {
23579
+ const result = super.Validate();
23580
+ this.ValidateSequence(result);
23581
+ return result;
23582
+ }
23583
+ /**
23584
+ * This rule ensures that the sequence must be greater than zero.
23585
+ * @param result - the ValidationResult object to add any errors or warnings to
23586
+ * @public
23587
+ * @method
23588
+ */
23589
+ ValidateSequence(result) {
23590
+ if (this.Sequence <= 0) {
23591
+ result.Errors.push(new core_1.ValidationErrorInfo('Sequence', 'The sequence must be greater than zero.', this.Sequence, core_1.ValidationErrorType.Failure));
23592
+ }
23593
+ }
23594
+ /**
23440
23595
  * * Field Name: ID
23441
23596
  * * Display Name: ID
23442
23597
  * * SQL Data Type: uniqueidentifier
@@ -24074,164 +24229,6 @@ exports.FileEntity = FileEntity;
24074
24229
  exports.FileEntity = FileEntity = __decorate([
24075
24230
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Files')
24076
24231
  ], FileEntity);
24077
- /**
24078
- * Flyway _schema _histories - strongly typed entity sub-class
24079
- * * Schema: __mj
24080
- * * Base Table: flyway_schema_history
24081
- * * Base View: vwFlyway_schema_histories
24082
- * * Primary Key: installed_rank
24083
- * @extends {BaseEntity}
24084
- * @class
24085
- * @public
24086
- */
24087
- let flyway_schema_historyEntity = class flyway_schema_historyEntity extends core_1.BaseEntity {
24088
- /**
24089
- * Loads the Flyway _schema _histories record from the database
24090
- * @param installed_rank: number - primary key value to load the Flyway _schema _histories record.
24091
- * @param EntityRelationshipsToLoad - (optional) the relationships to load
24092
- * @returns {Promise<boolean>} - true if successful, false otherwise
24093
- * @public
24094
- * @async
24095
- * @memberof flyway_schema_historyEntity
24096
- * @method
24097
- * @override
24098
- */
24099
- async Load(installed_rank, EntityRelationshipsToLoad) {
24100
- const compositeKey = new core_1.CompositeKey();
24101
- compositeKey.KeyValuePairs.push({ FieldName: 'installed_rank', Value: installed_rank });
24102
- return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
24103
- }
24104
- /**
24105
- * * Field Name: installed_rank
24106
- * * Display Name: installed _rank
24107
- * * SQL Data Type: int
24108
- */
24109
- get installed_rank() {
24110
- return this.Get('installed_rank');
24111
- }
24112
- /**
24113
- * * Field Name: version
24114
- * * Display Name: version
24115
- * * SQL Data Type: nvarchar(50)
24116
- */
24117
- get version() {
24118
- return this.Get('version');
24119
- }
24120
- set version(value) {
24121
- this.Set('version', value);
24122
- }
24123
- /**
24124
- * * Field Name: description
24125
- * * Display Name: description
24126
- * * SQL Data Type: nvarchar(200)
24127
- */
24128
- get description() {
24129
- return this.Get('description');
24130
- }
24131
- set description(value) {
24132
- this.Set('description', value);
24133
- }
24134
- /**
24135
- * * Field Name: type
24136
- * * Display Name: type
24137
- * * SQL Data Type: nvarchar(20)
24138
- */
24139
- get type() {
24140
- return this.Get('type');
24141
- }
24142
- set type(value) {
24143
- this.Set('type', value);
24144
- }
24145
- /**
24146
- * * Field Name: script
24147
- * * Display Name: script
24148
- * * SQL Data Type: nvarchar(1000)
24149
- */
24150
- get script() {
24151
- return this.Get('script');
24152
- }
24153
- set script(value) {
24154
- this.Set('script', value);
24155
- }
24156
- /**
24157
- * * Field Name: checksum
24158
- * * Display Name: checksum
24159
- * * SQL Data Type: int
24160
- */
24161
- get checksum() {
24162
- return this.Get('checksum');
24163
- }
24164
- set checksum(value) {
24165
- this.Set('checksum', value);
24166
- }
24167
- /**
24168
- * * Field Name: installed_by
24169
- * * Display Name: installed _by
24170
- * * SQL Data Type: nvarchar(100)
24171
- */
24172
- get installed_by() {
24173
- return this.Get('installed_by');
24174
- }
24175
- set installed_by(value) {
24176
- this.Set('installed_by', value);
24177
- }
24178
- /**
24179
- * * Field Name: installed_on
24180
- * * Display Name: installed _on
24181
- * * SQL Data Type: datetime
24182
- * * Default Value: getdate()
24183
- */
24184
- get installed_on() {
24185
- return this.Get('installed_on');
24186
- }
24187
- set installed_on(value) {
24188
- this.Set('installed_on', value);
24189
- }
24190
- /**
24191
- * * Field Name: execution_time
24192
- * * Display Name: execution _time
24193
- * * SQL Data Type: int
24194
- */
24195
- get execution_time() {
24196
- return this.Get('execution_time');
24197
- }
24198
- set execution_time(value) {
24199
- this.Set('execution_time', value);
24200
- }
24201
- /**
24202
- * * Field Name: success
24203
- * * Display Name: success
24204
- * * SQL Data Type: bit
24205
- */
24206
- get success() {
24207
- return this.Get('success');
24208
- }
24209
- set success(value) {
24210
- this.Set('success', value);
24211
- }
24212
- /**
24213
- * * Field Name: __mj_CreatedAt
24214
- * * Display Name: Created At
24215
- * * SQL Data Type: datetimeoffset
24216
- * * Default Value: getutcdate()
24217
- */
24218
- get __mj_CreatedAt() {
24219
- return this.Get('__mj_CreatedAt');
24220
- }
24221
- /**
24222
- * * Field Name: __mj_UpdatedAt
24223
- * * Display Name: Updated At
24224
- * * SQL Data Type: datetimeoffset
24225
- * * Default Value: getutcdate()
24226
- */
24227
- get __mj_UpdatedAt() {
24228
- return this.Get('__mj_UpdatedAt');
24229
- }
24230
- };
24231
- exports.flyway_schema_historyEntity = flyway_schema_historyEntity;
24232
- exports.flyway_schema_historyEntity = flyway_schema_historyEntity = __decorate([
24233
- (0, global_1.RegisterClass)(core_1.BaseEntity, 'Flyway _schema _histories')
24234
- ], flyway_schema_historyEntity);
24235
24232
  /**
24236
24233
  * Integration URL Formats - strongly typed entity sub-class
24237
24234
  * * Schema: __mj
@@ -26814,6 +26811,29 @@ let RecommendationItemEntity = class RecommendationItemEntity extends core_1.Bas
26814
26811
  throw new Error('Delete is not allowed for Recommendation Items, to enable it set AllowDeleteAPI to 1 in the database.');
26815
26812
  }
26816
26813
  /**
26814
+ * Validate() method override for Recommendation Items entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
26815
+ * * MatchProbability: This rule ensures that the match probability value is between 0 and 1, inclusive.
26816
+ * @public
26817
+ * @method
26818
+ * @override
26819
+ */
26820
+ Validate() {
26821
+ const result = super.Validate();
26822
+ this.ValidateMatchProbability(result);
26823
+ return result;
26824
+ }
26825
+ /**
26826
+ * This rule ensures that the match probability value is between 0 and 1, inclusive.
26827
+ * @param result - the ValidationResult object to add any errors or warnings to
26828
+ * @public
26829
+ * @method
26830
+ */
26831
+ ValidateMatchProbability(result) {
26832
+ if (this.MatchProbability < 0 || this.MatchProbability > 1) {
26833
+ result.Errors.push(new core_1.ValidationErrorInfo('MatchProbability', 'The match probability must be between 0 and 1, inclusive.', this.MatchProbability, core_1.ValidationErrorType.Failure));
26834
+ }
26835
+ }
26836
+ /**
26817
26837
  * * Field Name: ID
26818
26838
  * * Display Name: ID
26819
26839
  * * SQL Data Type: uniqueidentifier