@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.
@@ -38,6 +38,7 @@ exports.VoiceBotEventType = {
38
38
  TRANSCRIPTION: "transcription",
39
39
  };
40
40
  exports.VoiceBotEmbeddedToolType = {
41
+ DELEGATE: "DELEGATE",
41
42
  HANGUP: "HANGUP",
42
43
  TRANSFER: "TRANSFER",
43
44
  };
@@ -33,6 +33,7 @@ export const VoiceBotEventType = {
33
33
  TRANSCRIPTION: "transcription",
34
34
  };
35
35
  export const VoiceBotEmbeddedToolType = {
36
+ DELEGATE: "DELEGATE",
36
37
  HANGUP: "HANGUP",
37
38
  TRANSFER: "TRANSFER",
38
39
  };
@@ -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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
  * // },
@@ -94,6 +94,7 @@ export interface BotDialogflowCxEndpoint {
94
94
  * @enum
95
95
  */
96
96
  export declare const VoiceBotEmbeddedToolType: {
97
+ readonly DELEGATE: "DELEGATE";
97
98
  readonly HANGUP: "HANGUP";
98
99
  readonly TRANSFER: "TRANSFER";
99
100
  };
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.8",
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",