@koredev/agentai-web-sdk 1.4.6-rc → 1.4.8-rc

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.
@@ -120,7 +120,8 @@ export declare enum SDK_EVENTS {
120
120
  "MAIN_LOADER" = "MAIN_LOADER",
121
121
  "INDIVIDUAL_LOADER" = "INDIVIDUAL_LOADER",
122
122
  "SENT_BUTTON_TEMPLATE" = "SENT_BUTTON_TEMPLATE",
123
- "NETWORK_ERROR_TOASTR" = "NETWORK_ERROR_TOASTR"
123
+ "NETWORK_ERROR_TOASTR" = "NETWORK_ERROR_TOASTR",
124
+ "SETTINGS_TEMPLATE" = "SETTINGS_TEMPLATE"
124
125
  }
125
126
  export declare enum DATA_EVENTS {
126
127
  'AGENT_COACHING_RESPONSES' = "AGENT_COACHING_RESPONSES",
@@ -136,7 +137,8 @@ export declare enum DATA_EVENTS {
136
137
  'END_OF_TASK_RESPONSE' = "END_OF_TASK_RESPONSE",
137
138
  'AGENT_ASSIST_USER_MESSAGE' = "AGENT_ASSIST_USER_MESSAGE",
138
139
  'AGENT_FEEDBACK_RESPONSE' = "AGENT_FEEDBACK_RESPONSE",
139
- 'CALL_CONVERSATION_SUGGESTIONS' = "CALL_CONVERSATION_SUGGESTIONS"
140
+ 'CALL_CONVERSATION_SUGGESTIONS' = "CALL_CONVERSATION_SUGGESTIONS",
141
+ 'AUTO_SCROLL_CHANGE' = "AUTO_SCROLL_CHANGE"
140
142
  }
141
143
  export declare enum INTERNAL_EVENTS {
142
144
  'USER_TRANSCRIPT_MSG' = "USER_TRANSCRIPT_MSG",
@@ -296,6 +296,19 @@ export declare const ClassMapConstanst: {
296
296
  MYBOT_DOWN_ARROW: string;
297
297
  NETWORK_ERROR_TOASTR: string;
298
298
  NETWORK_ERROR_CLOSE_BTN: string;
299
+ SETTINGS_POPUP: string;
300
+ SETTINGS_CLOSE_BTN: string;
301
+ SETTINGS_POPUP_BACK_BTN: string;
302
+ SETTINGS_POPUP_CLOSE_BTN: string;
303
+ SETTINGS_HELP_BTN: string;
304
+ SETTINGS_NEXT_BTN: string;
305
+ SETTINGS_HELP_GROUP: string;
306
+ SETTINGS_HELP_SECTION: string;
307
+ SETTINGS_MAIN_SECTION: string;
308
+ SETTINGS_AUTO_SCROLL: string;
309
+ SETTINGS_FAQ_LINK: string;
310
+ SETTINGS_KORE_ACADEMY_LINK: string;
311
+ SETTINGS_DOCUMENTATION_LINK: string;
299
312
  };
300
313
  export declare const IdMapConstant: {
301
314
  PROACTIVE_BTN: string;
@@ -321,4 +334,5 @@ export declare const IdMapConstant: {
321
334
  ASSIST_SUGGESTIONS: string;
322
335
  LOADER_BLOCK_MAIN: string;
323
336
  LOADER_BLOCK_INDIVIDUAL: string;
337
+ SETTINGS_BTN: string;
324
338
  };
@@ -143,6 +143,8 @@ export declare class rootService {
143
143
  updateLocalStorageForMybot(hostInstance: any, dialog: any, flag: boolean): void;
144
144
  updateMybotDialogTemplate(hostInstance: any, dialog: any, flag: boolean): void;
145
145
  updateAssistDialogTemplate(hostInstance: any, dialog: any, flag: boolean): void;
146
+ prepareDialogObjForAssistHistory(data: any): any;
147
+ prepareDialogObjForMybotHistory(data: any): any;
146
148
  prepareDialogObjForInitDialog(data: any): any;
147
149
  prepareSuggestionResponse(data: any, responseId: string, suggestionIndex: number): {
148
150
  data: any;
@@ -215,7 +217,7 @@ export declare class rootService {
215
217
  appendAutomationEachNodeTemplate(dialogWrapper: any, template: any, automationNodeObj: any, dialogId: string): void;
216
218
  handleEntityNodeClickEvents(askCustTemplate: any, automationNodeObj: any, currentTab: string, hostInstance: any): void;
217
219
  handleViewClick(e: any, inputEle: any, askCustTemplate: any, automationNodeObj: any, hostIns: any): void;
218
- handleChooseFile(e: any, inputEle: any, askCustTemplate: any, automationNodeObj: any): void;
220
+ handleChooseFile(e: any, inputEle: any, askCustTemplate: any, automationNodeObj: any, currentTab: string, hostInstance: any): void;
219
221
  handleOverrideClick(e: any, errorTemplate: any, inputEle: any, overrideBtn: any, askCustTemplate: any, removeBtn: any, checkBtn: any, automationNodeObj: any, hostInstance: any): void;
220
222
  handleRemoveClick(e: any, errorTemplate: any, inputEle: any, overrideBtn: any, removeBtn: any, checkBtn: any, askCustTemplate: any, automationNodeObj: any, hostInstance: any): void;
221
223
  handleCheckClick(e: any, inputEle: any, automationNodeObj: any, askCustTemplate: any, hostInstance: any): void;
@@ -240,10 +242,18 @@ export declare class rootService {
240
242
  scrollToTop(element: any, tab: string, hostInstance: any): void;
241
243
  scrollToTillBottom(element: any, tab: string, hostInstance: any): void;
242
244
  handleAssistScroll(): void;
245
+ handleMybotScroll(): void;
243
246
  scrollBottomTranscript(): void;
244
247
  hideNetworkToastr(hostInstance: any): void;
245
248
  showNetworkToastr(hostInstance: any): void;
246
249
  addLoaderForAutomation(automationNodeObj: any, hostInstance: any): void;
247
250
  removeLoaderForAutomation(hostInstance: any, parentNode: any): void;
251
+ getAssistHistory(params: any, hostInstance: any): Promise<any>;
252
+ getAssistFeedback(params: any, hostInstance: any): Promise<any>;
253
+ getMybotHistory(params: any, hostInstance: any): Promise<any>;
254
+ getMybotFeedback(params: any, hostInstance: any): Promise<any>;
255
+ formatHistoryResponseToNormalRender(res: any, feedbackData: any, isAssist?: boolean): any;
256
+ handlePreviousAutomationNode(entityNode: any, automationNodeObj: any, hostInstance: any): void;
257
+ handleHistoryPreviousAutomationNode(entityNode: any, automationNodeObj: any, hostInstance: any): void;
248
258
  }
249
259
  export default rootService;
@@ -4,3 +4,4 @@ export declare function RenderTerminatePopup(props: any): h.JSX.Element;
4
4
  export declare function RenderInterruptionPopup(props: any): h.JSX.Element;
5
5
  export declare function RenderListView(props: any): h.JSX.Element;
6
6
  export declare function RenderAttachmentImageView(props: any): h.JSX.Element;
7
+ export declare function RenderSettingsPopup(props: any): h.JSX.Element;
@@ -7,5 +7,6 @@ export declare function AskCustomer(props: any): h.JSX.Element;
7
7
  export declare function TellCustomer(props: any): h.JSX.Element;
8
8
  export declare function WelcomeMessage(props: any): h.JSX.Element;
9
9
  export declare function AttachmentAskCustomer(props: any): h.JSX.Element;
10
+ export declare function MybotAttachmentAskCustomer(props: any): h.JSX.Element;
10
11
  export declare function ScrollUpArrowButtons(props: any): h.JSX.Element;
11
12
  export declare function ScrollDownArrowButtons(props: any): h.JSX.Element;