@wildix/wda-insights-client 1.1.40 → 1.1.41

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 (30) hide show
  1. package/dist-cjs/WdaInsights.js +4 -0
  2. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/models_0.js +2 -5
  6. package/dist-cjs/protocols/Aws_restJson1.js +118 -12
  7. package/dist-es/WdaInsights.js +4 -0
  8. package/dist-es/commands/GetAnalysisSettingsCommand.js +17 -0
  9. package/dist-es/commands/PutAnalysisSettingsCommand.js +17 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/models_0.js +0 -3
  12. package/dist-es/protocols/Aws_restJson1.js +111 -9
  13. package/dist-types/WdaInsights.d.ts +16 -0
  14. package/dist-types/WdaInsightsClient.d.ts +4 -2
  15. package/dist-types/commands/CreateProjectionCommand.d.ts +368 -10
  16. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +3 -1
  17. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +3 -1
  18. package/dist-types/commands/DisableProjectionCommand.d.ts +184 -5
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +184 -5
  20. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +256 -0
  21. package/dist-types/commands/GetProjectionCommand.d.ts +184 -5
  22. package/dist-types/commands/ListProjectionsCommand.d.ts +186 -7
  23. package/dist-types/commands/PauseProjectionCommand.d.ts +184 -5
  24. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +435 -0
  25. package/dist-types/commands/UpdateProjectionCommand.d.ts +368 -10
  26. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +3 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +176 -25
  29. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  30. package/package.json +1 -1
@@ -15,6 +15,7 @@ const DeleteProjectionCommand_1 = require("./commands/DeleteProjectionCommand");
15
15
  const DeleteProjectionsCategoryCommand_1 = require("./commands/DeleteProjectionsCategoryCommand");
16
16
  const DisableProjectionCommand_1 = require("./commands/DisableProjectionCommand");
17
17
  const EnableProjectionCommand_1 = require("./commands/EnableProjectionCommand");
18
+ const GetAnalysisSettingsCommand_1 = require("./commands/GetAnalysisSettingsCommand");
18
19
  const GetCallCharacteristicsCommand_1 = require("./commands/GetCallCharacteristicsCommand");
19
20
  const GetCallInsightsCommand_1 = require("./commands/GetCallInsightsCommand");
20
21
  const GetCallStateCommand_1 = require("./commands/GetCallStateCommand");
@@ -43,6 +44,7 @@ const ListPlaylistsCommand_1 = require("./commands/ListPlaylistsCommand");
43
44
  const ListProjectionsCommand_1 = require("./commands/ListProjectionsCommand");
44
45
  const ListWatchHistoryCommand_1 = require("./commands/ListWatchHistoryCommand");
45
46
  const PauseProjectionCommand_1 = require("./commands/PauseProjectionCommand");
47
+ const PutAnalysisSettingsCommand_1 = require("./commands/PutAnalysisSettingsCommand");
46
48
  const PutPlaylistItemCommand_1 = require("./commands/PutPlaylistItemCommand");
47
49
  const QueryConversationsCountCommand_1 = require("./commands/QueryConversationsCountCommand");
48
50
  const ScheduleCallSummaryGenerationCommand_1 = require("./commands/ScheduleCallSummaryGenerationCommand");
