@memberjunction/core-entities 2.26.0 → 2.27.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.
@@ -2933,10 +2933,21 @@ exports.ConversationDetailSchema = zod_1.z.object({
2933
2933
  * * Display Name: Summary Of Earlier Conversation
2934
2934
  * * SQL Data Type: nvarchar(MAX)
2935
2935
  * * Description: This column optionally stores a summary of the entire conversation leading up to this particular conversation detail record. It is used in long-running conversations to optimize performance by summarizing earlier parts.`),
2936
+ UserID: zod_1.z.string().nullish().describe(`
2937
+ * * Field Name: UserID
2938
+ * * Display Name: User ID
2939
+ * * SQL Data Type: uniqueidentifier
2940
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
2941
+ * * Description: This field, when populated, overrides the UserID at the Conversation level to specify a different user created the message.`),
2936
2942
  Conversation: zod_1.z.string().nullish().describe(`
2937
2943
  * * Field Name: Conversation
2938
2944
  * * Display Name: Conversation
2939
2945
  * * SQL Data Type: nvarchar(255)`),
2946
+ User: zod_1.z.string().nullish().describe(`
2947
+ * * Field Name: User
2948
+ * * Display Name: User
2949
+ * * SQL Data Type: nvarchar(100)
2950
+ * * Default Value: null`),
2940
2951
  });
2941
2952
  /**
2942
2953
  * zod schema definition for the entity Conversations
@@ -4679,7 +4690,7 @@ exports.EntityDocumentSchema = zod_1.z.object({
4679
4690
  * * SQL Data Type: nvarchar(255)`),
4680
4691
  AIModel: zod_1.z.string().describe(`
4681
4692
  * * Field Name: AIModel
4682
- * * Display Name: AI Model
4693
+ * * Display Name: AIModel
4683
4694
  * * SQL Data Type: nvarchar(50)`),
4684
4695
  });
4685
4696
  /**
@@ -5767,7 +5778,7 @@ exports.FileSchema = zod_1.z.object({
5767
5778
  * * SQL Data Type: nvarchar(50)`),
5768
5779
  });
5769
5780
  /**
5770
- * zod schema definition for the entity flyway _schema _histories
5781
+ * zod schema definition for the entity Flyway _schema _histories
5771
5782
  */
