@wildix/wda-insights-client 1.1.7 → 1.1.9
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/protocols/Aws_restJson1.js +7 -9
- package/dist-es/protocols/Aws_restJson1.js +7 -9
- package/dist-types/commands/ListConversationsCommand.d.ts +14 -0
- package/dist-types/commands/ListConversationsInsightsAggregationsCommand.d.ts +14 -0
- package/dist-types/commands/ListConversationsInsightsCommand.d.ts +14 -0
- package/dist-types/commands/ListPlaylistItemsCommand.d.ts +409 -2
- package/dist-types/commands/ListWatchHistoryCommand.d.ts +38 -5
- package/dist-types/commands/QueryConversationsCountCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +20 -15
- package/package.json +1 -1
|
@@ -1352,7 +1352,9 @@ const de_ListPlaylistItemsCommand = async (output, context) => {
|
|
|
1352
1352
|
});
|
|
1353
1353
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1354
1354
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1355
|
-
'items':
|
|
1355
|
+
'items': _ => de_ListConversationsItemsList(_, context),
|
|
1356
|
+
'itemsMetadata': smithy_client_1._json,
|
|
1357
|
+
'itemsUnavailable': smithy_client_1._json,
|
|
1356
1358
|
'lastEvaluatedKey': smithy_client_1.expectString,
|
|
1357
1359
|
});
|
|
1358
1360
|
Object.assign(contents, doc);
|
|
@@ -1399,7 +1401,9 @@ const de_ListWatchHistoryCommand = async (output, context) => {
|
|
|
1399
1401
|
});
|
|
1400
1402
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1401
1403
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1402
|
-
'items': _ =>
|
|
1404
|
+
'items': _ => de_ListConversationsItemsList(_, context),
|
|
1405
|
+
'itemsHidden': smithy_client_1._json,
|
|
1406
|
+
'itemsMetadata': smithy_client_1._json,
|
|
1403
1407
|
'lastEvaluatedKey': smithy_client_1.expectString,
|
|
1404
1408
|
});
|
|
1405
1409
|
Object.assign(contents, doc);
|
|
@@ -1724,6 +1728,7 @@ const se_ListConversationsFilter = (input, context) => {
|
|
|
1724
1728
|
'duration': smithy_client_1._json,
|
|
1725
1729
|
'entity': smithy_client_1._json,
|
|
1726
1730
|
'group': smithy_client_1._json,
|
|
1731
|
+
'id': smithy_client_1._json,
|
|
1727
1732
|
'insights': smithy_client_1._json,
|
|
1728
1733
|
'interaction': _ => se_ListConversationsFilterInteraction(_, context),
|
|
1729
1734
|
'language': smithy_client_1._json,
|
|
@@ -1827,13 +1832,6 @@ const de_DashboardVisualsList = (output, context) => {
|
|
|
1827
1832
|
});
|
|
1828
1833
|
return retVal;
|
|
1829
1834
|
};
|
|
1830
|
-
const de_HistoryItem = (output, context) => {
|
|
1831
|
-
return (0, smithy_client_1.take)(output, {
|
|
1832
|
-
'id': smithy_client_1.expectString,
|
|
1833
|
-
'item': (_) => de_ListConversationsItem(_, context),
|
|
1834
|
-
'time': smithy_client_1.expectString,
|
|
1835
|
-
});
|
|
1836
|
-
};
|
|
1837
1835
|
const de_InsightsCharacteristics = (output, context) => {
|
|
1838
1836
|
return (0, smithy_client_1.take)(output, {
|
|
1839
1837
|
'duration': smithy_client_1.expectLong,
|
|
@@ -1269,7 +1269,9 @@ export const de_ListPlaylistItemsCommand = async (output, context) => {
|
|
|
1269
1269
|
});
|
|
1270
1270
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1271
1271
|
const doc = take(data, {
|
|
1272
|
-
'items':
|
|
1272
|
+
'items': _ => de_ListConversationsItemsList(_, context),
|
|
1273
|
+
'itemsMetadata': _json,
|
|
1274
|
+
'itemsUnavailable': _json,
|
|
1273
1275
|
'lastEvaluatedKey': __expectString,
|
|
1274
1276
|
});
|
|
1275
1277
|
Object.assign(contents, doc);
|
|
@@ -1313,7 +1315,9 @@ export const de_ListWatchHistoryCommand = async (output, context) => {
|
|
|
1313
1315
|
});
|
|
1314
1316
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1315
1317
|
const doc = take(data, {
|
|
1316
|
-
'items': _ =>
|
|
1318
|
+
'items': _ => de_ListConversationsItemsList(_, context),
|
|
1319
|
+
'itemsHidden': _json,
|
|
1320
|
+
'itemsMetadata': _json,
|
|
1317
1321
|
'lastEvaluatedKey': __expectString,
|
|
1318
1322
|
});
|
|
1319
1323
|
Object.assign(contents, doc);
|
|
@@ -1624,6 +1628,7 @@ const se_ListConversationsFilter = (input, context) => {
|
|
|
1624
1628
|
'duration': _json,
|
|
1625
1629
|
'entity': _json,
|
|
1626
1630
|
'group': _json,
|
|
1631
|
+
'id': _json,
|
|
1627
1632
|
'insights': _json,
|
|
1628
1633
|
'interaction': _ => se_ListConversationsFilterInteraction(_, context),
|
|
1629
1634
|
'language': _json,
|
|
@@ -1727,13 +1732,6 @@ const de_DashboardVisualsList = (output, context) => {
|
|
|
1727
1732
|
});
|
|
1728
1733
|
return retVal;
|
|
1729
1734
|
};
|
|
1730
|
-
const de_HistoryItem = (output, context) => {
|
|
1731
|
-
return take(output, {
|
|
1732
|
-
'id': __expectString,
|
|
1733
|
-
'item': (_) => de_ListConversationsItem(_, context),
|
|
1734
|
-
'time': __expectString,
|
|
1735
|
-
});
|
|
1736
|
-
};
|
|
1737
1735
|
const de_InsightsCharacteristics = (output, context) => {
|
|
1738
1736
|
return take(output, {
|
|
1739
1737
|
'duration': __expectLong,
|
|
@@ -37,6 +37,20 @@ declare const ListConversationsCommand_base: {
|
|
|
37
37
|
* const input = { // ListConversationsInput
|
|
38
38
|
* company: "STRING_VALUE",
|
|
39
39
|
* filter: { // ListConversationsFilter
|
|
40
|
+
* id: [ // ListConversationsFilterIdList
|
|
41
|
+
* { // ConversationTarget Union: only one key present
|
|
42
|
+
* call: { // CallConversationTarget
|
|
43
|
+
* callId: "STRING_VALUE", // required
|
|
44
|
+
* flowIndex: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* conference: { // ConferenceConversationTarget
|
|
47
|
+
* conferenceId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* chat: { // ChatConversationTarget
|
|
50
|
+
* chatId: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
40
54
|
* entity: { // ListConversationsFilterEntity
|
|
41
55
|
* call: true || false,
|
|
42
56
|
* conference: true || false,
|
|
@@ -68,6 +68,20 @@ declare const ListConversationsInsightsAggregationsCommand_base: {
|
|
|
68
68
|
* },
|
|
69
69
|
* ],
|
|
70
70
|
* filter: { // ListConversationsFilter
|
|
71
|
+
* id: [ // ListConversationsFilterIdList
|
|
72
|
+
* { // ConversationTarget Union: only one key present
|
|
73
|
+
* call: { // CallConversationTarget
|
|
74
|
+
* callId: "STRING_VALUE", // required
|
|
75
|
+
* flowIndex: Number("int"), // required
|
|
76
|
+
* },
|
|
77
|
+
* conference: { // ConferenceConversationTarget
|
|
78
|
+
* conferenceId: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* chat: { // ChatConversationTarget
|
|
81
|
+
* chatId: "STRING_VALUE", // required
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
71
85
|
* entity: { // ListConversationsFilterEntity
|
|
72
86
|
* call: true || false,
|
|
73
87
|
* conference: true || false,
|
|
@@ -60,6 +60,20 @@ declare const ListConversationsInsightsCommand_base: {
|
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
62
|
* filter: { // ListConversationsFilter
|
|
63
|
+
* id: [ // ListConversationsFilterIdList
|
|
64
|
+
* { // ConversationTarget Union: only one key present
|
|
65
|
+
* call: { // CallConversationTarget
|
|
66
|
+
* callId: "STRING_VALUE", // required
|
|
67
|
+
* flowIndex: Number("int"), // required
|
|
68
|
+
* },
|
|
69
|
+
* conference: { // ConferenceConversationTarget
|
|
70
|
+
* conferenceId: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* chat: { // ChatConversationTarget
|
|
73
|
+
* chatId: "STRING_VALUE", // required
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
63
77
|
* entity: { // ListConversationsFilterEntity
|
|
64
78
|
* call: true || false,
|
|
65
79
|
* conference: true || false,
|
|
@@ -43,8 +43,415 @@ declare const ListPlaylistItemsCommand_base: {
|
|
|
43
43
|
* const command = new ListPlaylistItemsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
45
|
* // { // ListPlaylistItemsOutput
|
|
46
|
-
* // items: [ //
|
|
47
|
-
* // {
|
|
46
|
+
* // items: [ // ListConversationsItemsList // required
|
|
47
|
+
* // { // ListConversationsItem
|
|
48
|
+
* // event: { // ListConversationsItemEvent Union: only one key present
|
|
49
|
+
* // call: { // CallRecord
|
|
50
|
+
* // flowIndex: Number("int"), // required
|
|
51
|
+
* // startTime: Number("long"), // required
|
|
52
|
+
* // endTime: Number("long"), // required
|
|
53
|
+
* // connectTime: Number("long"),
|
|
54
|
+
* // talkTime: Number("long"),
|
|
55
|
+
* // waitTime: Number("long"),
|
|
56
|
+
* // queueTime: Number("long"),
|
|
57
|
+
* // holdTime: Number("long"),
|
|
58
|
+
* // duration: Number("long"), // required
|
|
59
|
+
* // caller: { // CallParticipant
|
|
60
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
61
|
+
* // phone: "STRING_VALUE",
|
|
62
|
+
* // name: "STRING_VALUE",
|
|
63
|
+
* // company: "STRING_VALUE",
|
|
64
|
+
* // email: "STRING_VALUE",
|
|
65
|
+
* // userId: "STRING_VALUE",
|
|
66
|
+
* // userExtension: "STRING_VALUE",
|
|
67
|
+
* // userDepartment: "STRING_VALUE",
|
|
68
|
+
* // groupId: "STRING_VALUE",
|
|
69
|
+
* // groupName: "STRING_VALUE",
|
|
70
|
+
* // userAgent: "STRING_VALUE",
|
|
71
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
|
|
72
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
73
|
+
* // license: "STRING_VALUE",
|
|
74
|
+
* // sipCallId: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // callee: {
|
|
77
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
78
|
+
* // phone: "STRING_VALUE",
|
|
79
|
+
* // name: "STRING_VALUE",
|
|
80
|
+
* // company: "STRING_VALUE",
|
|
81
|
+
* // email: "STRING_VALUE",
|
|
82
|
+
* // userId: "STRING_VALUE",
|
|
83
|
+
* // userExtension: "STRING_VALUE",
|
|
84
|
+
* // userDepartment: "STRING_VALUE",
|
|
85
|
+
* // groupId: "STRING_VALUE",
|
|
86
|
+
* // groupName: "STRING_VALUE",
|
|
87
|
+
* // userAgent: "STRING_VALUE",
|
|
88
|
+
* // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
|
|
89
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
90
|
+
* // license: "STRING_VALUE",
|
|
91
|
+
* // sipCallId: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // service: "STRING_VALUE",
|
|
94
|
+
* // serviceNumber: "STRING_VALUE",
|
|
95
|
+
* // destination: "STRING_VALUE",
|
|
96
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
97
|
+
* // trunkName: "STRING_VALUE",
|
|
98
|
+
* // trunkDirection: "STRING_VALUE",
|
|
99
|
+
* // queueName: "STRING_VALUE",
|
|
100
|
+
* // queueId: "STRING_VALUE",
|
|
101
|
+
* // tags: [ // CallFlowTags
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // flags: [ // CallFlowFlags
|
|
105
|
+
* // "STRING_VALUE",
|
|
106
|
+
* // ],
|
|
107
|
+
* // callerMos: "STRING_VALUE",
|
|
108
|
+
* // calleeMos: "STRING_VALUE",
|
|
109
|
+
* // xhoppersConfId: "STRING_VALUE",
|
|
110
|
+
* // recordings: [ // CallFlowRecordings
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // recordingsData: [ // CallFlowRecordingsData
|
|
114
|
+
* // { // CallFlowRecording
|
|
115
|
+
* // fileName: "STRING_VALUE", // required
|
|
116
|
+
* // start: Number("long"), // required
|
|
117
|
+
* // end: Number("long"), // required
|
|
118
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
119
|
+
* // url: "STRING_VALUE", // required
|
|
120
|
+
* // pauses: [ // CallRecordPausesList // required
|
|
121
|
+
* // { // CallRecordPause
|
|
122
|
+
* // start: Number("long"),
|
|
123
|
+
* // end: Number("long"),
|
|
124
|
+
* // reason: "pause" || "hold",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // mergeWith: "STRING_VALUE",
|
|
130
|
+
* // splitReason: "STRING_VALUE",
|
|
131
|
+
* // splitTransferType: "STRING_VALUE",
|
|
132
|
+
* // remotePhone: "STRING_VALUE",
|
|
133
|
+
* // remotePhoneCountryCode: Number("int"),
|
|
134
|
+
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
135
|
+
* // remotePhoneLocation: "STRING_VALUE",
|
|
136
|
+
* // callStatus: "COMPLETED" || "MISSED",
|
|
137
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
138
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
139
|
+
* // transcriptionSeconds: Number("int"),
|
|
140
|
+
* // attachment: "STRING_VALUE",
|
|
141
|
+
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
142
|
+
* // attachmentDestinations: [ // CallFlowAttachmentDestinationList
|
|
143
|
+
* // { // CallFlowAttachmentDestination
|
|
144
|
+
* // phone: "STRING_VALUE",
|
|
145
|
+
* // name: "STRING_VALUE",
|
|
146
|
+
* // email: "STRING_VALUE",
|
|
147
|
+
* // userId: "STRING_VALUE",
|
|
148
|
+
* // userExtension: "STRING_VALUE",
|
|
149
|
+
* // userDepartment: "STRING_VALUE",
|
|
150
|
+
* // groupId: "STRING_VALUE",
|
|
151
|
+
* // groupName: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // attachments: [ // CallFlowAttachments
|
|
155
|
+
* // { // CallFlowAttachment Union: only one key present
|
|
156
|
+
* // recording: {
|
|
157
|
+
* // fileName: "STRING_VALUE", // required
|
|
158
|
+
* // start: Number("long"), // required
|
|
159
|
+
* // end: Number("long"), // required
|
|
160
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
161
|
+
* // url: "STRING_VALUE", // required
|
|
162
|
+
* // pauses: [ // required
|
|
163
|
+
* // {
|
|
164
|
+
* // start: Number("long"),
|
|
165
|
+
* // end: Number("long"),
|
|
166
|
+
* // reason: "pause" || "hold",
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // },
|
|
170
|
+
* // fax: { // CallFlowFax
|
|
171
|
+
* // url: "STRING_VALUE", // required
|
|
172
|
+
* // status: "ok" || "error",
|
|
173
|
+
* // destinations: [
|
|
174
|
+
* // {
|
|
175
|
+
* // phone: "STRING_VALUE",
|
|
176
|
+
* // name: "STRING_VALUE",
|
|
177
|
+
* // email: "STRING_VALUE",
|
|
178
|
+
* // userId: "STRING_VALUE",
|
|
179
|
+
* // userExtension: "STRING_VALUE",
|
|
180
|
+
* // userDepartment: "STRING_VALUE",
|
|
181
|
+
* // groupId: "STRING_VALUE",
|
|
182
|
+
* // groupName: "STRING_VALUE",
|
|
183
|
+
* // },
|
|
184
|
+
* // ],
|
|
185
|
+
* // owner: "callee" || "caller" || "system",
|
|
186
|
+
* // error: "STRING_VALUE",
|
|
187
|
+
* // },
|
|
188
|
+
* // voicemail: { // CallFlowVoicemail
|
|
189
|
+
* // url: "STRING_VALUE", // required
|
|
190
|
+
* // destinations: [
|
|
191
|
+
* // {
|
|
192
|
+
* // phone: "STRING_VALUE",
|
|
193
|
+
* // name: "STRING_VALUE",
|
|
194
|
+
* // email: "STRING_VALUE",
|
|
195
|
+
* // userId: "STRING_VALUE",
|
|
196
|
+
* // userExtension: "STRING_VALUE",
|
|
197
|
+
* // userDepartment: "STRING_VALUE",
|
|
198
|
+
* // groupId: "STRING_VALUE",
|
|
199
|
+
* // groupName: "STRING_VALUE",
|
|
200
|
+
* // },
|
|
201
|
+
* // ],
|
|
202
|
+
* // owner: "callee" || "caller" || "system",
|
|
203
|
+
* // },
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // id: "STRING_VALUE", // required
|
|
207
|
+
* // pbx: "STRING_VALUE", // required
|
|
208
|
+
* // time: Number("long"), // required
|
|
209
|
+
* // company: "STRING_VALUE", // required
|
|
210
|
+
* // licenses: [ // LicensesList // required
|
|
211
|
+
* // "x-bees" || "uc",
|
|
212
|
+
* // ],
|
|
213
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
214
|
+
* // },
|
|
215
|
+
* // conference: { // ConferenceRecord
|
|
216
|
+
* // id: "STRING_VALUE", // required
|
|
217
|
+
* // time: Number("long"), // required
|
|
218
|
+
* // company: "STRING_VALUE", // required
|
|
219
|
+
* // pbx: "STRING_VALUE",
|
|
220
|
+
* // startTime: Number("long"), // required
|
|
221
|
+
* // endTime: Number("long"), // required
|
|
222
|
+
* // duration: Number("long"), // required
|
|
223
|
+
* // waitTime: Number("int"),
|
|
224
|
+
* // subject: "STRING_VALUE",
|
|
225
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
226
|
+
* // service: "STRING_VALUE",
|
|
227
|
+
* // status: "COMPLETED" || "MISSED",
|
|
228
|
+
* // participants: [ // ConferenceAnalyticsRecordParticipantList // required
|
|
229
|
+
* // { // ConferenceAnalyticsRecordParticipant
|
|
230
|
+
* // jid: "STRING_VALUE", // required
|
|
231
|
+
* // info: { // ConferenceParticipant
|
|
232
|
+
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
233
|
+
* // role: "CLIENT" || "AGENT",
|
|
234
|
+
* // jid: "STRING_VALUE",
|
|
235
|
+
* // name: "STRING_VALUE",
|
|
236
|
+
* // email: "STRING_VALUE",
|
|
237
|
+
* // phone: "STRING_VALUE",
|
|
238
|
+
* // department: "STRING_VALUE",
|
|
239
|
+
* // company: "STRING_VALUE",
|
|
240
|
+
* // pbxSerial: "STRING_VALUE",
|
|
241
|
+
* // pbxExtension: "STRING_VALUE",
|
|
242
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
243
|
+
* // xbsId: "STRING_VALUE",
|
|
244
|
+
* // license: "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
245
|
+
* // },
|
|
246
|
+
* // totalDuration: Number("int"), // required
|
|
247
|
+
* // totalSpeakDuration: Number("int"), // required
|
|
248
|
+
* // joinTime: Number("long"), // required
|
|
249
|
+
* // },
|
|
250
|
+
* // ],
|
|
251
|
+
* // recordings: [ // ConferenceRecordingList
|
|
252
|
+
* // { // ConferenceRecording
|
|
253
|
+
* // url: "STRING_VALUE", // required
|
|
254
|
+
* // start: Number("long"), // required
|
|
255
|
+
* // end: Number("long"), // required
|
|
256
|
+
* // },
|
|
257
|
+
* // ],
|
|
258
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
259
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
260
|
+
* // transcriptionSeconds: Number("int"),
|
|
261
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
262
|
+
* // },
|
|
263
|
+
* // chat: { // ChatRecord
|
|
264
|
+
* // id: "STRING_VALUE",
|
|
265
|
+
* // chatId: "STRING_VALUE",
|
|
266
|
+
* // time: Number("long"), // required
|
|
267
|
+
* // company: "STRING_VALUE", // required
|
|
268
|
+
* // pbx: "STRING_VALUE",
|
|
269
|
+
* // startTime: Number("long"),
|
|
270
|
+
* // endTime: Number("long"),
|
|
271
|
+
* // waitTime: Number("int"),
|
|
272
|
+
* // duration: Number("long"),
|
|
273
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
274
|
+
* // subject: "STRING_VALUE",
|
|
275
|
+
* // service: "STRING_VALUE",
|
|
276
|
+
* // serviceTitle: "STRING_VALUE",
|
|
277
|
+
* // tags: [ // ChatTags
|
|
278
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
279
|
+
* // ],
|
|
280
|
+
* // channel: { // Channel
|
|
281
|
+
* // subject: "STRING_VALUE",
|
|
282
|
+
* // description: "STRING_VALUE",
|
|
283
|
+
* // picture: "STRING_VALUE",
|
|
284
|
+
* // pictureColor: "STRING_VALUE",
|
|
285
|
+
* // access: "private" || "public",
|
|
286
|
+
* // company: "STRING_VALUE",
|
|
287
|
+
* // context: { // ChannelContext
|
|
288
|
+
* // source: "kite",
|
|
289
|
+
* // target: "STRING_VALUE",
|
|
290
|
+
* // events: [ // ChannelContextEventList
|
|
291
|
+
* // { // ChannelContextEvent
|
|
292
|
+
* // id: "STRING_VALUE",
|
|
293
|
+
* // owner: "STRING_VALUE",
|
|
294
|
+
* // start: "STRING_VALUE",
|
|
295
|
+
* // end: "STRING_VALUE",
|
|
296
|
+
* // summary: "STRING_VALUE",
|
|
297
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
298
|
+
* // { // ChannelContextEventAttendee
|
|
299
|
+
* // email: "STRING_VALUE", // required
|
|
300
|
+
* // name: "STRING_VALUE",
|
|
301
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
302
|
+
* // },
|
|
303
|
+
* // ],
|
|
304
|
+
* // },
|
|
305
|
+
* // ],
|
|
306
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
307
|
+
* // broadcastId: "STRING_VALUE",
|
|
308
|
+
* // },
|
|
309
|
+
* // },
|
|
310
|
+
* // kite: true || false,
|
|
311
|
+
* // kiteTarget: "STRING_VALUE",
|
|
312
|
+
* // kiteVariant: "STRING_VALUE",
|
|
313
|
+
* // kiteAssign: "STRING_VALUE",
|
|
314
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
315
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
316
|
+
* // service: "STRING_VALUE",
|
|
317
|
+
* // serviceTitle: "STRING_VALUE",
|
|
318
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
319
|
+
* // assignee: { // User
|
|
320
|
+
* // id: "STRING_VALUE", // required
|
|
321
|
+
* // name: "STRING_VALUE",
|
|
322
|
+
* // email: "STRING_VALUE",
|
|
323
|
+
* // phone: "STRING_VALUE",
|
|
324
|
+
* // picture: "STRING_VALUE",
|
|
325
|
+
* // locale: "STRING_VALUE",
|
|
326
|
+
* // timeZone: "STRING_VALUE",
|
|
327
|
+
* // company: "STRING_VALUE",
|
|
328
|
+
* // bot: true || false,
|
|
329
|
+
* // pbxDomain: "STRING_VALUE",
|
|
330
|
+
* // pbxPort: "STRING_VALUE",
|
|
331
|
+
* // pbxExtension: "STRING_VALUE",
|
|
332
|
+
* // pbxSerial: "STRING_VALUE",
|
|
333
|
+
* // pbxUserId: "STRING_VALUE",
|
|
334
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
335
|
+
* // createdAt: "STRING_VALUE",
|
|
336
|
+
* // updatedAt: "STRING_VALUE",
|
|
337
|
+
* // },
|
|
338
|
+
* // telephony: true || false,
|
|
339
|
+
* // sms: true || false,
|
|
340
|
+
* // mms: true || false,
|
|
341
|
+
* // whatsapp: true || false,
|
|
342
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
343
|
+
* // broadcast: true || false,
|
|
344
|
+
* // external: true || false,
|
|
345
|
+
* // autoRecord: true || false,
|
|
346
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
347
|
+
* // channelId: "STRING_VALUE", // required
|
|
348
|
+
* // channelType: "direct" || "group", // required
|
|
349
|
+
* // memberCount: Number("int"), // required
|
|
350
|
+
* // createdAt: "STRING_VALUE", // required
|
|
351
|
+
* // createdBy: "STRING_VALUE", // required
|
|
352
|
+
* // updatedAt: "STRING_VALUE",
|
|
353
|
+
* // },
|
|
354
|
+
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
355
|
+
* // participants: [ // ChatParticipantsList
|
|
356
|
+
* // { // ChatParticipant
|
|
357
|
+
* // id: "STRING_VALUE", // required
|
|
358
|
+
* // info: { // ChatParticipantInfo
|
|
359
|
+
* // id: "STRING_VALUE", // required
|
|
360
|
+
* // name: "STRING_VALUE",
|
|
361
|
+
* // email: "STRING_VALUE",
|
|
362
|
+
* // phone: "STRING_VALUE",
|
|
363
|
+
* // picture: "STRING_VALUE",
|
|
364
|
+
* // locale: "STRING_VALUE",
|
|
365
|
+
* // timeZone: "STRING_VALUE",
|
|
366
|
+
* // company: "STRING_VALUE",
|
|
367
|
+
* // bot: true || false,
|
|
368
|
+
* // pbxDomain: "STRING_VALUE",
|
|
369
|
+
* // pbxPort: "STRING_VALUE",
|
|
370
|
+
* // pbxExtension: "STRING_VALUE",
|
|
371
|
+
* // pbxSerial: "STRING_VALUE",
|
|
372
|
+
* // pbxUserId: "STRING_VALUE",
|
|
373
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
374
|
+
* // createdAt: "STRING_VALUE",
|
|
375
|
+
* // updatedAt: "STRING_VALUE",
|
|
376
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
377
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
378
|
+
* // },
|
|
379
|
+
* // },
|
|
380
|
+
* // ],
|
|
381
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
382
|
+
* // },
|
|
383
|
+
* // },
|
|
384
|
+
* // interaction: { // ListConversationsItemInteraction
|
|
385
|
+
* // talkRatio: Number("int"),
|
|
386
|
+
* // wordsPerMinute: Number("int"),
|
|
387
|
+
* // interruptions: Number("int"),
|
|
388
|
+
* // patience: Number("float"),
|
|
389
|
+
* // longestMonologue: Number("int"),
|
|
390
|
+
* // longestCustomerStory: Number("int"),
|
|
391
|
+
* // },
|
|
392
|
+
* // summary: { // ListConversationsItemSummary
|
|
393
|
+
* // status: "NONE" || "UNAVAILABLE" || "SCHEDULED" || "STARTED" || "SUCCEEDED" || "FAILED", // required
|
|
394
|
+
* // title: "STRING_VALUE",
|
|
395
|
+
* // brief: "STRING_VALUE",
|
|
396
|
+
* // insights: [ // ListConversationsItemInsightsList
|
|
397
|
+
* // { // ListConversationsItemInsight
|
|
398
|
+
* // field: "STRING_VALUE", // required
|
|
399
|
+
* // value: "STRING_VALUE", // required
|
|
400
|
+
* // },
|
|
401
|
+
* // ],
|
|
402
|
+
* // language: "STRING_VALUE",
|
|
403
|
+
* // },
|
|
404
|
+
* // highlight: { // ListConversationsItemHighlight
|
|
405
|
+
* // transcription: [ // ListConversationsItemHighlightTranscriptionList
|
|
406
|
+
* // { // ListConversationsItemHighlightTranscriptionItem
|
|
407
|
+
* // id: "STRING_VALUE", // required
|
|
408
|
+
* // user: "STRING_VALUE", // required
|
|
409
|
+
* // start: Number("long"), // required
|
|
410
|
+
* // text: "STRING_VALUE", // required
|
|
411
|
+
* // },
|
|
412
|
+
* // ],
|
|
413
|
+
* // summary: { // ListConversationsItemHighlightSummary
|
|
414
|
+
* // title: "STRING_VALUE",
|
|
415
|
+
* // brief: "STRING_VALUE",
|
|
416
|
+
* // },
|
|
417
|
+
* // subject: "STRING_VALUE",
|
|
418
|
+
* // },
|
|
419
|
+
* // },
|
|
420
|
+
* // ],
|
|
421
|
+
* // itemsUnavailable: [ // ListConversationsHiddenItemsList
|
|
422
|
+
* // { // ListConversationsHiddenItem
|
|
423
|
+
* // target: { // ConversationTarget Union: only one key present
|
|
424
|
+
* // call: { // CallConversationTarget
|
|
425
|
+
* // callId: "STRING_VALUE", // required
|
|
426
|
+
* // flowIndex: Number("int"), // required
|
|
427
|
+
* // },
|
|
428
|
+
* // conference: { // ConferenceConversationTarget
|
|
429
|
+
* // conferenceId: "STRING_VALUE", // required
|
|
430
|
+
* // },
|
|
431
|
+
* // chat: { // ChatConversationTarget
|
|
432
|
+
* // chatId: "STRING_VALUE", // required
|
|
433
|
+
* // },
|
|
434
|
+
* // },
|
|
435
|
+
* // },
|
|
436
|
+
* // ],
|
|
437
|
+
* // itemsMetadata: [ // ListConversationsMetadataItemsList
|
|
438
|
+
* // { // ListConversationsMetadataItem
|
|
439
|
+
* // target: {// Union: only one key present
|
|
440
|
+
* // call: {
|
|
441
|
+
* // callId: "STRING_VALUE", // required
|
|
442
|
+
* // flowIndex: Number("int"), // required
|
|
443
|
+
* // },
|
|
444
|
+
* // conference: {
|
|
445
|
+
* // conferenceId: "STRING_VALUE", // required
|
|
446
|
+
* // },
|
|
447
|
+
* // chat: {
|
|
448
|
+
* // chatId: "STRING_VALUE", // required
|
|
449
|
+
* // },
|
|
450
|
+
* // },
|
|
451
|
+
* // metadata: { // ListConversationsMetadataItemMap
|
|
452
|
+
* // "<keys>": "STRING_VALUE",
|
|
453
|
+
* // },
|
|
454
|
+
* // },
|
|
48
455
|
* // ],
|
|
49
456
|
* // lastEvaluatedKey: "STRING_VALUE",
|
|
50
457
|
* // };
|
|
@@ -42,9 +42,8 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
42
42
|
* const command = new ListWatchHistoryCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // ListWatchHistoryOutput
|
|
45
|
-
* // items:
|
|
46
|
-
* //
|
|
47
|
-
* // item: { // ListConversationsItem
|
|
45
|
+
* // items: [ // ListConversationsItemsList // required
|
|
46
|
+
* // { // ListConversationsItem
|
|
48
47
|
* // event: { // ListConversationsItemEvent Union: only one key present
|
|
49
48
|
* // call: { // CallRecord
|
|
50
49
|
* // flowIndex: Number("int"), // required
|
|
@@ -417,8 +416,42 @@ declare const ListWatchHistoryCommand_base: {
|
|
|
417
416
|
* // subject: "STRING_VALUE",
|
|
418
417
|
* // },
|
|
419
418
|
* // },
|
|
420
|
-
* //
|
|
421
|
-
* //
|
|
419
|
+
* // ],
|
|
420
|
+
* // itemsHidden: [ // ListConversationsHiddenItemsList
|
|
421
|
+
* // { // ListConversationsHiddenItem
|
|
422
|
+
* // target: { // ConversationTarget Union: only one key present
|
|
423
|
+
* // call: { // CallConversationTarget
|
|
424
|
+
* // callId: "STRING_VALUE", // required
|
|
425
|
+
* // flowIndex: Number("int"), // required
|
|
426
|
+
* // },
|
|
427
|
+
* // conference: { // ConferenceConversationTarget
|
|
428
|
+
* // conferenceId: "STRING_VALUE", // required
|
|
429
|
+
* // },
|
|
430
|
+
* // chat: { // ChatConversationTarget
|
|
431
|
+
* // chatId: "STRING_VALUE", // required
|
|
432
|
+
* // },
|
|
433
|
+
* // },
|
|
434
|
+
* // },
|
|
435
|
+
* // ],
|
|
436
|
+
* // itemsMetadata: [ // ListConversationsMetadataItemsList
|
|
437
|
+
* // { // ListConversationsMetadataItem
|
|
438
|
+
* // target: {// Union: only one key present
|
|
439
|
+
* // call: {
|
|
440
|
+
* // callId: "STRING_VALUE", // required
|
|
441
|
+
* // flowIndex: Number("int"), // required
|
|
442
|
+
* // },
|
|
443
|
+
* // conference: {
|
|
444
|
+
* // conferenceId: "STRING_VALUE", // required
|
|
445
|
+
* // },
|
|
446
|
+
* // chat: {
|
|
447
|
+
* // chatId: "STRING_VALUE", // required
|
|
448
|
+
* // },
|
|
449
|
+
* // },
|
|
450
|
+
* // metadata: { // ListConversationsMetadataItemMap
|
|
451
|
+
* // "<keys>": "STRING_VALUE",
|
|
452
|
+
* // },
|
|
453
|
+
* // },
|
|
454
|
+
* // ],
|
|
422
455
|
* // lastEvaluatedKey: "STRING_VALUE",
|
|
423
456
|
* // };
|
|
424
457
|
*
|
|
@@ -37,6 +37,20 @@ declare const QueryConversationsCountCommand_base: {
|
|
|
37
37
|
* const input = { // QueryConversationsCountInput
|
|
38
38
|
* company: "STRING_VALUE",
|
|
39
39
|
* filter: { // ListConversationsFilter
|
|
40
|
+
* id: [ // ListConversationsFilterIdList
|
|
41
|
+
* { // ConversationTarget Union: only one key present
|
|
42
|
+
* call: { // CallConversationTarget
|
|
43
|
+
* callId: "STRING_VALUE", // required
|
|
44
|
+
* flowIndex: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* conference: { // ConferenceConversationTarget
|
|
47
|
+
* conferenceId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* chat: { // ChatConversationTarget
|
|
50
|
+
* chatId: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
40
54
|
* entity: { // ListConversationsFilterEntity
|
|
41
55
|
* call: true || false,
|
|
42
56
|
* conference: true || false,
|
|
@@ -2397,14 +2397,6 @@ export interface ListConversationsItem {
|
|
|
2397
2397
|
summary?: ListConversationsItemSummary | undefined;
|
|
2398
2398
|
highlight?: ListConversationsItemHighlight | undefined;
|
|
2399
2399
|
}
|
|
2400
|
-
/**
|
|
2401
|
-
* @public
|
|
2402
|
-
*/
|
|
2403
|
-
export interface HistoryItem {
|
|
2404
|
-
id?: string | undefined;
|
|
2405
|
-
item: ListConversationsItem;
|
|
2406
|
-
time: string;
|
|
2407
|
-
}
|
|
2408
2400
|
/**
|
|
2409
2401
|
* @public
|
|
2410
2402
|
*/
|
|
@@ -2786,6 +2778,7 @@ export declare namespace ListConversationsFilterParticipant {
|
|
|
2786
2778
|
* @public
|
|
2787
2779
|
*/
|
|
2788
2780
|
export interface ListConversationsFilter {
|
|
2781
|
+
id?: (ConversationTarget)[] | undefined;
|
|
2789
2782
|
entity?: ListConversationsFilterEntity | undefined;
|
|
2790
2783
|
participants?: (ListConversationsFilterParticipant)[] | undefined;
|
|
2791
2784
|
participantsToInclude?: (ListConversationsFilterParticipant)[] | undefined;
|
|
@@ -2826,6 +2819,12 @@ export interface ListConversationsOutput {
|
|
|
2826
2819
|
*/
|
|
2827
2820
|
lastEvaluatedKey?: string | undefined;
|
|
2828
2821
|
}
|
|
2822
|
+
/**
|
|
2823
|
+
* @public
|
|
2824
|
+
*/
|
|
2825
|
+
export interface ListConversationsHiddenItem {
|
|
2826
|
+
target?: ConversationTarget | undefined;
|
|
2827
|
+
}
|
|
2829
2828
|
/**
|
|
2830
2829
|
* @public
|
|
2831
2830
|
*/
|
|
@@ -2861,6 +2860,13 @@ export interface ListConversationsInsightsAggregationsInput {
|
|
|
2861
2860
|
aggregations: (AggregationDefinition)[];
|
|
2862
2861
|
filter?: ListConversationsFilter | undefined;
|
|
2863
2862
|
}
|
|
2863
|
+
/**
|
|
2864
|
+
* @public
|
|
2865
|
+
*/
|
|
2866
|
+
export interface ListConversationsMetadataItem {
|
|
2867
|
+
target?: ConversationTarget | undefined;
|
|
2868
|
+
metadata?: Record<string, string> | undefined;
|
|
2869
|
+
}
|
|
2864
2870
|
/**
|
|
2865
2871
|
* @public
|
|
2866
2872
|
*/
|
|
@@ -2942,16 +2948,13 @@ export interface ListPlaylistItemsInput {
|
|
|
2942
2948
|
playlistId: string;
|
|
2943
2949
|
exclusiveStartKey?: string | undefined;
|
|
2944
2950
|
}
|
|
2945
|
-
/**
|
|
2946
|
-
* @public
|
|
2947
|
-
*/
|
|
2948
|
-
export interface PlaylistItem {
|
|
2949
|
-
}
|
|
2950
2951
|
/**
|
|
2951
2952
|
* @public
|
|
2952
2953
|
*/
|
|
2953
2954
|
export interface ListPlaylistItemsOutput {
|
|
2954
|
-
items: (
|
|
2955
|
+
items: (ListConversationsItem)[];
|
|
2956
|
+
itemsUnavailable?: (ListConversationsHiddenItem)[] | undefined;
|
|
2957
|
+
itemsMetadata?: (ListConversationsMetadataItem)[] | undefined;
|
|
2955
2958
|
lastEvaluatedKey?: string | undefined;
|
|
2956
2959
|
}
|
|
2957
2960
|
/**
|
|
@@ -3012,7 +3015,9 @@ export interface ListWatchHistoryInput {
|
|
|
3012
3015
|
* @public
|
|
3013
3016
|
*/
|
|
3014
3017
|
export interface ListWatchHistoryOutput {
|
|
3015
|
-
items:
|
|
3018
|
+
items: (ListConversationsItem)[];
|
|
3019
|
+
itemsHidden?: (ListConversationsHiddenItem)[] | undefined;
|
|
3020
|
+
itemsMetadata?: (ListConversationsMetadataItem)[] | undefined;
|
|
3016
3021
|
lastEvaluatedKey?: string | undefined;
|
|
3017
3022
|
}
|
|
3018
3023
|
/**
|
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.9",
|
|
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",
|