@wildix/wda-insights-client 1.1.9 → 1.1.11

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.
Files changed (29) hide show
  1. package/dist-cjs/WdaInsights.js +2 -0
  2. package/dist-cjs/commands/GetPlaylistCommand.js +21 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/models/models_0.js +34 -34
  5. package/dist-cjs/protocols/Aws_restJson1.js +84 -7
  6. package/dist-es/WdaInsights.js +2 -0
  7. package/dist-es/commands/GetPlaylistCommand.js +17 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/models/models_0.js +32 -32
  10. package/dist-es/protocols/Aws_restJson1.js +81 -6
  11. package/dist-types/WdaInsights.d.ts +7 -0
  12. package/dist-types/WdaInsightsClient.d.ts +3 -2
  13. package/dist-types/commands/CreateDashboardCommand.d.ts +415 -4
  14. package/dist-types/commands/CreatePlaylistCommand.d.ts +1 -0
  15. package/dist-types/commands/DeleteDashboardCommand.d.ts +1 -0
  16. package/dist-types/commands/DeletePlaylistCommand.d.ts +1 -0
  17. package/dist-types/commands/GetDashboardCommand.d.ts +208 -2
  18. package/dist-types/commands/GetPlaylistCommand.d.ts +99 -0
  19. package/dist-types/commands/ListDashboardsCommand.d.ts +207 -2
  20. package/dist-types/commands/ListPinnedDashboardsCommand.d.ts +207 -2
  21. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateDashboardAccessCommand.d.ts +208 -2
  23. package/dist-types/commands/UpdateDashboardCommand.d.ts +415 -4
  24. package/dist-types/commands/UpdatePlaylistAccessCommand.d.ts +1 -0
  25. package/dist-types/commands/UpdatePlaylistCommand.d.ts +1 -0
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +254 -196
  28. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  29. package/package.json +1 -1