@@ -71,6 +73,7 @@ const commands = {
71
73
  DeleteProjectionsCategoryCommand: DeleteProjectionsCategoryCommand_1.DeleteProjectionsCategoryCommand,
72
74
  DisableProjectionCommand: DisableProjectionCommand_1.DisableProjectionCommand,
73
75
  EnableProjectionCommand: EnableProjectionCommand_1.EnableProjectionCommand,
76
+ GetAnalysisSettingsCommand: GetAnalysisSettingsCommand_1.GetAnalysisSettingsCommand,
74
77
  GetCallCharacteristicsCommand: GetCallCharacteristicsCommand_1.GetCallCharacteristicsCommand,
75
78
  GetCallInsightsCommand: GetCallInsightsCommand_1.GetCallInsightsCommand,
76
79
  GetCallStateCommand: GetCallStateCommand_1.GetCallStateCommand,
@@ -99,6 +102,7 @@ const commands = {
99
102
  ListProjectionsCommand: ListProjectionsCommand_1.ListProjectionsCommand,
100
103
  ListWatchHistoryCommand: ListWatchHistoryCommand_1.ListWatchHistoryCommand,
101
104
  PauseProjectionCommand: PauseProjectionCommand_1.PauseProjectionCommand,
105
+ PutAnalysisSettingsCommand: PutAnalysisSettingsCommand_1.PutAnalysisSettingsCommand,
102
106
  PutPlaylistItemCommand: PutPlaylistItemCommand_1.PutPlaylistItemCommand,
103
107
  QueryConversationsCountCommand: QueryConversationsCountCommand_1.QueryConversationsCountCommand,
104
108
  ScheduleCallSummaryGenerationCommand: ScheduleCallSummaryGenerationCommand_1.ScheduleCallSummaryGenerationCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAnalysisSettingsCommand = 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 GetAnalysisSettingsCommand 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", "GetAnalysisSettings", {})
15
+ .n("WdaInsightsClient", "GetAnalysisSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAnalysisSettingsCommand)
18
+ .de(Aws_restJson1_1.de_GetAnalysisSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAnalysisSettingsCommand = GetAnalysisSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutAnalysisSettingsCommand = 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 PutAnalysisSettingsCommand 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", "PutAnalysisSettings", {})
15
+ .n("WdaInsightsClient", "PutAnalysisSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_PutAnalysisSettingsCommand)
18
+ .de(Aws_restJson1_1.de_PutAnalysisSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.PutAnalysisSettingsCommand = PutAnalysisSettingsCommand;
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./DeleteProjectionCommand"), exports);
14
14
  tslib_1.__exportStar(require("./DeleteProjectionsCategoryCommand"), exports);
15
15
  tslib_1.__exportStar(require("./DisableProjectionCommand"), exports);
16
16
  tslib_1.__exportStar(require("./EnableProjectionCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetAnalysisSettingsCommand"), exports);
17
18
  tslib_1.__exportStar(require("./GetCallCharacteristicsCommand"), exports);
18
19
  tslib_1.__exportStar(require("./GetCallInsightsCommand"), exports);
19
20
  tslib_1.__exportStar(require("./GetCallStateCommand"), exports);
@@ -42,6 +43,7 @@ tslib_1.__exportStar(require("./ListPlaylistsCommand"), exports);
42
43
  tslib_1.__exportStar(require("./ListProjectionsCommand"), exports);
43
44
  tslib_1.__exportStar(require("./ListWatchHistoryCommand"), exports);
44
45
  tslib_1.__exportStar(require("./PauseProjectionCommand"), exports);
46
+ tslib_1.__exportStar(require("./PutAnalysisSettingsCommand"), exports);
45
47
  tslib_1.__exportStar(require("./PutPlaylistItemCommand"), exports);
46
48
  tslib_1.__exportStar(require("./QueryConversationsCountCommand"), exports);
47
49
  tslib_1.__exportStar(require("./ScheduleCallSummaryGenerationCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = void 0;
4
- exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = void 0;
3
+ exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = void 0;
4
+ exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = void 0;
5
5
  const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
6
6
  class ForbiddenException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
7
7
  name = "ForbiddenException";
@@ -393,9 +393,6 @@ var ProjectionParameter;
393
393
  return visitor._(value.$unknown[0], value.$unknown[1]);
394
394
  };
395
395
  })(ProjectionParameter || (exports.ProjectionParameter = ProjectionParameter = {}));
396
- exports.ProjectionProvider = {
397
- OPENAI: "OPENAI",
398
- };
399
396
  exports.ProjectionStatus = {
400
397
  DISABLED: "DISABLED",
401
398
  ENABLED: "ENABLED",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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_PutPlaylistItemCommand = 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_ListConversationsNestedAggregationsCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsAggregationsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetPlaylistCommand = exports.se_GetDashboardCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceStateCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatStateCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallStateCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_EnableProjectionCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeletePlaylistItemCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = void 0;
4
- exports.de_UpdateDashboardCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = exports.de_PutPlaylistItemCommand = 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_ListConversationsNestedAggregationsCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsAggregationsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetPlaylistCommand = exports.de_GetDashboardCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceStateCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatStateCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallStateCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_EnableProjectionCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeletePlaylistItemCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = exports.de_CreateDashboardCommand = exports.se_WatchCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = void 0;
5
- exports.de_WatchCommand = exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdatePlaylistAccessCommand = exports.de_UpdatePlaylistCommand = exports.de_UpdatePinnedDashboardsCommand = exports.de_UpdateFilterCommand = exports.de_UpdateDashboardAccessCommand = void 0;
3
+ exports.se_UpdateFilterCommand = exports.se_UpdateDashboardAccessCommand = exports.se_UpdateDashboardCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_QueryConversationsCountCommand = exports.se_PutPlaylistItemCommand = exports.se_PutAnalysisSettingsCommand = 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_ListConversationsNestedAggregationsCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsAggregationsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetPlaylistCommand = exports.se_GetDashboardCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceStateCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatStateCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallStateCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_GetAnalysisSettingsCommand = exports.se_EnableProjectionCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeletePlaylistItemCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = void 0;
4
+ exports.de_PutPlaylistItemCommand = exports.de_PutAnalysisSettingsCommand = 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_ListConversationsNestedAggregationsCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsAggregationsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetPlaylistCommand = exports.de_GetDashboardCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceStateCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatStateCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallStateCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_GetAnalysisSettingsCommand = exports.de_EnableProjectionCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeletePlaylistItemCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = exports.de_CreateDashboardCommand = exports.se_WatchCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = exports.se_UpdatePlaylistCommand = exports.se_UpdatePinnedDashboardsCommand = void 0;
5
+ 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 = void 0;
6
6
  const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -83,13 +83,16 @@ const se_CreateProjectionCommand = async (input, context) => {
83
83
  });
84
84
  let body;
85
85
  body = JSON.stringify((0, smithy_client_1.take)(input, {
86
+ 'category': [],
86
87
  'categoryId': [],
87
88
  'conditions': _ => (0, smithy_client_1._json)(_),
88
89
  'description': [],
89
90
  'fields': _ => (0, smithy_client_1._json)(_),
91
+ 'filter': _ => se_ListConversationsFilter(_, context),
92
+ 'group': [],
90
93
  'id': [],
91
94
  'instructions': [],
92
- 'model': _ => (0, smithy_client_1._json)(_),
95
+ 'model': [],
93
96
  'name': [],
94
97
  }));
95
98
  b.m("POST")
@@ -252,6 +255,21 @@ const se_EnableProjectionCommand = async (input, context) => {
252
255
  return b.build();
253
256
  };
254
257
  exports.se_EnableProjectionCommand = se_EnableProjectionCommand;
258
+ const se_GetAnalysisSettingsCommand = async (input, context) => {
259
+ const b = (0, core_2.requestBuilder)(input, context);
260
+ const headers = {};
261
+ b.bp("/v2/insights/analysis/settings");
262
+ const query = (0, smithy_client_1.map)({
263
+ [_c]: [, input[_c]],
264
+ });
265
+ let body;
266
+ b.m("GET")
267
+ .h(headers)
268
+ .q(query)
269
+ .b(body);
270
+ return b.build();
271
+ };
272
+ exports.se_GetAnalysisSettingsCommand = se_GetAnalysisSettingsCommand;
255
273
  const se_GetCallCharacteristicsCommand = async (input, context) => {
256
274
  const b = (0, core_2.requestBuilder)(input, context);
257
275
  const headers = {};
@@ -738,6 +756,28 @@ const se_PauseProjectionCommand = async (input, context) => {
738
756
  return b.build();
739
757
  };
740
758
  exports.se_PauseProjectionCommand = se_PauseProjectionCommand;
759
+ const se_PutAnalysisSettingsCommand = async (input, context) => {
760
+ const b = (0, core_2.requestBuilder)(input, context);
761
+ const headers = {
762
+ 'content-type': 'application/json',
763
+ };
764
+ b.bp("/v2/insights/analysis/settings");
765
+ const query = (0, smithy_client_1.map)({
766
+ [_c]: [, input[_c]],
767
+ });
768
+ let body;
769
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
770
+ 'defaultModel': [],
771
+ 'disabled': [],
772
+ 'filter': _ => se_ListConversationsFilter(_, context),
773
+ }));
774
+ b.m("PUT")
775
+ .h(headers)
776
+ .q(query)
777
+ .b(body);
778
+ return b.build();
779
+ };
780
+ exports.se_PutAnalysisSettingsCommand = se_PutAnalysisSettingsCommand;
741
781
  const se_PutPlaylistItemCommand = async (input, context) => {
742
782
  const b = (0, core_2.requestBuilder)(input, context);
743
783
  const headers = {
@@ -958,12 +998,15 @@ const se_UpdateProjectionCommand = async (input, context) => {
958
998
  });
959
999
  let body;
960
1000
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1001
+ 'category': [],
961
1002
  'categoryId': [],
962
1003
  'conditions': _ => (0, smithy_client_1._json)(_),
963
1004
  'description': [],
964
1005
  'fields': _ => (0, smithy_client_1._json)(_),
1006
+ 'filter': _ => se_ListConversationsFilter(_, context),
1007
+ 'group': [],
965
1008
  'instructions': [],
966
- 'model': _ => (0, smithy_client_1._json)(_),
1009
+ 'model': [],
967
1010
  'name': [],
968
1011
  }));
969
1012
  b.m("PUT")
@@ -1070,7 +1113,7 @@ const de_CreateProjectionCommand = async (output, context) => {
1070
1113
  });
