@wildix/wim-voicebots-client 1.0.1

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.
Files changed (73) hide show
  1. package/dist-cjs/VoiceBots.js +31 -0
  2. package/dist-cjs/VoiceBotsClient.js +42 -0
  3. package/dist-cjs/commands/CreateVoiceBotCommand.js +21 -0
  4. package/dist-cjs/commands/DeleteVoiceBotCommand.js +21 -0
  5. package/dist-cjs/commands/DescribeEventCommand.js +21 -0
  6. package/dist-cjs/commands/GetVoiceBotCommand.js +21 -0
  7. package/dist-cjs/commands/ListVoiceBotsCommand.js +21 -0
  8. package/dist-cjs/commands/ListVoiceBotsNamesCommand.js +21 -0
  9. package/dist-cjs/commands/SendHangupCommand.js +21 -0
  10. package/dist-cjs/commands/SendSayCommand.js +21 -0
  11. package/dist-cjs/commands/SendTransferCommand.js +21 -0
  12. package/dist-cjs/commands/UpdateVoiceBotCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +13 -0
  14. package/dist-cjs/extensionConfiguration.js +2 -0
  15. package/dist-cjs/index.js +10 -0
  16. package/dist-cjs/models/VoiceBotsServiceException.js +12 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +78 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +539 -0
  20. package/dist-cjs/runtimeConfig.browser.js +32 -0
  21. package/dist-cjs/runtimeConfig.js +36 -0
  22. package/dist-cjs/runtimeConfig.native.js +15 -0
  23. package/dist-cjs/runtimeConfig.shared.js +21 -0
  24. package/dist-cjs/runtimeExtensions.js +19 -0
  25. package/dist-es/VoiceBots.js +27 -0
  26. package/dist-es/VoiceBotsClient.js +38 -0
  27. package/dist-es/commands/CreateVoiceBotCommand.js +17 -0
  28. package/dist-es/commands/DeleteVoiceBotCommand.js +17 -0
  29. package/dist-es/commands/DescribeEventCommand.js +17 -0
  30. package/dist-es/commands/GetVoiceBotCommand.js +17 -0
  31. package/dist-es/commands/ListVoiceBotsCommand.js +17 -0
  32. package/dist-es/commands/ListVoiceBotsNamesCommand.js +17 -0
  33. package/dist-es/commands/SendHangupCommand.js +17 -0
  34. package/dist-es/commands/SendSayCommand.js +17 -0
  35. package/dist-es/commands/SendTransferCommand.js +17 -0
  36. package/dist-es/commands/UpdateVoiceBotCommand.js +17 -0
  37. package/dist-es/commands/index.js +10 -0
  38. package/dist-es/extensionConfiguration.js +1 -0
  39. package/dist-es/index.js +5 -0
  40. package/dist-es/models/VoiceBotsServiceException.js +8 -0
  41. package/dist-es/models/index.js +1 -0
  42. package/dist-es/models/models_0.js +71 -0
  43. package/dist-es/protocols/Aws_restJson1.js +516 -0
  44. package/dist-es/runtimeConfig.browser.js +27 -0
  45. package/dist-es/runtimeConfig.js +31 -0
  46. package/dist-es/runtimeConfig.native.js +11 -0
  47. package/dist-es/runtimeConfig.shared.js +17 -0
  48. package/dist-es/runtimeExtensions.js +15 -0
  49. package/dist-types/VoiceBots.d.ts +82 -0
  50. package/dist-types/VoiceBotsClient.d.ts +153 -0
  51. package/dist-types/commands/CreateVoiceBotCommand.d.ts +120 -0
  52. package/dist-types/commands/DeleteVoiceBotCommand.d.ts +63 -0
  53. package/dist-types/commands/DescribeEventCommand.d.ts +141 -0
  54. package/dist-types/commands/GetVoiceBotCommand.d.ts +97 -0
  55. package/dist-types/commands/ListVoiceBotsCommand.d.ts +96 -0
  56. package/dist-types/commands/ListVoiceBotsNamesCommand.d.ts +69 -0
  57. package/dist-types/commands/SendHangupCommand.d.ts +65 -0
  58. package/dist-types/commands/SendSayCommand.d.ts +67 -0
  59. package/dist-types/commands/SendTransferCommand.d.ts +66 -0
  60. package/dist-types/commands/UpdateVoiceBotCommand.d.ts +123 -0
  61. package/dist-types/commands/index.d.ts +10 -0
  62. package/dist-types/extensionConfiguration.d.ts +7 -0
  63. package/dist-types/index.d.ts +7 -0
  64. package/dist-types/models/VoiceBotsServiceException.d.ts +14 -0
  65. package/dist-types/models/index.d.ts +1 -0
  66. package/dist-types/models/models_0.d.ts +492 -0
  67. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  68. package/dist-types/runtimeConfig.browser.d.ts +29 -0
  69. package/dist-types/runtimeConfig.d.ts +29 -0
  70. package/dist-types/runtimeConfig.native.d.ts +28 -0
  71. package/dist-types/runtimeConfig.shared.d.ts +15 -0
  72. package/dist-types/runtimeExtensions.d.ts +17 -0
  73. package/package.json +79 -0
