@aws-sdk/client-connect 3.695.0 → 3.699.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 (161) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +968 -115
  3. package/dist-es/Connect.js +22 -0
  4. package/dist-es/commands/CreateContactCommand.js +23 -0
  5. package/dist-es/commands/CreateEmailAddressCommand.js +23 -0
  6. package/dist-es/commands/DeleteEmailAddressCommand.js +22 -0
  7. package/dist-es/commands/DescribeContactCommand.js +1 -1
  8. package/dist-es/commands/DescribeEmailAddressCommand.js +23 -0
  9. package/dist-es/commands/ListAssociatedContactsCommand.js +22 -0
  10. package/dist-es/commands/SearchEmailAddressesCommand.js +23 -0
  11. package/dist-es/commands/SendOutboundEmailCommand.js +23 -0
  12. package/dist-es/commands/StartEmailContactCommand.js +23 -0
  13. package/dist-es/commands/StartOutboundEmailContactCommand.js +23 -0
  14. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +23 -0
  15. package/dist-es/commands/UpdateQueueOutboundEmailConfigCommand.js +22 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/models/index.js +1 -0
  18. package/dist-es/models/models_0.js +72 -24
  19. package/dist-es/models/models_1.js +24 -45
  20. package/dist-es/models/models_2.js +162 -17
  21. package/dist-es/models/models_3.js +10 -0
  22. package/dist-es/protocols/Aws_restJson1.js +417 -6
  23. package/dist-types/Connect.d.ts +77 -0
  24. package/dist-types/ConnectClient.d.ts +13 -2
  25. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  26. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
  27. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
  28. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
  29. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  30. package/dist-types/commands/BatchPutContactCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateContactCommand.d.ts +128 -0
  32. package/dist-types/commands/CreateEmailAddressCommand.d.ts +109 -0
  33. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateQueueCommand.d.ts +3 -0
  36. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -2
  37. package/dist-types/commands/CreateRuleCommand.d.ts +5 -2
  38. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -1
  39. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +91 -0
  40. package/dist-types/commands/DeleteViewVersionCommand.d.ts +2 -1
  41. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeContactCommand.d.ts +29 -4
  45. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +99 -0
  47. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeQueueCommand.d.ts +3 -0
  50. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeRuleCommand.d.ts +5 -2
  52. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  55. package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
  56. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
  57. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -2
  58. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  59. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
  60. package/dist-types/commands/GetTaskTemplateCommand.d.ts +2 -1
  61. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +102 -0
  62. package/dist-types/commands/ListContactReferencesCommand.d.ts +7 -2
  63. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  64. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  66. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -1
  67. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -2
  68. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  69. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  70. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  71. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  72. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
  73. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
  74. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -1
  75. package/dist-types/commands/SearchContactFlowsCommand.d.ts +2 -1
  76. package/dist-types/commands/SearchContactsCommand.d.ts +20 -4
  77. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +146 -0
  78. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  79. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  80. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
  81. package/dist-types/commands/SearchQueuesCommand.d.ts +5 -1
  82. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  83. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -2
  84. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  85. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  86. package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
  87. package/dist-types/commands/SendOutboundEmailCommand.d.ts +130 -0
  88. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  89. package/dist-types/commands/StartEmailContactCommand.d.ts +150 -0
  90. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
  91. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +128 -0
  92. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
  93. package/dist-types/commands/StartTaskContactCommand.d.ts +10 -2
  94. package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
  95. package/dist-types/commands/UpdateContactCommand.d.ts +10 -2
  96. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
  97. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +97 -0
  98. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
  99. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  100. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +94 -0
  101. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  102. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  103. package/dist-types/commands/UpdateRuleCommand.d.ts +5 -2
  104. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
  105. package/dist-types/commands/index.d.ts +11 -0
  106. package/dist-types/models/index.d.ts +1 -0
  107. package/dist-types/models/models_0.d.ts +389 -335
  108. package/dist-types/models/models_1.d.ts +560 -663
  109. package/dist-types/models/models_2.d.ts +3752 -3728
  110. package/dist-types/models/models_3.d.ts +1351 -0
  111. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  112. package/dist-types/ts3.4/Connect.d.ts +187 -0
  113. package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
  114. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +50 -0
  115. package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +2 -4
  119. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -2
  123. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DescribeEmailAddressCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -4
  128. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -2
  134. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
  135. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
  136. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
  137. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +49 -0
  138. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  139. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  140. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
  141. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
  142. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  143. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  145. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  146. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
  147. package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +51 -0
  148. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
  151. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
  153. package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +47 -0
  154. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  155. package/dist-types/ts3.4/models/index.d.ts +1 -0
  156. package/dist-types/ts3.4/models/models_0.d.ts +143 -95
  157. package/dist-types/ts3.4/models/models_1.d.ts +160 -230
  158. package/dist-types/ts3.4/models/models_2.d.ts +451 -290
  159. package/dist-types/ts3.4/models/models_3.d.ts +325 -0
  160. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  161. package/package.json +35 -35
