@aws-sdk/client-connect 3.925.0 → 3.926.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 (111) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +590 -146
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateViewCommand.js +2 -1
  5. package/dist-es/commands/CreateViewVersionCommand.js +1 -1
  6. package/dist-es/commands/SearchContactEvaluationsCommand.js +22 -0
  7. package/dist-es/commands/SearchEvaluationFormsCommand.js +22 -0
  8. package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
  9. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  10. package/dist-es/commands/StartWebRTCContactCommand.js +1 -1
  11. package/dist-es/commands/UpdateContactCommand.js +1 -1
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +29 -56
  14. package/dist-es/models/models_1.js +92 -20
  15. package/dist-es/models/models_2.js +50 -76
  16. package/dist-es/models/models_3.js +85 -0
  17. package/dist-es/protocols/Aws_restJson1.js +291 -4
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +96 -4
  21. package/dist-types/commands/CreateViewCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateViewVersionCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateVocabularyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAttachedFileCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +147 -4
  28. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +93 -4
  29. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListBotsCommand.d.ts +2 -1
  32. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +10 -1
  33. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListContactFlowVersionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListContactFlowsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListContactReferencesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListEvaluationFormsCommand.d.ts +1 -1
  39. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  40. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +241 -0
  41. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +222 -0
  42. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  43. package/dist-types/commands/StartContactEvaluationCommand.d.ts +6 -0
  44. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  45. package/dist-types/commands/StartScreenSharingCommand.d.ts +1 -1
  46. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -2
  47. package/dist-types/commands/StartWebRTCContactCommand.d.ts +1 -1
  48. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  49. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  50. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  51. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +4 -1
  52. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  53. package/dist-types/commands/TagContactCommand.d.ts +1 -1
  54. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  55. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagContactCommand.d.ts +1 -1
  57. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateAuthenticationProfileCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateContactCommand.d.ts +1 -2
  62. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +3 -0
  63. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +93 -4
  64. package/dist-types/commands/index.d.ts +2 -0
  65. package/dist-types/models/models_0.d.ts +225 -309
  66. package/dist-types/models/models_1.d.ts +602 -845
  67. package/dist-types/models/models_2.d.ts +3819 -3480
  68. package/dist-types/models/models_3.d.ts +3116 -1848
  69. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  70. package/dist-types/ts3.4/Connect.d.ts +34 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  72. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +2 -1
  73. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +2 -1
  78. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListContactFlowVersionsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +49 -0
  86. package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +49 -0
  87. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/StartScreenSharingCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +4 -2
  90. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/TagContactCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateAuthenticationProfileCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +89 -94
  107. package/dist-types/ts3.4/models/models_1.d.ts +197 -256
  108. package/dist-types/ts3.4/models/models_2.d.ts +399 -249
  109. package/dist-types/ts3.4/models/models_3.d.ts +426 -74
  110. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  111. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -577,17 +577,42 @@ class InvalidContactFlowModuleException extends ConnectServiceException {
577
577
  this.Problems = opts.Problems;
578
578
  }
579
579
  }
580
+ const EvaluationFormItemEnablementAction = {
581
+ DISABLE: "DISABLE",
582
+ ENABLE: "ENABLE",
583
+ };
584
+ const EvaluationFormItemSourceValuesComparator = {
585
+ IN: "IN",
586
+ NOT_IN: "NOT_IN",
587
+ };
588
+ const EvaluationFormItemEnablementSourceType = {
589
+ QUESTION_REF_ID: "QUESTION_REF_ID",
590
+ };
591
+ const EvaluationFormItemEnablementSourceValueType = {
592
+ OPTION_REF_ID: "OPTION_REF_ID",
593
+ };
594
+ const EvaluationFormItemEnablementOperator = {
595
+ AND: "AND",
596
+ OR: "OR",
597
+ };
580
598
  const EvaluationFormQuestionType = {
581
599
  NUMERIC: "NUMERIC",
582
600
  SINGLESELECT: "SINGLESELECT",
583
601
  TEXT: "TEXT",
584
602
  };
603
+ const EvaluationFormQuestionAutomationAnswerSourceType = {
604
+ CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
605
+ GEN_AI: "GEN_AI",
606
+ };
585
607
  const NumericQuestionPropertyAutomationLabel = {
608
+ AGENT_INTERACTION_AND_HOLD_DURATION: "AGENT_INTERACTION_AND_HOLD_DURATION",
586
609
  AGENT_INTERACTION_DURATION: "AGENT_INTERACTION_DURATION",
587
610
  CONTACT_DURATION: "CONTACT_DURATION",
588
611
  CUSTOMER_HOLD_TIME: "CUSTOMER_HOLD_TIME",
612
+ LONGEST_HOLD_DURATION: "LONGEST_HOLD_DURATION",
589
613
  NON_TALK_TIME: "NON_TALK_TIME",
590
614
  NON_TALK_TIME_PERCENTAGE: "NON_TALK_TIME_PERCENTAGE",
615
+ NUMBER_OF_HOLDS: "NUMBER_OF_HOLDS",
591
616
  NUMBER_OF_INTERRUPTIONS: "NUMBER_OF_INTERRUPTIONS",
592
617
  OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE",
593
618
  OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE",
@@ -597,6 +622,8 @@ exports.EvaluationFormNumericQuestionAutomation = void 0;
597
622
  EvaluationFormNumericQuestionAutomation.visit = (value, visitor) => {
598
623
  if (value.PropertyValue !== undefined)
599
624
  return visitor.PropertyValue(value.PropertyValue);
625
+ if (value.AnswerSource !== undefined)
626
+ return visitor.AnswerSource(value.AnswerSource);
600
627
  return visitor._(value.$unknown[0], value.$unknown[1]);
601
628
  };
602
629
  })(exports.EvaluationFormNumericQuestionAutomation || (exports.EvaluationFormNumericQuestionAutomation = {}));
@@ -623,6 +650,8 @@ exports.EvaluationFormQuestionTypeProperties = void 0;
623
650
  return visitor.Numeric(value.Numeric);
624
651
  if (value.SingleSelect !== undefined)
625
652
  return visitor.SingleSelect(value.SingleSelect);
653
+ if (value.Text !== undefined)
654
+ return visitor.Text(value.Text);
626
655
  return visitor._(value.$unknown[0], value.$unknown[1]);
627
656
  };
628
657
  })(exports.EvaluationFormQuestionTypeProperties || (exports.EvaluationFormQuestionTypeProperties = {}));
@@ -815,6 +844,48 @@ const ViewType = {
815
844
  AWS_MANAGED: "AWS_MANAGED",
816
845
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
817
846
  };
