@aws-sdk/client-connect-contact-lens 3.315.0 → 3.319.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.
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectContactLens = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const ListRealtimeContactAnalysisSegmentsCommand_1 = require("./commands/ListRealtimeContactAnalysisSegmentsCommand");
|
|
5
6
|
const ConnectContactLensClient_1 = require("./ConnectContactLensClient");
|
|
7
|
+
const commands = {
|
|
8
|
+
ListRealtimeContactAnalysisSegmentsCommand: ListRealtimeContactAnalysisSegmentsCommand_1.ListRealtimeContactAnalysisSegmentsCommand,
|
|
9
|
+
};
|
|
6
10
|
class ConnectContactLens extends ConnectContactLensClient_1.ConnectContactLensClient {
|
|
7
|
-
listRealtimeContactAnalysisSegments(args, optionsOrCb, cb) {
|
|
8
|
-
const command = new ListRealtimeContactAnalysisSegmentsCommand_1.ListRealtimeContactAnalysisSegmentsCommand(args);
|
|
9
|
-
if (typeof optionsOrCb === "function") {
|
|
10
|
-
this.send(command, optionsOrCb);
|
|
11
|
-
}
|
|
12
|
-
else if (typeof cb === "function") {
|
|
13
|
-
if (typeof optionsOrCb !== "object")
|
|
14
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
15
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
return this.send(command, optionsOrCb);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
11
|
}
|
|
22
12
|
exports.ConnectContactLens = ConnectContactLens;
|
|
13
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ConnectContactLens);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { ListRealtimeContactAnalysisSegmentsCommand, } from "./commands/ListRealtimeContactAnalysisSegmentsCommand";
|
|
2
3
|
import { ConnectContactLensClient } from "./ConnectContactLensClient";
|
|
4
|
+
const commands = {
|
|
5
|
+
ListRealtimeContactAnalysisSegmentsCommand,
|
|
6
|
+
};
|
|
3
7
|
export class ConnectContactLens extends ConnectContactLensClient {
|
|
4
|
-
listRealtimeContactAnalysisSegments(args, optionsOrCb, cb) {
|
|
5
|
-
const command = new ListRealtimeContactAnalysisSegmentsCommand(args);
|
|
6
|
-
if (typeof optionsOrCb === "function") {
|
|
7
|
-
this.send(command, optionsOrCb);
|
|
8
|
-
}
|
|
9
|
-
else if (typeof cb === "function") {
|
|
10
|
-
if (typeof optionsOrCb !== "object")
|
|
11
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
12
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return this.send(command, optionsOrCb);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
8
|
}
|
|
9
|
+
createAggregatedClient(commands, ConnectContactLens);
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { ListRealtimeContactAnalysisSegmentsCommandInput, ListRealtimeContactAnalysisSegmentsCommandOutput } from "./commands/ListRealtimeContactAnalysisSegmentsCommand";
|
|
3
3
|
import { ConnectContactLensClient } from "./ConnectContactLensClient";
|
|
4
|
+
export interface ConnectContactLens {
|
|
5
|
+
/**
|
|
6
|
+
* @see {@link ListRealtimeContactAnalysisSegmentsCommand}
|
|
7
|
+
*/
|
|
8
|
+
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListRealtimeContactAnalysisSegmentsCommandOutput>;
|
|
9
|
+
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
|
|
10
|
+
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* @public
|
|
6
14
|
* <p>Contact Lens for Amazon Connect enables you to analyze conversations between customer and agents,
|
|
@@ -11,12 +19,5 @@ import { ConnectContactLensClient } from "./ConnectContactLensClient";
|
|
|
11
19
|
* conversations. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/analyze-conversations.html">Analyze conversations using
|
|
12
20
|
* Contact Lens</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
13
21
|
*/
|
|
14
|
-
export declare class ConnectContactLens extends ConnectContactLensClient {
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
* <p>Provides a list of analysis segments for a real-time analysis session.</p>
|
|
18
|
-
*/
|
|
19
|
-
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListRealtimeContactAnalysisSegmentsCommandOutput>;
|
|
20
|
-
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
|
|
21
|
-
listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
|
|
22
|
+
export declare class ConnectContactLens extends ConnectContactLensClient implements ConnectContactLens {
|
|
22
23
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ListRealtimeContactAnalysisSegmentsCommandOutput,
|
|
5
5
|
} from "./commands/ListRealtimeContactAnalysisSegmentsCommand";
|
|
6
6
|
import { ConnectContactLensClient } from "./ConnectContactLensClient";
|
|
7
|
-
export
|
|
7
|
+
export interface ConnectContactLens {
|
|
8
8
|
listRealtimeContactAnalysisSegments(
|
|
9
9
|
args: ListRealtimeContactAnalysisSegmentsCommandInput,
|
|
10
10
|
options?: __HttpHandlerOptions
|
|
@@ -25,3 +25,6 @@ export declare class ConnectContactLens extends ConnectContactLensClient {
|
|
|
25
25
|
) => void
|
|
26
26
|
): void;
|
|
27
27
|
}
|
|
28
|
+
export declare class ConnectContactLens
|
|
29
|
+
extends ConnectContactLensClient
|
|
30
|
+
implements ConnectContactLens {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect-contact-lens",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|