@microsoft/omnichannel-chat-sdk 1.10.15-main.1a10f91 → 1.10.15-main.c99012c
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/lib/OmnichannelChatSDK.d.ts +2 -0
- package/lib/OmnichannelChatSDK.js +154 -105
- package/lib/OmnichannelChatSDK.js.map +1 -1
- package/lib/core/ChatSDKConfig.d.ts +4 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/validators/SDKConfigValidators.js +3 -0
- package/lib/validators/SDKConfigValidators.js.map +1 -1
- package/package.json +1 -1
@@ -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>;
|