5772
5783
  exports.flyway_schema_historySchema = zod_1.z.object({
5773
5784
  installed_rank: zod_1.z.number().describe(`
@@ -6767,8 +6778,7 @@ exports.RecommendationItemSchema = zod_1.z.object({
6767
6778
  * * Field Name: DestinationEntityID
6768
6779
  * * Display Name: Destination Entity ID
6769
6780
  * * SQL Data Type: uniqueidentifier
6770
- * * Related Entity/Foreign Key: Entities (vwEntities.ID)
6771
- * * Description: dest entity!`),
6781
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)`),
6772
6782
  DestinationEntityRecordID: zod_1.z.string().describe(`
6773
6783
  * * Field Name: DestinationEntityRecordID
6774
6784
  * * Display Name: Destination Entity Record ID
@@ -6830,8 +6840,7 @@ exports.RecommendationRunSchema = zod_1.z.object({
6830
6840
  * * Field Name: ID
6831
6841
  * * Display Name: ID
6832
6842
  * * SQL Data Type: uniqueidentifier
6833
- * * Default Value: newsequentialid()
6834
- * * Description: Da Key :`),
6843
+ * * Default Value: newsequentialid()`),
6835
6844
  RecommendationProviderID: zod_1.z.string().describe(`
6836
6845
  * * Field Name: RecommendationProviderID
6837
6846
  * * Display Name: Recommendation Provider ID
@@ -16968,6 +16977,19 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
16968
16977
  this.Set('SummaryOfEarlierConversation', value);
16969
16978
  }
16970
16979
  /**
16980
+ * * Field Name: UserID
16981
+ * * Display Name: User ID
16982
+ * * SQL Data Type: uniqueidentifier
16983
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
16984
+ * * Description: This field, when populated, overrides the UserID at the Conversation level to specify a different user created the message.
16985
+ */
16986
+ get UserID() {
16987
+ return this.Get('UserID');
16988
+ }
16989
+ set UserID(value) {
16990
+ this.Set('UserID', value);
16991
+ }
16992
+ /**
16971
16993
  * * Field Name: Conversation
16972
16994
  * * Display Name: Conversation
16973
16995
  * * SQL Data Type: nvarchar(255)
@@ -16975,6 +16997,15 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
16975
16997
  get Conversation() {
16976
16998
  return this.Get('Conversation');
16977
16999
  }
17000
+ /**
17001
+ * * Field Name: User
17002
+ * * Display Name: User
17003
+ * * SQL Data Type: nvarchar(100)
17004
+ * * Default Value: null
17005
+ */
17006
+ get User() {
17007
+ return this.Get('User');
17008
+ }
16978
17009
  };
16979
17010
  exports.ConversationDetailEntity = ConversationDetailEntity;
16980
17011
  exports.ConversationDetailEntity = ConversationDetailEntity = __decorate([
@@ -21382,7 +21413,7 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
21382
21413
  }
21383
21414
  /**
21384
21415
  * * Field Name: AIModel
21385
- * * Display Name: AI Model
21416
+ * * Display Name: AIModel
21386
21417
  * * SQL Data Type: nvarchar(50)
21387
21418
  */
21388
21419
  get AIModel() {
@@ -24044,10 +24075,10 @@ exports.FileEntity = FileEntity = __decorate([
24044
24075
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Files')
24045
24076
  ], FileEntity);
24046
24077
  /**
24047
- * flyway _schema _histories - strongly typed entity sub-class
24078
+ * Flyway _schema _histories - strongly typed entity sub-class
24048
24079
  * * Schema: __mj
24049
24080
  * * Base Table: flyway_schema_history
24050
- * * Base View: vwflyway_schema_histories
24081
+ * * Base View: vwFlyway_schema_histories
24051
24082
  * * Primary Key: installed_rank
24052
24083
  * @extends {BaseEntity}
24053
24084
  * @class
@@ -24055,8 +24086,8 @@ exports.FileEntity = FileEntity = __decorate([
24055
24086
  */
24056
24087
  let flyway_schema_historyEntity = class flyway_schema_historyEntity extends core_1.BaseEntity {
24057
24088
  /**
24058
- * Loads the flyway _schema _histories record from the database
24059
- * @param installed_rank: number - primary key value to load the flyway _schema _histories record.
24089
+ * Loads the Flyway _schema _histories record from the database
24090
+ * @param installed_rank: number - primary key value to load the Flyway _schema _histories record.
24060
24091
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
24061
24092
  * @returns {Promise<boolean>} - true if successful, false otherwise
24062
24093
  * @public
@@ -24199,7 +24230,7 @@ let flyway_schema_historyEntity = class flyway_schema_historyEntity extends core
24199
24230
  };
24200
24231
  exports.flyway_schema_historyEntity = flyway_schema_historyEntity;
24201
24232
  exports.flyway_schema_historyEntity = flyway_schema_historyEntity = __decorate([
24202
- (0, global_1.RegisterClass)(core_1.BaseEntity, 'flyway _schema _histories')
24233
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Flyway _schema _histories')
24203
24234
  ], flyway_schema_historyEntity);
24204
24235
  /**
24205
24236
  * Integration URL Formats - strongly typed entity sub-class
@@ -26808,7 +26839,6 @@ let RecommendationItemEntity = class RecommendationItemEntity extends core_1.Bas
26808
26839
  * * Display Name: Destination Entity ID
26809
26840
  * * SQL Data Type: uniqueidentifier
26810
26841
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
26811
- * * Description: dest entity!
26812
26842
  */
26813
26843
  get DestinationEntityID() {
26814
26844
  return this.Get('DestinationEntityID');
@@ -26997,7 +27027,6 @@ let RecommendationRunEntity = class RecommendationRunEntity extends core_1.BaseE
26997
27027
  * * Display Name: ID
26998
27028
  * * SQL Data Type: uniqueidentifier
26999
27029
  * * Default Value: newsequentialid()
27000
- * * Description: Da Key :
27001
27030
  */
27002
27031
  get ID() {
27003
27032
  return this.Get('ID');