1071
1114
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1072
1115
  const doc = (0, smithy_client_1.take)(data, {
1073
- 'projection': smithy_client_1._json,
1116
+ 'projection': _ => de_Projection(_, context),
1074
1117
  });
1075
1118
  Object.assign(contents, doc);
1076
1119
  return contents;
@@ -1166,7 +1209,7 @@ const de_DisableProjectionCommand = async (output, context) => {
1166
1209
  });
1167
1210
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1168
1211
  const doc = (0, smithy_client_1.take)(data, {
1169
- 'projection': smithy_client_1._json,
1212
+ 'projection': _ => de_Projection(_, context),
1170
1213
  });
1171
1214
  Object.assign(contents, doc);
1172
1215
  return contents;
@@ -1181,12 +1224,27 @@ const de_EnableProjectionCommand = async (output, context) => {
1181
1224
  });
1182
1225
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1183
1226
  const doc = (0, smithy_client_1.take)(data, {
1184
- 'projection': smithy_client_1._json,
1227
+ 'projection': _ => de_Projection(_, context),
1185
1228
  });
1186
1229
  Object.assign(contents, doc);
1187
1230
  return contents;
1188
1231
  };
1189
1232
  exports.de_EnableProjectionCommand = de_EnableProjectionCommand;
1233
+ const de_GetAnalysisSettingsCommand = async (output, context) => {
1234
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1235
+ return de_CommandError(output, context);
1236
+ }
1237
+ const contents = (0, smithy_client_1.map)({
1238
+ $metadata: deserializeMetadata(output),
1239
+ });
1240
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1241
+ const doc = (0, smithy_client_1.take)(data, {
1242
+ 'settings': _ => de_AnalysisSettings(_, context),
1243
+ });
1244
+ Object.assign(contents, doc);
1245
+ return contents;
1246
+ };
1247
+ exports.de_GetAnalysisSettingsCommand = de_GetAnalysisSettingsCommand;
1190
1248
  const de_GetCallCharacteristicsCommand = async (output, context) => {
1191
1249
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1192
1250
  return de_CommandError(output, context);
@@ -1413,7 +1471,7 @@ const de_GetProjectionCommand = async (output, context) => {
1413
1471
  });
