@wildix/wim-voicebots-client 1.0.21 → 1.0.23
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/VoiceBots.js +4 -0
- package/dist-cjs/VoiceBotsClient.js +4 -5
- package/dist-cjs/commands/SendPlayCommand.js +21 -0
- package/dist-cjs/commands/SendStopCommand.js +21 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +28 -22
- package/dist-cjs/protocols/Aws_restJson1.js +104 -85
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/VoiceBots.js +4 -0
- package/dist-es/VoiceBotsClient.js +4 -5
- package/dist-es/commands/SendPlayCommand.js +17 -0
- package/dist-es/commands/SendStopCommand.js +17 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +16 -10
- package/dist-es/protocols/Aws_restJson1.js +68 -53
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/VoiceBots.d.ts +14 -0
- package/dist-types/VoiceBotsClient.d.ts +5 -3
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +12 -0
- package/dist-types/commands/DeleteVoiceBotCommand.d.ts +12 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +78 -22
- package/dist-types/commands/GetTraceCommand.d.ts +33 -8
- package/dist-types/commands/GetVoiceBotCommand.d.ts +12 -0
- package/dist-types/commands/ListTracesCommand.d.ts +12 -0
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +12 -0
- package/dist-types/commands/ListVoiceBotsNamesCommand.d.ts +12 -0
- package/dist-types/commands/SendHangupCommand.d.ts +12 -0
- package/dist-types/commands/SendPlayCommand.d.ts +79 -0
- package/dist-types/commands/SendSayCommand.d.ts +16 -0
- package/dist-types/commands/SendStopCommand.d.ts +76 -0
- package/dist-types/commands/SendTransferCommand.d.ts +12 -0
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +212 -109
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +3 -2
- package/dist-types/runtimeConfig.native.d.ts +3 -2
- package/package.json +37 -33
|
@@ -7,7 +7,9 @@ import { ListTracesCommandInput, ListTracesCommandOutput } from "../commands/Lis
|
|
|
7
7
|
import { ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput } from "../commands/ListVoiceBotsCommand";
|
|
8
8
|
import { ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput } from "../commands/ListVoiceBotsNamesCommand";
|
|
9
9
|
import { SendHangupCommandInput, SendHangupCommandOutput } from "../commands/SendHangupCommand";
|
|
10
|
+
import { SendPlayCommandInput, SendPlayCommandOutput } from "../commands/SendPlayCommand";
|
|
10
11
|
import { SendSayCommandInput, SendSayCommandOutput } from "../commands/SendSayCommand";
|
|
12
|
+
import { SendStopCommandInput, SendStopCommandOutput } from "../commands/SendStopCommand";
|
|
11
13
|
import { SendTransferCommandInput, SendTransferCommandOutput } from "../commands/SendTransferCommand";
|
|
12
14
|
import { UpdateVoiceBotCommandInput, UpdateVoiceBotCommandOutput } from "../commands/UpdateVoiceBotCommand";
|
|
13
15
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
@@ -48,10 +50,18 @@ export declare const se_ListVoiceBotsNamesCommand: (input: ListVoiceBotsNamesCom
|
|
|
48
50
|
* serializeAws_restJson1SendHangupCommand
|
|
49
51
|
*/
|
|
50
52
|
export declare const se_SendHangupCommand: (input: SendHangupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
53
|
+
/**
|
|
54
|
+
* serializeAws_restJson1SendPlayCommand
|
|
55
|
+
*/
|
|
56
|
+
export declare const se_SendPlayCommand: (input: SendPlayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
57
|
/**
|
|
52
58
|
* serializeAws_restJson1SendSayCommand
|
|
53
59
|
*/
|
|
54
60
|
export declare const se_SendSayCommand: (input: SendSayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
|
+
/**
|
|
62
|
+
* serializeAws_restJson1SendStopCommand
|
|
63
|
+
*/
|
|
64
|
+
export declare const se_SendStopCommand: (input: SendStopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
65
|
/**
|
|
56
66
|
* serializeAws_restJson1SendTransferCommand
|
|
57
67
|
*/
|
|
@@ -96,10 +106,18 @@ export declare const de_ListVoiceBotsNamesCommand: (output: __HttpResponse, cont
|
|
|
96
106
|
* deserializeAws_restJson1SendHangupCommand
|
|
97
107
|
*/
|
|
98
108
|
export declare const de_SendHangupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendHangupCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* deserializeAws_restJson1SendPlayCommand
|
|
111
|
+
*/
|
|
112
|
+
export declare const de_SendPlayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendPlayCommandOutput>;
|
|
99
113
|
/**
|
|
100
114
|
* deserializeAws_restJson1SendSayCommand
|
|
101
115
|
*/
|
|
102
116
|
export declare const de_SendSayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendSayCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* deserializeAws_restJson1SendStopCommand
|
|
119
|
+
*/
|
|
120
|
+
export declare const de_SendStopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendStopCommandOutput>;
|
|
103
121
|
/**
|
|
104
122
|
* deserializeAws_restJson1SendTransferCommand
|
|
105
123
|
*/
|
|
@@ -7,13 +7,13 @@ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
defaultUserAgentProvider: import("@
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
-
env
|
|
16
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
19
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -26,5 +26,6 @@ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
29
30
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
31
|
};
|
|
@@ -7,13 +7,14 @@ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
defaultUserAgentProvider: import("@
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
-
|
|
16
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
19
|
apiVersion: string;
|
|
19
20
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ import { VoiceBotsClientConfig } from "./VoiceBotsClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
env
|
|
8
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
@@ -18,12 +18,13 @@ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
|
|
|
18
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
19
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
|
-
defaultUserAgentProvider: import("@
|
|
21
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
22
22
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
23
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
24
|
logger: import("@smithy/types").Logger;
|
|
25
25
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
26
26
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
28
29
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
30
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wim-voicebots-client",
|
|
3
3
|
"description": "@wildix/wim-voicebots-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.23",
|
|
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",
|
|
@@ -18,46 +18,50 @@
|
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.6.2",
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
24
28
|
"@aws-sdk/types": "latest",
|
|
25
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
26
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
27
|
-
"@smithy/config-resolver": "^
|
|
28
|
-
"@smithy/core": "^
|
|
29
|
-
"@smithy/fetch-http-handler": "^
|
|
30
|
-
"@smithy/hash-node": "^
|
|
31
|
-
"@smithy/invalid-dependency": "^
|
|
32
|
-
"@smithy/middleware-content-length": "^
|
|
33
|
-
"@smithy/middleware-retry": "^
|
|
34
|
-
"@smithy/middleware-serde": "^
|
|
35
|
-
"@smithy/middleware-stack": "^
|
|
36
|
-
"@smithy/node-config-provider": "^
|
|
37
|
-
"@smithy/node-http-handler": "^
|
|
38
|
-
"@smithy/protocol-http": "^
|
|
39
|
-
"@smithy/smithy-client": "^
|
|
40
|
-
"@smithy/types": "^
|
|
41
|
-
"@smithy/url-parser": "^
|
|
42
|
-
"@smithy/util-base64": "^
|
|
43
|
-
"@smithy/util-body-length-browser": "^
|
|
44
|
-
"@smithy/util-body-length-node": "^
|
|
45
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
46
|
-
"@smithy/util-defaults-mode-node": "^
|
|
47
|
-
"@smithy/util-retry": "^
|
|
48
|
-
"@smithy/util-utf8": "^
|
|
49
|
-
"@wildix/smithy-utils": "^1.0.
|
|
29
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
30
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
31
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
32
|
+
"@smithy/core": "^3.2.0",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
34
|
+
"@smithy/hash-node": "^4.0.2",
|
|
35
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
36
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
37
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
38
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
39
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
40
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
41
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
42
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
43
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
44
|
+
"@smithy/types": "^4.2.0",
|
|
45
|
+
"@smithy/url-parser": "^4.0.2",
|
|
46
|
+
"@smithy/util-base64": "^4.0.0",
|
|
47
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
48
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
49
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
50
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
51
|
+
"@smithy/util-retry": "^4.0.2",
|
|
52
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
53
|
+
"@wildix/smithy-utils": "^1.0.3"
|
|
50
54
|
},
|
|
51
55
|
"devDependencies": {
|
|
52
|
-
"@tsconfig/
|
|
56
|
+
"@tsconfig/node18": "18.2.4",
|
|
53
57
|
"concurrently": "7.0.0",
|
|
54
58
|
"downlevel-dts": "0.10.1",
|
|
55
59
|
"rimraf": "^3.0.0",
|
|
56
|
-
"typescript": "~
|
|
57
|
-
"@types/node": "^
|
|
60
|
+
"typescript": "~5.2.2",
|
|
61
|
+
"@types/node": "^18.19.69"
|
|
58
62
|
},
|
|
59
63
|
"engines": {
|
|
60
|
-
"node": ">=
|
|
64
|
+
"node": ">=18.0.0"
|
|
61
65
|
},
|
|
62
66
|
"typesVersions": {
|
|
63
67
|
"<4.0": {
|