@wildix/wim-voicebots-client 1.0.8 → 1.0.9
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/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +2 -2
- package/dist-types/commands/GetVoiceBotCommand.d.ts +1 -1
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +1 -1
- package/dist-types/commands/SendHangupCommand.d.ts +2 -2
- package/dist-types/commands/SendSayCommand.d.ts +2 -2
- package/dist-types/commands/SendTransferCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
50
50
|
* prompt: "STRING_VALUE", // required
|
|
51
51
|
* embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
52
52
|
* { // VoiceBotEmbeddedTool
|
|
53
|
-
* type: "HANGUP" || "TRANSFER", // required
|
|
53
|
+
* type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
54
54
|
* name: "STRING_VALUE", // required
|
|
55
55
|
* parameters: "DOCUMENT_VALUE",
|
|
56
56
|
* },
|
|
@@ -121,7 +121,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
121
121
|
* // prompt: "STRING_VALUE", // required
|
|
122
122
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
123
123
|
* // { // VoiceBotEmbeddedTool
|
|
124
|
-
* // type: "HANGUP" || "TRANSFER", // required
|
|
124
|
+
* // type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
125
125
|
* // name: "STRING_VALUE", // required
|
|
126
126
|
* // parameters: "DOCUMENT_VALUE",
|
|
127
127
|
* // },
|
|
@@ -27,8 +27,7 @@ declare const DescribeEventCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Utility method to describe available events for websocket and webhook events.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -208,6 +207,7 @@ declare const DescribeEventCommand_base: {
|
|
|
208
207
|
* @throws {@link VoiceBotsServiceException}
|
|
209
208
|
* <p>Base exception class for all service exceptions from VoiceBots service.</p>
|
|
210
209
|
*
|
|
210
|
+
* @public
|
|
211
211
|
*/
|
|
212
212
|
export declare class DescribeEventCommand extends DescribeEventCommand_base {
|
|
213
213
|
}
|
|
@@ -57,7 +57,7 @@ declare const GetVoiceBotCommand_base: {
|
|
|
57
57
|
* // prompt: "STRING_VALUE", // required
|
|
58
58
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
59
59
|
* // { // VoiceBotEmbeddedTool
|
|
60
|
-
* // type: "HANGUP" || "TRANSFER", // required
|
|
60
|
+
* // type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
61
61
|
* // name: "STRING_VALUE", // required
|
|
62
62
|
* // parameters: "DOCUMENT_VALUE",
|
|
63
63
|
* // },
|
|
@@ -57,7 +57,7 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
57
57
|
* // prompt: "STRING_VALUE", // required
|
|
58
58
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
59
59
|
* // { // VoiceBotEmbeddedTool
|
|
60
|
-
* // type: "HANGUP" || "TRANSFER", // required
|
|
60
|
+
* // type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
61
61
|
* // name: "STRING_VALUE", // required
|
|
62
62
|
* // parameters: "DOCUMENT_VALUE",
|
|
63
63
|
* // },
|
|
@@ -27,8 +27,7 @@ declare const SendHangupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Terminates the voice session and the call.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -60,6 +59,7 @@ declare const SendHangupCommand_base: {
|
|
|
60
59
|
* @throws {@link VoiceBotsServiceException}
|
|
61
60
|
* <p>Base exception class for all service exceptions from VoiceBots service.</p>
|
|
62
61
|
*
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
export declare class SendHangupCommand extends SendHangupCommand_base {
|
|
65
65
|
}
|
|
@@ -27,8 +27,7 @@ declare const SendSayCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Generates and plays the specified text through the audio stream of the voice session.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -62,6 +61,7 @@ declare const SendSayCommand_base: {
|
|
|
62
61
|
* @throws {@link VoiceBotsServiceException}
|
|
63
62
|
* <p>Base exception class for all service exceptions from VoiceBots service.</p>
|
|
64
63
|
*
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class SendSayCommand extends SendSayCommand_base {
|
|
67
67
|
}
|
|
@@ -27,8 +27,7 @@ declare const SendTransferCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Transfers the call to the specified context and extension, and terminates the voice bot session.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -61,6 +60,7 @@ declare const SendTransferCommand_base: {
|
|
|
61
60
|
* @throws {@link VoiceBotsServiceException}
|
|
62
61
|
* <p>Base exception class for all service exceptions from VoiceBots service.</p>
|
|
63
62
|
*
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
export declare class SendTransferCommand extends SendTransferCommand_base {
|
|
66
66
|
}
|
|
@@ -50,7 +50,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
50
50
|
* prompt: "STRING_VALUE", // required
|
|
51
51
|
* embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
52
52
|
* { // VoiceBotEmbeddedTool
|
|
53
|
-
* type: "HANGUP" || "TRANSFER", // required
|
|
53
|
+
* type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
54
54
|
* name: "STRING_VALUE", // required
|
|
55
55
|
* parameters: "DOCUMENT_VALUE",
|
|
56
56
|
* },
|
|
@@ -122,7 +122,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
122
122
|
* // prompt: "STRING_VALUE", // required
|
|
123
123
|
* // embeddedTools: [ // VoiceBotEmbeddedToolsList
|
|
124
124
|
* // { // VoiceBotEmbeddedTool
|
|
125
|
-
* // type: "HANGUP" || "TRANSFER", // required
|
|
125
|
+
* // type: "HANGUP" || "TRANSFER" || "DELEGATE", // required
|
|
126
126
|
* // name: "STRING_VALUE", // required
|
|
127
127
|
* // parameters: "DOCUMENT_VALUE",
|
|
128
128
|
* // },
|
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.9",
|
|
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",
|