@memberjunction/core-entities 1.6.1 → 1.7.1

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.
@@ -1847,6 +1847,14 @@ export declare class EntityEntity extends BaseEntity {
1847
1847
  get PreferredCommunicationField(): string | null;
1848
1848
  set PreferredCommunicationField(value: string | null);
1849
1849
  /**
1850
+ * * Field Name: Icon
1851
+ * * Display Name: Icon
1852
+ * * SQL Data Type: nvarchar(500)
1853
+ * * Description: Optional, specify an icon (CSS Class) for each entity for display in the UI
1854
+ */
1855
+ get Icon(): string | null;
1856
+ set Icon(value: string | null);
1857
+ /**
1850
1858
  * * Field Name: CodeName
1851
1859
  * * Display Name: Code Name
1852
1860
  * * SQL Data Type: nvarchar(MAX)
@@ -2924,6 +2932,23 @@ export declare class ApplicationEntity extends BaseEntity {
2924
2932
  get Description(): string | null;
2925
2933
  set Description(value: string | null);
2926
2934
  /**
2935
+ * * Field Name: Icon
2936
+ * * Display Name: Icon
2937
+ * * SQL Data Type: nvarchar(500)
2938
+ * * Description: Specify the CSS class information for the display icon for each application.
2939
+ */
2940
+ get Icon(): string | null;
2941
+ set Icon(value: string | null);
2942
+ /**
2943
+ * * Field Name: DefaultForNewUser
2944
+ * * Display Name: Default For New User
2945
+ * * SQL Data Type: bit
2946
+ * * Default Value: 1
2947
+ * * 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.
2948
+ */
2949
+ get DefaultForNewUser(): boolean;
2950
+ set DefaultForNewUser(value: boolean);
2951
+ /**
2927
2952
  * * Field Name: CreatedAt
2928
2953
  * * Display Name: Created At
2929
2954
  * * SQL Data Type: datetime
@@ -2993,7 +3018,8 @@ export declare class ApplicationEntityEntity extends BaseEntity {
2993
3018
  * * Field Name: DefaultForNewUser
2994
3019
  * * Display Name: Default For New User
2995
3020
  * * SQL Data Type: bit
2996
- * * Default Value: 0
3021
+ * * Default Value: 1
3022
+ * * Description: When set to 1, the entity will be included by default for a new user when they first access the application in question
2997
3023
  */
2998
3024
  get DefaultForNewUser(): boolean;
2999
3025
  set DefaultForNewUser(value: boolean);
@@ -4100,7 +4126,7 @@ export declare class RecordChangeEntity extends BaseEntity {
4100
4126
  /**
4101
4127
  * * Field Name: RecordID
4102
4128
  * * Display Name: Record
4103
- * * SQL Data Type: nvarchar(255)
4129
+ * * SQL Data Type: nvarchar(750)
4104
4130
  */
4105
4131
  get RecordID(): string;
4106
4132
  set RecordID(value: string);
@@ -4109,14 +4135,42 @@ export declare class RecordChangeEntity extends BaseEntity {
4109
4135
  * * Display Name: User ID
4110
4136
  * * SQL Data Type: int
4111
4137
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
4138
+ * * Description: The user that made the change
4112
4139
  */
4113
4140
  get UserID(): number;
4114
4141
  set UserID(value: number);
4115
4142
  /**
4143
+ * * Field Name: Type
4144
+ * * Display Name: Type
4145
+ * * SQL Data Type: nvarchar(20)
4146
+ * * Default Value: Create
4147
+ * * Description: Create, Update, or Delete
4148
+ */
4149
+ get Type(): string;
4150
+ set Type(value: string);
4151
+ /**
4152
+ * * Field Name: Source
4153
+ * * Display Name: Source
4154
+ * * SQL Data Type: nvarchar(20)
4155
+ * * Description: Internal or External
4156
+ */
4157
+ get Source(): string | null;
4158
+ set Source(value: string | null);
4159
+ /**
4160
+ * * Field Name: IntegrationID
4161
+ * * Display Name: Integration ID
4162
+ * * SQL Data Type: int
4163
+ * * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
4164
+ * * Description: If Source=External, this field can optionally specify which integration created the change, if known
4165
+ */
4166
+ get IntegrationID(): number | null;
4167
+ set IntegrationID(value: number | null);
4168
+ /**
4116
4169
  * * Field Name: ChangedAt
4117
4170
  * * Display Name: Changed At
4118
4171
  * * SQL Data Type: datetime
4119
4172
  * * Default Value: getdate()
4173
+ * * Description: The date/time that the change occured.
4120
4174
  */
4121
4175
  get ChangedAt(): Date;
4122
4176
  set ChangedAt(value: Date);
@@ -4124,6 +4178,7 @@ export declare class RecordChangeEntity extends BaseEntity {
4124
4178
  * * Field Name: ChangesJSON
4125
4179
  * * Display Name: Changes JSON
4126
4180
  * * SQL Data Type: nvarchar(MAX)
4181
+ * * Description: JSON structure that describes what was changed in a structured format.
4127
4182
  */
4128
4183
  get ChangesJSON(): string;
4129
4184
  set ChangesJSON(value: string);
@@ -4131,6 +4186,7 @@ export declare class RecordChangeEntity extends BaseEntity {
4131
4186
  * * Field Name: ChangesDescription
4132
4187
  * * Display Name: Changes Description
4133
4188
  * * SQL Data Type: nvarchar(MAX)
4189
+ * * Description: A generated, human-readable description of what was changed.
4134
4190
  */
4135
4191
  get ChangesDescription(): string;
4136
4192
  set ChangesDescription(value: string);
@@ -4138,27 +4194,50 @@ export declare class RecordChangeEntity extends BaseEntity {
4138
4194
  * * Field Name: FullRecordJSON
4139
4195
  * * Display Name: Full Record JSON
4140
4196
  * * SQL Data Type: nvarchar(MAX)
4197
+ * * Description: A complete snapshot of the record AFTER the change was applied in a JSON format that can be parsed.
4141
4198
  */
4142
4199
  get FullRecordJSON(): string;
4143
4200
  set FullRecordJSON(value: string);
4144
4201
  /**
4145
4202
  * * Field Name: Status
4146
- * * SQL Data Type: nchar(15)
4203
+ * * SQL Data Type: nvarchar(50)
4147
4204
  * * Default Value: Complete
4148
4205
  * * Value List Type: List
4149
4206
  * * Possible Values
4150
4207
  * * Pending
4151
4208
  * * Complete
4209
+ * * 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
4152
4210
  */
4153
4211
  get Status(): 'Pending' | 'Complete';
4154
4212
  set Status(value: 'Pending' | 'Complete');
4155
4213
  /**
4214
+ * * Field Name: ErrorLog
4215
+ * * Display Name: Error Log
4216
+ * * SQL Data Type: nvarchar(MAX)
4217
+ */
4218
+ get ErrorLog(): string | null;
4219
+ set ErrorLog(value: string | null);
4220
+ /**
4156
4221
  * * Field Name: Comments
4157
4222
  * * SQL Data Type: nvarchar(MAX)
4158
4223
  */
4159
4224
  get Comments(): string | null;
4160
4225
  set Comments(value: string | null);
4161
4226
  /**
4227
+ * * Field Name: CreatedAt
4228
+ * * Display Name: Created At
4229
+ * * SQL Data Type: datetime
4230
+ * * Default Value: getdate()
4231
+ */
4232
+ get CreatedAt(): Date;
4233
+ /**
4234
+ * * Field Name: UpdatedAt
4235
+ * * Display Name: Updated At
4236
+ * * SQL Data Type: datetime
4237
+ * * Default Value: getdate()
4238
+ */
4239
+ get UpdatedAt(): Date;
4240
+ /**
4162
4241
  * * Field Name: Entity
4163
4242
  * * Display Name: Entity
4164
4243
  * * SQL Data Type: nvarchar(255)
@@ -4170,6 +4249,12 @@ export declare class RecordChangeEntity extends BaseEntity {
4170
4249
  * * SQL Data Type: nvarchar(100)
4171
4250
  */
4172
4251
  get User(): string;
4252
+ /**
4253
+ * * Field Name: Integration
4254
+ * * Display Name: Integration
4255
+ * * SQL Data Type: nvarchar(100)
4256
+ */
4257
+ get Integration(): string | null;
4173
4258
  }
4174
4259
  /**
4175
4260
  * User Roles - strongly typed entity sub-class
@@ -7963,6 +8048,13 @@ export declare class QueryEntity extends BaseEntity {
7963
8048
  get Name(): string;
7964
8049
  set Name(value: string);
7965
8050
  /**
8051
+ * * Field Name: UserQuestion
8052
+ * * Display Name: User Question
8053
+ * * SQL Data Type: nvarchar(MAX)
8054
+ */
8055
+ get UserQuestion(): string | null;
8056
+ set UserQuestion(value: string | null);
8057
+ /**
7966
8058
  * * Field Name: Description
7967
8059
  * * Display Name: Description
7968
8060
  * * SQL Data Type: nvarchar(MAX)
@@ -7985,6 +8077,13 @@ export declare class QueryEntity extends BaseEntity {
7985
8077
  get SQL(): string | null;
7986
8078
  set SQL(value: string | null);
7987
8079
  /**
8080
+ * * Field Name: TechnicalDescription
8081
+ * * Display Name: Technical Description
8082
+ * * SQL Data Type: nvarchar(MAX)
8083
+ */
8084
+ get TechnicalDescription(): string | null;
8085
+ set TechnicalDescription(value: string | null);
8086
+ /**
7988
8087
  * * Field Name: OriginalSQL
7989
8088
  * * Display Name: Original SQL
7990
8089
  * * SQL Data Type: nvarchar(MAX)
@@ -8017,10 +8116,19 @@ export declare class QueryEntity extends BaseEntity {
8017
8116
  * * Display Name: Quality Rank
8018
8117
  * * SQL Data Type: int
8019
8118
  * * Default Value: 0
8119
+ * * Description: Value indicating the quality of the query, higher values mean a better quality
8020
8120
  */
8021
8121
  get QualityRank(): number | null;
8022
8122
  set QualityRank(value: number | null);
8023
8123
  /**
8124
+ * * Field Name: ExecutionCostRank
8125
+ * * Display Name: Execution Cost Rank
8126
+ * * SQL Data Type: int
8127
+ * * Description: Higher numbers indicate more execution overhead/time required. Useful for planning which queries to use in various scenarios.
8128
+ */
8129
+ get ExecutionCostRank(): number | null;
8130
+ set ExecutionCostRank(value: number | null);
8131
+ /**
8024
8132
  * * Field Name: CreatedAt
8025
8133
  * * Display Name: Created At
8026
8134
  * * SQL Data Type: datetime