1414
1472
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1415
1473
  const doc = (0, smithy_client_1.take)(data, {
1416
- 'projection': smithy_client_1._json,
1474
+ 'projection': _ => de_Projection(_, context),
1417
1475
  });
1418
1476
  Object.assign(contents, doc);
1419
1477
  return contents;
@@ -1586,7 +1644,7 @@ const de_ListProjectionsCommand = async (output, context) => {
1586
1644
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1587
1645
  const doc = (0, smithy_client_1.take)(data, {
1588
1646
  'categories': smithy_client_1._json,
1589
- 'projections': smithy_client_1._json,
1647
+ 'projections': _ => de_ProjectionsList(_, context),
1590
1648
  });
1591
1649
  Object.assign(contents, doc);
1592
1650
  return contents;
@@ -1618,12 +1676,27 @@ const de_PauseProjectionCommand = async (output, context) => {
1618
1676
  });
1619
1677
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1620
1678
  const doc = (0, smithy_client_1.take)(data, {
1621
- 'projection': smithy_client_1._json,
1679
+ 'projection': _ => de_Projection(_, context),
1622
1680
  });
1623
1681
  Object.assign(contents, doc);
1624
1682
  return contents;
1625
1683
  };
1626
1684
  exports.de_PauseProjectionCommand = de_PauseProjectionCommand;
