@memberjunction/core-entities 0.9.166 → 0.9.168

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,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.DashboardEntity = exports.QueueTaskEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.AIModelTypeEntity = exports.EntityAIActionEntity = exports.AIModelActionEntity = exports.AIActionEntity = exports.AIModelEntity = exports.EntityFieldValueEntity = exports.AuditLogTypeEntity = exports.AuthorizationRoleEntity = exports.AuthorizationEntity = exports.AuditLogEntity = exports.RowLevelSecurityFilterEntity = exports.UserRoleEntity = exports.RecordChangeEntity = exports.WorkflowEngineEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.UserViewRunDetailEntity = exports.UserViewRunEntity = exports.ListDetailEntity = exports.ListEntity = exports.CompanyIntegrationRunAPILogEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.EntityPermissionEntity = exports.ApplicationEntityEntity = exports.ApplicationEntity = exports.ErrorLogEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunEntity = exports.UserViewEntity = exports.UserRecordLogEntity = exports.EntityRelationshipEntity = exports.UserEntity = exports.EntityEntity = exports.EntityFieldEntity = exports.CompanyIntegrationEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.SkillEntity = exports.RoleEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.UserFavoriteEntity = exports.EmployeeEntity = exports.CompanyEntity = void 0;
10
- exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.ReportCategoryEntity = exports.DashboardCategoryEntity = exports.UserViewCategoryEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.EntityDocumentEntity = exports.EntityRecordDocumentEntity = exports.VectorDatabaseEntity = exports.EntityDocumentRunEntity = exports.EntityDocumentTypeEntity = exports.VectorIndexEntity = exports.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.UserNotificationEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.DatasetItemEntity = exports.DatasetEntity = exports.WorkspaceItemEntity = exports.WorkspaceEntity = exports.TaggedItemEntity = exports.TagEntity = exports.ResourceTypeEntity = exports.ReportSnapshotEntity = exports.ReportEntity = exports.OutputDeliveryTypeEntity = exports.OutputFormatTypeEntity = exports.OutputTriggerTypeEntity = void 0;
10
+ exports.VersionInstallationEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.ReportCategoryEntity = exports.DashboardCategoryEntity = exports.UserViewCategoryEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.EntityDocumentEntity = exports.EntityRecordDocumentEntity = exports.VectorDatabaseEntity = exports.EntityDocumentRunEntity = exports.EntityDocumentTypeEntity = exports.VectorIndexEntity = exports.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.UserNotificationEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.DatasetItemEntity = exports.DatasetEntity = exports.WorkspaceItemEntity = exports.WorkspaceEntity = exports.TaggedItemEntity = exports.TagEntity = exports.ResourceTypeEntity = exports.ReportSnapshotEntity = exports.ReportEntity = exports.OutputDeliveryTypeEntity = exports.OutputFormatTypeEntity = exports.OutputTriggerTypeEntity = void 0;
11
11
  const core_1 = require("@memberjunction/core");
12
12
  const global_1 = require("@memberjunction/global");
13
13
  /**
@@ -3993,17 +3993,6 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
3993
3993
  return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3994
3994
  }
3995
3995
  /**
3996
- * Applications - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
3997
- * @public
3998
- * @method
3999
- * @override
4000
- * @memberof ApplicationEntity
4001
- * @throws {Error} - Delete is not allowed for Applications, to enable it set AllowDeleteAPI to 1 in the database.
4002
- */
4003
- async Delete() {
4004
- throw new Error('Delete is not allowed for Applications, to enable it set AllowDeleteAPI to 1 in the database.');
4005
- }
4006
- /**
4007
3996
  * * Field Name: ID
4008
3997
  * * SQL Data Type: int
4009
3998
  */
