@memberjunction/core-entities 2.13.4 → 2.15.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.
@@ -1764,6 +1764,10 @@ export declare const ConversationDetailSchema: z.ZodObject<{
1764
1764
  HiddenToUser: z.ZodBoolean;
1765
1765
  __mj_CreatedAt: z.ZodDate;
1766
1766
  __mj_UpdatedAt: z.ZodDate;
1767
+ UserRating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1768
+ UserFeedback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1769
+ ReflectionInsights: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1770
+ SummaryOfEarlierConversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1767
1771
  Conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1768
1772
  }, "strip", z.ZodTypeAny, {
1769
1773
  Error?: string;
@@ -1775,6 +1779,10 @@ export declare const ConversationDetailSchema: z.ZodObject<{
1775
1779
  ExternalID?: string;
1776
1780
  Message?: string;
1777
1781
  HiddenToUser?: boolean;
1782
+ UserRating?: number;
1783
+ UserFeedback?: string;
1784
+ ReflectionInsights?: string;
1785
+ SummaryOfEarlierConversation?: string;
1778
1786
  Conversation?: string;
1779
1787
  }, {
1780
1788
  Error?: string;
@@ -1786,6 +1794,10 @@ export declare const ConversationDetailSchema: z.ZodObject<{
1786
1794
  ExternalID?: string;
1787
1795
  Message?: string;
1788
1796
  HiddenToUser?: boolean;
1797
+ UserRating?: number;
1798
+ UserFeedback?: string;
1799
+ ReflectionInsights?: string;
1800
+ SummaryOfEarlierConversation?: string;
1789
1801
  Conversation?: string;
1790
1802
  }>;
1791
1803
  export type ConversationDetailEntityType = z.infer<typeof ConversationDetailSchema>;
@@ -3880,7 +3892,7 @@ export declare const ListDetailSchema: z.ZodObject<{
3880
3892
  Sequence: z.ZodNumber;
3881
3893
  __mj_CreatedAt: z.ZodDate;
3882
3894
  __mj_UpdatedAt: z.ZodDate;
3883
- Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Error">, z.ZodLiteral<"Other">]>;
3895
+ Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">, z.ZodLiteral<"Other">]>;
3884
3896
  AdditionalData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3885
3897
  List: z.ZodString;
3886
3898
  }, "strip", z.ZodTypeAny, {
@@ -6281,6 +6293,7 @@ export declare class ActionAuthorizationEntity extends BaseEntity<ActionAuthoriz
6281
6293
  * * Field Name: Authorization
6282
6294
  * * Display Name: Authorization
6283
6295
  * * SQL Data Type: nvarchar(100)
6296
+ * * Default Value: null
6284
6297
  */
6285
6298
  get Authorization(): string;
6286
6299
  }
@@ -8163,6 +8176,7 @@ export declare class ApplicationSettingEntity extends BaseEntity<ApplicationSett
8163
8176
  * * Field Name: Application
8164
8177
  * * Display Name: Application
8165
8178
  * * SQL Data Type: nvarchar(100)
8179
+ * * Default Value: null
8166
8180
  */
8167
8181
  get Application(): string;
8168
8182
  }
@@ -8342,6 +8356,7 @@ export declare class AuditLogTypeEntity extends BaseEntity<AuditLogTypeEntityTyp
8342
8356
  * * Field Name: Authorization
8343
8357
  * * Display Name: Authorization
8344
8358
  * * SQL Data Type: nvarchar(100)
8359
+ * * Default Value: null
8345
8360
  */
8346
8361
  get Authorization(): string | null;
8347
8362
  }
@@ -8473,12 +8488,14 @@ export declare class AuditLogEntity extends BaseEntity<AuditLogEntityType> {
8473
8488
  * * Field Name: AuditLogType
8474
8489
  * * Display Name: Audit Log Type
8475
8490
  * * SQL Data Type: nvarchar(50)
8491
+ * * Default Value: null
8476
8492
  */
8477
8493
  get AuditLogType(): string;
8478
8494
  /**
8479
8495
  * * Field Name: Authorization
8480
8496
  * * Display Name: Authorization
8481
8497
  * * SQL Data Type: nvarchar(100)
8498
+ * * Default Value: null
8482
8499
  */
8483
8500
  get Authorization(): string | null;
8484
8501
  /**
@@ -8582,12 +8599,14 @@ export declare class AuthorizationRoleEntity extends BaseEntity<AuthorizationRol
8582
8599
  * * Field Name: Authorization
8583
8600
  * * Display Name: Authorization
8584
8601
  * * SQL Data Type: nvarchar(100)
8602
+ * * Default Value: null
8585
8603
  */
8586
8604
  get Authorization(): string;
8587
8605
  /**
8588
8606
  * * Field Name: Role
8589
8607
  * * Display Name: Role
8590
8608
  * * SQL Data Type: nvarchar(50)
8609
+ * * Default Value: null
8591
8610
  */
8592
8611
  get Role(): string;
8593
8612
  }
