@wildix/wim-voicebots-client 1.1.2 → 1.1.4
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/protocols/Aws_restJson1.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +6 -0
- package/dist-types/commands/GetVoiceBotCommand.d.ts +3 -0
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ const se_CreateVoiceBotCommand = async (input, context) => {
|
|
|
18
18
|
let body;
|
|
19
19
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
20
20
|
'capabilities': _ => (0, smithy_client_1._json)(_),
|
|
21
|
+
'category': [],
|
|
21
22
|
'endpoint': _ => se_VoiceBotEndpoint(_, context),
|
|
22
23
|
'message': [],
|
|
23
24
|
'name': [],
|
|
@@ -234,6 +235,7 @@ const se_UpdateVoiceBotCommand = async (input, context) => {
|
|
|
234
235
|
let body;
|
|
235
236
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
236
237
|
'capabilities': _ => (0, smithy_client_1._json)(_),
|
|
238
|
+
'category': [],
|
|
237
239
|
'endpoint': _ => se_VoiceBotEndpoint(_, context),
|
|
238
240
|
'message': [],
|
|
239
241
|
'name': [],
|
|
@@ -895,6 +897,7 @@ const de_TraceTimings = (output, context) => {
|
|
|
895
897
|
const de_VoiceBot = (output, context) => {
|
|
896
898
|
return (0, smithy_client_1.take)(output, {
|
|
897
899
|
'capabilities': smithy_client_1._json,
|
|
900
|
+
'category': smithy_client_1.expectString,
|
|
898
901
|
'createdAt': smithy_client_1.expectString,
|
|
899
902
|
'endpoint': (_) => de_VoiceBotEndpoint((0, core_1.awsExpectUnion)(_), context),
|
|
900
903
|
'id': smithy_client_1.expectString,
|
|
@@ -15,6 +15,7 @@ export const se_CreateVoiceBotCommand = async (input, context) => {
|
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify(take(input, {
|
|
17
17
|
'capabilities': _ => _json(_),
|
|
18
|
+
'category': [],
|
|
18
19
|
'endpoint': _ => se_VoiceBotEndpoint(_, context),
|
|
19
20
|
'message': [],
|
|
20
21
|
'name': [],
|
|
@@ -218,6 +219,7 @@ export const se_UpdateVoiceBotCommand = async (input, context) => {
|
|
|
218
219
|
let body;
|
|
219
220
|
body = JSON.stringify(take(input, {
|
|
220
221
|
'capabilities': _ => _json(_),
|
|
222
|
+
'category': [],
|
|
221
223
|
'endpoint': _ => se_VoiceBotEndpoint(_, context),
|
|
222
224
|
'message': [],
|
|
223
225
|
'name': [],
|
|
@@ -864,6 +866,7 @@ const de_TraceTimings = (output, context) => {
|
|
|
864
866
|
const de_VoiceBot = (output, context) => {
|
|
865
867
|
return take(output, {
|
|
866
868
|
'capabilities': _json,
|
|
869
|
+
'category': __expectString,
|
|
867
870
|
'createdAt': __expectString,
|
|
868
871
|
'endpoint': (_) => de_VoiceBotEndpoint(__expectUnion(_), context),
|
|
869
872
|
'id': __expectString,
|
|
@@ -36,6 +36,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
36
36
|
* const client = new VoiceBotsClient(config);
|
|
37
37
|
* const input = { // CreateVoiceBotInput
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
|
+
* category: "STRING_VALUE",
|
|
39
40
|
* message: "STRING_VALUE",
|
|
40
41
|
* pipeline: { // VoiceBotPipelineSettings
|
|
41
42
|
* interuptionsEnabled: true || false,
|
|
@@ -146,6 +147,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
146
147
|
* },
|
|
147
148
|
* },
|
|
148
149
|
* ],
|
|
150
|
+
* startMessage: "STRING_VALUE",
|
|
149
151
|
* },
|
|
150
152
|
* kb: { // VoiceBotKnowledgeBase
|
|
151
153
|
* knowledgeBaseId: "STRING_VALUE",
|
|
@@ -192,6 +194,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
192
194
|
* },
|
|
193
195
|
* },
|
|
194
196
|
* ],
|
|
197
|
+
* startMessage: "STRING_VALUE",
|
|
195
198
|
* },
|
|
196
199
|
* kb: {
|
|
197
200
|
* knowledgeBaseId: "STRING_VALUE",
|
|
@@ -206,6 +209,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
206
209
|
* // { // CreateVoiceBotOutput
|
|
207
210
|
* // bot: { // VoiceBot
|
|
208
211
|
* // name: "STRING_VALUE", // required
|
|
212
|
+
* // category: "STRING_VALUE",
|
|
209
213
|
* // message: "STRING_VALUE",
|
|
210
214
|
* // pipeline: { // VoiceBotPipelineSettings
|
|
211
215
|
* // interuptionsEnabled: true || false,
|
|
@@ -316,6 +320,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
316
320
|
* // },
|
|
317
321
|
* // },
|
|
318
322
|
* // ],
|
|
323
|
+
* // startMessage: "STRING_VALUE",
|
|
319
324
|
* // },
|
|
320
325
|
* // kb: { // VoiceBotKnowledgeBase
|
|
321
326
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -362,6 +367,7 @@ declare const CreateVoiceBotCommand_base: {
|
|
|
362
367
|
* // },
|
|
363
368
|
* // },
|
|
364
369
|
* // ],
|
|
370
|
+
* // startMessage: "STRING_VALUE",
|
|
365
371
|
* // },
|
|
366
372
|
* // kb: {
|
|
367
373
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -43,6 +43,7 @@ declare const GetVoiceBotCommand_base: {
|
|
|
43
43
|
* // { // GetVoiceBotOutput
|
|
44
44
|
* // bot: { // VoiceBot
|
|
45
45
|
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // category: "STRING_VALUE",
|
|
46
47
|
* // message: "STRING_VALUE",
|
|
47
48
|
* // pipeline: { // VoiceBotPipelineSettings
|
|
48
49
|
* // interuptionsEnabled: true || false,
|
|
@@ -153,6 +154,7 @@ declare const GetVoiceBotCommand_base: {
|
|
|
153
154
|
* // },
|
|
154
155
|
* // },
|
|
155
156
|
* // ],
|
|
157
|
+
* // startMessage: "STRING_VALUE",
|
|
156
158
|
* // },
|
|
157
159
|
* // kb: { // VoiceBotKnowledgeBase
|
|
158
160
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -199,6 +201,7 @@ declare const GetVoiceBotCommand_base: {
|
|
|
199
201
|
* // },
|
|
200
202
|
* // },
|
|
201
203
|
* // ],
|
|
204
|
+
* // startMessage: "STRING_VALUE",
|
|
202
205
|
* // },
|
|
203
206
|
* // kb: {
|
|
204
207
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -43,6 +43,7 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
43
43
|
* // bots: [ // VoiceBotsList // required
|
|
44
44
|
* // { // VoiceBot
|
|
45
45
|
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // category: "STRING_VALUE",
|
|
46
47
|
* // message: "STRING_VALUE",
|
|
47
48
|
* // pipeline: { // VoiceBotPipelineSettings
|
|
48
49
|
* // interuptionsEnabled: true || false,
|
|
@@ -153,6 +154,7 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
153
154
|
* // },
|
|
154
155
|
* // },
|
|
155
156
|
* // ],
|
|
157
|
+
* // startMessage: "STRING_VALUE",
|
|
156
158
|
* // },
|
|
157
159
|
* // kb: { // VoiceBotKnowledgeBase
|
|
158
160
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -199,6 +201,7 @@ declare const ListVoiceBotsCommand_base: {
|
|
|
199
201
|
* // },
|
|
200
202
|
* // },
|
|
201
203
|
* // ],
|
|
204
|
+
* // startMessage: "STRING_VALUE",
|
|
202
205
|
* // },
|
|
203
206
|
* // kb: {
|
|
204
207
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -36,6 +36,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
36
36
|
* const client = new VoiceBotsClient(config);
|
|
37
37
|
* const input = { // UpdateVoiceBotInput
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
|
+
* category: "STRING_VALUE",
|
|
39
40
|
* message: "STRING_VALUE",
|
|
40
41
|
* pipeline: { // VoiceBotPipelineSettings
|
|
41
42
|
* interuptionsEnabled: true || false,
|
|
@@ -146,6 +147,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
146
147
|
* },
|
|
147
148
|
* },
|
|
148
149
|
* ],
|
|
150
|
+
* startMessage: "STRING_VALUE",
|
|
149
151
|
* },
|
|
150
152
|
* kb: { // VoiceBotKnowledgeBase
|
|
151
153
|
* knowledgeBaseId: "STRING_VALUE",
|
|
@@ -192,6 +194,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
192
194
|
* },
|
|
193
195
|
* },
|
|
194
196
|
* ],
|
|
197
|
+
* startMessage: "STRING_VALUE",
|
|
195
198
|
* },
|
|
196
199
|
* kb: {
|
|
197
200
|
* knowledgeBaseId: "STRING_VALUE",
|
|
@@ -207,6 +210,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
207
210
|
* // { // UpdateVoiceBotOutput
|
|
208
211
|
* // bot: { // VoiceBot
|
|
209
212
|
* // name: "STRING_VALUE", // required
|
|
213
|
+
* // category: "STRING_VALUE",
|
|
210
214
|
* // message: "STRING_VALUE",
|
|
211
215
|
* // pipeline: { // VoiceBotPipelineSettings
|
|
212
216
|
* // interuptionsEnabled: true || false,
|
|
@@ -317,6 +321,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
317
321
|
* // },
|
|
318
322
|
* // },
|
|
319
323
|
* // ],
|
|
324
|
+
* // startMessage: "STRING_VALUE",
|
|
320
325
|
* // },
|
|
321
326
|
* // kb: { // VoiceBotKnowledgeBase
|
|
322
327
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -363,6 +368,7 @@ declare const UpdateVoiceBotCommand_base: {
|
|
|
363
368
|
* // },
|
|
364
369
|
* // },
|
|
365
370
|
* // ],
|
|
371
|
+
* // startMessage: "STRING_VALUE",
|
|
366
372
|
* // },
|
|
367
373
|
* // kb: {
|
|
368
374
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
@@ -179,6 +179,11 @@ export interface VoiceBotCapabilityTool {
|
|
|
179
179
|
*/
|
|
180
180
|
id: string;
|
|
181
181
|
variables?: (VoiceBotToolVariable)[] | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Message spoken when the tool call starts.
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
startMessage?: string | undefined;
|
|
182
187
|
}
|
|
183
188
|
/**
|
|
184
189
|
* @public
|
|
@@ -709,6 +714,11 @@ export interface VoiceBotPipelineSettings {
|
|
|
709
714
|
*/
|
|
710
715
|
export interface CreateVoiceBotInput {
|
|
711
716
|
name: string;
|
|
717
|
+
/**
|
|
718
|
+
* Category of the bot
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
category?: string | undefined;
|
|
712
722
|
/**
|
|
713
723
|
* The initial message that will be played at the start of the session.
|
|
714
724
|
* @public
|
|
@@ -728,6 +738,11 @@ export interface CreateVoiceBotInput {
|
|
|
728
738
|
*/
|
|
729
739
|
export interface VoiceBot {
|
|
730
740
|
name: string;
|
|
741
|
+
/**
|
|
742
|
+
* Category of the bot
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
category?: string | undefined;
|
|
731
746
|
/**
|
|
732
747
|
* The initial message that will be played at the start of the session.
|
|
733
748
|
* @public
|
|
@@ -2043,6 +2058,11 @@ export interface SendTransferOutput {
|
|
|
2043
2058
|
*/
|
|
2044
2059
|
export interface UpdateVoiceBotInput {
|
|
2045
2060
|
name: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* Category of the bot
|
|
2063
|
+
* @public
|
|
2064
|
+
*/
|
|
2065
|
+
category?: string | undefined;
|
|
2046
2066
|
/**
|
|
2047
2067
|
* The initial message that will be played at the start of the session.
|
|
2048
2068
|
* @public
|
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.1.
|
|
4
|
+
"version": "1.1.4",
|
|
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",
|