@aws-sdk/client-connect 3.474.0 → 3.476.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 (52) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/PauseContactCommand.js +51 -0
  4. package/dist-cjs/commands/ResumeContactCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +7 -5
  7. package/dist-cjs/models/models_1.js +19 -6
  8. package/dist-cjs/models/models_2.js +6 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +281 -10
  10. package/dist-es/Connect.js +4 -0
  11. package/dist-es/commands/PauseContactCommand.js +47 -0
  12. package/dist-es/commands/ResumeContactCommand.js +47 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +6 -4
  15. package/dist-es/models/models_1.js +17 -5
  16. package/dist-es/models/models_2.js +5 -0
  17. package/dist-es/protocols/Aws_restJson1.js +271 -4
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
  22. package/dist-types/commands/DescribeContactCommand.d.ts +5 -0
  23. package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
  26. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  28. package/dist-types/commands/PauseContactCommand.d.ts +97 -0
  29. package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
  30. package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
  31. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  32. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
  33. package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +132 -149
  36. package/dist-types/models/models_1.d.ts +225 -307
  37. package/dist-types/models/models_2.d.ts +336 -2
  38. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  39. package/dist-types/ts3.4/Connect.d.ts +34 -0
  40. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  41. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
  44. package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +33 -37
  49. package/dist-types/ts3.4/models/models_1.d.ts +56 -65
  50. package/dist-types/ts3.4/models/models_2.d.ts +72 -5
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  52. package/package.json +4 -4
package/README.md CHANGED
@@ -1444,6 +1444,14 @@ MonitorContact
1444
1444
 
1445
1445
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/MonitorContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/MonitorContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/MonitorContactCommandOutput/)
1446
1446
 
1447
+ </details>
1448
+ <details>
1449
+ <summary>
1450
+ PauseContact
1451
+ </summary>
1452
+
1453
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/PauseContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/PauseContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/PauseContactCommandOutput/)
1454
+
1447
1455
  </details>
1448
1456
  <details>
1449
1457
  <summary>
@@ -1468,6 +1476,14 @@ ReplicateInstance
1468
1476
 
1469
1477
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ReplicateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ReplicateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ReplicateInstanceCommandOutput/)
1470
1478
 
1479
+ </details>
1480
+ <details>
1481
+ <summary>
1482
+ ResumeContact
1483
+ </summary>
1484
+
1485
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ResumeContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ResumeContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ResumeContactCommandOutput/)
1486
+
1471
1487
  </details>
1472
1488
  <details>
1473
1489
  <summary>
@@ -156,9 +156,11 @@ const ListUsersCommand_1 = require("./commands/ListUsersCommand");
156
156
  const ListViewsCommand_1 = require("./commands/ListViewsCommand");
157
157
  const ListViewVersionsCommand_1 = require("./commands/ListViewVersionsCommand");
158
158
  const MonitorContactCommand_1 = require("./commands/MonitorContactCommand");
159
+ const PauseContactCommand_1 = require("./commands/PauseContactCommand");
159
160
  const PutUserStatusCommand_1 = require("./commands/PutUserStatusCommand");
160
161
  const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberCommand");
161
162
  const ReplicateInstanceCommand_1 = require("./commands/ReplicateInstanceCommand");
163
+ const ResumeContactCommand_1 = require("./commands/ResumeContactCommand");
162
164
  const ResumeContactRecordingCommand_1 = require("./commands/ResumeContactRecordingCommand");
163
165
  const SearchAvailablePhoneNumbersCommand_1 = require("./commands/SearchAvailablePhoneNumbersCommand");
164
166
  const SearchHoursOfOperationsCommand_1 = require("./commands/SearchHoursOfOperationsCommand");
@@ -387,9 +389,11 @@ const commands = {
387
389
  ListViewsCommand: ListViewsCommand_1.ListViewsCommand,
388
390
  ListViewVersionsCommand: ListViewVersionsCommand_1.ListViewVersionsCommand,
389
391
  MonitorContactCommand: MonitorContactCommand_1.MonitorContactCommand,
392
+ PauseContactCommand: PauseContactCommand_1.PauseContactCommand,
390
393
  PutUserStatusCommand: PutUserStatusCommand_1.PutUserStatusCommand,
391
394
  ReleasePhoneNumberCommand: ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand,
392
395
  ReplicateInstanceCommand: ReplicateInstanceCommand_1.ReplicateInstanceCommand,
396
+ ResumeContactCommand: ResumeContactCommand_1.ResumeContactCommand,
393
397
  ResumeContactRecordingCommand: ResumeContactRecordingCommand_1.ResumeContactRecordingCommand,
394
398
  SearchAvailablePhoneNumbersCommand: SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand,
395
399
  SearchHoursOfOperationsCommand: SearchHoursOfOperationsCommand_1.SearchHoursOfOperationsCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PauseContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
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
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class PauseContactCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PauseContactCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "PauseContactCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "PauseContact",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_PauseContactCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_PauseContactCommand)(output, context);
49
+ }
50
+ }
51
+ exports.PauseContactCommand = PauseContactCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
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
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ResumeContactCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResumeContactCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "ResumeContactCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "ResumeContact",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ResumeContactCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ResumeContactCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ResumeContactCommand = ResumeContactCommand;
@@ -155,9 +155,11 @@ tslib_1.__exportStar(require("./ListUsersCommand"), exports);
155
155
  tslib_1.__exportStar(require("./ListViewVersionsCommand"), exports);
