@aws-sdk/client-connect 3.758.0 → 3.765.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.
package/dist-cjs/index.js CHANGED
@@ -3209,6 +3209,7 @@ var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
3209
3209
  InitiationMethod: [],
3210
3210
  InstanceId: [],
3211
3211
  Name: [],
3212
+ PreviousContactId: [],
3212
3213
  References: (_) => (0, import_smithy_client._json)(_),
3213
3214
  RelatedContactId: [],
3214
3215
  SegmentAttributes: (_) => se_SegmentAttributes(_, context),
@@ -378,6 +378,7 @@ export const se_CreateContactCommand = async (input, context) => {
378
378
  InitiationMethod: [],
379
379
  InstanceId: [],
380
380
  Name: [],
381
+ PreviousContactId: [],
381
382
  References: (_) => _json(_),
382
383
  RelatedContactId: [],
383
384
  SegmentAttributes: (_) => se_SegmentAttributes(_, context),
@@ -79,6 +79,7 @@ declare const CreateContactCommand_base: {
79
79
  * ValueInteger: Number("int"),
80
80
  * },
81
81
  * },
82
+ * PreviousContactId: "STRING_VALUE",
82
83
  * };
83
84
  * const command = new CreateContactCommand(input);
84
85
  * const response = await client.send(command);
@@ -34,12 +34,13 @@ declare const DescribeContactCommand_base: {
34
34
  * <ul>
35
35
  * <li>
36
36
  * <p>
37
- * <code>CustomerEndpoint</code> and <code>SystemEndpoint</code> are only populated for EMAIL contacts. </p>
37
+ * <code>CustomerEndpoint</code> and <code>SystemEndpoint</code> are only populated for
38
+ * EMAIL contacts. </p>
38
39
  * </li>
39
40
  * <li>
40
41
  * <p>Contact information remains available in Amazon Connect for 24 months from the
41
- * <code>InitiationTimestamp</code>, and then it is deleted. Only contact information that is available in
42
- * Amazon Connect is returned by this API.</p>
42
+ * <code>InitiationTimestamp</code>, and then it is deleted. Only contact information that is
43
+ * available in Amazon Connect is returned by this API.</p>
43
44
  * </li>
44
45
  * </ul>
45
46
  * </important>
@@ -27,7 +27,12 @@ declare const ListRealtimeContactAnalysisSegmentsV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Provides a list of analysis segments for a real-time analysis session. </p>
30
+ * <p>Provides a list of analysis segments for a real-time chat analysis session. This API
31
+ * supports CHAT channels only. </p>
32
+ * <important>
33
+ * <p>This API does not support VOICE. If you attempt to use it for VOICE, an
34
+ * <code>InvalidRequestException</code> occurs.</p>
35
+ * </important>
31
36
  * @example
32
37
  * Use a bare-bones client and the command you need to make an API call.
33
38
  * ```javascript
@@ -27,15 +27,16 @@ declare const TransferContactCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Transfers contacts from one agent or queue to another agent or queue at any point after a
31
- * contact is created. You can transfer a contact to another queue by providing the flow which
32
- * orchestrates the contact to the destination queue. This gives you more control over contact
30
+ * <p>Transfers <code>TASK</code> or <code>EMAIL</code>
31
+ * contacts from one agent or queue to another agent or queue at any point
32
+ * after a contact is created. You can transfer a contact to another queue by providing the flow
33
+ * which orchestrates the contact to the destination queue. This gives you more control over contact
33
34
  * handling and helps you adhere to the service level agreement (SLA) guaranteed to your
34
35
  * customers.</p>
35
36
  * <p>Note the following requirements:</p>
36
37
  * <ul>
37
38
  * <li>
38
- * <p>Transfer is supported for only <code>TASK</code> contacts.</p>
39
+ * <p>Transfer is supported for only <code>TASK</code> and <code>EMAIL</code> contacts.</p>
39
40
  * </li>
40
41
  * <li>
41
42
  * <p>Do not use both <code>QueueId</code> and <code>UserId</code> in the same call.</p>
@@ -717,7 +717,12 @@ export type RealTimeContactAnalysisStatus = (typeof RealTimeContactAnalysisStatu
717
717
  */
718
718
  export interface ListRealtimeContactAnalysisSegmentsV2Response {
719
719
  /**
720
- * <p>The channel of the contact. <code>Voice</code> will not be returned. </p>
720
+ * <p>The channel of the contact. </p>
721
+ * <important>
722
+ * <p>Only <code>CHAT</code> is supported. This API does not support <code>VOICE</code>. If you
723
+ * attempt to use it for the VOICE channel, an <code>InvalidRequestException</code> error
724
+ * occurs.</p>
725
+ * </important>
721
726
  * @public
722
727
  */
723
728
  Channel: RealTimeContactAnalysisSupportedChannel | undefined;
@@ -856,7 +856,8 @@ export interface CreateContactRequest {
856
856
  */
857
857
  ClientToken?: string | undefined;
858
858
  /**
859
- * <p>The identifier of the contact in this instance of Amazon Connect. </p>
859
+ * <p>The unique identifier for an Amazon Connect contact. This identifier is related to the
860
+ * contact starting.</p>
860
861
  * @public
861
862
  */
862
863
  RelatedContactId?: string | undefined;
@@ -933,6 +934,14 @@ export interface CreateContactRequest {
933
934
  * @public
934
935
  */
935
936
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
937
+ /**
938
+ * <p>The ID of the previous contact when creating a transfer contact. This value can be provided
939
+ * only for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Integrate Amazon Connect Contact Lens
940
+ * with external voice systems</a> in the <i>Amazon Connect Administrator
941
+ * Guide</i>.</p>
942
+ * @public
943
+ */
944
+ PreviousContactId?: string | undefined;
936
945
  }
937
946
  /**
938
947
  * @public
@@ -2692,7 +2701,9 @@ export interface Contact {
2692
2701
  */
2693
2702
  InitiationTimestamp?: Date | undefined;
2694
2703
  /**
2695
- * <p>The timestamp when the customer endpoint disconnected from Amazon Connect.</p>
2704
+ * <p>The date and time that the customer endpoint disconnected from the current contact, in UTC
2705
+ * time. In transfer scenarios, the DisconnectTimestamp of the previous contact indicates the date
2706
+ * and time when that contact ended.</p>
2696
2707
  * @public
2697
2708
  */
2698
2709
  DisconnectTimestamp?: Date | undefined;
@@ -295,6 +295,7 @@ export interface CreateContactRequest {
295
295
  Name?: string | undefined;
296
296
  Description?: string | undefined;
297
297
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
298
+ PreviousContactId?: string | undefined;
298
299
  }
299
300
  export interface CreateEvaluationFormRequest {
300
301
  InstanceId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.765.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",