@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
@@ -195,10 +195,12 @@ import { ResumeContactCommand, } from "./commands/ResumeContactCommand";
195
195
  import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
196
196
  import { SearchAgentStatusesCommand, } from "./commands/SearchAgentStatusesCommand";
197
197
  import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
198
+ import { SearchContactEvaluationsCommand, } from "./commands/SearchContactEvaluationsCommand";
198
199
  import { SearchContactFlowModulesCommand, } from "./commands/SearchContactFlowModulesCommand";
199
200
  import { SearchContactFlowsCommand, } from "./commands/SearchContactFlowsCommand";
200
201
  import { SearchContactsCommand, } from "./commands/SearchContactsCommand";
201
202
  import { SearchEmailAddressesCommand, } from "./commands/SearchEmailAddressesCommand";
203
+ import { SearchEvaluationFormsCommand, } from "./commands/SearchEvaluationFormsCommand";
202
204
  import { SearchHoursOfOperationOverridesCommand, } from "./commands/SearchHoursOfOperationOverridesCommand";
203
205
  import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperationsCommand";
204
206
  import { SearchPredefinedAttributesCommand, } from "./commands/SearchPredefinedAttributesCommand";
@@ -484,10 +486,12 @@ const commands = {
484
486
  ResumeContactRecordingCommand,
485
487
  SearchAgentStatusesCommand,
486
488
  SearchAvailablePhoneNumbersCommand,
489
+ SearchContactEvaluationsCommand,
487
490
  SearchContactFlowModulesCommand,
488
491
  SearchContactFlowsCommand,
489
492
  SearchContactsCommand,
490
493
  SearchEmailAddressesCommand,
494
+ SearchEvaluationFormsCommand,
491
495
  SearchHoursOfOperationOverridesCommand,
492
496
  SearchHoursOfOperationsCommand,
493
497
  SearchPredefinedAttributesCommand,
@@ -2,7 +2,8 @@ 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 { CreateViewRequestFilterSensitiveLog, CreateViewResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { CreateViewRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { CreateViewResponseFilterSensitiveLog } from "../models/models_1";
6
7
  import { de_CreateViewCommand, se_CreateViewCommand } from "../protocols/Aws_restJson1";
7
8
  export { $Command };
8
9
  export class CreateViewCommand 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 { CreateViewVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { CreateViewVersionResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_CreateViewVersionCommand, se_CreateViewVersionCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class CreateViewVersionCommand extends $Command
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_SearchContactEvaluationsCommand, se_SearchContactEvaluationsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class SearchContactEvaluationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectService", "SearchContactEvaluations", {})
17
+ .n("ConnectClient", "SearchContactEvaluationsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_SearchContactEvaluationsCommand)
20
+ .de(de_SearchContactEvaluationsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_SearchEvaluationFormsCommand, se_SearchEvaluationFormsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class SearchEvaluationFormsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectService", "SearchEvaluationForms", {})
17
+ .n("ConnectClient", "SearchEvaluationFormsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_SearchEvaluationFormsCommand)
20
+ .de(de_SearchEvaluationFormsCommand)
21
+ .build() {
22
+ }
@@ -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 { StartOutboundVoiceContactRequestFilterSensitiveLog, } from "../models/models_2";
5
+ import { StartOutboundVoiceContactRequestFilterSensitiveLog, } from "../models/models_3";
6
6
  import { de_StartOutboundVoiceContactCommand, se_StartOutboundVoiceContactCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class StartOutboundVoiceContactCommand 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 { StartTaskContactRequestFilterSensitiveLog } from "../models/models_3";
5
+ import { StartTaskContactRequestFilterSensitiveLog, } from "../models/models_3";
6
6
  import { de_StartTaskContactCommand, se_StartTaskContactCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class StartTaskContactCommand 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 { StartWebRTCContactRequestFilterSensitiveLog, StartWebRTCContactResponseFilterSensitiveLog, } from "../models/models_2";
5
+ import { StartWebRTCContactRequestFilterSensitiveLog, StartWebRTCContactResponseFilterSensitiveLog, } from "../models/models_3";
6
6
  import { de_StartWebRTCContactCommand, se_StartWebRTCContactCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class StartWebRTCContactCommand 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 { UpdateContactRequestFilterSensitiveLog } from "../models/models_3";
5
+ import { UpdateContactRequestFilterSensitiveLog, } from "../models/models_3";
6
6
  import { de_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class UpdateContactCommand extends $Command
@@ -194,10 +194,12 @@ export * from "./ResumeContactCommand";
194
194
  export * from "./ResumeContactRecordingCommand";
195
195
  export * from "./SearchAgentStatusesCommand";
196
196
  export * from "./SearchAvailablePhoneNumbersCommand";
197
+ export * from "./SearchContactEvaluationsCommand";
197
198
  export * from "./SearchContactFlowModulesCommand";
198
199
  export * from "./SearchContactFlowsCommand";
199
200
  export * from "./SearchContactsCommand";
200
201
  export * from "./SearchEmailAddressesCommand";
202
+ export * from "./SearchEvaluationFormsCommand";
201
203
  export * from "./SearchHoursOfOperationOverridesCommand";
202
204
  export * from "./SearchHoursOfOperationsCommand";
203
205
  export * from "./SearchPredefinedAttributesCommand";
@@ -459,17 +459,42 @@ export class InvalidContactFlowModuleException extends __BaseException {
459
459
  this.Problems = opts.Problems;
460
460
  }
461
461
  }
462
+ export const EvaluationFormItemEnablementAction = {
463
+ DISABLE: "DISABLE",
464
+ ENABLE: "ENABLE",
465
+ };
466
+ export const EvaluationFormItemSourceValuesComparator = {
467
+ IN: "IN",
468
+ NOT_IN: "NOT_IN",
469
+ };
470
+ export const EvaluationFormItemEnablementSourceType = {
471
+ QUESTION_REF_ID: "QUESTION_REF_ID",
472
+ };
473
+ export const EvaluationFormItemEnablementSourceValueType = {
474
+ OPTION_REF_ID: "OPTION_REF_ID",
475
+ };
476
+ export const EvaluationFormItemEnablementOperator = {
477
+ AND: "AND",
478
+ OR: "OR",
479
+ };
462
480
  export const EvaluationFormQuestionType = {
463
481
  NUMERIC: "NUMERIC",
464
482
  SINGLESELECT: "SINGLESELECT",
465
483
  TEXT: "TEXT",
466
484
  };
485
+ export const EvaluationFormQuestionAutomationAnswerSourceType = {
486
+ CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
487
+ GEN_AI: "GEN_AI",
488
+ };
467
489
  export const NumericQuestionPropertyAutomationLabel = {
490
+ AGENT_INTERACTION_AND_HOLD_DURATION: "AGENT_INTERACTION_AND_HOLD_DURATION",
468
491
  AGENT_INTERACTION_DURATION: "AGENT_INTERACTION_DURATION",
469
492
  CONTACT_DURATION: "CONTACT_DURATION",
470
493
  CUSTOMER_HOLD_TIME: "CUSTOMER_HOLD_TIME",
494
+ LONGEST_HOLD_DURATION: "LONGEST_HOLD_DURATION",
471
495
  NON_TALK_TIME: "NON_TALK_TIME",
472
496
  NON_TALK_TIME_PERCENTAGE: "NON_TALK_TIME_PERCENTAGE",
497
+ NUMBER_OF_HOLDS: "NUMBER_OF_HOLDS",
473
498
  NUMBER_OF_INTERRUPTIONS: "NUMBER_OF_INTERRUPTIONS",
474
499
  OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE",
475
500
  OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE",
@@ -479,6 +504,8 @@ export var EvaluationFormNumericQuestionAutomation;
479
504
  EvaluationFormNumericQuestionAutomation.visit = (value, visitor) => {
480
505
  if (value.PropertyValue !== undefined)
481
506
  return visitor.PropertyValue(value.PropertyValue);
507
+ if (value.AnswerSource !== undefined)
508
+ return visitor.AnswerSource(value.AnswerSource);
482
509
  return visitor._(value.$unknown[0], value.$unknown[1]);
483
510
  };
484
511
  })(EvaluationFormNumericQuestionAutomation || (EvaluationFormNumericQuestionAutomation = {}));
@@ -505,6 +532,8 @@ export var EvaluationFormQuestionTypeProperties;
505
532
  return visitor.Numeric(value.Numeric);
506
533
  if (value.SingleSelect !== undefined)
507
534
  return visitor.SingleSelect(value.SingleSelect);
535
+ if (value.Text !== undefined)
536
+ return visitor.Text(value.Text);
508
537
  return visitor._(value.$unknown[0], value.$unknown[1]);
509
538
  };
510
539
  })(EvaluationFormQuestionTypeProperties || (EvaluationFormQuestionTypeProperties = {}));
@@ -697,54 +726,6 @@ export const ViewType = {
697
726
  AWS_MANAGED: "AWS_MANAGED",
698
727
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
699
728
  };
700
- export const ResourceType = {
701
- CONTACT: "CONTACT",
702
- CONTACT_FLOW: "CONTACT_FLOW",
703
- HIERARCHY_GROUP: "HIERARCHY_GROUP",
704
- HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
705
- INSTANCE: "INSTANCE",
706
- PARTICIPANT: "PARTICIPANT",
707
- PHONE_NUMBER: "PHONE_NUMBER",
708
- USER: "USER",
709
- };
710
- export class ResourceInUseException extends __BaseException {
711
- name = "ResourceInUseException";
712
- $fault = "client";
713
- Message;
714
- ResourceType;
715
- ResourceId;
716
- constructor(opts) {
717
- super({
718
- name: "ResourceInUseException",
719
- $fault: "client",
720
- ...opts,
721
- });
722
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
723
- this.Message = opts.Message;
724
- this.ResourceType = opts.ResourceType;
725
- this.ResourceId = opts.ResourceId;
726
- }
727
- }
728
- export class TooManyRequestsException extends __BaseException {
729
- name = "TooManyRequestsException";
730
- $fault = "client";
731
- Message;
732
- constructor(opts) {
733
- super({
734
- name: "TooManyRequestsException",
735
- $fault: "client",
736
- ...opts,
737
- });
738
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
739
- this.Message = opts.Message;
740
- }
741
- }
742
- export const VocabularyState = {
743
- ACTIVE: "ACTIVE",
744
- CREATION_FAILED: "CREATION_FAILED",
745
- CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
746
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
747
- };
748
729
  export const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
749
730
  ...obj,
750
731
  ...(obj.Description && { Description: SENSITIVE_STRING }),
@@ -786,11 +767,3 @@ export const ViewFilterSensitiveLog = (obj) => ({
786
767
  ...(obj.Name && { Name: SENSITIVE_STRING }),
787
768
  ...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
788
769
  });
789
- export const CreateViewResponseFilterSensitiveLog = (obj) => ({
790
- ...obj,
791
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
792
- });
793
- export const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
794
- ...obj,
795
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
796
- });
@@ -1,6 +1,54 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
4
+ export const ResourceType = {
5
+ CONTACT: "CONTACT",
6
+ CONTACT_FLOW: "CONTACT_FLOW",
7
+ HIERARCHY_GROUP: "HIERARCHY_GROUP",
8
+ HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
9
+ INSTANCE: "INSTANCE",
10
+ PARTICIPANT: "PARTICIPANT",
11
+ PHONE_NUMBER: "PHONE_NUMBER",
12
+ USER: "USER",
13
+ };
14
+ export class ResourceInUseException extends __BaseException {
15
+ name = "ResourceInUseException";
16
+ $fault = "client";
17
+ Message;
18
+ ResourceType;
19
+ ResourceId;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ResourceInUseException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
27
+ this.Message = opts.Message;
28
+ this.ResourceType = opts.ResourceType;
29
+ this.ResourceId = opts.ResourceId;
30
+ }
31
+ }
32
+ export class TooManyRequestsException extends __BaseException {
33
+ name = "TooManyRequestsException";
34
+ $fault = "client";
35
+ Message;
36
+ constructor(opts) {
37
+ super({
38
+ name: "TooManyRequestsException",
39
+ $fault: "client",
40
+ ...opts,
41
+ });
42
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
43
+ this.Message = opts.Message;
44
+ }
45
+ }
46
+ export const VocabularyState = {
47
+ ACTIVE: "ACTIVE",
48
+ CREATION_FAILED: "CREATION_FAILED",
49
+ CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
50
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
51
+ };
4
52
  export const AnsweringMachineDetectionStatus = {
5
53
  AMD_ERROR: "AMD_ERROR",
6
54
  AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
@@ -43,6 +91,33 @@ export const RoutingCriteriaStepStatus = {
43
91
  INACTIVE: "INACTIVE",
44
92
  JOINED: "JOINED",
45
93
  };
94
+ export const QuestionRuleCategoryAutomationCondition = {
95
+ NOT_PRESENT: "NOT_PRESENT",
96
+ PRESENT: "PRESENT",
97
+ };
98
+ export var EvaluationQuestionAnswerAnalysisDetails;
99
+ (function (EvaluationQuestionAnswerAnalysisDetails) {
100
+ EvaluationQuestionAnswerAnalysisDetails.visit = (value, visitor) => {
101
+ if (value.GenAI !== undefined)
102
+ return visitor.GenAI(value.GenAI);
103
+ if (value.ContactLens !== undefined)
104
+ return visitor.ContactLens(value.ContactLens);
105
+ return visitor._(value.$unknown[0], value.$unknown[1]);
106
+ };
107
+ })(EvaluationQuestionAnswerAnalysisDetails || (EvaluationQuestionAnswerAnalysisDetails = {}));
108
+ export const EvaluationQuestionAnswerAnalysisType = {
109
+ CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
110
+ GEN_AI: "GEN_AI",
111
+ };
112
+ export const EvaluationTranscriptType = {
113
+ RAW: "RAW",
114
+ REDACTED: "REDACTED",
115
+ };
116
+ export const EvaluationSuggestedAnswerStatus = {
117
+ FAILED: "FAILED",
118
+ IN_PROGRESS: "IN_PROGRESS",
119
+ SUCCEEDED: "SUCCEEDED",
120
+ };
46
121
  export var EvaluationAnswerData;
47
122
  (function (EvaluationAnswerData) {
48
123
  EvaluationAnswerData.visit = (value, visitor) => {
@@ -55,6 +130,15 @@ export var EvaluationAnswerData;
55
130
  return visitor._(value.$unknown[0], value.$unknown[1]);
56
131
  };
57
132
  })(EvaluationAnswerData || (EvaluationAnswerData = {}));
133
+ export const EvaluationType = {
134
+ CALIBRATION: "CALIBRATION",
135
+ STANDARD: "STANDARD",
136
+ };
137
+ export const AutoEvaluationStatus = {
138
+ FAILED: "FAILED",
139
+ IN_PROGRESS: "IN_PROGRESS",
140
+ SUCCEEDED: "SUCCEEDED",
141
+ };
58
142
  export const EvaluationStatus = {
59
143
  DRAFT: "DRAFT",
60
144
  SUBMITTED: "SUBMITTED",
@@ -484,26 +568,14 @@ export const LexVersion = {
484
568
  V1: "V1",
485
569
  V2: "V2",
486
570
  };
487
- export var ReferenceSummary;
488
- (function (ReferenceSummary) {
489
- ReferenceSummary.visit = (value, visitor) => {
490
- if (value.Url !== undefined)
491
- return visitor.Url(value.Url);
492
- if (value.Attachment !== undefined)
493
- return visitor.Attachment(value.Attachment);
494
- if (value.EmailMessage !== undefined)
495
- return visitor.EmailMessage(value.EmailMessage);
496
- if (value.String !== undefined)
497
- return visitor.String(value.String);
498
- if (value.Number !== undefined)
499
- return visitor.Number(value.Number);
500
- if (value.Date !== undefined)
501
- return visitor.Date(value.Date);
502
- if (value.Email !== undefined)
503
- return visitor.Email(value.Email);
504
- return visitor._(value.$unknown[0], value.$unknown[1]);
505
- };
506
- })(ReferenceSummary || (ReferenceSummary = {}));
571
+ export const CreateViewResponseFilterSensitiveLog = (obj) => ({
572
+ ...obj,
573
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
574
+ });
575
+ export const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
576
+ ...obj,
577
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
578
+ });
507
579
  export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
508
580
  ...obj,
509
581
  ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
@@ -1,5 +1,25 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ export var ReferenceSummary;
4
+ (function (ReferenceSummary) {
5
+ ReferenceSummary.visit = (value, visitor) => {
6
+ if (value.Url !== undefined)
7
+ return visitor.Url(value.Url);
8
+ if (value.Attachment !== undefined)
9
+ return visitor.Attachment(value.Attachment);
10
+ if (value.EmailMessage !== undefined)
11
+ return visitor.EmailMessage(value.EmailMessage);
12
+ if (value.String !== undefined)
13
+ return visitor.String(value.String);
14
+ if (value.Number !== undefined)
15
+ return visitor.Number(value.Number);
16
+ if (value.Date !== undefined)
17
+ return visitor.Date(value.Date);
18
+ if (value.Email !== undefined)
19
+ return visitor.Email(value.Email);
20
+ return visitor._(value.$unknown[0], value.$unknown[1]);
21
+ };
22
+ })(ReferenceSummary || (ReferenceSummary = {}));
3
23
  export const QueueType = {
4
24
  AGENT: "AGENT",
5
25
  STANDARD: "STANDARD",
@@ -91,6 +111,36 @@ export const ContactRecordingType = {
91
111
  IVR: "IVR",
92
112
  SCREEN: "SCREEN",
93
113
  };
114
+ export const BooleanComparisonType = {
115
+ IS_FALSE: "IS_FALSE",
116
+ IS_TRUE: "IS_TRUE",
117
+ };
118
+ export const DateTimeComparisonType = {
119
+ EQUAL_TO: "EQUAL_TO",
120
+ GREATER_THAN: "GREATER_THAN",
121
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
122
+ LESS_THAN: "LESS_THAN",
123
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
124
+ RANGE: "RANGE",
125
+ };
126
+ export const DecimalComparisonType = {
127
+ EQUAL: "EQUAL",
128
+ GREATER: "GREATER",
129
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
130
+ LESSER: "LESSER",
131
+ LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
132
+ NOT_EQUAL: "NOT_EQUAL",
133
+ RANGE: "RANGE",
134
+ };
135
+ export const NumberComparisonType = {
136
+ EQUAL: "EQUAL",
137
+ GREATER: "GREATER",
138
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
139
+ LESSER: "LESSER",
140
+ LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
141
+ NOT_EQUAL: "NOT_EQUAL",
142
+ RANGE: "RANGE",
143
+ };
94
144
  export const SearchContactsTimeRangeType = {
95
145
  CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
96
146
  DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
@@ -144,15 +194,6 @@ export const HierarchyGroupMatchType = {
144
194
  EXACT: "EXACT",
145
195
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
146
196
  };
147
- export const NumberComparisonType = {
148
- EQUAL: "EQUAL",
149
- GREATER: "GREATER",
150
- GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
151
- LESSER: "LESSER",
152
- LESSER_OR_EQUAL: "LESSER_OR_EQUAL",
153
- NOT_EQUAL: "NOT_EQUAL",
154
- RANGE: "RANGE",
155
- };
156
197
  export const TargetListType = {
157
198
  PROFICIENCIES: "PROFICIENCIES",
158
199
  };
@@ -187,52 +228,6 @@ export const EmailHeaderType = {
187
228
  X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",
188
229
  X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT",
189
230
  };
190
- export class DestinationNotAllowedException extends __BaseException {
191
- name = "DestinationNotAllowedException";
192
- $fault = "client";
193
- Message;
194
- constructor(opts) {
195
- super({
196
- name: "DestinationNotAllowedException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
201
- this.Message = opts.Message;
202
- }
203
- }
204
- export class OutboundContactNotPermittedException extends __BaseException {
205
- name = "OutboundContactNotPermittedException";
206
- $fault = "client";
207
- Message;
208
- constructor(opts) {
209
- super({
210
- name: "OutboundContactNotPermittedException",
211
- $fault: "client",
212
- ...opts,
213
- });
214
- Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
215
- this.Message = opts.Message;
216
- }
217
- }
218
- export const MeetingFeatureStatus = {
219
- AVAILABLE: "AVAILABLE",
220
- UNAVAILABLE: "UNAVAILABLE",
221
- };
222
- export class ContactNotFoundException extends __BaseException {
223
- name = "ContactNotFoundException";
224
- $fault = "client";
225
- Message;
226
- constructor(opts) {
227
- super({
228
- name: "ContactNotFoundException",
229
- $fault: "client",
230
- ...opts,
231
- });
232
- Object.setPrototypeOf(this, ContactNotFoundException.prototype);
233
- this.Message = opts.Message;
234
- }
235
- }
236
231
  export const InstanceSummaryFilterSensitiveLog = (obj) => ({
237
232
  ...obj,
238
233
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -401,24 +396,3 @@ export const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
401
396
  }),
402
397
  ...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
403
398
  });
404
- export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
405
- ...obj,
406
- ...(obj.Name && { Name: SENSITIVE_STRING }),
407
- ...(obj.Description && { Description: SENSITIVE_STRING }),
408
- });
409
- export const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
410
- ...obj,
411
- ...(obj.Description && { Description: SENSITIVE_STRING }),
412
- });
413
- export const AttendeeFilterSensitiveLog = (obj) => ({
414
- ...obj,
415
- ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
416
- });
417
- export const ConnectionDataFilterSensitiveLog = (obj) => ({
418
- ...obj,
419
- ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
420
- });
421
- export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
424
- });
@@ -2,6 +2,60 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
4
4
  import { EmailAddressInfoFilterSensitiveLog, InboundAdditionalRecipientsFilterSensitiveLog, InboundEmailContentFilterSensitiveLog, } from "./models_2";