1685
+ const de_PutAnalysisSettingsCommand = async (output, context) => {
1686
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1687
+ return de_CommandError(output, context);
1688
+ }
1689
+ const contents = (0, smithy_client_1.map)({
1690
+ $metadata: deserializeMetadata(output),
1691
+ });
1692
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1693
+ const doc = (0, smithy_client_1.take)(data, {
1694
+ 'settings': _ => de_AnalysisSettings(_, context),
1695
+ });
1696
+ Object.assign(contents, doc);
1697
+ return contents;
1698
+ };
1699
+ exports.de_PutAnalysisSettingsCommand = de_PutAnalysisSettingsCommand;
1627
1700
  const de_PutPlaylistItemCommand = async (output, context) => {
1628
1701
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1629
1702
  return de_CommandError(output, context);
@@ -1767,7 +1840,7 @@ const de_UpdateProjectionCommand = async (output, context) => {
1767
1840
  });
1768
1841
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1769
1842
  const doc = (0, smithy_client_1.take)(data, {
1770
- 'projection': smithy_client_1._json,
1843
+ 'projection': _ => de_Projection(_, context),
1771
1844
  });
1772
1845
  Object.assign(contents, doc);
1773
1846
  return contents;
@@ -2005,6 +2078,13 @@ const de_AggregationResult = (output, context) => {
2005
2078
  'buckets': (_) => de_AggregationBucketsList(_, context),
2006
2079
  });
2007
2080
  };
