kore-web-sdk 9.3.11
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/dist/a.js +2 -0
- package/dist/components/chatwindow/chatWindow.d.ts +254 -0
- package/dist/components/chatwindow/config/kore-config.d.ts +2 -0
- package/dist/components/widgets/config/kore-widgets-config.d.ts +8 -0
- package/dist/components/widgets/kore-widgets.d.ts +116 -0
- package/dist/hot/hot-update.js +85 -0
- package/dist/hot/hot-update.js.map +1 -0
- package/dist/hot/hot-update.json +1 -0
- package/dist/index_esm.d.ts +13 -0
- package/dist/index_plugins/AzureSTT_umd.d.ts +2 -0
- package/dist/index_plugins/AzureTTS_umd.d.ts +2 -0
- package/dist/index_plugins/BrowserTTS_umd.d.ts +2 -0
- package/dist/index_plugins/KoreAWSST_umd.d.ts +2 -0
- package/dist/index_plugins/KoreDesktopNotification_umd.d.ts +2 -0
- package/dist/index_plugins/SearchSuggestions_umd.d.ts +2 -0
- package/dist/index_plugins/WebKitSTT_umd.d.ts +2 -0
- package/dist/index_plugins/agentDesktop_umd.d.ts +2 -0
- package/dist/index_plugins/googleSTT_umd.d.ts +2 -0
- package/dist/index_plugins/googleTTS_umd.d.ts +2 -0
- package/dist/index_plugins/graphTemplates_umd.d.ts +2 -0
- package/dist/index_plugins/korepicker_umd.d.ts +2 -0
- package/dist/index_umd_chat.d.ts +3 -0
- package/dist/index_umd_widgets.d.ts +3 -0
- package/dist/kore-web-sdk.esm.browser.js +1 -0
- package/dist/kore-web-sdk.esm.browser.js.map +1 -0
- package/dist/plugins/STTPlugins/BaseSTT.d.ts +8 -0
- package/dist/plugins/STTPlugins/WebKitSTTPlugin/WebKitSTTPlugin.d.ts +31 -0
- package/dist/plugins/TTSPlugins/BaseTTS.d.ts +8 -0
- package/dist/plugins/TTSPlugins/BrowserTTSPlugin/BrowserTTSPlugin.d.ts +15 -0
- package/dist/plugins/agentDesktop/agentdesktop.d.ts +18 -0
- package/dist/plugins/desktopNotifications/desktopnotifications.d.ts +10 -0
- package/dist/plugins/fileUploader/fileUploader.d.ts +144 -0
- package/dist/plugins/fileUploaderPlugin/fileUploader.d.ts +144 -0
- package/dist/plugins/graphTemplatesPlugin.d.ts +20 -0
- package/dist/plugins/i18n.d.ts +28 -0
- package/dist/plugins/korePickers.d.ts +172 -0
- package/dist/plugins/searchSuggestions/searchSuggestions.d.ts +75 -0
- package/dist/plugins/speechToText/AzureSTT/AzureSTT.d.ts +19 -0
- package/dist/plugins/speechToText/BaseSTT.d.ts +8 -0
- package/dist/plugins/speechToText/GoogleSTT/GoogleSTT.d.ts +48 -0
- package/dist/plugins/speechToText/GoogleSTT/recorder.d.ts +21 -0
- package/dist/plugins/speechToText/WebKitSTT/WebKitSTT.d.ts +32 -0
- package/dist/plugins/textToSpeech/AzureTTS/AzureTTS.d.ts +22 -0
- package/dist/plugins/textToSpeech/BaseTTS.d.ts +8 -0
- package/dist/plugins/textToSpeech/BrowserTTS/BrowserTTS.d.ts +15 -0
- package/dist/plugins/textToSpeech/GoogleTTS/GoogleTTS.d.ts +32 -0
- package/dist/plugins/textToSpeech/KoreAWSPolly/kore-aws-polly.d.ts +22 -0
- package/dist/src/components/chatwindow/chatWindow.d.ts +242 -0
- package/dist/src/components/chatwindow/config/kore-config.d.ts +2 -0
- package/dist/src/components/widgets/config/kore-widgets-config.d.ts +8 -0
- package/dist/src/components/widgets/kore-widgets.d.ts +116 -0
- package/dist/src/index_esm.d.ts +12 -0
- package/dist/src/index_plugins/BrowserTTS_umd.d.ts +2 -0
- package/dist/src/index_plugins/WebKitSTT_umd.d.ts +2 -0
- package/dist/src/index_plugins/agentDesktop_umd.d.ts +2 -0
- package/dist/src/index_plugins/graphTemplates_umd.d.ts +2 -0
- package/dist/src/index_plugins/korepicker_umd.d.ts +2 -0
- package/dist/src/index_umd_chat.d.ts +3 -0
- package/dist/src/index_umd_widgets.d.ts +3 -0
- package/dist/src/plugins/STTPlugins/BaseSTT.d.ts +8 -0
- package/dist/src/plugins/STTPlugins/WebKitSTTPlugin/WebKitSTTPlugin.d.ts +26 -0
- package/dist/src/plugins/TTSPlugins/BaseTTS.d.ts +8 -0
- package/dist/src/plugins/TTSPlugins/BrowserTTSPlugin/BrowserTTSPlugin.d.ts +10 -0
- package/dist/src/plugins/TTSPlugins/KoreAWSPollyPlugin/kore-aws-polly.d.ts +21 -0
- package/dist/src/plugins/agentDesktop/agentdesktop.d.ts +12 -0
- package/dist/src/plugins/fileUploaderPlugin/fileUploader.d.ts +144 -0
- package/dist/src/plugins/graphTemplatesPlugin.d.ts +12 -0
- package/dist/src/plugins/i18n.d.ts +28 -0
- package/dist/src/plugins/korePickers.d.ts +71 -0
- package/dist/src/templatemanager/templateManager.d.ts +11 -0
- package/dist/src/templatemanager/templates/advancedListTemplate/advancedListTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/advancedMultiSelect/advancedMultiSelect.d.ts +7 -0
- package/dist/src/templatemanager/templates/barChartTemplate/barChartTemplate.d.ts +9 -0
- package/dist/src/templatemanager/templates/button/buttonTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/cardTemplate/cardTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/carouselTemplate/carouselTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/checkBoxesTemplate/checkBoxesTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/clockPicker/clockPicker.d.ts +12 -0
- package/dist/src/templatemanager/templates/datePicker/datePicker.d.ts +12 -0
- package/dist/src/templatemanager/templates/dateRangePicker/dateRangePicker.d.ts +12 -0
- package/dist/src/templatemanager/templates/dropdownTemplate/dropdownTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/formTemplate/formTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/iframeTemplate/iframeTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/likeDislikeTemplate/likeDislikeTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/lineChartTemplate/lineChartTemplate.d.ts +9 -0
- package/dist/src/templatemanager/templates/listTemplate/listTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/listViewTemplate/listViewTemplate.d.ts +9 -0
- package/dist/src/templatemanager/templates/listWidgetTemplate/listWidgetTemplate.d.ts +9 -0
- package/dist/src/templatemanager/templates/messageTemplate/messageTemplate.d.ts +6 -0
- package/dist/src/templatemanager/templates/miniTableTemplate/miniTableTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/pieChartTemplate/pieChartTemplate.d.ts +9 -0
- package/dist/src/templatemanager/templates/quickReplyTemplate/quickReplyTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/radioOptionPicker/radioOptionPicker.d.ts +10 -0
- package/dist/src/templatemanager/templates/ratingTemplate/ratingTemplate.d.ts +8 -0
- package/dist/src/templatemanager/templates/systemTemplate/systemTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/tableListTemplate/tableListTemplate.d.ts +8 -0
- package/dist/src/templatemanager/templates/tableTemplate/tableTemplate.d.ts +7 -0
- package/dist/src/templatemanager/templates/taskPickerTemplate/taskPickerTemplate.d.ts +10 -0
- package/dist/src/templatemanager/templates/templateAttachment/templateAttachment.d.ts +7 -0
- package/dist/src/utils/EventEmiter.d.ts +11 -0
- package/dist/templatemanager/templateManager.d.ts +11 -0
- package/dist/templatemanager/templates/advancedListTemplate/advancedListTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/advancedMultiSelect/advancedMultiSelect.d.ts +7 -0
- package/dist/templatemanager/templates/barChartTemplate/barChartTemplate.d.ts +9 -0
- package/dist/templatemanager/templates/button/buttonTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/cardTemplate/cardTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/carouselTemplate/carouselTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/checkBoxesTemplate/checkBoxesTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/clockPicker/clockPicker.d.ts +12 -0
- package/dist/templatemanager/templates/datePicker/datePicker.d.ts +12 -0
- package/dist/templatemanager/templates/dateRangePicker/dateRangePicker.d.ts +12 -0
- package/dist/templatemanager/templates/dropdownTemplate/dropdownTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/formTemplate/formTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/iframeTemplate/iframeTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/likeDislikeTemplate/likeDislikeTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/lineChartTemplate/lineChartTemplate.d.ts +9 -0
- package/dist/templatemanager/templates/listTemplate/listTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/listViewTemplate/listViewTemplate.d.ts +9 -0
- package/dist/templatemanager/templates/listWidgetTemplate/listWidgetTemplate.d.ts +9 -0
- package/dist/templatemanager/templates/messageTemplate/messageTemplate.d.ts +6 -0
- package/dist/templatemanager/templates/miniTableTemplate/miniTableTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/pieChartTemplate/pieChartTemplate.d.ts +9 -0
- package/dist/templatemanager/templates/quickReplyTemplate/quickReplyTemplate.d.ts +11 -0
- package/dist/templatemanager/templates/radioOptionPicker/radioOptionPicker.d.ts +10 -0
- package/dist/templatemanager/templates/ratingTemplate/ratingTemplate.d.ts +8 -0
- package/dist/templatemanager/templates/systemTemplate/systemTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/tableListTemplate/tableListTemplate.d.ts +8 -0
- package/dist/templatemanager/templates/tableTemplate/tableTemplate.d.ts +7 -0
- package/dist/templatemanager/templates/taskPickerTemplate/taskPickerTemplate.d.ts +10 -0
- package/dist/templatemanager/templates/templateAttachment/templateAttachment.d.ts +7 -0
- package/dist/umd/kore-web-sdk-umd-chat.js +1 -0
- package/dist/umd/kore-web-sdk-umd-chat.min.js +1 -0
- package/dist/umd/kore-web-sdk-umd-widgets.js +1 -0
- package/dist/umd/plugins/agent-desktop-umd.js +1 -0
- package/dist/umd/plugins/azure-stt-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/azure-tts-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/browser-tts-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/google-stt-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/google-tts-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/kore-desktop-notification-umd.js +1 -0
- package/dist/umd/plugins/kore-graph-templates-plugin-umd.js +1 -0
- package/dist/umd/plugins/kore-picker-plugin-umd.js +1 -0
- package/dist/umd/plugins/koreawspolly-st-umd-plugin-umd.js +1 -0
- package/dist/umd/plugins/search-suggestions-umd.js +1 -0
- package/dist/umd/plugins/tts-speech-plugin-umd.js +1 -0
- package/dist/umd/plugins/webapi-stt-plugin-umd.js +1 -0
- package/dist/utils/EventEmiter.d.ts +11 -0
- package/package.json +1 -0
package/dist/a.js
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import EventEmitter from '../../utils/EventEmiter';
|
|
2
|
+
import './../../libs/perfectscroll/css/perfect-scrollbar.min.css';
|
|
3
|
+
import './sass/chatWindow.scss';
|
|
4
|
+
/**
|
|
5
|
+
* ChatWindow class
|
|
6
|
+
*
|
|
7
|
+
* @decorator Class
|
|
8
|
+
*/
|
|
9
|
+
declare class chatWindow extends EventEmitter {
|
|
10
|
+
chatEle: any;
|
|
11
|
+
config: {};
|
|
12
|
+
/**
|
|
13
|
+
* @eventProperty
|
|
14
|
+
*/
|
|
15
|
+
testEvent: any;
|
|
16
|
+
/**
|
|
17
|
+
* @event
|
|
18
|
+
*/
|
|
19
|
+
EVENTS: {
|
|
20
|
+
/**
|
|
21
|
+
* jwtSuccess will be triggered once the jwt token received from API.
|
|
22
|
+
*
|
|
23
|
+
* @event chatWindow#jwtSuccess
|
|
24
|
+
* @type {Object}
|
|
25
|
+
* @property {String} jwt - jwt token from server response .
|
|
26
|
+
*/
|
|
27
|
+
JWT_SUCCESS: string;
|
|
28
|
+
/**
|
|
29
|
+
* beforeViewInit will be triggered before the chat window dom element is attached to provided container.
|
|
30
|
+
*
|
|
31
|
+
* @event chatWindow#beforeViewInit
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @property {Object} chatEle - chat window dom element .
|
|
34
|
+
* @property {Object} chatWindowEvent
|
|
35
|
+
*/
|
|
36
|
+
BEFORE_VIEW_INIT: string;
|
|
37
|
+
/**
|
|
38
|
+
* viewInit will be triggered once the chat window dom element is attached to provided container.
|
|
39
|
+
*
|
|
40
|
+
* @event chatWindow#viewInit
|
|
41
|
+
* @type {object}
|
|
42
|
+
* @property {Object} chatEle - chat window dom element .
|
|
43
|
+
* @property {Object} chatWindowEvent
|
|
44
|
+
*/
|
|
45
|
+
VIEW_INIT: string;
|
|
46
|
+
/**
|
|
47
|
+
* beforeRenderMessage will be triggered before appending the message html to chatwindow
|
|
48
|
+
*
|
|
49
|
+
* @event chatWindow#beforeRenderMessage
|
|
50
|
+
* @type {object}
|
|
51
|
+
* @property {Object} messageHtml message bubble html content
|
|
52
|
+
* @property {Object} msgData message data
|
|
53
|
+
* @property {Object} chatWindowEvent
|
|
54
|
+
*/
|
|
55
|
+
BEFORE_RENDER_MSG: string;
|
|
56
|
+
/**
|
|
57
|
+
* afterRenderMessage will be triggered after appending the message html to chatwindow
|
|
58
|
+
*
|
|
59
|
+
* @event chatWindow#afterRenderMessage
|
|
60
|
+
* @type {object}
|
|
61
|
+
* @property {Object} messageHtml message bubble html content
|
|
62
|
+
* @property {Object} msgData message data
|
|
63
|
+
* @property {Object} chatWindowEvent
|
|
64
|
+
*/
|
|
65
|
+
AFTER_RENDER_MSG: string;
|
|
66
|
+
/**
|
|
67
|
+
* onWSOpen will be triggered on new websocket connection open
|
|
68
|
+
*
|
|
69
|
+
* @event chatWindow#onWSOpen
|
|
70
|
+
*/
|
|
71
|
+
ON_WS_OPEN: string;
|
|
72
|
+
/**
|
|
73
|
+
* onWSMessage will be triggered on new message received from websocket
|
|
74
|
+
*
|
|
75
|
+
* @event chatWindow#onWSMessage
|
|
76
|
+
* @type {object}
|
|
77
|
+
* @property {Object} messageData - message data received from websocket
|
|
78
|
+
* @property {Object} chatWindowEvent
|
|
79
|
+
*/
|
|
80
|
+
ON_WS_MESSAGE: string;
|
|
81
|
+
/**
|
|
82
|
+
* onWSMessage will be triggered on new message received from websocket
|
|
83
|
+
*
|
|
84
|
+
* @event chatWindow#beforeWSSendMessage
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @property {Object} messageToBot - message data to be sent to to websocket
|
|
87
|
+
* @property {Object} chatWindowEvent
|
|
88
|
+
*/
|
|
89
|
+
BEFORE_WS_SEND_MESSAGE: string;
|
|
90
|
+
/**
|
|
91
|
+
* onChatHistoryResponse will be triggered on chatHistory API response
|
|
92
|
+
*
|
|
93
|
+
* @event chatWindow#onChatHistoryResponse
|
|
94
|
+
* @type {object}
|
|
95
|
+
* @property {Object} historyResponse - chatHistory API response
|
|
96
|
+
* @property {Object} chatWindowEvent
|
|
97
|
+
*/
|
|
98
|
+
ON_CHAT_HISTORY_RESPONSE: string;
|
|
99
|
+
/**
|
|
100
|
+
* onKeyDownEvent will be triggered on Keydown Event
|
|
101
|
+
*
|
|
102
|
+
* @event chatWindow#onKeyDownEvent
|
|
103
|
+
* @type {object}
|
|
104
|
+
* @property {Object} keyDownEvent
|
|
105
|
+
* @property {Object} chatWindowEvent
|
|
106
|
+
*/
|
|
107
|
+
ON_KEY_DOWN: string;
|
|
108
|
+
/**
|
|
109
|
+
* jwtGrantSuccess will be triggered on jwt grant success API response
|
|
110
|
+
*
|
|
111
|
+
* @event chatWindow#jwtGrantSuccess
|
|
112
|
+
* @type {object}
|
|
113
|
+
* @property {Object} jwtGrantSuccess - jwt grant success API response
|
|
114
|
+
* @property {Object} chatWindowEvent
|
|
115
|
+
*/
|
|
116
|
+
JWT_GRANT_SUCCESS: string;
|
|
117
|
+
};
|
|
118
|
+
constructor();
|
|
119
|
+
paginatedScrollMsgDiv: any;
|
|
120
|
+
init(config: any): void;
|
|
121
|
+
installDefaultPlugins(): void;
|
|
122
|
+
installCallbackForPlugins(): void;
|
|
123
|
+
show(config: any): false | undefined;
|
|
124
|
+
initShow(config: any): void;
|
|
125
|
+
findSortedIndex(array: any, value: any): number;
|
|
126
|
+
extend(target: any, source: any): any;
|
|
127
|
+
reWriteWebHookURL(chatConfig: any): void;
|
|
128
|
+
attachEventListener(iframe: any, postPayload: any): void;
|
|
129
|
+
postMessageToChildIframes(iframe: any, postPayload: any): void;
|
|
130
|
+
openModal(template: any, showClose: any): void;
|
|
131
|
+
formAction(event: any): void;
|
|
132
|
+
renderWebForm(msgData: any, returnTemplate: any): any;
|
|
133
|
+
addBottomSlider(): void;
|
|
134
|
+
updateOnlineStatus(): void;
|
|
135
|
+
resetPingMessage(): void;
|
|
136
|
+
handleImagePreview(): void;
|
|
137
|
+
isMobile(): boolean;
|
|
138
|
+
onWindowResize(event: any): void;
|
|
139
|
+
setLocalStoreItem(key: any, value: any): any;
|
|
140
|
+
getLocalStoreItem(key: any): any;
|
|
141
|
+
removeLocalStoreItem(key: any): any;
|
|
142
|
+
getStoreTypeByKey(key: any): string;
|
|
143
|
+
initi18n(): void;
|
|
144
|
+
seti18n(lang: any): void;
|
|
145
|
+
updatei18nDirection(): void;
|
|
146
|
+
destroy(): void;
|
|
147
|
+
resetWindow(): void;
|
|
148
|
+
sendMessageWithWithChatInput(chatInput: any): void;
|
|
149
|
+
bindEvents(): void;
|
|
150
|
+
getBotMetaData(): void;
|
|
151
|
+
sendWebhookOnConnectEvent(): void;
|
|
152
|
+
bindSDKEvents(): void;
|
|
153
|
+
parseSocketMessage(msgString: string): any;
|
|
154
|
+
onBotReady(): void;
|
|
155
|
+
bindIframeEvents(authPopup: {
|
|
156
|
+
on: (arg0: string, arg1: string, arg2: () => void) => void;
|
|
157
|
+
find: (arg0: string) => any[];
|
|
158
|
+
}): void;
|
|
159
|
+
render(chatWindowHtml: any): false | undefined;
|
|
160
|
+
sendMessageToBot(messageText: {
|
|
161
|
+
trim: () => {
|
|
162
|
+
(): any;
|
|
163
|
+
new (): any;
|
|
164
|
+
length: any;
|
|
165
|
+
};
|
|
166
|
+
}, options: {
|
|
167
|
+
renderMsg: any;
|
|
168
|
+
}, serverMessageObject: any, clientMessageObject: any): false | undefined;
|
|
169
|
+
postSendMessageToBot(): void;
|
|
170
|
+
handleWebHookResponse(msgsData: any[]): void;
|
|
171
|
+
sendMessageViaWebHook(message: {
|
|
172
|
+
text: any;
|
|
173
|
+
}, successCb: any, failureCB: any, options: {
|
|
174
|
+
session: {
|
|
175
|
+
new: boolean;
|
|
176
|
+
};
|
|
177
|
+
attachments: any;
|
|
178
|
+
}): void;
|
|
179
|
+
closeConversationSession(): void;
|
|
180
|
+
showTypingIndicator(): void;
|
|
181
|
+
hideTypingIndicator(): void;
|
|
182
|
+
renderMessage(msgData: {
|
|
183
|
+
createdOnTimemillis: number;
|
|
184
|
+
createdOn: string | number | Date;
|
|
185
|
+
type: string;
|
|
186
|
+
icon: any;
|
|
187
|
+
message: {
|
|
188
|
+
component: {
|
|
189
|
+
payload: {
|
|
190
|
+
fromHistory: any;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
}[];
|
|
194
|
+
messageId: any;
|
|
195
|
+
renderType: string;
|
|
196
|
+
fromHistorySync: any;
|
|
197
|
+
} | any): false | undefined;
|
|
198
|
+
generateMessageDOM(msgData?: any): any;
|
|
199
|
+
pushTorenderMessagesQueue(msgItem: any): void;
|
|
200
|
+
startRenderEventLoop(): void;
|
|
201
|
+
checkForMsgQueue(): void;
|
|
202
|
+
openPopup(link_url: any): void;
|
|
203
|
+
openExternalLink(link_url: any): void;
|
|
204
|
+
getChatTemplate(tempType: string): string;
|
|
205
|
+
historyLoadingComplete(): void;
|
|
206
|
+
chatHistory(res: {
|
|
207
|
+
messages: string | any[];
|
|
208
|
+
}[] | any): false | undefined;
|
|
209
|
+
getJWTByAPIKey(API_KEY_CONFIG: {
|
|
210
|
+
KEY: any;
|
|
211
|
+
bootstrapURL: any;
|
|
212
|
+
}): any;
|
|
213
|
+
getJWT(options: {
|
|
214
|
+
clientId: any;
|
|
215
|
+
clientSecret: any;
|
|
216
|
+
userIdentity: any;
|
|
217
|
+
JWTUrl: any;
|
|
218
|
+
}, callback: any): any;
|
|
219
|
+
JWTSetup(): void;
|
|
220
|
+
setupInternalAssertionFunction(): void;
|
|
221
|
+
setupInternalAssertionFunctionWithAPIKey(): void;
|
|
222
|
+
setJWT(jwtToken: any): void;
|
|
223
|
+
assertionFn(options: any, callback: any): void;
|
|
224
|
+
SDKcallbackWraper(): void;
|
|
225
|
+
addWidgetEvents(cfg: any): void;
|
|
226
|
+
setWidgetInstance(widgetSDKInstace: any): void;
|
|
227
|
+
hideError(): void;
|
|
228
|
+
showError(response: any): void;
|
|
229
|
+
bottomSliderAction(action: any, appendElement: any): void;
|
|
230
|
+
unfreezeUIOnHistoryLoadingFail(): void;
|
|
231
|
+
installPlugin(plugin: any): void;
|
|
232
|
+
scrollTop(): void;
|
|
233
|
+
focusInputTextbox(): void;
|
|
234
|
+
getBrandingInformation(options: any): void;
|
|
235
|
+
applySDKBranding(response: any): void;
|
|
236
|
+
applyVariableValue(key: any, value: any, type: any): void;
|
|
237
|
+
/**
|
|
238
|
+
* [#]{@link chatWindow#sendMessage} Send message to bot including rendering
|
|
239
|
+
* @param {String} messageText message text to send
|
|
240
|
+
* @param {Object} [options] additional options
|
|
241
|
+
* @param {Object} options.renderMsg override message to show in UI
|
|
242
|
+
* @param {Object} [serverMessageObject] overrides the properties of message object before sending to websocket
|
|
243
|
+
* @param {Object} serverMessageObject.customdata customdata to send bot
|
|
244
|
+
* @param {Object} serverMessageObject.message.metaTags metaTags to send bot
|
|
245
|
+
* @param {Object} serverMessageObject.message.nlMeta nlMeta to send bot
|
|
246
|
+
* @param {Object} [clientMessageObject] overrides the properties of message object before sending to UI renderMessage method
|
|
247
|
+
* @param {Object} clientMessageObject.createdOn customdata to send bot
|
|
248
|
+
* @param {Object} clientMessageObject.message.clientMessageId metaTags to send bot
|
|
249
|
+
* @param {Object} clientMessageObject.message.cInfo.body nlMeta to send bot
|
|
250
|
+
* @param clientMessageObject.____ and more
|
|
251
|
+
*/
|
|
252
|
+
sendMessage(messageText: any, options: any, serverMessageObject: any, clientMessageObject: any): void;
|
|
253
|
+
}
|
|
254
|
+
export default chatWindow;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import './styles/kore-widgets.css';
|
|
2
|
+
declare class KoreWidgetSDK {
|
|
3
|
+
vars: any;
|
|
4
|
+
events: any;
|
|
5
|
+
config: any;
|
|
6
|
+
constructor(config: any);
|
|
7
|
+
jqueryManupulations(): void;
|
|
8
|
+
initVariables(): void;
|
|
9
|
+
attachEventListener(): void;
|
|
10
|
+
show(config: any): void;
|
|
11
|
+
formAction(event: any): void;
|
|
12
|
+
maintainCache(): void;
|
|
13
|
+
modifyJSON(count: any): void;
|
|
14
|
+
getTemplate(type: any): string | undefined;
|
|
15
|
+
bindWidgetEvent(): void;
|
|
16
|
+
openDropdown(data: any): void;
|
|
17
|
+
openPanel(panelName: any, resPopUp: any, heightToggle: any): false | undefined;
|
|
18
|
+
checkWidgetSwitchEditor(newPanel: any, oldPanel: any): boolean;
|
|
19
|
+
prepareRenderData(panelName: any): void;
|
|
20
|
+
getServerDataGen(url: any, method: any, payload: any, _params: any): any;
|
|
21
|
+
getServerData(url: any, method: any, payload: any, _params: any, passedJson: any): any;
|
|
22
|
+
getCacheDataByWidgetId(widgetId: any): any;
|
|
23
|
+
getPanelDataByPanelId(panelId: any): any;
|
|
24
|
+
getWidgetDataByWidgetId(widgetId: any): undefined;
|
|
25
|
+
openCloseBottomOverlayContainer(open: any, htmlData: any): void;
|
|
26
|
+
applySortingAndFilter(e: any, bindingData: any, sortInputs: any): void;
|
|
27
|
+
applySorting(e: any, $ele: any, templateType: any, bindingData: any): void;
|
|
28
|
+
openWidgetFilters(e: any, ele: any, templateType: any, bindingData: any): void;
|
|
29
|
+
bindTemplateEvents(ele: any, templateType: any, bindingData: any): void;
|
|
30
|
+
getHTMLTemplate(responseData: any, xhrObject: any): any;
|
|
31
|
+
prepereWidgetHeader(responseData: any, xhrObject: any): void;
|
|
32
|
+
renderTemplate(responseData: any, xhrObject: any): void;
|
|
33
|
+
resolveUrl(toResolveUrl: any, values: any, deleteProp: any): any;
|
|
34
|
+
getResolveMeeting(obj: any): any;
|
|
35
|
+
filterTabs(parentId: any, subpanelId: any, filterId: any): void;
|
|
36
|
+
viewMorePanel(obj: any): void;
|
|
37
|
+
scrollData(paneldata: any, filterdata: any, panelType: any, e: any): void;
|
|
38
|
+
scrollServerData(url: any, method: any, payload: any, passedJson: any, e: any, viewMoredata: any, panelType: any): any;
|
|
39
|
+
mergedata(oldJson: any, newJson: any): any;
|
|
40
|
+
setChatFocus(): void;
|
|
41
|
+
removeViewMore(): void;
|
|
42
|
+
getColumnWidth(width: any): any;
|
|
43
|
+
refreshElement(panelDetails: any, refreshFullpanel: any, widgetData?: any): void;
|
|
44
|
+
refreshWidgetData(widgetData: any, time: any, panelDetail: any): void;
|
|
45
|
+
clearWidgetPolling(widgetData: any): void;
|
|
46
|
+
startWidgetPolling(widgetData: any, currTime: any, givenTime: any, panelDetail: any): void;
|
|
47
|
+
refreshData(panelName: any, time: any): void;
|
|
48
|
+
startPolling(panelName: any, currTime: any, givenTime: any): void;
|
|
49
|
+
resetTask(): void;
|
|
50
|
+
meetingTimer(tdata: any, m_Data: any, index: any): any;
|
|
51
|
+
startTimer(mObj: any): void;
|
|
52
|
+
passHashTag(uttarence: any): void;
|
|
53
|
+
openArticle(kId: any): void;
|
|
54
|
+
openAnnouncement(kId: any): void;
|
|
55
|
+
openLink(url: any): void;
|
|
56
|
+
passTaskUtterances(e: any, actionIndex: any): void;
|
|
57
|
+
passUtterances(idss: any, message: any, evt: any): void;
|
|
58
|
+
triggerEvent(eventName: any, data: any): void;
|
|
59
|
+
triggerAction(actionObj: any, postData: any): void;
|
|
60
|
+
checkCurrentUser(oId: any, aId: any): boolean;
|
|
61
|
+
categoriseMeetingDayWise(mData: any): void;
|
|
62
|
+
showDropdown(obj: any): void;
|
|
63
|
+
addArticleAnnouncement(type: any): void;
|
|
64
|
+
passMeetingUtterances(_this: any): void;
|
|
65
|
+
meetingAction(actionObj: any, mainObj: any): void;
|
|
66
|
+
taskkAction(tId: any, taskName: any, e: any): void;
|
|
67
|
+
removeTaskSelection(): void;
|
|
68
|
+
taskSend(type: any): void;
|
|
69
|
+
taskCheckbox(taskId: any): boolean;
|
|
70
|
+
sendTaskAction(type: any, actionPlace: any): void;
|
|
71
|
+
popupAction(data: any, title: any, _this: any): void;
|
|
72
|
+
createPopup(content: any, actionObj: any, mainObj: any): void;
|
|
73
|
+
toggelMeetingActionBtn(id: any, e: any): void;
|
|
74
|
+
hexToRGBMeeting(hex: any, alpha: any): string;
|
|
75
|
+
isURL(str: any): {
|
|
76
|
+
status: boolean;
|
|
77
|
+
location: any;
|
|
78
|
+
};
|
|
79
|
+
getTemplateMethods(): any;
|
|
80
|
+
openPanelForWindow(panelName: any, resPopUp: any, heightToggle: any): void;
|
|
81
|
+
filterTabsForWindow(parentId: any, subpanelId: any, filterId: any): void;
|
|
82
|
+
viewMorePanelForWindow(obj: any): void;
|
|
83
|
+
scrollDataForWindow(paneldata: any, filterdata: any, panelType: any, e: any): void;
|
|
84
|
+
removeViewMoreForWindow(): void;
|
|
85
|
+
meetingTimerForWindow(tdata: any, m_Data: any, index: any): void;
|
|
86
|
+
passHashTagForWindow(uttarence: any): void;
|
|
87
|
+
openArticleForWindow(kId: any): void;
|
|
88
|
+
openAnnouncementForWindow(kId: any): void;
|
|
89
|
+
openLinkForWindow(url: any): void;
|
|
90
|
+
passTaskUtterancesForWindow(e: any, actionIndex: any): void;
|
|
91
|
+
passUtterancesForWindow(idss: any, message: any, evt: any): void;
|
|
92
|
+
checkCurrentUserForWindow(oId: any, aId: any): void;
|
|
93
|
+
showDropdownForWindow(obj: any): void;
|
|
94
|
+
addArticleAnnouncementForWindow(type: any): void;
|
|
95
|
+
refreshElementForWindow(type: any, refreshType: any): void;
|
|
96
|
+
passMeetingUtterancesForWindow(_this: any): void;
|
|
97
|
+
taskkActionForWindow(tId: any, taskName: any, e: any): void;
|
|
98
|
+
removeTaskSelectionForWindow(): void;
|
|
99
|
+
taskSendForWindow(type: any): void;
|
|
100
|
+
taskCheckboxForWindow(taskId: any): void;
|
|
101
|
+
popupActionForWindow(data: any, title: any, _this: any): void;
|
|
102
|
+
toggelMeetingActionBtnForWindow(id: any, e: any): void;
|
|
103
|
+
hexToRGBMeetingForWindow(hex: any, alpha: any): void;
|
|
104
|
+
isURLForWindow(str: any): void;
|
|
105
|
+
getMeetingSlot(duration: any): {
|
|
106
|
+
start: any;
|
|
107
|
+
end: any;
|
|
108
|
+
}[];
|
|
109
|
+
getDateArray(start: any, end: any): any[];
|
|
110
|
+
cloneMessage1(obj: any): any;
|
|
111
|
+
compare(a: any, b: any): number;
|
|
112
|
+
init(config: any): void;
|
|
113
|
+
setJWT(jwtToken: any): void;
|
|
114
|
+
extend(target: any, source: any): any;
|
|
115
|
+
}
|
|
116
|
+
export default KoreWidgetSDK;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
self["webpackHotUpdatekore_web_sdk"]("esm",{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/components/chatwindow/config/kore-config.ts":
|
|
4
|
+
/*!*********************************************************!*\
|
|
5
|
+
!*** ./src/components/chatwindow/config/kore-config.ts ***!
|
|
6
|
+
\*********************************************************/
|
|
7
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8
|
+
|
|
9
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
12
|
+
/* harmony export */ });
|
|
13
|
+
// var KoreSDK = KoreSDK || {};
|
|
14
|
+
var chatConfig = {};
|
|
15
|
+
var botOptions = {};
|
|
16
|
+
botOptions.logLevel = 'debug';
|
|
17
|
+
botOptions.koreAPIUrl = "https://bots.kore.ai/api/";
|
|
18
|
+
botOptions.API_KEY_CONFIG = {
|
|
19
|
+
bootstrapURL: botOptions.koreAPIUrl + 'platform/websdk',
|
|
20
|
+
KEY: 'YOUR_API_KEY'
|
|
21
|
+
},
|
|
22
|
+
botOptions.koreSpeechAPIUrl = ""; //deprecated
|
|
23
|
+
//botOptions.bearer = "bearer xyz-------------------";
|
|
24
|
+
//botOptions.ttsSocketUrl = '';//deprecated
|
|
25
|
+
//botOptions.koreAnonymousFn = koreAnonymousFn;
|
|
26
|
+
botOptions.JWTUrl = "PLEASE_ENTER_JWTURL_HERE";
|
|
27
|
+
botOptions.userIdentity = 'PLEASE_ENTER_USER_EMAIL_ID'; // Provide users email id here
|
|
28
|
+
botOptions.botInfo = { name: "PLEASE_ENTER_BOT_NAME", "_id": "PLEASE_ENTER_BOT_ID" }; // bot name is case sensitive
|
|
29
|
+
botOptions.clientId = "PLEASE_ENTER_CLIENT_ID";
|
|
30
|
+
botOptions.clientSecret = "PLEASE_ENTER_CLIENT_SECRET";
|
|
31
|
+
//for webhook based communication use following option
|
|
32
|
+
botOptions.webhookConfig = {
|
|
33
|
+
enable: false,
|
|
34
|
+
webhookURL: 'PLEASE_PROVIDE_WEBHOOK_URL',
|
|
35
|
+
apiVersion: 2
|
|
36
|
+
};
|
|
37
|
+
// To modify the web socket url use the following option
|
|
38
|
+
// botOptions.reWriteSocketURL = {
|
|
39
|
+
// protocol: 'PROTOCOL_TO_BE_REWRITTEN',
|
|
40
|
+
// hostname: 'HOSTNAME_TO_BE_REWRITTEN',
|
|
41
|
+
// port: 'PORT_TO_BE_REWRITTEN'
|
|
42
|
+
// };
|
|
43
|
+
chatConfig = {
|
|
44
|
+
botOptions: botOptions,
|
|
45
|
+
container: 'body',
|
|
46
|
+
allowIframe: false,
|
|
47
|
+
isSendButton: false,
|
|
48
|
+
allowLocation: true,
|
|
49
|
+
loadHistory: true,
|
|
50
|
+
messageHistoryLimit: 10,
|
|
51
|
+
googleMapsAPIKey: "",
|
|
52
|
+
minimizeMode: true,
|
|
53
|
+
multiPageApp: {
|
|
54
|
+
enable: false,
|
|
55
|
+
userIdentityStore: 'localStorage',
|
|
56
|
+
chatWindowStateStore: 'localStorage' //'localStorage || sessionStorage'
|
|
57
|
+
},
|
|
58
|
+
supportDelayedMessages: true,
|
|
59
|
+
pingPong: {
|
|
60
|
+
interval: 30000 //In milli sec, To keep the websocket alive skd send ping message in this interval
|
|
61
|
+
},
|
|
62
|
+
enableThemes: true,
|
|
63
|
+
history: {
|
|
64
|
+
paginatedScroll: {
|
|
65
|
+
enable: true,
|
|
66
|
+
batchSize: 10,
|
|
67
|
+
loadingLabel: 'Loading old messages' // Loading label will be displayed when the user uses paginated scroll
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chatConfig);
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/***/ })
|
|
75
|
+
|
|
76
|
+
},
|
|
77
|
+
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
|
78
|
+
/******/ /* webpack/runtime/getFullHash */
|
|
79
|
+
/******/ (() => {
|
|
80
|
+
/******/ __webpack_require__.h = () => ("fc65d297b270a93e9402")
|
|
81
|
+
/******/ })();
|
|
82
|
+
/******/
|
|
83
|
+
/******/ }
|
|
84
|
+
)
|
|
85
|
+
//# sourceMappingURL=hot-update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hot/hot-update.js","mappings":";;;;;;;;;;;;AAAA,+BAA+B;AAC/B,IAAI,UAAU,GAAK,EAAE,CAAC;AAEtB,IAAI,UAAU,GAAO,EAAE,CAAC;AACxB,UAAU,CAAC,QAAQ,GAAG,OAAO,CAAC;AAC9B,UAAU,CAAC,UAAU,GAAG,2BAA2B,CAAC;AAEpD,UAAU,CAAC,cAAc,GAAC;IACtB,YAAY,EAAC,UAAU,CAAC,UAAU,GAAC,iBAAiB;IACpD,GAAG,EAAC,cAAc;CACrB;IACD,UAAU,CAAC,gBAAgB,GAAG,EAAE,CAAC,aAAY;AAC7C,sDAAsD;AACtD,2CAA2C;AAC3C,+CAA+C;AAE/C,UAAU,CAAC,MAAM,GAAG,0BAA0B,CAAC;AAC/C,UAAU,CAAC,YAAY,GAAG,4BAA4B,CAAC,+BAA8B;AACrF,UAAU,CAAC,OAAO,GAAG,EAAE,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAC,6BAA6B;AACnH,UAAU,CAAC,QAAQ,GAAG,wBAAwB,CAAC;AAC/C,UAAU,CAAC,YAAY,GAAG,4BAA4B,CAAC;AAIvD,uDAAuD;AACvD,UAAU,CAAC,aAAa,GAAC;IACrB,MAAM,EAAC,KAAK;IACZ,UAAU,EAAC,4BAA4B;IACvC,UAAU,EAAC,CAAC;CACf;AAED,wDAAwD;AACxD,kCAAkC;AAClC,4CAA4C;AAC5C,4CAA4C;AAC5C,mCAAmC;AACnC,KAAK;AAEL,UAAU,GAAG;IACT,UAAU,EAAE,UAAU;IACtB,SAAS,EAAC,MAAM;IAChB,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,IAAI;IACjB,mBAAmB,EAAE,EAAE;IACvB,gBAAgB,EAAE,EAAE;IACpB,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE;QACV,MAAM,EAAE,KAAK;QACb,iBAAiB,EAAE,cAAc;QACjC,oBAAoB,EAAE,cAAc,mCAAkC;KACzE;IACD,sBAAsB,EAAE,IAAI;IAC5B,QAAQ,EAAC;QACL,QAAQ,EAAC,KAAK,CAAC,wFAAwF;KAC1G;IACD,YAAY,EAAG,IAAI;IACnB,OAAO,EAAC;QACJ,eAAe,EAAE;YACb,MAAM,EAAG,IAAI;YACb,SAAS,EAAI,EAAE;YACf,YAAY,EAAC,sBAAsB,CAAC,sEAAsE;SAC7G;KACJ;CACJ,CAAC;AAEF,iEAAe,UAAU,EAAC;;;;;;;;;UCnE1B","sources":["webpack://kore-web-sdk/./src/components/chatwindow/config/kore-config.ts","webpack://kore-web-sdk/webpack/runtime/getFullHash"],"sourcesContent":["// var KoreSDK = KoreSDK || {};\r\nvar chatConfig:any={};\r\n\r\nvar botOptions:any = {};\r\nbotOptions.logLevel = 'debug';\r\nbotOptions.koreAPIUrl = \"https://bots.kore.ai/api/\";\r\n\r\nbotOptions.API_KEY_CONFIG={\r\n bootstrapURL:botOptions.koreAPIUrl+'platform/websdk',\r\n KEY:'YOUR_API_KEY'\r\n},\r\nbotOptions.koreSpeechAPIUrl = \"\";//deprecated\r\n//botOptions.bearer = \"bearer xyz-------------------\";\r\n//botOptions.ttsSocketUrl = '';//deprecated\r\n//botOptions.koreAnonymousFn = koreAnonymousFn;\r\n\r\nbotOptions.JWTUrl = \"PLEASE_ENTER_JWTURL_HERE\";\r\nbotOptions.userIdentity = 'PLEASE_ENTER_USER_EMAIL_ID';// Provide users email id here\r\nbotOptions.botInfo = { name: \"PLEASE_ENTER_BOT_NAME\", \"_id\": \"PLEASE_ENTER_BOT_ID\" }; // bot name is case sensitive\r\nbotOptions.clientId = \"PLEASE_ENTER_CLIENT_ID\";\r\nbotOptions.clientSecret = \"PLEASE_ENTER_CLIENT_SECRET\";\r\n\r\n\r\n\r\n//for webhook based communication use following option \r\nbotOptions.webhookConfig={\r\n enable:false,\r\n webhookURL:'PLEASE_PROVIDE_WEBHOOK_URL',\r\n apiVersion:2\r\n}\r\n\r\n// To modify the web socket url use the following option\r\n// botOptions.reWriteSocketURL = {\r\n// protocol: 'PROTOCOL_TO_BE_REWRITTEN',\r\n// hostname: 'HOSTNAME_TO_BE_REWRITTEN',\r\n// port: 'PORT_TO_BE_REWRITTEN'\r\n// };\r\n\r\nchatConfig = {\r\n botOptions: botOptions,\r\n container:'body',\r\n allowIframe: false, \t\t\t// set true, opens authentication links in popup window, default value is \"false\"\r\n isSendButton: false, \t\t\t// set true, to show send button below the compose bar\r\n allowLocation: true,\t\t\t// set false, to deny sending location to server\r\n loadHistory: true,\t\t\t\t// set true to load recent chat history\r\n messageHistoryLimit: 10,\t\t// set limit to load recent chat history\r\n googleMapsAPIKey: \"\", \r\n minimizeMode: true, // set true, to show chatwindow in minimized mode, If false is set remove #chatContainer style in chatwindow.css \r\n multiPageApp: {\r\n enable: false, //set true for non SPA(Single page applications)\r\n userIdentityStore: 'localStorage',//'localStorage || sessionStorage'\r\n chatWindowStateStore: 'localStorage'//'localStorage || sessionStorage'\r\n },\r\n supportDelayedMessages: true, // enable to add support for renderDelay in message nodes which will help to render messages with delay from UI \r\n pingPong:{\r\n interval:30000 //In milli sec, To keep the websocket alive skd send ping message in this interval \r\n },\r\n enableThemes : true, //set true to apply the branding configured ,\r\n history:{\r\n paginatedScroll: {\r\n enable : true, // set true to load history when the user scrolls up.\r\n batchSize : 10, // To configure the number of messages to load when the user scroll,\r\n loadingLabel:'Loading old messages' // Loading label will be displayed when the user uses paginated scroll\r\n } \r\n }\r\n};\r\n\r\nexport default chatConfig;","__webpack_require__.h = () => (\"fc65d297b270a93e9402\")"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"c":["esm"],"r":[],"m":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import chatWindow from './components/chatwindow/chatWindow';
|
|
2
|
+
import chatConfig from './components/chatwindow/config/kore-config';
|
|
3
|
+
import Korei18nPlugin from './plugins/i18n';
|
|
4
|
+
import KoreFileUploaderPlugin from './plugins/fileUploaderPlugin/fileUploader';
|
|
5
|
+
import KorePickersPlugin from './plugins/korePickers';
|
|
6
|
+
import GraphTemplatesPlugin from './plugins/graphTemplatesPlugin';
|
|
7
|
+
import WebKitSTT from './plugins/STTPlugins/WebKitSTTPlugin/WebKitSTTPlugin';
|
|
8
|
+
import BrowserTTS from './plugins/TTSPlugins/BrowserTTSPlugin/BrowserTTSPlugin';
|
|
9
|
+
import AgentDesktopPlugin from './plugins/agentDesktop/agentdesktop';
|
|
10
|
+
import KoreWidgetSDK from './components/widgets/kore-widgets';
|
|
11
|
+
import widgetsConfig from './components/widgets/config/kore-widgets-config';
|
|
12
|
+
import KoreDesktopNotificationPlugin from "./plugins/desktopNotifications/desktopnotifications";
|
|
13
|
+
export { chatConfig, chatWindow, widgetsConfig, KoreWidgetSDK, Korei18nPlugin, KoreFileUploaderPlugin, KorePickersPlugin, GraphTemplatesPlugin, WebKitSTT, BrowserTTS, AgentDesktopPlugin, KoreDesktopNotificationPlugin };
|