package/dist-cjs/index.js CHANGED
@@ -44,6 +44,7 @@ __export(src_exports, {
44
44
  AssociateTrafficDistributionGroupUserCommand: () => AssociateTrafficDistributionGroupUserCommand,
45
45
  AssociateUserProficienciesCommand: () => AssociateUserProficienciesCommand,
46
46
  AttachedFileInvalidRequestExceptionReason: () => AttachedFileInvalidRequestExceptionReason,
47
+ AttachedFileServiceQuotaExceededExceptionReason: () => AttachedFileServiceQuotaExceededExceptionReason,
47
48
  AttendeeFilterSensitiveLog: () => AttendeeFilterSensitiveLog,
48
49
  BatchAssociateAnalyticsDataSetCommand: () => BatchAssociateAnalyticsDataSetCommand,
49
50
  BatchDisassociateAnalyticsDataSetCommand: () => BatchDisassociateAnalyticsDataSetCommand,
@@ -56,6 +57,7 @@ __export(src_exports, {
56
57
  ClaimPhoneNumberCommand: () => ClaimPhoneNumberCommand,
57
58
  Comparison: () => Comparison,
58
59
  CompleteAttachedFileUploadCommand: () => CompleteAttachedFileUploadCommand,
60
+ ConditionalOperationFailedException: () => ConditionalOperationFailedException,
59
61
  ConflictException: () => ConflictException,
60
62
  Connect: () => Connect,
61
63
  ConnectClient: () => ConnectClient,
@@ -73,9 +75,13 @@ __export(src_exports, {
73
75
  ContactNotFoundException: () => ContactNotFoundException,
74
76
  ContactState: () => ContactState,
75
77
  CreateAgentStatusCommand: () => CreateAgentStatusCommand,
78
+ CreateContactCommand: () => CreateContactCommand,
76
79
  CreateContactFlowCommand: () => CreateContactFlowCommand,
77
80
  CreateContactFlowModuleCommand: () => CreateContactFlowModuleCommand,
78
81
  CreateContactFlowVersionCommand: () => CreateContactFlowVersionCommand,
82
+ CreateContactRequestFilterSensitiveLog: () => CreateContactRequestFilterSensitiveLog,
83
+ CreateEmailAddressCommand: () => CreateEmailAddressCommand,
84
+ CreateEmailAddressRequestFilterSensitiveLog: () => CreateEmailAddressRequestFilterSensitiveLog,
79
85
  CreateEvaluationFormCommand: () => CreateEvaluationFormCommand,
80
86
  CreateHoursOfOperationCommand: () => CreateHoursOfOperationCommand,
81
87
  CreateInstanceCommand: () => CreateInstanceCommand,
@@ -110,6 +116,7 @@ __export(src_exports, {
110
116
  DeleteContactEvaluationCommand: () => DeleteContactEvaluationCommand,
111
117
  DeleteContactFlowCommand: () => DeleteContactFlowCommand,
112
118
  DeleteContactFlowModuleCommand: () => DeleteContactFlowModuleCommand,
119
+ DeleteEmailAddressCommand: () => DeleteEmailAddressCommand,
113
120
  DeleteEvaluationFormCommand: () => DeleteEvaluationFormCommand,
114
121
  DeleteHoursOfOperationCommand: () => DeleteHoursOfOperationCommand,
115
122
  DeleteInstanceCommand: () => DeleteInstanceCommand,
@@ -136,6 +143,8 @@ __export(src_exports, {
136
143
  DescribeContactFlowCommand: () => DescribeContactFlowCommand,
137
144
  DescribeContactFlowModuleCommand: () => DescribeContactFlowModuleCommand,
138
145
  DescribeContactResponseFilterSensitiveLog: () => DescribeContactResponseFilterSensitiveLog,
146
+ DescribeEmailAddressCommand: () => DescribeEmailAddressCommand,
147
+ DescribeEmailAddressResponseFilterSensitiveLog: () => DescribeEmailAddressResponseFilterSensitiveLog,
139
148
  DescribeEvaluationFormCommand: () => DescribeEvaluationFormCommand,
140
149
  DescribeHoursOfOperationCommand: () => DescribeHoursOfOperationCommand,
141
150
  DescribeInstanceAttributeCommand: () => DescribeInstanceAttributeCommand,
@@ -175,6 +184,9 @@ __export(src_exports, {
175
184
  DisassociateUserProficienciesCommand: () => DisassociateUserProficienciesCommand,
176
185
  DismissUserContactCommand: () => DismissUserContactCommand,
177
186
  DuplicateResourceException: () => DuplicateResourceException,
187
+ EmailAddressInfoFilterSensitiveLog: () => EmailAddressInfoFilterSensitiveLog,
188
+ EmailAddressMetadataFilterSensitiveLog: () => EmailAddressMetadataFilterSensitiveLog,
189
+ EmailHeaderType: () => EmailHeaderType,
178
190
  EncryptionType: () => EncryptionType,
179
191
  EndpointType: () => EndpointType,
180
192
  EvaluationAnswerData: () => EvaluationAnswerData,
@@ -211,6 +223,11 @@ __export(src_exports, {
211
223
  HoursOfOperationDays: () => HoursOfOperationDays,
212
224
  IdempotencyException: () => IdempotencyException,
213
225
  ImportPhoneNumberCommand: () => ImportPhoneNumberCommand,
226
+ InboundAdditionalRecipientsFilterSensitiveLog: () => InboundAdditionalRecipientsFilterSensitiveLog,
227
+ InboundEmailContentFilterSensitiveLog: () => InboundEmailContentFilterSensitiveLog,
228
+ InboundMessageSourceType: () => InboundMessageSourceType,
229
+ InboundRawMessageFilterSensitiveLog: () => InboundRawMessageFilterSensitiveLog,
230
+ InitiateAs: () => InitiateAs,
214
231
  InstanceAttributeType: () => InstanceAttributeType,
215
232
  InstanceFilterSensitiveLog: () => InstanceFilterSensitiveLog,
216
233
  InstanceReplicationStatus: () => InstanceReplicationStatus,
@@ -230,6 +247,7 @@ __export(src_exports, {
230
247
  ListAgentStatusesCommand: () => ListAgentStatusesCommand,
231
248
  ListAnalyticsDataAssociationsCommand: () => ListAnalyticsDataAssociationsCommand,
232
249
  ListApprovedOriginsCommand: () => ListApprovedOriginsCommand,
250
+ ListAssociatedContactsCommand: () => ListAssociatedContactsCommand,
233
251
  ListAuthenticationProfilesCommand: () => ListAuthenticationProfilesCommand,
234
252
  ListBotsCommand: () => ListBotsCommand,
235
253
  ListContactEvaluationsCommand: () => ListContactEvaluationsCommand,
@@ -285,7 +303,11 @@ __export(src_exports, {
285
303
  NotificationDeliveryType: () => NotificationDeliveryType,
286
304
  NumberComparisonType: () => NumberComparisonType,
287
305
  NumericQuestionPropertyAutomationLabel: () => NumericQuestionPropertyAutomationLabel,
306
+ OutboundAdditionalRecipientsFilterSensitiveLog: () => OutboundAdditionalRecipientsFilterSensitiveLog,
288
307
  OutboundContactNotPermittedException: () => OutboundContactNotPermittedException,
308
+ OutboundEmailContentFilterSensitiveLog: () => OutboundEmailContentFilterSensitiveLog,
309
+ OutboundMessageSourceType: () => OutboundMessageSourceType,
310
+ OutboundRawMessageFilterSensitiveLog: () => OutboundRawMessageFilterSensitiveLog,
289
311
  OutputTypeNotFoundException: () => OutputTypeNotFoundException,
290
312
  ParticipantRole: () => ParticipantRole,
291
313
  ParticipantTimerAction: () => ParticipantTimerAction,
@@ -338,6 +360,8 @@ __export(src_exports, {
338
360
  SearchContactsRequestFilterSensitiveLog: () => SearchContactsRequestFilterSensitiveLog,
339
361
  SearchContactsTimeRangeType: () => SearchContactsTimeRangeType,
340
362
  SearchCriteriaFilterSensitiveLog: () => SearchCriteriaFilterSensitiveLog,
363
+ SearchEmailAddressesCommand: () => SearchEmailAddressesCommand,
364
+ SearchEmailAddressesResponseFilterSensitiveLog: () => SearchEmailAddressesResponseFilterSensitiveLog,
341
365
  SearchHoursOfOperationsCommand: () => SearchHoursOfOperationsCommand,
342
366
  SearchPredefinedAttributesCommand: () => SearchPredefinedAttributesCommand,
343
367
  SearchPromptsCommand: () => SearchPromptsCommand,
@@ -353,8 +377,13 @@ __export(src_exports, {
353
377
  SearchableContactAttributesCriteriaFilterSensitiveLog: () => SearchableContactAttributesCriteriaFilterSensitiveLog,
354
378
  SearchableContactAttributesFilterSensitiveLog: () => SearchableContactAttributesFilterSensitiveLog,
355
379
  SearchableQueueType: () => SearchableQueueType,
380
+ SearchableSegmentAttributesCriteriaFilterSensitiveLog: () => SearchableSegmentAttributesCriteriaFilterSensitiveLog,
381
+ SearchableSegmentAttributesFilterSensitiveLog: () => SearchableSegmentAttributesFilterSensitiveLog,
356
382
  SendChatIntegrationEventCommand: () => SendChatIntegrationEventCommand,
383
+ SendOutboundEmailCommand: () => SendOutboundEmailCommand,
384
+ SendOutboundEmailRequestFilterSensitiveLog: () => SendOutboundEmailRequestFilterSensitiveLog,
357
385
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
386
+ ServiceQuotaExceededExceptionReason: () => ServiceQuotaExceededExceptionReason,
358
387
  SingleSelectQuestionRuleCategoryAutomationCondition: () => SingleSelectQuestionRuleCategoryAutomationCondition,
359
388
  SortOrder: () => SortOrder,
360
389
  SortableFieldName: () => SortableFieldName,
@@ -364,7 +393,11 @@ __export(src_exports, {
364
393
  StartContactEvaluationCommand: () => StartContactEvaluationCommand,
365
394
  StartContactRecordingCommand: () => StartContactRecordingCommand,
366
395
  StartContactStreamingCommand: () => StartContactStreamingCommand,
396
+ StartEmailContactCommand: () => StartEmailContactCommand,
397
+ StartEmailContactRequestFilterSensitiveLog: () => StartEmailContactRequestFilterSensitiveLog,
367
398
  StartOutboundChatContactCommand: () => StartOutboundChatContactCommand,
399
+ StartOutboundEmailContactCommand: () => StartOutboundEmailContactCommand,
400
+ StartOutboundEmailContactRequestFilterSensitiveLog: () => StartOutboundEmailContactRequestFilterSensitiveLog,
368
401
  StartOutboundVoiceContactCommand: () => StartOutboundVoiceContactCommand,
369
402
  StartOutboundVoiceContactRequestFilterSensitiveLog: () => StartOutboundVoiceContactRequestFilterSensitiveLog,
370
403
  StartScreenSharingCommand: () => StartScreenSharingCommand,
@@ -410,6 +443,8 @@ __export(src_exports, {
410
443
  UpdateContactRequestFilterSensitiveLog: () => UpdateContactRequestFilterSensitiveLog,
411
444
  UpdateContactRoutingDataCommand: () => UpdateContactRoutingDataCommand,
412
445
  UpdateContactScheduleCommand: () => UpdateContactScheduleCommand,
446
+ UpdateEmailAddressMetadataCommand: () => UpdateEmailAddressMetadataCommand,
447
+ UpdateEmailAddressMetadataRequestFilterSensitiveLog: () => UpdateEmailAddressMetadataRequestFilterSensitiveLog,
413
448
  UpdateEvaluationFormCommand: () => UpdateEvaluationFormCommand,
414
449
  UpdateHoursOfOperationCommand: () => UpdateHoursOfOperationCommand,
415
450
  UpdateInstanceAttributeCommand: () => UpdateInstanceAttributeCommand,
@@ -424,6 +459,7 @@ __export(src_exports, {
424
459
  UpdateQueueMaxContactsCommand: () => UpdateQueueMaxContactsCommand,
425
460
  UpdateQueueNameCommand: () => UpdateQueueNameCommand,
426
461
  UpdateQueueOutboundCallerConfigCommand: () => UpdateQueueOutboundCallerConfigCommand,
462
+ UpdateQueueOutboundEmailConfigCommand: () => UpdateQueueOutboundEmailConfigCommand,
427
463
  UpdateQueueStatusCommand: () => UpdateQueueStatusCommand,
428
464
  UpdateQuickConnectConfigCommand: () => UpdateQuickConnectConfigCommand,
429
465
  UpdateQuickConnectNameCommand: () => UpdateQuickConnectNameCommand,
@@ -837,19 +873,23 @@ var ContactState = {
837
873
  };
838
874
  var Channel = {
839
875
  CHAT: "CHAT",
876
+ EMAIL: "EMAIL",
840
877
  TASK: "TASK",
841
878
  VOICE: "VOICE"
842
879
  };
843
880
  var ContactInitiationMethod = {
881
+ AGENT_REPLY: "AGENT_REPLY",
844
882
  API: "API",
845
883
  CALLBACK: "CALLBACK",
846
884
  DISCONNECT: "DISCONNECT",
847
885
  EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND",
886
+ FLOW: "FLOW",
848
887
  INBOUND: "INBOUND",
849
888
  MONITOR: "MONITOR",
850
889
  OUTBOUND: "OUTBOUND",
851
890
  QUEUE_TRANSFER: "QUEUE_TRANSFER",
852
- TRANSFER: "TRANSFER"
891
+ TRANSFER: "TRANSFER",
892
+ WEBRTC_API: "WEBRTC_API"
853
893
  };
854
894
  var ScreenShareCapability = {
855
895
  SEND: "SEND"
@@ -907,6 +947,20 @@ var _InvalidRequestException = class _InvalidRequestException extends ConnectSer
907
947
  };
908
948
  __name(_InvalidRequestException, "InvalidRequestException");
909
949
  var InvalidRequestException = _InvalidRequestException;
950
+ var AttachedFileServiceQuotaExceededExceptionReason = {
951
+ TOTAL_FILE_COUNT_EXCEEDED: "TOTAL_FILE_COUNT_EXCEEDED",
952
+ TOTAL_FILE_SIZE_EXCEEDED: "TOTAL_FILE_SIZE_EXCEEDED"
953
+ };
954
+ var ServiceQuotaExceededExceptionReason;
955
+ ((ServiceQuotaExceededExceptionReason2) => {
956
+ ServiceQuotaExceededExceptionReason2.visit = /* @__PURE__ */ __name((value, visitor) => {
957
+ if (value.AttachedFileServiceQuotaExceededExceptionReason !== void 0)
958
+ return visitor.AttachedFileServiceQuotaExceededExceptionReason(
959
+ value.AttachedFileServiceQuotaExceededExceptionReason
960
+ );
961
+ return visitor._(value.$unknown[0], value.$unknown[1]);
962
+ }, "visit");
963
+ })(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
910
964
  var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectServiceException {
911
965
  /**
912
966
  * @internal
@@ -921,6 +975,7 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
921
975
  this.$fault = "client";
922
976
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
923
977
  this.Message = opts.Message;
978
+ this.Reason = opts.Reason;
924
979
  }
925
980
  };
926
981
  __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
@@ -979,6 +1034,8 @@ var VocabularyLanguageCode = {
979
1034
  ZH_CN: "zh-CN"
980
1035
  };
981
1036
  var FlowAssociationResourceType = {
1037
+ INBOUND_EMAIL: "INBOUND_EMAIL",
1038
+ OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
982
1039
  SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER"
983
1040
  };
984
1041
  var InstanceStorageResourceType = {
@@ -988,6 +1045,7 @@ var InstanceStorageResourceType = {
988
1045
  CHAT_TRANSCRIPTS: "CHAT_TRANSCRIPTS",
989
1046
  CONTACT_EVALUATIONS: "CONTACT_EVALUATIONS",
990
1047
  CONTACT_TRACE_RECORDS: "CONTACT_TRACE_RECORDS",
1048
+ EMAIL_MESSAGES: "EMAIL_MESSAGES",
991
1049
  MEDIA_STREAMS: "MEDIA_STREAMS",
992
1050
  REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS",
993
1051
  REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
@@ -1021,14 +1079,18 @@ var FileStatusType = {
1021
1079
  REJECTED: "REJECTED"
1022
1080
  };
1023
1081
  var FileUseCaseType = {
1024
- ATTACHMENT: "ATTACHMENT"
1082
+ ATTACHMENT: "ATTACHMENT",
1083
+ EMAIL_MESSAGE: "EMAIL_MESSAGE"
1025
1084
  };
1026
1085
  var ListFlowAssociationResourceType = {
1086
+ INBOUND_EMAIL: "INBOUND_EMAIL",
1087
+ OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
1027
1088
  VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER"
1028
1089
  };
1029
1090
  var EndpointType = {
1030
1091
  CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",
1031
1092
  CONTACT_FLOW: "CONTACT_FLOW",
1093
+ EMAIL_ADDRESS: "EMAIL_ADDRESS",
1032
1094
  TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
1033
1095
  VOIP: "VOIP"
1034
1096
  };
@@ -1080,6 +1142,45 @@ var _DuplicateResourceException = class _DuplicateResourceException extends Conn
1080
1142
  };
1081
1143
  __name(_DuplicateResourceException, "DuplicateResourceException");
1082
1144
  var DuplicateResourceException = _DuplicateResourceException;
1145
+ var _ConflictException = class _ConflictException extends ConnectServiceException {
1146
+ /**
1147
+ * @internal
1148
+ */
1149
+ constructor(opts) {
1150
+ super({
1151
+ name: "ConflictException",
1152
+ $fault: "client",
1153
+ ...opts
1154
+ });
1155
+ this.name = "ConflictException";
1156
+ this.$fault = "client";
1157
+ Object.setPrototypeOf(this, _ConflictException.prototype);
1158
+ this.Message = opts.Message;
1159
+ }
1160
+ };
1161
+ __name(_ConflictException, "ConflictException");
1162
+ var ConflictException = _ConflictException;
1163
+ var InitiateAs = {
1164
+ CONNECTED_TO_USER: "CONNECTED_TO_USER"
1165
+ };
1166
+ var ReferenceStatus = {
1167
+ APPROVED: "APPROVED",
1168
+ AVAILABLE: "AVAILABLE",
1169
+ DELETED: "DELETED",
1170
+ FAILED: "FAILED",
1171
+ PROCESSING: "PROCESSING",
1172
+ REJECTED: "REJECTED"
1173
+ };
1174
+ var ReferenceType = {
1175
+ ATTACHMENT: "ATTACHMENT",
1176
+ CONTACT_ANALYSIS: "CONTACT_ANALYSIS",
1177
+ DATE: "DATE",
1178
+ EMAIL: "EMAIL",
1179
+ EMAIL_MESSAGE: "EMAIL_MESSAGE",
1180
+ NUMBER: "NUMBER",
1181
+ STRING: "STRING",
1182
+ URL: "URL"
1183
+ };
1083
1184
  var ContactFlowStatus = {
1084
1185
  PUBLISHED: "PUBLISHED",
1085
1186
  SAVED: "SAVED"
@@ -1209,6 +1310,7 @@ var IntegrationType = {
1209
1310
  FILE_SCANNER: "FILE_SCANNER",
1210
1311
  PINPOINT_APP: "PINPOINT_APP",
1211
1312
  Q_MESSAGE_TEMPLATES: "Q_MESSAGE_TEMPLATES",
1313
+ SES_IDENTITY: "SES_IDENTITY",
1212
1314
  VOICE_ID: "VOICE_ID",
1213
1315
  WISDOM_ASSISTANT: "WISDOM_ASSISTANT",
1214
1316
  WISDOM_KNOWLEDGE_BASE: "WISDOM_KNOWLEDGE_BASE",
@@ -1253,14 +1355,6 @@ var NotificationContentType = {
1253
1355
  var NotificationDeliveryType = {
1254
1356
  EMAIL: "EMAIL"
1255
1357
  };
1256
- var ReferenceType = {
1257
- ATTACHMENT: "ATTACHMENT",
1258
- DATE: "DATE",
1259
- EMAIL: "EMAIL",
1260
- NUMBER: "NUMBER",
1261
- STRING: "STRING",
1262
- URL: "URL"
1263
- };
1264
1358
  var RulePublishStatus = {
1265
1359
  DRAFT: "DRAFT",
1266
1360
  PUBLISHED: "PUBLISHED"
@@ -1283,10 +1377,12 @@ var TaskTemplateFieldType = {
1283
1377
  DATE_TIME: "DATE_TIME",
1284
1378
  DESCRIPTION: "DESCRIPTION",
1285
1379
  EMAIL: "EMAIL",
1380
+ EXPIRY_DURATION: "EXPIRY_DURATION",
1286
1381
  NAME: "NAME",
1287
1382
  NUMBER: "NUMBER",
1288
1383
  QUICK_CONNECT: "QUICK_CONNECT",
1289
1384
  SCHEDULED_TIME: "SCHEDULED_TIME",
1385
+ SELF_ASSIGN: "SELF_ASSIGN",
1290
1386
  SINGLE_SELECT: "SINGLE_SELECT",
1291
1387
  TEXT: "TEXT",
1292
1388
  TEXT_AREA: "TEXT_AREA",
@@ -1411,22 +1507,17 @@ var VocabularyState = {
1411
1507
  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
1412
1508
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
1413
1509
  };
1414
- var AnsweringMachineDetectionStatus = {
1415
- AMD_ERROR: "AMD_ERROR",
1416
- AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
1417
- AMD_UNANSWERED: "AMD_UNANSWERED",
1418
- AMD_UNRESOLVED: "AMD_UNRESOLVED",
1419
- ANSWERED: "ANSWERED",
1420
- ERROR: "ERROR",
1421
- FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
1422
- HUMAN_ANSWERED: "HUMAN_ANSWERED",
1423
- SIT_TONE_BUSY: "SIT_TONE_BUSY",
1424
- SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
1425
- SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
1426
- UNDETECTED: "UNDETECTED",
1427
- VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
1428
- VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP"
1429
- };
1510
+ var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1511
+ ...obj,
1512
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
1513
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
1514
+ }), "CreateContactRequestFilterSensitiveLog");
1515
+ var CreateEmailAddressRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1516
+ ...obj,
1517
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
1518
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
1519
+ ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }
1520
+ }), "CreateEmailAddressRequestFilterSensitiveLog");
1430
1521
  var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1431
1522
  ...obj,
1432
1523
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -1473,6 +1564,22 @@ var CreateViewVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1473
1564
 
1474
1565
  // src/models/models_1.ts
1475
1566
 
1567
+ var AnsweringMachineDetectionStatus = {
1568
+ AMD_ERROR: "AMD_ERROR",
1569
+ AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
1570
+ AMD_UNANSWERED: "AMD_UNANSWERED",
1571
+ AMD_UNRESOLVED: "AMD_UNRESOLVED",
1572
+ ANSWERED: "ANSWERED",
1573
+ ERROR: "ERROR",
1574
+ FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
1575
+ HUMAN_ANSWERED: "HUMAN_ANSWERED",
1576
+ SIT_TONE_BUSY: "SIT_TONE_BUSY",
1577
+ SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
1578
+ SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
1579
+ UNDETECTED: "UNDETECTED",
1580
+ VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
1581
+ VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP"
1582
+ };
1476
1583
  var RoutingCriteriaStepStatus = {
1477
1584
  ACTIVE: "ACTIVE",
1478
1585
  EXPIRED: "EXPIRED",
@@ -1915,10 +2022,6 @@ var LexVersion = {
1915
2022
  V1: "V1",
1916
2023
  V2: "V2"
1917
2024
  };
1918
- var ReferenceStatus = {
1919
- APPROVED: "APPROVED",
1920
- REJECTED: "REJECTED"
1921
- };
1922
2025
  var ReferenceSummary;
1923
2026
  ((ReferenceSummary2) => {
1924
2027
  ReferenceSummary2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -1926,6 +2029,8 @@ var ReferenceSummary;
1926
2029
  return visitor.Url(value.Url);
1927
2030
  if (value.Attachment !== void 0)
1928
2031
  return visitor.Attachment(value.Attachment);
2032
+ if (value.EmailMessage !== void 0)
2033
+ return visitor.EmailMessage(value.EmailMessage);
1929
2034
  if (value.String !== void 0)
1930
2035
  return visitor.String(value.String);
1931
2036
  if (value.Number !== void 0)
@@ -1981,52 +2086,12 @@ var RealTimeContactAnalysisPostContactSummaryStatus = {
1981
2086
  COMPLETED: "COMPLETED",
1982
2087
  FAILED: "FAILED"
1983
2088
  };
1984
- var RealTimeContactAnalysisSentimentLabel = {
1985
- NEGATIVE: "NEGATIVE",
1986
- NEUTRAL: "NEUTRAL",
1987
- POSITIVE: "POSITIVE"
1988
- };
1989
- var RealtimeContactAnalysisSegment;
1990
- ((RealtimeContactAnalysisSegment3) => {
1991
- RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
1992
- if (value.Transcript !== void 0)
1993
- return visitor.Transcript(value.Transcript);
1994
- if (value.Categories !== void 0)
1995
- return visitor.Categories(value.Categories);
1996
- if (value.Issues !== void 0)
1997
- return visitor.Issues(value.Issues);
1998
- if (value.Event !== void 0)
1999
- return visitor.Event(value.Event);
2000
- if (value.Attachments !== void 0)
2001
- return visitor.Attachments(value.Attachments);
2002
- if (value.PostContactSummary !== void 0)
2003
- return visitor.PostContactSummary(value.PostContactSummary);
2004
- return visitor._(value.$unknown[0], value.$unknown[1]);
2005
- }, "visit");
2006
- })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
2007
- var RealTimeContactAnalysisStatus = {
2008
- COMPLETED: "COMPLETED",
2009
- FAILED: "FAILED",
2010
- IN_PROGRESS: "IN_PROGRESS"
2011
- };
2012
- var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends ConnectServiceException {
2013
- /**
2014
- * @internal
2015
- */
2016
- constructor(opts) {
2017
- super({
2018
- name: "OutputTypeNotFoundException",
2019
- $fault: "client",
2020
- ...opts
2021
- });
2022
- this.name = "OutputTypeNotFoundException";
2023
- this.$fault = "client";
2024
- Object.setPrototypeOf(this, _OutputTypeNotFoundException.prototype);
2025
- this.Message = opts.Message;
2026
- }
2027
- };
2028
- __name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
2029
- var OutputTypeNotFoundException = _OutputTypeNotFoundException;
2089
+ var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2090
+ ...obj,
2091
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
2092
+ ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
2093
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
2094
+ }), "DescribeEmailAddressResponseFilterSensitiveLog");
2030
2095
  var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2031
2096
  ...obj,
2032
2097
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -2069,24 +2134,52 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2069
2134
 
2070
2135
  // src/models/models_2.ts
2071
2136
 
2072
- var _ConflictException = class _ConflictException extends ConnectServiceException {
2137
+ var RealTimeContactAnalysisSentimentLabel = {
2138
+ NEGATIVE: "NEGATIVE",
2139
+ NEUTRAL: "NEUTRAL",
2140
+ POSITIVE: "POSITIVE"
2141
+ };
2142
+ var RealtimeContactAnalysisSegment;
2143
+ ((RealtimeContactAnalysisSegment3) => {
2144
+ RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
2145
+ if (value.Transcript !== void 0)
2146
+ return visitor.Transcript(value.Transcript);
2147
+ if (value.Categories !== void 0)
2148
+ return visitor.Categories(value.Categories);
2149
+ if (value.Issues !== void 0)
2150
+ return visitor.Issues(value.Issues);
2151
+ if (value.Event !== void 0)
2152
+ return visitor.Event(value.Event);
2153
+ if (value.Attachments !== void 0)
2154
+ return visitor.Attachments(value.Attachments);
2155
+ if (value.PostContactSummary !== void 0)
2156
+ return visitor.PostContactSummary(value.PostContactSummary);
2157
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2158
+ }, "visit");
2159
+ })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
2160
+ var RealTimeContactAnalysisStatus = {
2161
+ COMPLETED: "COMPLETED",
2162
+ FAILED: "FAILED",
2163
+ IN_PROGRESS: "IN_PROGRESS"
2164
+ };
2165
+ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends ConnectServiceException {
2073
2166
  /**
2074
2167
  * @internal
2075
2168
  */
2076
2169
  constructor(opts) {
2077
2170
  super({
2078
- name: "ConflictException",
2171
+ name: "OutputTypeNotFoundException",
2079
2172
  $fault: "client",
2080
2173
  ...opts
2081
2174
  });
2082
- this.name = "ConflictException";
2175
+ this.name = "OutputTypeNotFoundException";
2083
2176
  this.$fault = "client";
2084
- Object.setPrototypeOf(this, _ConflictException.prototype);
2177
+ Object.setPrototypeOf(this, _OutputTypeNotFoundException.prototype);
2085
2178
  this.Message = opts.Message;
2086
2179
  }
2087
2180
  };
2088
- __name(_ConflictException, "ConflictException");
2089
- var ConflictException = _ConflictException;
2181
+ __name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
2182
+ var OutputTypeNotFoundException = _OutputTypeNotFoundException;
2090
2183
  var SearchContactsMatchType = {
2091
2184
  MATCH_ALL: "MATCH_ALL",
2092
2185
  MATCH_ANY: "MATCH_ANY"
@@ -2147,11 +2240,29 @@ var ChatEventType = {
2147
2240
  EVENT: "EVENT",
2148
2241
  MESSAGE: "MESSAGE"
2149
2242
  };
2243
+ var OutboundMessageSourceType = {
2244
+ RAW: "RAW",
2245
+ TEMPLATE: "TEMPLATE"
2246
+ };
2247
+ var TrafficType = {
2248
+ CAMPAIGN: "CAMPAIGN",
2249
+ GENERAL: "GENERAL"
2250
+ };
2150
2251
  var VoiceRecordingTrack = {
2151
2252
  ALL: "ALL",
2152
2253
  FROM_AGENT: "FROM_AGENT",
2153
2254
  TO_AGENT: "TO_AGENT"
2154
2255
  };
2256
+ var InboundMessageSourceType = {
2257
+ RAW: "RAW"
2258
+ };
2259
+ var EmailHeaderType = {
2260
+ IN_REPLY_TO: "IN_REPLY_TO",
2261
+ MESSAGE_ID: "MESSAGE_ID",
2262
+ REFERENCES: "REFERENCES",
2263
+ X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",
2264
+ X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT"
2265
+ };
2155
2266
  var _DestinationNotAllowedException = class _DestinationNotAllowedException extends ConnectServiceException {
2156
2267
  /**
2157
2268
  * @internal
@@ -2188,10 +2299,6 @@ var _OutboundContactNotPermittedException = class _OutboundContactNotPermittedEx
2188
2299
  };
2189
2300
  __name(_OutboundContactNotPermittedException, "OutboundContactNotPermittedException");
2190
2301
  var OutboundContactNotPermittedException = _OutboundContactNotPermittedException;
2191
- var TrafficType = {
2192
- CAMPAIGN: "CAMPAIGN",
2193
- GENERAL: "GENERAL"
2194
- };
2195
2302
  var MeetingFeatureStatus = {
2196
2303
  AVAILABLE: "AVAILABLE",
2197
2304
  UNAVAILABLE: "UNAVAILABLE"
@@ -2243,6 +2350,24 @@ var UpdateParticipantRoleConfigChannelInfo;
2243
2350
  return visitor._(value.$unknown[0], value.$unknown[1]);
2244
2351
  }, "visit");
2245
2352
  })(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
2353
+ var _ConditionalOperationFailedException = class _ConditionalOperationFailedException extends ConnectServiceException {
2354
+ /**
2355
+ * @internal
2356
+ */
2357
+ constructor(opts) {
2358
+ super({
2359
+ name: "ConditionalOperationFailedException",
2360
+ $fault: "client",
2361
+ ...opts
2362
+ });
2363
+ this.name = "ConditionalOperationFailedException";
2364
+ this.$fault = "client";
2365
+ Object.setPrototypeOf(this, _ConditionalOperationFailedException.prototype);
2366
+ this.Message = opts.Message;
2367
+ }
2368
+ };
2369
+ __name(_ConditionalOperationFailedException, "ConditionalOperationFailedException");
2370
+ var ConditionalOperationFailedException = _ConditionalOperationFailedException;
2246
2371
  var EvaluationFormItem;
2247
2372
  ((EvaluationFormItem2) => {
2248
2373
  EvaluationFormItem2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -2300,17 +2425,43 @@ var SearchableContactAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj)
2300
2425
  Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item))
2301
2426
  }
2302
2427
  }), "SearchableContactAttributesFilterSensitiveLog");
2428
+ var SearchableSegmentAttributesCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2429
+ ...obj,
2430
+ ...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },
2431
+ ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }
2432
+ }), "SearchableSegmentAttributesCriteriaFilterSensitiveLog");
2433
+ var SearchableSegmentAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2434
+ ...obj,
2435
+ ...obj.Criteria && {
2436
+ Criteria: obj.Criteria.map((item) => SearchableSegmentAttributesCriteriaFilterSensitiveLog(item))
2437
+ }
2438
+ }), "SearchableSegmentAttributesFilterSensitiveLog");
2303
2439
  var SearchCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2304
2440
  ...obj,
2305
2441
  ...obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) },
2306
2442
  ...obj.SearchableContactAttributes && {
2307
2443
  SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes)
2444
+ },
2445
+ ...obj.SearchableSegmentAttributes && {
2446
+ SearchableSegmentAttributes: SearchableSegmentAttributesFilterSensitiveLog(obj.SearchableSegmentAttributes)
2308
2447
  }
2309
2448
  }), "SearchCriteriaFilterSensitiveLog");
2310
2449
  var SearchContactsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2311
2450
  ...obj,
2312
2451
  ...obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }
2313
2452
  }), "SearchContactsRequestFilterSensitiveLog");
2453
+ var EmailAddressMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2454
+ ...obj,
2455
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
2456
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
2457
+ ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }
2458
+ }), "EmailAddressMetadataFilterSensitiveLog");
2459
+ var SearchEmailAddressesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2460
+ ...obj,
2461
+ ...obj.EmailAddresses && {
2462
+ EmailAddresses: obj.EmailAddresses.map((item) => EmailAddressMetadataFilterSensitiveLog(item))
2463
+ }
2464
+ }), "SearchEmailAddressesResponseFilterSensitiveLog");
2314
2465
  var UserIdentityInfoLiteFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2315
