@aws-sdk/client-connect 3.1082.0 → 3.1084.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 (39) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +57 -3
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/DeleteContactDataCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +5 -0
  7. package/dist-es/models/errors.js +14 -0
  8. package/dist-es/schemas/schemas_0.js +28 -3
  9. package/dist-types/Connect.d.ts +7 -0
  10. package/dist-types/ConnectClient.d.ts +3 -2
  11. package/dist-types/commands/DeleteContactDataCommand.d.ts +102 -0
  12. package/dist-types/commands/GetFlowAssociationCommand.d.ts +1 -1
  13. package/dist-types/commands/SearchContactsCommand.d.ts +1 -1
  14. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
  15. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
  16. package/dist-types/commands/index.d.ts +1 -0
  17. package/dist-types/models/enums.d.ts +13 -0
  18. package/dist-types/models/errors.d.ts +15 -0
  19. package/dist-types/models/models_1.d.ts +30 -52
  20. package/dist-types/models/models_2.d.ts +52 -54
  21. package/dist-types/models/models_3.d.ts +54 -68
  22. package/dist-types/models/models_4.d.ts +68 -2
  23. package/dist-types/schemas/schemas_0.d.ts +4 -0
  24. package/dist-types/ts3.4/Connect.d.ts +17 -0
  25. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/DeleteContactDataCommand.d.ts +44 -0
  27. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  33. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  34. package/dist-types/ts3.4/models/models_1.d.ts +7 -10
  35. package/dist-types/ts3.4/models/models_2.d.ts +11 -12
  36. package/dist-types/ts3.4/models/models_3.d.ts +15 -14
  37. package/dist-types/ts3.4/models/models_4.d.ts +19 -1
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  39. package/package.json +3 -3
@@ -71,6 +71,7 @@ export * from "./CreateWorkspaceCommand";
71
71
  export * from "./CreateWorkspacePageCommand";
72
72
  export * from "./DeactivateEvaluationFormCommand";
73
73
  export * from "./DeleteAttachedFileCommand";
74
+ export * from "./DeleteContactDataCommand";
74
75
  export * from "./DeleteContactEvaluationCommand";
75
76
  export * from "./DeleteContactFlowCommand";
76
77
  export * from "./DeleteContactFlowModuleAliasCommand";
@@ -1313,6 +1313,19 @@ export declare const WorkspaceFontFamily: {
1313
1313
  * @public
1314
1314
  */
1315
1315
  export type WorkspaceFontFamily = (typeof WorkspaceFontFamily)[keyof typeof WorkspaceFontFamily];
1316
+ /**
1317
+ * @public
1318
+ * @enum
1319
+ */
1320
+ export declare const ContactField: {
1321
+ readonly ADDITIONAL_EMAIL_RECIPIENTS: "ADDITIONAL_EMAIL_RECIPIENTS";
1322
+ readonly CUSTOMER_ENDPOINT: "CUSTOMER_ENDPOINT";
1323
+ readonly EMAIL_SUBJECT: "EMAIL_SUBJECT";
1324
+ };
1325
+ /**
1326
+ * @public
1327
+ */
1328
+ export type ContactField = (typeof ContactField)[keyof typeof ContactField];
1316
1329
  /**
1317
1330
  * @public
1318
1331
  * @enum
@@ -314,6 +314,21 @@ export declare class TooManyRequestsException extends __BaseException {
314
314
  */
315
315
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
316
316
  }
317
+ /**
318
+ * <p>The contact has not been disconnected and is not in a terminated state. PII can be deleted
319
+ * only from a contact that has been disconnected. This error is returned with an HTTP 409 status
320
+ * code.</p>
321
+ * @public
322
+ */
323
+ export declare class ContactNotTerminatedException extends __BaseException {
324
+ readonly name: "ContactNotTerminatedException";
325
+ readonly $fault: "client";
326
+ Message?: string | undefined;
327
+ /**
328
+ * @internal
329
+ */
330
+ constructor(opts: __ExceptionOptionType<ContactNotTerminatedException, __BaseException>);
331
+ }
317
332
  /**
318
333
  * <p>The flow has not been published.</p>
319
334
  * @public
@@ -1,4 +1,4 @@
1
- import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, Channel, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, ContactState, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, Grouping, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, NextContactType, NotificationPriority, OperationalStatus, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RulePublishStatus, SortOrder, Status, StorageType, TestCaseStatus, TrafficDistributionGroupStatus, Unit, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, WorkspaceFontFamily } from "./enums";
1
+ import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, ContactState, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, Grouping, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, NextContactType, NotificationPriority, OperationalStatus, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RulePublishStatus, SortOrder, Status, StorageType, TestCaseStatus, TrafficDistributionGroupStatus, Unit, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, WorkspaceFontFamily } from "./enums";
2
2
  import type { AfterContactWorkConfigPerChannel, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, AutoAcceptConfig, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QueueReference, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, Validation, VoiceEnhancementConfig } from "./models_0";
3
3
  /**
4
4
  * @public
@@ -668,6 +668,35 @@ export interface DeleteAttachedFileRequest {
668
668
  */
