@wildix/wda-insights-client 1.1.9 → 1.1.10

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.InsightsDefinition = exports.InsightsResultDefinition = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.DashboardAccessControlType = exports.DashboardAccessControlTarget = exports.ConversationTarget = exports.AggregationDefinition = exports.AggregationDateDefinitionPrecision = 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.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = void 0;
4
- exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = void 0;
3
+ exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.DashboardAccessControlType = exports.DashboardAccessControlTarget = exports.ConversationTarget = exports.AggregationDefinition = exports.AggregationDateDefinitionPrecision = 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.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = void 0;
4
+ exports.InsightsDefinition = exports.InsightsResultDefinition = exports.ListConversationsItemEvent = void 0;
5
5
  const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
6
6
  class NotFoundException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
7
7
  name = "NotFoundException";
@@ -252,6 +252,38 @@ exports.DashboardAccessControlType = {
252
252
  EDIT: "edit",
253
253
  VIEW: "view",
254
254
  };
255
+ exports.ListConversationsFilterPredefinedDateType = {
256
+ LAST_30_DAYS: "LAST_30_DAYS",
257
+ PREVIOUS_MONTH: "PREVIOUS_MONTH",
258
+ PREVIOUS_WEEK: "PREVIOUS_WEEK",
259
+ THIS_MONTH: "THIS_MONTH",
260
+ THIS_QUARTER: "THIS_QUARTER",
261
+ THIS_WEEK: "THIS_WEEK",
262
+ TODAY: "TODAY",
263
+ YESTERDAY: "YESTERDAY",
264
+ };
265
+ var ListConversationsFilterDate;
266
+ (function (ListConversationsFilterDate) {
267
+ ListConversationsFilterDate.visit = (value, visitor) => {
268
+ if (value.absolute !== undefined)
269
+ return visitor.absolute(value.absolute);
270
+ if (value.predefined !== undefined)
271
+ return visitor.predefined(value.predefined);
272
+ return visitor._(value.$unknown[0], value.$unknown[1]);
273
+ };
274
+ })(ListConversationsFilterDate || (exports.ListConversationsFilterDate = ListConversationsFilterDate = {}));
275
+ var ListConversationsFilterParticipant;
276
+ (function (ListConversationsFilterParticipant) {
277
+ ListConversationsFilterParticipant.visit = (value, visitor) => {
278
+ if (value.email !== undefined)
279
+ return visitor.email(value.email);
280
+ if (value.phone !== undefined)
281
+ return visitor.phone(value.phone);
282
+ if (value.extension !== undefined)
283
+ return visitor.extension(value.extension);
284
+ return visitor._(value.$unknown[0], value.$unknown[1]);
285
+ };
286
+ })(ListConversationsFilterParticipant || (exports.ListConversationsFilterParticipant = ListConversationsFilterParticipant = {}));
255
287
  exports.ProjectionEntityConditionValue = {
256
288
  CALL: "call",
257
289
  CHAT: "chat",
@@ -388,35 +420,3 @@ var InsightsDefinition;
388
420
  return visitor._(value.$unknown[0], value.$unknown[1]);
389
421
  };
390
422
  })(InsightsDefinition || (exports.InsightsDefinition = InsightsDefinition = {}));
