@aws-sdk/client-connect 3.989.0 → 3.990.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 (64) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +149 -0
  3. package/dist-cjs/schemas/schemas_0.js +222 -36
  4. package/dist-es/Connect.js +16 -0
  5. package/dist-es/commands/CreateNotificationCommand.js +16 -0
  6. package/dist-es/commands/DeleteNotificationCommand.js +16 -0
  7. package/dist-es/commands/DescribeNotificationCommand.js +16 -0
  8. package/dist-es/commands/ListNotificationsCommand.js +16 -0
  9. package/dist-es/commands/ListUserNotificationsCommand.js +16 -0
  10. package/dist-es/commands/SearchNotificationsCommand.js +16 -0
  11. package/dist-es/commands/UpdateNotificationContentCommand.js +16 -0
  12. package/dist-es/commands/UpdateUserNotificationStatusCommand.js +16 -0
  13. package/dist-es/commands/index.js +8 -0
  14. package/dist-es/models/enums.js +32 -0
  15. package/dist-es/schemas/schemas_0.js +194 -9
  16. package/dist-types/Connect.d.ts +56 -0
  17. package/dist-types/ConnectClient.d.ts +10 -2
  18. package/dist-types/commands/CreateNotificationCommand.d.ts +109 -0
  19. package/dist-types/commands/DeleteNotificationCommand.d.ts +91 -0
  20. package/dist-types/commands/DescribeNotificationCommand.d.ts +110 -0
  21. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +2 -1
  22. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
  23. package/dist-types/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
  24. package/dist-types/commands/ListNotificationsCommand.d.ts +114 -0
  25. package/dist-types/commands/ListUserNotificationsCommand.d.ts +110 -0
  26. package/dist-types/commands/SearchNotificationsCommand.d.ts +165 -0
  27. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +1 -2
  28. package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
  29. package/dist-types/commands/SearchViewsCommand.d.ts +1 -2
  30. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateNotificationContentCommand.d.ts +94 -0
  32. package/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +95 -0
  33. package/dist-types/commands/index.d.ts +8 -0
  34. package/dist-types/models/enums.d.ts +72 -0
  35. package/dist-types/models/models_0.d.ts +64 -48
  36. package/dist-types/models/models_1.d.ts +151 -140
  37. package/dist-types/models/models_2.d.ts +402 -469
  38. package/dist-types/models/models_3.d.ts +545 -4
  39. package/dist-types/schemas/schemas_0.d.ts +29 -0
  40. package/dist-types/ts3.4/Connect.d.ts +136 -0
  41. package/dist-types/ts3.4/ConnectClient.d.ts +48 -0
  42. package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/DescribeNotificationCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/ListUserNotificationsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +49 -0
  51. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
  53. package/dist-types/ts3.4/commands/SearchViewsCommand.d.ts +1 -2
  54. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateNotificationContentCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  58. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +16 -11
  60. package/dist-types/ts3.4/models/models_1.d.ts +40 -34
  61. package/dist-types/ts3.4/models/models_2.d.ts +90 -98
  62. package/dist-types/ts3.4/models/models_3.d.ts +126 -7
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  64. package/package.json +6 -6
@@ -34,9 +34,11 @@ import {
34
34
  InstanceStatus,
35
35
  InstanceStorageResourceType,
36
36
  IntervalPeriod,
37
+ LocaleCode,
37
38
  MediaStreamType,
38
39
  MediaType,
39
40
  NextContactType,
41
+ NotificationPriority,
40
42
  OperationalStatus,
41
43
  OverrideType,
42
44
  ParticipantType,
@@ -63,7 +65,6 @@ import {
63
65
  WorkspaceFontFamily,
64
66
  } from "./enums";
65
67
  import {
66
- AgentConfig,
67
68
  AgentQualityMetrics,
68
69
  AgentsCriteria,
69
70
  AgentStatus,
@@ -81,6 +82,9 @@ import {
81
82
  OutboundCallerConfig,
82
83
  OutboundEmailConfig,
83
84
  OverrideTimeSlice,
85
+ PaletteCanvas,
86
+ PaletteHeader,
87
+ PaletteNavigation,
84
88
  ParticipantCapabilities,
85
89
  PredefinedAttributeValues,
86
90
  QueueReference,
@@ -95,13 +99,11 @@ import {
95
99
  Validation,
96
100
  View,
97
101
  WorkspaceThemeImages,
98
- WorkspaceThemePalette,
99
102
  AfterContactWorkConfigPerChannel,
100
103
  AgentContactReference,
101
104
  AiAgentInfo,
102
105
  AliasConfiguration,
103
106
  AutoAcceptConfig,
104
- Distribution,
105
107
  FailedBatchAssociationSummary,
106
108
  HoursOfOperationConfig,
107
109
  HoursOfOperationOverrideConfig,
@@ -116,6 +118,17 @@ import {
116
118
  TaskTemplateField,
117
119
  VoiceEnhancementConfig,
118
120
  } from "./models_0";
121
+ export interface PalettePrimary {
122
+ Default?: string | undefined;
123
+ Active?: string | undefined;
124
+ ContrastText?: string | undefined;
125
+ }
126
+ export interface WorkspaceThemePalette {
127
+ Header?: PaletteHeader | undefined;
128
+ Navigation?: PaletteNavigation | undefined;
129
+ Canvas?: PaletteCanvas | undefined;
130
+ Primary?: PalettePrimary | undefined;
131
+ }
119
132
  export interface FontFamily {
120
133
  Default?: WorkspaceFontFamily | undefined;
121
134
  }
@@ -240,6 +253,11 @@ export interface DeleteIntegrationAssociationRequest {
240
253
  InstanceId: string | undefined;
241
254
  IntegrationAssociationId: string | undefined;
242
255
  }
256
+ export interface DeleteNotificationRequest {
257
+ InstanceId: string | undefined;
258
+ NotificationId: string | undefined;
259
+ }
260
+ export interface DeleteNotificationResponse {}
243
261
  export interface DeletePredefinedAttributeRequest {
244
262
  InstanceId: string | undefined;
245
263
  Name: string | undefined;
@@ -925,6 +943,25 @@ export interface DescribeInstanceStorageConfigRequest {
925
943
  export interface DescribeInstanceStorageConfigResponse {
926
944
  StorageConfig?: InstanceStorageConfig | undefined;
927
945
  }
946
+ export interface DescribeNotificationRequest {
947
+ InstanceId: string | undefined;
948
+ NotificationId: string | undefined;
949
+ }
950
+ export interface Notification {
951
+ Content?: Partial<Record<LocaleCode, string>> | undefined;
952
+ Id: string | undefined;
953
+ Arn: string | undefined;
954
+ Priority?: NotificationPriority | undefined;
955
+ Recipients?: string[] | undefined;
956
+ LastModifiedTime: Date | undefined;
957
+ CreatedAt?: Date | undefined;
958
+ ExpiresAt?: Date | undefined;
959
+ LastModifiedRegion?: string | undefined;
960
+ Tags?: Record<string, string> | undefined;
961
+ }
962
+ export interface DescribeNotificationResponse {
963
+ Notification: Notification | undefined;
964
+ }
928
965
  export interface DescribePhoneNumberRequest {
929
966
  PhoneNumberId: string | undefined;
930
967
  }
@@ -1742,34 +1779,3 @@ export interface SignInDistribution {
1742
1779
  Region: string | undefined;
1743
1780
  Enabled: boolean | undefined;
1744
1781
  }
1745
- export interface SignInConfig {
1746
- Distributions: SignInDistribution[] | undefined;
1747
- }
1748
- export interface TelephonyConfig {
1749
- Distributions: Distribution[] | undefined;
1750
- }
1751
- export interface GetTrafficDistributionResponse {
1752
- TelephonyConfig?: TelephonyConfig | undefined;
1753
- Id?: string | undefined;
1754
- Arn?: string | undefined;
1755
- SignInConfig?: SignInConfig | undefined;
1756
- AgentConfig?: AgentConfig | undefined;
1757
- }
1758
- export interface ImportPhoneNumberRequest {
1759
- InstanceId: string | undefined;
1760
- SourcePhoneNumberArn: string | undefined;
1761
- PhoneNumberDescription?: string | undefined;
1762
- Tags?: Record<string, string> | undefined;
1763
- ClientToken?: string | undefined;
1764
- }
1765
- export interface ImportPhoneNumberResponse {
1766
- PhoneNumberId?: string | undefined;
1767
- PhoneNumberArn?: string | undefined;
1768
- }
1769
- export interface ImportWorkspaceMediaRequest {
1770
- InstanceId: string | undefined;
1771
- WorkspaceId: string | undefined;
1772
- MediaType: MediaType | undefined;
1773
- MediaSource: string | undefined;
1774
- }
1775
- export interface ImportWorkspaceMediaResponse {}
@@ -24,14 +24,17 @@ import {
24
24
  EvaluationType,
25
25
  EventSourceName,
26
26
  ExecutionRecordStatus,
27
- HierarchyGroupMatchType,
28
27
  InstanceStatus,
29
28
  InstanceStorageResourceType,
30
29
  IntegrationType,
31
30
  LexVersion,
32
31
  ListFlowAssociationResourceType,
32
+ LocaleCode,
33
33
  MediaType,
34
34
  MonitorCapability,
35
+ NotificationPriority,
36
+ NotificationSource,
37
+ NotificationStatus,
35
38
  NumberComparisonType,
36
39
  ParticipantRole,
37
40
  PhoneNumberCountryCode,
@@ -55,7 +58,6 @@ import {
55
58
  SortOrder,
56
59
  SourceType,
57
60
  StringComparisonType,
58
- TargetListType,
59
61
  TaskTemplateStatus,
60
62
  TestCaseExecutionStatus,
61
63
  TestCaseStatus,
@@ -64,35 +66,28 @@ import {
64
66
  ViewStatus,
65
67
  ViewType,
66
68
  VocabularyLanguageCode,
67
- VocabularyState,
68
69
  } from "./enums";
69
70
  import {
71
+ AgentConfig,
70
72
  AgentHierarchyGroups,
71
73
  ControlPlaneAttributeFilter,
72
74
  DataTableLockVersion,
73
75
  LexV2Bot,
74
- StringCondition,
75
- UserPhoneConfig,
76
76
  ActionSummary,
77
- AfterContactWorkConfigPerChannel,
78
77
  AgentStatus,
79
78
  AgentStatusSummary,
80
79
  AliasConfiguration,
81
80
  AnalyticsDataAssociationResult,
82
81
  Application,
83
- AutoAcceptConfig,
82
+ Distribution,
84
83
  FlowAssociationSummary,
85
84
  FlowModule,
86
85
  InstanceStorageConfig,
87
86
  LexBot,
88
- PersistentConnectionConfig,
89
- PhoneNumberConfig,
90
87
  PrimaryValueResponse,
91
88
  SecurityProfileItem,
92
89
  TagCondition,
93
90
  UserProficiency,
94
- View,
95
- VoiceEnhancementConfig,
96
91
  } from "./models_0";
97
92
  import {
98
93
  EvaluationContactParticipant,
@@ -102,18 +97,50 @@ import {
102
97
  ContactFlowModule,
103
98
  DataTable,
104
99
  DataTableAttribute,
105
- HierarchyGroup,
106
100
  HierarchyGroupSummary,
107
101
  HoursOfOperation,
108
102
  HoursOfOperationOverride,
109
103
  HoursOfOperationsIdentifier,
104
+ Notification,
110
105
  PredefinedAttribute,
111
106
  Prompt,
112
107
  Queue,
113
108
  QuickConnect,
114
109
  RoutingProfile,
110
+ SignInDistribution,
115
111
  TestCase,
116
112
  } from "./models_1";
113
+ export interface SignInConfig {
114
+ Distributions: SignInDistribution[] | undefined;
115
+ }
116
+ export interface TelephonyConfig {
117
+ Distributions: Distribution[] | undefined;
118
+ }
119
+ export interface GetTrafficDistributionResponse {
120
+ TelephonyConfig?: TelephonyConfig | undefined;
121
+ Id?: string | undefined;
122
+ Arn?: string | undefined;
123
+ SignInConfig?: SignInConfig | undefined;
124
+ AgentConfig?: AgentConfig | undefined;
125
+ }
126
+ export interface ImportPhoneNumberRequest {
127
+ InstanceId: string | undefined;
128
+ SourcePhoneNumberArn: string | undefined;
129
+ PhoneNumberDescription?: string | undefined;
130
+ Tags?: Record<string, string> | undefined;
131
+ ClientToken?: string | undefined;
132
+ }
133
+ export interface ImportPhoneNumberResponse {
134
+ PhoneNumberId?: string | undefined;
135
+ PhoneNumberArn?: string | undefined;
136
+ }
137
+ export interface ImportWorkspaceMediaRequest {
138
+ InstanceId: string | undefined;
139
+ WorkspaceId: string | undefined;
140
+ MediaType: MediaType | undefined;
141
+ MediaSource: string | undefined;
142
+ }
143
+ export interface ImportWorkspaceMediaResponse {}
117
144
  export interface ListAgentStatusRequest {
118
145
  InstanceId: string | undefined;
119
146
  NextToken?: string | undefined;
@@ -759,6 +786,15 @@ export interface ListLexBotsResponse {
759
786
  LexBots?: LexBot[] | undefined;
760
787
  NextToken?: string | undefined;
761
788
  }
789
+ export interface ListNotificationsRequest {
790
+ InstanceId: string | undefined;
791
+ NextToken?: string | undefined;
792
+ MaxResults?: number | undefined;
793
+ }
794
+ export interface ListNotificationsResponse {
795
+ NextToken?: string | undefined;
796
+ NotificationSummaryList: Notification[] | undefined;
797
+ }
762
798
  export interface ListPhoneNumbersRequest {
763
799
  InstanceId: string | undefined;
764
800
  PhoneNumberTypes?: PhoneNumberType[] | undefined;
@@ -1356,6 +1392,27 @@ export interface ListUserHierarchyGroupsResponse {
1356
1392
  UserHierarchyGroupSummaryList?: HierarchyGroupSummary[] | undefined;
1357
1393
  NextToken?: string | undefined;
1358
1394
  }
1395
+ export interface ListUserNotificationsRequest {
1396
+ InstanceId: string | undefined;
1397
+ NextToken?: string | undefined;
1398
+ MaxResults?: number | undefined;
1399
+ UserId: string | undefined;
1400
+ }
1401
+ export interface UserNotificationSummary {
1402
+ NotificationId?: string | undefined;
1403
+ NotificationStatus?: NotificationStatus | undefined;
1404
+ InstanceId?: string | undefined;
1405
+ RecipientId?: string | undefined;
1406
+ Content?: Partial<Record<LocaleCode, string>> | undefined;
1407
+ Priority?: NotificationPriority | undefined;
1408
+ Source?: NotificationSource | undefined;
1409
+ CreatedAt?: Date | undefined;
1410
+ ExpiresAt?: Date | undefined;
1411
+ }
1412
+ export interface ListUserNotificationsResponse {
1413
+ UserNotifications?: UserNotificationSummary[] | undefined;
1414
+ NextToken?: string | undefined;
1415
+ }
1359
1416
  export interface ListUserProficienciesRequest {
1360
1417
  InstanceId: string | undefined;
1361
1418
  UserId: string | undefined;
@@ -1796,6 +1853,27 @@ export interface SearchHoursOfOperationsResponse {
1796
1853
  NextToken?: string | undefined;
1797
1854
  ApproximateTotalCount?: number | undefined;
1798
1855
  }
1856
+ export interface NotificationSearchFilter {
1857
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1858
+ }
1859
+ export interface NotificationSearchSummary {
1860
+ Id?: string | undefined;
1861
+ Arn?: string | undefined;
1862
+ InstanceId?: string | undefined;
1863
+ Content?: Partial<Record<LocaleCode, string>> | undefined;
1864
+ Priority?: NotificationPriority | undefined;
1865
+ Recipients?: string[] | undefined;
1866
+ CreatedAt?: Date | undefined;
1867
+ ExpiresAt?: Date | undefined;
1868
+ LastModifiedRegion?: string | undefined;
1869
+ LastModifiedTime?: Date | undefined;
1870
+ Tags?: Record<string, string> | undefined;
1871
+ }
1872
+ export interface SearchNotificationsResponse {
1873
+ Notifications?: NotificationSearchSummary[] | undefined;
1874
+ NextToken?: string | undefined;
1875
+ ApproximateTotalCount?: number | undefined;
1876
+ }
1799
1877
  export interface SearchPredefinedAttributesResponse {
1800
1878
  PredefinedAttributes?: PredefinedAttribute[] | undefined;
1801
1879
  NextToken?: string | undefined;
@@ -1884,89 +1962,3 @@ export interface SearchTestCasesResponse {
1884
1962
  export interface UserHierarchyGroupSearchFilter {
1885
1963
  AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1886
1964
  }
1887
- export interface SearchUserHierarchyGroupsResponse {
1888
- UserHierarchyGroups?: HierarchyGroup[] | undefined;
1889
- NextToken?: string | undefined;
1890
- ApproximateTotalCount?: number | undefined;
1891
- }
1892
- export interface HierarchyGroupCondition {
1893
- Value?: string | undefined;
1894
- HierarchyGroupMatchType?: HierarchyGroupMatchType | undefined;
1895
- }
1896
- export interface Condition {
1897
- StringCondition?: StringCondition | undefined;
1898
- NumberCondition?: NumberCondition | undefined;
1899
- }
1900
- export interface ListCondition {
1901
- TargetListType?: TargetListType | undefined;
1902
- Conditions?: Condition[] | undefined;
1903
- }
1904
- export interface AttributeAndCondition {
1905
- TagConditions?: TagCondition[] | undefined;
1906
- HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
1907
- }
1908
- export interface ControlPlaneUserAttributeFilter {
1909
- OrConditions?: AttributeAndCondition[] | undefined;
1910
- AndCondition?: AttributeAndCondition | undefined;
1911
- TagCondition?: TagCondition | undefined;
1912
- HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
1913
- }
1914
- export interface UserSearchFilter {
1915
- TagFilter?: ControlPlaneTagFilter | undefined;
1916
- UserAttributeFilter?: ControlPlaneUserAttributeFilter | undefined;
1917
- }
1918
- export interface UserIdentityInfoLite {
1919
- FirstName?: string | undefined;
1920
- LastName?: string | undefined;
1921
- }
1922
- export interface UserSearchSummary {
1923
- Arn?: string | undefined;
1924
- DirectoryUserId?: string | undefined;
1925
- HierarchyGroupId?: string | undefined;
1926
- Id?: string | undefined;
1927
- IdentityInfo?: UserIdentityInfoLite | undefined;
1928
- PhoneConfig?: UserPhoneConfig | undefined;
1929
- RoutingProfileId?: string | undefined;
1930
- SecurityProfileIds?: string[] | undefined;
1931
- Tags?: Record<string, string> | undefined;
1932
- Username?: string | undefined;
1933
- AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
1934
- AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
1935
- PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
1936
- PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
1937
- VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
1938
- }
1939
- export interface SearchUsersResponse {
1940
- Users?: UserSearchSummary[] | undefined;
1941
- NextToken?: string | undefined;
1942
- ApproximateTotalCount?: number | undefined;
1943
- }
1944
- export interface ViewSearchFilter {
1945
- AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1946
- }
1947
- export interface SearchViewsResponse {
1948
- Views?: View[] | undefined;
1949
- NextToken?: string | undefined;
1950
- ApproximateTotalCount?: number | undefined;
1951
- }
1952
- export interface SearchVocabulariesRequest {
1953
- InstanceId: string | undefined;
1954
- MaxResults?: number | undefined;
1955
- NextToken?: string | undefined;
1956
- State?: VocabularyState | undefined;
1957
- NameStartsWith?: string | undefined;
1958
- LanguageCode?: VocabularyLanguageCode | undefined;
1959
- }
1960
- export interface VocabularySummary {
1961
- Name: string | undefined;
1962
- Id: string | undefined;
1963
- Arn: string | undefined;
1964
- LanguageCode: VocabularyLanguageCode | undefined;
1965
- State: VocabularyState | undefined;
1966
- LastModifiedTime: Date | undefined;
1967
- FailureReason?: string | undefined;
1968
- }
1969
- export interface SearchVocabulariesResponse {
1970
- VocabularySummaryList?: VocabularySummary[] | undefined;
1971
- NextToken?: string | undefined;
1972
- }
@@ -22,12 +22,15 @@ import {
22
22
  EvaluationFormVersionStatus,
23
23
  FileStatusType,
24
24
  FileUseCaseType,
25
+ HierarchyGroupMatchType,
25
26
  InboundMessageSourceType,
26
27
  InitiateAs,
27
28
  InstanceAttributeType,
28
29
  InstanceStorageResourceType,
29
30
  IvrRecordingTrack,
31
+ LocaleCode,
30
32
  MeetingFeatureStatus,
33
+ NotificationStatus,
31
34
  OutboundMessageSourceType,
32
35
  OverrideType,
33
36
  ParticipantTimerAction,
@@ -38,6 +41,7 @@ import {
38
41
  RoutingCriteriaStepStatus,
39
42
  RulePublishStatus,
40
43
  SearchableQueueType,
44
+ TargetListType,
41
45
  TaskTemplateStatus,
42
46
  TestCaseExecutionStatus,
43
47
  TestCaseStatus,
@@ -46,6 +50,8 @@ import {
46
50
  ViewStatus,
47
51
  ViewType,
48
52
  Visibility,
53
+ VocabularyLanguageCode,
54
+ VocabularyState,
49
55
  VoiceRecordingTrack,
50
56
  } from "./enums";
51
57
  import {
@@ -82,7 +88,6 @@ import {
82
88
  UserInfo,
83
89
  UserPhoneConfig,
84
90
  Validation,
85
- View,
86
91
  ViewInputContent,
87
92
  AfterContactWorkConfigPerChannel,
88
93
  Application,
@@ -98,8 +103,10 @@ import {
98
103
  Reference,
99
104
  RoutingProfileQueueConfig,
100
105
  RuleAction,
106
+ TagCondition,
101
107
  TaskTemplateField,
102
108
  UserProficiency,
109
+ View,
103
110
  VoiceEnhancementConfig,
104
111
  } from "./models_0";
105
112
  import {
@@ -116,13 +123,12 @@ import {
116
123
  GlobalResiliencyMetadata,
117
124
  QualityMetrics,
118
125
  QueueInfo,
119
- SignInConfig,
120
126
  TaskTemplateInfoV2,
121
- TelephonyConfig,
122
127
  WisdomInfo,
123
128
  WorkspaceTheme,
124
129
  ContactEvaluation,
125
130
  EvaluationNote,
131
+ HierarchyGroup,
126
132
  NextContactEntry,
127
133
  RecordingInfo,
128
134
  } from "./models_1";
@@ -132,6 +138,7 @@ import {
132
138
  ContactFlowSearchFilter,
133
139
  ContactSearchSummaryAgentInfo,
134
140
  ContactSearchSummaryQueueInfo,
141
+ ControlPlaneTagFilter,
135
142
  DataTableSearchFilter,
136
143
  DateCondition,
137
144
  DateTimeCondition,
@@ -139,20 +146,105 @@ import {
139
146
  EmailAddressSearchFilter,
140
147
  EvaluationFormSearchFilter,
141
148
  EvaluationSearchFilter,
142
- HierarchyGroupCondition,
143
149
  HoursOfOperationSearchFilter,
144
- ListCondition,
150
+ NotificationSearchFilter,
145
151
  NumberCondition,
146
152
  PromptSearchFilter,
147
153
  QueueSearchFilter,
148
154
  QuickConnectSearchFilter,
149
155
  RoutingProfileSearchFilter,
150
156
  SecurityProfilesSearchFilter,
157
+ SignInConfig,
158
+ TelephonyConfig,
151
159
  TestCaseSearchFilter,
152
160
  UserHierarchyGroupSearchFilter,
153
- UserSearchFilter,
154
- ViewSearchFilter,
155
161
  } from "./models_2";
162
+ export interface SearchUserHierarchyGroupsResponse {
163
+ UserHierarchyGroups?: HierarchyGroup[] | undefined;
164
+ NextToken?: string | undefined;
165
+ ApproximateTotalCount?: number | undefined;
166
+ }
167
+ export interface HierarchyGroupCondition {
168
+ Value?: string | undefined;
169
+ HierarchyGroupMatchType?: HierarchyGroupMatchType | undefined;
170
+ }
171
+ export interface Condition {
172
+ StringCondition?: StringCondition | undefined;
173
+ NumberCondition?: NumberCondition | undefined;
174
+ }
175
+ export interface ListCondition {
176
+ TargetListType?: TargetListType | undefined;
177
+ Conditions?: Condition[] | undefined;
178
+ }
179
+ export interface AttributeAndCondition {
180
+ TagConditions?: TagCondition[] | undefined;
181
+ HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
182
+ }
183
+ export interface ControlPlaneUserAttributeFilter {
184
+ OrConditions?: AttributeAndCondition[] | undefined;
185
+ AndCondition?: AttributeAndCondition | undefined;
186
+ TagCondition?: TagCondition | undefined;
187
+ HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
188
+ }
189
+ export interface UserSearchFilter {
190
+ TagFilter?: ControlPlaneTagFilter | undefined;
191
+ UserAttributeFilter?: ControlPlaneUserAttributeFilter | undefined;
192
+ }
193
+ export interface UserIdentityInfoLite {
194
+ FirstName?: string | undefined;
195
+ LastName?: string | undefined;
196
+ }
197
+ export interface UserSearchSummary {
198
+ Arn?: string | undefined;
199
+ DirectoryUserId?: string | undefined;
200
+ HierarchyGroupId?: string | undefined;
201
+ Id?: string | undefined;
202
+ IdentityInfo?: UserIdentityInfoLite | undefined;
203
+ PhoneConfig?: UserPhoneConfig | undefined;
204
+ RoutingProfileId?: string | undefined;
205
+ SecurityProfileIds?: string[] | undefined;
206
+ Tags?: Record<string, string> | undefined;
207
+ Username?: string | undefined;
208
+ AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
209
+ AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
210
+ PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
211
+ PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
212
+ VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
213
+ }
214
+ export interface SearchUsersResponse {
215
+ Users?: UserSearchSummary[] | undefined;
216
+ NextToken?: string | undefined;
217
+ ApproximateTotalCount?: number | undefined;
218
+ }
219
+ export interface ViewSearchFilter {
220
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
221
+ }
222
+ export interface SearchViewsResponse {
223
+ Views?: View[] | undefined;
224
+ NextToken?: string | undefined;
225
+ ApproximateTotalCount?: number | undefined;
226
+ }
227
+ export interface SearchVocabulariesRequest {
228
+ InstanceId: string | undefined;
229
+ MaxResults?: number | undefined;
230
+ NextToken?: string | undefined;
231
+ State?: VocabularyState | undefined;
232
+ NameStartsWith?: string | undefined;
233
+ LanguageCode?: VocabularyLanguageCode | undefined;
234
+ }
235
+ export interface VocabularySummary {
236
+ Name: string | undefined;
237
+ Id: string | undefined;
238
+ Arn: string | undefined;
239
+ LanguageCode: VocabularyLanguageCode | undefined;
240
+ State: VocabularyState | undefined;
241
+ LastModifiedTime: Date | undefined;
242
+ FailureReason?: string | undefined;
243
+ }
244
+ export interface SearchVocabulariesResponse {
245
+ VocabularySummaryList?: VocabularySummary[] | undefined;
246
+ NextToken?: string | undefined;
247
+ }
156
248
  export interface WorkspaceAssociationSearchFilter {
157
249
  AttributeFilter?: ControlPlaneAttributeFilter | undefined;
158
250
  }
@@ -751,6 +843,12 @@ export interface UpdateInstanceStorageConfigRequest {
751
843
  StorageConfig: InstanceStorageConfig | undefined;
752
844
  ClientToken?: string | undefined;
753
845
  }
846
+ export interface UpdateNotificationContentRequest {
847
+ InstanceId: string | undefined;
848
+ NotificationId: string | undefined;
849
+ Content: Partial<Record<LocaleCode, string>> | undefined;
850
+ }
851
+ export interface UpdateNotificationContentResponse {}
754
852
  export interface UpdateParticipantAuthenticationRequest {
755
853
  State: string | undefined;
756
854
  InstanceId: string | undefined;
@@ -1025,6 +1123,15 @@ export interface UpdateUserIdentityInfoRequest {
1025
1123
  UserId: string | undefined;
1026
1124
  InstanceId: string | undefined;
1027
1125
  }
1126
+ export interface UpdateUserNotificationStatusRequest {
1127
+ InstanceId: string | undefined;
1128
+ NotificationId: string | undefined;
1129
+ UserId: string | undefined;
1130
+ Status: NotificationStatus | undefined;
1131
+ LastModifiedTime?: Date | undefined;
1132
+ LastModifiedRegion?: string | undefined;
1133
+ }
1134
+ export interface UpdateUserNotificationStatusResponse {}
1028
1135
  export interface UpdateUserPhoneConfigRequest {
1029
1136
  PhoneConfig: UserPhoneConfig | undefined;
1030
1137
  UserId: string | undefined;
@@ -1190,6 +1297,11 @@ export interface HoursOfOperationSearchCriteria {
1190
1297
  AndConditions?: HoursOfOperationSearchCriteria[] | undefined;
1191
1298
  StringCondition?: StringCondition | undefined;
1192
1299
  }
1300
+ export interface NotificationSearchCriteria {
1301
+ OrConditions?: NotificationSearchCriteria[] | undefined;
1302
+ AndConditions?: NotificationSearchCriteria[] | undefined;
1303
+ StringCondition?: StringCondition | undefined;
1304
+ }
1193
1305
  export interface PredefinedAttributeSearchCriteria {
1194
1306
  OrConditions?: PredefinedAttributeSearchCriteria[] | undefined;
1195
1307
  AndConditions?: PredefinedAttributeSearchCriteria[] | undefined;
@@ -1340,6 +1452,13 @@ export interface SearchHoursOfOperationsRequest {
1340
1452
  SearchFilter?: HoursOfOperationSearchFilter | undefined;
1341
1453
  SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
1342
1454
  }
1455
+ export interface SearchNotificationsRequest {
1456
+ InstanceId: string | undefined;
1457
+ NextToken?: string | undefined;
1458
+ MaxResults?: number | undefined;
1459
+ SearchFilter?: NotificationSearchFilter | undefined;
1460
+ SearchCriteria?: NotificationSearchCriteria | undefined;
1461
+ }
1343
1462
  export interface SearchPredefinedAttributesRequest {
1344
1463
  InstanceId: string | undefined;
1345
1464
  NextToken?: string | undefined;