@@ -10298,24 +10317,28 @@ export declare class ContentItemEntity extends BaseEntity<ContentItemEntityType>
10298
10317
  * * Field Name: ContentSource
10299
10318
  * * Display Name: Content Source
10300
10319
  * * SQL Data Type: nvarchar(255)
10320
+ * * Default Value: null
10301
10321
  */
10302
10322
  get ContentSource(): string | null;
10303
10323
  /**
10304
10324
  * * Field Name: ContentType
10305
10325
  * * Display Name: Content Type
10306
10326
  * * SQL Data Type: nvarchar(255)
10327
+ * * Default Value: null
10307
10328
  */
10308
10329
  get ContentType(): string;
10309
10330
  /**
10310
10331
  * * Field Name: ContentSourceType
10311
10332
  * * Display Name: Content Source Type
10312
10333
  * * SQL Data Type: nvarchar(255)
10334
+ * * Default Value: null
10313
10335
  */
10314
10336
  get ContentSourceType(): string;
10315
10337
  /**
10316
10338
  * * Field Name: ContentFileType
10317
10339
  * * Display Name: Content File Type
10318
10340
  * * SQL Data Type: nvarchar(255)
10341
+ * * Default Value: null
10319
10342
  */
10320
10343
  get ContentFileType(): string;
10321
10344
  }
@@ -10704,18 +10727,21 @@ export declare class ContentSourceEntity extends BaseEntity<ContentSourceEntityT
10704
10727
  * * Field Name: ContentType
10705
10728
  * * Display Name: Content Type
10706
10729
  * * SQL Data Type: nvarchar(255)
10730
+ * * Default Value: null
10707
10731
  */
10708
10732
  get ContentType(): string;
10709
10733
  /**
10710
10734
  * * Field Name: ContentSourceType
10711
10735
  * * Display Name: Content Source Type
10712
10736
  * * SQL Data Type: nvarchar(255)
10737
+ * * Default Value: null
10713
10738
  */
10714
10739
  get ContentSourceType(): string;
10715
10740
  /**
10716
10741
  * * Field Name: ContentFileType
10717
10742
  * * Display Name: Content File Type
10718
10743
  * * SQL Data Type: nvarchar(255)
10744
+ * * Default Value: null
10719
10745
  */
10720
10746
  get ContentFileType(): string;
10721
10747
  }
@@ -10974,6 +11000,38 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
10974
11000
  */
10975
11001
  get __mj_UpdatedAt(): Date;
10976
11002
  /**
11003
+ * * Field Name: UserRating
11004
+ * * Display Name: User Rating
11005
+ * * SQL Data Type: int
11006
+ * * Description: This column is used to capture user feedback as a rating scale. The scale ranges from 1 to 10, where 1 might represent thumbs down, and 10 might represent thumbs up or the highest rating in a star-based scale.
11007
+ */
11008
+ get UserRating(): number | null;
11009
+ set UserRating(value: number | null);
11010
+ /**
11011
+ * * Field Name: UserFeedback
11012
+ * * Display Name: User Feedback
11013
+ * * SQL Data Type: nvarchar(MAX)
11014
+ * * Description: This column is used to store user text feedback about a given AI response, describing what they liked or disliked.
11015
+ */
11016
+ get UserFeedback(): string | null;
11017
+ set UserFeedback(value: string | null);
11018
+ /**
11019
+ * * Field Name: ReflectionInsights
11020
+ * * Display Name: Reflection Insights
11021
+ * * SQL Data Type: nvarchar(MAX)
11022
+ * * Description: This column stores human or AI-generated reflections on how to improve future responses based on the user feedback and the AI output generated for prior messages in the conversation.
11023
+ */
11024
+ get ReflectionInsights(): string | null;
11025
+ set ReflectionInsights(value: string | null);
11026
+ /**
11027
+ * * Field Name: SummaryOfEarlierConversation
11028
+ * * Display Name: Summary Of Earlier Conversation
11029
+ * * SQL Data Type: nvarchar(MAX)
11030
+ * * 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.
11031
+ */
11032
+ get SummaryOfEarlierConversation(): string | null;
11033
+ set SummaryOfEarlierConversation(value: string | null);
11034
+ /**
10977
11035
  * * Field Name: Conversation
10978
11036
  * * Display Name: Conversation
10979
11037
  * * SQL Data Type: nvarchar(255)
@@ -11108,6 +11166,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
11108
11166
  * * Field Name: DataContext
11109
11167
  * * Display Name: Data Context
11110
11168
  * * SQL Data Type: nvarchar(255)
11169
+ * * Default Value: null
11111
11170
  */
