@wildix/wim-voicebots-client 1.0.2 → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.BotEndpoint = exports.VoiceBotEventType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.VoiceBotCommandType = exports.BotEndpoint = exports.VoiceBotEventType = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const VoiceBotsServiceException_1 = require("./VoiceBotsServiceException");
5
5
  class ValidationException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
6
6
  constructor(opts) {
@@ -50,6 +50,11 @@ var BotEndpoint;
50
50
  return visitor._(value.$unknown[0], value.$unknown[1]);
51
51
  };
52
52
  })(BotEndpoint = exports.BotEndpoint || (exports.BotEndpoint = {}));
53
+ exports.VoiceBotCommandType = {
54
+ HANGUP: "hangup",
55
+ SAY: "say",
56
+ TRANSFER: "transfer",
57
+ };
53
58
  class VoiceBotNotFoundException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
54
59
  constructor(opts) {
55
60
  super({
@@ -17,11 +17,9 @@ const se_CreateVoiceBotCommand = async (input, context) => {
17
17
  let body;
18
18
  body = JSON.stringify((0, smithy_client_1.take)(input, {
19
19
  'endpoint': _ => se_BotEndpoint(_, context),
20
- 'languageCode': [],
21
- 'maximumDuration': [],
20
+ 'message': [],
22
21
  'name': [],
23
- 'silenceTimeout': [],
24
- 'voiceId': [],
22
+ 'pipeline': _ => (0, smithy_client_1._json)(_),
25
23
  }));
26
24
  b.m("POST")
27
25
  .h(headers)
@@ -173,11 +171,9 @@ const se_UpdateVoiceBotCommand = async (input, context) => {
173
171
  let body;
174
172
  body = JSON.stringify((0, smithy_client_1.take)(input, {
175
173
  'endpoint': _ => se_BotEndpoint(_, context),
176
- 'languageCode': [],
177
- 'maximumDuration': [],
174
+ 'message': [],
178
175
  'name': [],
179
- 'silenceTimeout': [],
180
- 'voiceId': [],
176
+ 'pipeline': _ => (0, smithy_client_1._json)(_),
181
177
  }));
182
178
  b.m("PUT")
183
179
  .h(headers)
@@ -223,14 +219,17 @@ const de_DescribeEventCommand = async (output, context) => {
223
219
  const doc = (0, smithy_client_1.take)(data, {
224
220
  'CompleteWebhookEvent': smithy_client_1._json,
225
221
  'CompleteWebsocketEvent': smithy_client_1._json,
222
+ 'HangupWebsocketCommand': smithy_client_1._json,
226
223
  'InterruptionWebhookEvent': smithy_client_1._json,
227
224
  'InterruptionWebsocketEvent': smithy_client_1._json,
228
225
  'ReplyWebhookEvent': smithy_client_1._json,
229
226
  'ReplyWebsocketEvent': smithy_client_1._json,
227
+ 'SayWebsocketCommand': smithy_client_1._json,
230
228
  'SessionEndedWebhookEvent': smithy_client_1._json,
231
229
  'SessionStartedWebhookEvent': smithy_client_1._json,
232
230
  'TranscriptionWebhookEvent': smithy_client_1._json,
233
231
  'TranscriptionWebsocketEvent': smithy_client_1._json,
232
+ 'TransferWebsocketCommand': smithy_client_1._json,
234
233
  });
235
234
  Object.assign(contents, doc);
236
235
  return contents;
@@ -440,12 +439,10 @@ const de_VoiceBot = (output, context) => {
440
439
  'createdAt': smithy_client_1.expectString,
441
440
  'endpoint': (_) => de_BotEndpoint((0, smithy_client_1.expectUnion)(_), context),
442
441
  'id': smithy_client_1.expectString,
443
- 'languageCode': smithy_client_1.expectString,
444
- 'maximumDuration': smithy_client_1.expectInt32,
442
+ 'message': smithy_client_1.expectString,
445
443
  'name': smithy_client_1.expectString,
446
- 'silenceTimeout': smithy_client_1.expectInt32,
444
+ 'pipeline': smithy_client_1._json,
447
445
  'updatedAt': smithy_client_1.expectString,
448
- 'voiceId': smithy_client_1.expectString,
449
446
  });
450
447
  };
451
448
  const de_VoiceBotsList = (output, context) => {
@@ -45,6 +45,11 @@ export var BotEndpoint;
45
45
  return visitor._(value.$unknown[0], value.$unknown[1]);
46
46
  };
47
47
  })(BotEndpoint || (BotEndpoint = {}));
48
+ export const VoiceBotCommandType = {
49
+ HANGUP: "hangup",
50
+ SAY: "say",
51
+ TRANSFER: "transfer",
52
+ };
48
53
  export class VoiceBotNotFoundException extends __BaseException {
49
54
  constructor(opts) {
50
55
  super({
@@ -1,7 +1,7 @@
1
1
  import { VoiceBotsServiceException as __BaseException } from "../models/VoiceBotsServiceException";
2
2
  import { BotEndpoint, ForbiddenException, ValidationException, VoiceBotNotFoundException, VoiceSessionNotFoundException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
5
  export const se_CreateVoiceBotCommand = async (input, context) => {
6
6
  const b = rb(input, context);
7
7
  const headers = {
@@ -14,11 +14,9 @@ export const se_CreateVoiceBotCommand = async (input, context) => {
14
14
  let body;
15
15
  body = JSON.stringify(take(input, {
16
16
  'endpoint': _ => se_BotEndpoint(_, context),
17
- 'languageCode': [],
18
- 'maximumDuration': [],
17
+ 'message': [],
19
18
  'name': [],
20
- 'silenceTimeout': [],
21
- 'voiceId': [],
19
+ 'pipeline': _ => _json(_),
22
20
  }));
23
21
  b.m("POST")
24
22
  .h(headers)
@@ -161,11 +159,9 @@ export const se_UpdateVoiceBotCommand = async (input, context) => {
161
159
  let body;
162
160
  body = JSON.stringify(take(input, {
163
161
  'endpoint': _ => se_BotEndpoint(_, context),
164
- 'languageCode': [],
165
- 'maximumDuration': [],
162
+ 'message': [],
166
163
  'name': [],
167
- 'silenceTimeout': [],
168
- 'voiceId': [],
164
+ 'pipeline': _ => _json(_),
169
165
  }));
170
166
  b.m("PUT")
171
167
  .h(headers)
@@ -208,14 +204,17 @@ export const de_DescribeEventCommand = async (output, context) => {
208
204
  const doc = take(data, {
209
205
  'CompleteWebhookEvent': _json,
210
206
  'CompleteWebsocketEvent': _json,
207
+ 'HangupWebsocketCommand': _json,
211
208
  'InterruptionWebhookEvent': _json,
212
209
  'InterruptionWebsocketEvent': _json,
213
210
  'ReplyWebhookEvent': _json,
214
211
  'ReplyWebsocketEvent': _json,
212
+ 'SayWebsocketCommand': _json,
215
213
  'SessionEndedWebhookEvent': _json,
216
214
  'SessionStartedWebhookEvent': _json,
217
215
  'TranscriptionWebhookEvent': _json,
218
216
  'TranscriptionWebsocketEvent': _json,
217
+ 'TransferWebsocketCommand': _json,
219
218
  });
220
219
  Object.assign(contents, doc);
221
220
  return contents;
@@ -417,12 +416,10 @@ const de_VoiceBot = (output, context) => {
417
416
  'createdAt': __expectString,
418
417
  'endpoint': (_) => de_BotEndpoint(__expectUnion(_), context),
419
418
  'id': __expectString,
420
- 'languageCode': __expectString,
421
- 'maximumDuration': __expectInt32,
419
+ 'message': __expectString,
422
420
  'name': __expectString,
423
- 'silenceTimeout': __expectInt32,
421
+ 'pipeline': _json,
424
422
  'updatedAt': __expectString,
425
- 'voiceId': __expectString,
426
423
  });
427
424
  };
428
425
  const de_VoiceBotsList = (output, context) => {
@@ -37,10 +37,14 @@ declare const CreateVoiceBotCommand_base: {
37
37
  * const client = new VoiceBotsClient(config);
38
38
  * const input = { // CreateVoiceBotInput
39
39
  * name: "STRING_VALUE", // required
40
- * languageCode: "STRING_VALUE", // required
41
- * voiceId: "STRING_VALUE", // required
42
- * maximumDuration: Number("int"),
43
- * silenceTimeout: Number("int"),
40
+ * message: "STRING_VALUE",
41
+ * pipeline: { // VoiceBotPipelineSettings
42
+ * interuptionsEnabled: true || false,
43
+ * maximumDuration: Number("int"),
44
+ * silenceTimeout: Number("int"),
45
+ * endCallEnabled: true || false,
46
+ * endCallPhases: "STRING_VALUE",
47
+ * },
44
48
  * endpoint: { // BotEndpoint Union: only one key present
45
49
  * dialogflowCx: { // BotDialogflowCxEndpoint
46
50
  * credentials: "DOCUMENT_VALUE", // required
@@ -69,10 +73,14 @@ declare const CreateVoiceBotCommand_base: {
69
73
  * // { // CreateVoiceBotOutput
70
74
  * // bot: { // VoiceBot
71
75
  * // name: "STRING_VALUE", // required
72
- * // languageCode: "STRING_VALUE", // required
73
- * // voiceId: "STRING_VALUE", // required
74
- * // maximumDuration: Number("int"),
75
- * // silenceTimeout: Number("int"),
76
+ * // message: "STRING_VALUE",
77
+ * // pipeline: { // VoiceBotPipelineSettings
78
+ * // interuptionsEnabled: true || false,
79
+ * // maximumDuration: Number("int"),
80
+ * // silenceTimeout: Number("int"),
81
+ * // endCallEnabled: true || false,
82
+ * // endCallPhases: "STRING_VALUE",
83
+ * // },
76
84
  * // endpoint: { // BotEndpoint Union: only one key present
77
85
  * // dialogflowCx: { // BotDialogflowCxEndpoint
78
86
  * // credentials: "DOCUMENT_VALUE", // required
@@ -72,9 +72,34 @@ declare const DescribeEventCommand_base: {
72
72
  * // type: "STRING_VALUE", // required
73
73
  * // event: { // CompleteEvent
74
74
  * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
75
+ * // reason: "STRING_VALUE", // required
75
76
  * // time: Number("long"), // required
76
77
  * // },
77
78
  * // },
79
+ * // SayWebsocketCommand: { // SayWebsocketCommand
80
+ * // type: "STRING_VALUE", // required
81
+ * // command: { // SayWebsocketCommandData
82
+ * // text: "STRING_VALUE", // required
83
+ * // replyId: "STRING_VALUE", // required
84
+ * // interruptible: true || false,
85
+ * // type: "say" || "hangup" || "transfer", // required
86
+ * // },
87
+ * // },
88
+ * // HangupWebsocketCommand: { // HangupWebsocketCommand
89
+ * // type: "STRING_VALUE", // required
90
+ * // command: { // HangupWebsocketCommandData
91
+ * // reason: "STRING_VALUE",
92
+ * // type: "say" || "hangup" || "transfer", // required
93
+ * // },
94
+ * // },
95
+ * // TransferWebsocketCommand: { // TransferWebsocketCommand
96
+ * // type: "STRING_VALUE", // required
97
+ * // command: { // TransferWebsocketCommandData
98
+ * // context: "STRING_VALUE", // required
99
+ * // extension: "STRING_VALUE", // required
100
+ * // type: "say" || "hangup" || "transfer", // required
101
+ * // },
102
+ * // },
78
103
  * // SessionStartedWebhookEvent: { // SessionStartedWebhookEvent
79
104
  * // sessionId: "STRING_VALUE", // required
80
105
  * // botId: "STRING_VALUE", // required
@@ -82,6 +107,7 @@ declare const DescribeEventCommand_base: {
82
107
  * // flowIndex: Number("int"), // required
83
108
  * // event: { // SessionStartedEvent
84
109
  * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
110
+ * // language: "STRING_VALUE", // required
85
111
  * // time: Number("long"), // required
86
112
  * // },
87
113
  * // },
@@ -44,10 +44,14 @@ declare const GetVoiceBotCommand_base: {
44
44
  * // { // GetVoiceBotOutput
45
45
  * // bot: { // VoiceBot
46
46
  * // name: "STRING_VALUE", // required
47
- * // languageCode: "STRING_VALUE", // required
48
- * // voiceId: "STRING_VALUE", // required
49
- * // maximumDuration: Number("int"),
50
- * // silenceTimeout: Number("int"),
47
+ * // message: "STRING_VALUE",
48
+ * // pipeline: { // VoiceBotPipelineSettings
49
+ * // interuptionsEnabled: true || false,
50
+ * // maximumDuration: Number("int"),
51
+ * // silenceTimeout: Number("int"),
52
+ * // endCallEnabled: true || false,
53
+ * // endCallPhases: "STRING_VALUE",
54
+ * // },
51
55
  * // endpoint: { // BotEndpoint Union: only one key present
52
56
  * // dialogflowCx: { // BotDialogflowCxEndpoint
53
57
  * // credentials: "DOCUMENT_VALUE", // required
@@ -44,10 +44,14 @@ declare const ListVoiceBotsCommand_base: {
44
44
  * // bots: [ // VoiceBotsList // required
45
45
  * // { // VoiceBot
46
46
  * // name: "STRING_VALUE", // required
47
- * // languageCode: "STRING_VALUE", // required
48
- * // voiceId: "STRING_VALUE", // required
49
- * // maximumDuration: Number("int"),
50
- * // silenceTimeout: Number("int"),
47
+ * // message: "STRING_VALUE",
48
+ * // pipeline: { // VoiceBotPipelineSettings
49
+ * // interuptionsEnabled: true || false,
50
+ * // maximumDuration: Number("int"),
51
+ * // silenceTimeout: Number("int"),
52
+ * // endCallEnabled: true || false,
53
+ * // endCallPhases: "STRING_VALUE",
54
+ * // },
51
55
  * // endpoint: { // BotEndpoint Union: only one key present
52
56
  * // dialogflowCx: { // BotDialogflowCxEndpoint
53
57
  * // credentials: "DOCUMENT_VALUE", // required
@@ -37,10 +37,14 @@ declare const UpdateVoiceBotCommand_base: {
37
37
  * const client = new VoiceBotsClient(config);
38
38
  * const input = { // UpdateVoiceBotInput
39
39
  * name: "STRING_VALUE", // required
40
- * languageCode: "STRING_VALUE", // required
41
- * voiceId: "STRING_VALUE", // required
42
- * maximumDuration: Number("int"),
43
- * silenceTimeout: Number("int"),
40
+ * message: "STRING_VALUE",
41
+ * pipeline: { // VoiceBotPipelineSettings
42
+ * interuptionsEnabled: true || false,
43
+ * maximumDuration: Number("int"),
44
+ * silenceTimeout: Number("int"),
45
+ * endCallEnabled: true || false,
46
+ * endCallPhases: "STRING_VALUE",
47
+ * },
44
48
  * endpoint: { // BotEndpoint Union: only one key present
45
49
  * dialogflowCx: { // BotDialogflowCxEndpoint
46
50
  * credentials: "DOCUMENT_VALUE", // required
@@ -70,10 +74,14 @@ declare const UpdateVoiceBotCommand_base: {
70
74
  * // { // UpdateVoiceBotOutput
71
75
  * // bot: { // VoiceBot
72
76
  * // name: "STRING_VALUE", // required
73
- * // languageCode: "STRING_VALUE", // required
74
- * // voiceId: "STRING_VALUE", // required
75
- * // maximumDuration: Number("int"),
76
- * // silenceTimeout: Number("int"),
77
+ * // message: "STRING_VALUE",
78
+ * // pipeline: { // VoiceBotPipelineSettings
79
+ * // interuptionsEnabled: true || false,
80
+ * // maximumDuration: Number("int"),
81
+ * // silenceTimeout: Number("int"),
82
+ * // endCallEnabled: true || false,
83
+ * // endCallPhases: "STRING_VALUE",
84
+ * // },
77
85
  * // endpoint: { // BotEndpoint Union: only one key present
78
86
  * // dialogflowCx: { // BotDialogflowCxEndpoint
79
87
  * // credentials: "DOCUMENT_VALUE", // required
@@ -44,6 +44,7 @@ export type VoiceBotEventType = typeof VoiceBotEventType[keyof typeof VoiceBotEv
44
44
  */
45
45
  export interface CompleteEvent {
46
46
  type: VoiceBotEventType;
47
+ reason: string;
47
48
  time: number;
48
49
  }
49
50
  /**
@@ -167,18 +168,12 @@ export declare namespace BotEndpoint {
167
168
  /**
168
169
  * @public
169
170
  */
170
- export interface CreateVoiceBotInput {
171
- name: string;
172
- /**
173
- * The language code that represents the language spoken in the voice bot.
174
- * @public
175
- */
176
- languageCode: string;
171
+ export interface VoiceBotPipelineSettings {
177
172
  /**
178
- * Voice ID to use for the speech synthesis.
173
+ * If enabled the user can interrupt the the bot playback.
179
174
  * @public
180
175
  */
181
- voiceId: string;
176
+ interuptionsEnabled?: boolean;
182
177
  /**
183
178
  * The maximum number of seconds a call will last.
184
179
  * @public
@@ -190,37 +185,45 @@ export interface CreateVoiceBotInput {
190
185
  */
191
186
  silenceTimeout?: number;
192
187
  /**
193
- * An endpoint to use to generate replies during voice bot session.
188
+ * If enabled the bot can hangup the call.
194
189
  * @public
195
190
  */
196
- endpoint: BotEndpoint;
197
- company?: string;
191
+ endCallEnabled?: boolean;
192
+ /**
193
+ * A list of phases separated by comma, which will end the call matched.
194
+ * @public
195
+ */
196
+ endCallPhases?: string;
198
197
  }
199
198
  /**
200
199
  * @public
201
200
  */
202
- export interface VoiceBot {
201
+ export interface CreateVoiceBotInput {
203
202
  name: string;
204
203
  /**
205
- * The language code that represents the language spoken in the voice bot.
206
- * @public
207
- */
208
- languageCode: string;
209
- /**
210
- * Voice ID to use for the speech synthesis.
204
+ * The initial message that will be played at the start of the session.
211
205
  * @public
212
206
  */
213
- voiceId: string;
207
+ message?: string;
208
+ pipeline?: VoiceBotPipelineSettings;
214
209
  /**
215
- * The maximum number of seconds a call will last.
210
+ * An endpoint to use to generate replies during voice bot session.
216
211
  * @public
217
212
  */
218
- maximumDuration?: number;
213
+ endpoint: BotEndpoint;
214
+ company?: string;
215
+ }
216
+ /**
217
+ * @public
218
+ */
219
+ export interface VoiceBot {
220
+ name: string;
219
221
  /**
220
- * How long to wait before a call is automatically ended due to inactivity.
222
+ * The initial message that will be played at the start of the session.
221
223
  * @public
222
224
  */
223
- silenceTimeout?: number;
225
+ message?: string;
226
+ pipeline?: VoiceBotPipelineSettings;
224
227
  /**
225
228
  * An endpoint to use to generate replies during voice bot session.
226
229
  * @public
@@ -253,6 +256,33 @@ export interface DeleteVoiceBotOutput {
253
256
  */
254
257
  export interface DescribeEventInput {
255
258
  }
259
+ /**
260
+ * @public
261
+ * @enum
262
+ */
263
+ export declare const VoiceBotCommandType: {
264
+ readonly HANGUP: "hangup";
265
+ readonly SAY: "say";
266
+ readonly TRANSFER: "transfer";
267
+ };
268
+ /**
269
+ * @public
270
+ */
271
+ export type VoiceBotCommandType = typeof VoiceBotCommandType[keyof typeof VoiceBotCommandType];
272
+ /**
273
+ * @public
274
+ */
275
+ export interface HangupWebsocketCommandData {
276
+ reason?: string;
277
+ type: VoiceBotCommandType;
278
+ }
279
+ /**
280
+ * @public
281
+ */
282
+ export interface HangupWebsocketCommand {
283
+ type: string;
284
+ command: HangupWebsocketCommandData;
285
+ }
256
286
  /**
257
287
  * @public
258
288
  */
@@ -307,6 +337,22 @@ export interface ReplyWebsocketEvent {
307
337
  type: string;
308
338
  event: ReplyEvent;
309
339
  }
340
+ /**
341
+ * @public
342
+ */
343
+ export interface SayWebsocketCommandData {
344
+ text: string;
345
+ replyId: string;
346
+ interruptible?: boolean;
347
+ type: VoiceBotCommandType;
348
+ }
349
+ /**
350
+ * @public
351
+ */
352
+ export interface SayWebsocketCommand {
353
+ type: string;
354
+ command: SayWebsocketCommandData;
355
+ }
310
356
  /**
311
357
  * @public
312
358
  */
@@ -330,6 +376,11 @@ export interface SessionEndedWebhookEvent {
330
376
  */
331
377
  export interface SessionStartedEvent {
332
378
  type: VoiceBotEventType;
379
+ /**
380
+ * The language code that represents the language spoken in the session.
381
+ * @public
382
+ */
383
+ language: string;
333
384
  time: number;
334
385
  }
335
386
  /**
@@ -368,6 +419,21 @@ export interface TranscriptionWebsocketEvent {
368
419
  type: string;
369
420
  event: TranscriptionEvent;
370
421
  }
422
+ /**
423
+ * @public
424
+ */
425
+ export interface TransferWebsocketCommandData {
426
+ context: string;
427
+ extension: string;
428
+ type: VoiceBotCommandType;
429
+ }
430
+ /**
431
+ * @public
432
+ */
433
+ export interface TransferWebsocketCommand {
434
+ type: string;
435
+ command: TransferWebsocketCommandData;
436
+ }
371
437
  /**
372
438
  * @public
373
439
  */
@@ -376,6 +442,9 @@ export interface DescribeEventOutput {
376
442
  ReplyWebsocketEvent?: ReplyWebsocketEvent;
377
443
  InterruptionWebsocketEvent?: InterruptionWebsocketEvent;
378
444
  CompleteWebsocketEvent?: CompleteWebsocketEvent;
445
+ SayWebsocketCommand?: SayWebsocketCommand;
446
+ HangupWebsocketCommand?: HangupWebsocketCommand;
447
+ TransferWebsocketCommand?: TransferWebsocketCommand;
379
448
  SessionStartedWebhookEvent?: SessionStartedWebhookEvent;
380
449
  SessionEndedWebhookEvent?: SessionEndedWebhookEvent;
381
450
  TranscriptionWebhookEvent?: TranscriptionWebhookEvent;
@@ -496,25 +565,11 @@ export interface SendTransferOutput {
496
565
  export interface UpdateVoiceBotInput {
497
566
  name: string;
498
567
  /**
499
- * The language code that represents the language spoken in the voice bot.
500
- * @public
501
- */
502
- languageCode: string;
503
- /**
504
- * Voice ID to use for the speech synthesis.
568
+ * The initial message that will be played at the start of the session.
505
569
  * @public
506
570
  */
507
- voiceId: string;
508
- /**
509
- * The maximum number of seconds a call will last.
510
- * @public
511
- */
512
- maximumDuration?: number;
513
- /**
514
- * How long to wait before a call is automatically ended due to inactivity.
515
- * @public
516
- */
517
- silenceTimeout?: number;
571
+ message?: string;
572
+ pipeline?: VoiceBotPipelineSettings;
518
573
  /**
519
574
  * An endpoint to use to generate replies during voice bot session.
520
575
  * @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.0.2",
4
+ "version": "1.0.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",