@aws-sdk/client-connect 3.709.0 → 3.712.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 (96) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +471 -95
  3. package/dist-es/Connect.js +14 -0
  4. package/dist-es/commands/CreateHoursOfOperationOverrideCommand.js +22 -0
  5. package/dist-es/commands/DeleteHoursOfOperationOverrideCommand.js +22 -0
  6. package/dist-es/commands/DescribeHoursOfOperationOverrideCommand.js +22 -0
  7. package/dist-es/commands/GetEffectiveHoursOfOperationsCommand.js +22 -0
  8. package/dist-es/commands/ListHoursOfOperationOverridesCommand.js +22 -0
  9. package/dist-es/commands/SearchHoursOfOperationOverridesCommand.js +22 -0
  10. package/dist-es/commands/UpdateHoursOfOperationOverrideCommand.js +22 -0
  11. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
  12. package/dist-es/commands/UpdateViewContentCommand.js +1 -1
  13. package/dist-es/commands/UpdateViewMetadataCommand.js +1 -1
  14. package/dist-es/commands/index.js +7 -0
  15. package/dist-es/models/models_0.js +9 -0
  16. package/dist-es/models/models_1.js +0 -17
  17. package/dist-es/models/models_2.js +37 -40
  18. package/dist-es/models/models_3.js +27 -0
  19. package/dist-es/pagination/ListHoursOfOperationOverridesPaginator.js +4 -0
  20. package/dist-es/pagination/SearchHoursOfOperationOverridesPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/protocols/Aws_restJson1.js +225 -1
  23. package/dist-types/Connect.d.ts +49 -0
  24. package/dist-types/ConnectClient.d.ts +9 -2
  25. package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +111 -0
  26. package/dist-types/commands/CreateQueueCommand.d.ts +1 -2
  27. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +87 -0
  28. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteUseCaseCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeHoursOfOperationOverrideCommand.d.ts +109 -0
  33. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +106 -0
  34. package/dist-types/commands/ListHoursOfOperationOverridesCommand.d.ts +115 -0
  35. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -2
  36. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +4 -0
  37. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +168 -0
  38. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +109 -0
  39. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateViewContentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +7 -0
  53. package/dist-types/models/models_0.d.ts +134 -73
  54. package/dist-types/models/models_1.d.ts +274 -314
  55. package/dist-types/models/models_2.d.ts +443 -486
  56. package/dist-types/models/models_3.d.ts +532 -3
  57. package/dist-types/pagination/ListHoursOfOperationOverridesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +7 -0
  59. package/dist-types/pagination/index.d.ts +2 -0
  60. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  61. package/dist-types/ts3.4/Connect.d.ts +119 -0
  62. package/dist-types/ts3.4/ConnectClient.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/CreateHoursOfOperationOverrideCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +47 -0
  65. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeHoursOfOperationOverrideCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListHoursOfOperationOverridesCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +49 -0
  74. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +47 -0
  75. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +36 -18
  89. package/dist-types/ts3.4/models/models_1.d.ts +68 -99
  90. package/dist-types/ts3.4/models/models_2.d.ts +142 -157
  91. package/dist-types/ts3.4/models/models_3.d.ts +163 -2
  92. package/dist-types/ts3.4/pagination/ListHoursOfOperationOverridesPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  96. package/package.json +5 -5
@@ -3373,6 +3373,112 @@ export interface CreateHoursOfOperationResponse {
3373
3373
  */
3374
3374
  HoursOfOperationArn?: string | undefined;
3375
3375
  }
