@aws-sdk/client-connect 3.300.0 → 3.303.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 (179) hide show
  1. package/dist-cjs/models/models_0.js +564 -611
  2. package/dist-cjs/models/models_1.js +44 -55
  3. package/dist-es/models/models_0.js +564 -611
  4. package/dist-es/models/models_1.js +44 -55
  5. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +1 -1
  6. package/dist-types/commands/AssociateBotCommand.d.ts +3 -3
  7. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +1 -1
  8. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +7 -7
  9. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +1 -1
  10. package/dist-types/commands/AssociateLexBotCommand.d.ts +2 -2
  11. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +1 -1
  12. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +2 -2
  13. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +4 -4
  14. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +1 -1
  15. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateAgentStatusCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateContactFlowCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +5 -5
  20. package/dist-types/commands/CreateInstanceCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +2 -2
  22. package/dist-types/commands/CreateQueueCommand.d.ts +4 -4
  23. package/dist-types/commands/CreateQuickConnectCommand.d.ts +6 -6
  24. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +7 -7
  25. package/dist-types/commands/CreateRuleCommand.d.ts +12 -12
  26. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +5 -5
  27. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +15 -15
  28. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +2 -2
  29. package/dist-types/commands/CreateUseCaseCommand.d.ts +2 -2
  30. package/dist-types/commands/CreateUserCommand.d.ts +5 -5
  31. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +2 -2
  32. package/dist-types/commands/CreateVocabularyCommand.d.ts +2 -2
  33. package/dist-types/commands/DeleteContactFlowCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteUseCaseCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeContactCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeVocabularyCommand.d.ts +1 -1
  66. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  67. package/dist-types/commands/DisassociateBotCommand.d.ts +3 -3
  68. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  69. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  70. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  71. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  72. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +2 -2
  73. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +3 -3
  74. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  75. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  76. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -1
  77. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +10 -10
  78. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +8 -8
  79. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  80. package/dist-types/commands/GetMetricDataCommand.d.ts +9 -9
  81. package/dist-types/commands/GetMetricDataV2Command.d.ts +12 -12
  82. package/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  83. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -1
  84. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -2
  85. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
  86. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  88. package/dist-types/commands/ListContactFlowsCommand.d.ts +2 -2
  89. package/dist-types/commands/ListContactReferencesCommand.d.ts +2 -2
  90. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  91. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +1 -1
  92. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
  93. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  94. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  95. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  96. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
  97. package/dist-types/commands/ListLexBotsCommand.d.ts +1 -1
  98. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +3 -3
  99. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +3 -3
  100. package/dist-types/commands/ListPromptsCommand.d.ts +1 -1
  101. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +1 -1
  102. package/dist-types/commands/ListQueuesCommand.d.ts +2 -2
  103. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -2
  104. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  105. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  106. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  107. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  108. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  109. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  110. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  111. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +1 -1
  112. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -1
  113. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  114. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  115. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  116. package/dist-types/commands/MonitorContactCommand.d.ts +2 -2
  117. package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
  118. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  119. package/dist-types/commands/ReplicateInstanceCommand.d.ts +1 -1
  120. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  121. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  122. package/dist-types/commands/SearchQueuesCommand.d.ts +21 -29
  123. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +20 -27
  124. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +20 -27
  125. package/dist-types/commands/SearchUsersCommand.d.ts +25 -33
  126. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  127. package/dist-types/commands/StartChatContactCommand.d.ts +6 -6
  128. package/dist-types/commands/StartContactRecordingCommand.d.ts +2 -2
  129. package/dist-types/commands/StartContactStreamingCommand.d.ts +2 -2
  130. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +3 -3
  131. package/dist-types/commands/StartTaskContactCommand.d.ts +4 -4
  132. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  133. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  134. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  135. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  136. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  137. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  138. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  139. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +2 -2
  141. package/dist-types/commands/UpdateContactCommand.d.ts +3 -3
  142. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  145. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  146. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  147. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  148. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +4 -4
  149. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  150. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +7 -7
  151. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +6 -6
  152. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +1 -1
  153. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  154. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  155. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  156. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +2 -2
  157. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  158. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +5 -5
  159. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  160. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +3 -3
  161. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  162. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  163. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +4 -4
  164. package/dist-types/commands/UpdateRuleCommand.d.ts +11 -11
  165. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -4
  166. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +15 -15
  167. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +4 -4
  168. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  169. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  170. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +3 -3
  171. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +2 -2
  172. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +2 -2
  173. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  174. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -2
  175. package/dist-types/models/models_0.d.ts +803 -568
  176. package/dist-types/models/models_1.d.ts +99 -44
  177. package/dist-types/ts3.4/models/models_0.d.ts +641 -564
  178. package/dist-types/ts3.4/models/models_1.d.ts +64 -44
  179. package/package.json +34 -34
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
- var ReferenceStatus;
7
- (function (ReferenceStatus) {
8
- ReferenceStatus["APPROVED"] = "APPROVED";
9
- ReferenceStatus["REJECTED"] = "REJECTED";
10
- })(ReferenceStatus = exports.ReferenceStatus || (exports.ReferenceStatus = {}));
6
+ exports.ReferenceStatus = {
7
+ APPROVED: "APPROVED",
8
+ REJECTED: "REJECTED",
9
+ };
11
10
  var ReferenceSummary;