@@ -0,0 +1,492 @@
1
+ import { VoiceBotsServiceException as __BaseException } from "./VoiceBotsServiceException";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ import { DocumentType as __DocumentType } from "@smithy/types";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare class ValidationException extends __BaseException {
8
+ readonly name: "ValidationException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export declare class ForbiddenException extends __BaseException {
19
+ readonly name: "ForbiddenException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
+ }
26
+ /**
27
+ * @public
28
+ */
29
+ export interface BotDialogflowCxEndpoint {
30
+ /**
31
+ * Dialogflow Service Account Credentials
32
+ * @public
33
+ */
34
+ credentials: __DocumentType;
35
+ /**
36
+ * Dialogflow Agent Id (example - 88ff4635-0852-4f97-ae44-b19ae9fa6ea1
37
+ * @public
38
+ */
39
+ agent: string;
40
+ /**
41
+ * Dialogflow Agent Region (example: europe-west3)
42
+ * @public
43
+ */
44
+ location: string;
45
+ /**
46
+ * Language
47
+ * @public
48
+ */
49
+ language: string;
50
+ }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface BotOpenAiAssistantEndpoint {
55
+ key: string;
56
+ assistantId: string;
57
+ }
58
+ /**
59
+ * @public
60
+ */
61
+ export interface BotSqsEndpoint {
62
+ url: string;
63
+ key: string;
64
+ secret: string;
65
+ }
66
+ /**
67
+ * @public
68
+ */
69
+ export interface BotWebhookEndpoint {
70
+ url: string;
71
+ secret: string;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export type BotEndpoint = BotEndpoint.DialogflowCxMember | BotEndpoint.OpenAiAssistantMember | BotEndpoint.SqsMember | BotEndpoint.WebhookMember | BotEndpoint.$UnknownMember;
77
+ /**
78
+ * @public
79
+ */
80
+ export declare namespace BotEndpoint {
81
+ interface DialogflowCxMember {
82
+ dialogflowCx: BotDialogflowCxEndpoint;
83
+ openAiAssistant?: never;
84
+ webhook?: never;
85
+ sqs?: never;
86
+ $unknown?: never;
87
+ }
88
+ interface OpenAiAssistantMember {
89
+ dialogflowCx?: never;
90
+ openAiAssistant: BotOpenAiAssistantEndpoint;
91
+ webhook?: never;
92
+ sqs?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface WebhookMember {
96
+ dialogflowCx?: never;
97
+ openAiAssistant?: never;
98
+ webhook: BotWebhookEndpoint;
99
+ sqs?: never;
100
+ $unknown?: never;
101
+ }
102
+ interface SqsMember {
103
+ dialogflowCx?: never;
104
+ openAiAssistant?: never;
105
+ webhook?: never;
106
+ sqs: BotSqsEndpoint;
107
+ $unknown?: never;
108
+ }
109
+ /**
110
+ * @public
111
+ */
112
+ interface $UnknownMember {
113
+ dialogflowCx?: never;
114
+ openAiAssistant?: never;
115
+ webhook?: never;
116
+ sqs?: never;
117
+ $unknown: [string, any];
118
+ }
119
+ interface Visitor<T> {
120
+ dialogflowCx: (value: BotDialogflowCxEndpoint) => T;
121
+ openAiAssistant: (value: BotOpenAiAssistantEndpoint) => T;
122
+ webhook: (value: BotWebhookEndpoint) => T;
123
+ sqs: (value: BotSqsEndpoint) => T;
124
+ _: (name: string, value: any) => T;
125
+ }
126
+ const visit: <T>(value: BotEndpoint, visitor: Visitor<T>) => T;
127
+ }
128
+ /**
129
+ * @public
130
+ */
131
+ export interface CreateVoiceBotInput {
132
+ name: string;
133
+ /**
134
+ * The language code that represents the language spoken in the voice bot.
135
+ * @public
136
+ */
137
+ languageCode: string;
138
+ /**
139
+ * Voice ID to use for the speech synthesis.
140
+ * @public
141
+ */
142
+ voiceId: string;
143
+ /**
144
+ * The maximum number of seconds a call will last.
145
+ * @public
146
+ */
147
+ maximumDuration?: number;
148
+ /**
149
+ * How long to wait before a call is automatically ended due to inactivity.
150
+ * @public
151
+ */
152
+ silenceTimeout?: number;
153
+ /**
154
+ * An endpoint to use to generate replies during voice bot session.
155
+ * @public
156
+ */
157
+ endpoint: BotEndpoint;
158
+ company?: string;
159
+ }
160
+ /**
161
+ * @public
162
+ */
163
+ export interface VoiceBot {
164
+ name: string;
165
+ /**
166
+ * The language code that represents the language spoken in the voice bot.
167
+ * @public
168
+ */
169
+ languageCode: string;
170
+ /**
171
+ * Voice ID to use for the speech synthesis.
172
+ * @public
173
+ */
174
+ voiceId: string;
175
+ /**
176
+ * The maximum number of seconds a call will last.
177
+ * @public
178
+ */
179
+ maximumDuration?: number;
180
+ /**
181
+ * How long to wait before a call is automatically ended due to inactivity.
182
+ * @public
183
+ */
184
+ silenceTimeout?: number;
185
+ /**
186
+ * An endpoint to use to generate replies during voice bot session.
187
+ * @public
188
+ */
189
+ endpoint: BotEndpoint;
190
+ id: string;
191
+ createdAt: string;
192
+ updatedAt?: string;
193
+ }
194
+ /**
195
+ * @public
196
+ */
197
+ export interface CreateVoiceBotOutput {
198
+ bot: VoiceBot;
199
+ }
200
+ /**
201
+ * @public
202
+ */
203
+ export interface DeleteVoiceBotInput {
204
+ company?: string;
205
+ botId: string;
206
+ }
207
+ /**
208
+ * @public
209
+ */
210
+ export interface DeleteVoiceBotOutput {
211
+ }
212
+ /**
213
+ * @public
214
+ */
215
+ export interface DescribeEventInput {
216
+ }
217
+ /**
218
+ * @public
219
+ * @enum
220
+ */
221
+ export declare const VoiceBotEventType: {
222
+ readonly ENDED: "ended";
223
+ readonly INTERRUPTION: "interruption";
224
+ readonly REPLY: "reply";
225
+ readonly TRANSCRIPTION: "transcription";
226
+ };
227
+ /**
228
+ * @public
229
+ */
230
+ export type VoiceBotEventType = typeof VoiceBotEventType[keyof typeof VoiceBotEventType];
231
+ /**
232
+ * @public
233
+ */
234
+ export interface VoiceBotInterruptionEvent {
235
+ type: VoiceBotEventType;
236
+ replyId: string;
237
+ playedText: string;
238
+ originalText: string;
239
+ time: number;
240
+ }
241
+ /**
242
+ * @public
243
+ */
244
+ export interface VoiceBotInterruptionWebhookEvent {
245
+ sessionId: string;
246
+ botId: string;
247
+ callId: string;
248
+ flowIndex: number;
249
+ event: VoiceBotInterruptionEvent;
250
+ }
251
+ /**
252
+ * @public
253
+ */
254
+ export interface VoiceBotInterruptionWebsocketEvent {
255
+ type: string;
256
+ event: VoiceBotInterruptionEvent;
257
+ }
258
+ /**
259
+ * @public
260
+ */
261
+ export interface VoiceBotReplyEvent {
262
+ type: VoiceBotEventType;
263
+ id: string;
264
+ text: string;
265
+ startTime: number;
266
+ endTime: number;
267
+ }
268
+ /**
269
+ * @public
270
+ */
271
+ export interface VoiceBotReplyWebhookEvent {
272
+ sessionId: string;
273
+ botId: string;
274
+ callId: string;
275
+ flowIndex: number;
276
+ event: VoiceBotReplyEvent;
277
+ }
278
+ /**
279
+ * @public
280
+ */
281
+ export interface VoiceBotReplyWebsocketEvent {
282
+ type: string;
283
+ event: VoiceBotReplyEvent;
284
+ }
285
+ /**
286
+ * @public
287
+ */
288
+ export interface VoiceBotSessionEndedWebhookEvent {
289
+ sessionId: string;
290
+ botId: string;
291
+ callId: string;
292
+ flowIndex: number;
293
+ }
294
+ /**
295
+ * @public
296
+ */
297
+ export interface VoiceBotSessionEndedEvent {
298
+ type: VoiceBotEventType;
299
+ time: number;
300
+ }
301
+ /**
302
+ * @public
303
+ */
304
+ export interface VoiceBotSessionEndedWebsocketEvent {
305
+ type: string;
306
+ event: VoiceBotSessionEndedEvent;
307
+ }
308
+ /**
309
+ * @public
310
+ */
311
+ export interface VoiceBotTranscriptionEvent {
312
+ type: VoiceBotEventType;
313
+ id: string;
314
+ text: string;
315
+ time: number;
316
+ }
317
+ /**
318
+ * @public
319
+ */
320
+ export interface VoiceBotTranscriptionWebhookEvent {
321
+ sessionId: string;
322
+ botId: string;
323
+ callId: string;
324
+ flowIndex: number;
325
+ event: VoiceBotTranscriptionEvent;
326
+ }
327
+ /**
328
+ * @public
329
+ */
330
+ export interface VoiceBotTranscriptionWebsocketEvent {
331
+ type: string;
332
+ event: VoiceBotTranscriptionEvent;
333
+ }
334
+ /**
335
+ * @public
336
+ */
337
+ export interface DescribeEventOutput {
338
+ VoiceBotTranscriptionWebsocketEvent?: VoiceBotTranscriptionWebsocketEvent;
339
+ VoiceBotReplyWebsocketEvent?: VoiceBotReplyWebsocketEvent;
340
+ VoiceBotInterruptionWebsocketEvent?: VoiceBotInterruptionWebsocketEvent;
341
+ VoiceBotSessionEndedWebsocketEvent?: VoiceBotSessionEndedWebsocketEvent;
342
+ VoiceBotTranscriptionWebhookEvent?: VoiceBotTranscriptionWebhookEvent;
343
+ VoiceBotReplyWebhookEvent?: VoiceBotReplyWebhookEvent;
344
+ VoiceBotInterruptionWebhookEvent?: VoiceBotInterruptionWebhookEvent;
345
+ VoiceBotSessionEndedWebhookEvent?: VoiceBotSessionEndedWebhookEvent;
346
+ }
347
+ /**
348
+ * @public
349
+ */
350
+ export interface GetVoiceBotInput {
351
+ company?: string;
352
+ botId: string;
353
+ }
354
+ /**
355
+ * @public
356
+ */
357
+ export interface GetVoiceBotOutput {
358
+ bot: VoiceBot;
359
+ }
360
+ /**
361
+ * @public
362
+ */
363
+ export declare class VoiceBotNotFoundException extends __BaseException {
364
+ readonly name: "VoiceBotNotFoundException";
365
+ readonly $fault: "client";
366
+ type?: string;
367
+ /**
368
+ * @internal
369
+ */
370
+ constructor(opts: __ExceptionOptionType<VoiceBotNotFoundException, __BaseException>);
371
+ }
372
+ /**
373
+ * @public
374
+ */
375
+ export interface ListVoiceBotsInput {
376
+ company?: string;
377
+ }
378
+ /**
379
+ * @public
380
+ */
381
+ export interface ListVoiceBotsOutput {
382
+ bots: (VoiceBot)[];
383
+ }
384
+ /**
385
+ * @public
386
+ */
387
+ export interface ListVoiceBotsNamesInput {
388
+ company?: string;
389
+ }
390
+ /**
391
+ * @public
392
+ */
393
+ export interface VoiceBotInfo {
394
+ id: string;
395
+ name: string;
396
+ }
397
+ /**
398
+ * @public
399
+ */
400
+ export interface ListVoiceBotsNamesOutput {
401
+ bots: (VoiceBotInfo)[];
402
+ }
403
+ /**
404
+ * @public
405
+ */
406
+ export interface SendHangupInput {
407
+ reason?: string;
408
+ sessionId: string;
409
+ }
410
+ /**
411
+ * @public
412
+ */
413
+ export interface SendHangupOutput {
414
+ }
415
+ /**
416
+ * @public
417
+ */
418
+ export declare class VoiceSessionNotFoundException extends __BaseException {
419
+ readonly name: "VoiceSessionNotFoundException";
420
+ readonly $fault: "client";
421
+ type?: string;
422
+ /**
423
+ * @internal
424
+ */
425
+ constructor(opts: __ExceptionOptionType<VoiceSessionNotFoundException, __BaseException>);
426
+ }
427
+ /**
428
+ * @public
429
+ */
430
+ export interface SendSayInput {
431
+ text: string;
432
+ replyId: string;
433
+ interruptible?: boolean;
434
+ sessionId: string;
435
+ }
436
+ /**
437
+ * @public
438
+ */
439
+ export interface SendSayOutput {
440
+ }
441
+ /**
442
+ * @public
443
+ */
444
+ export interface SendTransferInput {
445
+ context: string;
446
+ extension: string;
447
+ sessionId: string;
448
+ }
449
+ /**
450
+ * @public
451
+ */
452
+ export interface SendTransferOutput {
453
+ }
454
+ /**
455
+ * @public
456
+ */
457
+ export interface UpdateVoiceBotInput {
458
+ name: string;
459
+ /**
460
+ * The language code that represents the language spoken in the voice bot.
461
+ * @public
462
+ */
463
+ languageCode: string;
464
+ /**
465
+ * Voice ID to use for the speech synthesis.
466
+ * @public
467
+ */
468
+ voiceId: string;
469
+ /**
470
+ * The maximum number of seconds a call will last.
471
+ * @public
472
+ */
473
+ maximumDuration?: number;
474
+ /**
475
+ * How long to wait before a call is automatically ended due to inactivity.
476
+ * @public
477
+ */
478
+ silenceTimeout?: number;
479
+ /**
480
+ * An endpoint to use to generate replies during voice bot session.
481
+ * @public
482
+ */
483
+ endpoint: BotEndpoint;
484
+ company?: string;
485
+ botId: string;
486
+ }
487
+ /**
488
+ * @public
489
+ */
490
+ export interface UpdateVoiceBotOutput {
491
+ bot: VoiceBot;
492
+ }
@@ -0,0 +1,92 @@
1
+ import { CreateVoiceBotCommandInput, CreateVoiceBotCommandOutput } from "../commands/CreateVoiceBotCommand";
2
+ import { DeleteVoiceBotCommandInput, DeleteVoiceBotCommandOutput } from "../commands/DeleteVoiceBotCommand";
3
+ import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
4
+ import { GetVoiceBotCommandInput, GetVoiceBotCommandOutput } from "../commands/GetVoiceBotCommand";
5
+ import { ListVoiceBotsCommandInput, ListVoiceBotsCommandOutput } from "../commands/ListVoiceBotsCommand";
6
+ import { ListVoiceBotsNamesCommandInput, ListVoiceBotsNamesCommandOutput } from "../commands/ListVoiceBotsNamesCommand";
7
+ import { SendHangupCommandInput, SendHangupCommandOutput } from "../commands/SendHangupCommand";
8
+ import { SendSayCommandInput, SendSayCommandOutput } from "../commands/SendSayCommand";
9
+ import { SendTransferCommandInput, SendTransferCommandOutput } from "../commands/SendTransferCommand";
10
+ import { UpdateVoiceBotCommandInput, UpdateVoiceBotCommandOutput } from "../commands/UpdateVoiceBotCommand";
11
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
12
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
13
+ /**
14
+ * serializeAws_restJson1CreateVoiceBotCommand
15
+ */
16
+ export declare const se_CreateVoiceBotCommand: (input: CreateVoiceBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ /**
18
+ * serializeAws_restJson1DeleteVoiceBotCommand
19
+ */
20
+ export declare const se_DeleteVoiceBotCommand: (input: DeleteVoiceBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ /**
22
+ * serializeAws_restJson1DescribeEventCommand
23
+ */
24
+ export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ /**
26
+ * serializeAws_restJson1GetVoiceBotCommand
27
+ */
28
+ export declare const se_GetVoiceBotCommand: (input: GetVoiceBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ /**
30
+ * serializeAws_restJson1ListVoiceBotsCommand
31
+ */
32
+ export declare const se_ListVoiceBotsCommand: (input: ListVoiceBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1ListVoiceBotsNamesCommand
35
+ */
36
+ export declare const se_ListVoiceBotsNamesCommand: (input: ListVoiceBotsNamesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ /**
38
+ * serializeAws_restJson1SendHangupCommand
39
+ */
40
+ export declare const se_SendHangupCommand: (input: SendHangupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ /**
42
+ * serializeAws_restJson1SendSayCommand
43
+ */
44
+ export declare const se_SendSayCommand: (input: SendSayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ /**
46
+ * serializeAws_restJson1SendTransferCommand
47
+ */
48
+ export declare const se_SendTransferCommand: (input: SendTransferCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ /**
50
+ * serializeAws_restJson1UpdateVoiceBotCommand
51
+ */
52
+ export declare const se_UpdateVoiceBotCommand: (input: UpdateVoiceBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ /**
54
+ * deserializeAws_restJson1CreateVoiceBotCommand
55
+ */
56
+ export declare const de_CreateVoiceBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateVoiceBotCommandOutput>;
57
+ /**
58
+ * deserializeAws_restJson1DeleteVoiceBotCommand
59
+ */
60
+ export declare const de_DeleteVoiceBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteVoiceBotCommandOutput>;
61
+ /**
62
+ * deserializeAws_restJson1DescribeEventCommand
63
+ */
64
+ export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
65
+ /**
66
+ * deserializeAws_restJson1GetVoiceBotCommand
67
+ */
68
+ export declare const de_GetVoiceBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetVoiceBotCommandOutput>;
69
+ /**
70
+ * deserializeAws_restJson1ListVoiceBotsCommand
71
+ */
72
+ export declare const de_ListVoiceBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListVoiceBotsCommandOutput>;
73
+ /**
74
+ * deserializeAws_restJson1ListVoiceBotsNamesCommand
75
+ */
76
+ export declare const de_ListVoiceBotsNamesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListVoiceBotsNamesCommandOutput>;
77
+ /**
78
+ * deserializeAws_restJson1SendHangupCommand
79
+ */
80
+ export declare const de_SendHangupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendHangupCommandOutput>;
81
+ /**
82
+ * deserializeAws_restJson1SendSayCommand
83
+ */
84
+ export declare const de_SendSayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendSayCommandOutput>;
85
+ /**
86
+ * deserializeAws_restJson1SendTransferCommand
87
+ */
88
+ export declare const de_SendTransferCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendTransferCommandOutput>;
89
+ /**
90
+ * deserializeAws_restJson1UpdateVoiceBotCommand
91
+ */
92
+ export declare const de_UpdateVoiceBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateVoiceBotCommandOutput>;
@@ -0,0 +1,29 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { VoiceBotsClientConfig } from "./VoiceBotsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ env: "stage" | "stable" | "prod";
17
+ token: import("@wildix/smithy-utils").TokenProvider;
18
+ apiVersion: string;
19
+ urlParser: import("@smithy/types").UrlParser;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: (_input: string | Uint8Array) => string;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: (input: string | Uint8Array) => string;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@smithy/types").Logger;
26
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
+ };
@@ -0,0 +1,29 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { VoiceBotsClientConfig } from "./VoiceBotsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ env: "stage" | "stable" | "prod";
17
+ token: import("@wildix/smithy-utils").TokenProvider;
18
+ apiVersion: string;
19
+ urlParser: import("@smithy/types").UrlParser;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: (_input: string | Uint8Array) => string;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: (input: string | Uint8Array) => string;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@smithy/types").Logger;
26
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
+ };
@@ -0,0 +1,28 @@
1
+ import { VoiceBotsClientConfig } from "./VoiceBotsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ env: "stage" | "stable" | "prod";
9
+ token: import("@wildix/smithy-utils").TokenProvider;
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
+ apiVersion: string;
12
+ urlParser: import("@smithy/types").UrlParser;
13
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
+ streamCollector: import("@smithy/types").StreamCollector;
15
+ base64Decoder: import("@smithy/types").Decoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
+ disableHostPrefix: boolean;
20
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
21
+ maxAttempts: number | import("@smithy/types").Provider<number>;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ logger: import("@smithy/types").Logger;
24
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
25
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
26
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
28
+ };
@@ -0,0 +1,15 @@
1
+ import { VoiceBotsClientConfig } from "./VoiceBotsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: VoiceBotsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
11
+ logger: import("@smithy/types").Logger;
12
+ urlParser: import("@smithy/types").UrlParser;
13
+ utf8Decoder: import("@smithy/types").Decoder;
14
+ utf8Encoder: (input: string | Uint8Array) => string;
15
+ };
@@ -0,0 +1,17 @@
1
+ import { VoiceBotsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: VoiceBotsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;