3376
+ /**
3377
+ * @public
3378
+ * @enum
3379
+ */
3380
+ export declare const OverrideDays: {
3381
+ readonly FRIDAY: "FRIDAY";
3382
+ readonly MONDAY: "MONDAY";
3383
+ readonly SATURDAY: "SATURDAY";
3384
+ readonly SUNDAY: "SUNDAY";
3385
+ readonly THURSDAY: "THURSDAY";
3386
+ readonly TUESDAY: "TUESDAY";
3387
+ readonly WEDNESDAY: "WEDNESDAY";
3388
+ };
3389
+ /**
3390
+ * @public
3391
+ */
3392
+ export type OverrideDays = (typeof OverrideDays)[keyof typeof OverrideDays];
3393
+ /**
3394
+ * <p>The start time or end time for an hours of operation override.</p>
3395
+ * @public
3396
+ */
3397
+ export interface OverrideTimeSlice {
3398
+ /**
3399
+ * <p>The hours.</p>
3400
+ * @public
3401
+ */
3402
+ Hours: number | undefined;
3403
+ /**
3404
+ * <p>The minutes.</p>
3405
+ * @public
3406
+ */
3407
+ Minutes: number | undefined;
3408
+ }
3409
+ /**
3410
+ * <p>Information about the hours of operation override config: day, start time, and end
3411
+ * time.</p>
3412
+ * @public
3413
+ */
3414
+ export interface HoursOfOperationOverrideConfig {
3415
+ /**
3416
+ * <p>The day that the hours of operation override applies to.</p>
3417
+ * @public
3418
+ */
3419
+ Day?: OverrideDays | undefined;
3420
+ /**
3421
+ * <p>The start time when your contact center opens if overrides are applied.</p>
3422
+ * @public
3423
+ */
3424
+ StartTime?: OverrideTimeSlice | undefined;
3425
+ /**
3426
+ * <p>The end time that your contact center closes if overrides are applied.</p>
3427
+ * @public
3428
+ */
3429
+ EndTime?: OverrideTimeSlice | undefined;
3430
+ }
3431
+ /**
3432
+ * @public
3433
+ */
3434
+ export interface CreateHoursOfOperationOverrideRequest {
3435
+ /**
3436
+ * <p>The identifier of the Amazon Connect instance.</p>
3437
+ * @public
3438
+ */
3439
+ InstanceId: string | undefined;
3440
+ /**
3441
+ * <p>The identifier for the hours of operation</p>
3442
+ * @public
3443
+ */
3444
+ HoursOfOperationId: string | undefined;
3445
+ /**
3446
+ * <p>The name of the hours of operation override.</p>
3447
+ * @public
3448
+ */
3449
+ Name: string | undefined;
3450
+ /**
3451
+ * <p>The description of the hours of operation override.</p>
3452
+ * @public
3453
+ */
3454
+ Description?: string | undefined;
3455
+ /**
3456
+ * <p>Configuration information for the hours of operation override: day, start time, and end
3457
+ * time.</p>
3458
+ * @public
3459
+ */
3460
+ Config: HoursOfOperationOverrideConfig[] | undefined;
3461
+ /**
3462
+ * <p>The date from when the hours of operation override would be effective.</p>
3463
+ * @public
3464
+ */
3465
+ EffectiveFrom: string | undefined;
3466
+ /**
3467
+ * <p>The date until when the hours of operation override would be effective.</p>
3468
+ * @public
3469
+ */
3470
+ EffectiveTill: string | undefined;
3471
+ }
3472
+ /**
3473
+ * @public
3474
+ */
3475
+ export interface CreateHoursOfOperationOverrideResponse {
3476
+ /**
3477
+ * <p>The identifier for the hours of operation override.</p>
3478
+ * @public
3479
+ */
3480
+ HoursOfOperationOverrideId?: string | undefined;
3481
+ }
3376
3482
  /**
3377
3483
  * @public
3378
3484
  * @enum
@@ -3895,6 +4001,10 @@ export interface ContactConfiguration {
3895
4001
  ContactId: string | undefined;
3896
4002
  /**
3897
4003
  * <p>The role of the participant in the chat conversation.</p>
4004
+ * <note>
4005
+ * <p>Only <code>CUSTOMER</code> is currently supported. Any other values other than
4006
+ * <code>CUSTOMER</code> will result in an exception (4xx error).</p>
4007
+ * </note>
3898
4008
  * @public
3899
4009
  */
3900
4010
  ParticipantRole?: ParticipantRole | undefined;