669
669
  export interface DeleteAttachedFileResponse {
670
670
  }
671
+ /**
672
+ * @public
673
+ */
674
+ export interface DeleteContactDataRequest {
675
+ /**
676
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
677
+ * @public
678
+ */
679
+ InstanceId: string | undefined;
680
+ /**
681
+ * <p>The identifier of the contact. PII can be deleted only from a contact that has been
682
+ * disconnected (is in a terminated state).</p>
683
+ * @public
684
+ */
685
+ ContactId: string | undefined;
686
+ /**
687
+ * <p>The categories of PII to redact from the contact. Valid values are
688
+ * <code>CUSTOMER_ENDPOINT</code>, <code>ADDITIONAL_EMAIL_RECIPIENTS</code>, and
689
+ * <code>EMAIL_SUBJECT</code>. <code>ADDITIONAL_EMAIL_RECIPIENTS</code> and <code>EMAIL_SUBJECT</code>
690
+ * are supported only for contacts in the email channel.</p>
691
+ * @public
692
+ */
693
+ ContactFields: ContactField[] | undefined;
694
+ }
695
+ /**
696
+ * @public
697
+ */
698
+ export interface DeleteContactDataResponse {
699
+ }
671
700
  /**
672
701
  * @public
673
702
  */
@@ -7155,54 +7184,3 @@ export interface GetFederationTokenResponse {
7155
7184
  */
7156
7185
  SignInUrl?: string | undefined;
7157
7186
  }
7158
- /**
7159
- * @public
7160
- */
7161
- export interface GetFlowAssociationRequest {
7162
- /**
7163
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7164
- * @public
7165
- */
7166
- InstanceId: string | undefined;
7167
- /**
7168
- * <p>The identifier of the resource.</p>
7169
- * <ul>
7170
- * <li>
7171
- * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
7172
- * </p>
7173
- * </li>
7174
- * <li>
7175
- * <p>Amazon Web Services End User Messaging Social phone number ARN when using
7176
- * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
7177
- * </p>
7178
- * </li>
7179
- * </ul>
7180
- * @public
7181
- */
7182
- ResourceId: string | undefined;
7183
- /**
7184
- * <p>A valid resource type.</p>
7185
- * @public
7186
- */
7187
- ResourceType: FlowAssociationResourceType | undefined;
7188
- }
7189
- /**
7190
- * @public
7191
- */
7192
- export interface GetFlowAssociationResponse {
7193
- /**
7194
- * <p>The identifier of the resource.</p>
7195
- * @public
7196
- */
7197
- ResourceId?: string | undefined;
7198
- /**
7199
- * <p>The identifier of the flow.</p>
7200
- * @public
7201
- */
7202
- FlowId?: string | undefined;
7203
- /**
7204
- * <p>A valid resource type.</p>
7205
- * @public
7206
- */
7207
- ResourceType?: FlowAssociationResourceType | undefined;
7208
- }
@@ -1,6 +1,57 @@
1
- import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, ParticipantRole, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
1
+ import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, ParticipantRole, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
2
2
  import type { ActionSummary, AgentConfig, AgentHierarchyGroups, AgentStatus, AgentStatusSummary, AiAgentsCriteria, AnalyticsDataAssociationResult, Application, ControlPlaneAttributeFilter, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, PrimaryValueResponse, SecurityProfileItem, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, UserProficiency } from "./models_0";
