@aws-sdk/client-connect 3.799.0 → 3.801.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 (47) hide show
  1. package/dist-cjs/index.js +102 -3
  2. package/dist-es/models/models_0.js +6 -0
  3. package/dist-es/models/models_1.js +20 -0
  4. package/dist-es/protocols/Aws_restJson1.js +67 -0
  5. package/dist-types/commands/CreateContactCommand.d.ts +3 -2
  6. package/dist-types/commands/DeletePromptCommand.d.ts +1 -1
  7. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +1 -2
  8. package/dist-types/commands/DescribeContactCommand.d.ts +46 -2
  9. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
  10. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
  11. package/dist-types/commands/GetMetricDataV2Command.d.ts +2 -2
  12. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +2 -1
  13. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +1 -1
  14. package/dist-types/commands/ListPromptsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +1 -2
  16. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +3 -5
  17. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  18. package/dist-types/commands/UpdatePhoneNumberMetadataCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdatePromptCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +68 -37
  26. package/dist-types/models/models_1.d.ts +426 -360
  27. package/dist-types/models/models_2.d.ts +225 -192
  28. package/dist-types/models/models_3.d.ts +225 -7
  29. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/UpdatePhoneNumberMetadataCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/models/models_0.d.ts +18 -9
  44. package/dist-types/ts3.4/models/models_1.d.ts +62 -51
  45. package/dist-types/ts3.4/models/models_2.d.ts +51 -48
  46. package/dist-types/ts3.4/models/models_3.d.ts +56 -0
  47. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQueueMaxContactsRequest } from "../models/models_2";
4
+ import { UpdateQueueMaxContactsRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQueueNameRequest } from "../models/models_2";
4
+ import { UpdateQueueNameRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQueueOutboundCallerConfigRequest } from "../models/models_2";
4
+ import { UpdateQueueOutboundCallerConfigRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -493,6 +493,41 @@ export interface HierarchyGroups {
493
493
  */
494
494
  Level5?: AgentHierarchyGroup | undefined;
495
495
  }
496
+ /**
497
+ * @public
498
+ * @enum
499
+ */
500
+ export declare const ParticipantState: {
501
+ readonly CONNECTED: "CONNECTED";
502
+ readonly DISCONNECTED: "DISCONNECTED";
503
+ readonly INITIAL: "INITIAL";
504
+ readonly MISSED: "MISSED";
505
+ };
506
+ /**
507
+ * @public
508
+ */
509
+ export type ParticipantState = (typeof ParticipantState)[keyof typeof ParticipantState];
510
+ /**
511
+ * <p>Information about the state transition of a supervisor.</p>
512
+ * @public
513
+ */
514
+ export interface StateTransition {
515
+ /**
516
+ * <p>The state of the transition.</p>
517
+ * @public
518
+ */
519
+ State?: ParticipantState | undefined;
520
+ /**
521
+ * <p>The date and time when the state started in UTC time.</p>
522
+ * @public
523
+ */
524
+ StateStartTimestamp?: Date | undefined;
525
+ /**
526
+ * <p>The date and time when the state ended in UTC time.</p>
527
+ * @public
528
+ */
529
+ StateEndTimestamp?: Date | undefined;
530
+ }
496
531
  /**
497
532
  * <p>Information about the agent who accepted the contact.</p>
498
533
  * @public
@@ -530,6 +565,37 @@ export interface AgentInfo {
530
565
  * @public
531
566
  */
532
567
  Capabilities?: ParticipantCapabilities | undefined;
568
+ /**
569
+ * <p>The difference in time, in whole seconds, between
570
+ * <code>AfterContactWorkStartTimestamp</code> and
571
+ * <code>AfterContactWorkEndTimestamp</code>.</p>
572
+ * @public
573
+ */
574
+ AfterContactWorkDuration?: number | undefined;
575
+ /**
576
+ * <p>The date and time when the agent started doing After Contact Work for the contact, in UTC
577
+ * time.</p>
578
+ * @public
579
+ */
580
+ AfterContactWorkStartTimestamp?: Date | undefined;
581
+ /**
582
+ * <p>The date and time when the agent ended After Contact Work for the contact, in UTC time. In
583
+ * cases when agent finishes doing <code>AfterContactWork</code> for chat contacts and switches
584
+ * their activity status to offline or equivalent without clearing the contact in CCP, discrepancies
585
+ * may be noticed for <code>AfterContactWorkEndTimestamp</code>.</p>
586
+ * @public
587
+ */
588
+ AfterContactWorkEndTimestamp?: Date | undefined;
589
+ /**
590
+ * <p>The total hold duration in seconds initiated by the agent.</p>
591
+ * @public
592
+ */
593
+ AgentInitiatedHoldDuration?: number | undefined;
594
+ /**
595
+ * <p>List of <code>StateTransition</code> for a supervisor.</p>
596
+ * @public
597
+ */
598
+ StateTransitions?: StateTransition[] | undefined;
533
599
  }
534
600
  /**
535
601
  * <p>Contains information for score and potential quality issues for Audio</p>
@@ -4562,7 +4628,8 @@ export interface CaseSlaConfiguration {
4562
4628
  FieldId?: string | undefined;
4563
4629
  /**
4564
4630
  * <p>Represents a list of target field values for the fieldId specified in CaseSlaConfiguration.
4565
- * The SLA is considered met if any one of these target field values matches the actual field value.</p>
4631
+ * The SLA is considered met if any one of these target field values matches the actual field
4632
+ * value.</p>
4566
4633
  * @public
4567
4634
  */
4568
4635
  TargetFieldValues?: FieldValueUnion[] | undefined;
@@ -6326,42 +6393,6 @@ export interface DeletePredefinedAttributeRequest {
6326
6393
  */
6327
6394
  Name: string | undefined;
6328
6395
  }
6329
- /**
6330
- * @public
6331
- */
6332
- export interface DeletePromptRequest {
6333
- /**
6334
- * <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>
6335
- * @public
6336
- */
6337
- InstanceId: string | undefined;
6338
- /**
6339
- * <p>A unique identifier for the prompt.</p>
6340
- * @public
6341
- */
6342
- PromptId: string | undefined;
6343
- }
6344
- /**
6345
- * @public
6346
- */
6347
- export interface DeletePushNotificationRegistrationRequest {
6348
- /**
6349
- * <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
6350
- * Amazon Resource Name (ARN) of the instance.</p>
6351
- * @public
6352
- */
6353
- InstanceId: string | undefined;
6354
- /**
6355
- * <p>The identifier for the registration.</p>
6356
- * @public
6357
- */
6358
- RegistrationId: string | undefined;
6359
- /**
6360
- * <p>The identifier of the contact within the Amazon Connect instance.</p>
6361
- * @public
6362
- */
6363
- ContactId: string | undefined;
6364
- }
6365
6396
  /**
6366
6397
  * @internal
6367
6398
  */