@memberjunction/core-entities 0.9.167 → 0.9.170

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
  /**
@@ -1682,6 +1682,11 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
1682
1682
  * * Display Name: Value List Type
1683
1683
  * * SQL Data Type: nvarchar(20)
1684
1684
  * * Default Value: N'None'
1685
+ * * Value List Type: List
1686
+ * * Possible Values
1687
+ * * None
1688
+ * * List
1689
+ * * ListOrUserEntry
1685
1690
  */
1686
1691
  get ValueListType() {
1687
1692
  return this.Get('ValueListType');
@@ -5391,6 +5396,71 @@ let WorkflowEntity = class WorkflowEntity extends core_1.BaseEntity {
5391
5396
  get UpdatedAt() {
5392
5397
  return this.Get('UpdatedAt');
5393
5398
  }
5399
+ /**
5400
+ * * Field Name: AutoRunEnabled
5401
+ * * Display Name: Auto Run Enabled
5402
+ * * SQL Data Type: bit
5403
+ * * Default Value: 0
5404
+ * * Description: If set to 1, the workflow will be run automatically on the interval specified by the AutoRunIntervalType and AutoRunInterval fields
5405
+ */
5406
+ get AutoRunEnabled() {
5407
+ return this.Get('AutoRunEnabled');
5408
+ }
5409
+ set AutoRunEnabled(value) {
5410
+ this.Set('AutoRunEnabled', value);
5411
+ }
5412
+ /**
5413
+ * * Field Name: AutoRunIntervalUnits
5414
+ * * Display Name: Auto Run Interval Units
5415
+ * * SQL Data Type: nvarchar(20)
5416
+ * * Value List Type: List
5417
+ * * Possible Values
5418
+ * * Years
5419
+ * * Months
5420
+ * * Weeks
5421
+ * * Days
5422
+ * * Hours
5423
+ * * Minutes
5424
+ * * Description: Minutes, Hours, Days, Weeks, Months, Years
5425
+ */
5426
+ get AutoRunIntervalUnits() {
5427
+ return this.Get('AutoRunIntervalUnits');
5428
+ }
5429
+ set AutoRunIntervalUnits(value) {
5430
+ this.Set('AutoRunIntervalUnits', value);
5431
+ }
5432
+ /**
5433
+ * * Field Name: AutoRunInterval
5434
+ * * Display Name: Auto Run Interval
5435
+ * * SQL Data Type: int
5436
+ * * Description: The interval, denominated in the units specified in the AutoRunIntervalUnits column, between auto runs of this workflow.
5437
+ */
5438
+ get AutoRunInterval() {
5439
+ return this.Get('AutoRunInterval');
5440
+ }
5441
+ set AutoRunInterval(value) {
5442
+ this.Set('AutoRunInterval', value);
5443
+ }
5444
+ /**
5445
+ * * Field Name: SubclassName
5446
+ * * Display Name: Subclass Name
5447
+ * * SQL Data Type: nvarchar(200)
5448
+ * * 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.
5449
+ */
5450
+ get SubclassName() {
5451
+ return this.Get('SubclassName');
5452
+ }
5453
+ set SubclassName(value) {
5454
+ this.Set('SubclassName', value);
5455
+ }
5456
+ /**
5457
+ * * Field Name: AutoRunIntervalMinutes
5458
+ * * Display Name: Auto Run Interval Minutes
5459
+ * * SQL Data Type: int
5460
+ */
5461
+ get AutoRunIntervalMinutes() {
5462
+ return this.Get('AutoRunIntervalMinutes');
5463
+ }
5394
5464
  };
5395
5465
  exports.WorkflowEntity = WorkflowEntity;
5396
5466
  exports.WorkflowEntity = WorkflowEntity = __decorate([
@@ -6279,20 +6349,10 @@ let AuthorizationRoleEntity = class AuthorizationRoleEntity extends core_1.BaseE
6279
6349
  * * Display Name: Type
6280
6350
  * * SQL Data Type: nchar(10)
6281
6351
  * * Default Value: N'grant'
6282
- * Value List Type: List
6283
- * Possible Values
6284
- * Allow - User allowed to execute tasks linked to this authorization
6285
- * Allow - User allowed to execute tasks linked to this authorization
6286
- * Allow - User allowed to execute tasks linked to this authorization
6287
- * Allow - User allowed to execute tasks linked to this authorization
6288
- * Allow - User allowed to execute tasks linked to this authorization
6289
- * Allow - User allowed to execute tasks linked to this authorization
6290
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6291
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6292
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6293
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6294
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6295
- * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6352
+ * * Value List Type: List
6353
+ * * Possible Values
6354
+ * * Allow - User allowed to execute tasks linked to this authorization
6355
+ * * Deny - User NOT allowed to execute tasks linked to this authorization - deny overrides Allow from all other roles a user may be part of
6296
6356
  */
6297
6357
  get Type() {
6298
6358
  return this.Get('Type');
@@ -6601,6 +6661,14 @@ let EntityFieldValueEntity = class EntityFieldValueEntity extends core_1.BaseEnt
6601
6661
  return this.Get('UpdatedAt');
6602
6662
  }
6603
6663
  /**
6664
+ * * Field Name: EntityField
6665
+ * * Display Name: Entity Field
6666
+ * * SQL Data Type: nvarchar(255)
6667
+ */
6668
+ get EntityField() {
6669
+ return this.Get('EntityField');
6670
+ }
6671
+ /**
6604
6672
  * * Field Name: Entity
6605
6673
  * * Display Name: Entity
6606
6674
  * * SQL Data Type: nvarchar(255)
@@ -12997,4 +13065,175 @@ exports.FileEntityRecordLinkEntity = FileEntityRecordLinkEntity;
12997
13065
  exports.FileEntityRecordLinkEntity = FileEntityRecordLinkEntity = __decorate([
12998
13066
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'File Entity Record Links')
12999
13067
  ], FileEntityRecordLinkEntity);
13068
+ /**
13069
+ * Version Installations - strongly typed entity sub-class
13070
+ * * Schema: __mj
13071
+ * * Base Table: VersionInstallation
13072
+ * * Base View: vwVersionInstallations
13073
+ * * Primary Key: ID
13074
+ * @extends {BaseEntity}
13075
+ * @class
13076
+ * @public
13077
+ */
13078
+ let VersionInstallationEntity = class VersionInstallationEntity extends core_1.BaseEntity {
13079
+ /**
13080
+ * Loads the Version Installations record from the database
13081
+ * @param ID: number - primary key value to load the Version Installations record.
13082
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
13083
+ * @returns {Promise<boolean>} - true if successful, false otherwise
13084
+ * @public
13085
+ * @async
13086
+ * @memberof VersionInstallationEntity
13087
+ * @method
13088
+ * @override
13089
+ */
13090
+ async Load(ID, EntityRelationshipsToLoad = null) {
13091
+ const pkeyValues = [];
13092
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
13093
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
13094
+ }
13095
+ /**
13096
+ * 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.
13097
+ * @public
13098
+ * @method
13099
+ * @override
13100
+ * @memberof VersionInstallationEntity
13101
+ * @throws {Error} - Delete is not allowed for Version Installations, to enable it set AllowDeleteAPI to 1 in the database.
13102
+ */
13103
+ async Delete() {
13104
+ throw new Error('Delete is not allowed for Version Installations, to enable it set AllowDeleteAPI to 1 in the database.');
13105
+ }
13106
+ /**
13107
+ * * Field Name: ID
13108
+ * * Display Name: ID
13109
+ * * SQL Data Type: int
13110
+ */
13111
+ get ID() {
13112
+ return this.Get('ID');
13113
+ }
13114
+ /**
13115
+ * * Field Name: MajorVersion
13116
+ * * Display Name: Major Version
13117
+ * * SQL Data Type: int
13118
+ */
13119
+ get MajorVersion() {
13120
+ return this.Get('MajorVersion');
13121
+ }
13122
+ set MajorVersion(value) {
13123
+ this.Set('MajorVersion', value);
13124
+ }
13125
+ /**
13126
+ * * Field Name: MinorVersion
13127
+ * * Display Name: Minor Version
13128
+ * * SQL Data Type: int
13129
+ */
13130
+ get MinorVersion() {
13131
+ return this.Get('MinorVersion');
13132
+ }
13133
+ set MinorVersion(value) {
13134
+ this.Set('MinorVersion', value);
13135
+ }
13136
+ /**
13137
+ * * Field Name: PatchVersion
13138
+ * * Display Name: Patch Version
13139
+ * * SQL Data Type: int
13140
+ */
13141
+ get PatchVersion() {
13142
+ return this.Get('PatchVersion');
13143
+ }
13144
+ set PatchVersion(value) {
13145
+ this.Set('PatchVersion', value);
13146
+ }
13147
+ /**
13148
+ * * Field Name: Type
13149
+ * * Display Name: Type
13150
+ * * SQL Data Type: nvarchar(20)
13151
+ * * Default Value: N'System'
13152
+ * * Description: What type of installation was applied
13153
+ */
13154
+ get Type() {
13155
+ return this.Get('Type');
13156
+ }
13157
+ set Type(value) {
13158
+ this.Set('Type', value);
13159
+ }
13160
+ /**
13161
+ * * Field Name: InstalledAt
13162
+ * * Display Name: Installed At
13163
+ * * SQL Data Type: datetime
13164
+ */
13165
+ get InstalledAt() {
13166
+ return this.Get('InstalledAt');
13167
+ }
13168
+ set InstalledAt(value) {
13169
+ this.Set('InstalledAt', value);
13170
+ }
13171
+ /**
13172
+ * * Field Name: Status
13173
+ * * Display Name: Status
13174
+ * * SQL Data Type: nvarchar(20)
13175
+ * * Default Value: N'Pending'
13176
+ * * Description: Pending, Complete, Failed
13177
+ */
13178
+ get Status() {
13179
+ return this.Get('Status');
13180
+ }
13181
+ set Status(value) {
13182
+ this.Set('Status', value);
13183
+ }
13184
+ /**
13185
+ * * Field Name: InstallLog
13186
+ * * Display Name: Install Log
13187
+ * * SQL Data Type: nvarchar(MAX)
13188
+ * * Description: Any logging that was saved from the installation process
13189
+ */
13190
+ get InstallLog() {
13191
+ return this.Get('InstallLog');
13192
+ }
13193
+ set InstallLog(value) {
13194
+ this.Set('InstallLog', value);
13195
+ }
13196
+ /**
13197
+ * * Field Name: Comments
13198
+ * * Display Name: Comments
13199
+ * * SQL Data Type: nvarchar(MAX)
13200
+ * * Description: Optional, comments the administrator wants to save for each installed version
13201
+ */
13202
+ get Comments() {
13203
+ return this.Get('Comments');
13204
+ }
13205
+ set Comments(value) {
13206
+ this.Set('Comments', value);
13207
+ }
13208
+ /**
13209
+ * * Field Name: CreatedAt
13210
+ * * Display Name: Created At
13211
+ * * SQL Data Type: datetime
13212
+ * * Default Value: getdate()
13213
+ */
13214
+ get CreatedAt() {
13215
+ return this.Get('CreatedAt');
13216
+ }
13217
+ /**
13218
+ * * Field Name: UpdatedAt
13219
+ * * Display Name: Updated At
13220
+ * * SQL Data Type: datetime
13221
+ * * Default Value: getdate()
13222
+ */
13223
+ get UpdatedAt() {
13224
+ return this.Get('UpdatedAt');
13225
+ }
13226
+ /**
13227
+ * * Field Name: CompleteVersion
13228
+ * * Display Name: Complete Version
13229
+ * * SQL Data Type: nvarchar(302)
13230
+ */
13231
+ get CompleteVersion() {
13232
+ return this.Get('CompleteVersion');
13233
+ }
13234
+ };
13235
+ exports.VersionInstallationEntity = VersionInstallationEntity;
13236
+ exports.VersionInstallationEntity = VersionInstallationEntity = __decorate([
13237
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Version Installations')
13238
+ ], VersionInstallationEntity);
13000
13239
  //# sourceMappingURL=entity_subclasses.js.map