@wildix/wda-insights-client 1.1.0 → 1.1.2

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.
@@ -111,6 +111,8 @@ exports.CallFlowTranscriptionStatus = {
111
111
  exports.RecordType = {
112
112
  CALL: "call",
113
113
  CALL_TRANSCRIPTION: "call_transcription",
114
+ CHAT: "chat",
115
+ CHAT_TRANSCRIPTION: "chat_transcription",
114
116
  CONFERENCE: "conference",
115
117
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
116
118
  };
@@ -293,7 +293,7 @@ const se_ListConversationsCommand = async (input, context) => {
293
293
  let body;
294
294
  body = JSON.stringify((0, smithy_client_1.take)(input, {
295
295
  'exclusiveStartKey': [],
296
- 'filter': _ => (0, smithy_client_1._json)(_),
296
+ 'filter': _ => se_ListConversationsFilter(_, context),
297
297
  }));
298
298
  b.m("POST")
299
299
  .h(headers)
@@ -313,7 +313,7 @@ const se_ListConversationsInsightsCommand = async (input, context) => {
313
313
  });
314
314
  let body;
315
315
  body = JSON.stringify((0, smithy_client_1.take)(input, {
316
- 'filter': _ => (0, smithy_client_1._json)(_),
316
+ 'filter': _ => se_ListConversationsFilter(_, context),
317
317
  'insights': _ => (0, smithy_client_1._json)(_),
318
318
  }));
319
319
  b.m("POST")
@@ -335,7 +335,7 @@ const se_ListConversationsInsightsAggregationsCommand = async (input, context) =
335
335
  let body;
336
336
  body = JSON.stringify((0, smithy_client_1.take)(input, {
337
337
  'aggregations': _ => (0, smithy_client_1._json)(_),
338
- 'filter': _ => (0, smithy_client_1._json)(_),
338
+ 'filter': _ => se_ListConversationsFilter(_, context),
339
339
  }));
340
340
  b.m("POST")
341
341
  .h(headers)
@@ -402,7 +402,7 @@ const se_QueryConversationsCountCommand = async (input, context) => {
402
402
  });
403
403
  let body;
404
404
  body = JSON.stringify((0, smithy_client_1.take)(input, {
405
- 'filter': _ => (0, smithy_client_1._json)(_),
405
+ 'filter': _ => se_ListConversationsFilter(_, context),
406
406
  }));
407
407
  b.m("POST")
408
408
  .h(headers)
@@ -752,7 +752,7 @@ const de_ListConversationsCommand = async (output, context) => {
752
752
  });
753
753
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
754
754
  const doc = (0, smithy_client_1.take)(data, {
755
- 'items': smithy_client_1._json,
755
+ 'items': _ => de_ListConversationsItemsList(_, context),
756
756
  'lastEvaluatedKey': smithy_client_1.expectString,
757
757
  });
758
758
  Object.assign(contents, doc);
@@ -1016,6 +1016,40 @@ const de_FileNotFoundExceptionRes = async (parsedOutput, context) => {
1016
1016
  });
1017
1017
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1018
1018
  };
1019
+ const se_ListConversationsFilter = (input, context) => {
1020
+ return (0, smithy_client_1.take)(input, {
1021
+ 'date': smithy_client_1._json,
1022
+ 'direction': smithy_client_1._json,
1023
+ 'duration': smithy_client_1._json,
1024
+ 'group': smithy_client_1._json,
1025
+ 'insights': smithy_client_1._json,
1026
+ 'interaction': _ => se_ListConversationsFilterInteraction(_, context),
1027
+ 'language': smithy_client_1._json,
1028
+ 'participants': smithy_client_1._json,
1029
+ 'participantsToExclude': smithy_client_1._json,
1030
+ 'participantsToInclude': smithy_client_1._json,
1031
+ 'phases': smithy_client_1._json,
1032
+ 'recorded': [],
1033
+ 'service': smithy_client_1._json,
1034
+ 'transcribed': [],
1035
+ });
1036
+ };
1037
+ const se_ListConversationsFilterFloat = (input, context) => {
1038
+ return (0, smithy_client_1.take)(input, {
1039
+ 'from': smithy_client_1.serializeFloat,
1040
+ 'to': smithy_client_1.serializeFloat,
1041
+ });
1042
+ };
1043
+ const se_ListConversationsFilterInteraction = (input, context) => {
1044
+ return (0, smithy_client_1.take)(input, {
1045
+ 'interruptions': smithy_client_1._json,
1046
+ 'longestCustomerStory': smithy_client_1._json,
1047
+ 'longestMonologue': smithy_client_1._json,
1048
+ 'patience': _ => se_ListConversationsFilterFloat(_, context),
1049
+ 'talkRatio': smithy_client_1._json,
1050
+ 'wordsPerMinute': smithy_client_1._json,
1051
+ });
1052
+ };
1019
1053
  const de_Document = (output, context) => {
1020
1054
  return output;
1021
1055
  };
