@aws-sdk/client-connect 3.696.0 → 3.701.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 (169) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +1021 -119
  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/StartTaskContactCommand.js +1 -1
  15. package/dist-es/commands/UpdateContactCommand.js +1 -1
  16. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +23 -0
  17. package/dist-es/commands/UpdateQueueOutboundEmailConfigCommand.js +22 -0
  18. package/dist-es/commands/index.js +11 -0
  19. package/dist-es/models/index.js +1 -0
  20. package/dist-es/models/models_0.js +67 -24
  21. package/dist-es/models/models_1.js +24 -40
  22. package/dist-es/models/models_2.js +142 -19
  23. package/dist-es/models/models_3.js +33 -0
  24. package/dist-es/protocols/Aws_restJson1.js +470 -10
  25. package/dist-types/Connect.d.ts +77 -0
  26. package/dist-types/ConnectClient.d.ts +13 -2
  27. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
  30. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
  31. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  32. package/dist-types/commands/BatchPutContactCommand.d.ts +2 -2
  33. package/dist-types/commands/CreateContactCommand.d.ts +139 -0
  34. package/dist-types/commands/CreateEmailAddressCommand.d.ts +111 -0
  35. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateQueueCommand.d.ts +3 -0
  37. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -2
  38. package/dist-types/commands/CreateRuleCommand.d.ts +5 -2
  39. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -1
  40. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +91 -0
  41. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -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 +39 -4
  45. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  47. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +99 -0
  49. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeQueueCommand.d.ts +3 -0
  52. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeRuleCommand.d.ts +5 -2
  54. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  57. package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
  58. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
  59. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -2
  60. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  61. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
  62. package/dist-types/commands/GetTaskTemplateCommand.d.ts +2 -1
  63. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +103 -0
  64. package/dist-types/commands/ListContactReferencesCommand.d.ts +7 -2
  65. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  66. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  68. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +3 -2
  69. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -2
  70. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  71. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  73. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
  75. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
  76. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -1
  77. package/dist-types/commands/SearchContactFlowsCommand.d.ts +3 -4
  78. package/dist-types/commands/SearchContactsCommand.d.ts +20 -4
  79. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +146 -0
  80. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  81. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  82. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
  83. package/dist-types/commands/SearchQueuesCommand.d.ts +5 -1
  84. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  85. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -2
  86. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  87. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  88. package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
  89. package/dist-types/commands/SendOutboundEmailCommand.d.ts +135 -0
  90. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +4 -2
  91. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  92. package/dist-types/commands/StartEmailContactCommand.d.ts +162 -0
  93. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
  94. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +129 -0
  95. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
  96. package/dist-types/commands/StartTaskContactCommand.d.ts +22 -3
  97. package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
  98. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  99. package/dist-types/commands/UpdateContactCommand.d.ts +22 -3
  100. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  101. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  102. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
  103. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +98 -0
  104. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
  105. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +94 -0
  107. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateRuleCommand.d.ts +5 -2
  110. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
  111. package/dist-types/commands/index.d.ts +11 -0
  112. package/dist-types/models/index.d.ts +1 -0
  113. package/dist-types/models/models_0.d.ts +317 -321
  114. package/dist-types/models/models_1.d.ts +567 -624
  115. package/dist-types/models/models_2.d.ts +3704 -3854
  116. package/dist-types/models/models_3.d.ts +1650 -0
  117. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  118. package/dist-types/ts3.4/Connect.d.ts +187 -0
  119. package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
  120. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +48 -0
  121. package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  124. package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -2
  127. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeEmailAddressCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -4
  132. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -2
  138. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
  139. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
  140. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
  141. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +49 -0
  142. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  143. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
  145. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
  146. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  147. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  148. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  149. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  150. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
  151. package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  153. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +49 -0
  154. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  155. package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  157. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  158. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
  159. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +51 -0
  160. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
  161. package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +47 -0
  162. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  163. package/dist-types/ts3.4/models/index.d.ts +1 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +122 -90
  165. package/dist-types/ts3.4/models/models_1.d.ts +155 -213
  166. package/dist-types/ts3.4/models/models_2.d.ts +436 -296
  167. package/dist-types/ts3.4/models/models_3.d.ts +363 -0
  168. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  169. package/package.json +4 -4
