@microsoft/omnichannel-chat-sdk 1.10.15-main.4f0c880 → 1.10.15

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.
@@ -29,6 +29,7 @@ import OmnichannelConfig from "./core/OmnichannelConfig";
29
29
  import OnNewMessageOptionalParams from "./core/messaging/OnNewMessageOptionalParams";
30
30
  import PostChatContext from "./core/PostChatContext";
31
31
  import StartChatOptionalParams from "./core/StartChatOptionalParams";
32
+ import FetchChatTokenResponse from "@microsoft/ocsdk/lib/Model/FetchChatTokenResponse";
32
33
  declare class OmnichannelChatSDK {
33
34
  private debug;
34
35
  runtimeId: string;
@@ -102,6 +103,7 @@ declare class OmnichannelChatSDK {
102
103
  getPreChatSurvey(parse?: boolean): Promise<GetPreChatSurveyResponse>;
103
104
  getLiveChatConfig(optionalParams?: GetLiveChatConfigOptionalParams): Promise<ChatConfig>;
104
105
  getChatToken(cached?: boolean, optionalParams?: GetChatTokenOptionalParams): Promise<IChatToken>;
106
+ setChatToken(chatToken: FetchChatTokenResponse): void;
105
107
  getCallingToken(): Promise<string>;
106
108
  private recordMessages;
107
109
  getMessages(): Promise<GetMessagesResponse>;