@@ -5402,6 +5391,55 @@ let WorkflowEntity = class WorkflowEntity extends core_1.BaseEntity {
5402
5391
  get UpdatedAt() {
5403
5392
  return this.Get('UpdatedAt');
5404
5393
  }
5394
+ /**
5395
+ * * Field Name: AutoRunEnabled
5396
+ * * Display Name: Auto Run Enabled
5397
+ * * SQL Data Type: bit
5398
+ * * Default Value: 0
5399
+ * * Description: If set to 1, the workflow will be run automatically on the interval specified by the AutoRunIntervalType and AutoRunInterval fields
5400
+ */
5401
+ get AutoRunEnabled() {
5402
+ return this.Get('AutoRunEnabled');
5403
+ }
5404
+ set AutoRunEnabled(value) {
5405
+ this.Set('AutoRunEnabled', value);
5406
+ }
5407
+ /**
5408
+ * * Field Name: AutoRunIntervalUnits
5409
+ * * Display Name: Auto Run Interval Units
5410
+ * * SQL Data Type: nvarchar(20)
5411
+ * * Description: Minutes, Hours, Days, Weeks, Months, Years
5412
+ */
5413
+ get AutoRunIntervalUnits() {
5414
+ return this.Get('AutoRunIntervalUnits');
5415
+ }
5416
+ set AutoRunIntervalUnits(value) {
5417
+ this.Set('AutoRunIntervalUnits', value);
5418
+ }
5419
+ /**
5420
+ * * Field Name: AutoRunInterval
5421
+ * * Display Name: Auto Run Interval
5422
+ * * SQL Data Type: int
5423
+ * * Description: The interval, denominated in the units specified in the AutoRunIntervalUnits column, between auto runs of this workflow.
5424
+ */
5425
+ get AutoRunInterval() {
5426
+ return this.Get('AutoRunInterval');
5427
+ }
5428
+ set AutoRunInterval(value) {
5429
+ this.Set('AutoRunInterval', value);
5430
+ }
5431
+ /**
5432
+ * * Field Name: SubclassName
5433
+ * * Display Name: Subclass Name
5434
+ * * SQL Data Type: nvarchar(200)
5435
+ * * Description: If specified, this subclass key, via the ClassFactory, will be instantiated, to execute this workflow. If not specified the WorkflowBase class will be used by default.
5436
+ */
5437
+ get SubclassName() {
5438
+ return this.Get('SubclassName');
5439
+ }
5440
+ set SubclassName(value) {
5441
+ this.Set('SubclassName', value);
5442
+ }
5405
5443
  };
5406
5444
  exports.WorkflowEntity = WorkflowEntity;
