retell-sdk 4.2.0 → 4.3.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 +22 -0
- package/package.json +2 -2
- package/resources/agent.d.ts +294 -9
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs.map +1 -1
- package/resources/call.d.ts +36 -56
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js.map +1 -1
- package/resources/call.mjs.map +1 -1
- package/resources/llm.d.ts +9 -9
- package/src/resources/agent.ts +366 -9
- package/src/resources/call.ts +36 -58
- package/src/resources/llm.ts +9 -9
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.3.0 (2024-08-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v4.2.0...v4.3.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.2.0...v4.3.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **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))
|
|
10
|
+
* **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))
|
|
11
|
+
* **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))
|
|
12
|
+
* **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))
|
|
13
|
+
* **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))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* **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))
|
|
19
|
+
* **ci:** minor changes ([#153](https://github.com/RetellAI/retell-typescript-sdk/issues/153)) ([61535c3](https://github.com/RetellAI/retell-typescript-sdk/commit/61535c3bea3519067b765490f0babd05afc2cefc))
|
|
20
|
+
* **examples:** minor formatting changes ([#157](https://github.com/RetellAI/retell-typescript-sdk/issues/157)) ([f8e67f6](https://github.com/RetellAI/retell-typescript-sdk/commit/f8e67f6c9282930bbd7d838e214a87e0783689f1))
|
|
21
|
+
* 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))
|
|
22
|
+
* **internal:** codegen related update ([#156](https://github.com/RetellAI/retell-typescript-sdk/issues/156)) ([1ab3138](https://github.com/RetellAI/retell-typescript-sdk/commit/1ab31381c62b673d81dfa72595b045bcf15288b5))
|
|
23
|
+
* **internal:** codegen related update ([#161](https://github.com/RetellAI/retell-typescript-sdk/issues/161)) ([64b6a52](https://github.com/RetellAI/retell-typescript-sdk/commit/64b6a528d15e29a81bfd213c447b94d4f83aa820))
|
|
24
|
+
|
|
3
25
|
## 4.2.0 (2024-08-07)
|
|
4
26
|
|
|
5
27
|
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.
|
|
3
|
+
"version": "4.3.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": "
|
|
22
|
+
"fix": "./scripts/format"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@types/node": "^18.11.18",
|
package/resources/agent.d.ts
CHANGED
|
@@ -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,10 @@ 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';
|
|
139
145
|
/**
|
|
140
146
|
* If set to true, will normalize the some part of text (number, currency, date,
|
|
141
147
|
* etc) to spoken to its spoken form for more consistent speech synthesis
|
|
@@ -152,6 +158,12 @@ export interface AgentResponse {
|
|
|
152
158
|
* not set, default value of false will apply.
|
|
153
159
|
*/
|
|
154
160
|
opt_out_sensitive_data_storage?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Post call analysis data to extract from the call. This data will augment the
|
|
163
|
+
* pre-defined variables extracted in the call analysis. This will be available
|
|
164
|
+
* after the call ends.
|
|
165
|
+
*/
|
|
166
|
+
post_call_analysis_data?: Array<AgentResponse.StringAnalysisData | AgentResponse.EnumAnalysisData | AgentResponse.BooleanAnalysisData | AgentResponse.NumberAnalysisData> | null;
|
|
155
167
|
/**
|
|
156
168
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
157
169
|
* synthesize for consistent pronunciation. Currently only supported for English &
|
|
@@ -177,6 +189,19 @@ export interface AgentResponse {
|
|
|
177
189
|
* apply.
|
|
178
190
|
*/
|
|
179
191
|
responsiveness?: number;
|
|
192
|
+
/**
|
|
193
|
+
* Optionally set the voice model used for the selected voice. Currently only
|
|
194
|
+
* elevenlab voices have voice model selections. Set to null to remove voice model
|
|
195
|
+
* selection, and default ones will apply. Supported voice models are:
|
|
196
|
+
*
|
|
197
|
+
* - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
|
|
198
|
+
*
|
|
199
|
+
* - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
|
|
200
|
+
*
|
|
201
|
+
* - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
|
|
202
|
+
* accent.
|
|
203
|
+
*/
|
|
204
|
+
voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
|
|
180
205
|
/**
|
|
181
206
|
* Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
|
|
182
207
|
* speech, while higher value means faster speech rate. If unset, default value 1
|
|
@@ -190,6 +215,12 @@ export interface AgentResponse {
|
|
|
190
215
|
* apply.
|
|
191
216
|
*/
|
|
192
217
|
voice_temperature?: number;
|
|
218
|
+
/**
|
|
219
|
+
* The message to be played when the call enters a voicemail. Note that this
|
|
220
|
+
* feature is only available for phone calls. If you want to hangup after hitting
|
|
221
|
+
* voicemail, set this to empty string.
|
|
222
|
+
*/
|
|
223
|
+
voicemail_message?: string;
|
|
193
224
|
/**
|
|
194
225
|
* The webhook for agent to listen to call events. See what events it would get at
|
|
195
226
|
* [webhook doc](/features/webhook). If set, will binds webhook events for this
|
|
@@ -199,6 +230,70 @@ export interface AgentResponse {
|
|
|
199
230
|
webhook_url?: string | null;
|
|
200
231
|
}
|
|
201
232
|
export declare namespace AgentResponse {
|
|
233
|
+
interface StringAnalysisData {
|
|
234
|
+
/**
|
|
235
|
+
* Description of the variable.
|
|
236
|
+
*/
|
|
237
|
+
description: string;
|
|
238
|
+
/**
|
|
239
|
+
* Name of the variable.
|
|
240
|
+
*/
|
|
241
|
+
name: string;
|
|
242
|
+
/**
|
|
243
|
+
* Type of the variable to extract.
|
|
244
|
+
*/
|
|
245
|
+
type: 'string';
|
|
246
|
+
/**
|
|
247
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
248
|
+
*/
|
|
249
|
+
examples?: Array<string>;
|
|
250
|
+
}
|
|
251
|
+
interface EnumAnalysisData {
|
|
252
|
+
/**
|
|
253
|
+
* The possible values of the variable, must be non empty array.
|
|
254
|
+
*/
|
|
255
|
+
choices: Array<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Description of the variable.
|
|
258
|
+
*/
|
|
259
|
+
description: string;
|
|
260
|
+
/**
|
|
261
|
+
* Name of the variable.
|
|
262
|
+
*/
|
|
263
|
+
name: string;
|
|
264
|
+
/**
|
|
265
|
+
* Type of the variable to extract.
|
|
266
|
+
*/
|
|
267
|
+
type: 'enum';
|
|
268
|
+
}
|
|
269
|
+
interface BooleanAnalysisData {
|
|
270
|
+
/**
|
|
271
|
+
* Description of the variable.
|
|
272
|
+
*/
|
|
273
|
+
description: string;
|
|
274
|
+
/**
|
|
275
|
+
* Name of the variable.
|
|
276
|
+
*/
|
|
277
|
+
name: string;
|
|
278
|
+
/**
|
|
279
|
+
* Type of the variable to extract.
|
|
280
|
+
*/
|
|
281
|
+
type: 'boolean';
|
|
282
|
+
}
|
|
283
|
+
interface NumberAnalysisData {
|
|
284
|
+
/**
|
|
285
|
+
* Description of the variable.
|
|
286
|
+
*/
|
|
287
|
+
description: string;
|
|
288
|
+
/**
|
|
289
|
+
* Name of the variable.
|
|
290
|
+
*/
|
|
291
|
+
name: string;
|
|
292
|
+
/**
|
|
293
|
+
* Type of the variable to extract.
|
|
294
|
+
*/
|
|
295
|
+
type: 'number';
|
|
296
|
+
}
|
|
202
297
|
interface PronunciationDictionary {
|
|
203
298
|
/**
|
|
204
299
|
* The phonetic alphabet to be used for pronunciation.
|
|
@@ -278,7 +373,7 @@ export interface AgentCreateParams {
|
|
|
278
373
|
* more details. Note that certain voices do not work too well with certain words,
|
|
279
374
|
* so it's recommended to expeirment before adding any words.
|
|
280
375
|
*/
|
|
281
|
-
backchannel_words?: Array<string
|
|
376
|
+
backchannel_words?: Array<string> | null;
|
|
282
377
|
/**
|
|
283
378
|
* Provide a customized list of keywords to bias the transcriber model, so that
|
|
284
379
|
* these words are more likely to get transcribed. Commonly used for names, brands,
|
|
@@ -292,6 +387,11 @@ export interface AgentCreateParams {
|
|
|
292
387
|
* will not backchannel.
|
|
293
388
|
*/
|
|
294
389
|
enable_backchannel?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* If set to true, will detect whether the call enters a voicemail. Note that this
|
|
392
|
+
* feature is only available for phone calls.
|
|
393
|
+
*/
|
|
394
|
+
enable_voicemail_detection?: boolean;
|
|
295
395
|
/**
|
|
296
396
|
* If users stay silent for a period after agent speech, end the call. The minimum
|
|
297
397
|
* value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
|
|
@@ -316,9 +416,10 @@ export interface AgentCreateParams {
|
|
|
316
416
|
/**
|
|
317
417
|
* Specifies what language (and dialect) the speech recognition will operate in.
|
|
318
418
|
* For instance, selecting `en-GB` optimizes speech recognition for British
|
|
319
|
-
* English. If unset, will use default value `en-US`.
|
|
419
|
+
* English. If unset, will use default value `en-US`. Select `multi` for
|
|
420
|
+
* multilingual support, currently this supports Spanish and English.
|
|
320
421
|
*/
|
|
321
|
-
language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR';
|
|
422
|
+
language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR' | 'multi';
|
|
322
423
|
/**
|
|
323
424
|
* If set to true, will normalize the some part of text (number, currency, date,
|
|
324
425
|
* etc) to spoken to its spoken form for more consistent speech synthesis
|
|
@@ -335,6 +436,12 @@ export interface AgentCreateParams {
|
|
|
335
436
|
* not set, default value of false will apply.
|
|
336
437
|
*/
|
|
337
438
|
opt_out_sensitive_data_storage?: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* Post call analysis data to extract from the call. This data will augment the
|
|
441
|
+
* pre-defined variables extracted in the call analysis. This will be available
|
|
442
|
+
* after the call ends.
|
|
443
|
+
*/
|
|
444
|
+
post_call_analysis_data?: Array<AgentCreateParams.StringAnalysisData | AgentCreateParams.EnumAnalysisData | AgentCreateParams.BooleanAnalysisData | AgentCreateParams.NumberAnalysisData> | null;
|
|
338
445
|
/**
|
|
339
446
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
340
447
|
* synthesize for consistent pronunciation. Currently only supported for English &
|
|
@@ -360,6 +467,19 @@ export interface AgentCreateParams {
|
|
|
360
467
|
* apply.
|
|
361
468
|
*/
|
|
362
469
|
responsiveness?: number;
|
|
470
|
+
/**
|
|
471
|
+
* Optionally set the voice model used for the selected voice. Currently only
|
|
472
|
+
* elevenlab voices have voice model selections. Set to null to remove voice model
|
|
473
|
+
* selection, and default ones will apply. Supported voice models are:
|
|
474
|
+
*
|
|
475
|
+
* - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
|
|
476
|
+
*
|
|
477
|
+
* - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
|
|
478
|
+
*
|
|
479
|
+
* - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
|
|
480
|
+
* accent.
|
|
481
|
+
*/
|
|
482
|
+
voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
|
|
363
483
|
/**
|
|
364
484
|
* Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
|
|
365
485
|
* speech, while higher value means faster speech rate. If unset, default value 1
|
|
@@ -373,6 +493,12 @@ export interface AgentCreateParams {
|
|
|
373
493
|
* apply.
|
|
374
494
|
*/
|
|
375
495
|
voice_temperature?: number;
|
|
496
|
+
/**
|
|
497
|
+
* The message to be played when the call enters a voicemail. Note that this
|
|
498
|
+
* feature is only available for phone calls. If you want to hangup after hitting
|
|
499
|
+
* voicemail, set this to empty string.
|
|
500
|
+
*/
|
|
501
|
+
voicemail_message?: string;
|
|
376
502
|
/**
|
|
377
503
|
* The webhook for agent to listen to call events. See what events it would get at
|
|
378
504
|
* [webhook doc](/features/webhook). If set, will binds webhook events for this
|
|
@@ -382,6 +508,70 @@ export interface AgentCreateParams {
|
|
|
382
508
|
webhook_url?: string | null;
|
|
383
509
|
}
|
|
384
510
|
export declare namespace AgentCreateParams {
|
|
511
|
+
interface StringAnalysisData {
|
|
512
|
+
/**
|
|
513
|
+
* Description of the variable.
|
|
514
|
+
*/
|
|
515
|
+
description: string;
|
|
516
|
+
/**
|
|
517
|
+
* Name of the variable.
|
|
518
|
+
*/
|
|
519
|
+
name: string;
|
|
520
|
+
/**
|
|
521
|
+
* Type of the variable to extract.
|
|
522
|
+
*/
|
|
523
|
+
type: 'string';
|
|
524
|
+
/**
|
|
525
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
526
|
+
*/
|
|
527
|
+
examples?: Array<string>;
|
|
528
|
+
}
|
|
529
|
+
interface EnumAnalysisData {
|
|
530
|
+
/**
|
|
531
|
+
* The possible values of the variable, must be non empty array.
|
|
532
|
+
*/
|
|
533
|
+
choices: Array<string>;
|
|
534
|
+
/**
|
|
535
|
+
* Description of the variable.
|
|
536
|
+
*/
|
|
537
|
+
description: string;
|
|
538
|
+
/**
|
|
539
|
+
* Name of the variable.
|
|
540
|
+
*/
|
|
541
|
+
name: string;
|
|
542
|
+
/**
|
|
543
|
+
* Type of the variable to extract.
|
|
544
|
+
*/
|
|
545
|
+
type: 'enum';
|
|
546
|
+
}
|
|
547
|
+
interface BooleanAnalysisData {
|
|
548
|
+
/**
|
|
549
|
+
* Description of the variable.
|
|
550
|
+
*/
|
|
551
|
+
description: string;
|
|
552
|
+
/**
|
|
553
|
+
* Name of the variable.
|
|
554
|
+
*/
|
|
555
|
+
name: string;
|
|
556
|
+
/**
|
|
557
|
+
* Type of the variable to extract.
|
|
558
|
+
*/
|
|
559
|
+
type: 'boolean';
|
|
560
|
+
}
|
|
561
|
+
interface NumberAnalysisData {
|
|
562
|
+
/**
|
|
563
|
+
* Description of the variable.
|
|
564
|
+
*/
|
|
565
|
+
description: string;
|
|
566
|
+
/**
|
|
567
|
+
* Name of the variable.
|
|
568
|
+
*/
|
|
569
|
+
name: string;
|
|
570
|
+
/**
|
|
571
|
+
* Type of the variable to extract.
|
|
572
|
+
*/
|
|
573
|
+
type: 'number';
|
|
574
|
+
}
|
|
385
575
|
interface PronunciationDictionary {
|
|
386
576
|
/**
|
|
387
577
|
* The phonetic alphabet to be used for pronunciation.
|
|
@@ -449,7 +639,7 @@ export interface AgentUpdateParams {
|
|
|
449
639
|
* more details. Note that certain voices do not work too well with certain words,
|
|
450
640
|
* so it's recommended to expeirment before adding any words.
|
|
451
641
|
*/
|
|
452
|
-
backchannel_words?: Array<string
|
|
642
|
+
backchannel_words?: Array<string> | null;
|
|
453
643
|
/**
|
|
454
644
|
* Provide a customized list of keywords to bias the transcriber model, so that
|
|
455
645
|
* these words are more likely to get transcribed. Commonly used for names, brands,
|
|
@@ -463,6 +653,11 @@ export interface AgentUpdateParams {
|
|
|
463
653
|
* will not backchannel.
|
|
464
654
|
*/
|
|
465
655
|
enable_backchannel?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* If set to true, will detect whether the call enters a voicemail. Note that this
|
|
658
|
+
* feature is only available for phone calls.
|
|
659
|
+
*/
|
|
660
|
+
enable_voicemail_detection?: boolean;
|
|
466
661
|
/**
|
|
467
662
|
* If users stay silent for a period after agent speech, end the call. The minimum
|
|
468
663
|
* value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
|
|
@@ -487,9 +682,10 @@ export interface AgentUpdateParams {
|
|
|
487
682
|
/**
|
|
488
683
|
* Specifies what language (and dialect) the speech recognition will operate in.
|
|
489
684
|
* For instance, selecting `en-GB` optimizes speech recognition for British
|
|
490
|
-
* English. If unset, will use default value `en-US`.
|
|
685
|
+
* English. If unset, will use default value `en-US`. Select `multi` for
|
|
686
|
+
* multilingual support, currently this supports Spanish and English.
|
|
491
687
|
*/
|
|
492
|
-
language?: 'en-US' | 'en-IN' | 'en-GB' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'fr-FR';
|
|
688
|
+
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
689
|
/**
|
|
494
690
|
* The URL we will establish LLM websocket for getting response, usually your
|
|
495
691
|
* server. Check out [LLM WebSocket](/api-references/llm-websocket) for more about
|
|
@@ -512,6 +708,12 @@ export interface AgentUpdateParams {
|
|
|
512
708
|
* not set, default value of false will apply.
|
|
513
709
|
*/
|
|
514
710
|
opt_out_sensitive_data_storage?: boolean;
|
|
711
|
+
/**
|
|
712
|
+
* Post call analysis data to extract from the call. This data will augment the
|
|
713
|
+
* pre-defined variables extracted in the call analysis. This will be available
|
|
714
|
+
* after the call ends.
|
|
715
|
+
*/
|
|
716
|
+
post_call_analysis_data?: Array<AgentUpdateParams.StringAnalysisData | AgentUpdateParams.EnumAnalysisData | AgentUpdateParams.BooleanAnalysisData | AgentUpdateParams.NumberAnalysisData> | null;
|
|
515
717
|
/**
|
|
516
718
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
517
719
|
* synthesize for consistent pronunciation. Currently only supported for English &
|
|
@@ -542,6 +744,19 @@ export interface AgentUpdateParams {
|
|
|
542
744
|
* preview in Dashboard.
|
|
543
745
|
*/
|
|
544
746
|
voice_id?: string;
|
|
747
|
+
/**
|
|
748
|
+
* Optionally set the voice model used for the selected voice. Currently only
|
|
749
|
+
* elevenlab voices have voice model selections. Set to null to remove voice model
|
|
750
|
+
* selection, and default ones will apply. Supported voice models are:
|
|
751
|
+
*
|
|
752
|
+
* - `eleven_turbo_v2`: Fast english only model, supports pronunciation tags.
|
|
753
|
+
*
|
|
754
|
+
* - `eleven_turbo_v2_5`: Multilingual model with lowest latency.
|
|
755
|
+
*
|
|
756
|
+
* - `eleven_multilingual_v2`: Multilingual model with rich emotion and nice
|
|
757
|
+
* accent.
|
|
758
|
+
*/
|
|
759
|
+
voice_model?: 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_multilingual_v2' | null;
|
|
545
760
|
/**
|
|
546
761
|
* Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
|
|
547
762
|
* speech, while higher value means faster speech rate. If unset, default value 1
|
|
@@ -555,6 +770,12 @@ export interface AgentUpdateParams {
|
|
|
555
770
|
* apply.
|
|
556
771
|
*/
|
|
557
772
|
voice_temperature?: number;
|
|
773
|
+
/**
|
|
774
|
+
* The message to be played when the call enters a voicemail. Note that this
|
|
775
|
+
* feature is only available for phone calls. If you want to hangup after hitting
|
|
776
|
+
* voicemail, set this to empty string.
|
|
777
|
+
*/
|
|
778
|
+
voicemail_message?: string;
|
|
558
779
|
/**
|
|
559
780
|
* The webhook for agent to listen to call events. See what events it would get at
|
|
560
781
|
* [webhook doc](/features/webhook). If set, will binds webhook events for this
|
|
@@ -564,6 +785,70 @@ export interface AgentUpdateParams {
|
|
|
564
785
|
webhook_url?: string | null;
|
|
565
786
|
}
|
|
566
787
|
export declare namespace AgentUpdateParams {
|
|
788
|
+
interface StringAnalysisData {
|
|
789
|
+
/**
|
|
790
|
+
* Description of the variable.
|
|
791
|
+
*/
|
|
792
|
+
description: string;
|
|
793
|
+
/**
|
|
794
|
+
* Name of the variable.
|
|
795
|
+
*/
|
|
796
|
+
name: string;
|
|
797
|
+
/**
|
|
798
|
+
* Type of the variable to extract.
|
|
799
|
+
*/
|
|
800
|
+
type: 'string';
|
|
801
|
+
/**
|
|
802
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
803
|
+
*/
|
|
804
|
+
examples?: Array<string>;
|
|
805
|
+
}
|
|
806
|
+
interface EnumAnalysisData {
|
|
807
|
+
/**
|
|
808
|
+
* The possible values of the variable, must be non empty array.
|
|
809
|
+
*/
|
|
810
|
+
choices: Array<string>;
|
|
811
|
+
/**
|
|
812
|
+
* Description of the variable.
|
|
813
|
+
*/
|
|
814
|
+
description: string;
|
|
815
|
+
/**
|
|
816
|
+
* Name of the variable.
|
|
817
|
+
*/
|
|
818
|
+
name: string;
|
|
819
|
+
/**
|
|
820
|
+
* Type of the variable to extract.
|
|
821
|
+
*/
|
|
822
|
+
type: 'enum';
|
|
823
|
+
}
|
|
824
|
+
interface BooleanAnalysisData {
|
|
825
|
+
/**
|
|
826
|
+
* Description of the variable.
|
|
827
|
+
*/
|
|
828
|
+
description: string;
|
|
829
|
+
/**
|
|
830
|
+
* Name of the variable.
|
|
831
|
+
*/
|
|
832
|
+
name: string;
|
|
833
|
+
/**
|
|
834
|
+
* Type of the variable to extract.
|
|
835
|
+
*/
|
|
836
|
+
type: 'boolean';
|
|
837
|
+
}
|
|
838
|
+
interface NumberAnalysisData {
|
|
839
|
+
/**
|
|
840
|
+
* Description of the variable.
|
|
841
|
+
*/
|
|
842
|
+
description: string;
|
|
843
|
+
/**
|
|
844
|
+
* Name of the variable.
|
|
845
|
+
*/
|
|
846
|
+
name: string;
|
|
847
|
+
/**
|
|
848
|
+
* Type of the variable to extract.
|
|
849
|
+
*/
|
|
850
|
+
type: 'number';
|
|
851
|
+
}
|
|
567
852
|
interface PronunciationDictionary {
|
|
568
853
|
/**
|
|
569
854
|
* The phonetic alphabet to be used for pronunciation.
|
package/resources/agent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/resources/agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AAEpC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EA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D,WAAiB,KAAK;AAKtB,CAAC,EALgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAKrB"}
|
package/resources/agent.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.mjs","sourceRoot":"","sources":["../src/resources/agent.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,OAAe,EAAE,OAA6B;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,IAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,iBAAiB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe,EAAE,OAA6B;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,OAAO,EAAE,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"agent.mjs","sourceRoot":"","sources":["../src/resources/ag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