@aws-sdk/client-connect 3.1109.0 → 3.1110.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 (31) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +36 -3
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/StartAssistantContactCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +26 -2
  7. package/dist-types/Connect.d.ts +7 -0
  8. package/dist-types/ConnectClient.d.ts +3 -2
  9. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  10. package/dist-types/commands/StartAssistantContactCommand.d.ts +126 -0
  11. package/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
  12. package/dist-types/commands/index.d.ts +1 -0
  13. package/dist-types/models/models_0.d.ts +11 -21
  14. package/dist-types/models/models_1.d.ts +22 -58
  15. package/dist-types/models/models_2.d.ts +59 -22
  16. package/dist-types/models/models_3.d.ts +164 -211
  17. package/dist-types/models/models_4.d.ts +161 -4
  18. package/dist-types/schemas/schemas_0.d.ts +4 -0
  19. package/dist-types/ts3.4/Connect.d.ts +17 -0
  20. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  21. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
  23. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +3 -5
  26. package/dist-types/ts3.4/models/models_1.d.ts +5 -14
  27. package/dist-types/ts3.4/models/models_2.d.ts +16 -7
  28. package/dist-types/ts3.4/models/models_3.d.ts +33 -47
  29. package/dist-types/ts3.4/models/models_4.d.ts +33 -2
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  31. package/package.json +1 -1
@@ -760,6 +760,17 @@ export interface AiAgentInfo {
760
760
  */
761
761
  AiAgentEscalated?: boolean | undefined;
762
762
  }
763
+ /**
764
+ * <p>The AI agent that participates in the contact, including its identifier.</p>
765
+ * @public
766
+ */
767
+ export interface AiAgentInput {
768
+ /**
769
+ * <p>The identifier of the AI agent that participates in the contact.</p>
770
+ * @public
771
+ */
772
+ AiAgentId: string | undefined;
773
+ }
763
774
  /**
764
775
  * <p>The search criteria based on AI Agents metadata.</p>
765
776
  * @public
@@ -6895,24 +6906,3 @@ export interface CreateUseCaseResponse {
6895
6906
  */
6896
6907
  UseCaseArn?: string | undefined;
6897
6908
  }
6898
- /**
6899
- * <p>Configuration settings for auto-accept for a specific channel.</p>
6900
- * @public
6901
- */
6902
- export interface AutoAcceptConfig {
6903
- /**
6904
- * <p>The channel for this auto-accept configuration. Valid values: VOICE, CHAT, TASK, EMAIL.</p>
6905
- * @public
6906
- */
6907
- Channel: Channel | undefined;
6908
- /**
6909
- * <p>Indicates whether auto-accept is enabled for this channel. When enabled, available agents are automatically connected to contacts from this channel.</p>
6910
- * @public
6911
- */
6912
- AutoAccept: boolean | undefined;
6913
- /**
6914
- * <p>Indicates whether auto-accept is enabled for agent-first callbacks. This setting only applies to the VOICE channel.</p>
6915
- * @public
6916
- */
6917
- AgentFirstCallbackAutoAccept?: boolean | undefined;
6918
- }
@@ -1,5 +1,26 @@
1
1
  import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, AvailableFilterType, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, ContactState, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, Grouping, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, MetricCreationMethod, MetricStatus, MetricType, MetricUnit, NextContactType, NotificationPriority, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RuleCapabilityTier, RulePublishStatus, SortOrder, Status, StorageType, TestCaseStatus, TrafficDistributionGroupStatus, TrendIndicator, Unit, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceEnhancementMode, WorkspaceFontFamily } from "./enums";
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, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PrimaryValue, QueueReference, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, TestCaseEntryPoint, Validation } from "./models_0";
2
+ import type { AfterContactWorkConfigPerChannel, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PrimaryValue, QueueReference, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, TestCaseEntryPoint, Validation } from "./models_0";
3
+ /**
4
+ * <p>Configuration settings for auto-accept for a specific channel.</p>
5
+ * @public
6
+ */
7
+ export interface AutoAcceptConfig {
8
+ /**
9
+ * <p>The channel for this auto-accept configuration. Valid values: VOICE, CHAT, TASK, EMAIL.</p>
10
+ * @public
11
+ */
12
+ Channel: Channel | undefined;
13
+ /**
14
+ * <p>Indicates whether auto-accept is enabled for this channel. When enabled, available agents are automatically connected to contacts from this channel.</p>
15
+ * @public
16
+ */
17
+ AutoAccept: boolean | undefined;
18
+ /**
19
+ * <p>Indicates whether auto-accept is enabled for agent-first callbacks. This setting only applies to the VOICE channel.</p>
20
+ * @public
21
+ */
22
+ AgentFirstCallbackAutoAccept?: boolean | undefined;
23
+ }
3
24
  /**
4
25
  * <p>Contains information about the identity of a user.</p>
5
26
  * <note>
@@ -7319,60 +7340,3 @@ export interface UserReference {
7319
7340
  */