3
3
  import type { Attribute, ContactFlow, ContactFlowModule, DataTableAttribute, Dimensions, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, Filters, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface GetFlowAssociationRequest {
8
+ /**
9
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
10
+ * @public
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>The identifier of the resource.</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
18
+ * </p>
19
+ * </li>
20
+ * <li>
21
+ * <p>Amazon Web Services End User Messaging Social phone number ARN when using
22
+ * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
23
+ * </p>
24
+ * </li>
25
+ * </ul>
26
+ * @public
27
+ */
28
+ ResourceId: string | undefined;
29
+ /**
30
+ * <p>A valid resource type.</p>
31
+ * @public
32
+ */
33
+ ResourceType: FlowAssociationResourceType | undefined;
34
+ }
35
+ /**
36
+ * @public
37
+ */
38
+ export interface GetFlowAssociationResponse {
39
+ /**
40
+ * <p>The identifier of the resource.</p>
41
+ * @public
42
+ */
43
+ ResourceId?: string | undefined;
44
+ /**
45
+ * <p>The identifier of the flow.</p>
46
+ * @public
47
+ */
48
+ FlowId?: string | undefined;
49
+ /**
50
+ * <p>A valid resource type.</p>
51
+ * @public
52
+ */
53
+ ResourceType?: FlowAssociationResourceType | undefined;
54
+ }
4
55
  /**
5
56
  * <p>Contains information about the threshold for service level metrics.</p>
6
57
  * @public
@@ -9593,56 +9644,3 @@ export interface Sort {
9593
9644
  */
9594
9645
  Order: SortOrder | undefined;
9595
9646
  }
9596
- /**
9597
- * @public
9598
- */
9599
- export interface SearchContactsRequest {
9600
- /**
9601
- * <p>The identifier of Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of
9602
- * the instance.</p>
9603
- * @public
9604
- */
9605
- InstanceId: string | undefined;
9606
- /**
9607
- * <p>Time range that you want to search results.</p>
9608
- * @public
9609
- */
9610
- TimeRange: SearchContactsTimeRange | undefined;
9611
- /**
9612
- * <p>The search criteria to be used to return contacts.</p>
9613
- * @public
9614
- */
9615
- SearchCriteria?: SearchCriteria | undefined;
9616
- /**
9617
- * <p>The maximum number of results to return per page.</p>
9618
- * @public
9619
- */
9620
- MaxResults?: number | undefined;
9621
- /**
9622
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
9623
- * retrieve the next set of results.</p>
9624
- * @public
9625
- */
9626
- NextToken?: string | undefined;
9627
- /**
9628
- * <p>Specifies a field to sort by and a sort order.</p>
9629
- * @public
9630
- */
9631
- Sort?: Sort | undefined;
9632
- }
9633
- /**
9634
- * <p>Information about the agent who accepted the contact.</p>
9635
- * @public
9636
- */
9637
- export interface ContactSearchSummaryAgentInfo {
9638
- /**
9639
- * <p>The identifier of the agent who accepted the contact.</p>
9640
- * @public
9641
- */
9642
- Id?: string | undefined;
9643
- /**
9644
- * <p>The timestamp when the contact was connected to the agent.</p>
9645
- * @public
9646
- */
9647
- ConnectedToAgentTimestamp?: Date | undefined;
9648
- }
@@ -1,7 +1,60 @@
1
1
  import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, Behavior, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
2
  import type { AfterContactWorkConfigPerChannel, AgentConfig, AgentStatusSearchFilter, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, VoiceEnhancementConfig } from "./models_0";
3
3
  import type { AttributeCondition, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, View, ViewInputContent, WorkspaceTheme } from "./models_1";
4
- import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
4
+ import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition, SearchContactsTimeRange, SearchCriteria, SignInConfig, Sort, TelephonyConfig } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SearchContactsRequest {
9
+ /**
10
+ * <p>The identifier of Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of
11
+ * the instance.</p>
12
+ * @public
13
+ */
14
+ InstanceId: string | undefined;
15
+ /**
16
+ * <p>Time range that you want to search results.</p>
17
+ * @public
18
+ */
19
+ TimeRange: SearchContactsTimeRange | undefined;
20
+ /**
21
+ * <p>The search criteria to be used to return contacts.</p>
22
+ * @public
23
+ */
24
+ SearchCriteria?: SearchCriteria | undefined;
25
+ /**
26
+ * <p>The maximum number of results to return per page.</p>
27
+ * @public
28
+ */
29
+ MaxResults?: number | undefined;
30
+ /**
31
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
32
+ * retrieve the next set of results.</p>
33
+ * @public
34
+ */
35
+ NextToken?: string | undefined;
36
+ /**
37
+ * <p>Specifies a field to sort by and a sort order.</p>
38
+ * @public
39
+ */
40
+ Sort?: Sort | undefined;
41
+ }
42
+ /**
43
+ * <p>Information about the agent who accepted the contact.</p>
44
+ * @public
45
+ */
46
+ export interface ContactSearchSummaryAgentInfo {
47
+ /**
48
+ * <p>The identifier of the agent who accepted the contact.</p>
49
+ * @public
50
+ */
51
+ Id?: string | undefined;
52
+ /**
53
+ * <p>The timestamp when the contact was connected to the agent.</p>
54
+ * @public
55
+ */
56
+ ConnectedToAgentTimestamp?: Date | undefined;
57
+ }
5
58
  /**
6
59
  * <p>Information of the AI agent involved in the contact.</p>
7
60
  * @public
@@ -7094,70 +7147,3 @@ export interface SearchPredefinedAttributesRequest {
7094
7147
  */