2466
  ...obj,
2316
2467
  ...obj.FirstName && { FirstName: import_smithy_client.SENSITIVE_STRING },
@@ -2324,6 +2475,74 @@ var SearchUsersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2324
2475
  ...obj,
2325
2476
  ...obj.Users && { Users: obj.Users.map((item) => UserSearchSummaryFilterSensitiveLog(item)) }
2326
2477
  }), "SearchUsersResponseFilterSensitiveLog");
2478
+ var EmailAddressInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2479
+ ...obj,
2480
+ ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
2481
+ ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }
2482
+ }), "EmailAddressInfoFilterSensitiveLog");
2483
+ var OutboundAdditionalRecipientsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2484
+ ...obj,
2485
+ ...obj.CcEmailAddresses && {
2486
+ CcEmailAddresses: obj.CcEmailAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item))
2487
+ }
2488
+ }), "OutboundAdditionalRecipientsFilterSensitiveLog");
2489
+ var OutboundRawMessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2490
+ ...obj,
2491
+ ...obj.Subject && { Subject: import_smithy_client.SENSITIVE_STRING },
2492
+ ...obj.Body && { Body: import_smithy_client.SENSITIVE_STRING }
2493
+ }), "OutboundRawMessageFilterSensitiveLog");
2494
+ var OutboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2495
+ ...obj,
2496
+ ...obj.RawMessage && { RawMessage: OutboundRawMessageFilterSensitiveLog(obj.RawMessage) }
2497
+ }), "OutboundEmailContentFilterSensitiveLog");
2498
+ var SendOutboundEmailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2499
+ ...obj,
2500
+ ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
2501
+ ...obj.DestinationEmailAddress && {
2502
+ DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress)
2503
+ },
2504
+ ...obj.AdditionalRecipients && {
2505
+ AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
2506
+ },
2507
+ ...obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }
2508
+ }), "SendOutboundEmailRequestFilterSensitiveLog");
2509
+ var InboundAdditionalRecipientsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2510
+ ...obj,
2511
+ ...obj.ToAddresses && { ToAddresses: obj.ToAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) },
2512
+ ...obj.CcAddresses && { CcAddresses: obj.CcAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }
2513
+ }), "InboundAdditionalRecipientsFilterSensitiveLog");
2514
+ var InboundRawMessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2515
+ ...obj,
2516
+ ...obj.Subject && { Subject: import_smithy_client.SENSITIVE_STRING },
2517
+ ...obj.Body && { Body: import_smithy_client.SENSITIVE_STRING }
2518
+ }), "InboundRawMessageFilterSensitiveLog");
2519
+ var InboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2520
+ ...obj,
2521
+ ...obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }
2522
+ }), "InboundEmailContentFilterSensitiveLog");
2523
+ var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2524
+ ...obj,
2525
+ ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
2526
+ ...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
2527
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
2528
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
2529
+ ...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
2530
+ ...obj.AdditionalRecipients && {
2531
+ AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
2532
+ },
2533
+ ...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
2534
+ }), "StartEmailContactRequestFilterSensitiveLog");
2535
+ var StartOutboundEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2536
+ ...obj,
2537
+ ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
2538
+ ...obj.DestinationEmailAddress && {
2539
+ DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress)
2540
+ },
2541
+ ...obj.AdditionalRecipients && {
2542
+ AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
2543
+ },
2544
+ ...obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }
2545
+ }), "StartOutboundEmailContactRequestFilterSensitiveLog");
2327
2546
  var StartOutboundVoiceContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2328
