@wildix/wda-insights-client 1.1.33 → 1.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-cjs/WdaInsights.js +0 -8
  2. package/dist-cjs/commands/index.js +0 -4
  3. package/dist-cjs/models/models_0.js +9 -6
  4. package/dist-cjs/protocols/Aws_restJson1.js +52 -151
  5. package/dist-es/WdaInsights.js +0 -8
  6. package/dist-es/commands/index.js +0 -4
  7. package/dist-es/models/models_0.js +8 -5
  8. package/dist-es/protocols/Aws_restJson1.js +48 -139
  9. package/dist-types/WdaInsights.d.ts +0 -28
  10. package/dist-types/WdaInsightsClient.d.ts +2 -6
  11. package/dist-types/commands/CreateProjectionCommand.d.ts +360 -6
  12. package/dist-types/commands/DisableProjectionCommand.d.ts +180 -3
  13. package/dist-types/commands/EnableProjectionCommand.d.ts +180 -3
  14. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +178 -0
  15. package/dist-types/commands/GetProjectionCommand.d.ts +180 -3
  16. package/dist-types/commands/ListConversationsCommand.d.ts +22 -39
  17. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +22 -39
  18. package/dist-types/commands/ListProjectionsCommand.d.ts +181 -10
  19. package/dist-types/commands/ListWatchHistoryCommand.d.ts +22 -39
  20. package/dist-types/commands/PauseProjectionCommand.d.ts +180 -3
  21. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +356 -0
  22. package/dist-types/commands/UpdateProjectionCommand.d.ts +360 -4
  23. package/dist-types/commands/index.d.ts +0 -4
  24. package/dist-types/models/models_0.d.ts +126 -96
  25. package/dist-types/protocols/Aws_restJson1.d.ts +0 -36
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -6
  27. package/dist-types/runtimeConfig.d.ts +1 -6
  28. package/dist-types/runtimeConfig.native.d.ts +1 -6
  29. package/package.json +1 -1
  30. package/dist-cjs/commands/CreateProjectionsCategoryCommand.js +0 -21
  31. package/dist-cjs/commands/DeleteProjectionsCategoryCommand.js +0 -21
  32. package/dist-cjs/commands/UpdateProjectionAnalysisSettingsCommand.js +0 -21
  33. package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +0 -21
  34. package/dist-es/commands/CreateProjectionsCategoryCommand.js +0 -17
  35. package/dist-es/commands/DeleteProjectionsCategoryCommand.js +0 -17
  36. package/dist-es/commands/UpdateProjectionAnalysisSettingsCommand.js +0 -17
  37. package/dist-es/commands/UpdateProjectionsCategoryCommand.js +0 -17
  38. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +0 -81
  39. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +0 -75
  40. package/dist-types/commands/UpdateProjectionAnalysisSettingsCommand.d.ts +0 -145
  41. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +0 -83
@@ -6,13 +6,11 @@ const CreateDashboardCommand_1 = require("./commands/CreateDashboardCommand");
6
6
  const CreateFilterCommand_1 = require("./commands/CreateFilterCommand");
7
7
  const CreatePlaylistCommand_1 = require("./commands/CreatePlaylistCommand");
8
8
  const CreateProjectionCommand_1 = require("./commands/CreateProjectionCommand");
9
- const CreateProjectionsCategoryCommand_1 = require("./commands/CreateProjectionsCategoryCommand");
10
9
  const DeleteDashboardCommand_1 = require("./commands/DeleteDashboardCommand");
11
10
  const DeleteFilterCommand_1 = require("./commands/DeleteFilterCommand");
12
11
  const DeletePlaylistCommand_1 = require("./commands/DeletePlaylistCommand");
13
12
  const DeletePlaylistItemCommand_1 = require("./commands/DeletePlaylistItemCommand");
14
13
  const DeleteProjectionCommand_1 = require("./commands/DeleteProjectionCommand");
15
- const DeleteProjectionsCategoryCommand_1 = require("./commands/DeleteProjectionsCategoryCommand");
16
14
  const DisableProjectionCommand_1 = require("./commands/DisableProjectionCommand");
