@wildix/wda-stream-client 1.0.20 → 1.0.22
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/models/models_0.js +33 -26
- package/dist-cjs/protocols/Aws_restJson1.js +2 -25
- package/dist-es/models/models_0.js +32 -25
- package/dist-es/protocols/Aws_restJson1.js +2 -25
- package/dist-types/commands/ConsumeEventCommand.d.ts +126 -11
- package/dist-types/commands/DescribeEventCommand.d.ts +1 -742
- package/dist-types/commands/GetConversationsCommand.d.ts +0 -6
- package/dist-types/models/models_0.d.ts +756 -494
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MatchNotFoundException = exports.WebsocketTopic = exports.WebsocketEvent = exports.
|
|
3
|
+
exports.MatchNotFoundException = exports.WebsocketTopic = exports.WebsocketEvent = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
5
5
|
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -221,7 +221,15 @@ exports.ChatEventType = {
|
|
|
221
221
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
222
222
|
};
|
|
223
223
|
exports.ConferenceConsumeEventType = {
|
|
224
|
+
CONFERENCE_END: "CONFERENCE.END",
|
|
225
|
+
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
226
|
+
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
227
|
+
CONFERENCE_LEAVE: "CONFERENCE.LEAVE",
|
|
228
|
+
CONFERENCE_RECORD_START: "CONFERENCE.RECORD_START",
|
|
229
|
+
CONFERENCE_RECORD_STOP: "CONFERENCE.RECORD_STOP",
|
|
230
|
+
CONFERENCE_START: "CONFERENCE.START",
|
|
224
231
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
232
|
+
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
225
233
|
};
|
|
226
234
|
exports.ConferenceEventType = {
|
|
227
235
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
@@ -233,6 +241,10 @@ exports.ConferenceEventType = {
|
|
|
233
241
|
RECORD_EVENT: "ConferenceAnalyticsRecordEvent",
|
|
234
242
|
TRANSCRIPTION_RECORD_EVENT: "ConferenceAnalyticsTranscriptionRecordEvent",
|
|
235
243
|
};
|
|
244
|
+
exports.PresenceConsumeEventType = {
|
|
245
|
+
PRESENCE: "PRESENCE",
|
|
246
|
+
PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY",
|
|
247
|
+
};
|
|
236
248
|
exports.SmsConsumeEventType = {
|
|
237
249
|
SMS_INBOUND: "SMS.INBOUND",
|
|
238
250
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -274,6 +286,22 @@ var ConsumeEventInputEvent;
|
|
|
274
286
|
return visitor.callTranscription(value.callTranscription);
|
|
275
287
|
if (value.conferenceTimeFrames !== undefined)
|
|
276
288
|
return visitor.conferenceTimeFrames(value.conferenceTimeFrames);
|
|
289
|
+
if (value.conferenceStart !== undefined)
|
|
290
|
+
return visitor.conferenceStart(value.conferenceStart);
|
|
291
|
+
if (value.conferenceJoin !== undefined)
|
|
292
|
+
return visitor.conferenceJoin(value.conferenceJoin);
|
|
293
|
+
if (value.conferenceRecordStart !== undefined)
|
|
294
|
+
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
295
|
+
if (value.conferenceTranscription !== undefined)
|
|
296
|
+
return visitor.conferenceTranscription(value.conferenceTranscription);
|
|
297
|
+
if (value.conferenceLeave !== undefined)
|
|
298
|
+
return visitor.conferenceLeave(value.conferenceLeave);
|
|
299
|
+
if (value.conferenceRecordStop !== undefined)
|
|
300
|
+
return visitor.conferenceRecordStop(value.conferenceRecordStop);
|
|
301
|
+
if (value.conferenceKeepAlive !== undefined)
|
|
302
|
+
return visitor.conferenceKeepAlive(value.conferenceKeepAlive);
|
|
303
|
+
if (value.conferenceEnd !== undefined)
|
|
304
|
+
return visitor.conferenceEnd(value.conferenceEnd);
|
|
277
305
|
if (value.chatNew !== undefined)
|
|
278
306
|
return visitor.chatNew(value.chatNew);
|
|
279
307
|
if (value.chatUpdate !== undefined)
|
|
@@ -282,6 +310,10 @@ var ConsumeEventInputEvent;
|
|
|
282
310
|
return visitor.smsInbound(value.smsInbound);
|
|
283
311
|
if (value.smsStatus !== undefined)
|
|
284
312
|
return visitor.smsStatus(value.smsStatus);
|
|
313
|
+
if (value.presence !== undefined)
|
|
314
|
+
return visitor.presence(value.presence);
|
|
315
|
+
if (value.presenceTelephony !== undefined)
|
|
316
|
+
return visitor.presenceTelephony(value.presenceTelephony);
|
|
285
317
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
286
318
|
};
|
|
287
319
|
})(ConsumeEventInputEvent = exports.ConsumeEventInputEvent || (exports.ConsumeEventInputEvent = {}));
|
|
@@ -294,31 +326,6 @@ exports.PresenceEventType = {
|
|
|
294
326
|
STATUS_EVENT: "PresenceAnalyticsStatusEvent",
|
|
295
327
|
TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
|
|
296
328
|
};
|
|
297
|
-
exports.WebhookEventType = {
|
|
298
|
-
CALL_COMPLETED: "call:completed",
|
|
299
|
-
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
300
|
-
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
301
|
-
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
302
|
-
CALL_LIVE_TRANSCRIPTION: "call:live:transcription",
|
|
303
|
-
CHAT_COMPLETED: "chat:completed",
|
|
304
|
-
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
305
|
-
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
306
|
-
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
307
|
-
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
308
|
-
CONFERENCE_COMPLETED: "conference:completed",
|
|
309
|
-
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
310
|
-
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
311
|
-
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
312
|
-
CONFERENCE_LIVE_LEAVE: "conference:live:leave",
|
|
313
|
-
CONFERENCE_LIVE_PROGRESS: "conference:live:progress",
|
|
314
|
-
CONFERENCE_LIVE_TRANSCRIPTION: "conference:live:transcription",
|
|
315
|
-
OLD_CALL_END: "call:end",
|
|
316
|
-
OLD_CALL_START: "call:start",
|
|
317
|
-
OLD_CALL_UPDATE: "call:update",
|
|
318
|
-
PRESENCE_CONFERENCE: "presence:conference",
|
|
319
|
-
PRESENCE_TELEPHONY: "presence:telephony",
|
|
320
|
-
PRESENCE_USER: "presence:user",
|
|
321
|
-
};
|
|
322
329
|
exports.WebsocketEvent = {
|
|
323
330
|
AUTHORIZED: "authorized",
|
|
324
331
|
BROADCAST: "broadcast",
|
|
@@ -117,30 +117,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
117
117
|
'PresenceAnalyticsStatusEvent': smithy_client_1._json,
|
|
118
118
|
'PresenceAnalyticsTelephonyEvent': smithy_client_1._json,
|
|
119
119
|
'PresenceEventType': smithy_client_1.expectString,
|
|
120
|
-
'
|
|
121
|
-
'WebhookCallLiveCompletedEvent': smithy_client_1._json,
|
|
122
|
-
'WebhookCallLiveInterruptedEvent': smithy_client_1._json,
|
|
123
|
-
'WebhookCallLiveProgressEvent': smithy_client_1._json,
|
|
124
|
-
'WebhookCallLiveTranscriptionEvent': smithy_client_1._json,
|
|
125
|
-
'WebhookChatCompletedEvent': smithy_client_1._json,
|
|
126
|
-
'WebhookChatLiveCompletedEvent': smithy_client_1._json,
|
|
127
|
-
'WebhookChatLiveInterruptedEvent': smithy_client_1._json,
|
|
128
|
-
'WebhookChatLiveProgressEvent': smithy_client_1._json,
|
|
129
|
-
'WebhookChatManagerMissedEvent': smithy_client_1._json,
|
|
130
|
-
'WebhookConferenceCompletedEvent': smithy_client_1._json,
|
|
131
|
-
'WebhookConferenceLiveCompletedEvent': smithy_client_1._json,
|
|
132
|
-
'WebhookConferenceLiveInterruptedEvent': smithy_client_1._json,
|
|
133
|
-
'WebhookConferenceLiveJoinEvent': smithy_client_1._json,
|
|
134
|
-
'WebhookConferenceLiveLeaveEvent': smithy_client_1._json,
|
|
135
|
-
'WebhookConferenceLiveProgressEvent': smithy_client_1._json,
|
|
136
|
-
'WebhookConferenceLiveTranscriptionEvent': smithy_client_1._json,
|
|
137
|
-
'WebhookOutdatedCallEndEvent': smithy_client_1._json,
|
|
138
|
-
'WebhookOutdatedCallStartEvent': smithy_client_1._json,
|
|
139
|
-
'WebhookOutdatedCallUpdateEvent': smithy_client_1._json,
|
|
140
|
-
'WebhookPresenceConferenceEvent': smithy_client_1._json,
|
|
141
|
-
'WebhookPresenceTelephonyEvent': smithy_client_1._json,
|
|
142
|
-
'WebhookPresenceUserEvent': smithy_client_1._json,
|
|
143
|
-
'WebsocketConversationsBroadcastEvent': _ => de_WebsocketConversationsBroadcastEvent(_, context),
|
|
120
|
+
'WebsocketConversationBroadcastEvent': _ => de_WebsocketConversationBroadcastEvent(_, context),
|
|
144
121
|
'WebsocketPresenceBroadcastEvent': _ => de_WebsocketPresenceBroadcastEvent(_, context),
|
|
145
122
|
'WebsocketTranscriptionsBroadcastEvent': _ => de_WebsocketTranscriptionsBroadcastEvent(_, context),
|
|
146
123
|
});
|
|
@@ -261,7 +238,7 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
|
|
|
261
238
|
'type': smithy_client_1.expectString,
|
|
262
239
|
});
|
|
263
240
|
};
|
|
264
|
-
const
|
|
241
|
+
const de_WebsocketConversationBroadcastEvent = (output, context) => {
|
|
265
242
|
return (0, smithy_client_1.take)(output, {
|
|
266
243
|
'data': (_) => de_Document(_, context),
|
|
267
244
|
'event': smithy_client_1.expectString,
|
|
@@ -216,7 +216,15 @@ export const ChatEventType = {
|
|
|
216
216
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
217
217
|
};
|
|
218
218
|
export const ConferenceConsumeEventType = {
|
|
219
|
+
CONFERENCE_END: "CONFERENCE.END",
|
|
220
|
+
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
221
|
+
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
222
|
+
CONFERENCE_LEAVE: "CONFERENCE.LEAVE",
|
|
223
|
+
CONFERENCE_RECORD_START: "CONFERENCE.RECORD_START",
|
|
224
|
+
CONFERENCE_RECORD_STOP: "CONFERENCE.RECORD_STOP",
|
|
225
|
+
CONFERENCE_START: "CONFERENCE.START",
|
|
219
226
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
227
|
+
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
220
228
|
};
|
|
221
229
|
export const ConferenceEventType = {
|
|
222
230
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
@@ -228,6 +236,10 @@ export const ConferenceEventType = {
|
|
|
228
236
|
RECORD_EVENT: "ConferenceAnalyticsRecordEvent",
|
|
229
237
|
TRANSCRIPTION_RECORD_EVENT: "ConferenceAnalyticsTranscriptionRecordEvent",
|
|
230
238
|
};
|
|
239
|
+
export const PresenceConsumeEventType = {
|
|
240
|
+
PRESENCE: "PRESENCE",
|
|
241
|
+
PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY",
|
|
242
|
+
};
|
|
231
243
|
export const SmsConsumeEventType = {
|
|
232
244
|
SMS_INBOUND: "SMS.INBOUND",
|
|
233
245
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -269,6 +281,22 @@ export var ConsumeEventInputEvent;
|
|
|
269
281
|
return visitor.callTranscription(value.callTranscription);
|
|
270
282
|
if (value.conferenceTimeFrames !== undefined)
|
|
271
283
|
return visitor.conferenceTimeFrames(value.conferenceTimeFrames);
|
|
284
|
+
if (value.conferenceStart !== undefined)
|
|
285
|
+
return visitor.conferenceStart(value.conferenceStart);
|
|
286
|
+
if (value.conferenceJoin !== undefined)
|
|
287
|
+
return visitor.conferenceJoin(value.conferenceJoin);
|
|
288
|
+
if (value.conferenceRecordStart !== undefined)
|
|
289
|
+
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
290
|
+
if (value.conferenceTranscription !== undefined)
|
|
291
|
+
return visitor.conferenceTranscription(value.conferenceTranscription);
|
|
292
|
+
if (value.conferenceLeave !== undefined)
|
|
293
|
+
return visitor.conferenceLeave(value.conferenceLeave);
|
|
294
|
+
if (value.conferenceRecordStop !== undefined)
|
|
295
|
+
return visitor.conferenceRecordStop(value.conferenceRecordStop);
|
|
296
|
+
if (value.conferenceKeepAlive !== undefined)
|
|
297
|
+
return visitor.conferenceKeepAlive(value.conferenceKeepAlive);
|
|
298
|
+
if (value.conferenceEnd !== undefined)
|
|
299
|
+
return visitor.conferenceEnd(value.conferenceEnd);
|
|
272
300
|
if (value.chatNew !== undefined)
|
|
273
301
|
return visitor.chatNew(value.chatNew);
|
|
274
302
|
if (value.chatUpdate !== undefined)
|
|
@@ -277,6 +305,10 @@ export var ConsumeEventInputEvent;
|
|
|
277
305
|
return visitor.smsInbound(value.smsInbound);
|
|
278
306
|
if (value.smsStatus !== undefined)
|
|
279
307
|
return visitor.smsStatus(value.smsStatus);
|
|
308
|
+
if (value.presence !== undefined)
|
|
309
|
+
return visitor.presence(value.presence);
|
|
310
|
+
if (value.presenceTelephony !== undefined)
|
|
311
|
+
return visitor.presenceTelephony(value.presenceTelephony);
|
|
280
312
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
281
313
|
};
|
|
282
314
|
})(ConsumeEventInputEvent || (ConsumeEventInputEvent = {}));
|
|
@@ -289,31 +321,6 @@ export const PresenceEventType = {
|
|
|
289
321
|
STATUS_EVENT: "PresenceAnalyticsStatusEvent",
|
|
290
322
|
TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
|
|
291
323
|
};
|
|
292
|
-
export const WebhookEventType = {
|
|
293
|
-
CALL_COMPLETED: "call:completed",
|
|
294
|
-
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
295
|
-
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
296
|
-
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
297
|
-
CALL_LIVE_TRANSCRIPTION: "call:live:transcription",
|
|
298
|
-
CHAT_COMPLETED: "chat:completed",
|
|
299
|
-
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
300
|
-
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
301
|
-
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
302
|
-
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
303
|
-
CONFERENCE_COMPLETED: "conference:completed",
|
|
304
|
-
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
305
|
-
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
306
|
-
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
307
|
-
CONFERENCE_LIVE_LEAVE: "conference:live:leave",
|
|
308
|
-
CONFERENCE_LIVE_PROGRESS: "conference:live:progress",
|
|
309
|
-
CONFERENCE_LIVE_TRANSCRIPTION: "conference:live:transcription",
|
|
310
|
-
OLD_CALL_END: "call:end",
|
|
311
|
-
OLD_CALL_START: "call:start",
|
|
312
|
-
OLD_CALL_UPDATE: "call:update",
|
|
313
|
-
PRESENCE_CONFERENCE: "presence:conference",
|
|
314
|
-
PRESENCE_TELEPHONY: "presence:telephony",
|
|
315
|
-
PRESENCE_USER: "presence:user",
|
|
316
|
-
};
|
|
317
324
|
export const WebsocketEvent = {
|
|
318
325
|
AUTHORIZED: "authorized",
|
|
319
326
|
BROADCAST: "broadcast",
|
|
@@ -109,30 +109,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
109
109
|
'PresenceAnalyticsStatusEvent': _json,
|
|
110
110
|
'PresenceAnalyticsTelephonyEvent': _json,
|
|
111
111
|
'PresenceEventType': __expectString,
|
|
112
|
-
'
|
|
113
|
-
'WebhookCallLiveCompletedEvent': _json,
|
|
114
|
-
'WebhookCallLiveInterruptedEvent': _json,
|
|
115
|
-
'WebhookCallLiveProgressEvent': _json,
|
|
116
|
-
'WebhookCallLiveTranscriptionEvent': _json,
|
|
117
|
-
'WebhookChatCompletedEvent': _json,
|
|
118
|
-
'WebhookChatLiveCompletedEvent': _json,
|
|
119
|
-
'WebhookChatLiveInterruptedEvent': _json,
|
|
120
|
-
'WebhookChatLiveProgressEvent': _json,
|
|
121
|
-
'WebhookChatManagerMissedEvent': _json,
|
|
122
|
-
'WebhookConferenceCompletedEvent': _json,
|
|
123
|
-
'WebhookConferenceLiveCompletedEvent': _json,
|
|
124
|
-
'WebhookConferenceLiveInterruptedEvent': _json,
|
|
125
|
-
'WebhookConferenceLiveJoinEvent': _json,
|
|
126
|
-
'WebhookConferenceLiveLeaveEvent': _json,
|
|
127
|
-
'WebhookConferenceLiveProgressEvent': _json,
|
|
128
|
-
'WebhookConferenceLiveTranscriptionEvent': _json,
|
|
129
|
-
'WebhookOutdatedCallEndEvent': _json,
|
|
130
|
-
'WebhookOutdatedCallStartEvent': _json,
|
|
131
|
-
'WebhookOutdatedCallUpdateEvent': _json,
|
|
132
|
-
'WebhookPresenceConferenceEvent': _json,
|
|
133
|
-
'WebhookPresenceTelephonyEvent': _json,
|
|
134
|
-
'WebhookPresenceUserEvent': _json,
|
|
135
|
-
'WebsocketConversationsBroadcastEvent': _ => de_WebsocketConversationsBroadcastEvent(_, context),
|
|
112
|
+
'WebsocketConversationBroadcastEvent': _ => de_WebsocketConversationBroadcastEvent(_, context),
|
|
136
113
|
'WebsocketPresenceBroadcastEvent': _ => de_WebsocketPresenceBroadcastEvent(_, context),
|
|
137
114
|
'WebsocketTranscriptionsBroadcastEvent': _ => de_WebsocketTranscriptionsBroadcastEvent(_, context),
|
|
138
115
|
});
|
|
@@ -250,7 +227,7 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
|
|
|
250
227
|
'type': __expectString,
|
|
251
228
|
});
|
|
252
229
|
};
|
|
253
|
-
const
|
|
230
|
+
const de_WebsocketConversationBroadcastEvent = (output, context) => {
|
|
254
231
|
return take(output, {
|
|
255
232
|
'data': (_) => de_Document(_, context),
|
|
256
233
|
'event': __expectString,
|
|
@@ -325,7 +325,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
325
325
|
* room: "STRING_VALUE", // required
|
|
326
326
|
* session: "STRING_VALUE", // required
|
|
327
327
|
* time: Number("long"), // required
|
|
328
|
-
* type: "CONFERENCE.TIMEFRAMES", // required
|
|
328
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
329
329
|
* data: { // ConferenceTimeFramesConsumeEventData
|
|
330
330
|
* timeFrames: [ // ConferenceTimeFramesList // required
|
|
331
331
|
* { // ConferenceTimeFramesListItem
|
|
@@ -340,6 +340,98 @@ declare const ConsumeEventCommand_base: {
|
|
|
340
340
|
* ],
|
|
341
341
|
* },
|
|
342
342
|
* },
|
|
343
|
+
* conferenceStart: { // ConferenceStartConsumeEvent
|
|
344
|
+
* room: "STRING_VALUE", // required
|
|
345
|
+
* session: "STRING_VALUE", // required
|
|
346
|
+
* time: Number("long"), // required
|
|
347
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
348
|
+
* provider: "STRING_VALUE",
|
|
349
|
+
* direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
350
|
+
* service: "STRING_VALUE",
|
|
351
|
+
* data: { // ConferenceStartConsumeEventData
|
|
352
|
+
* company: "STRING_VALUE",
|
|
353
|
+
* pbx: "STRING_VALUE",
|
|
354
|
+
* subject: "STRING_VALUE",
|
|
355
|
+
* },
|
|
356
|
+
* },
|
|
357
|
+
* conferenceJoin: { // ConferenceJoinConsumeEvent
|
|
358
|
+
* room: "STRING_VALUE", // required
|
|
359
|
+
* session: "STRING_VALUE", // required
|
|
360
|
+
* time: Number("long"), // required
|
|
361
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
362
|
+
* data: { // ConferenceJoinConsumeEventData
|
|
363
|
+
* jid: "STRING_VALUE",
|
|
364
|
+
* name: "STRING_VALUE",
|
|
365
|
+
* email: "STRING_VALUE",
|
|
366
|
+
* company: "STRING_VALUE",
|
|
367
|
+
* department: "STRING_VALUE",
|
|
368
|
+
* pbxSerial: "STRING_VALUE",
|
|
369
|
+
* pbxExtension: "STRING_VALUE",
|
|
370
|
+
* pbxGroupId: "STRING_VALUE",
|
|
371
|
+
* license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
372
|
+
* xbsId: "STRING_VALUE",
|
|
373
|
+
* },
|
|
374
|
+
* },
|
|
375
|
+
* conferenceRecordStart: { // ConferenceRecordStartConsumeEvent
|
|
376
|
+
* room: "STRING_VALUE", // required
|
|
377
|
+
* session: "STRING_VALUE", // required
|
|
378
|
+
* time: Number("long"), // required
|
|
379
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
380
|
+
* data: { // ConferenceRecordStartConsumeEventData
|
|
381
|
+
* jid: "STRING_VALUE",
|
|
382
|
+
* },
|
|
383
|
+
* },
|
|
384
|
+
* conferenceTranscription: { // ConferenceTranscriptionConsumeEvent
|
|
385
|
+
* room: "STRING_VALUE", // required
|
|
386
|
+
* session: "STRING_VALUE", // required
|
|
387
|
+
* time: Number("long"), // required
|
|
388
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
389
|
+
* data: { // ConferenceTranscriptionConsumeEventData
|
|
390
|
+
* id: "STRING_VALUE", // required
|
|
391
|
+
* jid: "STRING_VALUE", // required
|
|
392
|
+
* language: "STRING_VALUE",
|
|
393
|
+
* text: "STRING_VALUE", // required
|
|
394
|
+
* time: Number("long"), // required
|
|
395
|
+
* start: Number("long"), // required
|
|
396
|
+
* end: Number("long"), // required
|
|
397
|
+
* sentiment: "STRING_VALUE",
|
|
398
|
+
* final: true || false,
|
|
399
|
+
* },
|
|
400
|
+
* },
|
|
401
|
+
* conferenceLeave: { // ConferenceLeaveConsumeEvent
|
|
402
|
+
* room: "STRING_VALUE", // required
|
|
403
|
+
* session: "STRING_VALUE", // required
|
|
404
|
+
* time: Number("long"), // required
|
|
405
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
406
|
+
* data: { // ConferenceLeaveConsumeEventData
|
|
407
|
+
* jid: "STRING_VALUE",
|
|
408
|
+
* },
|
|
409
|
+
* },
|
|
410
|
+
* conferenceRecordStop: { // ConferenceRecordStopConsumeEvent
|
|
411
|
+
* room: "STRING_VALUE", // required
|
|
412
|
+
* session: "STRING_VALUE", // required
|
|
413
|
+
* time: Number("long"), // required
|
|
414
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
415
|
+
* data: { // ConferenceRecordStopConsumeEventData
|
|
416
|
+
* jid: "STRING_VALUE", // required
|
|
417
|
+
* link: "STRING_VALUE", // required
|
|
418
|
+
* startTime: Number("long"), // required
|
|
419
|
+
* endTime: Number("long"), // required
|
|
420
|
+
* },
|
|
421
|
+
* },
|
|
422
|
+
* conferenceKeepAlive: { // ConferenceKeepAliveConsumeEvent
|
|
423
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
424
|
+
* time: Number("long"), // required
|
|
425
|
+
* sessions: [ // ConferenceKeepAliveSessions // required
|
|
426
|
+
* "STRING_VALUE",
|
|
427
|
+
* ],
|
|
428
|
+
* },
|
|
429
|
+
* conferenceEnd: { // ConverenceEndConsumeEvent
|
|
430
|
+
* room: "STRING_VALUE", // required
|
|
431
|
+
* session: "STRING_VALUE", // required
|
|
432
|
+
* time: Number("long"), // required
|
|
433
|
+
* type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
|
|
434
|
+
* },
|
|
343
435
|
* chatNew: { // ChatNewConsumeEvent
|
|
344
436
|
* type: "CHAT.NEW" || "CHAT.UPDATE", // required
|
|
345
437
|
* company: "STRING_VALUE", // required
|
|
@@ -358,8 +450,6 @@ declare const ConsumeEventCommand_base: {
|
|
|
358
450
|
* email: "STRING_VALUE",
|
|
359
451
|
* phone: "STRING_VALUE",
|
|
360
452
|
* picture: "STRING_VALUE",
|
|
361
|
-
* locale: "STRING_VALUE",
|
|
362
|
-
* timeZone: "STRING_VALUE",
|
|
363
453
|
* company: "STRING_VALUE",
|
|
364
454
|
* pbxDomain: "STRING_VALUE",
|
|
365
455
|
* pbxPort: "STRING_VALUE",
|
|
@@ -378,8 +468,6 @@ declare const ConsumeEventCommand_base: {
|
|
|
378
468
|
* email: "STRING_VALUE",
|
|
379
469
|
* phone: "STRING_VALUE",
|
|
380
470
|
* picture: "STRING_VALUE",
|
|
381
|
-
* locale: "STRING_VALUE",
|
|
382
|
-
* timeZone: "STRING_VALUE",
|
|
383
471
|
* company: "STRING_VALUE",
|
|
384
472
|
* pbxDomain: "STRING_VALUE",
|
|
385
473
|
* pbxPort: "STRING_VALUE",
|
|
@@ -401,8 +489,6 @@ declare const ConsumeEventCommand_base: {
|
|
|
401
489
|
* email: "STRING_VALUE",
|
|
402
490
|
* phone: "STRING_VALUE",
|
|
403
491
|
* picture: "STRING_VALUE",
|
|
404
|
-
* locale: "STRING_VALUE",
|
|
405
|
-
* timeZone: "STRING_VALUE",
|
|
406
492
|
* company: "STRING_VALUE",
|
|
407
493
|
* pbxDomain: "STRING_VALUE",
|
|
408
494
|
* pbxPort: "STRING_VALUE",
|
|
@@ -432,8 +518,6 @@ declare const ConsumeEventCommand_base: {
|
|
|
432
518
|
* email: "STRING_VALUE",
|
|
433
519
|
* phone: "STRING_VALUE",
|
|
434
520
|
* picture: "STRING_VALUE",
|
|
435
|
-
* locale: "STRING_VALUE",
|
|
436
|
-
* timeZone: "STRING_VALUE",
|
|
437
521
|
* company: "STRING_VALUE",
|
|
438
522
|
* pbxDomain: "STRING_VALUE",
|
|
439
523
|
* pbxPort: "STRING_VALUE",
|
|
@@ -452,8 +536,6 @@ declare const ConsumeEventCommand_base: {
|
|
|
452
536
|
* email: "STRING_VALUE",
|
|
453
537
|
* phone: "STRING_VALUE",
|
|
454
538
|
* picture: "STRING_VALUE",
|
|
455
|
-
* locale: "STRING_VALUE",
|
|
456
|
-
* timeZone: "STRING_VALUE",
|
|
457
539
|
* company: "STRING_VALUE",
|
|
458
540
|
* pbxDomain: "STRING_VALUE",
|
|
459
541
|
* pbxPort: "STRING_VALUE",
|
|
@@ -497,6 +579,39 @@ declare const ConsumeEventCommand_base: {
|
|
|
497
579
|
* parts: Number("int"), // required
|
|
498
580
|
* },
|
|
499
581
|
* },
|
|
582
|
+
* presence: { // PresenceConsumeEvent
|
|
583
|
+
* time: Number("long"), // required
|
|
584
|
+
* pbx: "STRING_VALUE", // required
|
|
585
|
+
* company: "STRING_VALUE", // required
|
|
586
|
+
* ext: "STRING_VALUE", // required
|
|
587
|
+
* type: "PRESENCE" || "PRESENCE.TELEPHONY", // required
|
|
588
|
+
* data: { // PresenceConsumeEventData
|
|
589
|
+
* department: "STRING_VALUE",
|
|
590
|
+
* group: "STRING_VALUE",
|
|
591
|
+
* email: "STRING_VALUE",
|
|
592
|
+
* sourceId: "STRING_VALUE",
|
|
593
|
+
* status: "STRING_VALUE",
|
|
594
|
+
* location: [ // PresenceLocation
|
|
595
|
+
* "STRING_VALUE",
|
|
596
|
+
* ],
|
|
597
|
+
* message: "STRING_VALUE",
|
|
598
|
+
* until: "STRING_VALUE",
|
|
599
|
+
* },
|
|
600
|
+
* },
|
|
601
|
+
* presenceTelephony: { // PresenceTelephonyConsumeEvent
|
|
602
|
+
* time: Number("long"), // required
|
|
603
|
+
* pbx: "STRING_VALUE", // required
|
|
604
|
+
* company: "STRING_VALUE", // required
|
|
605
|
+
* ext: "STRING_VALUE", // required
|
|
606
|
+
* type: "PRESENCE" || "PRESENCE.TELEPHONY", // required
|
|
607
|
+
* data: { // PresenceTelephonyConsumeEventData
|
|
608
|
+
* department: "STRING_VALUE",
|
|
609
|
+
* group: "STRING_VALUE",
|
|
610
|
+
* email: "STRING_VALUE",
|
|
611
|
+
* sourceId: "STRING_VALUE",
|
|
612
|
+
* status: "STRING_VALUE",
|
|
613
|
+
* },
|
|
614
|
+
* },
|
|
500
615
|
* },
|
|
501
616
|
* };
|
|
502
617
|
* const command = new ConsumeEventCommand(input);
|