@aws-sdk/client-connect 3.985.0 → 3.987.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 (44) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +122 -22
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/UpdateUserConfigCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +11 -6
  7. package/dist-es/schemas/schemas_0.js +88 -16
  8. package/dist-types/Connect.d.ts +7 -0
  9. package/dist-types/ConnectClient.d.ts +3 -2
  10. package/dist-types/commands/CreateUserCommand.d.ts +64 -1
  11. package/dist-types/commands/CreateWorkspaceCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeUserCommand.d.ts +38 -1
  13. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -1
  14. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +1 -2
  16. package/dist-types/commands/SearchUsersCommand.d.ts +38 -1
  17. package/dist-types/commands/SearchWorkspaceAssociationsCommand.d.ts +1 -2
  18. package/dist-types/commands/SearchWorkspacesCommand.d.ts +1 -2
  19. package/dist-types/commands/UpdateUserConfigCommand.d.ts +131 -0
  20. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +4 -1
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/enums.d.ts +27 -14
  23. package/dist-types/models/models_0.d.ts +138 -115
  24. package/dist-types/models/models_1.d.ts +138 -124
  25. package/dist-types/models/models_2.d.ts +150 -166
  26. package/dist-types/models/models_3.d.ts +206 -3
  27. package/dist-types/schemas/schemas_0.d.ts +8 -0
  28. package/dist-types/ts3.4/Connect.d.ts +17 -0
  29. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/SearchWorkspaceAssociationsCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/SearchWorkspacesCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/commands/UpdateUserConfigCommand.d.ts +45 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/enums.d.ts +14 -7
  39. package/dist-types/ts3.4/models/models_0.d.ts +34 -30
  40. package/dist-types/ts3.4/models/models_1.d.ts +40 -33
  41. package/dist-types/ts3.4/models/models_2.d.ts +42 -36
  42. package/dist-types/ts3.4/models/models_3.d.ts +50 -3
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  44. package/package.json +2 -2
@@ -1,7 +1,170 @@
1
1
  import { AgentAvailabilityTimer, AgentStatusState, AnsweringMachineDetectionStatus, Channel, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DisconnectOnCustomerExitParticipantType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, InboundMessageSourceType, InitiateAs, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, MeetingFeatureStatus, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, QueueStatus, RehydrationType, ResponseMode, RoutingCriteriaStepStatus, RulePublishStatus, SearchableQueueType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VoiceRecordingTrack } from "./enums";
