@wildix/wda-insights-client 1.1.2 → 1.1.4
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 -0
- package/dist-cjs/commands/GetChatInsightsCommand.js +21 -0
- package/dist-cjs/commands/GetChatSummaryCommand.js +21 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +52 -1
- package/dist-cjs/protocols/Aws_restJson1.js +70 -2
- package/dist-es/WdaInsights.js +4 -0
- package/dist-es/commands/GetChatInsightsCommand.js +17 -0
- package/dist-es/commands/GetChatSummaryCommand.js +17 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +51 -0
- package/dist-es/protocols/Aws_restJson1.js +64 -0
- package/dist-types/WdaInsights.d.ts +14 -0
- package/dist-types/WdaInsightsClient.d.ts +4 -2
- package/dist-types/commands/CreateProjectionCommand.d.ts +2 -0
- package/dist-types/commands/DisableProjectionCommand.d.ts +1 -0
- package/dist-types/commands/EnableProjectionCommand.d.ts +1 -0
- package/dist-types/commands/GetChatInsightsCommand.d.ts +93 -0
- package/dist-types/commands/GetChatSummaryCommand.d.ts +114 -0
- package/dist-types/commands/GetProjectionCommand.d.ts +1 -0
- package/dist-types/commands/ListConversationsCommand.d.ts +130 -0
- package/dist-types/commands/ListConversationsInsightsAggregationsCommand.d.ts +10 -0
- package/dist-types/commands/ListConversationsInsightsCommand.d.ts +10 -0
- package/dist-types/commands/ListProjectionsCommand.d.ts +1 -0
- package/dist-types/commands/PauseProjectionCommand.d.ts +1 -0
- package/dist-types/commands/QueryConversationsCountCommand.d.ts +10 -0
- package/dist-types/commands/UpdateProjectionCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +364 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +1 -1
package/dist-cjs/WdaInsights.js
CHANGED
|
@@ -13,6 +13,8 @@ const EnableProjectionCommand_1 = require("./commands/EnableProjectionCommand");
|
|
|
13
13
|
const GetCallCharacteristicsCommand_1 = require("./commands/GetCallCharacteristicsCommand");
|
|
14
14
|
const GetCallInsightsCommand_1 = require("./commands/GetCallInsightsCommand");
|
|
15
15
|
const GetCallSummaryCommand_1 = require("./commands/GetCallSummaryCommand");
|
|
16
|
+
const GetChatInsightsCommand_1 = require("./commands/GetChatInsightsCommand");
|
|
17
|
+
const GetChatSummaryCommand_1 = require("./commands/GetChatSummaryCommand");
|
|
16
18
|
const GetConferenceInsightsCommand_1 = require("./commands/GetConferenceInsightsCommand");
|
|
17
19
|
const GetConferenceRecordingPresignedDownloadUrlCommand_1 = require("./commands/GetConferenceRecordingPresignedDownloadUrlCommand");
|
|
18
20
|
const GetConferenceSummaryCommand_1 = require("./commands/GetConferenceSummaryCommand");
|
|
@@ -43,6 +45,8 @@ const commands = {
|
|
|
43
45
|
GetCallCharacteristicsCommand: GetCallCharacteristicsCommand_1.GetCallCharacteristicsCommand,
|
|
44
46
|
GetCallInsightsCommand: GetCallInsightsCommand_1.GetCallInsightsCommand,
|
|
45
47
|
GetCallSummaryCommand: GetCallSummaryCommand_1.GetCallSummaryCommand,
|
|
48
|
+
GetChatInsightsCommand: GetChatInsightsCommand_1.GetChatInsightsCommand,
|
|
49
|
+
GetChatSummaryCommand: GetChatSummaryCommand_1.GetChatSummaryCommand,
|
|
46
50
|
GetConferenceInsightsCommand: GetConferenceInsightsCommand_1.GetConferenceInsightsCommand,
|
|
47
51
|
GetConferenceRecordingPresignedDownloadUrlCommand: GetConferenceRecordingPresignedDownloadUrlCommand_1.GetConferenceRecordingPresignedDownloadUrlCommand,
|
|
48
52
|
GetConferenceSummaryCommand: GetConferenceSummaryCommand_1.GetConferenceSummaryCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetChatInsightsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetChatInsightsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaInsights", "GetChatInsights", {})
|
|
15
|
+
.n("WdaInsightsClient", "GetChatInsightsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetChatInsightsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetChatInsightsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetChatInsightsCommand = GetChatInsightsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetChatSummaryCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetChatSummaryCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaInsights", "GetChatSummary", {})
|
|
15
|
+
.n("WdaInsightsClient", "GetChatSummaryCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetChatSummaryCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetChatSummaryCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetChatSummaryCommand = GetChatSummaryCommand;
|
|
@@ -12,6 +12,8 @@ tslib_1.__exportStar(require("./EnableProjectionCommand"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./GetCallCharacteristicsCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./GetCallInsightsCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./GetCallSummaryCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetChatInsightsCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetChatSummaryCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./GetConferenceInsightsCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetConferenceRecordingPresignedDownloadUrlCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./GetConferenceSummaryCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.InsightsDefinition = exports.InsightsResultDefinition = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.AggregationDefinition = exports.AggregationDateDefinitionPrecision = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = void 0;
|
|
3
|
+
exports.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.InsightsDefinition = exports.InsightsResultDefinition = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionSource = exports.ProjectionProvider = exports.ProjectionParameter = exports.ProjectionCondition = exports.AggregationDefinition = exports.AggregationDateDefinitionPrecision = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = void 0;
|
|
4
4
|
const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
|
|
5
5
|
class NotFoundException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
|
|
6
6
|
name = "NotFoundException";
|
|
@@ -116,6 +116,51 @@ exports.RecordType = {
|
|
|
116
116
|
CONFERENCE: "conference",
|
|
117
117
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
118
118
|
};
|
|
119
|
+
exports.ChannelAccess = {
|
|
120
|
+
PRIVATE: "private",
|
|
121
|
+
PUBLIC: "public",
|
|
122
|
+
};
|
|
123
|
+
exports.ChannelType = {
|
|
124
|
+
DIRECT: "direct",
|
|
125
|
+
GROUP: "group",
|
|
126
|
+
};
|
|
127
|
+
exports.ChannelContextEventAttendeeStatus = {
|
|
128
|
+
ACCEPTED: "accepted",
|
|
129
|
+
DECLINED: "declined",
|
|
130
|
+
NONE: "none",
|
|
131
|
+
TENTATIVE: "tentative",
|
|
132
|
+
};
|
|
133
|
+
exports.ChannelContextSource = {
|
|
134
|
+
KITE: "kite",
|
|
135
|
+
};
|
|
136
|
+
exports.ChannelWhatsAppStatus = {
|
|
137
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
138
|
+
};
|
|
139
|
+
exports.ChatDirection = {
|
|
140
|
+
INBOUND: "INBOUND",
|
|
141
|
+
INTERNAL: "INTERNAL",
|
|
142
|
+
OUTBOUND: "OUTBOUND",
|
|
143
|
+
};
|
|
144
|
+
exports.ChatParticipantRole = {
|
|
145
|
+
AGENT: "AGENT",
|
|
146
|
+
CLIENT: "CLIENT",
|
|
147
|
+
};
|
|
148
|
+
exports.ChatParticipantType = {
|
|
149
|
+
LOCAL: "LOCAL",
|
|
150
|
+
REMOTE: "REMOTE",
|
|
151
|
+
};
|
|
152
|
+
exports.ChatStatus = {
|
|
153
|
+
COMPLETED: "COMPLETED",
|
|
154
|
+
MISSED: "MISSED",
|
|
155
|
+
WAITFIRSTREPLY: "WAITFIRSTREPLY",
|
|
156
|
+
WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
|
|
157
|
+
WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
|
|
158
|
+
};
|
|
159
|
+
exports.ChatTag = {
|
|
160
|
+
SMS: "sms",
|
|
161
|
+
TELEPHONY: "telephony",
|
|
162
|
+
WHATSAPP: "whatsapp",
|
|
163
|
+
};
|
|
119
164
|
exports.ConferenceDirection = {
|
|
120
165
|
INBOUND: "INBOUND",
|
|
121
166
|
INTERNAL: "INTERNAL",
|
|
@@ -207,6 +252,10 @@ var ProjectionParameter;
|
|
|
207
252
|
exports.ProjectionProvider = {
|
|
208
253
|
OPENAI: "OPENAI",
|
|
209
254
|
};
|
|
255
|
+
exports.ProjectionSource = {
|
|
256
|
+
CALLS: "CALLS",
|
|
257
|
+
CHATS: "CHATS",
|
|
258
|
+
};
|
|
210
259
|
exports.ProjectionStatus = {
|
|
211
260
|
DISABLED: "DISABLED",
|
|
212
261
|
ENABLED: "ENABLED",
|
|
@@ -336,6 +385,8 @@ var ListConversationsItemEvent;
|
|
|
336
385
|
return visitor.call(value.call);
|
|
337
386
|
if (value.conference !== undefined)
|
|
338
387
|
return visitor.conference(value.conference);
|
|
388
|
+
if (value.chat !== undefined)
|
|
389
|
+
return visitor.chat(value.chat);
|
|
339
390
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
340
391
|
};
|
|
341
392
|
})(ListConversationsItemEvent || (exports.ListConversationsItemEvent = ListConversationsItemEvent = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdateFilterCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = void 0;
|
|
3
|
+
exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_EnableProjectionCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeleteFilterCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreateFilterCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdateFilterCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_QueryConversationsCountCommand = exports.se_PauseProjectionCommand = exports.se_ListProjectionsCommand = exports.se_ListFiltersCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_EnableProjectionCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeleteFilterCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreateFilterCommand = void 0;
|
|
4
|
+
exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdateFilterCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = exports.de_PauseProjectionCommand = exports.de_ListProjectionsCommand = exports.de_ListFiltersCommand = exports.de_ListConversationsInsightsAggregationsCommand = void 0;
|
|
5
5
|
const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@aws-sdk/core");
|
|
@@ -43,6 +43,7 @@ const se_CreateProjectionCommand = async (input, context) => {
|
|
|
43
43
|
'instructions': [],
|
|
44
44
|
'model': _ => (0, smithy_client_1._json)(_),
|
|
45
45
|
'name': [],
|
|
46
|
+
'source': [],
|
|
46
47
|
}));
|
|
47
48
|
b.m("POST")
|
|
48
49
|
.h(headers)
|
|
@@ -199,6 +200,38 @@ const se_GetCallSummaryCommand = async (input, context) => {
|
|
|
199
200
|
return b.build();
|
|
200
201
|
};
|
|
201
202
|
exports.se_GetCallSummaryCommand = se_GetCallSummaryCommand;
|
|
203
|
+
const se_GetChatInsightsCommand = async (input, context) => {
|
|
204
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
205
|
+
const headers = {};
|
|
206
|
+
b.bp("/v2/insights/chats/{chatId}/insights");
|
|
207
|
+
b.p('chatId', () => input.chatId, '{chatId}', false);
|
|
208
|
+
const query = (0, smithy_client_1.map)({
|
|
209
|
+
[_c]: [, input[_c]],
|
|
210
|
+
});
|
|
211
|
+
let body;
|
|
212
|
+
b.m("GET")
|
|
213
|
+
.h(headers)
|
|
214
|
+
.q(query)
|
|
215
|
+
.b(body);
|
|
216
|
+
return b.build();
|
|
217
|
+
};
|
|
218
|
+
exports.se_GetChatInsightsCommand = se_GetChatInsightsCommand;
|
|
219
|
+
const se_GetChatSummaryCommand = async (input, context) => {
|
|
220
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
221
|
+
const headers = {};
|
|
222
|
+
b.bp("/v2/insights/chats/{chatId}/summary");
|
|
223
|
+
b.p('chatId', () => input.chatId, '{chatId}', false);
|
|
224
|
+
const query = (0, smithy_client_1.map)({
|
|
225
|
+
[_c]: [, input[_c]],
|
|
226
|
+
});
|
|
227
|
+
let body;
|
|
228
|
+
b.m("GET")
|
|
229
|
+
.h(headers)
|
|
230
|
+
.q(query)
|
|
231
|
+
.b(body);
|
|
232
|
+
return b.build();
|
|
233
|
+
};
|
|
234
|
+
exports.se_GetChatSummaryCommand = se_GetChatSummaryCommand;
|
|
202
235
|
const se_GetConferenceInsightsCommand = async (input, context) => {
|
|
203
236
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
204
237
|
const headers = {};
|
|
@@ -481,6 +514,7 @@ const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
481
514
|
'instructions': [],
|
|
482
515
|
'model': _ => (0, smithy_client_1._json)(_),
|
|
483
516
|
'name': [],
|
|
517
|
+
'source': [],
|
|
484
518
|
}));
|
|
485
519
|
b.m("PUT")
|
|
486
520
|
.h(headers)
|
|
@@ -666,6 +700,38 @@ const de_GetCallSummaryCommand = async (output, context) => {
|
|
|
666
700
|
return contents;
|
|
667
701
|
};
|
|
668
702
|
exports.de_GetCallSummaryCommand = de_GetCallSummaryCommand;
|
|
703
|
+
const de_GetChatInsightsCommand = async (output, context) => {
|
|
704
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
705
|
+
return de_CommandError(output, context);
|
|
706
|
+
}
|
|
707
|
+
const contents = (0, smithy_client_1.map)({
|
|
708
|
+
$metadata: deserializeMetadata(output),
|
|
709
|
+
});
|
|
710
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
711
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
712
|
+
'insights': _ => de_ProjectionInsightsList(_, context),
|
|
713
|
+
'status': smithy_client_1.expectString,
|
|
714
|
+
});
|
|
715
|
+
Object.assign(contents, doc);
|
|
716
|
+
return contents;
|
|
717
|
+
};
|
|
718
|
+
exports.de_GetChatInsightsCommand = de_GetChatInsightsCommand;
|
|
719
|
+
const de_GetChatSummaryCommand = async (output, context) => {
|
|
720
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
721
|
+
return de_CommandError(output, context);
|
|
722
|
+
}
|
|
723
|
+
const contents = (0, smithy_client_1.map)({
|
|
724
|
+
$metadata: deserializeMetadata(output),
|
|
725
|
+
});
|
|
726
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
727
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
728
|
+
'status': smithy_client_1.expectString,
|
|
729
|
+
'summary': smithy_client_1._json,
|
|
730
|
+
});
|
|
731
|
+
Object.assign(contents, doc);
|
|
732
|
+
return contents;
|
|
733
|
+
};
|
|
734
|
+
exports.de_GetChatSummaryCommand = de_GetChatSummaryCommand;
|
|
669
735
|
const de_GetConferenceInsightsCommand = async (output, context) => {
|
|
670
736
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
671
737
|
return de_CommandError(output, context);
|
|
@@ -1018,9 +1084,11 @@ const de_FileNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1018
1084
|
};
|
|
1019
1085
|
const se_ListConversationsFilter = (input, context) => {
|
|
1020
1086
|
return (0, smithy_client_1.take)(input, {
|
|
1087
|
+
'channel': smithy_client_1._json,
|
|
1021
1088
|
'date': smithy_client_1._json,
|
|
1022
1089
|
'direction': smithy_client_1._json,
|
|
1023
1090
|
'duration': smithy_client_1._json,
|
|
1091
|
+
'entity': smithy_client_1._json,
|
|
1024
1092
|
'group': smithy_client_1._json,
|
|
1025
1093
|
'insights': smithy_client_1._json,
|
|
1026
1094
|
'interaction': _ => se_ListConversationsFilterInteraction(_, context),
|
package/dist-es/WdaInsights.js
CHANGED
|
@@ -10,6 +10,8 @@ import { EnableProjectionCommand, } from "./commands/EnableProjectionCommand";
|
|
|
10
10
|
import { GetCallCharacteristicsCommand, } from "./commands/GetCallCharacteristicsCommand";
|
|
11
11
|
import { GetCallInsightsCommand, } from "./commands/GetCallInsightsCommand";
|
|
12
12
|
import { GetCallSummaryCommand, } from "./commands/GetCallSummaryCommand";
|
|
13
|
+
import { GetChatInsightsCommand, } from "./commands/GetChatInsightsCommand";
|
|
14
|
+
import { GetChatSummaryCommand, } from "./commands/GetChatSummaryCommand";
|
|
13
15
|
import { GetConferenceInsightsCommand, } from "./commands/GetConferenceInsightsCommand";
|
|
14
16
|
import { GetConferenceRecordingPresignedDownloadUrlCommand, } from "./commands/GetConferenceRecordingPresignedDownloadUrlCommand";
|
|
15
17
|
import { GetConferenceSummaryCommand, } from "./commands/GetConferenceSummaryCommand";
|
|
@@ -40,6 +42,8 @@ const commands = {
|
|
|
40
42
|
GetCallCharacteristicsCommand,
|
|
41
43
|
GetCallInsightsCommand,
|
|
42
44
|
GetCallSummaryCommand,
|
|
45
|
+
GetChatInsightsCommand,
|
|
46
|
+
GetChatSummaryCommand,
|
|
43
47
|
GetConferenceInsightsCommand,
|
|
44
48
|
GetConferenceRecordingPresignedDownloadUrlCommand,
|
|
45
49
|
GetConferenceSummaryCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetChatInsightsCommand, se_GetChatInsightsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetChatInsightsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WdaInsights", "GetChatInsights", {})
|
|
12
|
+
.n("WdaInsightsClient", "GetChatInsightsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetChatInsightsCommand)
|
|
15
|
+
.de(de_GetChatInsightsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetChatSummaryCommand, se_GetChatSummaryCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetChatSummaryCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WdaInsights", "GetChatSummary", {})
|
|
12
|
+
.n("WdaInsightsClient", "GetChatSummaryCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetChatSummaryCommand)
|
|
15
|
+
.de(de_GetChatSummaryCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -9,6 +9,8 @@ export * from "./EnableProjectionCommand";
|
|
|
9
9
|
export * from "./GetCallCharacteristicsCommand";
|
|
10
10
|
export * from "./GetCallInsightsCommand";
|
|
11
11
|
export * from "./GetCallSummaryCommand";
|
|
12
|
+
export * from "./GetChatInsightsCommand";
|
|
13
|
+
export * from "./GetChatSummaryCommand";
|
|
12
14
|
export * from "./GetConferenceInsightsCommand";
|
|
13
15
|
export * from "./GetConferenceRecordingPresignedDownloadUrlCommand";
|
|
14
16
|
export * from "./GetConferenceSummaryCommand";
|
|
@@ -110,6 +110,51 @@ export const RecordType = {
|
|
|
110
110
|
CONFERENCE: "conference",
|
|
111
111
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
112
112
|
};
|
|
113
|
+
export const ChannelAccess = {
|
|
114
|
+
PRIVATE: "private",
|
|
115
|
+
PUBLIC: "public",
|
|
116
|
+
};
|
|
117
|
+
export const ChannelType = {
|
|
118
|
+
DIRECT: "direct",
|
|
119
|
+
GROUP: "group",
|
|
120
|
+
};
|
|
121
|
+
export const ChannelContextEventAttendeeStatus = {
|
|
122
|
+
ACCEPTED: "accepted",
|
|
123
|
+
DECLINED: "declined",
|
|
124
|
+
NONE: "none",
|
|
125
|
+
TENTATIVE: "tentative",
|
|
126
|
+
};
|
|
127
|
+
export const ChannelContextSource = {
|
|
128
|
+
KITE: "kite",
|
|
129
|
+
};
|
|
130
|
+
export const ChannelWhatsAppStatus = {
|
|
131
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
132
|
+
};
|
|
133
|
+
export const ChatDirection = {
|
|
134
|
+
INBOUND: "INBOUND",
|
|
135
|
+
INTERNAL: "INTERNAL",
|
|
136
|
+
OUTBOUND: "OUTBOUND",
|
|
137
|
+
};
|
|
138
|
+
export const ChatParticipantRole = {
|
|
139
|
+
AGENT: "AGENT",
|
|
140
|
+
CLIENT: "CLIENT",
|
|
141
|
+
};
|
|
142
|
+
export const ChatParticipantType = {
|
|
143
|
+
LOCAL: "LOCAL",
|
|
144
|
+
REMOTE: "REMOTE",
|
|
145
|
+
};
|
|
146
|
+
export const ChatStatus = {
|
|
147
|
+
COMPLETED: "COMPLETED",
|
|
148
|
+
MISSED: "MISSED",
|
|
149
|
+
WAITFIRSTREPLY: "WAITFIRSTREPLY",
|
|
150
|
+
WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
|
|
151
|
+
WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
|
|
152
|
+
};
|
|
153
|
+
export const ChatTag = {
|
|
154
|
+
SMS: "sms",
|
|
155
|
+
TELEPHONY: "telephony",
|
|
156
|
+
WHATSAPP: "whatsapp",
|
|
157
|
+
};
|
|
113
158
|
export const ConferenceDirection = {
|
|
114
159
|
INBOUND: "INBOUND",
|
|
115
160
|
INTERNAL: "INTERNAL",
|
|
@@ -201,6 +246,10 @@ export var ProjectionParameter;
|
|
|
201
246
|
export const ProjectionProvider = {
|
|
202
247
|
OPENAI: "OPENAI",
|
|
203
248
|
};
|
|
249
|
+
export const ProjectionSource = {
|
|
250
|
+
CALLS: "CALLS",
|
|
251
|
+
CHATS: "CHATS",
|
|
252
|
+
};
|
|
204
253
|
export const ProjectionStatus = {
|
|
205
254
|
DISABLED: "DISABLED",
|
|
206
255
|
ENABLED: "ENABLED",
|
|
@@ -328,6 +377,8 @@ export var ListConversationsItemEvent;
|
|
|
328
377
|
return visitor.call(value.call);
|
|
329
378
|
if (value.conference !== undefined)
|
|
330
379
|
return visitor.conference(value.conference);
|
|
380
|
+
if (value.chat !== undefined)
|
|
381
|
+
return visitor.chat(value.chat);
|
|
331
382
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
332
383
|
};
|
|
333
384
|
})(ListConversationsItemEvent || (ListConversationsItemEvent = {}));
|
|
@@ -38,6 +38,7 @@ export const se_CreateProjectionCommand = async (input, context) => {
|
|
|
38
38
|
'instructions': [],
|
|
39
39
|
'model': _ => _json(_),
|
|
40
40
|
'name': [],
|
|
41
|
+
'source': [],
|
|
41
42
|
}));
|
|
42
43
|
b.m("POST")
|
|
43
44
|
.h(headers)
|
|
@@ -184,6 +185,36 @@ export const se_GetCallSummaryCommand = async (input, context) => {
|
|
|
184
185
|
.b(body);
|
|
185
186
|
return b.build();
|
|
186
187
|
};
|
|
188
|
+
export const se_GetChatInsightsCommand = async (input, context) => {
|
|
189
|
+
const b = rb(input, context);
|
|
190
|
+
const headers = {};
|
|
191
|
+
b.bp("/v2/insights/chats/{chatId}/insights");
|
|
192
|
+
b.p('chatId', () => input.chatId, '{chatId}', false);
|
|
193
|
+
const query = map({
|
|
194
|
+
[_c]: [, input[_c]],
|
|
195
|
+
});
|
|
196
|
+
let body;
|
|
197
|
+
b.m("GET")
|
|
198
|
+
.h(headers)
|
|
199
|
+
.q(query)
|
|
200
|
+
.b(body);
|
|
201
|
+
return b.build();
|
|
202
|
+
};
|
|
203
|
+
export const se_GetChatSummaryCommand = async (input, context) => {
|
|
204
|
+
const b = rb(input, context);
|
|
205
|
+
const headers = {};
|
|
206
|
+
b.bp("/v2/insights/chats/{chatId}/summary");
|
|
207
|
+
b.p('chatId', () => input.chatId, '{chatId}', false);
|
|
208
|
+
const query = map({
|
|
209
|
+
[_c]: [, input[_c]],
|
|
210
|
+
});
|
|
211
|
+
let body;
|
|
212
|
+
b.m("GET")
|
|
213
|
+
.h(headers)
|
|
214
|
+
.q(query)
|
|
215
|
+
.b(body);
|
|
216
|
+
return b.build();
|
|
217
|
+
};
|
|
187
218
|
export const se_GetConferenceInsightsCommand = async (input, context) => {
|
|
188
219
|
const b = rb(input, context);
|
|
189
220
|
const headers = {};
|
|
@@ -451,6 +482,7 @@ export const se_UpdateProjectionCommand = async (input, context) => {
|
|
|
451
482
|
'instructions': [],
|
|
452
483
|
'model': _ => _json(_),
|
|
453
484
|
'name': [],
|
|
485
|
+
'source': [],
|
|
454
486
|
}));
|
|
455
487
|
b.m("PUT")
|
|
456
488
|
.h(headers)
|
|
@@ -623,6 +655,36 @@ export const de_GetCallSummaryCommand = async (output, context) => {
|
|
|
623
655
|
Object.assign(contents, doc);
|
|
624
656
|
return contents;
|
|
625
657
|
};
|
|
658
|
+
export const de_GetChatInsightsCommand = async (output, context) => {
|
|
659
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
|
+
return de_CommandError(output, context);
|
|
661
|
+
}
|
|
662
|
+
const contents = map({
|
|
663
|
+
$metadata: deserializeMetadata(output),
|
|
664
|
+
});
|
|
665
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
666
|
+
const doc = take(data, {
|
|
667
|
+
'insights': _ => de_ProjectionInsightsList(_, context),
|
|
668
|
+
'status': __expectString,
|
|
669
|
+
});
|
|
670
|
+
Object.assign(contents, doc);
|
|
671
|
+
return contents;
|
|
672
|
+
};
|
|
673
|
+
export const de_GetChatSummaryCommand = async (output, context) => {
|
|
674
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
675
|
+
return de_CommandError(output, context);
|
|
676
|
+
}
|
|
677
|
+
const contents = map({
|
|
678
|
+
$metadata: deserializeMetadata(output),
|
|
679
|
+
});
|
|
680
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
681
|
+
const doc = take(data, {
|
|
682
|
+
'status': __expectString,
|
|
683
|
+
'summary': _json,
|
|
684
|
+
});
|
|
685
|
+
Object.assign(contents, doc);
|
|
686
|
+
return contents;
|
|
687
|
+
};
|
|
626
688
|
export const de_GetConferenceInsightsCommand = async (output, context) => {
|
|
627
689
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
628
690
|
return de_CommandError(output, context);
|
|
@@ -958,9 +1020,11 @@ const de_FileNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
958
1020
|
};
|
|
959
1021
|
const se_ListConversationsFilter = (input, context) => {
|
|
960
1022
|
return take(input, {
|
|
1023
|
+
'channel': _json,
|
|
961
1024
|
'date': _json,
|
|
962
1025
|
'direction': _json,
|
|
963
1026
|
'duration': _json,
|
|
1027
|
+
'entity': _json,
|
|
964
1028
|
'group': _json,
|
|
965
1029
|
'insights': _json,
|
|
966
1030
|
'interaction': _ => se_ListConversationsFilterInteraction(_, context),
|
|
@@ -10,6 +10,8 @@ import { EnableProjectionCommandInput, EnableProjectionCommandOutput } from "./c
|
|
|
10
10
|
import { GetCallCharacteristicsCommandInput, GetCallCharacteristicsCommandOutput } from "./commands/GetCallCharacteristicsCommand";
|
|
11
11
|
import { GetCallInsightsCommandInput, GetCallInsightsCommandOutput } from "./commands/GetCallInsightsCommand";
|
|
12
12
|
import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "./commands/GetCallSummaryCommand";
|
|
13
|
+
import { GetChatInsightsCommandInput, GetChatInsightsCommandOutput } from "./commands/GetChatInsightsCommand";
|
|
14
|
+
import { GetChatSummaryCommandInput, GetChatSummaryCommandOutput } from "./commands/GetChatSummaryCommand";
|
|
13
15
|
import { GetConferenceInsightsCommandInput, GetConferenceInsightsCommandOutput } from "./commands/GetConferenceInsightsCommand";
|
|
14
16
|
import { GetConferenceRecordingPresignedDownloadUrlCommandInput, GetConferenceRecordingPresignedDownloadUrlCommandOutput } from "./commands/GetConferenceRecordingPresignedDownloadUrlCommand";
|
|
15
17
|
import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "./commands/GetConferenceSummaryCommand";
|
|
@@ -95,6 +97,18 @@ export interface WdaInsights {
|
|
|
95
97
|
getCallSummary(args: GetCallSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetCallSummaryCommandOutput>;
|
|
96
98
|
getCallSummary(args: GetCallSummaryCommandInput, cb: (err: any, data?: GetCallSummaryCommandOutput) => void): void;
|
|
97
99
|
getCallSummary(args: GetCallSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallSummaryCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link GetChatInsightsCommand}
|
|
102
|
+
*/
|
|
103
|
+
getChatInsights(args: GetChatInsightsCommandInput, options?: __HttpHandlerOptions): Promise<GetChatInsightsCommandOutput>;
|
|
104
|
+
getChatInsights(args: GetChatInsightsCommandInput, cb: (err: any, data?: GetChatInsightsCommandOutput) => void): void;
|
|
105
|
+
getChatInsights(args: GetChatInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChatInsightsCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link GetChatSummaryCommand}
|
|
108
|
+
*/
|
|
109
|
+
getChatSummary(args: GetChatSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetChatSummaryCommandOutput>;
|
|
110
|
+
getChatSummary(args: GetChatSummaryCommandInput, cb: (err: any, data?: GetChatSummaryCommandOutput) => void): void;
|
|
111
|
+
getChatSummary(args: GetChatSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChatSummaryCommandOutput) => void): void;
|
|
98
112
|
/**
|
|
99
113
|
* @see {@link GetConferenceInsightsCommand}
|
|
100
114
|
*/
|
|
@@ -9,6 +9,8 @@ import { EnableProjectionCommandInput, EnableProjectionCommandOutput } from "./c
|
|
|
9
9
|
import { GetCallCharacteristicsCommandInput, GetCallCharacteristicsCommandOutput } from "./commands/GetCallCharacteristicsCommand";
|
|
10
10
|
import { GetCallInsightsCommandInput, GetCallInsightsCommandOutput } from "./commands/GetCallInsightsCommand";
|
|
11
11
|
import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "./commands/GetCallSummaryCommand";
|
|
12
|
+
import { GetChatInsightsCommandInput, GetChatInsightsCommandOutput } from "./commands/GetChatInsightsCommand";
|
|
13
|
+
import { GetChatSummaryCommandInput, GetChatSummaryCommandOutput } from "./commands/GetChatSummaryCommand";
|
|
12
14
|
import { GetConferenceInsightsCommandInput, GetConferenceInsightsCommandOutput } from "./commands/GetConferenceInsightsCommand";
|
|
13
15
|
import { GetConferenceRecordingPresignedDownloadUrlCommandInput, GetConferenceRecordingPresignedDownloadUrlCommandOutput } from "./commands/GetConferenceRecordingPresignedDownloadUrlCommand";
|
|
14
16
|
import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "./commands/GetConferenceSummaryCommand";
|
|
@@ -37,11 +39,11 @@ export { __Client };
|
|
|
37
39
|
/**
|
|
38
40
|
* @public
|
|
39
41
|
*/
|
|
40
|
-
export type ServiceInputTypes = CreateFilterCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteFilterCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetProjectionCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListFiltersCommandInput | ListProjectionsCommandInput | PauseProjectionCommandInput | QueryConversationsCountCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateFilterCommandInput | UpdateProjectionCommandInput | UpdateProjectionsCategoryCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateFilterCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteFilterCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallSummaryCommandInput | GetChatInsightsCommandInput | GetChatSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetProjectionCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListFiltersCommandInput | ListProjectionsCommandInput | PauseProjectionCommandInput | QueryConversationsCountCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateFilterCommandInput | UpdateProjectionCommandInput | UpdateProjectionsCategoryCommandInput;
|
|
41
43
|
/**
|
|
42
44
|
* @public
|
|
43
45
|
*/
|
|
44
|
-
export type ServiceOutputTypes = CreateFilterCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteFilterCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetProjectionCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListFiltersCommandOutput | ListProjectionsCommandOutput | PauseProjectionCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateFilterCommandOutput | UpdateProjectionCommandOutput | UpdateProjectionsCategoryCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateFilterCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteFilterCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallSummaryCommandOutput | GetChatInsightsCommandOutput | GetChatSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetProjectionCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListFiltersCommandOutput | ListProjectionsCommandOutput | PauseProjectionCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateFilterCommandOutput | UpdateProjectionCommandOutput | UpdateProjectionsCategoryCommandOutput;
|
|
45
47
|
/**
|
|
46
48
|
* @public
|
|
47
49
|
*/
|
|
@@ -37,6 +37,7 @@ declare const CreateProjectionCommand_base: {
|
|
|
37
37
|
* const input = { // CreateProjectionInput
|
|
38
38
|
* categoryId: "STRING_VALUE", // required
|
|
39
39
|
* name: "STRING_VALUE", // required
|
|
40
|
+
* source: "CALLS" || "CHATS",
|
|
40
41
|
* description: "STRING_VALUE",
|
|
41
42
|
* instructions: "STRING_VALUE",
|
|
42
43
|
* conditions: [ // ProjectionConditionsList
|
|
@@ -95,6 +96,7 @@ declare const CreateProjectionCommand_base: {
|
|
|
95
96
|
* // projection: { // Projection
|
|
96
97
|
* // categoryId: "STRING_VALUE", // required
|
|
97
98
|
* // name: "STRING_VALUE", // required
|
|
99
|
+
* // source: "CALLS" || "CHATS",
|
|
98
100
|
* // description: "STRING_VALUE",
|
|
99
101
|
* // instructions: "STRING_VALUE",
|
|
100
102
|
* // conditions: [ // ProjectionConditionsList
|
|
@@ -44,6 +44,7 @@ declare const DisableProjectionCommand_base: {
|
|
|
44
44
|
* // projection: { // Projection
|
|
45
45
|
* // categoryId: "STRING_VALUE", // required
|
|
46
46
|
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // source: "CALLS" || "CHATS",
|
|
47
48
|
* // description: "STRING_VALUE",
|
|
48
49
|
* // instructions: "STRING_VALUE",
|
|
49
50
|
* // conditions: [ // ProjectionConditionsList
|
|
@@ -44,6 +44,7 @@ declare const EnableProjectionCommand_base: {
|
|
|
44
44
|
* // projection: { // Projection
|
|
45
45
|
* // categoryId: "STRING_VALUE", // required
|
|
46
46
|
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // source: "CALLS" || "CHATS",
|
|
47
48
|
* // description: "STRING_VALUE",
|
|
48
49
|
* // instructions: "STRING_VALUE",
|
|
49
50
|
* // conditions: [ // ProjectionConditionsList
|