@wxcc-desktop/sdk 1.3.14 → 1.3.16

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,9 @@ 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));
275
+ Desktop.agentContact.addEventListener("eAgentOfferCampaignReserved", msg => console.log(msg));
276
+ Desktop.agentContact.addEventListener("eAgentAddCampaignReserved", msg => console.log(msg));
274
277
 
275
278
  // Module supports removing added listeners like:
276
279
  const listener = msg => console.log(msg);
@@ -25,6 +25,9 @@ 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];
29
+ eAgentOfferCampaignReserved: Parameters<AgentxService["aqm"]["contact"]["eAgentOfferCampaignReserved"]["listen"]>[0];
30
+ eAgentAddCampaignReserved: Parameters<AgentxService["aqm"]["contact"]["eAgentAddCampaignReserved"]["listen"]>[0];
28
31
  };
29
32
  declare type AqmContactEvents = AqmServiceEntityEvents<Listeners>;
30
33
  declare type Config = {
@@ -75,6 +78,7 @@ export declare class AgentContactJsApi {
75
78
  supervisorDN?: string | undefined;
76
79
  id?: string | undefined;
77
80
  isWebCallMute?: boolean | undefined;
81
+ reservationInteractionId?: string | undefined;
78
82
  }> | undefined>;
79
83
  consultAccept(p: {
80
84
  interactionId: string;
@@ -109,6 +113,7 @@ export declare class AgentContactJsApi {
109
113
  supervisorDN?: string | undefined;
110
114
  id?: string | undefined;
111
115
  isWebCallMute?: boolean | undefined;
116
+ reservationInteractionId?: string | undefined;
112
117
  }> | undefined>;
113
118
  buddyAgents(p: {
114
119
  data: Service.Aqm.Contact.BuddyAgents;
@@ -154,6 +159,7 @@ export declare class AgentContactJsApi {
154
159
  supervisorDN?: string | undefined;
155
160
  id?: string | undefined;
156
161
  isWebCallMute?: boolean | undefined;
162
+ reservationInteractionId?: string | undefined;
157
163
  }> | undefined>;
158
164
  consultEnd(p: {
159
165
  interactionId: string;
@@ -189,6 +195,7 @@ export declare class AgentContactJsApi {
189
195
  supervisorDN?: string | undefined;
190
196
  id?: string | undefined;
191
197
  isWebCallMute?: boolean | undefined;
198
+ reservationInteractionId?: string | undefined;
192
199
  }> | undefined>;
193
200
  cancelCtq(p: {
194
201
  interactionId: string;
@@ -224,6 +231,7 @@ export declare class AgentContactJsApi {
224
231
  supervisorDN?: string | undefined;
225
232
  id?: string | undefined;
226
233
  isWebCallMute?: boolean | undefined;
234
+ reservationInteractionId?: string | undefined;
227
235
  }> | undefined>;
228
236
  wrapup(p: {
229
237
  interactionId: string;
@@ -259,6 +267,7 @@ export declare class AgentContactJsApi {
259
267
  supervisorDN?: string | undefined;
260
268
  id?: string | undefined;
261
269
  isWebCallMute?: boolean | undefined;
270
+ reservationInteractionId?: string | undefined;
262
271
  }> | undefined>;
263
272
  vteamTransfer(p: {
264
273
  interactionId: string;
@@ -294,6 +303,7 @@ export declare class AgentContactJsApi {
294
303
  supervisorDN?: string | undefined;
295
304
  id?: string | undefined;
296
305
  isWebCallMute?: boolean | undefined;
306
+ reservationInteractionId?: string | undefined;
297
307
  }> | undefined>;
298
308
  blindTransfer(p: {
299
309
  interactionId: string;
@@ -329,6 +339,7 @@ export declare class AgentContactJsApi {
329
339
  supervisorDN?: string | undefined;
330
340
  id?: string | undefined;
331
341
  isWebCallMute?: boolean | undefined;
342
+ reservationInteractionId?: string | undefined;
332
343
  }> | undefined>;
333
344
  hold(p: {
334
345
  interactionId: string;
@@ -366,6 +377,7 @@ export declare class AgentContactJsApi {
366
377
  supervisorDN?: string | undefined;
367
378
  id?: string | undefined;
368
379
  isWebCallMute?: boolean | undefined;
380
+ reservationInteractionId?: string | undefined;
369
381
  }> | undefined>;
370
382
  unHold(p: {
371
383
  interactionId: string;
@@ -403,6 +415,7 @@ export declare class AgentContactJsApi {
403
415
  supervisorDN?: string | undefined;
404
416
  id?: string | undefined;
405
417
  isWebCallMute?: boolean | undefined;
418
+ reservationInteractionId?: string | undefined;
406
419
  }> | undefined>;
407
420
  consult(p: {
408
421
  interactionId: string;
@@ -439,6 +452,7 @@ export declare class AgentContactJsApi {
439
452
  supervisorDN?: string | undefined;
440
453
  id?: string | undefined;
441
454
  isWebCallMute?: boolean | undefined;
455
+ reservationInteractionId?: string | undefined;
442
456
  }> | undefined>;
443
457
  consultConference(p: {
444
458
  interactionId: string;
@@ -474,6 +488,7 @@ export declare class AgentContactJsApi {
474
488
  supervisorDN?: string | undefined;
475
489
  id?: string | undefined;
476
490
  isWebCallMute?: boolean | undefined;
491
+ reservationInteractionId?: string | undefined;
477
492
  }> | undefined>;
478
493
  decline(p: {
479
494
  interactionId: string;
@@ -512,6 +527,7 @@ export declare class AgentContactJsApi {
512
527
  supervisorDN?: string | undefined;
513
528
  id?: string | undefined;
514
529
  isWebCallMute?: boolean | undefined;
530
+ reservationInteractionId?: string | undefined;
515
531
  }> | undefined>;
516
532
  consultTransfer(p: {
517
533
  interactionId: string;
@@ -547,6 +563,7 @@ export declare class AgentContactJsApi {
547
563
  supervisorDN?: string | undefined;
548
564
  id?: string | undefined;
549
565
  isWebCallMute?: boolean | undefined;
566
+ reservationInteractionId?: string | undefined;
550
567
  }> | undefined>;
551
568
  vteamList(p: {
552
569
  data: Service.Aqm.Contact.VTeam;
@@ -592,6 +609,7 @@ export declare class AgentContactJsApi {
592
609
  supervisorDN?: string | undefined;
593
610
  id?: string | undefined;
594
611
  isWebCallMute?: boolean | undefined;
612
+ reservationInteractionId?: string | undefined;
595
613
  }> | undefined>;
596
614
  resumeRecording(p: {
597
615
  interactionId: string;
@@ -629,6 +647,7 @@ export declare class AgentContactJsApi {
629
647
  supervisorDN?: string | undefined;
630
648
  id?: string | undefined;
631
649
  isWebCallMute?: boolean | undefined;
650
+ reservationInteractionId?: string | undefined;
632
651
  }> | undefined>;
633
652
  addEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
634
653
  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.14",
3
+ "version": "1.3.16",
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.9",
11
+ "@wxcc-desktop/sdk-types": "^1.0.10",
12
12
  "event-emitter": "^0.3.5",
13
13
  "js-cookie": "^3.0.1"
14
14
  },