@uptiqai/widgets-sdk 1.336.0 → 1.338.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.
package/dist/index.d.ts CHANGED
@@ -180,6 +180,7 @@ export declare type Conversation = {
180
180
  conversationModelName?: string;
181
181
  effort?: QueryRunOptions['effort'];
182
182
  isModelDeprecated?: boolean;
183
+ version?: ConversationStorageVersion;
183
184
  createdAt: Date;
184
185
  updatedAt: Date;
185
186
  createdBy: string;
@@ -222,6 +223,11 @@ export declare type ConversationListItem = {
222
223
  updatedAt: Date;
223
224
  };
224
225
 
226
+ declare enum ConversationStorageVersion {
227
+ V1 = "v1",
228
+ V2 = "v2"
229
+ }
230
+
225
231
  export declare type ConversationSummaryEvent = {
226
232
  conversationId: string;
227
233
  status: 'Completed' | 'Failed';
@@ -652,6 +658,7 @@ declare type WidgetConfig = {
652
658
  accountId?: string;
653
659
  variables?: Record<string, string>;
654
660
  enableDeprecatedModelMigration?: boolean;
661
+ enableLegacyConversationMigration?: boolean;
655
662
  };
656
663
 
657
664
  export declare type WidgetsSdk = {