@wxcc-desktop/sdk 1.3.14 → 1.3.15
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/README.md
CHANGED
@@ -271,6 +271,7 @@ Desktop.agentContact.addEventListener("eAgentCtqFailed", msg => console.log(msg)
|
|
271
271
|
Desktop.agentContact.addEventListener("eAgentCtqCancelFailed", msg => console.log(msg));
|
272
272
|
Desktop.agentContact.addEventListener("eAgentConsultConferenceEndFailed", msg => console.log(msg));
|
273
273
|
Desktop.agentContact.addEventListener("eAgentMonitorStateChanged", msg => console.log(msg));
|
274
|
+
Desktop.agentContact.addEventListener("eAgentMonitoringEnded", msg => console.log(msg));
|
274
275
|
|
275
276
|
// Module supports removing added listeners like:
|
276
277
|
const listener = msg => console.log(msg);
|
@@ -25,6 +25,7 @@ declare type Listeners = {
|
|
25
25
|
eAgentCtqCancelFailed: Parameters<AgentxService["aqm"]["contact"]["eAgentCtqCancelFailed"]["listen"]>[0];
|
26
26
|
eAgentConsultConferenceEndFailed: Parameters<AgentxService["aqm"]["contact"]["eAgentConsultConferenceEndFailed"]["listen"]>[0];
|
27
27
|
eAgentMonitorStateChanged: Parameters<AgentxService["aqm"]["contact"]["eAgentMonitorStateChanged"]["listen"]>[0];
|
28
|
+
eAgentMonitoringEnded: Parameters<AgentxService["aqm"]["contact"]["eAgentMonitoringEnded"]["listen"]>[0];
|
28
29
|
};
|
29
30
|
declare type AqmContactEvents = AqmServiceEntityEvents<Listeners>;
|
30
31
|
declare type Config = {
|
@@ -75,6 +76,7 @@ export declare class AgentContactJsApi {
|
|
75
76
|
supervisorDN?: string | undefined;
|
76
77
|
id?: string | undefined;
|
77
78
|
isWebCallMute?: boolean | undefined;
|
79
|
+
reservationInteractionId?: string | undefined;
|
78
80
|
}> | undefined>;
|
79
81
|
consultAccept(p: {
|
80
82
|
interactionId: string;
|
@@ -109,6 +111,7 @@ export declare class AgentContactJsApi {
|
|
109
111
|
supervisorDN?: string | undefined;
|
110
112
|
id?: string | undefined;
|
111
113
|
isWebCallMute?: boolean | undefined;
|
114
|
+
reservationInteractionId?: string | undefined;
|
112
115
|
}> | undefined>;
|
113
116
|
buddyAgents(p: {
|
114
117
|
data: Service.Aqm.Contact.BuddyAgents;
|
@@ -154,6 +157,7 @@ export declare class AgentContactJsApi {
|
|
154
157
|
supervisorDN?: string | undefined;
|
155
158
|
id?: string | undefined;
|
156
159
|
isWebCallMute?: boolean | undefined;
|
160
|
+
reservationInteractionId?: string | undefined;
|
157
161
|
}> | undefined>;
|
158
162
|
consultEnd(p: {
|
159
163
|
interactionId: string;
|
@@ -189,6 +193,7 @@ export declare class AgentContactJsApi {
|
|
189
193
|
supervisorDN?: string | undefined;
|
190
194
|
id?: string | undefined;
|
191
195
|
isWebCallMute?: boolean | undefined;
|
196
|
+
reservationInteractionId?: string | undefined;
|
192
197
|
}> | undefined>;
|
193
198
|
cancelCtq(p: {
|
194
199
|
interactionId: string;
|
@@ -224,6 +229,7 @@ export declare class AgentContactJsApi {
|
|
224
229
|
supervisorDN?: string | undefined;
|
225
230
|
id?: string | undefined;
|
226
231
|
isWebCallMute?: boolean | undefined;
|
232
|
+
reservationInteractionId?: string | undefined;
|
227
233
|
}> | undefined>;
|
228
234
|
wrapup(p: {
|
229
235
|
interactionId: string;
|
@@ -259,6 +265,7 @@ export declare class AgentContactJsApi {
|
|
259
265
|
supervisorDN?: string | undefined;
|
260
266
|
id?: string | undefined;
|
261
267
|
isWebCallMute?: boolean | undefined;
|
268
|
+
reservationInteractionId?: string | undefined;
|
262
269
|
}> | undefined>;
|
263
270
|
vteamTransfer(p: {
|
264
271
|
interactionId: string;
|
@@ -294,6 +301,7 @@ export declare class AgentContactJsApi {
|
|
294
301
|
supervisorDN?: string | undefined;
|
295
302
|
id?: string | undefined;
|
296
303
|
isWebCallMute?: boolean | undefined;
|
304
|
+
reservationInteractionId?: string | undefined;
|
297
305
|
}> | undefined>;
|
298
306
|
blindTransfer(p: {
|
299
307
|
interactionId: string;
|
@@ -329,6 +337,7 @@ export declare class AgentContactJsApi {
|
|
329
337
|
supervisorDN?: string | undefined;
|
330
338
|
id?: string | undefined;
|
331
339
|
isWebCallMute?: boolean | undefined;
|
340
|
+
reservationInteractionId?: string | undefined;
|
332
341
|
}> | undefined>;
|
333
342
|
hold(p: {
|
334
343
|
interactionId: string;
|
@@ -366,6 +375,7 @@ export declare class AgentContactJsApi {
|
|
366
375
|
supervisorDN?: string | undefined;
|
367
376
|
id?: string | undefined;
|
368
377
|
isWebCallMute?: boolean | undefined;
|
378
|
+
reservationInteractionId?: string | undefined;
|
369
379
|
}> | undefined>;
|
370
380
|
unHold(p: {
|
371
381
|
interactionId: string;
|
@@ -403,6 +413,7 @@ export declare class AgentContactJsApi {
|
|
403
413
|
supervisorDN?: string | undefined;
|
404
414
|
id?: string | undefined;
|
405
415
|
isWebCallMute?: boolean | undefined;
|
416
|
+
reservationInteractionId?: string | undefined;
|
406
417
|
}> | undefined>;
|
407
418
|
consult(p: {
|
408
419
|
interactionId: string;
|
@@ -439,6 +450,7 @@ export declare class AgentContactJsApi {
|
|
439
450
|
supervisorDN?: string | undefined;
|
440
451
|
id?: string | undefined;
|
441
452
|
isWebCallMute?: boolean | undefined;
|
453
|
+
reservationInteractionId?: string | undefined;
|
442
454
|
}> | undefined>;
|
443
455
|
consultConference(p: {
|
444
456
|
interactionId: string;
|
@@ -474,6 +486,7 @@ export declare class AgentContactJsApi {
|
|
474
486
|
supervisorDN?: string | undefined;
|
475
487
|
id?: string | undefined;
|
476
488
|
isWebCallMute?: boolean | undefined;
|
489
|
+
reservationInteractionId?: string | undefined;
|
477
490
|
}> | undefined>;
|
478
491
|
decline(p: {
|
479
492
|
interactionId: string;
|
@@ -512,6 +525,7 @@ export declare class AgentContactJsApi {
|
|
512
525
|
supervisorDN?: string | undefined;
|
513
526
|
id?: string | undefined;
|
514
527
|
isWebCallMute?: boolean | undefined;
|
528
|
+
reservationInteractionId?: string | undefined;
|
515
529
|
}> | undefined>;
|
516
530
|
consultTransfer(p: {
|
517
531
|
interactionId: string;
|
@@ -547,6 +561,7 @@ export declare class AgentContactJsApi {
|
|
547
561
|
supervisorDN?: string | undefined;
|
548
562
|
id?: string | undefined;
|
549
563
|
isWebCallMute?: boolean | undefined;
|
564
|
+
reservationInteractionId?: string | undefined;
|
550
565
|
}> | undefined>;
|
551
566
|
vteamList(p: {
|
552
567
|
data: Service.Aqm.Contact.VTeam;
|
@@ -592,6 +607,7 @@ export declare class AgentContactJsApi {
|
|
592
607
|
supervisorDN?: string | undefined;
|
593
608
|
id?: string | undefined;
|
594
609
|
isWebCallMute?: boolean | undefined;
|
610
|
+
reservationInteractionId?: string | undefined;
|
595
611
|
}> | undefined>;
|
596
612
|
resumeRecording(p: {
|
597
613
|
interactionId: string;
|
@@ -629,6 +645,7 @@ export declare class AgentContactJsApi {
|
|
629
645
|
supervisorDN?: string | undefined;
|
630
646
|
id?: string | undefined;
|
631
647
|
isWebCallMute?: boolean | undefined;
|
648
|
+
reservationInteractionId?: string | undefined;
|
632
649
|
}> | undefined>;
|
633
650
|
addEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
|
634
651
|
addOnceEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
|
@@ -53,6 +53,7 @@ export declare class DialerJsApi {
|
|
53
53
|
supervisorDN?: string | undefined;
|
54
54
|
id?: string | undefined;
|
55
55
|
isWebCallMute?: boolean | undefined;
|
56
|
+
reservationInteractionId?: string | undefined;
|
56
57
|
}> | undefined>;
|
57
58
|
updateCadVariables(p: {
|
58
59
|
interactionId: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wxcc-desktop/sdk",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.15",
|
4
4
|
"author": "Roman Manchenko",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": "git@sqbu-github.cisco.com:CBABU/agentx-js-api.git",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|
9
9
|
"dependencies": {
|
10
10
|
"@uuip/unified-ui-platform-sdk": "^1.3.6",
|
11
|
-
"@wxcc-desktop/sdk-types": "^1.0.
|
11
|
+
"@wxcc-desktop/sdk-types": "^1.0.10",
|
12
12
|
"event-emitter": "^0.3.5",
|
13
13
|
"js-cookie": "^3.0.1"
|
14
14
|
},
|