@wildix/wda-stream-client 1.1.56 → 1.1.58
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-cjs/WdaStream.js +6 -0
- package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +67 -31
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +342 -3
- package/dist-es/WdaStream.js +6 -0
- package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +17 -0
- package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +17 -0
- package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +65 -29
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +337 -4
- package/dist-types/WdaStream.d.ts +21 -0
- package/dist-types/WdaStreamClient.d.ts +5 -2
- package/dist-types/commands/ConsumeEventCommand.d.ts +146 -88
- package/dist-types/commands/DescribeEventCommand.d.ts +336 -195
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +286 -0
- package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -2
- package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +190 -0
- package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +134 -0
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +2 -1
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +3 -2
- package/dist-types/commands/ListServicesCommand.d.ts +0 -1
- package/dist-types/commands/QueryConversationsCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +726 -740
- package/dist-types/models/models_1.d.ts +288 -18
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +1 -1
package/dist-cjs/WdaStream.js
CHANGED
|
@@ -5,8 +5,11 @@ const WdaStreamClient_1 = require("./WdaStreamClient");
|
|
|
5
5
|
const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
|
|
6
6
|
const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
|
|
7
7
|
const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
|
|
8
|
+
const GetOngoingCallAnnotationsCommand_1 = require("./commands/GetOngoingCallAnnotationsCommand");
|
|
8
9
|
const GetOngoingCallCommand_1 = require("./commands/GetOngoingCallCommand");
|
|
9
10
|
const GetOngoingCallTranscriptionCommand_1 = require("./commands/GetOngoingCallTranscriptionCommand");
|
|
11
|
+
const GetOngoingChatAnnotationsCommand_1 = require("./commands/GetOngoingChatAnnotationsCommand");
|
|
12
|
+
const GetOngoingConferenceAnnotationsCommand_1 = require("./commands/GetOngoingConferenceAnnotationsCommand");
|
|
10
13
|
const GetOngoingConferenceCommand_1 = require("./commands/GetOngoingConferenceCommand");
|
|
11
14
|
const GetOngoingConferenceTranscriptionCommand_1 = require("./commands/GetOngoingConferenceTranscriptionCommand");
|
|
12
15
|
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
@@ -20,8 +23,11 @@ const commands = {
|
|
|
20
23
|
DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
|
|
21
24
|
GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
|
|
22
25
|
GetOngoingCallCommand: GetOngoingCallCommand_1.GetOngoingCallCommand,
|
|
26
|
+
GetOngoingCallAnnotationsCommand: GetOngoingCallAnnotationsCommand_1.GetOngoingCallAnnotationsCommand,
|
|
23
27
|
GetOngoingCallTranscriptionCommand: GetOngoingCallTranscriptionCommand_1.GetOngoingCallTranscriptionCommand,
|
|
28
|
+
GetOngoingChatAnnotationsCommand: GetOngoingChatAnnotationsCommand_1.GetOngoingChatAnnotationsCommand,
|
|
24
29
|
GetOngoingConferenceCommand: GetOngoingConferenceCommand_1.GetOngoingConferenceCommand,
|
|
30
|
+
GetOngoingConferenceAnnotationsCommand: GetOngoingConferenceAnnotationsCommand_1.GetOngoingConferenceAnnotationsCommand,
|
|
25
31
|
GetOngoingConferenceTranscriptionCommand: GetOngoingConferenceTranscriptionCommand_1.GetOngoingConferenceTranscriptionCommand,
|
|
26
32
|
ListServicesCommand: ListServicesCommand_1.ListServicesCommand,
|
|
27
33
|
QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOngoingCallAnnotationsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetOngoingCallAnnotationsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaStream", "GetOngoingCallAnnotations", {})
|
|
15
|
+
.n("WdaStreamClient", "GetOngoingCallAnnotationsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetOngoingCallAnnotationsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetOngoingCallAnnotationsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetOngoingCallAnnotationsCommand = GetOngoingCallAnnotationsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOngoingChatAnnotationsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetOngoingChatAnnotationsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaStream", "GetOngoingChatAnnotations", {})
|
|
15
|
+
.n("WdaStreamClient", "GetOngoingChatAnnotationsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetOngoingChatAnnotationsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetOngoingChatAnnotationsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetOngoingChatAnnotationsCommand = GetOngoingChatAnnotationsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOngoingConferenceAnnotationsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetOngoingConferenceAnnotationsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaStream", "GetOngoingConferenceAnnotations", {})
|
|
15
|
+
.n("WdaStreamClient", "GetOngoingConferenceAnnotationsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetOngoingConferenceAnnotationsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetOngoingConferenceAnnotationsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetOngoingConferenceAnnotationsCommand = GetOngoingConferenceAnnotationsCommand;
|
|
@@ -5,8 +5,11 @@ tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetOngoingCallAnnotationsCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetOngoingCallTranscriptionCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetOngoingChatAnnotationsCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetOngoingConferenceAnnotationsCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./GetOngoingConferenceTranscriptionCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.AnnotationsStatus = exports.RecordType = exports.License = exports.AnnotationSourceType = exports.AnnotationPayload = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
|
+
exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeDirection = exports.ConferenceConsumeEventType = exports.ChatEventType = exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
6
|
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
7
|
name = "ForbiddenException";
|
|
@@ -51,6 +51,45 @@ exports.WhatsAppStatus = {
|
|
|
51
51
|
READ: "READ",
|
|
52
52
|
SENT: "SENT",
|
|
53
53
|
};
|
|
54
|
+
var AnnotationPayload;
|
|
55
|
+
(function (AnnotationPayload) {
|
|
56
|
+
AnnotationPayload.visit = (value, visitor) => {
|
|
57
|
+
if (value.tag !== undefined)
|
|
58
|
+
return visitor.tag(value.tag);
|
|
59
|
+
if (value.text !== undefined)
|
|
60
|
+
return visitor.text(value.text);
|
|
61
|
+
if (value.variables !== undefined)
|
|
62
|
+
return visitor.variables(value.variables);
|
|
63
|
+
if (value.result !== undefined)
|
|
64
|
+
return visitor.result(value.result);
|
|
65
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
66
|
+
};
|
|
67
|
+
})(AnnotationPayload || (exports.AnnotationPayload = AnnotationPayload = {}));
|
|
68
|
+
exports.AnnotationSourceType = {
|
|
69
|
+
CHATBOT: "chatbot",
|
|
70
|
+
SYSTEM: "system",
|
|
71
|
+
USER: "user",
|
|
72
|
+
VOICEBOT: "voicebot",
|
|
73
|
+
};
|
|
74
|
+
exports.License = {
|
|
75
|
+
UC: "uc",
|
|
76
|
+
XBEES: "x-bees",
|
|
77
|
+
};
|
|
78
|
+
exports.RecordType = {
|
|
79
|
+
CALL: "call",
|
|
80
|
+
CALL_ANNOTATIONS: "call_annotations",
|
|
81
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
82
|
+
CHAT: "chat",
|
|
83
|
+
CHAT_ANNOTATIONS: "chat_annotations",
|
|
84
|
+
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
85
|
+
CONFERENCE: "conference",
|
|
86
|
+
CONFERENCE_ANNOTATIONS: "conference_annotations",
|
|
87
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
88
|
+
};
|
|
89
|
+
exports.AnnotationsStatus = {
|
|
90
|
+
AVAILABLE: "AVAILABLE",
|
|
91
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
92
|
+
};
|
|
54
93
|
exports.CallRecordOwner = {
|
|
55
94
|
CALLEE: "callee",
|
|
56
95
|
CALLER: "caller",
|
|
@@ -100,23 +139,11 @@ exports.CallDevice = {
|
|
|
100
139
|
XBEES_IOS: "XBEES_IOS",
|
|
101
140
|
XBEES_WEB: "XBEES_WEB",
|
|
102
141
|
};
|
|
103
|
-
exports.License = {
|
|
104
|
-
UC: "uc",
|
|
105
|
-
XBEES: "x-bees",
|
|
106
|
-
};
|
|
107
142
|
exports.CallFlowTranscriptionStatus = {
|
|
108
143
|
AVAILABLE: "AVAILABLE",
|
|
109
144
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
110
145
|
UNAVAILABLE: "UNAVAILABLE",
|
|
111
146
|
};
|
|
112
|
-
exports.RecordType = {
|
|
113
|
-
CALL: "call",
|
|
114
|
-
CALL_TRANSCRIPTION: "call_transcription",
|
|
115
|
-
CHAT: "chat",
|
|
116
|
-
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
117
|
-
CONFERENCE: "conference",
|
|
118
|
-
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
119
|
-
};
|
|
120
147
|
exports.CallTranscriptionSpeaker = {
|
|
121
148
|
CALLEE: "callee",
|
|
122
149
|
CALLER: "caller",
|
|
@@ -254,6 +281,7 @@ exports.ConferenceTranscriptionStatus = {
|
|
|
254
281
|
exports.CallConsumeEventType = {
|
|
255
282
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
256
283
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
284
|
+
CALL_ANNOTATE: "CALL.ANNOTATE",
|
|
257
285
|
CALL_ATTACHMENT: "CALL.ATTACHMENT",
|
|
258
286
|
CALL_END: "CALL.END",
|
|
259
287
|
CALL_LIVE: "CALL.LIVE",
|
|
@@ -269,16 +297,19 @@ exports.CallConsumeEventType = {
|
|
|
269
297
|
};
|
|
270
298
|
exports.LiveEventType = {
|
|
271
299
|
CALL: "call",
|
|
300
|
+
CALL_ANNOTATION: "call_annotation",
|
|
272
301
|
CALL_COMPLETE: "call_complete",
|
|
273
302
|
CALL_INTERRUPTED: "call_interrupted",
|
|
274
303
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
275
304
|
CHAT: "chat",
|
|
305
|
+
CHAT_ANNOTATION: "chat_annotation",
|
|
276
306
|
CHAT_COMPLETE: "chat_complete",
|
|
277
307
|
CHAT_COST: "call_cost",
|
|
278
308
|
CHAT_INTERRUPTED: "chat_interrupted",
|
|
279
309
|
CHAT_MISSED: "chat_missed",
|
|
280
310
|
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
281
311
|
CONFERENCE: "conference",
|
|
312
|
+
CONFERENCE_ANNOTATION: "conference_annotation",
|
|
282
313
|
CONFERENCE_COMPLETE: "conference_complete",
|
|
283
314
|
CONFERENCE_INTERRUPTED: "conference_interrupted",
|
|
284
315
|
CONFERENCE_JOIN: "conference_join",
|
|
@@ -286,7 +317,6 @@ exports.LiveEventType = {
|
|
|
286
317
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
287
318
|
SERVICE: "service",
|
|
288
319
|
SERVICE_AGENT: "service_agent",
|
|
289
|
-
SERVICE_AGENT_STATUS: "service_agent_status",
|
|
290
320
|
SERVICE_CALL: "service_call",
|
|
291
321
|
SERVICE_CALL_COMPLETE: "service_call_complete",
|
|
292
322
|
SERVICE_COMPLETE: "service_complete",
|
|
@@ -323,7 +353,9 @@ exports.CallEndConsume = {
|
|
|
323
353
|
CALLER: "caller",
|
|
324
354
|
};
|
|
325
355
|
exports.CallEventType = {
|
|
356
|
+
ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
|
|
326
357
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
358
|
+
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
327
359
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
328
360
|
LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
|
|
329
361
|
LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
|
|
@@ -337,11 +369,14 @@ exports.CallFlowConsumeStatus = {
|
|
|
337
369
|
TALKING: "talking",
|
|
338
370
|
};
|
|
339
371
|
exports.ChatConsumeEventType = {
|
|
372
|
+
CHAT_ANNOTATE: "CHAT.ANNOTATE",
|
|
340
373
|
CHAT_MESSAGE: "CHAT.MESSAGE",
|
|
341
374
|
CHAT_NEW: "CHAT.NEW",
|
|
342
375
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
343
376
|
};
|
|
344
377
|
exports.ChatEventType = {
|
|
378
|
+
ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
|
|
379
|
+
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
345
380
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
346
381
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
347
382
|
LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
|
|
@@ -350,12 +385,8 @@ exports.ChatEventType = {
|
|
|
350
385
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
351
386
|
TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
|
|
352
387
|
};
|
|
353
|
-
exports.ConferenceConsumeDirection = {
|
|
354
|
-
INBOUND: "inbound",
|
|
355
|
-
INTERNAL: "internal",
|
|
356
|
-
OUTBOUND: "outbound",
|
|
357
|
-
};
|
|
358
388
|
exports.ConferenceConsumeEventType = {
|
|
389
|
+
CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
|
|
359
390
|
CONFERENCE_END: "CONFERENCE.END",
|
|
360
391
|
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
361
392
|
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
@@ -367,7 +398,14 @@ exports.ConferenceConsumeEventType = {
|
|
|
367
398
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
368
399
|
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
369
400
|
};
|
|
401
|
+
exports.ConferenceConsumeDirection = {
|
|
402
|
+
INBOUND: "inbound",
|
|
403
|
+
INTERNAL: "internal",
|
|
404
|
+
OUTBOUND: "outbound",
|
|
405
|
+
};
|
|
370
406
|
exports.ConferenceEventType = {
|
|
407
|
+
ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
|
|
408
|
+
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
371
409
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
372
410
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
373
411
|
LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
|
|
@@ -405,11 +443,8 @@ exports.ServiceConsumeEventType = {
|
|
|
405
443
|
exports.ServiceCallAction = {
|
|
406
444
|
ANSWER: "ANSWER",
|
|
407
445
|
CANCEL: "CANCEL",
|
|
408
|
-
END: "END",
|
|
409
|
-
INIT: "INIT",
|
|
410
446
|
REJECT: "REJECT",
|
|
411
447
|
RING: "RING",
|
|
412
|
-
WAIT: "WAIT",
|
|
413
448
|
};
|
|
414
449
|
exports.SmsConsumeEventType = {
|
|
415
450
|
SMS_INBOUND: "SMS.INBOUND",
|
|
@@ -441,6 +476,8 @@ var ConsumeEventInputEvent;
|
|
|
441
476
|
return visitor.callUpdate(value.callUpdate);
|
|
442
477
|
if (value.callSplit !== undefined)
|
|
443
478
|
return visitor.callSplit(value.callSplit);
|
|
479
|
+
if (value.callAnnotate !== undefined)
|
|
480
|
+
return visitor.callAnnotate(value.callAnnotate);
|
|
444
481
|
if (value.callLive !== undefined)
|
|
445
482
|
return visitor.callLive(value.callLive);
|
|
446
483
|
if (value.callAgentsStart !== undefined)
|
|
@@ -469,6 +506,8 @@ var ConsumeEventInputEvent;
|
|
|
469
506
|
return visitor.conferenceStart(value.conferenceStart);
|
|
470
507
|
if (value.conferenceJoin !== undefined)
|
|
471
508
|
return visitor.conferenceJoin(value.conferenceJoin);
|
|
509
|
+
if (value.conferenceAnnotate !== undefined)
|
|
510
|
+
return visitor.conferenceAnnotate(value.conferenceAnnotate);
|
|
472
511
|
if (value.conferenceRecordStart !== undefined)
|
|
473
512
|
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
474
513
|
if (value.conferenceTranscription !== undefined)
|
|
@@ -489,6 +528,8 @@ var ConsumeEventInputEvent;
|
|
|
489
528
|
return visitor.chatNew(value.chatNew);
|
|
490
529
|
if (value.chatUpdate !== undefined)
|
|
491
530
|
return visitor.chatUpdate(value.chatUpdate);
|
|
531
|
+
if (value.chatAnnotate !== undefined)
|
|
532
|
+
return visitor.chatAnnotate(value.chatAnnotate);
|
|
492
533
|
if (value.smsInbound !== undefined)
|
|
493
534
|
return visitor.smsInbound(value.smsInbound);
|
|
494
535
|
if (value.smsStatus !== undefined)
|
|
@@ -558,15 +599,14 @@ exports.ServiceAnalyticsEventTrigger = {
|
|
|
558
599
|
exports.ServiceCallEventType = {
|
|
559
600
|
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
560
601
|
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
561
|
-
RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
|
|
562
602
|
};
|
|
563
603
|
exports.ServiceEventType = {
|
|
564
|
-
AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
|
|
565
604
|
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
566
605
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
567
606
|
};
|
|
568
607
|
exports.WebhookEventType = {
|
|
569
608
|
CALL_COMPLETED: "call:completed",
|
|
609
|
+
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
570
610
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
571
611
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
572
612
|
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
@@ -579,6 +619,7 @@ exports.WebhookEventType = {
|
|
|
579
619
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
580
620
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
581
621
|
CHAT_COMPLETED: "chat:completed",
|
|
622
|
+
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
582
623
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
583
624
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
584
625
|
CHAT_LIVE_MISSED: "chat:live:missed",
|
|
@@ -586,6 +627,7 @@ exports.WebhookEventType = {
|
|
|
586
627
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
587
628
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
588
629
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
630
|
+
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
589
631
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
590
632
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
591
633
|
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
@@ -603,9 +645,3 @@ exports.WebhookEventType = {
|
|
|
603
645
|
PRESENCE_USER: "presence:user",
|
|
604
646
|
SMS_STATUS: "sms:status",
|
|
605
647
|
};
|
|
606
|
-
exports.WebsocketEvent = {
|
|
607
|
-
AUTHORIZED: "authorized",
|
|
608
|
-
BROADCAST: "broadcast",
|
|
609
|
-
SUBSCRIBED: "subscribed",
|
|
610
|
-
UNSUBSCRIBE: "unsubscribed",
|
|
611
|
-
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = void 0;
|
|
3
|
+
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
5
|
+
exports.WebsocketEvent = {
|
|
6
|
+
AUTHORIZED: "authorized",
|
|
7
|
+
BROADCAST: "broadcast",
|
|
8
|
+
SUBSCRIBED: "subscribed",
|
|
9
|
+
UNSUBSCRIBE: "unsubscribed",
|
|
10
|
+
};
|
|
5
11
|
class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
6
12
|
name = "MatchNotFoundException";
|
|
7
13
|
$fault = "client";
|