5
+ export class DestinationNotAllowedException extends __BaseException {
6
+ name = "DestinationNotAllowedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "DestinationNotAllowedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ export class OutboundContactNotPermittedException extends __BaseException {
20
+ name = "OutboundContactNotPermittedException";
21
+ $fault = "client";
22
+ Message;
23
+ constructor(opts) {
24
+ super({
25
+ name: "OutboundContactNotPermittedException",
26
+ $fault: "client",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
30
+ this.Message = opts.Message;
31
+ }
32
+ }
33
+ export const MeetingFeatureStatus = {
34
+ AVAILABLE: "AVAILABLE",
35
+ UNAVAILABLE: "UNAVAILABLE",
36
+ };
37
+ export class ContactNotFoundException extends __BaseException {
38
+ name = "ContactNotFoundException";
39
+ $fault = "client";
40
+ Message;
41
+ constructor(opts) {
42
+ super({
43
+ name: "ContactNotFoundException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ContactNotFoundException.prototype);
48
+ this.Message = opts.Message;
49
+ }
50
+ }
51
+ export var EvaluatorUserUnion;
52
+ (function (EvaluatorUserUnion) {
53
+ EvaluatorUserUnion.visit = (value, visitor) => {
54
+ if (value.ConnectUserArn !== undefined)
55
+ return visitor.ConnectUserArn(value.ConnectUserArn);
56
+ return visitor._(value.$unknown[0], value.$unknown[1]);
57
+ };
58
+ })(EvaluatorUserUnion || (EvaluatorUserUnion = {}));
5
59
  export class ConditionalOperationFailedException extends __BaseException {
6
60
  name = "ConditionalOperationFailedException";
7
61
  $fault = "client";
@@ -45,6 +99,16 @@ export var UpdateParticipantRoleConfigChannelInfo;
45
99
  return visitor._(value.$unknown[0], value.$unknown[1]);
46
100
  };
47
101
  })(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
102
+ export var EvaluationFormItemEnablementConditionOperand;
103
+ (function (EvaluationFormItemEnablementConditionOperand) {
104
+ EvaluationFormItemEnablementConditionOperand.visit = (value, visitor) => {
105
+ if (value.Expression !== undefined)
106
+ return visitor.Expression(value.Expression);
107
+ if (value.Condition !== undefined)
108
+ return visitor.Condition(value.Condition);
109
+ return visitor._(value.$unknown[0], value.$unknown[1]);
110
+ };
111
+ })(EvaluationFormItemEnablementConditionOperand || (EvaluationFormItemEnablementConditionOperand = {}));
48
112
  export var EvaluationFormItem;
49
113
  (function (EvaluationFormItem) {
50
114
  EvaluationFormItem.visit = (value, visitor) => {
@@ -55,6 +119,27 @@ export var EvaluationFormItem;
55
119
  return visitor._(value.$unknown[0], value.$unknown[1]);
56
120
  };
57
121
  })(EvaluationFormItem || (EvaluationFormItem = {}));
122
+ export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
125
+ ...(obj.Description && { Description: SENSITIVE_STRING }),
126
+ });
127
+ export const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
128
+ ...obj,
129
+ ...(obj.Description && { Description: SENSITIVE_STRING }),
130
+ });
131
+ export const AttendeeFilterSensitiveLog = (obj) => ({
132
+ ...obj,
133
+ ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
134
+ });
135
+ export const ConnectionDataFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
138
+ });
139
+ export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
140
+ ...obj,
141
+ ...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
142
+ });
58
143
  export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
59
144
  ...obj,
60
145
  ...(obj.Description && { Description: SENSITIVE_STRING }),