@wildix/wda-insights-client 1.1.30 → 1.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/WdaInsights.js +4 -6
- package/dist-cjs/commands/{CreateProjectionsCategoryCommand.js → GetAnalysisSettingsCommand.js} +7 -7
- package/dist-cjs/commands/{DeleteProjectionsCategoryCommand.js → PutAnalysisSettingsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +2 -3
- package/dist-cjs/models/models_0.js +2 -5
- package/dist-cjs/protocols/Aws_restJson1.js +109 -106
- package/dist-es/WdaInsights.js +4 -6
- package/dist-es/commands/GetAnalysisSettingsCommand.js +17 -0
- package/dist-es/commands/PutAnalysisSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +2 -3
- package/dist-es/models/models_0.js +0 -3
- package/dist-es/protocols/Aws_restJson1.js +98 -93
- package/dist-types/WdaInsights.d.ts +16 -21
- package/dist-types/WdaInsightsClient.d.ts +4 -5
- package/dist-types/commands/CreateProjectionCommand.d.ts +366 -10
- package/dist-types/commands/DisableProjectionCommand.d.ts +183 -5
- package/dist-types/commands/EnableProjectionCommand.d.ts +183 -5
- package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +256 -0
- package/dist-types/commands/GetProjectionCommand.d.ts +183 -5
- package/dist-types/commands/ListProjectionsCommand.d.ts +184 -12
- package/dist-types/commands/PauseProjectionCommand.d.ts +183 -5
- package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +435 -0
- package/dist-types/commands/UpdateProjectionCommand.d.ts +366 -10
- package/dist-types/commands/index.d.ts +2 -3
- package/dist-types/models/models_0.d.ts +150 -84
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -27
- package/dist-types/runtimeConfig.browser.d.ts +1 -6
- package/dist-types/runtimeConfig.d.ts +1 -6
- package/dist-types/runtimeConfig.native.d.ts +1 -6
- package/package.json +1 -1
- package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +0 -21
- package/dist-es/commands/CreateProjectionsCategoryCommand.js +0 -17
- package/dist-es/commands/DeleteProjectionsCategoryCommand.js +0 -17
- package/dist-es/commands/UpdateProjectionsCategoryCommand.js +0 -17
- package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +0 -81
- package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +0 -75
- package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +0 -83
package/dist-cjs/WdaInsights.js
CHANGED
|
@@ -6,15 +6,14 @@ const CreateDashboardCommand_1 = require("./commands/CreateDashboardCommand");
|
|
|
6
6
|
const CreateFilterCommand_1 = require("./commands/CreateFilterCommand");
|
|
7
7
|
const CreatePlaylistCommand_1 = require("./commands/CreatePlaylistCommand");
|
|
8
8
|
const CreateProjectionCommand_1 = require("./commands/CreateProjectionCommand");
|
|
9
|
-
const CreateProjectionsCategoryCommand_1 = require("./commands/CreateProjectionsCategoryCommand");
|
|
10
9
|
const DeleteDashboardCommand_1 = require("./commands/DeleteDashboardCommand");
|
|
11
10
|
const DeleteFilterCommand_1 = require("./commands/DeleteFilterCommand");
|
|
12
11
|
const DeletePlaylistCommand_1 = require("./commands/DeletePlaylistCommand");
|
|
13
12
|
const DeletePlaylistItemCommand_1 = require("./commands/DeletePlaylistItemCommand");
|
|
14
13
|
const DeleteProjectionCommand_1 = require("./commands/DeleteProjectionCommand");
|
|
15
|
-
const DeleteProjectionsCategoryCommand_1 = require("./commands/DeleteProjectionsCategoryCommand");
|
|
16
14
|
const DisableProjectionCommand_1 = require("./commands/DisableProjectionCommand");
|
|
17
15
|
const EnableProjectionCommand_1 = require("./commands/EnableProjectionCommand");
|
|
16
|
+
const GetAnalysisSettingsCommand_1 = require("./commands/GetAnalysisSettingsCommand");
|
|
18
17
|
const GetCallCharacteristicsCommand_1 = require("./commands/GetCallCharacteristicsCommand");
|
|
19
18
|
const GetCallInsightsCommand_1 = require("./commands/GetCallInsightsCommand");
|
|
20
19
|
const GetCallStateCommand_1 = require("./commands/GetCallStateCommand");
|
|
@@ -43,6 +42,7 @@ const ListPlaylistsCommand_1 = require("./commands/ListPlaylistsCommand");
|
|
|
43
42
|
const ListProjectionsCommand_1 = require("./commands/ListProjectionsCommand");
|
|
44
43
|
const ListWatchHistoryCommand_1 = require("./commands/ListWatchHistoryCommand");
|
|
45
44
|
const PauseProjectionCommand_1 = require("./commands/PauseProjectionCommand");
|
|
45
|
+
const PutAnalysisSettingsCommand_1 = require("./commands/PutAnalysisSettingsCommand");
|
|
46
46
|
const PutPlaylistItemCommand_1 = require("./commands/PutPlaylistItemCommand");
|
|
47
47
|
const QueryConversationsCountCommand_1 = require("./commands/QueryConversationsCountCommand");
|
|
48
48
|
const ScheduleCallSummaryGenerationCommand_1 = require("./commands/ScheduleCallSummaryGenerationCommand");
|
|
@@ -54,7 +54,6 @@ const UpdatePinnedDashboardsCommand_1 = require("./commands/UpdatePinnedDashboar
|
|
|
54
54
|
const UpdatePlaylistAccessCommand_1 = require("./commands/UpdatePlaylistAccessCommand");
|
|
55
55
|
const UpdatePlaylistCommand_1 = require("./commands/UpdatePlaylistCommand");
|
|
56
56
|
const UpdateProjectionCommand_1 = require("./commands/UpdateProjectionCommand");
|
|
57
|
-
const UpdateProjectionsCategoryCommand_1 = require("./commands/UpdateProjectionsCategoryCommand");
|
|
58
57
|
const WatchCommand_1 = require("./commands/WatchCommand");
|
|
59
58
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
60
59
|
const commands = {
|
|
@@ -62,15 +61,14 @@ const commands = {
|
|
|
62
61
|
CreateFilterCommand: CreateFilterCommand_1.CreateFilterCommand,
|
|
63
62
|
CreatePlaylistCommand: CreatePlaylistCommand_1.CreatePlaylistCommand,
|
|
64
63
|
CreateProjectionCommand: CreateProjectionCommand_1.CreateProjectionCommand,
|
|
65
|
-
CreateProjectionsCategoryCommand: CreateProjectionsCategoryCommand_1.CreateProjectionsCategoryCommand,
|
|
66
64
|
DeleteDashboardCommand: DeleteDashboardCommand_1.DeleteDashboardCommand,
|
|
67
65
|
DeleteFilterCommand: DeleteFilterCommand_1.DeleteFilterCommand,
|
|
68
66
|
DeletePlaylistCommand: DeletePlaylistCommand_1.DeletePlaylistCommand,
|
|
69
67
|
DeletePlaylistItemCommand: DeletePlaylistItemCommand_1.DeletePlaylistItemCommand,
|
|
70
68
|
DeleteProjectionCommand: DeleteProjectionCommand_1.DeleteProjectionCommand,
|
|
71
|
-
DeleteProjectionsCategoryCommand: DeleteProjectionsCategoryCommand_1.DeleteProjectionsCategoryCommand,
|
|
72
69
|
DisableProjectionCommand: DisableProjectionCommand_1.DisableProjectionCommand,
|
|
73
70
|
EnableProjectionCommand: EnableProjectionCommand_1.EnableProjectionCommand,
|
|
71
|
+
GetAnalysisSettingsCommand: GetAnalysisSettingsCommand_1.GetAnalysisSettingsCommand,
|
|
74
72
|
GetCallCharacteristicsCommand: GetCallCharacteristicsCommand_1.GetCallCharacteristicsCommand,
|
|
75
73
|
GetCallInsightsCommand: GetCallInsightsCommand_1.GetCallInsightsCommand,
|
|
76
74
|
GetCallStateCommand: GetCallStateCommand_1.GetCallStateCommand,
|
|
@@ -99,6 +97,7 @@ const commands = {
|
|
|
99
97
|
ListProjectionsCommand: ListProjectionsCommand_1.ListProjectionsCommand,
|
|
100
98
|
ListWatchHistoryCommand: ListWatchHistoryCommand_1.ListWatchHistoryCommand,
|
|
101
99
|
PauseProjectionCommand: PauseProjectionCommand_1.PauseProjectionCommand,
|
|
100
|
+
PutAnalysisSettingsCommand: PutAnalysisSettingsCommand_1.PutAnalysisSettingsCommand,
|
|
102
101
|
PutPlaylistItemCommand: PutPlaylistItemCommand_1.PutPlaylistItemCommand,
|
|
103
102
|
QueryConversationsCountCommand: QueryConversationsCountCommand_1.QueryConversationsCountCommand,
|
|
104
103
|
ScheduleCallSummaryGenerationCommand: ScheduleCallSummaryGenerationCommand_1.ScheduleCallSummaryGenerationCommand,
|
|
@@ -110,7 +109,6 @@ const commands = {
|
|
|
110
109
|
UpdatePlaylistCommand: UpdatePlaylistCommand_1.UpdatePlaylistCommand,
|
|
111
110
|
UpdatePlaylistAccessCommand: UpdatePlaylistAccessCommand_1.UpdatePlaylistAccessCommand,
|
|
112
111
|
UpdateProjectionCommand: UpdateProjectionCommand_1.UpdateProjectionCommand,
|
|
113
|
-
UpdateProjectionsCategoryCommand: UpdateProjectionsCategoryCommand_1.UpdateProjectionsCategoryCommand,
|
|
114
112
|
WatchCommand: WatchCommand_1.WatchCommand,
|
|
115
113
|
};
|
|
116
114
|
class WdaInsights extends WdaInsightsClient_1.WdaInsightsClient {
|
package/dist-cjs/commands/{CreateProjectionsCategoryCommand.js → GetAnalysisSettingsCommand.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetAnalysisSettingsCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class
|
|
8
|
+
class GetAnalysisSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [
|
|
11
11
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
12
|
];
|
|
13
13
|
})
|
|
14
|
-
.s("WdaInsights", "
|
|
15
|
-
.n("WdaInsightsClient", "
|
|
14
|
+
.s("WdaInsights", "GetAnalysisSettings", {})
|
|
15
|
+
.n("WdaInsightsClient", "GetAnalysisSettingsCommand")
|
|
16
16
|
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.
|
|
18
|
-
.de(Aws_restJson1_1.
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetAnalysisSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetAnalysisSettingsCommand)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.GetAnalysisSettingsCommand = GetAnalysisSettingsCommand;
|
package/dist-cjs/commands/{DeleteProjectionsCategoryCommand.js → PutAnalysisSettingsCommand.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutAnalysisSettingsCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class
|
|
8
|
+
class PutAnalysisSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [
|
|
11
11
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
12
|
];
|
|
13
13
|
})
|
|
14
|
-
.s("WdaInsights", "
|
|
15
|
-
.n("WdaInsightsClient", "
|
|
14
|
+
.s("WdaInsights", "PutAnalysisSettings", {})
|
|
15
|
+
.n("WdaInsightsClient", "PutAnalysisSettingsCommand")
|
|
16
16
|
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.
|
|
18
|
-
.de(Aws_restJson1_1.
|
|
17
|
+
.ser(Aws_restJson1_1.se_PutAnalysisSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PutAnalysisSettingsCommand)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.PutAnalysisSettingsCommand = PutAnalysisSettingsCommand;
|
|
@@ -5,15 +5,14 @@ tslib_1.__exportStar(require("./CreateDashboardCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CreateFilterCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreatePlaylistCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateProjectionCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./CreateProjectionsCategoryCommand"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./DeleteDashboardCommand"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./DeleteFilterCommand"), exports);
|
|
11
10
|
tslib_1.__exportStar(require("./DeletePlaylistCommand"), exports);
|
|
12
11
|
tslib_1.__exportStar(require("./DeletePlaylistItemCommand"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./DeleteProjectionCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./DeleteProjectionsCategoryCommand"), exports);
|
|
15
13
|
tslib_1.__exportStar(require("./DisableProjectionCommand"), exports);
|
|
16
14
|
tslib_1.__exportStar(require("./EnableProjectionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetAnalysisSettingsCommand"), exports);
|
|
17
16
|
tslib_1.__exportStar(require("./GetCallCharacteristicsCommand"), exports);
|
|
18
17
|
tslib_1.__exportStar(require("./GetCallInsightsCommand"), exports);
|
|
19
18
|
tslib_1.__exportStar(require("./GetCallStateCommand"), exports);
|
|
@@ -42,6 +41,7 @@ tslib_1.__exportStar(require("./ListPlaylistsCommand"), exports);
|
|
|
42
41
|
tslib_1.__exportStar(require("./ListProjectionsCommand"), exports);
|
|
43
42
|
tslib_1.__exportStar(require("./ListWatchHistoryCommand"), exports);
|
|
44
43
|
tslib_1.__exportStar(require("./PauseProjectionCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./PutAnalysisSettingsCommand"), exports);
|
|
45
45
|
tslib_1.__exportStar(require("./PutPlaylistItemCommand"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./QueryConversationsCountCommand"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./ScheduleCallSummaryGenerationCommand"), exports);
|
|
@@ -53,5 +53,4 @@ tslib_1.__exportStar(require("./UpdatePinnedDashboardsCommand"), exports);
|
|
|
53
53
|
tslib_1.__exportStar(require("./UpdatePlaylistCommand"), exports);
|
|
54
54
|
tslib_1.__exportStar(require("./UpdatePlaylistAccessCommand"), exports);
|
|
55
55
|
tslib_1.__exportStar(require("./UpdateProjectionCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./UpdateProjectionsCategoryCommand"), exports);
|
|
57
56
|
tslib_1.__exportStar(require("./WatchCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason =
|
|
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.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallFlowTranscriptionStatus = 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";
|
|
@@ -396,9 +396,6 @@ var ProjectionParameter;
|
|
|
396
396
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
397
397
|
};
|
|
398
398
|
})(ProjectionParameter || (exports.ProjectionParameter = ProjectionParameter = {}));
|
|
399
|
-
exports.ProjectionProvider = {
|
|
400
|
-
OPENAI: "OPENAI",
|
|
401
|
-
};
|
|
402
399
|
exports.ProjectionStatus = {
|
|
403
400
|
DISABLED: "DISABLED",
|
|
404
401
|
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.
|
|
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.
|
|
5
|
-
exports.de_WatchCommand = exports.
|
|
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_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_DeleteProjectionCommand = exports.se_DeletePlaylistItemCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = void 0;
|
|
4
|
+
exports.de_UpdateDashboardAccessCommand = exports.de_UpdateDashboardCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = 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_DeleteProjectionCommand = exports.de_DeletePlaylistItemCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = exports.de_CreateDashboardCommand = exports.se_WatchCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = void 0;
|
|
5
|
+
exports.de_WatchCommand = exports.de_UpdateProjectionCommand = exports.de_UpdatePlaylistAccessCommand = exports.de_UpdatePlaylistCommand = exports.de_UpdatePinnedDashboardsCommand = exports.de_UpdateFilterCommand = 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,15 @@ const se_CreateProjectionCommand = async (input, context) => {
|
|
|
83
83
|
});
|
|
84
84
|
let body;
|
|
85
85
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
86
|
-
'
|
|
86
|
+
'category': [],
|
|
87
87
|
'conditions': _ => (0, smithy_client_1._json)(_),
|
|
88
88
|
'description': [],
|
|
89
89
|
'fields': _ => (0, smithy_client_1._json)(_),
|
|
90
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
91
|
+
'group': [],
|
|
90
92
|
'id': [],
|
|
91
93
|
'instructions': [],
|
|
92
|
-
'model':
|
|
94
|
+
'model': [],
|
|
93
95
|
'name': [],
|
|
94
96
|
}));
|
|
95
97
|
b.m("POST")
|
|
@@ -99,27 +101,6 @@ const se_CreateProjectionCommand = async (input, context) => {
|
|
|
99
101
|
return b.build();
|
|
100
102
|
};
|
|
101
103
|
exports.se_CreateProjectionCommand = se_CreateProjectionCommand;
|
|
102
|
-
const se_CreateProjectionsCategoryCommand = async (input, context) => {
|
|
103
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
104
|
-
const headers = {
|
|
105
|
-
'content-type': 'application/json',
|
|
106
|
-
};
|
|
107
|
-
b.bp("/v2/insights/projections-categories");
|
|
108
|
-
const query = (0, smithy_client_1.map)({
|
|
109
|
-
[_c]: [, input[_c]],
|
|
110
|
-
});
|
|
111
|
-
let body;
|
|
112
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
113
|
-
'id': [],
|
|
114
|
-
'name': [],
|
|
115
|
-
}));
|
|
116
|
-
b.m("POST")
|
|
117
|
-
.h(headers)
|
|
118
|
-
.q(query)
|
|
119
|
-
.b(body);
|
|
120
|
-
return b.build();
|
|
121
|
-
};
|
|
122
|
-
exports.se_CreateProjectionsCategoryCommand = se_CreateProjectionsCategoryCommand;
|
|
123
104
|
const se_DeleteDashboardCommand = async (input, context) => {
|
|
124
105
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
125
106
|
const headers = {};
|
|
@@ -204,26 +185,26 @@ const se_DeleteProjectionCommand = async (input, context) => {
|
|
|
204
185
|
return b.build();
|
|
205
186
|
};
|
|
206
187
|
exports.se_DeleteProjectionCommand = se_DeleteProjectionCommand;
|
|
207
|
-
const
|
|
188
|
+
const se_DisableProjectionCommand = async (input, context) => {
|
|
208
189
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
209
190
|
const headers = {};
|
|
210
|
-
b.bp("/v2/insights/projections
|
|
191
|
+
b.bp("/v2/insights/projections/{id}/disable");
|
|
211
192
|
b.p('id', () => input.id, '{id}', false);
|
|
212
193
|
const query = (0, smithy_client_1.map)({
|
|
213
194
|
[_c]: [, input[_c]],
|
|
214
195
|
});
|
|
215
196
|
let body;
|
|
216
|
-
b.m("
|
|
197
|
+
b.m("PATCH")
|
|
217
198
|
.h(headers)
|
|
218
199
|
.q(query)
|
|
219
200
|
.b(body);
|
|
220
201
|
return b.build();
|
|
221
202
|
};
|
|
222
|
-
exports.
|
|
223
|
-
const
|
|
203
|
+
exports.se_DisableProjectionCommand = se_DisableProjectionCommand;
|
|
204
|
+
const se_EnableProjectionCommand = async (input, context) => {
|
|
224
205
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
225
206
|
const headers = {};
|
|
226
|
-
b.bp("/v2/insights/projections/{id}/
|
|
207
|
+
b.bp("/v2/insights/projections/{id}/enable");
|
|
227
208
|
b.p('id', () => input.id, '{id}', false);
|
|
228
209
|
const query = (0, smithy_client_1.map)({
|
|
229
210
|
[_c]: [, input[_c]],
|
|
@@ -235,23 +216,22 @@ const se_DisableProjectionCommand = async (input, context) => {
|
|
|
235
216
|
.b(body);
|
|
236
217
|
return b.build();
|
|
237
218
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
219
|
+
exports.se_EnableProjectionCommand = se_EnableProjectionCommand;
|
|
220
|
+
const se_GetAnalysisSettingsCommand = async (input, context) => {
|
|
240
221
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
241
222
|
const headers = {};
|
|
242
|
-
b.bp("/v2/insights/
|
|
243
|
-
b.p('id', () => input.id, '{id}', false);
|
|
223
|
+
b.bp("/v2/insights/analysis/settings");
|
|
244
224
|
const query = (0, smithy_client_1.map)({
|
|
245
225
|
[_c]: [, input[_c]],
|
|
246
226
|
});
|
|
247
227
|
let body;
|
|
248
|
-
b.m("
|
|
228
|
+
b.m("GET")
|
|
249
229
|
.h(headers)
|
|
250
230
|
.q(query)
|
|
251
231
|
.b(body);
|
|
252
232
|
return b.build();
|
|
253
233
|
};
|
|
254
|
-
exports.
|
|
234
|
+
exports.se_GetAnalysisSettingsCommand = se_GetAnalysisSettingsCommand;
|
|
255
235
|
const se_GetCallCharacteristicsCommand = async (input, context) => {
|
|
256
236
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
257
237
|
const headers = {};
|
|
@@ -738,6 +718,28 @@ const se_PauseProjectionCommand = async (input, context) => {
|
|
|
738
718
|
return b.build();
|
|
739
719
|
};
|
|
740
720
|
exports.se_PauseProjectionCommand = se_PauseProjectionCommand;
|
|
721
|
+
const se_PutAnalysisSettingsCommand = async (input, context) => {
|
|
722
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
723
|
+
const headers = {
|
|
724
|
+
'content-type': 'application/json',
|
|
725
|
+
};
|
|
726
|
+
b.bp("/v2/insights/analysis/settings");
|
|
727
|
+
const query = (0, smithy_client_1.map)({
|
|
728
|
+
[_c]: [, input[_c]],
|
|
729
|
+
});
|
|
730
|
+
let body;
|
|
731
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
732
|
+
'defaultModel': [],
|
|
733
|
+
'disabled': [],
|
|
734
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
735
|
+
}));
|
|
736
|
+
b.m("PUT")
|
|
737
|
+
.h(headers)
|
|
738
|
+
.q(query)
|
|
739
|
+
.b(body);
|
|
740
|
+
return b.build();
|
|
741
|
+
};
|
|
742
|
+
exports.se_PutAnalysisSettingsCommand = se_PutAnalysisSettingsCommand;
|
|
741
743
|
const se_PutPlaylistItemCommand = async (input, context) => {
|
|
742
744
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
743
745
|
const headers = {
|
|
@@ -958,12 +960,14 @@ const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
958
960
|
});
|
|
959
961
|
let body;
|
|
960
962
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
961
|
-
'
|
|
963
|
+
'category': [],
|
|
962
964
|
'conditions': _ => (0, smithy_client_1._json)(_),
|
|
963
965
|
'description': [],
|
|
964
966
|
'fields': _ => (0, smithy_client_1._json)(_),
|
|
967
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
968
|
+
'group': [],
|
|
965
969
|
'instructions': [],
|
|
966
|
-
'model':
|
|
970
|
+
'model': [],
|
|
967
971
|
'name': [],
|
|
968
972
|
}));
|
|
969
973
|
b.m("PUT")
|
|
@@ -973,27 +977,6 @@ const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
973
977
|
return b.build();
|
|
974
978
|
};
|
|
975
979
|
exports.se_UpdateProjectionCommand = se_UpdateProjectionCommand;
|
|
976
|
-
const se_UpdateProjectionsCategoryCommand = async (input, context) => {
|
|
977
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
978
|
-
const headers = {
|
|
979
|
-
'content-type': 'application/json',
|
|
980
|
-
};
|
|
981
|
-
b.bp("/v2/insights/projections-categories/{id}");
|
|
982
|
-
b.p('id', () => input.id, '{id}', false);
|
|
983
|
-
const query = (0, smithy_client_1.map)({
|
|
984
|
-
[_c]: [, input[_c]],
|
|
985
|
-
});
|
|
986
|
-
let body;
|
|
987
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
988
|
-
'name': [],
|
|
989
|
-
}));
|
|
990
|
-
b.m("PUT")
|
|
991
|
-
.h(headers)
|
|
992
|
-
.q(query)
|
|
993
|
-
.b(body);
|
|
994
|
-
return b.build();
|
|
995
|
-
};
|
|
996
|
-
exports.se_UpdateProjectionsCategoryCommand = se_UpdateProjectionsCategoryCommand;
|
|
997
980
|
const se_WatchCommand = async (input, context) => {
|
|
998
981
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
999
982
|
const headers = {
|
|
@@ -1070,27 +1053,12 @@ const de_CreateProjectionCommand = async (output, context) => {
|
|
|
1070
1053
|
});
|
|
1071
1054
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1072
1055
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1073
|
-
'projection':
|
|
1056
|
+
'projection': _ => de_Projection(_, context),
|
|
1074
1057
|
});
|
|
1075
1058
|
Object.assign(contents, doc);
|
|
1076
1059
|
return contents;
|
|
1077
1060
|
};
|
|
1078
1061
|
exports.de_CreateProjectionCommand = de_CreateProjectionCommand;
|
|
1079
|
-
const de_CreateProjectionsCategoryCommand = async (output, context) => {
|
|
1080
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
-
return de_CommandError(output, context);
|
|
1082
|
-
}
|
|
1083
|
-
const contents = (0, smithy_client_1.map)({
|
|
1084
|
-
$metadata: deserializeMetadata(output),
|
|
1085
|
-
});
|
|
1086
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1087
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1088
|
-
'category': smithy_client_1._json,
|
|
1089
|
-
});
|
|
1090
|
-
Object.assign(contents, doc);
|
|
1091
|
-
return contents;
|
|
1092
|
-
};
|
|
1093
|
-
exports.de_CreateProjectionsCategoryCommand = de_CreateProjectionsCategoryCommand;
|
|
1094
1062
|
const de_DeleteDashboardCommand = async (output, context) => {
|
|
1095
1063
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1096
1064
|
return de_CommandError(output, context);
|
|
@@ -1146,18 +1114,22 @@ const de_DeleteProjectionCommand = async (output, context) => {
|
|
|
1146
1114
|
return contents;
|
|
1147
1115
|
};
|
|
1148
1116
|
exports.de_DeleteProjectionCommand = de_DeleteProjectionCommand;
|
|
1149
|
-
const
|
|
1117
|
+
const de_DisableProjectionCommand = async (output, context) => {
|
|
1150
1118
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1151
1119
|
return de_CommandError(output, context);
|
|
1152
1120
|
}
|
|
1153
1121
|
const contents = (0, smithy_client_1.map)({
|
|
1154
1122
|
$metadata: deserializeMetadata(output),
|
|
1155
1123
|
});
|
|
1156
|
-
|
|
1124
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1125
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1126
|
+
'projection': _ => de_Projection(_, context),
|
|
1127
|
+
});
|
|
1128
|
+
Object.assign(contents, doc);
|
|
1157
1129
|
return contents;
|
|
1158
1130
|
};
|
|
1159
|
-
exports.
|
|
1160
|
-
const
|
|
1131
|
+
exports.de_DisableProjectionCommand = de_DisableProjectionCommand;
|
|
1132
|
+
const de_EnableProjectionCommand = async (output, context) => {
|
|
1161
1133
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1162
1134
|
return de_CommandError(output, context);
|
|
1163
1135
|
}
|
|
@@ -1166,13 +1138,13 @@ const de_DisableProjectionCommand = async (output, context) => {
|
|
|
1166
1138
|
});
|
|
1167
1139
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1168
1140
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1169
|
-
'projection':
|
|
1141
|
+
'projection': _ => de_Projection(_, context),
|
|
1170
1142
|
});
|
|
1171
1143
|
Object.assign(contents, doc);
|
|
1172
1144
|
return contents;
|
|
1173
1145
|
};
|
|
1174
|
-
exports.
|
|
1175
|
-
const
|
|
1146
|
+
exports.de_EnableProjectionCommand = de_EnableProjectionCommand;
|
|
1147
|
+
const de_GetAnalysisSettingsCommand = async (output, context) => {
|
|
1176
1148
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1177
1149
|
return de_CommandError(output, context);
|
|
1178
1150
|
}
|
|
@@ -1181,12 +1153,12 @@ const de_EnableProjectionCommand = async (output, context) => {
|
|
|
1181
1153
|
});
|
|
1182
1154
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1183
1155
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1184
|
-
'
|
|
1156
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1185
1157
|
});
|
|
1186
1158
|
Object.assign(contents, doc);
|
|
1187
1159
|
return contents;
|
|
1188
1160
|
};
|
|
1189
|
-
exports.
|
|
1161
|
+
exports.de_GetAnalysisSettingsCommand = de_GetAnalysisSettingsCommand;
|
|
1190
1162
|
const de_GetCallCharacteristicsCommand = async (output, context) => {
|
|
1191
1163
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1192
1164
|
return de_CommandError(output, context);
|
|
@@ -1413,7 +1385,7 @@ const de_GetProjectionCommand = async (output, context) => {
|
|
|
1413
1385
|
});
|
|
1414
1386
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1415
1387
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1416
|
-
'projection':
|
|
1388
|
+
'projection': _ => de_Projection(_, context),
|
|
1417
1389
|
});
|
|
1418
1390
|
Object.assign(contents, doc);
|
|
1419
1391
|
return contents;
|
|
@@ -1585,8 +1557,7 @@ const de_ListProjectionsCommand = async (output, context) => {
|
|
|
1585
1557
|
});
|
|
1586
1558
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1587
1559
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1588
|
-
'
|
|
1589
|
-
'projections': smithy_client_1._json,
|
|
1560
|
+
'projections': _ => de_ProjectionsList(_, context),
|
|
1590
1561
|
});
|
|
1591
1562
|
Object.assign(contents, doc);
|
|
1592
1563
|
return contents;
|
|
@@ -1618,12 +1589,27 @@ const de_PauseProjectionCommand = async (output, context) => {
|
|
|
1618
1589
|
});
|
|
1619
1590
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1620
1591
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1621
|
-
'projection':
|
|
1592
|
+
'projection': _ => de_Projection(_, context),
|
|
1622
1593
|
});
|
|
1623
1594
|
Object.assign(contents, doc);
|
|
1624
1595
|
return contents;
|
|
1625
1596
|
};
|
|
1626
1597
|
exports.de_PauseProjectionCommand = de_PauseProjectionCommand;
|
|
1598
|
+
const de_PutAnalysisSettingsCommand = async (output, context) => {
|
|
1599
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1600
|
+
return de_CommandError(output, context);
|
|
1601
|
+
}
|
|
1602
|
+
const contents = (0, smithy_client_1.map)({
|
|
1603
|
+
$metadata: deserializeMetadata(output),
|
|
1604
|
+
});
|
|
1605
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1606
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1607
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1608
|
+
});
|
|
1609
|
+
Object.assign(contents, doc);
|
|
1610
|
+
return contents;
|
|
1611
|
+
};
|
|
1612
|
+
exports.de_PutAnalysisSettingsCommand = de_PutAnalysisSettingsCommand;
|
|
1627
1613
|
const de_PutPlaylistItemCommand = async (output, context) => {
|
|
1628
1614
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1629
1615
|
return de_CommandError(output, context);
|
|
@@ -1767,27 +1753,12 @@ const de_UpdateProjectionCommand = async (output, context) => {
|
|
|
1767
1753
|
});
|
|
1768
1754
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1769
1755
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1770
|
-
'projection':
|
|
1756
|
+
'projection': _ => de_Projection(_, context),
|
|
1771
1757
|
});
|
|
1772
1758
|
Object.assign(contents, doc);
|
|
1773
1759
|
return contents;
|
|
1774
1760
|
};
|
|
1775
1761
|
exports.de_UpdateProjectionCommand = de_UpdateProjectionCommand;
|
|
1776
|
-
const de_UpdateProjectionsCategoryCommand = async (output, context) => {
|
|
1777
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1778
|
-
return de_CommandError(output, context);
|
|
1779
|
-
}
|
|
1780
|
-
const contents = (0, smithy_client_1.map)({
|
|
1781
|
-
$metadata: deserializeMetadata(output),
|
|
1782
|
-
});
|
|
1783
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1784
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1785
|
-
'category': smithy_client_1._json,
|
|
1786
|
-
});
|
|
1787
|
-
Object.assign(contents, doc);
|
|
1788
|
-
return contents;
|
|
1789
|
-
};
|
|
1790
|
-
exports.de_UpdateProjectionsCategoryCommand = de_UpdateProjectionsCategoryCommand;
|
|
1791
1762
|
const de_WatchCommand = async (output, context) => {
|
|
1792
1763
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1793
1764
|
return de_CommandError(output, context);
|
|
@@ -2005,6 +1976,13 @@ const de_AggregationResult = (output, context) => {
|
|
|
2005
1976
|
'buckets': (_) => de_AggregationBucketsList(_, context),
|
|
2006
1977
|
});
|
|
2007
1978
|
};
|
|
1979
|
+
const de_AnalysisSettings = (output, context) => {
|
|
1980
|
+
return (0, smithy_client_1.take)(output, {
|
|
1981
|
+
'defaultModel': smithy_client_1.expectString,
|
|
1982
|
+
'disabled': smithy_client_1.expectBoolean,
|
|
1983
|
+
'filter': (_) => de_ListConversationsFilter(_, context),
|
|
1984
|
+
});
|
|
1985
|
+
};
|
|
2008
1986
|
const de_Dashboard = (output, context) => {
|
|
2009
1987
|
return (0, smithy_client_1.take)(output, {
|
|
2010
1988
|
'access': smithy_client_1._json,
|
|
@@ -2256,6 +2234,25 @@ const de_PlaylistItemsList = (output, context) => {
|
|
|
2256
2234
|
});
|
|
2257
2235
|
return retVal;
|
|
2258
2236
|
};
|
|
2237
|
+
const de_Projection = (output, context) => {
|
|
2238
|
+
return (0, smithy_client_1.take)(output, {
|
|
2239
|
+
'category': smithy_client_1.expectString,
|
|
2240
|
+
'conditions': smithy_client_1._json,
|
|
2241
|
+
'createdAt': smithy_client_1.expectString,
|
|
2242
|
+
'description': smithy_client_1.expectString,
|
|
2243
|
+
'fields': smithy_client_1._json,
|
|
2244
|
+
'filter': (_) => de_ListConversationsFilter(_, context),
|
|
2245
|
+
'group': smithy_client_1.expectString,
|
|
2246
|
+
'id': smithy_client_1.expectString,
|
|
2247
|
+
'instructions': smithy_client_1.expectString,
|
|
2248
|
+
'metadata': smithy_client_1._json,
|
|
2249
|
+
'model': smithy_client_1.expectString,
|
|
2250
|
+
'name': smithy_client_1.expectString,
|
|
2251
|
+
'status': smithy_client_1.expectString,
|
|
2252
|
+
'updatedAt': smithy_client_1.expectString,
|
|
2253
|
+
'version': smithy_client_1.expectInt32,
|
|
2254
|
+
});
|
|
2255
|
+
};
|
|
2259
2256
|
const de_ProjectionInsights = (output, context) => {
|
|
2260
2257
|
return (0, smithy_client_1.take)(output, {
|
|
2261
2258
|
'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
|
|
@@ -2285,6 +2282,12 @@ const de_ProjectionInsightsList = (output, context) => {
|
|
|
2285
2282
|
});
|
|
2286
2283
|
return retVal;
|
|
2287
2284
|
};
|
|
2285
|
+
const de_ProjectionsList = (output, context) => {
|
|
2286
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2287
|
+
return de_Projection(entry, context);
|
|
2288
|
+
});
|
|
2289
|
+
return retVal;
|
|
2290
|
+
};
|
|
2288
2291
|
const deserializeMetadata = (output) => ({
|
|
2289
2292
|
httpStatusCode: output.statusCode,
|
|
2290
2293
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|