@memberjunction/core-entities 0.9.120 → 0.9.122
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.
|
@@ -6846,6 +6846,13 @@ export declare class ConversationEntity extends BaseEntity {
|
|
|
6846
6846
|
get LinkedRecordID(): number;
|
|
6847
6847
|
set LinkedRecordID(value: number);
|
|
6848
6848
|
/**
|
|
6849
|
+
* * Field Name: DataContextID
|
|
6850
|
+
* * Display Name: Data Context ID
|
|
6851
|
+
* * SQL Data Type: int
|
|
6852
|
+
*/
|
|
6853
|
+
get DataContextID(): number;
|
|
6854
|
+
set DataContextID(value: number);
|
|
6855
|
+
/**
|
|
6849
6856
|
* * Field Name: CreatedAt
|
|
6850
6857
|
* * Display Name: Created At
|
|
6851
6858
|
* * SQL Data Type: datetime
|
|
@@ -7978,14 +7985,12 @@ export declare class VectorIndexEntity extends BaseEntity {
|
|
|
7978
7985
|
* * Field Name: VectorDatabase
|
|
7979
7986
|
* * Display Name: Vector Database
|
|
7980
7987
|
* * SQL Data Type: nvarchar(100)
|
|
7981
|
-
* * Default Value: null
|
|
7982
7988
|
*/
|
|
7983
7989
|
get VectorDatabase(): string;
|
|
7984
7990
|
/**
|
|
7985
7991
|
* * Field Name: EmbeddingModel
|
|
7986
7992
|
* * Display Name: Embedding Model
|
|
7987
7993
|
* * SQL Data Type: nvarchar(50)
|
|
7988
|
-
* * Default Value: null
|
|
7989
7994
|
*/
|
|
7990
7995
|
get EmbeddingModel(): string;
|
|
7991
7996
|
}
|
|
@@ -8142,7 +8147,6 @@ export declare class EntityDocumentRunEntity extends BaseEntity {
|
|
|
8142
8147
|
* * Field Name: EntityDocument
|
|
8143
8148
|
* * Display Name: Entity Document
|
|
8144
8149
|
* * SQL Data Type: nvarchar(250)
|
|
8145
|
-
* * Default Value: null
|
|
8146
8150
|
*/
|
|
8147
8151
|
get EntityDocument(): string;
|
|
8148
8152
|
}
|
|
@@ -8423,14 +8427,204 @@ export declare class EntityDocumentEntity extends BaseEntity {
|
|
|
8423
8427
|
* * Field Name: Entity
|
|
8424
8428
|
* * Display Name: Entity
|
|
8425
8429
|
* * SQL Data Type: nvarchar(255)
|
|
8426
|
-
* * Default Value: null
|
|
8427
8430
|
*/
|
|
8428
8431
|
get Entity(): string;
|
|
8429
8432
|
/**
|
|
8430
8433
|
* * Field Name: Type
|
|
8431
8434
|
* * Display Name: Type
|
|
8432
8435
|
* * SQL Data Type: nvarchar(100)
|
|
8433
|
-
* * Default Value: null
|
|
8434
8436
|
*/
|
|
8435
8437
|
get Type(): string;
|
|
8436
8438
|
}
|
|
8439
|
+
/**
|
|
8440
|
+
* Data Context Items - strongly typed entity sub-class
|
|
8441
|
+
* * Schema: admin
|
|
8442
|
+
* * Base Table: DataContextItem
|
|
8443
|
+
* * Base View: vwDataContextItems
|
|
8444
|
+
* * Primary Key: ID
|
|
8445
|
+
* @extends {BaseEntity}
|
|
8446
|
+
* @class
|
|
8447
|
+
* @public
|
|
8448
|
+
*/
|
|
8449
|
+
export declare class DataContextItemEntity extends BaseEntity {
|
|
8450
|
+
/**
|
|
8451
|
+
* Loads the Data Context Items record from the database
|
|
8452
|
+
* @param ID: Number - primary key value to load the Data Context Items record.
|
|
8453
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
8454
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
8455
|
+
* @public
|
|
8456
|
+
* @async
|
|
8457
|
+
* @memberof DataContextItemEntity
|
|
8458
|
+
* @method
|
|
8459
|
+
* @override
|
|
8460
|
+
*/
|
|
8461
|
+
Load(ID: Number, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
8462
|
+
/**
|
|
8463
|
+
* Data Context Items - 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.
|
|
8464
|
+
* @public
|
|
8465
|
+
* @method
|
|
8466
|
+
* @override
|
|
8467
|
+
* @memberof DataContextItemEntity
|
|
8468
|
+
* @throws {Error} - Delete is not allowed for Data Context Items, to enable it set AllowDeleteAPI to 1 in the database.
|
|
8469
|
+
*/
|
|
8470
|
+
Delete(): Promise<boolean>;
|
|
8471
|
+
/**
|
|
8472
|
+
* * Field Name: ID
|
|
8473
|
+
* * Display Name: ID
|
|
8474
|
+
* * SQL Data Type: int
|
|
8475
|
+
*/
|
|
8476
|
+
get ID(): number;
|
|
8477
|
+
/**
|
|
8478
|
+
* * Field Name: DataContextID
|
|
8479
|
+
* * Display Name: Data Context ID
|
|
8480
|
+
* * SQL Data Type: int
|
|
8481
|
+
* * Related Entity: Data Contexts
|
|
8482
|
+
*/
|
|
8483
|
+
get DataContextID(): number;
|
|
8484
|
+
set DataContextID(value: number);
|
|
8485
|
+
/**
|
|
8486
|
+
* * Field Name: Type
|
|
8487
|
+
* * Display Name: Type
|
|
8488
|
+
* * SQL Data Type: nvarchar(50)
|
|
8489
|
+
*/
|
|
8490
|
+
get Type(): string;
|
|
8491
|
+
set Type(value: string);
|
|
8492
|
+
/**
|
|
8493
|
+
* * Field Name: RecordID
|
|
8494
|
+
* * Display Name: Record ID
|
|
8495
|
+
* * SQL Data Type: int
|
|
8496
|
+
*/
|
|
8497
|
+
get RecordID(): number;
|
|
8498
|
+
set RecordID(value: number);
|
|
8499
|
+
/**
|
|
8500
|
+
* * Field Name: SQL
|
|
8501
|
+
* * Display Name: SQL
|
|
8502
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8503
|
+
*/
|
|
8504
|
+
get SQL(): string;
|
|
8505
|
+
set SQL(value: string);
|
|
8506
|
+
/**
|
|
8507
|
+
* * Field Name: DataJSON
|
|
8508
|
+
* * Display Name: Data JSON
|
|
8509
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8510
|
+
*/
|
|
8511
|
+
get DataJSON(): string;
|
|
8512
|
+
set DataJSON(value: string);
|
|
8513
|
+
/**
|
|
8514
|
+
* * Field Name: LastRefreshedAt
|
|
8515
|
+
* * Display Name: Last Refreshed At
|
|
8516
|
+
* * SQL Data Type: datetime
|
|
8517
|
+
*/
|
|
8518
|
+
get LastRefreshedAt(): Date;
|
|
8519
|
+
set LastRefreshedAt(value: Date);
|
|
8520
|
+
/**
|
|
8521
|
+
* * Field Name: CreatedAt
|
|
8522
|
+
* * Display Name: Created At
|
|
8523
|
+
* * SQL Data Type: datetime
|
|
8524
|
+
* * Default Value: getdate()
|
|
8525
|
+
*/
|
|
8526
|
+
get CreatedAt(): Date;
|
|
8527
|
+
/**
|
|
8528
|
+
* * Field Name: UpdatedAt
|
|
8529
|
+
* * Display Name: Updated At
|
|
8530
|
+
* * SQL Data Type: datetime
|
|
8531
|
+
* * Default Value: getdate()
|
|
8532
|
+
*/
|
|
8533
|
+
get UpdatedAt(): Date;
|
|
8534
|
+
/**
|
|
8535
|
+
* * Field Name: DataContext
|
|
8536
|
+
* * Display Name: Data Context
|
|
8537
|
+
* * SQL Data Type: nvarchar(255)
|
|
8538
|
+
* * Default Value: null
|
|
8539
|
+
*/
|
|
8540
|
+
get DataContext(): string;
|
|
8541
|
+
}
|
|
8542
|
+
/**
|
|
8543
|
+
* Data Contexts - strongly typed entity sub-class
|
|
8544
|
+
* * Schema: admin
|
|
8545
|
+
* * Base Table: DataContext
|
|
8546
|
+
* * Base View: vwDataContexts
|
|
8547
|
+
* * Primary Key: ID
|
|
8548
|
+
* @extends {BaseEntity}
|
|
8549
|
+
* @class
|
|
8550
|
+
* @public
|
|
8551
|
+
*/
|
|
8552
|
+
export declare class DataContextEntity extends BaseEntity {
|
|
8553
|
+
/**
|
|
8554
|
+
* Loads the Data Contexts record from the database
|
|
8555
|
+
* @param ID: Number - primary key value to load the Data Contexts record.
|
|
8556
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
8557
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
8558
|
+
* @public
|
|
8559
|
+
* @async
|
|
8560
|
+
* @memberof DataContextEntity
|
|
8561
|
+
* @method
|
|
8562
|
+
* @override
|
|
8563
|
+
*/
|
|
8564
|
+
Load(ID: Number, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
8565
|
+
/**
|
|
8566
|
+
* Data Contexts - 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.
|
|
8567
|
+
* @public
|
|
8568
|
+
* @method
|
|
8569
|
+
* @override
|
|
8570
|
+
* @memberof DataContextEntity
|
|
8571
|
+
* @throws {Error} - Delete is not allowed for Data Contexts, to enable it set AllowDeleteAPI to 1 in the database.
|
|
8572
|
+
*/
|
|
8573
|
+
Delete(): Promise<boolean>;
|
|
8574
|
+
/**
|
|
8575
|
+
* * Field Name: ID
|
|
8576
|
+
* * Display Name: ID
|
|
8577
|
+
* * SQL Data Type: int
|
|
8578
|
+
*/
|
|
8579
|
+
get ID(): number;
|
|
8580
|
+
/**
|
|
8581
|
+
* * Field Name: Name
|
|
8582
|
+
* * Display Name: Name
|
|
8583
|
+
* * SQL Data Type: nvarchar(255)
|
|
8584
|
+
*/
|
|
8585
|
+
get Name(): string;
|
|
8586
|
+
set Name(value: string);
|
|
8587
|
+
/**
|
|
8588
|
+
* * Field Name: UserID
|
|
8589
|
+
* * Display Name: User ID
|
|
8590
|
+
* * SQL Data Type: int
|
|
8591
|
+
* * Related Entity: Users
|
|
8592
|
+
*/
|
|
8593
|
+
get UserID(): number;
|
|
8594
|
+
set UserID(value: number);
|
|
8595
|
+
/**
|
|
8596
|
+
* * Field Name: Description
|
|
8597
|
+
* * Display Name: Description
|
|
8598
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
8599
|
+
*/
|
|
8600
|
+
get Description(): string;
|
|
8601
|
+
set Description(value: string);
|
|
8602
|
+
/**
|
|
8603
|
+
* * Field Name: LastRefreshedAt
|
|
8604
|
+
* * Display Name: Last Refreshed At
|
|
8605
|
+
* * SQL Data Type: datetime
|
|
8606
|
+
*/
|
|
8607
|
+
get LastRefreshedAt(): Date;
|
|
8608
|
+
set LastRefreshedAt(value: Date);
|
|
8609
|
+
/**
|
|
8610
|
+
* * Field Name: CreatedAt
|
|
8611
|
+
* * Display Name: Created At
|
|
8612
|
+
* * SQL Data Type: datetime
|
|
8613
|
+
* * Default Value: getdate()
|
|
8614
|
+
*/
|
|
8615
|
+
get CreatedAt(): Date;
|
|
8616
|
+
/**
|
|
8617
|
+
* * Field Name: UpdatedAt
|
|
8618
|
+
* * Display Name: Updated At
|
|
8619
|
+
* * SQL Data Type: datetime
|
|
8620
|
+
* * Default Value: getdate()
|
|
8621
|
+
*/
|
|
8622
|
+
get UpdatedAt(): Date;
|
|
8623
|
+
/**
|
|
8624
|
+
* * Field Name: User
|
|
8625
|
+
* * Display Name: User
|
|
8626
|
+
* * SQL Data Type: nvarchar(100)
|
|
8627
|
+
* * Default Value: null
|
|
8628
|
+
*/
|
|
8629
|
+
get User(): string;
|
|
8630
|
+
}
|
|
@@ -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.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;
|
|
10
|
+
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.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
|
/**
|
|
@@ -9679,6 +9679,17 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
9679
9679
|
this.Set('LinkedRecordID', value);
|
|
9680
9680
|
}
|
|
9681
9681
|
/**
|
|
9682
|
+
* * Field Name: DataContextID
|
|
9683
|
+
* * Display Name: Data Context ID
|
|
9684
|
+
* * SQL Data Type: int
|
|
9685
|
+
*/
|
|
9686
|
+
get DataContextID() {
|
|
9687
|
+
return this.Get('DataContextID');
|
|
9688
|
+
}
|
|
9689
|
+
set DataContextID(value) {
|
|
9690
|
+
this.Set('DataContextID', value);
|
|
9691
|
+
}
|
|
9692
|
+
/**
|
|
9682
9693
|
* * Field Name: CreatedAt
|
|
9683
9694
|
* * Display Name: Created At
|
|
9684
9695
|
* * SQL Data Type: datetime
|
|
@@ -11263,7 +11274,6 @@ let VectorIndexEntity = class VectorIndexEntity extends core_1.BaseEntity {
|
|
|
11263
11274
|
* * Field Name: VectorDatabase
|
|
11264
11275
|
* * Display Name: Vector Database
|
|
11265
11276
|
* * SQL Data Type: nvarchar(100)
|
|
11266
|
-
* * Default Value: null
|
|
11267
11277
|
*/
|
|
11268
11278
|
get VectorDatabase() {
|
|
11269
11279
|
return this.Get('VectorDatabase');
|
|
@@ -11272,7 +11282,6 @@ let VectorIndexEntity = class VectorIndexEntity extends core_1.BaseEntity {
|
|
|
11272
11282
|
* * Field Name: EmbeddingModel
|
|
11273
11283
|
* * Display Name: Embedding Model
|
|
11274
11284
|
* * SQL Data Type: nvarchar(50)
|
|
11275
|
-
* * Default Value: null
|
|
11276
11285
|
*/
|
|
11277
11286
|
get EmbeddingModel() {
|
|
11278
11287
|
return this.Get('EmbeddingModel');
|
|
@@ -11487,7 +11496,6 @@ let EntityDocumentRunEntity = class EntityDocumentRunEntity extends core_1.BaseE
|
|
|
11487
11496
|
* * Field Name: EntityDocument
|
|
11488
11497
|
* * Display Name: Entity Document
|
|
11489
11498
|
* * SQL Data Type: nvarchar(250)
|
|
11490
|
-
* * Default Value: null
|
|
11491
11499
|
*/
|
|
11492
11500
|
get EntityDocument() {
|
|
11493
11501
|
return this.Get('EntityDocument');
|
|
@@ -11882,7 +11890,6 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
|
|
|
11882
11890
|
* * Field Name: Entity
|
|
11883
11891
|
* * Display Name: Entity
|
|
11884
11892
|
* * SQL Data Type: nvarchar(255)
|
|
11885
|
-
* * Default Value: null
|
|
11886
11893
|
*/
|
|
11887
11894
|
get Entity() {
|
|
11888
11895
|
return this.Get('Entity');
|
|
@@ -11891,7 +11898,6 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
|
|
|
11891
11898
|
* * Field Name: Type
|
|
11892
11899
|
* * Display Name: Type
|
|
11893
11900
|
* * SQL Data Type: nvarchar(100)
|
|
11894
|
-
* * Default Value: null
|
|
11895
11901
|
*/
|
|
11896
11902
|
get Type() {
|
|
11897
11903
|
return this.Get('Type');
|
|
@@ -11901,4 +11907,272 @@ exports.EntityDocumentEntity = EntityDocumentEntity;
|
|
|
11901
11907
|
exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
|
|
11902
11908
|
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Documents')
|
|
11903
11909
|
], EntityDocumentEntity);
|
|
11910
|
+
/**
|
|
11911
|
+
* Data Context Items - strongly typed entity sub-class
|
|
11912
|
+
* * Schema: admin
|
|
11913
|
+
* * Base Table: DataContextItem
|
|
11914
|
+
* * Base View: vwDataContextItems
|
|
11915
|
+
* * Primary Key: ID
|
|
11916
|
+
* @extends {BaseEntity}
|
|
11917
|
+
* @class
|
|
11918
|
+
* @public
|
|
11919
|
+
*/
|
|
11920
|
+
let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntity {
|
|
11921
|
+
/**
|
|
11922
|
+
* Loads the Data Context Items record from the database
|
|
11923
|
+
* @param ID: Number - primary key value to load the Data Context Items record.
|
|
11924
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
11925
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
11926
|
+
* @public
|
|
11927
|
+
* @async
|
|
11928
|
+
* @memberof DataContextItemEntity
|
|
11929
|
+
* @method
|
|
11930
|
+
* @override
|
|
11931
|
+
*/
|
|
11932
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
11933
|
+
const pkeyValues = [];
|
|
11934
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
11935
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
11936
|
+
}
|
|
11937
|
+
/**
|
|
11938
|
+
* Data Context Items - 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.
|
|
11939
|
+
* @public
|
|
11940
|
+
* @method
|
|
11941
|
+
* @override
|
|
11942
|
+
* @memberof DataContextItemEntity
|
|
11943
|
+
* @throws {Error} - Delete is not allowed for Data Context Items, to enable it set AllowDeleteAPI to 1 in the database.
|
|
11944
|
+
*/
|
|
11945
|
+
async Delete() {
|
|
11946
|
+
throw new Error('Delete is not allowed for Data Context Items, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
11947
|
+
}
|
|
11948
|
+
/**
|
|
11949
|
+
* * Field Name: ID
|
|
11950
|
+
* * Display Name: ID
|
|
11951
|
+
* * SQL Data Type: int
|
|
11952
|
+
*/
|
|
11953
|
+
get ID() {
|
|
11954
|
+
return this.Get('ID');
|
|
11955
|
+
}
|
|
11956
|
+
/**
|
|
11957
|
+
* * Field Name: DataContextID
|
|
11958
|
+
* * Display Name: Data Context ID
|
|
11959
|
+
* * SQL Data Type: int
|
|
11960
|
+
* * Related Entity: Data Contexts
|
|
11961
|
+
*/
|
|
11962
|
+
get DataContextID() {
|
|
11963
|
+
return this.Get('DataContextID');
|
|
11964
|
+
}
|
|
11965
|
+
set DataContextID(value) {
|
|
11966
|
+
this.Set('DataContextID', value);
|
|
11967
|
+
}
|
|
11968
|
+
/**
|
|
11969
|
+
* * Field Name: Type
|
|
11970
|
+
* * Display Name: Type
|
|
11971
|
+
* * SQL Data Type: nvarchar(50)
|
|
11972
|
+
*/
|
|
11973
|
+
get Type() {
|
|
11974
|
+
return this.Get('Type');
|
|
11975
|
+
}
|
|
11976
|
+
set Type(value) {
|
|
11977
|
+
this.Set('Type', value);
|
|
11978
|
+
}
|
|
11979
|
+
/**
|
|
11980
|
+
* * Field Name: RecordID
|
|
11981
|
+
* * Display Name: Record ID
|
|
11982
|
+
* * SQL Data Type: int
|
|
11983
|
+
*/
|
|
11984
|
+
get RecordID() {
|
|
11985
|
+
return this.Get('RecordID');
|
|
11986
|
+
}
|
|
11987
|
+
set RecordID(value) {
|
|
11988
|
+
this.Set('RecordID', value);
|
|
11989
|
+
}
|
|
11990
|
+
/**
|
|
11991
|
+
* * Field Name: SQL
|
|
11992
|
+
* * Display Name: SQL
|
|
11993
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11994
|
+
*/
|
|
11995
|
+
get SQL() {
|
|
11996
|
+
return this.Get('SQL');
|
|
11997
|
+
}
|
|
11998
|
+
set SQL(value) {
|
|
11999
|
+
this.Set('SQL', value);
|
|
12000
|
+
}
|
|
12001
|
+
/**
|
|
12002
|
+
* * Field Name: DataJSON
|
|
12003
|
+
* * Display Name: Data JSON
|
|
12004
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
12005
|
+
*/
|
|
12006
|
+
get DataJSON() {
|
|
12007
|
+
return this.Get('DataJSON');
|
|
12008
|
+
}
|
|
12009
|
+
set DataJSON(value) {
|
|
12010
|
+
this.Set('DataJSON', value);
|
|
12011
|
+
}
|
|
12012
|
+
/**
|
|
12013
|
+
* * Field Name: LastRefreshedAt
|
|
12014
|
+
* * Display Name: Last Refreshed At
|
|
12015
|
+
* * SQL Data Type: datetime
|
|
12016
|
+
*/
|
|
12017
|
+
get LastRefreshedAt() {
|
|
12018
|
+
return this.Get('LastRefreshedAt');
|
|
12019
|
+
}
|
|
12020
|
+
set LastRefreshedAt(value) {
|
|
12021
|
+
this.Set('LastRefreshedAt', value);
|
|
12022
|
+
}
|
|
12023
|
+
/**
|
|
12024
|
+
* * Field Name: CreatedAt
|
|
12025
|
+
* * Display Name: Created At
|
|
12026
|
+
* * SQL Data Type: datetime
|
|
12027
|
+
* * Default Value: getdate()
|
|
12028
|
+
*/
|
|
12029
|
+
get CreatedAt() {
|
|
12030
|
+
return this.Get('CreatedAt');
|
|
12031
|
+
}
|
|
12032
|
+
/**
|
|
12033
|
+
* * Field Name: UpdatedAt
|
|
12034
|
+
* * Display Name: Updated At
|
|
12035
|
+
* * SQL Data Type: datetime
|
|
12036
|
+
* * Default Value: getdate()
|
|
12037
|
+
*/
|
|
12038
|
+
get UpdatedAt() {
|
|
12039
|
+
return this.Get('UpdatedAt');
|
|
12040
|
+
}
|
|
12041
|
+
/**
|
|
12042
|
+
* * Field Name: DataContext
|
|
12043
|
+
* * Display Name: Data Context
|
|
12044
|
+
* * SQL Data Type: nvarchar(255)
|
|
12045
|
+
* * Default Value: null
|
|
12046
|
+
*/
|
|
12047
|
+
get DataContext() {
|
|
12048
|
+
return this.Get('DataContext');
|
|
12049
|
+
}
|
|
12050
|
+
};
|
|
12051
|
+
exports.DataContextItemEntity = DataContextItemEntity;
|
|
12052
|
+
exports.DataContextItemEntity = DataContextItemEntity = __decorate([
|
|
12053
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Data Context Items')
|
|
12054
|
+
], DataContextItemEntity);
|
|
12055
|
+
/**
|
|
12056
|
+
* Data Contexts - strongly typed entity sub-class
|
|
12057
|
+
* * Schema: admin
|
|
12058
|
+
* * Base Table: DataContext
|
|
12059
|
+
* * Base View: vwDataContexts
|
|
12060
|
+
* * Primary Key: ID
|
|
12061
|
+
* @extends {BaseEntity}
|
|
12062
|
+
* @class
|
|
12063
|
+
* @public
|
|
12064
|
+
*/
|
|
12065
|
+
let DataContextEntity = class DataContextEntity extends core_1.BaseEntity {
|
|
12066
|
+
/**
|
|
12067
|
+
* Loads the Data Contexts record from the database
|
|
12068
|
+
* @param ID: Number - primary key value to load the Data Contexts record.
|
|
12069
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
12070
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
12071
|
+
* @public
|
|
12072
|
+
* @async
|
|
12073
|
+
* @memberof DataContextEntity
|
|
12074
|
+
* @method
|
|
12075
|
+
* @override
|
|
12076
|
+
*/
|
|
12077
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
12078
|
+
const pkeyValues = [];
|
|
12079
|
+
pkeyValues.push({ FieldName: 'ID', Value: ID });
|
|
12080
|
+
return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
|
|
12081
|
+
}
|
|
12082
|
+
/**
|
|
12083
|
+
* Data Contexts - 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.
|
|
12084
|
+
* @public
|
|
12085
|
+
* @method
|
|
12086
|
+
* @override
|
|
12087
|
+
* @memberof DataContextEntity
|
|
12088
|
+
* @throws {Error} - Delete is not allowed for Data Contexts, to enable it set AllowDeleteAPI to 1 in the database.
|
|
12089
|
+
*/
|
|
12090
|
+
async Delete() {
|
|
12091
|
+
throw new Error('Delete is not allowed for Data Contexts, to enable it set AllowDeleteAPI to 1 in the database.');
|
|
12092
|
+
}
|
|
12093
|
+
/**
|
|
12094
|
+
* * Field Name: ID
|
|
12095
|
+
* * Display Name: ID
|
|
12096
|
+
* * SQL Data Type: int
|
|
12097
|
+
*/
|
|
12098
|
+
get ID() {
|
|
12099
|
+
return this.Get('ID');
|
|
12100
|
+
}
|
|
12101
|
+
/**
|
|
12102
|
+
* * Field Name: Name
|
|
12103
|
+
* * Display Name: Name
|
|
12104
|
+
* * SQL Data Type: nvarchar(255)
|
|
12105
|
+
*/
|
|
12106
|
+
get Name() {
|
|
12107
|
+
return this.Get('Name');
|
|
12108
|
+
}
|
|
12109
|
+
set Name(value) {
|
|
12110
|
+
this.Set('Name', value);
|
|
12111
|
+
}
|
|
12112
|
+
/**
|
|
12113
|
+
* * Field Name: UserID
|
|
12114
|
+
* * Display Name: User ID
|
|
12115
|
+
* * SQL Data Type: int
|
|
12116
|
+
* * Related Entity: Users
|
|
12117
|
+
*/
|
|
12118
|
+
get UserID() {
|
|
12119
|
+
return this.Get('UserID');
|
|
12120
|
+
}
|
|
12121
|
+
set UserID(value) {
|
|
12122
|
+
this.Set('UserID', value);
|
|
12123
|
+
}
|
|
12124
|
+
/**
|
|
12125
|
+
* * Field Name: Description
|
|
12126
|
+
* * Display Name: Description
|
|
12127
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
12128
|
+
*/
|
|
12129
|
+
get Description() {
|
|
12130
|
+
return this.Get('Description');
|
|
12131
|
+
}
|
|
12132
|
+
set Description(value) {
|
|
12133
|
+
this.Set('Description', value);
|
|
12134
|
+
}
|
|
12135
|
+
/**
|
|
12136
|
+
* * Field Name: LastRefreshedAt
|
|
12137
|
+
* * Display Name: Last Refreshed At
|
|
12138
|
+
* * SQL Data Type: datetime
|
|
12139
|
+
*/
|
|
12140
|
+
get LastRefreshedAt() {
|
|
12141
|
+
return this.Get('LastRefreshedAt');
|
|
12142
|
+
}
|
|
12143
|
+
set LastRefreshedAt(value) {
|
|
12144
|
+
this.Set('LastRefreshedAt', value);
|
|
12145
|
+
}
|
|
12146
|
+
/**
|
|
12147
|
+
* * Field Name: CreatedAt
|
|
12148
|
+
* * Display Name: Created At
|
|
12149
|
+
* * SQL Data Type: datetime
|
|
12150
|
+
* * Default Value: getdate()
|
|
12151
|
+
*/
|
|
12152
|
+
get CreatedAt() {
|
|
12153
|
+
return this.Get('CreatedAt');
|
|
12154
|
+
}
|
|
12155
|
+
/**
|
|
12156
|
+
* * Field Name: UpdatedAt
|
|
12157
|
+
* * Display Name: Updated At
|
|
12158
|
+
* * SQL Data Type: datetime
|
|
12159
|
+
* * Default Value: getdate()
|
|
12160
|
+
*/
|
|
12161
|
+
get UpdatedAt() {
|
|
12162
|
+
return this.Get('UpdatedAt');
|
|
12163
|
+
}
|
|
12164
|
+
/**
|
|
12165
|
+
* * Field Name: User
|
|
12166
|
+
* * Display Name: User
|
|
12167
|
+
* * SQL Data Type: nvarchar(100)
|
|
12168
|
+
* * Default Value: null
|
|
12169
|
+
*/
|
|
12170
|
+
get User() {
|
|
12171
|
+
return this.Get('User');
|
|
12172
|
+
}
|
|
12173
|
+
};
|
|
12174
|
+
exports.DataContextEntity = DataContextEntity;
|
|
12175
|
+
exports.DataContextEntity = DataContextEntity = __decorate([
|
|
12176
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'Data Contexts')
|
|
12177
|
+
], DataContextEntity);
|
|
11904
12178
|
//# sourceMappingURL=entity_subclasses.js.map
|