@memberjunction/core-entities 0.9.112 → 0.9.120

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.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.ResourceFolderEntity = 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.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.ResourceFolderEntity = 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
  /**
@@ -9656,6 +9656,29 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
9656
9656
  this.Set('Type', value);
9657
9657
  }
9658
9658
  /**
9659
+ * * Field Name: LinkedEntityID
9660
+ * * Display Name: Linked Entity ID
9661
+ * * SQL Data Type: int
9662
+ * * Related Entity: Entities
9663
+ */
9664
+ get LinkedEntityID() {
9665
+ return this.Get('LinkedEntityID');
9666
+ }
9667
+ set LinkedEntityID(value) {
9668
+ this.Set('LinkedEntityID', value);
9669
+ }
9670
+ /**
9671
+ * * Field Name: LinkedRecordID
9672
+ * * Display Name: Linked Record ID
9673
+ * * SQL Data Type: int
9674
+ */
9675
+ get LinkedRecordID() {
9676
+ return this.Get('LinkedRecordID');
9677
+ }
9678
+ set LinkedRecordID(value) {
9679
+ this.Set('LinkedRecordID', value);
9680
+ }
9681
+ /**
9659
9682
  * * Field Name: CreatedAt
9660
9683
  * * Display Name: Created At
9661
9684
  * * SQL Data Type: datetime
@@ -9681,6 +9704,14 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
9681
9704
  get User() {
9682
9705
  return this.Get('User');
9683
9706
  }
9707
+ /**
9708
+ * * Field Name: LinkedEntity
9709
+ * * Display Name: Linked Entity
9710
+ * * SQL Data Type: nvarchar(255)
9711
+ */
9712
+ get LinkedEntity() {
9713
+ return this.Get('LinkedEntity');
9714
+ }
9684
9715
  };
9685
9716
  exports.ConversationEntity = ConversationEntity;
