@memberjunction/core-entities 0.9.122 → 0.9.124
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.
|
@@ -15,7 +15,6 @@ const global_1 = require("@memberjunction/global");
|
|
|
15
15
|
* * Schema: admin
|
|
16
16
|
* * Base Table: Company
|
|
17
17
|
* * Base View: vwCompanies
|
|
18
|
-
* * @description List of Companies/Organizations within the top-level business, used for subsidiaries
|
|
19
18
|
* * Primary Key: ID
|
|
20
19
|
* @extends {BaseEntity}
|
|
21
20
|
* @class
|
|
@@ -125,7 +124,6 @@ exports.CompanyEntity = CompanyEntity = __decorate([
|
|
|
125
124
|
* * Schema: admin
|
|
126
125
|
* * Base Table: Employee
|
|
127
126
|
* * Base View: vwEmployees
|
|
128
|
-
* * @description Employees
|
|
129
127
|
* * Primary Key: ID
|
|
130
128
|
* @extends {BaseEntity}
|
|
131
129
|
* @class
|
|
@@ -199,7 +197,6 @@ let EmployeeEntity = class EmployeeEntity extends core_1.BaseEntity {
|
|
|
199
197
|
/**
|
|
200
198
|
* * Field Name: Email
|
|
201
199
|
* * SQL Data Type: nvarchar(100)
|
|
202
|
-
* * Description: 5
|
|
203
200
|
*/
|
|
204
201
|
get Email() {
|
|
205
202
|
return this.Get('Email');
|
|
@@ -1086,7 +1083,6 @@ exports.IntegrationURLFormatEntity = IntegrationURLFormatEntity = __decorate([
|
|
|
1086
1083
|
* * Schema: admin
|
|
1087
1084
|
* * Base Table: Integration
|
|
1088
1085
|
* * Base View: vwIntegrations
|
|
1089
|
-
* * @description List of integrations that can be executed using the MemberJunction integration architecture.
|
|
1090
1086
|
* * Primary Key: ID
|
|
1091
1087
|
* @extends {BaseEntity}
|
|
1092
1088
|
* @class
|
|
@@ -1537,7 +1533,6 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
1537
1533
|
* * Field Name: EntityID
|
|
1538
1534
|
* * Display Name: Entity ID
|
|
1539
1535
|
* * SQL Data Type: int
|
|
1540
|
-
* * Related Entity: Entities
|
|
1541
1536
|
*/
|
|
1542
1537
|
get EntityID() {
|
|
1543
1538
|
return this.Get('EntityID');
|
|
@@ -1579,6 +1574,19 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
1579
1574
|
this.Set('Description', value);
|
|
1580
1575
|
}
|
|
1581
1576
|
/**
|
|
1577
|
+
* * Field Name: AutoUpdateDescription
|
|
1578
|
+
* * Display Name: Auto Update Description
|
|
1579
|
+
* * SQL Data Type: bit
|
|
1580
|
+
* * Default Value: 1
|
|
1581
|
+
* * Description: When set to 1 (default), whenever a description is modified in the column within the underlying view (first choice) or table (second choice), the Description column in the entity field definition will be automatically updated. If you never set metadata in the database directly, you can leave this alone. However, if you have metadata set in the database level for description, and you want to provide a DIFFERENT description in this entity field definition, turn this bit off and then set the Description field and future CodeGen runs will NOT override the Description field here.
|
|
1582
|
+
*/
|
|
1583
|
+
get AutoUpdateDescription() {
|
|
1584
|
+
return this.Get('AutoUpdateDescription');
|
|
1585
|
+
}
|
|
1586
|
+
set AutoUpdateDescription(value) {
|
|
1587
|
+
this.Set('AutoUpdateDescription', value);
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1582
1590
|
* * Field Name: IsPrimaryKey
|
|
1583
1591
|
* * Display Name: Is Primary Key
|
|
1584
1592
|
* * SQL Data Type: bit
|
|
@@ -1832,7 +1840,6 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
|
|
|
1832
1840
|
* * Field Name: RelatedEntityID
|
|
1833
1841
|
* * Display Name: RelatedEntity ID
|
|
1834
1842
|
* * SQL Data Type: int
|
|
1835
|
-
* * Related Entity: Entities
|
|
1836
1843
|
*/
|
|
1837
1844
|
get RelatedEntityID() {
|
|
1838
1845
|
return this.Get('RelatedEntityID');
|
|
@@ -1997,7 +2004,6 @@ exports.EntityFieldEntity = EntityFieldEntity = __decorate([
|
|
|
1997
2004
|
* * Schema: admin
|
|
1998
2005
|
* * Base Table: Entity
|
|
1999
2006
|
* * Base View: vwEntities
|
|
2000
|
-
* * @description Metadata about all of the entities in the system. This information is managed by CodeGen, don't modify the parts that come from SQL Server
|
|
2001
2007
|
* * Primary Key: ID
|
|
2002
2008
|
* @extends {BaseEntity}
|
|
2003
2009
|
* @class
|
|
@@ -2032,7 +2038,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2032
2038
|
* * Display Name: Parent ID
|
|
2033
2039
|
* * SQL Data Type: int
|
|
2034
2040
|
* * Related Entity: Entities
|
|
2035
|
-
* * Description: Reserved for future use
|
|
2036
2041
|
*/
|
|
2037
2042
|
get ParentID() {
|
|
2038
2043
|
return this.Get('ParentID');
|
|
@@ -2072,6 +2077,19 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2072
2077
|
this.Set('Description', value);
|
|
2073
2078
|
}
|
|
2074
2079
|
/**
|
|
2080
|
+
* * Field Name: AutoUpdateDescription
|
|
2081
|
+
* * Display Name: Auto Update Description
|
|
2082
|
+
* * SQL Data Type: bit
|
|
2083
|
+
* * Default Value: 1
|
|
2084
|
+
* * Description: When set to 1 (default), whenever a description is modified in the underlying view (first choice) or table (second choice), the Description column in the entity definition will be automatically updated. If you never set metadata in the database directly, you can leave this alone. However, if you have metadata set in the database level for description, and you want to provide a DIFFERENT description in this entity definition, turn this bit off and then set the Description field and future CodeGen runs will NOT override the Description field here.
|
|
2085
|
+
*/
|
|
2086
|
+
get AutoUpdateDescription() {
|
|
2087
|
+
return this.Get('AutoUpdateDescription');
|
|
2088
|
+
}
|
|
2089
|
+
set AutoUpdateDescription(value) {
|
|
2090
|
+
this.Set('AutoUpdateDescription', value);
|
|
2091
|
+
}
|
|
2092
|
+
/**
|
|
2075
2093
|
* * Field Name: BaseTable
|
|
2076
2094
|
* * Display Name: Base Table
|
|
2077
2095
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -2107,7 +2125,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2107
2125
|
* * Display Name: Schema Name
|
|
2108
2126
|
* * SQL Data Type: nvarchar(255)
|
|
2109
2127
|
* * Default Value: N'dbo'
|
|
2110
|
-
* * Description: Database Schema Name
|
|
2111
2128
|
*/
|
|
2112
2129
|
get SchemaName() {
|
|
2113
2130
|
return this.Get('SchemaName');
|
|
@@ -2165,7 +2182,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2165
2182
|
* * Display Name: Include In API
|
|
2166
2183
|
* * SQL Data Type: bit
|
|
2167
2184
|
* * Default Value: 0
|
|
2168
|
-
* * Description: Master switch to control if the field is included in the API or not
|
|
2169
2185
|
*/
|
|
2170
2186
|
get IncludeInAPI() {
|
|
2171
2187
|
return this.Get('IncludeInAPI');
|
|
@@ -2190,7 +2206,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2190
2206
|
* * Display Name: Allow Update API
|
|
2191
2207
|
* * SQL Data Type: bit
|
|
2192
2208
|
* * Default Value: 0
|
|
2193
|
-
* * Description: If set to 1, allows updates to occur via API. Role based permissions are required in addition to turning this bit on.
|
|
2194
2209
|
*/
|
|
2195
2210
|
get AllowUpdateAPI() {
|
|
2196
2211
|
return this.Get('AllowUpdateAPI');
|
|
@@ -2239,7 +2254,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2239
2254
|
* * Display Name: Allow User Search API
|
|
2240
2255
|
* * SQL Data Type: bit
|
|
2241
2256
|
* * Default Value: 0
|
|
2242
|
-
* * Description: If set to 1, allows an end user to add their own search string when running a user view or searching without saving a view
|
|
2243
2257
|
*/
|
|
2244
2258
|
get AllowUserSearchAPI() {
|
|
2245
2259
|
return this.Get('AllowUserSearchAPI');
|
|
@@ -2437,7 +2451,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2437
2451
|
* * Field Name: EntityObjectSubclassName
|
|
2438
2452
|
* * Display Name: Entity Object Subclass Name
|
|
2439
2453
|
* * SQL Data Type: nvarchar(255)
|
|
2440
|
-
* * Description: Normally, CodeGen will sub-class BaseEntity to create a strongly-typed sub-class for each entity. If you provide a value here and in EntityObjectSubclassImport, CodeGen will sub-class the provided class instead of BaseEntity. Also make sure to provide a value for EntityObjectSubclassImport with the name of the module to import that contains an exported class of the name you provide in EntityObjectSubclassName.
|
|
2441
2454
|
*/
|
|
2442
2455
|
get EntityObjectSubclassName() {
|
|
2443
2456
|
return this.Get('EntityObjectSubclassName');
|
|
@@ -2449,7 +2462,6 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2449
2462
|
* * Field Name: EntityObjectSubclassImport
|
|
2450
2463
|
* * Display Name: Entity Object Subclass Import
|
|
2451
2464
|
* * SQL Data Type: nvarchar(255)
|
|
2452
|
-
* * Description: Normally, CodeGen will sub-class BaseEntity to create a strongly-typed sub-class for each entity. If you provide a value here and in EntityObjectSubclassName, CodeGen will sub-class the provided class instead of BaseEntity. Also make sure to provide a value for EntityObjectSubclassName with the name of the class itself. This field should have the name of the module to import that contains an exported class of the name you provide in EntityObjectSubclassName.
|
|
2453
2465
|
*/
|
|
2454
2466
|
get EntityObjectSubclassImport() {
|
|
2455
2467
|
return this.Get('EntityObjectSubclassImport');
|
|
@@ -3059,7 +3071,6 @@ exports.EntityRelationshipEntity = EntityRelationshipEntity = __decorate([
|
|
|
3059
3071
|
* * Schema: admin
|
|
3060
3072
|
* * Base Table: UserRecordLog
|
|
3061
3073
|
* * Base View: vwUserRecordLogs
|
|
3062
|
-
* * @description Tracks history of user access to records across the system, tracks reads and writes
|
|
3063
3074
|
* * Primary Key: ID
|
|
3064
3075
|
* @extends {BaseEntity}
|
|
3065
3076
|
* @class
|
|
@@ -3229,7 +3240,6 @@ exports.UserRecordLogEntity = UserRecordLogEntity = __decorate([
|
|
|
3229
3240
|
* * Schema: admin
|
|
3230
3241
|
* * Base Table: UserView
|
|
3231
3242
|
* * Base View: vwUserViews
|
|
3232
|
-
* * @description User Views contain the metadata for the user viewing system of entity data
|
|
3233
3243
|
* * Primary Key: ID
|
|
3234
3244
|
* @extends {BaseEntity}
|
|
3235
3245
|
* @class
|
|
@@ -3275,7 +3285,6 @@ let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
|
|
|
3275
3285
|
* * Field Name: EntityID
|
|
3276
3286
|
* * Display Name: Entity ID
|
|
3277
3287
|
* * SQL Data Type: int
|
|
3278
|
-
* * Related Entity: Entities
|
|
3279
3288
|
*/
|
|
3280
3289
|
get EntityID() {
|
|
3281
3290
|
return this.Get('EntityID');
|
|
@@ -3525,7 +3534,6 @@ exports.UserViewEntity = UserViewEntity = __decorate([
|
|
|
3525
3534
|
* * Schema: admin
|
|
3526
3535
|
* * Base Table: CompanyIntegrationRun
|
|
3527
3536
|
* * Base View: vwCompanyIntegrationRuns
|
|
3528
|
-
* * @description Audit Trail for each run of a given company integration
|
|
3529
3537
|
* * Primary Key: ID
|
|
3530
3538
|
* @extends {BaseEntity}
|
|
3531
3539
|
* @class
|
|
@@ -3651,7 +3659,6 @@ exports.CompanyIntegrationRunEntity = CompanyIntegrationRunEntity = __decorate([
|
|
|
3651
3659
|
* * Schema: admin
|
|
3652
3660
|
* * Base Table: CompanyIntegrationRunDetail
|
|
3653
3661
|
* * Base View: vwCompanyIntegrationRunDetails
|
|
3654
|
-
* * @description Record-level details for the audit trail for each integration run
|
|
3655
3662
|
* * Primary Key: ID
|
|
3656
3663
|
* @extends {BaseEntity}
|
|
3657
3664
|
* @class
|
|
@@ -3708,7 +3715,6 @@ let CompanyIntegrationRunDetailEntity = class CompanyIntegrationRunDetailEntity
|
|
|
3708
3715
|
* * Field Name: EntityID
|
|
3709
3716
|
* * Display Name: Entity ID
|
|
3710
3717
|
* * SQL Data Type: int
|
|
3711
|
-
* * Related Entity: Entities
|
|
3712
3718
|
*/
|
|
3713
3719
|
get EntityID() {
|
|
3714
3720
|
return this.Get('EntityID');
|
|
@@ -4072,7 +4078,6 @@ let ApplicationEntityEntity = class ApplicationEntityEntity extends core_1.BaseE
|
|
|
4072
4078
|
* * Field Name: EntityID
|
|
4073
4079
|
* * Display Name: Entity ID
|
|
4074
4080
|
* * SQL Data Type: int
|
|
4075
|
-
* * Related Entity: Entities
|
|
4076
4081
|
*/
|
|
4077
4082
|
get EntityID() {
|
|
4078
4083
|
return this.Get('EntityID');
|
|
@@ -4209,7 +4214,6 @@ let EntityPermissionEntity = class EntityPermissionEntity extends core_1.BaseEnt
|
|
|
4209
4214
|
* * Field Name: EntityID
|
|
4210
4215
|
* * Display Name: Entity ID
|
|
4211
4216
|
* * SQL Data Type: int
|
|
4212
|
-
* * Related Entity: Entities
|
|
4213
4217
|
*/
|
|
4214
4218
|
get EntityID() {
|
|
4215
4219
|
return this.Get('EntityID');
|
|
@@ -4445,7 +4449,6 @@ let UserApplicationEntityEntity = class UserApplicationEntityEntity extends core
|
|
|
4445
4449
|
* * Field Name: EntityID
|
|
4446
4450
|
* * Display Name: Entity ID
|
|
4447
4451
|
* * SQL Data Type: int
|
|
4448
|
-
* * Related Entity: Entities
|
|
4449
4452
|
*/
|
|
4450
4453
|
get EntityID() {
|
|
4451
4454
|
return this.Get('EntityID');
|
|
@@ -4781,7 +4784,6 @@ let ListEntity = class ListEntity extends core_1.BaseEntity {
|
|
|
4781
4784
|
* * Field Name: EntityID
|
|
4782
4785
|
* * Display Name: Entity ID
|
|
4783
4786
|
* * SQL Data Type: int
|
|
4784
|
-
* * Related Entity: Entities
|
|
4785
4787
|
*/
|
|
4786
4788
|
get EntityID() {
|
|
4787
4789
|
return this.Get('EntityID');
|
|
@@ -4843,14 +4845,6 @@ let ListEntity = class ListEntity extends core_1.BaseEntity {
|
|
|
4843
4845
|
return this.Get('UpdatedAt');
|
|
4844
4846
|
}
|
|
4845
4847
|
/**
|
|
4846
|
-
* * Field Name: Entity
|
|
4847
|
-
* * Display Name: Entity
|
|
4848
|
-
* * SQL Data Type: nvarchar(255)
|
|
4849
|
-
*/
|
|
4850
|
-
get Entity() {
|
|
4851
|
-
return this.Get('Entity');
|
|
4852
|
-
}
|
|
4853
|
-
/**
|
|
4854
4848
|
* * Field Name: User
|
|
4855
4849
|
* * Display Name: User
|
|
4856
4850
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -5496,7 +5490,6 @@ exports.WorkflowEngineEntity = WorkflowEngineEntity = __decorate([
|
|
|
5496
5490
|
* * Schema: admin
|
|
5497
5491
|
* * Base Table: RecordChange
|
|
5498
5492
|
* * Base View: vwRecordChanges
|
|
5499
|
-
* * @description Tracks history of all pending and complete data changes to records
|
|
5500
5493
|
* * Primary Key: ID
|
|
5501
5494
|
* @extends {BaseEntity}
|
|
5502
5495
|
* @class
|
|
@@ -5993,7 +5986,6 @@ let AuditLogEntity = class AuditLogEntity extends core_1.BaseEntity {
|
|
|
5993
5986
|
* * Field Name: EntityID
|
|
5994
5987
|
* * Display Name: Entity ID
|
|
5995
5988
|
* * SQL Data Type: int
|
|
5996
|
-
* * Related Entity: Entities
|
|
5997
5989
|
*/
|
|
5998
5990
|
get EntityID() {
|
|
5999
5991
|
return this.Get('EntityID');
|
|
@@ -6038,14 +6030,6 @@ let AuditLogEntity = class AuditLogEntity extends core_1.BaseEntity {
|
|
|
6038
6030
|
get User() {
|
|
6039
6031
|
return this.Get('User');
|
|
6040
6032
|
}
|
|
6041
|
-
/**
|
|
6042
|
-
* * Field Name: Entity
|
|
6043
|
-
* * Display Name: Entity
|
|
6044
|
-
* * SQL Data Type: nvarchar(255)
|
|
6045
|
-
*/
|
|
6046
|
-
get Entity() {
|
|
6047
|
-
return this.Get('Entity');
|
|
6048
|
-
}
|
|
6049
6033
|
};
|
|
6050
6034
|
exports.AuditLogEntity = AuditLogEntity;
|
|
6051
6035
|
exports.AuditLogEntity = AuditLogEntity = __decorate([
|
|
@@ -8901,7 +8885,6 @@ let TaggedItemEntity = class TaggedItemEntity extends core_1.BaseEntity {
|
|
|
8901
8885
|
* * Field Name: EntityID
|
|
8902
8886
|
* * Display Name: Entity ID
|
|
8903
8887
|
* * SQL Data Type: int
|
|
8904
|
-
* * Related Entity: Entities
|
|
8905
8888
|
*/
|
|
8906
8889
|
get EntityID() {
|
|
8907
8890
|
return this.Get('EntityID');
|
|
@@ -8928,14 +8911,6 @@ let TaggedItemEntity = class TaggedItemEntity extends core_1.BaseEntity {
|
|
|
8928
8911
|
get Tag() {
|
|
8929
8912
|
return this.Get('Tag');
|
|
8930
8913
|
}
|
|
8931
|
-
/**
|
|
8932
|
-
* * Field Name: Entity
|
|
8933
|
-
* * Display Name: Entity
|
|
8934
|
-
* * SQL Data Type: nvarchar(255)
|
|
8935
|
-
*/
|
|
8936
|
-
get Entity() {
|
|
8937
|
-
return this.Get('Entity');
|
|
8938
|
-
}
|
|
8939
8914
|
};
|
|
8940
8915
|
exports.TaggedItemEntity = TaggedItemEntity;
|
|
8941
8916
|
exports.TaggedItemEntity = TaggedItemEntity = __decorate([
|
|
@@ -10224,7 +10199,6 @@ let CompanyIntegrationRecordMapEntity = class CompanyIntegrationRecordMapEntity
|
|
|
10224
10199
|
* * Field Name: EntityID
|
|
10225
10200
|
* * Display Name: Entity ID
|
|
10226
10201
|
* * SQL Data Type: int
|
|
10227
|
-
* * Related Entity: Entities
|
|
10228
10202
|
*/
|
|
10229
10203
|
get EntityID() {
|
|
10230
10204
|
return this.Get('EntityID');
|
|
@@ -10261,14 +10235,6 @@ let CompanyIntegrationRecordMapEntity = class CompanyIntegrationRecordMapEntity
|
|
|
10261
10235
|
get UpdatedAt() {
|
|
10262
10236
|
return this.Get('UpdatedAt');
|
|
10263
10237
|
}
|
|
10264
|
-
/**
|
|
10265
|
-
* * Field Name: Entity
|
|
10266
|
-
* * Display Name: Entity
|
|
10267
|
-
* * SQL Data Type: nvarchar(255)
|
|
10268
|
-
*/
|
|
10269
|
-
get Entity() {
|
|
10270
|
-
return this.Get('Entity');
|
|
10271
|
-
}
|
|
10272
10238
|
};
|
|
10273
10239
|
exports.CompanyIntegrationRecordMapEntity = CompanyIntegrationRecordMapEntity;
|
|
10274
10240
|
exports.CompanyIntegrationRecordMapEntity = CompanyIntegrationRecordMapEntity = __decorate([
|
|
@@ -10681,10 +10647,33 @@ let QueryFieldEntity = class QueryFieldEntity extends core_1.BaseEntity {
|
|
|
10681
10647
|
this.Set('Sequence', value);
|
|
10682
10648
|
}
|
|
10683
10649
|
/**
|
|
10650
|
+
* * Field Name: SQLBaseType
|
|
10651
|
+
* * Display Name: SQLBase Type
|
|
10652
|
+
* * SQL Data Type: nvarchar(50)
|
|
10653
|
+
* * Description: The base type, not including parameters, in SQL. For example this field would be nvarchar or decimal, and wouldn't include type parameters. The SQLFullType field provides that information.
|
|
10654
|
+
*/
|
|
10655
|
+
get SQLBaseType() {
|
|
10656
|
+
return this.Get('SQLBaseType');
|
|
10657
|
+
}
|
|
10658
|
+
set SQLBaseType(value) {
|
|
10659
|
+
this.Set('SQLBaseType', value);
|
|
10660
|
+
}
|
|
10661
|
+
/**
|
|
10662
|
+
* * Field Name: SQLFullType
|
|
10663
|
+
* * Display Name: SQLFull Type
|
|
10664
|
+
* * SQL Data Type: nvarchar(100)
|
|
10665
|
+
* * Description: The full SQL type for the field, for example datetime or nvarchar(10) etc.
|
|
10666
|
+
*/
|
|
10667
|
+
get SQLFullType() {
|
|
10668
|
+
return this.Get('SQLFullType');
|
|
10669
|
+
}
|
|
10670
|
+
set SQLFullType(value) {
|
|
10671
|
+
this.Set('SQLFullType', value);
|
|
10672
|
+
}
|
|
10673
|
+
/**
|
|
10684
10674
|
* * Field Name: SourceEntityID
|
|
10685
10675
|
* * Display Name: Source Entity ID
|
|
10686
10676
|
* * SQL Data Type: int
|
|
10687
|
-
* * Related Entity: Entities
|
|
10688
10677
|
*/
|
|
10689
10678
|
get SourceEntityID() {
|
|
10690
10679
|
return this.Get('SourceEntityID');
|
|
@@ -10775,14 +10764,6 @@ let QueryFieldEntity = class QueryFieldEntity extends core_1.BaseEntity {
|
|
|
10775
10764
|
get Query() {
|
|
10776
10765
|
return this.Get('Query');
|
|
10777
10766
|
}
|
|
10778
|
-
/**
|
|
10779
|
-
* * Field Name: SourceEntity
|
|
10780
|
-
* * Display Name: Source Entity
|
|
10781
|
-
* * SQL Data Type: nvarchar(255)
|
|
10782
|
-
*/
|
|
10783
|
-
get SourceEntity() {
|
|
10784
|
-
return this.Get('SourceEntity');
|
|
10785
|
-
}
|
|
10786
10767
|
};
|
|
10787
10768
|
exports.QueryFieldEntity = QueryFieldEntity;
|
|
10788
10769
|
exports.QueryFieldEntity = QueryFieldEntity = __decorate([
|
|
@@ -11467,6 +11448,7 @@ let EntityDocumentRunEntity = class EntityDocumentRunEntity extends core_1.BaseE
|
|
|
11467
11448
|
* * Display Name: Status
|
|
11468
11449
|
* * SQL Data Type: nvarchar(15)
|
|
11469
11450
|
* * Default Value: N'Pending'
|
|
11451
|
+
* * Description: Can be Pending, In Progress, Completed, or Failed
|
|
11470
11452
|
*/
|
|
11471
11453
|
get Status() {
|
|
11472
11454
|
return this.Get('Status');
|
|
@@ -11825,7 +11807,6 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
|
|
|
11825
11807
|
* * Field Name: EntityID
|
|
11826
11808
|
* * Display Name: Entity ID
|
|
11827
11809
|
* * SQL Data Type: int
|
|
11828
|
-
* * Related Entity: Entities
|
|
11829
11810
|
*/
|
|
11830
11811
|
get EntityID() {
|
|
11831
11812
|
return this.Get('EntityID');
|
|
@@ -11887,14 +11868,6 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
|
|
|
11887
11868
|
return this.Get('UpdatedAt');
|
|
11888
11869
|
}
|
|
11889
11870
|
/**
|
|
11890
|
-
* * Field Name: Entity
|
|
11891
|
-
* * Display Name: Entity
|
|
11892
|
-
* * SQL Data Type: nvarchar(255)
|
|
11893
|
-
*/
|
|
11894
|
-
get Entity() {
|
|
11895
|
-
return this.Get('Entity');
|
|
11896
|
-
}
|
|
11897
|
-
/**
|
|
11898
11871
|
* * Field Name: Type
|
|
11899
11872
|
* * Display Name: Type
|
|
11900
11873
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -11912,6 +11885,7 @@ exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
|
|
|
11912
11885
|
* * Schema: admin
|
|
11913
11886
|
* * Base Table: DataContextItem
|
|
11914
11887
|
* * Base View: vwDataContextItems
|
|
11888
|
+
* * @description Data Context Items store information about each item within a Data Context. Each item stores a link to a view, query, or raw sql statement and can optionally cache the JSON representing the last run of that data object as well.
|
|
11915
11889
|
* * Primary Key: ID
|
|
11916
11890
|
* @extends {BaseEntity}
|
|
11917
11891
|
* @class
|
|
@@ -11958,6 +11932,7 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
11958
11932
|
* * Display Name: Data Context ID
|
|
11959
11933
|
* * SQL Data Type: int
|
|
11960
11934
|
* * Related Entity: Data Contexts
|
|
11935
|
+
* * Description: Foreign key to the DataContext table
|
|
11961
11936
|
*/
|
|
11962
11937
|
get DataContextID() {
|
|
11963
11938
|
return this.Get('DataContextID');
|
|
@@ -11969,6 +11944,7 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
11969
11944
|
* * Field Name: Type
|
|
11970
11945
|
* * Display Name: Type
|
|
11971
11946
|
* * SQL Data Type: nvarchar(50)
|
|
11947
|
+
* * Description: The type of the item, either "view", "query", "full_entity", "single_record", or "sql"
|
|
11972
11948
|
*/
|
|
11973
11949
|
get Type() {
|
|
11974
11950
|
return this.Get('Type');
|
|
@@ -11977,9 +11953,48 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
11977
11953
|
this.Set('Type', value);
|
|
11978
11954
|
}
|
|
11979
11955
|
/**
|
|
11956
|
+
* * Field Name: ViewID
|
|
11957
|
+
* * Display Name: View ID
|
|
11958
|
+
* * SQL Data Type: int
|
|
11959
|
+
* * Related Entity: User Views
|
|
11960
|
+
* * Description: Only used if Type='view'
|
|
11961
|
+
*/
|
|
11962
|
+
get ViewID() {
|
|
11963
|
+
return this.Get('ViewID');
|
|
11964
|
+
}
|
|
11965
|
+
set ViewID(value) {
|
|
11966
|
+
this.Set('ViewID', value);
|
|
11967
|
+
}
|
|
11968
|
+
/**
|
|
11969
|
+
* * Field Name: QueryID
|
|
11970
|
+
* * Display Name: Query ID
|
|
11971
|
+
* * SQL Data Type: int
|
|
11972
|
+
* * Related Entity: Queries
|
|
11973
|
+
* * Description: Only used if Type='query'
|
|
11974
|
+
*/
|
|
11975
|
+
get QueryID() {
|
|
11976
|
+
return this.Get('QueryID');
|
|
11977
|
+
}
|
|
11978
|
+
set QueryID(value) {
|
|
11979
|
+
this.Set('QueryID', value);
|
|
11980
|
+
}
|
|
11981
|
+
/**
|
|
11982
|
+
* * Field Name: EntityID
|
|
11983
|
+
* * Display Name: Entity ID
|
|
11984
|
+
* * SQL Data Type: int
|
|
11985
|
+
* * Description: Used if type='full_entity' or type='single_record'
|
|
11986
|
+
*/
|
|
11987
|
+
get EntityID() {
|
|
11988
|
+
return this.Get('EntityID');
|
|
11989
|
+
}
|
|
11990
|
+
set EntityID(value) {
|
|
11991
|
+
this.Set('EntityID', value);
|
|
11992
|
+
}
|
|
11993
|
+
/**
|
|
11980
11994
|
* * Field Name: RecordID
|
|
11981
11995
|
* * Display Name: Record ID
|
|
11982
11996
|
* * SQL Data Type: int
|
|
11997
|
+
* * Description: The ID for the record, only used when Type='single_record'
|
|
11983
11998
|
*/
|
|
11984
11999
|
get RecordID() {
|
|
11985
12000
|
return this.Get('RecordID');
|
|
@@ -11991,6 +12006,7 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
11991
12006
|
* * Field Name: SQL
|
|
11992
12007
|
* * Display Name: SQL
|
|
11993
12008
|
* * SQL Data Type: nvarchar(MAX)
|
|
12009
|
+
* * Description: Only used when Type=sql
|
|
11994
12010
|
*/
|
|
11995
12011
|
get SQL() {
|
|
11996
12012
|
return this.Get('SQL');
|
|
@@ -12002,6 +12018,7 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
12002
12018
|
* * Field Name: DataJSON
|
|
12003
12019
|
* * Display Name: Data JSON
|
|
12004
12020
|
* * SQL Data Type: nvarchar(MAX)
|
|
12021
|
+
* * Description: Optionally used to cache results of an item. This can be used for performance optimization, and also for having snapshots of data for historical comparisons.
|
|
12005
12022
|
*/
|
|
12006
12023
|
get DataJSON() {
|
|
12007
12024
|
return this.Get('DataJSON');
|
|
@@ -12013,6 +12030,7 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
12013
12030
|
* * Field Name: LastRefreshedAt
|
|
12014
12031
|
* * Display Name: Last Refreshed At
|
|
12015
12032
|
* * SQL Data Type: datetime
|
|
12033
|
+
* * Description: If DataJSON is populated, this field will show the date the the data was captured
|
|
12016
12034
|
*/
|
|
12017
12035
|
get LastRefreshedAt() {
|
|
12018
12036
|
return this.Get('LastRefreshedAt');
|
|
@@ -12042,11 +12060,26 @@ let DataContextItemEntity = class DataContextItemEntity extends core_1.BaseEntit
|
|
|
12042
12060
|
* * Field Name: DataContext
|
|
12043
12061
|
* * Display Name: Data Context
|
|
12044
12062
|
* * SQL Data Type: nvarchar(255)
|
|
12045
|
-
* * Default Value: null
|
|
12046
12063
|
*/
|
|
12047
12064
|
get DataContext() {
|
|
12048
12065
|
return this.Get('DataContext');
|
|
12049
12066
|
}
|
|
12067
|
+
/**
|
|
12068
|
+
* * Field Name: View
|
|
12069
|
+
* * Display Name: View
|
|
12070
|
+
* * SQL Data Type: nvarchar(100)
|
|
12071
|
+
*/
|
|
12072
|
+
get View() {
|
|
12073
|
+
return this.Get('View');
|
|
12074
|
+
}
|
|
12075
|
+
/**
|
|
12076
|
+
* * Field Name: Query
|
|
12077
|
+
* * Display Name: Query
|
|
12078
|
+
* * SQL Data Type: nvarchar(255)
|
|
12079
|
+
*/
|
|
12080
|
+
get Query() {
|
|
12081
|
+
return this.Get('Query');
|
|
12082
|
+
}
|
|
12050
12083
|
};
|
|
12051
12084
|
exports.DataContextItemEntity = DataContextItemEntity;
|
|
12052
12085
|
exports.DataContextItemEntity = DataContextItemEntity = __decorate([
|
|
@@ -12057,6 +12090,7 @@ exports.DataContextItemEntity = DataContextItemEntity = __decorate([
|
|
|
12057
12090
|
* * Schema: admin
|
|
12058
12091
|
* * Base Table: DataContext
|
|
12059
12092
|
* * Base View: vwDataContexts
|
|
12093
|
+
* * @description Data Contexts are a primitive within the MemberJunction architecture. They store information about data contexts which are groups of data including views, queries, or raw SQL statements. Data contexts can be used in conversations, reports and more.
|
|
12060
12094
|
* * Primary Key: ID
|
|
12061
12095
|
* @extends {BaseEntity}
|
|
12062
12096
|
* @class
|
|
@@ -12165,7 +12199,6 @@ let DataContextEntity = class DataContextEntity extends core_1.BaseEntity {
|
|
|
12165
12199
|
* * Field Name: User
|
|
12166
12200
|
* * Display Name: User
|
|
12167
12201
|
* * SQL Data Type: nvarchar(100)
|
|
12168
|
-
* * Default Value: null
|
|
12169
12202
|
*/
|
|
12170
12203
|
get User() {
|
|
12171
12204
|
return this.Get('User');
|