7320
7341
  Arn?: string | undefined;
7321
7342
  }
7322
- /**
7323
- * <p>Data for a user.</p>
7324
- * @public
7325
- */
7326
- export interface UserData {
7327
- /**
7328
- * <p>Information about the user for the data that is returned. It contains the <code>resourceId</code> and ARN of the
7329
- * user. </p>
7330
- * @public
7331
- */
7332
- User?: UserReference | undefined;
7333
- /**
7334
- * <p>Information about the routing profile that is assigned to the user.</p>
7335
- * @public
7336
- */
7337
- RoutingProfile?: RoutingProfileReference | undefined;
7338
- /**
7339
- * <p>Contains information about the levels of a hierarchy group assigned to a user.</p>
7340
- * @public
7341
- */
7342
- HierarchyPath?: HierarchyPathReference | undefined;
7343
- /**
7344
- * <p>The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor
7345
- * manually changes in the real-time metrics report.</p>
7346
- * @public
7347
- */
7348
- Status?: AgentStatusReference | undefined;
7349
- /**
7350
- * <p>A map of available slots by channel. The key is a channel name. The value is an integer: the available number of
7351
- * slots. </p>
7352
- * @public
7353
- */
7354
- AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
7355
- /**
7356
- * <p>A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of
7357
- * slots. This is calculated from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html">MediaConcurrency</a> of the
7358
- * <code>RoutingProfile</code> assigned to the agent. </p>
7359
- * @public
7360
- */
7361
- MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
7362
- /**
7363
- * <p> A map of active slots by channel. The key is a channel name. The value is an integer: the number of active
7364
- * slots. </p>
7365
- * @public
7366
- */
7367
- ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
7368
- /**
7369
- * <p>A list of contact reference information.</p>
7370
- * @public
7371
- */
7372
- Contacts?: AgentContactReference[] | undefined;
7373
- /**
7374
- * <p>The Next status of the agent.</p>
7375
- * @public
7376
- */
7377
- NextStatus?: string | undefined;
7378
- }
@@ -1,6 +1,63 @@
1
1
  import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MetricStatus, MetricType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, OperationalStatus, ParticipantRole, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
