@aws-sdk/client-connect 3.583.0 → 3.586.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 (40) hide show
  1. package/dist-cjs/index.js +211 -98
  2. package/dist-es/commands/DescribeContactCommand.js +1 -1
  3. package/dist-es/commands/ListViewVersionsCommand.js +1 -1
  4. package/dist-es/commands/ListViewsCommand.js +1 -1
  5. package/dist-es/models/models_0.js +25 -41
  6. package/dist-es/models/models_1.js +29 -33
  7. package/dist-es/models/models_2.js +42 -0
  8. package/dist-es/protocols/Aws_restJson1.js +94 -3
  9. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -6
  10. package/dist-types/commands/DescribeContactCommand.d.ts +112 -1
  11. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
  15. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListViewsCommand.d.ts +2 -1
  17. package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
  18. package/dist-types/commands/PauseContactCommand.d.ts +1 -1
  19. package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
  20. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -10
  21. package/dist-types/commands/StopContactCommand.d.ts +6 -0
  22. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +5 -2
  23. package/dist-types/models/models_0.d.ts +255 -384
  24. package/dist-types/models/models_1.d.ts +248 -289
  25. package/dist-types/models/models_2.d.ts +551 -14
  26. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/models_0.d.ts +89 -118
  38. package/dist-types/ts3.4/models/models_1.d.ts +79 -79
  39. package/dist-types/ts3.4/models/models_2.d.ts +150 -8
  40. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  AgentAvailabilityTimer: () => AgentAvailabilityTimer,
28
28
  AgentStatusState: () => AgentStatusState,
29
29
  AgentStatusType: () => AgentStatusType,
30
+ AnsweringMachineDetectionStatus: () => AnsweringMachineDetectionStatus,
30
31
  ArtifactStatus: () => ArtifactStatus,
31
32
  AssociateAnalyticsDataSetCommand: () => AssociateAnalyticsDataSetCommand,
32
33
  AssociateApprovedOriginCommand: () => AssociateApprovedOriginCommand,