7095
7148
  SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
7096
7149
  }
7097
- /**
7098
- * @public
7099
- */
7100
- export interface SearchPromptsRequest {
7101
- /**
7102
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7103
- * @public
7104
- */
7105
- InstanceId: string | undefined;
7106
- /**
7107
- * <p>The token for the next set of results. Use the value returned in the previous
7108
- * response in the next request to retrieve the next set of results.</p>
7109
- * @public
7110
- */
7111
- NextToken?: string | undefined;
7112
- /**
7113
- * <p>The maximum number of results to return per page.</p>
7114
- * @public
7115
- */
7116
- MaxResults?: number | undefined;
7117
- /**
7118
- * <p>Filters to be applied to search results.</p>
7119
- * @public
7120
- */
7121
- SearchFilter?: PromptSearchFilter | undefined;
7122
- /**
7123
- * <p>The search criteria to be used to return prompts.</p>
7124
- * @public
7125
- */
7126
- SearchCriteria?: PromptSearchCriteria | undefined;
7127
- }
7128
- /**
7129
- * @public
7130
- */
7131
- export interface SearchQueuesRequest {
7132
- /**
7133
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7134
- * @public
7135
- */
7136
- InstanceId: string | undefined;
7137
- /**
7138
- * <p>The token for the next set of results. Use the value returned in the previous
7139
- * response in the next request to retrieve the next set of results.</p>
7140
- * @public
7141
- */
7142
- NextToken?: string | undefined;
7143
- /**
7144
- * <p>The maximum number of results to return per page.</p>
7145
- * @public
7146
- */
7147
- MaxResults?: number | undefined;
7148
- /**
7149
- * <p>Filters to be applied to search results.</p>
7150
- * @public
7151
- */
7152
- SearchFilter?: QueueSearchFilter | undefined;
7153
- /**
7154
- * <p>The search criteria to be used to return queues.</p>
7155
- * <note>
7156
- * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
7157
- * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
7158
- * outside of this range will throw invalid results. </p>
7159
- * </note>
7160
- * @public
7161
- */
7162
- SearchCriteria?: QueueSearchCriteria | undefined;
7163
- }
@@ -1,8 +1,74 @@
1
1
  import type { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, RoutingCriteriaStepStatus } from "./enums";
2
2
  import type { AdditionalEmailRecipients, AgentInfo, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormLanguageConfiguration, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, UserInfo } from "./models_0";
3
3
  import type { ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateInfoV2, WisdomInfo } from "./models_1";