12
11
  (function (ReferenceSummary) {
13
12
  ReferenceSummary.visit = (value, visitor) => {
@@ -26,37 +25,31 @@ var ReferenceSummary;
26
25
  return visitor._(value.$unknown[0], value.$unknown[1]);
27
26
  };
28
27
  })(ReferenceSummary = exports.ReferenceSummary || (exports.ReferenceSummary = {}));
29
- var QueueType;
30
- (function (QueueType) {
31
- QueueType["AGENT"] = "AGENT";
32
- QueueType["STANDARD"] = "STANDARD";
33
- })(QueueType = exports.QueueType || (exports.QueueType = {}));
34
- var SearchableQueueType;
35
- (function (SearchableQueueType) {
36
- SearchableQueueType["STANDARD"] = "STANDARD";
37
- })(SearchableQueueType = exports.SearchableQueueType || (exports.SearchableQueueType = {}));
38
- var StringComparisonType;
39
- (function (StringComparisonType) {
40
- StringComparisonType["CONTAINS"] = "CONTAINS";
41
- StringComparisonType["EXACT"] = "EXACT";
42
- StringComparisonType["STARTS_WITH"] = "STARTS_WITH";
43
- })(StringComparisonType = exports.StringComparisonType || (exports.StringComparisonType = {}));
44
- var HierarchyGroupMatchType;
45
- (function (HierarchyGroupMatchType) {
46
- HierarchyGroupMatchType["EXACT"] = "EXACT";
47
- HierarchyGroupMatchType["WITH_CHILD_GROUPS"] = "WITH_CHILD_GROUPS";
48
- })(HierarchyGroupMatchType = exports.HierarchyGroupMatchType || (exports.HierarchyGroupMatchType = {}));
49
- var RehydrationType;
50
- (function (RehydrationType) {
51
- RehydrationType["ENTIRE_PAST_SESSION"] = "ENTIRE_PAST_SESSION";
52
- RehydrationType["FROM_SEGMENT"] = "FROM_SEGMENT";
53
- })(RehydrationType = exports.RehydrationType || (exports.RehydrationType = {}));
54
- var VoiceRecordingTrack;
55
- (function (VoiceRecordingTrack) {
56
- VoiceRecordingTrack["ALL"] = "ALL";
57
- VoiceRecordingTrack["FROM_AGENT"] = "FROM_AGENT";
58
- VoiceRecordingTrack["TO_AGENT"] = "TO_AGENT";
59
- })(VoiceRecordingTrack = exports.VoiceRecordingTrack || (exports.VoiceRecordingTrack = {}));
28
+ exports.QueueType = {
29
+ AGENT: "AGENT",
30
+ STANDARD: "STANDARD",
31
+ };
32
+ exports.SearchableQueueType = {
33
+ STANDARD: "STANDARD",
34
+ };
35
+ exports.StringComparisonType = {
36
+ CONTAINS: "CONTAINS",
37
+ EXACT: "EXACT",
38
+ STARTS_WITH: "STARTS_WITH",
39
+ };
40
+ exports.HierarchyGroupMatchType = {
41
+ EXACT: "EXACT",
42
+ WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
43
+ };
44
+ exports.RehydrationType = {
45
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
46
+ FROM_SEGMENT: "FROM_SEGMENT",
47
+ };
48
+ exports.VoiceRecordingTrack = {
49
+ ALL: "ALL",
50
+ FROM_AGENT: "FROM_AGENT",
51
+ TO_AGENT: "TO_AGENT",
52
+ };
60
53
  class DestinationNotAllowedException extends ConnectServiceException_1.ConnectServiceException {
61
54
  constructor(opts) {
62
55
  super({
@@ -85,11 +78,10 @@ class OutboundContactNotPermittedException extends ConnectServiceException_1.Con
85
78
  }
86
79
  }
87
80
  exports.OutboundContactNotPermittedException = OutboundContactNotPermittedException;
88
- var TrafficType;
89
- (function (TrafficType) {
90
- TrafficType["CAMPAIGN"] = "CAMPAIGN";
91
- TrafficType["GENERAL"] = "GENERAL";
92
- })(TrafficType = exports.TrafficType || (exports.TrafficType = {}));
81
+ exports.TrafficType = {
82
+ CAMPAIGN: "CAMPAIGN",
83
+ GENERAL: "GENERAL",
84
+ };
93
85
  class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceException {
94
86
  constructor(opts) {
95
87
  super({
@@ -104,20 +96,17 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
104
96
  }
105
97
  }
106
98
  exports.ContactNotFoundException = ContactNotFoundException;
107
- var TimerEligibleParticipantRoles;
108
- (function (TimerEligibleParticipantRoles) {
109
- TimerEligibleParticipantRoles["AGENT"] = "AGENT";
110
- TimerEligibleParticipantRoles["CUSTOMER"] = "CUSTOMER";
111
- })(TimerEligibleParticipantRoles = exports.TimerEligibleParticipantRoles || (exports.TimerEligibleParticipantRoles = {}));
112
- var ParticipantTimerType;
113
- (function (ParticipantTimerType) {
114
- ParticipantTimerType["DISCONNECT_NONCUSTOMER"] = "DISCONNECT_NONCUSTOMER";
115
- ParticipantTimerType["IDLE"] = "IDLE";
116
- })(ParticipantTimerType = exports.ParticipantTimerType || (exports.ParticipantTimerType = {}));
117
- var ParticipantTimerAction;
118
- (function (ParticipantTimerAction) {
119
- ParticipantTimerAction["Unset"] = "Unset";
120
- })(ParticipantTimerAction = exports.ParticipantTimerAction || (exports.ParticipantTimerAction = {}));
99
+ exports.TimerEligibleParticipantRoles = {
100
+ AGENT: "AGENT",
101
+ CUSTOMER: "CUSTOMER",
102
+ };
103
+ exports.ParticipantTimerType = {
104
+ DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
105
+ IDLE: "IDLE",
106
+ };
107
+ exports.ParticipantTimerAction = {
108
+ Unset: "Unset",
109
+ };
121
110
  var ParticipantTimerValue;
122
111
  (function (ParticipantTimerValue) {
123
112
  ParticipantTimerValue.visit = (value, visitor) => {