@@ -317,6 +318,7 @@ __export(src_exports, {
317
318
  ResourceType: () => ResourceType,
318
319
  ResumeContactCommand: () => ResumeContactCommand,
319
320
  ResumeContactRecordingCommand: () => ResumeContactRecordingCommand,
321
+ RoutingCriteriaStepStatus: () => RoutingCriteriaStepStatus,
320
322
  RulePublishStatus: () => RulePublishStatus,
321
323
  SearchAvailablePhoneNumbersCommand: () => SearchAvailablePhoneNumbersCommand,
322
324
  SearchContactFlowModulesCommand: () => SearchContactFlowModulesCommand,
@@ -837,6 +839,9 @@ var ContactInitiationMethod = {
837
839
  QUEUE_TRANSFER: "QUEUE_TRANSFER",
838
840
  TRANSFER: "TRANSFER"
839
841
  };
842
+ var VideoCapability = {
843
+ SEND: "SEND"
844
+ };
840
845
  var AgentStatusState = {
841
846
  DISABLED: "DISABLED",
842
847
  ENABLED: "ENABLED"
@@ -846,9 +851,6 @@ var AgentStatusType = {
846
851
  OFFLINE: "OFFLINE",
847
852
  ROUTABLE: "ROUTABLE"
848
853
  };
849
- var VideoCapability = {
850
- SEND: "SEND"
851
- };
852
854
  var MonitorCapability = {
853
855
  BARGE: "BARGE",
854
856
  SILENT_MONITOR: "SILENT_MONITOR"
@@ -1377,6 +1379,28 @@ var VocabularyState = {
1377
1379
  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
1378
1380
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
1379
1381
  };
1382
+ var AnsweringMachineDetectionStatus = {
1383
+ AMD_ERROR: "AMD_ERROR",
1384
+ AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
1385
+ AMD_UNANSWERED: "AMD_UNANSWERED",
1386
+ AMD_UNRESOLVED: "AMD_UNRESOLVED",
1387
+ ANSWERED: "ANSWERED",
1388
+ ERROR: "ERROR",
1389
+ FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
1390
+ HUMAN_ANSWERED: "HUMAN_ANSWERED",
1391
+ SIT_TONE_BUSY: "SIT_TONE_BUSY",
1392
+ SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
1393
+ SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
1394
+ UNDETECTED: "UNDETECTED",
1395
+ VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
1396
+ VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP"
1397
+ };
1398
+ var RoutingCriteriaStepStatus = {
1399
+ ACTIVE: "ACTIVE",
1400
+ EXPIRED: "EXPIRED",
1401
+ INACTIVE: "INACTIVE",
1402
+ JOINED: "JOINED"
1403
+ };
1380
1404
  var EvaluationAnswerData;
1381
1405
  ((EvaluationAnswerData3) => {
1382
1406
  EvaluationAnswerData3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -1393,40 +1417,6 @@ var EvaluationStatus = {
1393
1417
  DRAFT: "DRAFT",
1394
1418
  SUBMITTED: "SUBMITTED"
1395
1419
  };
1396
- var _ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {
1397
- /**
1398
- * @internal
1399
- */
1400
- constructor(opts) {
1401
- super({
1402
- name: "ContactFlowNotPublishedException",
1403
- $fault: "client",
1404
- ...opts
1405
- });
1406
- this.name = "ContactFlowNotPublishedException";
1407
- this.$fault = "client";
1408
- Object.setPrototypeOf(this, _ContactFlowNotPublishedException.prototype);
1409
- this.Message = opts.Message;
1410
- }
1411
- };
1412
- __name(_ContactFlowNotPublishedException, "ContactFlowNotPublishedException");
1413
- var ContactFlowNotPublishedException = _ContactFlowNotPublishedException;
1414
- var ContactFlowState = {
1415
- ACTIVE: "ACTIVE",
1416
- ARCHIVED: "ARCHIVED"
1417
- };
1418
- var ContactFlowModuleState = {
1419
- ACTIVE: "ACTIVE",
1420
- ARCHIVED: "ARCHIVED"
1421
- };
1422
- var ContactFlowModuleStatus = {
1423
- PUBLISHED: "PUBLISHED",
1424
- SAVED: "SAVED"
1425
- };
1426
- var EvaluationFormVersionStatus = {
1427
- ACTIVE: "ACTIVE",
1428
- DRAFT: "DRAFT"
1429
- };
1430
1420
  var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1431
1421
  ...obj,
1432
1422
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -1470,18 +1460,43 @@ var CreateViewVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1470
1460
  ...obj,
1471
1461
  ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
1472
1462
  }), "CreateViewVersionResponseFilterSensitiveLog");
1473
- var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1474
- ...obj,
1475
- ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
1476
- ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
1477
- }), "ContactFilterSensitiveLog");
1478
- var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1479
- ...obj,
1480
- ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
1481
- }), "DescribeContactResponseFilterSensitiveLog");
1482
1463
 
1483
1464
  // src/models/models_1.ts
1484
1465
 
1466
+ var _ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {
1467
+ /**
1468
+ * @internal
1469
+ */
1470
+ constructor(opts) {
1471
+ super({
1472
+ name: "ContactFlowNotPublishedException",
1473
+ $fault: "client",
1474
+ ...opts
1475
+ });
1476
+ this.name = "ContactFlowNotPublishedException";
1477
+ this.$fault = "client";
1478
+ Object.setPrototypeOf(this, _ContactFlowNotPublishedException.prototype);
1479
+ this.Message = opts.Message;
1480
+ }
1481
+ };
1482
+ __name(_ContactFlowNotPublishedException, "ContactFlowNotPublishedException");
1483
+ var ContactFlowNotPublishedException = _ContactFlowNotPublishedException;
1484
+ var ContactFlowState = {
1485
+ ACTIVE: "ACTIVE",
1486
+ ARCHIVED: "ARCHIVED"
1487
+ };
1488
+ var ContactFlowModuleState = {
1489
+ ACTIVE: "ACTIVE",
1490
+ ARCHIVED: "ARCHIVED"
1491
+ };
1492
+ var ContactFlowModuleStatus = {
1493
+ PUBLISHED: "PUBLISHED",
1494
+ SAVED: "SAVED"
1495
+ };
1496
+ var EvaluationFormVersionStatus = {
1497
+ ACTIVE: "ACTIVE",
1498
+ DRAFT: "DRAFT"
1499
+ };
1485
1500
  var InstanceStatus = {
1486
1501
  ACTIVE: "ACTIVE",
1487
1502
  CREATION_FAILED: "CREATION_FAILED",
@@ -1958,24 +1973,6 @@ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends Co
1958
1973
  };