4
- import type { ContactSearchSummaryAgentInfo } from "./models_2";
5
- import type { ChatMessage, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, Expression, InboundAdditionalRecipients, InboundEmailContent, ParticipantConfiguration, ParticipantDetails, PersistentChat, QueueInfoInput, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
4
+ import type { ChatMessage, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, Expression, InboundAdditionalRecipients, InboundEmailContent, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SearchPromptsRequest {
9
+ /**
10
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
11
+ * @public
12
+ */
13
+ InstanceId: string | undefined;
14
+ /**
15
+ * <p>The token for the next set of results. Use the value returned in the previous
16
+ * response in the next request to retrieve the next set of results.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string | undefined;
20
+ /**
21
+ * <p>The maximum number of results to return per page.</p>
22
+ * @public
23
+ */
24
+ MaxResults?: number | undefined;
25
+ /**
26
+ * <p>Filters to be applied to search results.</p>
27
+ * @public
28
+ */
29
+ SearchFilter?: PromptSearchFilter | undefined;
30
+ /**
31
+ * <p>The search criteria to be used to return prompts.</p>
32
+ * @public
33
+ */
34
+ SearchCriteria?: PromptSearchCriteria | undefined;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface SearchQueuesRequest {
40
+ /**
41
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
42
+ * @public
43
+ */
44
+ InstanceId: string | undefined;
45
+ /**
46
+ * <p>The token for the next set of results. Use the value returned in the previous
47
+ * response in the next request to retrieve the next set of results.</p>
48
+ * @public
49
+ */
50
+ NextToken?: string | undefined;
51
+ /**
52
+ * <p>The maximum number of results to return per page.</p>
53
+ * @public
54
+ */
55
+ MaxResults?: number | undefined;
56
+ /**
57
+ * <p>Filters to be applied to search results.</p>
58
+ * @public
59
+ */
60
+ SearchFilter?: QueueSearchFilter | undefined;
61
+ /**
62
+ * <p>The search criteria to be used to return queues.</p>
63
+ * <note>
64
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
65
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
66
+ * outside of this range will throw invalid results. </p>
67
+ * </note>
68
+ * @public
69
+ */
70
+ SearchCriteria?: QueueSearchCriteria | undefined;
71
+ }
6
72
  /**
7
73
  * @public
8
74
  */
@@ -6,6 +6,7 @@ export declare var ConditionalOperationFailedException$: StaticErrorSchema;
6
6
  export declare var ConflictException$: StaticErrorSchema;
7
7
  export declare var ContactFlowNotPublishedException$: StaticErrorSchema;
8
8
  export declare var ContactNotFoundException$: StaticErrorSchema;
9
+ export declare var ContactNotTerminatedException$: StaticErrorSchema;
9
10
  export declare var DestinationNotAllowedException$: StaticErrorSchema;
10
11
  export declare var DuplicateResourceException$: StaticErrorSchema;
11
12
  export declare var IdempotencyException$: StaticErrorSchema;
@@ -307,6 +308,8 @@ export declare var DecimalCondition$: StaticStructureSchema;
307
308
  export declare var DefaultVocabulary$: StaticStructureSchema;
308
309
  export declare var DeleteAttachedFileRequest$: StaticStructureSchema;
309
310
  export declare var DeleteAttachedFileResponse$: StaticStructureSchema;
311
+ export declare var DeleteContactDataRequest$: StaticStructureSchema;
312
+ export declare var DeleteContactDataResponse$: StaticStructureSchema;
310
313
  export declare var DeleteContactEvaluationRequest$: StaticStructureSchema;
311
314
  export declare var DeleteContactFlowModuleAliasRequest$: StaticStructureSchema;
312
315
  export declare var DeleteContactFlowModuleAliasResponse$: StaticStructureSchema;
@@ -1340,6 +1343,7 @@ export declare var CreateWorkspace$: StaticOperationSchema;
1340
1343
  export declare var CreateWorkspacePage$: StaticOperationSchema;
1341
1344
  export declare var DeactivateEvaluationForm$: StaticOperationSchema;
1342
1345
  export declare var DeleteAttachedFile$: StaticOperationSchema;
1346
+ export declare var DeleteContactData$: StaticOperationSchema;
1343
1347
  export declare var DeleteContactEvaluation$: StaticOperationSchema;
1344
1348
  export declare var DeleteContactFlow$: StaticOperationSchema;
1345
1349
  export declare var DeleteContactFlowModule$: StaticOperationSchema;
@@ -295,6 +295,10 @@ import {
295
295
  DeleteAttachedFileCommandInput,
296
296
  DeleteAttachedFileCommandOutput,
297
297
  } from "./commands/DeleteAttachedFileCommand";
298
+ import {
299
+ DeleteContactDataCommandInput,
300
+ DeleteContactDataCommandOutput,
301
+ } from "./commands/DeleteContactDataCommand";
298
302
  import {
299
303
  DeleteContactEvaluationCommandInput,
300
304
  DeleteContactEvaluationCommandOutput,
@@ -2486,6 +2490,19 @@ export interface Connect {
2486
2490
  options: __HttpHandlerOptions,
2487
2491
  cb: (err: any, data?: DeleteAttachedFileCommandOutput) => void
2488
2492
  ): void;
2493
+ deleteContactData(
2494
+ args: DeleteContactDataCommandInput,
2495
+ options?: __HttpHandlerOptions
2496
+ ): Promise<DeleteContactDataCommandOutput>;
2497
+ deleteContactData(
2498
+ args: DeleteContactDataCommandInput,
2499
+ cb: (err: any, data?: DeleteContactDataCommandOutput) => void
2500
+ ): void;
2501
+ deleteContactData(
2502
+ args: DeleteContactDataCommandInput,
2503
+ options: __HttpHandlerOptions,
2504
+ cb: (err: any, data?: DeleteContactDataCommandOutput) => void
2505
+ ): void;
2489
2506
  deleteContactEvaluation(
2490
2507
  args: DeleteContactEvaluationCommandInput,
2491
2508
  options?: __HttpHandlerOptions
@@ -328,6 +328,10 @@ import {
328
328
  DeleteAttachedFileCommandInput,
329
329
  DeleteAttachedFileCommandOutput,
330
330
  } from "./commands/DeleteAttachedFileCommand";
331
+ import {
332
+ DeleteContactDataCommandInput,
333
+ DeleteContactDataCommandOutput,
334
+ } from "./commands/DeleteContactDataCommand";
331
335
  import {
332
336
  DeleteContactEvaluationCommandInput,
333
337
  DeleteContactEvaluationCommandOutput,
@@ -1625,6 +1629,7 @@ export type ServiceInputTypes =
1625
1629
  | CreateWorkspacePageCommandInput
1626
1630
  | DeactivateEvaluationFormCommandInput
1627
1631
  | DeleteAttachedFileCommandInput
1632
+ | DeleteContactDataCommandInput
1628
1633
  | DeleteContactEvaluationCommandInput
1629
1634
  | DeleteContactFlowCommandInput
1630
1635
  | DeleteContactFlowModuleAliasCommandInput
@@ -2003,6 +2008,7 @@ export type ServiceOutputTypes =
2003
2008
  | CreateWorkspacePageCommandOutput
2004
2009
  | DeactivateEvaluationFormCommandOutput
2005
2010
  | DeleteAttachedFileCommandOutput
2011
+ | DeleteContactDataCommandOutput
2006
2012
  | DeleteContactEvaluationCommandOutput
2007
2013
  | DeleteContactFlowCommandOutput
2008
2014
  | DeleteContactFlowModuleAliasCommandOutput
@@ -0,0 +1,44 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ DeleteContactDataRequest,
4
+ DeleteContactDataResponse,
5
+ } from "../models/models_1";
6
+ export { __MetadataBearer };
7
+ export interface DeleteContactDataCommandInput
8
+ extends DeleteContactDataRequest {}
9
+ export interface DeleteContactDataCommandOutput
10
+ extends DeleteContactDataResponse,
11
+ __MetadataBearer {}
12
+ declare const DeleteContactDataCommand_base: {
13
+ new (
14
+ input: DeleteContactDataCommandInput
15
+ ): import("@smithy/core/client").CommandImpl<
16
+ DeleteContactDataCommandInput,
17
+ DeleteContactDataCommandOutput,
18
+ import("..").ConnectClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
21
+ >;
22
+ new (
23
+ input: DeleteContactDataCommandInput
24
+ ): import("@smithy/core/client").CommandImpl<
25
+ DeleteContactDataCommandInput,
26
+ DeleteContactDataCommandOutput,
27
+ import("..").ConnectClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
30
+ >;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
32
+ };
33
+ export declare class DeleteContactDataCommand extends DeleteContactDataCommand_base {
34
+ protected static __types: {
35
+ api: {
36
+ input: DeleteContactDataRequest;
37
+ output: {};
38
+ };
39
+ sdk: {
40
+ input: DeleteContactDataCommandInput;
41
+ output: DeleteContactDataCommandOutput;
42
+ };
43
+ };
44
+ }
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  GetFlowAssociationRequest,
4
4
  GetFlowAssociationResponse,
5
- } from "../models/models_1";
5
+ } from "../models/models_2";
6
6
  export { __MetadataBearer };
7
7
  export interface GetFlowAssociationCommandInput
8
8
  extends GetFlowAssociationRequest {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SearchContactsRequest } from "../models/models_2";
2
+ import { SearchContactsRequest } from "../models/models_3";
3
3
  import { SearchContactsResponse } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchContactsCommandInput extends SearchContactsRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchPromptsRequest,
4
- SearchPromptsResponse,
5
- } from "../models/models_3";
2
+ import { SearchPromptsResponse } from "../models/models_3";
3
+ import { SearchPromptsRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchPromptsCommandInput extends SearchPromptsRequest {}
8
6
  export interface SearchPromptsCommandOutput
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SearchQueuesRequest, SearchQueuesResponse } from "../models/models_3";
2
+ import { SearchQueuesResponse } from "../models/models_3";
3
+ import { SearchQueuesRequest } from "../models/models_4";
3
4
  export { __MetadataBearer };
4
5
  export interface SearchQueuesCommandInput extends SearchQueuesRequest {}
5
6
  export interface SearchQueuesCommandOutput