@wxcc-desktop/sdk 2.0.0 → 2.0.2
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 +61 -8
- package/dist/index.js +10 -1
- package/dist/types/index.d.ts +5 -1
- package/dist/types/jsapi/actions-jsapi.d.ts +1 -1
- package/dist/types/jsapi/agent-config-jsapi.d.ts +19 -0
- package/dist/types/jsapi/agent-contact-jsapi.d.ts +76 -549
- package/dist/types/jsapi/agent-state-info-jsapi.d.ts +9 -26
- package/dist/types/jsapi/agent-station-logout-jsapi.d.ts +5 -15
- package/dist/types/jsapi/call-monitoring-jsapi.d.ts +5 -5
- package/dist/types/jsapi/common/_logger.d.ts +1 -1
- package/dist/types/jsapi/common/_service-checker.d.ts +1 -1
- package/dist/types/jsapi/common/_service-events.d.ts +4 -4
- package/dist/types/jsapi/config-jsapi.d.ts +4 -4
- package/dist/types/jsapi/dialer-jsapi.d.ts +4 -36
- package/dist/types/jsapi/i18n-jsapi.d.ts +1 -1
- package/dist/types/jsapi/logger-jsapi.d.ts +1 -1
- package/dist/types/jsapi/post-interaction-jsapi.d.ts +1 -1
- package/dist/types/jsapi/rtdwc-jsapi.d.ts +1 -1
- package/dist/types/jsapi/screenpop-jsapi.d.ts +2 -2
- package/dist/types/jsapi/shortcut-key-jsapi.d.ts +1 -1
- package/dist/types/jsapi/webex-metrics-internal-jsapi.d.ts +19 -0
- package/package.json +3 -2
@@ -2,7 +2,7 @@ import { AgentxService, Service } from "@wxcc-desktop/sdk-types";
|
|
2
2
|
import { createJsApiLogger } from "./common/_logger";
|
3
3
|
import { createServiceChecker } from "./common/_service-checker";
|
4
4
|
import { AqmServiceEntityEvents } from "./common/_service-events";
|
5
|
-
|
5
|
+
type Listeners = {
|
6
6
|
eAgentContact: Parameters<AgentxService["aqm"]["contact"]["eAgentContact"]["listen"]>[0];
|
7
7
|
eAgentContactAssigned: Parameters<AgentxService["aqm"]["contact"]["eAgentContactAssigned"]["listen"]>[0];
|
8
8
|
eAgentContactEnded: Parameters<AgentxService["aqm"]["contact"]["eAgentContactEnded"]["listen"]>[0];
|
@@ -24,13 +24,13 @@ declare type Listeners = {
|
|
24
24
|
eAgentCtqFailed: Parameters<AgentxService["aqm"]["contact"]["eAgentCtqFailed"]["listen"]>[0];
|
25
25
|
eAgentCtqCancelFailed: Parameters<AgentxService["aqm"]["contact"]["eAgentCtqCancelFailed"]["listen"]>[0];
|
26
26
|
eAgentConsultConferenceEndFailed: Parameters<AgentxService["aqm"]["contact"]["eAgentConsultConferenceEndFailed"]["listen"]>[0];
|
27
|
-
eAgentMonitorStateChanged: Parameters<AgentxService["aqm"]["
|
28
|
-
eAgentMonitoringEnded: Parameters<AgentxService["aqm"]["
|
27
|
+
eAgentMonitorStateChanged: Parameters<AgentxService["aqm"]["supervisor"]["eAgentMonitorStateChanged"]["listen"]>[0];
|
28
|
+
eAgentMonitoringEnded: Parameters<AgentxService["aqm"]["supervisor"]["eAgentMonitoringEnded"]["listen"]>[0];
|
29
29
|
eAgentOfferCampaignReserved: Parameters<AgentxService["aqm"]["contact"]["eAgentOfferCampaignReserved"]["listen"]>[0];
|
30
30
|
eAgentAddCampaignReserved: Parameters<AgentxService["aqm"]["contact"]["eAgentAddCampaignReserved"]["listen"]>[0];
|
31
31
|
};
|
32
|
-
|
33
|
-
|
32
|
+
type AqmContactEvents = AqmServiceEntityEvents<Listeners>;
|
33
|
+
type Config = {
|
34
34
|
logger: ReturnType<typeof createJsApiLogger>;
|
35
35
|
serviceChecker: ReturnType<typeof createServiceChecker>;
|
36
36
|
aqmEvents: AqmContactEvents;
|
@@ -47,608 +47,135 @@ export declare class AgentContactJsApi {
|
|
47
47
|
sendDtmf(digit: any): void;
|
48
48
|
accept(p: {
|
49
49
|
interactionId: string;
|
50
|
-
}): Promise<
|
51
|
-
mediaResourceId: string;
|
52
|
-
eventType: string;
|
53
|
-
agentId: string;
|
54
|
-
destAgentId: string;
|
55
|
-
trackingId: string;
|
56
|
-
consultMediaResourceId: string;
|
57
|
-
interaction: Service.Aqm.Contact.Interaction;
|
58
|
-
childInteractionId?: string | undefined;
|
59
|
-
interactionId: string;
|
60
|
-
orgId: string;
|
61
|
-
owner: string;
|
62
|
-
queueMgr: string;
|
63
|
-
queueName?: string | undefined;
|
64
|
-
type: string;
|
65
|
-
ronaTimeout?: number | undefined;
|
66
|
-
isConsulted?: boolean | undefined;
|
67
|
-
isConferencing: boolean;
|
68
|
-
updatedBy?: string | undefined;
|
69
|
-
destinationType?: string | undefined;
|
70
|
-
autoResumed?: boolean | undefined;
|
71
|
-
reasonCode?: string | number | undefined;
|
72
|
-
reason?: string | undefined;
|
73
|
-
consultingAgentId?: string | undefined;
|
74
|
-
taskId?: string | undefined;
|
75
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
76
|
-
supervisorId?: string | undefined;
|
77
|
-
monitorType?: string | undefined;
|
78
|
-
supervisorDN?: string | undefined;
|
79
|
-
id?: string | undefined;
|
80
|
-
isWebCallMute?: boolean | undefined;
|
81
|
-
reservationInteractionId?: string | undefined;
|
82
|
-
}> | undefined>;
|
50
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
83
51
|
consultAccept(p: {
|
84
52
|
interactionId: string;
|
85
|
-
}): Promise<
|
86
|
-
mediaResourceId: string;
|
87
|
-
eventType: string;
|
88
|
-
agentId: string;
|
89
|
-
destAgentId: string;
|
90
|
-
trackingId: string;
|
91
|
-
consultMediaResourceId: string;
|
92
|
-
interaction: Service.Aqm.Contact.Interaction;
|
93
|
-
childInteractionId?: string | undefined;
|
94
|
-
interactionId: string;
|
95
|
-
orgId: string;
|
96
|
-
owner: string;
|
97
|
-
queueMgr: string;
|
98
|
-
queueName?: string | undefined;
|
99
|
-
type: string;
|
100
|
-
ronaTimeout?: number | undefined;
|
101
|
-
isConsulted?: boolean | undefined;
|
102
|
-
isConferencing: boolean;
|
103
|
-
updatedBy?: string | undefined;
|
104
|
-
destinationType?: string | undefined;
|
105
|
-
autoResumed?: boolean | undefined;
|
106
|
-
reasonCode?: string | number | undefined;
|
107
|
-
reason?: string | undefined;
|
108
|
-
consultingAgentId?: string | undefined;
|
109
|
-
taskId?: string | undefined;
|
110
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
111
|
-
supervisorId?: string | undefined;
|
112
|
-
monitorType?: string | undefined;
|
113
|
-
supervisorDN?: string | undefined;
|
114
|
-
id?: string | undefined;
|
115
|
-
isWebCallMute?: boolean | undefined;
|
116
|
-
reservationInteractionId?: string | undefined;
|
117
|
-
}> | undefined>;
|
53
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
118
54
|
buddyAgents(p: {
|
119
55
|
data: Service.Aqm.Contact.BuddyAgents;
|
120
|
-
}): Promise<
|
121
|
-
eventType: string;
|
122
|
-
agentId: string;
|
123
|
-
trackingId: string;
|
124
|
-
agentSessionId: string;
|
125
|
-
orgId: string;
|
126
|
-
type: string;
|
127
|
-
agentList: Service.Aqm.Contact.BuddyDetails[];
|
128
|
-
}> | undefined>;
|
56
|
+
}): Promise<Service.Aqm.Contact.BuddyAgentsSuccess | undefined>;
|
129
57
|
end(p: {
|
130
58
|
interactionId: string;
|
131
|
-
}): Promise<
|
132
|
-
mediaResourceId: string;
|
133
|
-
eventType: string;
|
134
|
-
agentId: string;
|
135
|
-
destAgentId: string;
|
136
|
-
trackingId: string;
|
137
|
-
consultMediaResourceId: string;
|
138
|
-
interaction: Service.Aqm.Contact.Interaction;
|
139
|
-
childInteractionId?: string | undefined;
|
140
|
-
interactionId: string;
|
141
|
-
orgId: string;
|
142
|
-
owner: string;
|
143
|
-
queueMgr: string;
|
144
|
-
queueName?: string | undefined;
|
145
|
-
type: string;
|
146
|
-
ronaTimeout?: number | undefined;
|
147
|
-
isConsulted?: boolean | undefined;
|
148
|
-
isConferencing: boolean;
|
149
|
-
updatedBy?: string | undefined;
|
150
|
-
destinationType?: string | undefined;
|
151
|
-
autoResumed?: boolean | undefined;
|
152
|
-
reasonCode?: string | number | undefined;
|
153
|
-
reason?: string | undefined;
|
154
|
-
consultingAgentId?: string | undefined;
|
155
|
-
taskId?: string | undefined;
|
156
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
157
|
-
supervisorId?: string | undefined;
|
158
|
-
monitorType?: string | undefined;
|
159
|
-
supervisorDN?: string | undefined;
|
160
|
-
id?: string | undefined;
|
161
|
-
isWebCallMute?: boolean | undefined;
|
162
|
-
reservationInteractionId?: string | undefined;
|
163
|
-
}> | undefined>;
|
59
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
164
60
|
consultEnd(p: {
|
165
61
|
interactionId: string;
|
166
62
|
isConsult: boolean;
|
167
|
-
}): Promise<
|
168
|
-
mediaResourceId: string;
|
169
|
-
eventType: string;
|
170
|
-
agentId: string;
|
171
|
-
destAgentId: string;
|
172
|
-
trackingId: string;
|
173
|
-
consultMediaResourceId: string;
|
174
|
-
interaction: Service.Aqm.Contact.Interaction;
|
175
|
-
childInteractionId?: string | undefined;
|
176
|
-
interactionId: string;
|
177
|
-
orgId: string;
|
178
|
-
owner: string;
|
179
|
-
queueMgr: string;
|
180
|
-
queueName?: string | undefined;
|
181
|
-
type: string;
|
182
|
-
ronaTimeout?: number | undefined;
|
183
|
-
isConsulted?: boolean | undefined;
|
184
|
-
isConferencing: boolean;
|
185
|
-
updatedBy?: string | undefined;
|
186
|
-
destinationType?: string | undefined;
|
187
|
-
autoResumed?: boolean | undefined;
|
188
|
-
reasonCode?: string | number | undefined;
|
189
|
-
reason?: string | undefined;
|
190
|
-
consultingAgentId?: string | undefined;
|
191
|
-
taskId?: string | undefined;
|
192
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
193
|
-
supervisorId?: string | undefined;
|
194
|
-
monitorType?: string | undefined;
|
195
|
-
supervisorDN?: string | undefined;
|
196
|
-
id?: string | undefined;
|
197
|
-
isWebCallMute?: boolean | undefined;
|
198
|
-
reservationInteractionId?: string | undefined;
|
199
|
-
}> | undefined>;
|
63
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
200
64
|
cancelCtq(p: {
|
201
65
|
interactionId: string;
|
202
66
|
data: Service.Aqm.Contact.cancelCtq;
|
203
|
-
}): Promise<
|
204
|
-
mediaResourceId: string;
|
205
|
-
eventType: string;
|
206
|
-
agentId: string;
|
207
|
-
destAgentId: string;
|
208
|
-
trackingId: string;
|
209
|
-
consultMediaResourceId: string;
|
210
|
-
interaction: Service.Aqm.Contact.Interaction;
|
211
|
-
childInteractionId?: string | undefined;
|
212
|
-
interactionId: string;
|
213
|
-
orgId: string;
|
214
|
-
owner: string;
|
215
|
-
queueMgr: string;
|
216
|
-
queueName?: string | undefined;
|
217
|
-
type: string;
|
218
|
-
ronaTimeout?: number | undefined;
|
219
|
-
isConsulted?: boolean | undefined;
|
220
|
-
isConferencing: boolean;
|
221
|
-
updatedBy?: string | undefined;
|
222
|
-
destinationType?: string | undefined;
|
223
|
-
autoResumed?: boolean | undefined;
|
224
|
-
reasonCode?: string | number | undefined;
|
225
|
-
reason?: string | undefined;
|
226
|
-
consultingAgentId?: string | undefined;
|
227
|
-
taskId?: string | undefined;
|
228
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
229
|
-
supervisorId?: string | undefined;
|
230
|
-
monitorType?: string | undefined;
|
231
|
-
supervisorDN?: string | undefined;
|
232
|
-
id?: string | undefined;
|
233
|
-
isWebCallMute?: boolean | undefined;
|
234
|
-
reservationInteractionId?: string | undefined;
|
235
|
-
}> | undefined>;
|
67
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
236
68
|
wrapup(p: {
|
237
69
|
interactionId: string;
|
238
70
|
data: Service.Aqm.Contact.WrapupPayLoad;
|
239
|
-
}): Promise<
|
240
|
-
mediaResourceId: string;
|
241
|
-
eventType: string;
|
242
|
-
agentId: string;
|
243
|
-
destAgentId: string;
|
244
|
-
trackingId: string;
|
245
|
-
consultMediaResourceId: string;
|
246
|
-
interaction: Service.Aqm.Contact.Interaction;
|
247
|
-
childInteractionId?: string | undefined;
|
248
|
-
interactionId: string;
|
249
|
-
orgId: string;
|
250
|
-
owner: string;
|
251
|
-
queueMgr: string;
|
252
|
-
queueName?: string | undefined;
|
253
|
-
type: string;
|
254
|
-
ronaTimeout?: number | undefined;
|
255
|
-
isConsulted?: boolean | undefined;
|
256
|
-
isConferencing: boolean;
|
257
|
-
updatedBy?: string | undefined;
|
258
|
-
destinationType?: string | undefined;
|
259
|
-
autoResumed?: boolean | undefined;
|
260
|
-
reasonCode?: string | number | undefined;
|
261
|
-
reason?: string | undefined;
|
262
|
-
consultingAgentId?: string | undefined;
|
263
|
-
taskId?: string | undefined;
|
264
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
265
|
-
supervisorId?: string | undefined;
|
266
|
-
monitorType?: string | undefined;
|
267
|
-
supervisorDN?: string | undefined;
|
268
|
-
id?: string | undefined;
|
269
|
-
isWebCallMute?: boolean | undefined;
|
270
|
-
reservationInteractionId?: string | undefined;
|
271
|
-
}> | undefined>;
|
71
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
272
72
|
vteamTransfer(p: {
|
273
73
|
interactionId: string;
|
274
74
|
data: Service.Aqm.Contact.vteamTransferPayLoad;
|
275
|
-
}): Promise<
|
276
|
-
mediaResourceId: string;
|
277
|
-
eventType: string;
|
278
|
-
agentId: string;
|
279
|
-
destAgentId: string;
|
280
|
-
trackingId: string;
|
281
|
-
consultMediaResourceId: string;
|
282
|
-
interaction: Service.Aqm.Contact.Interaction;
|
283
|
-
childInteractionId?: string | undefined;
|
284
|
-
interactionId: string;
|
285
|
-
orgId: string;
|
286
|
-
owner: string;
|
287
|
-
queueMgr: string;
|
288
|
-
queueName?: string | undefined;
|
289
|
-
type: string;
|
290
|
-
ronaTimeout?: number | undefined;
|
291
|
-
isConsulted?: boolean | undefined;
|
292
|
-
isConferencing: boolean;
|
293
|
-
updatedBy?: string | undefined;
|
294
|
-
destinationType?: string | undefined;
|
295
|
-
autoResumed?: boolean | undefined;
|
296
|
-
reasonCode?: string | number | undefined;
|
297
|
-
reason?: string | undefined;
|
298
|
-
consultingAgentId?: string | undefined;
|
299
|
-
taskId?: string | undefined;
|
300
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
301
|
-
supervisorId?: string | undefined;
|
302
|
-
monitorType?: string | undefined;
|
303
|
-
supervisorDN?: string | undefined;
|
304
|
-
id?: string | undefined;
|
305
|
-
isWebCallMute?: boolean | undefined;
|
306
|
-
reservationInteractionId?: string | undefined;
|
307
|
-
}> | undefined>;
|
75
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
308
76
|
blindTransfer(p: {
|
309
77
|
interactionId: string;
|
310
78
|
data: Service.Aqm.Contact.blindTransferPayLoad;
|
311
|
-
}): Promise<
|
312
|
-
mediaResourceId: string;
|
313
|
-
eventType: string;
|
314
|
-
agentId: string;
|
315
|
-
destAgentId: string;
|
316
|
-
trackingId: string;
|
317
|
-
consultMediaResourceId: string;
|
318
|
-
interaction: Service.Aqm.Contact.Interaction;
|
319
|
-
childInteractionId?: string | undefined;
|
320
|
-
interactionId: string;
|
321
|
-
orgId: string;
|
322
|
-
owner: string;
|
323
|
-
queueMgr: string;
|
324
|
-
queueName?: string | undefined;
|
325
|
-
type: string;
|
326
|
-
ronaTimeout?: number | undefined;
|
327
|
-
isConsulted?: boolean | undefined;
|
328
|
-
isConferencing: boolean;
|
329
|
-
updatedBy?: string | undefined;
|
330
|
-
destinationType?: string | undefined;
|
331
|
-
autoResumed?: boolean | undefined;
|
332
|
-
reasonCode?: string | number | undefined;
|
333
|
-
reason?: string | undefined;
|
334
|
-
consultingAgentId?: string | undefined;
|
335
|
-
taskId?: string | undefined;
|
336
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
337
|
-
supervisorId?: string | undefined;
|
338
|
-
monitorType?: string | undefined;
|
339
|
-
supervisorDN?: string | undefined;
|
340
|
-
id?: string | undefined;
|
341
|
-
isWebCallMute?: boolean | undefined;
|
342
|
-
reservationInteractionId?: string | undefined;
|
343
|
-
}> | undefined>;
|
79
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
344
80
|
hold(p: {
|
345
81
|
interactionId: string;
|
346
82
|
data: {
|
347
83
|
mediaResourceId: string;
|
348
84
|
};
|
349
|
-
}): Promise<
|
350
|
-
mediaResourceId: string;
|
351
|
-
eventType: string;
|
352
|
-
agentId: string;
|
353
|
-
destAgentId: string;
|
354
|
-
trackingId: string;
|
355
|
-
consultMediaResourceId: string;
|
356
|
-
interaction: Service.Aqm.Contact.Interaction;
|
357
|
-
childInteractionId?: string | undefined;
|
358
|
-
interactionId: string;
|
359
|
-
orgId: string;
|
360
|
-
owner: string;
|
361
|
-
queueMgr: string;
|
362
|
-
queueName?: string | undefined;
|
363
|
-
type: string;
|
364
|
-
ronaTimeout?: number | undefined;
|
365
|
-
isConsulted?: boolean | undefined;
|
366
|
-
isConferencing: boolean;
|
367
|
-
updatedBy?: string | undefined;
|
368
|
-
destinationType?: string | undefined;
|
369
|
-
autoResumed?: boolean | undefined;
|
370
|
-
reasonCode?: string | number | undefined;
|
371
|
-
reason?: string | undefined;
|
372
|
-
consultingAgentId?: string | undefined;
|
373
|
-
taskId?: string | undefined;
|
374
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
375
|
-
supervisorId?: string | undefined;
|
376
|
-
monitorType?: string | undefined;
|
377
|
-
supervisorDN?: string | undefined;
|
378
|
-
id?: string | undefined;
|
379
|
-
isWebCallMute?: boolean | undefined;
|
380
|
-
reservationInteractionId?: string | undefined;
|
381
|
-
}> | undefined>;
|
85
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
382
86
|
unHold(p: {
|
383
87
|
interactionId: string;
|
384
88
|
data: {
|
385
89
|
mediaResourceId: string;
|
386
90
|
};
|
387
|
-
}): Promise<
|
388
|
-
mediaResourceId: string;
|
389
|
-
eventType: string;
|
390
|
-
agentId: string;
|
391
|
-
destAgentId: string;
|
392
|
-
trackingId: string;
|
393
|
-
consultMediaResourceId: string;
|
394
|
-
interaction: Service.Aqm.Contact.Interaction;
|
395
|
-
childInteractionId?: string | undefined;
|
396
|
-
interactionId: string;
|
397
|
-
orgId: string;
|
398
|
-
owner: string;
|
399
|
-
queueMgr: string;
|
400
|
-
queueName?: string | undefined;
|
401
|
-
type: string;
|
402
|
-
ronaTimeout?: number | undefined;
|
403
|
-
isConsulted?: boolean | undefined;
|
404
|
-
isConferencing: boolean;
|
405
|
-
updatedBy?: string | undefined;
|
406
|
-
destinationType?: string | undefined;
|
407
|
-
autoResumed?: boolean | undefined;
|
408
|
-
reasonCode?: string | number | undefined;
|
409
|
-
reason?: string | undefined;
|
410
|
-
consultingAgentId?: string | undefined;
|
411
|
-
taskId?: string | undefined;
|
412
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
413
|
-
supervisorId?: string | undefined;
|
414
|
-
monitorType?: string | undefined;
|
415
|
-
supervisorDN?: string | undefined;
|
416
|
-
id?: string | undefined;
|
417
|
-
isWebCallMute?: boolean | undefined;
|
418
|
-
reservationInteractionId?: string | undefined;
|
419
|
-
}> | undefined>;
|
91
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
420
92
|
consult(p: {
|
421
93
|
interactionId: string;
|
422
94
|
data: Service.Aqm.Contact.ConsultPayload | Service.Aqm.Contact.ConsultDN | Service.Aqm.Contact.ConsultAgent | Service.Aqm.Contact.ConsultQueue;
|
423
95
|
url: string;
|
424
|
-
}): Promise<
|
425
|
-
mediaResourceId: string;
|
426
|
-
eventType: string;
|
427
|
-
agentId: string;
|
428
|
-
destAgentId: string;
|
429
|
-
trackingId: string;
|
430
|
-
consultMediaResourceId: string;
|
431
|
-
interaction: Service.Aqm.Contact.Interaction;
|
432
|
-
childInteractionId?: string | undefined;
|
433
|
-
interactionId: string;
|
434
|
-
orgId: string;
|
435
|
-
owner: string;
|
436
|
-
queueMgr: string;
|
437
|
-
queueName?: string | undefined;
|
438
|
-
type: string;
|
439
|
-
ronaTimeout?: number | undefined;
|
440
|
-
isConsulted?: boolean | undefined;
|
441
|
-
isConferencing: boolean;
|
442
|
-
updatedBy?: string | undefined;
|
443
|
-
destinationType?: string | undefined;
|
444
|
-
autoResumed?: boolean | undefined;
|
445
|
-
reasonCode?: string | number | undefined;
|
446
|
-
reason?: string | undefined;
|
447
|
-
consultingAgentId?: string | undefined;
|
448
|
-
taskId?: string | undefined;
|
449
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
450
|
-
supervisorId?: string | undefined;
|
451
|
-
monitorType?: string | undefined;
|
452
|
-
supervisorDN?: string | undefined;
|
453
|
-
id?: string | undefined;
|
454
|
-
isWebCallMute?: boolean | undefined;
|
455
|
-
reservationInteractionId?: string | undefined;
|
456
|
-
}> | undefined>;
|
96
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
457
97
|
consultConference(p: {
|
458
98
|
interactionId: string;
|
459
99
|
data: Service.Aqm.Contact.ConsultPayload;
|
460
|
-
}): Promise<
|
461
|
-
mediaResourceId: string;
|
462
|
-
eventType: string;
|
463
|
-
agentId: string;
|
464
|
-
destAgentId: string;
|
465
|
-
trackingId: string;
|
466
|
-
consultMediaResourceId: string;
|
467
|
-
interaction: Service.Aqm.Contact.Interaction;
|
468
|
-
childInteractionId?: string | undefined;
|
469
|
-
interactionId: string;
|
470
|
-
orgId: string;
|
471
|
-
owner: string;
|
472
|
-
queueMgr: string;
|
473
|
-
queueName?: string | undefined;
|
474
|
-
type: string;
|
475
|
-
ronaTimeout?: number | undefined;
|
476
|
-
isConsulted?: boolean | undefined;
|
477
|
-
isConferencing: boolean;
|
478
|
-
updatedBy?: string | undefined;
|
479
|
-
destinationType?: string | undefined;
|
480
|
-
autoResumed?: boolean | undefined;
|
481
|
-
reasonCode?: string | number | undefined;
|
482
|
-
reason?: string | undefined;
|
483
|
-
consultingAgentId?: string | undefined;
|
484
|
-
taskId?: string | undefined;
|
485
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
486
|
-
supervisorId?: string | undefined;
|
487
|
-
monitorType?: string | undefined;
|
488
|
-
supervisorDN?: string | undefined;
|
489
|
-
id?: string | undefined;
|
490
|
-
isWebCallMute?: boolean | undefined;
|
491
|
-
reservationInteractionId?: string | undefined;
|
492
|
-
}> | undefined>;
|
100
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
493
101
|
decline(p: {
|
494
102
|
interactionId: string;
|
495
103
|
data: {
|
496
104
|
mediaResourceId: string;
|
497
105
|
};
|
498
106
|
isConsult: boolean;
|
499
|
-
}): Promise<
|
500
|
-
mediaResourceId: string;
|
501
|
-
eventType: string;
|
502
|
-
agentId: string;
|
503
|
-
destAgentId: string;
|
504
|
-
trackingId: string;
|
505
|
-
consultMediaResourceId: string;
|
506
|
-
interaction: Service.Aqm.Contact.Interaction;
|
507
|
-
childInteractionId?: string | undefined;
|
508
|
-
interactionId: string;
|
509
|
-
orgId: string;
|
510
|
-
owner: string;
|
511
|
-
queueMgr: string;
|
512
|
-
queueName?: string | undefined;
|
513
|
-
type: string;
|
514
|
-
ronaTimeout?: number | undefined;
|
515
|
-
isConsulted?: boolean | undefined;
|
516
|
-
isConferencing: boolean;
|
517
|
-
updatedBy?: string | undefined;
|
518
|
-
destinationType?: string | undefined;
|
519
|
-
autoResumed?: boolean | undefined;
|
520
|
-
reasonCode?: string | number | undefined;
|
521
|
-
reason?: string | undefined;
|
522
|
-
consultingAgentId?: string | undefined;
|
523
|
-
taskId?: string | undefined;
|
524
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
525
|
-
supervisorId?: string | undefined;
|
526
|
-
monitorType?: string | undefined;
|
527
|
-
supervisorDN?: string | undefined;
|
528
|
-
id?: string | undefined;
|
529
|
-
isWebCallMute?: boolean | undefined;
|
530
|
-
reservationInteractionId?: string | undefined;
|
531
|
-
}> | undefined>;
|
107
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
532
108
|
consultTransfer(p: {
|
533
109
|
interactionId: string;
|
534
110
|
data: Service.Aqm.Contact.consultTransferPayLoad;
|
535
|
-
}): Promise<
|
536
|
-
mediaResourceId: string;
|
537
|
-
eventType: string;
|
538
|
-
agentId: string;
|
539
|
-
destAgentId: string;
|
540
|
-
trackingId: string;
|
541
|
-
consultMediaResourceId: string;
|
542
|
-
interaction: Service.Aqm.Contact.Interaction;
|
543
|
-
childInteractionId?: string | undefined;
|
544
|
-
interactionId: string;
|
545
|
-
orgId: string;
|
546
|
-
owner: string;
|
547
|
-
queueMgr: string;
|
548
|
-
queueName?: string | undefined;
|
549
|
-
type: string;
|
550
|
-
ronaTimeout?: number | undefined;
|
551
|
-
isConsulted?: boolean | undefined;
|
552
|
-
isConferencing: boolean;
|
553
|
-
updatedBy?: string | undefined;
|
554
|
-
destinationType?: string | undefined;
|
555
|
-
autoResumed?: boolean | undefined;
|
556
|
-
reasonCode?: string | number | undefined;
|
557
|
-
reason?: string | undefined;
|
558
|
-
consultingAgentId?: string | undefined;
|
559
|
-
taskId?: string | undefined;
|
560
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
561
|
-
supervisorId?: string | undefined;
|
562
|
-
monitorType?: string | undefined;
|
563
|
-
supervisorDN?: string | undefined;
|
564
|
-
id?: string | undefined;
|
565
|
-
isWebCallMute?: boolean | undefined;
|
566
|
-
reservationInteractionId?: string | undefined;
|
567
|
-
}> | undefined>;
|
111
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
568
112
|
vteamList(p: {
|
569
113
|
data: Service.Aqm.Contact.VTeam;
|
570
|
-
}): Promise<
|
114
|
+
}): Promise<Service.Aqm.Contact.VTeamSuccess | undefined>;
|
115
|
+
pauseRecording(p: {
|
116
|
+
interactionId: string;
|
117
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
118
|
+
resumeRecording(p: {
|
119
|
+
interactionId: string;
|
571
120
|
data: {
|
572
|
-
|
573
|
-
allowConsultToQueue: boolean;
|
121
|
+
autoResumed: boolean;
|
574
122
|
};
|
575
|
-
|
576
|
-
|
577
|
-
agentSessionId: string;
|
578
|
-
}> | undefined>;
|
579
|
-
pauseRecording(p: {
|
123
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
124
|
+
acceptV2(p: {
|
580
125
|
interactionId: string;
|
581
|
-
}): Promise<
|
582
|
-
|
583
|
-
eventType: string;
|
584
|
-
agentId: string;
|
585
|
-
destAgentId: string;
|
586
|
-
trackingId: string;
|
587
|
-
consultMediaResourceId: string;
|
588
|
-
interaction: Service.Aqm.Contact.Interaction;
|
589
|
-
childInteractionId?: string | undefined;
|
126
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
127
|
+
endV2(p: {
|
590
128
|
interactionId: string;
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
destinationType?: string | undefined;
|
601
|
-
autoResumed?: boolean | undefined;
|
602
|
-
reasonCode?: string | number | undefined;
|
603
|
-
reason?: string | undefined;
|
604
|
-
consultingAgentId?: string | undefined;
|
605
|
-
taskId?: string | undefined;
|
606
|
-
task?: Service.Aqm.Contact.Interaction | undefined;
|
607
|
-
supervisorId?: string | undefined;
|
608
|
-
monitorType?: string | undefined;
|
609
|
-
supervisorDN?: string | undefined;
|
610
|
-
id?: string | undefined;
|
611
|
-
isWebCallMute?: boolean | undefined;
|
612
|
-
reservationInteractionId?: string | undefined;
|
613
|
-
}> | undefined>;
|
614
|
-
resumeRecording(p: {
|
129
|
+
isEndingFromNonPrimary?: boolean;
|
130
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
131
|
+
cancelTaskV2(p: {
|
132
|
+
interactionId: string;
|
133
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
134
|
+
pauseRecordingV2(p: {
|
135
|
+
interactionId: string;
|
136
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
137
|
+
resumeRecordingV2(p: {
|
615
138
|
interactionId: string;
|
616
139
|
data: {
|
617
140
|
autoResumed: boolean;
|
618
141
|
};
|
619
|
-
}): Promise<
|
620
|
-
|
621
|
-
eventType: string;
|
622
|
-
agentId: string;
|
623
|
-
destAgentId: string;
|
624
|
-
trackingId: string;
|
625
|
-
consultMediaResourceId: string;
|
626
|
-
interaction: Service.Aqm.Contact.Interaction;
|
627
|
-
childInteractionId?: string | undefined;
|
142
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
143
|
+
wrapupV2(p: {
|
628
144
|
interactionId: string;
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
}
|
145
|
+
data: Service.Aqm.Contact.WrapupV2PayLoad;
|
146
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
147
|
+
consultV2(p: {
|
148
|
+
interactionId: string;
|
149
|
+
data: Service.Aqm.Contact.consultDataV2;
|
150
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
151
|
+
consultEndV2(p: {
|
152
|
+
interactionId: string;
|
153
|
+
isConsult: boolean;
|
154
|
+
isSecondaryEpDnAgent?: boolean;
|
155
|
+
queueId?: string;
|
156
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
157
|
+
consultConferenceV2(p: {
|
158
|
+
interactionId: string;
|
159
|
+
data: Service.Aqm.Contact.consultConferenceDataV2;
|
160
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
161
|
+
exitConference(p: {
|
162
|
+
interactionId: string;
|
163
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
164
|
+
consultTransferV2(p: {
|
165
|
+
interactionId: string;
|
166
|
+
data: Service.Aqm.Contact.transferV2Payload;
|
167
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
168
|
+
blindTransferV2(p: {
|
169
|
+
interactionId: string;
|
170
|
+
data: Service.Aqm.Contact.transferV2Payload;
|
171
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
172
|
+
vteamTransferV2(p: {
|
173
|
+
interactionId: string;
|
174
|
+
data: Service.Aqm.Contact.transferV2Payload;
|
175
|
+
}): Promise<Service.Aqm.Contact.AgentContact | undefined>;
|
176
|
+
buddyAgentsV2(p: {
|
177
|
+
data: Service.Aqm.Contact.BuddyAgentsV2;
|
178
|
+
}): Promise<Service.Aqm.Contact.BuddyAgentsSuccess | undefined>;
|
652
179
|
addEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
|
653
180
|
addOnceEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
|
654
181
|
removeEventListener<T extends keyof Listeners>(eventName: T, listener: Listeners[T]): void;
|