@microsoft/omnichannel-chat-sdk 1.3.1-main.2674439 → 1.3.1-main.9823ada

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
  ## [Unreleased]
5
+ ### Added
6
+ - Add ability to use `ChatSDK.getLiveChatTranscript()` to fetch live chat transcript from `liveChatContext`
7
+
8
+ ### Changed
9
+ - Update `ChatSDKErrors` to include standard ChatSDK errors to be more predictable
5
10
 
6
11
  ## [1.3.0] - 2023-04-05
7
12
  ### Added
@@ -25,6 +25,7 @@ import OmnichannelConfig from "./core/OmnichannelConfig";
25
25
  import OmnichannelMessage from "./core/messaging/OmnichannelMessage";
26
26
  import OnNewMessageOptionalParams from "./core/messaging/OnNewMessageOptionalParams";
27
27
  import StartChatOptionalParams from "./core/StartChatOptionalParams";
28
+ import GetLiveChatTranscriptOptionalParams from "./core/GetLiveChatTranscriptOptionalParams";
28
29
  declare class OmnichannelChatSDK {
29
30
  private debug;
30
31
  runtimeId: string;
@@ -86,7 +87,7 @@ declare class OmnichannelChatSDK {
86
87
  uploadFileAttachment(fileInfo: IFileInfo | File): Promise<IRawMessage | OmnichannelMessage>;
87
88
  downloadFileAttachment(fileMetadata: FileMetadata | IFileMetadata): Promise<Blob>;
88
89
  emailLiveChatTranscript(body: ChatTranscriptBody): Promise<any>;
89
- getLiveChatTranscript(): Promise<any>;
90
+ getLiveChatTranscript(optionalParams?: GetLiveChatTranscriptOptionalParams): Promise<any>;
90
91
  createChatAdapter(optionalParams?: ChatAdapterOptionalParams): Promise<unknown>;
91
92
  getVoiceVideoCalling(params?: any): Promise<any>;
92
93
  getPostChatSurveyContext(): Promise<any>;