@@ -26,6 +26,7 @@ const GetConferenceRecordingPresignedDownloadUrlCommand_1 = require("./commands/
26
26
  const GetConferenceSummaryCommand_1 = require("./commands/GetConferenceSummaryCommand");
27
27
  const GetConferenceTimeFramesCommand_1 = require("./commands/GetConferenceTimeFramesCommand");
28
28
  const GetDashboardCommand_1 = require("./commands/GetDashboardCommand");
29
+ const GetPlaylistCommand_1 = require("./commands/GetPlaylistCommand");
29
30
  const GetProjectionCommand_1 = require("./commands/GetProjectionCommand");
30
31
  const ListConversationsCommand_1 = require("./commands/ListConversationsCommand");
31
32
  const ListConversationsInsightsAggregationsCommand_1 = require("./commands/ListConversationsInsightsAggregationsCommand");
@@ -76,6 +77,7 @@ const commands = {
76
77
  GetConferenceSummaryCommand: GetConferenceSummaryCommand_1.GetConferenceSummaryCommand,
77
78
  GetConferenceTimeFramesCommand: GetConferenceTimeFramesCommand_1.GetConferenceTimeFramesCommand,
78
79
  GetDashboardCommand: GetDashboardCommand_1.GetDashboardCommand,
80
+ GetPlaylistCommand: GetPlaylistCommand_1.GetPlaylistCommand,
79
81
  GetProjectionCommand: GetProjectionCommand_1.GetProjectionCommand,
80
82
  ListConversationsCommand: ListConversationsCommand_1.ListConversationsCommand,
81
83
  ListConversationsInsightsCommand: ListConversationsInsightsCommand_1.ListConversationsInsightsCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPlaylistCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetPlaylistCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("WdaInsights", "GetPlaylist", {})
15
+ .n("WdaInsightsClient", "GetPlaylistCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetPlaylistCommand)
18
+ .de(Aws_restJson1_1.de_GetPlaylistCommand)
19
+ .build() {
20
+ }
21
+ exports.GetPlaylistCommand = GetPlaylistCommand;
@@ -25,6 +25,7 @@ tslib_1.__exportStar(require("./GetConferenceRecordingPresignedDownloadUrlComman
25
25
  tslib_1.__exportStar(require("./GetConferenceSummaryCommand"), exports);
26
26
  tslib_1.__exportStar(require("./GetConferenceTimeFramesCommand"), exports);
27
27
  tslib_1.__exportStar(require("./GetDashboardCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetPlaylistCommand"), exports);
28
29
  tslib_1.__exportStar(require("./GetProjectionCommand"), exports);
29
30
  tslib_1.__exportStar(require("./ListConversationsCommand"), exports);
30
31
  tslib_1.__exportStar(require("./ListConversationsInsightsCommand"), exports);
@@ -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 = {}));
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_CreateDashboardCommand = exports.de_AssociatePlaylistItemCommand = exports.se_WatchCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = exports.se_UpdatePlaylistCommand = exports.se_UpdatePinnedDashboardsCommand = exports.se_UpdateFilterCommand = exports.se_UpdateDashboardAccessCommand = exports.se_UpdateDashboardCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_QueryConversationsCountCommand = exports.se_PauseProjectionCommand = exports.se_ListWatchHistoryCommand = exports.se_ListProjectionsCommand = exports.se_ListPlaylistsCommand = exports.se_ListPlaylistItemsCommand = exports.se_ListPinnedDashboardsCommand = exports.se_ListFiltersCommand = exports.se_ListDashboardsCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetDashboardCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_EnableProjectionCommand = exports.se_DisassociatePlaylistItemCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = exports.se_AssociatePlaylistItemCommand = void 0;
4
- exports.de_WatchCommand = exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdatePlaylistAccessCommand = exports.de_UpdatePlaylistCommand = exports.de_UpdatePinnedDashboardsCommand = exports.de_UpdateFilterCommand = exports.de_UpdateDashboardAccessCommand = exports.de_UpdateDashboardCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = exports.de_PauseProjectionCommand = exports.de_ListWatchHistoryCommand = exports.de_ListProjectionsCommand = exports.de_ListPlaylistsCommand = exports.de_ListPlaylistItemsCommand = exports.de_ListPinnedDashboardsCommand = exports.de_ListFiltersCommand = exports.de_ListDashboardsCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetDashboardCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_EnableProjectionCommand = exports.de_DisassociatePlaylistItemCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = void 0;
3
+ exports.de_AssociatePlaylistItemCommand = exports.se_WatchCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = exports.se_UpdatePlaylistCommand = exports.se_UpdatePinnedDashboardsCommand = exports.se_UpdateFilterCommand = exports.se_UpdateDashboardAccessCommand = exports.se_UpdateDashboardCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_QueryConversationsCountCommand = exports.se_PauseProjectionCommand = exports.se_ListWatchHistoryCommand = exports.se_ListProjectionsCommand = exports.se_ListPlaylistsCommand = exports.se_ListPlaylistItemsCommand = exports.se_ListPinnedDashboardsCommand = exports.se_ListFiltersCommand = exports.se_ListDashboardsCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetPlaylistCommand = exports.se_GetDashboardCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_EnableProjectionCommand = exports.se_DisassociatePlaylistItemCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = exports.se_AssociatePlaylistItemCommand = void 0;
4
+ exports.de_WatchCommand = exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdatePlaylistAccessCommand = exports.de_UpdatePlaylistCommand = exports.de_UpdatePinnedDashboardsCommand = exports.de_UpdateFilterCommand = exports.de_UpdateDashboardAccessCommand = exports.de_UpdateDashboardCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = exports.de_PauseProjectionCommand = exports.de_ListWatchHistoryCommand = exports.de_ListProjectionsCommand = exports.de_ListPlaylistsCommand = exports.de_ListPlaylistItemsCommand = exports.de_ListPinnedDashboardsCommand = exports.de_ListFiltersCommand = exports.de_ListDashboardsCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetPlaylistCommand = exports.de_GetDashboardCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_EnableProjectionCommand = exports.de_DisassociatePlaylistItemCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = exports.de_CreateDashboardCommand = void 0;
5
5
  const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const core_1 = require("@aws-sdk/core");
@@ -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")
@@ -438,6 +443,22 @@ const se_GetDashboardCommand = async (input, context) => {
438
443
  return b.build();
439
444
  };
440
445
  exports.se_GetDashboardCommand = se_GetDashboardCommand;
446
+ const se_GetPlaylistCommand = async (input, context) => {
447
+ const b = (0, core_2.requestBuilder)(input, context);
448
+ const headers = {};
449
+ b.bp("/v2/insights/playlists/{id}");
450
+ b.p('id', () => input.id, '{id}', false);
451
+ const query = (0, smithy_client_1.map)({
452
+ [_c]: [, input[_c]],
453
+ });
454
+ let body;
455
+ b.m("GET")
456
+ .h(headers)
457
+ .q(query)
458
+ .b(body);
459
+ return b.build();
460
+ };
461
+ exports.se_GetPlaylistCommand = se_GetPlaylistCommand;
441
462
  const se_GetProjectionCommand = async (input, context) => {
442
463
  const b = (0, core_2.requestBuilder)(input, context);
443
464
  const headers = {};
@@ -709,6 +730,7 @@ const se_UpdateDashboardCommand = async (input, context) => {
709
730
  b.p('id', () => input.id, '{id}', false);
710
731
  const query = (0, smithy_client_1.map)({
711
732
  [_c]: [, input[_c]],
733
+ [_u]: [, input[_u]],
712
734
  });
713
735
  let body;
714
736
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -732,6 +754,7 @@ const se_UpdateDashboardAccessCommand = async (input, context) => {
732
754
  b.p('id', () => input.id, '{id}', false);
733
755
  const query = (0, smithy_client_1.map)({
734
756
  [_c]: [, input[_c]],
757
+ [_u]: [, input[_u]],
735
758
  });
736
759
  let body;
737
760
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -792,6 +815,7 @@ const se_UpdatePlaylistCommand = async (input, context) => {
792
815
  b.p('id', () => input.id, '{id}', false);
793
816
  const query = (0, smithy_client_1.map)({
794
817
  [_c]: [, input[_c]],
818
+ [_u]: [, input[_u]],
795
819
  });
796
820
  let body;
797
821
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -814,6 +838,7 @@ const se_UpdatePlaylistAccessCommand = async (input, context) => {
814
838
  b.p('id', () => input.id, '{id}', false);
815
839
  const query = (0, smithy_client_1.map)({
816
840
  [_c]: [, input[_c]],
841
+ [_u]: [, input[_u]],
817
842
  });
818
843
  let body;
819
844
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -1234,6 +1259,21 @@ const de_GetDashboardCommand = async (output, context) => {
1234
1259
  return contents;
1235
1260
  };
1236
1261
  exports.de_GetDashboardCommand = de_GetDashboardCommand;
1262
+ const de_GetPlaylistCommand = async (output, context) => {
1263
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1264
+ return de_CommandError(output, context);
1265
+ }
1266
+ const contents = (0, smithy_client_1.map)({
1267
+ $metadata: deserializeMetadata(output),
1268
+ });
1269
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1270
+ const doc = (0, smithy_client_1.take)(data, {
1271
+ 'playlist': smithy_client_1._json,
1272
+ });
1273
+ Object.assign(contents, doc);
1274
+ return contents;
1275
+ };
1276
+ exports.de_GetPlaylistCommand = de_GetPlaylistCommand;
1237
1277
  const de_GetProjectionCommand = async (output, context) => {
1238
1278
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
1279
  return de_CommandError(output, context);
@@ -1353,8 +1393,8 @@ const de_ListPlaylistItemsCommand = async (output, context) => {
1353
1393
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1354
1394
  const doc = (0, smithy_client_1.take)(data, {
1355
1395
  'items': _ => de_ListConversationsItemsList(_, context),
1396
+ 'itemsHidden': smithy_client_1._json,
1356
1397
  'itemsMetadata': smithy_client_1._json,
1357
- 'itemsUnavailable': smithy_client_1._json,
1358
1398
  'lastEvaluatedKey': smithy_client_1.expectString,
1359
1399
  });
1360
1400
  Object.assign(contents, doc);
@@ -1691,13 +1731,13 @@ const se_Document = (input, context) => {
1691
1731
  };
1692
1732
  const se_DashboardDefinition = (input, context) => {
1693
1733
  return (0, smithy_client_1.take)(input, {
1694
- 'filter': _ => se_Document(_, context),
1734
+ 'filter': _ => se_ListConversationsFilter(_, context),
1695
1735
  'sheets': _ => se_DashboardSheetList(_, context),
1696
1736
  });
1697
1737
  };
1698
1738
  const se_DashboardSheet = (input, context) => {
1699
1739
  return (0, smithy_client_1.take)(input, {
1700
- 'filter': [],
1740
+ 'filter': _ => se_ListConversationsFilter(_, context),
1701
1741
  'id': [],
1702
1742
  'name': [],
1703
1743
  'visuals': _ => se_DashboardVisualsList(_, context),
@@ -1795,13 +1835,13 @@ const de_Dashboard = (output, context) => {
1795
1835
  };
1796
1836
  const de_DashboardDefinition = (output, context) => {
1797
1837
  return (0, smithy_client_1.take)(output, {
1798
- 'filter': (_) => de_Document(_, context),
1838
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1799
1839
  'sheets': (_) => de_DashboardSheetList(_, context),
1800
1840
  });
1801
1841
  };
1802
1842
  const de_DashboardSheet = (output, context) => {
1803
1843
  return (0, smithy_client_1.take)(output, {
1804
- 'filter': smithy_client_1.expectString,
1844
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1805
1845
  'id': smithy_client_1.expectString,
1806
1846
  'name': smithy_client_1.expectString,
1807
1847
  'visuals': (_) => de_DashboardVisualsList(_, context),
@@ -1887,6 +1927,43 @@ const de_InsightsSentimentScoreByPeriodList = (output, context) => {
1887
1927
  });
1888
1928
  return retVal;
1889
1929
  };
1930
+ const de_ListConversationsFilter = (output, context) => {
1931
+ return (0, smithy_client_1.take)(output, {
1932
+ 'channel': smithy_client_1._json,
1933
+ 'date': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1934
+ 'direction': smithy_client_1._json,
1935
+ 'duration': smithy_client_1._json,
1936
+ 'entity': smithy_client_1._json,
1937
+ 'group': smithy_client_1._json,
1938
+ 'id': smithy_client_1._json,
1939
+ 'insights': smithy_client_1._json,
1940
+ 'interaction': (_) => de_ListConversationsFilterInteraction(_, context),
1941
+ 'language': smithy_client_1._json,
1942
+ 'participants': smithy_client_1._json,
1943
+ 'participantsToExclude': smithy_client_1._json,
1944
+ 'participantsToInclude': smithy_client_1._json,
1945
+ 'phases': smithy_client_1._json,
1946
+ 'recorded': smithy_client_1.expectBoolean,
1947
+ 'service': smithy_client_1._json,
1948
+ 'transcribed': smithy_client_1.expectBoolean,
1949
+ });
1950
+ };
1951
+ const de_ListConversationsFilterFloat = (output, context) => {
1952
+ return (0, smithy_client_1.take)(output, {
1953
+ 'from': smithy_client_1.limitedParseFloat32,
1954
+ 'to': smithy_client_1.limitedParseFloat32,
1955
+ });
1956
+ };
1957
+ const de_ListConversationsFilterInteraction = (output, context) => {
1958
+ return (0, smithy_client_1.take)(output, {
1959
+ 'interruptions': smithy_client_1._json,
1960
+ 'longestCustomerStory': smithy_client_1._json,
1961
+ 'longestMonologue': smithy_client_1._json,
1962
+ 'patience': (_) => de_ListConversationsFilterFloat(_, context),
1963
+ 'talkRatio': smithy_client_1._json,
1964
+ 'wordsPerMinute': smithy_client_1._json,
1965
+ });
1966
+ };
1890
1967
  const de_ListConversationsItem = (output, context) => {
1891
1968
  return (0, smithy_client_1.take)(output, {
1892
1969
  'event': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
@@ -23,6 +23,7 @@ import { GetConferenceRecordingPresignedDownloadUrlCommand, } from "./commands/G
23
23
  import { GetConferenceSummaryCommand, } from "./commands/GetConferenceSummaryCommand";
24
24
  import { GetConferenceTimeFramesCommand, } from "./commands/GetConferenceTimeFramesCommand";
25
25
  import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
26
+ import { GetPlaylistCommand, } from "./commands/GetPlaylistCommand";
26
27
  import { GetProjectionCommand, } from "./commands/GetProjectionCommand";
27
28
  import { ListConversationsCommand, } from "./commands/ListConversationsCommand";
28
29
  import { ListConversationsInsightsAggregationsCommand, } from "./commands/ListConversationsInsightsAggregationsCommand";
@@ -73,6 +74,7 @@ const commands = {
73
74
  GetConferenceSummaryCommand,
74
75
  GetConferenceTimeFramesCommand,
75
76
  GetDashboardCommand,
77
+ GetPlaylistCommand,
76
78
  GetProjectionCommand,
77
79
  ListConversationsCommand,
78
80
  ListConversationsInsightsCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetPlaylistCommand, se_GetPlaylistCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetPlaylistCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("WdaInsights", "GetPlaylist", {})
12
+ .n("WdaInsightsClient", "GetPlaylistCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetPlaylistCommand)
15
+ .de(de_GetPlaylistCommand)
16
+ .build() {
17
+ }
@@ -22,6 +22,7 @@ export * from "./GetConferenceRecordingPresignedDownloadUrlCommand";
22
22
  export * from "./GetConferenceSummaryCommand";
23
23
  export * from "./GetConferenceTimeFramesCommand";
24
24
  export * from "./GetDashboardCommand";
25
+ export * from "./GetPlaylistCommand";
25
26
  export * from "./GetProjectionCommand";
26
27
  export * from "./ListConversationsCommand";
27
28
  export * from "./ListConversationsInsightsCommand";
@@ -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 = {}));