@microsoft/omnichannel-chat-widget 1.7.8-main.f60b0b7 → 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 +392 -295
- 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 +160 -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 +17 -14
- 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 +21 -11
- package/lib/cjs/components/livechatwidget/common/ActivityStreamHandler.js +32 -19
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +71 -56
- 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/chatDisconnectHelper.js +3 -1
- package/lib/cjs/components/livechatwidget/common/endChat.js +4 -18
- package/lib/cjs/components/livechatwidget/common/reconnectChatHelper.js +0 -5
- 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 +45 -40
- package/lib/cjs/components/livechatwidget/common/startChatErrorHandler.js +5 -4
- package/lib/cjs/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +28 -23
- package/lib/cjs/components/ooohpanestateful/OOOHPaneStateful.js +12 -8
- package/lib/cjs/components/postchatsurveypanestateful/PostChatSurveyPaneStateful.js +31 -10
- package/lib/cjs/components/postchatsurveypanestateful/common/isValidSurveyUrl.js +28 -0
- 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 +11 -4
- 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/renderingmiddlewares/timestamps/DeliveredTimestamp.js +4 -0
- 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 +17 -6
- package/lib/cjs/controller/componentController.js +3 -2
- package/lib/cjs/firstresponselatency/Constants.js +13 -0
- package/lib/cjs/firstresponselatency/FirstMessageTrackerFromBot.js +118 -0
- package/lib/cjs/firstresponselatency/FirstResponseLatencyTracker.js +201 -0
- package/lib/cjs/firstresponselatency/util.js +98 -0
- package/lib/cjs/plugins/createChatTranscript.js +88 -58
- package/lib/cjs/plugins/newMessageEventHandler.js +105 -88
- 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 +392 -295
- 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 +160 -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 +17 -14
- 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 +21 -11
- package/lib/esm/components/livechatwidget/common/ActivityStreamHandler.js +32 -19
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +71 -56
- 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/chatDisconnectHelper.js +3 -1
- package/lib/esm/components/livechatwidget/common/endChat.js +4 -18
- package/lib/esm/components/livechatwidget/common/reconnectChatHelper.js +1 -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 +46 -41
- package/lib/esm/components/livechatwidget/common/startChatErrorHandler.js +5 -4
- package/lib/esm/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +28 -23
- package/lib/esm/components/ooohpanestateful/OOOHPaneStateful.js +12 -8
- package/lib/esm/components/postchatsurveypanestateful/PostChatSurveyPaneStateful.js +31 -10
- package/lib/esm/components/postchatsurveypanestateful/common/isValidSurveyUrl.js +21 -0
- 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 +11 -4
- 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/renderingmiddlewares/timestamps/DeliveredTimestamp.js +4 -0
- 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 +17 -6
- package/lib/esm/controller/componentController.js +3 -2
- package/lib/esm/firstresponselatency/Constants.js +6 -0
- package/lib/esm/firstresponselatency/FirstMessageTrackerFromBot.js +112 -0
- package/lib/esm/firstresponselatency/FirstResponseLatencyTracker.js +194 -0
- package/lib/esm/firstresponselatency/util.js +87 -0
- package/lib/esm/plugins/createChatTranscript.js +88 -58
- package/lib/esm/plugins/newMessageEventHandler.js +103 -86
- 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 -74
- 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 -255
- 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 -0
- 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 -0
- package/lib/types/firstresponselatency/FirstMessageTrackerFromBot.d.ts +1 -0
- package/lib/types/firstresponselatency/FirstResponseLatencyTracker.d.ts +22 -0
- package/lib/types/firstresponselatency/util.d.ts +7 -0
- 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 +42 -17
package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/MessageType.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare enum MessageTypes {
|
|
2
|
-
User = "UserMessage",
|
|
3
|
-
Swift = "SwiftCard",
|
|
4
|
-
System = "SystemMessage",
|
|
5
|
-
Welcome = "Welcome",
|
|
6
|
-
Translate = "Translate",
|
|
7
|
-
Image = "LwcImage",
|
|
8
|
-
File = "LwcFile",
|
|
9
|
-
AdaptiveCard = "card",
|
|
10
|
-
Thread = "Thread"
|
|
11
|
-
}
|
|
1
|
+
export declare enum MessageTypes {
|
|
2
|
+
User = "UserMessage",
|
|
3
|
+
Swift = "SwiftCard",
|
|
4
|
+
System = "SystemMessage",
|
|
5
|
+
Welcome = "Welcome",
|
|
6
|
+
Translate = "Translate",
|
|
7
|
+
Image = "LwcImage",
|
|
8
|
+
File = "LwcFile",
|
|
9
|
+
AdaptiveCard = "card",
|
|
10
|
+
Thread = "Thread"
|
|
11
|
+
}
|
package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/NotificationLevel.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum NotificationLevel {
|
|
2
|
-
Success = "success",
|
|
3
|
-
Info = "info",
|
|
4
|
-
Warning = "warn",
|
|
5
|
-
Error = "error"
|
|
6
|
-
}
|
|
1
|
+
export declare enum NotificationLevel {
|
|
2
|
+
Success = "success",
|
|
3
|
+
Info = "info",
|
|
4
|
+
Warning = "warn",
|
|
5
|
+
Error = "error"
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare enum NotificationScenarios {
|
|
2
|
-
Connection = "connection",
|
|
3
|
-
DownloadTranscriptError = "download transcript",
|
|
4
|
-
EmailTranscriptError = "email transcript",
|
|
5
|
-
EmailAddressSaved = "email address saved",
|
|
6
|
-
AttachmentError = "attachment",
|
|
7
|
-
InternetConnection = "internet connection",
|
|
8
|
-
MaxSizeError = "max size",
|
|
9
|
-
ChatDisconnect = "chat disconnect",
|
|
10
|
-
TPC = "tpc blocked"
|
|
11
|
-
}
|
|
1
|
+
export declare enum NotificationScenarios {
|
|
2
|
+
Connection = "connection",
|
|
3
|
+
DownloadTranscriptError = "download transcript",
|
|
4
|
+
EmailTranscriptError = "email transcript",
|
|
5
|
+
EmailAddressSaved = "email address saved",
|
|
6
|
+
AttachmentError = "attachment",
|
|
7
|
+
InternetConnection = "internet connection",
|
|
8
|
+
MaxSizeError = "max size",
|
|
9
|
+
ChatDisconnect = "chat disconnect",
|
|
10
|
+
TPC = "tpc blocked"
|
|
11
|
+
}
|
package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/SendStatus.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum SendStatus {
|
|
2
|
-
Sending = "sending",
|
|
3
|
-
SendFailed = "send failed",
|
|
4
|
-
Sent = "sent"
|
|
5
|
-
}
|
|
1
|
+
export declare enum SendStatus {
|
|
2
|
+
Sending = "sending",
|
|
3
|
+
SendFailed = "send failed",
|
|
4
|
+
Sent = "sent"
|
|
5
|
+
}
|
package/lib/types/components/webchatcontainerstateful/webchatcontroller/enums/WebChatActionType.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare enum WebChatActionType {
|
|
2
|
-
DIRECT_LINE_CONNECT_FULFILLED = "DIRECT_LINE/CONNECT_FULFILLED",
|
|
3
|
-
DIRECT_LINE_CONNECT = "DIRECT_LINE/CONNECT",
|
|
4
|
-
DIRECT_LINE_CONNECT_PENDING = "DIRECT_LINE/CONNECT_PENDING",
|
|
5
|
-
DIRECT_LINE_UPDATE_CONNECTION_STATUS = "DIRECT_LINE/UPDATE_CONNECTION_STATUS",
|
|
6
|
-
DIRECT_LINE_CONNECT_FULFILLING = "DIRECT_LINE/CONNECT_FULFILLING",
|
|
7
|
-
DIRECT_LINE_POST_ACTIVITY = "DIRECT_LINE/POST_ACTIVITY",
|
|
8
|
-
DIRECT_LINE_POST_ACTIVITY_PENDING = "DIRECT_LINE/POST_ACTIVITY_PENDING",
|
|
9
|
-
DIRECT_LINE_POST_ACTIVITY_FULFILLED = "DIRECT_LINE/POST_ACTIVITY_FULFILLED",
|
|
10
|
-
DIRECT_LINE_INCOMING_ACTIVITY = "DIRECT_LINE/INCOMING_ACTIVITY",
|
|
11
|
-
WEB_CHAT_SET_LANGUAGE = "WEB_CHAT/SET_LANGUAGE",
|
|
12
|
-
WEB_CHAT_SEND_MESSAGE = "WEB_CHAT/SEND_MESSAGE",
|
|
13
|
-
WEB_CHAT_SET_SEND_TIMEOUT = "WEB_CHAT/SET_SEND_TIMEOUT",
|
|
14
|
-
WEB_CHAT_SET_SEND_TYPING_INDICATOR = "WEB_CHAT/SET_SEND_TYPING_INDICATOR",
|
|
15
|
-
WEB_CHAT_SET_SUGGESTED_ACTIONS = "WEB_CHAT/SET_SUGGESTED_ACTIONS",
|
|
16
|
-
WEB_CHAT_STOP_DICTATE = "WEB_CHAT/STOP_DICTATE",
|
|
17
|
-
WEB_CHAT_STOP_SPEAKING = "WEB_CHAT/STOP_SPEAKING",
|
|
18
|
-
WEB_CHAT_SEND_EVENT = "WEB_CHAT/SEND_EVENT",
|
|
19
|
-
WEB_CHAT_SET_NOTIFICATION = "WEB_CHAT/SET_NOTIFICATION",
|
|
20
|
-
WEB_CHAT_DISMISS_NOTIFICATION = "WEB_CHAT/DISMISS_NOTIFICATION",
|
|
21
|
-
WEB_CHAT_SET_SEND_BOX = "WEB_CHAT/SET_SEND_BOX",
|
|
22
|
-
WEB_CHAT_SEND_FILES = "WEB_CHAT/SEND_FILES",
|
|
23
|
-
WEB_CHAT_SET_SEND_BOX_ATTACHMENTS = "WEB_CHAT/SET_SEND_BOX_ATTACHMENTS"
|
|
24
|
-
}
|
|
1
|
+
export declare enum WebChatActionType {
|
|
2
|
+
DIRECT_LINE_CONNECT_FULFILLED = "DIRECT_LINE/CONNECT_FULFILLED",
|
|
3
|
+
DIRECT_LINE_CONNECT = "DIRECT_LINE/CONNECT",
|
|
4
|
+
DIRECT_LINE_CONNECT_PENDING = "DIRECT_LINE/CONNECT_PENDING",
|
|
5
|
+
DIRECT_LINE_UPDATE_CONNECTION_STATUS = "DIRECT_LINE/UPDATE_CONNECTION_STATUS",
|
|
6
|
+
DIRECT_LINE_CONNECT_FULFILLING = "DIRECT_LINE/CONNECT_FULFILLING",
|
|
7
|
+
DIRECT_LINE_POST_ACTIVITY = "DIRECT_LINE/POST_ACTIVITY",
|
|
8
|
+
DIRECT_LINE_POST_ACTIVITY_PENDING = "DIRECT_LINE/POST_ACTIVITY_PENDING",
|
|
9
|
+
DIRECT_LINE_POST_ACTIVITY_FULFILLED = "DIRECT_LINE/POST_ACTIVITY_FULFILLED",
|
|
10
|
+
DIRECT_LINE_INCOMING_ACTIVITY = "DIRECT_LINE/INCOMING_ACTIVITY",
|
|
11
|
+
WEB_CHAT_SET_LANGUAGE = "WEB_CHAT/SET_LANGUAGE",
|
|
12
|
+
WEB_CHAT_SEND_MESSAGE = "WEB_CHAT/SEND_MESSAGE",
|
|
13
|
+
WEB_CHAT_SET_SEND_TIMEOUT = "WEB_CHAT/SET_SEND_TIMEOUT",
|
|
14
|
+
WEB_CHAT_SET_SEND_TYPING_INDICATOR = "WEB_CHAT/SET_SEND_TYPING_INDICATOR",
|
|
15
|
+
WEB_CHAT_SET_SUGGESTED_ACTIONS = "WEB_CHAT/SET_SUGGESTED_ACTIONS",
|
|
16
|
+
WEB_CHAT_STOP_DICTATE = "WEB_CHAT/STOP_DICTATE",
|
|
17
|
+
WEB_CHAT_STOP_SPEAKING = "WEB_CHAT/STOP_SPEAKING",
|
|
18
|
+
WEB_CHAT_SEND_EVENT = "WEB_CHAT/SEND_EVENT",
|
|
19
|
+
WEB_CHAT_SET_NOTIFICATION = "WEB_CHAT/SET_NOTIFICATION",
|
|
20
|
+
WEB_CHAT_DISMISS_NOTIFICATION = "WEB_CHAT/DISMISS_NOTIFICATION",
|
|
21
|
+
WEB_CHAT_SET_SEND_BOX = "WEB_CHAT/SET_SEND_BOX",
|
|
22
|
+
WEB_CHAT_SEND_FILES = "WEB_CHAT/SEND_FILES",
|
|
23
|
+
WEB_CHAT_SET_SEND_BOX_ATTACHMENTS = "WEB_CHAT/SET_SEND_BOX_ATTACHMENTS"
|
|
24
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare class HyperlinkTextOverrideRenderer {
|
|
2
|
-
private hyperlinkTextOverride;
|
|
3
|
-
constructor(hyperlinkTextOverride: boolean);
|
|
4
|
-
private convertTextToHtmlNode;
|
|
5
|
-
private processANode;
|
|
6
|
-
private applicable;
|
|
7
|
-
render(text: string): string;
|
|
8
|
-
}
|
|
9
|
-
export default HyperlinkTextOverrideRenderer;
|
|
1
|
+
declare class HyperlinkTextOverrideRenderer {
|
|
2
|
+
private hyperlinkTextOverride;
|
|
3
|
+
constructor(hyperlinkTextOverride: boolean);
|
|
4
|
+
private convertTextToHtmlNode;
|
|
5
|
+
private processANode;
|
|
6
|
+
private applicable;
|
|
7
|
+
render(text: string): string;
|
|
8
|
+
}
|
|
9
|
+
export default HyperlinkTextOverrideRenderer;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const FormatEgressTagsMiddleware: () => (next: (arg0: any) => any) => (activity: any) => any;
|
|
2
|
-
export default FormatEgressTagsMiddleware;
|
|
1
|
+
declare const FormatEgressTagsMiddleware: () => (next: (arg0: any) => any) => (activity: any) => any;
|
|
2
|
+
export default FormatEgressTagsMiddleware;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const formatTagsIngressMiddleware: () => (next: (arg0: any) => any) => (activity: any) => any;
|
|
2
|
-
export default formatTagsIngressMiddleware;
|
|
1
|
+
declare const formatTagsIngressMiddleware: () => (next: (arg0: any) => any) => (activity: any) => any;
|
|
2
|
+
export default formatTagsIngressMiddleware;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* ActivityMiddleware
|
|
3
|
-
*
|
|
4
|
-
* This middleware handles each message bubble in a default Microsoft LiveChatWidget approach. It does the following processing:
|
|
5
|
-
* 1. Renders system messages differently, according to Microsoft LiveChatWidget styles
|
|
6
|
-
* 2. Changes the font size of user messages
|
|
7
|
-
* 3. Decodes certain html characters that came through from chat services
|
|
8
|
-
******/
|
|
9
|
-
import React from "react";
|
|
10
|
-
export declare const createActivityMiddleware: (renderMarkdown: (text: string) => string, systemMessageStyleProps?: React.CSSProperties, userMessageStyleProps?: React.CSSProperties) => () => (next: any) => (...args: any) => any;
|
|
1
|
+
/******
|
|
2
|
+
* ActivityMiddleware
|
|
3
|
+
*
|
|
4
|
+
* This middleware handles each message bubble in a default Microsoft LiveChatWidget approach. It does the following processing:
|
|
5
|
+
* 1. Renders system messages differently, according to Microsoft LiveChatWidget styles
|
|
6
|
+
* 2. Changes the font size of user messages
|
|
7
|
+
* 3. Decodes certain html characters that came through from chat services
|
|
8
|
+
******/
|
|
9
|
+
import React from "react";
|
|
10
|
+
export declare const createActivityMiddleware: (renderMarkdown: (text: string) => string, systemMessageStyleProps?: React.CSSProperties, userMessageStyleProps?: React.CSSProperties) => () => (next: any) => (...args: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const activityStatusMiddleware: () => (next: any) => (args: any) => any;
|
|
1
|
+
export declare const activityStatusMiddleware: () => (next: any) => (args: any) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* AttachmentMiddleware
|
|
3
|
-
*
|
|
4
|
-
* Handles attachment downloading.
|
|
5
|
-
******/
|
|
6
|
-
export declare const createAttachmentMiddleware: (enableInlinePlaying: boolean | undefined) => () => (next: any) => (...args: any) => any;
|
|
1
|
+
/******
|
|
2
|
+
* AttachmentMiddleware
|
|
3
|
+
*
|
|
4
|
+
* Handles attachment downloading.
|
|
5
|
+
******/
|
|
6
|
+
export declare const createAttachmentMiddleware: (enableInlinePlaying: boolean | undefined) => () => (next: any) => (...args: any) => any;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const Attachment: (props: any) => React.JSX.Element;
|
|
3
|
+
export default Attachment;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const AttachmentContent: (props: any) => React.JSX.Element;
|
|
3
|
+
export default AttachmentContent;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const AttachmentIcon: (props: any) => React.JSX.Element;
|
|
3
|
+
export default AttachmentIcon;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const DownloadBlockedAttachment: (props: any) => React.JSX.Element;
|
|
3
|
+
export default DownloadBlockedAttachment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare enum FileScanStatus {
|
|
2
|
-
PASSED = "passed",
|
|
3
|
-
MALWARE = "malware",
|
|
4
|
-
INPROGRESS = "in progress"
|
|
5
|
-
}
|
|
6
|
-
export default FileScanStatus;
|
|
1
|
+
declare enum FileScanStatus {
|
|
2
|
+
PASSED = "passed",
|
|
3
|
+
MALWARE = "malware",
|
|
4
|
+
INPROGRESS = "in progress"
|
|
5
|
+
}
|
|
6
|
+
export default FileScanStatus;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const MaliciousAttachment: (props: any) => React.JSX.Element;
|
|
3
|
+
export default MaliciousAttachment;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const ScanInProgressAttachment: (props: any) => React.JSX.Element;
|
|
3
|
+
export default ScanInProgressAttachment;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const Spinner: (props: any) => React.JSX.Element;
|
|
3
|
+
export default Spinner;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* AvatarMiddleware
|
|
3
|
-
*
|
|
4
|
-
* This middleware handles the avatar icon for each non-system message. It does the following processing:
|
|
5
|
-
* 1. Renders the first two letters of the sender as the profile pic
|
|
6
|
-
******/
|
|
7
|
-
import React from "react";
|
|
8
|
-
export declare const createAvatarMiddleware: (avatarStyleProps?: React.CSSProperties, avatarTextStyleProps?: React.CSSProperties) => () => (next: any) => (
|
|
1
|
+
/******
|
|
2
|
+
* AvatarMiddleware
|
|
3
|
+
*
|
|
4
|
+
* This middleware handles the avatar icon for each non-system message. It does the following processing:
|
|
5
|
+
* 1. Renders the first two letters of the sender as the profile pic
|
|
6
|
+
******/
|
|
7
|
+
import React from "react";
|
|
8
|
+
export declare const createAvatarMiddleware: (avatarStyleProps?: React.CSSProperties, avatarTextStyleProps?: React.CSSProperties) => () => (next: any) => (...args: [any]) => false | (() => React.JSX.Element);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IBotMagicCodeConfig } from "../../../interfaces/IBotMagicCodeConfig";
|
|
2
|
-
export declare const createCardActionMiddleware: (botMagicCodeConfig: IBotMagicCodeConfig | undefined) => () => (next: any) => (...args: any) => any;
|
|
1
|
+
import { IBotMagicCodeConfig } from "../../../interfaces/IBotMagicCodeConfig";
|
|
2
|
+
export declare const createCardActionMiddleware: (botMagicCodeConfig: IBotMagicCodeConfig | undefined) => () => (next: any) => (...args: any) => any;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentContentStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentContentStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentDividerStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentDividerStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentDownloadIconStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentDownloadIconStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentFileNameStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentFileNameStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentSizeStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentSizeStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentAdaptiveCardStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentAdaptiveCardStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentIconStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentIconStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAttachmentStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAttachmentStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAvatarStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAvatarStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultAvatarTextStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultAvatarTextStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultReceivedMessageAnchorStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultReceivedMessageAnchorStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultSentMessageAnchorStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultSentMessageAnchorStyles: React.CSSProperties;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const defaultSystemMessageBoxStyles: {
|
|
2
|
-
maxWidth: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const defaultSystemMessageBoxStyles: {
|
|
2
|
+
maxWidth: string;
|
|
3
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const defaultSystemMessageStyles: {
|
|
2
|
-
maxWidth: string;
|
|
3
|
-
color: string;
|
|
4
|
-
background: string;
|
|
5
|
-
fontSize: string;
|
|
6
|
-
borderRadius: number;
|
|
7
|
-
minHeight: string;
|
|
8
|
-
fontFamily: string;
|
|
9
|
-
lineHeight: string;
|
|
10
|
-
padding: string;
|
|
11
|
-
};
|
|
1
|
+
export declare const defaultSystemMessageStyles: {
|
|
2
|
+
maxWidth: string;
|
|
3
|
+
color: string;
|
|
4
|
+
background: string;
|
|
5
|
+
fontSize: string;
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
minHeight: string;
|
|
8
|
+
fontFamily: string;
|
|
9
|
+
lineHeight: string;
|
|
10
|
+
padding: string;
|
|
11
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const defaultTimestampContentStyles: React.CSSProperties;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const defaultTimestampContentStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultTimestampFailedStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultTimestampFailedStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultTimestampRetryStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultTimestampRetryStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultTypingIndicatorBubbleStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultTypingIndicatorBubbleStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultTypingIndicatorContainerStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultTypingIndicatorContainerStyles: React.CSSProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const defaultTypingIndicatorMessageStyles: React.CSSProperties;
|
|
1
|
+
export declare const defaultTypingIndicatorMessageStyles: React.CSSProperties;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const defaultUserMessageBoxStyles: {
|
|
2
|
-
maxWidth: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const defaultUserMessageBoxStyles: {
|
|
2
|
+
maxWidth: string;
|
|
3
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const defaultUserMessageStyles: {
|
|
2
|
-
fontSize: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const defaultUserMessageStyles: {
|
|
2
|
+
fontSize: string;
|
|
3
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* GroupActivitiesMiddleware
|
|
3
|
-
*
|
|
4
|
-
* This middleware controls which messages are grouped together regarding to timestamps. It does the following processing:
|
|
5
|
-
* 1. Distinguishes different messages by sender name and whether it is a system message
|
|
6
|
-
******/
|
|
7
|
-
export declare const groupActivitiesMiddleware: () => (next: any) => (args: any) => (() => boolean) | {
|
|
8
|
-
sender: any[][];
|
|
9
|
-
status: any;
|
|
10
|
-
};
|
|
1
|
+
/******
|
|
2
|
+
* GroupActivitiesMiddleware
|
|
3
|
+
*
|
|
4
|
+
* This middleware controls which messages are grouped together regarding to timestamps. It does the following processing:
|
|
5
|
+
* 1. Distinguishes different messages by sender name and whether it is a system message
|
|
6
|
+
******/
|
|
7
|
+
export declare const groupActivitiesMiddleware: () => (next: any) => (args: any) => (() => boolean) | {
|
|
8
|
+
sender: any[][];
|
|
9
|
+
status: any;
|
|
10
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./activityMiddleware";
|
|
2
|
-
export * from "./activityStatusMiddleware";
|
|
3
|
-
export * from "./attachmentMiddleware";
|
|
4
|
-
export * from "./avatarMiddleware";
|
|
5
|
-
export * from "./cardActionMiddleware";
|
|
6
|
-
export * from "./groupActivitiesMiddleware";
|
|
7
|
-
export * from "./messageSequenceIdOverrideMiddleware";
|
|
8
|
-
export * from "./messageTimestampMiddleware";
|
|
9
|
-
export * from "./toastMiddleware";
|
|
10
|
-
export * from "./typingIndicatorMiddleware";
|
|
1
|
+
export * from "./activityMiddleware";
|
|
2
|
+
export * from "./activityStatusMiddleware";
|
|
3
|
+
export * from "./attachmentMiddleware";
|
|
4
|
+
export * from "./avatarMiddleware";
|
|
5
|
+
export * from "./cardActionMiddleware";
|
|
6
|
+
export * from "./groupActivitiesMiddleware";
|
|
7
|
+
export * from "./messageSequenceIdOverrideMiddleware";
|
|
8
|
+
export * from "./messageTimestampMiddleware";
|
|
9
|
+
export * from "./toastMiddleware";
|
|
10
|
+
export * from "./typingIndicatorMiddleware";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
2
|
-
export declare const createMessageSequenceIdOverrideMiddleware: ({ dispatch }: {
|
|
3
|
-
dispatch: any;
|
|
4
|
-
}) => (next: any) => (action: IWebChatAction) => any;
|
|
1
|
+
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
2
|
+
export declare const createMessageSequenceIdOverrideMiddleware: ({ dispatch }: {
|
|
3
|
+
dispatch: any;
|
|
4
|
+
}) => (next: any) => (action: IWebChatAction) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
2
|
-
export declare const createMessageTimeStampMiddleware: ({ dispatch }: {
|
|
3
|
-
dispatch: any;
|
|
4
|
-
}) => (next: any) => (action: IWebChatAction) => any;
|
|
1
|
+
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
2
|
+
export declare const createMessageTimeStampMiddleware: ({ dispatch }: {
|
|
3
|
+
dispatch: any;
|
|
4
|
+
}) => (next: any) => (action: IWebChatAction) => any;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const DeliveredTimestamp: ({ args, role, name }: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const NotDeliveredTimestamp: ({ args }: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const SendingTimestamp: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { INotificationPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/INotificationPaneProps";
|
|
2
|
-
export declare const createToastMiddleware: (notificationPaneProps: INotificationPaneProps | undefined, endChat: any) => () => (next: any) => (card: any) => any;
|
|
1
|
+
import { INotificationPaneProps } from "@microsoft/omnichannel-chat-components/lib/types/components/notificationpane/interfaces/INotificationPaneProps";
|
|
2
|
+
export declare const createToastMiddleware: (notificationPaneProps: INotificationPaneProps | undefined, endChat: any) => () => (next: any) => (card: any) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* TypingIndicatorMiddleware
|
|
3
|
-
*
|
|
4
|
-
* This middleware changes the component that shows who's actively typing. It uses the default Microsoft LiveChatWidget styles.
|
|
5
|
-
******/
|
|
6
|
-
|
|
1
|
+
/******
|
|
2
|
+
* TypingIndicatorMiddleware
|
|
3
|
+
*
|
|
4
|
+
* This middleware changes the component that shows who's actively typing. It uses the default Microsoft LiveChatWidget styles.
|
|
5
|
+
******/
|
|
6
|
+
import React from "react";
|
|
7
|
+
export declare const typingIndicatorMiddleware: () => (next: any) => (args: any) => React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* AttachmentProcessingMiddleware
|
|
3
|
-
*
|
|
4
|
-
* Handles attachment sending.
|
|
5
|
-
******/
|
|
6
|
-
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
7
|
-
declare const attachmentProcessingMiddleware: ({ dispatch }: {
|
|
8
|
-
dispatch: any;
|
|
9
|
-
}) => (next: any) => (action: IWebChatAction) => Promise<any>;
|
|
10
|
-
export default attachmentProcessingMiddleware;
|
|
1
|
+
/******
|
|
2
|
+
* AttachmentProcessingMiddleware
|
|
3
|
+
*
|
|
4
|
+
* Handles attachment sending.
|
|
5
|
+
******/
|
|
6
|
+
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
7
|
+
declare const attachmentProcessingMiddleware: ({ dispatch }: {
|
|
8
|
+
dispatch: any;
|
|
9
|
+
}) => (next: any) => (action: IWebChatAction) => Promise<any>;
|
|
10
|
+
export default attachmentProcessingMiddleware;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/******
|
|
2
|
-
* AttachmentUploadValidatorMiddleware
|
|
3
|
-
*
|
|
4
|
-
* Checks if the attachment being uploaded satisfies Omnichannel's requirement on file extensions and file size.
|
|
5
|
-
******/
|
|
6
|
-
import { ILiveChatWidgetLocalizedTexts } from "../../../../../contexts/common/ILiveChatWidgetLocalizedTexts";
|
|
7
|
-
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
8
|
-
declare const createAttachmentUploadValidatorMiddleware: (allowedFileExtensions: string, maxFileSizeSupportedByDynamics: string, localizedTexts: ILiveChatWidgetLocalizedTexts) => ({ dispatch }: {
|
|
9
|
-
dispatch: any;
|
|
10
|
-
}) => (next: any) => (action: IWebChatAction) => any;
|
|
11
|
-
export default createAttachmentUploadValidatorMiddleware;
|
|
1
|
+
/******
|
|
2
|
+
* AttachmentUploadValidatorMiddleware
|
|
3
|
+
*
|
|
4
|
+
* Checks if the attachment being uploaded satisfies Omnichannel's requirement on file extensions and file size.
|
|
5
|
+
******/
|
|
6
|
+
import { ILiveChatWidgetLocalizedTexts } from "../../../../../contexts/common/ILiveChatWidgetLocalizedTexts";
|
|
7
|
+
import { IWebChatAction } from "../../../interfaces/IWebChatAction";
|
|
8
|
+
declare const createAttachmentUploadValidatorMiddleware: (allowedFileExtensions: string, maxFileSizeSupportedByDynamics: string, localizedTexts: ILiveChatWidgetLocalizedTexts) => ({ dispatch }: {
|
|
9
|
+
dispatch: any;
|
|
10
|
+
}) => (next: any) => (action: IWebChatAction) => any;
|
|
11
|
+
export default createAttachmentUploadValidatorMiddleware;
|