@microsoft/omnichannel-chat-widget 1.7.8-main.d71f599 → 1.7.8
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/cjs/common/Constants.js +67 -20
- package/lib/cjs/common/KeyCodes.js +6 -1
- package/lib/cjs/common/contextDataStore/DataStoreManager.js +6 -1
- package/lib/cjs/common/facades/FacadeChatSDK.js +391 -305
- package/lib/cjs/common/storage/default/defaultCacheManager.js +6 -3
- package/lib/cjs/common/telemetry/AppInsightsEvents.js +31 -0
- package/lib/cjs/common/telemetry/ScenarioMarker.js +66 -0
- package/lib/cjs/common/telemetry/TelemetryConstants.js +151 -129
- package/lib/cjs/common/telemetry/TelemetryHelper.js +281 -250
- package/lib/cjs/common/telemetry/TelemetryManager.js +32 -12
- package/lib/cjs/common/telemetry/defaultConfigs/defaultAppInsightsConfig.js +11 -0
- package/lib/cjs/common/telemetry/interfaces/IAppInsightsConfig.js +1 -0
- package/lib/cjs/common/telemetry/loggers/appInsightsLogger.js +149 -0
- package/lib/cjs/components/chatbuttonstateful/ChatButtonStateful.js +13 -9
- package/lib/cjs/components/emailtranscriptpanestateful/EmailTranscriptPaneStateful.js +3 -2
- package/lib/cjs/components/footerstateful/FooterStateful.js +11 -6
- package/lib/cjs/components/headerstateful/HeaderStateful.js +18 -6
- package/lib/cjs/components/livechatwidget/common/ActivityStreamHandler.js +32 -19
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +70 -58
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/DefaultActivitySubscriber.js +17 -8
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/HiddenAdaptiveCardActivitySubscriber.js +65 -52
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/PauseActivitySubscriber.js +31 -18
- package/lib/cjs/components/livechatwidget/common/ChatAdapterShim.js +14 -6
- package/lib/cjs/components/livechatwidget/common/Deferred.js +14 -6
- package/lib/cjs/components/livechatwidget/common/registerTelemetryLoggers.js +3 -1
- package/lib/cjs/components/livechatwidget/common/renderSurveyHelpers.js +6 -3
- package/lib/cjs/components/livechatwidget/common/setPostChatContextAndLoadSurvey.js +7 -2
- package/lib/cjs/components/livechatwidget/common/startChat.js +43 -17
- package/lib/cjs/components/livechatwidget/common/startChatErrorHandler.js +5 -4
- package/lib/cjs/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +25 -20
- package/lib/cjs/components/ooohpanestateful/OOOHPaneStateful.js +6 -4
- package/lib/cjs/components/postchatsurveypanestateful/PostChatSurveyPaneStateful.js +9 -4
- package/lib/cjs/components/prechatsurveypanestateful/PreChatSurveyPaneStateful.js +9 -6
- package/lib/cjs/components/proactivechatpanestateful/ProactiveChatPaneStateful.js +8 -6
- package/lib/cjs/components/webchatcontainerstateful/WebChatContainerStateful.js +7 -1
- package/lib/cjs/components/webchatcontainerstateful/common/DemoChatAdapter.js +88 -65
- package/lib/cjs/components/webchatcontainerstateful/common/DemoChatSDK.js +26 -7
- package/lib/cjs/components/webchatcontainerstateful/common/DesignerChatAdapter.js +49 -26
- package/lib/cjs/components/webchatcontainerstateful/common/DesignerChatSDK.js +57 -35
- package/lib/cjs/components/webchatcontainerstateful/common/mockadapter.js +62 -52
- package/lib/cjs/components/webchatcontainerstateful/common/mockchatsdk.js +95 -61
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/BotMagicCodeStore.js +6 -1
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/WebChatStoreLoader.js +6 -1
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/markdownrenderers/HyperlinkTextOverrideRenderer.js +53 -39
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/attachmentUploadValidatorMiddleware.js +2 -0
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/notification/NotificationHandler.js +88 -60
- package/lib/cjs/contexts/common/LiveChatWidgetContextInitialState.js +5 -6
- package/lib/cjs/controller/componentController.js +3 -2
- package/lib/cjs/firstresponselatency/FirstResponseLatencyTracker.js +138 -116
- package/lib/cjs/plugins/createChatTranscript.js +88 -58
- package/lib/cjs/plugins/newMessageEventHandler.js +13 -10
- package/lib/esm/common/Constants.js +65 -19
- package/lib/esm/common/KeyCodes.js +6 -1
- package/lib/esm/common/contextDataStore/DataStoreManager.js +6 -1
- package/lib/esm/common/facades/FacadeChatSDK.js +391 -305
- package/lib/esm/common/storage/default/defaultCacheManager.js +6 -1
- package/lib/esm/common/telemetry/AppInsightsEvents.js +24 -0
- package/lib/esm/common/telemetry/ScenarioMarker.js +59 -0
- package/lib/esm/common/telemetry/TelemetryConstants.js +151 -129
- package/lib/esm/common/telemetry/TelemetryHelper.js +281 -250
- package/lib/esm/common/telemetry/TelemetryManager.js +32 -12
- package/lib/esm/common/telemetry/defaultConfigs/defaultAppInsightsConfig.js +4 -0
- package/lib/esm/common/telemetry/interfaces/IAppInsightsConfig.js +1 -0
- package/lib/esm/common/telemetry/loggers/appInsightsLogger.js +139 -0
- package/lib/esm/components/chatbuttonstateful/ChatButtonStateful.js +13 -9
- package/lib/esm/components/emailtranscriptpanestateful/EmailTranscriptPaneStateful.js +3 -2
- package/lib/esm/components/footerstateful/FooterStateful.js +11 -6
- package/lib/esm/components/headerstateful/HeaderStateful.js +18 -6
- package/lib/esm/components/livechatwidget/common/ActivityStreamHandler.js +32 -19
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +70 -58
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/DefaultActivitySubscriber.js +17 -8
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/HiddenAdaptiveCardActivitySubscriber.js +65 -52
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/PauseActivitySubscriber.js +31 -18
- package/lib/esm/components/livechatwidget/common/ChatAdapterShim.js +14 -6
- package/lib/esm/components/livechatwidget/common/Deferred.js +14 -6
- package/lib/esm/components/livechatwidget/common/registerTelemetryLoggers.js +3 -1
- package/lib/esm/components/livechatwidget/common/renderSurveyHelpers.js +6 -3
- package/lib/esm/components/livechatwidget/common/setPostChatContextAndLoadSurvey.js +7 -2
- package/lib/esm/components/livechatwidget/common/startChat.js +43 -17
- package/lib/esm/components/livechatwidget/common/startChatErrorHandler.js +5 -4
- package/lib/esm/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +25 -20
- package/lib/esm/components/ooohpanestateful/OOOHPaneStateful.js +6 -4
- package/lib/esm/components/postchatsurveypanestateful/PostChatSurveyPaneStateful.js +9 -4
- package/lib/esm/components/prechatsurveypanestateful/PreChatSurveyPaneStateful.js +9 -6
- package/lib/esm/components/proactivechatpanestateful/ProactiveChatPaneStateful.js +8 -6
- package/lib/esm/components/webchatcontainerstateful/WebChatContainerStateful.js +7 -1
- package/lib/esm/components/webchatcontainerstateful/common/DemoChatAdapter.js +88 -65
- package/lib/esm/components/webchatcontainerstateful/common/DemoChatSDK.js +26 -7
- package/lib/esm/components/webchatcontainerstateful/common/DesignerChatAdapter.js +49 -26
- package/lib/esm/components/webchatcontainerstateful/common/DesignerChatSDK.js +57 -35
- package/lib/esm/components/webchatcontainerstateful/common/mockadapter.js +63 -52
- package/lib/esm/components/webchatcontainerstateful/common/mockchatsdk.js +95 -61
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/BotMagicCodeStore.js +6 -1
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/WebChatStoreLoader.js +6 -1
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/markdownrenderers/HyperlinkTextOverrideRenderer.js +53 -39
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/attachmentUploadValidatorMiddleware.js +2 -0
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/notification/NotificationHandler.js +88 -60
- package/lib/esm/contexts/common/LiveChatWidgetContextInitialState.js +5 -6
- package/lib/esm/controller/componentController.js +3 -2
- package/lib/esm/firstresponselatency/FirstResponseLatencyTracker.js +138 -116
- package/lib/esm/plugins/createChatTranscript.js +88 -58
- package/lib/esm/plugins/newMessageEventHandler.js +13 -10
- package/lib/types/assets/Audios.d.ts +1 -1
- package/lib/types/assets/Icons.d.ts +16 -16
- package/lib/types/common/Constants.d.ts +283 -277
- package/lib/types/common/KeyCodes.d.ts +5 -5
- package/lib/types/common/contextDataStore/DataStoreManager.d.ts +4 -4
- package/lib/types/common/facades/FacadeChatSDK.d.ts +75 -75
- package/lib/types/common/facades/types/IFacadeChatSDKInput.d.ts +13 -13
- package/lib/types/common/interfaces/IContextDataStore.d.ts +14 -14
- package/lib/types/common/interfaces/ITimer.d.ts +3 -3
- package/lib/types/common/storage/default/defaultCacheManager.d.ts +5 -5
- package/lib/types/common/storage/default/defaultClientDataStoreProvider.d.ts +4 -4
- package/lib/types/common/storage/default/defaultInMemoryDataStore.d.ts +6 -6
- package/lib/types/common/telemetry/AppInsightsEvents.d.ts +1 -0
- package/lib/types/common/telemetry/ScenarioMarker.d.ts +19 -0
- package/lib/types/common/telemetry/TelemetryConstants.d.ts +272 -264
- package/lib/types/common/telemetry/TelemetryHelper.d.ts +48 -43
- package/lib/types/common/telemetry/TelemetryManager.d.ts +12 -12
- package/lib/types/common/telemetry/defaultConfigs/defaultAppInsightsConfig.d.ts +2 -0
- package/lib/types/common/telemetry/defaultConfigs/defaultAriaConfig.d.ts +2 -2
- package/lib/types/common/telemetry/defaultConfigs/defaultTelemetryConfiguration.d.ts +2 -2
- package/lib/types/common/telemetry/defaultConfigs/defaultTelemetryInternalData.d.ts +2 -2
- package/lib/types/common/telemetry/definitions/Contracts.d.ts +77 -77
- package/lib/types/common/telemetry/definitions/Payload.d.ts +105 -105
- package/lib/types/common/telemetry/interfaces/IAppInsightsConfig.d.ts +4 -0
- package/lib/types/common/telemetry/interfaces/IAriaConfigurations.d.ts +18 -18
- package/lib/types/common/telemetry/interfaces/IChatSDKLogger.d.ts +6 -5
- package/lib/types/common/telemetry/interfaces/IInternalTelemetryData.d.ts +23 -21
- package/lib/types/common/telemetry/interfaces/ITelemetryConfig.d.ts +48 -48
- package/lib/types/common/telemetry/interfaces/ITelemetryEvents.d.ts +7 -7
- package/lib/types/common/telemetry/loggers/appInsightsLogger.d.ts +10 -0
- package/lib/types/common/telemetry/loggers/ariaTelemetryLogger.d.ts +2 -2
- package/lib/types/common/telemetry/loggers/consoleLogger.d.ts +2 -2
- package/lib/types/common/utils.d.ts +49 -49
- package/lib/types/components/callingcontainerstateful/CallingContainerStateful.d.ts +4 -3
- package/lib/types/components/callingcontainerstateful/ICallingContainerStatefulProps.d.ts +4 -4
- package/lib/types/components/chatbuttonstateful/ChatButtonStateful.d.ts +4 -3
- package/lib/types/components/chatbuttonstateful/common/styleProps/defaultOutOfOfficeChatButtonStyleProps.d.ts +2 -2
- package/lib/types/components/chatbuttonstateful/interfaces/IChatButtonStatefulParams.d.ts +17 -17
- package/lib/types/components/confirmationpanestateful/ConfirmationPaneStateful.d.ts +4 -3
- package/lib/types/components/confirmationpanestateful/common/defaultProps/defaultConfirmationPaneLocalizedTexts.d.ts +2 -2
- package/lib/types/components/confirmationpanestateful/interfaces/IConfirmationPaneInputs.d.ts +4 -4
- package/lib/types/components/confirmationpanestateful/interfaces/IConfirmationPaneLocalizedText.d.ts +10 -10
- package/lib/types/components/confirmationpanestateful/interfaces/IConfirmationPaneStatefulParams.d.ts +13 -13
- package/lib/types/components/confirmationpanestateful/interfaces/IConfirmationPaneStatefulProps.d.ts +8 -8
- package/lib/types/components/dimlayer/DimLayer.d.ts +6 -5
- package/lib/types/components/draggable/DraggableChatWidget.d.ts +9 -9
- package/lib/types/components/draggable/DraggableEventEmitter.d.ts +27 -27
- package/lib/types/components/draggable/DraggableEventNames.d.ts +6 -6
- package/lib/types/components/draggable/DraggableEventReceiver.d.ts +27 -27
- package/lib/types/components/draggable/IDraggableElementPosition.d.ts +5 -5
- package/lib/types/components/draggable/IDraggableElementPositionDelta.d.ts +5 -5
- package/lib/types/components/draggable/IDraggableEvent.d.ts +12 -12
- package/lib/types/components/emailtranscriptpanestateful/EmailTranscriptPaneStateful.d.ts +4 -3
- package/lib/types/components/emailtranscriptpanestateful/interfaces/IChatTranscriptBody.d.ts +5 -5
- package/lib/types/components/emailtranscriptpanestateful/interfaces/IEmailTranscriptPaneProps.d.ts +11 -11
- package/lib/types/components/footerstateful/FooterStateful.d.ts +3 -2
- package/lib/types/components/footerstateful/audionotificationstateful/AudioNotificationStateful.d.ts +4 -3
- package/lib/types/components/footerstateful/audionotificationstateful/interfaces/IAudioNotificationProps.d.ts +3 -3
- package/lib/types/components/footerstateful/audionotificationstateful/interfaces/IAudioNotificationStatefulParams.d.ts +4 -4
- package/lib/types/components/footerstateful/downloadtranscriptstateful/DownloadTranscriptStateful.d.ts +4 -4
- package/lib/types/components/footerstateful/downloadtranscriptstateful/common/defaultLibraryScripts.d.ts +23 -23
- package/lib/types/components/footerstateful/downloadtranscriptstateful/interfaces/IDownloadTranscriptProps.d.ts +19 -19
- package/lib/types/components/footerstateful/downloadtranscriptstateful/interfaces/IWebChatTranscriptConfig.d.ts +14 -14
- package/lib/types/components/footerstateful/downloadtranscriptstateful/interfaces/TranscriptHtmlScripts.d.ts +33 -33
- package/lib/types/components/headerstateful/HeaderStateful.d.ts +4 -3
- package/lib/types/components/headerstateful/common/styleProps/defaultOutOfOfficeHeaderStyleProps.d.ts +2 -2
- package/lib/types/components/headerstateful/interfaces/IHeaderStatefulParams.d.ts +33 -33
- package/lib/types/components/livechatwidget/LiveChatWidget.d.ts +4 -3
- package/lib/types/components/livechatwidget/common/ActivityStreamHandler.d.ts +14 -14
- package/lib/types/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.d.ts +12 -12
- package/lib/types/components/livechatwidget/common/ActivitySubscriber/DefaultActivitySubscriber.d.ts +5 -5
- package/lib/types/components/livechatwidget/common/ActivitySubscriber/HiddenAdaptiveCardActivitySubscriber.d.ts +7 -7
- package/lib/types/components/livechatwidget/common/ActivitySubscriber/IActivitySubscriber.d.ts +6 -6
- package/lib/types/components/livechatwidget/common/ActivitySubscriber/PauseActivitySubscriber.d.ts +7 -7
- package/lib/types/components/livechatwidget/common/ChatAdapterShim.d.ts +7 -7
- package/lib/types/components/livechatwidget/common/Deferred.d.ts +9 -9
- package/lib/types/components/livechatwidget/common/authHelper.d.ts +18 -18
- package/lib/types/components/livechatwidget/common/chatDisconnectHelper.d.ts +4 -4
- package/lib/types/components/livechatwidget/common/createAdapter.d.ts +3 -3
- package/lib/types/components/livechatwidget/common/createDownloadTranscriptProps.d.ts +25 -25
- package/lib/types/components/livechatwidget/common/createFooter.d.ts +4 -3
- package/lib/types/components/livechatwidget/common/createInternetConnectionChangeHandler.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/createMarkdown.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/defaultProps/defaultScrollBarProps.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/defaultStyles/defaultLiveChatWidgetGeneralStyles.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/disposeTelemetryLoggers.d.ts +1 -1
- package/lib/types/components/livechatwidget/common/endChat.d.ts +13 -13
- package/lib/types/components/livechatwidget/common/getGeneralStylesForButton.d.ts +3 -3
- package/lib/types/components/livechatwidget/common/getMockChatSDKIfApplicable.d.ts +1 -1
- package/lib/types/components/livechatwidget/common/helpers/markdownHelper.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/initCallingSdk.d.ts +2 -2
- package/lib/types/components/livechatwidget/common/initConfirmationPropsComposer.d.ts +3 -3
- package/lib/types/components/livechatwidget/common/initWebChatComposer.d.ts +7 -7
- package/lib/types/components/livechatwidget/common/liveChatConfigUtils.d.ts +3 -3
- package/lib/types/components/livechatwidget/common/overridePropsOnMockIfApplicable.d.ts +3 -3
- package/lib/types/components/livechatwidget/common/persistentChatHelper.d.ts +1 -1
- package/lib/types/components/livechatwidget/common/reconnectChatHelper.d.ts +12 -12
- package/lib/types/components/livechatwidget/common/registerTelemetryLoggers.d.ts +4 -4
- package/lib/types/components/livechatwidget/common/renderSurveyHelpers.d.ts +10 -10
- package/lib/types/components/livechatwidget/common/setPostChatContextAndLoadSurvey.d.ts +4 -4
- package/lib/types/components/livechatwidget/common/shareObservable.d.ts +1 -1
- package/lib/types/components/livechatwidget/common/startChat.d.ts +11 -11
- package/lib/types/components/livechatwidget/common/startChatErrorHandler.d.ts +6 -6
- package/lib/types/components/livechatwidget/common/startProactiveChat.d.ts +4 -4
- package/lib/types/components/livechatwidget/common/updateSessionDataForTelemetry.d.ts +4 -4
- package/lib/types/components/livechatwidget/interfaces/IBotAuthActivitySubscriberOptionalParams.d.ts +4 -4
- package/lib/types/components/livechatwidget/interfaces/IDraggableChatWidgetProps.d.ts +10 -10
- package/lib/types/components/livechatwidget/interfaces/IFeatureConfigProps.d.ts +3 -3
- package/lib/types/components/livechatwidget/interfaces/ILiveChatWidgetComponentOverrides.d.ts +17 -17
- package/lib/types/components/livechatwidget/interfaces/ILiveChatWidgetControlProps.d.ts +21 -21
- package/lib/types/components/livechatwidget/interfaces/ILiveChatWidgetProps.d.ts +70 -68
- package/lib/types/components/livechatwidget/interfaces/ILiveChatWidgetStyleProps.d.ts +5 -5
- package/lib/types/components/livechatwidget/interfaces/IMockProps.d.ts +8 -8
- package/lib/types/components/livechatwidget/interfaces/IScrollBarProps.d.ts +22 -22
- package/lib/types/components/livechatwidget/interfaces/ISendBox.d.ts +12 -12
- package/lib/types/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.d.ts +3 -3
- package/lib/types/components/loadingpanestateful/LoadingPaneStateful.d.ts +3 -2
- package/lib/types/components/loadingpanestateful/common/defaultStyleProps/defaultgeneralLoadingPaneStyleProps.d.ts +2 -2
- package/lib/types/components/loadingpanestateful/common/errorUIStyleProps/errorUILoadingPaneStyleProps.d.ts +2 -2
- package/lib/types/components/notificationpanestateful/NotificationPaneStateful.d.ts +4 -3
- package/lib/types/components/notificationpanestateful/defaultProps/defaultChatDisconnectControlProps.d.ts +2 -2
- package/lib/types/components/notificationpanestateful/defaultProps/defaultChatDisconnectStyleProps.d.ts +2 -2
- package/lib/types/components/notificationpanestateful/interfaces/INotificationPaneStatefulProps.d.ts +13 -13
- package/lib/types/components/ooohpanestateful/OOOHPaneStateful.d.ts +4 -3
- package/lib/types/components/ooohpanestateful/common/defaultStyleProps/defaultgeneralOOOHPaneStyleProps.d.ts +2 -2
- package/lib/types/components/postchatloadingpanestateful/PostChatLoadingPaneStateful.d.ts +4 -3
- package/lib/types/components/postchatloadingpanestateful/common/defaultgeneralPostChatLoadingPaneStyleProps.d.ts +2 -2
- package/lib/types/components/postchatsurveypanestateful/PostChatSurveyPaneStateful.d.ts +4 -3
- package/lib/types/components/postchatsurveypanestateful/common/defaultStyleProps/defaultgeneralPostChatSurveyPaneStyleProps.d.ts +2 -2
- package/lib/types/components/postchatsurveypanestateful/common/isValidSurveyUrl.d.ts +2 -2
- package/lib/types/components/postchatsurveypanestateful/enums/CustomerVoiceEvents.d.ts +5 -5
- package/lib/types/components/postchatsurveypanestateful/enums/PostChatSurveyMode.d.ts +4 -4
- package/lib/types/components/postchatsurveypanestateful/interfaces/IPostChatSurveyPaneStatefulProps.d.ts +5 -5
- package/lib/types/components/prechatsurveypanestateful/PreChatSurveyPaneStateful.d.ts +4 -3
- package/lib/types/components/prechatsurveypanestateful/common/defaultProps/defaultPreChatSurveyLocalizedTexts.d.ts +2 -2
- package/lib/types/components/prechatsurveypanestateful/common/defaultStyles/defaultGeneralPreChatSurveyPaneStyleProps.d.ts +2 -2
- package/lib/types/components/prechatsurveypanestateful/interfaces/IPreChatSurveyPaneStatefulParams.d.ts +5 -5
- package/lib/types/components/proactivechatpanestateful/ProactiveChatPaneStateful.d.ts +3 -2
- package/lib/types/components/proactivechatpanestateful/interfaces/IProactiveChatNotificationConfig.d.ts +3 -3
- package/lib/types/components/proactivechatpanestateful/interfaces/IProactiveChatPaneStatefulProps.d.ts +4 -4
- package/lib/types/components/reconnectchatpanestateful/ReconnectChatPaneStateful.d.ts +4 -3
- package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatContext.d.ts +4 -4
- package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatOptionalParams.d.ts +3 -3
- package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatPaneStatefulParams.d.ts +5 -5
- package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatPaneStatefulProps.d.ts +5 -5
- package/lib/types/components/startchaterrorpanestateful/StartChatErrorPaneStateful.d.ts +4 -3
- package/lib/types/components/startchaterrorpanestateful/common/defaultStartChatErrorPaneGeneralStyleProps.d.ts +2 -2
- package/lib/types/components/startchaterrorpanestateful/common/defaultStartChatErrorPaneIconImageProps.d.ts +2 -2
- package/lib/types/components/startchaterrorpanestateful/common/defaultStartChatErrorPaneIconStyleProps.d.ts +2 -2
- package/lib/types/components/startchaterrorpanestateful/common/defaultStartChatErrorPaneSubtitleStyleProps.d.ts +2 -2
- package/lib/types/components/startchaterrorpanestateful/common/defaultStartChatErrorPaneTitleStyleProps.d.ts +2 -2
- package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneClassNames.d.ts +5 -5
- package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneComponentOverrides.d.ts +6 -6
- package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneControlProps.d.ts +14 -14
- package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneProps.d.ts +8 -8
- package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneStyleProps.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/WebChatContainerStateful.d.ts +4 -3
- package/lib/types/components/webchatcontainerstateful/common/DemoChatAdapter.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/common/DemoChatSDK.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/common/DesignerChatAdapter.d.ts +8 -8
- package/lib/types/components/webchatcontainerstateful/common/DesignerChatSDK.d.ts +31 -31
- package/lib/types/components/webchatcontainerstateful/common/MockBotCardCommandType.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/common/MockBotCommand.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/common/defaultProps/defaultAttachmentProps.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultProps/defaultMarkdownLocalizedTexts.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultProps/defaultMiddlewareLocalizedTexts.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultProps/defaultWebChatContainerStatefulProps.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultProps/defaultWebChatStatefulProps.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultStyles/defaultAdaptiveCardStyles.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultStyles/defaultWebChatStatefulContainerStyles.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/defaultStyles/defaultWebChatStyles.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/common/mockadapter.d.ts +14 -14
- package/lib/types/components/webchatcontainerstateful/common/mockchatsdk.d.ts +45 -45
- package/lib/types/components/webchatcontainerstateful/common/utils/BrowserInfo.d.ts +5 -5
- package/lib/types/components/webchatcontainerstateful/common/utils/FileAttachmentIconManager.d.ts +7 -7
- package/lib/types/components/webchatcontainerstateful/common/utils/attachmentActivityUtils.d.ts +9 -9
- package/lib/types/components/webchatcontainerstateful/common/utils/chatAdapterUtils.d.ts +9 -9
- package/lib/types/components/webchatcontainerstateful/common/utils/isMaskingFromCustomer.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/interfaces/IAdaptiveCardStyles.d.ts +8 -8
- package/lib/types/components/webchatcontainerstateful/interfaces/IAttachmentProps.d.ts +5 -5
- package/lib/types/components/webchatcontainerstateful/interfaces/IBotAuthConfig.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/interfaces/IBotMagicCodeConfig.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/interfaces/IDataMaskingInfo.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/interfaces/IDataMaskingRule.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/interfaces/IDataMaskingSetting.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/interfaces/IRenderingMiddlewareProps.d.ts +37 -37
- package/lib/types/components/webchatcontainerstateful/interfaces/IWebChatAction.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/interfaces/IWebChatContainerStatefulProps.d.ts +28 -28
- package/lib/types/components/webchatcontainerstateful/interfaces/IWebChatProps.d.ts +39 -39
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/BotMagicCodeStore.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/WebChatStoreLoader.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/BrowserVendor.d.ts +9 -9
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/DirectLineActivityType.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/DirectLineSenderRole.d.ts +5 -5
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/MessageType.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/NotificationLevel.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/NotificationScenarios.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/SendStatus.d.ts +5 -5
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/WebChatActionType.d.ts +24 -24
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/markdownrenderers/HyperlinkTextOverrideRenderer.d.ts +9 -9
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/adaptermiddlewares/formatTagsEgressMiddleware.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/adaptermiddlewares/formatTagsIngressMiddleware.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/activityMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/activityStatusMiddleware.d.ts +1 -1
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachmentMiddleware.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/Attachment.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/AttachmentContent.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/AttachmentIcon.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/DownloadBlockedAttachment.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/FileScanStatus.d.ts +6 -6
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/MaliciousAttachment.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/ScanInProgressAttachment.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/attachments/Spinner.d.ts +3 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/avatarMiddleware.d.ts +8 -8
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/cardActionMiddleware.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAttachmentContentStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAttachmentDividerStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAttachmentDownloadIconStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAttachmentFileNameStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAttachmentSizeStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAtttachmentAdaptiveCardStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAtttachmentIconStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAtttachmentStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAvatarStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultAvatarTextStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultReceivedMessageAnchorStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultSentMessageAnchorStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultSystemMessageBoxStyles.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultSystemMessageStyles.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTimestampContentStyles.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTimestampFailedStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTimestampRetryStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTypingIndicatorBubbleStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTypingIndicatorContainerStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultTypingIndicatorMessageStyles.d.ts +1 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultUserMessageBoxStyles.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/defaultStyles/defaultUserMessageStyles.d.ts +3 -3
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/groupActivitiesMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/index.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/messageSequenceIdOverrideMiddleware.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/messageTimestampMiddleware.d.ts +4 -4
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/timestamps/DeliveredTimestamp.d.ts +2 -1
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/timestamps/NotDeliveredTimestamp.d.ts +2 -1
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/timestamps/SendingTimestamp.d.ts +2 -1
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/toastMiddleware.d.ts +2 -2
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/renderingmiddlewares/typingIndicatorMiddleware.d.ts +7 -6
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/attachmentProcessingMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/attachmentUploadValidatorMiddleware.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/channelDataMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/conversationEndMiddleware.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/dataMaskingMiddleware.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/gifUploadMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/htmlPlayerMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/htmlTextMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/maxMessageSizeValidator.d.ts +11 -11
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/preProcessingMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/sanitizationMiddleware.d.ts +10 -10
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/notification/NotificationHandler.d.ts +12 -12
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/webchattelemetry/WebChatLogger.d.ts +1 -1
- package/lib/types/contexts/ChatAdapterStore.d.ts +1 -2
- package/lib/types/contexts/ChatContextStore.d.ts +1 -1
- package/lib/types/contexts/ChatSDKStore.d.ts +1 -1
- package/lib/types/contexts/FacadeChatSDKStore.d.ts +1 -1
- package/lib/types/contexts/common/ConversationState.d.ts +13 -13
- package/lib/types/contexts/common/ILiveChatWidgetAction.d.ts +5 -5
- package/lib/types/contexts/common/ILiveChatWidgetContext.d.ts +63 -63
- package/lib/types/contexts/common/ILiveChatWidgetLocalizedTexts.d.ts +40 -40
- package/lib/types/contexts/common/LiveChatWidgetActionType.d.ts +48 -48
- package/lib/types/contexts/common/LiveChatWidgetContextInitialState.d.ts +3 -3
- package/lib/types/contexts/common/StartChatFailureType.d.ts +5 -5
- package/lib/types/contexts/createReducer.d.ts +4 -4
- package/lib/types/controller/componentController.d.ts +16 -16
- package/lib/types/firstresponselatency/Constants.d.ts +30 -30
- package/lib/types/firstresponselatency/FirstMessageTrackerFromBot.d.ts +1 -1
- package/lib/types/firstresponselatency/FirstResponseLatencyTracker.d.ts +22 -22
- package/lib/types/firstresponselatency/util.d.ts +7 -7
- package/lib/types/hooks/useChatAdapterStore.d.ts +2 -2
- package/lib/types/hooks/useChatContextStore.d.ts +5 -5
- package/lib/types/hooks/useChatSDKStore.d.ts +2 -2
- package/lib/types/hooks/useDebounce.d.ts +3 -3
- package/lib/types/hooks/useFacadeChatSDKStore.d.ts +3 -3
- package/lib/types/hooks/useWindowDimensions.d.ts +4 -4
- package/lib/types/index.d.ts +11 -11
- package/lib/types/plugins/createChatTranscript.d.ts +3 -3
- package/lib/types/plugins/newMessageEventHandler.d.ts +2 -2
- package/package.json +32 -17
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface ISendBox {
|
|
2
|
-
/**
|
|
3
|
-
* Target the textarea element in the send box
|
|
4
|
-
*/
|
|
5
|
-
textarea?: {
|
|
6
|
-
/**
|
|
7
|
-
* Customer can increase minHeight as a work-around to avoid bug when some languages (like Arabic, Chinese,
|
|
8
|
-
* Hebrew, etc) will show a scrollbar in the textarea element when placeholder is visible
|
|
9
|
-
*/
|
|
10
|
-
minHeight?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
1
|
+
export interface ISendBox {
|
|
2
|
+
/**
|
|
3
|
+
* Target the textarea element in the send box
|
|
4
|
+
*/
|
|
5
|
+
textarea?: {
|
|
6
|
+
/**
|
|
7
|
+
* Customer can increase minHeight as a work-around to avoid bug when some languages (like Arabic, Chinese,
|
|
8
|
+
* Hebrew, etc) will show a scrollbar in the textarea element when placeholder is visible
|
|
9
|
+
*/
|
|
10
|
+
minHeight?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
package/lib/types/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ILiveChatWidgetProps } from "../interfaces/ILiveChatWidgetProps";
|
|
2
|
-
export declare const LiveChatWidgetStateful: (props: ILiveChatWidgetProps) => any;
|
|
3
|
-
export default LiveChatWidgetStateful;
|
|
1
|
+
import { ILiveChatWidgetProps } from "../interfaces/ILiveChatWidgetProps";
|
|
2
|
+
export declare const LiveChatWidgetStateful: (props: ILiveChatWidgetProps) => any;
|
|
3
|
+
export default LiveChatWidgetStateful;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const LoadingPaneStateful: (props: any) => React.JSX.Element;
|
|
3
|
+
export default LoadingPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultGeneralLoadingPaneStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultGeneralLoadingPaneStyleProps: IStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ILoadingPaneStyleProps } from "@microsoft/omnichannel-chat-components/lib/types/components/loadingpane/interfaces/ILoadingPaneStyleProps";
|
|
2
|
-
export declare const errorUILoadingPaneStyleProps: ILoadingPaneStyleProps;
|
|
1
|
+
import { ILoadingPaneStyleProps } from "@microsoft/omnichannel-chat-components/lib/types/components/loadingpane/interfaces/ILoadingPaneStyleProps";
|
|
2
|
+
export declare const errorUILoadingPaneStyleProps: ILoadingPaneStyleProps;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { INotificationPaneStatefulProps } from "./interfaces/INotificationPaneStatefulProps";
|
|
3
|
+
export declare const NotificationPaneStateful: (props: INotificationPaneStatefulProps) => React.JSX.Element;
|
|
4
|
+
export default NotificationPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IChatDisconnectControlProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/chatdisconnect/IChatDisconnectControlProps";
|
|
2
|
-
export declare const defaultChatDisconnectControlProps: IChatDisconnectControlProps;
|
|
1
|
+
import { IChatDisconnectControlProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/chatdisconnect/IChatDisconnectControlProps";
|
|
2
|
+
export declare const defaultChatDisconnectControlProps: IChatDisconnectControlProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IChatDisconnectStyleProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/chatdisconnect/IChatDisconnectStyleProps";
|
|
2
|
-
export declare const defaultChatDisconnectStyleProps: IChatDisconnectStyleProps;
|
|
1
|
+
import { IChatDisconnectStyleProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/chatdisconnect/IChatDisconnectStyleProps";
|
|
2
|
+
export declare const defaultChatDisconnectStyleProps: IChatDisconnectStyleProps;
|
package/lib/types/components/notificationpanestateful/interfaces/INotificationPaneStatefulProps.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { INotificationPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/INotificationPaneProps";
|
|
2
|
-
export interface INotificationPaneStatefulProps extends INotificationPaneProps {
|
|
3
|
-
notificationPaneProps?: INotificationPaneProps;
|
|
4
|
-
notificationScenarioType?: string;
|
|
5
|
-
/**
|
|
6
|
-
* endChat: Internal Prop injected for triggering end of a chat using chatSDK
|
|
7
|
-
* @param adapter : The chat adapter for the live chat session
|
|
8
|
-
* @param skipEndChatSDK : If set to true endchat will skip chatSDK endChat call
|
|
9
|
-
* @param skipCloseChat : If set to true endchat will skip closing the live chat instance
|
|
10
|
-
* @param postMessageToOtherTab : If set to true endchat will send a message to other tabs(multi-tabs)
|
|
11
|
-
*/
|
|
12
|
-
endChat: (adapter: any, skipEndChatSDK?: boolean, skipCloseChat?: boolean, postMessageToOtherTab?: boolean) => Promise<void>;
|
|
13
|
-
}
|
|
1
|
+
import { INotificationPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/INotificationPaneProps";
|
|
2
|
+
export interface INotificationPaneStatefulProps extends INotificationPaneProps {
|
|
3
|
+
notificationPaneProps?: INotificationPaneProps;
|
|
4
|
+
notificationScenarioType?: string;
|
|
5
|
+
/**
|
|
6
|
+
* endChat: Internal Prop injected for triggering end of a chat using chatSDK
|
|
7
|
+
* @param adapter : The chat adapter for the live chat session
|
|
8
|
+
* @param skipEndChatSDK : If set to true endchat will skip chatSDK endChat call
|
|
9
|
+
* @param skipCloseChat : If set to true endchat will skip closing the live chat instance
|
|
10
|
+
* @param postMessageToOtherTab : If set to true endchat will send a message to other tabs(multi-tabs)
|
|
11
|
+
*/
|
|
12
|
+
endChat: (adapter: any, skipEndChatSDK?: boolean, skipCloseChat?: boolean, postMessageToOtherTab?: boolean) => Promise<void>;
|
|
13
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IOOOHPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneProps";
|
|
3
|
+
export declare const OutOfOfficeHoursPaneStateful: (props: IOOOHPaneProps) => React.JSX.Element;
|
|
4
|
+
export default OutOfOfficeHoursPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultGeneralStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultGeneralStyleProps: IStyle;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ILoadingPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/loadingpane/interfaces/ILoadingPaneProps";
|
|
3
|
+
export declare const PostChatLoadingPaneStateful: (props: ILoadingPaneProps) => React.JSX.Element;
|
|
4
|
+
export default PostChatLoadingPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultGeneralPostChatLoadingPaneStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultGeneralPostChatLoadingPaneStyleProps: IStyle;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IPostChatSurveyPaneStatefulProps } from "./interfaces/IPostChatSurveyPaneStatefulProps";
|
|
3
|
+
export declare const PostChatSurveyPaneStateful: (props: IPostChatSurveyPaneStatefulProps) => React.JSX.Element;
|
|
4
|
+
export default PostChatSurveyPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultGeneralPostChatSurveyPaneStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultGeneralPostChatSurveyPaneStyleProps: IStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const isValidSurveyUrl: (url: string) => boolean;
|
|
2
|
-
export default isValidSurveyUrl;
|
|
1
|
+
declare const isValidSurveyUrl: (url: string) => boolean;
|
|
2
|
+
export default isValidSurveyUrl;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum CustomerVoiceEvents {
|
|
2
|
-
ResponsePageLoaded = "ResponsePageLoaded",
|
|
3
|
-
FormResponseSubmitted = "FormResponseSubmitted",
|
|
4
|
-
FormResponseError = "FormResponseError"
|
|
5
|
-
}
|
|
1
|
+
export declare enum CustomerVoiceEvents {
|
|
2
|
+
ResponsePageLoaded = "ResponsePageLoaded",
|
|
3
|
+
FormResponseSubmitted = "FormResponseSubmitted",
|
|
4
|
+
FormResponseError = "FormResponseError"
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum PostChatSurveyMode {
|
|
2
|
-
Embed = "192350000",
|
|
3
|
-
Link = "192350001"
|
|
4
|
-
}
|
|
1
|
+
export declare enum PostChatSurveyMode {
|
|
2
|
+
Embed = "192350000",
|
|
3
|
+
Link = "192350001"
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPostChatSurveyPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneProps";
|
|
2
|
-
export interface IPostChatSurveyPaneStatefulProps extends IPostChatSurveyPaneProps {
|
|
3
|
-
isCustomerVoiceSurveyCompact?: boolean;
|
|
4
|
-
copilotSurveyContext?: Record<string, string>;
|
|
5
|
-
}
|
|
1
|
+
import { IPostChatSurveyPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneProps";
|
|
2
|
+
export interface IPostChatSurveyPaneStatefulProps extends IPostChatSurveyPaneProps {
|
|
3
|
+
isCustomerVoiceSurveyCompact?: boolean;
|
|
4
|
+
copilotSurveyContext?: Record<string, string>;
|
|
5
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IPreChatSurveyPaneStatefulParams } from "./interfaces/IPreChatSurveyPaneStatefulParams";
|
|
3
|
+
export declare const PreChatSurveyPaneStateful: (props: IPreChatSurveyPaneStatefulParams) => React.JSX.Element;
|
|
4
|
+
export default PreChatSurveyPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ILiveChatWidgetLocalizedTexts } from "../../../../contexts/common/ILiveChatWidgetLocalizedTexts";
|
|
2
|
-
export declare const defaultPreChatSurveyLocalizedTexts: ILiveChatWidgetLocalizedTexts;
|
|
1
|
+
import { ILiveChatWidgetLocalizedTexts } from "../../../../contexts/common/ILiveChatWidgetLocalizedTexts";
|
|
2
|
+
export declare const defaultPreChatSurveyLocalizedTexts: ILiveChatWidgetLocalizedTexts;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultGeneralPreChatSurveyPaneStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultGeneralPreChatSurveyPaneStyleProps: IStyle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPreChatSurveyPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneProps";
|
|
2
|
-
export interface IPreChatSurveyPaneStatefulParams {
|
|
3
|
-
surveyProps?: IPreChatSurveyPaneProps;
|
|
4
|
-
initStartChat: (params?: any, persistedState?: any) => Promise<void>;
|
|
5
|
-
}
|
|
1
|
+
import { IPreChatSurveyPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneProps";
|
|
2
|
+
export interface IPreChatSurveyPaneStatefulParams {
|
|
3
|
+
surveyProps?: IPreChatSurveyPaneProps;
|
|
4
|
+
initStartChat: (params?: any, persistedState?: any) => Promise<void>;
|
|
5
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const ProactiveChatPaneStateful: (props: any) => React.JSX.Element;
|
|
3
|
+
export default ProactiveChatPaneStateful;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface IProactiveChatNotificationConfig {
|
|
2
|
-
message?: string;
|
|
3
|
-
}
|
|
1
|
+
export interface IProactiveChatNotificationConfig {
|
|
2
|
+
message?: string;
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IProactiveChatPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneProps";
|
|
2
|
-
export interface IProactiveChatPaneStatefulProps extends IProactiveChatPaneProps {
|
|
3
|
-
ProactiveChatInviteTimeoutInMs?: number;
|
|
4
|
-
}
|
|
1
|
+
import { IProactiveChatPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneProps";
|
|
2
|
+
export interface IProactiveChatPaneStatefulProps extends IProactiveChatPaneProps {
|
|
3
|
+
ProactiveChatInviteTimeoutInMs?: number;
|
|
4
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IReconnectChatPaneStatefulParams } from "./interfaces/IReconnectChatPaneStatefulParams";
|
|
3
|
+
export declare const ReconnectChatPaneStateful: (props: IReconnectChatPaneStatefulParams) => React.JSX.Element;
|
|
4
|
+
export default ReconnectChatPaneStateful;
|
package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatContext.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IReconnectChatContext {
|
|
2
|
-
redirectURL?: string | null;
|
|
3
|
-
reconnectId?: string | null;
|
|
4
|
-
}
|
|
1
|
+
export interface IReconnectChatContext {
|
|
2
|
+
redirectURL?: string | null;
|
|
3
|
+
reconnectId?: string | null;
|
|
4
|
+
}
|
package/lib/types/components/reconnectchatpanestateful/interfaces/IReconnectChatOptionalParams.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface IReconnectChatOptionalParams {
|
|
2
|
-
reconnectId?: string;
|
|
3
|
-
}
|
|
1
|
+
export interface IReconnectChatOptionalParams {
|
|
2
|
+
reconnectId?: string;
|
|
3
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IReconnectChatPaneStatefulProps } from "./IReconnectChatPaneStatefulProps";
|
|
2
|
-
export interface IReconnectChatPaneStatefulParams {
|
|
3
|
-
reconnectChatProps?: IReconnectChatPaneStatefulProps;
|
|
4
|
-
initStartChat: (params?: any) => Promise<void>;
|
|
5
|
-
}
|
|
1
|
+
import { IReconnectChatPaneStatefulProps } from "./IReconnectChatPaneStatefulProps";
|
|
2
|
+
export interface IReconnectChatPaneStatefulParams {
|
|
3
|
+
reconnectChatProps?: IReconnectChatPaneStatefulProps;
|
|
4
|
+
initStartChat: (params?: any) => Promise<void>;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IReconnectChatPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneProps";
|
|
2
|
-
export interface IReconnectChatPaneStatefulProps extends IReconnectChatPaneProps {
|
|
3
|
-
reconnectId?: string;
|
|
4
|
-
redirectInSameWindow?: boolean;
|
|
5
|
-
}
|
|
1
|
+
import { IReconnectChatPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneProps";
|
|
2
|
+
export interface IReconnectChatPaneStatefulProps extends IReconnectChatPaneProps {
|
|
3
|
+
reconnectId?: string;
|
|
4
|
+
redirectInSameWindow?: boolean;
|
|
5
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IStartChatErrorPaneProps } from "./interfaces/IStartChatErrorPaneProps";
|
|
3
|
+
export declare const StartChatErrorPaneStateful: (startChatErrorPaneProps: IStartChatErrorPaneProps) => React.JSX.Element;
|
|
4
|
+
export default StartChatErrorPaneStateful;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultStartChatErrorPaneGeneralStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultStartChatErrorPaneGeneralStyleProps: IStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IImageProps } from "@fluentui/react";
|
|
2
|
-
export declare const defaultStartChatErrorPaneIconImageStyleProps: IImageProps;
|
|
1
|
+
import { IImageProps } from "@fluentui/react";
|
|
2
|
+
export declare const defaultStartChatErrorPaneIconImageStyleProps: IImageProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultStartChatErrorPaneIconStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultStartChatErrorPaneIconStyleProps: IStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultStartChatErrorPaneSubtitleStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultStartChatErrorPaneSubtitleStyleProps: IStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IStyle } from "@fluentui/react";
|
|
2
|
-
export declare const defaultStartChatErrorPaneTitleStyleProps: IStyle;
|
|
1
|
+
import { IStyle } from "@fluentui/react";
|
|
2
|
+
export declare const defaultStartChatErrorPaneTitleStyleProps: IStyle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IStartChatErrorPaneClassNames {
|
|
2
|
-
iconClassName?: string;
|
|
3
|
-
titleClassName?: string;
|
|
4
|
-
subtitleClassName?: string;
|
|
5
|
-
}
|
|
1
|
+
export interface IStartChatErrorPaneClassNames {
|
|
2
|
+
iconClassName?: string;
|
|
3
|
+
titleClassName?: string;
|
|
4
|
+
subtitleClassName?: string;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export interface IStartChatErrorPaneComponentOverrides {
|
|
3
|
-
icon?: ReactNode | string;
|
|
4
|
-
title?: ReactNode | string;
|
|
5
|
-
subtitle?: ReactNode | string;
|
|
6
|
-
}
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface IStartChatErrorPaneComponentOverrides {
|
|
3
|
+
icon?: ReactNode | string;
|
|
4
|
+
title?: ReactNode | string;
|
|
5
|
+
subtitle?: ReactNode | string;
|
|
6
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface IStartChatErrorPaneControlProps {
|
|
2
|
-
id?: string;
|
|
3
|
-
role?: string;
|
|
4
|
-
dir?: "rtl" | "ltr" | "auto";
|
|
5
|
-
hideIcon?: boolean;
|
|
6
|
-
hideTitle?: boolean;
|
|
7
|
-
hideSubtitle?: boolean;
|
|
8
|
-
titleText?: string;
|
|
9
|
-
subtitleText?: string;
|
|
10
|
-
unauthorizedTitleText?: string;
|
|
11
|
-
unauthorizedSubtitleText?: string;
|
|
12
|
-
authSetupErrorTitleText?: string;
|
|
13
|
-
authSetupErrorSubtitleText?: string;
|
|
14
|
-
}
|
|
1
|
+
export interface IStartChatErrorPaneControlProps {
|
|
2
|
+
id?: string;
|
|
3
|
+
role?: string;
|
|
4
|
+
dir?: "rtl" | "ltr" | "auto";
|
|
5
|
+
hideIcon?: boolean;
|
|
6
|
+
hideTitle?: boolean;
|
|
7
|
+
hideSubtitle?: boolean;
|
|
8
|
+
titleText?: string;
|
|
9
|
+
subtitleText?: string;
|
|
10
|
+
unauthorizedTitleText?: string;
|
|
11
|
+
unauthorizedSubtitleText?: string;
|
|
12
|
+
authSetupErrorTitleText?: string;
|
|
13
|
+
authSetupErrorSubtitleText?: string;
|
|
14
|
+
}
|
package/lib/types/components/startchaterrorpanestateful/interfaces/IStartChatErrorPaneProps.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IStartChatErrorPaneComponentOverrides } from "./IStartChatErrorPaneComponentOverrides";
|
|
2
|
-
import { IStartChatErrorPaneControlProps } from "./IStartChatErrorPaneControlProps";
|
|
3
|
-
import { IStartChatErrorPaneStyleProps } from "./IStartChatErrorPaneStyleProps";
|
|
4
|
-
export interface IStartChatErrorPaneProps {
|
|
5
|
-
componentOverrides?: IStartChatErrorPaneComponentOverrides;
|
|
6
|
-
controlProps?: IStartChatErrorPaneControlProps;
|
|
7
|
-
styleProps?: IStartChatErrorPaneStyleProps;
|
|
8
|
-
}
|
|
1
|
+
import { IStartChatErrorPaneComponentOverrides } from "./IStartChatErrorPaneComponentOverrides";
|
|
2
|
+
import { IStartChatErrorPaneControlProps } from "./IStartChatErrorPaneControlProps";
|
|
3
|
+
import { IStartChatErrorPaneStyleProps } from "./IStartChatErrorPaneStyleProps";
|
|
4
|
+
export interface IStartChatErrorPaneProps {
|
|
5
|
+
componentOverrides?: IStartChatErrorPaneComponentOverrides;
|
|
6
|
+
controlProps?: IStartChatErrorPaneControlProps;
|
|
7
|
+
styleProps?: IStartChatErrorPaneStyleProps;
|
|
8
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IImageProps, IStyle } from "@fluentui/react";
|
|
2
|
-
import { IStartChatErrorPaneClassNames } from "./IStartChatErrorPaneClassNames";
|
|
3
|
-
export interface IStartChatErrorPaneStyleProps {
|
|
4
|
-
generalStyleProps?: IStyle;
|
|
5
|
-
titleStyleProps?: IStyle;
|
|
6
|
-
subtitleStyleProps?: IStyle;
|
|
7
|
-
iconStyleProps?: IStyle;
|
|
8
|
-
iconImageProps?: IImageProps;
|
|
9
|
-
classNames?: IStartChatErrorPaneClassNames;
|
|
10
|
-
}
|
|
1
|
+
import { IImageProps, IStyle } from "@fluentui/react";
|
|
2
|
+
import { IStartChatErrorPaneClassNames } from "./IStartChatErrorPaneClassNames";
|
|
3
|
+
export interface IStartChatErrorPaneStyleProps {
|
|
4
|
+
generalStyleProps?: IStyle;
|
|
5
|
+
titleStyleProps?: IStyle;
|
|
6
|
+
subtitleStyleProps?: IStyle;
|
|
7
|
+
iconStyleProps?: IStyle;
|
|
8
|
+
iconImageProps?: IImageProps;
|
|
9
|
+
classNames?: IStartChatErrorPaneClassNames;
|
|
10
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ILiveChatWidgetProps } from "../livechatwidget/interfaces/ILiveChatWidgetProps";
|
|
3
|
+
export declare const WebChatContainerStateful: (props: ILiveChatWidgetProps) => React.JSX.Element;
|
|
4
|
+
export default WebChatContainerStateful;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "rxjs/add/operator/share";
|
|
2
|
-
import "rxjs/add/observable/of";
|
|
3
|
-
import { Message } from "botframework-directlinejs";
|
|
4
|
-
import { Observable } from "rxjs/Observable";
|
|
5
|
-
import MockAdapter from "./mockadapter";
|
|
6
|
-
export declare class DemoChatAdapter extends MockAdapter {
|
|
7
|
-
constructor();
|
|
8
|
-
private postBotCommandsActivity;
|
|
9
|
-
postActivity(activity: Message): Observable<string>;
|
|
10
|
-
}
|
|
1
|
+
import "rxjs/add/operator/share";
|
|
2
|
+
import "rxjs/add/observable/of";
|
|
3
|
+
import { Message } from "botframework-directlinejs";
|
|
4
|
+
import { Observable } from "rxjs/Observable";
|
|
5
|
+
import MockAdapter from "./mockadapter";
|
|
6
|
+
export declare class DemoChatAdapter extends MockAdapter {
|
|
7
|
+
constructor();
|
|
8
|
+
private postBotCommandsActivity;
|
|
9
|
+
postActivity(activity: Message): Observable<string>;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DemoChatAdapter } from "./DemoChatAdapter";
|
|
2
|
-
import { MockChatSDK } from "./mockchatsdk";
|
|
3
|
-
export declare class DemoChatSDK extends MockChatSDK {
|
|
4
|
-
constructor();
|
|
5
|
-
createChatAdapter(): DemoChatAdapter;
|
|
6
|
-
}
|
|
1
|
+
import { DemoChatAdapter } from "./DemoChatAdapter";
|
|
2
|
+
import { MockChatSDK } from "./mockchatsdk";
|
|
3
|
+
export declare class DemoChatSDK extends MockChatSDK {
|
|
4
|
+
constructor();
|
|
5
|
+
createChatAdapter(): DemoChatAdapter;
|
|
6
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Message } from "botframework-directlinejs";
|
|
2
|
-
import { Observable } from "rxjs/Observable";
|
|
3
|
-
import MockAdapter from "./mockadapter";
|
|
4
|
-
export declare class DesignerChatAdapter extends MockAdapter {
|
|
5
|
-
constructor();
|
|
6
|
-
private postUserActivity;
|
|
7
|
-
postActivity(activity: Message): Observable<string>;
|
|
8
|
-
}
|
|
1
|
+
import { Message } from "botframework-directlinejs";
|
|
2
|
+
import { Observable } from "rxjs/Observable";
|
|
3
|
+
import MockAdapter from "./mockadapter";
|
|
4
|
+
export declare class DesignerChatAdapter extends MockAdapter {
|
|
5
|
+
constructor();
|
|
6
|
+
private postUserActivity;
|
|
7
|
+
postActivity(activity: Message): Observable<string>;
|
|
8
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { DesignerChatAdapter } from "./DesignerChatAdapter";
|
|
2
|
-
import { MockChatSDK } from "./mockchatsdk";
|
|
3
|
-
export declare class DesignerChatSDK extends MockChatSDK {
|
|
4
|
-
constructor();
|
|
5
|
-
createChatAdapter(): DesignerChatAdapter;
|
|
6
|
-
localeId: string;
|
|
7
|
-
/**
|
|
8
|
-
* If the widget is running in designer mode, we mock the initialize response. We don't want
|
|
9
|
-
* any interactions with a real server in when designing LCW widget visually in Modern Admin.
|
|
10
|
-
*
|
|
11
|
-
* - All GUIDs were changed to 00000000-0000-0000-0000-000000000000.
|
|
12
|
-
* - msdyn_callingoptions was changed to disable calling functionality
|
|
13
|
-
*/
|
|
14
|
-
getLiveChatConfig(): {
|
|
15
|
-
LiveWSAndLiveChatEngJoin: {
|
|
16
|
-
msdyn_widgetthemecolor: string;
|
|
17
|
-
msdyn_callingoptions: string;
|
|
18
|
-
msdyn_widgettitle: string;
|
|
19
|
-
msdyn_conversationmode: string;
|
|
20
|
-
msdyn_avatarurl: string;
|
|
21
|
-
msdyn_name: string;
|
|
22
|
-
msdyn_postconversationsurveyenable: string;
|
|
23
|
-
OutOfOperatingHours: string;
|
|
24
|
-
ShowWidget: string;
|
|
25
|
-
};
|
|
26
|
-
ChatWidgetLanguage: {
|
|
27
|
-
msdyn_localeid: string;
|
|
28
|
-
msdyn_languagename: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}
|
|
1
|
+
import { DesignerChatAdapter } from "./DesignerChatAdapter";
|
|
2
|
+
import { MockChatSDK } from "./mockchatsdk";
|
|
3
|
+
export declare class DesignerChatSDK extends MockChatSDK {
|
|
4
|
+
constructor();
|
|
5
|
+
createChatAdapter(): DesignerChatAdapter;
|
|
6
|
+
localeId: string;
|
|
7
|
+
/**
|
|
8
|
+
* If the widget is running in designer mode, we mock the initialize response. We don't want
|
|
9
|
+
* any interactions with a real server in when designing LCW widget visually in Modern Admin.
|
|
10
|
+
*
|
|
11
|
+
* - All GUIDs were changed to 00000000-0000-0000-0000-000000000000.
|
|
12
|
+
* - msdyn_callingoptions was changed to disable calling functionality
|
|
13
|
+
*/
|
|
14
|
+
getLiveChatConfig(): {
|
|
15
|
+
LiveWSAndLiveChatEngJoin: {
|
|
16
|
+
msdyn_widgetthemecolor: string;
|
|
17
|
+
msdyn_callingoptions: string;
|
|
18
|
+
msdyn_widgettitle: string;
|
|
19
|
+
msdyn_conversationmode: string;
|
|
20
|
+
msdyn_avatarurl: string;
|
|
21
|
+
msdyn_name: string;
|
|
22
|
+
msdyn_postconversationsurveyenable: string;
|
|
23
|
+
OutOfOperatingHours: string;
|
|
24
|
+
ShowWidget: string;
|
|
25
|
+
};
|
|
26
|
+
ChatWidgetLanguage: {
|
|
27
|
+
msdyn_localeid: string;
|
|
28
|
+
msdyn_languagename: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare enum MockBotCardCommandType {
|
|
2
|
-
Hero = "hero",
|
|
3
|
-
Signin = "signin",
|
|
4
|
-
Thumbnail = "thumbnail"
|
|
5
|
-
}
|
|
6
|
-
export default MockBotCardCommandType;
|
|
1
|
+
declare enum MockBotCardCommandType {
|
|
2
|
+
Hero = "hero",
|
|
3
|
+
Signin = "signin",
|
|
4
|
+
Thumbnail = "thumbnail"
|
|
5
|
+
}
|
|
6
|
+
export default MockBotCardCommandType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare enum MockBotCommand {
|
|
2
|
-
Bot = "/bot",
|
|
3
|
-
Card = "/card",
|
|
4
|
-
Help = "/help",
|
|
5
|
-
SendAttachment = "send attachment",
|
|
6
|
-
SendBotMessage = "send bot message",
|
|
7
|
-
SendSystemMessage = "send system message",
|
|
8
|
-
SendTyping = "send typing",
|
|
9
|
-
System = "/system"
|
|
10
|
-
}
|
|
11
|
-
export default MockBotCommand;
|
|
1
|
+
declare enum MockBotCommand {
|
|
2
|
+
Bot = "/bot",
|
|
3
|
+
Card = "/card",
|
|
4
|
+
Help = "/help",
|
|
5
|
+
SendAttachment = "send attachment",
|
|
6
|
+
SendBotMessage = "send bot message",
|
|
7
|
+
SendSystemMessage = "send system message",
|
|
8
|
+
SendTyping = "send typing",
|
|
9
|
+
System = "/system"
|
|
10
|
+
}
|
|
11
|
+
export default MockBotCommand;
|