1959
1974
  __name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
1960
1975
  var OutputTypeNotFoundException = _OutputTypeNotFoundException;
1961
- var _ConflictException = class _ConflictException extends ConnectServiceException {
1962
- /**
1963
- * @internal
1964
- */
1965
- constructor(opts) {
1966
- super({
1967
- name: "ConflictException",
1968
- $fault: "client",
1969
- ...opts
1970
- });
1971
- this.name = "ConflictException";
1972
- this.$fault = "client";
1973
- Object.setPrototypeOf(this, _ConflictException.prototype);
1974
- this.Message = opts.Message;
1975
- }
1976
- };
1977
- __name(_ConflictException, "ConflictException");
1978
- var ConflictException = _ConflictException;
1979
1976
  var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1980
1977
  ...obj,
1981
1978
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -2015,29 +2012,27 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2015
2012
  InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item))
2016
2013
  }
2017
2014
  }), "ListInstancesResponseFilterSensitiveLog");
2018
- var ViewSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2019
- ...obj,
2020
- ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2021
- }), "ViewSummaryFilterSensitiveLog");
2022
- var ListViewsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2023
- ...obj,
2024
- ...obj.ViewsSummaryList && {
2025
- ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item))
2026
- }
2027
- }), "ListViewsResponseFilterSensitiveLog");
2028
- var ViewVersionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2029
- ...obj,
2030
- ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2031
- }), "ViewVersionSummaryFilterSensitiveLog");
2032
- var ListViewVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2033
- ...obj,
2034
- ...obj.ViewVersionSummaryList && {
2035
- ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item))
2036
- }
2037
- }), "ListViewVersionsResponseFilterSensitiveLog");
2038
2015
 
2039
2016
  // src/models/models_2.ts
2040
2017
 
2018
+ var _ConflictException = class _ConflictException extends ConnectServiceException {
2019
+ /**
2020
+ * @internal
2021
+ */
2022
+ constructor(opts) {
2023
+ super({
2024
+ name: "ConflictException",
2025
+ $fault: "client",
2026
+ ...opts
2027
+ });
2028
+ this.name = "ConflictException";
2029
+ this.$fault = "client";
2030
+ Object.setPrototypeOf(this, _ConflictException.prototype);
2031
+ this.Message = opts.Message;
2032
+ }
2033
+ };
2034
+ __name(_ConflictException, "ConflictException");
2035
+ var ConflictException = _ConflictException;
2041
2036
  var StringComparisonType = {
2042
2037
  CONTAINS: "CONTAINS",
2043
2038
  EXACT: "EXACT",
@@ -2197,6 +2192,26 @@ var EvaluationFormItem;
2197
2192
  return visitor._(value.$unknown[0], value.$unknown[1]);
2198
2193
  }, "visit");
2199
2194
  })(EvaluationFormItem || (EvaluationFormItem = {}));
