@epam/ai-dial-overlay 0.31.0-rc.65 → 0.31.0-rc.66

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/index.esm.js CHANGED
@@ -380,6 +380,8 @@ class ChatOverlay {
380
380
  }
381
381
  /**
382
382
  * Create local conversation which will be not visible before first assistant message
383
+ *
384
+ * Note: after first assistant message local conversation will be saved in `newConversationsFolderId` option path, or in user Root if it's not defined or null
383
385
  * @returns Returns created local conversation info
384
386
  */
385
387
  createLocalConversation() {
@@ -783,7 +785,7 @@ class ChatOverlayManager {
783
785
  return overlay.deleteConversation(conversationId);
784
786
  });
785
787
  }
786
- replayConversation(overlayId, conversationId) {
788
+ createPlaybackConversation(overlayId, conversationId) {
787
789
  return __awaiter(this, void 0, void 0, function* () {
788
790
  const { overlay } = this.getOverlay(overlayId);
789
791
  return overlay.createPlaybackConversation(conversationId);
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@epam/ai-dial-overlay",
3
3
  "description": "Package for opening dial in overlay",
4
4
  "homepage": "https://epam-rail.com",
5
- "version": "0.31.0-rc.65",
5
+ "version": "0.31.0-rc.66",
6
6
  "dependencies": {
7
- "@epam/ai-dial-shared": "0.31.0-rc.65"
7
+ "@epam/ai-dial-shared": "0.31.0-rc.66"
8
8
  },
9
9
  "type": "module",
10
10
  "bugs": {
@@ -143,6 +143,8 @@ export declare class ChatOverlay {
143
143
  createConversation(parentPath?: string | null, local?: boolean | null): Promise<CreateConversationResponse>;
144
144
  /**
145
145
  * Create local conversation which will be not visible before first assistant message
146
+ *
147
+ * Note: after first assistant message local conversation will be saved in `newConversationsFolderId` option path, or in user Root if it's not defined or null
146
148
  * @returns Returns created local conversation info
147
149
  */
148
150
  createLocalConversation(): Promise<CreateLocalConversationResponse>;
@@ -94,7 +94,7 @@ export declare class ChatOverlayManager {
94
94
  renameConversation(overlayId: string, conversationId: string, newName: string): Promise<import("@epam/ai-dial-shared").RenameConversationResponse>;
95
95
  setOverlayOptions(overlayId: string, options: ChatOverlayOptions): Promise<void>;
96
96
  deleteConversation(overlayId: string, conversationId: string): Promise<void>;
97
- replayConversation(overlayId: string, conversationId: string): Promise<import("@epam/ai-dial-shared").CreatePlaybackConversationResponse>;
97
+ createPlaybackConversation(overlayId: string, conversationId: string): Promise<import("@epam/ai-dial-shared").CreatePlaybackConversationResponse>;
98
98
  exportConversation(overlayId: string, conversationId: string): Promise<import("@epam/ai-dial-shared").ExportConversationResponse>;
99
99
  importConversation(overlayId: string, importedConversation: LatestExportConversationsFormat): Promise<import("@epam/ai-dial-shared").ImportConversationResponse>;
100
100
  subscribe(overlayId: string, eventType: string, callback: (payload?: unknown) => void): () => void;