retell-sdk 4.60.0 → 4.62.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 +18 -0
- package/package.json +1 -1
- package/resources/agent.d.ts +57 -6
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.ts +21 -4
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.ts +153 -16
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.ts +74 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +33 -0
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +33 -0
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/conversation-flow.d.ts +532 -40
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +1 -1
- package/resources/conversation-flow.mjs +1 -1
- package/resources/llm.d.ts +501 -9
- package/resources/llm.d.ts.map +1 -1
- package/src/resources/agent.ts +72 -27
- package/src/resources/batch-call.ts +34 -27
- package/src/resources/call.ts +210 -85
- package/src/resources/chat-agent.ts +101 -27
- package/src/resources/conversation-flow.ts +794 -326
- package/src/resources/llm.ts +621 -33
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/call.ts
CHANGED
|
@@ -303,7 +303,7 @@ export interface PhoneCallResponse {
|
|
|
303
303
|
public_log_url?: string;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
* Recording of the call, with each party
|
|
306
|
+
* Recording of the call, with each party's audio stored in a separate channel.
|
|
307
307
|
* Available after the call ends.
|
|
308
308
|
*/
|
|
309
309
|
recording_multi_channel_url?: string;
|
|
@@ -321,7 +321,7 @@ export interface PhoneCallResponse {
|
|
|
321
321
|
retell_llm_dynamic_variables?: { [key: string]: unknown };
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
|
-
* Recording of the call without PII, with each party
|
|
324
|
+
* Recording of the call without PII, with each party's audio stored in a separate
|
|
325
325
|
* channel. Available after the call ends.
|
|
326
326
|
*/
|
|
327
327
|
scrubbed_recording_multi_channel_url?: string;
|
|
@@ -472,6 +472,12 @@ export namespace PhoneCallResponse {
|
|
|
472
472
|
* will be available, as it depends on the type of call and feature used.
|
|
473
473
|
*/
|
|
474
474
|
export interface Latency {
|
|
475
|
+
/**
|
|
476
|
+
* Transcription latency (diff between the duration of the chunks streamed and the
|
|
477
|
+
* durations of the transcribed part) tracking of the call.
|
|
478
|
+
*/
|
|
479
|
+
asr?: Latency.Asr;
|
|
480
|
+
|
|
475
481
|
/**
|
|
476
482
|
* End to end latency (from user stops talking to agent start talking) tracking of
|
|
477
483
|
* the call. This latency does not account for the network trip time from Retell
|
|
@@ -515,6 +521,52 @@ export namespace PhoneCallResponse {
|
|
|
515
521
|
}
|
|
516
522
|
|
|
517
523
|
export namespace Latency {
|
|
524
|
+
/**
|
|
525
|
+
* Transcription latency (diff between the duration of the chunks streamed and the
|
|
526
|
+
* durations of the transcribed part) tracking of the call.
|
|
527
|
+
*/
|
|
528
|
+
export interface Asr {
|
|
529
|
+
/**
|
|
530
|
+
* Maximum latency in the call, measured in milliseconds.
|
|
531
|
+
*/
|
|
532
|
+
max?: number;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Minimum latency in the call, measured in milliseconds.
|
|
536
|
+
*/
|
|
537
|
+
min?: number;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Number of data points (number of times latency is tracked).
|
|
541
|
+
*/
|
|
542
|
+
num?: number;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* 50 percentile of latency, measured in milliseconds.
|
|
546
|
+
*/
|
|
547
|
+
p50?: number;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* 90 percentile of latency, measured in milliseconds.
|
|
551
|
+
*/
|
|
552
|
+
p90?: number;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 95 percentile of latency, measured in milliseconds.
|
|
556
|
+
*/
|
|
557
|
+
p95?: number;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* 99 percentile of latency, measured in milliseconds.
|
|
561
|
+
*/
|
|
562
|
+
p99?: number;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* All the latency data points in the call, measured in milliseconds.
|
|
566
|
+
*/
|
|
567
|
+
values?: Array<number>;
|
|
568
|
+
}
|
|
569
|
+
|
|
518
570
|
/**
|
|
519
571
|
* End to end latency (from user stops talking to agent start talking) tracking of
|
|
520
572
|
* the call. This latency does not account for the network trip time from Retell
|
|
@@ -1218,7 +1270,7 @@ export interface WebCallResponse {
|
|
|
1218
1270
|
public_log_url?: string;
|
|
1219
1271
|
|
|
1220
1272
|
/**
|
|
1221
|
-
* Recording of the call, with each party
|
|
1273
|
+
* Recording of the call, with each party's audio stored in a separate channel.
|
|
1222
1274
|
* Available after the call ends.
|
|
1223
1275
|
*/
|
|
1224
1276
|
recording_multi_channel_url?: string;
|
|
@@ -1236,7 +1288,7 @@ export interface WebCallResponse {
|
|
|
1236
1288
|
retell_llm_dynamic_variables?: { [key: string]: unknown };
|
|
1237
1289
|
|
|
1238
1290
|
/**
|
|
1239
|
-
* Recording of the call without PII, with each party
|
|
1291
|
+
* Recording of the call without PII, with each party's audio stored in a separate
|
|
1240
1292
|
* channel. Available after the call ends.
|
|
1241
1293
|
*/
|
|
1242
1294
|
scrubbed_recording_multi_channel_url?: string;
|
|
@@ -1381,6 +1433,12 @@ export namespace WebCallResponse {
|
|
|
1381
1433
|
* will be available, as it depends on the type of call and feature used.
|
|
1382
1434
|
*/
|
|
1383
1435
|
export interface Latency {
|
|
1436
|
+
/**
|
|
1437
|
+
* Transcription latency (diff between the duration of the chunks streamed and the
|
|
1438
|
+
* durations of the transcribed part) tracking of the call.
|
|
1439
|
+
*/
|
|
1440
|
+
asr?: Latency.Asr;
|
|
1441
|
+
|
|
1384
1442
|
/**
|
|
1385
1443
|
* End to end latency (from user stops talking to agent start talking) tracking of
|
|
1386
1444
|
* the call. This latency does not account for the network trip time from Retell
|
|
@@ -1424,6 +1482,52 @@ export namespace WebCallResponse {
|
|
|
1424
1482
|
}
|
|
1425
1483
|
|
|
1426
1484
|
export namespace Latency {
|
|
1485
|
+
/**
|
|
1486
|
+
* Transcription latency (diff between the duration of the chunks streamed and the
|
|
1487
|
+
* durations of the transcribed part) tracking of the call.
|
|
1488
|
+
*/
|
|
1489
|
+
export interface Asr {
|
|
1490
|
+
/**
|
|
1491
|
+
* Maximum latency in the call, measured in milliseconds.
|
|
1492
|
+
*/
|
|
1493
|
+
max?: number;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Minimum latency in the call, measured in milliseconds.
|
|
1497
|
+
*/
|
|
1498
|
+
min?: number;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Number of data points (number of times latency is tracked).
|
|
1502
|
+
*/
|
|
1503
|
+
num?: number;
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* 50 percentile of latency, measured in milliseconds.
|
|
1507
|
+
*/
|
|
1508
|
+
p50?: number;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* 90 percentile of latency, measured in milliseconds.
|
|
1512
|
+
*/
|
|
1513
|
+
p90?: number;
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* 95 percentile of latency, measured in milliseconds.
|
|
1517
|
+
*/
|
|
1518
|
+
p95?: number;
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* 99 percentile of latency, measured in milliseconds.
|
|
1522
|
+
*/
|
|
1523
|
+
p99?: number;
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* All the latency data points in the call, measured in milliseconds.
|
|
1527
|
+
*/
|
|
1528
|
+
values?: Array<number>;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1427
1531
|
/**
|
|
1428
1532
|
* End to end latency (from user stops talking to agent start talking) tracking of
|
|
1429
1533
|
* the call. This latency does not account for the network trip time from Retell
|
|
@@ -2291,6 +2395,19 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2291
2395
|
*/
|
|
2292
2396
|
ambient_sound_volume?: number;
|
|
2293
2397
|
|
|
2398
|
+
/**
|
|
2399
|
+
* Prompt to determine whether the post call or chat analysis should mark the
|
|
2400
|
+
* interaction as successful. Set to null to use the default prompt.
|
|
2401
|
+
*/
|
|
2402
|
+
analysis_successful_prompt?: string | null;
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Prompt to guide how the post call or chat analysis summary should be generated.
|
|
2406
|
+
* When unset, the default system prompt is used. Set to null to use the default
|
|
2407
|
+
* prompt.
|
|
2408
|
+
*/
|
|
2409
|
+
analysis_summary_prompt?: string | null;
|
|
2410
|
+
|
|
2294
2411
|
/**
|
|
2295
2412
|
* Only applicable when enable_backchannel is true. Controls how often the agent
|
|
2296
2413
|
* would backchannel when a backchannel is possible. Value ranging from [0,1].
|
|
@@ -2461,11 +2578,9 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2461
2578
|
> | null;
|
|
2462
2579
|
|
|
2463
2580
|
/**
|
|
2464
|
-
* The model to use for post call analysis. Default to gpt-
|
|
2581
|
+
* The model to use for post call analysis. Default to gpt-4.1-mini.
|
|
2465
2582
|
*/
|
|
2466
2583
|
post_call_analysis_model?:
|
|
2467
|
-
| 'gpt-4o'
|
|
2468
|
-
| 'gpt-4o-mini'
|
|
2469
2584
|
| 'gpt-4.1'
|
|
2470
2585
|
| 'gpt-4.1-mini'
|
|
2471
2586
|
| 'gpt-4.1-nano'
|
|
@@ -2473,13 +2588,10 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2473
2588
|
| 'gpt-5-mini'
|
|
2474
2589
|
| 'gpt-5-nano'
|
|
2475
2590
|
| 'claude-4.5-sonnet'
|
|
2476
|
-
| 'claude-4.
|
|
2477
|
-
| 'claude-3.7-sonnet'
|
|
2478
|
-
| 'claude-3.5-haiku'
|
|
2479
|
-
| 'gemini-2.0-flash'
|
|
2480
|
-
| 'gemini-2.0-flash-lite'
|
|
2591
|
+
| 'claude-4.5-haiku'
|
|
2481
2592
|
| 'gemini-2.5-flash'
|
|
2482
|
-
| 'gemini-2.5-flash-lite'
|
|
2593
|
+
| 'gemini-2.5-flash-lite'
|
|
2594
|
+
| null;
|
|
2483
2595
|
|
|
2484
2596
|
/**
|
|
2485
2597
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
@@ -2527,6 +2639,13 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2527
2639
|
*/
|
|
2528
2640
|
ring_duration_ms?: number;
|
|
2529
2641
|
|
|
2642
|
+
/**
|
|
2643
|
+
* The expiration time for the signed url in milliseconds. Only applicable when
|
|
2644
|
+
* opt_in_signed_url is true. If not set, default value of 86400000 (24 hours) will
|
|
2645
|
+
* apply.
|
|
2646
|
+
*/
|
|
2647
|
+
signed_url_expiration_ms?: number | null;
|
|
2648
|
+
|
|
2530
2649
|
/**
|
|
2531
2650
|
* If set, determines whether speech to text should focus on latency or accuracy.
|
|
2532
2651
|
* Default to fast mode.
|
|
@@ -2912,18 +3031,14 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2912
3031
|
* The LLM model to use
|
|
2913
3032
|
*/
|
|
2914
3033
|
model:
|
|
2915
|
-
| 'gpt-5'
|
|
2916
|
-
| 'gpt-5-mini'
|
|
2917
|
-
| 'gpt-5-nano'
|
|
2918
|
-
| 'gpt-4o'
|
|
2919
|
-
| 'gpt-4o-mini'
|
|
2920
3034
|
| 'gpt-4.1'
|
|
2921
3035
|
| 'gpt-4.1-mini'
|
|
2922
3036
|
| 'gpt-4.1-nano'
|
|
2923
|
-
| '
|
|
2924
|
-
| '
|
|
2925
|
-
| '
|
|
2926
|
-
| '
|
|
3037
|
+
| 'gpt-5'
|
|
3038
|
+
| 'gpt-5-mini'
|
|
3039
|
+
| 'gpt-5-nano'
|
|
3040
|
+
| 'claude-4.5-sonnet'
|
|
3041
|
+
| 'claude-4.5-haiku'
|
|
2927
3042
|
| 'gemini-2.5-flash'
|
|
2928
3043
|
| 'gemini-2.5-flash-lite';
|
|
2929
3044
|
|
|
@@ -2975,18 +3090,14 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2975
3090
|
* Select the underlying text LLM. If not set, would default to gpt-4.1.
|
|
2976
3091
|
*/
|
|
2977
3092
|
model?:
|
|
2978
|
-
| 'gpt-5'
|
|
2979
|
-
| 'gpt-5-mini'
|
|
2980
|
-
| 'gpt-5-nano'
|
|
2981
|
-
| 'gpt-4o'
|
|
2982
|
-
| 'gpt-4o-mini'
|
|
2983
3093
|
| 'gpt-4.1'
|
|
2984
3094
|
| 'gpt-4.1-mini'
|
|
2985
3095
|
| 'gpt-4.1-nano'
|
|
2986
|
-
| '
|
|
2987
|
-
| '
|
|
2988
|
-
| '
|
|
2989
|
-
| '
|
|
3096
|
+
| 'gpt-5'
|
|
3097
|
+
| 'gpt-5-mini'
|
|
3098
|
+
| 'gpt-5-nano'
|
|
3099
|
+
| 'claude-4.5-sonnet'
|
|
3100
|
+
| 'claude-4.5-haiku'
|
|
2990
3101
|
| 'gemini-2.5-flash'
|
|
2991
3102
|
| 'gemini-2.5-flash-lite'
|
|
2992
3103
|
| null;
|
|
@@ -3167,6 +3278,19 @@ export namespace CallCreateWebCallParams {
|
|
|
3167
3278
|
*/
|
|
3168
3279
|
ambient_sound_volume?: number;
|
|
3169
3280
|
|
|
3281
|
+
/**
|
|
3282
|
+
* Prompt to determine whether the post call or chat analysis should mark the
|
|
3283
|
+
* interaction as successful. Set to null to use the default prompt.
|
|
3284
|
+
*/
|
|
3285
|
+
analysis_successful_prompt?: string | null;
|
|
3286
|
+
|
|
3287
|
+
/**
|
|
3288
|
+
* Prompt to guide how the post call or chat analysis summary should be generated.
|
|
3289
|
+
* When unset, the default system prompt is used. Set to null to use the default
|
|
3290
|
+
* prompt.
|
|
3291
|
+
*/
|
|
3292
|
+
analysis_summary_prompt?: string | null;
|
|
3293
|
+
|
|
3170
3294
|
/**
|
|
3171
3295
|
* Only applicable when enable_backchannel is true. Controls how often the agent
|
|
3172
3296
|
* would backchannel when a backchannel is possible. Value ranging from [0,1].
|
|
@@ -3337,11 +3461,9 @@ export namespace CallCreateWebCallParams {
|
|
|
3337
3461
|
> | null;
|
|
3338
3462
|
|
|
3339
3463
|
/**
|
|
3340
|
-
* The model to use for post call analysis. Default to gpt-
|
|
3464
|
+
* The model to use for post call analysis. Default to gpt-4.1-mini.
|
|
3341
3465
|
*/
|
|
3342
3466
|
post_call_analysis_model?:
|
|
3343
|
-
| 'gpt-4o'
|
|
3344
|
-
| 'gpt-4o-mini'
|
|
3345
3467
|
| 'gpt-4.1'
|
|
3346
3468
|
| 'gpt-4.1-mini'
|
|
3347
3469
|
| 'gpt-4.1-nano'
|
|
@@ -3349,13 +3471,10 @@ export namespace CallCreateWebCallParams {
|
|
|
3349
3471
|
| 'gpt-5-mini'
|
|
3350
3472
|
| 'gpt-5-nano'
|
|
3351
3473
|
| 'claude-4.5-sonnet'
|
|
3352
|
-
| 'claude-4.
|
|
3353
|
-
| 'claude-3.7-sonnet'
|
|
3354
|
-
| 'claude-3.5-haiku'
|
|
3355
|
-
| 'gemini-2.0-flash'
|
|
3356
|
-
| 'gemini-2.0-flash-lite'
|
|
3474
|
+
| 'claude-4.5-haiku'
|
|
3357
3475
|
| 'gemini-2.5-flash'
|
|
3358
|
-
| 'gemini-2.5-flash-lite'
|
|
3476
|
+
| 'gemini-2.5-flash-lite'
|
|
3477
|
+
| null;
|
|
3359
3478
|
|
|
3360
3479
|
/**
|
|
3361
3480
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
@@ -3403,6 +3522,13 @@ export namespace CallCreateWebCallParams {
|
|
|
3403
3522
|
*/
|
|
3404
3523
|
ring_duration_ms?: number;
|
|
3405
3524
|
|
|
3525
|
+
/**
|
|
3526
|
+
* The expiration time for the signed url in milliseconds. Only applicable when
|
|
3527
|
+
* opt_in_signed_url is true. If not set, default value of 86400000 (24 hours) will
|
|
3528
|
+
* apply.
|
|
3529
|
+
*/
|
|
3530
|
+
signed_url_expiration_ms?: number | null;
|
|
3531
|
+
|
|
3406
3532
|
/**
|
|
3407
3533
|
* If set, determines whether speech to text should focus on latency or accuracy.
|
|
3408
3534
|
* Default to fast mode.
|
|
@@ -3788,18 +3914,14 @@ export namespace CallCreateWebCallParams {
|
|
|
3788
3914
|
* The LLM model to use
|
|
3789
3915
|
*/
|
|
3790
3916
|
model:
|
|
3791
|
-
| 'gpt-5'
|
|
3792
|
-
| 'gpt-5-mini'
|
|
3793
|
-
| 'gpt-5-nano'
|
|
3794
|
-
| 'gpt-4o'
|
|
3795
|
-
| 'gpt-4o-mini'
|
|
3796
3917
|
| 'gpt-4.1'
|
|
3797
3918
|
| 'gpt-4.1-mini'
|
|
3798
3919
|
| 'gpt-4.1-nano'
|
|
3799
|
-
| '
|
|
3800
|
-
| '
|
|
3801
|
-
| '
|
|
3802
|
-
| '
|
|
3920
|
+
| 'gpt-5'
|
|
3921
|
+
| 'gpt-5-mini'
|
|
3922
|
+
| 'gpt-5-nano'
|
|
3923
|
+
| 'claude-4.5-sonnet'
|
|
3924
|
+
| 'claude-4.5-haiku'
|
|
3803
3925
|
| 'gemini-2.5-flash'
|
|
3804
3926
|
| 'gemini-2.5-flash-lite';
|
|
3805
3927
|
|
|
@@ -3851,18 +3973,14 @@ export namespace CallCreateWebCallParams {
|
|
|
3851
3973
|
* Select the underlying text LLM. If not set, would default to gpt-4.1.
|
|
3852
3974
|
*/
|
|
3853
3975
|
model?:
|
|
3854
|
-
| 'gpt-5'
|
|
3855
|
-
| 'gpt-5-mini'
|
|
3856
|
-
| 'gpt-5-nano'
|
|
3857
|
-
| 'gpt-4o'
|
|
3858
|
-
| 'gpt-4o-mini'
|
|
3859
3976
|
| 'gpt-4.1'
|
|
3860
3977
|
| 'gpt-4.1-mini'
|
|
3861
3978
|
| 'gpt-4.1-nano'
|
|
3862
|
-
| '
|
|
3863
|
-
| '
|
|
3864
|
-
| '
|
|
3865
|
-
| '
|
|
3979
|
+
| 'gpt-5'
|
|
3980
|
+
| 'gpt-5-mini'
|
|
3981
|
+
| 'gpt-5-nano'
|
|
3982
|
+
| 'claude-4.5-sonnet'
|
|
3983
|
+
| 'claude-4.5-haiku'
|
|
3866
3984
|
| 'gemini-2.5-flash'
|
|
3867
3985
|
| 'gemini-2.5-flash-lite'
|
|
3868
3986
|
| null;
|
|
@@ -4057,6 +4175,19 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4057
4175
|
*/
|
|
4058
4176
|
ambient_sound_volume?: number;
|
|
4059
4177
|
|
|
4178
|
+
/**
|
|
4179
|
+
* Prompt to determine whether the post call or chat analysis should mark the
|
|
4180
|
+
* interaction as successful. Set to null to use the default prompt.
|
|
4181
|
+
*/
|
|
4182
|
+
analysis_successful_prompt?: string | null;
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* Prompt to guide how the post call or chat analysis summary should be generated.
|
|
4186
|
+
* When unset, the default system prompt is used. Set to null to use the default
|
|
4187
|
+
* prompt.
|
|
4188
|
+
*/
|
|
4189
|
+
analysis_summary_prompt?: string | null;
|
|
4190
|
+
|
|
4060
4191
|
/**
|
|
4061
4192
|
* Only applicable when enable_backchannel is true. Controls how often the agent
|
|
4062
4193
|
* would backchannel when a backchannel is possible. Value ranging from [0,1].
|
|
@@ -4227,11 +4358,9 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4227
4358
|
> | null;
|
|
4228
4359
|
|
|
4229
4360
|
/**
|
|
4230
|
-
* The model to use for post call analysis. Default to gpt-
|
|
4361
|
+
* The model to use for post call analysis. Default to gpt-4.1-mini.
|
|
4231
4362
|
*/
|
|
4232
4363
|
post_call_analysis_model?:
|
|
4233
|
-
| 'gpt-4o'
|
|
4234
|
-
| 'gpt-4o-mini'
|
|
4235
4364
|
| 'gpt-4.1'
|
|
4236
4365
|
| 'gpt-4.1-mini'
|
|
4237
4366
|
| 'gpt-4.1-nano'
|
|
@@ -4239,13 +4368,10 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4239
4368
|
| 'gpt-5-mini'
|
|
4240
4369
|
| 'gpt-5-nano'
|
|
4241
4370
|
| 'claude-4.5-sonnet'
|
|
4242
|
-
| 'claude-4.
|
|
4243
|
-
| 'claude-3.7-sonnet'
|
|
4244
|
-
| 'claude-3.5-haiku'
|
|
4245
|
-
| 'gemini-2.0-flash'
|
|
4246
|
-
| 'gemini-2.0-flash-lite'
|
|
4371
|
+
| 'claude-4.5-haiku'
|
|
4247
4372
|
| 'gemini-2.5-flash'
|
|
4248
|
-
| 'gemini-2.5-flash-lite'
|
|
4373
|
+
| 'gemini-2.5-flash-lite'
|
|
4374
|
+
| null;
|
|
4249
4375
|
|
|
4250
4376
|
/**
|
|
4251
4377
|
* A list of words / phrases and their pronunciation to be used to guide the audio
|
|
@@ -4293,6 +4419,13 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4293
4419
|
*/
|
|
4294
4420
|
ring_duration_ms?: number;
|
|
4295
4421
|
|
|
4422
|
+
/**
|
|
4423
|
+
* The expiration time for the signed url in milliseconds. Only applicable when
|
|
4424
|
+
* opt_in_signed_url is true. If not set, default value of 86400000 (24 hours) will
|
|
4425
|
+
* apply.
|
|
4426
|
+
*/
|
|
4427
|
+
signed_url_expiration_ms?: number | null;
|
|
4428
|
+
|
|
4296
4429
|
/**
|
|
4297
4430
|
* If set, determines whether speech to text should focus on latency or accuracy.
|
|
4298
4431
|
* Default to fast mode.
|
|
@@ -4678,18 +4811,14 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4678
4811
|
* The LLM model to use
|
|
4679
4812
|
*/
|
|
4680
4813
|
model:
|
|
4681
|
-
| 'gpt-5'
|
|
4682
|
-
| 'gpt-5-mini'
|
|
4683
|
-
| 'gpt-5-nano'
|
|
4684
|
-
| 'gpt-4o'
|
|
4685
|
-
| 'gpt-4o-mini'
|
|
4686
4814
|
| 'gpt-4.1'
|
|
4687
4815
|
| 'gpt-4.1-mini'
|
|
4688
4816
|
| 'gpt-4.1-nano'
|
|
4689
|
-
| '
|
|
4690
|
-
| '
|
|
4691
|
-
| '
|
|
4692
|
-
| '
|
|
4817
|
+
| 'gpt-5'
|
|
4818
|
+
| 'gpt-5-mini'
|
|
4819
|
+
| 'gpt-5-nano'
|
|
4820
|
+
| 'claude-4.5-sonnet'
|
|
4821
|
+
| 'claude-4.5-haiku'
|
|
4693
4822
|
| 'gemini-2.5-flash'
|
|
4694
4823
|
| 'gemini-2.5-flash-lite';
|
|
4695
4824
|
|
|
@@ -4741,18 +4870,14 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
4741
4870
|
* Select the underlying text LLM. If not set, would default to gpt-4.1.
|
|
4742
4871
|
*/
|
|
4743
4872
|
model?:
|
|
4744
|
-
| 'gpt-5'
|
|
4745
|
-
| 'gpt-5-mini'
|
|
4746
|
-
| 'gpt-5-nano'
|
|
4747
|
-
| 'gpt-4o'
|
|
4748
|
-
| 'gpt-4o-mini'
|
|
4749
4873
|
| 'gpt-4.1'
|
|
4750
4874
|
| 'gpt-4.1-mini'
|
|
4751
4875
|
| 'gpt-4.1-nano'
|
|
4752
|
-
| '
|
|
4753
|
-
| '
|
|
4754
|
-
| '
|
|
4755
|
-
| '
|
|
4876
|
+
| 'gpt-5'
|
|
4877
|
+
| 'gpt-5-mini'
|
|
4878
|
+
| 'gpt-5-nano'
|
|
4879
|
+
| 'claude-4.5-sonnet'
|
|
4880
|
+
| 'claude-4.5-haiku'
|
|
4756
4881
|
| 'gemini-2.5-flash'
|
|
4757
4882
|
| 'gemini-2.5-flash-lite'
|
|
4758
4883
|
| null;
|