156
156
  tslib_1.__exportStar(require("./ListViewsCommand"), exports);
157
157
  tslib_1.__exportStar(require("./MonitorContactCommand"), exports);
158
+ tslib_1.__exportStar(require("./PauseContactCommand"), exports);
158
159
  tslib_1.__exportStar(require("./PutUserStatusCommand"), exports);
159
160
  tslib_1.__exportStar(require("./ReleasePhoneNumberCommand"), exports);
160
161
  tslib_1.__exportStar(require("./ReplicateInstanceCommand"), exports);
162
+ tslib_1.__exportStar(require("./ResumeContactCommand"), exports);
161
163
  tslib_1.__exportStar(require("./ResumeContactRecordingCommand"), exports);
162
164
  tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersCommand"), exports);
163
165
  tslib_1.__exportStar(require("./SearchHoursOfOperationsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.FailureReasonCode = exports.EndpointType = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.FlowAssociationResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.VideoCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
- exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = void 0;
4
+ exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ConnectServiceException_1 = require("./ConnectServiceException");
7
7
  class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
@@ -20,9 +20,12 @@ class AccessDeniedException extends ConnectServiceException_1.ConnectServiceExce
20
20
  exports.AccessDeniedException = AccessDeniedException;
21
21
  exports.ActionType = {
22
22
  ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",
23
+ CREATE_CASE: "CREATE_CASE",
23
24
  CREATE_TASK: "CREATE_TASK",
25
+ END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",
24
26
  GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT",
25
27
  SEND_NOTIFICATION: "SEND_NOTIFICATION",
28
+ UPDATE_CASE: "UPDATE_CASE",
26
29
  };
27
30
  class InternalServiceException extends ConnectServiceException_1.ConnectServiceException {
28
31
  constructor(opts) {
@@ -402,6 +405,7 @@ exports.IntegrationType = {
402
405
  WISDOM_QUICK_RESPONSES: "WISDOM_QUICK_RESPONSES",
403
406
  };
404
407
  exports.SourceType = {
408
+ CASES: "CASES",
405
409
  SALESFORCE: "SALESFORCE",
406
410
  ZENDESK: "ZENDESK",
407
411
  };
@@ -443,6 +447,8 @@ exports.RulePublishStatus = {
443
447
  PUBLISHED: "PUBLISHED",
444
448
  };
445
449
  exports.EventSourceName = {
450
+ OnCaseCreate: "OnCaseCreate",
451
+ OnCaseUpdate: "OnCaseUpdate",
446
452
  OnContactEvaluationSubmit: "OnContactEvaluationSubmit",
447
453
  OnMetricDataUpdate: "OnMetricDataUpdate",
448
454
  OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
@@ -886,10 +892,6 @@ exports.PhoneNumberType = {
886
892
  TOLL_FREE: "TOLL_FREE",
887
893
  UIFN: "UIFN",
888
894
  };
889
- exports.QueueStatus = {
890
- DISABLED: "DISABLED",
891
- ENABLED: "ENABLED",
892
- };
893
895
  const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
894
896
  ...obj,
895
897
  ...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
@@ -1,9 +1,13 @@
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.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;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.ConflictException = 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 = exports.QueueStatus = 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.QueueStatus = {
8
+ DISABLED: "DISABLED",
9
+ ENABLED: "ENABLED",
10
+ };
7
11
  exports.TrafficDistributionGroupStatus = {
8
12
  ACTIVE: "ACTIVE",
9
13
  CREATION_FAILED: "CREATION_FAILED",
@@ -196,6 +200,20 @@ class OutputTypeNotFoundException extends ConnectServiceException_1.ConnectServi
196
200
  }
197
201
  }
198
202
  exports.OutputTypeNotFoundException = OutputTypeNotFoundException;
203
+ class ConflictException extends ConnectServiceException_1.ConnectServiceException {
204
+ constructor(opts) {
205
+ super({
206
+ name: "ConflictException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ this.name = "ConflictException";
211
+ this.$fault = "client";
212
+ Object.setPrototypeOf(this, ConflictException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ exports.ConflictException = ConflictException;
199
217
  exports.StringComparisonType = {
200
218
  CONTAINS: "CONTAINS",
201
219
  EXACT: "EXACT",
@@ -222,11 +240,6 @@ exports.HierarchyGroupMatchType = {
222
240
  EXACT: "EXACT",
223
241
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
224
242
  };
225
- exports.ChatEventType = {
226
- DISCONNECT: "DISCONNECT",
227
- EVENT: "EVENT",
228
- MESSAGE: "MESSAGE",
229
- };
230
243
  const DescribeViewResponseFilterSensitiveLog = (obj) => ({
231
244
  ...obj,
232
245
  ...(obj.View && { View: (0, models_0_1.ViewFilterSensitiveLog)(obj.View) }),
@@ -1,9 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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 = exports.ChatEventType = 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.ChatEventType = {
8
+ DISCONNECT: "DISCONNECT",
9
+ EVENT: "EVENT",
10
+ MESSAGE: "MESSAGE",
11
+ };
7
12
  exports.VoiceRecordingTrack = {
8
13
  ALL: "ALL",
9
14
  FROM_AGENT: "FROM_AGENT",