17
15
  const EnableProjectionCommand_1 = require("./commands/EnableProjectionCommand");
18
16
  const GetAnalysisSettingsCommand_1 = require("./commands/GetAnalysisSettingsCommand");
@@ -55,9 +53,7 @@ const UpdateFilterCommand_1 = require("./commands/UpdateFilterCommand");
55
53
  const UpdatePinnedDashboardsCommand_1 = require("./commands/UpdatePinnedDashboardsCommand");
56
54
  const UpdatePlaylistAccessCommand_1 = require("./commands/UpdatePlaylistAccessCommand");
57
55
  const UpdatePlaylistCommand_1 = require("./commands/UpdatePlaylistCommand");
58
- const UpdateProjectionAnalysisSettingsCommand_1 = require("./commands/UpdateProjectionAnalysisSettingsCommand");
59
56
  const UpdateProjectionCommand_1 = require("./commands/UpdateProjectionCommand");
60
- const UpdateProjectionsCategoryCommand_1 = require("./commands/UpdateProjectionsCategoryCommand");
61
57
  const WatchCommand_1 = require("./commands/WatchCommand");
62
58
  const smithy_client_1 = require("@smithy/smithy-client");
63
59
  const commands = {
@@ -65,13 +61,11 @@ const commands = {
65
61
  CreateFilterCommand: CreateFilterCommand_1.CreateFilterCommand,
66
62
  CreatePlaylistCommand: CreatePlaylistCommand_1.CreatePlaylistCommand,
67
63
  CreateProjectionCommand: CreateProjectionCommand_1.CreateProjectionCommand,
68
- CreateProjectionsCategoryCommand: CreateProjectionsCategoryCommand_1.CreateProjectionsCategoryCommand,
69
64
  DeleteDashboardCommand: DeleteDashboardCommand_1.DeleteDashboardCommand,
70
65
  DeleteFilterCommand: DeleteFilterCommand_1.DeleteFilterCommand,
71
66
  DeletePlaylistCommand: DeletePlaylistCommand_1.DeletePlaylistCommand,
72
67
  DeletePlaylistItemCommand: DeletePlaylistItemCommand_1.DeletePlaylistItemCommand,
73
68
  DeleteProjectionCommand: DeleteProjectionCommand_1.DeleteProjectionCommand,
74
- DeleteProjectionsCategoryCommand: DeleteProjectionsCategoryCommand_1.DeleteProjectionsCategoryCommand,
75
69
  DisableProjectionCommand: DisableProjectionCommand_1.DisableProjectionCommand,
76
70
  EnableProjectionCommand: EnableProjectionCommand_1.EnableProjectionCommand,
77
71
  GetAnalysisSettingsCommand: GetAnalysisSettingsCommand_1.GetAnalysisSettingsCommand,
@@ -115,8 +109,6 @@ const commands = {
115
109
  UpdatePlaylistCommand: UpdatePlaylistCommand_1.UpdatePlaylistCommand,
116
110
  UpdatePlaylistAccessCommand: UpdatePlaylistAccessCommand_1.UpdatePlaylistAccessCommand,
117
111
  UpdateProjectionCommand: UpdateProjectionCommand_1.UpdateProjectionCommand,
118
- UpdateProjectionAnalysisSettingsCommand: UpdateProjectionAnalysisSettingsCommand_1.UpdateProjectionAnalysisSettingsCommand,
119
- UpdateProjectionsCategoryCommand: UpdateProjectionsCategoryCommand_1.UpdateProjectionsCategoryCommand,
120
112
  WatchCommand: WatchCommand_1.WatchCommand,
121
113
  };
122
114
  class WdaInsights extends WdaInsightsClient_1.WdaInsightsClient {
@@ -5,13 +5,11 @@ tslib_1.__exportStar(require("./CreateDashboardCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateFilterCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreatePlaylistCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateProjectionCommand"), exports);
8
- tslib_1.__exportStar(require("./CreateProjectionsCategoryCommand"), exports);
9
8
  tslib_1.__exportStar(require("./DeleteDashboardCommand"), exports);
10
9
  tslib_1.__exportStar(require("./DeleteFilterCommand"), exports);
11
10
  tslib_1.__exportStar(require("./DeletePlaylistCommand"), exports);
12
11
  tslib_1.__exportStar(require("./DeletePlaylistItemCommand"), exports);
13
12
  tslib_1.__exportStar(require("./DeleteProjectionCommand"), exports);
14
- tslib_1.__exportStar(require("./DeleteProjectionsCategoryCommand"), exports);
15
13
  tslib_1.__exportStar(require("./DisableProjectionCommand"), exports);
16
14
  tslib_1.__exportStar(require("./EnableProjectionCommand"), exports);
17
15
  tslib_1.__exportStar(require("./GetAnalysisSettingsCommand"), exports);
@@ -55,6 +53,4 @@ tslib_1.__exportStar(require("./UpdatePinnedDashboardsCommand"), exports);
55
53
  tslib_1.__exportStar(require("./UpdatePlaylistCommand"), exports);
56
54
  tslib_1.__exportStar(require("./UpdatePlaylistAccessCommand"), exports);
57
55
  tslib_1.__exportStar(require("./UpdateProjectionCommand"), exports);
58
- tslib_1.__exportStar(require("./UpdateProjectionAnalysisSettingsCommand"), exports);
59
- tslib_1.__exportStar(require("./UpdateProjectionsCategoryCommand"), exports);
60
56
  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.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;
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
- 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.se_UpdateProjectionAnalysisSettingsCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = exports.se_UpdatePlaylistCommand = exports.se_UpdatePinnedDashboardsCommand = void 0;
5
- exports.de_WatchCommand = exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionAnalysisSettingsCommand = 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 = exports.de_PutPlaylistItemCommand = void 0;
3
+ exports.se_UpdatePlaylistCommand = exports.se_UpdatePinnedDashboardsCommand = exports.se_UpdateFilterCommand = exports.se_UpdateDashboardAccessCommand = exports.se_UpdateDashboardCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_QueryConversationsCountCommand = exports.se_PutPlaylistItemCommand = exports.se_PutAnalysisSettingsCommand = exports.se_PauseProjectionCommand = exports.se_ListWatchHistoryCommand = exports.se_ListProjectionsCommand = exports.se_ListPlaylistsCommand = exports.se_ListPlaylistItemsCommand = exports.se_ListPinnedDashboardsCommand = exports.se_ListFiltersCommand = exports.se_ListDashboardsCommand = exports.se_ListConversationsNestedAggregationsCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsAggregationsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetPlaylistCommand = exports.se_GetDashboardCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceStateCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetChatSummaryCommand = exports.se_GetChatStateCommand = exports.se_GetChatInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallStateCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_GetAnalysisSettingsCommand = exports.se_EnableProjectionCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionCommand = exports.se_DeletePlaylistItemCommand = exports.se_DeletePlaylistCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDashboardCommand = exports.se_CreateProjectionCommand = exports.se_CreatePlaylistCommand = exports.se_CreateFilterCommand = exports.se_CreateDashboardCommand = void 0;
4
+ exports.de_UpdateDashboardAccessCommand = exports.de_UpdateDashboardCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_QueryConversationsCountCommand = exports.de_PutPlaylistItemCommand = exports.de_PutAnalysisSettingsCommand = exports.de_PauseProjectionCommand = exports.de_ListWatchHistoryCommand = exports.de_ListProjectionsCommand = exports.de_ListPlaylistsCommand = exports.de_ListPlaylistItemsCommand = exports.de_ListPinnedDashboardsCommand = exports.de_ListFiltersCommand = exports.de_ListDashboardsCommand = exports.de_ListConversationsNestedAggregationsCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsAggregationsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetPlaylistCommand = exports.de_GetDashboardCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceStateCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetChatSummaryCommand = exports.de_GetChatStateCommand = exports.de_GetChatInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallStateCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_GetAnalysisSettingsCommand = exports.de_EnableProjectionCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionCommand = exports.de_DeletePlaylistItemCommand = exports.de_DeletePlaylistCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDashboardCommand = exports.de_CreateProjectionCommand = exports.de_CreatePlaylistCommand = exports.de_CreateFilterCommand = exports.de_CreateDashboardCommand = exports.se_WatchCommand = exports.se_UpdateProjectionCommand = exports.se_UpdatePlaylistAccessCommand = void 0;
5
+ exports.de_WatchCommand = exports.de_UpdateProjectionCommand = exports.de_UpdatePlaylistAccessCommand = exports.de_UpdatePlaylistCommand = exports.de_UpdatePinnedDashboardsCommand = exports.de_UpdateFilterCommand = void 0;
6
6
  const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -83,10 +83,11 @@ const se_CreateProjectionCommand = async (input, context) => {
83
83
  });
84
84
  let body;
85
85
  body = JSON.stringify((0, smithy_client_1.take)(input, {
86
- 'categoryId': [],
86
+ 'category': [],
87
87
  'conditions': _ => (0, smithy_client_1._json)(_),
88
88
  'description': [],
89
89
  'fields': _ => (0, smithy_client_1._json)(_),
90
+ 'filter': _ => se_ListConversationsFilter(_, context),
90
91
  'group': [],
91
92
  'id': [],
92
93
  'instructions': [],
@@ -100,27 +101,6 @@ const se_CreateProjectionCommand = async (input, context) => {
100
101
  return b.build();
101
102
  };
102
103
  exports.se_CreateProjectionCommand = se_CreateProjectionCommand;
103
- const se_CreateProjectionsCategoryCommand = async (input, context) => {
104
- const b = (0, core_2.requestBuilder)(input, context);
105
- const headers = {
106
- 'content-type': 'application/json',
107
- };
108
- b.bp("/v2/insights/projections-categories");
109
- const query = (0, smithy_client_1.map)({
110
- [_c]: [, input[_c]],
111
- });
112
- let body;
113
- body = JSON.stringify((0, smithy_client_1.take)(input, {
114
- 'id': [],
115
- 'name': [],
116
- }));
117
- b.m("POST")
118
- .h(headers)
119
- .q(query)
120
- .b(body);
121
- return b.build();
122
- };
123
- exports.se_CreateProjectionsCategoryCommand = se_CreateProjectionsCategoryCommand;
124
104
  const se_DeleteDashboardCommand = async (input, context) => {
125
105
  const b = (0, core_2.requestBuilder)(input, context);
126
106
  const headers = {};
@@ -205,22 +185,6 @@ const se_DeleteProjectionCommand = async (input, context) => {
205
185
  return b.build();
206
186
  };
207
187
  exports.se_DeleteProjectionCommand = se_DeleteProjectionCommand;
208
- const se_DeleteProjectionsCategoryCommand = async (input, context) => {
209
- const b = (0, core_2.requestBuilder)(input, context);
210
- const headers = {};
211
- b.bp("/v2/insights/projections-categories/{id}");
212
- b.p('id', () => input.id, '{id}', false);
213
- const query = (0, smithy_client_1.map)({
214
- [_c]: [, input[_c]],
215
- });
216
- let body;
217
- b.m("DELETE")
218
- .h(headers)
219
- .q(query)
220
- .b(body);
221
- return b.build();
222
- };
223
- exports.se_DeleteProjectionsCategoryCommand = se_DeleteProjectionsCategoryCommand;
224
188
  const se_DisableProjectionCommand = async (input, context) => {
225
189
  const b = (0, core_2.requestBuilder)(input, context);
226
190
  const headers = {};
@@ -766,6 +730,8 @@ const se_PutAnalysisSettingsCommand = async (input, context) => {
766
730
  let body;
767
731
  body = JSON.stringify((0, smithy_client_1.take)(input, {
768
732
  'defaultModel': [],
733
+ 'disabled': [],
734
+ 'filter': _ => se_ListConversationsFilter(_, context),
769
735
  }));
770
736
  b.m("PUT")
771
737
  .h(headers)
@@ -994,54 +960,14 @@ const se_UpdateProjectionCommand = async (input, context) => {
994
960
  });
995
961
  let body;
996
962
  body = JSON.stringify((0, smithy_client_1.take)(input, {
997
- 'categoryId': [],
963
+ 'category': [],
998
964
  'conditions': _ => (0, smithy_client_1._json)(_),
999
965
  'description': [],
1000
966
  'fields': _ => (0, smithy_client_1._json)(_),
1001
- 'instructions': [],
1002
- 'name': [],
1003
- }));
1004
- b.m("PUT")
1005
- .h(headers)
1006
- .q(query)
1007
- .b(body);
1008
- return b.build();
1009
- };
1010
- 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, {
967
+ 'filter': _ => se_ListConversationsFilter(_, context),
1023
968
  'group': [],
969
+ 'instructions': [],
1024
970
  '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
- const se_UpdateProjectionsCategoryCommand = async (input, context) => {
1034
- const b = (0, core_2.requestBuilder)(input, context);
1035
- const headers = {
1036
- 'content-type': 'application/json',
1037
- };
1038
- b.bp("/v2/insights/projections-categories/{id}");
1039
- b.p('id', () => input.id, '{id}', false);
1040
- const query = (0, smithy_client_1.map)({
1041
- [_c]: [, input[_c]],
1042
- });
1043
- let body;
1044
- body = JSON.stringify((0, smithy_client_1.take)(input, {
1045
971
  'name': [],
1046
972
  }));
1047
973
  b.m("PUT")
@@ -1050,7 +976,7 @@ const se_UpdateProjectionsCategoryCommand = async (input, context) => {
1050
976
  .b(body);
1051
977
  return b.build();
1052
978
  };
1053
- exports.se_UpdateProjectionsCategoryCommand = se_UpdateProjectionsCategoryCommand;
979
+ exports.se_UpdateProjectionCommand = se_UpdateProjectionCommand;
1054
980
  const se_WatchCommand = async (input, context) => {
1055
981
  const b = (0, core_2.requestBuilder)(input, context);
1056
982
  const headers = {
@@ -1127,27 +1053,12 @@ const de_CreateProjectionCommand = async (output, context) => {
1127
1053
  });
1128
1054
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1129
1055
  const doc = (0, smithy_client_1.take)(data, {
1130
- 'projection': smithy_client_1._json,
1056
+ 'projection': _ => de_Projection(_, context),
1131
1057
  });
1132
1058
  Object.assign(contents, doc);
1133
1059
  return contents;
1134
1060
  };
1135
1061
  exports.de_CreateProjectionCommand = de_CreateProjectionCommand;
1136
- const de_CreateProjectionsCategoryCommand = async (output, context) => {
1137
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1138
- return de_CommandError(output, context);
1139
- }
1140
- const contents = (0, smithy_client_1.map)({
1141
- $metadata: deserializeMetadata(output),
1142
- });
1143
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1144
- const doc = (0, smithy_client_1.take)(data, {
1145
- 'category': smithy_client_1._json,
1146
- });
1147
- Object.assign(contents, doc);
1148
- return contents;
1149
- };
1150
- exports.de_CreateProjectionsCategoryCommand = de_CreateProjectionsCategoryCommand;
1151
1062
  const de_DeleteDashboardCommand = async (output, context) => {
1152
1063
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1153
1064
  return de_CommandError(output, context);
@@ -1203,17 +1114,6 @@ const de_DeleteProjectionCommand = async (output, context) => {
1203
1114
  return contents;
1204
1115
  };
1205
1116
  exports.de_DeleteProjectionCommand = de_DeleteProjectionCommand;
1206
- const de_DeleteProjectionsCategoryCommand = async (output, context) => {
1207
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1208
- return de_CommandError(output, context);
1209
- }
1210
- const contents = (0, smithy_client_1.map)({
1211
- $metadata: deserializeMetadata(output),
1212
- });
1213
- await (0, smithy_client_1.collectBody)(output.body, context);
1214
- return contents;
1215
- };
1216
- exports.de_DeleteProjectionsCategoryCommand = de_DeleteProjectionsCategoryCommand;
1217
1117
  const de_DisableProjectionCommand = async (output, context) => {
1218
1118
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
1119
  return de_CommandError(output, context);
@@ -1223,7 +1123,7 @@ const de_DisableProjectionCommand = async (output, context) => {
1223
1123
  });
1224
1124
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1225
1125
  const doc = (0, smithy_client_1.take)(data, {
1226
- 'projection': smithy_client_1._json,
1126
+ 'projection': _ => de_Projection(_, context),
1227
1127
  });
1228
1128
  Object.assign(contents, doc);
1229
1129
  return contents;
@@ -1238,7 +1138,7 @@ const de_EnableProjectionCommand = async (output, context) => {
1238
1138
  });
1239
1139
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1240
1140
  const doc = (0, smithy_client_1.take)(data, {
1241
- 'projection': smithy_client_1._json,
1141
+ 'projection': _ => de_Projection(_, context),
1242
1142
  });
1243
1143
  Object.assign(contents, doc);
1244
1144
  return contents;
@@ -1253,7 +1153,7 @@ const de_GetAnalysisSettingsCommand = async (output, context) => {
1253
1153
  });
1254
1154
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1255
1155
  const doc = (0, smithy_client_1.take)(data, {
1256
- 'settings': smithy_client_1._json,
1156
+ 'settings': _ => de_AnalysisSettings(_, context),
1257
1157
  });
1258
1158
  Object.assign(contents, doc);
1259
1159
  return contents;
@@ -1485,7 +1385,7 @@ const de_GetProjectionCommand = async (output, context) => {
1485
1385
  });
1486
1386
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1487
1387
  const doc = (0, smithy_client_1.take)(data, {
1488
- 'projection': smithy_client_1._json,
1388
+ 'projection': _ => de_Projection(_, context),
1489
1389
  });
1490
1390
  Object.assign(contents, doc);
1491
1391
  return contents;
@@ -1657,8 +1557,7 @@ const de_ListProjectionsCommand = async (output, context) => {
1657
1557
  });
1658
1558
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1659
1559
  const doc = (0, smithy_client_1.take)(data, {
1660
- 'categories': smithy_client_1._json,
1661
- 'projections': smithy_client_1._json,
1560
+ 'projections': _ => de_ProjectionsList(_, context),
1662
1561
  });
1663
1562
  Object.assign(contents, doc);
1664
1563
  return contents;
@@ -1690,7 +1589,7 @@ const de_PauseProjectionCommand = async (output, context) => {
1690
1589
  });
1691
1590
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1692
1591
  const doc = (0, smithy_client_1.take)(data, {
1693
- 'projection': smithy_client_1._json,
1592
+ 'projection': _ => de_Projection(_, context),
1694
1593
  });
1695
1594
  Object.assign(contents, doc);
1696
1595
  return contents;
@@ -1705,7 +1604,7 @@ const de_PutAnalysisSettingsCommand = async (output, context) => {
1705
1604
  });
1706
1605
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1707
1606
  const doc = (0, smithy_client_1.take)(data, {
1708
- 'settings': smithy_client_1._json,
1607
+ 'settings': _ => de_AnalysisSettings(_, context),
1709
1608
  });
1710
1609
  Object.assign(contents, doc);
1711
1610
  return contents;
@@ -1854,42 +1753,12 @@ const de_UpdateProjectionCommand = async (output, context) => {
1854
1753
  });
