@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,6 +1,5 @@
1
1
  import {
2
2
  AgentAvailabilityTimer,
3
- AgentStatusType,
4
3
  AutoEvaluationStatus,
5
4
  Channel,
6
5
  Comparison,
@@ -61,6 +60,7 @@ import {
61
60
  Visibility,
62
61
  VocabularyLanguageCode,
63
62
  VocabularyState,
63
+ WorkspaceFontFamily,
64
64
  } from "./enums";
65
65
  import {
66
66
  AgentConfig,
@@ -94,24 +94,55 @@ import {
94
94
  UserPhoneConfig,
95
95
  Validation,
96
96
  View,
97
- WorkspaceTheme,
97
+ WorkspaceThemeImages,
98
+ WorkspaceThemePalette,
99
+ AfterContactWorkConfigPerChannel,
98
100
  AgentContactReference,
99
- AgentStatusSummary,
100
101
  AiAgentInfo,
101
102
  AliasConfiguration,
102
- AnalyticsDataAssociationResult,
103
+ AutoAcceptConfig,
103
104
  Distribution,
104
105
  FailedBatchAssociationSummary,
105
106
  HoursOfOperationConfig,
106
107
  HoursOfOperationOverrideConfig,
107
108
  MediaConcurrency,
109
+ PersistentConnectionConfig,
110
+ PhoneNumberConfig,
108
111
  PrimaryValue,
109
112
  RoutingProfileQueueReference,
110
113
  RuleAction,
111
114
  SecurityProfileItem,
112
115
  SuccessfulBatchAssociationSummary,
113
116
  TaskTemplateField,
117
+ VoiceEnhancementConfig,
114
118
  } from "./models_0";
119
+ export interface FontFamily {
120
+ Default?: WorkspaceFontFamily | undefined;
121
+ }
122
+ export interface WorkspaceThemeTypography {
123
+ FontFamily?: FontFamily | undefined;
124
+ }
125
+ export interface WorkspaceThemeConfig {
126
+ Palette?: WorkspaceThemePalette | undefined;
127
+ Images?: WorkspaceThemeImages | undefined;
128
+ Typography?: WorkspaceThemeTypography | undefined;
129
+ }
130
+ export interface WorkspaceTheme {
131
+ Light?: WorkspaceThemeConfig | undefined;
132
+ Dark?: WorkspaceThemeConfig | undefined;
133
+ }
134
+ export interface CreateWorkspaceRequest {
135
+ InstanceId: string | undefined;
136
+ Name: string | undefined;
137
+ Description?: string | undefined;
138
+ Theme?: WorkspaceTheme | undefined;
139
+ Title?: string | undefined;
140
+ Tags?: Record<string, string> | undefined;
141
+ }
142
+ export interface CreateWorkspaceResponse {
143
+ WorkspaceId: string | undefined;
144
+ WorkspaceArn: string | undefined;
145
+ }
115
146
  export interface CreateWorkspacePageRequest {
116
147
  InstanceId: string | undefined;
117
148
  WorkspaceId: string | undefined;
@@ -1113,6 +1144,11 @@ export interface User {
1113
1144
  RoutingProfileId?: string | undefined;
1114
1145
  HierarchyGroupId?: string | undefined;
1115
1146
  Tags?: Record<string, string> | undefined;
1147
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
1148
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
1149
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
1150
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
1151
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
1116
1152
  LastModifiedTime?: Date | undefined;
1117
1153
  LastModifiedRegion?: string | undefined;
1118
1154
  }
@@ -1737,32 +1773,3 @@ export interface ImportWorkspaceMediaRequest {
1737
1773
  MediaSource: string | undefined;
1738
1774
  }
1739
1775
  export interface ImportWorkspaceMediaResponse {}
1740
- export interface ListAgentStatusRequest {
1741
- InstanceId: string | undefined;
1742
- NextToken?: string | undefined;
1743
- MaxResults?: number | undefined;
1744
- AgentStatusTypes?: AgentStatusType[] | undefined;
1745
- }
1746
- export interface ListAgentStatusResponse {
1747
- NextToken?: string | undefined;
1748
- AgentStatusSummaryList?: AgentStatusSummary[] | undefined;
1749
- }
1750
- export interface ListAnalyticsDataAssociationsRequest {
1751
- InstanceId: string | undefined;
1752
- DataSetId?: string | undefined;
1753
- NextToken?: string | undefined;
1754
- MaxResults?: number | undefined;
1755
- }
1756
- export interface ListAnalyticsDataAssociationsResponse {
1757
- Results?: AnalyticsDataAssociationResult[] | undefined;
1758
- NextToken?: string | undefined;
1759
- }
1760
- export interface ListAnalyticsDataLakeDataSetsRequest {
1761
- InstanceId: string | undefined;
1762
- NextToken?: string | undefined;
1763
- MaxResults?: number | undefined;
1764
- }
1765
- export interface AnalyticsDataSetsResult {
1766
- DataSetId?: string | undefined;
1767
- DataSetName?: string | undefined;
1768
- }
@@ -1,4 +1,5 @@
1
1
  import {
2
+ AgentStatusType,
2
3
  ArtifactStatus,
3
4
  AutoEvaluationStatus,
4
5
  BooleanComparisonType,
@@ -62,7 +63,6 @@ import {
62
63
  UseCaseType,
63
64
  ViewStatus,
64
65
  ViewType,
65
- Visibility,
66
66
  VocabularyLanguageCode,
67
67
  VocabularyState,
68
68
  } from "./enums";
@@ -74,23 +74,29 @@ import {
74
74
  StringCondition,
75
75
  UserPhoneConfig,
76
76
  ActionSummary,
77
+ AfterContactWorkConfigPerChannel,
77
78
  AgentStatus,
79
+ AgentStatusSummary,
78
80
  AliasConfiguration,
81
+ AnalyticsDataAssociationResult,
79
82
  Application,
83
+ AutoAcceptConfig,
80
84
  FlowAssociationSummary,
81
85
  FlowModule,
82
86
  InstanceStorageConfig,
83
87
  LexBot,
88
+ PersistentConnectionConfig,
89
+ PhoneNumberConfig,
84
90
  PrimaryValueResponse,
85
91
  SecurityProfileItem,
86
92
  TagCondition,
87
93
  UserProficiency,
88
94
  View,
95
+ VoiceEnhancementConfig,
89
96
  } from "./models_0";
90
97
  import {
91
98
  EvaluationContactParticipant,
92
99
  EvaluationScore,
93
- AnalyticsDataSetsResult,
94
100
  Attribute,
95
101
  ContactFlow,
96
102
  ContactFlowModule,
@@ -108,6 +114,35 @@ import {
108
114
  RoutingProfile,
109
115
  TestCase,
110
116
  } from "./models_1";
117
+ export interface ListAgentStatusRequest {
118
+ InstanceId: string | undefined;
119
+ NextToken?: string | undefined;
120
+ MaxResults?: number | undefined;
121
+ AgentStatusTypes?: AgentStatusType[] | undefined;
122
+ }
123
+ export interface ListAgentStatusResponse {
124
+ NextToken?: string | undefined;
125
+ AgentStatusSummaryList?: AgentStatusSummary[] | undefined;
126
+ }
127
+ export interface ListAnalyticsDataAssociationsRequest {
128
+ InstanceId: string | undefined;
129
+ DataSetId?: string | undefined;
130
+ NextToken?: string | undefined;
131
+ MaxResults?: number | undefined;
132
+ }
133
+ export interface ListAnalyticsDataAssociationsResponse {
134
+ Results?: AnalyticsDataAssociationResult[] | undefined;
135
+ NextToken?: string | undefined;
136
+ }
137
+ export interface ListAnalyticsDataLakeDataSetsRequest {
138
+ InstanceId: string | undefined;
139
+ NextToken?: string | undefined;
140
+ MaxResults?: number | undefined;
141
+ }
142
+ export interface AnalyticsDataSetsResult {
143
+ DataSetId?: string | undefined;
144
+ DataSetName?: string | undefined;
145
+ }
111
146
  export interface ListAnalyticsDataLakeDataSetsResponse {
112
147
  Results?: AnalyticsDataSetsResult[] | undefined;
113
148
  NextToken?: string | undefined;
@@ -1895,6 +1930,11 @@ export interface UserSearchSummary {
1895
1930
  SecurityProfileIds?: string[] | undefined;
1896
1931
  Tags?: Record<string, string> | undefined;
1897
1932
  Username?: string | undefined;
1933
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
1934
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
1935
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
1936
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
1937
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
1898
1938
  }
1899
1939
  export interface SearchUsersResponse {
1900
1940
  Users?: UserSearchSummary[] | undefined;
@@ -1930,37 +1970,3 @@ export interface SearchVocabulariesResponse {
1930
1970
  VocabularySummaryList?: VocabularySummary[] | undefined;
1931
1971
  NextToken?: string | undefined;
1932
1972
  }
1933
- export interface WorkspaceAssociationSearchFilter {
1934
- AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1935
- }
1936
- export interface WorkspaceAssociationSearchSummary {
1937
- WorkspaceId?: string | undefined;
1938
- WorkspaceArn?: string | undefined;
1939
- ResourceId?: string | undefined;
1940
- ResourceArn?: string | undefined;
1941
- ResourceType?: string | undefined;
1942
- ResourceName?: string | undefined;
1943
- }
1944
- export interface SearchWorkspaceAssociationsResponse {
1945
- NextToken?: string | undefined;
1946
- WorkspaceAssociations?: WorkspaceAssociationSearchSummary[] | undefined;
1947
- ApproximateTotalCount?: number | undefined;
1948
- }
1949
- export interface WorkspaceSearchFilter {
1950
- AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1951
- }
1952
- export interface WorkspaceSearchSummary {
1953
- Id?: string | undefined;
1954
- Name?: string | undefined;
1955
- Visibility?: Visibility | undefined;
1956
- Description?: string | undefined;
1957
- Title?: string | undefined;
1958
- Arn?: string | undefined;
1959
- CreatedAt?: Date | undefined;
1960
- Tags?: Record<string, string> | undefined;
1961
- }
1962
- export interface SearchWorkspacesResponse {
1963
- NextToken?: string | undefined;
1964
- Workspaces?: WorkspaceSearchSummary[] | undefined;
1965
- ApproximateTotalCount?: number | undefined;
1966
- }
@@ -55,6 +55,7 @@ import {
55
55
  AgentStatusSearchFilter,
56
56
  AllowedCapabilities,
57
57
  Campaign,
58
+ ControlPlaneAttributeFilter,
58
59
  CreatedByInfo,
59
60
  DataTableLockVersion,
60
61
  Endpoint,
@@ -83,19 +84,23 @@ import {
83
84
  Validation,
84
85
  View,
85
86
  ViewInputContent,
86
- WorkspaceTheme,
87
+ AfterContactWorkConfigPerChannel,
87
88
  Application,
89
+ AutoAcceptConfig,
88
90
  EvaluationFormItemEnablementExpression,
89
91
  FlowModule,
90
92
  HoursOfOperationConfig,
91
93
  HoursOfOperationOverrideConfig,
92
94
  MediaConcurrency,
95
+ PersistentConnectionConfig,
96
+ PhoneNumberConfig,
93
97
  PrimaryValue,
94
98
  Reference,
95
99
  RoutingProfileQueueConfig,
96
100
  RuleAction,
97
101
  TaskTemplateField,
98
102
  UserProficiency,
103
+ VoiceEnhancementConfig,
99
104
  } from "./models_0";
100
105
  import {
101
106
  AttributeCondition,
@@ -115,6 +120,7 @@ import {
115
120
  TaskTemplateInfoV2,
116
121
  TelephonyConfig,
117
122
  WisdomInfo,
123
+ WorkspaceTheme,
118
124
  ContactEvaluation,
119
125
  EvaluationNote,
120
126
  NextContactEntry,
@@ -146,9 +152,41 @@ import {
146
152
  UserHierarchyGroupSearchFilter,
147
153
  UserSearchFilter,
148
154
  ViewSearchFilter,
149
- WorkspaceAssociationSearchFilter,
150
- WorkspaceSearchFilter,
151
155
  } from "./models_2";
156
+ export interface WorkspaceAssociationSearchFilter {
157
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
158
+ }
159
+ export interface WorkspaceAssociationSearchSummary {
160
+ WorkspaceId?: string | undefined;
161
+ WorkspaceArn?: string | undefined;
162
+ ResourceId?: string | undefined;
163
+ ResourceArn?: string | undefined;
164
+ ResourceType?: string | undefined;
165
+ ResourceName?: string | undefined;
166
+ }
167
+ export interface SearchWorkspaceAssociationsResponse {
168
+ NextToken?: string | undefined;
169
+ WorkspaceAssociations?: WorkspaceAssociationSearchSummary[] | undefined;
170
+ ApproximateTotalCount?: number | undefined;
171
+ }
172
+ export interface WorkspaceSearchFilter {
173
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
174
+ }
175
+ export interface WorkspaceSearchSummary {
176
+ Id?: string | undefined;
177
+ Name?: string | undefined;
178
+ Visibility?: Visibility | undefined;
179
+ Description?: string | undefined;
180
+ Title?: string | undefined;
181
+ Arn?: string | undefined;
182
+ CreatedAt?: Date | undefined;
183
+ Tags?: Record<string, string> | undefined;
184
+ }
185
+ export interface SearchWorkspacesResponse {
186
+ NextToken?: string | undefined;
187
+ Workspaces?: WorkspaceSearchSummary[] | undefined;
188
+ ApproximateTotalCount?: number | undefined;
189
+ }
152
190
  export interface ChatEvent {
153
191
  Type: ChatEventType | undefined;
154
192
  ContentType?: string | undefined;
@@ -949,6 +987,15 @@ export interface UpdateTrafficDistributionRequest {
949
987
  AgentConfig?: AgentConfig | undefined;
950
988
  }
951
989
  export interface UpdateTrafficDistributionResponse {}
990
+ export interface UpdateUserConfigRequest {
991
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
992
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
993
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
994
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
995
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
996
+ UserId: string | undefined;
997
+ InstanceId: string | undefined;
998
+ }
952
999
  export interface UpdateUserHierarchyRequest {
953
1000
  HierarchyGroupId?: string | undefined;
954
1001
  UserId: string | undefined;
@@ -9,6 +9,8 @@ export declare var ActionSummary$: StaticStructureSchema;
9
9
  export declare var ActivateEvaluationFormRequest$: StaticStructureSchema;
10
10
  export declare var ActivateEvaluationFormResponse$: StaticStructureSchema;
11
11
  export declare var AdditionalEmailRecipients$: StaticStructureSchema;
12
+ export declare var AfterContactWorkConfig$: StaticStructureSchema;
13
+ export declare var AfterContactWorkConfigPerChannel$: StaticStructureSchema;
12
14
  export declare var AgentConfig$: StaticStructureSchema;
13
15
  export declare var AgentContactReference$: StaticStructureSchema;
14
16
  export declare var AgentFirst$: StaticStructureSchema;
@@ -72,6 +74,7 @@ export declare var AudioFeatures$: StaticStructureSchema;
72
74
  export declare var AudioQualityMetricsInfo$: StaticStructureSchema;
73
75
  export declare var AuthenticationProfile$: StaticStructureSchema;
74
76
  export declare var AuthenticationProfileSummary$: StaticStructureSchema;
77
+ export declare var AutoAcceptConfig$: StaticStructureSchema;
75
78
  export declare var AutoEvaluationConfiguration$: StaticStructureSchema;
76
79
  export declare var AutoEvaluationDetails$: StaticStructureSchema;
77
80
  export declare var AutomaticFailConfiguration$: StaticStructureSchema;
@@ -760,6 +763,8 @@ export declare var ParticipantTokenCredentials$: StaticStructureSchema;
760
763
  export declare var PauseContactRequest$: StaticStructureSchema;
761
764
  export declare var PauseContactResponse$: StaticStructureSchema;
762
765
  export declare var PersistentChat$: StaticStructureSchema;
766
+ export declare var PersistentConnectionConfig$: StaticStructureSchema;
767
+ export declare var PhoneNumberConfig$: StaticStructureSchema;
763
768
  export declare var PhoneNumberQuickConnectConfig$: StaticStructureSchema;
764
769
  export declare var PhoneNumberStatus$: StaticStructureSchema;
765
770
  export declare var PhoneNumberSummary$: StaticStructureSchema;
@@ -1091,6 +1096,7 @@ export declare var UpdateTestCaseRequest$: StaticStructureSchema;
1091
1096
  export declare var UpdateTestCaseResponse$: StaticStructureSchema;
1092
1097
  export declare var UpdateTrafficDistributionRequest$: StaticStructureSchema;
1093
1098
  export declare var UpdateTrafficDistributionResponse$: StaticStructureSchema;
1099
+ export declare var UpdateUserConfigRequest$: StaticStructureSchema;
1094
1100
  export declare var UpdateUserHierarchyGroupNameRequest$: StaticStructureSchema;
1095
1101
  export declare var UpdateUserHierarchyRequest$: StaticStructureSchema;
1096
1102
  export declare var UpdateUserHierarchyStructureRequest$: StaticStructureSchema;
@@ -1144,6 +1150,7 @@ export declare var ViewVersionSummary$: StaticStructureSchema;
1144
1150
  export declare var Vocabulary$: StaticStructureSchema;
1145
1151
  export declare var VocabularySummary$: StaticStructureSchema;
1146
1152
  export declare var VoiceCallEntryPointParameters$: StaticStructureSchema;
1153
+ export declare var VoiceEnhancementConfig$: StaticStructureSchema;
1147
1154
  export declare var VoiceRecordingConfiguration$: StaticStructureSchema;
1148
1155
  export declare var WisdomInfo$: StaticStructureSchema;
1149
1156
  export declare var Workspace$: StaticStructureSchema;
@@ -1522,6 +1529,7 @@ export declare var UpdateSecurityProfile$: StaticOperationSchema;
1522
1529
  export declare var UpdateTaskTemplate$: StaticOperationSchema;
1523
1530
  export declare var UpdateTestCase$: StaticOperationSchema;
1524
1531
  export declare var UpdateTrafficDistribution$: StaticOperationSchema;
1532
+ export declare var UpdateUserConfig$: StaticOperationSchema;
1525
1533
  export declare var UpdateUserHierarchy$: StaticOperationSchema;
1526
1534
  export declare var UpdateUserHierarchyGroupName$: StaticOperationSchema;
1527
1535
  export declare var UpdateUserHierarchyStructure$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.985.0",
4
+ "version": "3.987.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",
@@ -29,7 +29,7 @@
29
29
  "@aws-sdk/middleware-user-agent": "^3.972.7",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.985.0",
32
+ "@aws-sdk/util-endpoints": "3.987.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
34
  "@aws-sdk/util-user-agent-node": "^3.972.5",
35
35
  "@smithy/config-resolver": "^4.4.6",