2547
  ...obj,
2329
2548
  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
@@ -2355,6 +2574,11 @@ var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2355
2574
  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
2356
2575
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
2357
2576
  }), "UpdateContactRequestFilterSensitiveLog");
2577
+ var UpdateEmailAddressMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2578
+ ...obj,
2579
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
2580
+ ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }
2581
+ }), "UpdateEmailAddressMetadataRequestFilterSensitiveLog");
2358
2582
  var UpdateUserIdentityInfoRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2359
2583
  ...obj,
2360
2584
  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }
@@ -2371,15 +2595,6 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
2371
2595
  ...obj,
2372
2596
  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
2373
2597
  }), "UpdateViewMetadataRequestFilterSensitiveLog");
2374
- var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2375
- ...obj,
2376
- ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
2377
- ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
2378
- }), "ContactFilterSensitiveLog");
2379
- var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2380
- ...obj,
2381
- ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
2382
- }), "DescribeContactResponseFilterSensitiveLog");
2383
2598
 
2384
2599
  // src/protocols/Aws_restJson1.ts
2385
2600
  var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -2774,6 +2989,33 @@ var se_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context)
2774
2989
  b.m("PUT").h(headers).b(body);
2775
2990
  return b.build();
2776
2991
  }, "se_CreateAgentStatusCommand");
2992
+ var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
2993
+ const b = (0, import_core.requestBuilder)(input, context);
2994
+ const headers = {
2995
+ "content-type": "application/json"
2996
+ };
2997
+ b.bp("/contact/create-contact");
2998
+ let body;
2999
+ body = JSON.stringify(
3000
+ (0, import_smithy_client.take)(input, {
3001
+ Attributes: (_) => (0, import_smithy_client._json)(_),
3002
+ Channel: [],
3003
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
3004
+ Description: [],
3005
+ ExpiryDurationInMinutes: [],
3006
+ InitiateAs: [],
3007
+ InitiationMethod: [],
3008
+ InstanceId: [],
3009
+ Name: [],
3010
+ References: (_) => (0, import_smithy_client._json)(_),
3011
+ RelatedContactId: [],
3012
+ SegmentAttributes: (_) => (0, import_smithy_client._json)(_),
3013
+ UserInfo: (_) => (0, import_smithy_client._json)(_)
3014
+ })
3015
+ );
3016
+ b.m("PUT").h(headers).b(body);
3017
+ return b.build();
3018
+ }, "se_CreateContactCommand");
2777
3019
  var se_CreateContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
2778
3020
  const b = (0, import_core.requestBuilder)(input, context);
2779
3021
  const headers = {
@@ -2835,6 +3077,26 @@ var se_CreateContactFlowVersionCommand = /* @__PURE__ */ __name(async (input, co
2835
3077
  b.m("PUT").h(headers).b(body);
2836
3078
  return b.build();
2837
3079
  }, "se_CreateContactFlowVersionCommand");
3080
+ var se_CreateEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {
3081
+ const b = (0, import_core.requestBuilder)(input, context);
3082
+ const headers = {
3083
+ "content-type": "application/json"
3084
+ };
3085
+ b.bp("/email-addresses/{InstanceId}");
3086
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3087
+ let body;
3088
+ body = JSON.stringify(
3089
+ (0, import_smithy_client.take)(input, {
3090
+ ClientToken: [],
3091
+ Description: [],
3092
+ DisplayName: [],
3093
+ EmailAddress: [],
3094
+ Tags: (_) => (0, import_smithy_client._json)(_)
3095
+ })
3096
+ );
3097
+ b.m("PUT").h(headers).b(body);
3098
+ return b.build();
3099
+ }, "se_CreateEmailAddressCommand");
2838
3100
  var se_CreateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
2839
3101
  const b = (0, import_core.requestBuilder)(input, context);
2840
3102
  const headers = {
@@ -3005,6 +3267,7 @@ var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
3005
3267
  MaxContacts: [],
3006
3268
  Name: [],
3007
3269
  OutboundCallerConfig: (_) => (0, import_smithy_client._json)(_),
3270
+ OutboundEmailConfig: (_) => (0, import_smithy_client._json)(_),
3008
3271
  QuickConnectIds: (_) => (0, import_smithy_client._json)(_),
3009
3272
  Tags: (_) => (0, import_smithy_client._json)(_)
3010
3273
  })
@@ -3115,6 +3378,7 @@ var se_CreateTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context)
3115
3378
  Description: [],
3116
3379
  Fields: (_) => (0, import_smithy_client._json)(_),
3117
3380
  Name: [],
3381
+ SelfAssignFlowId: [],
3118
3382
  Status: []
3119
3383
  })
3120
3384
  );
@@ -3319,6 +3583,16 @@ var se_DeleteContactFlowModuleCommand = /* @__PURE__ */ __name(async (input, con
3319
3583
  b.m("DELETE").h(headers).b(body);
3320
3584
  return b.build();
3321
3585
  }, "se_DeleteContactFlowModuleCommand");
3586
+ var se_DeleteEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {
3587
+ const b = (0, import_core.requestBuilder)(input, context);
3588
+ const headers = {};
3589
+ b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");
3590
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3591
+ b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
3592
+ let body;
3593
+ b.m("DELETE").h(headers).b(body);
3594
+ return b.build();
3595
+ }, "se_DeleteEmailAddressCommand");
3322
3596
  var se_DeleteEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
3323
3597
  const b = (0, import_core.requestBuilder)(input, context);
3324
3598
  const headers = {};
@@ -3572,6 +3846,16 @@ var se_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (input, c
3572
3846
  b.m("GET").h(headers).b(body);
3573
3847
  return b.build();
3574
3848
  }, "se_DescribeContactFlowModuleCommand");
3849
+ var se_DescribeEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {
3850
+ const b = (0, import_core.requestBuilder)(input, context);
3851
+ const headers = {};
3852
+ b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");
3853
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3854
+ b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
3855
+ let body;
3856
+ b.m("GET").h(headers).b(body);
3857
+ return b.build();
3858
+ }, "se_DescribeEmailAddressCommand");
3575
3859
  var se_DescribeEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
3576
3860
  const b = (0, import_core.requestBuilder)(input, context);
3577
3861
  const headers = {};
@@ -4182,6 +4466,20 @@ var se_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (input, context
4182
4466
  b.m("GET").h(headers).q(query).b(body);
4183
4467
  return b.build();
4184
4468
  }, "se_ListApprovedOriginsCommand");
4469
+ var se_ListAssociatedContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
4470
+ const b = (0, import_core.requestBuilder)(input, context);
4471
+ const headers = {};
4472
+ b.bp("/contact/associated/{InstanceId}");
4473
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
4474
+ const query = (0, import_smithy_client.map)({
4475
+ [_cI]: [, (0, import_smithy_client.expectNonNull)(input[_CI], `ContactId`)],
4476
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
4477
+ [_nT]: [, input[_NT]]
4478
+ });
4479
+ let body;
4480
+ b.m("GET").h(headers).q(query).b(body);
4481
+ return b.build();
4482
+ }, "se_ListAssociatedContactsCommand");
4185
4483
  var se_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
4186
4484
  const b = (0, import_core.requestBuilder)(input, context);
4187
4485
  const headers = {};
@@ -4997,6 +5295,25 @@ var se_SearchContactsCommand = /* @__PURE__ */ __name(async (input, context) =>
4997
5295
  b.m("POST").h(headers).b(body);
4998
5296
  return b.build();
4999
5297
  }, "se_SearchContactsCommand");
5298
+ var se_SearchEmailAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {
5299
+ const b = (0, import_core.requestBuilder)(input, context);
5300
+ const headers = {
5301
+ "content-type": "application/json"
5302
+ };
5303
+ b.bp("/search-email-addresses");
5304
+ let body;
5305
+ body = JSON.stringify(
5306
+ (0, import_smithy_client.take)(input, {
5307
+ InstanceId: [],
5308
+ MaxResults: [],
5309
+ NextToken: [],
5310
+ SearchCriteria: (_) => se_EmailAddressSearchCriteria(_, context),
5311
+ SearchFilter: (_) => (0, import_smithy_client._json)(_)
5312
+ })
5313
+ );
5314
+ b.m("POST").h(headers).b(body);
5315
+ return b.build();
5316
+ }, "se_SearchEmailAddressesCommand");
5000
5317
  var se_SearchHoursOfOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
5001
5318
  const b = (0, import_core.requestBuilder)(input, context);
5002
5319
  const headers = {
@@ -5225,6 +5542,28 @@ var se_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (input, co
5225
5542
  b.m("POST").h(headers).b(body);
5226
5543
  return b.build();
5227
5544
  }, "se_SendChatIntegrationEventCommand");
5545
+ var se_SendOutboundEmailCommand = /* @__PURE__ */ __name(async (input, context) => {
5546
+ const b = (0, import_core.requestBuilder)(input, context);
5547
+ const headers = {
5548
+ "content-type": "application/json"
5549
+ };
5550
+ b.bp("/instance/{InstanceId}/outbound-email");
5551
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
5552
+ let body;
5553
+ body = JSON.stringify(
5554
+ (0, import_smithy_client.take)(input, {
5555
+ AdditionalRecipients: (_) => (0, import_smithy_client._json)(_),
5556
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
5557
+ DestinationEmailAddress: (_) => (0, import_smithy_client._json)(_),
5558
+ EmailMessage: (_) => (0, import_smithy_client._json)(_),
5559
+ FromEmailAddress: (_) => (0, import_smithy_client._json)(_),
5560
+ SourceCampaign: (_) => (0, import_smithy_client._json)(_),
5561
+ TrafficType: []
5562
+ })
5563
+ );
5564
+ b.m("PUT").h(headers).b(body);
5565
+ return b.build();
5566
+ }, "se_SendOutboundEmailCommand");
5228
5567
  var se_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
5229
5568
  const b = (0, import_core.requestBuilder)(input, context);
5230
5569
  const headers = {
@@ -5329,6 +5668,34 @@ var se_StartContactStreamingCommand = /* @__PURE__ */ __name(async (input, conte
5329
5668
  b.m("POST").h(headers).b(body);
5330
5669
  return b.build();
5331
5670
  }, "se_StartContactStreamingCommand");
5671
+ var se_StartEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
5672
+ const b = (0, import_core.requestBuilder)(input, context);
5673
+ const headers = {
5674
+ "content-type": "application/json"
5675
+ };
5676
+ b.bp("/contact/email");
5677
+ let body;
5678
+ body = JSON.stringify(
5679
+ (0, import_smithy_client.take)(input, {
5680
+ AdditionalRecipients: (_) => (0, import_smithy_client._json)(_),
5681
+ Attachments: (_) => (0, import_smithy_client._json)(_),
5682
+ Attributes: (_) => (0, import_smithy_client._json)(_),
5683
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
5684
+ ContactFlowId: [],
5685
+ Description: [],
5686
+ DestinationEmailAddress: [],
5687
+ EmailMessage: (_) => (0, import_smithy_client._json)(_),
5688
+ FromEmailAddress: (_) => (0, import_smithy_client._json)(_),
5689
+ InstanceId: [],
5690
+ Name: [],
5691
+ References: (_) => (0, import_smithy_client._json)(_),
5692
+ RelatedContactId: [],
5693
+ SegmentAttributes: (_) => (0, import_smithy_client._json)(_)
5694
+ })
5695
+ );
5696
+ b.m("PUT").h(headers).b(body);
5697
+ return b.build();
5698
+ }, "se_StartEmailContactCommand");
5332
5699
  var se_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (input, context) => {
5333
5700
  const b = (0, import_core.requestBuilder)(input, context);
5334
5701
  const headers = {
@@ -5355,6 +5722,27 @@ var se_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (input, co
5355
5722
  b.m("PUT").h(headers).b(body);
5356
5723
  return b.build();
5357
5724
  }, "se_StartOutboundChatContactCommand");
5725
+ var se_StartOutboundEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
5726
+ const b = (0, import_core.requestBuilder)(input, context);
5727
+ const headers = {
5728
+ "content-type": "application/json"
5729
+ };
5730
+ b.bp("/contact/outbound-email");
5731
+ let body;
5732
+ body = JSON.stringify(
5733
+ (0, import_smithy_client.take)(input, {
5734
+ AdditionalRecipients: (_) => (0, import_smithy_client._json)(_),
5735
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
5736
+ ContactId: [],
5737
+ DestinationEmailAddress: (_) => (0, import_smithy_client._json)(_),
5738
+ EmailMessage: (_) => (0, import_smithy_client._json)(_),
5739
+ FromEmailAddress: (_) => (0, import_smithy_client._json)(_),
5740
+ InstanceId: []
5741
+ })
5742
+ );
5743
+ b.m("PUT").h(headers).b(body);
5744
+ return b.build();
5745
+ }, "se_StartOutboundEmailContactCommand");
5358
5746
  var se_StartOutboundVoiceContactCommand = /* @__PURE__ */ __name(async (input, context) => {
5359
5747
  const b = (0, import_core.requestBuilder)(input, context);
5360
5748
  const headers = {
@@ -5420,6 +5808,7 @@ var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) =
5420
5808
  References: (_) => (0, import_smithy_client._json)(_),
5421
5809
  RelatedContactId: [],
5422
5810
  ScheduledTime: (_) => _.getTime() / 1e3,
5811
+ SegmentAttributes: (_) => (0, import_smithy_client._json)(_),
5423
5812
  TaskTemplateId: []
5424
5813
  })
