@aws-sdk/client-connect 3.329.0 → 3.335.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/README.md +40 -0
- package/dist-cjs/Connect.js +10 -0
- package/dist-cjs/commands/CreatePromptCommand.js +45 -0
- package/dist-cjs/commands/DeletePromptCommand.js +45 -0
- package/dist-cjs/commands/DescribePromptCommand.js +45 -0
- package/dist-cjs/commands/GetPromptFileCommand.js +45 -0
- package/dist-cjs/commands/UpdatePromptCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +344 -9
- package/dist-es/Connect.js +10 -0
- package/dist-es/commands/CreatePromptCommand.js +41 -0
- package/dist-es/commands/DeletePromptCommand.js +41 -0
- package/dist-es/commands/DescribePromptCommand.js +41 -0
- package/dist-es/commands/GetPromptFileCommand.js +41 -0
- package/dist-es/commands/UpdatePromptCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +326 -1
- package/dist-types/Connect.d.ts +35 -0
- package/dist-types/ConnectClient.d.ts +10 -4
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +4 -3
- package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptCommand.d.ts +94 -0
- package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +2 -2
- package/dist-types/commands/DeletePromptCommand.d.ts +83 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +93 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -1
- package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
- package/dist-types/commands/GetPromptFileCommand.d.ts +85 -0
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +4 -3
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +107 -102
- package/dist-types/models/models_1.d.ts +166 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Connect.d.ts +85 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +37 -5
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +29 -26
- package/dist-types/ts3.4/models/models_1.d.ts +47 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +7 -6
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
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.335.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.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -36,10 +36,9 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.329.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.329.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.329.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -48,11 +47,13 @@
|
|
|
48
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
48
|
"@aws-sdk/util-defaults-mode-browser": "3.329.0",
|
|
50
49
|
"@aws-sdk/util-defaults-mode-node": "3.329.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.332.0",
|
|
52
51
|
"@aws-sdk/util-retry": "3.329.0",
|
|
53
52
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
56
|
+
"@smithy/types": "^1.0.0",
|
|
56
57
|
"tslib": "^2.5.0",
|
|
57
58
|
"uuid": "^8.3.2"
|
|
58
59
|
},
|