1855
1754
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1856
1755
  const doc = (0, smithy_client_1.take)(data, {
1857
- 'projection': smithy_client_1._json,
1756
+ 'projection': _ => de_Projection(_, context),
1858
1757
  });
1859
1758
  Object.assign(contents, doc);
1860
1759
  return contents;
1861
1760
  };
1862
1761
  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
- const de_UpdateProjectionsCategoryCommand = async (output, context) => {
1879
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1880
- return de_CommandError(output, context);
1881
- }
1882
- const contents = (0, smithy_client_1.map)({
1883
- $metadata: deserializeMetadata(output),
1884
- });
1885
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1886
- const doc = (0, smithy_client_1.take)(data, {
1887
- 'category': smithy_client_1._json,
1888
- });
1889
- Object.assign(contents, doc);
1890
- return contents;
1891
- };
1892
- exports.de_UpdateProjectionsCategoryCommand = de_UpdateProjectionsCategoryCommand;
1893
1762
  const de_WatchCommand = async (output, context) => {
1894
1763
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1895
1764
  return de_CommandError(output, context);
@@ -2107,6 +1976,13 @@ const de_AggregationResult = (output, context) => {
2107
1976
  'buckets': (_) => de_AggregationBucketsList(_, context),
2108
1977
  });
2109
1978
  };
