retell-sdk 4.2.0 → 4.4.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.4.0 (2024-09-04)
4
+
5
+ Full Changelog: [v4.3.0...v4.4.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.3.0...v4.4.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** OpenAPI spec update via Stainless API ([#164](https://github.com/RetellAI/retell-typescript-sdk/issues/164)) ([5c2077b](https://github.com/RetellAI/retell-typescript-sdk/commit/5c2077bc6517a98cbfb88c14cbf6b47a15482bff))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([#166](https://github.com/RetellAI/retell-typescript-sdk/issues/166)) ([a526fa7](https://github.com/RetellAI/retell-typescript-sdk/commit/a526fa7a61f2c8a782dac5be9c5be625c5dd84a0))
15
+
16
+ ## 4.3.0 (2024-08-16)
17
+
18
+ Full Changelog: [v4.2.0...v4.3.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.2.0...v4.3.0)
19
+
20
+ ### Features
21
+
22
+ * **api:** OpenAPI spec update via Stainless API ([#149](https://github.com/RetellAI/retell-typescript-sdk/issues/149)) ([2485f5e](https://github.com/RetellAI/retell-typescript-sdk/commit/2485f5eebec8c31051635f46eb746d937456db6d))
23
+ * **api:** OpenAPI spec update via Stainless API ([#151](https://github.com/RetellAI/retell-typescript-sdk/issues/151)) ([0d5f872](https://github.com/RetellAI/retell-typescript-sdk/commit/0d5f87234847c7bfcdf1c4d3ff2518706a73ab70))
24
+ * **api:** OpenAPI spec update via Stainless API ([#155](https://github.com/RetellAI/retell-typescript-sdk/issues/155)) ([65c2ffa](https://github.com/RetellAI/retell-typescript-sdk/commit/65c2ffa4ecaec7f2f36932814d8285d0ab360812))
25
+ * **api:** OpenAPI spec update via Stainless API ([#158](https://github.com/RetellAI/retell-typescript-sdk/issues/158)) ([df74b3a](https://github.com/RetellAI/retell-typescript-sdk/commit/df74b3af215074d37ca08b8bfc6be4d4cd648c66))
26
+ * **api:** OpenAPI spec update via Stainless API ([#160](https://github.com/RetellAI/retell-typescript-sdk/issues/160)) ([aa759e6](https://github.com/RetellAI/retell-typescript-sdk/commit/aa759e6f2e2653c67c5f8e8487f100f51d447724))
27
+
28
+
29
+ ### Chores
30
+
31
+ * **ci:** bump prism mock server version ([#154](https://github.com/RetellAI/retell-typescript-sdk/issues/154)) ([1f3cb2b](https://github.com/RetellAI/retell-typescript-sdk/commit/1f3cb2b8afdf51cd65d50095753cb4ebefef364a))
32
+ * **ci:** minor changes ([#153](https://github.com/RetellAI/retell-typescript-sdk/issues/153)) ([61535c3](https://github.com/RetellAI/retell-typescript-sdk/commit/61535c3bea3519067b765490f0babd05afc2cefc))
33
+ * **examples:** minor formatting changes ([#157](https://github.com/RetellAI/retell-typescript-sdk/issues/157)) ([f8e67f6](https://github.com/RetellAI/retell-typescript-sdk/commit/f8e67f6c9282930bbd7d838e214a87e0783689f1))
34
+ * force eslint to use non flat config ([#152](https://github.com/RetellAI/retell-typescript-sdk/issues/152)) ([89cf413](https://github.com/RetellAI/retell-typescript-sdk/commit/89cf4139b39dd4b6b556890ded6d5779919119a0))
35
+ * **internal:** codegen related update ([#156](https://github.com/RetellAI/retell-typescript-sdk/issues/156)) ([1ab3138](https://github.com/RetellAI/retell-typescript-sdk/commit/1ab31381c62b673d81dfa72595b045bcf15288b5))
36
+ * **internal:** codegen related update ([#161](https://github.com/RetellAI/retell-typescript-sdk/issues/161)) ([64b6a52](https://github.com/RetellAI/retell-typescript-sdk/commit/64b6a528d15e29a81bfd213c447b94d4f83aa820))
37
+
3
38
  ## 4.2.0 (2024-08-07)
4
39
 
5
40
  Full Changelog: [v4.1.0...v4.2.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.1.0...v4.2.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-sdk",
3
- "version": "4.2.0",
3
+ "version": "4.4.0",
4
4
  "description": "The official TypeScript library for the Retell API",
5
5
  "author": "Retell <founders@retellai.com>",
6
6
  "types": "./index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "format": "prettier --write --cache --cache-strategy metadata . !dist",
20
20
  "tsn": "ts-node -r tsconfig-paths/register",
21
21
  "lint": "./scripts/lint",
22
- "fix": "eslint --fix --ext ts,js ."
22
+ "fix": "./scripts/format"
23
23
  },
24
24
  "dependencies": {
25
25
  "@types/node": "^18.11.18",
@@ -95,7 +95,7 @@ export interface AgentResponse {
95
95
  * more details. Note that certain voices do not work too well with certain words,
96
96
  * so it's recommended to expeirment before adding any words.
97
97
  */
98
- backchannel_words?: Array<string>;
98
+ backchannel_words?: Array<string> | null;
99
99
  /**
100
100
  * Provide a customized list of keywords to bias the transcriber model, so that
101
101
  * these words are more likely to get transcribed. Commonly used for names, brands,
@@ -109,6 +109,11 @@ export interface AgentResponse {
109
109
  * will not backchannel.
110
110
  */
111
111
  enable_backchannel?: boolean;
112
+ /**
113
+ * If set to true, will detect whether the call enters a voicemail. Note that this
114
+ * feature is only available for phone calls.
115
+ */
116
+ enable_voicemail_detection?: boolean;
112
117
  /**
113
118
  * If users stay silent for a period after agent speech, end the call. The minimum
114
119
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -133,9 +138,16 @@ export interface AgentResponse {
133
138
  /**
134
139
  * Specifies what language (and dialect) the speech recognition will operate in.
135
140
  * For instance, selecting `en-GB` optimizes speech recognition for British
136
- * English. If unset, will use default value `en-US`.
141
+ * English. If unset, will use default value `en-US`. Select `multi` for
142
+ * multilingual support, currently this supports Spanish and English.
137
143
  */
138
- language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR';
144
+ language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR' | 'multi';
145
+ /**
146
+ * Maximum allowed length for the call, will force end the call if reached. The
147
+ * minimum value allowed is 60,000 ms (1 min), and maximum value allowed is
148
+ * 7,200,000 (2 hours). By default, this is set to 3,600,000 (1 hour).
149
+ */
150
+ max_call_duration_ms?: number;
139
151
  /**
140
152
  * If set to true, will normalize the some part of text (number, currency, date,
141
153
  * etc) to spoken to its spoken form for more consistent speech synthesis
@@ -152,6 +164,12 @@ export interface AgentResponse {
152
164
  * not set, default value of false will apply.
153
165
  */
154
166
  opt_out_sensitive_data_storage?: boolean;
167
+ /**
168
+ * Post call analysis data to extract from the call. This data will augment the
169
+ * pre-defined variables extracted in the call analysis. This will be available
170
+ * after the call ends.
171
+ */
172
+ post_call_analysis_data?: Array<AgentResponse.StringAnalysisData | AgentResponse.EnumAnalysisData | AgentResponse.BooleanAnalysisData | AgentResponse.NumberAnalysisData> | null;
155
173
  /**
156
174
  * A list of words / phrases and their pronunciation to be used to guide the audio
157
175
  * synthesize for consistent pronunciation. Currently only supported for English &
@@ -177,6 +195,19 @@ export interface AgentResponse {
177
195
  * apply.
178
196
  */
179
197
  responsiveness?: number;
198
+ /**
199
+ * Optionally set the voice model used for the selected voice. Currently only
200
+ * elevenlab voices have voice model selections. Set to null to remove voice model
201
+ * selection, and default ones will apply. Supported voice models are:
202
+ *
203
+ * - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
204
+ *
205
+ * - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
206
+ *
207
+ * - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
208
+ * accent.
209
+ */
210
+ voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
180
211
  /**
181
212
  * Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
182
213
  * speech, while higher value means faster speech rate. If unset, default value 1
@@ -190,6 +221,19 @@ export interface AgentResponse {
190
221
  * apply.
191
222
  */
192
223
  voice_temperature?: number;
224
+ /**
225
+ * Configures when to stop running voicemail detection, as it becomes unlikely to
226
+ * hit voicemail after a couple minutes, and keep running it will only have
227
+ * negative impact. The minimum value allowed is 5,000 ms (5 s), and maximum value
228
+ * allowed is 180,000 (3 minutes). By default, this is set to 30,000 (30 s).
229
+ */
230
+ voicemail_detection_timeout_ms?: number;
231
+ /**
232
+ * The message to be played when the call enters a voicemail. Note that this
233
+ * feature is only available for phone calls. If you want to hangup after hitting
234
+ * voicemail, set this to empty string.
235
+ */
236
+ voicemail_message?: string;
193
237
  /**
194
238
  * The webhook for agent to listen to call events. See what events it would get at
195
239
  * [webhook doc](/features/webhook). If set, will binds webhook events for this
@@ -199,6 +243,70 @@ export interface AgentResponse {
199
243
  webhook_url?: string | null;
200
244
  }
201
245
  export declare namespace AgentResponse {
246
+ interface StringAnalysisData {
247
+ /**
248
+ * Description of the variable.
249
+ */
250
+ description: string;
251
+ /**
252
+ * Name of the variable.
253
+ */
254
+ name: string;
255
+ /**
256
+ * Type of the variable to extract.
257
+ */
258
+ type: 'string';
259
+ /**
260
+ * Examples of the variable value to teach model the style and syntax.
261
+ */
262
+ examples?: Array<string>;
263
+ }
264
+ interface EnumAnalysisData {
265
+ /**
266
+ * The possible values of the variable, must be non empty array.
267
+ */
268
+ choices: Array<string>;
269
+ /**
270
+ * Description of the variable.
271
+ */
272
+ description: string;
273
+ /**
274
+ * Name of the variable.
275
+ */
276
+ name: string;
277
+ /**
278
+ * Type of the variable to extract.
279
+ */
280
+ type: 'enum';
281
+ }
282
+ interface BooleanAnalysisData {
283
+ /**
284
+ * Description of the variable.
285
+ */
286
+ description: string;
287
+ /**
288
+ * Name of the variable.
289
+ */
290
+ name: string;
291
+ /**
292
+ * Type of the variable to extract.
293
+ */
294
+ type: 'boolean';
295
+ }
296
+ interface NumberAnalysisData {
297
+ /**
298
+ * Description of the variable.
299
+ */
300
+ description: string;
301
+ /**
302
+ * Name of the variable.
303
+ */
304
+ name: string;
305
+ /**
306
+ * Type of the variable to extract.
307
+ */
308
+ type: 'number';
309
+ }
202
310
  interface PronunciationDictionary {
203
311
  /**
204
312
  * The phonetic alphabet to be used for pronunciation.
@@ -278,7 +386,7 @@ export interface AgentCreateParams {
278
386
  * more details. Note that certain voices do not work too well with certain words,
279
387
  * so it's recommended to expeirment before adding any words.
280
388
  */
281
- backchannel_words?: Array<string>;
389
+ backchannel_words?: Array<string> | null;
282
390
  /**
283
391
  * Provide a customized list of keywords to bias the transcriber model, so that
284
392
  * these words are more likely to get transcribed. Commonly used for names, brands,
@@ -292,6 +400,11 @@ export interface AgentCreateParams {
292
400
  * will not backchannel.
293
401
  */
294
402
  enable_backchannel?: boolean;
403
+ /**
404
+ * If set to true, will detect whether the call enters a voicemail. Note that this
405
+ * feature is only available for phone calls.
406
+ */
407
+ enable_voicemail_detection?: boolean;
295
408
  /**
296
409
  * If users stay silent for a period after agent speech, end the call. The minimum
297
410
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -316,9 +429,16 @@ export interface AgentCreateParams {
316
429
  /**
317
430
  * Specifies what language (and dialect) the speech recognition will operate in.
318
431
  * For instance, selecting `en-GB` optimizes speech recognition for British
319
- * English. If unset, will use default value `en-US`.
432
+ * English. If unset, will use default value `en-US`. Select `multi` for
433
+ * multilingual support, currently this supports Spanish and English.
320
434
  */
321
- language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR';
435
+ language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR' | 'multi';
436
+ /**
437
+ * Maximum allowed length for the call, will force end the call if reached. The
438
+ * minimum value allowed is 60,000 ms (1 min), and maximum value allowed is
439
+ * 7,200,000 (2 hours). By default, this is set to 3,600,000 (1 hour).
440
+ */
441
+ max_call_duration_ms?: number;
322
442
  /**
323
443
  * If set to true, will normalize the some part of text (number, currency, date,
324
444
  * etc) to spoken to its spoken form for more consistent speech synthesis
@@ -335,6 +455,12 @@ export interface AgentCreateParams {
335
455
  * not set, default value of false will apply.
336
456
  */
337
457
  opt_out_sensitive_data_storage?: boolean;
458
+ /**
459
+ * Post call analysis data to extract from the call. This data will augment the
460
+ * pre-defined variables extracted in the call analysis. This will be available
461
+ * after the call ends.
462
+ */
463
+ post_call_analysis_data?: Array<AgentCreateParams.StringAnalysisData | AgentCreateParams.EnumAnalysisData | AgentCreateParams.BooleanAnalysisData | AgentCreateParams.NumberAnalysisData> | null;
338
464
  /**
339
465
  * A list of words / phrases and their pronunciation to be used to guide the audio
340
466
  * synthesize for consistent pronunciation. Currently only supported for English &
@@ -360,6 +486,19 @@ export interface AgentCreateParams {
360
486
  * apply.
361
487
  */
362
488
  responsiveness?: number;
489
+ /**
490
+ * Optionally set the voice model used for the selected voice. Currently only
491
+ * elevenlab voices have voice model selections. Set to null to remove voice model
492
+ * selection, and default ones will apply. Supported voice models are:
493
+ *
494
+ * - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
495
+ *
496
+ * - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
497
+ *
498
+ * - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
499
+ * accent.
500
+ */
501
+ voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
363
502
  /**
364
503
  * Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
365
504
  * speech, while higher value means faster speech rate. If unset, default value 1
@@ -373,6 +512,19 @@ export interface AgentCreateParams {
373
512
  * apply.
374
513
  */
375
514
  voice_temperature?: number;
515
+ /**
516
+ * Configures when to stop running voicemail detection, as it becomes unlikely to
517
+ * hit voicemail after a couple minutes, and keep running it will only have
518
+ * negative impact. The minimum value allowed is 5,000 ms (5 s), and maximum value
519
+ * allowed is 180,000 (3 minutes). By default, this is set to 30,000 (30 s).
520
+ */
521
+ voicemail_detection_timeout_ms?: number;
522
+ /**
523
+ * The message to be played when the call enters a voicemail. Note that this
524
+ * feature is only available for phone calls. If you want to hangup after hitting
525
+ * voicemail, set this to empty string.
526
+ */
527
+ voicemail_message?: string;
376
528
  /**
377
529
  * The webhook for agent to listen to call events. See what events it would get at
378
530
  * [webhook doc](/features/webhook). If set, will binds webhook events for this
@@ -382,6 +534,70 @@ export interface AgentCreateParams {
382
534
  webhook_url?: string | null;
383
535
  }
384
536
  export declare namespace AgentCreateParams {
537
+ interface StringAnalysisData {
538
+ /**
539
+ * Description of the variable.
540
+ */
541
+ description: string;
542
+ /**
543
+ * Name of the variable.
544
+ */
545
+ name: string;
546
+ /**
547
+ * Type of the variable to extract.
548
+ */
549
+ type: 'string';
550
+ /**
551
+ * Examples of the variable value to teach model the style and syntax.
552
+ */
553
+ examples?: Array<string>;
554
+ }
555
+ interface EnumAnalysisData {
556
+ /**
557
+ * The possible values of the variable, must be non empty array.
558
+ */
559
+ choices: Array<string>;
560
+ /**
561
+ * Description of the variable.
562
+ */
563
+ description: string;
564
+ /**
565
+ * Name of the variable.
566
+ */
567
+ name: string;
568
+ /**
569
+ * Type of the variable to extract.
570
+ */
571
+ type: 'enum';
572
+ }
573
+ interface BooleanAnalysisData {
574
+ /**
575
+ * Description of the variable.
576
+ */
577
+ description: string;
578
+ /**
579
+ * Name of the variable.
580
+ */
581
+ name: string;
582
+ /**
583
+ * Type of the variable to extract.
584
+ */
585
+ type: 'boolean';
586
+ }
587
+ interface NumberAnalysisData {
588
+ /**
589
+ * Description of the variable.
590
+ */
591
+ description: string;
592
+ /**
593
+ * Name of the variable.
594
+ */
595
+ name: string;
596
+ /**
597
+ * Type of the variable to extract.
598
+ */
599
+ type: 'number';
600
+ }
385
601
  interface PronunciationDictionary {
386
602
  /**
387
603
  * The phonetic alphabet to be used for pronunciation.
@@ -449,7 +665,7 @@ export interface AgentUpdateParams {
449
665
  * more details. Note that certain voices do not work too well with certain words,
450
666
  * so it's recommended to expeirment before adding any words.
451
667
  */
452
- backchannel_words?: Array<string>;
668
+ backchannel_words?: Array<string> | null;
453
669
  /**
454
670
  * Provide a customized list of keywords to bias the transcriber model, so that
455
671
  * these words are more likely to get transcribed. Commonly used for names, brands,
@@ -463,6 +679,11 @@ export interface AgentUpdateParams {
463
679
  * will not backchannel.
464
680
  */
465
681
  enable_backchannel?: boolean;
682
+ /**
683
+ * If set to true, will detect whether the call enters a voicemail. Note that this
684
+ * feature is only available for phone calls.
685
+ */
686
+ enable_voicemail_detection?: boolean;
466
687
  /**
467
688
  * If users stay silent for a period after agent speech, end the call. The minimum
468
689
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -487,15 +708,22 @@ export interface AgentUpdateParams {
487
708
  /**
488
709
  * Specifies what language (and dialect) the speech recognition will operate in.
489
710
  * For instance, selecting `en-GB` optimizes speech recognition for British
490
- * English. If unset, will use default value `en-US`.
711
+ * English. If unset, will use default value `en-US`. Select `multi` for
712
+ * multilingual support, currently this supports Spanish and English.
491
713
  */
492
- language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR';
714
+ language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR' | 'multi';
493
715
  /**
494
716
  * The URL we will establish LLM websocket for getting response, usually your
495
717
  * server. Check out [LLM WebSocket](/api-references/llm-websocket) for more about
496
718
  * request format (sent from us) and response format (send to us).
497
719
  */
498
720
  llm_websocket_url?: string;
721
+ /**
722
+ * Maximum allowed length for the call, will force end the call if reached. The
723
+ * minimum value allowed is 60,000 ms (1 min), and maximum value allowed is
724
+ * 7,200,000 (2 hours). By default, this is set to 3,600,000 (1 hour).
725
+ */
726
+ max_call_duration_ms?: number;
499
727
  /**
500
728
  * If set to true, will normalize the some part of text (number, currency, date,
501
729
  * etc) to spoken to its spoken form for more consistent speech synthesis
@@ -512,6 +740,12 @@ export interface AgentUpdateParams {
512
740
  * not set, default value of false will apply.
513
741
  */
514
742
  opt_out_sensitive_data_storage?: boolean;
743
+ /**
744
+ * Post call analysis data to extract from the call. This data will augment the
745
+ * pre-defined variables extracted in the call analysis. This will be available
746
+ * after the call ends.
747
+ */
748
+ post_call_analysis_data?: Array<AgentUpdateParams.StringAnalysisData | AgentUpdateParams.EnumAnalysisData | AgentUpdateParams.BooleanAnalysisData | AgentUpdateParams.NumberAnalysisData> | null;
515
749
  /**
516
750
  * A list of words / phrases and their pronunciation to be used to guide the audio
517
751
  * synthesize for consistent pronunciation. Currently only supported for English &
@@ -542,6 +776,19 @@ export interface AgentUpdateParams {
542
776
  * preview in Dashboard.
543
777
  */
544
778
  voice_id?: string;
779
+ /**
780
+ * Optionally set the voice model used for the selected voice. Currently only
781
+ * elevenlab voices have voice model selections. Set to null to remove voice model
782
+ * selection, and default ones will apply. Supported voice models are:
783
+ *
784
+ * - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
785
+ *
786
+ * - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
787
+ *
788
+ * - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
789
+ * accent.
790
+ */
791
+ voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
545
792
  /**
546
793
  * Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
547
794
  * speech, while higher value means faster speech rate. If unset, default value 1
@@ -555,6 +802,19 @@ export interface AgentUpdateParams {
555
802
  * apply.
556
803
  */
557
804
  voice_temperature?: number;
805
+ /**
806
+ * Configures when to stop running voicemail detection, as it becomes unlikely to
807
+ * hit voicemail after a couple minutes, and keep running it will only have
808
+ * negative impact. The minimum value allowed is 5,000 ms (5 s), and maximum value
809
+ * allowed is 180,000 (3 minutes). By default, this is set to 30,000 (30 s).
810
+ */
811
+ voicemail_detection_timeout_ms?: number;
812
+ /**
813
+ * The message to be played when the call enters a voicemail. Note that this
814
+ * feature is only available for phone calls. If you want to hangup after hitting
815
+ * voicemail, set this to empty string.
816
+ */
817
+ voicemail_message?: string;
558
818
  /**
559
819
  * The webhook for agent to listen to call events. See what events it would get at
560
820
  * [webhook doc](/features/webhook). If set, will binds webhook events for this
@@ -564,6 +824,70 @@ export interface AgentUpdateParams {
564
824
  webhook_url?: string | null;
565
825
  }
566
826
  export declare namespace AgentUpdateParams {
827
+ interface StringAnalysisData {
828
+ /**
829
+ * Description of the variable.
830
+ */
831
+ description: string;
832
+ /**
833
+ * Name of the variable.
834
+ */
835
+ name: string;
836
+ /**
837
+ * Type of the variable to extract.
838
+ */
839
+ type: 'string';
840
+ /**
841
+ * Examples of the variable value to teach model the style and syntax.
842
+ */
843
+ examples?: Array<string>;
844
+ }
845
+ interface EnumAnalysisData {
846
+ /**
847
+ * The possible values of the variable, must be non empty array.
848
+ */
849
+ choices: Array<string>;
850
+ /**
851
+ * Description of the variable.
852
+ */
853
+ description: string;
854
+ /**
855
+ * Name of the variable.
856
+ */
857
+ name: string;
858
+ /**
859
+ * Type of the variable to extract.
860
+ */
861
+ type: 'enum';
862
+ }
863
+ interface BooleanAnalysisData {
864
+ /**
865
+ * Description of the variable.
866
+ */
867
+ description: string;
868
+ /**
869
+ * Name of the variable.
870
+ */
871
+ name: string;
872
+ /**
873
+ * Type of the variable to extract.
874
+ */
875
+ type: 'boolean';
876
+ }
877
+ interface NumberAnalysisData {
878
+ /**
879
+ * Description of the variable.
880
+ */
881
+ description: string;
882
+ /**
883
+ * Name of the variable.
884
+ */
885
+ name: string;
886
+ /**
887
+ * Type of the variable to extract.
888
+ */
889
+ type: 'number';
890
+ }
567
891
  interface PronunciationDictionary {
568
892
  /**
569
893
  * The phonetic alphabet to be used for pronunciation.
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/resources/agent.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