2
- import { type AdditionalEmailRecipients, type AgentConfig, type AgentInfo, type AgentStatusSearchFilter, type AllowedCapabilities, type Campaign, type CreatedByInfo, type DataTableLockVersion, type Endpoint, type EvaluationFormAutoEvaluationConfiguration, type EvaluationFormLanguageConfiguration, type EvaluationFormQuestionTypeProperties, type EvaluationFormScoringStrategy, type EvaluationFormTargetConfiguration, type EvaluationReviewConfiguration, type GranularAccessControlConfiguration, type InputPredefinedAttributeConfiguration, type InstanceStorageConfig, type OutboundCallerConfig, type OutboundEmailConfig, type OutboundStrategy, type PredefinedAttributeValues, type QuickConnectConfig, type RecurrenceConfig, type StringCondition, type TaskTemplateConstraints, type TaskTemplateDefaults, type TestCaseEntryPoint, type UserIdentityInfo, type UserInfo, type UserPhoneConfig, type Validation, type View, type ViewInputContent, type WorkspaceTheme, Application, EvaluationFormItemEnablementExpression, FlowModule, HoursOfOperationConfig, HoursOfOperationOverrideConfig, MediaConcurrency, PrimaryValue, Reference, RoutingProfileQueueConfig, RuleAction, TaskTemplateField, UserProficiency } from "./models_0";
3
- import { type AttributeCondition, type ChatMetrics, type ContactDetails, type Customer, type CustomerVoiceActivity, type DisconnectDetails, type EndpointInfo, type Evaluation, type EvaluationAnswerData, type Expiry, type GlobalResiliencyMetadata, type QualityMetrics, type QueueInfo, type SignInConfig, type TaskTemplateInfoV2, type TelephonyConfig, type WisdomInfo, ContactEvaluation, EvaluationNote, NextContactEntry, RecordingInfo } from "./models_1";
4
- import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchFilter, DateCondition, DateTimeCondition, DecimalCondition, EmailAddressSearchFilter, EvaluationFormSearchFilter, EvaluationSearchFilter, HierarchyGroupCondition, HoursOfOperationSearchFilter, ListCondition, NumberCondition, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SecurityProfilesSearchFilter, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter, WorkspaceAssociationSearchFilter, WorkspaceSearchFilter } from "./models_2";
2
+ import { type AdditionalEmailRecipients, type AgentConfig, type AgentInfo, type AgentStatusSearchFilter, type AllowedCapabilities, type Campaign, type ControlPlaneAttributeFilter, type CreatedByInfo, type DataTableLockVersion, type Endpoint, type EvaluationFormAutoEvaluationConfiguration, type EvaluationFormLanguageConfiguration, type EvaluationFormQuestionTypeProperties, type EvaluationFormScoringStrategy, type EvaluationFormTargetConfiguration, type EvaluationReviewConfiguration, type GranularAccessControlConfiguration, type InputPredefinedAttributeConfiguration, type InstanceStorageConfig, type OutboundCallerConfig, type OutboundEmailConfig, type OutboundStrategy, type PredefinedAttributeValues, type QuickConnectConfig, type RecurrenceConfig, type StringCondition, type TaskTemplateConstraints, type TaskTemplateDefaults, type TestCaseEntryPoint, type UserIdentityInfo, type UserInfo, type UserPhoneConfig, type Validation, type View, type ViewInputContent, AfterContactWorkConfigPerChannel, Application, AutoAcceptConfig, EvaluationFormItemEnablementExpression, FlowModule, HoursOfOperationConfig, HoursOfOperationOverrideConfig, MediaConcurrency, PersistentConnectionConfig, PhoneNumberConfig, PrimaryValue, Reference, RoutingProfileQueueConfig, RuleAction, TaskTemplateField, UserProficiency, VoiceEnhancementConfig } from "./models_0";
3
+ import { type AttributeCondition, type ChatMetrics, type ContactDetails, type Customer, type CustomerVoiceActivity, type DisconnectDetails, type EndpointInfo, type Evaluation, type EvaluationAnswerData, type Expiry, type GlobalResiliencyMetadata, type QualityMetrics, type QueueInfo, type SignInConfig, type TaskTemplateInfoV2, type TelephonyConfig, type WisdomInfo, type WorkspaceTheme, ContactEvaluation, EvaluationNote, NextContactEntry, RecordingInfo } from "./models_1";
4
+ import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchFilter, DateCondition, DateTimeCondition, DecimalCondition, EmailAddressSearchFilter, EvaluationFormSearchFilter, EvaluationSearchFilter, HierarchyGroupCondition, HoursOfOperationSearchFilter, ListCondition, NumberCondition, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SecurityProfilesSearchFilter, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter } from "./models_2";
5
+ /**
6
+ * <p>Defines filters to apply when searching for workspace associations, such as tag-based filters.</p>
7
+ * @public
8
+ */
9
+ export interface WorkspaceAssociationSearchFilter {
10
+ /**
11
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
12
+ * <code>OR</code> or <code>AND</code> (List of List) input where:</p>
13
+ * <ul>
14
+ * <li>
15
+ * <p>The top level list specifies conditions that need to be applied with <code>OR</code> operator.</p>
16
+ * </li>
17
+ * <li>
18
+ * <p>The inner list specifies conditions that need to be applied with <code>AND</code> operator.</p>
19
+ * </li>
20
+ * </ul>
21
+ * @public
22
+ */
23
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
24
+ }
25
+ /**
26
+ * <p>Contains summary information about a workspace association with a user or routing profile.</p>
27
+ * @public
28
+ */
29
+ export interface WorkspaceAssociationSearchSummary {
30
+ /**
31
+ * <p>The identifier of the workspace.</p>
32
+ * @public
33
+ */
34
+ WorkspaceId?: string | undefined;
35
+ /**
36
+ * <p>The Amazon Resource Name (ARN) of the workspace.</p>
37
+ * @public
38
+ */
39
+ WorkspaceArn?: string | undefined;
40
+ /**
41
+ * <p>The identifier of the associated resource (user or routing profile).</p>
42
+ * @public
43
+ */
44
+ ResourceId?: string | undefined;
45
+ /**
46
+ * <p>The Amazon Resource Name (ARN) of the associated resource.</p>
47
+ * @public
48
+ */
49
+ ResourceArn?: string | undefined;
50
+ /**
51
+ * <p>The type of resource associated with the workspace. Valid values are: <code>USER</code> and
52
+ * <code>ROUTING_PROFILE</code>.</p>
53
+ * @public
54
+ */
55
+ ResourceType?: string | undefined;
56
+ /**
57
+ * <p>The name of the associated resource.</p>
58
+ * @public
59
+ */
60
+ ResourceName?: string | undefined;
61
+ }
62
+ /**
63
+ * @public
64
+ */
65
+ export interface SearchWorkspaceAssociationsResponse {
66
+ /**
67
+ * <p>If there are additional results, this is the token for the next set of results.</p>
68
+ * @public
69
+ */
70
+ NextToken?: string | undefined;
71
+ /**
72
+ * <p>A list of workspace associations that match the search criteria.</p>
73
+ * @public
74
+ */
75
+ WorkspaceAssociations?: WorkspaceAssociationSearchSummary[] | undefined;
76
+ /**
77
+ * <p>The approximate total number of workspace associations that match the search criteria.</p>
78
+ * @public
79
+ */
80
+ ApproximateTotalCount?: number | undefined;
81
+ }
82
+ /**
83
+ * <p>Defines filters to apply when searching for workspaces, such as tag-based filters.</p>
84
+ * @public
85
+ */
86
+ export interface WorkspaceSearchFilter {
87
+ /**
88
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
89
+ * <code>OR</code> or <code>AND</code> (List of List) input where:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>The top level list specifies conditions that need to be applied with <code>OR</code> operator.</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>The inner list specifies conditions that need to be applied with <code>AND</code> operator.</p>
96
+ * </li>
97
+ * </ul>
98
+ * @public
99
+ */
100
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
101
+ }
102
+ /**
103
+ * <p>Contains summary information about a workspace returned from a search operation.</p>
104
+ * @public
105
+ */
106
+ export interface WorkspaceSearchSummary {
107
+ /**
108
+ * <p>The unique identifier of the workspace.</p>
109
+ * @public
110
+ */
111
+ Id?: string | undefined;
112
+ /**
113
+ * <p>The name of the workspace.</p>
114
+ * @public
115
+ */
116
+ Name?: string | undefined;
117
+ /**
118
+ * <p>The visibility setting of the workspace.</p>
119
+ * @public
120
+ */
121
+ Visibility?: Visibility | undefined;
122
+ /**
123
+ * <p>The description of the workspace.</p>
124
+ * @public
125
+ */
126
+ Description?: string | undefined;
127
+ /**
128
+ * <p>The title displayed for the workspace.</p>
129
+ * @public
130
+ */
131
+ Title?: string | undefined;
132
+ /**
133
+ * <p>The Amazon Resource Name (ARN) of the workspace.</p>
134
+ * @public
135
+ */
136
+ Arn?: string | undefined;
137
+ /**
138
+ * <p>The timestamp when the workspace was created.</p>
139
+ * @public
140
+ */
141
+ CreatedAt?: Date | undefined;
142
+ /**
143
+ * <p>The tags associated with the workspace.</p>
144
+ * @public
145
+ */
146
+ Tags?: Record<string, string> | undefined;
147
+ }
148
+ /**
149
+ * @public
150
+ */
151
+ export interface SearchWorkspacesResponse {
152
+ /**
153
+ * <p>If there are additional results, this is the token for the next set of results.</p>
154
+ * @public
155
+ */
156
+ NextToken?: string | undefined;
157
+ /**
158
+ * <p>A list of workspaces that match the search criteria.</p>
159
+ * @public
160
+ */
161
+ Workspaces?: WorkspaceSearchSummary[] | undefined;
162
+ /**
163
+ * <p>The approximate total number of workspaces that match the search criteria.</p>
164
+ * @public
165
+ */
166
+ ApproximateTotalCount?: number | undefined;
167
+ }
5
168
  /**
6
169
  * <p>Chat integration event containing payload to perform different chat actions such as:</p>
7
170
  * <ul>
@@ -3517,6 +3680,46 @@ export interface UpdateTrafficDistributionRequest {
3517
3680
  */
