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/src/resources/llm.ts
CHANGED
|
@@ -189,7 +189,6 @@ export interface LlmResponse {
|
|
|
189
189
|
| 'claude-4.5-sonnet'
|
|
190
190
|
| 'claude-4.6-sonnet'
|
|
191
191
|
| 'claude-4.5-haiku'
|
|
192
|
-
| 'gemini-2.5-flash-lite'
|
|
193
192
|
| 'gemini-3.0-flash'
|
|
194
193
|
| 'gemini-3.1-flash-lite'
|
|
195
194
|
| null;
|
|
@@ -417,6 +416,13 @@ export namespace LlmResponse {
|
|
|
417
416
|
*/
|
|
418
417
|
agent_detection_timeout_ms?: number;
|
|
419
418
|
|
|
419
|
+
/**
|
|
420
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
421
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
422
|
+
* create-asset).
|
|
423
|
+
*/
|
|
424
|
+
custom_on_hold_music_asset_id?: string;
|
|
425
|
+
|
|
420
426
|
/**
|
|
421
427
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
422
428
|
*/
|
|
@@ -429,9 +435,10 @@ export namespace LlmResponse {
|
|
|
429
435
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
430
436
|
|
|
431
437
|
/**
|
|
432
|
-
* The music to play while the caller is being transferred.
|
|
438
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
439
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
433
440
|
*/
|
|
434
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
441
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
435
442
|
|
|
436
443
|
/**
|
|
437
444
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -533,15 +540,23 @@ export namespace LlmResponse {
|
|
|
533
540
|
*/
|
|
534
541
|
type: 'agentic_warm_transfer';
|
|
535
542
|
|
|
543
|
+
/**
|
|
544
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
545
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
546
|
+
* create-asset).
|
|
547
|
+
*/
|
|
548
|
+
custom_on_hold_music_asset_id?: string;
|
|
549
|
+
|
|
536
550
|
/**
|
|
537
551
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
538
552
|
*/
|
|
539
553
|
enable_bridge_audio_cue?: boolean;
|
|
540
554
|
|
|
541
555
|
/**
|
|
542
|
-
* The music to play while the caller is being transferred.
|
|
556
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
557
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
543
558
|
*/
|
|
544
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
559
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
545
560
|
|
|
546
561
|
/**
|
|
547
562
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -929,6 +944,14 @@ export namespace LlmResponse {
|
|
|
929
944
|
*/
|
|
930
945
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
931
946
|
|
|
947
|
+
/**
|
|
948
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
949
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
950
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
951
|
+
* is encoded (see `args_at_root`).
|
|
952
|
+
*/
|
|
953
|
+
parameter_type?: 'json' | 'form';
|
|
954
|
+
|
|
932
955
|
/**
|
|
933
956
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
934
957
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -1689,6 +1712,13 @@ export namespace LlmResponse {
|
|
|
1689
1712
|
*/
|
|
1690
1713
|
agent_detection_timeout_ms?: number;
|
|
1691
1714
|
|
|
1715
|
+
/**
|
|
1716
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
1717
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
1718
|
+
* create-asset).
|
|
1719
|
+
*/
|
|
1720
|
+
custom_on_hold_music_asset_id?: string;
|
|
1721
|
+
|
|
1692
1722
|
/**
|
|
1693
1723
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
1694
1724
|
*/
|
|
@@ -1701,9 +1731,10 @@ export namespace LlmResponse {
|
|
|
1701
1731
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
1702
1732
|
|
|
1703
1733
|
/**
|
|
1704
|
-
* The music to play while the caller is being transferred.
|
|
1734
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
1735
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
1705
1736
|
*/
|
|
1706
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
1737
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
1707
1738
|
|
|
1708
1739
|
/**
|
|
1709
1740
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -1805,15 +1836,23 @@ export namespace LlmResponse {
|
|
|
1805
1836
|
*/
|
|
1806
1837
|
type: 'agentic_warm_transfer';
|
|
1807
1838
|
|
|
1839
|
+
/**
|
|
1840
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
1841
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
1842
|
+
* create-asset).
|
|
1843
|
+
*/
|
|
1844
|
+
custom_on_hold_music_asset_id?: string;
|
|
1845
|
+
|
|
1808
1846
|
/**
|
|
1809
1847
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
1810
1848
|
*/
|
|
1811
1849
|
enable_bridge_audio_cue?: boolean;
|
|
1812
1850
|
|
|
1813
1851
|
/**
|
|
1814
|
-
* The music to play while the caller is being transferred.
|
|
1852
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
1853
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
1815
1854
|
*/
|
|
1816
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
1855
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
1817
1856
|
|
|
1818
1857
|
/**
|
|
1819
1858
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -2201,6 +2240,14 @@ export namespace LlmResponse {
|
|
|
2201
2240
|
*/
|
|
2202
2241
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
2203
2242
|
|
|
2243
|
+
/**
|
|
2244
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
2245
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
2246
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
2247
|
+
* is encoded (see `args_at_root`).
|
|
2248
|
+
*/
|
|
2249
|
+
parameter_type?: 'json' | 'form';
|
|
2250
|
+
|
|
2204
2251
|
/**
|
|
2205
2252
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
2206
2253
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -2754,7 +2801,6 @@ export interface LlmCreateParams {
|
|
|
2754
2801
|
| 'claude-4.5-sonnet'
|
|
2755
2802
|
| 'claude-4.6-sonnet'
|
|
2756
2803
|
| 'claude-4.5-haiku'
|
|
2757
|
-
| 'gemini-2.5-flash-lite'
|
|
2758
2804
|
| 'gemini-3.0-flash'
|
|
2759
2805
|
| 'gemini-3.1-flash-lite'
|
|
2760
2806
|
| null;
|
|
@@ -2977,6 +3023,13 @@ export namespace LlmCreateParams {
|
|
|
2977
3023
|
*/
|
|
2978
3024
|
agent_detection_timeout_ms?: number;
|
|
2979
3025
|
|
|
3026
|
+
/**
|
|
3027
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
3028
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
3029
|
+
* create-asset).
|
|
3030
|
+
*/
|
|
3031
|
+
custom_on_hold_music_asset_id?: string;
|
|
3032
|
+
|
|
2980
3033
|
/**
|
|
2981
3034
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
2982
3035
|
*/
|
|
@@ -2989,9 +3042,10 @@ export namespace LlmCreateParams {
|
|
|
2989
3042
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
2990
3043
|
|
|
2991
3044
|
/**
|
|
2992
|
-
* The music to play while the caller is being transferred.
|
|
3045
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
3046
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
2993
3047
|
*/
|
|
2994
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
3048
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
2995
3049
|
|
|
2996
3050
|
/**
|
|
2997
3051
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -3093,15 +3147,23 @@ export namespace LlmCreateParams {
|
|
|
3093
3147
|
*/
|
|
3094
3148
|
type: 'agentic_warm_transfer';
|
|
3095
3149
|
|
|
3150
|
+
/**
|
|
3151
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
3152
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
3153
|
+
* create-asset).
|
|
3154
|
+
*/
|
|
3155
|
+
custom_on_hold_music_asset_id?: string;
|
|
3156
|
+
|
|
3096
3157
|
/**
|
|
3097
3158
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
3098
3159
|
*/
|
|
3099
3160
|
enable_bridge_audio_cue?: boolean;
|
|
3100
3161
|
|
|
3101
3162
|
/**
|
|
3102
|
-
* The music to play while the caller is being transferred.
|
|
3163
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
3164
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
3103
3165
|
*/
|
|
3104
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
3166
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
3105
3167
|
|
|
3106
3168
|
/**
|
|
3107
3169
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -3489,6 +3551,14 @@ export namespace LlmCreateParams {
|
|
|
3489
3551
|
*/
|
|
3490
3552
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
3491
3553
|
|
|
3554
|
+
/**
|
|
3555
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
3556
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
3557
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
3558
|
+
* is encoded (see `args_at_root`).
|
|
3559
|
+
*/
|
|
3560
|
+
parameter_type?: 'json' | 'form';
|
|
3561
|
+
|
|
3492
3562
|
/**
|
|
3493
3563
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
3494
3564
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -4249,6 +4319,13 @@ export namespace LlmCreateParams {
|
|
|
4249
4319
|
*/
|
|
4250
4320
|
agent_detection_timeout_ms?: number;
|
|
4251
4321
|
|
|
4322
|
+
/**
|
|
4323
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
4324
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
4325
|
+
* create-asset).
|
|
4326
|
+
*/
|
|
4327
|
+
custom_on_hold_music_asset_id?: string;
|
|
4328
|
+
|
|
4252
4329
|
/**
|
|
4253
4330
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
4254
4331
|
*/
|
|
@@ -4261,9 +4338,10 @@ export namespace LlmCreateParams {
|
|
|
4261
4338
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
4262
4339
|
|
|
4263
4340
|
/**
|
|
4264
|
-
* The music to play while the caller is being transferred.
|
|
4341
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
4342
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
4265
4343
|
*/
|
|
4266
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
4344
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
4267
4345
|
|
|
4268
4346
|
/**
|
|
4269
4347
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -4365,15 +4443,23 @@ export namespace LlmCreateParams {
|
|
|
4365
4443
|
*/
|
|
4366
4444
|
type: 'agentic_warm_transfer';
|
|
4367
4445
|
|
|
4446
|
+
/**
|
|
4447
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
4448
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
4449
|
+
* create-asset).
|
|
4450
|
+
*/
|
|
4451
|
+
custom_on_hold_music_asset_id?: string;
|
|
4452
|
+
|
|
4368
4453
|
/**
|
|
4369
4454
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
4370
4455
|
*/
|
|
4371
4456
|
enable_bridge_audio_cue?: boolean;
|
|
4372
4457
|
|
|
4373
4458
|
/**
|
|
4374
|
-
* The music to play while the caller is being transferred.
|
|
4459
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
4460
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
4375
4461
|
*/
|
|
4376
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
4462
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
4377
4463
|
|
|
4378
4464
|
/**
|
|
4379
4465
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -4761,6 +4847,14 @@ export namespace LlmCreateParams {
|
|
|
4761
4847
|
*/
|
|
4762
4848
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
4763
4849
|
|
|
4850
|
+
/**
|
|
4851
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
4852
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
4853
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
4854
|
+
* is encoded (see `args_at_root`).
|
|
4855
|
+
*/
|
|
4856
|
+
parameter_type?: 'json' | 'form';
|
|
4857
|
+
|
|
4764
4858
|
/**
|
|
4765
4859
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
4766
4860
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -5333,7 +5427,6 @@ export interface LlmUpdateParams {
|
|
|
5333
5427
|
| 'claude-4.5-sonnet'
|
|
5334
5428
|
| 'claude-4.6-sonnet'
|
|
5335
5429
|
| 'claude-4.5-haiku'
|
|
5336
|
-
| 'gemini-2.5-flash-lite'
|
|
5337
5430
|
| 'gemini-3.0-flash'
|
|
5338
5431
|
| 'gemini-3.1-flash-lite'
|
|
5339
5432
|
| null;
|
|
@@ -5556,6 +5649,13 @@ export namespace LlmUpdateParams {
|
|
|
5556
5649
|
*/
|
|
5557
5650
|
agent_detection_timeout_ms?: number;
|
|
5558
5651
|
|
|
5652
|
+
/**
|
|
5653
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
5654
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
5655
|
+
* create-asset).
|
|
5656
|
+
*/
|
|
5657
|
+
custom_on_hold_music_asset_id?: string;
|
|
5658
|
+
|
|
5559
5659
|
/**
|
|
5560
5660
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
5561
5661
|
*/
|
|
@@ -5568,9 +5668,10 @@ export namespace LlmUpdateParams {
|
|
|
5568
5668
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
5569
5669
|
|
|
5570
5670
|
/**
|
|
5571
|
-
* The music to play while the caller is being transferred.
|
|
5671
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
5672
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
5572
5673
|
*/
|
|
5573
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
5674
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
5574
5675
|
|
|
5575
5676
|
/**
|
|
5576
5677
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -5672,15 +5773,23 @@ export namespace LlmUpdateParams {
|
|
|
5672
5773
|
*/
|
|
5673
5774
|
type: 'agentic_warm_transfer';
|
|
5674
5775
|
|
|
5776
|
+
/**
|
|
5777
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
5778
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
5779
|
+
* create-asset).
|
|
5780
|
+
*/
|
|
5781
|
+
custom_on_hold_music_asset_id?: string;
|
|
5782
|
+
|
|
5675
5783
|
/**
|
|
5676
5784
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
5677
5785
|
*/
|
|
5678
5786
|
enable_bridge_audio_cue?: boolean;
|
|
5679
5787
|
|
|
5680
5788
|
/**
|
|
5681
|
-
* The music to play while the caller is being transferred.
|
|
5789
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
5790
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
5682
5791
|
*/
|
|
5683
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
5792
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
5684
5793
|
|
|
5685
5794
|
/**
|
|
5686
5795
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -6068,6 +6177,14 @@ export namespace LlmUpdateParams {
|
|
|
6068
6177
|
*/
|
|
6069
6178
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
6070
6179
|
|
|
6180
|
+
/**
|
|
6181
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
6182
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
6183
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
6184
|
+
* is encoded (see `args_at_root`).
|
|
6185
|
+
*/
|
|
6186
|
+
parameter_type?: 'json' | 'form';
|
|
6187
|
+
|
|
6071
6188
|
/**
|
|
6072
6189
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
6073
6190
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
|
@@ -6828,6 +6945,13 @@ export namespace LlmUpdateParams {
|
|
|
6828
6945
|
*/
|
|
6829
6946
|
agent_detection_timeout_ms?: number;
|
|
6830
6947
|
|
|
6948
|
+
/**
|
|
6949
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
6950
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
6951
|
+
* create-asset).
|
|
6952
|
+
*/
|
|
6953
|
+
custom_on_hold_music_asset_id?: string;
|
|
6954
|
+
|
|
6831
6955
|
/**
|
|
6832
6956
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
6833
6957
|
*/
|
|
@@ -6840,9 +6964,10 @@ export namespace LlmUpdateParams {
|
|
|
6840
6964
|
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
6841
6965
|
|
|
6842
6966
|
/**
|
|
6843
|
-
* The music to play while the caller is being transferred.
|
|
6967
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
6968
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
6844
6969
|
*/
|
|
6845
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
6970
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
6846
6971
|
|
|
6847
6972
|
/**
|
|
6848
6973
|
* If set to true, will not perform human detection for the transfer. Default to
|
|
@@ -6944,15 +7069,23 @@ export namespace LlmUpdateParams {
|
|
|
6944
7069
|
*/
|
|
6945
7070
|
type: 'agentic_warm_transfer';
|
|
6946
7071
|
|
|
7072
|
+
/**
|
|
7073
|
+
* Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
|
|
7074
|
+
* `custom`. Must reference an audio asset owned by the organization (see
|
|
7075
|
+
* create-asset).
|
|
7076
|
+
*/
|
|
7077
|
+
custom_on_hold_music_asset_id?: string;
|
|
7078
|
+
|
|
6947
7079
|
/**
|
|
6948
7080
|
* Whether to play an audio cue when bridging the call. Defaults to true.
|
|
6949
7081
|
*/
|
|
6950
7082
|
enable_bridge_audio_cue?: boolean;
|
|
6951
7083
|
|
|
6952
7084
|
/**
|
|
6953
|
-
* The music to play while the caller is being transferred.
|
|
7085
|
+
* The music to play while the caller is being transferred. Use `custom` together
|
|
7086
|
+
* with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
|
|
6954
7087
|
*/
|
|
6955
|
-
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
|
|
7088
|
+
on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
|
|
6956
7089
|
|
|
6957
7090
|
/**
|
|
6958
7091
|
* If set, when transfer is successful, will say the handoff message to both the
|
|
@@ -7340,6 +7473,14 @@ export namespace LlmUpdateParams {
|
|
|
7340
7473
|
*/
|
|
7341
7474
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
7342
7475
|
|
|
7476
|
+
/**
|
|
7477
|
+
* How the tool's `parameters` are authored and shown in the dashboard editor —
|
|
7478
|
+
* "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
|
|
7479
|
+
* produce the same `parameters` schema; this does not change how the request body
|
|
7480
|
+
* is encoded (see `args_at_root`).
|
|
7481
|
+
*/
|
|
7482
|
+
parameter_type?: 'json' | 'form';
|
|
7483
|
+
|
|
7343
7484
|
/**
|
|
7344
7485
|
* The parameters the functions accepts, described as a JSON Schema object. See
|
|
7345
7486
|
* [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
package/src/resources/tests.ts
CHANGED
|
@@ -226,7 +226,6 @@ export interface TestCaseDefinitionResponse {
|
|
|
226
226
|
| 'claude-4.5-sonnet'
|
|
227
227
|
| 'claude-4.6-sonnet'
|
|
228
228
|
| 'claude-4.5-haiku'
|
|
229
|
-
| 'gemini-2.5-flash-lite'
|
|
230
229
|
| 'gemini-3.0-flash'
|
|
231
230
|
| 'gemini-3.1-flash-lite';
|
|
232
231
|
|
|
@@ -489,7 +488,6 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
489
488
|
| 'claude-4.5-sonnet'
|
|
490
489
|
| 'claude-4.6-sonnet'
|
|
491
490
|
| 'claude-4.5-haiku'
|
|
492
|
-
| 'gemini-2.5-flash-lite'
|
|
493
491
|
| 'gemini-3.0-flash'
|
|
494
492
|
| 'gemini-3.1-flash-lite';
|
|
495
493
|
|
|
@@ -632,7 +630,6 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
632
630
|
| 'claude-4.5-sonnet'
|
|
633
631
|
| 'claude-4.6-sonnet'
|
|
634
632
|
| 'claude-4.5-haiku'
|
|
635
|
-
| 'gemini-2.5-flash-lite'
|
|
636
633
|
| 'gemini-3.0-flash'
|
|
637
634
|
| 'gemini-3.1-flash-lite';
|
|
638
635
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.40.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.40.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.40.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.40.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|