5425
5814
  );
@@ -5668,7 +6057,8 @@ var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
5668
6057
  (0, import_smithy_client.take)(input, {
5669
6058
  Description: [],
5670
6059
  Name: [],
5671
- References: (_) => (0, import_smithy_client._json)(_)
6060
+ References: (_) => (0, import_smithy_client._json)(_),
6061
+ SegmentAttributes: (_) => (0, import_smithy_client._json)(_)
5672
6062
  })
5673
6063
  );
5674
6064
  b.m("POST").h(headers).b(body);
@@ -5835,6 +6225,25 @@ var se_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (input, conte
5835
6225
  b.m("POST").h(headers).b(body);
5836
6226
  return b.build();
5837
6227
  }, "se_UpdateContactScheduleCommand");
6228
+ var se_UpdateEmailAddressMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
6229
+ const b = (0, import_core.requestBuilder)(input, context);
6230
+ const headers = {
6231
+ "content-type": "application/json"
6232
+ };
6233
+ b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");
6234
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
6235
+ b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
6236
+ let body;
6237
+ body = JSON.stringify(
6238
+ (0, import_smithy_client.take)(input, {
6239
+ ClientToken: [],
6240
+ Description: [],
6241
+ DisplayName: []
6242
+ })
6243
+ );
6244
+ b.m("POST").h(headers).b(body);
6245
+ return b.build();
6246
+ }, "se_UpdateEmailAddressMetadataCommand");
5838
6247
  var se_UpdateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
5839
6248
  const b = (0, import_core.requestBuilder)(input, context);
5840
6249
  const headers = {
@@ -6072,6 +6481,23 @@ var se_UpdateQueueOutboundCallerConfigCommand = /* @__PURE__ */ __name(async (in
6072
6481
  b.m("POST").h(headers).b(body);
6073
6482
  return b.build();
6074
6483
  }, "se_UpdateQueueOutboundCallerConfigCommand");
6484
+ var se_UpdateQueueOutboundEmailConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
6485
+ const b = (0, import_core.requestBuilder)(input, context);
6486
+ const headers = {
6487
+ "content-type": "application/json"
6488
+ };
6489
+ b.bp("/queues/{InstanceId}/{QueueId}/outbound-email-config");
6490
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
6491
+ b.p("QueueId", () => input.QueueId, "{QueueId}", false);
6492
+ let body;
6493
+ body = JSON.stringify(
6494
+ (0, import_smithy_client.take)(input, {
6495
+ OutboundEmailConfig: (_) => (0, import_smithy_client._json)(_)
6496
+ })
6497
+ );
6498
+ b.m("POST").h(headers).b(body);
6499
+ return b.build();
6500
+ }, "se_UpdateQueueOutboundEmailConfigCommand");
6075
6501
  var se_UpdateQueueStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
6076
6502
  const b = (0, import_core.requestBuilder)(input, context);
6077
6503
  const headers = {
@@ -6270,6 +6696,7 @@ var se_UpdateTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context)
6270
6696
  Description: [],
6271
6697
  Fields: (_) => (0, import_smithy_client._json)(_),
6272
6698
  Name: [],
6699
+ SelfAssignFlowId: [],
6273
6700
  Status: []
6274
6701
  })
6275
6702
  );
@@ -6750,6 +7177,21 @@ var de_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context)
6750
7177
  Object.assign(contents, doc);
6751
7178
  return contents;
6752
7179
  }, "de_CreateAgentStatusCommand");
7180
+ var de_CreateContactCommand = /* @__PURE__ */ __name(async (output, context) => {
7181
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7182
+ return de_CommandError(output, context);
7183
+ }
7184
+ const contents = (0, import_smithy_client.map)({
7185
+ $metadata: deserializeMetadata(output)
7186
+ });
7187
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7188
+ const doc = (0, import_smithy_client.take)(data, {
7189
+ ContactArn: import_smithy_client.expectString,
7190
+ ContactId: import_smithy_client.expectString
7191
+ });
7192
+ Object.assign(contents, doc);
7193
+ return contents;
7194
+ }, "de_CreateContactCommand");
6753
7195
  var de_CreateContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
6754
7196
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6755
7197
  return de_CommandError(output, context);
@@ -6796,6 +7238,21 @@ var de_CreateContactFlowVersionCommand = /* @__PURE__ */ __name(async (output, c
6796
7238
  Object.assign(contents, doc);
6797
7239
  return contents;
6798
7240
  }, "de_CreateContactFlowVersionCommand");
7241
+ var de_CreateEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
7242
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7243
+ return de_CommandError(output, context);
7244
+ }
7245
+ const contents = (0, import_smithy_client.map)({
7246
+ $metadata: deserializeMetadata(output)
7247
+ });
7248
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7249
+ const doc = (0, import_smithy_client.take)(data, {
7250
+ EmailAddressArn: import_smithy_client.expectString,
7251
+ EmailAddressId: import_smithy_client.expectString
7252
+ });
7253
+ Object.assign(contents, doc);
7254
+ return contents;
7255
+ }, "de_CreateEmailAddressCommand");
6799
7256
  var de_CreateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {
6800
7257
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6801
7258
  return de_CommandError(output, context);
@@ -7160,6 +7617,16 @@ var de_DeleteContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, co
7160
7617
  await (0, import_smithy_client.collectBody)(output.body, context);
7161
7618
  return contents;
7162
7619
  }, "de_DeleteContactFlowModuleCommand");
7620
+ var de_DeleteEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
7621
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7622
+ return de_CommandError(output, context);
7623
+ }
7624
+ const contents = (0, import_smithy_client.map)({
7625
+ $metadata: deserializeMetadata(output)
7626
+ });
7627
+ await (0, import_smithy_client.collectBody)(output.body, context);
7628
+ return contents;
7629
+ }, "de_DeleteEmailAddressCommand");
7163
7630
  var de_DeleteEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {
7164
7631
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7165
7632
  return de_CommandError(output, context);
@@ -7422,12 +7889,26 @@ var de_DescribeContactFlowCommand = /* @__PURE__ */ __name(async (output, contex
7422
7889
  });
7423
7890
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7424
7891
  const doc = (0, import_smithy_client.take)(data, {
7425
- ContactFlow: (_) => de_ContactFlow(_, context)
7892
+ ContactFlow: (_) => de_ContactFlow(_, context)
7893
+ });
7894
+ Object.assign(contents, doc);
7895
+ return contents;
7896
+ }, "de_DescribeContactFlowCommand");
7897
+ var de_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, context) => {
7898
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7899
+ return de_CommandError(output, context);
7900
+ }
7901
+ const contents = (0, import_smithy_client.map)({
7902
+ $metadata: deserializeMetadata(output)
7903
+ });
7904
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7905
+ const doc = (0, import_smithy_client.take)(data, {
7906
+ ContactFlowModule: import_smithy_client._json
7426
7907
  });
7427
7908
  Object.assign(contents, doc);
7428
7909
  return contents;
7429
- }, "de_DescribeContactFlowCommand");
7430
- var de_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, context) => {
7910
+ }, "de_DescribeContactFlowModuleCommand");
7911
+ var de_DescribeEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
7431
7912
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7432
7913
  return de_CommandError(output, context);
7433
7914
  }
@@ -7436,11 +7917,18 @@ var de_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (output,
7436
7917
  });
7437
7918
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7438
7919
  const doc = (0, import_smithy_client.take)(data, {
7439
- ContactFlowModule: import_smithy_client._json
7920
+ CreateTimestamp: import_smithy_client.expectString,
7921
+ Description: import_smithy_client.expectString,
7922
+ DisplayName: import_smithy_client.expectString,
7923
+ EmailAddress: import_smithy_client.expectString,
7924
+ EmailAddressArn: import_smithy_client.expectString,
7925
+ EmailAddressId: import_smithy_client.expectString,
7926
+ ModifiedTimestamp: import_smithy_client.expectString,
7927
+ Tags: import_smithy_client._json
7440
7928
  });
7441
7929
  Object.assign(contents, doc);
7442
7930
  return contents;
7443
- }, "de_DescribeContactFlowModuleCommand");
7931
+ }, "de_DescribeEmailAddressCommand");
7444
7932
  var de_DescribeEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {
7445
7933
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7446
7934
  return de_CommandError(output, context);
@@ -8018,6 +8506,7 @@ var de_GetTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context) =
8018
8506
  InstanceId: import_smithy_client.expectString,
8019
8507
  LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
8020
8508
  Name: import_smithy_client.expectString,
8509
+ SelfAssignFlowId: import_smithy_client.expectString,
8021
8510
  Status: import_smithy_client.expectString,
8022
8511
  Tags: import_smithy_client._json
8023
8512
  });
@@ -8102,6 +8591,21 @@ var de_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (output, contex
8102
8591
  Object.assign(contents, doc);
8103
8592
  return contents;
8104
8593
  }, "de_ListApprovedOriginsCommand");
8594
+ var de_ListAssociatedContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
8595
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8596
+ return de_CommandError(output, context);
8597
+ }
8598
+ const contents = (0, import_smithy_client.map)({
8599
+ $metadata: deserializeMetadata(output)
8600
+ });
8601
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
8602
+ const doc = (0, import_smithy_client.take)(data, {
8603
+ ContactSummaryList: (_) => de_AssociatedContactSummaryList(_, context),
8604
+ NextToken: import_smithy_client.expectString
8605
+ });
8606
+ Object.assign(contents, doc);
8607
+ return contents;
8608
+ }, "de_ListAssociatedContactsCommand");
8105
8609
  var de_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
8106
8610
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8107
8611
  return de_CommandError(output, context);
@@ -8917,6 +9421,22 @@ var de_SearchContactsCommand = /* @__PURE__ */ __name(async (output, context) =>
8917
9421
  Object.assign(contents, doc);
8918
9422
  return contents;
8919
9423
  }, "de_SearchContactsCommand");
9424
+ var de_SearchEmailAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {
9425
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9426
+ return de_CommandError(output, context);
9427
+ }
9428
+ const contents = (0, import_smithy_client.map)({
9429
+ $metadata: deserializeMetadata(output)
9430
+ });
9431
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
9432
+ const doc = (0, import_smithy_client.take)(data, {
9433
+ ApproximateTotalCount: import_smithy_client.expectLong,
9434
+ EmailAddresses: import_smithy_client._json,
9435
+ NextToken: import_smithy_client.expectString
9436
+ });
9437
+ Object.assign(contents, doc);
9438
+ return contents;
9439
+ }, "de_SearchEmailAddressesCommand");
8920
9440
  var de_SearchHoursOfOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
8921
9441
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8922
9442
  return de_CommandError(output, context);
@@ -9106,6 +9626,16 @@ var de_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (output, c
9106
9626
  Object.assign(contents, doc);
9107
9627
  return contents;
9108
9628
  }, "de_SendChatIntegrationEventCommand");
9629
+ var de_SendOutboundEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
9630
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9631
+ return de_CommandError(output, context);
9632
+ }
9633
+ const contents = (0, import_smithy_client.map)({
9634
+ $metadata: deserializeMetadata(output)
9635
+ });
9636
+ await (0, import_smithy_client.collectBody)(output.body, context);
9637
+ return contents;
9638
+ }, "de_SendOutboundEmailCommand");
9109
9639
  var de_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
9110
9640
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9111
9641
  return de_CommandError(output, context);
@@ -9181,6 +9711,20 @@ var de_StartContactStreamingCommand = /* @__PURE__ */ __name(async (output, cont
9181
9711
  Object.assign(contents, doc);
9182
9712
  return contents;
9183
9713
  }, "de_StartContactStreamingCommand");
9714
+ var de_StartEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
9715
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9716
+ return de_CommandError(output, context);
9717
+ }
9718
+ const contents = (0, import_smithy_client.map)({
9719
+ $metadata: deserializeMetadata(output)
9720
+ });
9721
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
9722
+ const doc = (0, import_smithy_client.take)(data, {
9723
+ ContactId: import_smithy_client.expectString
9724
+ });
9725
+ Object.assign(contents, doc);
9726
+ return contents;
9727
+ }, "de_StartEmailContactCommand");
9184
9728
  var de_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (output, context) => {
9185
9729
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9186
9730
  return de_CommandError(output, context);
@@ -9195,6 +9739,20 @@ var de_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (output, c
9195
9739
  Object.assign(contents, doc);
9196
9740
  return contents;
9197
9741
  }, "de_StartOutboundChatContactCommand");
