@memberjunction/core-entities 1.6.0 → 1.7.0
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.
|
@@ -2605,6 +2605,18 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
|
|
|
2605
2605
|
this.Set('PreferredCommunicationField', value);
|
|
2606
2606
|
}
|
|
2607
2607
|
/**
|
|
2608
|
+
* * Field Name: Icon
|
|
2609
|
+
* * Display Name: Icon
|
|
2610
|
+
* * SQL Data Type: nvarchar(500)
|
|
2611
|
+
* * Description: Optional, specify an icon (CSS Class) for each entity for display in the UI
|
|
2612
|
+
*/
|
|
2613
|
+
get Icon() {
|
|
2614
|
+
return this.Get('Icon');
|
|
2615
|
+
}
|
|
2616
|
+
set Icon(value) {
|
|
2617
|
+
this.Set('Icon', value);
|
|
2618
|
+
}
|
|
2619
|
+
/**
|
|
2608
2620
|
* * Field Name: CodeName
|
|
2609
2621
|
* * Display Name: Code Name
|
|
2610
2622
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -4142,6 +4154,31 @@ let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
|
|
|
4142
4154
|
this.Set('Description', value);
|
|
4143
4155
|
}
|
|
4144
4156
|
/**
|
|
4157
|
+
* * Field Name: Icon
|
|
4158
|
+
* * Display Name: Icon
|
|
4159
|
+
* * SQL Data Type: nvarchar(500)
|
|
4160
|
+
* * Description: Specify the CSS class information for the display icon for each application.
|
|
4161
|
+
*/
|
|
4162
|
+
get Icon() {
|
|
4163
|
+
return this.Get('Icon');
|
|
4164
|
+
}
|
|
4165
|
+
set Icon(value) {
|
|
4166
|
+
this.Set('Icon', value);
|
|
4167
|
+
}
|
|
4168
|
+
/**
|
|
4169
|
+
* * Field Name: DefaultForNewUser
|
|
4170
|
+
* * Display Name: Default For New User
|
|
4171
|
+
* * SQL Data Type: bit
|
|
4172
|
+
* * Default Value: 1
|
|
4173
|
+
* * Description: If turned on, when a new user first uses the MJ Explorer app, the application records with this turned on will have this application included in their selected application list.
|
|
4174
|
+
*/
|
|
4175
|
+
get DefaultForNewUser() {
|
|
4176
|
+
return this.Get('DefaultForNewUser');
|
|
4177
|
+
}
|
|
4178
|
+
set DefaultForNewUser(value) {
|
|
4179
|
+
this.Set('DefaultForNewUser', value);
|
|
4180
|
+
}
|
|
4181
|
+
/**
|
|
4145
4182
|
* * Field Name: CreatedAt
|
|
4146
4183
|
* * Display Name: Created At
|
|
4147
4184
|
* * SQL Data Type: datetime
|
|
@@ -4237,7 +4274,8 @@ let ApplicationEntityEntity = class ApplicationEntityEntity extends core_1.BaseE
|
|
|
4237
4274
|
* * Field Name: DefaultForNewUser
|
|
4238
4275
|
* * Display Name: Default For New User
|
|
4239
4276
|
* * SQL Data Type: bit
|
|
4240
|
-
* * Default Value:
|
|
4277
|
+
* * Default Value: 1
|
|
4278
|
+
* * Description: When set to 1, the entity will be included by default for a new user when they first access the application in question
|
|
4241
4279
|
*/
|
|
4242
4280
|
get DefaultForNewUser() {
|
|
4243
4281
|
return this.Get('DefaultForNewUser');
|
|
@@ -5788,7 +5826,7 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5788
5826
|
/**
|
|
5789
5827
|
* * Field Name: RecordID
|
|
5790
5828
|
* * Display Name: Record
|
|
5791
|
-
* * SQL Data Type: nvarchar(
|
|
5829
|
+
* * SQL Data Type: nvarchar(750)
|
|
5792
5830
|
*/
|
|
5793
5831
|
get RecordID() {
|
|
5794
5832
|
return this.Get('RecordID');
|
|
@@ -5801,6 +5839,7 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5801
5839
|
* * Display Name: User ID
|
|
5802
5840
|
* * SQL Data Type: int
|
|
5803
5841
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
5842
|
+
* * Description: The user that made the change
|
|
5804
5843
|
*/
|
|
5805
5844
|
get UserID() {
|
|
5806
5845
|
return this.Get('UserID');
|
|
@@ -5809,10 +5848,49 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5809
5848
|
this.Set('UserID', value);
|
|
5810
5849
|
}
|
|
5811
5850
|
/**
|
|
5851
|
+
* * Field Name: Type
|
|
5852
|
+
* * Display Name: Type
|
|
5853
|
+
* * SQL Data Type: nvarchar(20)
|
|
5854
|
+
* * Default Value: Create
|
|
5855
|
+
* * Description: Create, Update, or Delete
|
|
5856
|
+
*/
|
|
5857
|
+
get Type() {
|
|
5858
|
+
return this.Get('Type');
|
|
5859
|
+
}
|
|
5860
|
+
set Type(value) {
|
|
5861
|
+
this.Set('Type', value);
|
|
5862
|
+
}
|
|
5863
|
+
/**
|
|
5864
|
+
* * Field Name: Source
|
|
5865
|
+
* * Display Name: Source
|
|
5866
|
+
* * SQL Data Type: nvarchar(20)
|
|
5867
|
+
* * Description: Internal or External
|
|
5868
|
+
*/
|
|
5869
|
+
get Source() {
|
|
5870
|
+
return this.Get('Source');
|
|
5871
|
+
}
|
|
5872
|
+
set Source(value) {
|
|
5873
|
+
this.Set('Source', value);
|
|
5874
|
+
}
|
|
5875
|
+
/**
|
|
5876
|
+
* * Field Name: IntegrationID
|
|
5877
|
+
* * Display Name: Integration ID
|
|
5878
|
+
* * SQL Data Type: int
|
|
5879
|
+
* * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
|
|
5880
|
+
* * Description: If Source=External, this field can optionally specify which integration created the change, if known
|
|
5881
|
+
*/
|
|
5882
|
+
get IntegrationID() {
|
|
5883
|
+
return this.Get('IntegrationID');
|
|
5884
|
+
}
|
|
5885
|
+
set IntegrationID(value) {
|
|
5886
|
+
this.Set('IntegrationID', value);
|
|
5887
|
+
}
|
|
5888
|
+
/**
|
|
5812
5889
|
* * Field Name: ChangedAt
|
|
5813
5890
|
* * Display Name: Changed At
|
|
5814
5891
|
* * SQL Data Type: datetime
|
|
5815
5892
|
* * Default Value: getdate()
|
|
5893
|
+
* * Description: The date/time that the change occured.
|
|
5816
5894
|
*/
|
|
5817
5895
|
get ChangedAt() {
|
|
5818
5896
|
return this.Get('ChangedAt');
|
|
@@ -5824,6 +5902,7 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5824
5902
|
* * Field Name: ChangesJSON
|
|
5825
5903
|
* * Display Name: Changes JSON
|
|
5826
5904
|
* * SQL Data Type: nvarchar(MAX)
|
|
5905
|
+
* * Description: JSON structure that describes what was changed in a structured format.
|
|
5827
5906
|
*/
|
|
5828
5907
|
get ChangesJSON() {
|
|
5829
5908
|
return this.Get('ChangesJSON');
|
|
@@ -5835,6 +5914,7 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5835
5914
|
* * Field Name: ChangesDescription
|
|
5836
5915
|
* * Display Name: Changes Description
|
|
5837
5916
|
* * SQL Data Type: nvarchar(MAX)
|
|
5917
|
+
* * Description: A generated, human-readable description of what was changed.
|
|
5838
5918
|
*/
|
|
5839
5919
|
get ChangesDescription() {
|
|
5840
5920
|
return this.Get('ChangesDescription');
|
|
@@ -5846,6 +5926,7 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5846
5926
|
* * Field Name: FullRecordJSON
|
|
5847
5927
|
* * Display Name: Full Record JSON
|
|
5848
5928
|
* * SQL Data Type: nvarchar(MAX)
|
|
5929
|
+
* * Description: A complete snapshot of the record AFTER the change was applied in a JSON format that can be parsed.
|
|
5849
5930
|
*/
|
|
5850
5931
|
get FullRecordJSON() {
|
|
5851
5932
|
return this.Get('FullRecordJSON');
|
|
@@ -5855,12 +5936,13 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5855
5936
|
}
|
|
5856
5937
|
/**
|
|
5857
5938
|
* * Field Name: Status
|
|
5858
|
-
* * SQL Data Type:
|
|
5939
|
+
* * SQL Data Type: nvarchar(50)
|
|
5859
5940
|
* * Default Value: Complete
|
|
5860
5941
|
* * Value List Type: List
|
|
5861
5942
|
* * Possible Values
|
|
5862
5943
|
* * Pending
|
|
5863
5944
|
* * Complete
|
|
5945
|
+
* * Description: For internal record changes generated within MJ, the status is immediately Complete. For external changes that are detected, the workflow starts off as Pending, then In Progress and finally either Complete or Error
|
|
5864
5946
|
*/
|
|
5865
5947
|
get Status() {
|
|
5866
5948
|
return this.Get('Status');
|
|
@@ -5869,6 +5951,17 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5869
5951
|
this.Set('Status', value);
|
|
5870
5952
|
}
|
|
5871
5953
|
/**
|
|
5954
|
+
* * Field Name: ErrorLog
|
|
5955
|
+
* * Display Name: Error Log
|
|
5956
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
5957
|
+
*/
|
|
5958
|
+
get ErrorLog() {
|
|
5959
|
+
return this.Get('ErrorLog');
|
|
5960
|
+
}
|
|
5961
|
+
set ErrorLog(value) {
|
|
5962
|
+
this.Set('ErrorLog', value);
|
|
5963
|
+
}
|
|
5964
|
+
/**
|
|
5872
5965
|
* * Field Name: Comments
|
|
5873
5966
|
* * SQL Data Type: nvarchar(MAX)
|
|
5874
5967
|
*/
|
|
@@ -5879,6 +5972,24 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5879
5972
|
this.Set('Comments', value);
|
|
5880
5973
|
}
|
|
5881
5974
|
/**
|
|
5975
|
+
* * Field Name: CreatedAt
|
|
5976
|
+
* * Display Name: Created At
|
|
5977
|
+
* * SQL Data Type: datetime
|
|
5978
|
+
* * Default Value: getdate()
|
|
5979
|
+
*/
|
|
5980
|
+
get CreatedAt() {
|
|
5981
|
+
return this.Get('CreatedAt');
|
|
5982
|
+
}
|
|
5983
|
+
/**
|
|
5984
|
+
* * Field Name: UpdatedAt
|
|
5985
|
+
* * Display Name: Updated At
|
|
5986
|
+
* * SQL Data Type: datetime
|
|
5987
|
+
* * Default Value: getdate()
|
|
5988
|
+
*/
|
|
5989
|
+
get UpdatedAt() {
|
|
5990
|
+
return this.Get('UpdatedAt');
|
|
5991
|
+
}
|
|
5992
|
+
/**
|
|
5882
5993
|
* * Field Name: Entity
|
|
5883
5994
|
* * Display Name: Entity
|
|
5884
5995
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -5894,6 +6005,14 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
5894
6005
|
get User() {
|
|
5895
6006
|
return this.Get('User');
|
|
5896
6007
|
}
|
|
6008
|
+
/**
|
|
6009
|
+
* * Field Name: Integration
|
|
6010
|
+
* * Display Name: Integration
|
|
6011
|
+
* * SQL Data Type: nvarchar(100)
|
|
6012
|
+
*/
|
|
6013
|
+
get Integration() {
|
|
6014
|
+
return this.Get('Integration');
|
|
6015
|
+
}
|
|
5897
6016
|
};
|
|
5898
6017
|
exports.RecordChangeEntity = RecordChangeEntity;
|
|
5899
6018
|
exports.RecordChangeEntity = RecordChangeEntity = __decorate([
|
|
@@ -11207,6 +11326,17 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
|
|
|
11207
11326
|
this.Set('Name', value);
|
|
11208
11327
|
}
|
|
11209
11328
|
/**
|
|
11329
|
+
* * Field Name: UserQuestion
|
|
11330
|
+
* * Display Name: User Question
|
|
11331
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11332
|
+
*/
|
|
11333
|
+
get UserQuestion() {
|
|
11334
|
+
return this.Get('UserQuestion');
|
|
11335
|
+
}
|
|
11336
|
+
set UserQuestion(value) {
|
|
11337
|
+
this.Set('UserQuestion', value);
|
|
11338
|
+
}
|
|
11339
|
+
/**
|
|
11210
11340
|
* * Field Name: Description
|
|
11211
11341
|
* * Display Name: Description
|
|
11212
11342
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -11241,6 +11371,17 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
|
|
|
11241
11371
|
this.Set('SQL', value);
|
|
11242
11372
|
}
|
|
11243
11373
|
/**
|
|
11374
|
+
* * Field Name: TechnicalDescription
|
|
11375
|
+
* * Display Name: Technical Description
|
|
11376
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
11377
|
+
*/
|
|
11378
|
+
get TechnicalDescription() {
|
|
11379
|
+
return this.Get('TechnicalDescription');
|
|
11380
|
+
}
|
|
11381
|
+
set TechnicalDescription(value) {
|
|
11382
|
+
this.Set('TechnicalDescription', value);
|
|
11383
|
+
}
|
|
11384
|
+
/**
|
|
11244
11385
|
* * Field Name: OriginalSQL
|
|
11245
11386
|
* * Display Name: Original SQL
|
|
11246
11387
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -11285,6 +11426,7 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
|
|
|
11285
11426
|
* * Display Name: Quality Rank
|
|
11286
11427
|
* * SQL Data Type: int
|
|
11287
11428
|
* * Default Value: 0
|
|
11429
|
+
* * Description: Value indicating the quality of the query, higher values mean a better quality
|
|
11288
11430
|
*/
|
|
11289
11431
|
get QualityRank() {
|
|
11290
11432
|
return this.Get('QualityRank');
|
|
@@ -11293,6 +11435,18 @@ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
|
|
|
11293
11435
|
this.Set('QualityRank', value);
|
|
11294
11436
|
}
|
|
11295
11437
|
/**
|
|
11438
|
+
* * Field Name: ExecutionCostRank
|
|
11439
|
+
* * Display Name: Execution Cost Rank
|
|
11440
|
+
* * SQL Data Type: int
|
|
11441
|
+
* * Description: Higher numbers indicate more execution overhead/time required. Useful for planning which queries to use in various scenarios.
|
|
11442
|
+
*/
|
|
11443
|
+
get ExecutionCostRank() {
|
|
11444
|
+
return this.Get('ExecutionCostRank');
|
|
11445
|
+
}
|
|
11446
|
+
set ExecutionCostRank(value) {
|
|
11447
|
+
this.Set('ExecutionCostRank', value);
|
|
11448
|
+
}
|
|
11449
|
+
/**
|
|
11296
11450
|
* * Field Name: CreatedAt
|
|
11297
11451
|
* * Display Name: Created At
|
|
11298
11452
|
* * SQL Data Type: datetime
|