391
- exports.ListConversationsFilterPredefinedDateType = {
392
- LAST_30_DAYS: "LAST_30_DAYS",
393
- PREVIOUS_MONTH: "PREVIOUS_MONTH",
394
- PREVIOUS_WEEK: "PREVIOUS_WEEK",
395
- THIS_MONTH: "THIS_MONTH",
396
- THIS_QUARTER: "THIS_QUARTER",
397
- THIS_WEEK: "THIS_WEEK",
398
- TODAY: "TODAY",
399
- YESTERDAY: "YESTERDAY",
400
- };
401
- var ListConversationsFilterDate;
402
- (function (ListConversationsFilterDate) {
403
- ListConversationsFilterDate.visit = (value, visitor) => {
404
- if (value.absolute !== undefined)
405
- return visitor.absolute(value.absolute);
406
- if (value.predefined !== undefined)
407
- return visitor.predefined(value.predefined);
408
- return visitor._(value.$unknown[0], value.$unknown[1]);
409
- };
410
- })(ListConversationsFilterDate || (exports.ListConversationsFilterDate = ListConversationsFilterDate = {}));
411
- var ListConversationsFilterParticipant;
412
- (function (ListConversationsFilterParticipant) {
413
- ListConversationsFilterParticipant.visit = (value, visitor) => {
414
- if (value.email !== undefined)
415
- return visitor.email(value.email);
416
- if (value.phone !== undefined)
417
- return visitor.phone(value.phone);
418
- if (value.extension !== undefined)
419
- return visitor.extension(value.extension);
420
- return visitor._(value.$unknown[0], value.$unknown[1]);
421
- };
422
- })(ListConversationsFilterParticipant || (exports.ListConversationsFilterParticipant = ListConversationsFilterParticipant = {}));
@@ -39,6 +39,7 @@ const se_CreateDashboardCommand = async (input, context) => {
39
39
  b.bp("/v2/insights/dashboards");
40
40
  const query = (0, smithy_client_1.map)({
41
41
  [_c]: [, input[_c]],
42
+ [_u]: [, input[_u]],
42
43
  });
43
44
  let body;
44
45
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -79,6 +80,7 @@ const se_CreatePlaylistCommand = async (input, context) => {
79
80
  b.bp("/v2/insights/playlists");
80
81
  const query = (0, smithy_client_1.map)({
81
82
  [_c]: [, input[_c]],
83
+ [_u]: [, input[_u]],
82
84
  });
83
85
  let body;
84
86
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -148,6 +150,7 @@ const se_DeleteDashboardCommand = async (input, context) => {
148
150
  b.p('id', () => input.id, '{id}', false);
149
151
  const query = (0, smithy_client_1.map)({
150
152
  [_c]: [, input[_c]],
153
+ [_u]: [, input[_u]],
151
154
  });
152
155
  let body;
153
156
  b.m("DELETE")
@@ -176,6 +179,7 @@ const se_DeletePlaylistCommand = async (input, context) => {
176
179
  b.p('id', () => input.id, '{id}', false);
177
180
  const query = (0, smithy_client_1.map)({
178
181
  [_c]: [, input[_c]],
182
+ [_u]: [, input[_u]],
179
183
  });
180
184
  let body;
181
185
  b.m("DELETE")
@@ -429,6 +433,7 @@ const se_GetDashboardCommand = async (input, context) => {
429
433
  b.p('id', () => input.id, '{id}', false);
430
434
  const query = (0, smithy_client_1.map)({
431
435
  [_c]: [, input[_c]],
436
+ [_u]: [, input[_u]],
432
437
  });
433
438
  let body;
434
439
  b.m("GET")
@@ -709,6 +714,7 @@ const se_UpdateDashboardCommand = async (input, context) => {
709
714
  b.p('id', () => input.id, '{id}', false);
710
715
  const query = (0, smithy_client_1.map)({
711
716
  [_c]: [, input[_c]],
717
+ [_u]: [, input[_u]],
712
718
  });
713
719
  let body;
714
720
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -732,6 +738,7 @@ const se_UpdateDashboardAccessCommand = async (input, context) => {
732
738
  b.p('id', () => input.id, '{id}', false);
733
739
  const query = (0, smithy_client_1.map)({
734
740
  [_c]: [, input[_c]],
741
+ [_u]: [, input[_u]],
735
742
  });
736
743
  let body;
737
744
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -792,6 +799,7 @@ const se_UpdatePlaylistCommand = async (input, context) => {
792
799
  b.p('id', () => input.id, '{id}', false);
793
800
  const query = (0, smithy_client_1.map)({
794
801
  [_c]: [, input[_c]],
802
+ [_u]: [, input[_u]],
795
803
  });
796
804
  let body;
797
805
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -814,6 +822,7 @@ const se_UpdatePlaylistAccessCommand = async (input, context) => {
814
822
  b.p('id', () => input.id, '{id}', false);
815
823
  const query = (0, smithy_client_1.map)({
816
824
  [_c]: [, input[_c]],
825
+ [_u]: [, input[_u]],
817
826
  });
818
827
  let body;
819
828
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -1691,13 +1700,13 @@ const se_Document = (input, context) => {
1691
1700
  };
1692
1701
  const se_DashboardDefinition = (input, context) => {
1693
1702
  return (0, smithy_client_1.take)(input, {
1694
- 'filter': _ => se_Document(_, context),
1703
+ 'filter': _ => se_ListConversationsFilter(_, context),
1695
1704
  'sheets': _ => se_DashboardSheetList(_, context),
1696
1705
  });
1697
1706
  };
1698
1707
  const se_DashboardSheet = (input, context) => {
1699
1708
  return (0, smithy_client_1.take)(input, {
1700
- 'filter': [],
1709
+ 'filter': _ => se_ListConversationsFilter(_, context),
1701
1710
  'id': [],
1702
1711
  'name': [],
1703
1712
  'visuals': _ => se_DashboardVisualsList(_, context),
@@ -1795,13 +1804,13 @@ const de_Dashboard = (output, context) => {
1795
1804
  };
1796
1805
  const de_DashboardDefinition = (output, context) => {
1797
1806
  return (0, smithy_client_1.take)(output, {
1798
- 'filter': (_) => de_Document(_, context),
1807
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1799
1808
  'sheets': (_) => de_DashboardSheetList(_, context),
1800
1809
  });
1801
1810
  };
1802
1811
  const de_DashboardSheet = (output, context) => {
1803
1812
  return (0, smithy_client_1.take)(output, {
1804
- 'filter': smithy_client_1.expectString,
1813
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1805
1814
  'id': smithy_client_1.expectString,
1806
1815
  'name': smithy_client_1.expectString,
1807
1816
  'visuals': (_) => de_DashboardVisualsList(_, context),
@@ -1887,6 +1896,43 @@ const de_InsightsSentimentScoreByPeriodList = (output, context) => {
1887
1896
  });
1888
1897
  return retVal;
1889
1898
  };
1899
+ const de_ListConversationsFilter = (output, context) => {
1900
+ return (0, smithy_client_1.take)(output, {
1901
+ 'channel': smithy_client_1._json,
1902
+ 'date': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1903
+ 'direction': smithy_client_1._json,
1904
+ 'duration': smithy_client_1._json,
1905
+ 'entity': smithy_client_1._json,
1906
+ 'group': smithy_client_1._json,
1907
+ 'id': smithy_client_1._json,
1908
+ 'insights': smithy_client_1._json,
1909
+ 'interaction': (_) => de_ListConversationsFilterInteraction(_, context),
1910
+ 'language': smithy_client_1._json,
1911
+ 'participants': smithy_client_1._json,
1912
+ 'participantsToExclude': smithy_client_1._json,
1913
+ 'participantsToInclude': smithy_client_1._json,
1914
+ 'phases': smithy_client_1._json,
1915
+ 'recorded': smithy_client_1.expectBoolean,
1916
+ 'service': smithy_client_1._json,
1917
+ 'transcribed': smithy_client_1.expectBoolean,
1918
+ });
1919
+ };
1920
+ const de_ListConversationsFilterFloat = (output, context) => {
1921
+ return (0, smithy_client_1.take)(output, {
1922
+ 'from': smithy_client_1.limitedParseFloat32,
1923
+ 'to': smithy_client_1.limitedParseFloat32,
1924
+ });
1925
+ };
1926
+ const de_ListConversationsFilterInteraction = (output, context) => {
1927
+ return (0, smithy_client_1.take)(output, {
1928
+ 'interruptions': smithy_client_1._json,
1929
+ 'longestCustomerStory': smithy_client_1._json,
1930
+ 'longestMonologue': smithy_client_1._json,
1931
+ 'patience': (_) => de_ListConversationsFilterFloat(_, context),
1932
+ 'talkRatio': smithy_client_1._json,
1933
+ 'wordsPerMinute': smithy_client_1._json,
1934
+ });
1935
+ };
1890
1936
  const de_ListConversationsItem = (output, context) => {
1891
1937
  return (0, smithy_client_1.take)(output, {
1892
1938
  'event': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
@@ -245,6 +245,38 @@ export const DashboardAccessControlType = {
245
245
  EDIT: "edit",
246
246
  VIEW: "view",
247
247
  };
248
+ export const ListConversationsFilterPredefinedDateType = {
249
+ LAST_30_DAYS: "LAST_30_DAYS",
250
+ PREVIOUS_MONTH: "PREVIOUS_MONTH",
251
+ PREVIOUS_WEEK: "PREVIOUS_WEEK",
252
+ THIS_MONTH: "THIS_MONTH",
253
+ THIS_QUARTER: "THIS_QUARTER",
254
+ THIS_WEEK: "THIS_WEEK",
255
+ TODAY: "TODAY",
256
+ YESTERDAY: "YESTERDAY",
257
+ };
258
+ export var ListConversationsFilterDate;
259
+ (function (ListConversationsFilterDate) {
260
+ ListConversationsFilterDate.visit = (value, visitor) => {
261
+ if (value.absolute !== undefined)
262
+ return visitor.absolute(value.absolute);
263
+ if (value.predefined !== undefined)
264
+ return visitor.predefined(value.predefined);
265
+ return visitor._(value.$unknown[0], value.$unknown[1]);
266
+ };
267
+ })(ListConversationsFilterDate || (ListConversationsFilterDate = {}));
268
+ export var ListConversationsFilterParticipant;
269
+ (function (ListConversationsFilterParticipant) {
270
+ ListConversationsFilterParticipant.visit = (value, visitor) => {
271
+ if (value.email !== undefined)
272
+ return visitor.email(value.email);
273
+ if (value.phone !== undefined)
274
+ return visitor.phone(value.phone);
275
+ if (value.extension !== undefined)
276
+ return visitor.extension(value.extension);
277
+ return visitor._(value.$unknown[0], value.$unknown[1]);
278
+ };
279
+ })(ListConversationsFilterParticipant || (ListConversationsFilterParticipant = {}));
248
280
  export const ProjectionEntityConditionValue = {
249
281
  CALL: "call",
250
282
  CHAT: "chat",
@@ -379,35 +411,3 @@ export var InsightsDefinition;
379
411
  return visitor._(value.$unknown[0], value.$unknown[1]);
380
412
  };
381
413
  })(InsightsDefinition || (InsightsDefinition = {}));
382
- export const ListConversationsFilterPredefinedDateType = {
383
- LAST_30_DAYS: "LAST_30_DAYS",
384
- PREVIOUS_MONTH: "PREVIOUS_MONTH",
385
- PREVIOUS_WEEK: "PREVIOUS_WEEK",
386
- THIS_MONTH: "THIS_MONTH",
387
- THIS_QUARTER: "THIS_QUARTER",
388
- THIS_WEEK: "THIS_WEEK",
389
- TODAY: "TODAY",
390
- YESTERDAY: "YESTERDAY",
391
- };
392
- export var ListConversationsFilterDate;
393
- (function (ListConversationsFilterDate) {
394
- ListConversationsFilterDate.visit = (value, visitor) => {
395
- if (value.absolute !== undefined)
396
- return visitor.absolute(value.absolute);
397
- if (value.predefined !== undefined)
398
- return visitor.predefined(value.predefined);
399
- return visitor._(value.$unknown[0], value.$unknown[1]);
400
- };
401
- })(ListConversationsFilterDate || (ListConversationsFilterDate = {}));
402
- export var ListConversationsFilterParticipant;
403
- (function (ListConversationsFilterParticipant) {
404
- ListConversationsFilterParticipant.visit = (value, visitor) => {
405
- if (value.email !== undefined)
406
- return visitor.email(value.email);
407
- if (value.phone !== undefined)
408
- return visitor.phone(value.phone);
409
- if (value.extension !== undefined)
410
- return visitor.extension(value.extension);
411
- return visitor._(value.$unknown[0], value.$unknown[1]);
412
- };
413
- })(ListConversationsFilterParticipant || (ListConversationsFilterParticipant = {}));
@@ -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, serializeFloat as __serializeFloat, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, 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_AssociatePlaylistItemCommand = async (input, context) => {
7
7
  const b = rb(input, context);
8
8
  const headers = {
@@ -34,6 +34,7 @@ export const se_CreateDashboardCommand = async (input, context) => {
34
34
  b.bp("/v2/insights/dashboards");
35
35
  const query = map({
36
36
  [_c]: [, input[_c]],
37
+ [_u]: [, input[_u]],
37
38
  });
38
39
  let body;
39
40
  body = JSON.stringify(take(input, {
@@ -72,6 +73,7 @@ export const se_CreatePlaylistCommand = async (input, context) => {
72
73
  b.bp("/v2/insights/playlists");
73
74
  const query = map({
74
75
  [_c]: [, input[_c]],
76
+ [_u]: [, input[_u]],
75
77
  });
76
78
  let body;
77
79
  body = JSON.stringify(take(input, {
@@ -138,6 +140,7 @@ export const se_DeleteDashboardCommand = async (input, context) => {
138
140
  b.p('id', () => input.id, '{id}', false);
139
141
  const query = map({
140
142
  [_c]: [, input[_c]],
143
+ [_u]: [, input[_u]],
141
144
  });
142
145
  let body;
143
146
  b.m("DELETE")
@@ -164,6 +167,7 @@ export const se_DeletePlaylistCommand = async (input, context) => {
164
167
  b.p('id', () => input.id, '{id}', false);
165
168
  const query = map({
166
169
  [_c]: [, input[_c]],
170
+ [_u]: [, input[_u]],
167
171
  });
168
172
  let body;
169
173
  b.m("DELETE")
@@ -402,6 +406,7 @@ export const se_GetDashboardCommand = async (input, context) => {
402
406
  b.p('id', () => input.id, '{id}', false);
403
407
  const query = map({
404
408
  [_c]: [, input[_c]],
409
+ [_u]: [, input[_u]],
405
410
  });
406
411
  let body;
407
412
  b.m("GET")
@@ -666,6 +671,7 @@ export const se_UpdateDashboardCommand = async (input, context) => {
666
671
  b.p('id', () => input.id, '{id}', false);
667
672
  const query = map({
668
673
  [_c]: [, input[_c]],
674
+ [_u]: [, input[_u]],
669
675
  });
670
676
  let body;
671
677
  body = JSON.stringify(take(input, {
@@ -688,6 +694,7 @@ export const se_UpdateDashboardAccessCommand = async (input, context) => {
688
694
  b.p('id', () => input.id, '{id}', false);
689
695
  const query = map({
690
696
  [_c]: [, input[_c]],
697
+ [_u]: [, input[_u]],
691
698
  });
692
699
  let body;
693
700
  body = JSON.stringify(take(input, {
@@ -745,6 +752,7 @@ export const se_UpdatePlaylistCommand = async (input, context) => {
745
752
  b.p('id', () => input.id, '{id}', false);
746
753
  const query = map({
747
754
  [_c]: [, input[_c]],
755
+ [_u]: [, input[_u]],
748
756
  });
749
757
  let body;
750
758
  body = JSON.stringify(take(input, {
@@ -766,6 +774,7 @@ export const se_UpdatePlaylistAccessCommand = async (input, context) => {
766
774
  b.p('id', () => input.id, '{id}', false);
767
775
  const query = map({
768
776
  [_c]: [, input[_c]],
777
+ [_u]: [, input[_u]],
769
778
  });
770
779
  let body;
771
780
  body = JSON.stringify(take(input, {
@@ -1591,13 +1600,13 @@ const se_Document = (input, context) => {
1591
1600
  };
1592
1601
  const se_DashboardDefinition = (input, context) => {
1593
1602
  return take(input, {
1594
- 'filter': _ => se_Document(_, context),
1603
+ 'filter': _ => se_ListConversationsFilter(_, context),
1595
1604
  'sheets': _ => se_DashboardSheetList(_, context),
1596
1605
  });
1597
1606
  };
1598
1607
  const se_DashboardSheet = (input, context) => {
1599
1608
  return take(input, {
1600
- 'filter': [],
1609
+ 'filter': _ => se_ListConversationsFilter(_, context),
1601
1610
  'id': [],
1602
1611
  'name': [],
1603
1612
  'visuals': _ => se_DashboardVisualsList(_, context),
@@ -1695,13 +1704,13 @@ const de_Dashboard = (output, context) => {
1695
1704
  };
1696
1705
  const de_DashboardDefinition = (output, context) => {
1697
1706
  return take(output, {
1698
- 'filter': (_) => de_Document(_, context),
1707
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1699
1708
  'sheets': (_) => de_DashboardSheetList(_, context),
1700
1709
  });
1701
1710
  };
1702
1711
  const de_DashboardSheet = (output, context) => {
1703
1712
  return take(output, {
1704
- 'filter': __expectString,
1713
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1705
1714
  'id': __expectString,
1706
1715
  'name': __expectString,
1707
1716
  'visuals': (_) => de_DashboardVisualsList(_, context),
@@ -1787,6 +1796,43 @@ const de_InsightsSentimentScoreByPeriodList = (output, context) => {
1787
1796
  });
1788
1797
  return retVal;
1789
1798
  };
1799
+ const de_ListConversationsFilter = (output, context) => {
1800
+ return take(output, {
1801
+ 'channel': _json,
1802
+ 'date': (_) => _json(__expectUnion(_)),
1803
+ 'direction': _json,
1804
+ 'duration': _json,
1805
+ 'entity': _json,
1806
+ 'group': _json,
1807
+ 'id': _json,
1808
+ 'insights': _json,
1809
+ 'interaction': (_) => de_ListConversationsFilterInteraction(_, context),
1810
+ 'language': _json,
1811
+ 'participants': _json,
1812
+ 'participantsToExclude': _json,
1813
+ 'participantsToInclude': _json,
1814
+ 'phases': _json,
1815
+ 'recorded': __expectBoolean,
1816
+ 'service': _json,
1817
+ 'transcribed': __expectBoolean,
1818
+ });
1819
+ };
1820
+ const de_ListConversationsFilterFloat = (output, context) => {
1821
+ return take(output, {
1822
+ 'from': __limitedParseFloat32,
1823
+ 'to': __limitedParseFloat32,
1824
+ });
1825
+ };
1826
+ const de_ListConversationsFilterInteraction = (output, context) => {
1827
+ return take(output, {
1828
+ 'interruptions': _json,
1829
+ 'longestCustomerStory': _json,
1830
+ 'longestMonologue': _json,
1831
+ 'patience': (_) => de_ListConversationsFilterFloat(_, context),
1832
+ 'talkRatio': _json,
1833
+ 'wordsPerMinute': _json,
1834
+ });
1835
+ };
1790
1836
  const de_ListConversationsItem = (output, context) => {
1791
1837
  return take(output, {
1792
1838
  'event': (_) => _json(__expectUnion(_)),