3518
3681
  export interface UpdateTrafficDistributionResponse {
3519
3682
  }
3683
+ /**
3684
+ * @public
3685
+ */
3686
+ export interface UpdateUserConfigRequest {
3687
+ /**
3688
+ * <p>The list of auto-accept configuration settings for each channel. When auto-accept is enabled for a channel, available agents are automatically connected to contacts from that channel without needing to manually accept. Auto-accept connects agents to contacts in less than one second.</p>
3689
+ * @public
3690
+ */
3691
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
3692
+ /**
3693
+ * <p>The list of after contact work (ACW) timeout configuration settings for each channel. ACW timeout specifies how many seconds agents have for after contact work, such as entering notes about the contact. The minimum setting is 1 second, and the maximum is 2,000,000 seconds (24 days). Enter 0 for an indefinite amount of time, meaning agents must manually choose to end ACW.</p>
3694
+ * @public
3695
+ */
3696
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
3697
+ /**
3698
+ * <p>The list of phone number configuration settings for each channel.</p>
3699
+ * @public
3700
+ */
3701
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
3702
+ /**
3703
+ * <p>The list of persistent connection configuration settings for each channel.</p>
3704
+ * @public
3705
+ */
3706
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
3707
+ /**
3708
+ * <p>The list of voice enhancement configuration settings for each channel.</p>
3709
+ * @public
3710
+ */
3711
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
3712
+ /**
3713
+ * <p>The identifier of the user account.</p>
3714
+ * @public
3715
+ */
3716
+ UserId: string | undefined;
3717
+ /**
3718
+ * <p>The identifier of the Amazon Connect 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>
3719
+ * @public
3720
+ */
3721
+ InstanceId: string | undefined;
3722
+ }
3520
3723
  /**
3521
3724
  * @public
3522
3725
  */