1979
+ const de_AnalysisSettings = (output, context) => {
1980
+ return (0, smithy_client_1.take)(output, {
1981
+ 'defaultModel': smithy_client_1.expectString,
1982
+ 'disabled': smithy_client_1.expectBoolean,
1983
+ 'filter': (_) => de_ListConversationsFilter(_, context),
1984
+ });
1985
+ };
2110
1986
  const de_Dashboard = (output, context) => {
2111
1987
  return (0, smithy_client_1.take)(output, {
2112
1988
  'access': smithy_client_1._json,
@@ -2358,6 +2234,25 @@ const de_PlaylistItemsList = (output, context) => {
2358
2234
  });
2359
2235
  return retVal;
2360
2236
  };
2237
+ const de_Projection = (output, context) => {
2238
+ return (0, smithy_client_1.take)(output, {
2239
+ 'category': smithy_client_1.expectString,
2240
+ 'conditions': smithy_client_1._json,
2241
+ 'createdAt': smithy_client_1.expectString,
2242
+ 'description': smithy_client_1.expectString,
2243
+ 'fields': smithy_client_1._json,
2244
+ 'filter': (_) => de_ListConversationsFilter(_, context),
2245
+ 'group': smithy_client_1.expectString,
2246
+ 'id': smithy_client_1.expectString,
2247
+ 'instructions': smithy_client_1.expectString,
2248
+ 'metadata': smithy_client_1._json,
2249
+ 'model': smithy_client_1.expectString,
2250
+ 'name': smithy_client_1.expectString,
2251
+ 'status': smithy_client_1.expectString,
2252
+ 'updatedAt': smithy_client_1.expectString,
2253
+ 'version': smithy_client_1.expectInt32,
2254
+ });
2255
+ };
2361
2256
  const de_ProjectionInsights = (output, context) => {
2362
2257
  return (0, smithy_client_1.take)(output, {
2363
2258
  'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
@@ -2387,6 +2282,12 @@ const de_ProjectionInsightsList = (output, context) => {
2387
2282
  });
2388
2283
  return retVal;
2389
2284
  };
2285
+ const de_ProjectionsList = (output, context) => {
2286
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2287
+ return de_Projection(entry, context);
2288
+ });
2289
+ return retVal;
2290
+ };
2390
2291
  const deserializeMetadata = (output) => ({
2391
2292
  httpStatusCode: output.statusCode,
2392
2293
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -3,13 +3,11 @@ import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
3
3
  import { CreateFilterCommand, } from "./commands/CreateFilterCommand";
4
4
  import { CreatePlaylistCommand, } from "./commands/CreatePlaylistCommand";
5
5
  import { CreateProjectionCommand, } from "./commands/CreateProjectionCommand";
6
- import { CreateProjectionsCategoryCommand, } from "./commands/CreateProjectionsCategoryCommand";
7
6
  import { DeleteDashboardCommand, } from "./commands/DeleteDashboardCommand";
8
7
  import { DeleteFilterCommand, } from "./commands/DeleteFilterCommand";
9
8
  import { DeletePlaylistCommand, } from "./commands/DeletePlaylistCommand";
10
9
  import { DeletePlaylistItemCommand, } from "./commands/DeletePlaylistItemCommand";
11
10
  import { DeleteProjectionCommand, } from "./commands/DeleteProjectionCommand";
12
- import { DeleteProjectionsCategoryCommand, } from "./commands/DeleteProjectionsCategoryCommand";
13
11
  import { DisableProjectionCommand, } from "./commands/DisableProjectionCommand";
14
12
  import { EnableProjectionCommand, } from "./commands/EnableProjectionCommand";
15
13
  import { GetAnalysisSettingsCommand, } from "./commands/GetAnalysisSettingsCommand";
@@ -52,9 +50,7 @@ import { UpdateFilterCommand, } from "./commands/UpdateFilterCommand";
52
50
  import { UpdatePinnedDashboardsCommand, } from "./commands/UpdatePinnedDashboardsCommand";
53
51
  import { UpdatePlaylistAccessCommand, } from "./commands/UpdatePlaylistAccessCommand";
54
52
  import { UpdatePlaylistCommand, } from "./commands/UpdatePlaylistCommand";
55
- import { UpdateProjectionAnalysisSettingsCommand, } from "./commands/UpdateProjectionAnalysisSettingsCommand";
56
53
  import { UpdateProjectionCommand, } from "./commands/UpdateProjectionCommand";
57
- import { UpdateProjectionsCategoryCommand, } from "./commands/UpdateProjectionsCategoryCommand";
58
54
  import { WatchCommand, } from "./commands/WatchCommand";
59
55
  import { createAggregatedClient } from "@smithy/smithy-client";
60
56
  const commands = {
@@ -62,13 +58,11 @@ const commands = {
62
58
  CreateFilterCommand,
63
59
  CreatePlaylistCommand,
64
60
  CreateProjectionCommand,
65
- CreateProjectionsCategoryCommand,
66
61
  DeleteDashboardCommand,
67
62
  DeleteFilterCommand,
68
63
  DeletePlaylistCommand,
69
64
  DeletePlaylistItemCommand,
70
65
  DeleteProjectionCommand,
71
- DeleteProjectionsCategoryCommand,
72
66
  DisableProjectionCommand,
73
67
  EnableProjectionCommand,
74
68
  GetAnalysisSettingsCommand,
@@ -112,8 +106,6 @@ const commands = {
112
106
  UpdatePlaylistCommand,
113
107
  UpdatePlaylistAccessCommand,
114
108
  UpdateProjectionCommand,
115
- UpdateProjectionAnalysisSettingsCommand,
116
- UpdateProjectionsCategoryCommand,
117
109
  WatchCommand,
118
110
  };
119
111
  export class WdaInsights extends WdaInsightsClient {
@@ -2,13 +2,11 @@ export * from "./CreateDashboardCommand";
2
2
  export * from "./CreateFilterCommand";
3
3
  export * from "./CreatePlaylistCommand";
4
4
  export * from "./CreateProjectionCommand";
5
- export * from "./CreateProjectionsCategoryCommand";
6
5
  export * from "./DeleteDashboardCommand";
7
6
  export * from "./DeleteFilterCommand";
8
7
  export * from "./DeletePlaylistCommand";
9
8
  export * from "./DeletePlaylistItemCommand";
10
9
  export * from "./DeleteProjectionCommand";
11
- export * from "./DeleteProjectionsCategoryCommand";
12
10
  export * from "./DisableProjectionCommand";
13
11
  export * from "./EnableProjectionCommand";
14
12
  export * from "./GetAnalysisSettingsCommand";
@@ -52,6 +50,4 @@ export * from "./UpdatePinnedDashboardsCommand";
52
50
  export * from "./UpdatePlaylistCommand";
53
51
  export * from "./UpdatePlaylistAccessCommand";
54
52
  export * from "./UpdateProjectionCommand";
55
- export * from "./UpdateProjectionAnalysisSettingsCommand";
56
- export * from "./UpdateProjectionsCategoryCommand";
57
53
  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",