@aws-sdk/client-connect 3.703.0 → 3.711.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 (120) hide show
  1. package/README.md +74 -2
  2. package/dist-cjs/index.js +583 -109
  3. package/dist-es/Connect.js +18 -0
  4. package/dist-es/commands/CreateContactCommand.js +1 -1
  5. package/dist-es/commands/CreateHoursOfOperationOverrideCommand.js +22 -0
  6. package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
  7. package/dist-es/commands/DeleteHoursOfOperationOverrideCommand.js +22 -0
  8. package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
  9. package/dist-es/commands/DescribeHoursOfOperationOverrideCommand.js +22 -0
  10. package/dist-es/commands/GetEffectiveHoursOfOperationsCommand.js +22 -0
  11. package/dist-es/commands/ListHoursOfOperationOverridesCommand.js +22 -0
  12. package/dist-es/commands/SearchHoursOfOperationOverridesCommand.js +22 -0
  13. package/dist-es/commands/UpdateHoursOfOperationOverrideCommand.js +22 -0
  14. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
  15. package/dist-es/commands/UpdateViewContentCommand.js +1 -1
  16. package/dist-es/commands/UpdateViewMetadataCommand.js +1 -1
  17. package/dist-es/commands/index.js +9 -0
  18. package/dist-es/models/models_0.js +14 -0
  19. package/dist-es/models/models_1.js +0 -33
  20. package/dist-es/models/models_2.js +53 -45
  21. package/dist-es/models/models_3.js +32 -0
  22. package/dist-es/pagination/ListHoursOfOperationOverridesPaginator.js +4 -0
  23. package/dist-es/pagination/SearchHoursOfOperationOverridesPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_restJson1.js +280 -1
  26. package/dist-types/Connect.d.ts +65 -2
  27. package/dist-types/ConnectClient.d.ts +13 -4
  28. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +111 -0
  31. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
  32. package/dist-types/commands/CreateQueueCommand.d.ts +1 -2
  33. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +87 -0
  34. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
  35. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteUseCaseCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeHoursOfOperationOverrideCommand.d.ts +109 -0
  44. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  45. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +106 -0
  46. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
  47. package/dist-types/commands/ListHoursOfOperationOverridesCommand.d.ts +115 -0
  48. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -2
  49. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +4 -0
  50. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +168 -0
  51. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
  52. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +109 -0
  54. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +2 -1
  56. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateViewContentCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +1 -1
  67. package/dist-types/commands/index.d.ts +9 -0
  68. package/dist-types/index.d.ts +2 -2
  69. package/dist-types/models/models_0.d.ts +250 -154
  70. package/dist-types/models/models_1.d.ts +384 -496
  71. package/dist-types/models/models_2.d.ts +3508 -3653
  72. package/dist-types/models/models_3.d.ts +791 -7
  73. package/dist-types/pagination/ListHoursOfOperationOverridesPaginator.d.ts +7 -0
  74. package/dist-types/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +2 -0
  76. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  77. package/dist-types/ts3.4/Connect.d.ts +165 -0
  78. package/dist-types/ts3.4/ConnectClient.d.ts +54 -0
  79. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/CreateHoursOfOperationOverrideCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +47 -0
  84. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribeHoursOfOperationOverrideCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListHoursOfOperationOverridesCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +4 -2
  97. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +49 -0
  98. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +47 -0
  99. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +2 -4
  100. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +64 -37
  113. package/dist-types/ts3.4/models/models_1.d.ts +87 -142
  114. package/dist-types/ts3.4/models/models_2.d.ts +185 -212
  115. package/dist-types/ts3.4/models/models_3.d.ts +218 -5
  116. package/dist-types/ts3.4/pagination/ListHoursOfOperationOverridesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  119. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  120. package/package.json +35 -35