2
- import type { ActionSummary, AgentConfig, AgentStatus, AgentStatusSummary, AnalyticsDataAssociationResult, Application, ControlPlaneAttributeFilter, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, OverrideTimeSlice, PrimaryValueResponse, SecurityProfileItem, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, UserProficiency } from "./models_0";
3
- import type { Attribute, ContactFlow, ContactFlowModule, DataTableAttribute, Dimensions, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, Filters, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification, UserData } from "./models_1";
2
+ import type { ActionSummary, AgentConfig, AgentContactReference, AgentStatus, AgentStatusReference, AgentStatusSummary, AnalyticsDataAssociationResult, Application, ControlPlaneAttributeFilter, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, OverrideTimeSlice, PrimaryValueResponse, SecurityProfileItem, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, UserProficiency } from "./models_0";
3
+ import type { Attribute, ContactFlowModule, DataTableAttribute, Dimensions, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, Filters, HierarchyGroupSummary, HierarchyPathReference, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification, RoutingProfileReference, UserReference } from "./models_1";
4
+ /**
5
+ * <p>Data for a user.</p>
6
+ * @public
7
+ */
8
+ export interface UserData {
9
+ /**
10
+ * <p>Information about the user for the data that is returned. It contains the <code>resourceId</code> and ARN of the
11
+ * user. </p>
12
+ * @public
13
+ */
14
+ User?: UserReference | undefined;
15
+ /**
16
+ * <p>Information about the routing profile that is assigned to the user.</p>
17
+ * @public
18
+ */
19
+ RoutingProfile?: RoutingProfileReference | undefined;
20
+ /**
21
+ * <p>Contains information about the levels of a hierarchy group assigned to a user.</p>
22
+ * @public
23
+ */
24
+ HierarchyPath?: HierarchyPathReference | undefined;
25
+ /**
26
+ * <p>The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor
27
+ * manually changes in the real-time metrics report.</p>
28
+ * @public
29
+ */
30
+ Status?: AgentStatusReference | undefined;
31
+ /**
32
+ * <p>A map of available slots by channel. The key is a channel name. The value is an integer: the available number of
33
+ * slots. </p>
34
+ * @public
35
+ */
36
+ AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
37
+ /**
38
+ * <p>A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of
39
+ * slots. This is calculated from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html">MediaConcurrency</a> of the
40
+ * <code>RoutingProfile</code> assigned to the agent. </p>
41
+ * @public
42
+ */
43
+ MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
44
+ /**
45
+ * <p> A map of active slots by channel. The key is a channel name. The value is an integer: the number of active
46
+ * slots. </p>
47
+ * @public
48
+ */
49
+ ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
50
+ /**
51
+ * <p>A list of contact reference information.</p>
52
+ * @public
53
+ */
54
+ Contacts?: AgentContactReference[] | undefined;
55
+ /**
56
+ * <p>The Next status of the agent.</p>
57
+ * @public
58
+ */
59
+ NextStatus?: string | undefined;
60
+ }
4
61
  /**
5
62
  * @public
6
63
  */
@@ -9679,23 +9736,3 @@ export interface ContactFlowSearchFilter {
9679
9736
  */
9680
9737
  FlowAttributeFilter?: ContactFlowAttributeFilter | undefined;
9681
9738
  }
9682
- /**
9683
- * @public
9684
- */
9685
- export interface SearchContactFlowsResponse {
9686
- /**
9687
- * <p>Information about the flows.</p>
9688
- * @public
9689
- */
9690
- ContactFlows?: ContactFlow[] | undefined;
9691
- /**
9692
- * <p>If there are additional results, this is the token for the next set of results.</p>
9693
- * @public
9694
- */
9695
- NextToken?: string | undefined;
9696
- /**
9697
- * <p>The total number of flows which matched your search query.</p>
9698
- * @public
9699
- */
9700
- ApproximateTotalCount?: number | undefined;
9701
- }
@@ -1,7 +1,27 @@
1
1
  import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, Behavior, Channel, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, MetricUnit, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantRole, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RuleCapabilityTier, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, TrendIndicator, ViewStatus, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