11112
11171
  get DataContext(): string | null;
11113
11172
  }
@@ -11650,6 +11709,7 @@ export declare class DatasetItemEntity extends BaseEntity<DatasetItemEntityType>
11650
11709
  * * Field Name: Dataset
11651
11710
  * * Display Name: Dataset
11652
11711
  * * SQL Data Type: nvarchar(100)
11712
+ * * Default Value: null
11653
11713
  */
11654
11714
  get Dataset(): string;
11655
11715
  /**
@@ -14146,18 +14206,21 @@ export declare class EntityDocumentEntity extends BaseEntity<EntityDocumentEntit
14146
14206
  * * Field Name: VectorDatabase
14147
14207
  * * Display Name: Vector Database
14148
14208
  * * SQL Data Type: nvarchar(100)
14209
+ * * Default Value: null
14149
14210
  */
14150
14211
  get VectorDatabase(): string;
14151
14212
  /**
14152
14213
  * * Field Name: Template
14153
14214
  * * Display Name: Template
14154
14215
  * * SQL Data Type: nvarchar(255)
14216
+ * * Default Value: null
14155
14217
  */
14156
14218
  get Template(): string;
14157
14219
  /**
14158
14220
  * * Field Name: AIModel
14159
14221
  * * Display Name: AIModel
14160
14222
  * * SQL Data Type: nvarchar(50)
14223
+ * * Default Value: null
14161
14224
  */
14162
14225
  get AIModel(): string;
14163
14226
  }
@@ -14996,18 +15059,21 @@ export declare class EntityRecordDocumentEntity extends BaseEntity<EntityRecordD
14996
15059
  * * Field Name: Entity
14997
15060
  * * Display Name: Entity
14998
15061
  * * SQL Data Type: nvarchar(255)
15062
+ * * Default Value: null
14999
15063
  */
15000
15064
  get Entity(): string;
15001
15065
  /**
15002
15066
  * * Field Name: EntityDocument
15003
15067
  * * Display Name: Entity Document
15004
15068
  * * SQL Data Type: nvarchar(250)
15069
+ * * Default Value: null
15005
15070
  */
15006
15071
  get EntityDocument(): string;
15007
15072
  /**
15008
15073
  * * Field Name: VectorIndex
15009
15074
  * * Display Name: Vector Index
15010
15075
  * * SQL Data Type: nvarchar(255)
15076
+ * * Default Value: null
15011
15077
  */
15012
15078
  get VectorIndex(): string;
15013
15079
  }
@@ -16637,12 +16703,14 @@ export declare class ListCategoryEntity extends BaseEntity<ListCategoryEntityTyp
16637
16703
  * * Field Name: Parent
16638
16704
  * * Display Name: Parent
16639
16705
  * * SQL Data Type: nvarchar(100)
16706
+ * * Default Value: null
16640
16707
  */
16641
16708
  get Parent(): string | null;
16642
16709
  /**
16643
16710
  * * Field Name: User
16644
16711
  * * Display Name: User
16645
16712
  * * SQL Data Type: nvarchar(100)
16713
+ * * Default Value: null
16646
16714
  */
16647
16715
  get User(): string;
16648
16716
  }