847
+ const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
848
+ ...obj,
849
+ ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
850
+ ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
851
+ ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
852
+ });
853
+ const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
854
+ ...obj,
855
+ ...(obj.InstanceAlias && { InstanceAlias: smithyClient.SENSITIVE_STRING }),
856
+ });
857
+ const UserIdentityInfoFilterSensitiveLog = (obj) => ({
858
+ ...obj,
859
+ ...(obj.FirstName && { FirstName: smithyClient.SENSITIVE_STRING }),
860
+ ...(obj.LastName && { LastName: smithyClient.SENSITIVE_STRING }),
861
+ ...(obj.Email && { Email: smithyClient.SENSITIVE_STRING }),
862
+ ...(obj.SecondaryEmail && { SecondaryEmail: smithyClient.SENSITIVE_STRING }),
863
+ });
864
+ const CreateUserRequestFilterSensitiveLog = (obj) => ({
865
+ ...obj,
866
+ ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
867
+ ...(obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }),
868
+ });
869
+ const ViewInputContentFilterSensitiveLog = (obj) => ({
870
+ ...obj,
871
+ ...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
872
+ });
873
+ const CreateViewRequestFilterSensitiveLog = (obj) => ({
874
+ ...obj,
875
+ ...(obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }),
876
+ ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
877
+ });
878
+ const ViewContentFilterSensitiveLog = (obj) => ({
879
+ ...obj,
880
+ ...(obj.InputSchema && { InputSchema: smithyClient.SENSITIVE_STRING }),
881
+ ...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
882
+ });
883
+ const ViewFilterSensitiveLog = (obj) => ({
884
+ ...obj,
885
+ ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
886
+ ...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
887
+ });
888
+
818
889
  const ResourceType = {
819
890
  CONTACT: "CONTACT",
820
891
  CONTACT_FLOW: "CONTACT_FLOW",
@@ -863,56 +934,6 @@ const VocabularyState = {
863
934
  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
864
935
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
865
936
  };
866
- const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
867
- ...obj,
868
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
869
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
870
- ...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
871
- });
872
- const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
873
- ...obj,
874
- ...(obj.InstanceAlias && { InstanceAlias: smithyClient.SENSITIVE_STRING }),
875
- });
876
- const UserIdentityInfoFilterSensitiveLog = (obj) => ({
877
- ...obj,
878
- ...(obj.FirstName && { FirstName: smithyClient.SENSITIVE_STRING }),
879
- ...(obj.LastName && { LastName: smithyClient.SENSITIVE_STRING }),
880
- ...(obj.Email && { Email: smithyClient.SENSITIVE_STRING }),
881
- ...(obj.SecondaryEmail && { SecondaryEmail: smithyClient.SENSITIVE_STRING }),
882
- });
883
- const CreateUserRequestFilterSensitiveLog = (obj) => ({
884
- ...obj,
885
- ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
886
- ...(obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }),
887
- });
888
- const ViewInputContentFilterSensitiveLog = (obj) => ({
889
- ...obj,
890
- ...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
891
- });
892
- const CreateViewRequestFilterSensitiveLog = (obj) => ({
893
- ...obj,
894
- ...(obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }),
895
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
896
- });
897
- const ViewContentFilterSensitiveLog = (obj) => ({
898
- ...obj,
899
- ...(obj.InputSchema && { InputSchema: smithyClient.SENSITIVE_STRING }),
900
- ...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
901
- });
902
- const ViewFilterSensitiveLog = (obj) => ({
903
- ...obj,
904
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
905
- ...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
906
- });
907
- const CreateViewResponseFilterSensitiveLog = (obj) => ({
908
- ...obj,
909
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
910
- });
911
- const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
912
- ...obj,
913
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
914
- });
915
-
916
937
  const AnsweringMachineDetectionStatus = {
917
938
  AMD_ERROR: "AMD_ERROR",
918
939
  AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
@@ -955,6 +976,33 @@ const RoutingCriteriaStepStatus = {
955
976
  INACTIVE: "INACTIVE",
956
977
  JOINED: "JOINED",
957
978
  };
979
+ const QuestionRuleCategoryAutomationCondition = {
980
+ NOT_PRESENT: "NOT_PRESENT",
981
+ PRESENT: "PRESENT",
982
+ };
983
+ exports.EvaluationQuestionAnswerAnalysisDetails = void 0;
984
+ (function (EvaluationQuestionAnswerAnalysisDetails) {
985
+ EvaluationQuestionAnswerAnalysisDetails.visit = (value, visitor) => {
986
+ if (value.GenAI !== undefined)
987
+ return visitor.GenAI(value.GenAI);
988
+ if (value.ContactLens !== undefined)
989
+ return visitor.ContactLens(value.ContactLens);
990
+ return visitor._(value.$unknown[0], value.$unknown[1]);
991
+ };
992
+ })(exports.EvaluationQuestionAnswerAnalysisDetails || (exports.EvaluationQuestionAnswerAnalysisDetails = {}));
993
+ const EvaluationQuestionAnswerAnalysisType = {
994
+ CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
995
+ GEN_AI: "GEN_AI",
996
+ };
997
+ const EvaluationTranscriptType = {
998
+ RAW: "RAW",
999
+ REDACTED: "REDACTED",
1000
+ };
1001
+ const EvaluationSuggestedAnswerStatus = {
1002
+ FAILED: "FAILED",
1003
+ IN_PROGRESS: "IN_PROGRESS",
1004
+ SUCCEEDED: "SUCCEEDED",
1005
+ };
958
1006
  exports.EvaluationAnswerData = void 0;
959
1007
  (function (EvaluationAnswerData) {
960
1008
  EvaluationAnswerData.visit = (value, visitor) => {
@@ -967,6 +1015,15 @@ exports.EvaluationAnswerData = void 0;
967
1015
  return visitor._(value.$unknown[0], value.$unknown[1]);
968
1016
  };
969
1017
  })(exports.EvaluationAnswerData || (exports.EvaluationAnswerData = {}));
1018
+ const EvaluationType = {
1019
+ CALIBRATION: "CALIBRATION",
1020
+ STANDARD: "STANDARD",
1021
+ };
1022
+ const AutoEvaluationStatus = {
1023
+ FAILED: "FAILED",
1024
+ IN_PROGRESS: "IN_PROGRESS",
1025
+ SUCCEEDED: "SUCCEEDED",
1026
+ };
970
1027
  const EvaluationStatus = {
971
1028
  DRAFT: "DRAFT",
972
1029
  SUBMITTED: "SUBMITTED",
@@ -1396,26 +1453,14 @@ const LexVersion = {
1396
1453
  V1: "V1",
1397
1454
  V2: "V2",
1398
1455
  };
1399
- exports.ReferenceSummary = void 0;
1400
- (function (ReferenceSummary) {
1401
- ReferenceSummary.visit = (value, visitor) => {
1402
- if (value.Url !== undefined)
1403
- return visitor.Url(value.Url);
1404
- if (value.Attachment !== undefined)
1405
- return visitor.Attachment(value.Attachment);
1406
- if (value.EmailMessage !== undefined)
1407
- return visitor.EmailMessage(value.EmailMessage);
1408
- if (value.String !== undefined)
1409
- return visitor.String(value.String);
1410
- if (value.Number !== undefined)
1411
- return visitor.Number(value.Number);
1412
- if (value.Date !== undefined)
1413
- return visitor.Date(value.Date);
1414
- if (value.Email !== undefined)
1415
- return visitor.Email(value.Email);
1416
- return visitor._(value.$unknown[0], value.$unknown[1]);
1417
- };
1418
- })(exports.ReferenceSummary || (exports.ReferenceSummary = {}));
1456
+ const CreateViewResponseFilterSensitiveLog = (obj) => ({
1457
+ ...obj,
1458
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
1459
+ });
1460
+ const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
1461
+ ...obj,
1462
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
1463
+ });
1419
1464
  const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
1420
1465
  ...obj,
1421
1466
  ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
@@ -1452,6 +1497,26 @@ const GetFederationTokenResponseFilterSensitiveLog = (obj) => ({
1452
1497
  ...(obj.Credentials && { Credentials: smithyClient.SENSITIVE_STRING }),
1453
1498
  });