9686
9717
  exports.ConversationEntity = ConversationEntity = __decorate([
@@ -11118,4 +11149,756 @@ exports.QueryPermissionEntity = QueryPermissionEntity;
11118
11149
  exports.QueryPermissionEntity = QueryPermissionEntity = __decorate([
11119
11150
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Permissions')
11120
11151
  ], QueryPermissionEntity);
11152
+ /**
11153
+ * Vector Indexes - strongly typed entity sub-class
11154
+ * * Schema: admin
11155
+ * * Base Table: VectorIndex
11156
+ * * Base View: vwVectorIndexes
11157
+ * * Primary Key: ID
11158
+ * @extends {BaseEntity}
11159
+ * @class
11160
+ * @public
11161
+ */
11162
+ let VectorIndexEntity = class VectorIndexEntity extends core_1.BaseEntity {
11163
+ /**
11164
+ * Loads the Vector Indexes record from the database
11165
+ * @param ID: Number - primary key value to load the Vector Indexes record.
11166
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11167
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11168
+ * @public
11169
+ * @async
11170
+ * @memberof VectorIndexEntity
11171
+ * @method
11172
+ * @override
11173
+ */
11174
+ async Load(ID, EntityRelationshipsToLoad = null) {
11175
+ const pkeyValues = [];
11176
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11177
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11178
+ }
11179
+ /**
11180
+ * Vector Indexes - 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.
11181
+ * @public
11182
+ * @method
11183
+ * @override
11184
+ * @memberof VectorIndexEntity
11185
+ * @throws {Error} - Delete is not allowed for Vector Indexes, to enable it set AllowDeleteAPI to 1 in the database.
11186
+ */
11187
+ async Delete() {
11188
+ throw new Error('Delete is not allowed for Vector Indexes, to enable it set AllowDeleteAPI to 1 in the database.');
11189
+ }
11190
+ /**
11191
+ * * Field Name: ID
11192
+ * * Display Name: ID
11193
+ * * SQL Data Type: int
11194
+ */
11195
+ get ID() {
11196
+ return this.Get('ID');
11197
+ }
11198
+ /**
11199
+ * * Field Name: Name
11200
+ * * Display Name: Name
11201
+ * * SQL Data Type: nvarchar(255)
11202
+ */
11203
+ get Name() {
11204
+ return this.Get('Name');
11205
+ }
11206
+ set Name(value) {
11207
+ this.Set('Name', value);
11208
+ }
11209
+ /**
11210
+ * * Field Name: Description
11211
+ * * Display Name: Description
11212
+ * * SQL Data Type: nvarchar(MAX)
11213
+ */
11214
+ get Description() {
11215
+ return this.Get('Description');
11216
+ }
11217
+ set Description(value) {
11218
+ this.Set('Description', value);
11219
+ }
11220
+ /**
11221
+ * * Field Name: VectorDatabaseID
11222
+ * * Display Name: Vector Database ID
11223
+ * * SQL Data Type: int
11224
+ * * Related Entity: Vector Databases
11225
+ */
11226
+ get VectorDatabaseID() {
11227
+ return this.Get('VectorDatabaseID');
11228
+ }
11229
+ set VectorDatabaseID(value) {
11230
+ this.Set('VectorDatabaseID', value);
11231
+ }
11232
+ /**
11233
+ * * Field Name: EmbeddingModelID
11234
+ * * Display Name: Embedding Model ID
11235
+ * * SQL Data Type: int
11236
+ * * Related Entity: AI Models
11237
+ */
11238
+ get EmbeddingModelID() {
11239
+ return this.Get('EmbeddingModelID');
11240
+ }
11241
+ set EmbeddingModelID(value) {
11242
+ this.Set('EmbeddingModelID', value);
11243
+ }
11244
+ /**
11245
+ * * Field Name: CreatedAt
11246
+ * * Display Name: Created At
11247
+ * * SQL Data Type: datetime
11248
+ * * Default Value: getdate()
11249
+ */
11250
+ get CreatedAt() {
11251
+ return this.Get('CreatedAt');
11252
+ }
11253
+ /**
11254
+ * * Field Name: UpdatedAt
11255
+ * * Display Name: Updated At
11256
+ * * SQL Data Type: datetime
11257
+ * * Default Value: getdate()
11258
+ */
11259
+ get UpdatedAt() {
11260
+ return this.Get('UpdatedAt');
11261
+ }
11262
+ /**
11263
+ * * Field Name: VectorDatabase
11264
+ * * Display Name: Vector Database
11265
+ * * SQL Data Type: nvarchar(100)
11266
+ * * Default Value: null
11267
+ */
11268
+ get VectorDatabase() {
11269
+ return this.Get('VectorDatabase');
11270
+ }
11271
+ /**
11272
+ * * Field Name: EmbeddingModel
11273
+ * * Display Name: Embedding Model
11274
+ * * SQL Data Type: nvarchar(50)
11275
+ * * Default Value: null
11276
+ */
11277
+ get EmbeddingModel() {
11278
+ return this.Get('EmbeddingModel');
11279
+ }
11280
+ };
11281
+ exports.VectorIndexEntity = VectorIndexEntity;
11282
+ exports.VectorIndexEntity = VectorIndexEntity = __decorate([
11283
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Indexes')
11284
+ ], VectorIndexEntity);
11285
+ /**
11286
+ * Entity Document Types - strongly typed entity sub-class
11287
+ * * Schema: admin
11288
+ * * Base Table: EntityDocumentType
11289
+ * * Base View: vwEntityDocumentTypes
11290
+ * * Primary Key: ID
11291
+ * @extends {BaseEntity}
11292
+ * @class
11293
+ * @public
11294
+ */
11295
+ let EntityDocumentTypeEntity = class EntityDocumentTypeEntity extends core_1.BaseEntity {
11296
+ /**
11297
+ * Loads the Entity Document Types record from the database
11298
+ * @param ID: Number - primary key value to load the Entity Document Types record.
11299
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11300
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11301
+ * @public
11302
+ * @async
11303
+ * @memberof EntityDocumentTypeEntity
11304
+ * @method
11305
+ * @override
11306
+ */
11307
+ async Load(ID, EntityRelationshipsToLoad = null) {
11308
+ const pkeyValues = [];
11309
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11310
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11311
+ }
11312
+ /**
11313
+ * Entity Document Types - 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.
11314
+ * @public
11315
+ * @method
11316
+ * @override
11317
+ * @memberof EntityDocumentTypeEntity
11318
+ * @throws {Error} - Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.
11319
+ */
11320
+ async Delete() {
11321
+ throw new Error('Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.');
11322
+ }
11323
+ /**
11324
+ * * Field Name: ID
11325
+ * * Display Name: ID
11326
+ * * SQL Data Type: int
11327
+ */
11328
+ get ID() {
11329
+ return this.Get('ID');
11330
+ }
11331
+ /**
11332
+ * * Field Name: Name
11333
+ * * Display Name: Name
11334
+ * * SQL Data Type: nvarchar(100)
11335
+ */
11336
+ get Name() {
11337
+ return this.Get('Name');
11338
+ }
11339
+ set Name(value) {
11340
+ this.Set('Name', value);
11341
+ }
11342
+ /**
11343
+ * * Field Name: Description
11344
+ * * Display Name: Description
11345
+ * * SQL Data Type: nvarchar(MAX)
11346
+ */
11347
+ get Description() {
11348
+ return this.Get('Description');
11349
+ }
11350
+ set Description(value) {
11351
+ this.Set('Description', value);
11352
+ }
11353
+ /**
11354
+ * * Field Name: CreatedAt
11355
+ * * Display Name: Created At
11356
+ * * SQL Data Type: datetime
11357
+ * * Default Value: getdate()
11358
+ */
11359
+ get CreatedAt() {
11360
+ return this.Get('CreatedAt');
11361
+ }
11362
+ /**
11363
+ * * Field Name: UpdatedAt
11364
+ * * Display Name: Updated At
11365
+ * * SQL Data Type: datetime
11366
+ * * Default Value: getdate()
11367
+ */
11368
+ get UpdatedAt() {
11369
+ return this.Get('UpdatedAt');
11370
+ }
11371
+ };
11372
+ exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity;
11373
+ exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity = __decorate([
11374
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Types')
11375
+ ], EntityDocumentTypeEntity);
11376
+ /**
11377
+ * Entity Document Runs - strongly typed entity sub-class
11378
+ * * Schema: admin
11379
+ * * Base Table: EntityDocumentRun
11380
+ * * Base View: vwEntityDocumentRuns
11381
+ * * Primary Key: ID
11382
+ * @extends {BaseEntity}
11383
+ * @class
11384
+ * @public
11385
+ */
11386
+ let EntityDocumentRunEntity = class EntityDocumentRunEntity extends core_1.BaseEntity {
11387
+ /**
11388
+ * Loads the Entity Document Runs record from the database
11389
+ * @param ID: Number - primary key value to load the Entity Document Runs record.
11390
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11391
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11392
+ * @public
11393
+ * @async
11394
+ * @memberof EntityDocumentRunEntity
11395
+ * @method
11396
+ * @override
11397
+ */
11398
+ async Load(ID, EntityRelationshipsToLoad = null) {
11399
+ const pkeyValues = [];
11400
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11401
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11402
+ }
11403
+ /**
11404
+ * Entity Document Runs - 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.
11405
+ * @public
11406
+ * @method
11407
+ * @override
11408
+ * @memberof EntityDocumentRunEntity
11409
+ * @throws {Error} - Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.
11410
+ */
11411
+ async Delete() {
11412
+ throw new Error('Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.');
11413
+ }
11414
+ /**
11415
+ * * Field Name: ID
11416
+ * * Display Name: ID
11417
+ * * SQL Data Type: int
11418
+ */
11419
+ get ID() {
11420
+ return this.Get('ID');
11421
+ }
11422
+ /**
11423
+ * * Field Name: EntityDocumentID
11424
+ * * Display Name: Entity Document ID
11425
+ * * SQL Data Type: int
11426
+ * * Related Entity: Entity Documents
11427
+ */
11428
+ get EntityDocumentID() {
11429
+ return this.Get('EntityDocumentID');
11430
+ }
11431
+ set EntityDocumentID(value) {
11432
+ this.Set('EntityDocumentID', value);
11433
+ }
11434
+ /**
11435
+ * * Field Name: StartedAt
11436
+ * * Display Name: Started At
11437
+ * * SQL Data Type: datetime
11438
+ */
11439
+ get StartedAt() {
11440
+ return this.Get('StartedAt');
11441
+ }
11442
+ set StartedAt(value) {
11443
+ this.Set('StartedAt', value);
11444
+ }
11445
+ /**
11446
+ * * Field Name: EndedAt
11447
+ * * Display Name: Ended At
11448
+ * * SQL Data Type: datetime
11449
+ */
11450
+ get EndedAt() {
11451
+ return this.Get('EndedAt');
11452
+ }
11453
+ set EndedAt(value) {
11454
+ this.Set('EndedAt', value);
11455
+ }
11456
+ /**
11457
+ * * Field Name: Status
11458
+ * * Display Name: Status
11459
+ * * SQL Data Type: nvarchar(15)
11460
+ * * Default Value: N'Pending'
11461
+ */
11462
+ get Status() {
11463
+ return this.Get('Status');
11464
+ }
11465
+ set Status(value) {
11466
+ this.Set('Status', value);
11467
+ }
11468
+ /**
11469
+ * * Field Name: CreatedAt
11470
+ * * Display Name: Created At
11471
+ * * SQL Data Type: datetime
11472
+ * * Default Value: getdate()
11473
+ */
11474
+ get CreatedAt() {
11475
+ return this.Get('CreatedAt');
11476
+ }
11477
+ /**
11478
+ * * Field Name: UpdatedAt
11479
+ * * Display Name: Updated At
11480
+ * * SQL Data Type: datetime
11481
+ * * Default Value: getdate()
11482
+ */
11483
+ get UpdatedAt() {
11484
+ return this.Get('UpdatedAt');
11485
+ }
11486
+ /**
11487
+ * * Field Name: EntityDocument
11488
+ * * Display Name: Entity Document
11489
+ * * SQL Data Type: nvarchar(250)
11490
+ * * Default Value: null
11491
+ */
11492
+ get EntityDocument() {
11493
+ return this.Get('EntityDocument');
11494
+ }
11495
+ };
11496
+ exports.EntityDocumentRunEntity = EntityDocumentRunEntity;
11497
+ exports.EntityDocumentRunEntity = EntityDocumentRunEntity = __decorate([
11498
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Runs')
11499
+ ], EntityDocumentRunEntity);
11500
+ /**
11501
+ * Vector Databases - strongly typed entity sub-class
11502
+ * * Schema: admin
11503
+ * * Base Table: VectorDatabase
11504
+ * * Base View: vwVectorDatabases
11505
+ * * Primary Key: ID
11506
+ * @extends {BaseEntity}
11507
+ * @class
11508
+ * @public
11509
+ */
11510
+ let VectorDatabaseEntity = class VectorDatabaseEntity extends core_1.BaseEntity {
11511
+ /**
11512
+ * Loads the Vector Databases record from the database
11513
+ * @param ID: Number - primary key value to load the Vector Databases record.
11514
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11515
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11516
+ * @public
11517
+ * @async
11518
+ * @memberof VectorDatabaseEntity
11519
+ * @method
11520
+ * @override
11521
+ */
11522
+ async Load(ID, EntityRelationshipsToLoad = null) {
11523
+ const pkeyValues = [];
11524
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11525
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11526
+ }
11527
+ /**
11528
+ * Vector Databases - 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.
11529
+ * @public
11530
+ * @method
11531
+ * @override
11532
+ * @memberof VectorDatabaseEntity
11533
+ * @throws {Error} - Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.
11534
+ */
11535
+ async Delete() {
11536
+ throw new Error('Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.');
11537
+ }
11538
+ /**
11539
+ * * Field Name: ID
11540
+ * * Display Name: ID
11541
+ * * SQL Data Type: int
11542
+ */
11543
+ get ID() {
11544
+ return this.Get('ID');
11545
+ }
11546
+ /**
11547
+ * * Field Name: Name
11548
+ * * Display Name: Name
11549
+ * * SQL Data Type: nvarchar(100)
11550
+ */
11551
+ get Name() {
11552
+ return this.Get('Name');
11553
+ }
11554
+ set Name(value) {
11555
+ this.Set('Name', value);
11556
+ }
11557
+ /**
11558
+ * * Field Name: Description
11559
+ * * Display Name: Description
11560
+ * * SQL Data Type: nvarchar(MAX)
11561
+ */
11562
+ get Description() {
11563
+ return this.Get('Description');
11564
+ }
11565
+ set Description(value) {
11566
+ this.Set('Description', value);
11567
+ }
11568
+ /**
11569
+ * * Field Name: DefaultURL
11570
+ * * Display Name: Default URL
11571
+ * * SQL Data Type: nvarchar(255)
11572
+ */
11573
+ get DefaultURL() {
11574
+ return this.Get('DefaultURL');
11575
+ }
11576
+ set DefaultURL(value) {
11577
+ this.Set('DefaultURL', value);
11578
+ }
11579
+ /**
11580
+ * * Field Name: ClassKey
11581
+ * * Display Name: Class Key
11582
+ * * SQL Data Type: nvarchar(100)
11583
+ */
11584
+ get ClassKey() {
11585
+ return this.Get('ClassKey');
11586
+ }
11587
+ set ClassKey(value) {
11588
+ this.Set('ClassKey', value);
11589
+ }
11590
+ /**
11591
+ * * Field Name: CreatedAt
11592
+ * * Display Name: Created At
11593
+ * * SQL Data Type: datetime
11594
+ * * Default Value: getdate()
11595
+ */
11596
+ get CreatedAt() {
11597
+ return this.Get('CreatedAt');
11598
+ }
11599
+ /**
11600
+ * * Field Name: UpdatedAt
11601
+ * * Display Name: Updated At
11602
+ * * SQL Data Type: datetime
11603
+ * * Default Value: getdate()
11604
+ */
11605
+ get UpdatedAt() {
11606
+ return this.Get('UpdatedAt');
11607
+ }
11608
+ };
11609
+ exports.VectorDatabaseEntity = VectorDatabaseEntity;
11610
+ exports.VectorDatabaseEntity = VectorDatabaseEntity = __decorate([
11611
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Databases')
11612
+ ], VectorDatabaseEntity);
11613
+ /**
11614
+ * Entity Record Documents - strongly typed entity sub-class
11615
+ * * Schema: admin
11616
+ * * Base Table: EntityRecordDocument
11617
+ * * Base View: vwEntityRecordDocuments
11618
+ * * Primary Key: ID
11619
+ * @extends {BaseEntity}
11620
+ * @class
11621
+ * @public
11622
+ */
11623
+ let EntityRecordDocumentEntity = class EntityRecordDocumentEntity extends core_1.BaseEntity {
11624
+ /**
11625
+ * Loads the Entity Record Documents record from the database
11626
+ * @param ID: Number - primary key value to load the Entity Record Documents record.
11627
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11628
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11629
+ * @public
11630
+ * @async
11631
+ * @memberof EntityRecordDocumentEntity
11632
+ * @method
11633
+ * @override
11634
+ */
11635
+ async Load(ID, EntityRelationshipsToLoad = null) {
11636
+ const pkeyValues = [];
11637
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11638
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11639
+ }
11640
+ /**
11641
+ * Entity Record Documents - 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.
11642
+ * @public
11643
+ * @method
11644
+ * @override
11645
+ * @memberof EntityRecordDocumentEntity
11646
+ * @throws {Error} - Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.
11647
+ */
11648
+ async Delete() {
11649
+ throw new Error('Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.');
11650
+ }
11651
+ /**
11652
+ * * Field Name: ID
11653
+ * * Display Name: ID
11654
+ * * SQL Data Type: int
11655
+ */
11656
+ get ID() {
11657
+ return this.Get('ID');
11658
+ }
11659
+ /**
11660
+ * * Field Name: EntityID
11661
+ * * Display Name: Entity ID
11662
+ * * SQL Data Type: int
11663
+ */
11664
+ get EntityID() {
11665
+ return this.Get('EntityID');
11666
+ }
11667
+ set EntityID(value) {
11668
+ this.Set('EntityID', value);
11669
+ }
11670
+ /**
11671
+ * * Field Name: RecordID
11672
+ * * Display Name: Record ID
11673
+ * * SQL Data Type: nvarchar(255)
11674
+ */
11675
+ get RecordID() {
11676
+ return this.Get('RecordID');
11677
+ }
11678
+ set RecordID(value) {
11679
+ this.Set('RecordID', value);
11680
+ }
11681
+ /**
11682
+ * * Field Name: DocumentText
11683
+ * * Display Name: Document Text
11684
+ * * SQL Data Type: nvarchar(MAX)
11685
+ */
11686
+ get DocumentText() {
11687
+ return this.Get('DocumentText');
11688
+ }
11689
+ set DocumentText(value) {
11690
+ this.Set('DocumentText', value);
11691
+ }
11692
+ /**
11693
+ * * Field Name: VectorIndexID
11694
+ * * Display Name: Vector Index ID
11695
+ * * SQL Data Type: int
11696
+ */
11697
+ get VectorIndexID() {
11698
+ return this.Get('VectorIndexID');
11699
+ }
11700
+ set VectorIndexID(value) {
11701
+ this.Set('VectorIndexID', value);
11702
+ }
11703
+ /**
11704
+ * * Field Name: VectorID
11705
+ * * Display Name: Vector ID
11706
+ * * SQL Data Type: nvarchar(50)
11707
+ */
11708
+ get VectorID() {
11709
+ return this.Get('VectorID');
11710
+ }
11711
+ set VectorID(value) {
11712
+ this.Set('VectorID', value);
11713
+ }
11714
+ /**
11715
+ * * Field Name: VectorJSON
11716
+ * * Display Name: Vector JSON
11717
+ * * SQL Data Type: nvarchar(MAX)
11718
+ */
11719
+ get VectorJSON() {
11720
+ return this.Get('VectorJSON');
11721
+ }
11722
+ set VectorJSON(value) {
11723
+ this.Set('VectorJSON', value);
11724
+ }
11725
+ /**
11726
+ * * Field Name: EntityRecordUpdatedAt
11727
+ * * Display Name: Entity Record Updated At
11728
+ * * SQL Data Type: datetime
11729
+ */
11730
+ get EntityRecordUpdatedAt() {
11731
+ return this.Get('EntityRecordUpdatedAt');
11732
+ }
11733
+ set EntityRecordUpdatedAt(value) {
11734
+ this.Set('EntityRecordUpdatedAt', value);
11735
+ }
11736
+ /**
11737
+ * * Field Name: CreatedAt
11738
+ * * Display Name: Created At
11739
+ * * SQL Data Type: datetime
11740
+ * * Default Value: getdate()
11741
+ */
11742
+ get CreatedAt() {
11743
+ return this.Get('CreatedAt');
11744
+ }
11745
+ /**
11746
+ * * Field Name: UpdatedAt
11747
+ * * Display Name: Updated At
11748
+ * * SQL Data Type: datetime
11749
+ * * Default Value: getdate()
11750
+ */
11751
+ get UpdatedAt() {
11752
+ return this.Get('UpdatedAt');
11753
+ }
11754
+ };
11755
+ exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity;
11756
+ exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity = __decorate([
11757
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Record Documents')
11758
+ ], EntityRecordDocumentEntity);
11759
+ /**
11760
+ * Entity Documents - strongly typed entity sub-class
11761
+ * * Schema: admin
11762
+ * * Base Table: EntityDocument
11763
+ * * Base View: vwEntityDocuments
11764
+ * * Primary Key: ID
11765
+ * @extends {BaseEntity}
11766
+ * @class
11767
+ * @public
11768
+ */
11769
+ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity {
11770
+ /**
11771
+ * Loads the Entity Documents record from the database
11772
+ * @param ID: Number - primary key value to load the Entity Documents record.
11773
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11774
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11775
+ * @public
11776
+ * @async
11777
+ * @memberof EntityDocumentEntity
11778
+ * @method
11779
+ * @override
11780
+ */
11781
+ async Load(ID, EntityRelationshipsToLoad = null) {
11782
+ const pkeyValues = [];
11783
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11784
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11785
+ }
11786
+ /**
11787
+ * Entity Documents - 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.
11788
+ * @public
11789
+ * @method
11790
+ * @override
11791
+ * @memberof EntityDocumentEntity
11792
+ * @throws {Error} - Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.
11793
+ */
11794
+ async Delete() {
11795
+ throw new Error('Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.');
11796
+ }
11797
+ /**
11798
+ * * Field Name: ID
11799
+ * * Display Name: ID
11800
+ * * SQL Data Type: int
11801
+ */
11802
+ get ID() {
11803
+ return this.Get('ID');
11804
+ }
11805
+ /**
11806
+ * * Field Name: Name
11807
+ * * Display Name: Name
11808
+ * * SQL Data Type: nvarchar(250)
11809
+ */
11810
+ get Name() {
11811
+ return this.Get('Name');
11812
+ }
11813
+ set Name(value) {
11814
+ this.Set('Name', value);
11815
+ }
11816
+ /**
11817
+ * * Field Name: EntityID
11818
+ * * Display Name: Entity ID
11819
+ * * SQL Data Type: int
11820
+ * * Related Entity: Entities
11821
+ */
11822
+ get EntityID() {
11823
+ return this.Get('EntityID');
11824
+ }
11825
+ set EntityID(value) {
11826
+ this.Set('EntityID', value);
11827
+ }
11828
+ /**
11829
+ * * Field Name: TypeID
11830
+ * * Display Name: Type ID
11831
+ * * SQL Data Type: int
11832
+ * * Related Entity: Entity Document Types
11833
+ */
11834
+ get TypeID() {
11835
+ return this.Get('TypeID');
11836
+ }
11837
+ set TypeID(value) {
11838
+ this.Set('TypeID', value);
11839
+ }
11840
+ /**
11841
+ * * Field Name: Status
11842
+ * * Display Name: Status
11843
+ * * SQL Data Type: nvarchar(15)
11844
+ * * Default Value: N'Pending'
11845
+ */
11846
+ get Status() {
11847
+ return this.Get('Status');
11848
+ }
11849
+ set Status(value) {
11850
+ this.Set('Status', value);
11851
+ }
11852
+ /**
11853
+ * * Field Name: Template
11854
+ * * Display Name: Template
11855
+ * * SQL Data Type: nvarchar(MAX)
11856
+ */
11857
+ get Template() {
11858
+ return this.Get('Template');
11859
+ }
11860
+ set Template(value) {
11861
+ this.Set('Template', value);
11862
+ }
11863
+ /**
11864
+ * * Field Name: CreatedAt
11865
+ * * Display Name: Created At
11866
+ * * SQL Data Type: datetime
11867
+ * * Default Value: getdate()
11868
+ */
11869
+ get CreatedAt() {
11870
+ return this.Get('CreatedAt');
11871
+ }
11872
+ /**
11873
+ * * Field Name: UpdatedAt
11874
+ * * Display Name: Updated At
11875
+ * * SQL Data Type: datetime
11876
+ * * Default Value: getdate()
11877
+ */
11878
+ get UpdatedAt() {
11879
+ return this.Get('UpdatedAt');
11880
+ }
11881
+ /**
11882
+ * * Field Name: Entity
11883
+ * * Display Name: Entity
11884
+ * * SQL Data Type: nvarchar(255)
11885
+ * * Default Value: null
11886
+ */
11887
+ get Entity() {
11888
+ return this.Get('Entity');
11889
+ }
11890
+ /**
11891
+ * * Field Name: Type
11892
+ * * Display Name: Type
11893
+ * * SQL Data Type: nvarchar(100)
11894
+ * * Default Value: null
11895
+ */
11896
+ get Type() {
11897
+ return this.Get('Type');
11898
+ }
11899
+ };
11900
+ exports.EntityDocumentEntity = EntityDocumentEntity;
11901
+ exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
11902
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Documents')
11903
+ ], EntityDocumentEntity);
11121
11904
  //# sourceMappingURL=entity_subclasses.js.map