@@ -1,6 +1,711 @@
1
- import { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, Campaign, Channel, ContactInitiationMethod, Endpoint, EvaluationFormScoringStrategy, Reference, StringCondition, UserInfo } from "./models_0";
2
- import { AnsweringMachineDetectionStatus, AttributeCondition, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, WisdomInfo } from "./models_1";
3
- import { AgentStatusSearchCriteria, ChatMessage, ContactFlowModuleSearchCriteria, ContactFlowModuleSearchFilter, ContactFlowSearchCriteria, ContactFlowSearchFilter, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, EvaluationFormItem, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SegmentAttributeValue, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
1
+ import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
2
+ import { AnsweringMachineDetectionStatus, AttributeCondition, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, SignInConfig, TelephonyConfig, WisdomInfo } from "./models_1";
3
+ import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateTaskTemplateResponse {
8
+ /**
9
+ * <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>
10
+ * @public
11
+ */
12
+ InstanceId?: string | undefined;
13
+ /**
14
+ * <p>The identifier of the task template resource.</p>
15
+ * @public
16
+ */
17
+ Id?: string | undefined;
18
+ /**
19
+ * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
20
+ * @public
21
+ */
22
+ Arn?: string | undefined;
23
+ /**
24
+ * <p>The name of the task template.</p>
25
+ * @public
26
+ */
27
+ Name?: string | undefined;
28
+ /**
29
+ * <p>The description of the task template.</p>
30
+ * @public
31
+ */
32
+ Description?: string | undefined;
33
+ /**
34
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
35
+ * @public
36
+ */
37
+ ContactFlowId?: string | undefined;
38
+ /**
39
+ * <p>The ContactFlowId for the flow that will be run if this template is used to create a
40
+ * self-assigned task.</p>
41
+ * @public
42
+ */
43
+ SelfAssignFlowId?: string | undefined;
44
+ /**
45
+ * <p>Constraints that are applicable to the fields listed.</p>
46
+ * @public
47
+ */
48
+ Constraints?: TaskTemplateConstraints | undefined;
49
+ /**
50
+ * <p>The default values for fields when a task is created by referencing this template.</p>
51
+ * @public
52
+ */
53
+ Defaults?: TaskTemplateDefaults | undefined;
54
+ /**
55
+ * <p>Fields that are part of the template.</p>
56
+ * @public
57
+ */
58
+ Fields?: TaskTemplateField[] | undefined;
59
+ /**
60
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
61
+ * Tasks can only be created from <code>ACTIVE</code> templates.
62
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
63
+ * @public
64
+ */
65
+ Status?: TaskTemplateStatus | undefined;
66
+ /**
67
+ * <p>The timestamp when the task template was last modified.</p>
68
+ * @public
69
+ */
70
+ LastModifiedTime?: Date | undefined;
71
+ /**
72
+ * <p>The timestamp when the task template was created.</p>
73
+ * @public
74
+ */
75
+ CreatedTime?: Date | undefined;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface UpdateTrafficDistributionRequest {
81
+ /**
82
+ * <p>The identifier of the traffic distribution group.
83
+ * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
84
+ * The ARN must be provided if the call is from the replicated Region. </p>
85
+ * @public
86
+ */
87
+ Id: string | undefined;
88
+ /**
89
+ * <p>The distribution of traffic between the instance and its replica(s).</p>
90
+ * @public
91
+ */
92
+ TelephonyConfig?: TelephonyConfig | undefined;
93
+ /**
94
+ * <p>The distribution that determines which Amazon Web Services Regions should be used to sign in
95
+ * agents in to both the instance and its replica(s).</p>
96
+ * @public
97
+ */
98
+ SignInConfig?: SignInConfig | undefined;
99
+ /**
100
+ * <p>The distribution of agents between the instance and its replica(s).</p>
101
+ * @public
102
+ */
103
+ AgentConfig?: AgentConfig | undefined;
104
+ }
105
+ /**
106
+ * @public
107
+ */
108
+ export interface UpdateTrafficDistributionResponse {
109
+ }
110
+ /**
111
+ * @public
112
+ */
113
+ export interface UpdateUserHierarchyRequest {
114
+ /**
115
+ * <p>The identifier of the hierarchy group.</p>
116
+ * @public
117
+ */
118
+ HierarchyGroupId?: string | undefined;
119
+ /**
120
+ * <p>The identifier of the user account.</p>
121
+ * @public
122
+ */
123
+ UserId: string | undefined;
124
+ /**
125
+ * <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>
126
+ * @public
127
+ */
128
+ InstanceId: string | undefined;
129
+ }
130
+ /**
131
+ * @public
132
+ */
133
+ export interface UpdateUserHierarchyGroupNameRequest {
134
+ /**
135
+ * <p>The name of the hierarchy group. Must not be more than 100 characters.</p>
136
+ * @public
137
+ */
138
+ Name: string | undefined;
139
+ /**
140
+ * <p>The identifier of the hierarchy group.</p>
141
+ * @public
142
+ */
143
+ HierarchyGroupId: string | undefined;
144
+ /**
145
+ * <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>
146
+ * @public
147
+ */
148
+ InstanceId: string | undefined;
149
+ }
150
+ /**
151
+ * <p>Contains information about the hierarchy level to update.</p>
152
+ * @public
153
+ */
154
+ export interface HierarchyLevelUpdate {
155
+ /**
156
+ * <p>The name of the user hierarchy level. Must not be more than 50 characters.</p>
157
+ * @public
158
+ */
159
+ Name: string | undefined;
160
+ }
161
+ /**
162
+ * <p>Contains information about the level hierarchy to update.</p>
163
+ * @public
164
+ */
165
+ export interface HierarchyStructureUpdate {
166
+ /**
167
+ * <p>The
168
+ * update
169
+ * for level one.</p>
170
+ * @public
171
+ */
172
+ LevelOne?: HierarchyLevelUpdate | undefined;
173
+ /**
174
+ * <p>The update for level two.</p>
175
+ * @public
176
+ */
177
+ LevelTwo?: HierarchyLevelUpdate | undefined;
178
+ /**
179
+ * <p>The update for level three.</p>
180
+ * @public
181
+ */
182
+ LevelThree?: HierarchyLevelUpdate | undefined;
183
+ /**
184
+ * <p>The update for level four.</p>
185
+ * @public
186
+ */
187
+ LevelFour?: HierarchyLevelUpdate | undefined;
188
+ /**
189
+ * <p>The update for level five.</p>
190
+ * @public
191
+ */
192
+ LevelFive?: HierarchyLevelUpdate | undefined;
193
+ }
194
+ /**
195
+ * @public
196
+ */
197
+ export interface UpdateUserHierarchyStructureRequest {
198
+ /**
199
+ * <p>The hierarchy levels to update.</p>
200
+ * @public
201
+ */
202
+ HierarchyStructure: HierarchyStructureUpdate | undefined;
203
+ /**
204
+ * <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>
205
+ * @public
206
+ */
207
+ InstanceId: string | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface UpdateUserIdentityInfoRequest {
213
+ /**
214
+ * <p>The identity information for the user.</p>
215
+ * @public
216
+ */
217
+ IdentityInfo: UserIdentityInfo | undefined;
218
+ /**
219
+ * <p>The identifier of the user account.</p>
220
+ * @public
221
+ */
222
+ UserId: string | undefined;
223
+ /**
224
+ * <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>
225
+ * @public
226
+ */
227
+ InstanceId: string | undefined;
228
+ }
229
+ /**
230
+ * @public
231
+ */
232
+ export interface UpdateUserPhoneConfigRequest {
233
+ /**
234
+ * <p>Information about phone configuration settings for the user.</p>
235
+ * @public
236
+ */
237
+ PhoneConfig: UserPhoneConfig | undefined;
238
+ /**
239
+ * <p>The identifier of the user account.</p>
240
+ * @public
241
+ */
242
+ UserId: string | undefined;
243
+ /**
244
+ * <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>
245
+ * @public
246
+ */
247
+ InstanceId: string | undefined;
248
+ }
249
+ /**
250
+ * @public
251
+ */
252
+ export interface UpdateUserProficienciesRequest {
253
+ /**
254
+ * <p> The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
255
+ * Name (ARN) of the instance.</p>
256
+ * @public
257
+ */
258
+ InstanceId: string | undefined;
259
+ /**
260
+ * <p>The identifier of the user account.</p>
261
+ * @public
262
+ */
263
+ UserId: string | undefined;
264
+ /**
265
+ * <p>The proficiencies to be updated for the user. Proficiencies must first be associated to the
266
+ * user. You can do this using AssociateUserProficiencies API.</p>
267
+ * @public
268
+ */
269
+ UserProficiencies: UserProficiency[] | undefined;
270
+ }
271
+ /**
272
+ * @public
273
+ */
274
+ export interface UpdateUserRoutingProfileRequest {
275
+ /**
276
+ * <p>The identifier of the routing profile for the user.</p>
277
+ * @public
278
+ */
279
+ RoutingProfileId: string | undefined;
280
+ /**
281
+ * <p>The identifier of the user account.</p>
282
+ * @public
283
+ */
284
+ UserId: string | undefined;
285
+ /**
286
+ * <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>
287
+ * @public
288
+ */
289
+ InstanceId: string | undefined;
290
+ }
291
+ /**
292
+ * @public
293
+ */
294
+ export interface UpdateUserSecurityProfilesRequest {
295
+ /**
296
+ * <p>The identifiers of the security profiles for the user.</p>
297
+ * @public
298
+ */
299
+ SecurityProfileIds: string[] | undefined;
300
+ /**
301
+ * <p>The identifier of the user account.</p>
302
+ * @public
303
+ */
304
+ UserId: string | undefined;
305
+ /**
306
+ * <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>
307
+ * @public
308
+ */
309
+ InstanceId: string | undefined;
310
+ }
311
+ /**
312
+ * @public
313
+ */
314
+ export interface UpdateViewContentRequest {
315
+ /**
316
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
317
+ * the instance.</p>
318
+ * @public
319
+ */
320
+ InstanceId: string | undefined;
321
+ /**
322
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
323
+ * used.</p>
324
+ * @public
325
+ */
326
+ ViewId: string | undefined;
327
+ /**
328
+ * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
329
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
330
+ * @public
331
+ */
332
+ Status: ViewStatus | undefined;
333
+ /**
334
+ * <p>View content containing all content necessary to render a view except for runtime input data
335
+ * and the runtime input schema, which is auto-generated by this operation.</p>
336
+ * <p>The total uncompressed content has a maximum file size of 400kB.</p>
337
+ * @public
338
+ */
339
+ Content: ViewInputContent | undefined;
340
+ }
341
+ /**
342
+ * @public
343
+ */
344
+ export interface UpdateViewContentResponse {
345
+ /**
346
+ * <p>A view resource object. Contains metadata and content necessary to render the view.</p>
347
+ * @public
348
+ */
349
+ View?: View | undefined;
350
+ }
351
+ /**
352
+ * @public
353
+ */
354
+ export interface UpdateViewMetadataRequest {
355
+ /**
356
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
357
+ * the instance.</p>
358
+ * @public
359
+ */
360
+ InstanceId: string | undefined;
361
+ /**
362
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
363
+ * used.</p>
364
+ * @public
365
+ */
366
+ ViewId: string | undefined;
367
+ /**
368
+ * <p>The name of the view.</p>
369
+ * @public
370
+ */
371
+ Name?: string | undefined;
372
+ /**
373
+ * <p>The description of the view.</p>
374
+ * @public
375
+ */
376
+ Description?: string | undefined;
377
+ }
378
+ /**
379
+ * @public
380
+ */
381
+ export interface UpdateViewMetadataResponse {
382
+ }
383
+ /**
384
+ * <p>A value for a segment attribute. This is structured as a map where the key is
385
+ * <code>valueString</code> and the value is a string.</p>
386
+ * @public
387
+ */
388
+ export interface SegmentAttributeValue {
389
+ /**
390
+ * <p>The value of a segment attribute.</p>
391
+ * @public
392
+ */
393
+ ValueString?: string | undefined;
394
+ /**
395
+ * <p>The value of a segment attribute.</p>
396
+ * @public
397
+ */
398
+ ValueMap?: Record<string, SegmentAttributeValue> | undefined;
399
+ /**
400
+ * <p>The value of a segment attribute.</p>
401
+ * @public
402
+ */
403
+ ValueInteger?: number | undefined;
404
+ }
405
+ /**
406
+ * <p>Information about an item from an evaluation form. The item must be either a section or a
407
+ * question.</p>
408
+ * @public
409
+ */
410
+ export type EvaluationFormItem = EvaluationFormItem.QuestionMember | EvaluationFormItem.SectionMember | EvaluationFormItem.$UnknownMember;
411
+ /**
412
+ * @public
413
+ */
414
+ export declare namespace EvaluationFormItem {
415
+ /**
416
+ * <p>The information of the section.</p>
417
+ * @public
418
+ */
419
+ interface SectionMember {
420
+ Section: EvaluationFormSection;
421
+ Question?: never;
422
+ $unknown?: never;
423
+ }
424
+ /**
425
+ * <p>The information of the question.</p>
426
+ * @public
427
+ */
428
+ interface QuestionMember {
429
+ Section?: never;
430
+ Question: EvaluationFormQuestion;
431
+ $unknown?: never;
432
+ }
433
+ /**
434
+ * @public
435
+ */
436
+ interface $UnknownMember {
437
+ Section?: never;
438
+ Question?: never;
439
+ $unknown: [string, any];
440
+ }
441
+ interface Visitor<T> {
442
+ Section: (value: EvaluationFormSection) => T;
443
+ Question: (value: EvaluationFormQuestion) => T;
444
+ _: (name: string, value: any) => T;
445
+ }
446
+ const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
447
+ }
448
+ /**
449
+ * <p>Information about a section from an evaluation form. A section can contain sections and/or
450
+ * questions. Evaluation forms can only contain sections and subsections (two level nesting).</p>
451
+ * @public
452
+ */
453
+ export interface EvaluationFormSection {
454
+ /**
455
+ * <p>The title of the section.</p>
456
+ * @public
457
+ */
458
+ Title: string | undefined;
459
+ /**
460
+ * <p>The identifier of the section. An identifier must be unique within the evaluation
461
+ * form.</p>
462
+ * @public
463
+ */
464
+ RefId: string | undefined;
465
+ /**
466
+ * <p>The instructions of the section.</p>
467
+ * @public
468
+ */
469
+ Instructions?: string | undefined;
470
+ /**
471
+ * <p>The items of the section.</p>
472
+ * @public
473
+ */
474
+ Items: EvaluationFormItem[] | undefined;
475
+ /**
476
+ * <p>The scoring weight of the section.</p>
477
+ * @public
478
+ */
479
+ Weight?: number | undefined;
480
+ }
481
+ /**
482
+ * <p>The search criteria to be used to return agent statuses.</p>
483
+ * @public
484
+ */
485
+ export interface AgentStatusSearchCriteria {
486
+ /**
487
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
488
+ * condition.</p>
489
+ * @public
490
+ */
491
+ OrConditions?: AgentStatusSearchCriteria[] | undefined;
492
+ /**
493
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
494
+ * <note>
495
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
496
+ * <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
497
+ * and <code>resourceID</code>.</p>
498
+ * </note>
499
+ * @public
500
+ */
501
+ AndConditions?: AgentStatusSearchCriteria[] | undefined;
502
+ /**
503
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
504
+ * <note>
505
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
506
+ * <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
507
+ * and <code>resourceID</code>.</p>
508
+ * </note>
509
+ * @public
510
+ */
511
+ StringCondition?: StringCondition | undefined;
512
+ }
513
+ /**
514
+ * <p>The search criteria to be used to return flow modules.</p>
515
+ * @public
516
+ */
517
+ export interface ContactFlowModuleSearchCriteria {
518
+ /**
519
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
520
+ * condition.</p>
521
+ * @public
522
+ */
523
+ OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
524
+ /**
525
+ * <p>A list of conditions which would be applied together with an <code>AND</code>
526
+ * condition.</p>
527
+ * @public
528
+ */
529
+ AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
530
+ /**
531
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
532
+ * @public
533
+ */
534
+ StringCondition?: StringCondition | undefined;
535
+ /**
536
+ * <p>The state of the flow.</p>
537
+ * @public
538
+ */
539
+ StateCondition?: ContactFlowModuleState | undefined;
540
+ /**
541
+ * <p>The status of the flow.</p>
542
+ * @public
543
+ */
544
+ StatusCondition?: ContactFlowModuleStatus | undefined;
545
+ }
546
+ /**
547
+ * <p>The search criteria to be used to return flows.</p>
548
+ * @public
549
+ */
550
+ export interface ContactFlowSearchCriteria {
551
+ /**
552
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
553
+ * condition.</p>
554
+ * @public
555
+ */
556
+ OrConditions?: ContactFlowSearchCriteria[] | undefined;
557
+ /**
558
+ * <p>A list of conditions which would be applied together with an <code>AND</code>
559
+ * condition.</p>
560
+ * @public
561
+ */
562
+ AndConditions?: ContactFlowSearchCriteria[] | undefined;
563
+ /**
564
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
565
+ * @public
566
+ */
567
+ StringCondition?: StringCondition | undefined;
568
+ /**
569
+ * <p>The type of flow.</p>
570
+ * @public
571
+ */
572
+ TypeCondition?: ContactFlowType | undefined;
573
+ /**
574
+ * <p>The state of the flow.</p>
575
+ * @public
576
+ */
577
+ StateCondition?: ContactFlowState | undefined;
578
+ /**
579
+ * <p>The status of the flow.</p>
580
+ * @public
581
+ */
582
+ StatusCondition?: ContactFlowStatus | undefined;
583
+ }
584
+ /**
585
+ * @public
586
+ */
587
+ export interface CreateContactRequest {
588
+ /**
589
+ * <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>
590
+ * @public
591
+ */
592
+ InstanceId: string | undefined;
593
+ /**
594
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
595
+ * request. If not provided, the Amazon Web Services
596
+ * SDK populates this field. For more information about idempotency, see
597
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
598
+ * @public
599
+ */
600
+ ClientToken?: string | undefined;
601
+ /**
602
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
603
+ * @public
604
+ */
605
+ RelatedContactId?: string | undefined;
606
+ /**
607
+ * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.</p>
608
+ * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
609
+ * can include only alphanumeric, dash, and underscore characters.</p>
610
+ * @public
611
+ */
612
+ Attributes?: Record<string, string> | undefined;
613
+ /**
614
+ * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have
615
+ * the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL |
616
+ * ATTACHMENT.</p>
617
+ * @public
618
+ */
619
+ References?: Record<string, Reference> | undefined;
620
+ /**
621
+ * <p>The channel for the contact</p>
622
+ * @public
623
+ */
624
+ Channel: Channel | undefined;
625
+ /**
626
+ * <p>Indicates how the contact was initiated.</p>
627
+ * @public
628
+ */
629
+ InitiationMethod: ContactInitiationMethod | undefined;
630
+ /**
631
+ * <p>Number of minutes the contact will be active for before expiring</p>
632
+ * @public
633
+ */
634
+ ExpiryDurationInMinutes?: number | undefined;
635
+ /**
636
+ * <p>User details for the contact</p>
637
+ * @public
638
+ */
639
+ UserInfo?: UserInfo | undefined;
640
+ /**
641
+ * <p>Initial state of the contact when it's created</p>
642
+ * @public
643
+ */
644
+ InitiateAs?: InitiateAs | undefined;
645
+ /**
646
+ * <p>The name of a the contact.</p>
647
+ * @public
648
+ */
649
+ Name?: string | undefined;
650
+ /**
651
+ * <p>A description of the contact.</p>
652
+ * @public
653
+ */
654
+ Description?: string | undefined;
655
+ /**
656
+ * <p>A set of system defined key-value pairs stored on individual contact segments (unique
657
+ * contact ID) using an attribute map. The attributes are standard Amazon Connect attributes.
658
+ * They can be accessed in flows.</p>
659
+ * <p>Attribute keys can include only alphanumeric, -, and _.</p>
660
+ * <p>This field can be used to set Segment Contact Expiry as a duration in minutes.</p>
661
+ * <note>
662
+ * <p>To set contact expiry, a ValueMap must be specified containing the integer number of
663
+ * minutes the contact will be active for before expiring, with <code>SegmentAttributes</code> like
664
+ * \{ <code> "connect:ContactExpiry": \{"ValueMap" : \{ "ExpiryDuration": \{ "ValueInteger":
665
+ * 135\}\}\}\}</code>. </p>
666
+ * </note>
667
+ * @public
668
+ */
669
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
670
+ }
671
+ /**
672
+ * @public
673
+ */
674
+ export interface CreateEvaluationFormRequest {
675
+ /**
676
+ * <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>
677
+ * @public
678
+ */
679
+ InstanceId: string | undefined;
680
+ /**
681
+ * <p>A title of the evaluation form.</p>
682
+ * @public
683
+ */
684
+ Title: string | undefined;
685
+ /**
686
+ * <p>The description of the evaluation form.</p>
687
+ * @public
688
+ */
689
+ Description?: string | undefined;
690
+ /**
691
+ * <p>Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.</p>
692
+ * @public
693
+ */
694
+ Items: EvaluationFormItem[] | undefined;
695
+ /**
696
+ * <p>A scoring strategy of the evaluation form.</p>
697
+ * @public
698
+ */
699
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
700
+ /**
701
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
702
+ * request. If not provided, the Amazon Web Services
703
+ * SDK populates this field. For more information about idempotency, see
704
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
705
+ * @public
706
+ */
707
+ ClientToken?: string | undefined;
708
+ }
4
709
  /**
5
710
  * <p>The search criteria to be used to return email addresses.</p>
6
711
  * @public
@@ -160,6 +865,32 @@ export interface Expression {
160
865
  */
161
866
  OrExpression?: Expression[] | undefined;
162
867
  }
868
+ /**
869
+ * <p>The search criteria to be used to return hours of operations overrides.</p>
870
+ * @public
871
+ */
872
+ export interface HoursOfOperationOverrideSearchCriteria {
873
+ /**
874
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
875
+ * @public
876
+ */
877
+ OrConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
878
+ /**
879
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
880
+ * @public
881
+ */
882
+ AndConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
883
+ /**
884
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
885
+ * @public
886
+ */
887
+ StringCondition?: StringCondition | undefined;
888
+ /**
889
+ * <p>A leaf node condition which can be used to specify a date condition.</p>
890
+ * @public
891
+ */
892
+ DateCondition?: DateCondition | undefined;
893
+ }
163
894
  /**
164
895
  * <p>The search criteria to be used to return hours of operations.</p>
165
896
  * @public
@@ -866,16 +1597,16 @@ export interface UpdateContactRequest {
866
1597
  /**
867
1598
  * <p>The endpoint of the customer for which the contact was initiated. For external audio
868
1599
  * contacts, this is usually the end customer's phone number. This value can only be updated for
869
- * external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect
870
- * Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
1600
+ * external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens
1601
+ * integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
871
1602
  * @public
872
1603
  */
873
1604
  CustomerEndpoint?: Endpoint | undefined;
874
1605
  /**
875
1606
  * <p>External system endpoint for the contact was initiated. For external audio contacts, this is
876
1607
  * the phone number of the external system such as the contact center. This value can only be
877
- * updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect
878
- * Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
1608
+ * updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens
1609
+ * integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
879
1610
  * @public
880
1611
  */
881
1612
  SystemEndpoint?: Endpoint | undefined;
@@ -1179,6 +1910,39 @@ export interface SearchEmailAddressesRequest {
1179
1910
  */
1180
1911
  SearchFilter?: EmailAddressSearchFilter | undefined;
1181
1912
  }
1913
+ /**
1914
+ * @public
1915
+ */
1916
+ export interface SearchHoursOfOperationOverridesRequest {
1917
+ /**
1918
+ * <p>The identifier of the Amazon Connect instance.</p>
1919
+ * @public
1920
+ */
1921
+ InstanceId: string | undefined;
1922
+ /**
1923
+ * <p>The token for the next set of results. Use the value returned in the previous response in
1924
+ * the next request to retrieve the next set of results. Length Constraints: Minimum length of 1.
1925
+ * Maximum length of 2500.</p>
1926
+ * @public
1927
+ */
1928
+ NextToken?: string | undefined;
1929
+ /**
1930
+ * <p>The maximum number of results to return per page. Valid Range: Minimum value of 1. Maximum
1931
+ * value of 100.</p>
1932
+ * @public
1933
+ */
1934
+ MaxResults?: number | undefined;
1935
+ /**
1936
+ * <p>Filters to be applied to search results.</p>
1937
+ * @public
1938
+ */
1939
+ SearchFilter?: HoursOfOperationSearchFilter | undefined;
1940
+ /**
1941
+ * <p>The search criteria to be used to return hours of operations overrides.</p>
1942
+ * @public
1943
+ */
1944
+ SearchCriteria?: HoursOfOperationOverrideSearchCriteria | undefined;
1945
+ }
1182
1946
  /**
1183
1947
  * @public
1184
1948
  */
@@ -1800,6 +2564,26 @@ export interface DescribeContactResponse {
1800
2564
  */
1801
2565
  Contact?: Contact | undefined;
1802
2566
  }
2567
+ /**
2568
+ * @internal
2569
+ */
2570
+ export declare const UpdateUserIdentityInfoRequestFilterSensitiveLog: (obj: UpdateUserIdentityInfoRequest) => any;
2571
+ /**
2572
+ * @internal
2573
+ */
2574
+ export declare const UpdateViewContentRequestFilterSensitiveLog: (obj: UpdateViewContentRequest) => any;
2575
+ /**
2576
+ * @internal
2577
+ */
2578
+ export declare const UpdateViewContentResponseFilterSensitiveLog: (obj: UpdateViewContentResponse) => any;
2579
+ /**
2580
+ * @internal
2581
+ */
2582
+ export declare const UpdateViewMetadataRequestFilterSensitiveLog: (obj: UpdateViewMetadataRequest) => any;
2583
+ /**
2584
+ * @internal
2585
+ */
2586
+ export declare const CreateContactRequestFilterSensitiveLog: (obj: CreateContactRequest) => any;
1803
2587
  /**
1804
2588
  * @internal
1805
2589
  */