1454
1499
 
1500
+ exports.ReferenceSummary = void 0;
1501
+ (function (ReferenceSummary) {
1502
+ ReferenceSummary.visit = (value, visitor) => {
1503
+ if (value.Url !== undefined)
1504
+ return visitor.Url(value.Url);
1505
+ if (value.Attachment !== undefined)
1506
+ return visitor.Attachment(value.Attachment);
1507
+ if (value.EmailMessage !== undefined)
1508
+ return visitor.EmailMessage(value.EmailMessage);
1509
+ if (value.String !== undefined)
1510
+ return visitor.String(value.String);
1511
+ if (value.Number !== undefined)
1512
+ return visitor.Number(value.Number);
1513
+ if (value.Date !== undefined)
1514
+ return visitor.Date(value.Date);
1515
+ if (value.Email !== undefined)
1516
+ return visitor.Email(value.Email);
1517
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1518
+ };
1519
+ })(exports.ReferenceSummary || (exports.ReferenceSummary = {}));
1455
1520
  const QueueType = {
1456
1521
  AGENT: "AGENT",
1457
1522
  STANDARD: "STANDARD",
@@ -1543,6 +1608,36 @@ const ContactRecordingType = {
1543
1608
  IVR: "IVR",
1544
1609
  SCREEN: "SCREEN",
1545
1610
  };
1611
+ const BooleanComparisonType = {
1612
+ IS_FALSE: "IS_FALSE",
1613
+ IS_TRUE: "IS_TRUE",
1614
+ };
1615
+ const DateTimeComparisonType = {
1616
+ EQUAL_TO: "EQUAL_TO",
1617
+ GREATER_THAN: "GREATER_THAN",
1618
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
1619
+ LESS_THAN: "LESS_THAN",
1620
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
1621
+ RANGE: "RANGE",
1622
+ };
1623
+ const DecimalComparisonType = {
1624
+ EQUAL: "EQUAL",
1625
+ GREATER: "GREATER",
1626
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
1627
+ LESSER: "LESSER",
1628
+ LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
1629
+ NOT_EQUAL: "NOT_EQUAL",
1630
+ RANGE: "RANGE",
1631
+ };
1632
+ const NumberComparisonType = {
1633
+ EQUAL: "EQUAL",
1634
+ GREATER: "GREATER",
1635
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
1636
+ LESSER: "LESSER",
1637
+ LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
1638
+ NOT_EQUAL: "NOT_EQUAL",
1639
+ RANGE: "RANGE",
1640
+ };
1546
1641
  const SearchContactsTimeRangeType = {
1547
1642
  CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
1548
1643
  DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
@@ -1596,15 +1691,6 @@ const HierarchyGroupMatchType = {
1596
1691
  EXACT: "EXACT",
1597
1692
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
1598
1693
  };
1599
- const NumberComparisonType = {
1600
- EQUAL: "EQUAL",
1601
- GREATER: "GREATER",
1602
- GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
1603
- LESSER: "LESSER",
1604
- LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
1605
- NOT_EQUAL: "NOT_EQUAL",
1606
- RANGE: "RANGE",
1607
- };
1608
1694
  const TargetListType = {
1609
1695
  PROFICIENCIES: "PROFICIENCIES",
1610
1696
  };
@@ -1639,52 +1725,6 @@ const EmailHeaderType = {
1639
1725
  X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",
1640
1726
  X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT",
1641
1727
  };
1642
- class DestinationNotAllowedException extends ConnectServiceException {
1643
- name = "DestinationNotAllowedException";
1644
- $fault = "client";
1645
- Message;
1646
- constructor(opts) {
1647
- super({
1648
- name: "DestinationNotAllowedException",
1649
- $fault: "client",
1650
- ...opts,
1651
- });
1652
- Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
1653
- this.Message = opts.Message;
1654
- }
1655
- }
1656
- class OutboundContactNotPermittedException extends ConnectServiceException {
1657
- name = "OutboundContactNotPermittedException";
1658
- $fault = "client";
1659
- Message;
1660
- constructor(opts) {
1661
- super({
1662
- name: "OutboundContactNotPermittedException",
1663
- $fault: "client",
1664
- ...opts,
1665
- });
1666
- Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
1667
- this.Message = opts.Message;
1668
- }
1669
- }
1670
- const MeetingFeatureStatus = {
1671
- AVAILABLE: "AVAILABLE",
1672
- UNAVAILABLE: "UNAVAILABLE",
1673
- };
1674
- class ContactNotFoundException extends ConnectServiceException {
1675
- name = "ContactNotFoundException";
1676
- $fault = "client";
1677
- Message;
1678
- constructor(opts) {
1679
- super({
1680
- name: "ContactNotFoundException",
1681
- $fault: "client",
1682
- ...opts,
1683
- });
1684
- Object.setPrototypeOf(this, ContactNotFoundException.prototype);
1685
- this.Message = opts.Message;
1686
- }
1687
- }
1688
1728
  const InstanceSummaryFilterSensitiveLog = (obj) => ({
1689
1729
  ...obj,
1690
1730
  ...(obj.InstanceAlias && { InstanceAlias: smithyClient.SENSITIVE_STRING }),
@@ -1853,28 +1893,61 @@ const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
1853
1893
  }),
1854
1894
  ...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
1855
1895
  });
1856
- const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
1857
- ...obj,
1858
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
1859
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
1860
- });
1861
- const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
1862
- ...obj,
1863
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
1864
- });
1865
- const AttendeeFilterSensitiveLog = (obj) => ({
1866
- ...obj,
1867
- ...(obj.JoinToken && { JoinToken: smithyClient.SENSITIVE_STRING }),
1868
- });
1869
- const ConnectionDataFilterSensitiveLog = (obj) => ({
1870
- ...obj,
1871
- ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
1872
- });
1873
- const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
1874
- ...obj,
1875
- ...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
1876
- });
1877
1896
 
1897
+ class DestinationNotAllowedException extends ConnectServiceException {
1898
+ name = "DestinationNotAllowedException";
1899
+ $fault = "client";
1900
+ Message;
1901
+ constructor(opts) {
1902
+ super({
1903
+ name: "DestinationNotAllowedException",
1904
+ $fault: "client",
1905
+ ...opts,
1906
+ });
1907
+ Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
1908
+ this.Message = opts.Message;
1909
+ }
1910
+ }
1911
+ class OutboundContactNotPermittedException extends ConnectServiceException {
1912
+ name = "OutboundContactNotPermittedException";
1913
+ $fault = "client";
1914
+ Message;
1915
+ constructor(opts) {
1916
+ super({
1917
+ name: "OutboundContactNotPermittedException",
1918
+ $fault: "client",
1919
+ ...opts,
1920
+ });
1921
+ Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
1922
+ this.Message = opts.Message;
1923
+ }
1924
+ }
1925
+ const MeetingFeatureStatus = {
1926
+ AVAILABLE: "AVAILABLE",
1927
+ UNAVAILABLE: "UNAVAILABLE",
1928
+ };
1929
+ class ContactNotFoundException extends ConnectServiceException {
1930
+ name = "ContactNotFoundException";
1931
+ $fault = "client";
1932
+ Message;
1933
+ constructor(opts) {
1934
+ super({
1935
+ name: "ContactNotFoundException",
1936
+ $fault: "client",
1937
+ ...opts,
1938
+ });
1939
+ Object.setPrototypeOf(this, ContactNotFoundException.prototype);
1940
+ this.Message = opts.Message;
1941
+ }
1942
+ }
1943
+ exports.EvaluatorUserUnion = void 0;
1944
+ (function (EvaluatorUserUnion) {
1945
+ EvaluatorUserUnion.visit = (value, visitor) => {
1946
+ if (value.ConnectUserArn !== undefined)
1947
+ return visitor.ConnectUserArn(value.ConnectUserArn);
1948
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1949
+ };
1950
+ })(exports.EvaluatorUserUnion || (exports.EvaluatorUserUnion = {}));
1878
1951
  class ConditionalOperationFailedException extends ConnectServiceException {
1879
1952
  name = "ConditionalOperationFailedException";
1880
1953
  $fault = "client";
@@ -1918,6 +1991,16 @@ exports.UpdateParticipantRoleConfigChannelInfo = void 0;
1918
1991
  return visitor._(value.$unknown[0], value.$unknown[1]);
1919
1992
  };