@@ -4,6 +4,8 @@ export declare var ActionSummary$: StaticStructureSchema;
4
4
  export declare var ActivateEvaluationFormRequest$: StaticStructureSchema;
5
5
  export declare var ActivateEvaluationFormResponse$: StaticStructureSchema;
6
6
  export declare var AdditionalEmailRecipients$: StaticStructureSchema;
7
+ export declare var AfterContactWorkConfig$: StaticStructureSchema;
8
+ export declare var AfterContactWorkConfigPerChannel$: StaticStructureSchema;
7
9
  export declare var AgentConfig$: StaticStructureSchema;
8
10
  export declare var AgentContactReference$: StaticStructureSchema;
9
11
  export declare var AgentFirst$: StaticStructureSchema;
@@ -67,6 +69,7 @@ export declare var AudioFeatures$: StaticStructureSchema;
67
69
  export declare var AudioQualityMetricsInfo$: StaticStructureSchema;
68
70
  export declare var AuthenticationProfile$: StaticStructureSchema;
69
71
  export declare var AuthenticationProfileSummary$: StaticStructureSchema;
72
+ export declare var AutoAcceptConfig$: StaticStructureSchema;
70
73
  export declare var AutoEvaluationConfiguration$: StaticStructureSchema;
71
74
  export declare var AutoEvaluationDetails$: StaticStructureSchema;
72
75
  export declare var AutomaticFailConfiguration$: StaticStructureSchema;
@@ -755,6 +758,8 @@ export declare var ParticipantTokenCredentials$: StaticStructureSchema;
755
758
  export declare var PauseContactRequest$: StaticStructureSchema;
756
759
  export declare var PauseContactResponse$: StaticStructureSchema;
757
760
  export declare var PersistentChat$: StaticStructureSchema;
761
+ export declare var PersistentConnectionConfig$: StaticStructureSchema;
762
+ export declare var PhoneNumberConfig$: StaticStructureSchema;
758
763
  export declare var PhoneNumberQuickConnectConfig$: StaticStructureSchema;
