@koredev/agentai-web-sdk 1.3.7-rc → 1.3.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.
- package/dist/components/aaWindow/aaWindow.d.ts +1 -0
- package/dist/components/common/constants/events.cnst.d.ts +2 -1
- package/dist/components/common/constants/projConsts.d.ts +17 -0
- package/dist/components/common/services/chunkFileUpload.service.d.ts +18 -0
- package/dist/components/common/services/rootService.d.ts +11 -4
- package/dist/components/common/services/template-render-service.d.ts +0 -2
- package/dist/components/common/templatemanager/tabs/atom/dialogPopups.d.ts +1 -0
- package/dist/components/common/templatemanager/tabs/automation/automation.d.ts +1 -0
- package/dist/components/common/templatemanager/tabs/transcript/transcript.d.ts +1 -0
- package/dist/esm/agentai-web-sdk.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js.map +1 -1
- package/dist/umd/hot/hot-update.js +2279 -308
- package/dist/umd/hot/hot-update.js.map +1 -1
- package/package.json +1 -1
|
@@ -121,7 +121,8 @@ export declare enum DATA_EVENTS {
|
|
|
121
121
|
'AGENT_AI_MENU_RESPONSE' = "AGENT_AI_MENU_RESPONSE",
|
|
122
122
|
'END_OF_TASK_RESPONSE' = "END_OF_TASK_RESPONSE",
|
|
123
123
|
'AGENT_ASSIST_USER_MESSAGE' = "AGENT_ASSIST_USER_MESSAGE",
|
|
124
|
-
'AGENT_FEEDBACK_RESPONSE' = "AGENT_FEEDBACK_RESPONSE"
|
|
124
|
+
'AGENT_FEEDBACK_RESPONSE' = "AGENT_FEEDBACK_RESPONSE",
|
|
125
|
+
'CALL_CONVERSATION_SUGGESTIONS' = "CALL_CONVERSATION_SUGGESTIONS"
|
|
125
126
|
}
|
|
126
127
|
export declare enum INTERNAL_EVENTS {
|
|
127
128
|
'USER_TRANSCRIPT_MSG' = "USER_TRANSCRIPT_MSG",
|
|
@@ -84,6 +84,8 @@ export declare const ProjConstants: {
|
|
|
84
84
|
SUGGESTION_MAXHEIGHT: number;
|
|
85
85
|
DISCARD_ALL: string;
|
|
86
86
|
INTERRUPT: string;
|
|
87
|
+
INCOMING: string;
|
|
88
|
+
OUTGOING: string;
|
|
87
89
|
};
|
|
88
90
|
export declare const coachingConst: any;
|
|
89
91
|
export declare const serviceTabMap: any;
|
|
@@ -256,6 +258,20 @@ export declare const ClassMapConstanst: {
|
|
|
256
258
|
ENTITY_HEADER: string;
|
|
257
259
|
ENTITY_ERROR_OVERRIDE_TEXT: string;
|
|
258
260
|
ENTITY_ERROR_MESSAGE: string;
|
|
261
|
+
ENTITY_ATTACHMENT_DIV: string;
|
|
262
|
+
ENTITY_CHOOSE_FILE: string;
|
|
263
|
+
ENTITY_DISPLAY_NAME: string;
|
|
264
|
+
INPUT_ATTACHMENT: string;
|
|
265
|
+
ENTITY_OVERRIDE_MSG: string;
|
|
266
|
+
ENTITY_ATTACHMENT_LARGE_FILE_MSG: string;
|
|
267
|
+
ENTITY_ATTACHMENT_VIEW: string;
|
|
268
|
+
TRANSCRIPT_BULB_COUNT: string;
|
|
269
|
+
TRANSCRIPT_BULB: string;
|
|
270
|
+
TRANSCRIPT_BUBBLE: string;
|
|
271
|
+
ENTITY_ATTACHMENT_VIEW_MODAL: string;
|
|
272
|
+
ENTITY_ATTACHMENT_IMAGE: string;
|
|
273
|
+
ENTITY_ATTACHMENT_BACK_BTN: string;
|
|
274
|
+
ENTITY_ATTACHMENT_CLOSE_BTN: string;
|
|
259
275
|
};
|
|
260
276
|
export declare const IdMapConstant: {
|
|
261
277
|
PROACTIVE_BTN: string;
|
|
@@ -278,4 +294,5 @@ export declare const IdMapConstant: {
|
|
|
278
294
|
CHECKLIST_DRP_LIST_BTN: string;
|
|
279
295
|
CHECKLIST_STAGE_DRP_BTN: string;
|
|
280
296
|
CHECKLIST_STEP_TEMPLATE: string;
|
|
297
|
+
ASSIST_SUGGESTIONS: string;
|
|
281
298
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class chunkFileUploadService {
|
|
2
|
+
private hostIns;
|
|
3
|
+
blobs: any;
|
|
4
|
+
totalChunks: any;
|
|
5
|
+
currChunk: any;
|
|
6
|
+
constructor(hostIns: any);
|
|
7
|
+
getFileToken(): Promise<unknown>;
|
|
8
|
+
uploadChunkFile(token: string, file: any): Promise<unknown>;
|
|
9
|
+
startChunkUpload(token: string, file: any, callback: any): Promise<void>;
|
|
10
|
+
serviceInvoke(endpoint: string, method: string, data: any, params: any, headers?: {}): Promise<any>;
|
|
11
|
+
}
|
|
12
|
+
export declare class MultipartData {
|
|
13
|
+
boundary: string;
|
|
14
|
+
private _fields;
|
|
15
|
+
constructor();
|
|
16
|
+
append(key: string, value: any): void;
|
|
17
|
+
toString(): string;
|
|
18
|
+
}
|
|
@@ -196,11 +196,15 @@ export declare class rootService {
|
|
|
196
196
|
handleErrorPrompts(automation: any, automationNodeObj: any, hostInstance: any): void;
|
|
197
197
|
appendAutomationEachNodeTemplate(dialogWrapper: any, template: any, automationNodeObj: any, dialogId: string): void;
|
|
198
198
|
handleEntityNodeClickEvents(askCustTemplate: any, automationNodeObj: any, hostInstance: any): void;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
handleViewClick(e: any, inputEle: any, askCustTemplate: any, automationNodeObj: any, hostIns: any): void;
|
|
200
|
+
handleChooseFile(e: any, inputEle: any, askCustTemplate: any, automationNodeObj: any): void;
|
|
201
|
+
handleOverrideClick(e: any, errorTemplate: any, inputEle: any, overrideBtn: any, askCustTemplate: any, removeBtn: any, checkBtn: any, automationNodeObj: any, hostInstance: any): void;
|
|
202
|
+
handleRemoveClick(e: any, errorTemplate: any, inputEle: any, overrideBtn: any, removeBtn: any, checkBtn: any, askCustTemplate: any, automationNodeObj: any, hostInstance: any): void;
|
|
203
|
+
handleCheckClick(e: any, inputEle: any, automationNodeObj: any, askCustTemplate: any, hostInstance: any): void;
|
|
204
|
+
handleInputKeydown(e: any, inputEle: any, automationNodeObj: any, askCustTemplate: any, hostInstance: any): void;
|
|
203
205
|
handleInputChange(e: any, inputEle: any, checkBtn: any): void;
|
|
206
|
+
showAttachmentView(automationNodeObj: any, askCustTemplate: any, inputEle: any): void;
|
|
207
|
+
toggleAttachmentDiv(automationNodeObj: any, askCustTemplate: any, inputEle: any, flag: boolean): void;
|
|
204
208
|
assistInputValue(inputValue: any, automationNodeObj: any, hostInstance: any): void;
|
|
205
209
|
handleEntityInput(node: any, hostInstance: any, disabled?: boolean): void;
|
|
206
210
|
showAgentIcon(node: any, hostInstance: any): void;
|
|
@@ -211,5 +215,8 @@ export declare class rootService {
|
|
|
211
215
|
getTemplateHtml(isTemplateRender: boolean, result: any, hostInstance: any): any;
|
|
212
216
|
handleTemplateClickEvents(value: any, activeTab: string, positionId: string, hostInstance: any): void;
|
|
213
217
|
closeListView(hostInstance: any): void;
|
|
218
|
+
addorRemoveAttachemntFileError(automationNodeObj: any, hostInstance: any, hide?: boolean): void;
|
|
219
|
+
fileUploadCall(automationNodeObj: any, hostIns: any): void;
|
|
220
|
+
getuploadedFileURL(automationNodeObj: any, fileId: any, hostIns: any): void;
|
|
214
221
|
}
|
|
215
222
|
export default rootService;
|
|
@@ -3,6 +3,4 @@ export declare class templateRenderClassService {
|
|
|
3
3
|
constructor(hostIns: any);
|
|
4
4
|
prepareTemplateBody(elem: any, parsedPayload: any): any;
|
|
5
5
|
getResponseUsingTemplate(res: any, history?: boolean): any;
|
|
6
|
-
getResponseUsingTemplateForHistory(res: any): any;
|
|
7
|
-
getMessageResponseForUserMessages(data: any, botId: string): any;
|
|
8
6
|
}
|
|
@@ -3,3 +3,4 @@ export declare function addInterruptDropdownItem(props: any): h.JSX.Element;
|
|
|
3
3
|
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
|
+
export declare function RenderAttachmentImageView(props: any): h.JSX.Element;
|
|
@@ -6,3 +6,4 @@ export declare function DialogEnd(props: any): h.JSX.Element;
|
|
|
6
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
|
+
export declare function AttachmentAskCustomer(props: any): h.JSX.Element;
|