1920
1993
  })(exports.UpdateParticipantRoleConfigChannelInfo || (exports.UpdateParticipantRoleConfigChannelInfo = {}));
1994
+ exports.EvaluationFormItemEnablementConditionOperand = void 0;
1995
+ (function (EvaluationFormItemEnablementConditionOperand) {
1996
+ EvaluationFormItemEnablementConditionOperand.visit = (value, visitor) => {
1997
+ if (value.Expression !== undefined)
1998
+ return visitor.Expression(value.Expression);
1999
+ if (value.Condition !== undefined)
2000
+ return visitor.Condition(value.Condition);
2001
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2002
+ };
2003
+ })(exports.EvaluationFormItemEnablementConditionOperand || (exports.EvaluationFormItemEnablementConditionOperand = {}));
1921
2004
  exports.EvaluationFormItem = void 0;
1922
2005
  (function (EvaluationFormItem) {
1923
2006
  EvaluationFormItem.visit = (value, visitor) => {
@@ -1928,6 +2011,27 @@ exports.EvaluationFormItem = void 0;
1928
2011
  return visitor._(value.$unknown[0], value.$unknown[1]);
1929
2012
  };
1930
2013
  })(exports.EvaluationFormItem || (exports.EvaluationFormItem = {}));
2014
+ const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
2015
+ ...obj,
2016
+ ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
2017
+ ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
2018
+ });
2019
+ const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
2020
+ ...obj,
2021
+ ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
2022
+ });
2023
+ const AttendeeFilterSensitiveLog = (obj) => ({
2024
+ ...obj,
2025
+ ...(obj.JoinToken && { JoinToken: smithyClient.SENSITIVE_STRING }),
2026
+ });
2027
+ const ConnectionDataFilterSensitiveLog = (obj) => ({
2028
+ ...obj,
2029
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
2030
+ });
2031
+ const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
2032
+ ...obj,
2033
+ ...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
2034
+ });
1931
2035
  const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
1932
2036
  ...obj,
1933
2037
  ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
@@ -2500,10 +2604,12 @@ const se_CreateEvaluationFormCommand = async (input, context) => {
2500
2604
  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
2501
2605
  let body;
2502
2606
  body = JSON.stringify(smithyClient.take(input, {
2607
+ AutoEvaluationConfiguration: (_) => smithyClient._json(_),
2503
2608
  ClientToken: [true, (_) => _ ?? uuid.v4()],
2504
2609
  Description: [],
2505
2610
  Items: (_) => se_EvaluationFormItemsList(_),
2506
2611
  ScoringStrategy: (_) => smithyClient._json(_),
2612
+ Tags: (_) => smithyClient._json(_),
2507
2613
  Title: [],
2508
2614
  }));
2509
2615
  b.m("PUT").h(headers).b(body);
@@ -4728,6 +4834,23 @@ const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
4728
4834
  b.m("POST").h(headers).b(body);
4729
4835
  return b.build();
4730
4836
  };