9742
+ var de_StartOutboundEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
9743
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9744
+ return de_CommandError(output, context);
9745
+ }
9746
+ const contents = (0, import_smithy_client.map)({
9747
+ $metadata: deserializeMetadata(output)
9748
+ });
9749
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
9750
+ const doc = (0, import_smithy_client.take)(data, {
9751
+ ContactId: import_smithy_client.expectString
9752
+ });
9753
+ Object.assign(contents, doc);
9754
+ return contents;
9755
+ }, "de_StartOutboundEmailContactCommand");
9198
9756
  var de_StartOutboundVoiceContactCommand = /* @__PURE__ */ __name(async (output, context) => {
9199
9757
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9200
9758
  return de_CommandError(output, context);
@@ -9485,6 +10043,21 @@ var de_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (output, cont
9485
10043
  await (0, import_smithy_client.collectBody)(output.body, context);
9486
10044
  return contents;
9487
10045
  }, "de_UpdateContactScheduleCommand");
10046
+ var de_UpdateEmailAddressMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
10047
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10048
+ return de_CommandError(output, context);
10049
+ }
10050
+ const contents = (0, import_smithy_client.map)({
10051
+ $metadata: deserializeMetadata(output)
10052
+ });
10053
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
10054
+ const doc = (0, import_smithy_client.take)(data, {
10055
+ EmailAddressArn: import_smithy_client.expectString,
10056
+ EmailAddressId: import_smithy_client.expectString
10057
+ });
10058
+ Object.assign(contents, doc);
10059
+ return contents;
10060
+ }, "de_UpdateEmailAddressMetadataCommand");
9488
10061
  var de_UpdateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {
9489
10062
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9490
10063
  return de_CommandError(output, context);
@@ -9631,6 +10204,16 @@ var de_UpdateQueueOutboundCallerConfigCommand = /* @__PURE__ */ __name(async (ou
9631
10204
  await (0, import_smithy_client.collectBody)(output.body, context);
9632
10205
  return contents;
9633
10206
  }, "de_UpdateQueueOutboundCallerConfigCommand");
10207
+ var de_UpdateQueueOutboundEmailConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
10208
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10209
+ return de_CommandError(output, context);
10210
+ }
10211
+ const contents = (0, import_smithy_client.map)({
10212
+ $metadata: deserializeMetadata(output)
10213
+ });
10214
+ await (0, import_smithy_client.collectBody)(output.body, context);
10215
+ return contents;
10216
+ }, "de_UpdateQueueOutboundEmailConfigCommand");
9634
10217
  var de_UpdateQueueStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
9635
10218
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9636
10219
  return de_CommandError(output, context);
@@ -9751,6 +10334,7 @@ var de_UpdateTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context
9751
10334
  InstanceId: import_smithy_client.expectString,
9752
10335
  LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
9753
10336
  Name: import_smithy_client.expectString,
10337
+ SelfAssignFlowId: import_smithy_client.expectString,
9754
10338
  Status: import_smithy_client.expectString
9755
10339
  });
9756
10340
  Object.assign(contents, doc);
@@ -9910,6 +10494,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
9910
10494
  case "DuplicateResourceException":
9911
10495
  case "com.amazonaws.connect#DuplicateResourceException":
9912
10496
  throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
10497
+ case "ConflictException":
10498
+ case "com.amazonaws.connect#ConflictException":
10499
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9913
10500
  case "InvalidContactFlowException":
9914
10501
  case "com.amazonaws.connect#InvalidContactFlowException":
9915
10502
  throw await de_InvalidContactFlowExceptionRes(parsedOutput, context);
@@ -9937,9 +10524,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
9937
10524
  case "OutputTypeNotFoundException":
9938
10525
  case "com.amazonaws.connect#OutputTypeNotFoundException":
9939
10526
  throw await de_OutputTypeNotFoundExceptionRes(parsedOutput, context);
9940
- case "ConflictException":
9941
- case "com.amazonaws.connect#ConflictException":
9942
- throw await de_ConflictExceptionRes(parsedOutput, context);
9943
10527
  case "MaximumResultReturnedException":
9944
10528
  case "com.amazonaws.connect#MaximumResultReturnedException":
9945
10529
  throw await de_MaximumResultReturnedExceptionRes(parsedOutput, context);
@@ -9952,6 +10536,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
9952
10536
  case "ContactNotFoundException":
9953
10537
  case "com.amazonaws.connect#ContactNotFoundException":
9954
10538
  throw await de_ContactNotFoundExceptionRes(parsedOutput, context);
10539
+ case "ConditionalOperationFailedException":
10540
+ case "com.amazonaws.connect#ConditionalOperationFailedException":
10541
+ throw await de_ConditionalOperationFailedExceptionRes(parsedOutput, context);
9955
10542
  default:
9956
10543
  const parsedBody = parsedOutput.body;
9957
10544
  return throwDefaultError({
@@ -9975,6 +10562,19 @@ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
9975
10562
  });
9976
10563
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
9977
10564
  }, "de_AccessDeniedExceptionRes");
10565
+ var de_ConditionalOperationFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
10566
+ const contents = (0, import_smithy_client.map)({});
10567
+ const data = parsedOutput.body;
10568
+ const doc = (0, import_smithy_client.take)(data, {
10569
+ Message: import_smithy_client.expectString
10570
+ });
10571
+ Object.assign(contents, doc);
10572
+ const exception = new ConditionalOperationFailedException({
10573
+ $metadata: deserializeMetadata(parsedOutput),
10574
+ ...contents
10575
+ });
10576
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
10577
+ }, "de_ConditionalOperationFailedExceptionRes");
9978
10578
  var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
9979
10579
  const contents = (0, import_smithy_client.map)({});
9980
10580
  const data = parsedOutput.body;
@@ -10243,7 +10843,8 @@ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOu
10243
10843
  const contents = (0, import_smithy_client.map)({});
10244
10844
  const data = parsedOutput.body;
10245
10845
  const doc = (0, import_smithy_client.take)(data, {
10246
- Message: import_smithy_client.expectString
10846
+ Message: import_smithy_client.expectString,
10847
+ Reason: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_))
10247
10848
  });
10248
10849
  Object.assign(contents, doc);
10249
10850
  const exception = new ServiceQuotaExceededException({
@@ -10345,6 +10946,18 @@ var se_CreateCaseActionDefinition = /* @__PURE__ */ __name((input, context) => {
10345
10946
  TemplateId: []
10346
10947
  });
10347
10948
  }, "se_CreateCaseActionDefinition");
10949
+ var se_EmailAddressSearchConditionList = /* @__PURE__ */ __name((input, context) => {
10950
+ return input.filter((e) => e != null).map((entry) => {
10951
+ return se_EmailAddressSearchCriteria(entry, context);
10952
+ });
10953
+ }, "se_EmailAddressSearchConditionList");
10954
+ var se_EmailAddressSearchCriteria = /* @__PURE__ */ __name((input, context) => {
10955
+ return (0, import_smithy_client.take)(input, {
10956
+ AndConditions: (_) => se_EmailAddressSearchConditionList(_, context),
10957
+ OrConditions: (_) => se_EmailAddressSearchConditionList(_, context),
10958
+ StringCondition: import_smithy_client._json
10959
+ });
10960
+ }, "se_EmailAddressSearchCriteria");
10348
10961
  var se_EvaluationAnswerData = /* @__PURE__ */ __name((input, context) => {
10349
10962
  return EvaluationAnswerData.visit(input, {
10350
10963
  NotApplicable: (value) => ({ NotApplicable: value }),
@@ -10716,6 +11329,25 @@ var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {
10716
11329
  });
10717
11330
  return retVal;
10718
11331
  }, "de_AgentStatusSummaryList");
11332
+ var de_AssociatedContactSummary = /* @__PURE__ */ __name((output, context) => {
11333
+ return (0, import_smithy_client.take)(output, {
11334
+ Channel: import_smithy_client.expectString,
11335
+ ContactArn: import_smithy_client.expectString,
11336
+ ContactId: import_smithy_client.expectString,
11337
+ DisconnectTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
11338
+ InitialContactId: import_smithy_client.expectString,
11339
+ InitiationMethod: import_smithy_client.expectString,
11340
+ InitiationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
11341
+ PreviousContactId: import_smithy_client.expectString,
11342
+ RelatedContactId: import_smithy_client.expectString
11343
+ });
11344
+ }, "de_AssociatedContactSummary");
11345
+ var de_AssociatedContactSummaryList = /* @__PURE__ */ __name((output, context) => {
11346
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
11347
+ return de_AssociatedContactSummary(entry, context);
11348
+ });
11349
+ return retVal;
11350
+ }, "de_AssociatedContactSummaryList");
10719
11351
  var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {
10720
11352
  return (0, import_smithy_client.take)(output, {
10721
11353
  ComparisonOperator: import_smithy_client.expectString,
@@ -10765,13 +11397,16 @@ var de_AuthenticationProfileSummaryList = /* @__PURE__ */ __name((output, contex
10765
11397
  }, "de_AuthenticationProfileSummaryList");
10766
11398
  var de_Contact = /* @__PURE__ */ __name((output, context) => {
10767
11399
  return (0, import_smithy_client.take)(output, {
11400
+ AdditionalEmailRecipients: import_smithy_client._json,
10768
11401
  AgentInfo: (_) => de_AgentInfo(_, context),
10769
11402
  AnsweringMachineDetectionStatus: import_smithy_client.expectString,
10770
11403
  Arn: import_smithy_client.expectString,
10771
11404
  Campaign: import_smithy_client._json,
10772
11405
  Channel: import_smithy_client.expectString,
10773
11406
  ConnectedToSystemTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
11407
+ ContactAssociationId: import_smithy_client.expectString,
10774
11408
  Customer: import_smithy_client._json,
11409
+ CustomerEndpoint: import_smithy_client._json,
10775
11410
  CustomerVoiceActivity: (_) => de_CustomerVoiceActivity(_, context),
10776
11411
  Description: import_smithy_client.expectString,
10777
11412
  DisconnectDetails: import_smithy_client._json,
@@ -10793,6 +11428,7 @@ var de_Contact = /* @__PURE__ */ __name((output, context) => {
10793
11428
  RoutingCriteria: (_) => de_RoutingCriteria(_, context),
10794
11429
  ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10795
11430
  SegmentAttributes: import_smithy_client._json,
11431
+ SystemEndpoint: import_smithy_client._json,
10796
11432
  Tags: import_smithy_client._json,
10797
11433
  TotalPauseCount: import_smithy_client.expectInt32,
10798
11434
  TotalPauseDurationInSeconds: import_smithy_client.expectInt32,
@@ -10842,7 +11478,8 @@ var de_ContactSearchSummary = /* @__PURE__ */ __name((output, context) => {
10842
11478
  InitiationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
10843
11479
  PreviousContactId: import_smithy_client.expectString,
10844
11480
  QueueInfo: (_) => de_ContactSearchSummaryQueueInfo(_, context),
10845
- ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
11481
+ ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
11482
+ SegmentAttributes: import_smithy_client._json
10846
11483
  });
10847
11484
  }, "de_ContactSearchSummary");
10848
11485
  var de_ContactSearchSummaryAgentInfo = /* @__PURE__ */ __name((output, context) => {
@@ -11406,6 +12043,7 @@ var de_Queue = /* @__PURE__ */ __name((output, context) => {
11406
12043
  MaxContacts: import_smithy_client.expectInt32,
11407
12044
  Name: import_smithy_client.expectString,
11408
12045
  OutboundCallerConfig: import_smithy_client._json,
12046
+ OutboundEmailConfig: import_smithy_client._json,
11409
12047
  QueueArn: import_smithy_client.expectString,
11410
12048
  QueueId: import_smithy_client.expectString,
11411
12049
  Status: import_smithy_client.expectString,
@@ -12254,6 +12892,20 @@ var _CreateAgentStatusCommand = class _CreateAgentStatusCommand extends import_s
12254
12892
  __name(_CreateAgentStatusCommand, "CreateAgentStatusCommand");
12255
12893
  var CreateAgentStatusCommand = _CreateAgentStatusCommand;
12256
12894
 
12895
+ // src/commands/CreateContactCommand.ts
12896
+
12897
+
12898
+
12899
+ var _CreateContactCommand = class _CreateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
12900
+ return [
12901
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12902
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12903
+ ];
12904
+ }).s("AmazonConnectService", "CreateContact", {}).n("ConnectClient", "CreateContactCommand").f(CreateContactRequestFilterSensitiveLog, void 0).ser(se_CreateContactCommand).de(de_CreateContactCommand).build() {
12905
+ };
12906
+ __name(_CreateContactCommand, "CreateContactCommand");
12907
+ var CreateContactCommand = _CreateContactCommand;
12908
+
12257
12909
  // src/commands/CreateContactFlowCommand.ts
12258
12910
 
12259
12911
 
@@ -12296,6 +12948,20 @@ var _CreateContactFlowVersionCommand = class _CreateContactFlowVersionCommand ex
12296
12948
  __name(_CreateContactFlowVersionCommand, "CreateContactFlowVersionCommand");
12297
12949
  var CreateContactFlowVersionCommand = _CreateContactFlowVersionCommand;
12298
12950
 
12951
+ // src/commands/CreateEmailAddressCommand.ts
12952
+
12953
+
12954
+
12955
+ var _CreateEmailAddressCommand = class _CreateEmailAddressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
12956
+ return [
12957
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12958
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12959
+ ];
12960
+ }).s("AmazonConnectService", "CreateEmailAddress", {}).n("ConnectClient", "CreateEmailAddressCommand").f(CreateEmailAddressRequestFilterSensitiveLog, void 0).ser(se_CreateEmailAddressCommand).de(de_CreateEmailAddressCommand).build() {
12961
+ };
12962
+ __name(_CreateEmailAddressCommand, "CreateEmailAddressCommand");
12963
+ var CreateEmailAddressCommand = _CreateEmailAddressCommand;
12964
+
12299
12965
  // src/commands/CreateEvaluationFormCommand.ts
12300
12966
 
12301
12967
 
@@ -12660,6 +13326,20 @@ var _DeleteContactFlowModuleCommand = class _DeleteContactFlowModuleCommand exte
12660
13326
  __name(_DeleteContactFlowModuleCommand, "DeleteContactFlowModuleCommand");
12661
13327
  var DeleteContactFlowModuleCommand = _DeleteContactFlowModuleCommand;
12662
13328
 
13329
+ // src/commands/DeleteEmailAddressCommand.ts
13330
+
13331
+
13332
+
13333
+ var _DeleteEmailAddressCommand = class _DeleteEmailAddressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
13334
+ return [
13335
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
13336
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
13337
+ ];
13338
+ }).s("AmazonConnectService", "DeleteEmailAddress", {}).n("ConnectClient", "DeleteEmailAddressCommand").f(void 0, void 0).ser(se_DeleteEmailAddressCommand).de(de_DeleteEmailAddressCommand).build() {
13339
+ };
13340
+ __name(_DeleteEmailAddressCommand, "DeleteEmailAddressCommand");
13341
+ var DeleteEmailAddressCommand = _DeleteEmailAddressCommand;
13342
+
12663
13343
  // src/commands/DeleteEvaluationFormCommand.ts
12664
13344
 
12665
13345
 
@@ -12958,6 +13638,20 @@ var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand
12958
13638
 
12959
13639
 
12960
13640
 
13641
+
13642
+ // src/models/models_3.ts
13643
+
13644
+ var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
13645
+ ...obj,
13646
+ ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
13647
+ ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
13648
+ }), "ContactFilterSensitiveLog");
13649
+ var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
13650
+ ...obj,
13651
+ ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
13652
+ }), "DescribeContactResponseFilterSensitiveLog");
13653
+
13654
+ // src/commands/DescribeContactCommand.ts
12961
13655
  var _DescribeContactCommand = class _DescribeContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
