@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.
|
@@ -4,7 +4,6 @@ import { BaseEntity, EntitySaveOptions } from "@memberjunction/core";
|
|
|
4
4
|
* * Schema: admin
|
|
5
5
|
* * Base Table: Company
|
|
6
6
|
* * Base View: vwCompanies
|
|
7
|
-
* * @description List of Companies/Organizations within the top-level business, used for subsidiaries
|
|
8
7
|
* * Primary Key: ID
|
|
9
8
|
* @extends {BaseEntity}
|
|
10
9
|
* @class
|
|
@@ -80,7 +79,6 @@ export declare class CompanyEntity extends BaseEntity {
|
|
|
80
79
|
* * Schema: admin
|
|
81
80
|
* * Base Table: Employee
|
|
82
81
|
* * Base View: vwEmployees
|
|
83
|
-
* * @description Employees
|
|
84
82
|
* * Primary Key: ID
|
|
85
83
|
* @extends {BaseEntity}
|
|
86
84
|
* @class
|
|
@@ -134,7 +132,6 @@ export declare class EmployeeEntity extends BaseEntity {
|
|
|
134
132
|
/**
|
|
135
133
|
* * Field Name: Email
|
|
136
134
|
* * SQL Data Type: nvarchar(100)
|
|
137
|
-
* * Description: 5
|
|
138
135
|
*/
|
|
139
136
|
get Email(): string;
|
|
140
137
|
set Email(value: string);
|
|
@@ -775,7 +772,6 @@ export declare class IntegrationURLFormatEntity extends BaseEntity {
|
|
|
775
772
|
* * Schema: admin
|
|
776
773
|
* * Base Table: Integration
|
|
777
774
|
* * Base View: vwIntegrations
|
|
778
|
-
* * @description List of integrations that can be executed using the MemberJunction integration architecture.
|
|
779
775
|
* * Primary Key: ID
|
|
780
776
|
* @extends {BaseEntity}
|
|
781
777
|
* @class
|
|
@@ -1094,7 +1090,6 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1094
1090
|
* * Field Name: EntityID
|
|
1095
1091
|
* * Display Name: Entity ID
|
|
1096
1092
|
* * SQL Data Type: int
|
|
1097
|
-
* * Related Entity: Entities
|
|
1098
1093
|
*/
|
|
1099
1094
|
get EntityID(): number;
|
|
1100
1095
|
/**
|
|
@@ -1122,6 +1117,15 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1122
1117
|
get Description(): string;
|
|
1123
1118
|
set Description(value: string);
|
|
1124
1119
|
/**
|
|
1120
|
+
* * Field Name: AutoUpdateDescription
|
|
1121
|
+
* * Display Name: Auto Update Description
|
|
1122
|
+
* * SQL Data Type: bit
|
|
1123
|
+
* * Default Value: 1
|
|
1124
|
+
* * 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.
|
|
1125
|
+
*/
|
|
1126
|
+
get AutoUpdateDescription(): boolean;
|
|
1127
|
+
set AutoUpdateDescription(value: boolean);
|
|
1128
|
+
/**
|
|
1125
1129
|
* * Field Name: IsPrimaryKey
|
|
1126
1130
|
* * Display Name: Is Primary Key
|
|
1127
1131
|
* * SQL Data Type: bit
|
|
@@ -1295,7 +1299,6 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1295
1299
|
* * Field Name: RelatedEntityID
|
|
1296
1300
|
* * Display Name: RelatedEntity ID
|
|
1297
1301
|
* * SQL Data Type: int
|
|
1298
|
-
* * Related Entity: Entities
|
|
1299
1302
|
*/
|
|
1300
1303
|
get RelatedEntityID(): number;
|
|
1301
1304
|
set RelatedEntityID(value: number);
|
|
@@ -1412,7 +1415,6 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1412
1415
|
* * Schema: admin
|
|
1413
1416
|
* * Base Table: Entity
|
|
1414
1417
|
* * Base View: vwEntities
|
|
1415
|
-
* * @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
|
|
1416
1418
|
* * Primary Key: ID
|
|
1417
1419
|
* @extends {BaseEntity}
|
|
1418
1420
|
* @class
|
|
@@ -1441,7 +1443,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1441
1443
|
* * Display Name: Parent ID
|
|
1442
1444
|
* * SQL Data Type: int
|
|
1443
1445
|
* * Related Entity: Entities
|
|
1444
|
-
* * Description: Reserved for future use
|
|
1445
1446
|
*/
|
|
1446
1447
|
get ParentID(): number;
|
|
1447
1448
|
set ParentID(value: number);
|
|
@@ -1465,6 +1466,15 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1465
1466
|
get Description(): string;
|
|
1466
1467
|
set Description(value: string);
|
|
1467
1468
|
/**
|
|
1469
|
+
* * Field Name: AutoUpdateDescription
|
|
1470
|
+
* * Display Name: Auto Update Description
|
|
1471
|
+
* * SQL Data Type: bit
|
|
1472
|
+
* * Default Value: 1
|
|
1473
|
+
* * 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.
|
|
1474
|
+
*/
|
|
1475
|
+
get AutoUpdateDescription(): boolean;
|
|
1476
|
+
set AutoUpdateDescription(value: boolean);
|
|
1477
|
+
/**
|
|
1468
1478
|
* * Field Name: BaseTable
|
|
1469
1479
|
* * Display Name: Base Table
|
|
1470
1480
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -1490,7 +1500,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1490
1500
|
* * Display Name: Schema Name
|
|
1491
1501
|
* * SQL Data Type: nvarchar(255)
|
|
1492
1502
|
* * Default Value: N'dbo'
|
|
1493
|
-
* * Description: Database Schema Name
|
|
1494
1503
|
*/
|
|
1495
1504
|
get SchemaName(): string;
|
|
1496
1505
|
/**
|
|
@@ -1530,7 +1539,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1530
1539
|
* * Display Name: Include In API
|
|
1531
1540
|
* * SQL Data Type: bit
|
|
1532
1541
|
* * Default Value: 0
|
|
1533
|
-
* * Description: Master switch to control if the field is included in the API or not
|
|
1534
1542
|
*/
|
|
1535
1543
|
get IncludeInAPI(): boolean;
|
|
1536
1544
|
set IncludeInAPI(value: boolean);
|
|
@@ -1547,7 +1555,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1547
1555
|
* * Display Name: Allow Update API
|
|
1548
1556
|
* * SQL Data Type: bit
|
|
1549
1557
|
* * Default Value: 0
|
|
1550
|
-
* * Description: If set to 1, allows updates to occur via API. Role based permissions are required in addition to turning this bit on.
|
|
1551
1558
|
*/
|
|
1552
1559
|
get AllowUpdateAPI(): boolean;
|
|
1553
1560
|
set AllowUpdateAPI(value: boolean);
|
|
@@ -1580,7 +1587,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1580
1587
|
* * Display Name: Allow User Search API
|
|
1581
1588
|
* * SQL Data Type: bit
|
|
1582
1589
|
* * Default Value: 0
|
|
1583
|
-
* * 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
|
|
1584
1590
|
*/
|
|
1585
1591
|
get AllowUserSearchAPI(): boolean;
|
|
1586
1592
|
set AllowUserSearchAPI(value: boolean);
|
|
@@ -1710,7 +1716,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1710
1716
|
* * Field Name: EntityObjectSubclassName
|
|
1711
1717
|
* * Display Name: Entity Object Subclass Name
|
|
1712
1718
|
* * SQL Data Type: nvarchar(255)
|
|
1713
|
-
* * 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.
|
|
1714
1719
|
*/
|
|
1715
1720
|
get EntityObjectSubclassName(): string;
|
|
1716
1721
|
set EntityObjectSubclassName(value: string);
|
|
@@ -1718,7 +1723,6 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1718
1723
|
* * Field Name: EntityObjectSubclassImport
|
|
1719
1724
|
* * Display Name: Entity Object Subclass Import
|
|
1720
1725
|
* * SQL Data Type: nvarchar(255)
|
|
1721
|
-
* * 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.
|
|
1722
1726
|
*/
|
|
1723
1727
|
get EntityObjectSubclassImport(): string;
|
|
1724
1728
|
set EntityObjectSubclassImport(value: string);
|
|
@@ -2146,7 +2150,6 @@ export declare class EntityRelationshipEntity extends BaseEntity {
|
|
|
2146
2150
|
* * Schema: admin
|
|
2147
2151
|
* * Base Table: UserRecordLog
|
|
2148
2152
|
* * Base View: vwUserRecordLogs
|
|
2149
|
-
* * @description Tracks history of user access to records across the system, tracks reads and writes
|
|
2150
2153
|
* * Primary Key: ID
|
|
2151
2154
|
* @extends {BaseEntity}
|
|
2152
2155
|
* @class
|
|
@@ -2268,7 +2271,6 @@ export declare class UserRecordLogEntity extends BaseEntity {
|
|
|
2268
2271
|
* * Schema: admin
|
|
2269
2272
|
* * Base Table: UserView
|
|
2270
2273
|
* * Base View: vwUserViews
|
|
2271
|
-
* * @description User Views contain the metadata for the user viewing system of entity data
|
|
2272
2274
|
* * Primary Key: ID
|
|
2273
2275
|
* @extends {BaseEntity}
|
|
2274
2276
|
* @class
|
|
@@ -2304,7 +2306,6 @@ export declare class UserViewEntity extends BaseEntity {
|
|
|
2304
2306
|
* * Field Name: EntityID
|
|
2305
2307
|
* * Display Name: Entity ID
|
|
2306
2308
|
* * SQL Data Type: int
|
|
2307
|
-
* * Related Entity: Entities
|
|
2308
2309
|
*/
|
|
2309
2310
|
get EntityID(): number;
|
|
2310
2311
|
set EntityID(value: number);
|
|
@@ -2472,7 +2473,6 @@ export declare class UserViewEntity extends BaseEntity {
|
|
|
2472
2473
|
* * Schema: admin
|
|
2473
2474
|
* * Base Table: CompanyIntegrationRun
|
|
2474
2475
|
* * Base View: vwCompanyIntegrationRuns
|
|
2475
|
-
* * @description Audit Trail for each run of a given company integration
|
|
2476
2476
|
* * Primary Key: ID
|
|
2477
2477
|
* @extends {BaseEntity}
|
|
2478
2478
|
* @class
|
|
@@ -2560,7 +2560,6 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity {
|
|
|
2560
2560
|
* * Schema: admin
|
|
2561
2561
|
* * Base Table: CompanyIntegrationRunDetail
|
|
2562
2562
|
* * Base View: vwCompanyIntegrationRunDetails
|
|
2563
|
-
* * @description Record-level details for the audit trail for each integration run
|
|
2564
2563
|
* * Primary Key: ID
|
|
2565
2564
|
* @extends {BaseEntity}
|
|
2566
2565
|
* @class
|
|
@@ -2605,7 +2604,6 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity {
|
|
|
2605
2604
|
* * Field Name: EntityID
|
|
2606
2605
|
* * Display Name: Entity ID
|
|
2607
2606
|
* * SQL Data Type: int
|
|
2608
|
-
* * Related Entity: Entities
|
|
2609
2607
|
*/
|
|
2610
2608
|
get EntityID(): number;
|
|
2611
2609
|
set EntityID(value: number);
|
|
@@ -2859,7 +2857,6 @@ export declare class ApplicationEntityEntity extends BaseEntity {
|
|
|
2859
2857
|
* * Field Name: EntityID
|
|
2860
2858
|
* * Display Name: Entity ID
|
|
2861
2859
|
* * SQL Data Type: int
|
|
2862
|
-
* * Related Entity: Entities
|
|
2863
2860
|
*/
|
|
2864
2861
|
get EntityID(): number;
|
|
2865
2862
|
set EntityID(value: number);
|
|
@@ -2958,7 +2955,6 @@ export declare class EntityPermissionEntity extends BaseEntity {
|
|
|
2958
2955
|
* * Field Name: EntityID
|
|
2959
2956
|
* * Display Name: Entity ID
|
|
2960
2957
|
* * SQL Data Type: int
|
|
2961
|
-
* * Related Entity: Entities
|
|
2962
2958
|
*/
|
|
2963
2959
|
get EntityID(): number;
|
|
2964
2960
|
set EntityID(value: number);
|
|
@@ -3124,7 +3120,6 @@ export declare class UserApplicationEntityEntity extends BaseEntity {
|
|
|
3124
3120
|
* * Field Name: EntityID
|
|
3125
3121
|
* * Display Name: Entity ID
|
|
3126
3122
|
* * SQL Data Type: int
|
|
3127
|
-
* * Related Entity: Entities
|
|
3128
3123
|
*/
|
|
3129
3124
|
get EntityID(): number;
|
|
3130
3125
|
set EntityID(value: number);
|
|
@@ -3360,7 +3355,6 @@ export declare class ListEntity extends BaseEntity {
|
|
|
3360
3355
|
* * Field Name: EntityID
|
|
3361
3356
|
* * Display Name: Entity ID
|
|
3362
3357
|
* * SQL Data Type: int
|
|
3363
|
-
* * Related Entity: Entities
|
|
3364
3358
|
*/
|
|
3365
3359
|
get EntityID(): number;
|
|
3366
3360
|
set EntityID(value: number);
|
|
@@ -3402,12 +3396,6 @@ export declare class ListEntity extends BaseEntity {
|
|
|
3402
3396
|
*/
|
|
3403
3397
|
get UpdatedAt(): Date;
|
|
3404
3398
|
/**
|
|
3405
|
-
* * Field Name: Entity
|
|
3406
|
-
* * Display Name: Entity
|
|
3407
|
-
* * SQL Data Type: nvarchar(255)
|
|
3408
|
-
*/
|
|
3409
|
-
get Entity(): string;
|
|
3410
|
-
/**
|
|
3411
3399
|
* * Field Name: User
|
|
3412
3400
|
* * Display Name: User
|
|
3413
3401
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -3865,7 +3853,6 @@ export declare class WorkflowEngineEntity extends BaseEntity {
|
|
|
3865
3853
|
* * Schema: admin
|
|
3866
3854
|
* * Base Table: RecordChange
|
|
3867
3855
|
* * Base View: vwRecordChanges
|
|
3868
|
-
* * @description Tracks history of all pending and complete data changes to records
|
|
3869
3856
|
* * Primary Key: ID
|
|
3870
3857
|
* @extends {BaseEntity}
|
|
3871
3858
|
* @class
|
|
@@ -4222,7 +4209,6 @@ export declare class AuditLogEntity extends BaseEntity {
|
|
|
4222
4209
|
* * Field Name: EntityID
|
|
4223
4210
|
* * Display Name: Entity ID
|
|
4224
4211
|
* * SQL Data Type: int
|
|
4225
|
-
* * Related Entity: Entities
|
|
4226
4212
|
*/
|
|
4227
4213
|
get EntityID(): number;
|
|
4228
4214
|
set EntityID(value: number);
|
|
@@ -4253,12 +4239,6 @@ export declare class AuditLogEntity extends BaseEntity {
|
|
|
4253
4239
|
* * SQL Data Type: nvarchar(100)
|
|
4254
4240
|
*/
|
|
4255
4241
|
get User(): string;
|
|
4256
|
-
/**
|
|
4257
|
-
* * Field Name: Entity
|
|
4258
|
-
* * Display Name: Entity
|
|
4259
|
-
* * SQL Data Type: nvarchar(255)
|
|
4260
|
-
*/
|
|
4261
|
-
get Entity(): string;
|
|
4262
4242
|
}
|
|
4263
4243
|
/**
|
|
4264
4244
|
* Authorizations - strongly typed entity sub-class
|
|
@@ -6298,7 +6278,6 @@ export declare class TaggedItemEntity extends BaseEntity {
|
|
|
6298
6278
|
* * Field Name: EntityID
|
|
6299
6279
|
* * Display Name: Entity ID
|
|
6300
6280
|
* * SQL Data Type: int
|
|
6301
|
-
* * Related Entity: Entities
|
|
6302
6281
|
*/
|
|
6303
6282
|
get EntityID(): number;
|
|
6304
6283
|
set EntityID(value: number);
|
|
@@ -6315,12 +6294,6 @@ export declare class TaggedItemEntity extends BaseEntity {
|
|
|
6315
6294
|
* * SQL Data Type: nvarchar(255)
|
|
6316
6295
|
*/
|
|
6317
6296
|
get Tag(): string;
|
|
6318
|
-
/**
|
|
6319
|
-
* * Field Name: Entity
|
|
6320
|
-
* * Display Name: Entity
|
|
6321
|
-
* * SQL Data Type: nvarchar(255)
|
|
6322
|
-
*/
|
|
6323
|
-
get Entity(): string;
|
|
6324
6297
|
}
|
|
6325
6298
|
/**
|
|
6326
6299
|
* Workspaces - strongly typed entity sub-class
|
|
@@ -7237,7 +7210,6 @@ export declare class CompanyIntegrationRecordMapEntity extends BaseEntity {
|
|
|
7237
7210
|
* * Field Name: EntityID
|
|
7238
7211
|
* * Display Name: Entity ID
|
|
7239
7212
|
* * SQL Data Type: int
|
|
7240
|
-
* * Related Entity: Entities
|
|
7241
7213
|
*/
|
|
7242
7214
|
get EntityID(): number;
|
|
7243
7215
|
set EntityID(value: number);
|
|
@@ -7262,12 +7234,6 @@ export declare class CompanyIntegrationRecordMapEntity extends BaseEntity {
|
|
|
7262
7234
|
* * Default Value: getdate()
|
|
7263
7235
|
*/
|
|
7264
7236
|
get UpdatedAt(): Date;
|
|
7265
|
-
/**
|
|
7266
|
-
* * Field Name: Entity
|
|
7267
|
-
* * Display Name: Entity
|
|
7268
|
-
* * SQL Data Type: nvarchar(255)
|
|
7269
|
-
*/
|
|
7270
|
-
get Entity(): string;
|
|
7271
7237
|
}
|
|
7272
7238
|
/**
|
|
7273
7239
|
* Record Merge Logs - strongly typed entity sub-class
|
|
@@ -7560,10 +7526,25 @@ export declare class QueryFieldEntity extends BaseEntity {
|
|
|
7560
7526
|
get Sequence(): number;
|
|
7561
7527
|
set Sequence(value: number);
|
|
7562
7528
|
/**
|
|
7529
|
+
* * Field Name: SQLBaseType
|
|
7530
|
+
* * Display Name: SQLBase Type
|
|
7531
|
+
* * SQL Data Type: nvarchar(50)
|
|
7532
|
+
* * 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.
|
|
7533
|
+
*/
|
|
7534
|
+
get SQLBaseType(): string;
|
|
7535
|
+
set SQLBaseType(value: string);
|
|
7536
|
+
/**
|
|
7537
|
+
* * Field Name: SQLFullType
|
|
7538
|
+
* * Display Name: SQLFull Type
|
|
7539
|
+
* * SQL Data Type: nvarchar(100)
|
|
7540
|
+
* * Description: The full SQL type for the field, for example datetime or nvarchar(10) etc.
|
|
7541
|
+
*/
|
|
7542
|
+
get SQLFullType(): string;
|
|
7543
|
+
set SQLFullType(value: string);
|
|
7544
|
+
/**
|
|
7563
7545
|
* * Field Name: SourceEntityID
|
|
7564
7546
|
* * Display Name: Source Entity ID
|
|
7565
7547
|
* * SQL Data Type: int
|
|
7566
|
-
* * Related Entity: Entities
|
|
7567
7548
|
*/
|
|
7568
7549
|
get SourceEntityID(): number;
|
|
7569
7550
|
set SourceEntityID(value: number);
|
|
@@ -7624,12 +7605,6 @@ export declare class QueryFieldEntity extends BaseEntity {
|
|
|
7624
7605
|
* * SQL Data Type: nvarchar(255)
|
|
7625
7606
|
*/
|
|
7626
7607
|
get Query(): string;
|
|
7627
|
-
/**
|
|
7628
|
-
* * Field Name: SourceEntity
|
|
7629
|
-
* * Display Name: Source Entity
|
|
7630
|
-
* * SQL Data Type: nvarchar(255)
|
|
7631
|
-
*/
|
|
7632
|
-
get SourceEntity(): string;
|
|
7633
7608
|
}
|
|
7634
7609
|
/**
|
|
7635
7610
|
* Query Categories - strongly typed entity sub-class
|
|
@@ -8126,6 +8101,7 @@ export declare class EntityDocumentRunEntity extends BaseEntity {
|
|
|
8126
8101
|
* * Display Name: Status
|
|
8127
8102
|
* * SQL Data Type: nvarchar(15)
|
|
8128
8103
|
* * Default Value: N'Pending'
|
|
8104
|
+
* * Description: Can be Pending, In Progress, Completed, or Failed
|
|
8129
8105
|
*/
|
|
8130
8106
|
get Status(): string;
|
|
8131
8107
|
set Status(value: string);
|
|
@@ -8382,7 +8358,6 @@ export declare class EntityDocumentEntity extends BaseEntity {
|
|
|
8382
8358
|
* * Field Name: EntityID
|
|
8383
8359
|
* * Display Name: Entity ID
|
|
8384
8360
|
* * SQL Data Type: int
|
|
8385
|
-
* * Related Entity: Entities
|
|
8386
8361
|
*/
|
|
8387
8362
|
get EntityID(): number;
|
|
8388
8363
|
set EntityID(value: number);
|
|
@@ -8424,12 +8399,6 @@ export declare class EntityDocumentEntity extends BaseEntity {
|
|
|
8424
8399
|
*/
|
|
8425
8400
|
get UpdatedAt(): Date;
|
|
8426
8401
|
/**
|
|
8427
|
-
* * Field Name: Entity
|
|
8428
|
-
* * Display Name: Entity
|
|
8429
|
-
* * SQL Data Type: nvarchar(255)
|
|
8430
|
-
*/
|
|
8431
|
-
get Entity(): string;
|
|
8432
|
-
/**
|
|
8433
8402
|
* * Field Name: Type
|
|
8434
8403
|
* * Display Name: Type
|
|
8435
8404
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -8441,6 +8410,7 @@ export declare class EntityDocumentEntity extends BaseEntity {
|
|
|
8441
8410
|
* * Schema: admin
|
|
8442
8411
|
* * Base Table: DataContextItem
|
|
8443
8412
|
* * Base View: vwDataContextItems
|
|
8413
|
+
* * @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.
|
|
8444
8414
|
* * Primary Key: ID
|
|
8445
8415
|
* @extends {BaseEntity}
|
|
8446
8416
|
* @class
|
|
@@ -8479,6 +8449,7 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8479
8449
|
* * Display Name: Data Context ID
|
|
8480
8450
|
* * SQL Data Type: int
|
|
8481
8451
|
* * Related Entity: Data Contexts
|
|
8452
|
+
* * Description: Foreign key to the DataContext table
|
|
8482
8453
|
*/
|
|
8483
8454
|
get DataContextID(): number;
|
|
8484
8455
|
set DataContextID(value: number);
|
|
@@ -8486,13 +8457,41 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8486
8457
|
* * Field Name: Type
|
|
8487
8458
|
* * Display Name: Type
|
|
8488
8459
|
* * SQL Data Type: nvarchar(50)
|
|
8460
|
+
* * Description: The type of the item, either "view", "query", "full_entity", "single_record", or "sql"
|
|
8489
8461
|
*/
|
|
8490
8462
|
get Type(): string;
|
|
8491
8463
|
set Type(value: string);
|
|
8492
8464
|
/**
|
|
8465
|
+
* * Field Name: ViewID
|
|
8466
|
+
* * Display Name: View ID
|
|
8467
|
+
* * SQL Data Type: int
|
|
8468
|
+
* * Related Entity: User Views
|
|
8469
|
+
* * Description: Only used if Type='view'
|
|
8470
|
+
*/
|
|
8471
|
+
get ViewID(): number;
|
|
8472
|
+
set ViewID(value: number);
|
|
8473
|
+
/**
|
|
8474
|
+
* * Field Name: QueryID
|
|
8475
|
+
* * Display Name: Query ID
|
|
8476
|
+
* * SQL Data Type: int
|
|
8477
|
+
* * Related Entity: Queries
|
|
8478
|
+
* * Description: Only used if Type='query'
|
|
8479
|
+
*/
|
|
8480
|
+
get QueryID(): number;
|
|
8481
|
+
set QueryID(value: number);
|
|
8482
|
+
/**
|
|
8483
|
+
* * Field Name: EntityID
|
|
8484
|
+
* * Display Name: Entity ID
|
|
8485
|
+
* * SQL Data Type: int
|
|
8486
|
+
* * Description: Used if type='full_entity' or type='single_record'
|
|
8487
|
+
*/
|
|
8488
|
+
get EntityID(): number;
|
|
8489
|
+
set EntityID(value: number);
|
|
8490
|
+
/**
|
|
8493
8491
|
* * Field Name: RecordID
|
|
8494
8492
|
* * Display Name: Record ID
|
|
8495
8493
|
* * SQL Data Type: int
|
|
8494
|
+
* * Description: The ID for the record, only used when Type='single_record'
|
|
8496
8495
|
*/
|
|
8497
8496
|
get RecordID(): number;
|
|
8498
8497
|
set RecordID(value: number);
|
|
@@ -8500,6 +8499,7 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8500
8499
|
* * Field Name: SQL
|
|
8501
8500
|
* * Display Name: SQL
|
|
8502
8501
|
* * SQL Data Type: nvarchar(MAX)
|
|
8502
|
+
* * Description: Only used when Type=sql
|
|
8503
8503
|
*/
|
|
8504
8504
|
get SQL(): string;
|
|
8505
8505
|
set SQL(value: string);
|
|
@@ -8507,6 +8507,7 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8507
8507
|
* * Field Name: DataJSON
|
|
8508
8508
|
* * Display Name: Data JSON
|
|
8509
8509
|
* * SQL Data Type: nvarchar(MAX)
|
|
8510
|
+
* * 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.
|
|
8510
8511
|
*/
|
|
8511
8512
|
get DataJSON(): string;
|
|
8512
8513
|
set DataJSON(value: string);
|
|
@@ -8514,6 +8515,7 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8514
8515
|
* * Field Name: LastRefreshedAt
|
|
8515
8516
|
* * Display Name: Last Refreshed At
|
|
8516
8517
|
* * SQL Data Type: datetime
|
|
8518
|
+
* * Description: If DataJSON is populated, this field will show the date the the data was captured
|
|
8517
8519
|
*/
|
|
8518
8520
|
get LastRefreshedAt(): Date;
|
|
8519
8521
|
set LastRefreshedAt(value: Date);
|
|
@@ -8535,15 +8537,27 @@ export declare class DataContextItemEntity extends BaseEntity {
|
|
|
8535
8537
|
* * Field Name: DataContext
|
|
8536
8538
|
* * Display Name: Data Context
|
|
8537
8539
|
* * SQL Data Type: nvarchar(255)
|
|
8538
|
-
* * Default Value: null
|
|
8539
8540
|
*/
|
|
8540
8541
|
get DataContext(): string;
|
|
8542
|
+
/**
|
|
8543
|
+
* * Field Name: View
|
|
8544
|
+
* * Display Name: View
|
|
8545
|
+
* * SQL Data Type: nvarchar(100)
|
|
8546
|
+
*/
|
|
8547
|
+
get View(): string;
|
|
8548
|
+
/**
|
|
8549
|
+
* * Field Name: Query
|
|
8550
|
+
* * Display Name: Query
|
|
8551
|
+
* * SQL Data Type: nvarchar(255)
|
|
8552
|
+
*/
|
|
8553
|
+
get Query(): string;
|
|
8541
8554
|
}
|
|
8542
8555
|
/**
|
|
8543
8556
|
* Data Contexts - strongly typed entity sub-class
|
|
8544
8557
|
* * Schema: admin
|
|
8545
8558
|
* * Base Table: DataContext
|
|
8546
8559
|
* * Base View: vwDataContexts
|
|
8560
|
+
* * @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.
|
|
8547
8561
|
* * Primary Key: ID
|
|
8548
8562
|
* @extends {BaseEntity}
|
|
8549
8563
|
* @class
|
|
@@ -8624,7 +8638,6 @@ export declare class DataContextEntity extends BaseEntity {
|
|
|
8624
8638
|
* * Field Name: User
|
|
8625
8639
|
* * Display Name: User
|
|
8626
8640
|
* * SQL Data Type: nvarchar(100)
|
|
8627
|
-
* * Default Value: null
|
|
8628
8641
|
*/
|
|
8629
8642
|
get User(): string;
|
|
8630
8643
|
}
|