@wildix/wda-stream-client 1.0.38 → 1.0.40
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = void 0;
|
|
3
|
+
exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = 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.InsightsQuality = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.BadRequestException = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
|
|
4
|
+
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
6
|
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -103,6 +103,12 @@ exports.CallFlowTranscriptionStatus = {
|
|
|
103
103
|
AVAILABLE: "AVAILABLE",
|
|
104
104
|
UNAVAILABLE: "UNAVAILABLE",
|
|
105
105
|
};
|
|
106
|
+
exports.RecordType = {
|
|
107
|
+
CALL: "call",
|
|
108
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
109
|
+
CONFERENCE: "conference",
|
|
110
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
111
|
+
};
|
|
106
112
|
exports.CallTranscriptionSpeaker = {
|
|
107
113
|
CALLEE: "callee",
|
|
108
114
|
CALLER: "caller",
|
|
@@ -96,6 +96,12 @@ export const CallFlowTranscriptionStatus = {
|
|
|
96
96
|
AVAILABLE: "AVAILABLE",
|
|
97
97
|
UNAVAILABLE: "UNAVAILABLE",
|
|
98
98
|
};
|
|
99
|
+
export const RecordType = {
|
|
100
|
+
CALL: "call",
|
|
101
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
102
|
+
CONFERENCE: "conference",
|
|
103
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
104
|
+
};
|
|
99
105
|
export const CallTranscriptionSpeaker = {
|
|
100
106
|
CALLEE: "callee",
|
|
101
107
|
CALLER: "caller",
|
|
@@ -645,12 +645,14 @@ declare const DescribeEventCommand_base: {
|
|
|
645
645
|
* // time: Number("long"), // required
|
|
646
646
|
* // company: "STRING_VALUE", // required
|
|
647
647
|
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
648
|
+
* // room: "STRING_VALUE",
|
|
648
649
|
* // },
|
|
649
650
|
* // ConferenceAnalyticsLiveInterruptedEvent: { // ConferenceAnalyticsLiveInterruptedEvent
|
|
650
651
|
* // id: "STRING_VALUE", // required
|
|
651
652
|
* // time: Number("long"), // required
|
|
652
653
|
* // company: "STRING_VALUE", // required
|
|
653
654
|
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
655
|
+
* // room: "STRING_VALUE",
|
|
654
656
|
* // },
|
|
655
657
|
* // ConferenceAnalyticsLiveTranscriptionEvent: { // ConferenceAnalyticsLiveTranscriptionEvent
|
|
656
658
|
* // id: "STRING_VALUE", // required
|
|
@@ -1241,51 +1243,92 @@ declare const DescribeEventCommand_base: {
|
|
|
1241
1243
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1242
1244
|
* // time: Number("long"), // required
|
|
1243
1245
|
* // integrationId: "STRING_VALUE", // required
|
|
1244
|
-
* // data: { //
|
|
1245
|
-
* //
|
|
1246
|
-
* //
|
|
1247
|
-
* //
|
|
1248
|
-
* //
|
|
1249
|
-
* //
|
|
1250
|
-
* //
|
|
1251
|
-
* //
|
|
1252
|
-
* //
|
|
1253
|
-
* //
|
|
1254
|
-
* //
|
|
1255
|
-
* //
|
|
1256
|
-
* //
|
|
1257
|
-
* //
|
|
1258
|
-
* //
|
|
1259
|
-
* //
|
|
1260
|
-
* //
|
|
1261
|
-
* //
|
|
1262
|
-
* //
|
|
1263
|
-
* //
|
|
1264
|
-
* //
|
|
1265
|
-
* //
|
|
1266
|
-
* //
|
|
1267
|
-
* //
|
|
1268
|
-
* //
|
|
1269
|
-
* //
|
|
1270
|
-
* //
|
|
1271
|
-
* //
|
|
1272
|
-
* //
|
|
1273
|
-
* //
|
|
1274
|
-
* //
|
|
1275
|
-
* //
|
|
1276
|
-
* //
|
|
1277
|
-
* //
|
|
1278
|
-
* //
|
|
1279
|
-
* //
|
|
1280
|
-
* //
|
|
1281
|
-
* //
|
|
1282
|
-
* //
|
|
1283
|
-
* //
|
|
1284
|
-
* //
|
|
1285
|
-
* //
|
|
1286
|
-
* //
|
|
1287
|
-
* //
|
|
1288
|
-
* //
|
|
1246
|
+
* // data: { // WebhookCallTranscriptionCompletedEventData
|
|
1247
|
+
* // call: { // CallRecord
|
|
1248
|
+
* // flowIndex: Number("int"), // required
|
|
1249
|
+
* // startTime: Number("long"), // required
|
|
1250
|
+
* // endTime: Number("long"), // required
|
|
1251
|
+
* // connectTime: Number("long"),
|
|
1252
|
+
* // talkTime: Number("long"),
|
|
1253
|
+
* // waitTime: Number("long"),
|
|
1254
|
+
* // duration: Number("long"), // required
|
|
1255
|
+
* // caller: "<CallParticipant>",
|
|
1256
|
+
* // callee: "<CallParticipant>",
|
|
1257
|
+
* // service: "STRING_VALUE",
|
|
1258
|
+
* // serviceNumber: "STRING_VALUE",
|
|
1259
|
+
* // destination: "STRING_VALUE",
|
|
1260
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1261
|
+
* // trunkName: "STRING_VALUE",
|
|
1262
|
+
* // trunkDirection: "STRING_VALUE",
|
|
1263
|
+
* // queueName: "STRING_VALUE",
|
|
1264
|
+
* // queueId: "STRING_VALUE",
|
|
1265
|
+
* // tags: [
|
|
1266
|
+
* // "STRING_VALUE",
|
|
1267
|
+
* // ],
|
|
1268
|
+
* // flags: [
|
|
1269
|
+
* // "STRING_VALUE",
|
|
1270
|
+
* // ],
|
|
1271
|
+
* // callerMos: "STRING_VALUE",
|
|
1272
|
+
* // calleeMos: "STRING_VALUE",
|
|
1273
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
1274
|
+
* // recordings: [
|
|
1275
|
+
* // "STRING_VALUE",
|
|
1276
|
+
* // ],
|
|
1277
|
+
* // recordingsData: [
|
|
1278
|
+
* // {
|
|
1279
|
+
* // fileName: "STRING_VALUE", // required
|
|
1280
|
+
* // start: Number("long"), // required
|
|
1281
|
+
* // end: Number("long"), // required
|
|
1282
|
+
* // owner: "CALLEE" || "CALLER" || "SYSTEM", // required
|
|
1283
|
+
* // url: "STRING_VALUE", // required
|
|
1284
|
+
* // pauses: [ // required
|
|
1285
|
+
* // {
|
|
1286
|
+
* // start: Number("long"),
|
|
1287
|
+
* // end: Number("long"),
|
|
1288
|
+
* // reason: "pause" || "hold",
|
|
1289
|
+
* // },
|
|
1290
|
+
* // ],
|
|
1291
|
+
* // },
|
|
1292
|
+
* // ],
|
|
1293
|
+
* // mergeWith: "STRING_VALUE",
|
|
1294
|
+
* // splitReason: "STRING_VALUE",
|
|
1295
|
+
* // splitTransferType: "STRING_VALUE",
|
|
1296
|
+
* // remotePhone: "STRING_VALUE",
|
|
1297
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
1298
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
1299
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
1300
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
1301
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
1302
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1303
|
+
* // attachment: "STRING_VALUE",
|
|
1304
|
+
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
1305
|
+
* // attachmentDestinations: [
|
|
1306
|
+
* // {
|
|
1307
|
+
* // phone: "STRING_VALUE",
|
|
1308
|
+
* // name: "STRING_VALUE",
|
|
1309
|
+
* // email: "STRING_VALUE",
|
|
1310
|
+
* // userId: "STRING_VALUE",
|
|
1311
|
+
* // userExtension: "STRING_VALUE",
|
|
1312
|
+
* // userDepartment: "STRING_VALUE",
|
|
1313
|
+
* // groupId: "STRING_VALUE",
|
|
1314
|
+
* // groupName: "STRING_VALUE",
|
|
1315
|
+
* // },
|
|
1316
|
+
* // ],
|
|
1317
|
+
* // id: "STRING_VALUE", // required
|
|
1318
|
+
* // pbx: "STRING_VALUE", // required
|
|
1319
|
+
* // time: Number("long"), // required
|
|
1320
|
+
* // company: "STRING_VALUE", // required
|
|
1321
|
+
* // licenses: "<LicensesList>", // required
|
|
1322
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1323
|
+
* // },
|
|
1324
|
+
* // chunks: [ // TranscriptionTextChunkList // required
|
|
1325
|
+
* // { // TranscriptionTextChunk
|
|
1326
|
+
* // id: "STRING_VALUE", // required
|
|
1327
|
+
* // name: "STRING_VALUE", // required
|
|
1328
|
+
* // text: "STRING_VALUE", // required
|
|
1329
|
+
* // time: "STRING_VALUE", // required
|
|
1330
|
+
* // offset: Number("int"), // required
|
|
1331
|
+
* // },
|
|
1289
1332
|
* // ],
|
|
1290
1333
|
* // },
|
|
1291
1334
|
* // },
|
|
@@ -1296,49 +1339,52 @@ declare const DescribeEventCommand_base: {
|
|
|
1296
1339
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1297
1340
|
* // time: Number("long"), // required
|
|
1298
1341
|
* // integrationId: "STRING_VALUE", // required
|
|
1299
|
-
* // data: { //
|
|
1300
|
-
* //
|
|
1301
|
-
* //
|
|
1302
|
-
* //
|
|
1303
|
-
* //
|
|
1304
|
-
* //
|
|
1305
|
-
* //
|
|
1306
|
-
* //
|
|
1307
|
-
* //
|
|
1308
|
-
* //
|
|
1309
|
-
* //
|
|
1310
|
-
* //
|
|
1311
|
-
* //
|
|
1312
|
-
* //
|
|
1313
|
-
* //
|
|
1314
|
-
* //
|
|
1315
|
-
* //
|
|
1316
|
-
* //
|
|
1317
|
-
* //
|
|
1318
|
-
* //
|
|
1319
|
-
* //
|
|
1320
|
-
* //
|
|
1321
|
-
* //
|
|
1322
|
-
* //
|
|
1323
|
-
* //
|
|
1324
|
-
* //
|
|
1325
|
-
* //
|
|
1326
|
-
* //
|
|
1327
|
-
* //
|
|
1328
|
-
* //
|
|
1329
|
-
* //
|
|
1330
|
-
* //
|
|
1331
|
-
* //
|
|
1332
|
-
* //
|
|
1333
|
-
* //
|
|
1334
|
-
* //
|
|
1335
|
-
* //
|
|
1336
|
-
* //
|
|
1337
|
-
* //
|
|
1338
|
-
* //
|
|
1339
|
-
* //
|
|
1340
|
-
* //
|
|
1341
|
-
* //
|
|
1342
|
+
* // data: { // WebhookCallTranscriptionTextCompletedEventData
|
|
1343
|
+
* // call: {
|
|
1344
|
+
* // flowIndex: Number("int"), // required
|
|
1345
|
+
* // startTime: Number("long"), // required
|
|
1346
|
+
* // endTime: Number("long"), // required
|
|
1347
|
+
* // connectTime: Number("long"),
|
|
1348
|
+
* // talkTime: Number("long"),
|
|
1349
|
+
* // waitTime: Number("long"),
|
|
1350
|
+
* // duration: Number("long"), // required
|
|
1351
|
+
* // caller: "<CallParticipant>",
|
|
1352
|
+
* // callee: "<CallParticipant>",
|
|
1353
|
+
* // service: "STRING_VALUE",
|
|
1354
|
+
* // serviceNumber: "STRING_VALUE",
|
|
1355
|
+
* // destination: "STRING_VALUE",
|
|
1356
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1357
|
+
* // trunkName: "STRING_VALUE",
|
|
1358
|
+
* // trunkDirection: "STRING_VALUE",
|
|
1359
|
+
* // queueName: "STRING_VALUE",
|
|
1360
|
+
* // queueId: "STRING_VALUE",
|
|
1361
|
+
* // tags: "<CallFlowTags>",
|
|
1362
|
+
* // flags: "<CallFlowFlags>",
|
|
1363
|
+
* // callerMos: "STRING_VALUE",
|
|
1364
|
+
* // calleeMos: "STRING_VALUE",
|
|
1365
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
1366
|
+
* // recordings: "<CallFlowRecordings>",
|
|
1367
|
+
* // recordingsData: "<CallFlowRecordingsData>",
|
|
1368
|
+
* // mergeWith: "STRING_VALUE",
|
|
1369
|
+
* // splitReason: "STRING_VALUE",
|
|
1370
|
+
* // splitTransferType: "STRING_VALUE",
|
|
1371
|
+
* // remotePhone: "STRING_VALUE",
|
|
1372
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
1373
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
1374
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
1375
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
1376
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
1377
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1378
|
+
* // attachment: "STRING_VALUE",
|
|
1379
|
+
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
1380
|
+
* // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
|
|
1381
|
+
* // id: "STRING_VALUE", // required
|
|
1382
|
+
* // pbx: "STRING_VALUE", // required
|
|
1383
|
+
* // time: Number("long"), // required
|
|
1384
|
+
* // company: "STRING_VALUE", // required
|
|
1385
|
+
* // licenses: "<LicensesList>", // required
|
|
1386
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1387
|
+
* // },
|
|
1342
1388
|
* // transcription: "STRING_VALUE", // required
|
|
1343
1389
|
* // },
|
|
1344
1390
|
* // },
|
|
@@ -1349,49 +1395,52 @@ declare const DescribeEventCommand_base: {
|
|
|
1349
1395
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1350
1396
|
* // time: Number("long"), // required
|
|
1351
1397
|
* // integrationId: "STRING_VALUE", // required
|
|
1352
|
-
* // data: { //
|
|
1353
|
-
* //
|
|
1354
|
-
* //
|
|
1355
|
-
* //
|
|
1356
|
-
* //
|
|
1357
|
-
* //
|
|
1358
|
-
* //
|
|
1359
|
-
* //
|
|
1360
|
-
* //
|
|
1361
|
-
* //
|
|
1362
|
-
* //
|
|
1363
|
-
* //
|
|
1364
|
-
* //
|
|
1365
|
-
* //
|
|
1366
|
-
* //
|
|
1367
|
-
* //
|
|
1368
|
-
* //
|
|
1369
|
-
* //
|
|
1370
|
-
* //
|
|
1371
|
-
* //
|
|
1372
|
-
* //
|
|
1373
|
-
* //
|
|
1374
|
-
* //
|
|
1375
|
-
* //
|
|
1376
|
-
* //
|
|
1377
|
-
* //
|
|
1378
|
-
* //
|
|
1379
|
-
* //
|
|
1380
|
-
* //
|
|
1381
|
-
* //
|
|
1382
|
-
* //
|
|
1383
|
-
* //
|
|
1384
|
-
* //
|
|
1385
|
-
* //
|
|
1386
|
-
* //
|
|
1387
|
-
* //
|
|
1388
|
-
* //
|
|
1389
|
-
* //
|
|
1390
|
-
* //
|
|
1391
|
-
* //
|
|
1392
|
-
* //
|
|
1393
|
-
* //
|
|
1394
|
-
* //
|
|
1398
|
+
* // data: { // WebhookCallSummaryCompletedEventData
|
|
1399
|
+
* // call: {
|
|
1400
|
+
* // flowIndex: Number("int"), // required
|
|
1401
|
+
* // startTime: Number("long"), // required
|
|
1402
|
+
* // endTime: Number("long"), // required
|
|
1403
|
+
* // connectTime: Number("long"),
|
|
1404
|
+
* // talkTime: Number("long"),
|
|
1405
|
+
* // waitTime: Number("long"),
|
|
1406
|
+
* // duration: Number("long"), // required
|
|
1407
|
+
* // caller: "<CallParticipant>",
|
|
1408
|
+
* // callee: "<CallParticipant>",
|
|
1409
|
+
* // service: "STRING_VALUE",
|
|
1410
|
+
* // serviceNumber: "STRING_VALUE",
|
|
1411
|
+
* // destination: "STRING_VALUE",
|
|
1412
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1413
|
+
* // trunkName: "STRING_VALUE",
|
|
1414
|
+
* // trunkDirection: "STRING_VALUE",
|
|
1415
|
+
* // queueName: "STRING_VALUE",
|
|
1416
|
+
* // queueId: "STRING_VALUE",
|
|
1417
|
+
* // tags: "<CallFlowTags>",
|
|
1418
|
+
* // flags: "<CallFlowFlags>",
|
|
1419
|
+
* // callerMos: "STRING_VALUE",
|
|
1420
|
+
* // calleeMos: "STRING_VALUE",
|
|
1421
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
1422
|
+
* // recordings: "<CallFlowRecordings>",
|
|
1423
|
+
* // recordingsData: "<CallFlowRecordingsData>",
|
|
1424
|
+
* // mergeWith: "STRING_VALUE",
|
|
1425
|
+
* // splitReason: "STRING_VALUE",
|
|
1426
|
+
* // splitTransferType: "STRING_VALUE",
|
|
1427
|
+
* // remotePhone: "STRING_VALUE",
|
|
1428
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
1429
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
1430
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
1431
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
1432
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
1433
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1434
|
+
* // attachment: "STRING_VALUE",
|
|
1435
|
+
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
1436
|
+
* // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
|
|
1437
|
+
* // id: "STRING_VALUE", // required
|
|
1438
|
+
* // pbx: "STRING_VALUE", // required
|
|
1439
|
+
* // time: Number("long"), // required
|
|
1440
|
+
* // company: "STRING_VALUE", // required
|
|
1441
|
+
* // licenses: "<LicensesList>", // required
|
|
1442
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1443
|
+
* // },
|
|
1395
1444
|
* // summary: { // TranscriptionSummary
|
|
1396
1445
|
* // text: "STRING_VALUE",
|
|
1397
1446
|
* // markdown: "STRING_VALUE",
|
|
@@ -1467,6 +1516,7 @@ declare const DescribeEventCommand_base: {
|
|
|
1467
1516
|
* // time: Number("long"), // required
|
|
1468
1517
|
* // company: "STRING_VALUE", // required
|
|
1469
1518
|
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
1519
|
+
* // room: "STRING_VALUE",
|
|
1470
1520
|
* // },
|
|
1471
1521
|
* // },
|
|
1472
1522
|
* // WebhookConferenceLiveInterruptedEvent: { // WebhookConferenceLiveInterruptedEvent
|
|
@@ -1481,6 +1531,7 @@ declare const DescribeEventCommand_base: {
|
|
|
1481
1531
|
* // time: Number("long"), // required
|
|
1482
1532
|
* // company: "STRING_VALUE", // required
|
|
1483
1533
|
* // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
1534
|
+
* // room: "STRING_VALUE",
|
|
1484
1535
|
* // },
|
|
1485
1536
|
* // },
|
|
1486
1537
|
* // WebhookConferenceLiveJoinEvent: { // WebhookConferenceLiveJoinEvent
|
|
@@ -1580,12 +1631,34 @@ declare const DescribeEventCommand_base: {
|
|
|
1580
1631
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1581
1632
|
* // time: Number("long"), // required
|
|
1582
1633
|
* // integrationId: "STRING_VALUE", // required
|
|
1583
|
-
* // data: { //
|
|
1584
|
-
* //
|
|
1585
|
-
* //
|
|
1586
|
-
* //
|
|
1587
|
-
* //
|
|
1588
|
-
* // "
|
|
1634
|
+
* // data: { // WebhookConferenceTranscriptionCompletedEventData
|
|
1635
|
+
* // conference: { // ConferenceRecord
|
|
1636
|
+
* // id: "STRING_VALUE", // required
|
|
1637
|
+
* // time: Number("long"), // required
|
|
1638
|
+
* // company: "STRING_VALUE", // required
|
|
1639
|
+
* // pbx: "STRING_VALUE",
|
|
1640
|
+
* // startTime: Number("long"), // required
|
|
1641
|
+
* // endTime: Number("long"), // required
|
|
1642
|
+
* // duration: Number("long"), // required
|
|
1643
|
+
* // waitTime: Number("int"),
|
|
1644
|
+
* // subject: "STRING_VALUE",
|
|
1645
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
1646
|
+
* // service: "STRING_VALUE",
|
|
1647
|
+
* // status: "COMPLETED" || "MISSED",
|
|
1648
|
+
* // participants: "<ConferenceAnalyticsRecordParticipantList>", // required
|
|
1649
|
+
* // recordings: "<ConferenceRecordingList>",
|
|
1650
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
1651
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1652
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1653
|
+
* // },
|
|
1654
|
+
* // chunks: [ // required
|
|
1655
|
+
* // {
|
|
1656
|
+
* // id: "STRING_VALUE", // required
|
|
1657
|
+
* // name: "STRING_VALUE", // required
|
|
1658
|
+
* // text: "STRING_VALUE", // required
|
|
1659
|
+
* // time: "STRING_VALUE", // required
|
|
1660
|
+
* // offset: Number("int"), // required
|
|
1661
|
+
* // },
|
|
1589
1662
|
* // ],
|
|
1590
1663
|
* // },
|
|
1591
1664
|
* // },
|
|
@@ -1596,10 +1669,26 @@ declare const DescribeEventCommand_base: {
|
|
|
1596
1669
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1597
1670
|
* // time: Number("long"), // required
|
|
1598
1671
|
* // integrationId: "STRING_VALUE", // required
|
|
1599
|
-
* // data: { //
|
|
1600
|
-
* //
|
|
1601
|
-
* //
|
|
1602
|
-
* //
|
|
1672
|
+
* // data: { // WebhookConferenceTranscriptionTextCompletedEventData
|
|
1673
|
+
* // conference: {
|
|
1674
|
+
* // id: "STRING_VALUE", // required
|
|
1675
|
+
* // time: Number("long"), // required
|
|
1676
|
+
* // company: "STRING_VALUE", // required
|
|
1677
|
+
* // pbx: "STRING_VALUE",
|
|
1678
|
+
* // startTime: Number("long"), // required
|
|
1679
|
+
* // endTime: Number("long"), // required
|
|
1680
|
+
* // duration: Number("long"), // required
|
|
1681
|
+
* // waitTime: Number("int"),
|
|
1682
|
+
* // subject: "STRING_VALUE",
|
|
1683
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
1684
|
+
* // service: "STRING_VALUE",
|
|
1685
|
+
* // status: "COMPLETED" || "MISSED",
|
|
1686
|
+
* // participants: "<ConferenceAnalyticsRecordParticipantList>", // required
|
|
1687
|
+
* // recordings: "<ConferenceRecordingList>",
|
|
1688
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
1689
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1690
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1691
|
+
* // },
|
|
1603
1692
|
* // transcription: "STRING_VALUE", // required
|
|
1604
1693
|
* // },
|
|
1605
1694
|
* // },
|
|
@@ -1610,10 +1699,26 @@ declare const DescribeEventCommand_base: {
|
|
|
1610
1699
|
* // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "call:transcription:completed" || "call:transcription:text:completed" || "call:summary:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:transcription:completed" || "conference:transcription:text:completed" || "conference:summary:completed" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
|
|
1611
1700
|
* // time: Number("long"), // required
|
|
1612
1701
|
* // integrationId: "STRING_VALUE", // required
|
|
1613
|
-
* // data: { //
|
|
1614
|
-
* //
|
|
1615
|
-
* //
|
|
1616
|
-
* //
|
|
1702
|
+
* // data: { // WebhookConferenceSummaryCompletedEventData
|
|
1703
|
+
* // conference: {
|
|
1704
|
+
* // id: "STRING_VALUE", // required
|
|
1705
|
+
* // time: Number("long"), // required
|
|
1706
|
+
* // company: "STRING_VALUE", // required
|
|
1707
|
+
* // pbx: "STRING_VALUE",
|
|
1708
|
+
* // startTime: Number("long"), // required
|
|
1709
|
+
* // endTime: Number("long"), // required
|
|
1710
|
+
* // duration: Number("long"), // required
|
|
1711
|
+
* // waitTime: Number("int"),
|
|
1712
|
+
* // subject: "STRING_VALUE",
|
|
1713
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
1714
|
+
* // service: "STRING_VALUE",
|
|
1715
|
+
* // status: "COMPLETED" || "MISSED",
|
|
1716
|
+
* // participants: "<ConferenceAnalyticsRecordParticipantList>", // required
|
|
1717
|
+
* // recordings: "<ConferenceRecordingList>",
|
|
1718
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
1719
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
1720
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1721
|
+
* // },
|
|
1617
1722
|
* // summary: {
|
|
1618
1723
|
* // text: "STRING_VALUE",
|
|
1619
1724
|
* // markdown: "STRING_VALUE",
|
|
@@ -268,6 +268,68 @@ export declare const CallFlowTranscriptionStatus: {
|
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
270
270
|
export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* @enum
|
|
274
|
+
*/
|
|
275
|
+
export declare const RecordType: {
|
|
276
|
+
readonly CALL: "call";
|
|
277
|
+
readonly CALL_TRANSCRIPTION: "call_transcription";
|
|
278
|
+
readonly CONFERENCE: "conference";
|
|
279
|
+
readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export type RecordType = typeof RecordType[keyof typeof RecordType];
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
export interface CallRecord {
|
|
289
|
+
flowIndex: number;
|
|
290
|
+
startTime: number;
|
|
291
|
+
endTime: number;
|
|
292
|
+
connectTime?: number;
|
|
293
|
+
talkTime?: number;
|
|
294
|
+
waitTime?: number;
|
|
295
|
+
duration: number;
|
|
296
|
+
caller?: CallParticipant;
|
|
297
|
+
callee?: CallParticipant;
|
|
298
|
+
service?: string;
|
|
299
|
+
serviceNumber?: string;
|
|
300
|
+
destination?: string;
|
|
301
|
+
direction?: CallDirection;
|
|
302
|
+
trunkName?: string;
|
|
303
|
+
trunkDirection?: string;
|
|
304
|
+
queueName?: string;
|
|
305
|
+
queueId?: string;
|
|
306
|
+
tags?: (string)[];
|
|
307
|
+
flags?: (string)[];
|
|
308
|
+
callerMos?: string;
|
|
309
|
+
calleeMos?: string;
|
|
310
|
+
xhoppersConfId?: string;
|
|
311
|
+
recordings?: (string)[];
|
|
312
|
+
recordingsData?: (RecordingsData)[];
|
|
313
|
+
mergeWith?: string;
|
|
314
|
+
splitReason?: string;
|
|
315
|
+
splitTransferType?: string;
|
|
316
|
+
remotePhone?: string;
|
|
317
|
+
remotePhoneCountryCode?: number;
|
|
318
|
+
remotePhoneCountryCodeStr?: string;
|
|
319
|
+
remotePhoneLocation?: string;
|
|
320
|
+
callStatus?: ConversationStatus;
|
|
321
|
+
transcriptionStatus?: CallFlowTranscriptionStatus;
|
|
322
|
+
transcriptionLanguage?: string;
|
|
323
|
+
attachment?: string;
|
|
324
|
+
attachmentType?: CallFlowAttachmentType;
|
|
325
|
+
attachmentDestinations?: (CallFlowAttachmentDestination)[];
|
|
326
|
+
id: string;
|
|
327
|
+
pbx: string;
|
|
328
|
+
time: number;
|
|
329
|
+
company: string;
|
|
330
|
+
licenses: (License)[];
|
|
331
|
+
type: RecordType;
|
|
332
|
+
}
|
|
271
333
|
/**
|
|
272
334
|
* @public
|
|
273
335
|
* @enum
|
|
@@ -401,6 +463,28 @@ export declare const ConferenceTranscriptionStatus: {
|
|
|
401
463
|
* @public
|
|
402
464
|
*/
|
|
403
465
|
export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
|
|
466
|
+
/**
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
export interface ConferenceRecord {
|
|
470
|
+
id: string;
|
|
471
|
+
time: number;
|
|
472
|
+
company: string;
|
|
473
|
+
pbx?: string;
|
|
474
|
+
startTime: number;
|
|
475
|
+
endTime: number;
|
|
476
|
+
duration: number;
|
|
477
|
+
waitTime?: number;
|
|
478
|
+
subject?: string;
|
|
479
|
+
direction: ConferenceDirection;
|
|
480
|
+
service?: string;
|
|
481
|
+
status?: ConversationStatus;
|
|
482
|
+
participants: (ConferenceAnalyticsRecordParticipant)[];
|
|
483
|
+
recordings?: (ConferenceRecording)[];
|
|
484
|
+
transcriptionStatus: ConferenceTranscriptionStatus;
|
|
485
|
+
transcriptionLanguage?: string;
|
|
486
|
+
type: RecordType;
|
|
487
|
+
}
|
|
404
488
|
/**
|
|
405
489
|
* @public
|
|
406
490
|
*/
|
|
@@ -415,6 +499,16 @@ export interface ConferenceTranscriptionChunk {
|
|
|
415
499
|
end: number;
|
|
416
500
|
sentiment?: string;
|
|
417
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
export interface TranscriptionTextChunk {
|
|
506
|
+
id: string;
|
|
507
|
+
name: string;
|
|
508
|
+
text: string;
|
|
509
|
+
time: string;
|
|
510
|
+
offset: number;
|
|
511
|
+
}
|
|
418
512
|
/**
|
|
419
513
|
* @public
|
|
420
514
|
* @enum
|
|
@@ -1042,54 +1136,6 @@ export interface CallStartConsumeEvent {
|
|
|
1042
1136
|
type: CallConsumeEventType;
|
|
1043
1137
|
data: CallStartConsumeEventData;
|
|
1044
1138
|
}
|
|
1045
|
-
/**
|
|
1046
|
-
* @public
|
|
1047
|
-
*/
|
|
1048
|
-
export interface CallSummaryCompletedEvent {
|
|
1049
|
-
flowIndex: number;
|
|
1050
|
-
startTime: number;
|
|
1051
|
-
endTime: number;
|
|
1052
|
-
connectTime?: number;
|
|
1053
|
-
talkTime?: number;
|
|
1054
|
-
waitTime?: number;
|
|
1055
|
-
duration: number;
|
|
1056
|
-
caller?: CallParticipant;
|
|
1057
|
-
callee?: CallParticipant;
|
|
1058
|
-
service?: string;
|
|
1059
|
-
serviceNumber?: string;
|
|
1060
|
-
destination?: string;
|
|
1061
|
-
direction?: CallDirection;
|
|
1062
|
-
trunkName?: string;
|
|
1063
|
-
trunkDirection?: string;
|
|
1064
|
-
queueName?: string;
|
|
1065
|
-
queueId?: string;
|
|
1066
|
-
tags?: (string)[];
|
|
1067
|
-
flags?: (string)[];
|
|
1068
|
-
callerMos?: string;
|
|
1069
|
-
calleeMos?: string;
|
|
1070
|
-
xhoppersConfId?: string;
|
|
1071
|
-
recordings?: (string)[];
|
|
1072
|
-
recordingsData?: (RecordingsData)[];
|
|
1073
|
-
mergeWith?: string;
|
|
1074
|
-
splitReason?: string;
|
|
1075
|
-
splitTransferType?: string;
|
|
1076
|
-
remotePhone?: string;
|
|
1077
|
-
remotePhoneCountryCode?: number;
|
|
1078
|
-
remotePhoneCountryCodeStr?: string;
|
|
1079
|
-
remotePhoneLocation?: string;
|
|
1080
|
-
callStatus?: ConversationStatus;
|
|
1081
|
-
transcriptionStatus?: CallFlowTranscriptionStatus;
|
|
1082
|
-
transcriptionLanguage?: string;
|
|
1083
|
-
attachment?: string;
|
|
1084
|
-
attachmentType?: CallFlowAttachmentType;
|
|
1085
|
-
attachmentDestinations?: (CallFlowAttachmentDestination)[];
|
|
1086
|
-
id: string;
|
|
1087
|
-
pbx: string;
|
|
1088
|
-
time: number;
|
|
1089
|
-
company: string;
|
|
1090
|
-
licenses: (License)[];
|
|
1091
|
-
summary: TranscriptionSummary;
|
|
1092
|
-
}
|
|
1093
1139
|
/**
|
|
1094
1140
|
* @public
|
|
1095
1141
|
*/
|
|
@@ -1115,102 +1161,6 @@ export interface CallTranscribeConsumeEvent {
|
|
|
1115
1161
|
type: CallConsumeEventType;
|
|
1116
1162
|
data: CallTranscribeConsumeEventData;
|
|
1117
1163
|
}
|
|
1118
|
-
/**
|
|
1119
|
-
* @public
|
|
1120
|
-
*/
|
|
1121
|
-
export interface CallTranscriptionCompletedEvent {
|
|
1122
|
-
flowIndex: number;
|
|
1123
|
-
startTime: number;
|
|
1124
|
-
endTime: number;
|
|
1125
|
-
connectTime?: number;
|
|
1126
|
-
talkTime?: number;
|
|
1127
|
-
waitTime?: number;
|
|
1128
|
-
duration: number;
|
|
1129
|
-
caller?: CallParticipant;
|
|
1130
|
-
callee?: CallParticipant;
|
|
1131
|
-
service?: string;
|
|
1132
|
-
serviceNumber?: string;
|
|
1133
|
-
destination?: string;
|
|
1134
|
-
direction?: CallDirection;
|
|
1135
|
-
trunkName?: string;
|
|
1136
|
-
trunkDirection?: string;
|
|
1137
|
-
queueName?: string;
|
|
1138
|
-
queueId?: string;
|
|
1139
|
-
tags?: (string)[];
|
|
1140
|
-
flags?: (string)[];
|
|
1141
|
-
callerMos?: string;
|
|
1142
|
-
calleeMos?: string;
|
|
1143
|
-
xhoppersConfId?: string;
|
|
1144
|
-
recordings?: (string)[];
|
|
1145
|
-
recordingsData?: (RecordingsData)[];
|
|
1146
|
-
mergeWith?: string;
|
|
1147
|
-
splitReason?: string;
|
|
1148
|
-
splitTransferType?: string;
|
|
1149
|
-
remotePhone?: string;
|
|
1150
|
-
remotePhoneCountryCode?: number;
|
|
1151
|
-
remotePhoneCountryCodeStr?: string;
|
|
1152
|
-
remotePhoneLocation?: string;
|
|
1153
|
-
callStatus?: ConversationStatus;
|
|
1154
|
-
transcriptionStatus?: CallFlowTranscriptionStatus;
|
|
1155
|
-
transcriptionLanguage?: string;
|
|
1156
|
-
attachment?: string;
|
|
1157
|
-
attachmentType?: CallFlowAttachmentType;
|
|
1158
|
-
attachmentDestinations?: (CallFlowAttachmentDestination)[];
|
|
1159
|
-
id: string;
|
|
1160
|
-
pbx: string;
|
|
1161
|
-
time: number;
|
|
1162
|
-
company: string;
|
|
1163
|
-
licenses: (License)[];
|
|
1164
|
-
chunks: (CallTranscriptionChunk)[];
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* @public
|
|
1168
|
-
*/
|
|
1169
|
-
export interface CallTranscriptionTextCompletedEvent {
|
|
1170
|
-
flowIndex: number;
|
|
1171
|
-
startTime: number;
|
|
1172
|
-
endTime: number;
|
|
1173
|
-
connectTime?: number;
|
|
1174
|
-
talkTime?: number;
|
|
1175
|
-
waitTime?: number;
|
|
1176
|
-
duration: number;
|
|
1177
|
-
caller?: CallParticipant;
|
|
1178
|
-
callee?: CallParticipant;
|
|
1179
|
-
service?: string;
|
|
1180
|
-
serviceNumber?: string;
|
|
1181
|
-
destination?: string;
|
|
1182
|
-
direction?: CallDirection;
|
|
1183
|
-
trunkName?: string;
|
|
1184
|
-
trunkDirection?: string;
|
|
1185
|
-
queueName?: string;
|
|
1186
|
-
queueId?: string;
|
|
1187
|
-
tags?: (string)[];
|
|
1188
|
-
flags?: (string)[];
|
|
1189
|
-
callerMos?: string;
|
|
1190
|
-
calleeMos?: string;
|
|
1191
|
-
xhoppersConfId?: string;
|
|
1192
|
-
recordings?: (string)[];
|
|
1193
|
-
recordingsData?: (RecordingsData)[];
|
|
1194
|
-
mergeWith?: string;
|
|
1195
|
-
splitReason?: string;
|
|
1196
|
-
splitTransferType?: string;
|
|
1197
|
-
remotePhone?: string;
|
|
1198
|
-
remotePhoneCountryCode?: number;
|
|
1199
|
-
remotePhoneCountryCodeStr?: string;
|
|
1200
|
-
remotePhoneLocation?: string;
|
|
1201
|
-
callStatus?: ConversationStatus;
|
|
1202
|
-
transcriptionStatus?: CallFlowTranscriptionStatus;
|
|
1203
|
-
transcriptionLanguage?: string;
|
|
1204
|
-
attachment?: string;
|
|
1205
|
-
attachmentType?: CallFlowAttachmentType;
|
|
1206
|
-
attachmentDestinations?: (CallFlowAttachmentDestination)[];
|
|
1207
|
-
id: string;
|
|
1208
|
-
pbx: string;
|
|
1209
|
-
time: number;
|
|
1210
|
-
company: string;
|
|
1211
|
-
licenses: (License)[];
|
|
1212
|
-
transcription: string;
|
|
1213
|
-
}
|
|
1214
1164
|
/**
|
|
1215
1165
|
* @public
|
|
1216
1166
|
*/
|
|
@@ -1528,6 +1478,7 @@ export interface ConferenceAnalyticsLiveCompleteEvent {
|
|
|
1528
1478
|
time: number;
|
|
1529
1479
|
company: string;
|
|
1530
1480
|
event: LiveEventType;
|
|
1481
|
+
room?: string;
|
|
1531
1482
|
}
|
|
1532
1483
|
/**
|
|
1533
1484
|
* @public
|
|
@@ -1537,6 +1488,7 @@ export interface ConferenceAnalyticsLiveInterruptedEvent {
|
|
|
1537
1488
|
time: number;
|
|
1538
1489
|
company: string;
|
|
1539
1490
|
event: LiveEventType;
|
|
1491
|
+
room?: string;
|
|
1540
1492
|
}
|
|
1541
1493
|
/**
|
|
1542
1494
|
* @public
|
|
@@ -1802,15 +1754,6 @@ export interface ConferenceStatsConsumeEvent {
|
|
|
1802
1754
|
time: number;
|
|
1803
1755
|
type: ConferenceConsumeEventType;
|
|
1804
1756
|
}
|
|
1805
|
-
/**
|
|
1806
|
-
* @public
|
|
1807
|
-
*/
|
|
1808
|
-
export interface ConferenceSummaryCompletedEvent {
|
|
1809
|
-
id: string;
|
|
1810
|
-
time: number;
|
|
1811
|
-
company: string;
|
|
1812
|
-
summary: TranscriptionSummary;
|
|
1813
|
-
}
|
|
1814
1757
|
/**
|
|
1815
1758
|
* @public
|
|
1816
1759
|
*/
|
|
@@ -1827,15 +1770,6 @@ export interface ConferenceTimeFramesConsumeEvent {
|
|
|
1827
1770
|
type: ConferenceConsumeEventType;
|
|
1828
1771
|
data: ConferenceTimeFramesConsumeEventData;
|
|
1829
1772
|
}
|
|
1830
|
-
/**
|
|
1831
|
-
* @public
|
|
1832
|
-
*/
|
|
1833
|
-
export interface ConferenceTranscriptionCompletedEvent {
|
|
1834
|
-
id: string;
|
|
1835
|
-
time: number;
|
|
1836
|
-
company: string;
|
|
1837
|
-
chunks: (ConferenceTranscriptionChunk)[];
|
|
1838
|
-
}
|
|
1839
1773
|
/**
|
|
1840
1774
|
* @public
|
|
1841
1775
|
* @enum
|
|
@@ -1874,15 +1808,6 @@ export interface ConferenceTranscriptionConsumeEvent {
|
|
|
1874
1808
|
type: ConferenceConsumeEventType;
|
|
1875
1809
|
data: ConferenceTranscriptionConsumeEventData;
|
|
1876
1810
|
}
|
|
1877
|
-
/**
|
|
1878
|
-
* @public
|
|
1879
|
-
*/
|
|
1880
|
-
export interface ConferenceTranscriptionTextCompletedEvent {
|
|
1881
|
-
id: string;
|
|
1882
|
-
time: number;
|
|
1883
|
-
company: string;
|
|
1884
|
-
transcription: string;
|
|
1885
|
-
}
|
|
1886
1811
|
/**
|
|
1887
1812
|
* @public
|
|
1888
1813
|
*/
|
|
@@ -3336,6 +3261,13 @@ export interface WebhookCallLiveTranscriptionEvent {
|
|
|
3336
3261
|
integrationId: string;
|
|
3337
3262
|
data: CallAnalyticsLiveTranscriptionEvent;
|
|
3338
3263
|
}
|
|
3264
|
+
/**
|
|
3265
|
+
* @public
|
|
3266
|
+
*/
|
|
3267
|
+
export interface WebhookCallSummaryCompletedEventData {
|
|
3268
|
+
call: CallRecord;
|
|
3269
|
+
summary: TranscriptionSummary;
|
|
3270
|
+
}
|
|
3339
3271
|
/**
|
|
3340
3272
|
* @public
|
|
3341
3273
|
*/
|
|
@@ -3346,7 +3278,14 @@ export interface WebhookCallSummaryCompletedEvent {
|
|
|
3346
3278
|
type: WebhookEventType;
|
|
3347
3279
|
time: number;
|
|
3348
3280
|
integrationId: string;
|
|
3349
|
-
data:
|
|
3281
|
+
data: WebhookCallSummaryCompletedEventData;
|
|
3282
|
+
}
|
|
3283
|
+
/**
|
|
3284
|
+
* @public
|
|
3285
|
+
*/
|
|
3286
|
+
export interface WebhookCallTranscriptionCompletedEventData {
|
|
3287
|
+
call: CallRecord;
|
|
3288
|
+
chunks: (TranscriptionTextChunk)[];
|
|
3350
3289
|
}
|
|
3351
3290
|
/**
|
|
3352
3291
|
* @public
|
|
@@ -3358,7 +3297,14 @@ export interface WebhookCallTranscriptionCompletedEvent {
|
|
|
3358
3297
|
type: WebhookEventType;
|
|
3359
3298
|
time: number;
|
|
3360
3299
|
integrationId: string;
|
|
3361
|
-
data:
|
|
3300
|
+
data: WebhookCallTranscriptionCompletedEventData;
|
|
3301
|
+
}
|
|
3302
|
+
/**
|
|
3303
|
+
* @public
|
|
3304
|
+
*/
|
|
3305
|
+
export interface WebhookCallTranscriptionTextCompletedEventData {
|
|
3306
|
+
call: CallRecord;
|
|
3307
|
+
transcription: string;
|
|
3362
3308
|
}
|
|
3363
3309
|
/**
|
|
3364
3310
|
* @public
|
|
@@ -3370,7 +3316,7 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
|
|
|
3370
3316
|
type: WebhookEventType;
|
|
3371
3317
|
time: number;
|
|
3372
3318
|
integrationId: string;
|
|
3373
|
-
data:
|
|
3319
|
+
data: WebhookCallTranscriptionTextCompletedEventData;
|
|
3374
3320
|
}
|
|
3375
3321
|
/**
|
|
3376
3322
|
* @public
|
|
@@ -3516,6 +3462,13 @@ export interface WebhookConferenceLiveTranscriptionEvent {
|
|
|
3516
3462
|
integrationId: string;
|
|
3517
3463
|
data: ConferenceAnalyticsLiveTranscriptionEvent;
|
|
3518
3464
|
}
|
|
3465
|
+
/**
|
|
3466
|
+
* @public
|
|
3467
|
+
*/
|
|
3468
|
+
export interface WebhookConferenceSummaryCompletedEventData {
|
|
3469
|
+
conference: ConferenceRecord;
|
|
3470
|
+
summary: TranscriptionSummary;
|
|
3471
|
+
}
|
|
3519
3472
|
/**
|
|
3520
3473
|
* @public
|
|
3521
3474
|
*/
|
|
@@ -3526,7 +3479,14 @@ export interface WebhookConferenceSummaryCompletedEvent {
|
|
|
3526
3479
|
type: WebhookEventType;
|
|
3527
3480
|
time: number;
|
|
3528
3481
|
integrationId: string;
|
|
3529
|
-
data:
|
|
3482
|
+
data: WebhookConferenceSummaryCompletedEventData;
|
|
3483
|
+
}
|
|
3484
|
+
/**
|
|
3485
|
+
* @public
|
|
3486
|
+
*/
|
|
3487
|
+
export interface WebhookConferenceTranscriptionCompletedEventData {
|
|
3488
|
+
conference: ConferenceRecord;
|
|
3489
|
+
chunks: (TranscriptionTextChunk)[];
|
|
3530
3490
|
}
|
|
3531
3491
|
/**
|
|
3532
3492
|
* @public
|
|
@@ -3538,7 +3498,14 @@ export interface WebhookConferenceTranscriptionCompletedEvent {
|
|
|
3538
3498
|
type: WebhookEventType;
|
|
3539
3499
|
time: number;
|
|
3540
3500
|
integrationId: string;
|
|
3541
|
-
data:
|
|
3501
|
+
data: WebhookConferenceTranscriptionCompletedEventData;
|
|
3502
|
+
}
|
|
3503
|
+
/**
|
|
3504
|
+
* @public
|
|
3505
|
+
*/
|
|
3506
|
+
export interface WebhookConferenceTranscriptionTextCompletedEventData {
|
|
3507
|
+
conference: ConferenceRecord;
|
|
3508
|
+
transcription: string;
|
|
3542
3509
|
}
|
|
3543
3510
|
/**
|
|
3544
3511
|
* @public
|
|
@@ -3550,7 +3517,7 @@ export interface WebhookConferenceTranscriptionTextCompletedEvent {
|
|
|
3550
3517
|
type: WebhookEventType;
|
|
3551
3518
|
time: number;
|
|
3552
3519
|
integrationId: string;
|
|
3553
|
-
data:
|
|
3520
|
+
data: WebhookConferenceTranscriptionTextCompletedEventData;
|
|
3554
3521
|
}
|
|
3555
3522
|
/**
|
|
3556
3523
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.40",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|