2081
+ const de_AnalysisSettings = (output, context) => {
2082
+ return (0, smithy_client_1.take)(output, {
2083
+ 'defaultModel': smithy_client_1.expectString,
2084
+ 'disabled': smithy_client_1.expectBoolean,
2085
+ 'filter': (_) => de_ListConversationsFilter(_, context),
2086
+ });
2087
+ };
2008
2088
  const de_Dashboard = (output, context) => {
2009
2089
  return (0, smithy_client_1.take)(output, {
2010
2090
  'access': smithy_client_1._json,
@@ -2256,6 +2336,26 @@ const de_PlaylistItemsList = (output, context) => {
2256
2336
  });
2257
2337
  return retVal;
2258
2338
  };
2339
+ const de_Projection = (output, context) => {
2340
+ return (0, smithy_client_1.take)(output, {
2341
+ 'category': smithy_client_1.expectString,
2342
+ 'categoryId': smithy_client_1.expectString,
2343
+ 'conditions': smithy_client_1._json,
2344
+ 'createdAt': smithy_client_1.expectString,
2345
+ 'description': smithy_client_1.expectString,
2346
+ 'fields': smithy_client_1._json,
2347
+ 'filter': (_) => de_ListConversationsFilter(_, context),
2348
+ 'group': smithy_client_1.expectString,
2349
+ 'id': smithy_client_1.expectString,
2350
+ 'instructions': smithy_client_1.expectString,
2351
+ 'metadata': smithy_client_1._json,
2352
+ 'model': smithy_client_1.expectString,
2353
+ 'name': smithy_client_1.expectString,
2354
+ 'status': smithy_client_1.expectString,
2355
+ 'updatedAt': smithy_client_1.expectString,
2356
+ 'version': smithy_client_1.expectInt32,
2357
+ });
2358
+ };
2259
2359
  const de_ProjectionInsights = (output, context) => {
2260
2360
  return (0, smithy_client_1.take)(output, {
2261
2361
  'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
@@ -2285,6 +2385,12 @@ const de_ProjectionInsightsList = (output, context) => {
2285
2385
  });
2286
2386
  return retVal;
2287
2387
  };
2388
+ const de_ProjectionsList = (output, context) => {
2389
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2390
+ return de_Projection(entry, context);
2391
+ });
2392
+ return retVal;
2393
+ };
2288
2394
  const deserializeMetadata = (output) => ({
2289
2395
  httpStatusCode: output.statusCode,
2290
2396
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -12,6 +12,7 @@ import { DeleteProjectionCommand, } from "./commands/DeleteProjectionCommand";
12
12
  import { DeleteProjectionsCategoryCommand, } from "./commands/DeleteProjectionsCategoryCommand";
13
13
  import { DisableProjectionCommand, } from "./commands/DisableProjectionCommand";
14
14
  import { EnableProjectionCommand, } from "./commands/EnableProjectionCommand";
15
+ import { GetAnalysisSettingsCommand, } from "./commands/GetAnalysisSettingsCommand";
15
16
  import { GetCallCharacteristicsCommand, } from "./commands/GetCallCharacteristicsCommand";
16
17
  import { GetCallInsightsCommand, } from "./commands/GetCallInsightsCommand";
17
18
  import { GetCallStateCommand, } from "./commands/GetCallStateCommand";
@@ -40,6 +41,7 @@ import { ListPlaylistsCommand, } from "./commands/ListPlaylistsCommand";
40
41
  import { ListProjectionsCommand, } from "./commands/ListProjectionsCommand";
41
42
  import { ListWatchHistoryCommand, } from "./commands/ListWatchHistoryCommand";
42
43
  import { PauseProjectionCommand, } from "./commands/PauseProjectionCommand";
44
+ import { PutAnalysisSettingsCommand, } from "./commands/PutAnalysisSettingsCommand";
43
45
  import { PutPlaylistItemCommand, } from "./commands/PutPlaylistItemCommand";
44
46
  import { QueryConversationsCountCommand, } from "./commands/QueryConversationsCountCommand";
45
47
  import { ScheduleCallSummaryGenerationCommand, } from "./commands/ScheduleCallSummaryGenerationCommand";
@@ -68,6 +70,7 @@ const commands = {
68
70
  DeleteProjectionsCategoryCommand,
69
71
  DisableProjectionCommand,
70
72
  EnableProjectionCommand,
73
+ GetAnalysisSettingsCommand,
71
74
  GetCallCharacteristicsCommand,
72
75
  GetCallInsightsCommand,
73
76
  GetCallStateCommand,
@@ -96,6 +99,7 @@ const commands = {
96
99
  ListProjectionsCommand,
97
100
  ListWatchHistoryCommand,
98
101
  PauseProjectionCommand,
102
+ PutAnalysisSettingsCommand,
99
103
  PutPlaylistItemCommand,
100
104
  QueryConversationsCountCommand,
101
105
  ScheduleCallSummaryGenerationCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetAnalysisSettingsCommand, se_GetAnalysisSettingsCommand, } 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 GetAnalysisSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("WdaInsights", "GetAnalysisSettings", {})
12
+ .n("WdaInsightsClient", "GetAnalysisSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetAnalysisSettingsCommand)
15
+ .de(de_GetAnalysisSettingsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_PutAnalysisSettingsCommand, se_PutAnalysisSettingsCommand, } 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 PutAnalysisSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("WdaInsights", "PutAnalysisSettings", {})
12
+ .n("WdaInsightsClient", "PutAnalysisSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_PutAnalysisSettingsCommand)
15
+ .de(de_PutAnalysisSettingsCommand)
16
+ .build() {
17
+ }
@@ -11,6 +11,7 @@ export * from "./DeleteProjectionCommand";
11
11
  export * from "./DeleteProjectionsCategoryCommand";
12
12
  export * from "./DisableProjectionCommand";
13
13
  export * from "./EnableProjectionCommand";
14
+ export * from "./GetAnalysisSettingsCommand";
14
15
  export * from "./GetCallCharacteristicsCommand";
15
16
  export * from "./GetCallInsightsCommand";
16
17
  export * from "./GetCallStateCommand";
@@ -39,6 +40,7 @@ export * from "./ListPlaylistsCommand";
39
40
  export * from "./ListProjectionsCommand";
40
41
  export * from "./ListWatchHistoryCommand";
41
42
  export * from "./PauseProjectionCommand";
43
+ export * from "./PutAnalysisSettingsCommand";
42
44
  export * from "./PutPlaylistItemCommand";
43
45
  export * from "./QueryConversationsCountCommand";
44
46
  export * from "./ScheduleCallSummaryGenerationCommand";
@@ -386,9 +386,6 @@ export var ProjectionParameter;
386
386
  return visitor._(value.$unknown[0], value.$unknown[1]);
387
387
  };
388
388
  })(ProjectionParameter || (ProjectionParameter = {}));
389
- export const ProjectionProvider = {
390
- OPENAI: "OPENAI",
391
- };
392
389
  export const ProjectionStatus = {
393
390
  DISABLED: "DISABLED",
394
391
  ENABLED: "ENABLED",