759
764
  export declare var PhoneNumberStatus$: StaticStructureSchema;
760
765
  export declare var PhoneNumberSummary$: StaticStructureSchema;
@@ -1086,6 +1091,7 @@ export declare var UpdateTestCaseRequest$: StaticStructureSchema;
1086
1091
  export declare var UpdateTestCaseResponse$: StaticStructureSchema;
1087
1092
  export declare var UpdateTrafficDistributionRequest$: StaticStructureSchema;
1088
1093
  export declare var UpdateTrafficDistributionResponse$: StaticStructureSchema;
1094
+ export declare var UpdateUserConfigRequest$: StaticStructureSchema;
1089
1095
  export declare var UpdateUserHierarchyGroupNameRequest$: StaticStructureSchema;
1090
1096
  export declare var UpdateUserHierarchyRequest$: StaticStructureSchema;
1091
1097
  export declare var UpdateUserHierarchyStructureRequest$: StaticStructureSchema;
@@ -1139,6 +1145,7 @@ export declare var ViewVersionSummary$: StaticStructureSchema;
1139
1145
  export declare var Vocabulary$: StaticStructureSchema;
1140
1146
  export declare var VocabularySummary$: StaticStructureSchema;
1141
1147
  export declare var VoiceCallEntryPointParameters$: StaticStructureSchema;
1148
+ export declare var VoiceEnhancementConfig$: StaticStructureSchema;
1142
1149
  export declare var VoiceRecordingConfiguration$: StaticStructureSchema;
1143
1150
  export declare var WisdomInfo$: StaticStructureSchema;
1144
1151
  export declare var Workspace$: StaticStructureSchema;
@@ -1517,6 +1524,7 @@ export declare var UpdateSecurityProfile$: StaticOperationSchema;
1517
1524
  export declare var UpdateTaskTemplate$: StaticOperationSchema;
1518
1525
  export declare var UpdateTestCase$: StaticOperationSchema;
1519
1526
  export declare var UpdateTrafficDistribution$: StaticOperationSchema;
1527
+ export declare var UpdateUserConfig$: StaticOperationSchema;
1520
1528
  export declare var UpdateUserHierarchy$: StaticOperationSchema;
1521
1529
  export declare var UpdateUserHierarchyGroupName$: StaticOperationSchema;
1522
1530
  export declare var UpdateUserHierarchyStructure$: StaticOperationSchema;
@@ -1367,6 +1367,10 @@ import {
1367
1367
  UpdateTrafficDistributionCommandInput,
1368
1368
  UpdateTrafficDistributionCommandOutput,
1369
1369
  } from "./commands/UpdateTrafficDistributionCommand";
