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