- import type { ActionSummary, AfterContactWorkConfigPerChannel, AgentConfig, AgentHierarchyGroups, AiAgentsCriteria, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, RuleTriggerEventSource, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserProficiency, Validation } from "./models_0";
3
- import type { DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, MetricDefinition, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, VoiceEnhancementConfig, WorkspaceTheme } from "./models_1";
4
- import type { BooleanCondition, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
2
+ import type { ActionSummary, AfterContactWorkConfigPerChannel, AgentConfig, AgentHierarchyGroups, AiAgentInput, AiAgentsCriteria, AliasConfiguration, Application, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, RuleTriggerEventSource, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserProficiency, Validation } from "./models_0";
3
+ import type { AutoAcceptConfig, ContactFlow, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, MetricDefinition, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, VoiceEnhancementConfig, WorkspaceTheme } from "./models_1";
4
+ import type { ControlPlaneTagFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SearchContactFlowsResponse {
9
+ /**
10
+ * <p>Information about the flows.</p>
11
+ * @public
12
+ */
13
+ ContactFlows?: ContactFlow[] | undefined;
14
+ /**
15
+ * <p>If there are additional results, this is the token for the next set of results.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ /**
20
+ * <p>The total number of flows which matched your search query.</p>
21
+ * @public
22
+ */
23
+ ApproximateTotalCount?: number | undefined;
24
+ }
5
25
  /**
6
26
  * <p>A structure of time range that you want to search results.</p>
7
27
  * @public
@@ -2130,7 +2150,7 @@ export interface ChatEvent {
2130
2150
  Content?: string | undefined;
2131
2151
  }
2132
2152
  /**
2133
- * <p>The customer's details.</p>
2153
+ * <p>The details of the participant, including their display name.</p>
2134
2154
  * @public
2135
2155
  */
2136
2156
  export interface ParticipantDetails {
@@ -2170,7 +2190,7 @@ export interface NewSessionDetails {
2170
2190
  */
2171
2191
  SupportedMessagingContentTypes?: string[] | undefined;
2172
2192
  /**
2173
- * <p>The customer's details.</p>
2193
+ * <p>The details of the participant, including their display name.</p>
2174
2194
  * @public
2175
2195
  */
2176
2196
  ParticipantDetails?: ParticipantDetails | undefined;
@@ -2570,6 +2590,145 @@ export interface SendOutboundWebNotificationRequest {
2570
2590
  */
2571
2591
  export interface SendOutboundWebNotificationResponse {
2572
2592
  }
2593
+ /**
2594
+ * <p>A chat message.</p>
2595
+ * @public
2596
+ */
2597
+ export interface ChatMessage {
2598
+ /**
2599
+ * <p>The type of the content. Supported types are <code>text/plain</code>, <code>text/markdown</code>,
2600
+ * <code>application/json</code>, and
2601
+ * <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>
2602
+ * @public
2603
+ */
2604
+ ContentType: string | undefined;
2605
+ /**
2606
+ * <p>The content of the chat message. Maximum of 16,384 bytes for all content types
2607
+ * (<code>text/plain</code>, <code>text/markdown</code>, <code>application/json</code>, and
2608
+ * <code>application/vnd.amazonaws.connect.message.interactive.response</code>).</p>
2609
+ * <p>Some messaging channels enforce lower limits. For channel-specific message size limits, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits">Chat message size limits
2610
+ * by channel</a> in the <i>Amazon Connect Customer Administrator Guide</i>.</p>
2611
+ * @public
2612
+ */
2613
+ Content: string | undefined;
2614
+ }
2615
+ /**
2616
+ * <p>Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how
2617
+ * to configure for them, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable
2618
+ * persistent chat</a>.</p>
2619
+ * @public
2620
+ */
2621
+ export interface PersistentChat {
2622
+ /**
2623
+ * <p>The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for
2624
+ * persistent chat. </p>
2625
+ * <ul>
2626
+ * <li>
2627
+ * <p>
2628
+ * <code>ENTIRE_PAST_SESSION</code>: Rehydrates a chat from the most recently terminated past chat contact of the
2629
+ * specified past ended chat session. To use this type, provide the <code>initialContactId</code> of the past ended
2630
+ * chat session in the <code>sourceContactId</code> field. In this type, Connect Customer determines the most recent
2631
+ * chat contact on the specified chat session that has ended, and uses it to start a persistent chat. </p>
2632
+ * </li>
2633
+ * <li>
2634
+ * <p>
2635
+ * <code>FROM_SEGMENT</code>: Rehydrates a chat from the past chat contact that is specified in the
2636
+ * <code>sourceContactId</code> field. </p>
2637
+ * </li>
2638
+ * </ul>
2639
+ * <p>The actual contactId used for rehydration is provided in the response of this API. </p>
2640
+ * @public
2641
+ */
2642
+ RehydrationType?: RehydrationType | undefined;
2643
+ /**
2644
+ * <p>The contactId from which a persistent chat session must be started.</p>
2645
+ * @public
2646
+ */
2647
+ SourceContactId?: string | undefined;
2648
+ }
2649
+ /**
2650
+ * @public
2651
+ */
2652
+ export interface StartAssistantContactRequest {
2653
+ /**
2654
+ * <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>
2655
+ * @public
2656
+ */
2657
+ InstanceId: string | undefined;
2658
+ /**
2659
+ * <p>The AI agent that participates in the contact.</p>
2660
+ * @public
2661
+ */
2662
+ AiAgent: AiAgentInput | undefined;
2663
+ /**
2664
+ * <p>The display name and other details that identify the chat participant.</p>
2665
+ * @public
2666
+ */
2667
+ ParticipantDetails: ParticipantDetails | undefined;
2668
+ /**
2669
+ * <p>The initial message to send to the newly created chat.</p>
2670
+ * @public
2671
+ */
2672
+ InitialMessage?: ChatMessage | undefined;
2673
+ /**
2674
+ * <p>A map of key-value pairs to associate with the contact. Amazon Connect makes these attributes available to
2675
+ * flows as standard contact attributes.</p>
2676
+ * <p>You can provide up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can contain only
2677
+ * alphanumeric characters, dashes, and underscores.</p>
2678
+ * @public
2679
+ */
2680
+ Attributes?: Record<string, string> | undefined;
2681
+ /**
2682
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
2683
+ * request. If not provided, the Amazon Web Services
2684
+ * SDK populates this field. For more information about idempotency, see
2685
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
2686
+ * @public
2687
+ */
2688
+ ClientToken?: string | undefined;
2689
+ /**
2690
+ * <p>The configuration that enables persistent chat. For more information about persistent chat and its use cases,
2691
+ * see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent
2692
+ * chat</a>.</p>
2693
+ * @public
2694
+ */
2695
+ PersistentChat?: PersistentChat | undefined;
2696
+ /**
2697
+ * <p>The identifier of an Connect Customer contact related to the new assistant contact.</p>
2698
+ * <note>
2699
+ * <p>You cannot provide both <code>RelatedContactId</code> and <code>PersistentChat</code>.</p>
2700
+ * </note>
2701
+ * @public
2702
+ */
2703
+ RelatedContactId?: string | undefined;
2704
+ }
2705
+ /**
2706
+ * @public
2707
+ */
2708
+ export interface StartAssistantContactResponse {
2709
+ /**
2710
+ * <p>The identifier of the contact within the Connect Customer instance.</p>
2711
+ * @public
2712
+ */
2713
+ ContactId?: string | undefined;
2714
+ /**
2715
+ * <p>The identifier of the chat participant. The participant identifier remains the same throughout the chat
2716
+ * lifecycle.</p>
2717
+ * @public
2718
+ */
2719
+ ParticipantId?: string | undefined;
2720
+ /**
2721
+ * <p>The token that the chat participant uses to call the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> API. The token remains valid for the lifetime of the chat participant.</p>
2722
+ * @public
2723
+ */
2724
+ ParticipantToken?: string | undefined;
2725
+ /**
2726
+ * <p>For a persistent chat, the identifier of the contact from which the chat continues. Amazon Connect returns this
2727
+ * field only for persistent chats.</p>
2728
+ * @public
2729
+ */
2730
+ ContinuedFromContactId?: string | undefined;
2731
+ }
2573
2732
  /**
2574
2733
  * @public
2575
2734
  */
@@ -2689,28 +2848,6 @@ export interface StartAttachedFileUploadResponse {
2689
2848
  */
2690
2849
  UploadUrlMetadata?: UploadUrlMetadata | undefined;
2691
2850
  }
2692
- /**
2693
- * <p>A chat message.</p>
2694
- * @public
2695
- */
2696
- export interface ChatMessage {
2697
- /**
2698
- * <p>The type of the content. Supported types are <code>text/plain</code>, <code>text/markdown</code>,
2699
- * <code>application/json</code>, and
2700
- * <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>
2701
- * @public
2702
- */
2703
- ContentType: string | undefined;
2704
- /**
2705
- * <p>The content of the chat message. Maximum of 16,384 bytes for all content types
2706
- * (<code>text/plain</code>, <code>text/markdown</code>, <code>application/json</code>, and
2707
- * <code>application/vnd.amazonaws.connect.message.interactive.response</code>).</p>
2708
- * <p>Some messaging channels enforce lower limits. For channel-specific message size limits, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits">Chat message size limits
2709
- * by channel</a> in the <i>Amazon Connect Customer Administrator Guide</i>.</p>
2710
- * @public
2711
- */
2712
- Content: string | undefined;
2713
- }
2714
2851
  /**
2715
2852
  * <p> The configuration of the participant. </p>
2716
2853
  * @public
@@ -2722,40 +2859,6 @@ export interface ParticipantConfiguration {
2722
2859
  */
2723
2860
  ResponseMode?: ResponseMode | undefined;
2724
2861
  }
2725
- /**
2726
- * <p>Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how
2727
- * to configure for them, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable
2728
- * persistent chat</a>.</p>
2729
- * @public
2730
- */
2731
- export interface PersistentChat {
2732
- /**
2733
- * <p>The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for
2734
- * persistent chat. </p>
2735
- * <ul>
2736
- * <li>
2737
- * <p>
2738
- * <code>ENTIRE_PAST_SESSION</code>: Rehydrates a chat from the most recently terminated past chat contact of the
2739
- * specified past ended chat session. To use this type, provide the <code>initialContactId</code> of the past ended
2740
- * chat session in the <code>sourceContactId</code> field. In this type, Connect Customer determines the most recent
2741
- * chat contact on the specified chat session that has ended, and uses it to start a persistent chat. </p>
2742
- * </li>
2743
- * <li>
2744
- * <p>
2745
- * <code>FROM_SEGMENT</code>: Rehydrates a chat from the past chat contact that is specified in the
2746
- * <code>sourceContactId</code> field. </p>
2747
- * </li>
2748
- * </ul>
2749
- * <p>The actual contactId used for rehydration is provided in the response of this API. </p>
2750
- * @public
2751
- */
2752
- RehydrationType?: RehydrationType | undefined;
2753
- /**
2754
- * <p>The contactId from which a persistent chat session must be started.</p>
2755
- * @public
2756
- */
2757
- SourceContactId?: string | undefined;
2758
- }
2759
2862
  /**
2760
2863
  * @public
2761
2864
  */
@@ -3555,73 +3658,6 @@ export interface StartTestCaseExecutionResponse {
3555
3658
  */
3556
3659
  Status?: TestCaseExecutionStatus | undefined;
3557
3660
  }
3558
- /**
3559
- * @public
3560
- */
3561
- export interface StartWebRTCContactRequest {
3562
- /**
3563
- * <p>A custom key-value pair using an attribute map. The attributes are standard Connect Customer attributes, and
3564
- * can be accessed in flows just like any other contact attributes.</p>
3565
- * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only
3566
- * alphanumeric, -, and _ characters.</p>
3567
- * @public
3568
- */
3569
- Attributes?: Record<string, string> | undefined;
3570
- /**
3571
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
3572
- * request. If not provided, the Amazon Web Services
3573
- * SDK populates this field. For more information about idempotency, see
3574
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
3575
- * <p>The token is valid for 7 days after creation. If a contact is already started, the contact ID is
3576
- * returned.</p>
3577
- * @public
3578
- */
3579
- ClientToken?: string | undefined;
3580
- /**
3581
- * <p>The identifier of the flow for the call. To see the ContactFlowId in the Connect Customer admin website, on the navigation menu go to
3582
- * <b>Routing</b>, <b>Flows</b>. Choose the flow. On the flow page,
3583
- * under the name of the flow, choose <b>Show additional flow information</b>. The
3584
- * ContactFlowId is the last part of the ARN, shown here in bold: </p>
3585
- * <p>arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/<b>846ec553-a005-41c0-8341-xxxxxxxxxxxx</b>
3586
- * </p>
3587
- * @public
3588
- */
3589
- ContactFlowId: string | undefined;
3590
- /**
3591
- * <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>
3592
- * @public
3593
- */
3594
- InstanceId: string | undefined;
3595
- /**
3596
- * <p>Information about the video sharing capabilities of the participants (customer, agent).</p>
3597
- * @public
3598
- */
3599
- AllowedCapabilities?: AllowedCapabilities | undefined;
3600
- /**
3601
- * <p>The customer's details.</p>
3602
- * @public
3603
- */
3604
- ParticipantDetails: ParticipantDetails | undefined;
3605
- /**
3606
- * <p>The unique identifier for an Connect Customer contact. This identifier is related to the contact
3607
- * starting.</p>
3608
- * @public
3609
- */
3610
- RelatedContactId?: string | undefined;
3611
- /**
3612
- * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following
3613
- * reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> | <code>STRING</code> |
3614
- * <code>DATE</code> | <code>EMAIL</code>. <code>ATTACHMENT</code> is not a supported reference type during task
3615
- * creation.</p>
3616
- * @public
3617
- */
3618
- References?: Record<string, Reference> | undefined;
3619
- /**
3620
- * <p>A description of the task that is shown to an agent in the Contact Control Panel (CCP).</p>
3621
- * @public
3622
- */
3623
- Description?: string | undefined;
3624
- }
3625
3661
  /**
3626
3662
  * <p>The attendee information, including attendee ID and join token.</p>
3627
3663
  * @public
@@ -6815,86 +6851,3 @@ export interface EvaluationFormItemEnablementConfiguration {
6815
6851
  */
6816
6852
  DefaultAction?: EvaluationFormItemEnablementAction | undefined;
6817
6853
  }
6818
- /**
6819
- * <p>The search criteria to be used to return evaluation forms.</p>
6820
- * @public
6821
- */
6822
- export interface EvaluationFormSearchCriteria {
6823
- /**
6824
- * <p>A list of conditions which would be applied together with an OR condition.</p>
6825
- * @public
6826
- */
6827
- OrConditions?: EvaluationFormSearchCriteria[] | undefined;
6828
- /**
6829
- * <p>A list of conditions which would be applied together with an AND condition.</p>
6830
- * @public
6831
- */
6832
- AndConditions?: EvaluationFormSearchCriteria[] | undefined;
6833
- /**
6834
- * <p>A leaf node condition which can be used to specify a string condition.</p>
6835
- * @public
6836
- */
6837
- StringCondition?: StringCondition | undefined;
6838
- /**
6839
- * <p>A leaf node condition which can be used to specify a numeric condition.</p>
6840
- * <note>
6841
- * <p>The currently supported value for <code>FieldName</code> is <code>limit</code>.</p>
6842
- * </note>
6843
- * @public
6844
- */
6845
- NumberCondition?: NumberCondition | undefined;
6846
- /**
6847
- * <p>Boolean search condition.</p>
6848
- * @public
6849
- */
6850
- BooleanCondition?: BooleanCondition | undefined;
6851
- /**
6852
- * <p>Datetime search condition.</p>
6853
- * @public
6854
- */
6855
- DateTimeCondition?: DateTimeCondition | undefined;
6856
- }
6857
- /**
6858
- * <p>The search criteria to be used to return evaluations.</p>
6859
- * @public
6860
- */
6861
- export interface EvaluationSearchCriteria {
6862
- /**
6863
- * <p>A list of conditions which would be applied together with an OR condition.</p>
6864
- * @public
6865
- */
6866
- OrConditions?: EvaluationSearchCriteria[] | undefined;
6867
- /**
6868
- * <p>A list of conditions which would be applied together with an AND condition.</p>
6869
- * @public
6870
- */
6871
- AndConditions?: EvaluationSearchCriteria[] | undefined;
6872
- /**
6873
- * <p>A leaf node condition which can be used to specify a string condition.</p>
6874
- * @public
6875
- */
6876
- StringCondition?: StringCondition | undefined;
6877
- /**
6878
- * <p>A leaf node condition which can be used to specify a numeric condition.</p>
6879
- * <note>
6880
- * <p>The currently supported value for <code>FieldName</code> is <code>limit</code>.</p>
6881
- * </note>
6882
- * @public
6883
- */
6884
- NumberCondition?: NumberCondition | undefined;
6885
- /**
6886
- * <p>The boolean condition search criteria for searching evaluations.</p>
6887
- * @public
6888
- */
6889
- BooleanCondition?: BooleanCondition | undefined;
6890
- /**
6891
- * <p>The datetime condition search criteria for searching evaluations.</p>
6892
- * @public
6893
- */
6894
- DateTimeCondition?: DateTimeCondition | undefined;
6895
- /**
6896
- * <p>The decimal condition search criteria for searching evaluations.</p>
6897
- * @public
6898
- */
6899
- DecimalCondition?: DecimalCondition | undefined;
6900
- }