retell-sdk 5.38.0 → 5.40.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 +24 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +9 -1
- package/client.js.map +1 -1
- package/client.mjs +9 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +3 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +3 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +3 -3
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +3 -3
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +9 -9
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +9 -9
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +3 -3
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +3 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +192 -66
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +192 -66
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +392 -135
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +392 -135
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +153 -27
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +153 -27
- package/resources/llm.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/client.ts +9 -1
- package/src/resources/agent.ts +0 -3
- package/src/resources/batch-call.ts +0 -3
- package/src/resources/call.ts +0 -9
- package/src/resources/chat-agent.ts +0 -3
- package/src/resources/conversation-flow-component.ts +168 -66
- package/src/resources/conversation-flow.ts +342 -135
- package/src/resources/llm.ts +168 -27
- package/src/resources/tests.ts +0 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/llm.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export interface LlmResponse {
|
|
|
122
122
|
/**
|
|
123
123
|
* Select the underlying text LLM. If not set, would default to gpt-4.1.
|
|
124
124
|
*/
|
|
125
|
-
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-
|
|
125
|
+
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
|
|
126
126
|
/**
|
|
127
127
|
* If set to true, will use high priority pool with more dedicated resource to
|
|
128
128
|
* ensure lower and more consistent latency, default to false. This feature usually
|
|
@@ -308,6 +308,12 @@ export declare namespace LlmResponse {
|
|
|
308
308
|
* The time to wait before considering transfer fails.
|
|
309
309
|
*/
|
|
310
310
|
agent_detection_timeout_ms?: number;
|
|
311
|
+
/**
|
|
312
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
313
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
314
|
+
* create-asset).
|
|
315
|
+
*/
|
|
316
|
+
custom_on_hold_music_asset_id?: string;
|
|
311
317
|
/**
|
|
312
318
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
313
319
|
*/
|
|
@@ -318,9 +324,10 @@ export declare namespace LlmResponse {
|
|
|
318
324
|
*/
|
|
319
325
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
320
326
|
/**
|
|
321
|
-
* The music to play while the caller is being transferred.
|
|
327
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
328
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
322
329
|
*/
|
|
323
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
330
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
324
331
|
/**
|
|
325
332
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
326
333
|
* false.
|
|
@@ -400,14 +407,21 @@ export declare namespace LlmResponse {
|
|
|
400
407
|
* The type of the transfer.
|
|
401
408
|
*/
|
|
402
409
|
type: 'agentic_warm_transfer';
|
|
410
|
+
/**
|
|
411
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
412
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
413
|
+
* create-asset).
|
|
414
|
+
*/
|
|
415
|
+
custom_on_hold_music_asset_id?: string;
|
|
403
416
|
/**
|
|
404
417
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
405
418
|
*/
|
|
406
419
|
enable_bridge_audio_cue?: boolean;
|
|
407
420
|
/**
|
|
408
|
-
* The music to play while the caller is being transferred.
|
|
421
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
422
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
409
423
|
*/
|
|
410
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
424
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
411
425
|
/**
|
|
412
426
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
413
427
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -728,6 +742,13 @@ export declare namespace LlmResponse {
|
|
|
728
742
|
* Method to use for the request, default to POST.
|
|
729
743
|
*/
|
|
730
744
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
745
|
+
/**
|
|
746
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
747
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
748
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
749
|
+
* is encoded (see `args_at_root`).
|
|
750
|
+
*/
|
|
751
|
+
parameter_type?: 'json' | 'form';
|
|
731
752
|
/**
|
|
732
753
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
733
754
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -1366,6 +1387,12 @@ export declare namespace LlmResponse {
|
|
|
1366
1387
|
* The time to wait before considering transfer fails.
|
|
1367
1388
|
*/
|
|
1368
1389
|
agent_detection_timeout_ms?: number;
|
|
1390
|
+
/**
|
|
1391
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
1392
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
1393
|
+
* create-asset).
|
|
1394
|
+
*/
|
|
1395
|
+
custom_on_hold_music_asset_id?: string;
|
|
1369
1396
|
/**
|
|
1370
1397
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
1371
1398
|
*/
|
|
@@ -1376,9 +1403,10 @@ export declare namespace LlmResponse {
|
|
|
1376
1403
|
*/
|
|
1377
1404
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
1378
1405
|
/**
|
|
1379
|
-
* The music to play while the caller is being transferred.
|
|
1406
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
1407
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
1380
1408
|
*/
|
|
1381
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
1409
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
1382
1410
|
/**
|
|
1383
1411
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
1384
1412
|
* false.
|
|
@@ -1458,14 +1486,21 @@ export declare namespace LlmResponse {
|
|
|
1458
1486
|
* The type of the transfer.
|
|
1459
1487
|
*/
|
|
1460
1488
|
type: 'agentic_warm_transfer';
|
|
1489
|
+
/**
|
|
1490
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
1491
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
1492
|
+
* create-asset).
|
|
1493
|
+
*/
|
|
1494
|
+
custom_on_hold_music_asset_id?: string;
|
|
1461
1495
|
/**
|
|
1462
1496
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
1463
1497
|
*/
|
|
1464
1498
|
enable_bridge_audio_cue?: boolean;
|
|
1465
1499
|
/**
|
|
1466
|
-
* The music to play while the caller is being transferred.
|
|
1500
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
1501
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
1467
1502
|
*/
|
|
1468
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
1503
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
1469
1504
|
/**
|
|
1470
1505
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
1471
1506
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -1786,6 +1821,13 @@ export declare namespace LlmResponse {
|
|
|
1786
1821
|
* Method to use for the request, default to POST.
|
|
1787
1822
|
*/
|
|
1788
1823
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
1824
|
+
/**
|
|
1825
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
1826
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
1827
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
1828
|
+
* is encoded (see `args_at_root`).
|
|
1829
|
+
*/
|
|
1830
|
+
parameter_type?: 'json' | 'form';
|
|
1789
1831
|
/**
|
|
1790
1832
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
1791
1833
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -2235,7 +2277,7 @@ export interface LlmCreateParams {
|
|
|
2235
2277
|
/**
|
|
2236
2278
|
* Select the underlying text LLM. If not set, would default to gpt-4.1.
|
|
2237
2279
|
*/
|
|
2238
|
-
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-
|
|
2280
|
+
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
|
|
2239
2281
|
/**
|
|
2240
2282
|
* If set to true, will use high priority pool with more dedicated resource to
|
|
2241
2283
|
* ensure lower and more consistent latency, default to false. This feature usually
|
|
@@ -2417,6 +2459,12 @@ export declare namespace LlmCreateParams {
|
|
|
2417
2459
|
* The time to wait before considering transfer fails.
|
|
2418
2460
|
*/
|
|
2419
2461
|
agent_detection_timeout_ms?: number;
|
|
2462
|
+
/**
|
|
2463
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
2464
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
2465
|
+
* create-asset).
|
|
2466
|
+
*/
|
|
2467
|
+
custom_on_hold_music_asset_id?: string;
|
|
2420
2468
|
/**
|
|
2421
2469
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
2422
2470
|
*/
|
|
@@ -2427,9 +2475,10 @@ export declare namespace LlmCreateParams {
|
|
|
2427
2475
|
*/
|
|
2428
2476
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
2429
2477
|
/**
|
|
2430
|
-
* The music to play while the caller is being transferred.
|
|
2478
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
2479
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
2431
2480
|
*/
|
|
2432
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
2481
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
2433
2482
|
/**
|
|
2434
2483
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
2435
2484
|
* false.
|
|
@@ -2509,14 +2558,21 @@ export declare namespace LlmCreateParams {
|
|
|
2509
2558
|
* The type of the transfer.
|
|
2510
2559
|
*/
|
|
2511
2560
|
type: 'agentic_warm_transfer';
|
|
2561
|
+
/**
|
|
2562
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
2563
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
2564
|
+
* create-asset).
|
|
2565
|
+
*/
|
|
2566
|
+
custom_on_hold_music_asset_id?: string;
|
|
2512
2567
|
/**
|
|
2513
2568
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
2514
2569
|
*/
|
|
2515
2570
|
enable_bridge_audio_cue?: boolean;
|
|
2516
2571
|
/**
|
|
2517
|
-
* The music to play while the caller is being transferred.
|
|
2572
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
2573
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
2518
2574
|
*/
|
|
2519
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
2575
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
2520
2576
|
/**
|
|
2521
2577
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
2522
2578
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -2837,6 +2893,13 @@ export declare namespace LlmCreateParams {
|
|
|
2837
2893
|
* Method to use for the request, default to POST.
|
|
2838
2894
|
*/
|
|
2839
2895
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
2896
|
+
/**
|
|
2897
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
2898
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
2899
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
2900
|
+
* is encoded (see `args_at_root`).
|
|
2901
|
+
*/
|
|
2902
|
+
parameter_type?: 'json' | 'form';
|
|
2840
2903
|
/**
|
|
2841
2904
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
2842
2905
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -3475,6 +3538,12 @@ export declare namespace LlmCreateParams {
|
|
|
3475
3538
|
* The time to wait before considering transfer fails.
|
|
3476
3539
|
*/
|
|
3477
3540
|
agent_detection_timeout_ms?: number;
|
|
3541
|
+
/**
|
|
3542
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
3543
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
3544
|
+
* create-asset).
|
|
3545
|
+
*/
|
|
3546
|
+
custom_on_hold_music_asset_id?: string;
|
|
3478
3547
|
/**
|
|
3479
3548
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
3480
3549
|
*/
|
|
@@ -3485,9 +3554,10 @@ export declare namespace LlmCreateParams {
|
|
|
3485
3554
|
*/
|
|
3486
3555
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
3487
3556
|
/**
|
|
3488
|
-
* The music to play while the caller is being transferred.
|
|
3557
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
3558
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
3489
3559
|
*/
|
|
3490
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
3560
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
3491
3561
|
/**
|
|
3492
3562
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
3493
3563
|
* false.
|
|
@@ -3567,14 +3637,21 @@ export declare namespace LlmCreateParams {
|
|
|
3567
3637
|
* The type of the transfer.
|
|
3568
3638
|
*/
|
|
3569
3639
|
type: 'agentic_warm_transfer';
|
|
3640
|
+
/**
|
|
3641
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
3642
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
3643
|
+
* create-asset).
|
|
3644
|
+
*/
|
|
3645
|
+
custom_on_hold_music_asset_id?: string;
|
|
3570
3646
|
/**
|
|
3571
3647
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
3572
3648
|
*/
|
|
3573
3649
|
enable_bridge_audio_cue?: boolean;
|
|
3574
3650
|
/**
|
|
3575
|
-
* The music to play while the caller is being transferred.
|
|
3651
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
3652
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
3576
3653
|
*/
|
|
3577
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
3654
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
3578
3655
|
/**
|
|
3579
3656
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
3580
3657
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -3895,6 +3972,13 @@ export declare namespace LlmCreateParams {
|
|
|
3895
3972
|
* Method to use for the request, default to POST.
|
|
3896
3973
|
*/
|
|
3897
3974
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
3975
|
+
/**
|
|
3976
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
3977
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
3978
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
3979
|
+
* is encoded (see `args_at_root`).
|
|
3980
|
+
*/
|
|
3981
|
+
parameter_type?: 'json' | 'form';
|
|
3898
3982
|
/**
|
|
3899
3983
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
3900
3984
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -4361,7 +4445,7 @@ export interface LlmUpdateParams {
|
|
|
4361
4445
|
* Body param: Select the underlying text LLM. If not set, would default to
|
|
4362
4446
|
* gpt-4.1.
|
|
4363
4447
|
*/
|
|
4364
|
-
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-
|
|
4448
|
+
model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
|
|
4365
4449
|
/**
|
|
4366
4450
|
* Body param: If set to true, will use high priority pool with more dedicated
|
|
4367
4451
|
* resource to ensure lower and more consistent latency, default to false. This
|
|
@@ -4543,6 +4627,12 @@ export declare namespace LlmUpdateParams {
|
|
|
4543
4627
|
* The time to wait before considering transfer fails.
|
|
4544
4628
|
*/
|
|
4545
4629
|
agent_detection_timeout_ms?: number;
|
|
4630
|
+
/**
|
|
4631
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
4632
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
4633
|
+
* create-asset).
|
|
4634
|
+
*/
|
|
4635
|
+
custom_on_hold_music_asset_id?: string;
|
|
4546
4636
|
/**
|
|
4547
4637
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
4548
4638
|
*/
|
|
@@ -4553,9 +4643,10 @@ export declare namespace LlmUpdateParams {
|
|
|
4553
4643
|
*/
|
|
4554
4644
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
4555
4645
|
/**
|
|
4556
|
-
* The music to play while the caller is being transferred.
|
|
4646
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
4647
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
4557
4648
|
*/
|
|
4558
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
4649
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
4559
4650
|
/**
|
|
4560
4651
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
4561
4652
|
* false.
|
|
@@ -4635,14 +4726,21 @@ export declare namespace LlmUpdateParams {
|
|
|
4635
4726
|
* The type of the transfer.
|
|
4636
4727
|
*/
|
|
4637
4728
|
type: 'agentic_warm_transfer';
|
|
4729
|
+
/**
|
|
4730
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
4731
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
4732
|
+
* create-asset).
|
|
4733
|
+
*/
|
|
4734
|
+
custom_on_hold_music_asset_id?: string;
|
|
4638
4735
|
/**
|
|
4639
4736
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
4640
4737
|
*/
|
|
4641
4738
|
enable_bridge_audio_cue?: boolean;
|
|
4642
4739
|
/**
|
|
4643
|
-
* The music to play while the caller is being transferred.
|
|
4740
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
4741
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
4644
4742
|
*/
|
|
4645
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
4743
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
4646
4744
|
/**
|
|
4647
4745
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
4648
4746
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -4963,6 +5061,13 @@ export declare namespace LlmUpdateParams {
|
|
|
4963
5061
|
* Method to use for the request, default to POST.
|
|
4964
5062
|
*/
|
|
4965
5063
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
5064
|
+
/**
|
|
5065
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
5066
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
5067
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
5068
|
+
* is encoded (see `args_at_root`).
|
|
5069
|
+
*/
|
|
5070
|
+
parameter_type?: 'json' | 'form';
|
|
4966
5071
|
/**
|
|
4967
5072
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
4968
5073
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -5601,6 +5706,12 @@ export declare namespace LlmUpdateParams {
|
|
|
5601
5706
|
* The time to wait before considering transfer fails.
|
|
5602
5707
|
*/
|
|
5603
5708
|
agent_detection_timeout_ms?: number;
|
|
5709
|
+
/**
|
|
5710
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
5711
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
5712
|
+
* create-asset).
|
|
5713
|
+
*/
|
|
5714
|
+
custom_on_hold_music_asset_id?: string;
|
|
5604
5715
|
/**
|
|
5605
5716
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
5606
5717
|
*/
|
|
@@ -5611,9 +5722,10 @@ export declare namespace LlmUpdateParams {
|
|
|
5611
5722
|
*/
|
|
5612
5723
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
5613
5724
|
/**
|
|
5614
|
-
* The music to play while the caller is being transferred.
|
|
5725
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
5726
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
5615
5727
|
*/
|
|
5616
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
5728
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
5617
5729
|
/**
|
|
5618
5730
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
5619
5731
|
* false.
|
|
@@ -5693,14 +5805,21 @@ export declare namespace LlmUpdateParams {
|
|
|
5693
5805
|
* The type of the transfer.
|
|
5694
5806
|
*/
|
|
5695
5807
|
type: 'agentic_warm_transfer';
|
|
5808
|
+
/**
|
|
5809
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
5810
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
5811
|
+
* create-asset).
|
|
5812
|
+
*/
|
|
5813
|
+
custom_on_hold_music_asset_id?: string;
|
|
5696
5814
|
/**
|
|
5697
5815
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
5698
5816
|
*/
|
|
5699
5817
|
enable_bridge_audio_cue?: boolean;
|
|
5700
5818
|
/**
|
|
5701
|
-
* The music to play while the caller is being transferred.
|
|
5819
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
5820
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
5702
5821
|
*/
|
|
5703
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
5822
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
5704
5823
|
/**
|
|
5705
5824
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
5706
5825
|
* transferee and the agent receiving the transfer. Can leave either a static
|
|
@@ -6021,6 +6140,13 @@ export declare namespace LlmUpdateParams {
|
|
|
6021
6140
|
* Method to use for the request, default to POST.
|
|
6022
6141
|
*/
|
|
6023
6142
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
6143
|
+
/**
|
|
6144
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
6145
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
6146
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
6147
|
+
* is encoded (see `args_at_root`).
|
|
6148
|
+
*/
|
|
6149
|
+
parameter_type?: 'json' | 'form';
|
|
6024
6150
|
/**
|
|
6025
6151
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
6026
6152
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|