@@ -1093,6 +1127,30 @@ const de_InsightsSentimentScoreByPeriodList = (output, context) => {
1093
1127
  });
1094
1128
  return retVal;
1095
1129
  };
1130
+ const de_ListConversationsItem = (output, context) => {
1131
+ return (0, smithy_client_1.take)(output, {
1132
+ 'event': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1133
+ 'highlight': smithy_client_1._json,
1134
+ 'interaction': (_) => de_ListConversationsItemInteraction(_, context),
1135
+ 'summary': smithy_client_1._json,
1136
+ });
1137
+ };
1138
+ const de_ListConversationsItemInteraction = (output, context) => {
1139
+ return (0, smithy_client_1.take)(output, {
1140
+ 'interruptions': smithy_client_1.expectInt32,
1141
+ 'longestCustomerStory': smithy_client_1.expectInt32,
1142
+ 'longestMonologue': smithy_client_1.expectInt32,
1143
+ 'patience': smithy_client_1.limitedParseFloat32,
1144
+ 'talkRatio': smithy_client_1.expectInt32,
1145
+ 'wordsPerMinute': smithy_client_1.expectInt32,
1146
+ });
1147
+ };
1148
+ const de_ListConversationsItemsList = (output, context) => {
1149
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1150
+ return de_ListConversationsItem(entry, context);
1151
+ });
1152
+ return retVal;
1153
+ };
1096
1154
  const de_ProjectionInsights = (output, context) => {
1097
1155
  return (0, smithy_client_1.take)(output, {
1098
1156
  'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
@@ -105,6 +105,8 @@ export const CallFlowTranscriptionStatus = {
105
105
  export const RecordType = {
106
106
  CALL: "call",
107
107
  CALL_TRANSCRIPTION: "call_transcription",
108
+ CHAT: "chat",
109
+ CHAT_TRANSCRIPTION: "chat_transcription",
108
110
  CONFERENCE: "conference",
109
111
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
110
112
  };
@@ -2,7 +2,7 @@ import { WdaInsightsServiceException as __BaseException } from "../models/WdaIns
2
2
  import { FileNotFoundException, FilterNotFoundException, ForbiddenException, NotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
4
  import { requestBuilder as rb } from "@smithy/core";
5
- import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
+ import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, serializeFloat as __serializeFloat, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
6
6
  export const se_CreateFilterCommand = async (input, context) => {
7
7
  const b = rb(input, context);
8
8
  const headers = {
@@ -273,7 +273,7 @@ export const se_ListConversationsCommand = async (input, context) => {
273
273
  let body;
274
274
  body = JSON.stringify(take(input, {
275
275
  'exclusiveStartKey': [],
276
- 'filter': _ => _json(_),
276
+ 'filter': _ => se_ListConversationsFilter(_, context),
277
277
  }));
278
278
  b.m("POST")
279
279
  .h(headers)
@@ -292,7 +292,7 @@ export const se_ListConversationsInsightsCommand = async (input, context) => {
292
292
  });
293
293
  let body;
294
294
  body = JSON.stringify(take(input, {
295
- 'filter': _ => _json(_),
295
+ 'filter': _ => se_ListConversationsFilter(_, context),
296
296
  'insights': _ => _json(_),
297
297
  }));
298
298
  b.m("POST")
@@ -313,7 +313,7 @@ export const se_ListConversationsInsightsAggregationsCommand = async (input, con
313
313
  let body;
314
314
  body = JSON.stringify(take(input, {
315
315
  'aggregations': _ => _json(_),
316
- 'filter': _ => _json(_),
316
+ 'filter': _ => se_ListConversationsFilter(_, context),
317
317
  }));
318
318
  b.m("POST")
319
319
  .h(headers)
@@ -376,7 +376,7 @@ export const se_QueryConversationsCountCommand = async (input, context) => {
376
376
  });
377
377
  let body;
378
378
  body = JSON.stringify(take(input, {
379
- 'filter': _ => _json(_),
379
+ 'filter': _ => se_ListConversationsFilter(_, context),
380
380
  }));
381
381
  b.m("POST")
382
382
  .h(headers)
@@ -704,7 +704,7 @@ export const de_ListConversationsCommand = async (output, context) => {
704
704
  });
705
705
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
706
706
  const doc = take(data, {
707
- 'items': _json,
707
+ 'items': _ => de_ListConversationsItemsList(_, context),
708
708
  'lastEvaluatedKey': __expectString,
709
709
  });
710
710
  Object.assign(contents, doc);
@@ -956,6 +956,40 @@ const de_FileNotFoundExceptionRes = async (parsedOutput, context) => {
956
956
  });
957
957
  return __decorateServiceException(exception, parsedOutput.body);
958
958
  };
959
+ const se_ListConversationsFilter = (input, context) => {
960
+ return take(input, {
961
+ 'date': _json,
962
+ 'direction': _json,
963
+ 'duration': _json,
964
+ 'group': _json,
965
+ 'insights': _json,
966
+ 'interaction': _ => se_ListConversationsFilterInteraction(_, context),
967
+ 'language': _json,
968
+ 'participants': _json,
969
+ 'participantsToExclude': _json,
970
+ 'participantsToInclude': _json,
971
+ 'phases': _json,
972
+ 'recorded': [],
973
+ 'service': _json,
974
+ 'transcribed': [],
975
+ });
976
+ };
977
+ const se_ListConversationsFilterFloat = (input, context) => {
978
+ return take(input, {
979
+ 'from': __serializeFloat,
980
+ 'to': __serializeFloat,
981
+ });
982
+ };
983
+ const se_ListConversationsFilterInteraction = (input, context) => {
984
+ return take(input, {
985
+ 'interruptions': _json,
986
+ 'longestCustomerStory': _json,
987
+ 'longestMonologue': _json,
988
+ 'patience': _ => se_ListConversationsFilterFloat(_, context),
989
+ 'talkRatio': _json,
990
+ 'wordsPerMinute': _json,
991
+ });
992
+ };
959
993
  const de_Document = (output, context) => {
960
994
  return output;
961
995
  };
@@ -1033,6 +1067,30 @@ const de_InsightsSentimentScoreByPeriodList = (output, context) => {
1033
1067
  });
1034
1068
  return retVal;
1035
1069
  };
1070
+ const de_ListConversationsItem = (output, context) => {
1071
+ return take(output, {
1072
+ 'event': (_) => _json(__expectUnion(_)),
1073
+ 'highlight': _json,
1074
+ 'interaction': (_) => de_ListConversationsItemInteraction(_, context),
1075
+ 'summary': _json,
1076
+ });
1077
+ };
1078
+ const de_ListConversationsItemInteraction = (output, context) => {
1079
+ return take(output, {
1080
+ 'interruptions': __expectInt32,
1081
+ 'longestCustomerStory': __expectInt32,
1082
+ 'longestMonologue': __expectInt32,
1083
+ 'patience': __limitedParseFloat32,
1084
+ 'talkRatio': __expectInt32,
1085
+ 'wordsPerMinute': __expectInt32,
1086
+ });
1087
+ };
1088
+ const de_ListConversationsItemsList = (output, context) => {
1089
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1090
+ return de_ListConversationsItem(entry, context);
1091
+ });
1092
+ return retVal;
1093
+ };
1036
1094
  const de_ProjectionInsights = (output, context) => {
1037
1095
  return take(output, {
1038
1096
  'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
@@ -70,10 +70,33 @@ declare const ListConversationsCommand_base: {
70
70
  * language: [ // ListConversationsFilterLanguage
71
71
  * "STRING_VALUE",
72
72
  * ],
73
- * duration: { // ListConversationsFilterDuration
73
+ * duration: { // ListConversationsFilterNumber
74
74
  * from: Number("int"),
75
75
  * to: Number("int"),
76
76
  * },
77
+ * interaction: { // ListConversationsFilterInteraction
78
+ * talkRatio: {
79
+ * from: Number("int"),
80
+ * to: Number("int"),
81
+ * },
82
+ * wordsPerMinute: {
83
+ * from: Number("int"),
84
+ * to: Number("int"),
85
+ * },
86
+ * interruptions: {
87
+ * from: Number("int"),
88
+ * to: Number("int"),
89
+ * },
90
+ * patience: { // ListConversationsFilterFloat
91
+ * from: Number("float"),
92
+ * to: Number("float"),
93
+ * },
94
+ * longestMonologue: {
95
+ * from: Number("int"),
96
+ * to: Number("int"),
97
+ * },
98
+ * longestCustomerStory: "<ListConversationsFilterNumber>",
99
+ * },
77
100
  * recorded: true || false,
78
101
  * transcribed: true || false,
79
102
  * direction: { // ListConversationsFilterDirection
@@ -275,7 +298,7 @@ declare const ListConversationsCommand_base: {
275
298
  * // licenses: [ // LicensesList // required
276
299
  * // "x-bees" || "uc",
277
300
  * // ],
278
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
301
+ * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
279
302
  * // },
280
303
  * // conference: { // ConferenceRecord
281
304
  * // id: "STRING_VALUE", // required
@@ -323,9 +346,17 @@ declare const ListConversationsCommand_base: {
323
346
  * // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
324
347
  * // transcriptionLanguage: "STRING_VALUE",
325
348
  * // transcriptionSeconds: Number("int"),
326
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
349
+ * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
327
350
  * // },
328
351
  * // },
352
+ * // interaction: { // ListConversationsItemInteraction
353
+ * // talkRatio: Number("int"),
354
+ * // wordsPerMinute: Number("int"),
355
+ * // interruptions: Number("int"),
356
+ * // patience: Number("float"),
357
+ * // longestMonologue: Number("int"),
358
+ * // longestCustomerStory: Number("int"),
359
+ * // },
329
360
  * // summary: { // ListConversationsItemSummary
330
361
  * // status: "NONE" || "UNAVAILABLE" || "SCHEDULED" || "STARTED" || "SUCCEEDED" || "FAILED", // required
331
362
  * // title: "STRING_VALUE",
@@ -101,10 +101,33 @@ declare const ListConversationsInsightsAggregationsCommand_base: {
101
101
  * language: [ // ListConversationsFilterLanguage
102
102
  * "STRING_VALUE",
103
103
  * ],
104
- * duration: { // ListConversationsFilterDuration
104
+ * duration: { // ListConversationsFilterNumber
105
105
  * from: Number("int"),
106
106
  * to: Number("int"),
107
107
  * },
108
+ * interaction: { // ListConversationsFilterInteraction
109
+ * talkRatio: {
110
+ * from: Number("int"),
111
+ * to: Number("int"),
112
+ * },
113
+ * wordsPerMinute: {
114
+ * from: Number("int"),
115
+ * to: Number("int"),
116
+ * },
117
+ * interruptions: {
118
+ * from: Number("int"),
119
+ * to: Number("int"),
120
+ * },
121
+ * patience: { // ListConversationsFilterFloat
122
+ * from: Number("float"),
123
+ * to: Number("float"),
124
+ * },
125
+ * longestMonologue: {
126
+ * from: Number("int"),
127
+ * to: Number("int"),
128
+ * },
129
+ * longestCustomerStory: "<ListConversationsFilterNumber>",
130
+ * },
108
131
  * recorded: true || false,
109
132
  * transcribed: true || false,
110
133
  * direction: { // ListConversationsFilterDirection
@@ -93,10 +93,33 @@ declare const ListConversationsInsightsCommand_base: {
93
93
  * language: [ // ListConversationsFilterLanguage
94
94
  * "STRING_VALUE",
95
95
  * ],
96
- * duration: { // ListConversationsFilterDuration
96
+ * duration: { // ListConversationsFilterNumber
97
97
  * from: Number("int"),
98
98
  * to: Number("int"),
99
99
  * },
100
+ * interaction: { // ListConversationsFilterInteraction
101
+ * talkRatio: {
102
+ * from: Number("int"),
103
+ * to: Number("int"),
104
+ * },
105
+ * wordsPerMinute: {
106
+ * from: Number("int"),
107
+ * to: Number("int"),
108
+ * },
109
+ * interruptions: {
110
+ * from: Number("int"),
111
+ * to: Number("int"),
112
+ * },
113
+ * patience: { // ListConversationsFilterFloat
114
+ * from: Number("float"),
115
+ * to: Number("float"),
116
+ * },
117
+ * longestMonologue: {
118
+ * from: Number("int"),
119
+ * to: Number("int"),
120
+ * },
121
+ * longestCustomerStory: "<ListConversationsFilterNumber>",
122
+ * },
100
123
  * recorded: true || false,
101
124
  * transcribed: true || false,
102
125
  * direction: { // ListConversationsFilterDirection
@@ -70,10 +70,33 @@ declare const QueryConversationsCountCommand_base: {
70
70
  * language: [ // ListConversationsFilterLanguage
71
71
  * "STRING_VALUE",
72
72
  * ],
73
- * duration: { // ListConversationsFilterDuration
73
+ * duration: { // ListConversationsFilterNumber
74
74
  * from: Number("int"),
75
75
  * to: Number("int"),
76
76
  * },
77
+ * interaction: { // ListConversationsFilterInteraction
78
+ * talkRatio: {
79
+ * from: Number("int"),
80
+ * to: Number("int"),
81
+ * },
82
+ * wordsPerMinute: {
83
+ * from: Number("int"),
84
+ * to: Number("int"),
85
+ * },
86
+ * interruptions: {
87
+ * from: Number("int"),
88
+ * to: Number("int"),
89
+ * },
90
+ * patience: { // ListConversationsFilterFloat
91
+ * from: Number("float"),
92
+ * to: Number("float"),
93
+ * },
94
+ * longestMonologue: {
95
+ * from: Number("int"),
96
+ * to: Number("int"),
97
+ * },
98
+ * longestCustomerStory: "<ListConversationsFilterNumber>",
99
+ * },
77
100
  * recorded: true || false,
78
101
  * transcribed: true || false,
79
102
  * direction: { // ListConversationsFilterDirection
@@ -27,9 +27,9 @@ declare const ScheduleCallSummaryGenerationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Schedules summary generation for a call. This operation is deprecated.
31
- *
30
+ * @public
32
31
  * @deprecated
32
+ *
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -63,7 +63,6 @@ declare const ScheduleCallSummaryGenerationCommand_base: {
63
63
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
64
64
  *
65
65
  *
66
- * @public
67
66
  */
68
67
  export declare class ScheduleCallSummaryGenerationCommand extends ScheduleCallSummaryGenerationCommand_base {
69
68
  /** @internal type navigation helper, not in runtime. */
@@ -27,9 +27,9 @@ declare const ScheduleConferenceSummaryGenerationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Schedules summary generation for a conference. This operation is deprecated.
31
- *
30
+ * @public
32
31
  * @deprecated
32
+ *
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -62,7 +62,6 @@ declare const ScheduleConferenceSummaryGenerationCommand_base: {
62
62
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
63
63
  *
64
64
  *
65
- * @public
66
65
  */
67
66
  export declare class ScheduleConferenceSummaryGenerationCommand extends ScheduleConferenceSummaryGenerationCommand_base {
68
67
  /** @internal type navigation helper, not in runtime. */
@@ -309,6 +309,8 @@ export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[key
309
309
  export declare const RecordType: {
310
310
  readonly CALL: "call";
311
311
  readonly CALL_TRANSCRIPTION: "call_transcription";
312
+ readonly CHAT: "chat";
313
+ readonly CHAT_TRANSCRIPTION: "chat_transcription";
312
314
  readonly CONFERENCE: "conference";
313
315
  readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
314
316
  };
@@ -1875,7 +1877,7 @@ export interface ListConversationsFilterDirection {
1875
1877
  /**
1876
1878
  * @public
1877
1879
  */
1878
- export interface ListConversationsFilterDuration {
1880
+ export interface ListConversationsFilterNumber {
1879
1881
  from?: number | undefined;
1880
1882
  to?: number | undefined;
1881
1883
  }
@@ -1888,6 +1890,24 @@ export interface ListConversationsFilterInsight {
1888
1890
  match?: string | undefined;
1889
1891
  matchAny?: (string)[] | undefined;
1890
1892
  }
1893
+ /**
1894
+ * @public
1895
+ */
1896
+ export interface ListConversationsFilterFloat {
1897
+ from?: number | undefined;
1898
+ to?: number | undefined;
1899
+ }
1900
+ /**
1901
+ * @public
1902
+ */
1903
+ export interface ListConversationsFilterInteraction {
1904
+ talkRatio?: ListConversationsFilterNumber | undefined;
1905
+ wordsPerMinute?: ListConversationsFilterNumber | undefined;
1906
+ interruptions?: ListConversationsFilterNumber | undefined;
1907
+ patience?: ListConversationsFilterFloat | undefined;
1908
+ longestMonologue?: ListConversationsFilterNumber | undefined;
1909
+ longestCustomerStory?: ListConversationsFilterNumber | undefined;
1910
+ }
1891
1911
  /**
1892
1912
  * @public
1893
1913
  */
@@ -1942,7 +1962,8 @@ export interface ListConversationsFilter {
1942
1962
  group?: (string)[] | undefined;
1943
1963
  phases?: (string)[] | undefined;
1944
1964
  language?: (string)[] | undefined;
1945
- duration?: ListConversationsFilterDuration | undefined;
1965
+ duration?: ListConversationsFilterNumber | undefined;
1966
+ interaction?: ListConversationsFilterInteraction | undefined;
1946
1967
  recorded?: boolean | undefined;
1947
1968
  transcribed?: boolean | undefined;
1948
1969
  direction?: ListConversationsFilterDirection | undefined;
@@ -2018,6 +2039,41 @@ export interface ListConversationsItemHighlight {
2018
2039
  summary?: ListConversationsItemHighlightSummary | undefined;
2019
2040
  subject?: string | undefined;
2020
2041
  }
2042
+ /**
2043
+ * @public
2044
+ */
2045
+ export interface ListConversationsItemInteraction {
2046
+ /**
2047
+ * Percentage of the call duration during which the agent was speaking.
2048
+ * @public
2049
+ */
2050
+ talkRatio?: number | undefined;
2051
+ /**
2052
+ * Average words per minute spoken by the agent during their speaking time.
2053
+ * @public
2054
+ */
2055
+ wordsPerMinute?: number | undefined;
2056
+ /**
2057
+ * Number of times the agent interrupted another participant during the conversation.
2058
+ * @public
2059
+ */
2060
+ interruptions?: number | undefined;
2061
+ /**
2062
+ * Average time in seconds the agent waited after another participant finished speaking before responding.
2063
+ * @public
2064
+ */
2065
+ patience?: number | undefined;
2066
+ /**
2067
+ * Duration in seconds of the agent's longest uninterrupted monologue.
2068
+ * @public
2069
+ */
2070
+ longestMonologue?: number | undefined;
2071
+ /**
2072
+ * Duration in seconds of another participant’s longest uninterrupted story or response.
2073
+ * @public
2074
+ */
2075
+ longestCustomerStory?: number | undefined;
2076
+ }
2021
2077
  /**
2022
2078
  * @public
2023
2079
  */
@@ -2039,6 +2095,7 @@ export interface ListConversationsItemSummary {
2039
2095
  */
2040
2096
  export interface ListConversationsItem {
2041
2097
  event: ListConversationsItemEvent;
2098
+ interaction?: ListConversationsItemInteraction | undefined;
2042
2099
  summary?: ListConversationsItemSummary | undefined;
2043
2100
  highlight?: ListConversationsItemHighlight | undefined;
2044
2101
  }
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.0",
4
+ "version": "1.1.2",
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",