@wildix/wda-stream-client 1.1.56 → 1.1.57
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 +64 -31
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +300 -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 +62 -29
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +295 -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 +303 -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 +675 -705
- package/dist-types/models/models_1.d.ts +254 -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",
|
|
@@ -324,6 +354,7 @@ exports.CallEndConsume = {
|
|
|
324
354
|
};
|
|
325
355
|
exports.CallEventType = {
|
|
326
356
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
357
|
+
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
327
358
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
328
359
|
LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
|
|
329
360
|
LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
|
|
@@ -337,11 +368,13 @@ exports.CallFlowConsumeStatus = {
|
|
|
337
368
|
TALKING: "talking",
|
|
338
369
|
};
|
|
339
370
|
exports.ChatConsumeEventType = {
|
|
371
|
+
CHAT_ANNOTATE: "CHAT.ANNOTATE",
|
|
340
372
|
CHAT_MESSAGE: "CHAT.MESSAGE",
|
|
341
373
|
CHAT_NEW: "CHAT.NEW",
|
|
342
374
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
343
375
|
};
|
|
344
376
|
exports.ChatEventType = {
|
|
377
|
+
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
345
378
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
346
379
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
347
380
|
LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
|
|
@@ -350,12 +383,8 @@ exports.ChatEventType = {
|
|
|
350
383
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
351
384
|
TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
|
|
352
385
|
};
|
|
353
|
-
exports.ConferenceConsumeDirection = {
|
|
354
|
-
INBOUND: "inbound",
|
|
355
|
-
INTERNAL: "internal",
|
|
356
|
-
OUTBOUND: "outbound",
|
|
357
|
-
};
|
|
358
386
|
exports.ConferenceConsumeEventType = {
|
|
387
|
+
CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
|
|
359
388
|
CONFERENCE_END: "CONFERENCE.END",
|
|
360
389
|
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
361
390
|
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
@@ -367,7 +396,13 @@ exports.ConferenceConsumeEventType = {
|
|
|
367
396
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
368
397
|
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
369
398
|
};
|
|
399
|
+
exports.ConferenceConsumeDirection = {
|
|
400
|
+
INBOUND: "inbound",
|
|
401
|
+
INTERNAL: "internal",
|
|
402
|
+
OUTBOUND: "outbound",
|
|
403
|
+
};
|
|
370
404
|
exports.ConferenceEventType = {
|
|
405
|
+
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
371
406
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
372
407
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
373
408
|
LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
|
|
@@ -405,11 +440,8 @@ exports.ServiceConsumeEventType = {
|
|
|
405
440
|
exports.ServiceCallAction = {
|
|
406
441
|
ANSWER: "ANSWER",
|
|
407
442
|
CANCEL: "CANCEL",
|
|
408
|
-
END: "END",
|
|
409
|
-
INIT: "INIT",
|
|
410
443
|
REJECT: "REJECT",
|
|
411
444
|
RING: "RING",
|
|
412
|
-
WAIT: "WAIT",
|
|
413
445
|
};
|
|
414
446
|
exports.SmsConsumeEventType = {
|
|
415
447
|
SMS_INBOUND: "SMS.INBOUND",
|
|
@@ -441,6 +473,8 @@ var ConsumeEventInputEvent;
|
|
|
441
473
|
return visitor.callUpdate(value.callUpdate);
|
|
442
474
|
if (value.callSplit !== undefined)
|
|
443
475
|
return visitor.callSplit(value.callSplit);
|
|
476
|
+
if (value.callAnnotate !== undefined)
|
|
477
|
+
return visitor.callAnnotate(value.callAnnotate);
|
|
444
478
|
if (value.callLive !== undefined)
|
|
445
479
|
return visitor.callLive(value.callLive);
|
|
446
480
|
if (value.callAgentsStart !== undefined)
|
|
@@ -469,6 +503,8 @@ var ConsumeEventInputEvent;
|
|
|
469
503
|
return visitor.conferenceStart(value.conferenceStart);
|
|
470
504
|
if (value.conferenceJoin !== undefined)
|
|
471
505
|
return visitor.conferenceJoin(value.conferenceJoin);
|
|
506
|
+
if (value.conferenceAnnotate !== undefined)
|
|
507
|
+
return visitor.conferenceAnnotate(value.conferenceAnnotate);
|
|
472
508
|
if (value.conferenceRecordStart !== undefined)
|
|
473
509
|
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
474
510
|
if (value.conferenceTranscription !== undefined)
|
|
@@ -489,6 +525,8 @@ var ConsumeEventInputEvent;
|
|
|
489
525
|
return visitor.chatNew(value.chatNew);
|
|
490
526
|
if (value.chatUpdate !== undefined)
|
|
491
527
|
return visitor.chatUpdate(value.chatUpdate);
|
|
528
|
+
if (value.chatAnnotate !== undefined)
|
|
529
|
+
return visitor.chatAnnotate(value.chatAnnotate);
|
|
492
530
|
if (value.smsInbound !== undefined)
|
|
493
531
|
return visitor.smsInbound(value.smsInbound);
|
|
494
532
|
if (value.smsStatus !== undefined)
|
|
@@ -558,15 +596,14 @@ exports.ServiceAnalyticsEventTrigger = {
|
|
|
558
596
|
exports.ServiceCallEventType = {
|
|
559
597
|
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
560
598
|
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
561
|
-
RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
|
|
562
599
|
};
|
|
563
600
|
exports.ServiceEventType = {
|
|
564
|
-
AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
|
|
565
601
|
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
566
602
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
567
603
|
};
|
|
568
604
|
exports.WebhookEventType = {
|
|
569
605
|
CALL_COMPLETED: "call:completed",
|
|
606
|
+
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
570
607
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
571
608
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
572
609
|
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
@@ -579,6 +616,7 @@ exports.WebhookEventType = {
|
|
|
579
616
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
580
617
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
581
618
|
CHAT_COMPLETED: "chat:completed",
|
|
619
|
+
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
582
620
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
583
621
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
584
622
|
CHAT_LIVE_MISSED: "chat:live:missed",
|
|
@@ -586,6 +624,7 @@ exports.WebhookEventType = {
|
|
|
586
624
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
587
625
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
588
626
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
627
|
+
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
589
628
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
590
629
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
591
630
|
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
@@ -603,9 +642,3 @@ exports.WebhookEventType = {
|
|
|
603
642
|
PRESENCE_USER: "presence:user",
|
|
604
643
|
SMS_STATUS: "sms:status",
|
|
605
644
|
};
|
|
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";
|