@wildix/wda-insights-client 1.1.27 → 1.1.29
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 +10 -5
- package/dist-es/models/models_0.js +9 -4
- package/dist-types/commands/ListConversationsCommand.d.ts +24 -29
- package/dist-types/commands/ListPlaylistItemsCommand.d.ts +24 -29
- package/dist-types/commands/ListWatchHistoryCommand.d.ts +24 -29
- package/dist-types/models/models_0.d.ts +58 -13
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.
|
|
3
|
+
exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = void 0;
|
|
4
4
|
exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = void 0;
|
|
5
5
|
const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
|
|
6
6
|
class ForbiddenException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
|
|
@@ -65,6 +65,11 @@ exports.CallRecordPauseReason = {
|
|
|
65
65
|
HOLD: "hold",
|
|
66
66
|
PAUSE: "pause",
|
|
67
67
|
};
|
|
68
|
+
exports.CallFlowTranscriptionStatus = {
|
|
69
|
+
AVAILABLE: "AVAILABLE",
|
|
70
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
71
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
72
|
+
};
|
|
68
73
|
var CallFlowAttachment;
|
|
69
74
|
(function (CallFlowAttachment) {
|
|
70
75
|
CallFlowAttachment.visit = (value, visitor) => {
|
|
@@ -74,11 +79,14 @@ var CallFlowAttachment;
|
|
|
74
79
|
return visitor.fax(value.fax);
|
|
75
80
|
if (value.voicemail !== undefined)
|
|
76
81
|
return visitor.voicemail(value.voicemail);
|
|
82
|
+
if (value.transcription !== undefined)
|
|
83
|
+
return visitor.transcription(value.transcription);
|
|
77
84
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
85
|
};
|
|
79
86
|
})(CallFlowAttachment || (exports.CallFlowAttachment = CallFlowAttachment = {}));
|
|
80
87
|
exports.CallFlowAttachmentType = {
|
|
81
88
|
FAX: "FAX",
|
|
89
|
+
TRANSCRIPTION: "TRANSCRIPTION",
|
|
82
90
|
VOICEMAIL: "VOICEMAIL",
|
|
83
91
|
};
|
|
84
92
|
exports.CallParticipantRole = {
|
|
@@ -105,10 +113,6 @@ exports.License = {
|
|
|
105
113
|
UC: "uc",
|
|
106
114
|
XBEES: "x-bees",
|
|
107
115
|
};
|
|
108
|
-
exports.CallFlowTranscriptionStatus = {
|
|
109
|
-
AVAILABLE: "AVAILABLE",
|
|
110
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
111
|
-
};
|
|
112
116
|
exports.RecordType = {
|
|
113
117
|
CALL: "call",
|
|
114
118
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
@@ -187,6 +191,7 @@ exports.ConferenceParticipantType = {
|
|
|
187
191
|
};
|
|
188
192
|
exports.ConferenceTranscriptionStatus = {
|
|
189
193
|
AVAILABLE: "AVAILABLE",
|
|
194
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
190
195
|
UNAVAILABLE: "UNAVAILABLE",
|
|
191
196
|
};
|
|
192
197
|
var AggregationDefinition;
|
|
@@ -58,6 +58,11 @@ export const CallRecordPauseReason = {
|
|
|
58
58
|
HOLD: "hold",
|
|
59
59
|
PAUSE: "pause",
|
|
60
60
|
};
|
|
61
|
+
export const CallFlowTranscriptionStatus = {
|
|
62
|
+
AVAILABLE: "AVAILABLE",
|
|
63
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
64
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
65
|
+
};
|
|
61
66
|
export var CallFlowAttachment;
|
|
62
67
|
(function (CallFlowAttachment) {
|
|
63
68
|
CallFlowAttachment.visit = (value, visitor) => {
|
|
@@ -67,11 +72,14 @@ export var CallFlowAttachment;
|
|
|
67
72
|
return visitor.fax(value.fax);
|
|
68
73
|
if (value.voicemail !== undefined)
|
|
69
74
|
return visitor.voicemail(value.voicemail);
|
|
75
|
+
if (value.transcription !== undefined)
|
|
76
|
+
return visitor.transcription(value.transcription);
|
|
70
77
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
71
78
|
};
|
|
72
79
|
})(CallFlowAttachment || (CallFlowAttachment = {}));
|
|
73
80
|
export const CallFlowAttachmentType = {
|
|
74
81
|
FAX: "FAX",
|
|
82
|
+
TRANSCRIPTION: "TRANSCRIPTION",
|
|
75
83
|
VOICEMAIL: "VOICEMAIL",
|
|
76
84
|
};
|
|
77
85
|
export const CallParticipantRole = {
|
|
@@ -98,10 +106,6 @@ export const License = {
|
|
|
98
106
|
UC: "uc",
|
|
99
107
|
XBEES: "x-bees",
|
|
100
108
|
};
|
|
101
|
-
export const CallFlowTranscriptionStatus = {
|
|
102
|
-
AVAILABLE: "AVAILABLE",
|
|
103
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
104
|
-
};
|
|
105
109
|
export const RecordType = {
|
|
106
110
|
CALL: "call",
|
|
107
111
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
@@ -180,6 +184,7 @@ export const ConferenceParticipantType = {
|
|
|
180
184
|
};
|
|
181
185
|
export const ConferenceTranscriptionStatus = {
|
|
182
186
|
AVAILABLE: "AVAILABLE",
|
|
187
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
183
188
|
UNAVAILABLE: "UNAVAILABLE",
|
|
184
189
|
};
|
|
185
190
|
export var AggregationDefinition;
|
|
@@ -305,6 +305,18 @@ declare const ListConversationsCommand_base: {
|
|
|
305
305
|
* // reason: "pause" || "hold",
|
|
306
306
|
* // },
|
|
307
307
|
* // ],
|
|
308
|
+
* // destinations: [ // CallFlowAttachmentDestinationList
|
|
309
|
+
* // { // CallFlowAttachmentDestination
|
|
310
|
+
* // phone: "STRING_VALUE",
|
|
311
|
+
* // name: "STRING_VALUE",
|
|
312
|
+
* // email: "STRING_VALUE",
|
|
313
|
+
* // userId: "STRING_VALUE",
|
|
314
|
+
* // userExtension: "STRING_VALUE",
|
|
315
|
+
* // userDepartment: "STRING_VALUE",
|
|
316
|
+
* // groupId: "STRING_VALUE",
|
|
317
|
+
* // groupName: "STRING_VALUE",
|
|
318
|
+
* // },
|
|
319
|
+
* // ],
|
|
308
320
|
* // },
|
|
309
321
|
* // ],
|
|
310
322
|
* // mergeWith: "STRING_VALUE",
|
|
@@ -315,13 +327,13 @@ declare const ListConversationsCommand_base: {
|
|
|
315
327
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
316
328
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
317
329
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
318
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
330
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
|
|
319
331
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
320
332
|
* // transcriptionSeconds: Number("int"),
|
|
321
333
|
* // attachment: "STRING_VALUE",
|
|
322
|
-
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
323
|
-
* // attachmentDestinations: [
|
|
324
|
-
* // {
|
|
334
|
+
* // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
|
|
335
|
+
* // attachmentDestinations: [
|
|
336
|
+
* // {
|
|
325
337
|
* // phone: "STRING_VALUE",
|
|
326
338
|
* // name: "STRING_VALUE",
|
|
327
339
|
* // email: "STRING_VALUE",
|
|
@@ -347,41 +359,24 @@ declare const ListConversationsCommand_base: {
|
|
|
347
359
|
* // reason: "pause" || "hold",
|
|
348
360
|
* // },
|
|
349
361
|
* // ],
|
|
362
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
350
363
|
* // },
|
|
351
364
|
* // fax: { // CallFlowFax
|
|
352
365
|
* // url: "STRING_VALUE", // required
|
|
353
366
|
* // status: "ok" || "error",
|
|
354
|
-
* // destinations:
|
|
355
|
-
* // {
|
|
356
|
-
* // phone: "STRING_VALUE",
|
|
357
|
-
* // name: "STRING_VALUE",
|
|
358
|
-
* // email: "STRING_VALUE",
|
|
359
|
-
* // userId: "STRING_VALUE",
|
|
360
|
-
* // userExtension: "STRING_VALUE",
|
|
361
|
-
* // userDepartment: "STRING_VALUE",
|
|
362
|
-
* // groupId: "STRING_VALUE",
|
|
363
|
-
* // groupName: "STRING_VALUE",
|
|
364
|
-
* // },
|
|
365
|
-
* // ],
|
|
367
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
366
368
|
* // owner: "callee" || "caller" || "system",
|
|
367
369
|
* // error: "STRING_VALUE",
|
|
368
370
|
* // },
|
|
369
371
|
* // voicemail: { // CallFlowVoicemail
|
|
370
372
|
* // url: "STRING_VALUE", // required
|
|
371
|
-
* // destinations:
|
|
372
|
-
* // {
|
|
373
|
-
* // phone: "STRING_VALUE",
|
|
374
|
-
* // name: "STRING_VALUE",
|
|
375
|
-
* // email: "STRING_VALUE",
|
|
376
|
-
* // userId: "STRING_VALUE",
|
|
377
|
-
* // userExtension: "STRING_VALUE",
|
|
378
|
-
* // userDepartment: "STRING_VALUE",
|
|
379
|
-
* // groupId: "STRING_VALUE",
|
|
380
|
-
* // groupName: "STRING_VALUE",
|
|
381
|
-
* // },
|
|
382
|
-
* // ],
|
|
373
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
383
374
|
* // owner: "callee" || "caller" || "system",
|
|
384
375
|
* // },
|
|
376
|
+
* // transcription: { // CallFlowTranscription
|
|
377
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
378
|
+
* // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
379
|
+
* // },
|
|
385
380
|
* // },
|
|
386
381
|
* // ],
|
|
387
382
|
* // id: "STRING_VALUE", // required
|
|
@@ -436,7 +431,7 @@ declare const ListConversationsCommand_base: {
|
|
|
436
431
|
* // end: Number("long"), // required
|
|
437
432
|
* // },
|
|
438
433
|
* // ],
|
|
439
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
434
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
440
435
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
441
436
|
* // transcriptionSeconds: Number("int"),
|
|
442
437
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
@@ -131,6 +131,18 @@ declare const ListPlaylistItemsCommand_base: {
|
|
|
131
131
|
* // reason: "pause" || "hold",
|
|
132
132
|
* // },
|
|
133
133
|
* // ],
|
|
134
|
+
* // destinations: [ // CallFlowAttachmentDestinationList
|
|
135
|
+
* // { // CallFlowAttachmentDestination
|
|
136
|
+
* // phone: "STRING_VALUE",
|
|
137
|
+
* // name: "STRING_VALUE",
|
|
138
|
+
* // email: "STRING_VALUE",
|
|
139
|
+
* // userId: "STRING_VALUE",
|
|
140
|
+
* // userExtension: "STRING_VALUE",
|
|
141
|
+
* // userDepartment: "STRING_VALUE",
|
|
142
|
+
* // groupId: "STRING_VALUE",
|
|
143
|
+
* // groupName: "STRING_VALUE",
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
134
146
|
* // },
|
|
135
147
|
* // ],
|
|
136
148
|
* // mergeWith: "STRING_VALUE",
|
|
@@ -141,13 +153,13 @@ declare const ListPlaylistItemsCommand_base: {
|
|
|
141
153
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
142
154
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
143
155
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
144
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
156
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
|
|
145
157
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
146
158
|
* // transcriptionSeconds: Number("int"),
|
|
147
159
|
* // attachment: "STRING_VALUE",
|
|
148
|
-
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
149
|
-
* // attachmentDestinations: [
|
|
150
|
-
* // {
|
|
160
|
+
* // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
|
|
161
|
+
* // attachmentDestinations: [
|
|
162
|
+
* // {
|
|
151
163
|
* // phone: "STRING_VALUE",
|
|
152
164
|
* // name: "STRING_VALUE",
|
|
153
165
|
* // email: "STRING_VALUE",
|
|
@@ -173,41 +185,24 @@ declare const ListPlaylistItemsCommand_base: {
|
|
|
173
185
|
* // reason: "pause" || "hold",
|
|
174
186
|
* // },
|
|
175
187
|
* // ],
|
|
188
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
176
189
|
* // },
|
|
177
190
|
* // fax: { // CallFlowFax
|
|
178
191
|
* // url: "STRING_VALUE", // required
|
|
179
192
|
* // status: "ok" || "error",
|
|
180
|
-
* // destinations:
|
|
181
|
-
* // {
|
|
182
|
-
* // phone: "STRING_VALUE",
|
|
183
|
-
* // name: "STRING_VALUE",
|
|
184
|
-
* // email: "STRING_VALUE",
|
|
185
|
-
* // userId: "STRING_VALUE",
|
|
186
|
-
* // userExtension: "STRING_VALUE",
|
|
187
|
-
* // userDepartment: "STRING_VALUE",
|
|
188
|
-
* // groupId: "STRING_VALUE",
|
|
189
|
-
* // groupName: "STRING_VALUE",
|
|
190
|
-
* // },
|
|
191
|
-
* // ],
|
|
193
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
192
194
|
* // owner: "callee" || "caller" || "system",
|
|
193
195
|
* // error: "STRING_VALUE",
|
|
194
196
|
* // },
|
|
195
197
|
* // voicemail: { // CallFlowVoicemail
|
|
196
198
|
* // url: "STRING_VALUE", // required
|
|
197
|
-
* // destinations:
|
|
198
|
-
* // {
|
|
199
|
-
* // phone: "STRING_VALUE",
|
|
200
|
-
* // name: "STRING_VALUE",
|
|
201
|
-
* // email: "STRING_VALUE",
|
|
202
|
-
* // userId: "STRING_VALUE",
|
|
203
|
-
* // userExtension: "STRING_VALUE",
|
|
204
|
-
* // userDepartment: "STRING_VALUE",
|
|
205
|
-
* // groupId: "STRING_VALUE",
|
|
206
|
-
* // groupName: "STRING_VALUE",
|
|
207
|
-
* // },
|
|
208
|
-
* // ],
|
|
199
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
209
200
|
* // owner: "callee" || "caller" || "system",
|
|
210
201
|
* // },
|
|
202
|
+
* // transcription: { // CallFlowTranscription
|
|
203
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
204
|
+
* // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
205
|
+
* // },
|
|
211
206
|
* // },
|
|
212
207
|
* // ],
|
|
213
208
|
* // id: "STRING_VALUE", // required
|
|
@@ -262,7 +257,7 @@ declare const ListPlaylistItemsCommand_base: {
|
|
|
262
257
|
* // end: Number("long"), // required
|
|
263
258
|
* // },
|
|
264
259
|
* // ],
|
|
265
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
260
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
266
261
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
267
262
|
* // transcriptionSeconds: Number("int"),
|
|
268
263
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
@@ -129,6 +129,18 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
129
129
|
* // reason: "pause" || "hold",
|
|
130
130
|
* // },
|
|
131
131
|
* // ],
|
|
132
|
+
* // destinations: [ // CallFlowAttachmentDestinationList
|
|
133
|
+
* // { // CallFlowAttachmentDestination
|
|
134
|
+
* // phone: "STRING_VALUE",
|
|
135
|
+
* // name: "STRING_VALUE",
|
|
136
|
+
* // email: "STRING_VALUE",
|
|
137
|
+
* // userId: "STRING_VALUE",
|
|
138
|
+
* // userExtension: "STRING_VALUE",
|
|
139
|
+
* // userDepartment: "STRING_VALUE",
|
|
140
|
+
* // groupId: "STRING_VALUE",
|
|
141
|
+
* // groupName: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
132
144
|
* // },
|
|
133
145
|
* // ],
|
|
134
146
|
* // mergeWith: "STRING_VALUE",
|
|
@@ -139,13 +151,13 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
139
151
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
140
152
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
141
153
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
142
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
154
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
|
|
143
155
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
144
156
|
* // transcriptionSeconds: Number("int"),
|
|
145
157
|
* // attachment: "STRING_VALUE",
|
|
146
|
-
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
147
|
-
* // attachmentDestinations: [
|
|
148
|
-
* // {
|
|
158
|
+
* // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
|
|
159
|
+
* // attachmentDestinations: [
|
|
160
|
+
* // {
|
|
149
161
|
* // phone: "STRING_VALUE",
|
|
150
162
|
* // name: "STRING_VALUE",
|
|
151
163
|
* // email: "STRING_VALUE",
|
|
@@ -171,41 +183,24 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
171
183
|
* // reason: "pause" || "hold",
|
|
172
184
|
* // },
|
|
173
185
|
* // ],
|
|
186
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
174
187
|
* // },
|
|
175
188
|
* // fax: { // CallFlowFax
|
|
176
189
|
* // url: "STRING_VALUE", // required
|
|
177
190
|
* // status: "ok" || "error",
|
|
178
|
-
* // destinations:
|
|
179
|
-
* // {
|
|
180
|
-
* // phone: "STRING_VALUE",
|
|
181
|
-
* // name: "STRING_VALUE",
|
|
182
|
-
* // email: "STRING_VALUE",
|
|
183
|
-
* // userId: "STRING_VALUE",
|
|
184
|
-
* // userExtension: "STRING_VALUE",
|
|
185
|
-
* // userDepartment: "STRING_VALUE",
|
|
186
|
-
* // groupId: "STRING_VALUE",
|
|
187
|
-
* // groupName: "STRING_VALUE",
|
|
188
|
-
* // },
|
|
189
|
-
* // ],
|
|
191
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
190
192
|
* // owner: "callee" || "caller" || "system",
|
|
191
193
|
* // error: "STRING_VALUE",
|
|
192
194
|
* // },
|
|
193
195
|
* // voicemail: { // CallFlowVoicemail
|
|
194
196
|
* // url: "STRING_VALUE", // required
|
|
195
|
-
* // destinations:
|
|
196
|
-
* // {
|
|
197
|
-
* // phone: "STRING_VALUE",
|
|
198
|
-
* // name: "STRING_VALUE",
|
|
199
|
-
* // email: "STRING_VALUE",
|
|
200
|
-
* // userId: "STRING_VALUE",
|
|
201
|
-
* // userExtension: "STRING_VALUE",
|
|
202
|
-
* // userDepartment: "STRING_VALUE",
|
|
203
|
-
* // groupId: "STRING_VALUE",
|
|
204
|
-
* // groupName: "STRING_VALUE",
|
|
205
|
-
* // },
|
|
206
|
-
* // ],
|
|
197
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
207
198
|
* // owner: "callee" || "caller" || "system",
|
|
208
199
|
* // },
|
|
200
|
+
* // transcription: { // CallFlowTranscription
|
|
201
|
+
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
202
|
+
* // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
203
|
+
* // },
|
|
209
204
|
* // },
|
|
210
205
|
* // ],
|
|
211
206
|
* // id: "STRING_VALUE", // required
|
|
@@ -260,7 +255,7 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
260
255
|
* // end: Number("long"), // required
|
|
261
256
|
* // },
|
|
262
257
|
* // ],
|
|
263
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
258
|
+
* // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
|
|
264
259
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
265
260
|
* // transcriptionSeconds: Number("int"),
|
|
266
261
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
@@ -146,6 +146,31 @@ export interface CallFlowRecording {
|
|
|
146
146
|
owner: CallRecordOwner;
|
|
147
147
|
url: string;
|
|
148
148
|
pauses: (CallRecordPause)[];
|
|
149
|
+
destinations?: (CallFlowAttachmentDestination)[] | undefined;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* @enum
|
|
154
|
+
*/
|
|
155
|
+
export declare const CallFlowTranscriptionStatus: {
|
|
156
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
157
|
+
readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
|
|
158
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export interface CallFlowTranscription {
|
|
168
|
+
/**
|
|
169
|
+
* If present, indicates the explicit recipients from 'Send To Emails'
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
destinations?: (CallFlowAttachmentDestination)[] | undefined;
|
|
173
|
+
status: CallFlowTranscriptionStatus;
|
|
149
174
|
}
|
|
150
175
|
/**
|
|
151
176
|
* @public
|
|
@@ -158,7 +183,7 @@ export interface CallFlowVoicemail {
|
|
|
158
183
|
/**
|
|
159
184
|
* @public
|
|
160
185
|
*/
|
|
161
|
-
export type CallFlowAttachment = CallFlowAttachment.FaxMember | CallFlowAttachment.RecordingMember | CallFlowAttachment.VoicemailMember | CallFlowAttachment.$UnknownMember;
|
|
186
|
+
export type CallFlowAttachment = CallFlowAttachment.FaxMember | CallFlowAttachment.RecordingMember | CallFlowAttachment.TranscriptionMember | CallFlowAttachment.VoicemailMember | CallFlowAttachment.$UnknownMember;
|
|
162
187
|
/**
|
|
163
188
|
* @public
|
|
164
189
|
*/
|
|
@@ -167,18 +192,28 @@ export declare namespace CallFlowAttachment {
|
|
|
167
192
|
recording: CallFlowRecording;
|
|
168
193
|
fax?: never;
|
|
169
194
|
voicemail?: never;
|
|
195
|
+
transcription?: never;
|
|
170
196
|
$unknown?: never;
|
|
171
197
|
}
|
|
172
198
|
interface FaxMember {
|
|
173
199
|
recording?: never;
|
|
174
200
|
fax: CallFlowFax;
|
|
175
201
|
voicemail?: never;
|
|
202
|
+
transcription?: never;
|
|
176
203
|
$unknown?: never;
|
|
177
204
|
}
|
|
178
205
|
interface VoicemailMember {
|
|
179
206
|
recording?: never;
|
|
180
207
|
fax?: never;
|
|
181
208
|
voicemail: CallFlowVoicemail;
|
|
209
|
+
transcription?: never;
|
|
210
|
+
$unknown?: never;
|
|
211
|
+
}
|
|
212
|
+
interface TranscriptionMember {
|
|
213
|
+
recording?: never;
|
|
214
|
+
fax?: never;
|
|
215
|
+
voicemail?: never;
|
|
216
|
+
transcription: CallFlowTranscription;
|
|
182
217
|
$unknown?: never;
|
|
183
218
|
}
|
|
184
219
|
/**
|
|
@@ -188,12 +223,14 @@ export declare namespace CallFlowAttachment {
|
|
|
188
223
|
recording?: never;
|
|
189
224
|
fax?: never;
|
|
190
225
|
voicemail?: never;
|
|
226
|
+
transcription?: never;
|
|
191
227
|
$unknown: [string, any];
|
|
192
228
|
}
|
|
193
229
|
interface Visitor<T> {
|
|
194
230
|
recording: (value: CallFlowRecording) => T;
|
|
195
231
|
fax: (value: CallFlowFax) => T;
|
|
196
232
|
voicemail: (value: CallFlowVoicemail) => T;
|
|
233
|
+
transcription: (value: CallFlowTranscription) => T;
|
|
197
234
|
_: (name: string, value: any) => T;
|
|
198
235
|
}
|
|
199
236
|
const visit: <T>(value: CallFlowAttachment, visitor: Visitor<T>) => T;
|
|
@@ -204,6 +241,7 @@ export declare namespace CallFlowAttachment {
|
|
|
204
241
|
*/
|
|
205
242
|
export declare const CallFlowAttachmentType: {
|
|
206
243
|
readonly FAX: "FAX";
|
|
244
|
+
readonly TRANSCRIPTION: "TRANSCRIPTION";
|
|
207
245
|
readonly VOICEMAIL: "VOICEMAIL";
|
|
208
246
|
};
|
|
209
247
|
/**
|
|
@@ -305,18 +343,6 @@ export declare const License: {
|
|
|
305
343
|
* @public
|
|
306
344
|
*/
|
|
307
345
|
export type License = typeof License[keyof typeof License];
|
|
308
|
-
/**
|
|
309
|
-
* @public
|
|
310
|
-
* @enum
|
|
311
|
-
*/
|
|
312
|
-
export declare const CallFlowTranscriptionStatus: {
|
|
313
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
314
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* @public
|
|
318
|
-
*/
|
|
319
|
-
export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
|
|
320
346
|
/**
|
|
321
347
|
* @public
|
|
322
348
|
* @enum
|
|
@@ -407,8 +433,26 @@ export interface CallRecord {
|
|
|
407
433
|
remotePhoneCountryCodeStr?: string | undefined;
|
|
408
434
|
remotePhoneLocation?: string | undefined;
|
|
409
435
|
callStatus?: ConversationStatus | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* Please use `attachments.transcription.status` instead.
|
|
438
|
+
*
|
|
439
|
+
* @deprecated
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
410
442
|
transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* Please use `attachments.transcription.language` instead.
|
|
445
|
+
*
|
|
446
|
+
* @deprecated
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
411
449
|
transcriptionLanguage?: string | undefined;
|
|
450
|
+
/**
|
|
451
|
+
* Please use `attachments.transcription.seconds` instead.
|
|
452
|
+
*
|
|
453
|
+
* @deprecated
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
412
456
|
transcriptionSeconds?: number | undefined;
|
|
413
457
|
/**
|
|
414
458
|
* Consider to use `attachments` instead.
|
|
@@ -833,6 +877,7 @@ export interface ConferenceRecording {
|
|
|
833
877
|
*/
|
|
834
878
|
export declare const ConferenceTranscriptionStatus: {
|
|
835
879
|
readonly AVAILABLE: "AVAILABLE";
|
|
880
|
+
readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
|
|
836
881
|
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
837
882
|
};
|
|
838
883
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-insights-client",
|
|
3
3
|
"description": "@wildix/wda-insights-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.29",
|
|
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",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|