12962
13656
  return [
12963
13657
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -13010,6 +13704,20 @@ var _DescribeContactFlowModuleCommand = class _DescribeContactFlowModuleCommand
13010
13704
  __name(_DescribeContactFlowModuleCommand, "DescribeContactFlowModuleCommand");
13011
13705
  var DescribeContactFlowModuleCommand = _DescribeContactFlowModuleCommand;
13012
13706
 
13707
+ // src/commands/DescribeEmailAddressCommand.ts
13708
+
13709
+
13710
+
13711
+ var _DescribeEmailAddressCommand = class _DescribeEmailAddressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
13712
+ return [
13713
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
13714
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
13715
+ ];
13716
+ }).s("AmazonConnectService", "DescribeEmailAddress", {}).n("ConnectClient", "DescribeEmailAddressCommand").f(void 0, DescribeEmailAddressResponseFilterSensitiveLog).ser(se_DescribeEmailAddressCommand).de(de_DescribeEmailAddressCommand).build() {
13717
+ };
13718
+ __name(_DescribeEmailAddressCommand, "DescribeEmailAddressCommand");
13719
+ var DescribeEmailAddressCommand = _DescribeEmailAddressCommand;
13720
+
13013
13721
  // src/commands/DescribeEvaluationFormCommand.ts
13014
13722
 
13015
13723
 
@@ -13682,6 +14390,20 @@ var _ListApprovedOriginsCommand = class _ListApprovedOriginsCommand extends impo
13682
14390
  __name(_ListApprovedOriginsCommand, "ListApprovedOriginsCommand");
13683
14391
  var ListApprovedOriginsCommand = _ListApprovedOriginsCommand;
13684
14392
 
14393
+ // src/commands/ListAssociatedContactsCommand.ts
14394
+
14395
+
14396
+
14397
+ var _ListAssociatedContactsCommand = class _ListAssociatedContactsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
14398
+ return [
14399
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
14400
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
14401
+ ];
14402
+ }).s("AmazonConnectService", "ListAssociatedContacts", {}).n("ConnectClient", "ListAssociatedContactsCommand").f(void 0, void 0).ser(se_ListAssociatedContactsCommand).de(de_ListAssociatedContactsCommand).build() {
14403
+ };
14404
+ __name(_ListAssociatedContactsCommand, "ListAssociatedContactsCommand");
14405
+ var ListAssociatedContactsCommand = _ListAssociatedContactsCommand;
14406
+
13685
14407
  // src/commands/ListAuthenticationProfilesCommand.ts
13686
14408
 
13687
14409
 
@@ -14452,6 +15174,20 @@ var _SearchContactsCommand = class _SearchContactsCommand extends import_smithy_
14452
15174
  __name(_SearchContactsCommand, "SearchContactsCommand");
14453
15175
  var SearchContactsCommand = _SearchContactsCommand;
14454
15176
 
15177
+ // src/commands/SearchEmailAddressesCommand.ts
15178
+
15179
+
15180
+
15181
+ var _SearchEmailAddressesCommand = class _SearchEmailAddressesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
15182
+ return [
15183
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
15184
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
15185
+ ];
15186
+ }).s("AmazonConnectService", "SearchEmailAddresses", {}).n("ConnectClient", "SearchEmailAddressesCommand").f(void 0, SearchEmailAddressesResponseFilterSensitiveLog).ser(se_SearchEmailAddressesCommand).de(de_SearchEmailAddressesCommand).build() {
15187
+ };
15188
+ __name(_SearchEmailAddressesCommand, "SearchEmailAddressesCommand");
15189
+ var SearchEmailAddressesCommand = _SearchEmailAddressesCommand;
15190
+
14455
15191
  // src/commands/SearchHoursOfOperationsCommand.ts
14456
15192
 
14457
15193
 
@@ -14620,6 +15356,20 @@ var _SendChatIntegrationEventCommand = class _SendChatIntegrationEventCommand ex
14620
15356
  __name(_SendChatIntegrationEventCommand, "SendChatIntegrationEventCommand");
14621
15357
  var SendChatIntegrationEventCommand = _SendChatIntegrationEventCommand;
14622
15358
 
15359
+ // src/commands/SendOutboundEmailCommand.ts
15360
+
15361
+
15362
+
15363
+ var _SendOutboundEmailCommand = class _SendOutboundEmailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
15364
+ return [
15365
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
15366
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
15367
+ ];
15368
+ }).s("AmazonConnectService", "SendOutboundEmail", {}).n("ConnectClient", "SendOutboundEmailCommand").f(SendOutboundEmailRequestFilterSensitiveLog, void 0).ser(se_SendOutboundEmailCommand).de(de_SendOutboundEmailCommand).build() {
15369
+ };
15370
+ __name(_SendOutboundEmailCommand, "SendOutboundEmailCommand");
15371
+ var SendOutboundEmailCommand = _SendOutboundEmailCommand;
15372
+
14623
15373
  // src/commands/StartAttachedFileUploadCommand.ts
14624
15374
 
14625
15375
 
@@ -14690,6 +15440,20 @@ var _StartContactStreamingCommand = class _StartContactStreamingCommand extends
14690
15440
  __name(_StartContactStreamingCommand, "StartContactStreamingCommand");
14691
15441
  var StartContactStreamingCommand = _StartContactStreamingCommand;
14692
15442
 
15443
+ // src/commands/StartEmailContactCommand.ts
15444
+
15445
+
15446
+
15447
+ var _StartEmailContactCommand = class _StartEmailContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
15448
+ return [
15449
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
15450
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
15451
+ ];
15452
+ }).s("AmazonConnectService", "StartEmailContact", {}).n("ConnectClient", "StartEmailContactCommand").f(StartEmailContactRequestFilterSensitiveLog, void 0).ser(se_StartEmailContactCommand).de(de_StartEmailContactCommand).build() {
15453
+ };
15454
+ __name(_StartEmailContactCommand, "StartEmailContactCommand");
15455
+ var StartEmailContactCommand = _StartEmailContactCommand;
15456
+
14693
15457
  // src/commands/StartOutboundChatContactCommand.ts
14694
15458
 
14695
15459
 
@@ -14704,6 +15468,20 @@ var _StartOutboundChatContactCommand = class _StartOutboundChatContactCommand ex
14704
15468
  __name(_StartOutboundChatContactCommand, "StartOutboundChatContactCommand");
14705
15469
  var StartOutboundChatContactCommand = _StartOutboundChatContactCommand;
14706
15470
 
15471
+ // src/commands/StartOutboundEmailContactCommand.ts
15472
+
15473
+
15474
+
15475
+ var _StartOutboundEmailContactCommand = class _StartOutboundEmailContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
15476
+ return [
15477
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
15478
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
15479
+ ];
15480
+ }).s("AmazonConnectService", "StartOutboundEmailContact", {}).n("ConnectClient", "StartOutboundEmailContactCommand").f(StartOutboundEmailContactRequestFilterSensitiveLog, void 0).ser(se_StartOutboundEmailContactCommand).de(de_StartOutboundEmailContactCommand).build() {
15481
+ };
15482
+ __name(_StartOutboundEmailContactCommand, "StartOutboundEmailContactCommand");
15483
+ var StartOutboundEmailContactCommand = _StartOutboundEmailContactCommand;
15484
+
14707
15485
  // src/commands/StartOutboundVoiceContactCommand.ts
14708
15486
 
14709
15487
 
@@ -15068,6 +15846,20 @@ var _UpdateContactScheduleCommand = class _UpdateContactScheduleCommand extends
15068
15846
  __name(_UpdateContactScheduleCommand, "UpdateContactScheduleCommand");
15069
15847
  var UpdateContactScheduleCommand = _UpdateContactScheduleCommand;
15070
15848
 
15849
+ // src/commands/UpdateEmailAddressMetadataCommand.ts
15850
+
15851
+
15852
+
15853
+ var _UpdateEmailAddressMetadataCommand = class _UpdateEmailAddressMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
15854
+ return [
15855
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
15856
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
15857
+ ];
15858
+ }).s("AmazonConnectService", "UpdateEmailAddressMetadata", {}).n("ConnectClient", "UpdateEmailAddressMetadataCommand").f(UpdateEmailAddressMetadataRequestFilterSensitiveLog, void 0).ser(se_UpdateEmailAddressMetadataCommand).de(de_UpdateEmailAddressMetadataCommand).build() {
15859
+ };
15860
+ __name(_UpdateEmailAddressMetadataCommand, "UpdateEmailAddressMetadataCommand");
15861
+ var UpdateEmailAddressMetadataCommand = _UpdateEmailAddressMetadataCommand;
15862
+
15071
15863
  // src/commands/UpdateEvaluationFormCommand.ts
15072
15864
 
15073
15865
 
@@ -15250,6 +16042,20 @@ var _UpdateQueueOutboundCallerConfigCommand = class _UpdateQueueOutboundCallerCo
15250
16042
  __name(_UpdateQueueOutboundCallerConfigCommand, "UpdateQueueOutboundCallerConfigCommand");
15251
16043
  var UpdateQueueOutboundCallerConfigCommand = _UpdateQueueOutboundCallerConfigCommand;
15252
16044
 
16045
+ // src/commands/UpdateQueueOutboundEmailConfigCommand.ts
16046
+
16047
+
16048
+
16049
+ var _UpdateQueueOutboundEmailConfigCommand = class _UpdateQueueOutboundEmailConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
16050
+ return [
16051
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
16052
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
16053
+ ];
16054
+ }).s("AmazonConnectService", "UpdateQueueOutboundEmailConfig", {}).n("ConnectClient", "UpdateQueueOutboundEmailConfigCommand").f(void 0, void 0).ser(se_UpdateQueueOutboundEmailConfigCommand).de(de_UpdateQueueOutboundEmailConfigCommand).build() {
16055
+ };
16056
+ __name(_UpdateQueueOutboundEmailConfigCommand, "UpdateQueueOutboundEmailConfigCommand");
16057
+ var UpdateQueueOutboundEmailConfigCommand = _UpdateQueueOutboundEmailConfigCommand;
16058
+
15253
16059
  // src/commands/UpdateQueueStatusCommand.ts
15254
16060
 
15255
16061
 