5407
5445
  exports.WorkflowEntity = WorkflowEntity = __decorate([
@@ -13008,4 +13046,167 @@ exports.FileEntityRecordLinkEntity = FileEntityRecordLinkEntity;
13008
13046
  exports.FileEntityRecordLinkEntity = FileEntityRecordLinkEntity = __decorate([
13009
13047
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'File Entity Record Links')
13010
13048
  ], FileEntityRecordLinkEntity);
13049
+ /**
13050
+ * Version Installations - strongly typed entity sub-class
13051
+ * * Schema: __mj
13052
+ * * Base Table: VersionInstallation
13053
+ * * Base View: vwVersionInstallations
13054
+ * * Primary Key: ID
13055
+ * @extends {BaseEntity}
13056
+ * @class
13057
+ * @public
13058
+ */
13059
+ let VersionInstallationEntity = class VersionInstallationEntity extends core_1.BaseEntity {
13060
+ /**
13061
+ * Loads the Version Installations record from the database
13062
+ * @param ID: number - primary key value to load the Version Installations record.
13063
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
13064
+ * @returns {Promise<boolean>} - true if successful, false otherwise
13065
+ * @public
13066
+ * @async
13067
+ * @memberof VersionInstallationEntity
13068
+ * @method
13069
+ * @override
13070
+ */
13071
+ async Load(ID, EntityRelationshipsToLoad = null) {
13072
+ const pkeyValues = [];
13073
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
13074
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
13075
+ }
13076
+ /**
13077
+ * Version Installations - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
13078
+ * @public
13079
+ * @method
13080
+ * @override
13081
+ * @memberof VersionInstallationEntity
13082
+ * @throws {Error} - Delete is not allowed for Version Installations, to enable it set AllowDeleteAPI to 1 in the database.
13083
+ */
13084
+ async Delete() {
13085
+ throw new Error('Delete is not allowed for Version Installations, to enable it set AllowDeleteAPI to 1 in the database.');
13086
+ }
13087
+ /**
13088
+ * * Field Name: ID
13089
+ * * Display Name: ID
13090
+ * * SQL Data Type: int
13091
+ */
13092
+ get ID() {
13093
+ return this.Get('ID');
13094
+ }
13095
+ /**
13096
+ * * Field Name: MajorVersion
13097
+ * * Display Name: Major Version
13098
+ * * SQL Data Type: int
13099
+ */
13100
+ get MajorVersion() {
13101
+ return this.Get('MajorVersion');
13102
+ }
13103
+ set MajorVersion(value) {
13104
+ this.Set('MajorVersion', value);
13105
+ }
13106
+ /**
13107
+ * * Field Name: MinorVersion
13108
+ * * Display Name: Minor Version
13109
+ * * SQL Data Type: int
13110
+ */
13111
+ get MinorVersion() {
13112
+ return this.Get('MinorVersion');
13113
+ }
13114
+ set MinorVersion(value) {
13115
+ this.Set('MinorVersion', value);
13116
+ }
13117
+ /**
13118
+ * * Field Name: PatchVersion
13119
+ * * Display Name: Patch Version
13120
+ * * SQL Data Type: int
13121
+ */
13122
+ get PatchVersion() {
13123
+ return this.Get('PatchVersion');
13124
+ }
13125
+ set PatchVersion(value) {
13126
+ this.Set('PatchVersion', value);
13127
+ }
13128
+ /**
13129
+ * * Field Name: Type
13130
+ * * Display Name: Type
13131
+ * * SQL Data Type: nvarchar(20)
13132
+ * * Default Value: N'System'
13133
+ * * Description: What type of installation was applied
13134
+ */
13135
+ get Type() {
13136
+ return this.Get('Type');
13137
+ }
13138
+ set Type(value) {
13139
+ this.Set('Type', value);
13140
+ }
13141
+ /**
13142
+ * * Field Name: InstalledAt
13143
+ * * Display Name: Installed At
13144
+ * * SQL Data Type: datetime
13145
+ */
13146
+ get InstalledAt() {
13147
+ return this.Get('InstalledAt');
13148
+ }
13149
+ set InstalledAt(value) {
13150
+ this.Set('InstalledAt', value);
13151
+ }
13152
+ /**
13153
+ * * Field Name: Status
13154
+ * * Display Name: Status
13155
+ * * SQL Data Type: nvarchar(20)
13156
+ * * Default Value: N'Pending'
13157
+ * * Description: Pending, Complete, Failed
13158
+ */
13159
+ get Status() {
13160
+ return this.Get('Status');
13161
+ }
13162
+ set Status(value) {
13163
+ this.Set('Status', value);
13164
+ }
13165
+ /**
13166
+ * * Field Name: InstallLog
13167
+ * * Display Name: Install Log
13168
+ * * SQL Data Type: nvarchar(MAX)
13169
+ * * Description: Any logging that was saved from the installation process
13170
+ */
13171
+ get InstallLog() {
13172
+ return this.Get('InstallLog');
13173
+ }
13174
+ set InstallLog(value) {
13175
+ this.Set('InstallLog', value);
13176
+ }
13177
+ /**
13178
+ * * Field Name: Comments
13179
+ * * Display Name: Comments
13180
+ * * SQL Data Type: nvarchar(MAX)
13181
+ * * Description: Optional, comments the administrator wants to save for each installed version
13182
+ */
13183
+ get Comments() {
13184
+ return this.Get('Comments');
13185
+ }
13186
+ set Comments(value) {
13187
+ this.Set('Comments', value);
13188
+ }
13189
+ /**
13190
+ * * Field Name: CreatedAt
13191
+ * * Display Name: Created At
13192
+ * * SQL Data Type: datetime
13193
+ * * Default Value: getdate()
13194
+ */
13195
+ get CreatedAt() {
13196
+ return this.Get('CreatedAt');
13197
+ }
13198
+ /**
13199
+ * * Field Name: UpdatedAt
13200
+ * * Display Name: Updated At
13201
+ * * SQL Data Type: datetime
13202
+ * * Default Value: getdate()
13203
+ */
13204
+ get UpdatedAt() {
13205
+ return this.Get('UpdatedAt');
13206
+ }
13207
+ };
13208
+ exports.VersionInstallationEntity = VersionInstallationEntity;
13209
+ exports.VersionInstallationEntity = VersionInstallationEntity = __decorate([
13210
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Version Installations')
13211
+ ], VersionInstallationEntity);
13011
13212
  //# sourceMappingURL=entity_subclasses.js.map