2195
+ var ViewSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2196
+ ...obj,
2197
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2198
+ }), "ViewSummaryFilterSensitiveLog");
2199
+ var ListViewsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2200
+ ...obj,
2201
+ ...obj.ViewsSummaryList && {
2202
+ ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item))
2203
+ }
2204
+ }), "ListViewsResponseFilterSensitiveLog");
2205
+ var ViewVersionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2206
+ ...obj,
2207
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2208
+ }), "ViewVersionSummaryFilterSensitiveLog");
2209
+ var ListViewVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2210
+ ...obj,
2211
+ ...obj.ViewVersionSummaryList && {
2212
+ ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item))
2213
+ }
2214
+ }), "ListViewVersionsResponseFilterSensitiveLog");
2200
2215
  var ReplicateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2201
2216
  ...obj,
2202
2217
  ...obj.ReplicaAlias && { ReplicaAlias: import_smithy_client.SENSITIVE_STRING }
@@ -2295,6 +2310,15 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
2295
2310
  ...obj,
2296
2311
  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2297
2312
  }), "UpdateViewMetadataRequestFilterSensitiveLog");
2313
+ var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2314
+ ...obj,
2315
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
2316
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
2317
+ }), "ContactFilterSensitiveLog");
2318
+ var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2319
+ ...obj,
2320
+ ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
2321
+ }), "DescribeContactResponseFilterSensitiveLog");
2298
2322
 
2299
2323
  // src/protocols/Aws_restJson1.ts