@@ -15583,9 +16389,11 @@ var commands = {
15583
16389
  ClaimPhoneNumberCommand,
15584
16390
  CompleteAttachedFileUploadCommand,
15585
16391
  CreateAgentStatusCommand,
16392
+ CreateContactCommand,
15586
16393
  CreateContactFlowCommand,
15587
16394
  CreateContactFlowModuleCommand,
15588
16395
  CreateContactFlowVersionCommand,
16396
+ CreateEmailAddressCommand,
15589
16397
  CreateEvaluationFormCommand,
15590
16398
  CreateHoursOfOperationCommand,
15591
16399
  CreateInstanceCommand,
@@ -15612,6 +16420,7 @@ var commands = {
15612
16420
  DeleteContactEvaluationCommand,
15613
16421
  DeleteContactFlowCommand,
15614
16422
  DeleteContactFlowModuleCommand,
16423
+ DeleteEmailAddressCommand,
15615
16424
  DeleteEvaluationFormCommand,
15616
16425
  DeleteHoursOfOperationCommand,
15617
16426
  DeleteInstanceCommand,
@@ -15637,6 +16446,7 @@ var commands = {
15637
16446
  DescribeContactEvaluationCommand,
15638
16447
  DescribeContactFlowCommand,
15639
16448
  DescribeContactFlowModuleCommand,
16449
+ DescribeEmailAddressCommand,
15640
16450
  DescribeEvaluationFormCommand,
15641
16451
  DescribeHoursOfOperationCommand,
15642
16452
  DescribeInstanceCommand,
@@ -15685,6 +16495,7 @@ var commands = {
15685
16495
  ListAgentStatusesCommand,
15686
16496
  ListAnalyticsDataAssociationsCommand,
15687
16497
  ListApprovedOriginsCommand,
16498
+ ListAssociatedContactsCommand,
15688
16499
  ListAuthenticationProfilesCommand,
15689
16500
  ListBotsCommand,
15690
16501
  ListContactEvaluationsCommand,
@@ -15740,6 +16551,7 @@ var commands = {
15740
16551
  SearchContactFlowModulesCommand,
15741
16552
  SearchContactFlowsCommand,
15742
16553
  SearchContactsCommand,
16554
+ SearchEmailAddressesCommand,
15743
16555
  SearchHoursOfOperationsCommand,
15744
16556
  SearchPredefinedAttributesCommand,
15745
16557
  SearchPromptsCommand,
@@ -15752,12 +16564,15 @@ var commands = {
15752
16564
  SearchUsersCommand,
15753
16565
  SearchVocabulariesCommand,
15754
16566
  SendChatIntegrationEventCommand,
16567
+ SendOutboundEmailCommand,
15755
16568
  StartAttachedFileUploadCommand,
15756
16569
  StartChatContactCommand,
15757
16570
  StartContactEvaluationCommand,
15758
16571
  StartContactRecordingCommand,
15759
16572
  StartContactStreamingCommand,
16573
+ StartEmailContactCommand,
15760
16574
  StartOutboundChatContactCommand,
16575
+ StartOutboundEmailContactCommand,
15761
16576
  StartOutboundVoiceContactCommand,
15762
16577
  StartScreenSharingCommand,
15763
16578
  StartTaskContactCommand,
@@ -15784,6 +16599,7 @@ var commands = {
15784
16599
  UpdateContactFlowNameCommand,
15785
16600
  UpdateContactRoutingDataCommand,
15786
16601
  UpdateContactScheduleCommand,
16602
+ UpdateEmailAddressMetadataCommand,
15787
16603
  UpdateEvaluationFormCommand,
15788
16604
  UpdateHoursOfOperationCommand,
15789
16605
  UpdateInstanceAttributeCommand,
@@ -15797,6 +16613,7 @@ var commands = {
15797
16613
  UpdateQueueMaxContactsCommand,
15798
16614
  UpdateQueueNameCommand,
15799
16615
  UpdateQueueOutboundCallerConfigCommand,
16616
+ UpdateQueueOutboundEmailConfigCommand,
15800
16617
  UpdateQueueStatusCommand,
15801
16618
  UpdateQuickConnectConfigCommand,
15802
16619
  UpdateQuickConnectNameCommand,
@@ -16112,9 +16929,11 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16112
16929
  ClaimPhoneNumberCommand,
16113
16930
  CompleteAttachedFileUploadCommand,
16114
16931
  CreateAgentStatusCommand,
16932
+ CreateContactCommand,
16115
16933
  CreateContactFlowCommand,
16116
16934
  CreateContactFlowModuleCommand,
16117
16935
  CreateContactFlowVersionCommand,
16936
+ CreateEmailAddressCommand,
16118
16937
  CreateEvaluationFormCommand,
16119
16938
  CreateHoursOfOperationCommand,
16120
16939
  CreateInstanceCommand,
@@ -16141,6 +16960,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16141
16960
  DeleteContactEvaluationCommand,
16142
16961
  DeleteContactFlowCommand,
16143
16962
  DeleteContactFlowModuleCommand,
16963
+ DeleteEmailAddressCommand,
16144
16964
  DeleteEvaluationFormCommand,
16145
16965
  DeleteHoursOfOperationCommand,
16146
16966
  DeleteInstanceCommand,
@@ -16166,6 +16986,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16166
16986
  DescribeContactEvaluationCommand,
16167
16987
  DescribeContactFlowCommand,
16168
16988
  DescribeContactFlowModuleCommand,
16989
+ DescribeEmailAddressCommand,
16169
16990
  DescribeEvaluationFormCommand,
16170
16991
  DescribeHoursOfOperationCommand,
16171
16992
  DescribeInstanceAttributeCommand,
@@ -16214,6 +17035,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16214
17035
  ListAgentStatusesCommand,
16215
17036
  ListAnalyticsDataAssociationsCommand,
16216
17037
  ListApprovedOriginsCommand,
17038
+ ListAssociatedContactsCommand,
16217
17039
  ListAuthenticationProfilesCommand,
16218
17040
  ListBotsCommand,
16219
17041
  ListContactEvaluationsCommand,
@@ -16269,6 +17091,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16269
17091
  SearchContactFlowModulesCommand,
16270
17092
  SearchContactFlowsCommand,
16271
17093
  SearchContactsCommand,
17094
+ SearchEmailAddressesCommand,
16272
17095
  SearchHoursOfOperationsCommand,
16273
17096
  SearchPredefinedAttributesCommand,
16274
17097
  SearchPromptsCommand,
@@ -16281,12 +17104,15 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16281
17104
  SearchUsersCommand,
16282
17105
  SearchVocabulariesCommand,
16283
17106
  SendChatIntegrationEventCommand,
17107
+ SendOutboundEmailCommand,
16284
17108
  StartAttachedFileUploadCommand,
16285
17109
  StartChatContactCommand,
16286
17110
  StartContactEvaluationCommand,
16287
17111
  StartContactRecordingCommand,
16288
17112
  StartContactStreamingCommand,
17113
+ StartEmailContactCommand,
16289
17114
  StartOutboundChatContactCommand,
17115
+ StartOutboundEmailContactCommand,
16290
17116
  StartOutboundVoiceContactCommand,
16291
17117
  StartScreenSharingCommand,
16292
17118
  StartTaskContactCommand,
@@ -16313,6 +17139,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16313
17139
  UpdateContactFlowNameCommand,
16314
17140
  UpdateContactRoutingDataCommand,
16315
17141
  UpdateContactScheduleCommand,
17142
+ UpdateEmailAddressMetadataCommand,
16316
17143
  UpdateEvaluationFormCommand,
16317
17144
  UpdateHoursOfOperationCommand,
16318
17145
  UpdateInstanceAttributeCommand,
@@ -16326,6 +17153,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16326
17153
  UpdateQueueMaxContactsCommand,
16327
17154
  UpdateQueueNameCommand,
16328
17155
  UpdateQueueOutboundCallerConfigCommand,
17156
+ UpdateQueueOutboundEmailConfigCommand,
16329
17157
  UpdateQueueStatusCommand,
16330
17158
  UpdateQuickConnectConfigCommand,
16331
17159
  UpdateQuickConnectNameCommand,
@@ -16432,6 +17260,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16432
17260
  AttachedFileInvalidRequestExceptionReason,
16433
17261
  InvalidRequestExceptionReason,
16434
17262
  InvalidRequestException,
17263
+ AttachedFileServiceQuotaExceededExceptionReason,
17264
+ ServiceQuotaExceededExceptionReason,
16435
17265
  ServiceQuotaExceededException,
16436
17266
  LimitExceededException,
16437
17267
  VocabularyLanguageCode,
@@ -16447,6 +17277,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16447
17277
  FailureReasonCode,
16448
17278
  IdempotencyException,
16449
17279
  DuplicateResourceException,
17280
+ ConflictException,
17281
+ InitiateAs,
17282
+ ReferenceStatus,
17283
+ ReferenceType,
16450
17284
  ContactFlowStatus,
16451
17285
  ContactFlowType,
16452
17286
  InvalidContactFlowException,
@@ -16471,7 +17305,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16471
17305
  BehaviorType,
16472
17306
  NotificationContentType,
16473
17307
  NotificationDeliveryType,
16474
- ReferenceType,
16475
17308
  RulePublishStatus,
16476
17309
  EventSourceName,
16477
17310
  TaskTemplateFieldType,
@@ -16487,7 +17320,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16487
17320
  ResourceInUseException,
16488
17321
  TooManyRequestsException,
16489
17322
  VocabularyState,
16490
- AnsweringMachineDetectionStatus,
17323
+ CreateContactRequestFilterSensitiveLog,
17324
+ CreateEmailAddressRequestFilterSensitiveLog,
16491
17325
  CreateInstanceRequestFilterSensitiveLog,
16492
17326
  UserIdentityInfoFilterSensitiveLog,
16493
17327
  CreateUserRequestFilterSensitiveLog,
@@ -16497,6 +17331,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16497
17331
  ViewFilterSensitiveLog,
16498
17332
  CreateViewResponseFilterSensitiveLog,
16499
17333
  CreateViewVersionResponseFilterSensitiveLog,
17334
+ AnsweringMachineDetectionStatus,
16500
17335
  RoutingCriteriaStepStatus,
16501
17336
  EvaluationAnswerData,
16502
17337
  EvaluationStatus,
@@ -16523,7 +17358,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16523
17358
  Comparison,
16524
17359
  IntervalPeriod,
16525
17360
  LexVersion,
16526
- ReferenceStatus,
16527
17361
  ReferenceSummary,
16528
17362
  QueueType,
16529
17363
  RealTimeContactAnalysisOutputType,
@@ -16533,10 +17367,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16533
17367
  RealTimeContactAnalysisTimeData,
16534
17368
  RealTimeContactAnalysisPostContactSummaryFailureCode,
16535
17369
  RealTimeContactAnalysisPostContactSummaryStatus,
16536
- RealTimeContactAnalysisSentimentLabel,
16537
- RealtimeContactAnalysisSegment,
16538
- RealTimeContactAnalysisStatus,
16539
- OutputTypeNotFoundException,
17370
+ DescribeEmailAddressResponseFilterSensitiveLog,
16540
17371
  InstanceFilterSensitiveLog,
16541
17372
  DescribeInstanceResponseFilterSensitiveLog,
16542
17373
  UserFilterSensitiveLog,
@@ -16546,7 +17377,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16546
17377
  GetFederationTokenResponseFilterSensitiveLog,
16547
17378
  InstanceSummaryFilterSensitiveLog,
16548
17379
  ListInstancesResponseFilterSensitiveLog,
16549
- ConflictException,
17380
+ RealTimeContactAnalysisSentimentLabel,
17381
+ RealtimeContactAnalysisSegment,
17382
+ RealTimeContactAnalysisStatus,
17383
+ OutputTypeNotFoundException,
16550
17384
  SearchContactsMatchType,
16551
17385
  SortableFieldName,
16552
17386
  SearchContactsTimeRangeType,
@@ -16556,10 +17390,13 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16556
17390
  NumberComparisonType,
16557
17391
  TargetListType,
16558
17392
  ChatEventType,
17393
+ OutboundMessageSourceType,
17394
+ TrafficType,
16559
17395
  VoiceRecordingTrack,
17396
+ InboundMessageSourceType,
17397
+ EmailHeaderType,
16560
17398
  DestinationNotAllowedException,
16561
17399
  OutboundContactNotPermittedException,
16562
- TrafficType,
16563
17400
  MeetingFeatureStatus,
16564
17401
  ContactNotFoundException,
16565
17402
  TimerEligibleParticipantRoles,
@@ -16567,6 +17404,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16567
17404
  ParticipantTimerAction,
16568
17405
  ParticipantTimerValue,
16569
17406
  UpdateParticipantRoleConfigChannelInfo,
17407
+ ConditionalOperationFailedException,
16570
17408
  EvaluationFormItem,
16571
17409
  ViewSummaryFilterSensitiveLog,
16572
17410
  ListViewsResponseFilterSensitiveLog,
@@ -16578,11 +17416,25 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16578
17416
  ContactAnalysisFilterSensitiveLog,
16579
17417
  SearchableContactAttributesCriteriaFilterSensitiveLog,
16580
17418
  SearchableContactAttributesFilterSensitiveLog,
17419
+ SearchableSegmentAttributesCriteriaFilterSensitiveLog,
17420
+ SearchableSegmentAttributesFilterSensitiveLog,
16581
17421
  SearchCriteriaFilterSensitiveLog,
16582
17422
  SearchContactsRequestFilterSensitiveLog,
17423
+ EmailAddressMetadataFilterSensitiveLog,
17424
+ SearchEmailAddressesResponseFilterSensitiveLog,
16583
17425
  UserIdentityInfoLiteFilterSensitiveLog,
16584
17426
  UserSearchSummaryFilterSensitiveLog,
16585
17427
  SearchUsersResponseFilterSensitiveLog,
17428
+ EmailAddressInfoFilterSensitiveLog,
17429
+ OutboundAdditionalRecipientsFilterSensitiveLog,
17430
+ OutboundRawMessageFilterSensitiveLog,
17431
+ OutboundEmailContentFilterSensitiveLog,
17432
+ SendOutboundEmailRequestFilterSensitiveLog,
17433
+ InboundAdditionalRecipientsFilterSensitiveLog,
17434
+ InboundRawMessageFilterSensitiveLog,
17435
+ InboundEmailContentFilterSensitiveLog,
17436
+ StartEmailContactRequestFilterSensitiveLog,
17437
+ StartOutboundEmailContactRequestFilterSensitiveLog,
16586
17438
  StartOutboundVoiceContactRequestFilterSensitiveLog,
16587
17439
  StartTaskContactRequestFilterSensitiveLog,
16588
17440
  StartWebRTCContactRequestFilterSensitiveLog,
@@ -16590,6 +17442,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16590
17442
  ConnectionDataFilterSensitiveLog,
16591
17443
  StartWebRTCContactResponseFilterSensitiveLog,
16592
17444
  UpdateContactRequestFilterSensitiveLog,
17445
+ UpdateEmailAddressMetadataRequestFilterSensitiveLog,
16593
17446
  UpdateUserIdentityInfoRequestFilterSensitiveLog,
16594
17447
  UpdateViewContentRequestFilterSensitiveLog,
16595
17448
  UpdateViewContentResponseFilterSensitiveLog,