@aws-sdk/client-connect 3.460.0 → 3.461.0

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 (153) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/Connect.js +26 -0
  3. package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
  4. package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
  5. package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
  6. package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
  8. package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
  9. package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
  11. package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
  13. package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
  14. package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
  15. package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -51
  19. package/dist-cjs/models/models_2.js +72 -1
  20. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
  24. package/dist-es/Connect.js +26 -0
  25. package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
  26. package/dist-es/commands/AssociateFlowCommand.js +47 -0
  27. package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
  28. package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
  29. package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
  30. package/dist-es/commands/DisassociateFlowCommand.js +47 -0
  31. package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
  32. package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
  33. package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
  34. package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
  35. package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
  36. package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
  37. package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +9 -8
  40. package/dist-es/models/models_1.js +79 -47
  41. package/dist-es/models/models_2.js +65 -0
  42. package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1019 -21
  46. package/dist-types/Connect.d.ts +91 -0
  47. package/dist-types/ConnectClient.d.ts +15 -2
  48. package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
  49. package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
  50. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
  51. package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateUserCommand.d.ts +1 -3
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
  60. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  61. package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
  62. package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
  63. package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
  64. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
  65. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
  66. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
  67. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
  68. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
  69. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
  70. package/dist-types/commands/ListRulesCommand.d.ts +2 -2
  71. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
  73. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
  74. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  75. package/dist-types/commands/StartContactEvaluationCommand.d.ts +1 -1
  76. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
  81. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  82. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  83. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  84. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  85. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  88. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
  96. package/dist-types/commands/index.d.ts +13 -0
  97. package/dist-types/models/models_0.d.ts +271 -381
  98. package/dist-types/models/models_1.d.ts +3355 -3077
  99. package/dist-types/models/models_2.d.ts +1427 -2
  100. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
  102. package/dist-types/pagination/index.d.ts +2 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  104. package/dist-types/ts3.4/Connect.d.ts +233 -0
  105. package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
  106. package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
  145. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  146. package/dist-types/ts3.4/models/models_0.d.ts +69 -94
  147. package/dist-types/ts3.4/models/models_1.d.ts +388 -256
  148. package/dist-types/ts3.4/models/models_2.d.ts +334 -0
  149. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  152. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  153. package/package.json +3 -3
@@ -1,9 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.ChatEventType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.OutputTypeNotFoundException = exports.RealTimeContactAnalysisStatus = exports.RealtimeContactAnalysisSegment = exports.RealTimeContactAnalysisSentimentLabel = exports.RealTimeContactAnalysisTimeData = exports.ArtifactStatus = exports.RealTimeContactAnalysisSupportedChannel = exports.RealTimeContactAnalysisSegmentType = exports.RealTimeContactAnalysisOutputType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
6
  const models_0_1 = require("./models_0");