4837
+ const se_SearchContactEvaluationsCommand = async (input, context) => {
4838
+ const b = core.requestBuilder(input, context);
4839
+ const headers = {
4840
+ "content-type": "application/json",
4841
+ };
4842
+ b.bp("/search-contact-evaluations");
4843
+ let body;
4844
+ body = JSON.stringify(smithyClient.take(input, {
4845
+ InstanceId: [],
4846
+ MaxResults: [],
4847
+ NextToken: [],
4848
+ SearchCriteria: (_) => se_EvaluationSearchCriteria(_),
4849
+ SearchFilter: (_) => smithyClient._json(_),
4850
+ }));
4851
+ b.m("POST").h(headers).b(body);
4852
+ return b.build();
4853
+ };
4731
4854
  const se_SearchContactFlowModulesCommand = async (input, context) => {
4732
4855
  const b = core.requestBuilder(input, context);
4733
4856
  const headers = {
@@ -4797,6 +4920,23 @@ const se_SearchEmailAddressesCommand = async (input, context) => {
4797
4920
  b.m("POST").h(headers).b(body);
4798
4921
  return b.build();
4799
4922
  };
4923
+ const se_SearchEvaluationFormsCommand = async (input, context) => {
4924
+ const b = core.requestBuilder(input, context);
4925
+ const headers = {
4926
+ "content-type": "application/json",
4927
+ };
4928
+ b.bp("/search-evaluation-forms");
4929
+ let body;
4930
+ body = JSON.stringify(smithyClient.take(input, {
4931
+ InstanceId: [],
4932
+ MaxResults: [],
4933
+ NextToken: [],
4934
+ SearchCriteria: (_) => se_EvaluationFormSearchCriteria(_),
4935
+ SearchFilter: (_) => smithyClient._json(_),
4936
+ }));
4937
+ b.m("POST").h(headers).b(body);
4938
+ return b.build();
4939
+ };
4800
4940
  const se_SearchHoursOfOperationOverridesCommand = async (input, context) => {
4801
4941
  const b = core.requestBuilder(input, context);
4802
4942
  const headers = {
@@ -5094,9 +5234,11 @@ const se_StartContactEvaluationCommand = async (input, context) => {
5094
5234
  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
5095
5235
  let body;
5096
5236
  body = JSON.stringify(smithyClient.take(input, {
5237
+ AutoEvaluationConfiguration: (_) => smithyClient._json(_),
5097
5238
  ClientToken: [true, (_) => _ ?? uuid.v4()],
5098
5239
  ContactId: [],
5099
5240
  EvaluationFormId: [],
5241
+ Tags: (_) => smithyClient._json(_),
5100
5242
  }));
5101
5243
  b.m("PUT").h(headers).b(body);
5102
5244
  return b.build();
@@ -5348,6 +5490,7 @@ const se_SubmitContactEvaluationCommand = async (input, context) => {
5348
5490
  body = JSON.stringify(smithyClient.take(input, {
5349
5491
  Answers: (_) => se_EvaluationAnswersInputMap(_),
5350
5492
  Notes: (_) => smithyClient._json(_),
5493
+ SubmittedBy: (_) => smithyClient._json(_),
5351
5494
  }));
5352
5495
  b.m("POST").h(headers).b(body);
5353
5496
  return b.build();
@@ -5527,6 +5670,7 @@ const se_UpdateContactEvaluationCommand = async (input, context) => {
5527
5670
  body = JSON.stringify(smithyClient.take(input, {
5528
5671
  Answers: (_) => se_EvaluationAnswersInputMap(_),
5529
5672
  Notes: (_) => smithyClient._json(_),
5673
+ UpdatedBy: (_) => smithyClient._json(_),
5530
5674
  }));
5531
5675
  b.m("POST").h(headers).b(body);
5532
5676
  return b.build();
@@ -5670,6 +5814,7 @@ const se_UpdateEvaluationFormCommand = async (input, context) => {
5670
5814
  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);
5671
5815
  let body;
5672
5816
  body = JSON.stringify(smithyClient.take(input, {
5817
+ AutoEvaluationConfiguration: (_) => smithyClient._json(_),
5673
5818
  ClientToken: [true, (_) => _ ?? uuid.v4()],
5674
5819
  CreateNewVersion: [],
5675
5820
  Description: [],
@@ -8941,6 +9086,22 @@ const de_SearchAvailablePhoneNumbersCommand = async (output, context) => {
8941
9086
  Object.assign(contents, doc);
8942
9087
  return contents;
8943
9088
  };
9089
+ const de_SearchContactEvaluationsCommand = async (output, context) => {
9090
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9091
+ return de_CommandError(output, context);
9092
+ }
9093
+ const contents = smithyClient.map({
9094
+ $metadata: deserializeMetadata(output),
9095
+ });
9096
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
9097
+ const doc = smithyClient.take(data, {
9098
+ ApproximateTotalCount: smithyClient.expectLong,
9099
+ EvaluationSearchSummaryList: (_) => de_EvaluationSearchSummaryList(_),
9100
+ NextToken: smithyClient.expectString,
9101
+ });
9102
+ Object.assign(contents, doc);
9103
+ return contents;
9104
+ };
8944
9105
  const de_SearchContactFlowModulesCommand = async (output, context) => {
8945
9106
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8946
9107
  return de_CommandError(output, context);
@@ -9005,6 +9166,22 @@ const de_SearchEmailAddressesCommand = async (output, context) => {
9005
9166
  Object.assign(contents, doc);
9006
9167
  return contents;
9007
9168
  };
9169
+ const de_SearchEvaluationFormsCommand = async (output, context) => {
9170
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9171
+ return de_CommandError(output, context);
9172
+ }
9173
+ const contents = smithyClient.map({
9174
+ $metadata: deserializeMetadata(output),
9175
+ });
9176
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
9177
+ const doc = smithyClient.take(data, {
9178
+ ApproximateTotalCount: smithyClient.expectLong,
9179
+ EvaluationFormSearchSummaryList: (_) => de_EvaluationFormSearchSummaryList(_),
9180
+ NextToken: smithyClient.expectString,
9181
+ });
9182
+ Object.assign(contents, doc);
9183
+ return contents;
9184
+ };
9008
9185
  const de_SearchHoursOfOperationOverridesCommand = async (output, context) => {
9009
9186
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9010
9187
  return de_CommandError(output, context);
@@ -10574,6 +10751,14 @@ const se_CreateCaseActionDefinition = (input, context) => {
10574
10751
  TemplateId: [],
10575
10752
  });
10576
10753
  };
10754
+ const se_DecimalCondition = (input, context) => {
10755
+ return smithyClient.take(input, {
10756
+ ComparisonType: [],
10757
+ FieldName: [],
10758
+ MaxValue: smithyClient.serializeFloat,
10759
+ MinValue: smithyClient.serializeFloat,
10760
+ });
10761
+ };
10577
10762
  const se_EmailAddressSearchConditionList = (input, context) => {
10578
10763
  return input
10579
10764
  .filter((e) => e != null)
@@ -10617,6 +10802,33 @@ const se_EvaluationFormItem = (input, context) => {
10617
10802
  _: (name, value) => ({ [name]: value }),
10618
10803
  });
10619
10804
  };
10805
+ const se_EvaluationFormItemEnablementCondition = (input, context) => {
10806
+ return smithyClient.take(input, {
10807
+ Operands: (_) => se_EvaluationFormItemEnablementConditionOperandList(_),
10808
+ Operator: [],
10809
+ });
10810
+ };
10811
+ const se_EvaluationFormItemEnablementConditionOperand = (input, context) => {
10812
+ return exports.EvaluationFormItemEnablementConditionOperand.visit(input, {
10813
+ Condition: (value) => ({ Condition: se_EvaluationFormItemEnablementCondition(value) }),
10814
+ Expression: (value) => ({ Expression: smithyClient._json(value) }),
10815
+ _: (name, value) => ({ [name]: value }),
10816
+ });
10817
+ };
10818
+ const se_EvaluationFormItemEnablementConditionOperandList = (input, context) => {
10819
+ return input
10820
+ .filter((e) => e != null)
10821
+ .map((entry) => {
10822
+ return se_EvaluationFormItemEnablementConditionOperand(entry);
10823
+ });
10824
+ };
10825
+ const se_EvaluationFormItemEnablementConfiguration = (input, context) => {
10826
+ return smithyClient.take(input, {
10827
+ Action: [],
10828
+ Condition: (_) => se_EvaluationFormItemEnablementCondition(_),
10829
+ DefaultAction: [],
10830
+ });
10831
+ };
10620
10832
  const se_EvaluationFormItemsList = (input, context) => {
10621
10833
  return input
10622
10834
  .filter((e) => e != null)
@@ -10626,6 +10838,7 @@ const se_EvaluationFormItemsList = (input, context) => {
10626
10838
  };
10627
10839
  const se_EvaluationFormQuestion = (input, context) => {
10628
10840
  return smithyClient.take(input, {
10841
+ Enablement: (_) => se_EvaluationFormItemEnablementConfiguration(_),
10629
10842
  Instructions: [],
10630
10843
  NotApplicableEnabled: [],
10631
10844
  QuestionType: [],
@@ -10635,6 +10848,23 @@ const se_EvaluationFormQuestion = (input, context) => {
10635
10848
  Weight: smithyClient.serializeFloat,
10636
10849
  });
10637
10850
  };
10851
+ const se_EvaluationFormSearchConditionList = (input, context) => {
10852
+ return input
10853
+ .filter((e) => e != null)
10854
+ .map((entry) => {
10855
+ return se_EvaluationFormSearchCriteria(entry);
10856
+ });
10857
+ };
10858
+ const se_EvaluationFormSearchCriteria = (input, context) => {
10859
+ return smithyClient.take(input, {
10860
+ AndConditions: (_) => se_EvaluationFormSearchConditionList(_),
10861
+ BooleanCondition: smithyClient._json,
10862
+ DateTimeCondition: smithyClient._json,
10863
+ NumberCondition: smithyClient._json,
10864
+ OrConditions: (_) => se_EvaluationFormSearchConditionList(_),
10865
+ StringCondition: smithyClient._json,
10866
+ });
10867
+ };
10638
10868
  const se_EvaluationFormSection = (input, context) => {
10639
10869
  return smithyClient.take(input, {
10640
10870
  Instructions: [],
@@ -10644,6 +10874,24 @@ const se_EvaluationFormSection = (input, context) => {
10644
10874
  Weight: smithyClient.serializeFloat,
10645
10875
  });
10646
10876
  };
10877
+ const se_EvaluationSearchConditionList = (input, context) => {
10878
+ return input
10879
+ .filter((e) => e != null)
10880
+ .map((entry) => {
10881
+ return se_EvaluationSearchCriteria(entry);
10882
+ });
10883
+ };
10884
+ const se_EvaluationSearchCriteria = (input, context) => {
10885
+ return smithyClient.take(input, {
10886
+ AndConditions: (_) => se_EvaluationSearchConditionList(_),
10887
+ BooleanCondition: smithyClient._json,
10888
+ DateTimeCondition: smithyClient._json,
10889
+ DecimalCondition: (_) => se_DecimalCondition(_),
10890
+ NumberCondition: smithyClient._json,
10891
+ OrConditions: (_) => se_EvaluationSearchConditionList(_),
10892
+ StringCondition: smithyClient._json,
10893
+ });
10894
+ };
10647
10895
  const se_Expression = (input, context) => {
10648
10896
  return smithyClient.take(input, {
10649
10897
  AndExpression: (_) => se_Expressions(_),
@@ -11438,6 +11686,7 @@ const de_Evaluation = (output, context) => {
11438
11686
  CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11439
11687
  EvaluationArn: smithyClient.expectString,
11440
11688
  EvaluationId: smithyClient.expectString,
11689
+ EvaluationType: smithyClient.expectString,
11441
11690
  LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11442
11691
  Metadata: (_) => de_EvaluationMetadata(_),
11443
11692
  Notes: smithyClient._json,
@@ -11446,6 +11695,20 @@ const de_Evaluation = (output, context) => {
11446
11695
  Tags: smithyClient._json,
11447
11696
  });
11448
11697
  };
11698
+ const de_EvaluationAcknowledgement = (output, context) => {
11699
+ return smithyClient.take(output, {
11700
+ AcknowledgedBy: smithyClient.expectString,
11701
+ AcknowledgedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11702
+ AcknowledgerComment: smithyClient.expectString,
11703
+ });
11704
+ };
11705
+ const de_EvaluationAcknowledgementSummary = (output, context) => {
11706
+ return smithyClient.take(output, {
11707
+ AcknowledgedBy: smithyClient.expectString,
11708
+ AcknowledgedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11709
+ AcknowledgerComment: smithyClient.expectString,
11710
+ });
11711
+ };
11449
11712
  const de_EvaluationAnswerData = (output, context) => {
11450
11713
  if (smithyClient.expectBoolean(output.NotApplicable) !== undefined) {
11451
11714
  return { NotApplicable: smithyClient.expectBoolean(output.NotApplicable) };
@@ -11460,6 +11723,7 @@ const de_EvaluationAnswerData = (output, context) => {
11460
11723
  };
11461
11724
  const de_EvaluationAnswerOutput = (output, context) => {
11462
11725
  return smithyClient.take(output, {
11726
+ SuggestedAnswers: (_) => de_EvaluationSuggestedAnswersList(_),
11463
11727
  SystemSuggestedValue: (_) => de_EvaluationAnswerData(core$1.awsExpectUnion(_)),
11464
11728
  Value: (_) => de_EvaluationAnswerData(core$1.awsExpectUnion(_)),
11465
11729
  });
@@ -11475,6 +11739,7 @@ const de_EvaluationAnswersOutputMap = (output, context) => {
11475
11739
  };
11476
11740
  const de_EvaluationForm = (output, context) => {
11477
11741
  return smithyClient.take(output, {
11742
+ AutoEvaluationConfiguration: smithyClient._json,
11478
11743
  CreatedBy: smithyClient.expectString,
11479
11744
  CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11480
11745
  Description: smithyClient.expectString,
@@ -11493,6 +11758,7 @@ const de_EvaluationForm = (output, context) => {
11493
11758
  };
11494
11759
  const de_EvaluationFormContent = (output, context) => {
11495
11760
  return smithyClient.take(output, {
11761
+ AutoEvaluationConfiguration: smithyClient._json,
11496
11762
  Description: smithyClient.expectString,
11497
11763
  EvaluationFormArn: smithyClient.expectString,
11498
11764
  EvaluationFormId: smithyClient.expectString,
@@ -11515,6 +11781,40 @@ const de_EvaluationFormItem = (output, context) => {
11515
11781
  }
11516
11782
  return { $unknown: Object.entries(output)[0] };
11517
11783
  };
11784
+ const de_EvaluationFormItemEnablementCondition = (output, context) => {
11785
+ return smithyClient.take(output, {
11786
+ Operands: (_) => de_EvaluationFormItemEnablementConditionOperandList(_),
11787
+ Operator: smithyClient.expectString,
11788
+ });
11789
+ };
11790
+ const de_EvaluationFormItemEnablementConditionOperand = (output, context) => {
11791
+ if (output.Condition != null) {
11792
+ return {
11793
+ Condition: de_EvaluationFormItemEnablementCondition(output.Condition),
11794
+ };
11795
+ }
11796
+ if (output.Expression != null) {
11797
+ return {
11798
+ Expression: smithyClient._json(output.Expression),
11799
+ };
11800
+ }
11801
+ return { $unknown: Object.entries(output)[0] };
11802
+ };
11803
+ const de_EvaluationFormItemEnablementConditionOperandList = (output, context) => {
11804
+ const retVal = (output || [])
11805
+ .filter((e) => e != null)
11806
+ .map((entry) => {
11807
+ return de_EvaluationFormItemEnablementConditionOperand(core$1.awsExpectUnion(entry));
11808
+ });
11809
+ return retVal;
11810
+ };
11811
+ const de_EvaluationFormItemEnablementConfiguration = (output, context) => {
11812
+ return smithyClient.take(output, {
11813
+ Action: smithyClient.expectString,
11814
+ Condition: (_) => de_EvaluationFormItemEnablementCondition(_),
11815
+ DefaultAction: smithyClient.expectString,
11816
+ });
11817
+ };
11518
11818
  const de_EvaluationFormItemsList = (output, context) => {
11519
11819
  const retVal = (output || [])
11520
11820
  .filter((e) => e != null)
@@ -11525,6 +11825,7 @@ const de_EvaluationFormItemsList = (output, context) => {
11525
11825
  };
11526
11826
  const de_EvaluationFormQuestion = (output, context) => {
11527
11827
  return smithyClient.take(output, {
11828
+ Enablement: (_) => de_EvaluationFormItemEnablementConfiguration(_),
11528
11829
  Instructions: smithyClient.expectString,
11529
11830
  NotApplicableEnabled: smithyClient.expectBoolean,
11530
11831
  QuestionType: smithyClient.expectString,
@@ -11534,6 +11835,33 @@ const de_EvaluationFormQuestion = (output, context) => {
11534
11835
  Weight: smithyClient.limitedParseDouble,
11535
11836
  });
11536
11837
  };
11838
+ const de_EvaluationFormSearchSummary = (output, context) => {
11839
+ return smithyClient.take(output, {
11840
+ ActiveVersion: smithyClient.expectInt32,
11841
+ AutoEvaluationEnabled: smithyClient.expectBoolean,
11842
+ CreatedBy: smithyClient.expectString,
11843
+ CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11844
+ Description: smithyClient.expectString,
11845
+ EvaluationFormArn: smithyClient.expectString,
11846
+ EvaluationFormId: smithyClient.expectString,
11847
+ LastActivatedBy: smithyClient.expectString,
11848
+ LastActivatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11849
+ LastModifiedBy: smithyClient.expectString,
11850
+ LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11851
+ LatestVersion: smithyClient.expectInt32,
11852
+ Status: smithyClient.expectString,
11853
+ Tags: smithyClient._json,
11854
+ Title: smithyClient.expectString,
11855
+ });
11856
+ };
11857
+ const de_EvaluationFormSearchSummaryList = (output, context) => {
11858
+ const retVal = (output || [])
11859
+ .filter((e) => e != null)
11860
+ .map((entry) => {
11861
+ return de_EvaluationFormSearchSummary(entry);
11862
+ });
11863
+ return retVal;
11864
+ };
11537
11865
  const de_EvaluationFormSection = (output, context) => {
11538
11866
  return smithyClient.take(output, {
11539
11867
  Instructions: smithyClient.expectString,
@@ -11589,6 +11917,9 @@ const de_EvaluationFormVersionSummaryList = (output, context) => {
11589
11917
  };
11590
11918
  const de_EvaluationMetadata = (output, context) => {
11591
11919
  return smithyClient.take(output, {
11920
+ Acknowledgement: (_) => de_EvaluationAcknowledgement(_),
11921
+ AutoEvaluation: smithyClient._json,
11922
+ CalibrationSessionId: smithyClient.expectString,
11592
11923
  ContactAgentId: smithyClient.expectString,
11593
11924
  ContactId: smithyClient.expectString,
11594
11925
  EvaluatorArn: smithyClient.expectString,
@@ -11611,13 +11942,73 @@ const de_EvaluationScoresMap = (output, context) => {
11611
11942
  return acc;
11612
11943
  }, {});
11613
11944
  };
11945
+ const de_EvaluationSearchMetadata = (output, context) => {
11946
+ return smithyClient.take(output, {
11947
+ AcknowledgedBy: smithyClient.expectString,
11948
+ AcknowledgedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11949
+ AcknowledgerComment: smithyClient.expectString,
11950
+ AutoEvaluationEnabled: smithyClient.expectBoolean,
11951
+ AutoEvaluationStatus: smithyClient.expectString,
11952
+ CalibrationSessionId: smithyClient.expectString,
11953
+ ContactAgentId: smithyClient.expectString,
11954
+ ContactId: smithyClient.expectString,
11955
+ EvaluatorArn: smithyClient.expectString,
11956
+ ScoreAutomaticFail: smithyClient.expectBoolean,
11957
+ ScoreNotApplicable: smithyClient.expectBoolean,
11958
+ ScorePercentage: smithyClient.limitedParseDouble,
11959
+ });
11960
+ };
11961
+ const de_EvaluationSearchSummary = (output, context) => {
11962
+ return smithyClient.take(output, {
11963
+ CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11964
+ EvaluationArn: smithyClient.expectString,
11965
+ EvaluationFormId: smithyClient.expectString,
11966
+ EvaluationFormVersion: smithyClient.expectInt32,
11967
+ EvaluationId: smithyClient.expectString,
11968
+ EvaluationType: smithyClient.expectString,
11969
+ LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11970
+ Metadata: (_) => de_EvaluationSearchMetadata(_),
11971
+ Status: smithyClient.expectString,
11972
+ Tags: smithyClient._json,
11973
+ });
11974
+ };
11975
+ const de_EvaluationSearchSummaryList = (output, context) => {
11976
+ const retVal = (output || [])
11977
+ .filter((e) => e != null)
11978
+ .map((entry) => {
11979
+ return de_EvaluationSearchSummary(entry);
11980
+ });
11981
+ return retVal;
11982
+ };
11983
+ const de_EvaluationSuggestedAnswer = (output, context) => {
11984
+ return smithyClient.take(output, {
11985
+ AnalysisDetails: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
11986
+ AnalysisType: smithyClient.expectString,
11987
+ Input: smithyClient._json,
11988
+ Status: smithyClient.expectString,
11989
+ Value: (_) => de_EvaluationAnswerData(core$1.awsExpectUnion(_)),
11990
+ });
11991
+ };
11992
+ const de_EvaluationSuggestedAnswersList = (output, context) => {
11993
+ const retVal = (output || [])
11994
+ .filter((e) => e != null)
11995
+ .map((entry) => {
11996
+ return de_EvaluationSuggestedAnswer(entry);
11997
+ });
11998
+ return retVal;
11999
+ };
11614
12000
  const de_EvaluationSummary = (output, context) => {
11615
12001
  return smithyClient.take(output, {
12002
+ Acknowledgement: (_) => de_EvaluationAcknowledgementSummary(_),
12003
+ AutoEvaluationEnabled: smithyClient.expectBoolean,
12004
+ AutoEvaluationStatus: smithyClient.expectString,
12005
+ CalibrationSessionId: smithyClient.expectString,
11616
12006
  CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11617
12007
  EvaluationArn: smithyClient.expectString,
11618
12008
  EvaluationFormId: smithyClient.expectString,
11619
12009
  EvaluationFormTitle: smithyClient.expectString,
11620
12010
  EvaluationId: smithyClient.expectString,
12011
+ EvaluationType: smithyClient.expectString,
11621
12012
  EvaluatorArn: smithyClient.expectString,
11622
12013
  LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
11623
12014
  Score: (_) => de_EvaluationScore(_),
@@ -15977,6 +16368,23 @@ class SearchAvailablePhoneNumbersCommand extends smithyClient.Command
15977
16368
  .build() {
15978
16369
  }
15979
16370
 
16371
+ class SearchContactEvaluationsCommand extends smithyClient.Command
16372
+ .classBuilder()
16373
+ .ep(commonParams)
16374
+ .m(function (Command, cs, config, o) {
16375
+ return [
16376
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
16377
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16378
+ ];
16379
+ })
16380
+ .s("AmazonConnectService", "SearchContactEvaluations", {})
16381
+ .n("ConnectClient", "SearchContactEvaluationsCommand")
16382
+ .f(void 0, void 0)
16383
+ .ser(se_SearchContactEvaluationsCommand)
16384
+ .de(de_SearchContactEvaluationsCommand)
16385
+ .build() {
16386
+ }
16387
+
15980
16388
  class SearchContactFlowModulesCommand extends smithyClient.Command
15981
16389
  .classBuilder()
15982
16390
  .ep(commonParams)
@@ -16045,6 +16453,23 @@ class SearchEmailAddressesCommand extends smithyClient.Command
16045
16453
  .build() {
16046
16454
  }
16047
16455
 
16456
+ class SearchEvaluationFormsCommand extends smithyClient.Command
16457
+ .classBuilder()
16458
+ .ep(commonParams)
16459
+ .m(function (Command, cs, config, o) {
16460
+ return [
16461
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
16462
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16463
+ ];
16464
+ })
16465
+ .s("AmazonConnectService", "SearchEvaluationForms", {})
16466
+ .n("ConnectClient", "SearchEvaluationFormsCommand")
16467
+ .f(void 0, void 0)
16468
+ .ser(se_SearchEvaluationFormsCommand)
16469
+ .de(de_SearchEvaluationFormsCommand)
16470
+ .build() {
16471
+ }
16472
+
16048
16473
  class SearchHoursOfOperationOverridesCommand extends smithyClient.Command
16049
16474
  .classBuilder()
16050
16475
  .ep(commonParams)
@@ -17721,10 +18146,12 @@ const commands = {
17721
18146
  ResumeContactRecordingCommand,
17722
18147
  SearchAgentStatusesCommand,
17723
18148
  SearchAvailablePhoneNumbersCommand,
18149
+ SearchContactEvaluationsCommand,
17724
18150
  SearchContactFlowModulesCommand,
17725
18151
  SearchContactFlowsCommand,
17726
18152
  SearchContactsCommand,
17727
18153
  SearchEmailAddressesCommand,
18154
+ SearchEvaluationFormsCommand,
17728
18155
  SearchHoursOfOperationOverridesCommand,
17729
18156
  SearchHoursOfOperationsCommand,
17730
18157
  SearchPredefinedAttributesCommand,
@@ -17987,12 +18414,14 @@ exports.AssociateUserProficienciesCommand = AssociateUserProficienciesCommand;
17987
18414
  exports.AttachedFileInvalidRequestExceptionReason = AttachedFileInvalidRequestExceptionReason;
17988
18415
  exports.AttachedFileServiceQuotaExceededExceptionReason = AttachedFileServiceQuotaExceededExceptionReason;
17989
18416
  exports.AttendeeFilterSensitiveLog = AttendeeFilterSensitiveLog;
18417
+ exports.AutoEvaluationStatus = AutoEvaluationStatus;
17990
18418
  exports.BatchAssociateAnalyticsDataSetCommand = BatchAssociateAnalyticsDataSetCommand;
17991
18419
  exports.BatchDisassociateAnalyticsDataSetCommand = BatchDisassociateAnalyticsDataSetCommand;
17992
18420
  exports.BatchGetAttachedFileMetadataCommand = BatchGetAttachedFileMetadataCommand;
17993
18421
  exports.BatchGetFlowAssociationCommand = BatchGetFlowAssociationCommand;
17994
18422
  exports.BatchPutContactCommand = BatchPutContactCommand;
17995
18423
  exports.BehaviorType = BehaviorType;
18424
+ exports.BooleanComparisonType = BooleanComparisonType;
17996
18425
  exports.Channel = Channel;
17997
18426
  exports.ChatEventType = ChatEventType;
17998
18427
  exports.ClaimPhoneNumberCommand = ClaimPhoneNumberCommand;
@@ -18057,7 +18486,9 @@ exports.CreateVocabularyCommand = CreateVocabularyCommand;
18057
18486
  exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
18058
18487
  exports.CurrentMetricName = CurrentMetricName;
18059
18488
  exports.DateComparisonType = DateComparisonType;
18489
+ exports.DateTimeComparisonType = DateTimeComparisonType;
18060
18490
  exports.DeactivateEvaluationFormCommand = DeactivateEvaluationFormCommand;
18491
+ exports.DecimalComparisonType = DecimalComparisonType;
18061
18492
  exports.DeleteAttachedFileCommand = DeleteAttachedFileCommand;
18062
18493
  exports.DeleteContactEvaluationCommand = DeleteContactEvaluationCommand;
18063
18494
  exports.DeleteContactFlowCommand = DeleteContactFlowCommand;
@@ -18141,12 +18572,22 @@ exports.EmailAddressMetadataFilterSensitiveLog = EmailAddressMetadataFilterSensi
18141
18572
  exports.EmailHeaderType = EmailHeaderType;
18142
18573
  exports.EncryptionType = EncryptionType;
18143
18574
  exports.EndpointType = EndpointType;
18575
+ exports.EvaluationFormItemEnablementAction = EvaluationFormItemEnablementAction;
18576
+ exports.EvaluationFormItemEnablementOperator = EvaluationFormItemEnablementOperator;
18577
+ exports.EvaluationFormItemEnablementSourceType = EvaluationFormItemEnablementSourceType;
18578
+ exports.EvaluationFormItemEnablementSourceValueType = EvaluationFormItemEnablementSourceValueType;
18579
+ exports.EvaluationFormItemSourceValuesComparator = EvaluationFormItemSourceValuesComparator;
18580
+ exports.EvaluationFormQuestionAutomationAnswerSourceType = EvaluationFormQuestionAutomationAnswerSourceType;
18144
18581
  exports.EvaluationFormQuestionType = EvaluationFormQuestionType;
18145
18582
  exports.EvaluationFormScoringMode = EvaluationFormScoringMode;
18146
18583
  exports.EvaluationFormScoringStatus = EvaluationFormScoringStatus;
18147
18584
  exports.EvaluationFormSingleSelectQuestionDisplayMode = EvaluationFormSingleSelectQuestionDisplayMode;
18148
18585
  exports.EvaluationFormVersionStatus = EvaluationFormVersionStatus;
18586
+ exports.EvaluationQuestionAnswerAnalysisType = EvaluationQuestionAnswerAnalysisType;
18149
18587
  exports.EvaluationStatus = EvaluationStatus;
18588
+ exports.EvaluationSuggestedAnswerStatus = EvaluationSuggestedAnswerStatus;
18589
+ exports.EvaluationTranscriptType = EvaluationTranscriptType;
18590
+ exports.EvaluationType = EvaluationType;
18150
18591
  exports.EventSourceName = EventSourceName;
18151
18592
  exports.FailureReasonCode = FailureReasonCode;
18152
18593
  exports.FileStatusType = FileStatusType;
@@ -18278,6 +18719,7 @@ exports.PhoneType = PhoneType;
18278
18719
  exports.PropertyValidationException = PropertyValidationException;
18279
18720
  exports.PropertyValidationExceptionReason = PropertyValidationExceptionReason;
18280
18721
  exports.PutUserStatusCommand = PutUserStatusCommand;
18722
+ exports.QuestionRuleCategoryAutomationCondition = QuestionRuleCategoryAutomationCondition;
18281
18723
  exports.QueueStatus = QueueStatus;
18282
18724
  exports.QueueType = QueueType;
18283
18725
  exports.QuickConnectType = QuickConnectType;
@@ -18307,6 +18749,7 @@ exports.RulePublishStatus = RulePublishStatus;
18307
18749
  exports.ScreenShareCapability = ScreenShareCapability;
18308
18750
  exports.SearchAgentStatusesCommand = SearchAgentStatusesCommand;
18309
18751
  exports.SearchAvailablePhoneNumbersCommand = SearchAvailablePhoneNumbersCommand;
18752
+ exports.SearchContactEvaluationsCommand = SearchContactEvaluationsCommand;
18310
18753
  exports.SearchContactFlowModulesCommand = SearchContactFlowModulesCommand;
18311
18754
  exports.SearchContactFlowsCommand = SearchContactFlowsCommand;
18312
18755
  exports.SearchContactsCommand = SearchContactsCommand;
@@ -18318,6 +18761,7 @@ exports.SearchContactsTimeRangeType = SearchContactsTimeRangeType;
18318
18761
  exports.SearchCriteriaFilterSensitiveLog = SearchCriteriaFilterSensitiveLog;
18319
18762
  exports.SearchEmailAddressesCommand = SearchEmailAddressesCommand;
18320
18763
  exports.SearchEmailAddressesResponseFilterSensitiveLog = SearchEmailAddressesResponseFilterSensitiveLog;
18764
+ exports.SearchEvaluationFormsCommand = SearchEvaluationFormsCommand;
18321
18765
  exports.SearchHoursOfOperationOverridesCommand = SearchHoursOfOperationOverridesCommand;
18322
18766
  exports.SearchHoursOfOperationsCommand = SearchHoursOfOperationsCommand;
18323
18767
  exports.SearchPredefinedAttributesCommand = SearchPredefinedAttributesCommand;