@@ -1,24 +1,27 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
- ActionSummary,
5
4
  AgentAvailabilityTimer,
6
5
  AgentConfig,
7
6
  AgentContactReference,
7
+ AgentQualityMetrics,
8
8
  AgentsCriteria,
9
+ AgentStatus,
9
10
  AgentStatusReference,
10
11
  AgentStatusSummary,
11
12
  AgentStatusType,
12
13
  AnalyticsDataAssociationResult,
13
- Application,
14
+ AudioQualityMetricsInfo,
14
15
  Channel,
15
16
  ContactFlowStatus,
16
17
  ContactFlowType,
18
+ ContactInitiationMethod,
17
19
  ContactState,
18
20
  CreatedByInfo,
21
+ DeviceInfo,
19
22
  DirectoryType,
20
23
  Distribution,
21
- EventSourceName,
24
+ EndpointType,
22
25
  FileStatusType,
23
26
  FileUseCaseType,
24
27
  FlowAssociationResourceType,
@@ -32,11 +35,14 @@ import {
32
35
  ListFlowAssociationResourceType,
33
36
  MediaConcurrency,
34
37
  OutboundCallerConfig,
38
+ OutboundEmailConfig,
39
+ ParticipantCapabilities,
35
40
  ParticipantRole,
36
41
  PredefinedAttributeValues,
37
42
  QueueReference,
38
43
  QuickConnectConfig,
39
44
  QuickConnectType,
45
+ ReferenceStatus,
40
46
  ReferenceType,
41
47
  RoutingProfileQueueReference,
42
48
  RuleAction,
@@ -53,6 +59,88 @@ import {
53
59
  VocabularyLanguageCode,
54
60
  VocabularyState,
55
61
  } from "./models_0";
62
+ export interface DeleteVocabularyResponse {
63
+ VocabularyArn: string | undefined;
64
+ VocabularyId: string | undefined;
65
+ State: VocabularyState | undefined;
66
+ }
67
+ export interface DescribeAgentStatusRequest {
68
+ InstanceId: string | undefined;
69
+ AgentStatusId: string | undefined;
70
+ }
71
+ export interface DescribeAgentStatusResponse {
72
+ AgentStatus?: AgentStatus | undefined;
73
+ }
74
+ export interface DescribeAuthenticationProfileRequest {
75
+ AuthenticationProfileId: string | undefined;
76
+ InstanceId: string | undefined;
77
+ }
78
+ export interface AuthenticationProfile {
79
+ Id?: string | undefined;
80
+ Arn?: string | undefined;
81
+ Name?: string | undefined;
82
+ Description?: string | undefined;
83
+ AllowedIps?: string[] | undefined;
84
+ BlockedIps?: string[] | undefined;
85
+ IsDefault?: boolean | undefined;
86
+ CreatedTime?: Date | undefined;
87
+ LastModifiedTime?: Date | undefined;
88
+ LastModifiedRegion?: string | undefined;
89
+ PeriodicSessionDuration?: number | undefined;
90
+ MaxSessionDuration?: number | undefined;
91
+ }
92
+ export interface DescribeAuthenticationProfileResponse {
93
+ AuthenticationProfile?: AuthenticationProfile | undefined;
94
+ }
95
+ export interface DescribeContactRequest {
96
+ InstanceId: string | undefined;
97
+ ContactId: string | undefined;
98
+ }
99
+ export declare const AnsweringMachineDetectionStatus: {
100
+ readonly AMD_ERROR: "AMD_ERROR";
101
+ readonly AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE";
102
+ readonly AMD_UNANSWERED: "AMD_UNANSWERED";
103
+ readonly AMD_UNRESOLVED: "AMD_UNRESOLVED";
104
+ readonly ANSWERED: "ANSWERED";
105
+ readonly ERROR: "ERROR";
106
+ readonly FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED";
107
+ readonly HUMAN_ANSWERED: "HUMAN_ANSWERED";
108
+ readonly SIT_TONE_BUSY: "SIT_TONE_BUSY";
109
+ readonly SIT_TONE_DETECTED: "SIT_TONE_DETECTED";
110
+ readonly SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER";
111
+ readonly UNDETECTED: "UNDETECTED";
112
+ readonly VOICEMAIL_BEEP: "VOICEMAIL_BEEP";
113
+ readonly VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP";
114
+ };
115
+ export type AnsweringMachineDetectionStatus =
116
+ (typeof AnsweringMachineDetectionStatus)[keyof typeof AnsweringMachineDetectionStatus];
117
+ export interface Customer {
118
+ DeviceInfo?: DeviceInfo | undefined;
119
+ Capabilities?: ParticipantCapabilities | undefined;
120
+ }
121
+ export interface EndpointInfo {
122
+ Type?: EndpointType | undefined;
123
+ Address?: string | undefined;
124
+ DisplayName?: string | undefined;
125
+ }
126
+ export interface CustomerVoiceActivity {
127
+ GreetingStartTimestamp?: Date | undefined;
128
+ GreetingEndTimestamp?: Date | undefined;
129
+ }
130
+ export interface DisconnectDetails {
131
+ PotentialDisconnectIssue?: string | undefined;
132
+ }
133
+ export interface CustomerQualityMetrics {
134
+ Audio?: AudioQualityMetricsInfo | undefined;
135
+ }
136
+ export interface QualityMetrics {
137
+ Agent?: AgentQualityMetrics | undefined;
138
+ Customer?: CustomerQualityMetrics | undefined;
139
+ }
140
+ export interface QueueInfo {
141
+ Id?: string | undefined;
142
+ EnqueueTimestamp?: Date | undefined;
143
+ }
56
144
  export interface Expiry {
57
145
  DurationInSeconds?: number | undefined;
58
146
  ExpiryTimestamp?: Date | undefined;
@@ -75,9 +163,6 @@ export declare const RoutingCriteriaStepStatus: {
75
163
  };
76
164
  export type RoutingCriteriaStepStatus =
77
165
  (typeof RoutingCriteriaStepStatus)[keyof typeof RoutingCriteriaStepStatus];
78
- export interface SegmentAttributeValue {
79
- ValueString?: string | undefined;
80
- }
81
166
  export interface WisdomInfo {
82
167
  SessionArn?: string | undefined;
83
168
  }
@@ -190,7 +275,6 @@ export interface ContactFlow {
190
275
  Description?: string | undefined;
191
276
  Content?: string | undefined;
192
277
  Tags?: Record<string, string> | undefined;
193
- IsDefault?: boolean | undefined;
194
278
  FlowContentSha256?: string | undefined;
195
279
  Version?: number | undefined;
196
280
  VersionDescription?: string | undefined;
@@ -229,6 +313,20 @@ export interface ContactFlowModule {
229
313
  export interface DescribeContactFlowModuleResponse {
230
314
  ContactFlowModule?: ContactFlowModule | undefined;
231
315
  }
316
+ export interface DescribeEmailAddressRequest {
317
+ InstanceId: string | undefined;
318
+ EmailAddressId: string | undefined;
319
+ }
320
+ export interface DescribeEmailAddressResponse {
321
+ EmailAddressId?: string | undefined;
322
+ EmailAddressArn?: string | undefined;
323
+ EmailAddress?: string | undefined;
324
+ DisplayName?: string | undefined;
325
+ Description?: string | undefined;
326
+ CreateTimestamp?: string | undefined;
327
+ ModifiedTimestamp?: string | undefined;
328
+ Tags?: Record<string, string> | undefined;
329
+ }
232
330
  export interface DescribeEvaluationFormRequest {
233
331
  InstanceId: string | undefined;
234
332
  EvaluationFormId: string | undefined;
@@ -669,6 +767,7 @@ export interface Queue {
669
767
  QueueId?: string | undefined;
670
768
  Description?: string | undefined;
671
769
  OutboundCallerConfig?: OutboundCallerConfig | undefined;
770
+ OutboundEmailConfig?: OutboundEmailConfig | undefined;
672
771
  HoursOfOperationId?: string | undefined;
673
772
  MaxContacts?: number | undefined;
674
773
  Status?: QueueStatus | undefined;
@@ -1302,6 +1401,7 @@ export interface GetTaskTemplateResponse {
1302
1401
  Name: string | undefined;
1303
1402
  Description?: string | undefined;
1304
1403
  ContactFlowId?: string | undefined;
1404
+ SelfAssignFlowId?: string | undefined;
1305
1405
  Constraints?: TaskTemplateConstraints | undefined;
1306
1406
  Defaults?: TaskTemplateDefaults | undefined;
1307
1407
  Fields?: TaskTemplateField[] | undefined;
@@ -1370,6 +1470,27 @@ export interface ListApprovedOriginsResponse {
1370
1470
  Origins?: string[] | undefined;
1371
1471
  NextToken?: string | undefined;
1372
1472
  }
1473
+ export interface ListAssociatedContactsRequest {
1474
+ InstanceId: string | undefined;
1475
+ ContactId: string | undefined;
1476
+ MaxResults?: number | undefined;
1477
+ NextToken?: string | undefined;
1478
+ }
1479
+ export interface AssociatedContactSummary {
1480
+ ContactId?: string | undefined;
1481
+ ContactArn?: string | undefined;
1482
+ InitiationTimestamp?: Date | undefined;
1483
+ DisconnectTimestamp?: Date | undefined;
1484
+ InitialContactId?: string | undefined;
1485
+ PreviousContactId?: string | undefined;
1486
+ RelatedContactId?: string | undefined;
1487
+ InitiationMethod?: ContactInitiationMethod | undefined;
1488
+ Channel?: Channel | undefined;
1489
+ }
1490
+ export interface ListAssociatedContactsResponse {
1491
+ ContactSummaryList?: AssociatedContactSummary[] | undefined;
1492
+ NextToken?: string | undefined;
1493
+ }
1373
1494
  export interface ListAuthenticationProfilesRequest {
1374
1495
  InstanceId: string | undefined;
1375
1496
  MaxResults?: number | undefined;
@@ -1481,16 +1602,11 @@ export interface ListContactReferencesRequest {
1481
1602
  ReferenceTypes: ReferenceType[] | undefined;
1482
1603
  NextToken?: string | undefined;
1483
1604
  }
1484
- export declare const ReferenceStatus: {
1485
- readonly APPROVED: "APPROVED";
1486
- readonly REJECTED: "REJECTED";
1487
- };
1488
- export type ReferenceStatus =
1489
- (typeof ReferenceStatus)[keyof typeof ReferenceStatus];
1490
1605
  export interface AttachmentReference {
1491
1606
  Name?: string | undefined;
1492
1607
  Value?: string | undefined;
1493
1608
  Status?: ReferenceStatus | undefined;
1609
+ Arn?: string | undefined;
1494
1610
  }
1495
1611
  export interface DateReference {
1496
1612
  Name?: string | undefined;
@@ -1500,6 +1616,10 @@ export interface EmailReference {
1500
1616
  Name?: string | undefined;
1501
1617
  Value?: string | undefined;
1502
1618
  }
1619
+ export interface EmailMessageReference {
1620
+ Name?: string | undefined;
1621
+ Arn?: string | undefined;
1622
+ }
1503
1623
  export interface NumberReference {
1504
1624
  Name?: string | undefined;
1505
1625
  Value?: string | undefined;
@@ -1516,6 +1636,7 @@ export type ReferenceSummary =
1516
1636
  | ReferenceSummary.AttachmentMember
1517
1637
  | ReferenceSummary.DateMember
1518
1638
  | ReferenceSummary.EmailMember
1639
+ | ReferenceSummary.EmailMessageMember
1519
1640
  | ReferenceSummary.NumberMember
1520
1641
  | ReferenceSummary.StringMember
1521
1642
  | ReferenceSummary.UrlMember
@@ -1524,6 +1645,7 @@ export declare namespace ReferenceSummary {
1524
1645
  interface UrlMember {
1525
1646
  Url: UrlReference;
1526
1647
  Attachment?: never;
1648
+ EmailMessage?: never;
1527
1649
  String?: never;
1528
1650
  Number?: never;
1529
1651
  Date?: never;
@@ -1533,6 +1655,17 @@ export declare namespace ReferenceSummary {
1533
1655
  interface AttachmentMember {
1534
1656
  Url?: never;
1535
1657
  Attachment: AttachmentReference;
1658
+ EmailMessage?: never;
1659
+ String?: never;
1660
+ Number?: never;
1661
+ Date?: never;
1662
+ Email?: never;
1663
+ $unknown?: never;
1664
+ }
1665
+ interface EmailMessageMember {
1666
+ Url?: never;
1667
+ Attachment?: never;
1668
+ EmailMessage: EmailMessageReference;
1536
1669
  String?: never;
1537
1670
  Number?: never;
1538
1671
  Date?: never;
@@ -1542,6 +1675,7 @@ export declare namespace ReferenceSummary {
1542
1675
  interface StringMember {
1543
1676
  Url?: never;
1544
1677
  Attachment?: never;
1678
+ EmailMessage?: never;
1545
1679
  String: StringReference;
1546
1680
  Number?: never;
1547
1681
  Date?: never;
@@ -1551,6 +1685,7 @@ export declare namespace ReferenceSummary {
1551
1685
  interface NumberMember {
1552
1686
  Url?: never;
1553
1687
  Attachment?: never;
1688
+ EmailMessage?: never;
1554
1689
  String?: never;
1555
1690
  Number: NumberReference;
1556
1691
  Date?: never;
@@ -1560,6 +1695,7 @@ export declare namespace ReferenceSummary {
1560
1695
  interface DateMember {
1561
1696
  Url?: never;
1562
1697
  Attachment?: never;
1698
+ EmailMessage?: never;
1563
1699
  String?: never;
1564
1700
  Number?: never;
1565
1701
  Date: DateReference;
@@ -1569,6 +1705,7 @@ export declare namespace ReferenceSummary {
1569
1705
  interface EmailMember {
1570
1706
  Url?: never;
1571
1707
  Attachment?: never;
1708
+ EmailMessage?: never;
1572
1709
  String?: never;
1573
1710
  Number?: never;
1574
1711
  Date?: never;
@@ -1578,6 +1715,7 @@ export declare namespace ReferenceSummary {
1578
1715
  interface $UnknownMember {
1579
1716
  Url?: never;
1580
1717
  Attachment?: never;
1718
+ EmailMessage?: never;
1581
1719
  String?: never;
1582
1720
  Number?: never;
1583
1721
  Date?: never;
@@ -1587,6 +1725,7 @@ export declare namespace ReferenceSummary {
1587
1725
  interface Visitor<T> {
1588
1726
  Url: (value: UrlReference) => T;
1589
1727
  Attachment: (value: AttachmentReference) => T;
1728
+ EmailMessage: (value: EmailMessageReference) => T;
1590
1729
  String: (value: StringReference) => T;
1591
1730
  Number: (value: NumberReference) => T;
1592
1731
  Date: (value: DateReference) => T;
@@ -2046,206 +2185,9 @@ export interface RealTimeContactAnalysisSegmentTranscript {
2046
2185
  Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
2047
2186
  Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
2048
2187
  }
2049
- export type RealtimeContactAnalysisSegment =
2050
- | RealtimeContactAnalysisSegment.AttachmentsMember
2051
- | RealtimeContactAnalysisSegment.CategoriesMember
2052
- | RealtimeContactAnalysisSegment.EventMember
2053
- | RealtimeContactAnalysisSegment.IssuesMember
2054
- | RealtimeContactAnalysisSegment.PostContactSummaryMember
2055
- | RealtimeContactAnalysisSegment.TranscriptMember
2056
- | RealtimeContactAnalysisSegment.$UnknownMember;
2057
- export declare namespace RealtimeContactAnalysisSegment {
2058
- interface TranscriptMember {
2059
- Transcript: RealTimeContactAnalysisSegmentTranscript;
2060
- Categories?: never;
2061
- Issues?: never;
2062
- Event?: never;
2063
- Attachments?: never;
2064
- PostContactSummary?: never;
2065
- $unknown?: never;
2066
- }
2067
- interface CategoriesMember {
2068
- Transcript?: never;
2069
- Categories: RealTimeContactAnalysisSegmentCategories;
2070
- Issues?: never;
2071
- Event?: never;
2072
- Attachments?: never;
2073
- PostContactSummary?: never;
2074
- $unknown?: never;
2075
- }
2076
- interface IssuesMember {
2077
- Transcript?: never;
2078
- Categories?: never;
2079
- Issues: RealTimeContactAnalysisSegmentIssues;
2080
- Event?: never;
2081
- Attachments?: never;
2082
- PostContactSummary?: never;
2083
- $unknown?: never;
2084
- }
2085
- interface EventMember {
2086
- Transcript?: never;
2087
- Categories?: never;
2088
- Issues?: never;
2089
- Event: RealTimeContactAnalysisSegmentEvent;
2090
- Attachments?: never;
2091
- PostContactSummary?: never;
2092
- $unknown?: never;
2093
- }
2094
- interface AttachmentsMember {
2095
- Transcript?: never;
2096
- Categories?: never;
2097
- Issues?: never;
2098
- Event?: never;
2099
- Attachments: RealTimeContactAnalysisSegmentAttachments;
2100
- PostContactSummary?: never;
2101
- $unknown?: never;
2102
- }
2103
- interface PostContactSummaryMember {
2104
- Transcript?: never;
2105
- Categories?: never;
2106
- Issues?: never;
2107
- Event?: never;
2108
- Attachments?: never;
2109
- PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary;
2110
- $unknown?: never;
2111
- }
2112
- interface $UnknownMember {
2113
- Transcript?: never;
2114
- Categories?: never;
2115
- Issues?: never;
2116
- Event?: never;
2117
- Attachments?: never;
2118
- PostContactSummary?: never;
2119
- $unknown: [string, any];
2120
- }
2121
- interface Visitor<T> {
2122
- Transcript: (value: RealTimeContactAnalysisSegmentTranscript) => T;
2123
- Categories: (value: RealTimeContactAnalysisSegmentCategories) => T;
2124
- Issues: (value: RealTimeContactAnalysisSegmentIssues) => T;
2125
- Event: (value: RealTimeContactAnalysisSegmentEvent) => T;
2126
- Attachments: (value: RealTimeContactAnalysisSegmentAttachments) => T;
2127
- PostContactSummary: (
2128
- value: RealTimeContactAnalysisSegmentPostContactSummary
2129
- ) => T;
2130
- _: (name: string, value: any) => T;
2131
- }
2132
- const visit: <T>(
2133
- value: RealtimeContactAnalysisSegment,
2134
- visitor: Visitor<T>
2135
- ) => T;
2136
- }
2137
- export declare const RealTimeContactAnalysisStatus: {
2138
- readonly COMPLETED: "COMPLETED";
2139
- readonly FAILED: "FAILED";
2140
- readonly IN_PROGRESS: "IN_PROGRESS";
2141
- };
2142
- export type RealTimeContactAnalysisStatus =
2143
- (typeof RealTimeContactAnalysisStatus)[keyof typeof RealTimeContactAnalysisStatus];
2144
- export interface ListRealtimeContactAnalysisSegmentsV2Response {
2145
- Channel: RealTimeContactAnalysisSupportedChannel | undefined;
2146
- Status: RealTimeContactAnalysisStatus | undefined;
2147
- Segments: RealtimeContactAnalysisSegment[] | undefined;
2148
- NextToken?: string | undefined;
2149
- }
2150
- export declare class OutputTypeNotFoundException extends __BaseException {
2151
- readonly name: "OutputTypeNotFoundException";
2152
- readonly $fault: "client";
2153
- Message?: string | undefined;
2154
- constructor(
2155
- opts: __ExceptionOptionType<OutputTypeNotFoundException, __BaseException>
2156
- );
2157
- }
2158
- export interface ListRoutingProfileQueuesRequest {
2159
- InstanceId: string | undefined;
2160
- RoutingProfileId: string | undefined;
2161
- NextToken?: string | undefined;
2162
- MaxResults?: number | undefined;
2163
- }
2164
- export interface RoutingProfileQueueConfigSummary {
2165
- QueueId: string | undefined;
2166
- QueueArn: string | undefined;
2167
- QueueName: string | undefined;
2168
- Priority: number | undefined;
2169
- Delay: number | undefined;
2170
- Channel: Channel | undefined;
2171
- }
2172
- export interface ListRoutingProfileQueuesResponse {
2173
- NextToken?: string | undefined;
2174
- RoutingProfileQueueConfigSummaryList?:
2175
- | RoutingProfileQueueConfigSummary[]
2176
- | undefined;
2177
- LastModifiedTime?: Date | undefined;
2178
- LastModifiedRegion?: string | undefined;
2179
- }
2180
- export interface ListRoutingProfilesRequest {
2181
- InstanceId: string | undefined;
2182
- NextToken?: string | undefined;
2183
- MaxResults?: number | undefined;
2184
- }
2185
- export interface RoutingProfileSummary {
2186
- Id?: string | undefined;
2187
- Arn?: string | undefined;
2188
- Name?: string | undefined;
2189
- LastModifiedTime?: Date | undefined;
2190
- LastModifiedRegion?: string | undefined;
2191
- }
2192
- export interface ListRoutingProfilesResponse {
2193
- RoutingProfileSummaryList?: RoutingProfileSummary[] | undefined;
2194
- NextToken?: string | undefined;
2195
- }
2196
- export interface ListRulesRequest {
2197
- InstanceId: string | undefined;
2198
- PublishStatus?: RulePublishStatus | undefined;
2199
- EventSourceName?: EventSourceName | undefined;
2200
- MaxResults?: number | undefined;
2201
- NextToken?: string | undefined;
2202
- }
2203
- export interface RuleSummary {
2204
- Name: string | undefined;
2205
- RuleId: string | undefined;
2206
- RuleArn: string | undefined;
2207
- EventSourceName: EventSourceName | undefined;
2208
- PublishStatus: RulePublishStatus | undefined;
2209
- ActionSummaries: ActionSummary[] | undefined;
2210
- CreatedTime: Date | undefined;
2211
- LastUpdatedTime: Date | undefined;
2212
- }
2213
- export interface ListRulesResponse {
2214
- RuleSummaryList: RuleSummary[] | undefined;
2215
- NextToken?: string | undefined;
2216
- }
2217
- export interface ListSecurityKeysRequest {
2218
- InstanceId: string | undefined;
2219
- NextToken?: string | undefined;
2220
- MaxResults?: number | undefined;
2221
- }
2222
- export interface SecurityKey {
2223
- AssociationId?: string | undefined;
2224
- Key?: string | undefined;
2225
- CreationTime?: Date | undefined;
2226
- }
2227
- export interface ListSecurityKeysResponse {
2228
- SecurityKeys?: SecurityKey[] | undefined;
2229
- NextToken?: string | undefined;
2230
- }
2231
- export interface ListSecurityProfileApplicationsRequest {
2232
- SecurityProfileId: string | undefined;
2233
- InstanceId: string | undefined;
2234
- NextToken?: string | undefined;
2235
- MaxResults?: number | undefined;
2236
- }
2237
- export interface ListSecurityProfileApplicationsResponse {
2238
- Applications?: Application[] | undefined;
2239
- NextToken?: string | undefined;
2240
- LastModifiedTime?: Date | undefined;
2241
- LastModifiedRegion?: string | undefined;
2242
- }
2243
- export interface ListSecurityProfilePermissionsRequest {
2244
- SecurityProfileId: string | undefined;
2245
- InstanceId: string | undefined;
2246
- NextToken?: string | undefined;
2247
- MaxResults?: number | undefined;
2248
- }
2188
+ export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
2189
+ obj: DescribeEmailAddressResponse
2190
+ ) => any;
2249
2191
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2250
2192
  export declare const DescribeInstanceResponseFilterSensitiveLog: (
2251
2193
  obj: DescribeInstanceResponse