7
+ exports.TrafficDistributionGroupStatus = {
8
+ ACTIVE: "ACTIVE",
9
+ CREATION_FAILED: "CREATION_FAILED",
10
+ CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
11
+ DELETION_FAILED: "DELETION_FAILED",
12
+ PENDING_DELETION: "PENDING_DELETION",
13
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
14
+ };
7
15
  exports.CurrentMetricName = {
8
16
  AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
9
17
  AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
@@ -120,6 +128,74 @@ exports.QueueType = {
120
128
  AGENT: "AGENT",
121
129
  STANDARD: "STANDARD",
122
130
  };
131
+ exports.RealTimeContactAnalysisOutputType = {
132
+ Raw: "Raw",
133
+ Redacted: "Redacted",
134
+ };
135
+ exports.RealTimeContactAnalysisSegmentType = {
136
+ Attachments: "Attachments",
137
+ Categories: "Categories",
138
+ Event: "Event",
139
+ Issues: "Issues",
140
+ Transcript: "Transcript",
141
+ };
142
+ exports.RealTimeContactAnalysisSupportedChannel = {
143
+ CHAT: "CHAT",
144
+ VOICE: "VOICE",
145
+ };
146
+ exports.ArtifactStatus = {
147
+ APPROVED: "APPROVED",
148
+ IN_PROGRESS: "IN_PROGRESS",
149
+ REJECTED: "REJECTED",
150
+ };
151
+ var RealTimeContactAnalysisTimeData;
152
+ (function (RealTimeContactAnalysisTimeData) {
153
+ RealTimeContactAnalysisTimeData.visit = (value, visitor) => {
154
+ if (value.AbsoluteTime !== undefined)
155
+ return visitor.AbsoluteTime(value.AbsoluteTime);
156
+ return visitor._(value.$unknown[0], value.$unknown[1]);
157
+ };
158
+ })(RealTimeContactAnalysisTimeData = exports.RealTimeContactAnalysisTimeData || (exports.RealTimeContactAnalysisTimeData = {}));
159
+ exports.RealTimeContactAnalysisSentimentLabel = {
160
+ NEGATIVE: "NEGATIVE",
161
+ NEUTRAL: "NEUTRAL",
162
+ POSITIVE: "POSITIVE",
163
+ };
164
+ var RealtimeContactAnalysisSegment;
165
+ (function (RealtimeContactAnalysisSegment) {
166
+ RealtimeContactAnalysisSegment.visit = (value, visitor) => {
167
+ if (value.Transcript !== undefined)
168
+ return visitor.Transcript(value.Transcript);
169
+ if (value.Categories !== undefined)
170
+ return visitor.Categories(value.Categories);
171
+ if (value.Issues !== undefined)
172
+ return visitor.Issues(value.Issues);
173
+ if (value.Event !== undefined)
174
+ return visitor.Event(value.Event);
175
+ if (value.Attachments !== undefined)
176
+ return visitor.Attachments(value.Attachments);
177
+ return visitor._(value.$unknown[0], value.$unknown[1]);
178
+ };
179
+ })(RealtimeContactAnalysisSegment = exports.RealtimeContactAnalysisSegment || (exports.RealtimeContactAnalysisSegment = {}));
180
+ exports.RealTimeContactAnalysisStatus = {
181
+ COMPLETED: "COMPLETED",
182
+ FAILED: "FAILED",
183
+ IN_PROGRESS: "IN_PROGRESS",
184
+ };
185
+ class OutputTypeNotFoundException extends ConnectServiceException_1.ConnectServiceException {
186
+ constructor(opts) {
187
+ super({
188
+ name: "OutputTypeNotFoundException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ this.name = "OutputTypeNotFoundException";
193
+ this.$fault = "client";
194
+ Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ exports.OutputTypeNotFoundException = OutputTypeNotFoundException;
123
199
  exports.StringComparisonType = {
124
200
  CONTAINS: "CONTAINS",
125
201
  EXACT: "EXACT",
@@ -146,57 +222,11 @@ exports.HierarchyGroupMatchType = {
146
222
  EXACT: "EXACT",
147
223
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
148
224
  };
149
- exports.VoiceRecordingTrack = {
150
- ALL: "ALL",
151
- FROM_AGENT: "FROM_AGENT",
152
- TO_AGENT: "TO_AGENT",
153
- };
154
- class DestinationNotAllowedException extends ConnectServiceException_1.ConnectServiceException {
155
- constructor(opts) {
156
- super({
157
- name: "DestinationNotAllowedException",
158
- $fault: "client",
159
- ...opts,
160
- });
161
- this.name = "DestinationNotAllowedException";
162
- this.$fault = "client";
163
- Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
164
- this.Message = opts.Message;
165
- }
166
- }
167
- exports.DestinationNotAllowedException = DestinationNotAllowedException;
168
- class OutboundContactNotPermittedException extends ConnectServiceException_1.ConnectServiceException {
169
- constructor(opts) {
170
- super({
171
- name: "OutboundContactNotPermittedException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- this.name = "OutboundContactNotPermittedException";
176
- this.$fault = "client";
177
- Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
178
- this.Message = opts.Message;
179
- }
180
- }
181
- exports.OutboundContactNotPermittedException = OutboundContactNotPermittedException;
182
- exports.TrafficType = {
183
- CAMPAIGN: "CAMPAIGN",
184
- GENERAL: "GENERAL",
225
+ exports.ChatEventType = {
226
+ DISCONNECT: "DISCONNECT",
227
+ EVENT: "EVENT",
228
+ MESSAGE: "MESSAGE",
185
229
  };
186
- class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceException {
187
- constructor(opts) {
188
- super({
189
- name: "ContactNotFoundException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- this.name = "ContactNotFoundException";
194
- this.$fault = "client";
195
- Object.setPrototypeOf(this, ContactNotFoundException.prototype);
196
- this.Message = opts.Message;
197
- }
198
- }
199
- exports.ContactNotFoundException = ContactNotFoundException;
200
230
  const DescribeViewResponseFilterSensitiveLog = (obj) => ({
201
231
  ...obj,
202
232
  ...(obj.View && { View: (0, models_0_1.ViewFilterSensitiveLog)(obj.View) }),
@@ -1,8 +1,64 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = void 0;
3
+ exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.StartWebRTCContactResponseFilterSensitiveLog = exports.ConnectionDataFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.MeetingFeatureStatus = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
+ const ConnectServiceException_1 = require("./ConnectServiceException");
5
6
  const models_0_1 = require("./models_0");
7
+ exports.VoiceRecordingTrack = {
8
+ ALL: "ALL",
9
+ FROM_AGENT: "FROM_AGENT",
10
+ TO_AGENT: "TO_AGENT",
11
+ };
12
+ class DestinationNotAllowedException extends ConnectServiceException_1.ConnectServiceException {
13
+ constructor(opts) {
14
+ super({
15
+ name: "DestinationNotAllowedException",
16
+ $fault: "client",
17
+ ...opts,
18
+ });
19
+ this.name = "DestinationNotAllowedException";
20
+ this.$fault = "client";
21
+ Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
22
+ this.Message = opts.Message;
23
+ }
24
+ }
25
+ exports.DestinationNotAllowedException = DestinationNotAllowedException;
26
+ class OutboundContactNotPermittedException extends ConnectServiceException_1.ConnectServiceException {
27
+ constructor(opts) {
28
+ super({
29
+ name: "OutboundContactNotPermittedException",
30
+ $fault: "client",
31
+ ...opts,
32
+ });
33
+ this.name = "OutboundContactNotPermittedException";
34
+ this.$fault = "client";
35
+ Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
36
+ this.Message = opts.Message;
37
+ }
38
+ }
39
+ exports.OutboundContactNotPermittedException = OutboundContactNotPermittedException;
40
+ exports.TrafficType = {
41
+ CAMPAIGN: "CAMPAIGN",
42
+ GENERAL: "GENERAL",
43
+ };
44
+ exports.MeetingFeatureStatus = {
45
+ AVAILABLE: "AVAILABLE",
46
+ UNAVAILABLE: "UNAVAILABLE",
47
+ };
48
+ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceException {
49
+ constructor(opts) {
50
+ super({
51
+ name: "ContactNotFoundException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ this.name = "ContactNotFoundException";
56
+ this.$fault = "client";
57
+ Object.setPrototypeOf(this, ContactNotFoundException.prototype);
58
+ this.Message = opts.Message;
59
+ }
60
+ }
61
+ exports.ContactNotFoundException = ContactNotFoundException;
6
62
  exports.TimerEligibleParticipantRoles = {
7
63
  AGENT: "AGENT",
8
64
  CUSTOMER: "CUSTOMER",
@@ -42,6 +98,21 @@ var EvaluationFormItem;
42
98
  return visitor._(value.$unknown[0], value.$unknown[1]);
43
99
  };
44
100
  })(EvaluationFormItem = exports.EvaluationFormItem || (exports.EvaluationFormItem = {}));
101
+ const AttendeeFilterSensitiveLog = (obj) => ({
102
+ ...obj,
103
+ ...(obj.JoinToken && { JoinToken: smithy_client_1.SENSITIVE_STRING }),
104
+ });
105
+ exports.AttendeeFilterSensitiveLog = AttendeeFilterSensitiveLog;
106
+ const ConnectionDataFilterSensitiveLog = (obj) => ({
107
+ ...obj,
108
+ ...(obj.Attendee && { Attendee: (0, exports.AttendeeFilterSensitiveLog)(obj.Attendee) }),
109
+ });
110
+ exports.ConnectionDataFilterSensitiveLog = ConnectionDataFilterSensitiveLog;
111
+ const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
112
+ ...obj,
113
+ ...(obj.ConnectionData && { ConnectionData: (0, exports.ConnectionDataFilterSensitiveLog)(obj.ConnectionData) }),
114
+ });
115
+ exports.StartWebRTCContactResponseFilterSensitiveLog = StartWebRTCContactResponseFilterSensitiveLog;
45
116
  const UpdateViewContentRequestFilterSensitiveLog = (obj) => ({
46
117
  ...obj,
47
118
  ...(obj.Content && { Content: (0, models_0_1.ViewInputContentFilterSensitiveLog)(obj.Content) }),
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListFlowAssociations = void 0;
4
+ const ListFlowAssociationsCommand_1 = require("../commands/ListFlowAssociationsCommand");
5
+ const ConnectClient_1 = require("../ConnectClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListFlowAssociationsCommand_1.ListFlowAssociationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListFlowAssociations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof ConnectClient_1.ConnectClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Connect | ConnectClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListFlowAssociations = paginateListFlowAssociations;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListRealtimeContactAnalysisSegmentsV2 = void 0;
4
+ const ListRealtimeContactAnalysisSegmentsV2Command_1 = require("../commands/ListRealtimeContactAnalysisSegmentsV2Command");
5
+ const ConnectClient_1 = require("../ConnectClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListRealtimeContactAnalysisSegmentsV2Command_1.ListRealtimeContactAnalysisSegmentsV2Command(input), ...args);
8
+ };
9
+ async function* paginateListRealtimeContactAnalysisSegmentsV2(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof ConnectClient_1.ConnectClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Connect | ConnectClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListRealtimeContactAnalysisSegmentsV2 = paginateListRealtimeContactAnalysisSegmentsV2;
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./ListContactReferencesPaginator"), exports);
16
16
  tslib_1.__exportStar(require("./ListDefaultVocabulariesPaginator"), exports);
17
17
  tslib_1.__exportStar(require("./ListEvaluationFormVersionsPaginator"), exports);
18
18
  tslib_1.__exportStar(require("./ListEvaluationFormsPaginator"), exports);
19
+ tslib_1.__exportStar(require("./ListFlowAssociationsPaginator"), exports);
19
20
  tslib_1.__exportStar(require("./ListHoursOfOperationsPaginator"), exports);
20
21
  tslib_1.__exportStar(require("./ListInstanceAttributesPaginator"), exports);
21
22
  tslib_1.__exportStar(require("./ListInstanceStorageConfigsPaginator"), exports);
@@ -29,6 +30,7 @@ tslib_1.__exportStar(require("./ListPromptsPaginator"), exports);
29
30
  tslib_1.__exportStar(require("./ListQueueQuickConnectsPaginator"), exports);
30
31
  tslib_1.__exportStar(require("./ListQueuesPaginator"), exports);
31
32
  tslib_1.__exportStar(require("./ListQuickConnectsPaginator"), exports);
33
+ tslib_1.__exportStar(require("./ListRealtimeContactAnalysisSegmentsV2Paginator"), exports);
32
34
  tslib_1.__exportStar(require("./ListRoutingProfileQueuesPaginator"), exports);
33
35
  tslib_1.__exportStar(require("./ListRoutingProfilesPaginator"), exports);
34
36
  tslib_1.__exportStar(require("./ListRulesPaginator"), exports);