@wildix/wda-insights-client 1.1.34 → 1.1.36
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 +0 -2
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +9 -6
- package/dist-cjs/protocols/Aws_restJson1.js +52 -48
- package/dist-es/WdaInsights.js +0 -2
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/models_0.js +8 -5
- package/dist-es/protocols/Aws_restJson1.js +50 -44
- package/dist-types/WdaInsights.d.ts +0 -7
- package/dist-types/WdaInsightsClient.d.ts +2 -3
- package/dist-types/commands/CreateProjectionCommand.d.ts +362 -6
- package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +3 -1
- package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +3 -1
- package/dist-types/commands/DisableProjectionCommand.d.ts +181 -3
- package/dist-types/commands/EnableProjectionCommand.d.ts +181 -3
- package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +178 -0
- package/dist-types/commands/GetProjectionCommand.d.ts +181 -3
- package/dist-types/commands/ListConversationsCommand.d.ts +22 -30
- package/dist-types/commands/ListPlaylistItemsCommand.d.ts +22 -30
- package/dist-types/commands/ListProjectionsCommand.d.ts +183 -5
- package/dist-types/commands/ListWatchHistoryCommand.d.ts +22 -30
- package/dist-types/commands/PauseProjectionCommand.d.ts +181 -3
- package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +356 -0
- package/dist-types/commands/UpdateProjectionCommand.d.ts +362 -4
- package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +152 -43
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
- 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/UpdateProjectionAnalysisSettingsCommand.js +0 -21
- package/dist-es/commands/UpdateProjectionAnalysisSettingsCommand.js +0 -17
- package/dist-types/commands/UpdateProjectionAnalysisSettingsCommand.d.ts +0 -145
package/dist-cjs/WdaInsights.js
CHANGED
|
@@ -55,7 +55,6 @@ const UpdateFilterCommand_1 = require("./commands/UpdateFilterCommand");
|
|
|
55
55
|
const UpdatePinnedDashboardsCommand_1 = require("./commands/UpdatePinnedDashboardsCommand");
|
|
56
56
|
const UpdatePlaylistAccessCommand_1 = require("./commands/UpdatePlaylistAccessCommand");
|
|
57
57
|
const UpdatePlaylistCommand_1 = require("./commands/UpdatePlaylistCommand");
|
|
58
|
-
const UpdateProjectionAnalysisSettingsCommand_1 = require("./commands/UpdateProjectionAnalysisSettingsCommand");
|
|
59
58
|
const UpdateProjectionCommand_1 = require("./commands/UpdateProjectionCommand");
|
|
60
59
|
const UpdateProjectionsCategoryCommand_1 = require("./commands/UpdateProjectionsCategoryCommand");
|
|
61
60
|
const WatchCommand_1 = require("./commands/WatchCommand");
|
|
@@ -115,7 +114,6 @@ const commands = {
|
|
|
115
114
|
UpdatePlaylistCommand: UpdatePlaylistCommand_1.UpdatePlaylistCommand,
|
|
116
115
|
UpdatePlaylistAccessCommand: UpdatePlaylistAccessCommand_1.UpdatePlaylistAccessCommand,
|
|
117
116
|
UpdateProjectionCommand: UpdateProjectionCommand_1.UpdateProjectionCommand,
|
|
118
|
-
UpdateProjectionAnalysisSettingsCommand: UpdateProjectionAnalysisSettingsCommand_1.UpdateProjectionAnalysisSettingsCommand,
|
|
119
117
|
UpdateProjectionsCategoryCommand: UpdateProjectionsCategoryCommand_1.UpdateProjectionsCategoryCommand,
|
|
120
118
|
WatchCommand: WatchCommand_1.WatchCommand,
|
|
121
119
|
};
|
|
@@ -55,6 +55,5 @@ tslib_1.__exportStar(require("./UpdatePinnedDashboardsCommand"), exports);
|
|
|
55
55
|
tslib_1.__exportStar(require("./UpdatePlaylistCommand"), exports);
|
|
56
56
|
tslib_1.__exportStar(require("./UpdatePlaylistAccessCommand"), exports);
|
|
57
57
|
tslib_1.__exportStar(require("./UpdateProjectionCommand"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./UpdateProjectionAnalysisSettingsCommand"), exports);
|
|
59
58
|
tslib_1.__exportStar(require("./UpdateProjectionsCategoryCommand"), exports);
|
|
60
59
|
tslib_1.__exportStar(require("./WatchCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
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
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 {
|
|
@@ -65,6 +65,11 @@ exports.CallRecordPauseReason = {
|
|
|
65
65
|
HOLD: "hold",
|
|
66
66
|
PAUSE: "pause",
|
|
67
67
|
};
|
|
68
|
+
exports.CallFlowTranscriptionStatus = {
|
|
69
|
+
AVAILABLE: "AVAILABLE",
|
|
70
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
71
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
72
|
+
};
|
|
68
73
|
var CallFlowAttachment;
|
|
69
74
|
(function (CallFlowAttachment) {
|
|
70
75
|
CallFlowAttachment.visit = (value, visitor) => {
|
|
@@ -74,11 +79,14 @@ var CallFlowAttachment;
|
|
|
74
79
|
return visitor.fax(value.fax);
|
|
75
80
|
if (value.voicemail !== undefined)
|
|
76
81
|
return visitor.voicemail(value.voicemail);
|
|
82
|
+
if (value.transcription !== undefined)
|
|
83
|
+
return visitor.transcription(value.transcription);
|
|
77
84
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
85
|
};
|
|
79
86
|
})(CallFlowAttachment || (exports.CallFlowAttachment = CallFlowAttachment = {}));
|
|
80
87
|
exports.CallFlowAttachmentType = {
|
|
81
88
|
FAX: "FAX",
|
|
89
|
+
TRANSCRIPTION: "TRANSCRIPTION",
|
|
82
90
|
VOICEMAIL: "VOICEMAIL",
|
|
83
91
|
};
|
|
84
92
|
exports.CallParticipantRole = {
|
|
@@ -105,11 +113,6 @@ exports.License = {
|
|
|
105
113
|
UC: "uc",
|
|
106
114
|
XBEES: "x-bees",
|
|
107
115
|
};
|
|
108
|
-
exports.CallFlowTranscriptionStatus = {
|
|
109
|
-
AVAILABLE: "AVAILABLE",
|
|
110
|
-
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
111
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
112
|
-
};
|
|
113
116
|
exports.RecordType = {
|
|
114
117
|
CALL: "call",
|
|
115
118
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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_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.
|
|
5
|
-
exports.de_WatchCommand = exports.de_UpdateProjectionsCategoryCommand = exports.
|
|
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,10 +83,12 @@ 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),
|
|
90
92
|
'group': [],
|
|
91
93
|
'id': [],
|
|
92
94
|
'instructions': [],
|
|
@@ -766,6 +768,8 @@ const se_PutAnalysisSettingsCommand = async (input, context) => {
|
|
|
766
768
|
let body;
|
|
767
769
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
768
770
|
'defaultModel': [],
|
|
771
|
+
'disabled': [],
|
|
772
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
769
773
|
}));
|
|
770
774
|
b.m("PUT")
|
|
771
775
|
.h(headers)
|
|
@@ -994,11 +998,15 @@ const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
994
998
|
});
|
|
995
999
|
let body;
|
|
996
1000
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1001
|
+
'category': [],
|
|
997
1002
|
'categoryId': [],
|
|
998
1003
|
'conditions': _ => (0, smithy_client_1._json)(_),
|
|
999
1004
|
'description': [],
|
|
1000
1005
|
'fields': _ => (0, smithy_client_1._json)(_),
|
|
1006
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
1007
|
+
'group': [],
|
|
1001
1008
|
'instructions': [],
|
|
1009
|
+
'model': [],
|
|
1002
1010
|
'name': [],
|
|
1003
1011
|
}));
|
|
1004
1012
|
b.m("PUT")
|
|
@@ -1008,28 +1016,6 @@ const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
1008
1016
|
return b.build();
|
|
1009
1017
|
};
|
|
1010
1018
|
exports.se_UpdateProjectionCommand = se_UpdateProjectionCommand;
|
|
1011
|
-
const se_UpdateProjectionAnalysisSettingsCommand = async (input, context) => {
|
|
1012
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
1013
|
-
const headers = {
|
|
1014
|
-
'content-type': 'application/json',
|
|
1015
|
-
};
|
|
1016
|
-
b.bp("/v2/insights/projections/{id}/analysis-settings");
|
|
1017
|
-
b.p('id', () => input.id, '{id}', false);
|
|
1018
|
-
const query = (0, smithy_client_1.map)({
|
|
1019
|
-
[_c]: [, input[_c]],
|
|
1020
|
-
});
|
|
1021
|
-
let body;
|
|
1022
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1023
|
-
'group': [],
|
|
1024
|
-
'model': [],
|
|
1025
|
-
}));
|
|
1026
|
-
b.m("PATCH")
|
|
1027
|
-
.h(headers)
|
|
1028
|
-
.q(query)
|
|
1029
|
-
.b(body);
|
|
1030
|
-
return b.build();
|
|
1031
|
-
};
|
|
1032
|
-
exports.se_UpdateProjectionAnalysisSettingsCommand = se_UpdateProjectionAnalysisSettingsCommand;
|
|
1033
1019
|
const se_UpdateProjectionsCategoryCommand = async (input, context) => {
|
|
1034
1020
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1035
1021
|
const headers = {
|
|
@@ -1127,7 +1113,7 @@ const de_CreateProjectionCommand = async (output, context) => {
|
|
|
1127
1113
|
});
|
|
1128
1114
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1129
1115
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1130
|
-
'projection':
|
|
1116
|
+
'projection': _ => de_Projection(_, context),
|
|
1131
1117
|
});
|
|
1132
1118
|
Object.assign(contents, doc);
|
|
1133
1119
|
return contents;
|
|
@@ -1223,7 +1209,7 @@ const de_DisableProjectionCommand = async (output, context) => {
|
|
|
1223
1209
|
});
|
|
1224
1210
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1225
1211
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1226
|
-
'projection':
|
|
1212
|
+
'projection': _ => de_Projection(_, context),
|
|
1227
1213
|
});
|
|
1228
1214
|
Object.assign(contents, doc);
|
|
1229
1215
|
return contents;
|
|
@@ -1238,7 +1224,7 @@ const de_EnableProjectionCommand = async (output, context) => {
|
|
|
1238
1224
|
});
|
|
1239
1225
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1240
1226
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1241
|
-
'projection':
|
|
1227
|
+
'projection': _ => de_Projection(_, context),
|
|
1242
1228
|
});
|
|
1243
1229
|
Object.assign(contents, doc);
|
|
1244
1230
|
return contents;
|
|
@@ -1253,7 +1239,7 @@ const de_GetAnalysisSettingsCommand = async (output, context) => {
|
|
|
1253
1239
|
});
|
|
1254
1240
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1255
1241
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1256
|
-
'settings':
|
|
1242
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1257
1243
|
});
|
|
1258
1244
|
Object.assign(contents, doc);
|
|
1259
1245
|
return contents;
|
|
@@ -1485,7 +1471,7 @@ const de_GetProjectionCommand = async (output, context) => {
|
|
|
1485
1471
|
});
|
|
1486
1472
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1487
1473
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1488
|
-
'projection':
|
|
1474
|
+
'projection': _ => de_Projection(_, context),
|
|
1489
1475
|
});
|
|
1490
1476
|
Object.assign(contents, doc);
|
|
1491
1477
|
return contents;
|
|
@@ -1658,7 +1644,7 @@ const de_ListProjectionsCommand = async (output, context) => {
|
|
|
1658
1644
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1659
1645
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1660
1646
|
'categories': smithy_client_1._json,
|
|
1661
|
-
'projections':
|
|
1647
|
+
'projections': _ => de_ProjectionsList(_, context),
|
|
1662
1648
|
});
|
|
1663
1649
|
Object.assign(contents, doc);
|
|
1664
1650
|
return contents;
|
|
@@ -1690,7 +1676,7 @@ const de_PauseProjectionCommand = async (output, context) => {
|
|
|
1690
1676
|
});
|
|
1691
1677
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1692
1678
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1693
|
-
'projection':
|
|
1679
|
+
'projection': _ => de_Projection(_, context),
|
|
1694
1680
|
});
|
|
1695
1681
|
Object.assign(contents, doc);
|
|
1696
1682
|
return contents;
|
|
@@ -1705,7 +1691,7 @@ const de_PutAnalysisSettingsCommand = async (output, context) => {
|
|
|
1705
1691
|
});
|
|
1706
1692
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1707
1693
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1708
|
-
'settings':
|
|
1694
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1709
1695
|
});
|
|
1710
1696
|
Object.assign(contents, doc);
|
|
1711
1697
|
return contents;
|
|
@@ -1854,27 +1840,12 @@ const de_UpdateProjectionCommand = async (output, context) => {
|
|
|
1854
1840
|
});
|
|
1855
1841
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1856
1842
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1857
|
-
'projection':
|
|
1843
|
+
'projection': _ => de_Projection(_, context),
|
|
1858
1844
|
});
|
|
1859
1845
|
Object.assign(contents, doc);
|
|
1860
1846
|
return contents;
|
|
1861
1847
|
};
|
|
1862
1848
|
exports.de_UpdateProjectionCommand = de_UpdateProjectionCommand;
|
|
1863
|
-
const de_UpdateProjectionAnalysisSettingsCommand = async (output, context) => {
|
|
1864
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1865
|
-
return de_CommandError(output, context);
|
|
1866
|
-
}
|
|
1867
|
-
const contents = (0, smithy_client_1.map)({
|
|
1868
|
-
$metadata: deserializeMetadata(output),
|
|
1869
|
-
});
|
|
1870
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1871
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1872
|
-
'projection': smithy_client_1._json,
|
|
1873
|
-
});
|
|
1874
|
-
Object.assign(contents, doc);
|
|
1875
|
-
return contents;
|
|
1876
|
-
};
|
|
1877
|
-
exports.de_UpdateProjectionAnalysisSettingsCommand = de_UpdateProjectionAnalysisSettingsCommand;
|
|
1878
1849
|
const de_UpdateProjectionsCategoryCommand = async (output, context) => {
|
|
1879
1850
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1880
1851
|
return de_CommandError(output, context);
|
|
@@ -2107,6 +2078,13 @@ const de_AggregationResult = (output, context) => {
|
|
|
2107
2078
|
'buckets': (_) => de_AggregationBucketsList(_, context),
|
|
2108
2079
|
});
|
|
2109
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
|
+
};
|
|
2110
2088
|
const de_Dashboard = (output, context) => {
|
|
2111
2089
|
return (0, smithy_client_1.take)(output, {
|
|
2112
2090
|
'access': smithy_client_1._json,
|
|
@@ -2358,6 +2336,26 @@ const de_PlaylistItemsList = (output, context) => {
|
|
|
2358
2336
|
});
|
|
2359
2337
|
return retVal;
|
|
2360
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
|
+
};
|
|
2361
2359
|
const de_ProjectionInsights = (output, context) => {
|
|
2362
2360
|
return (0, smithy_client_1.take)(output, {
|
|
2363
2361
|
'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
|
|
@@ -2387,6 +2385,12 @@ const de_ProjectionInsightsList = (output, context) => {
|
|
|
2387
2385
|
});
|
|
2388
2386
|
return retVal;
|
|
2389
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
|
+
};
|
|
2390
2394
|
const deserializeMetadata = (output) => ({
|
|
2391
2395
|
httpStatusCode: output.statusCode,
|
|
2392
2396
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-es/WdaInsights.js
CHANGED
|
@@ -52,7 +52,6 @@ import { UpdateFilterCommand, } from "./commands/UpdateFilterCommand";
|
|
|
52
52
|
import { UpdatePinnedDashboardsCommand, } from "./commands/UpdatePinnedDashboardsCommand";
|
|
53
53
|
import { UpdatePlaylistAccessCommand, } from "./commands/UpdatePlaylistAccessCommand";
|
|
54
54
|
import { UpdatePlaylistCommand, } from "./commands/UpdatePlaylistCommand";
|
|
55
|
-
import { UpdateProjectionAnalysisSettingsCommand, } from "./commands/UpdateProjectionAnalysisSettingsCommand";
|
|
56
55
|
import { UpdateProjectionCommand, } from "./commands/UpdateProjectionCommand";
|
|
57
56
|
import { UpdateProjectionsCategoryCommand, } from "./commands/UpdateProjectionsCategoryCommand";
|
|
58
57
|
import { WatchCommand, } from "./commands/WatchCommand";
|
|
@@ -112,7 +111,6 @@ const commands = {
|
|
|
112
111
|
UpdatePlaylistCommand,
|
|
113
112
|
UpdatePlaylistAccessCommand,
|
|
114
113
|
UpdateProjectionCommand,
|
|
115
|
-
UpdateProjectionAnalysisSettingsCommand,
|
|
116
114
|
UpdateProjectionsCategoryCommand,
|
|
117
115
|
WatchCommand,
|
|
118
116
|
};
|
|
@@ -52,6 +52,5 @@ export * from "./UpdatePinnedDashboardsCommand";
|
|
|
52
52
|
export * from "./UpdatePlaylistCommand";
|
|
53
53
|
export * from "./UpdatePlaylistAccessCommand";
|
|
54
54
|
export * from "./UpdateProjectionCommand";
|
|
55
|
-
export * from "./UpdateProjectionAnalysisSettingsCommand";
|
|
56
55
|
export * from "./UpdateProjectionsCategoryCommand";
|
|
57
56
|
export * from "./WatchCommand";
|
|
@@ -58,6 +58,11 @@ export const CallRecordPauseReason = {
|
|
|
58
58
|
HOLD: "hold",
|
|
59
59
|
PAUSE: "pause",
|
|
60
60
|
};
|
|
61
|
+
export const CallFlowTranscriptionStatus = {
|
|
62
|
+
AVAILABLE: "AVAILABLE",
|
|
63
|
+
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
64
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
65
|
+
};
|
|
61
66
|
export var CallFlowAttachment;
|
|
62
67
|
(function (CallFlowAttachment) {
|
|
63
68
|
CallFlowAttachment.visit = (value, visitor) => {
|
|
@@ -67,11 +72,14 @@ export var CallFlowAttachment;
|
|
|
67
72
|
return visitor.fax(value.fax);
|
|
68
73
|
if (value.voicemail !== undefined)
|
|
69
74
|
return visitor.voicemail(value.voicemail);
|
|
75
|
+
if (value.transcription !== undefined)
|
|
76
|
+
return visitor.transcription(value.transcription);
|
|
70
77
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
71
78
|
};
|
|
72
79
|
})(CallFlowAttachment || (CallFlowAttachment = {}));
|
|
73
80
|
export const CallFlowAttachmentType = {
|
|
74
81
|
FAX: "FAX",
|
|
82
|
+
TRANSCRIPTION: "TRANSCRIPTION",
|
|
75
83
|
VOICEMAIL: "VOICEMAIL",
|
|
76
84
|
};
|
|
77
85
|
export const CallParticipantRole = {
|
|
@@ -98,11 +106,6 @@ export const License = {
|
|
|
98
106
|
UC: "uc",
|
|
99
107
|
XBEES: "x-bees",
|
|
100
108
|
};
|
|
101
|
-
export const CallFlowTranscriptionStatus = {
|
|
102
|
-
AVAILABLE: "AVAILABLE",
|
|
103
|
-
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
104
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
105
|
-
};
|
|
106
109
|
export const RecordType = {
|
|
107
110
|
CALL: "call",
|
|
108
111
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
@@ -75,10 +75,12 @@ export const se_CreateProjectionCommand = async (input, context) => {
|
|
|
75
75
|
});
|
|
76
76
|
let body;
|
|
77
77
|
body = JSON.stringify(take(input, {
|
|
78
|
+
'category': [],
|
|
78
79
|
'categoryId': [],
|
|
79
80
|
'conditions': _ => _json(_),
|
|
80
81
|
'description': [],
|
|
81
82
|
'fields': _ => _json(_),
|
|
83
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
82
84
|
'group': [],
|
|
83
85
|
'id': [],
|
|
84
86
|
'instructions': [],
|
|
@@ -719,6 +721,8 @@ export const se_PutAnalysisSettingsCommand = async (input, context) => {
|
|
|
719
721
|
let body;
|
|
720
722
|
body = JSON.stringify(take(input, {
|
|
721
723
|
'defaultModel': [],
|
|
724
|
+
'disabled': [],
|
|
725
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
722
726
|
}));
|
|
723
727
|
b.m("PUT")
|
|
724
728
|
.h(headers)
|
|
@@ -936,11 +940,15 @@ export const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
936
940
|
});
|
|
937
941
|
let body;
|
|
938
942
|
body = JSON.stringify(take(input, {
|
|
943
|
+
'category': [],
|
|
939
944
|
'categoryId': [],
|
|
940
945
|
'conditions': _ => _json(_),
|
|
941
946
|
'description': [],
|
|
942
947
|
'fields': _ => _json(_),
|
|
948
|
+
'filter': _ => se_ListConversationsFilter(_, context),
|
|
949
|
+
'group': [],
|
|
943
950
|
'instructions': [],
|
|
951
|
+
'model': [],
|
|
944
952
|
'name': [],
|
|
945
953
|
}));
|
|
946
954
|
b.m("PUT")
|
|
@@ -949,27 +957,6 @@ export const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
949
957
|
.b(body);
|
|
950
958
|
return b.build();
|
|
951
959
|
};
|
|
952
|
-
export const se_UpdateProjectionAnalysisSettingsCommand = async (input, context) => {
|
|
953
|
-
const b = rb(input, context);
|
|
954
|
-
const headers = {
|
|
955
|
-
'content-type': 'application/json',
|
|
956
|
-
};
|
|
957
|
-
b.bp("/v2/insights/projections/{id}/analysis-settings");
|
|
958
|
-
b.p('id', () => input.id, '{id}', false);
|
|
959
|
-
const query = map({
|
|
960
|
-
[_c]: [, input[_c]],
|
|
961
|
-
});
|
|
962
|
-
let body;
|
|
963
|
-
body = JSON.stringify(take(input, {
|
|
964
|
-
'group': [],
|
|
965
|
-
'model': [],
|
|
966
|
-
}));
|
|
967
|
-
b.m("PATCH")
|
|
968
|
-
.h(headers)
|
|
969
|
-
.q(query)
|
|
970
|
-
.b(body);
|
|
971
|
-
return b.build();
|
|
972
|
-
};
|
|
973
960
|
export const se_UpdateProjectionsCategoryCommand = async (input, context) => {
|
|
974
961
|
const b = rb(input, context);
|
|
975
962
|
const headers = {
|
|
@@ -1062,7 +1049,7 @@ export const de_CreateProjectionCommand = async (output, context) => {
|
|
|
1062
1049
|
});
|
|
1063
1050
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1064
1051
|
const doc = take(data, {
|
|
1065
|
-
'projection':
|
|
1052
|
+
'projection': _ => de_Projection(_, context),
|
|
1066
1053
|
});
|
|
1067
1054
|
Object.assign(contents, doc);
|
|
1068
1055
|
return contents;
|
|
@@ -1150,7 +1137,7 @@ export const de_DisableProjectionCommand = async (output, context) => {
|
|
|
1150
1137
|
});
|
|
1151
1138
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1152
1139
|
const doc = take(data, {
|
|
1153
|
-
'projection':
|
|
1140
|
+
'projection': _ => de_Projection(_, context),
|
|
1154
1141
|
});
|
|
1155
1142
|
Object.assign(contents, doc);
|
|
1156
1143
|
return contents;
|
|
@@ -1164,7 +1151,7 @@ export const de_EnableProjectionCommand = async (output, context) => {
|
|
|
1164
1151
|
});
|
|
1165
1152
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1166
1153
|
const doc = take(data, {
|
|
1167
|
-
'projection':
|
|
1154
|
+
'projection': _ => de_Projection(_, context),
|
|
1168
1155
|
});
|
|
1169
1156
|
Object.assign(contents, doc);
|
|
1170
1157
|
return contents;
|
|
@@ -1178,7 +1165,7 @@ export const de_GetAnalysisSettingsCommand = async (output, context) => {
|
|
|
1178
1165
|
});
|
|
1179
1166
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1180
1167
|
const doc = take(data, {
|
|
1181
|
-
'settings':
|
|
1168
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1182
1169
|
});
|
|
1183
1170
|
Object.assign(contents, doc);
|
|
1184
1171
|
return contents;
|
|
@@ -1395,7 +1382,7 @@ export const de_GetProjectionCommand = async (output, context) => {
|
|
|
1395
1382
|
});
|
|
1396
1383
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1397
1384
|
const doc = take(data, {
|
|
1398
|
-
'projection':
|
|
1385
|
+
'projection': _ => de_Projection(_, context),
|
|
1399
1386
|
});
|
|
1400
1387
|
Object.assign(contents, doc);
|
|
1401
1388
|
return contents;
|
|
@@ -1557,7 +1544,7 @@ export const de_ListProjectionsCommand = async (output, context) => {
|
|
|
1557
1544
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1558
1545
|
const doc = take(data, {
|
|
1559
1546
|
'categories': _json,
|
|
1560
|
-
'projections':
|
|
1547
|
+
'projections': _ => de_ProjectionsList(_, context),
|
|
1561
1548
|
});
|
|
1562
1549
|
Object.assign(contents, doc);
|
|
1563
1550
|
return contents;
|
|
@@ -1587,7 +1574,7 @@ export const de_PauseProjectionCommand = async (output, context) => {
|
|
|
1587
1574
|
});
|
|
1588
1575
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1589
1576
|
const doc = take(data, {
|
|
1590
|
-
'projection':
|
|
1577
|
+
'projection': _ => de_Projection(_, context),
|
|
1591
1578
|
});
|
|
1592
1579
|
Object.assign(contents, doc);
|
|
1593
1580
|
return contents;
|
|
@@ -1601,7 +1588,7 @@ export const de_PutAnalysisSettingsCommand = async (output, context) => {
|
|
|
1601
1588
|
});
|
|
1602
1589
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1603
1590
|
const doc = take(data, {
|
|
1604
|
-
'settings':
|
|
1591
|
+
'settings': _ => de_AnalysisSettings(_, context),
|
|
1605
1592
|
});
|
|
1606
1593
|
Object.assign(contents, doc);
|
|
1607
1594
|
return contents;
|
|
@@ -1739,21 +1726,7 @@ export const de_UpdateProjectionCommand = async (output, context) => {
|
|
|
1739
1726
|
});
|
|
1740
1727
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1741
1728
|
const doc = take(data, {
|
|
1742
|
-
'projection':
|
|
1743
|
-
});
|
|
1744
|
-
Object.assign(contents, doc);
|
|
1745
|
-
return contents;
|
|
1746
|
-
};
|
|
1747
|
-
export const de_UpdateProjectionAnalysisSettingsCommand = async (output, context) => {
|
|
1748
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1749
|
-
return de_CommandError(output, context);
|
|
1750
|
-
}
|
|
1751
|
-
const contents = map({
|
|
1752
|
-
$metadata: deserializeMetadata(output),
|
|
1753
|
-
});
|
|
1754
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1755
|
-
const doc = take(data, {
|
|
1756
|
-
'projection': _json,
|
|
1729
|
+
'projection': _ => de_Projection(_, context),
|
|
1757
1730
|
});
|
|
1758
1731
|
Object.assign(contents, doc);
|
|
1759
1732
|
return contents;
|
|
@@ -1988,6 +1961,13 @@ const de_AggregationResult = (output, context) => {
|
|
|
1988
1961
|
'buckets': (_) => de_AggregationBucketsList(_, context),
|
|
1989
1962
|
});
|
|
1990
1963
|
};
|
|
1964
|
+
const de_AnalysisSettings = (output, context) => {
|
|
1965
|
+
return take(output, {
|
|
1966
|
+
'defaultModel': __expectString,
|
|
1967
|
+
'disabled': __expectBoolean,
|
|
1968
|
+
'filter': (_) => de_ListConversationsFilter(_, context),
|
|
1969
|
+
});
|
|
1970
|
+
};
|
|
1991
1971
|
const de_Dashboard = (output, context) => {
|
|
1992
1972
|
return take(output, {
|
|
1993
1973
|
'access': _json,
|
|
@@ -2239,6 +2219,26 @@ const de_PlaylistItemsList = (output, context) => {
|
|
|
2239
2219
|
});
|
|
2240
2220
|
return retVal;
|
|
2241
2221
|
};
|
|
2222
|
+
const de_Projection = (output, context) => {
|
|
2223
|
+
return take(output, {
|
|
2224
|
+
'category': __expectString,
|
|
2225
|
+
'categoryId': __expectString,
|
|
2226
|
+
'conditions': _json,
|
|
2227
|
+
'createdAt': __expectString,
|
|
2228
|
+
'description': __expectString,
|
|
2229
|
+
'fields': _json,
|
|
2230
|
+
'filter': (_) => de_ListConversationsFilter(_, context),
|
|
2231
|
+
'group': __expectString,
|
|
2232
|
+
'id': __expectString,
|
|
2233
|
+
'instructions': __expectString,
|
|
2234
|
+
'metadata': _json,
|
|
2235
|
+
'model': __expectString,
|
|
2236
|
+
'name': __expectString,
|
|
2237
|
+
'status': __expectString,
|
|
2238
|
+
'updatedAt': __expectString,
|
|
2239
|
+
'version': __expectInt32,
|
|
2240
|
+
});
|
|
2241
|
+
};
|
|
2242
2242
|
const de_ProjectionInsights = (output, context) => {
|
|
2243
2243
|
return take(output, {
|
|
2244
2244
|
'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
|
|
@@ -2268,6 +2268,12 @@ const de_ProjectionInsightsList = (output, context) => {
|
|
|
2268
2268
|
});
|
|
2269
2269
|
return retVal;
|
|
2270
2270
|
};
|
|
2271
|
+
const de_ProjectionsList = (output, context) => {
|
|
2272
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2273
|
+
return de_Projection(entry, context);
|
|
2274
|
+
});
|
|
2275
|
+
return retVal;
|
|
2276
|
+
};
|
|
2271
2277
|
const deserializeMetadata = (output) => ({
|
|
2272
2278
|
httpStatusCode: output.statusCode,
|
|
2273
2279
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -52,7 +52,6 @@ import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/
|
|
|
52
52
|
import { UpdatePinnedDashboardsCommandInput, UpdatePinnedDashboardsCommandOutput } from "./commands/UpdatePinnedDashboardsCommand";
|
|
53
53
|
import { UpdatePlaylistAccessCommandInput, UpdatePlaylistAccessCommandOutput } from "./commands/UpdatePlaylistAccessCommand";
|
|
54
54
|
import { UpdatePlaylistCommandInput, UpdatePlaylistCommandOutput } from "./commands/UpdatePlaylistCommand";
|
|
55
|
-
import { UpdateProjectionAnalysisSettingsCommandInput, UpdateProjectionAnalysisSettingsCommandOutput } from "./commands/UpdateProjectionAnalysisSettingsCommand";
|
|
56
55
|
import { UpdateProjectionCommandInput, UpdateProjectionCommandOutput } from "./commands/UpdateProjectionCommand";
|
|
57
56
|
import { UpdateProjectionsCategoryCommandInput, UpdateProjectionsCategoryCommandOutput } from "./commands/UpdateProjectionsCategoryCommand";
|
|
58
57
|
import { WatchCommandInput, WatchCommandOutput } from "./commands/WatchCommand";
|
|
@@ -394,12 +393,6 @@ export interface WdaInsights {
|
|
|
394
393
|
updateProjection(args: UpdateProjectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProjectionCommandOutput>;
|
|
395
394
|
updateProjection(args: UpdateProjectionCommandInput, cb: (err: any, data?: UpdateProjectionCommandOutput) => void): void;
|
|
396
395
|
updateProjection(args: UpdateProjectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProjectionCommandOutput) => void): void;
|
|
397
|
-
/**
|
|
398
|
-
* @see {@link UpdateProjectionAnalysisSettingsCommand}
|
|
399
|
-
*/
|
|
400
|
-
updateProjectionAnalysisSettings(args: UpdateProjectionAnalysisSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProjectionAnalysisSettingsCommandOutput>;
|
|
401
|
-
updateProjectionAnalysisSettings(args: UpdateProjectionAnalysisSettingsCommandInput, cb: (err: any, data?: UpdateProjectionAnalysisSettingsCommandOutput) => void): void;
|
|
402
|
-
updateProjectionAnalysisSettings(args: UpdateProjectionAnalysisSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProjectionAnalysisSettingsCommandOutput) => void): void;
|
|
403
396
|
/**
|
|
404
397
|
* @see {@link UpdateProjectionsCategoryCommand}
|
|
405
398
|
*/
|
|
@@ -51,7 +51,6 @@ import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/
|
|
|
51
51
|
import { UpdatePinnedDashboardsCommandInput, UpdatePinnedDashboardsCommandOutput } from "./commands/UpdatePinnedDashboardsCommand";
|
|
52
52
|
import { UpdatePlaylistAccessCommandInput, UpdatePlaylistAccessCommandOutput } from "./commands/UpdatePlaylistAccessCommand";
|
|
53
53
|
import { UpdatePlaylistCommandInput, UpdatePlaylistCommandOutput } from "./commands/UpdatePlaylistCommand";
|
|
54
|
-
import { UpdateProjectionAnalysisSettingsCommandInput, UpdateProjectionAnalysisSettingsCommandOutput } from "./commands/UpdateProjectionAnalysisSettingsCommand";
|
|
55
54
|
import { UpdateProjectionCommandInput, UpdateProjectionCommandOutput } from "./commands/UpdateProjectionCommand";
|
|
56
55
|
import { UpdateProjectionsCategoryCommandInput, UpdateProjectionsCategoryCommandOutput } from "./commands/UpdateProjectionsCategoryCommand";
|
|
57
56
|
import { WatchCommandInput, WatchCommandOutput } from "./commands/WatchCommand";
|
|
@@ -66,11 +65,11 @@ export { __Client };
|
|
|
66
65
|
/**
|
|
67
66
|
* @public
|
|
68
67
|
*/
|
|
69
|
-
export type ServiceInputTypes = CreateDashboardCommandInput | CreateFilterCommandInput | CreatePlaylistCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteDashboardCommandInput | DeleteFilterCommandInput | DeletePlaylistCommandInput | DeletePlaylistItemCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetAnalysisSettingsCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallStateCommandInput | GetCallSummaryCommandInput | GetChatInsightsCommandInput | GetChatStateCommandInput | GetChatSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceStateCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetDashboardCommandInput | GetPlaylistCommandInput | GetProjectionCommandInput | ListConversationsAggregationsCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListConversationsNestedAggregationsCommandInput | ListDashboardsCommandInput | ListFiltersCommandInput | ListPinnedDashboardsCommandInput | ListPlaylistItemsCommandInput | ListPlaylistsCommandInput | ListProjectionsCommandInput | ListWatchHistoryCommandInput | PauseProjectionCommandInput | PutAnalysisSettingsCommandInput | PutPlaylistItemCommandInput | QueryConversationsCountCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateDashboardAccessCommandInput | UpdateDashboardCommandInput | UpdateFilterCommandInput | UpdatePinnedDashboardsCommandInput | UpdatePlaylistAccessCommandInput | UpdatePlaylistCommandInput |
|
|
68
|
+
export type ServiceInputTypes = CreateDashboardCommandInput | CreateFilterCommandInput | CreatePlaylistCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteDashboardCommandInput | DeleteFilterCommandInput | DeletePlaylistCommandInput | DeletePlaylistItemCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetAnalysisSettingsCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallStateCommandInput | GetCallSummaryCommandInput | GetChatInsightsCommandInput | GetChatStateCommandInput | GetChatSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceStateCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetDashboardCommandInput | GetPlaylistCommandInput | GetProjectionCommandInput | ListConversationsAggregationsCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListConversationsNestedAggregationsCommandInput | ListDashboardsCommandInput | ListFiltersCommandInput | ListPinnedDashboardsCommandInput | ListPlaylistItemsCommandInput | ListPlaylistsCommandInput | ListProjectionsCommandInput | ListWatchHistoryCommandInput | PauseProjectionCommandInput | PutAnalysisSettingsCommandInput | PutPlaylistItemCommandInput | QueryConversationsCountCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateDashboardAccessCommandInput | UpdateDashboardCommandInput | UpdateFilterCommandInput | UpdatePinnedDashboardsCommandInput | UpdatePlaylistAccessCommandInput | UpdatePlaylistCommandInput | UpdateProjectionCommandInput | UpdateProjectionsCategoryCommandInput | WatchCommandInput;
|
|
70
69
|
/**
|
|
71
70
|
* @public
|
|
72
71
|
*/
|
|
73
|
-
export type ServiceOutputTypes = CreateDashboardCommandOutput | CreateFilterCommandOutput | CreatePlaylistCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteDashboardCommandOutput | DeleteFilterCommandOutput | DeletePlaylistCommandOutput | DeletePlaylistItemCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetAnalysisSettingsCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallStateCommandOutput | GetCallSummaryCommandOutput | GetChatInsightsCommandOutput | GetChatStateCommandOutput | GetChatSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceStateCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetDashboardCommandOutput | GetPlaylistCommandOutput | GetProjectionCommandOutput | ListConversationsAggregationsCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListConversationsNestedAggregationsCommandOutput | ListDashboardsCommandOutput | ListFiltersCommandOutput | ListPinnedDashboardsCommandOutput | ListPlaylistItemsCommandOutput | ListPlaylistsCommandOutput | ListProjectionsCommandOutput | ListWatchHistoryCommandOutput | PauseProjectionCommandOutput | PutAnalysisSettingsCommandOutput | PutPlaylistItemCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateDashboardAccessCommandOutput | UpdateDashboardCommandOutput | UpdateFilterCommandOutput | UpdatePinnedDashboardsCommandOutput | UpdatePlaylistAccessCommandOutput | UpdatePlaylistCommandOutput |
|
|
72
|
+
export type ServiceOutputTypes = CreateDashboardCommandOutput | CreateFilterCommandOutput | CreatePlaylistCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteDashboardCommandOutput | DeleteFilterCommandOutput | DeletePlaylistCommandOutput | DeletePlaylistItemCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetAnalysisSettingsCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallStateCommandOutput | GetCallSummaryCommandOutput | GetChatInsightsCommandOutput | GetChatStateCommandOutput | GetChatSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceStateCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetDashboardCommandOutput | GetPlaylistCommandOutput | GetProjectionCommandOutput | ListConversationsAggregationsCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListConversationsNestedAggregationsCommandOutput | ListDashboardsCommandOutput | ListFiltersCommandOutput | ListPinnedDashboardsCommandOutput | ListPlaylistItemsCommandOutput | ListPlaylistsCommandOutput | ListProjectionsCommandOutput | ListWatchHistoryCommandOutput | PauseProjectionCommandOutput | PutAnalysisSettingsCommandOutput | PutPlaylistItemCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateDashboardAccessCommandOutput | UpdateDashboardCommandOutput | UpdateFilterCommandOutput | UpdatePinnedDashboardsCommandOutput | UpdatePlaylistAccessCommandOutput | UpdatePlaylistCommandOutput | UpdateProjectionCommandOutput | UpdateProjectionsCategoryCommandOutput | WatchCommandOutput;
|
|
74
73
|
/**
|
|
75
74
|
* @public
|
|
76
75
|
*/
|