@memberjunction/core-entities 0.9.112 → 0.9.121
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,751 @@ 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
|
+
*/
|
|
11267
|
+
get VectorDatabase() {
|
|
11268
|
+
return this.Get('VectorDatabase');
|
|
11269
|
+
}
|
|
11270
|
+
/**
|
|
11271
|
+
* * Field Name: EmbeddingModel
|
|
11272
|
+
* * Display Name: Embedding Model
|
|
11273
|
+
* * SQL Data Type: nvarchar(50)
|
|
11274
|
+
*/
|
|
11275
|
+
get EmbeddingModel() {
|
|
11276
|
+
return this.Get('EmbeddingModel');
|
|
11277
|
+
}
|
|
11278
|
+
};
|
|
11279
|
+
exports.VectorIndexEntity = VectorIndexEntity;
|
|
11280
|
+
exports.VectorIndexEntity = VectorIndexEntity = __decorate([
|
|
11281
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Indexes')
|
|
11282
|
+
], VectorIndexEntity);
|
|
11283
|
+
/**
|
|
11284
|
+
* Entity Document Types - strongly typed entity sub-class
|
|
11285
|
+
* * Schema: admin
|
|
11286
|
+
* * Base Table: EntityDocumentType
|
|
11287
|
+
* * Base View: vwEntityDocumentTypes
|
|
11288
|
+
* * Primary Key: ID
|
|
11289
|
+
* @extends {BaseEntity}
|
|
11290
|
+
* @class
|
|
11291
|
+
* @public
|
|
11292
|
+
*/
|
|
11293
|
+
let EntityDocumentTypeEntity = class EntityDocumentTypeEntity extends core_1.BaseEntity {
|
|
11294
|
+
/**
|
|
11295
|
+
* Loads the Entity Document Types record from the database
|
|
11296
|
+
* @param ID: Number - primary key value to load the Entity Document Types record.
|
|
11297
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11298
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11299
|
+
* @public
|
|
11300
|
+
* @async
|
|
11301
|
+
* @memberof EntityDocumentTypeEntity
|
|
11302
|
+
* @method
|
|
11303
|
+
* @override
|
|
11304
|
+
*/
|
|
11305
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11306
|
+
const pkeyValues = [];
|
|
11307
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11308
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11309
|
+
}
|
|
11310
|
+
/**
|
|
11311
|
+
* 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.
|
|
11312
|
+
* @public
|
|
11313
|
+
* @method
|
|
11314
|
+
* @override
|
|
11315
|
+
* @memberof EntityDocumentTypeEntity
|
|
11316
|
+
* @throws {Error} - Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11317
|
+
*/
|
|
11318
|
+
async Delete() {
|
|
11319
|
+
throw new Error('Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11320
|
+
}
|
|
11321
|
+
/**
|
|
11322
|
+
* * Field Name: ID
|
|
11323
|
+
* * Display Name: ID
|
|
11324
|
+
* * SQL Data Type: int
|
|
11325
|
+
*/
|
|
11326
|
+
get ID() {
|
|
11327
|
+
return this.Get('ID');
|
|
11328
|
+
}
|
|
11329
|
+
/**
|
|
11330
|
+
* * Field Name: Name
|
|
11331
|
+
* * Display Name: Name
|
|
11332
|
+
* * SQL Data Type: nvarchar(100)
|
|
11333
|
+
*/
|
|
11334
|
+
get Name() {
|
|
11335
|
+
return this.Get('Name');
|
|
11336
|
+
}
|
|
11337
|
+
set Name(value) {
|
|
11338
|
+
this.Set('Name', value);
|
|
11339
|
+
}
|
|
11340
|
+
/**
|
|
11341
|
+
* * Field Name: Description
|
|
11342
|
+
* * Display Name: Description
|
|
11343
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11344
|
+
*/
|
|
11345
|
+
get Description() {
|
|
11346
|
+
return this.Get('Description');
|
|
11347
|
+
}
|
|
11348
|
+
set Description(value) {
|
|
11349
|
+
this.Set('Description', value);
|
|
11350
|
+
}
|
|
11351
|
+
/**
|
|
11352
|
+
* * Field Name: CreatedAt
|
|
11353
|
+
* * Display Name: Created At
|
|
11354
|
+
* * SQL Data Type: datetime
|
|
11355
|
+
* * Default Value: getdate()
|
|
11356
|
+
*/
|
|
11357
|
+
get CreatedAt() {
|
|
11358
|
+
return this.Get('CreatedAt');
|
|
11359
|
+
}
|
|
11360
|
+
/**
|
|
11361
|
+
* * Field Name: UpdatedAt
|
|
11362
|
+
* * Display Name: Updated At
|
|
11363
|
+
* * SQL Data Type: datetime
|
|
11364
|
+
* * Default Value: getdate()
|
|
11365
|
+
*/
|
|
11366
|
+
get UpdatedAt() {
|
|
11367
|
+
return this.Get('UpdatedAt');
|
|
11368
|
+
}
|
|
11369
|
+
};
|
|
11370
|
+
exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity;
|
|
11371
|
+
exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity = __decorate([
|
|
11372
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Types')
|
|
11373
|
+
], EntityDocumentTypeEntity);
|
|
11374
|
+
/**
|
|
11375
|
+
* Entity Document Runs - strongly typed entity sub-class
|
|
11376
|
+
* * Schema: admin
|
|
11377
|
+
* * Base Table: EntityDocumentRun
|
|
11378
|
+
* * Base View: vwEntityDocumentRuns
|
|
11379
|
+
* * Primary Key: ID
|
|
11380
|
+
* @extends {BaseEntity}
|
|
11381
|
+
* @class
|
|
11382
|
+
* @public
|
|
11383
|
+
*/
|
|
11384
|
+
let EntityDocumentRunEntity = class EntityDocumentRunEntity extends core_1.BaseEntity {
|
|
11385
|
+
/**
|
|
11386
|
+
* Loads the Entity Document Runs record from the database
|
|
11387
|
+
* @param ID: Number - primary key value to load the Entity Document Runs record.
|
|
11388
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11389
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11390
|
+
* @public
|
|
11391
|
+
* @async
|
|
11392
|
+
* @memberof EntityDocumentRunEntity
|
|
11393
|
+
* @method
|
|
11394
|
+
* @override
|
|
11395
|
+
*/
|
|
11396
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11397
|
+
const pkeyValues = [];
|
|
11398
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11399
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11400
|
+
}
|
|
11401
|
+
/**
|
|
11402
|
+
* 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.
|
|
11403
|
+
* @public
|
|
11404
|
+
* @method
|
|
11405
|
+
* @override
|
|
11406
|
+
* @memberof EntityDocumentRunEntity
|
|
11407
|
+
* @throws {Error} - Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11408
|
+
*/
|
|
11409
|
+
async Delete() {
|
|
11410
|
+
throw new Error('Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11411
|
+
}
|
|
11412
|
+
/**
|
|
11413
|
+
* * Field Name: ID
|
|
11414
|
+
* * Display Name: ID
|
|
11415
|
+
* * SQL Data Type: int
|
|
11416
|
+
*/
|
|
11417
|
+
get ID() {
|
|
11418
|
+
return this.Get('ID');
|
|
11419
|
+
}
|
|
11420
|
+
/**
|
|
11421
|
+
* * Field Name: EntityDocumentID
|
|
11422
|
+
* * Display Name: Entity Document ID
|
|
11423
|
+
* * SQL Data Type: int
|
|
11424
|
+
* * Related Entity: Entity Documents
|
|
11425
|
+
*/
|
|
11426
|
+
get EntityDocumentID() {
|
|
11427
|
+
return this.Get('EntityDocumentID');
|
|
11428
|
+
}
|
|
11429
|
+
set EntityDocumentID(value) {
|
|
11430
|
+
this.Set('EntityDocumentID', value);
|
|
11431
|
+
}
|
|
11432
|
+
/**
|
|
11433
|
+
* * Field Name: StartedAt
|
|
11434
|
+
* * Display Name: Started At
|
|
11435
|
+
* * SQL Data Type: datetime
|
|
11436
|
+
*/
|
|
11437
|
+
get StartedAt() {
|
|
11438
|
+
return this.Get('StartedAt');
|
|
11439
|
+
}
|
|
11440
|
+
set StartedAt(value) {
|
|
11441
|
+
this.Set('StartedAt', value);
|
|
11442
|
+
}
|
|
11443
|
+
/**
|
|
11444
|
+
* * Field Name: EndedAt
|
|
11445
|
+
* * Display Name: Ended At
|
|
11446
|
+
* * SQL Data Type: datetime
|
|
11447
|
+
*/
|
|
11448
|
+
get EndedAt() {
|
|
11449
|
+
return this.Get('EndedAt');
|
|
11450
|
+
}
|
|
11451
|
+
set EndedAt(value) {
|
|
11452
|
+
this.Set('EndedAt', value);
|
|
11453
|
+
}
|
|
11454
|
+
/**
|
|
11455
|
+
* * Field Name: Status
|
|
11456
|
+
* * Display Name: Status
|
|
11457
|
+
* * SQL Data Type: nvarchar(15)
|
|
11458
|
+
* * Default Value: N'Pending'
|
|
11459
|
+
*/
|
|
11460
|
+
get Status() {
|
|
11461
|
+
return this.Get('Status');
|
|
11462
|
+
}
|
|
11463
|
+
set Status(value) {
|
|
11464
|
+
this.Set('Status', value);
|
|
11465
|
+
}
|
|
11466
|
+
/**
|
|
11467
|
+
* * Field Name: CreatedAt
|
|
11468
|
+
* * Display Name: Created At
|
|
11469
|
+
* * SQL Data Type: datetime
|
|
11470
|
+
* * Default Value: getdate()
|
|
11471
|
+
*/
|
|
11472
|
+
get CreatedAt() {
|
|
11473
|
+
return this.Get('CreatedAt');
|
|
11474
|
+
}
|
|
11475
|
+
/**
|
|
11476
|
+
* * Field Name: UpdatedAt
|
|
11477
|
+
* * Display Name: Updated At
|
|
11478
|
+
* * SQL Data Type: datetime
|
|
11479
|
+
* * Default Value: getdate()
|
|
11480
|
+
*/
|
|
11481
|
+
get UpdatedAt() {
|
|
11482
|
+
return this.Get('UpdatedAt');
|
|
11483
|
+
}
|
|
11484
|
+
/**
|
|
11485
|
+
* * Field Name: EntityDocument
|
|
11486
|
+
* * Display Name: Entity Document
|
|
11487
|
+
* * SQL Data Type: nvarchar(250)
|
|
11488
|
+
*/
|
|
11489
|
+
get EntityDocument() {
|
|
11490
|
+
return this.Get('EntityDocument');
|
|
11491
|
+
}
|
|
11492
|
+
};
|
|
11493
|
+
exports.EntityDocumentRunEntity = EntityDocumentRunEntity;
|
|
11494
|
+
exports.EntityDocumentRunEntity = EntityDocumentRunEntity = __decorate([
|
|
11495
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Runs')
|
|
11496
|
+
], EntityDocumentRunEntity);
|
|
11497
|
+
/**
|
|
11498
|
+
* Vector Databases - strongly typed entity sub-class
|
|
11499
|
+
* * Schema: admin
|
|
11500
|
+
* * Base Table: VectorDatabase
|
|
11501
|
+
* * Base View: vwVectorDatabases
|
|
11502
|
+
* * Primary Key: ID
|
|
11503
|
+
* @extends {BaseEntity}
|
|
11504
|
+
* @class
|
|
11505
|
+
* @public
|
|
11506
|
+
*/
|
|
11507
|
+
let VectorDatabaseEntity = class VectorDatabaseEntity extends core_1.BaseEntity {
|
|
11508
|
+
/**
|
|
11509
|
+
* Loads the Vector Databases record from the database
|
|
11510
|
+
* @param ID: Number - primary key value to load the Vector Databases record.
|
|
11511
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11512
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11513
|
+
* @public
|
|
11514
|
+
* @async
|
|
11515
|
+
* @memberof VectorDatabaseEntity
|
|
11516
|
+
* @method
|
|
11517
|
+
* @override
|
|
11518
|
+
*/
|
|
11519
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11520
|
+
const pkeyValues = [];
|
|
11521
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11522
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11523
|
+
}
|
|
11524
|
+
/**
|
|
11525
|
+
* 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.
|
|
11526
|
+
* @public
|
|
11527
|
+
* @method
|
|
11528
|
+
* @override
|
|
11529
|
+
* @memberof VectorDatabaseEntity
|
|
11530
|
+
* @throws {Error} - Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11531
|
+
*/
|
|
11532
|
+
async Delete() {
|
|
11533
|
+
throw new Error('Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11534
|
+
}
|
|
11535
|
+
/**
|
|
11536
|
+
* * Field Name: ID
|
|
11537
|
+
* * Display Name: ID
|
|
11538
|
+
* * SQL Data Type: int
|
|
11539
|
+
*/
|
|
11540
|
+
get ID() {
|
|
11541
|
+
return this.Get('ID');
|
|
11542
|
+
}
|
|
11543
|
+
/**
|
|
11544
|
+
* * Field Name: Name
|
|
11545
|
+
* * Display Name: Name
|
|
11546
|
+
* * SQL Data Type: nvarchar(100)
|
|
11547
|
+
*/
|
|
11548
|
+
get Name() {
|
|
11549
|
+
return this.Get('Name');
|
|
11550
|
+
}
|
|
11551
|
+
set Name(value) {
|
|
11552
|
+
this.Set('Name', value);
|
|
11553
|
+
}
|
|
11554
|
+
/**
|
|
11555
|
+
* * Field Name: Description
|
|
11556
|
+
* * Display Name: Description
|
|
11557
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11558
|
+
*/
|
|
11559
|
+
get Description() {
|
|
11560
|
+
return this.Get('Description');
|
|
11561
|
+
}
|
|
11562
|
+
set Description(value) {
|
|
11563
|
+
this.Set('Description', value);
|
|
11564
|
+
}
|
|
11565
|
+
/**
|
|
11566
|
+
* * Field Name: DefaultURL
|
|
11567
|
+
* * Display Name: Default URL
|
|
11568
|
+
* * SQL Data Type: nvarchar(255)
|
|
11569
|
+
*/
|
|
11570
|
+
get DefaultURL() {
|
|
11571
|
+
return this.Get('DefaultURL');
|
|
11572
|
+
}
|
|
11573
|
+
set DefaultURL(value) {
|
|
11574
|
+
this.Set('DefaultURL', value);
|
|
11575
|
+
}
|
|
11576
|
+
/**
|
|
11577
|
+
* * Field Name: ClassKey
|
|
11578
|
+
* * Display Name: Class Key
|
|
11579
|
+
* * SQL Data Type: nvarchar(100)
|
|
11580
|
+
*/
|
|
11581
|
+
get ClassKey() {
|
|
11582
|
+
return this.Get('ClassKey');
|
|
11583
|
+
}
|
|
11584
|
+
set ClassKey(value) {
|
|
11585
|
+
this.Set('ClassKey', value);
|
|
11586
|
+
}
|
|
11587
|
+
/**
|
|
11588
|
+
* * Field Name: CreatedAt
|
|
11589
|
+
* * Display Name: Created At
|
|
11590
|
+
* * SQL Data Type: datetime
|
|
11591
|
+
* * Default Value: getdate()
|
|
11592
|
+
*/
|
|
11593
|
+
get CreatedAt() {
|
|
11594
|
+
return this.Get('CreatedAt');
|
|
11595
|
+
}
|
|
11596
|
+
/**
|
|
11597
|
+
* * Field Name: UpdatedAt
|
|
11598
|
+
* * Display Name: Updated At
|
|
11599
|
+
* * SQL Data Type: datetime
|
|
11600
|
+
* * Default Value: getdate()
|
|
11601
|
+
*/
|
|
11602
|
+
get UpdatedAt() {
|
|
11603
|
+
return this.Get('UpdatedAt');
|
|
11604
|
+
}
|
|
11605
|
+
};
|
|
11606
|
+
exports.VectorDatabaseEntity = VectorDatabaseEntity;
|
|
11607
|
+
exports.VectorDatabaseEntity = VectorDatabaseEntity = __decorate([
|
|
11608
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Databases')
|
|
11609
|
+
], VectorDatabaseEntity);
|
|
11610
|
+
/**
|
|
11611
|
+
* Entity Record Documents - strongly typed entity sub-class
|
|
11612
|
+
* * Schema: admin
|
|
11613
|
+
* * Base Table: EntityRecordDocument
|
|
11614
|
+
* * Base View: vwEntityRecordDocuments
|
|
11615
|
+
* * Primary Key: ID
|
|
11616
|
+
* @extends {BaseEntity}
|
|
11617
|
+
* @class
|
|
11618
|
+
* @public
|
|
11619
|
+
*/
|
|
11620
|
+
let EntityRecordDocumentEntity = class EntityRecordDocumentEntity extends core_1.BaseEntity {
|
|
11621
|
+
/**
|
|
11622
|
+
* Loads the Entity Record Documents record from the database
|
|
11623
|
+
* @param ID: Number - primary key value to load the Entity Record Documents record.
|
|
11624
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11625
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11626
|
+
* @public
|
|
11627
|
+
* @async
|
|
11628
|
+
* @memberof EntityRecordDocumentEntity
|
|
11629
|
+
* @method
|
|
11630
|
+
* @override
|
|
11631
|
+
*/
|
|
11632
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11633
|
+
const pkeyValues = [];
|
|
11634
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11635
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11636
|
+
}
|
|
11637
|
+
/**
|
|
11638
|
+
* 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.
|
|
11639
|
+
* @public
|
|
11640
|
+
* @method
|
|
11641
|
+
* @override
|
|
11642
|
+
* @memberof EntityRecordDocumentEntity
|
|
11643
|
+
* @throws {Error} - Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11644
|
+
*/
|
|
11645
|
+
async Delete() {
|
|
11646
|
+
throw new Error('Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11647
|
+
}
|
|
11648
|
+
/**
|
|
11649
|
+
* * Field Name: ID
|
|
11650
|
+
* * Display Name: ID
|
|
11651
|
+
* * SQL Data Type: int
|
|
11652
|
+
*/
|
|
11653
|
+
get ID() {
|
|
11654
|
+
return this.Get('ID');
|
|
11655
|
+
}
|
|
11656
|
+
/**
|
|
11657
|
+
* * Field Name: EntityID
|
|
11658
|
+
* * Display Name: Entity ID
|
|
11659
|
+
* * SQL Data Type: int
|
|
11660
|
+
*/
|
|
11661
|
+
get EntityID() {
|
|
11662
|
+
return this.Get('EntityID');
|
|
11663
|
+
}
|
|
11664
|
+
set EntityID(value) {
|
|
11665
|
+
this.Set('EntityID', value);
|
|
11666
|
+
}
|
|
11667
|
+
/**
|
|
11668
|
+
* * Field Name: RecordID
|
|
11669
|
+
* * Display Name: Record ID
|
|
11670
|
+
* * SQL Data Type: nvarchar(255)
|
|
11671
|
+
*/
|
|
11672
|
+
get RecordID() {
|
|
11673
|
+
return this.Get('RecordID');
|
|
11674
|
+
}
|
|
11675
|
+
set RecordID(value) {
|
|
11676
|
+
this.Set('RecordID', value);
|
|
11677
|
+
}
|
|
11678
|
+
/**
|
|
11679
|
+
* * Field Name: DocumentText
|
|
11680
|
+
* * Display Name: Document Text
|
|
11681
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11682
|
+
*/
|
|
11683
|
+
get DocumentText() {
|
|
11684
|
+
return this.Get('DocumentText');
|
|
11685
|
+
}
|
|
11686
|
+
set DocumentText(value) {
|
|
11687
|
+
this.Set('DocumentText', value);
|
|
11688
|
+
}
|
|
11689
|
+
/**
|
|
11690
|
+
* * Field Name: VectorIndexID
|
|
11691
|
+
* * Display Name: Vector Index ID
|
|
11692
|
+
* * SQL Data Type: int
|
|
11693
|
+
*/
|
|
11694
|
+
get VectorIndexID() {
|
|
11695
|
+
return this.Get('VectorIndexID');
|
|
11696
|
+
}
|
|
11697
|
+
set VectorIndexID(value) {
|
|
11698
|
+
this.Set('VectorIndexID', value);
|
|
11699
|
+
}
|
|
11700
|
+
/**
|
|
11701
|
+
* * Field Name: VectorID
|
|
11702
|
+
* * Display Name: Vector ID
|
|
11703
|
+
* * SQL Data Type: nvarchar(50)
|
|
11704
|
+
*/
|
|
11705
|
+
get VectorID() {
|
|
11706
|
+
return this.Get('VectorID');
|
|
11707
|
+
}
|
|
11708
|
+
set VectorID(value) {
|
|
11709
|
+
this.Set('VectorID', value);
|
|
11710
|
+
}
|
|
11711
|
+
/**
|
|
11712
|
+
* * Field Name: VectorJSON
|
|
11713
|
+
* * Display Name: Vector JSON
|
|
11714
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11715
|
+
*/
|
|
11716
|
+
get VectorJSON() {
|
|
11717
|
+
return this.Get('VectorJSON');
|
|
11718
|
+
}
|
|
11719
|
+
set VectorJSON(value) {
|
|
11720
|
+
this.Set('VectorJSON', value);
|
|
11721
|
+
}
|
|
11722
|
+
/**
|
|
11723
|
+
* * Field Name: EntityRecordUpdatedAt
|
|
11724
|
+
* * Display Name: Entity Record Updated At
|
|
11725
|
+
* * SQL Data Type: datetime
|
|
11726
|
+
*/
|
|
11727
|
+
get EntityRecordUpdatedAt() {
|
|
11728
|
+
return this.Get('EntityRecordUpdatedAt');
|
|
11729
|
+
}
|
|
11730
|
+
set EntityRecordUpdatedAt(value) {
|
|
11731
|
+
this.Set('EntityRecordUpdatedAt', value);
|
|
11732
|
+
}
|
|
11733
|
+
/**
|
|
11734
|
+
* * Field Name: CreatedAt
|
|
11735
|
+
* * Display Name: Created At
|
|
11736
|
+
* * SQL Data Type: datetime
|
|
11737
|
+
* * Default Value: getdate()
|
|
11738
|
+
*/
|
|
11739
|
+
get CreatedAt() {
|
|
11740
|
+
return this.Get('CreatedAt');
|
|
11741
|
+
}
|
|
11742
|
+
/**
|
|
11743
|
+
* * Field Name: UpdatedAt
|
|
11744
|
+
* * Display Name: Updated At
|
|
11745
|
+
* * SQL Data Type: datetime
|
|
11746
|
+
* * Default Value: getdate()
|
|
11747
|
+
*/
|
|
11748
|
+
get UpdatedAt() {
|
|
11749
|
+
return this.Get('UpdatedAt');
|
|
11750
|
+
}
|
|
11751
|
+
};
|
|
11752
|
+
exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity;
|
|
11753
|
+
exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity = __decorate([
|
|
11754
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Record Documents')
|
|
11755
|
+
], EntityRecordDocumentEntity);
|
|
11756
|
+
/**
|
|
11757
|
+
* Entity Documents - strongly typed entity sub-class
|
|
11758
|
+
* * Schema: admin
|
|
11759
|
+
* * Base Table: EntityDocument
|
|
11760
|
+
* * Base View: vwEntityDocuments
|
|
11761
|
+
* * Primary Key: ID
|
|
11762
|
+
* @extends {BaseEntity}
|
|
11763
|
+
* @class
|
|
11764
|
+
* @public
|
|
11765
|
+
*/
|
|
11766
|
+
let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity {
|
|
11767
|
+
/**
|
|
11768
|
+
* Loads the Entity Documents record from the database
|
|
11769
|
+
* @param ID: Number - primary key value to load the Entity Documents record.
|
|
11770
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11771
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11772
|
+
* @public
|
|
11773
|
+
* @async
|
|
11774
|
+
* @memberof EntityDocumentEntity
|
|
11775
|
+
* @method
|
|
11776
|
+
* @override
|
|
11777
|
+
*/
|
|
11778
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11779
|
+
const pkeyValues = [];
|
|
11780
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11781
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11782
|
+
}
|
|
11783
|
+
/**
|
|
11784
|
+
* 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.
|
|
11785
|
+
* @public
|
|
11786
|
+
* @method
|
|
11787
|
+
* @override
|
|
11788
|
+
* @memberof EntityDocumentEntity
|
|
11789
|
+
* @throws {Error} - Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11790
|
+
*/
|
|
11791
|
+
async Delete() {
|
|
11792
|
+
throw new Error('Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11793
|
+
}
|
|
11794
|
+
/**
|
|
11795
|
+
* * Field Name: ID
|
|
11796
|
+
* * Display Name: ID
|
|
11797
|
+
* * SQL Data Type: int
|
|
11798
|
+
*/
|
|
11799
|
+
get ID() {
|
|
11800
|
+
return this.Get('ID');
|
|
11801
|
+
}
|
|
11802
|
+
/**
|
|
11803
|
+
* * Field Name: Name
|
|
11804
|
+
* * Display Name: Name
|
|
11805
|
+
* * SQL Data Type: nvarchar(250)
|
|
11806
|
+
*/
|
|
11807
|
+
get Name() {
|
|
11808
|
+
return this.Get('Name');
|
|
11809
|
+
}
|
|
11810
|
+
set Name(value) {
|
|
11811
|
+
this.Set('Name', value);
|
|
11812
|
+
}
|
|
11813
|
+
/**
|
|
11814
|
+
* * Field Name: EntityID
|
|
11815
|
+
* * Display Name: Entity ID
|
|
11816
|
+
* * SQL Data Type: int
|
|
11817
|
+
* * Related Entity: Entities
|
|
11818
|
+
*/
|
|
11819
|
+
get EntityID() {
|
|
11820
|
+
return this.Get('EntityID');
|
|
11821
|
+
}
|
|
11822
|
+
set EntityID(value) {
|
|
11823
|
+
this.Set('EntityID', value);
|
|
11824
|
+
}
|
|
11825
|
+
/**
|
|
11826
|
+
* * Field Name: TypeID
|
|
11827
|
+
* * Display Name: Type ID
|
|
11828
|
+
* * SQL Data Type: int
|
|
11829
|
+
* * Related Entity: Entity Document Types
|
|
11830
|
+
*/
|
|
11831
|
+
get TypeID() {
|
|
11832
|
+
return this.Get('TypeID');
|
|
11833
|
+
}
|
|
11834
|
+
set TypeID(value) {
|
|
11835
|
+
this.Set('TypeID', value);
|
|
11836
|
+
}
|
|
11837
|
+
/**
|
|
11838
|
+
* * Field Name: Status
|
|
11839
|
+
* * Display Name: Status
|
|
11840
|
+
* * SQL Data Type: nvarchar(15)
|
|
11841
|
+
* * Default Value: N'Pending'
|
|
11842
|
+
*/
|
|
11843
|
+
get Status() {
|
|
11844
|
+
return this.Get('Status');
|
|
11845
|
+
}
|
|
11846
|
+
set Status(value) {
|
|
11847
|
+
this.Set('Status', value);
|
|
11848
|
+
}
|
|
11849
|
+
/**
|
|
11850
|
+
* * Field Name: Template
|
|
11851
|
+
* * Display Name: Template
|
|
11852
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11853
|
+
*/
|
|
11854
|
+
get Template() {
|
|
11855
|
+
return this.Get('Template');
|
|
11856
|
+
}
|
|
11857
|
+
set Template(value) {
|
|
11858
|
+
this.Set('Template', value);
|
|
11859
|
+
}
|
|
11860
|
+
/**
|
|
11861
|
+
* * Field Name: CreatedAt
|
|
11862
|
+
* * Display Name: Created At
|
|
11863
|
+
* * SQL Data Type: datetime
|
|
11864
|
+
* * Default Value: getdate()
|
|
11865
|
+
*/
|
|
11866
|
+
get CreatedAt() {
|
|
11867
|
+
return this.Get('CreatedAt');
|
|
11868
|
+
}
|
|
11869
|
+
/**
|
|
11870
|
+
* * Field Name: UpdatedAt
|
|
11871
|
+
* * Display Name: Updated At
|
|
11872
|
+
* * SQL Data Type: datetime
|
|
11873
|
+
* * Default Value: getdate()
|
|
11874
|
+
*/
|
|
11875
|
+
get UpdatedAt() {
|
|
11876
|
+
return this.Get('UpdatedAt');
|
|
11877
|
+
}
|
|
11878
|
+
/**
|
|
11879
|
+
* * Field Name: Entity
|
|
11880
|
+
* * Display Name: Entity
|
|
11881
|
+
* * SQL Data Type: nvarchar(255)
|
|
11882
|
+
*/
|
|
11883
|
+
get Entity() {
|
|
11884
|
+
return this.Get('Entity');
|
|
11885
|
+
}
|
|
11886
|
+
/**
|
|
11887
|
+
* * Field Name: Type
|
|
11888
|
+
* * Display Name: Type
|
|
11889
|
+
* * SQL Data Type: nvarchar(100)
|
|
11890
|
+
*/
|
|
11891
|
+
get Type() {
|
|
11892
|
+
return this.Get('Type');
|
|
11893
|
+
}
|
|
11894
|
+
};
|
|
11895
|
+
exports.EntityDocumentEntity = EntityDocumentEntity;
|
|
11896
|
+
exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
|
|
11897
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Documents')
|
|
11898
|
+
], EntityDocumentEntity);
|
|
11121
11899
|
//# sourceMappingURL=entity_subclasses.js.map
|