@@ -5227,13 +5337,15 @@ export interface CreateUseCaseResponse {
5227
5337
  export interface UserIdentityInfo {
5228
5338
  /**
5229
5339
  * <p>The first name. This is required if you are using Amazon Connect or SAML for identity
5230
- * management.</p>
5340
+ * management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a
5341
+ * non-NFC form (for example, decomposed characters or combining marks) are not accepted.</p>
5231
5342
  * @public
5232
5343
  */
5233
5344
  FirstName?: string | undefined;
5234
5345
  /**
5235
5346
  * <p>The last name. This is required if you are using Amazon Connect or SAML for identity
5236
- * management.</p>
5347
+ * management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a
5348
+ * non-NFC form (for example, decomposed characters or combining marks) are not accepted.</p>
5237
5349
  * @public
5238
5350
  */
5239
5351
  LastName?: string | undefined;
@@ -5980,6 +6092,26 @@ export interface DeleteHoursOfOperationRequest {
5980
6092
  */
5981
6093
  HoursOfOperationId: string | undefined;
5982
6094
  }
6095
+ /**
6096
+ * @public
6097
+ */
6098
+ export interface DeleteHoursOfOperationOverrideRequest {
6099
+ /**
6100
+ * <p>The identifier of the Amazon Connect instance.</p>
6101
+ * @public
6102
+ */
6103
+ InstanceId: string | undefined;
6104
+ /**
6105
+ * <p>The identifier for the hours of operation.</p>
6106
+ * @public
6107
+ */
6108
+ HoursOfOperationId: string | undefined;
6109
+ /**
6110
+ * <p>The identifier for the hours of operation override.</p>
6111
+ * @public
6112
+ */
6113
+ HoursOfOperationOverrideId: string | undefined;
6114
+ }
5983
6115
  /**
5984
6116
  * @public
5985
6117
  */
@@ -6137,77 +6269,6 @@ export interface DeleteSecurityProfileRequest {
6137
6269
  */
6138
6270
  SecurityProfileId: string | undefined;
6139
6271
  }
6140
- /**
6141
- * @public
6142
- */
6143
- export interface DeleteTaskTemplateRequest {
6144
- /**
6145
- * <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>
6146
- * @public
6147
- */
6148
- InstanceId: string | undefined;
6149
- /**
6150
- * <p>A unique identifier for the task template.</p>
6151
- * @public
6152
- */
6153
- TaskTemplateId: string | undefined;
6154
- }
6155
- /**
6156
- * @public
6157
- */
6158
- export interface DeleteTaskTemplateResponse {
6159
- }
6160
- /**
6161
- * @public
6162
- */
6163
- export interface DeleteTrafficDistributionGroupRequest {
6164
- /**
6165
- * <p>The identifier of the traffic distribution group.
6166
- * This can be the ID or the ARN of the traffic distribution group.</p>
6167
- * @public
6168
- */
6169
- TrafficDistributionGroupId: string | undefined;
6170
- }
6171
- /**
6172
- * @public
6173
- */
6174
- export interface DeleteTrafficDistributionGroupResponse {
6175
- }
6176
- /**
6177
- * @public
6178
- */
6179
- export interface DeleteUseCaseRequest {
6180
- /**
6181
- * <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>
6182
- * @public
6183
- */
6184
- InstanceId: string | undefined;
6185
- /**
6186
- * <p>The identifier for the integration association.</p>
6187
- * @public
6188
- */
6189
- IntegrationAssociationId: string | undefined;
6190
- /**
6191
- * <p>The identifier for the use case.</p>
6192
- * @public
6193
- */
6194
- UseCaseId: string | undefined;
6195
- }
6196
- /**
6197
- * @public
6198
- */
6199
- export interface DeleteUserRequest {
6200
- /**
6201
- * <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>
6202
- * @public
6203
- */
6204
- InstanceId: string | undefined;
6205
- /**
6206
- * <p>The identifier of the user.</p>
6207
- * @public
6208
- */
6209
- UserId: string | undefined;
6210
- }
6211
6272
  /**
6212
6273
  * @internal
6213
6274
  */