@@ -16719,17 +16787,17 @@ export declare class ListDetailEntity extends BaseEntity<ListDetailEntityType> {
16719
16787
  * * Default Value: Pending
16720
16788
  * * Value List Type: List
16721
16789
  * * Possible Values
16790
+ * * Pending
16722
16791
  * * Active
16723
- * * Rejected
16724
16792
  * * Disabled
16793
+ * * Rejected
16725
16794
  * * Complete
16726
- * * Pending
16727
16795
  * * Error
16728
16796
  * * Other
16729
16797
  * * Description: Tracks the status of each individual list detail row to enable processing of various types and the use of the status column for filtering list detail rows within a list that are in a particular state.
16730
16798
  */
16731
- get Status(): 'Active' | 'Rejected' | 'Disabled' | 'Complete' | 'Pending' | 'Error' | 'Other';
16732
- set Status(value: 'Active' | 'Rejected' | 'Disabled' | 'Complete' | 'Pending' | 'Error' | 'Other');
16799
+ get Status(): 'Pending' | 'Active' | 'Disabled' | 'Rejected' | 'Complete' | 'Error' | 'Other';
16800
+ set Status(value: 'Pending' | 'Active' | 'Disabled' | 'Rejected' | 'Complete' | 'Error' | 'Other');
16733
16801
  /**
16734
16802
  * * Field Name: AdditionalData
16735
16803
  * * Display Name: Additional Data
@@ -16856,6 +16924,7 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
16856
16924
  * * Field Name: Category
16857
16925
  * * Display Name: Category
16858
16926
  * * SQL Data Type: nvarchar(100)
16927
+ * * Default Value: null
16859
16928
  */
16860
16929
  get Category(): string | null;
16861
16930
  }
@@ -17562,12 +17631,14 @@ export declare class QueryPermissionEntity extends BaseEntity<QueryPermissionEnt
17562
17631
  * * Field Name: Query
17563
17632
  * * Display Name: Query
17564
17633
  * * SQL Data Type: nvarchar(255)
17634
+ * * Default Value: null
17565
17635
  */
17566
17636
  get Query(): string;
17567
17637
  /**
17568
17638
  * * Field Name: Role
17569
17639
  * * Display Name: Role
17570
17640
  * * SQL Data Type: nvarchar(50)
17641
+ * * Default Value: null
17571
17642
  */
17572
17643
  get Role(): string;
17573
17644
  }
@@ -18884,6 +18955,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
18884
18955
  * * Field Name: ApprovedByUser
18885
18956
  * * Display Name: Approved By User
18886
18957
  * * SQL Data Type: nvarchar(100)
18958
+ * * Default Value: null
18887
18959
  */
18888
18960
  get ApprovedByUser(): string | null;
18889
18961
  }
@@ -19879,12 +19951,14 @@ export declare class ScheduledActionParamEntity extends BaseEntity<ScheduledActi
19879
19951
  * * Field Name: ScheduledAction
19880
19952
  * * Display Name: Scheduled Action
19881
19953
  * * SQL Data Type: nvarchar(255)
19954
+ * * Default Value: null
19882
19955
  */
19883
19956
  get ScheduledAction(): string;
19884
19957
  /**
19885
19958
  * * Field Name: ActionParam
19886
19959
  * * Display Name: Action Param
19887
19960
  * * SQL Data Type: nvarchar(255)
19961
+ * * Default Value: null
19888
19962
  */
19889
19963
  get ActionParam(): string;
19890
19964
  }
@@ -20052,12 +20126,14 @@ export declare class ScheduledActionEntity extends BaseEntity<ScheduledActionEnt
20052
20126
  * * Field Name: CreatedByUser
20053
20127
  * * Display Name: Created By User
20054
20128
  * * SQL Data Type: nvarchar(100)
20129
+ * * Default Value: null
20055
20130
  */
20056
20131
  get CreatedByUser(): string;
20057
20132
  /**
20058
20133
  * * Field Name: Action
20059
20134
  * * Display Name: Action
20060
20135
  * * SQL Data Type: nvarchar(425)
20136
+ * * Default Value: null
20061
20137
  */
20062
20138
  get Action(): string;
20063
20139
  }
@@ -21689,6 +21765,7 @@ export declare class UserViewCategoryEntity extends BaseEntity<UserViewCategoryE
21689
21765
  * * Field Name: Entity
21690
21766
  * * Display Name: Entity
21691
21767
  * * SQL Data Type: nvarchar(255)
21768
+ * * Default Value: null
21692
21769
  */
21693
21770
  get Entity(): string;
21694
21771
  /**