1370
+ import {
1371
+ UpdateUserConfigCommandInput,
1372
+ UpdateUserConfigCommandOutput,
1373
+ } from "./commands/UpdateUserConfigCommand";
1370
1374
  import {
1371
1375
  UpdateUserHierarchyCommandInput,
1372
1376
  UpdateUserHierarchyCommandOutput,
@@ -5941,6 +5945,19 @@ export interface Connect {
5941
5945
  options: __HttpHandlerOptions,
5942
5946
  cb: (err: any, data?: UpdateTrafficDistributionCommandOutput) => void
5943
5947
  ): void;
5948
+ updateUserConfig(
5949
+ args: UpdateUserConfigCommandInput,
5950
+ options?: __HttpHandlerOptions
5951
+ ): Promise<UpdateUserConfigCommandOutput>;
5952
+ updateUserConfig(
5953
+ args: UpdateUserConfigCommandInput,
5954
+ cb: (err: any, data?: UpdateUserConfigCommandOutput) => void
5955
+ ): void;
5956
+ updateUserConfig(
5957
+ args: UpdateUserConfigCommandInput,
5958
+ options: __HttpHandlerOptions,
5959
+ cb: (err: any, data?: UpdateUserConfigCommandOutput) => void
5960
+ ): void;
5944
5961
  updateUserHierarchy(
5945
5962
  args: UpdateUserHierarchyCommandInput,
5946
5963
  options?: __HttpHandlerOptions
@@ -1409,6 +1409,10 @@ import {
1409
1409
  UpdateTrafficDistributionCommandInput,
1410
1410
  UpdateTrafficDistributionCommandOutput,
1411
1411
  } from "./commands/UpdateTrafficDistributionCommand";
1412
+ import {
1413
+ UpdateUserConfigCommandInput,
1414
+ UpdateUserConfigCommandOutput,
1415
+ } from "./commands/UpdateUserConfigCommand";
1412
1416
  import {
1413
1417
  UpdateUserHierarchyCommandInput,
1414
1418
  UpdateUserHierarchyCommandOutput,
@@ -1814,6 +1818,7 @@ export type ServiceInputTypes =
1814
1818
  | UpdateTaskTemplateCommandInput
1815
1819
  | UpdateTestCaseCommandInput
1816
1820
  | UpdateTrafficDistributionCommandInput
1821
+ | UpdateUserConfigCommandInput
1817
1822
  | UpdateUserHierarchyCommandInput
1818
1823
  | UpdateUserHierarchyGroupNameCommandInput
1819
1824
  | UpdateUserHierarchyStructureCommandInput
@@ -2170,6 +2175,7 @@ export type ServiceOutputTypes =
2170
2175
  | UpdateTaskTemplateCommandOutput
2171
2176
  | UpdateTestCaseCommandOutput
2172
2177
  | UpdateTrafficDistributionCommandOutput
2178
+ | UpdateUserConfigCommandOutput
2173
2179
  | UpdateUserHierarchyCommandOutput
2174
2180
  | UpdateUserHierarchyGroupNameCommandOutput
2175
2181
  | UpdateUserHierarchyStructureCommandOutput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateWorkspaceRequest,
10
10
  CreateWorkspaceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListAgentStatusRequest,
10
10
  ListAgentStatusResponse,
11
- } from "../models/models_1";
11
+ } from "../models/models_2";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListAgentStatusesCommandInput extends ListAgentStatusRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListAnalyticsDataAssociationsRequest,
10
10
  ListAnalyticsDataAssociationsResponse,
11
- } from "../models/models_1";
11
+ } from "../models/models_2";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListAnalyticsDataAssociationsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { ListAnalyticsDataLakeDataSetsRequest } from "../models/models_1";
9
- import { ListAnalyticsDataLakeDataSetsResponse } from "../models/models_2";
8
+ import {
9
+ ListAnalyticsDataLakeDataSetsRequest,
10
+ ListAnalyticsDataLakeDataSetsResponse,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListAnalyticsDataLakeDataSetsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { SearchWorkspaceAssociationsResponse } from "../models/models_2";
9
- import { SearchWorkspaceAssociationsRequest } from "../models/models_3";
8
+ import {
9
+ SearchWorkspaceAssociationsRequest,
10
+ SearchWorkspaceAssociationsResponse,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface SearchWorkspaceAssociationsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { SearchWorkspacesResponse } from "../models/models_2";
9
- import { SearchWorkspacesRequest } from "../models/models_3";
8
+ import {
9
+ SearchWorkspacesRequest,
10
+ SearchWorkspacesResponse,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface SearchWorkspacesCommandInput extends SearchWorkspacesRequest {}
@@ -0,0 +1,45 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import { UpdateUserConfigRequest } from "../models/models_3";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateUserConfigCommandInput extends UpdateUserConfigRequest {}
12
+ export interface UpdateUserConfigCommandOutput extends __MetadataBearer {}
13
+ declare const UpdateUserConfigCommand_base: {
14
+ new (
15
+ input: UpdateUserConfigCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
17
+ UpdateUserConfigCommandInput,
18
+ UpdateUserConfigCommandOutput,
19
+ ConnectClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ new (
24
+ input: UpdateUserConfigCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ UpdateUserConfigCommandInput,
27
+ UpdateUserConfigCommandOutput,
28
+ ConnectClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class UpdateUserConfigCommand extends UpdateUserConfigCommand_base {
35
+ protected static __types: {
36
+ api: {
37
+ input: UpdateUserConfigRequest;
38
+ output: {};
39
+ };
40
+ sdk: {
41
+ input: UpdateUserConfigCommandInput;
42
+ output: UpdateUserConfigCommandOutput;
43
+ };
44
+ };
45
+ }
@@ -339,6 +339,7 @@ export * from "./UpdateSecurityProfileCommand";
339
339
  export * from "./UpdateTaskTemplateCommand";
340
340
  export * from "./UpdateTestCaseCommand";
341
341
  export * from "./UpdateTrafficDistributionCommand";
342
+ export * from "./UpdateUserConfigCommand";
342
343
  export * from "./UpdateUserHierarchyCommand";
343
344
  export * from "./UpdateUserHierarchyGroupNameCommand";
344
345
  export * from "./UpdateUserHierarchyStructureCommand";
@@ -14,6 +14,13 @@ export declare const ActionType: {
14
14
  readonly UPDATE_CASE: "UPDATE_CASE";
15
15
  };
16
16
  export type ActionType = (typeof ActionType)[keyof typeof ActionType];
17
+ export declare const Channel: {
18
+ readonly CHAT: "CHAT";
19
+ readonly EMAIL: "EMAIL";
20
+ readonly TASK: "TASK";
21
+ readonly VOICE: "VOICE";
22
+ };
23
+ export type Channel = (typeof Channel)[keyof typeof Channel];
17
24
  export declare const AgentAvailabilityTimer: {
18
25
  readonly TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY";
19
26
  readonly TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND";
@@ -32,13 +39,6 @@ export declare const ContactState: {
32
39
  readonly REJECTED: "REJECTED";
33
40
  };
34
41
  export type ContactState = (typeof ContactState)[keyof typeof ContactState];
35
- export declare const Channel: {
36
- readonly CHAT: "CHAT";
37
- readonly EMAIL: "EMAIL";
38
- readonly TASK: "TASK";
39
- readonly VOICE: "VOICE";
40
- };
41
- export type Channel = (typeof Channel)[keyof typeof Channel];
42
42
  export declare const ContactInitiationMethod: {
43
43
  readonly AGENT_REPLY: "AGENT_REPLY";
44
44
  readonly API: "API";
@@ -649,6 +649,13 @@ export declare const PhoneType: {
649
649
  readonly SOFT_PHONE: "SOFT_PHONE";
650
650
  };
651
651
  export type PhoneType = (typeof PhoneType)[keyof typeof PhoneType];
652
+ export declare const VoiceEnhancementMode: {
653
+ readonly NOISE_SUPPRESSION: "NOISE_SUPPRESSION";
654
+ readonly NONE: "NONE";
655
+ readonly VOICE_ISOLATION: "VOICE_ISOLATION";
656
+ };
657
+ export type VoiceEnhancementMode =
658
+ (typeof VoiceEnhancementMode)[keyof typeof VoiceEnhancementMode];
652
659
  export declare const ViewStatus: {
653
660
  readonly PUBLISHED: "PUBLISHED";
654
661
  readonly SAVED: "SAVED";
@@ -78,7 +78,7 @@ import {
78
78
  ViewType,
79
79
  VocabularyLanguageCode,
80
80
  VocabularyState,
81
- WorkspaceFontFamily,
81
+ VoiceEnhancementMode,
82
82
  } from "./enums";
83
83
  export interface ActionSummary {
84
84
  ActionType: ActionType | undefined;
@@ -101,6 +101,14 @@ export interface AdditionalEmailRecipients {
101
101
  ToList?: EmailRecipient[] | undefined;
102
102
  CcList?: EmailRecipient[] | undefined;
103
103
  }
104
+ export interface AfterContactWorkConfig {
105
+ AfterContactWorkTimeLimit?: number | undefined;
106
+ }
107
+ export interface AfterContactWorkConfigPerChannel {
108
+ Channel: Channel | undefined;
109
+ AfterContactWorkConfig: AfterContactWorkConfig | undefined;
110
+ AgentFirstCallbackAfterContactWorkConfig?: AfterContactWorkConfig | undefined;
111
+ }
104
112
  export interface Distribution {
105
113
  Region: string | undefined;
106
114
  Percentage: number | undefined;
@@ -1591,6 +1599,11 @@ export interface CreateUseCaseResponse {
1591
1599
  UseCaseId?: string | undefined;
1592
1600
  UseCaseArn?: string | undefined;
1593
1601
  }
1602
+ export interface AutoAcceptConfig {
1603
+ Channel: Channel | undefined;
1604
+ AutoAccept: boolean | undefined;
1605
+ AgentFirstCallbackAutoAccept?: boolean | undefined;
1606
+ }
1594
1607
  export interface UserIdentityInfo {
1595
1608
  FirstName?: string | undefined;
1596
1609
  LastName?: string | undefined;
@@ -1598,23 +1611,41 @@ export interface UserIdentityInfo {
1598
1611
  SecondaryEmail?: string | undefined;
1599
1612
  Mobile?: string | undefined;
1600
1613
  }
1614
+ export interface PersistentConnectionConfig {
1615
+ Channel: Channel | undefined;
1616
+ PersistentConnection: boolean | undefined;
1617
+ }
1601
1618
  export interface UserPhoneConfig {
1602
- PhoneType: PhoneType | undefined;
1619
+ PhoneType?: PhoneType | undefined;
1603
1620
  AutoAccept?: boolean | undefined;
1604
1621
  AfterContactWorkTimeLimit?: number | undefined;
1605
1622
  DeskPhoneNumber?: string | undefined;
1606
1623
  PersistentConnection?: boolean | undefined;
1607
1624
  }
1625
+ export interface PhoneNumberConfig {
1626
+ Channel: Channel | undefined;
1627
+ PhoneType: PhoneType | undefined;
1628
+ PhoneNumber?: string | undefined;
1629
+ }
1630
+ export interface VoiceEnhancementConfig {
1631
+ Channel: Channel | undefined;
1632
+ VoiceEnhancementMode: VoiceEnhancementMode | undefined;
1633
+ }
1608
1634
  export interface CreateUserRequest {
1609
1635
  Username: string | undefined;
1610
1636
  Password?: string | undefined;
1611
1637
  IdentityInfo?: UserIdentityInfo | undefined;
1612
- PhoneConfig: UserPhoneConfig | undefined;
1638
+ PhoneConfig?: UserPhoneConfig | undefined;
1613
1639
  DirectoryUserId?: string | undefined;
1614
1640
  SecurityProfileIds: string[] | undefined;
1615
1641
  RoutingProfileId: string | undefined;
1616
1642
  HierarchyGroupId?: string | undefined;
1617
1643
  InstanceId: string | undefined;
1644
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
1645
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
1646
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
1647
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
1648
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
1618
1649
  Tags?: Record<string, string> | undefined;
1619
1650
  }
1620
1651
  export interface CreateUserResponse {
@@ -1727,30 +1758,3 @@ export interface WorkspaceThemePalette {
1727
1758
  Canvas?: PaletteCanvas | undefined;
1728
1759
  Primary?: PalettePrimary | undefined;
1729
1760
  }
1730
- export interface FontFamily {
1731
- Default?: WorkspaceFontFamily | undefined;
1732
- }
1733
- export interface WorkspaceThemeTypography {
1734
- FontFamily?: FontFamily | undefined;
1735
- }
1736
- export interface WorkspaceThemeConfig {
1737
- Palette?: WorkspaceThemePalette | undefined;
1738
- Images?: WorkspaceThemeImages | undefined;
1739
- Typography?: WorkspaceThemeTypography | undefined;
1740
- }
1741
- export interface WorkspaceTheme {
1742
- Light?: WorkspaceThemeConfig | undefined;
1743
- Dark?: WorkspaceThemeConfig | undefined;
1744
- }
1745
- export interface CreateWorkspaceRequest {
1746
- InstanceId: string | undefined;
1747
- Name: string | undefined;
1748
- Description?: string | undefined;
1749
- Theme?: WorkspaceTheme | undefined;
1750
- Title?: string | undefined;
1751
- Tags?: Record<string, string> | undefined;
1752
- }
1753
- export interface CreateWorkspaceResponse {
1754
- WorkspaceId: string | undefined;
1755
- WorkspaceArn: string | undefined;
1756
- }