@aws-sdk/client-connect 3.758.0 → 3.772.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 +520 -547
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateContactCommand.d.ts +1 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +4 -3
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +6 -1
- package/dist-types/commands/TransferContactCommand.d.ts +5 -4
- package/dist-types/models/models_2.d.ts +6 -1
- package/dist-types/models/models_3.d.ts +13 -2
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/package.json +3 -3
|
@@ -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),
|
|
@@ -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
|
|
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
|
-
*
|
|
42
|
-
*
|
|
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.
|
|
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
|
|
31
|
-
*
|
|
32
|
-
*
|
|
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.
|
|
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
|
|
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
|
|
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.
|
|
4
|
+
"version": "3.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|