@memberjunction/core-entities 2.26.1 → 2.27.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.
@@ -2022,12 +2022,16 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2022
2022
  UserFeedback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2023
2023
  ReflectionInsights: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2024
2024
  SummaryOfEarlierConversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2025
+ UserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2025
2026
  Conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2027
+ User: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2026
2028
  }, "strip", z.ZodTypeAny, {
2027
2029
  Error?: string;
2028
2030
  ID?: string;
2029
2031
  __mj_CreatedAt?: Date;
2030
2032
  __mj_UpdatedAt?: Date;
2033
+ UserID?: string;
2034
+ User?: string;
2031
2035
  Role?: "Error" | "User" | "AI";
2032
2036
  ConversationID?: string;
2033
2037
  ExternalID?: string;
@@ -2043,6 +2047,8 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2043
2047
  ID?: string;
2044
2048
  __mj_CreatedAt?: Date;
2045
2049
  __mj_UpdatedAt?: Date;
2050
+ UserID?: string;
2051
+ User?: string;
2046
2052
  Role?: "Error" | "User" | "AI";
2047
2053
  ConversationID?: string;
2048
2054
  ExternalID?: string;
@@ -3951,7 +3957,7 @@ export declare const FileSchema: z.ZodObject<{
3951
3957
  }>;
3952
3958
  export type FileEntityType = z.infer<typeof FileSchema>;
3953
3959
  /**
3954
- * zod schema definition for the entity flyway _schema _histories
3960
+ * zod schema definition for the entity Flyway _schema _histories
3955
3961
  */
3956
3962
  export declare const flyway_schema_historySchema: z.ZodObject<{
3957
3963
  installed_rank: z.ZodNumber;
@@ -12000,11 +12006,27 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
12000
12006
  get SummaryOfEarlierConversation(): string | null;
12001
12007
  set SummaryOfEarlierConversation(value: string | null);
12002
12008
  /**
12009
+ * * Field Name: UserID
12010
+ * * Display Name: User ID
12011
+ * * SQL Data Type: uniqueidentifier
12012
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
12013
+ * * Description: This field, when populated, overrides the UserID at the Conversation level to specify a different user created the message.
12014
+ */
12015
+ get UserID(): string | null;
12016
+ set UserID(value: string | null);
12017
+ /**
12003
12018
  * * Field Name: Conversation
12004
12019
  * * Display Name: Conversation
12005
12020
  * * SQL Data Type: nvarchar(255)
12006
12021
  */
12007
12022
  get Conversation(): string | null;
12023
+ /**
12024
+ * * Field Name: User
12025
+ * * Display Name: User
12026
+ * * SQL Data Type: nvarchar(100)
12027
+ * * Default Value: null
12028
+ */
12029
+ get User(): string | null;
12008
12030
  }
12009
12031
  /**
12010
12032
  * Conversations - strongly typed entity sub-class
@@ -15170,7 +15192,7 @@ export declare class EntityDocumentEntity extends BaseEntity<EntityDocumentEntit
15170
15192
  get Template(): string;
15171
15193
  /**
15172
15194
  * * Field Name: AIModel
15173
- * * Display Name: AI Model
15195
+ * * Display Name: AIModel
15174
15196
  * * SQL Data Type: nvarchar(50)
15175
15197
  */
15176
15198
  get AIModel(): string;
@@ -17074,10 +17096,10 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
17074
17096
  get Provider(): string;
17075
17097
  }
17076
17098
  /**
17077
- * flyway _schema _histories - strongly typed entity sub-class
17099
+ * Flyway _schema _histories - strongly typed entity sub-class
17078
17100
  * * Schema: __mj
17079
17101
  * * Base Table: flyway_schema_history
17080
- * * Base View: vwflyway_schema_histories
17102
+ * * Base View: vwFlyway_schema_histories
17081
17103
  * * Primary Key: installed_rank
17082
17104
  * @extends {BaseEntity}
17083
17105
  * @class
@@ -17085,8 +17107,8 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
17085
17107
  */
17086
17108
  export declare class flyway_schema_historyEntity extends BaseEntity<flyway_schema_historyEntityType> {
17087
17109
  /**
17088
- * Loads the flyway _schema _histories record from the database
17089
- * @param installed_rank: number - primary key value to load the flyway _schema _histories record.
17110
+ * Loads the Flyway _schema _histories record from the database
17111
+ * @param installed_rank: number - primary key value to load the Flyway _schema _histories record.
17090
17112
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
17091
17113
  * @returns {Promise<boolean>} - true if successful, false otherwise
17092
17114
  * @public
@@ -19052,7 +19074,6 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
19052
19074
  * * Display Name: Destination Entity ID
19053
19075
  * * SQL Data Type: uniqueidentifier
19054
19076
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
19055
- * * Description: dest entity!
19056
19077
  */
19057
19078
  get DestinationEntityID(): string;
19058
19079
  set DestinationEntityID(value: string);
@@ -19191,7 +19212,6 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
19191
19212
  * * Display Name: ID
19192
19213
  * * SQL Data Type: uniqueidentifier
19193
19214
  * * Default Value: newsequentialid()
19194
- * * Description: Da Key :
19195
19215
  */
19196
19216
  get ID(): string;
19197
19217
  /**