2300
2324
  var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -10239,10 +10263,18 @@ var de_AgentContactReferenceList = /* @__PURE__ */ __name((output, context) => {
10239
10263
  var de_AgentInfo = /* @__PURE__ */ __name((output, context) => {
10240
10264
  return (0, import_smithy_client.take)(output, {
10241
10265
  AgentPauseDurationInSeconds: import_smithy_client.expectInt32,
10266
+ Capabilities: import_smithy_client._json,
10242
10267
  ConnectedToAgentTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10268
+ DeviceInfo: import_smithy_client._json,
10269
+ HierarchyGroups: import_smithy_client._json,
10243
10270
  Id: import_smithy_client.expectString
10244
10271
  });
10245
10272
  }, "de_AgentInfo");
10273
+ var de_AgentQualityMetrics = /* @__PURE__ */ __name((output, context) => {
10274
+ return (0, import_smithy_client.take)(output, {
10275
+ Audio: (_) => de_AudioQualityMetricsInfo(_, context)
10276
+ });
10277
+ }, "de_AgentQualityMetrics");
10246
10278
  var de_AgentStatus = /* @__PURE__ */ __name((output, context) => {
10247
10279
  return (0, import_smithy_client.take)(output, {
10248
10280
  AgentStatusARN: import_smithy_client.expectString,
@@ -10280,12 +10312,32 @@ var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {
10280
10312
  });
10281
10313
  return retVal;
10282
10314
  }, "de_AgentStatusSummaryList");
10315
+ var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {
10316
+ return (0, import_smithy_client.take)(output, {
10317
+ ComparisonOperator: import_smithy_client.expectString,
10318
+ Name: import_smithy_client.expectString,
10319
+ ProficiencyLevel: import_smithy_client.limitedParseFloat32,
10320
+ Value: import_smithy_client.expectString
10321
+ });
10322
+ }, "de_AttributeCondition");
10323
+ var de_AudioQualityMetricsInfo = /* @__PURE__ */ __name((output, context) => {
10324
+ return (0, import_smithy_client.take)(output, {
10325
+ PotentialQualityIssues: import_smithy_client._json,
10326
+ QualityScore: import_smithy_client.limitedParseFloat32
10327
+ });
10328
+ }, "de_AudioQualityMetricsInfo");
10283
10329
  var de_Contact = /* @__PURE__ */ __name((output, context) => {
10284
10330
  return (0, import_smithy_client.take)(output, {
10285
10331
  AgentInfo: (_) => de_AgentInfo(_, context),
10332
+ AnsweringMachineDetectionStatus: import_smithy_client.expectString,
10286
10333
  Arn: import_smithy_client.expectString,
10334
+ Campaign: import_smithy_client._json,
10287
10335
  Channel: import_smithy_client.expectString,
10336
+ ConnectedToSystemTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10337
+ Customer: import_smithy_client._json,
10338
+ CustomerVoiceActivity: (_) => de_CustomerVoiceActivity(_, context),
10288
10339
  Description: import_smithy_client.expectString,
10340
+ DisconnectDetails: import_smithy_client._json,
10289
10341
  DisconnectTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10290
10342
  Id: import_smithy_client.expectString,
10291
10343
  InitialContactId: import_smithy_client.expectString,
@@ -10296,11 +10348,14 @@ var de_Contact = /* @__PURE__ */ __name((output, context) => {
10296
10348
  LastUpdateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10297
10349
  Name: import_smithy_client.expectString,
10298
10350
  PreviousContactId: import_smithy_client.expectString,
10351
+ QualityMetrics: (_) => de_QualityMetrics(_, context),
10299
10352
  QueueInfo: (_) => de_QueueInfo(_, context),
10300
10353
  QueuePriority: import_smithy_client.expectLong,
10301
10354
  QueueTimeAdjustmentSeconds: import_smithy_client.expectInt32,
10302
10355
  RelatedContactId: import_smithy_client.expectString,
10356
+ RoutingCriteria: (_) => de_RoutingCriteria(_, context),
10303
10357
  ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10358
+ SegmentAttributes: import_smithy_client._json,
10304
10359
  Tags: import_smithy_client._json,
10305
10360
  TotalPauseCount: import_smithy_client.expectInt32,
10306
10361
  TotalPauseDurationInSeconds: import_smithy_client.expectInt32,
@@ -10378,6 +10433,17 @@ var de_CurrentMetricResults = /* @__PURE__ */ __name((output, context) => {
10378
10433
  });
10379
10434
  return retVal;
10380
10435
  }, "de_CurrentMetricResults");
10436
+ var de_CustomerQualityMetrics = /* @__PURE__ */ __name((output, context) => {
10437
+ return (0, import_smithy_client.take)(output, {
10438
+ Audio: (_) => de_AudioQualityMetricsInfo(_, context)
10439
+ });
10440
+ }, "de_CustomerQualityMetrics");
10441
+ var de_CustomerVoiceActivity = /* @__PURE__ */ __name((output, context) => {
10442
+ return (0, import_smithy_client.take)(output, {
10443
+ GreetingEndTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10444
+ GreetingStartTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
10445
+ });
10446
+ }, "de_CustomerVoiceActivity");
10381
10447
  var de_Evaluation = /* @__PURE__ */ __name((output, context) => {
10382
10448
  return (0, import_smithy_client.take)(output, {
10383
10449
  Answers: (_) => de_EvaluationAnswersOutputMap(_, context),
@@ -10570,6 +10636,25 @@ var de_EvaluationSummaryList = /* @__PURE__ */ __name((output, context) => {
10570
10636
  });
10571
10637
  return retVal;
10572
10638
  }, "de_EvaluationSummaryList");
10639
+ var de_Expiry = /* @__PURE__ */ __name((output, context) => {
10640
+ return (0, import_smithy_client.take)(output, {
10641
+ DurationInSeconds: import_smithy_client.expectInt32,
10642
+ ExpiryTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
10643
+ });
10644
+ }, "de_Expiry");
10645
+ var de_Expression = /* @__PURE__ */ __name((output, context) => {
10646
+ return (0, import_smithy_client.take)(output, {
10647
+ AndExpression: (_) => de_Expressions(_, context),
10648
+ AttributeCondition: (_) => de_AttributeCondition(_, context),
10649
+ OrExpression: (_) => de_Expressions(_, context)
10650
+ });
10651
+ }, "de_Expression");
10652
+ var de_Expressions = /* @__PURE__ */ __name((output, context) => {
10653
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
10654
+ return de_Expression(entry, context);
10655
+ });
10656
+ return retVal;
10657
+ }, "de_Expressions");
10573
10658
  var de_FieldValue = /* @__PURE__ */ __name((output, context) => {
10574
10659
  return (0, import_smithy_client.take)(output, {
10575
10660
  Id: import_smithy_client.expectString,
@@ -10844,6 +10929,12 @@ var de_PromptSummaryList = /* @__PURE__ */ __name((output, context) => {
10844
10929
  });
10845
10930
  return retVal;
10846
10931
  }, "de_PromptSummaryList");
10932
+ var de_QualityMetrics = /* @__PURE__ */ __name((output, context) => {
10933
+ return (0, import_smithy_client.take)(output, {
10934
+ Agent: (_) => de_AgentQualityMetrics(_, context),
10935
+ Customer: (_) => de_CustomerQualityMetrics(_, context)
10936
+ });
10937
+ }, "de_QualityMetrics");
10847
10938
  var de_Queue = /* @__PURE__ */ __name((output, context) => {
10848
10939
  return (0, import_smithy_client.take)(output, {
10849
10940
  Description: import_smithy_client.expectString,
@@ -10996,6 +11087,13 @@ var de_RealTimeContactAnalysisTimeData = /* @__PURE__ */ __name((output, context
10996
11087
  }
10997
11088
  return { $unknown: Object.entries(output)[0] };
10998
11089
  }, "de_RealTimeContactAnalysisTimeData");
11090
+ var de_RoutingCriteria = /* @__PURE__ */ __name((output, context) => {
11091
+ return (0, import_smithy_client.take)(output, {
11092
+ ActivationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
11093
+ Index: import_smithy_client.expectInt32,
11094
+ Steps: (_) => de_Steps(_, context)
11095
+ });
11096
+ }, "de_RoutingCriteria");
10999
11097
  var de_RoutingProfile = /* @__PURE__ */ __name((output, context) => {
11000
11098
  return (0, import_smithy_client.take)(output, {
11001
11099
  AgentAvailabilityTimer: import_smithy_client.expectString,
@@ -11131,6 +11229,19 @@ var de_SecurityProfileSummaryList = /* @__PURE__ */ __name((output, context) =>
11131
11229
  });
11132
11230
  return retVal;
11133
11231
  }, "de_SecurityProfileSummaryList");
11232
+ var de_Step = /* @__PURE__ */ __name((output, context) => {
11233
+ return (0, import_smithy_client.take)(output, {
11234
+ Expiry: (_) => de_Expiry(_, context),
11235
+ Expression: (_) => de_Expression(_, context),
11236
+ Status: import_smithy_client.expectString
11237
+ });
11238
+ }, "de_Step");
11239
+ var de_Steps = /* @__PURE__ */ __name((output, context) => {
11240
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
11241
+ return de_Step(entry, context);
11242
+ });
11243
+ return retVal;
11244
+ }, "de_Steps");
11134
11245
  var de_TaskTemplateList = /* @__PURE__ */ __name((output, context) => {
11135
11246
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
11136
11247
  return de_TaskTemplateMetadata(entry, context);
@@ -16423,9 +16534,9 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16423
16534
  ContactState,
16424
16535
  Channel,
16425
16536
  ContactInitiationMethod,
16537
+ VideoCapability,
16426
16538
  AgentStatusState,
16427
16539
  AgentStatusType,
16428
- VideoCapability,
16429
16540
  MonitorCapability,
16430
16541
  AttachedFileInvalidRequestExceptionReason,
16431
16542
  InvalidRequestExceptionReason,
@@ -16485,13 +16596,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16485
16596
  ResourceInUseException,
16486
16597
  TooManyRequestsException,
16487
16598
  VocabularyState,
16599
+ AnsweringMachineDetectionStatus,
16600
+ RoutingCriteriaStepStatus,
16488
16601
  EvaluationAnswerData,
16489
16602
  EvaluationStatus,
16490
- ContactFlowNotPublishedException,
16491
- ContactFlowState,
16492
- ContactFlowModuleState,
16493
- ContactFlowModuleStatus,
16494
- EvaluationFormVersionStatus,
16495
16603
  CreateInstanceRequestFilterSensitiveLog,
16496
16604
  UserIdentityInfoFilterSensitiveLog,
16497
16605
  CreateUserRequestFilterSensitiveLog,
@@ -16501,8 +16609,11 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16501
16609
  ViewFilterSensitiveLog,
16502
16610
  CreateViewResponseFilterSensitiveLog,
16503
16611
  CreateViewVersionResponseFilterSensitiveLog,
16504
- ContactFilterSensitiveLog,
16505
- DescribeContactResponseFilterSensitiveLog,
16612
+ ContactFlowNotPublishedException,
16613
+ ContactFlowState,
16614
+ ContactFlowModuleState,
16615
+ ContactFlowModuleStatus,
16616
+ EvaluationFormVersionStatus,
16506
16617
  InstanceStatus,
16507
16618
  InstanceAttributeType,
16508
16619
  PhoneNumberCountryCode,
@@ -16532,7 +16643,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16532
16643
  RealtimeContactAnalysisSegment,
16533
16644
  RealTimeContactAnalysisStatus,
16534
16645
  OutputTypeNotFoundException,
16535
- ConflictException,
16536
16646
  InstanceFilterSensitiveLog,
16537
16647
  DescribeInstanceResponseFilterSensitiveLog,
16538
16648
  UserFilterSensitiveLog,
@@ -16542,10 +16652,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16542
16652
  GetFederationTokenResponseFilterSensitiveLog,
16543
16653
  InstanceSummaryFilterSensitiveLog,
16544
16654
  ListInstancesResponseFilterSensitiveLog,
16545
- ViewSummaryFilterSensitiveLog,
16546
- ListViewsResponseFilterSensitiveLog,
16547
- ViewVersionSummaryFilterSensitiveLog,
16548
- ListViewVersionsResponseFilterSensitiveLog,
16655
+ ConflictException,
16549
16656
  StringComparisonType,
16550
16657
  SearchContactsMatchType,
16551
16658
  SortableFieldName,
@@ -16566,6 +16673,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16566
16673
  ParticipantTimerValue,
16567
16674
  UpdateParticipantRoleConfigChannelInfo,
16568
16675
  EvaluationFormItem,
16676
+ ViewSummaryFilterSensitiveLog,
16677
+ ListViewsResponseFilterSensitiveLog,
16678
+ ViewVersionSummaryFilterSensitiveLog,
16679
+ ListViewVersionsResponseFilterSensitiveLog,
16569
16680
  ReplicateInstanceRequestFilterSensitiveLog,
16570
16681
  TranscriptCriteriaFilterSensitiveLog,
16571
16682
  TranscriptFilterSensitiveLog,
@@ -16587,6 +16698,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16587
16698
  UpdateUserIdentityInfoRequestFilterSensitiveLog,
16588
16699
  UpdateViewContentRequestFilterSensitiveLog,
16589
16700
  UpdateViewContentResponseFilterSensitiveLog,
16590
- UpdateViewMetadataRequestFilterSensitiveLog
16701
+ UpdateViewMetadataRequestFilterSensitiveLog,
16702
+ ContactFilterSensitiveLog,
16703
+ DescribeContactResponseFilterSensitiveLog
16591
16704
  });
16592
16705
 
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeContactResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { DescribeContactResponseFilterSensitiveLog } from "../models/models_2";
6
6
  import { de_DescribeContactCommand, se_DescribeContactCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class DescribeContactCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListViewVersionsResponseFilterSensitiveLog, } from "../models/models_1";
5
+ import { ListViewVersionsResponseFilterSensitiveLog, } from "../models/models_2";
6
6
  import { de_ListViewVersionsCommand, se_ListViewVersionsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListViewVersionsCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListViewsResponseFilterSensitiveLog } from "../models/models_1";
5
+ import { ListViewsResponseFilterSensitiveLog } from "../models/models_2";
6
6
  import { de_ListViewsCommand, se_ListViewsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListViewsCommand extends $Command
@@ -119,6 +119,9 @@ export const ContactInitiationMethod = {
119
119
  QUEUE_TRANSFER: "QUEUE_TRANSFER",
120
120
  TRANSFER: "TRANSFER",
121
121
  };
122
+ export const VideoCapability = {
123
+ SEND: "SEND",
124
+ };
122
125
  export const AgentStatusState = {
123
126
  DISABLED: "DISABLED",
124
127
  ENABLED: "ENABLED",
@@ -128,9 +131,6 @@ export const AgentStatusType = {
128
131
  OFFLINE: "OFFLINE",
129
132
  ROUTABLE: "ROUTABLE",
130
133
  };
131
- export const VideoCapability = {
132
- SEND: "SEND",
133
- };
134
134
  export const MonitorCapability = {
135
135
  BARGE: "BARGE",
136
136
  SILENT_MONITOR: "SILENT_MONITOR",
@@ -604,6 +604,28 @@ export const VocabularyState = {
604
604
  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
605
605
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
606
606
  };
607
+ export const AnsweringMachineDetectionStatus = {
608
+ AMD_ERROR: "AMD_ERROR",
609
+ AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
610
+ AMD_UNANSWERED: "AMD_UNANSWERED",
611
+ AMD_UNRESOLVED: "AMD_UNRESOLVED",
612
+ ANSWERED: "ANSWERED",
613
+ ERROR: "ERROR",
614
+ FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
615
+ HUMAN_ANSWERED: "HUMAN_ANSWERED",
616
+ SIT_TONE_BUSY: "SIT_TONE_BUSY",
617
+ SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
618
+ SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
619
+ UNDETECTED: "UNDETECTED",
620
+ VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
621
+ VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP",
622
+ };
623
+ export const RoutingCriteriaStepStatus = {
624
+ ACTIVE: "ACTIVE",
625
+ EXPIRED: "EXPIRED",
626
+ INACTIVE: "INACTIVE",
627
+ JOINED: "JOINED",
628
+ };
607
629
  export var EvaluationAnswerData;
608
630
  (function (EvaluationAnswerData) {
609
631
  EvaluationAnswerData.visit = (value, visitor) => {
@@ -620,35 +642,6 @@ export const EvaluationStatus = {
620
642
  DRAFT: "DRAFT",
621
643
  SUBMITTED: "SUBMITTED",
622
644
  };
623
- export class ContactFlowNotPublishedException extends __BaseException {
624
- constructor(opts) {
625
- super({
626
- name: "ContactFlowNotPublishedException",
627
- $fault: "client",
628
- ...opts,
629
- });
630
- this.name = "ContactFlowNotPublishedException";
631
- this.$fault = "client";
632
- Object.setPrototypeOf(this, ContactFlowNotPublishedException.prototype);
633
- this.Message = opts.Message;
634
- }
635
- }
636
- export const ContactFlowState = {
637
- ACTIVE: "ACTIVE",
638
- ARCHIVED: "ARCHIVED",
639
- };
640
- export const ContactFlowModuleState = {
641
- ACTIVE: "ACTIVE",
642
- ARCHIVED: "ARCHIVED",
643
- };
644
- export const ContactFlowModuleStatus = {
645
- PUBLISHED: "PUBLISHED",
646
- SAVED: "SAVED",
647
- };
648
- export const EvaluationFormVersionStatus = {
649
- ACTIVE: "ACTIVE",
650
- DRAFT: "DRAFT",
651
- };
652
645
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
653
646
  ...obj,
654
647
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -692,12 +685,3 @@ export const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
692
685
  ...obj,
693
686
  ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
694
687
  });
695
- export const ContactFilterSensitiveLog = (obj) => ({
696
- ...obj,
697
- ...(obj.Name && { Name: SENSITIVE_STRING }),
698
- ...(obj.Description && { Description: SENSITIVE_STRING }),
699
- });
700
- export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
701
- ...obj,
702
- ...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
703
- });