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.
Files changed (54) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts.map +1 -1
  4. package/client.js +9 -1
  5. package/client.js.map +1 -1
  6. package/client.mjs +9 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/agent.d.mts +3 -3
  10. package/resources/agent.d.mts.map +1 -1
  11. package/resources/agent.d.ts +3 -3
  12. package/resources/agent.d.ts.map +1 -1
  13. package/resources/batch-call.d.mts +3 -3
  14. package/resources/batch-call.d.mts.map +1 -1
  15. package/resources/batch-call.d.ts +3 -3
  16. package/resources/batch-call.d.ts.map +1 -1
  17. package/resources/call.d.mts +9 -9
  18. package/resources/call.d.mts.map +1 -1
  19. package/resources/call.d.ts +9 -9
  20. package/resources/call.d.ts.map +1 -1
  21. package/resources/chat-agent.d.mts +3 -3
  22. package/resources/chat-agent.d.mts.map +1 -1
  23. package/resources/chat-agent.d.ts +3 -3
  24. package/resources/chat-agent.d.ts.map +1 -1
  25. package/resources/conversation-flow-component.d.mts +192 -66
  26. package/resources/conversation-flow-component.d.mts.map +1 -1
  27. package/resources/conversation-flow-component.d.ts +192 -66
  28. package/resources/conversation-flow-component.d.ts.map +1 -1
  29. package/resources/conversation-flow.d.mts +392 -135
  30. package/resources/conversation-flow.d.mts.map +1 -1
  31. package/resources/conversation-flow.d.ts +392 -135
  32. package/resources/conversation-flow.d.ts.map +1 -1
  33. package/resources/llm.d.mts +153 -27
  34. package/resources/llm.d.mts.map +1 -1
  35. package/resources/llm.d.ts +153 -27
  36. package/resources/llm.d.ts.map +1 -1
  37. package/resources/tests.d.mts +3 -3
  38. package/resources/tests.d.mts.map +1 -1
  39. package/resources/tests.d.ts +3 -3
  40. package/resources/tests.d.ts.map +1 -1
  41. package/src/client.ts +9 -1
  42. package/src/resources/agent.ts +0 -3
  43. package/src/resources/batch-call.ts +0 -3
  44. package/src/resources/call.ts +0 -9
  45. package/src/resources/chat-agent.ts +0 -3
  46. package/src/resources/conversation-flow-component.ts +168 -66
  47. package/src/resources/conversation-flow.ts +342 -135
  48. package/src/resources/llm.ts +168 -27
  49. package/src/resources/tests.ts +0 -3
  50. package/src/version.ts +1 -1
  51. package/version.d.mts +1 -1
  52. package/version.d.ts +1 -1
  53. package/version.js +1 -1
  54. package/version.mjs +1 -1
@@ -117,6 +117,12 @@ export interface ConversationFlowResponse {
117
117
  */
118
118
  conversation_flow_id: string;
119
119
 
120
+ /**
121
+ * Last modification timestamp (milliseconds since epoch). Either the time of last
122
+ * update or creation if no updates available.
123
+ */
124
+ last_modification_timestamp: number;
125
+
120
126
  /**
121
127
  * Version number of the conversation flow
122
128
  */
@@ -908,7 +914,6 @@ export namespace ConversationFlowResponse {
908
914
  | 'claude-4.5-sonnet'
909
915
  | 'claude-4.6-sonnet'
910
916
  | 'claude-4.5-haiku'
911
- | 'gemini-2.5-flash-lite'
912
917
  | 'gemini-3.0-flash'
913
918
  | 'gemini-3.1-flash-lite';
914
919
 
@@ -1612,7 +1617,6 @@ export namespace ConversationFlowResponse {
1612
1617
  | 'claude-4.5-sonnet'
1613
1618
  | 'claude-4.6-sonnet'
1614
1619
  | 'claude-4.5-haiku'
1615
- | 'gemini-2.5-flash-lite'
1616
1620
  | 'gemini-3.0-flash'
1617
1621
  | 'gemini-3.1-flash-lite';
1618
1622
 
@@ -1873,6 +1877,13 @@ export namespace ConversationFlowResponse {
1873
1877
  */
1874
1878
  agent_detection_timeout_ms?: number;
1875
1879
 
1880
+ /**
1881
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
1882
+ * `custom`. Must reference an audio asset owned by the organization (see
1883
+ * create-asset).
1884
+ */
1885
+ custom_on_hold_music_asset_id?: string;
1886
+
1876
1887
  /**
1877
1888
  * Whether to play an audio cue when bridging the call. Defaults to true.
1878
1889
  */
@@ -1885,9 +1896,10 @@ export namespace ConversationFlowResponse {
1885
1896
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
1886
1897
 
1887
1898
  /**
1888
- * The music to play while the caller is being transferred.
1899
+ * The music to play while the caller is being transferred. Use `custom` together
1900
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1889
1901
  */
1890
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
1902
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
1891
1903
 
1892
1904
  /**
1893
1905
  * If set to true, will not perform human detection for the transfer. Default to
@@ -1989,15 +2001,23 @@ export namespace ConversationFlowResponse {
1989
2001
  */
1990
2002
  type: 'agentic_warm_transfer';
1991
2003
 
2004
+ /**
2005
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
2006
+ * `custom`. Must reference an audio asset owned by the organization (see
2007
+ * create-asset).
2008
+ */
2009
+ custom_on_hold_music_asset_id?: string;
2010
+
1992
2011
  /**
1993
2012
  * Whether to play an audio cue when bridging the call. Defaults to true.
1994
2013
  */
1995
2014
  enable_bridge_audio_cue?: boolean;
1996
2015
 
1997
2016
  /**
1998
- * The music to play while the caller is being transferred.
2017
+ * The music to play while the caller is being transferred. Use `custom` together
2018
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1999
2019
  */
2000
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
2020
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
2001
2021
 
2002
2022
  /**
2003
2023
  * If set, when transfer is successful, will say the handoff message to both the
@@ -2385,6 +2405,14 @@ export namespace ConversationFlowResponse {
2385
2405
  */
2386
2406
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
2387
2407
 
2408
+ /**
2409
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
2410
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
2411
+ * produce the same `parameters` schema; this does not change how the request body
2412
+ * is encoded (see `args_at_root`).
2413
+ */
2414
+ parameter_type?: 'json' | 'form';
2415
+
2388
2416
  /**
2389
2417
  * The parameters the functions accepts, described as a JSON Schema object. See
2390
2418
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -3090,7 +3118,6 @@ export namespace ConversationFlowResponse {
3090
3118
  | 'claude-4.5-sonnet'
3091
3119
  | 'claude-4.6-sonnet'
3092
3120
  | 'claude-4.5-haiku'
3093
- | 'gemini-2.5-flash-lite'
3094
3121
  | 'gemini-3.0-flash'
3095
3122
  | 'gemini-3.1-flash-lite';
3096
3123
 
@@ -3565,7 +3592,6 @@ export namespace ConversationFlowResponse {
3565
3592
  | 'claude-4.5-sonnet'
3566
3593
  | 'claude-4.6-sonnet'
3567
3594
  | 'claude-4.5-haiku'
3568
- | 'gemini-2.5-flash-lite'
3569
3595
  | 'gemini-3.0-flash'
3570
3596
  | 'gemini-3.1-flash-lite';
3571
3597
 
@@ -4047,7 +4073,6 @@ export namespace ConversationFlowResponse {
4047
4073
  | 'claude-4.5-sonnet'
4048
4074
  | 'claude-4.6-sonnet'
4049
4075
  | 'claude-4.5-haiku'
4050
- | 'gemini-2.5-flash-lite'
4051
4076
  | 'gemini-3.0-flash'
4052
4077
  | 'gemini-3.1-flash-lite';
4053
4078
 
@@ -4272,6 +4297,13 @@ export namespace ConversationFlowResponse {
4272
4297
  */
4273
4298
  agent_detection_timeout_ms?: number;
4274
4299
 
4300
+ /**
4301
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
4302
+ * `custom`. Must reference an audio asset owned by the organization (see
4303
+ * create-asset).
4304
+ */
4305
+ custom_on_hold_music_asset_id?: string;
4306
+
4275
4307
  /**
4276
4308
  * Whether to play an audio cue when bridging the call. Defaults to true.
4277
4309
  */
@@ -4284,9 +4316,10 @@ export namespace ConversationFlowResponse {
4284
4316
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
4285
4317
 
4286
4318
  /**
4287
- * The music to play while the caller is being transferred.
4319
+ * The music to play while the caller is being transferred. Use `custom` together
4320
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
4288
4321
  */
4289
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
4322
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
4290
4323
 
4291
4324
  /**
4292
4325
  * If set to true, will not perform human detection for the transfer. Default to
@@ -4388,15 +4421,23 @@ export namespace ConversationFlowResponse {
4388
4421
  */
4389
4422
  type: 'agentic_warm_transfer';
4390
4423
 
4424
+ /**
4425
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
4426
+ * `custom`. Must reference an audio asset owned by the organization (see
4427
+ * create-asset).
4428
+ */
4429
+ custom_on_hold_music_asset_id?: string;
4430
+
4391
4431
  /**
4392
4432
  * Whether to play an audio cue when bridging the call. Defaults to true.
4393
4433
  */
4394
4434
  enable_bridge_audio_cue?: boolean;
4395
4435
 
4396
4436
  /**
4397
- * The music to play while the caller is being transferred.
4437
+ * The music to play while the caller is being transferred. Use `custom` together
4438
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
4398
4439
  */
4399
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
4440
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
4400
4441
 
4401
4442
  /**
4402
4443
  * If set, when transfer is successful, will say the handoff message to both the
@@ -4700,7 +4741,6 @@ export namespace ConversationFlowResponse {
4700
4741
  | 'claude-4.5-sonnet'
4701
4742
  | 'claude-4.6-sonnet'
4702
4743
  | 'claude-4.5-haiku'
4703
- | 'gemini-2.5-flash-lite'
4704
4744
  | 'gemini-3.0-flash'
4705
4745
  | 'gemini-3.1-flash-lite';
4706
4746
 
@@ -5143,7 +5183,6 @@ export namespace ConversationFlowResponse {
5143
5183
  | 'claude-4.5-sonnet'
5144
5184
  | 'claude-4.6-sonnet'
5145
5185
  | 'claude-4.5-haiku'
5146
- | 'gemini-2.5-flash-lite'
5147
5186
  | 'gemini-3.0-flash'
5148
5187
  | 'gemini-3.1-flash-lite';
5149
5188
 
@@ -5567,7 +5606,6 @@ export namespace ConversationFlowResponse {
5567
5606
  | 'claude-4.5-sonnet'
5568
5607
  | 'claude-4.6-sonnet'
5569
5608
  | 'claude-4.5-haiku'
5570
- | 'gemini-2.5-flash-lite'
5571
5609
  | 'gemini-3.0-flash'
5572
5610
  | 'gemini-3.1-flash-lite';
5573
5611
 
@@ -6004,7 +6042,6 @@ export namespace ConversationFlowResponse {
6004
6042
  | 'claude-4.5-sonnet'
6005
6043
  | 'claude-4.6-sonnet'
6006
6044
  | 'claude-4.5-haiku'
6007
- | 'gemini-2.5-flash-lite'
6008
6045
  | 'gemini-3.0-flash'
6009
6046
  | 'gemini-3.1-flash-lite';
6010
6047
 
@@ -6570,7 +6607,6 @@ export namespace ConversationFlowResponse {
6570
6607
  | 'claude-4.5-sonnet'
6571
6608
  | 'claude-4.6-sonnet'
6572
6609
  | 'claude-4.5-haiku'
6573
- | 'gemini-2.5-flash-lite'
6574
6610
  | 'gemini-3.0-flash'
6575
6611
  | 'gemini-3.1-flash-lite';
6576
6612
 
@@ -6954,7 +6990,6 @@ export namespace ConversationFlowResponse {
6954
6990
  | 'claude-4.5-sonnet'
6955
6991
  | 'claude-4.6-sonnet'
6956
6992
  | 'claude-4.5-haiku'
6957
- | 'gemini-2.5-flash-lite'
6958
6993
  | 'gemini-3.0-flash'
6959
6994
  | 'gemini-3.1-flash-lite';
6960
6995
 
@@ -7438,7 +7473,6 @@ export namespace ConversationFlowResponse {
7438
7473
  | 'claude-4.5-sonnet'
7439
7474
  | 'claude-4.6-sonnet'
7440
7475
  | 'claude-4.5-haiku'
7441
- | 'gemini-2.5-flash-lite'
7442
7476
  | 'gemini-3.0-flash'
7443
7477
  | 'gemini-3.1-flash-lite';
7444
7478
 
@@ -8119,7 +8153,6 @@ export namespace ConversationFlowResponse {
8119
8153
  | 'claude-4.5-sonnet'
8120
8154
  | 'claude-4.6-sonnet'
8121
8155
  | 'claude-4.5-haiku'
8122
- | 'gemini-2.5-flash-lite'
8123
8156
  | 'gemini-3.0-flash'
8124
8157
  | 'gemini-3.1-flash-lite';
8125
8158
 
@@ -8391,7 +8424,6 @@ export namespace ConversationFlowResponse {
8391
8424
  | 'claude-4.5-sonnet'
8392
8425
  | 'claude-4.6-sonnet'
8393
8426
  | 'claude-4.5-haiku'
8394
- | 'gemini-2.5-flash-lite'
8395
8427
  | 'gemini-3.0-flash'
8396
8428
  | 'gemini-3.1-flash-lite';
8397
8429
 
@@ -8545,6 +8577,14 @@ export namespace ConversationFlowResponse {
8545
8577
  */
8546
8578
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
8547
8579
 
8580
+ /**
8581
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
8582
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
8583
+ * produce the same `parameters` schema; this does not change how the request body
8584
+ * is encoded (see `args_at_root`).
8585
+ */
8586
+ parameter_type?: 'json' | 'form';
8587
+
8548
8588
  /**
8549
8589
  * The parameters the functions accepts, described as a JSON Schema object. See
8550
8590
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -8776,7 +8816,6 @@ export namespace ConversationFlowResponse {
8776
8816
  | 'claude-4.5-sonnet'
8777
8817
  | 'claude-4.6-sonnet'
8778
8818
  | 'claude-4.5-haiku'
8779
- | 'gemini-2.5-flash-lite'
8780
8819
  | 'gemini-3.0-flash'
8781
8820
  | 'gemini-3.1-flash-lite';
8782
8821
 
@@ -9388,7 +9427,6 @@ export namespace ConversationFlowResponse {
9388
9427
  | 'claude-4.5-sonnet'
9389
9428
  | 'claude-4.6-sonnet'
9390
9429
  | 'claude-4.5-haiku'
9391
- | 'gemini-2.5-flash-lite'
9392
9430
  | 'gemini-3.0-flash'
9393
9431
  | 'gemini-3.1-flash-lite';
9394
9432
 
@@ -10092,7 +10130,6 @@ export namespace ConversationFlowResponse {
10092
10130
  | 'claude-4.5-sonnet'
10093
10131
  | 'claude-4.6-sonnet'
10094
10132
  | 'claude-4.5-haiku'
10095
- | 'gemini-2.5-flash-lite'
10096
10133
  | 'gemini-3.0-flash'
10097
10134
  | 'gemini-3.1-flash-lite';
10098
10135
 
@@ -10353,6 +10390,13 @@ export namespace ConversationFlowResponse {
10353
10390
  */
10354
10391
  agent_detection_timeout_ms?: number;
10355
10392
 
10393
+ /**
10394
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
10395
+ * `custom`. Must reference an audio asset owned by the organization (see
10396
+ * create-asset).
10397
+ */
10398
+ custom_on_hold_music_asset_id?: string;
10399
+
10356
10400
  /**
10357
10401
  * Whether to play an audio cue when bridging the call. Defaults to true.
10358
10402
  */
@@ -10365,9 +10409,10 @@ export namespace ConversationFlowResponse {
10365
10409
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
10366
10410
 
10367
10411
  /**
10368
- * The music to play while the caller is being transferred.
10412
+ * The music to play while the caller is being transferred. Use `custom` together
10413
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
10369
10414
  */
10370
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
10415
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
10371
10416
 
10372
10417
  /**
10373
10418
  * If set to true, will not perform human detection for the transfer. Default to
@@ -10469,15 +10514,23 @@ export namespace ConversationFlowResponse {
10469
10514
  */
10470
10515
  type: 'agentic_warm_transfer';
10471
10516
 
10517
+ /**
10518
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
10519
+ * `custom`. Must reference an audio asset owned by the organization (see
10520
+ * create-asset).
10521
+ */
10522
+ custom_on_hold_music_asset_id?: string;
10523
+
10472
10524
  /**
10473
10525
  * Whether to play an audio cue when bridging the call. Defaults to true.
10474
10526
  */
10475
10527
  enable_bridge_audio_cue?: boolean;
10476
10528
 
10477
10529
  /**
10478
- * The music to play while the caller is being transferred.
10530
+ * The music to play while the caller is being transferred. Use `custom` together
10531
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
10479
10532
  */
10480
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
10533
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
10481
10534
 
10482
10535
  /**
10483
10536
  * If set, when transfer is successful, will say the handoff message to both the
@@ -10865,6 +10918,14 @@ export namespace ConversationFlowResponse {
10865
10918
  */
10866
10919
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
10867
10920
 
10921
+ /**
10922
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
10923
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
10924
+ * produce the same `parameters` schema; this does not change how the request body
10925
+ * is encoded (see `args_at_root`).
10926
+ */
10927
+ parameter_type?: 'json' | 'form';
10928
+
10868
10929
  /**
10869
10930
  * The parameters the functions accepts, described as a JSON Schema object. See
10870
10931
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -11570,7 +11631,6 @@ export namespace ConversationFlowResponse {
11570
11631
  | 'claude-4.5-sonnet'
11571
11632
  | 'claude-4.6-sonnet'
11572
11633
  | 'claude-4.5-haiku'
11573
- | 'gemini-2.5-flash-lite'
11574
11634
  | 'gemini-3.0-flash'
11575
11635
  | 'gemini-3.1-flash-lite';
11576
11636
 
@@ -12045,7 +12105,6 @@ export namespace ConversationFlowResponse {
12045
12105
  | 'claude-4.5-sonnet'
12046
12106
  | 'claude-4.6-sonnet'
12047
12107
  | 'claude-4.5-haiku'
12048
- | 'gemini-2.5-flash-lite'
12049
12108
  | 'gemini-3.0-flash'
12050
12109
  | 'gemini-3.1-flash-lite';
12051
12110
 
@@ -12527,7 +12586,6 @@ export namespace ConversationFlowResponse {
12527
12586
  | 'claude-4.5-sonnet'
12528
12587
  | 'claude-4.6-sonnet'
12529
12588
  | 'claude-4.5-haiku'
12530
- | 'gemini-2.5-flash-lite'
12531
12589
  | 'gemini-3.0-flash'
12532
12590
  | 'gemini-3.1-flash-lite';
12533
12591
 
@@ -12752,6 +12810,13 @@ export namespace ConversationFlowResponse {
12752
12810
  */
12753
12811
  agent_detection_timeout_ms?: number;
12754
12812
 
12813
+ /**
12814
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
12815
+ * `custom`. Must reference an audio asset owned by the organization (see
12816
+ * create-asset).
12817
+ */
12818
+ custom_on_hold_music_asset_id?: string;
12819
+
12755
12820
  /**
12756
12821
  * Whether to play an audio cue when bridging the call. Defaults to true.
12757
12822
  */
@@ -12764,9 +12829,10 @@ export namespace ConversationFlowResponse {
12764
12829
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
12765
12830
 
12766
12831
  /**
12767
- * The music to play while the caller is being transferred.
12832
+ * The music to play while the caller is being transferred. Use `custom` together
12833
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
12768
12834
  */
12769
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
12835
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
12770
12836
 
12771
12837
  /**
12772
12838
  * If set to true, will not perform human detection for the transfer. Default to
@@ -12868,15 +12934,23 @@ export namespace ConversationFlowResponse {
12868
12934
  */
12869
12935
  type: 'agentic_warm_transfer';
12870
12936
 
12937
+ /**
12938
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
12939
+ * `custom`. Must reference an audio asset owned by the organization (see
12940
+ * create-asset).
12941
+ */
12942
+ custom_on_hold_music_asset_id?: string;
12943
+
12871
12944
  /**
12872
12945
  * Whether to play an audio cue when bridging the call. Defaults to true.
12873
12946
  */
12874
12947
  enable_bridge_audio_cue?: boolean;
12875
12948
 
12876
12949
  /**
12877
- * The music to play while the caller is being transferred.
12950
+ * The music to play while the caller is being transferred. Use `custom` together
12951
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
12878
12952
  */
12879
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
12953
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
12880
12954
 
12881
12955
  /**
12882
12956
  * If set, when transfer is successful, will say the handoff message to both the
@@ -13180,7 +13254,6 @@ export namespace ConversationFlowResponse {
13180
13254
  | 'claude-4.5-sonnet'
13181
13255
  | 'claude-4.6-sonnet'
13182
13256
  | 'claude-4.5-haiku'
13183
- | 'gemini-2.5-flash-lite'
13184
13257
  | 'gemini-3.0-flash'
13185
13258
  | 'gemini-3.1-flash-lite';
13186
13259
 
@@ -13623,7 +13696,6 @@ export namespace ConversationFlowResponse {
13623
13696
  | 'claude-4.5-sonnet'
13624
13697
  | 'claude-4.6-sonnet'
13625
13698
  | 'claude-4.5-haiku'
13626
- | 'gemini-2.5-flash-lite'
13627
13699
  | 'gemini-3.0-flash'
13628
13700
  | 'gemini-3.1-flash-lite';
13629
13701
 
@@ -14047,7 +14119,6 @@ export namespace ConversationFlowResponse {
14047
14119
  | 'claude-4.5-sonnet'
14048
14120
  | 'claude-4.6-sonnet'
14049
14121
  | 'claude-4.5-haiku'
14050
- | 'gemini-2.5-flash-lite'
14051
14122
  | 'gemini-3.0-flash'
14052
14123
  | 'gemini-3.1-flash-lite';
14053
14124
 
@@ -14484,7 +14555,6 @@ export namespace ConversationFlowResponse {
14484
14555
  | 'claude-4.5-sonnet'
14485
14556
  | 'claude-4.6-sonnet'
14486
14557
  | 'claude-4.5-haiku'
14487
- | 'gemini-2.5-flash-lite'
14488
14558
  | 'gemini-3.0-flash'
14489
14559
  | 'gemini-3.1-flash-lite';
14490
14560
 
@@ -15050,7 +15120,6 @@ export namespace ConversationFlowResponse {
15050
15120
  | 'claude-4.5-sonnet'
15051
15121
  | 'claude-4.6-sonnet'
15052
15122
  | 'claude-4.5-haiku'
15053
- | 'gemini-2.5-flash-lite'
15054
15123
  | 'gemini-3.0-flash'
15055
15124
  | 'gemini-3.1-flash-lite';
15056
15125
 
@@ -15434,7 +15503,6 @@ export namespace ConversationFlowResponse {
15434
15503
  | 'claude-4.5-sonnet'
15435
15504
  | 'claude-4.6-sonnet'
15436
15505
  | 'claude-4.5-haiku'
15437
- | 'gemini-2.5-flash-lite'
15438
15506
  | 'gemini-3.0-flash'
15439
15507
  | 'gemini-3.1-flash-lite';
15440
15508
 
@@ -15918,7 +15986,6 @@ export namespace ConversationFlowResponse {
15918
15986
  | 'claude-4.5-sonnet'
15919
15987
  | 'claude-4.6-sonnet'
15920
15988
  | 'claude-4.5-haiku'
15921
- | 'gemini-2.5-flash-lite'
15922
15989
  | 'gemini-3.0-flash'
15923
15990
  | 'gemini-3.1-flash-lite';
15924
15991
 
@@ -16599,7 +16666,6 @@ export namespace ConversationFlowResponse {
16599
16666
  | 'claude-4.5-sonnet'
16600
16667
  | 'claude-4.6-sonnet'
16601
16668
  | 'claude-4.5-haiku'
16602
- | 'gemini-2.5-flash-lite'
16603
16669
  | 'gemini-3.0-flash'
16604
16670
  | 'gemini-3.1-flash-lite';
16605
16671
 
@@ -16871,7 +16937,6 @@ export namespace ConversationFlowResponse {
16871
16937
  | 'claude-4.5-sonnet'
16872
16938
  | 'claude-4.6-sonnet'
16873
16939
  | 'claude-4.5-haiku'
16874
- | 'gemini-2.5-flash-lite'
16875
16940
  | 'gemini-3.0-flash'
16876
16941
  | 'gemini-3.1-flash-lite';
16877
16942
 
@@ -16991,6 +17056,14 @@ export namespace ConversationFlowResponse {
16991
17056
  */
16992
17057
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
16993
17058
 
17059
+ /**
17060
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
17061
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
17062
+ * produce the same `parameters` schema; this does not change how the request body
17063
+ * is encoded (see `args_at_root`).
17064
+ */
17065
+ parameter_type?: 'json' | 'form';
17066
+
16994
17067
  /**
16995
17068
  * The parameters the functions accepts, described as a JSON Schema object. See
16996
17069
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -17316,7 +17389,6 @@ export namespace ConversationFlowCreateParams {
17316
17389
  | 'claude-4.5-sonnet'
17317
17390
  | 'claude-4.6-sonnet'
17318
17391
  | 'claude-4.5-haiku'
17319
- | 'gemini-2.5-flash-lite'
17320
17392
  | 'gemini-3.0-flash'
17321
17393
  | 'gemini-3.1-flash-lite';
17322
17394
 
@@ -17928,7 +18000,6 @@ export namespace ConversationFlowCreateParams {
17928
18000
  | 'claude-4.5-sonnet'
17929
18001
  | 'claude-4.6-sonnet'
17930
18002
  | 'claude-4.5-haiku'
17931
- | 'gemini-2.5-flash-lite'
17932
18003
  | 'gemini-3.0-flash'
17933
18004
  | 'gemini-3.1-flash-lite';
17934
18005
 
@@ -18632,7 +18703,6 @@ export namespace ConversationFlowCreateParams {
18632
18703
  | 'claude-4.5-sonnet'
18633
18704
  | 'claude-4.6-sonnet'
18634
18705
  | 'claude-4.5-haiku'
18635
- | 'gemini-2.5-flash-lite'
18636
18706
  | 'gemini-3.0-flash'
18637
18707
  | 'gemini-3.1-flash-lite';
18638
18708
 
@@ -18893,6 +18963,13 @@ export namespace ConversationFlowCreateParams {
18893
18963
  */
18894
18964
  agent_detection_timeout_ms?: number;
18895
18965
 
18966
+ /**
18967
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
18968
+ * `custom`. Must reference an audio asset owned by the organization (see
18969
+ * create-asset).
18970
+ */
18971
+ custom_on_hold_music_asset_id?: string;
18972
+
18896
18973
  /**
18897
18974
  * Whether to play an audio cue when bridging the call. Defaults to true.
18898
18975
  */
@@ -18905,9 +18982,10 @@ export namespace ConversationFlowCreateParams {
18905
18982
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
18906
18983
 
18907
18984
  /**
18908
- * The music to play while the caller is being transferred.
18985
+ * The music to play while the caller is being transferred. Use `custom` together
18986
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
18909
18987
  */
18910
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
18988
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
18911
18989
 
18912
18990
  /**
18913
18991
  * If set to true, will not perform human detection for the transfer. Default to
@@ -19009,15 +19087,23 @@ export namespace ConversationFlowCreateParams {
19009
19087
  */
19010
19088
  type: 'agentic_warm_transfer';
19011
19089
 
19090
+ /**
19091
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
19092
+ * `custom`. Must reference an audio asset owned by the organization (see
19093
+ * create-asset).
19094
+ */
19095
+ custom_on_hold_music_asset_id?: string;
19096
+
19012
19097
  /**
19013
19098
  * Whether to play an audio cue when bridging the call. Defaults to true.
19014
19099
  */
19015
19100
  enable_bridge_audio_cue?: boolean;
19016
19101
 
19017
19102
  /**
19018
- * The music to play while the caller is being transferred.
19103
+ * The music to play while the caller is being transferred. Use `custom` together
19104
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
19019
19105
  */
19020
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
19106
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
19021
19107
 
19022
19108
  /**
19023
19109
  * If set, when transfer is successful, will say the handoff message to both the
@@ -19405,6 +19491,14 @@ export namespace ConversationFlowCreateParams {
19405
19491
  */
19406
19492
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
19407
19493
 
19494
+ /**
19495
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
19496
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
19497
+ * produce the same `parameters` schema; this does not change how the request body
19498
+ * is encoded (see `args_at_root`).
19499
+ */
19500
+ parameter_type?: 'json' | 'form';
19501
+
19408
19502
  /**
19409
19503
  * The parameters the functions accepts, described as a JSON Schema object. See
19410
19504
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -20110,7 +20204,6 @@ export namespace ConversationFlowCreateParams {
20110
20204
  | 'claude-4.5-sonnet'
20111
20205
  | 'claude-4.6-sonnet'
20112
20206
  | 'claude-4.5-haiku'
20113
- | 'gemini-2.5-flash-lite'
20114
20207
  | 'gemini-3.0-flash'
20115
20208
  | 'gemini-3.1-flash-lite';
20116
20209
 
@@ -20585,7 +20678,6 @@ export namespace ConversationFlowCreateParams {
20585
20678
  | 'claude-4.5-sonnet'
20586
20679
  | 'claude-4.6-sonnet'
20587
20680
  | 'claude-4.5-haiku'
20588
- | 'gemini-2.5-flash-lite'
20589
20681
  | 'gemini-3.0-flash'
20590
20682
  | 'gemini-3.1-flash-lite';
20591
20683
 
@@ -21067,7 +21159,6 @@ export namespace ConversationFlowCreateParams {
21067
21159
  | 'claude-4.5-sonnet'
21068
21160
  | 'claude-4.6-sonnet'
21069
21161
  | 'claude-4.5-haiku'
21070
- | 'gemini-2.5-flash-lite'
21071
21162
  | 'gemini-3.0-flash'
21072
21163
  | 'gemini-3.1-flash-lite';
21073
21164
 
@@ -21292,6 +21383,13 @@ export namespace ConversationFlowCreateParams {
21292
21383
  */
21293
21384
  agent_detection_timeout_ms?: number;
21294
21385
 
21386
+ /**
21387
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
21388
+ * `custom`. Must reference an audio asset owned by the organization (see
21389
+ * create-asset).
21390
+ */
21391
+ custom_on_hold_music_asset_id?: string;
21392
+
21295
21393
  /**
21296
21394
  * Whether to play an audio cue when bridging the call. Defaults to true.
21297
21395
  */
@@ -21304,9 +21402,10 @@ export namespace ConversationFlowCreateParams {
21304
21402
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
21305
21403
 
21306
21404
  /**
21307
- * The music to play while the caller is being transferred.
21405
+ * The music to play while the caller is being transferred. Use `custom` together
21406
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
21308
21407
  */
21309
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
21408
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
21310
21409
 
21311
21410
  /**
21312
21411
  * If set to true, will not perform human detection for the transfer. Default to
@@ -21408,15 +21507,23 @@ export namespace ConversationFlowCreateParams {
21408
21507
  */
21409
21508
  type: 'agentic_warm_transfer';
21410
21509
 
21510
+ /**
21511
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
21512
+ * `custom`. Must reference an audio asset owned by the organization (see
21513
+ * create-asset).
21514
+ */
21515
+ custom_on_hold_music_asset_id?: string;
21516
+
21411
21517
  /**
21412
21518
  * Whether to play an audio cue when bridging the call. Defaults to true.
21413
21519
  */
21414
21520
  enable_bridge_audio_cue?: boolean;
21415
21521
 
21416
21522
  /**
21417
- * The music to play while the caller is being transferred.
21523
+ * The music to play while the caller is being transferred. Use `custom` together
21524
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
21418
21525
  */
21419
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
21526
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
21420
21527
 
21421
21528
  /**
21422
21529
  * If set, when transfer is successful, will say the handoff message to both the
@@ -21720,7 +21827,6 @@ export namespace ConversationFlowCreateParams {
21720
21827
  | 'claude-4.5-sonnet'
21721
21828
  | 'claude-4.6-sonnet'
21722
21829
  | 'claude-4.5-haiku'
21723
- | 'gemini-2.5-flash-lite'
21724
21830
  | 'gemini-3.0-flash'
21725
21831
  | 'gemini-3.1-flash-lite';
21726
21832
 
@@ -22163,7 +22269,6 @@ export namespace ConversationFlowCreateParams {
22163
22269
  | 'claude-4.5-sonnet'
22164
22270
  | 'claude-4.6-sonnet'
22165
22271
  | 'claude-4.5-haiku'
22166
- | 'gemini-2.5-flash-lite'
22167
22272
  | 'gemini-3.0-flash'
22168
22273
  | 'gemini-3.1-flash-lite';
22169
22274
 
@@ -22587,7 +22692,6 @@ export namespace ConversationFlowCreateParams {
22587
22692
  | 'claude-4.5-sonnet'
22588
22693
  | 'claude-4.6-sonnet'
22589
22694
  | 'claude-4.5-haiku'
22590
- | 'gemini-2.5-flash-lite'
22591
22695
  | 'gemini-3.0-flash'
22592
22696
  | 'gemini-3.1-flash-lite';
22593
22697
 
@@ -23024,7 +23128,6 @@ export namespace ConversationFlowCreateParams {
23024
23128
  | 'claude-4.5-sonnet'
23025
23129
  | 'claude-4.6-sonnet'
23026
23130
  | 'claude-4.5-haiku'
23027
- | 'gemini-2.5-flash-lite'
23028
23131
  | 'gemini-3.0-flash'
23029
23132
  | 'gemini-3.1-flash-lite';
23030
23133
 
@@ -23590,7 +23693,6 @@ export namespace ConversationFlowCreateParams {
23590
23693
  | 'claude-4.5-sonnet'
23591
23694
  | 'claude-4.6-sonnet'
23592
23695
  | 'claude-4.5-haiku'
23593
- | 'gemini-2.5-flash-lite'
23594
23696
  | 'gemini-3.0-flash'
23595
23697
  | 'gemini-3.1-flash-lite';
23596
23698
 
@@ -23974,7 +24076,6 @@ export namespace ConversationFlowCreateParams {
23974
24076
  | 'claude-4.5-sonnet'
23975
24077
  | 'claude-4.6-sonnet'
23976
24078
  | 'claude-4.5-haiku'
23977
- | 'gemini-2.5-flash-lite'
23978
24079
  | 'gemini-3.0-flash'
23979
24080
  | 'gemini-3.1-flash-lite';
23980
24081
 
@@ -24458,7 +24559,6 @@ export namespace ConversationFlowCreateParams {
24458
24559
  | 'claude-4.5-sonnet'
24459
24560
  | 'claude-4.6-sonnet'
24460
24561
  | 'claude-4.5-haiku'
24461
- | 'gemini-2.5-flash-lite'
24462
24562
  | 'gemini-3.0-flash'
24463
24563
  | 'gemini-3.1-flash-lite';
24464
24564
 
@@ -25139,7 +25239,6 @@ export namespace ConversationFlowCreateParams {
25139
25239
  | 'claude-4.5-sonnet'
25140
25240
  | 'claude-4.6-sonnet'
25141
25241
  | 'claude-4.5-haiku'
25142
- | 'gemini-2.5-flash-lite'
25143
25242
  | 'gemini-3.0-flash'
25144
25243
  | 'gemini-3.1-flash-lite';
25145
25244
 
@@ -25411,7 +25510,6 @@ export namespace ConversationFlowCreateParams {
25411
25510
  | 'claude-4.5-sonnet'
25412
25511
  | 'claude-4.6-sonnet'
25413
25512
  | 'claude-4.5-haiku'
25414
- | 'gemini-2.5-flash-lite'
25415
25513
  | 'gemini-3.0-flash'
25416
25514
  | 'gemini-3.1-flash-lite';
25417
25515
 
@@ -26094,7 +26192,6 @@ export namespace ConversationFlowCreateParams {
26094
26192
  | 'claude-4.5-sonnet'
26095
26193
  | 'claude-4.6-sonnet'
26096
26194
  | 'claude-4.5-haiku'
26097
- | 'gemini-2.5-flash-lite'
26098
26195
  | 'gemini-3.0-flash'
26099
26196
  | 'gemini-3.1-flash-lite';
26100
26197
 
@@ -26798,7 +26895,6 @@ export namespace ConversationFlowCreateParams {
26798
26895
  | 'claude-4.5-sonnet'
26799
26896
  | 'claude-4.6-sonnet'
26800
26897
  | 'claude-4.5-haiku'
26801
- | 'gemini-2.5-flash-lite'
26802
26898
  | 'gemini-3.0-flash'
26803
26899
  | 'gemini-3.1-flash-lite';
26804
26900
 
@@ -27059,6 +27155,13 @@ export namespace ConversationFlowCreateParams {
27059
27155
  */
27060
27156
  agent_detection_timeout_ms?: number;
27061
27157
 
27158
+ /**
27159
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
27160
+ * `custom`. Must reference an audio asset owned by the organization (see
27161
+ * create-asset).
27162
+ */
27163
+ custom_on_hold_music_asset_id?: string;
27164
+
27062
27165
  /**
27063
27166
  * Whether to play an audio cue when bridging the call. Defaults to true.
27064
27167
  */
@@ -27071,9 +27174,10 @@ export namespace ConversationFlowCreateParams {
27071
27174
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
27072
27175
 
27073
27176
  /**
27074
- * The music to play while the caller is being transferred.
27177
+ * The music to play while the caller is being transferred. Use `custom` together
27178
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
27075
27179
  */
27076
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
27180
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
27077
27181
 
27078
27182
  /**
27079
27183
  * If set to true, will not perform human detection for the transfer. Default to
@@ -27175,15 +27279,23 @@ export namespace ConversationFlowCreateParams {
27175
27279
  */
27176
27280
  type: 'agentic_warm_transfer';
27177
27281
 
27282
+ /**
27283
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
27284
+ * `custom`. Must reference an audio asset owned by the organization (see
27285
+ * create-asset).
27286
+ */
27287
+ custom_on_hold_music_asset_id?: string;
27288
+
27178
27289
  /**
27179
27290
  * Whether to play an audio cue when bridging the call. Defaults to true.
27180
27291
  */
27181
27292
  enable_bridge_audio_cue?: boolean;
27182
27293
 
27183
27294
  /**
27184
- * The music to play while the caller is being transferred.
27295
+ * The music to play while the caller is being transferred. Use `custom` together
27296
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
27185
27297
  */
27186
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
27298
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
27187
27299
 
27188
27300
  /**
27189
27301
  * If set, when transfer is successful, will say the handoff message to both the
@@ -27571,6 +27683,14 @@ export namespace ConversationFlowCreateParams {
27571
27683
  */
27572
27684
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
27573
27685
 
27686
+ /**
27687
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
27688
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
27689
+ * produce the same `parameters` schema; this does not change how the request body
27690
+ * is encoded (see `args_at_root`).
27691
+ */
27692
+ parameter_type?: 'json' | 'form';
27693
+
27574
27694
  /**
27575
27695
  * The parameters the functions accepts, described as a JSON Schema object. See
27576
27696
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -28276,7 +28396,6 @@ export namespace ConversationFlowCreateParams {
28276
28396
  | 'claude-4.5-sonnet'
28277
28397
  | 'claude-4.6-sonnet'
28278
28398
  | 'claude-4.5-haiku'
28279
- | 'gemini-2.5-flash-lite'
28280
28399
  | 'gemini-3.0-flash'
28281
28400
  | 'gemini-3.1-flash-lite';
28282
28401
 
@@ -28751,7 +28870,6 @@ export namespace ConversationFlowCreateParams {
28751
28870
  | 'claude-4.5-sonnet'
28752
28871
  | 'claude-4.6-sonnet'
28753
28872
  | 'claude-4.5-haiku'
28754
- | 'gemini-2.5-flash-lite'
28755
28873
  | 'gemini-3.0-flash'
28756
28874
  | 'gemini-3.1-flash-lite';
28757
28875
 
@@ -29233,7 +29351,6 @@ export namespace ConversationFlowCreateParams {
29233
29351
  | 'claude-4.5-sonnet'
29234
29352
  | 'claude-4.6-sonnet'
29235
29353
  | 'claude-4.5-haiku'
29236
- | 'gemini-2.5-flash-lite'
29237
29354
  | 'gemini-3.0-flash'
29238
29355
  | 'gemini-3.1-flash-lite';
29239
29356
 
@@ -29458,6 +29575,13 @@ export namespace ConversationFlowCreateParams {
29458
29575
  */
29459
29576
  agent_detection_timeout_ms?: number;
29460
29577
 
29578
+ /**
29579
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
29580
+ * `custom`. Must reference an audio asset owned by the organization (see
29581
+ * create-asset).
29582
+ */
29583
+ custom_on_hold_music_asset_id?: string;
29584
+
29461
29585
  /**
29462
29586
  * Whether to play an audio cue when bridging the call. Defaults to true.
29463
29587
  */
@@ -29470,9 +29594,10 @@ export namespace ConversationFlowCreateParams {
29470
29594
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
29471
29595
 
29472
29596
  /**
29473
- * The music to play while the caller is being transferred.
29597
+ * The music to play while the caller is being transferred. Use `custom` together
29598
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
29474
29599
  */
29475
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
29600
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
29476
29601
 
29477
29602
  /**
29478
29603
  * If set to true, will not perform human detection for the transfer. Default to
@@ -29574,15 +29699,23 @@ export namespace ConversationFlowCreateParams {
29574
29699
  */
29575
29700
  type: 'agentic_warm_transfer';
29576
29701
 
29702
+ /**
29703
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
29704
+ * `custom`. Must reference an audio asset owned by the organization (see
29705
+ * create-asset).
29706
+ */
29707
+ custom_on_hold_music_asset_id?: string;
29708
+
29577
29709
  /**
29578
29710
  * Whether to play an audio cue when bridging the call. Defaults to true.
29579
29711
  */
29580
29712
  enable_bridge_audio_cue?: boolean;
29581
29713
 
29582
29714
  /**
29583
- * The music to play while the caller is being transferred.
29715
+ * The music to play while the caller is being transferred. Use `custom` together
29716
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
29584
29717
  */
29585
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
29718
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
29586
29719
 
29587
29720
  /**
29588
29721
  * If set, when transfer is successful, will say the handoff message to both the
@@ -29886,7 +30019,6 @@ export namespace ConversationFlowCreateParams {
29886
30019
  | 'claude-4.5-sonnet'
29887
30020
  | 'claude-4.6-sonnet'
29888
30021
  | 'claude-4.5-haiku'
29889
- | 'gemini-2.5-flash-lite'
29890
30022
  | 'gemini-3.0-flash'
29891
30023
  | 'gemini-3.1-flash-lite';
29892
30024
 
@@ -30329,7 +30461,6 @@ export namespace ConversationFlowCreateParams {
30329
30461
  | 'claude-4.5-sonnet'
30330
30462
  | 'claude-4.6-sonnet'
30331
30463
  | 'claude-4.5-haiku'
30332
- | 'gemini-2.5-flash-lite'
30333
30464
  | 'gemini-3.0-flash'
30334
30465
  | 'gemini-3.1-flash-lite';
30335
30466
 
@@ -30753,7 +30884,6 @@ export namespace ConversationFlowCreateParams {
30753
30884
  | 'claude-4.5-sonnet'
30754
30885
  | 'claude-4.6-sonnet'
30755
30886
  | 'claude-4.5-haiku'
30756
- | 'gemini-2.5-flash-lite'
30757
30887
  | 'gemini-3.0-flash'
30758
30888
  | 'gemini-3.1-flash-lite';
30759
30889
 
@@ -31190,7 +31320,6 @@ export namespace ConversationFlowCreateParams {
31190
31320
  | 'claude-4.5-sonnet'
31191
31321
  | 'claude-4.6-sonnet'
31192
31322
  | 'claude-4.5-haiku'
31193
- | 'gemini-2.5-flash-lite'
31194
31323
  | 'gemini-3.0-flash'
31195
31324
  | 'gemini-3.1-flash-lite';
31196
31325
 
@@ -31756,7 +31885,6 @@ export namespace ConversationFlowCreateParams {
31756
31885
  | 'claude-4.5-sonnet'
31757
31886
  | 'claude-4.6-sonnet'
31758
31887
  | 'claude-4.5-haiku'
31759
- | 'gemini-2.5-flash-lite'
31760
31888
  | 'gemini-3.0-flash'
31761
31889
  | 'gemini-3.1-flash-lite';
31762
31890
 
@@ -32140,7 +32268,6 @@ export namespace ConversationFlowCreateParams {
32140
32268
  | 'claude-4.5-sonnet'
32141
32269
  | 'claude-4.6-sonnet'
32142
32270
  | 'claude-4.5-haiku'
32143
- | 'gemini-2.5-flash-lite'
32144
32271
  | 'gemini-3.0-flash'
32145
32272
  | 'gemini-3.1-flash-lite';
32146
32273
 
@@ -32624,7 +32751,6 @@ export namespace ConversationFlowCreateParams {
32624
32751
  | 'claude-4.5-sonnet'
32625
32752
  | 'claude-4.6-sonnet'
32626
32753
  | 'claude-4.5-haiku'
32627
- | 'gemini-2.5-flash-lite'
32628
32754
  | 'gemini-3.0-flash'
32629
32755
  | 'gemini-3.1-flash-lite';
32630
32756
 
@@ -33305,7 +33431,6 @@ export namespace ConversationFlowCreateParams {
33305
33431
  | 'claude-4.5-sonnet'
33306
33432
  | 'claude-4.6-sonnet'
33307
33433
  | 'claude-4.5-haiku'
33308
- | 'gemini-2.5-flash-lite'
33309
33434
  | 'gemini-3.0-flash'
33310
33435
  | 'gemini-3.1-flash-lite';
33311
33436
 
@@ -33577,7 +33702,6 @@ export namespace ConversationFlowCreateParams {
33577
33702
  | 'claude-4.5-sonnet'
33578
33703
  | 'claude-4.6-sonnet'
33579
33704
  | 'claude-4.5-haiku'
33580
- | 'gemini-2.5-flash-lite'
33581
33705
  | 'gemini-3.0-flash'
33582
33706
  | 'gemini-3.1-flash-lite';
33583
33707
 
@@ -33731,6 +33855,14 @@ export namespace ConversationFlowCreateParams {
33731
33855
  */
33732
33856
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
33733
33857
 
33858
+ /**
33859
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
33860
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
33861
+ * produce the same `parameters` schema; this does not change how the request body
33862
+ * is encoded (see `args_at_root`).
33863
+ */
33864
+ parameter_type?: 'json' | 'form';
33865
+
33734
33866
  /**
33735
33867
  * The parameters the functions accepts, described as a JSON Schema object. See
33736
33868
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -34043,6 +34175,14 @@ export namespace ConversationFlowCreateParams {
34043
34175
  */
34044
34176
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
34045
34177
 
34178
+ /**
34179
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
34180
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
34181
+ * produce the same `parameters` schema; this does not change how the request body
34182
+ * is encoded (see `args_at_root`).
34183
+ */
34184
+ parameter_type?: 'json' | 'form';
34185
+
34046
34186
  /**
34047
34187
  * The parameters the functions accepts, described as a JSON Schema object. See
34048
34188
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -35030,7 +35170,6 @@ export namespace ConversationFlowUpdateParams {
35030
35170
  | 'claude-4.5-sonnet'
35031
35171
  | 'claude-4.6-sonnet'
35032
35172
  | 'claude-4.5-haiku'
35033
- | 'gemini-2.5-flash-lite'
35034
35173
  | 'gemini-3.0-flash'
35035
35174
  | 'gemini-3.1-flash-lite';
35036
35175
 
@@ -35734,7 +35873,6 @@ export namespace ConversationFlowUpdateParams {
35734
35873
  | 'claude-4.5-sonnet'
35735
35874
  | 'claude-4.6-sonnet'
35736
35875
  | 'claude-4.5-haiku'
35737
- | 'gemini-2.5-flash-lite'
35738
35876
  | 'gemini-3.0-flash'
35739
35877
  | 'gemini-3.1-flash-lite';
35740
35878
 
@@ -35995,6 +36133,13 @@ export namespace ConversationFlowUpdateParams {
35995
36133
  */
35996
36134
  agent_detection_timeout_ms?: number;
35997
36135
 
36136
+ /**
36137
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
36138
+ * `custom`. Must reference an audio asset owned by the organization (see
36139
+ * create-asset).
36140
+ */
36141
+ custom_on_hold_music_asset_id?: string;
36142
+
35998
36143
  /**
35999
36144
  * Whether to play an audio cue when bridging the call. Defaults to true.
36000
36145
  */
@@ -36007,9 +36152,10 @@ export namespace ConversationFlowUpdateParams {
36007
36152
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
36008
36153
 
36009
36154
  /**
36010
- * The music to play while the caller is being transferred.
36155
+ * The music to play while the caller is being transferred. Use `custom` together
36156
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
36011
36157
  */
36012
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
36158
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
36013
36159
 
36014
36160
  /**
36015
36161
  * If set to true, will not perform human detection for the transfer. Default to
@@ -36111,15 +36257,23 @@ export namespace ConversationFlowUpdateParams {
36111
36257
  */
36112
36258
  type: 'agentic_warm_transfer';
36113
36259
 
36260
+ /**
36261
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
36262
+ * `custom`. Must reference an audio asset owned by the organization (see
36263
+ * create-asset).
36264
+ */
36265
+ custom_on_hold_music_asset_id?: string;
36266
+
36114
36267
  /**
36115
36268
  * Whether to play an audio cue when bridging the call. Defaults to true.
36116
36269
  */
36117
36270
  enable_bridge_audio_cue?: boolean;
36118
36271
 
36119
36272
  /**
36120
- * The music to play while the caller is being transferred.
36273
+ * The music to play while the caller is being transferred. Use `custom` together
36274
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
36121
36275
  */
36122
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
36276
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
36123
36277
 
36124
36278
  /**
36125
36279
  * If set, when transfer is successful, will say the handoff message to both the
@@ -36507,6 +36661,14 @@ export namespace ConversationFlowUpdateParams {
36507
36661
  */
36508
36662
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
36509
36663
 
36664
+ /**
36665
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
36666
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
36667
+ * produce the same `parameters` schema; this does not change how the request body
36668
+ * is encoded (see `args_at_root`).
36669
+ */
36670
+ parameter_type?: 'json' | 'form';
36671
+
36510
36672
  /**
36511
36673
  * The parameters the functions accepts, described as a JSON Schema object. See
36512
36674
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -37212,7 +37374,6 @@ export namespace ConversationFlowUpdateParams {
37212
37374
  | 'claude-4.5-sonnet'
37213
37375
  | 'claude-4.6-sonnet'
37214
37376
  | 'claude-4.5-haiku'
37215
- | 'gemini-2.5-flash-lite'
37216
37377
  | 'gemini-3.0-flash'
37217
37378
  | 'gemini-3.1-flash-lite';
37218
37379
 
@@ -37687,7 +37848,6 @@ export namespace ConversationFlowUpdateParams {
37687
37848
  | 'claude-4.5-sonnet'
37688
37849
  | 'claude-4.6-sonnet'
37689
37850
  | 'claude-4.5-haiku'
37690
- | 'gemini-2.5-flash-lite'
37691
37851
  | 'gemini-3.0-flash'
37692
37852
  | 'gemini-3.1-flash-lite';
37693
37853
 
@@ -38169,7 +38329,6 @@ export namespace ConversationFlowUpdateParams {
38169
38329
  | 'claude-4.5-sonnet'
38170
38330
  | 'claude-4.6-sonnet'
38171
38331
  | 'claude-4.5-haiku'
38172
- | 'gemini-2.5-flash-lite'
38173
38332
  | 'gemini-3.0-flash'
38174
38333
  | 'gemini-3.1-flash-lite';
38175
38334
 
@@ -38394,6 +38553,13 @@ export namespace ConversationFlowUpdateParams {
38394
38553
  */
38395
38554
  agent_detection_timeout_ms?: number;
38396
38555
 
38556
+ /**
38557
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
38558
+ * `custom`. Must reference an audio asset owned by the organization (see
38559
+ * create-asset).
38560
+ */
38561
+ custom_on_hold_music_asset_id?: string;
38562
+
38397
38563
  /**
38398
38564
  * Whether to play an audio cue when bridging the call. Defaults to true.
38399
38565
  */
@@ -38406,9 +38572,10 @@ export namespace ConversationFlowUpdateParams {
38406
38572
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
38407
38573
 
38408
38574
  /**
38409
- * The music to play while the caller is being transferred.
38575
+ * The music to play while the caller is being transferred. Use `custom` together
38576
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
38410
38577
  */
38411
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
38578
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
38412
38579
 
38413
38580
  /**
38414
38581
  * If set to true, will not perform human detection for the transfer. Default to
@@ -38510,15 +38677,23 @@ export namespace ConversationFlowUpdateParams {
38510
38677
  */
38511
38678
  type: 'agentic_warm_transfer';
38512
38679
 
38680
+ /**
38681
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
38682
+ * `custom`. Must reference an audio asset owned by the organization (see
38683
+ * create-asset).
38684
+ */
38685
+ custom_on_hold_music_asset_id?: string;
38686
+
38513
38687
  /**
38514
38688
  * Whether to play an audio cue when bridging the call. Defaults to true.
38515
38689
  */
38516
38690
  enable_bridge_audio_cue?: boolean;
38517
38691
 
38518
38692
  /**
38519
- * The music to play while the caller is being transferred.
38693
+ * The music to play while the caller is being transferred. Use `custom` together
38694
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
38520
38695
  */
38521
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
38696
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
38522
38697
 
38523
38698
  /**
38524
38699
  * If set, when transfer is successful, will say the handoff message to both the
@@ -38822,7 +38997,6 @@ export namespace ConversationFlowUpdateParams {
38822
38997
  | 'claude-4.5-sonnet'
38823
38998
  | 'claude-4.6-sonnet'
38824
38999
  | 'claude-4.5-haiku'
38825
- | 'gemini-2.5-flash-lite'
38826
39000
  | 'gemini-3.0-flash'
38827
39001
  | 'gemini-3.1-flash-lite';
38828
39002
 
@@ -39265,7 +39439,6 @@ export namespace ConversationFlowUpdateParams {
39265
39439
  | 'claude-4.5-sonnet'
39266
39440
  | 'claude-4.6-sonnet'
39267
39441
  | 'claude-4.5-haiku'
39268
- | 'gemini-2.5-flash-lite'
39269
39442
  | 'gemini-3.0-flash'
39270
39443
  | 'gemini-3.1-flash-lite';
39271
39444
 
@@ -39689,7 +39862,6 @@ export namespace ConversationFlowUpdateParams {
39689
39862
  | 'claude-4.5-sonnet'
39690
39863
  | 'claude-4.6-sonnet'
39691
39864
  | 'claude-4.5-haiku'
39692
- | 'gemini-2.5-flash-lite'
39693
39865
  | 'gemini-3.0-flash'
39694
39866
  | 'gemini-3.1-flash-lite';
39695
39867
 
@@ -40126,7 +40298,6 @@ export namespace ConversationFlowUpdateParams {
40126
40298
  | 'claude-4.5-sonnet'
40127
40299
  | 'claude-4.6-sonnet'
40128
40300
  | 'claude-4.5-haiku'
40129
- | 'gemini-2.5-flash-lite'
40130
40301
  | 'gemini-3.0-flash'
40131
40302
  | 'gemini-3.1-flash-lite';
40132
40303
 
@@ -40692,7 +40863,6 @@ export namespace ConversationFlowUpdateParams {
40692
40863
  | 'claude-4.5-sonnet'
40693
40864
  | 'claude-4.6-sonnet'
40694
40865
  | 'claude-4.5-haiku'
40695
- | 'gemini-2.5-flash-lite'
40696
40866
  | 'gemini-3.0-flash'
40697
40867
  | 'gemini-3.1-flash-lite';
40698
40868
 
@@ -41076,7 +41246,6 @@ export namespace ConversationFlowUpdateParams {
41076
41246
  | 'claude-4.5-sonnet'
41077
41247
  | 'claude-4.6-sonnet'
41078
41248
  | 'claude-4.5-haiku'
41079
- | 'gemini-2.5-flash-lite'
41080
41249
  | 'gemini-3.0-flash'
41081
41250
  | 'gemini-3.1-flash-lite';
41082
41251
 
@@ -41560,7 +41729,6 @@ export namespace ConversationFlowUpdateParams {
41560
41729
  | 'claude-4.5-sonnet'
41561
41730
  | 'claude-4.6-sonnet'
41562
41731
  | 'claude-4.5-haiku'
41563
- | 'gemini-2.5-flash-lite'
41564
41732
  | 'gemini-3.0-flash'
41565
41733
  | 'gemini-3.1-flash-lite';
41566
41734
 
@@ -42241,7 +42409,6 @@ export namespace ConversationFlowUpdateParams {
42241
42409
  | 'claude-4.5-sonnet'
42242
42410
  | 'claude-4.6-sonnet'
42243
42411
  | 'claude-4.5-haiku'
42244
- | 'gemini-2.5-flash-lite'
42245
42412
  | 'gemini-3.0-flash'
42246
42413
  | 'gemini-3.1-flash-lite';
42247
42414
 
@@ -42513,7 +42680,6 @@ export namespace ConversationFlowUpdateParams {
42513
42680
  | 'claude-4.5-sonnet'
42514
42681
  | 'claude-4.6-sonnet'
42515
42682
  | 'claude-4.5-haiku'
42516
- | 'gemini-2.5-flash-lite'
42517
42683
  | 'gemini-3.0-flash'
42518
42684
  | 'gemini-3.1-flash-lite';
42519
42685
 
@@ -42667,6 +42833,14 @@ export namespace ConversationFlowUpdateParams {
42667
42833
  */
42668
42834
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
42669
42835
 
42836
+ /**
42837
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
42838
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
42839
+ * produce the same `parameters` schema; this does not change how the request body
42840
+ * is encoded (see `args_at_root`).
42841
+ */
42842
+ parameter_type?: 'json' | 'form';
42843
+
42670
42844
  /**
42671
42845
  * The parameters the functions accepts, described as a JSON Schema object. See
42672
42846
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -42898,7 +43072,6 @@ export namespace ConversationFlowUpdateParams {
42898
43072
  | 'claude-4.5-sonnet'
42899
43073
  | 'claude-4.6-sonnet'
42900
43074
  | 'claude-4.5-haiku'
42901
- | 'gemini-2.5-flash-lite'
42902
43075
  | 'gemini-3.0-flash'
42903
43076
  | 'gemini-3.1-flash-lite';
42904
43077
 
@@ -43510,7 +43683,6 @@ export namespace ConversationFlowUpdateParams {
43510
43683
  | 'claude-4.5-sonnet'
43511
43684
  | 'claude-4.6-sonnet'
43512
43685
  | 'claude-4.5-haiku'
43513
- | 'gemini-2.5-flash-lite'
43514
43686
  | 'gemini-3.0-flash'
43515
43687
  | 'gemini-3.1-flash-lite';
43516
43688
 
@@ -44214,7 +44386,6 @@ export namespace ConversationFlowUpdateParams {
44214
44386
  | 'claude-4.5-sonnet'
44215
44387
  | 'claude-4.6-sonnet'
44216
44388
  | 'claude-4.5-haiku'
44217
- | 'gemini-2.5-flash-lite'
44218
44389
  | 'gemini-3.0-flash'
44219
44390
  | 'gemini-3.1-flash-lite';
44220
44391
 
@@ -44475,6 +44646,13 @@ export namespace ConversationFlowUpdateParams {
44475
44646
  */
44476
44647
  agent_detection_timeout_ms?: number;
44477
44648
 
44649
+ /**
44650
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
44651
+ * `custom`. Must reference an audio asset owned by the organization (see
44652
+ * create-asset).
44653
+ */
44654
+ custom_on_hold_music_asset_id?: string;
44655
+
44478
44656
  /**
44479
44657
  * Whether to play an audio cue when bridging the call. Defaults to true.
44480
44658
  */
@@ -44487,9 +44665,10 @@ export namespace ConversationFlowUpdateParams {
44487
44665
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
44488
44666
 
44489
44667
  /**
44490
- * The music to play while the caller is being transferred.
44668
+ * The music to play while the caller is being transferred. Use `custom` together
44669
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
44491
44670
  */
44492
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
44671
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
44493
44672
 
44494
44673
  /**
44495
44674
  * If set to true, will not perform human detection for the transfer. Default to
@@ -44591,15 +44770,23 @@ export namespace ConversationFlowUpdateParams {
44591
44770
  */
44592
44771
  type: 'agentic_warm_transfer';
44593
44772
 
44773
+ /**
44774
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
44775
+ * `custom`. Must reference an audio asset owned by the organization (see
44776
+ * create-asset).
44777
+ */
44778
+ custom_on_hold_music_asset_id?: string;
44779
+
44594
44780
  /**
44595
44781
  * Whether to play an audio cue when bridging the call. Defaults to true.
44596
44782
  */
44597
44783
  enable_bridge_audio_cue?: boolean;
44598
44784
 
44599
44785
  /**
44600
- * The music to play while the caller is being transferred.
44786
+ * The music to play while the caller is being transferred. Use `custom` together
44787
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
44601
44788
  */
44602
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
44789
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
44603
44790
 
44604
44791
  /**
44605
44792
  * If set, when transfer is successful, will say the handoff message to both the
@@ -44987,6 +45174,14 @@ export namespace ConversationFlowUpdateParams {
44987
45174
  */
44988
45175
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
44989
45176
 
45177
+ /**
45178
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
45179
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
45180
+ * produce the same `parameters` schema; this does not change how the request body
45181
+ * is encoded (see `args_at_root`).
45182
+ */
45183
+ parameter_type?: 'json' | 'form';
45184
+
44990
45185
  /**
44991
45186
  * The parameters the functions accepts, described as a JSON Schema object. See
44992
45187
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -45692,7 +45887,6 @@ export namespace ConversationFlowUpdateParams {
45692
45887
  | 'claude-4.5-sonnet'
45693
45888
  | 'claude-4.6-sonnet'
45694
45889
  | 'claude-4.5-haiku'
45695
- | 'gemini-2.5-flash-lite'
45696
45890
  | 'gemini-3.0-flash'
45697
45891
  | 'gemini-3.1-flash-lite';
45698
45892
 
@@ -46167,7 +46361,6 @@ export namespace ConversationFlowUpdateParams {
46167
46361
  | 'claude-4.5-sonnet'
46168
46362
  | 'claude-4.6-sonnet'
46169
46363
  | 'claude-4.5-haiku'
46170
- | 'gemini-2.5-flash-lite'
46171
46364
  | 'gemini-3.0-flash'
46172
46365
  | 'gemini-3.1-flash-lite';
46173
46366
 
@@ -46649,7 +46842,6 @@ export namespace ConversationFlowUpdateParams {
46649
46842
  | 'claude-4.5-sonnet'
46650
46843
  | 'claude-4.6-sonnet'
46651
46844
  | 'claude-4.5-haiku'
46652
- | 'gemini-2.5-flash-lite'
46653
46845
  | 'gemini-3.0-flash'
46654
46846
  | 'gemini-3.1-flash-lite';
46655
46847
 
@@ -46874,6 +47066,13 @@ export namespace ConversationFlowUpdateParams {
46874
47066
  */
46875
47067
  agent_detection_timeout_ms?: number;
46876
47068
 
47069
+ /**
47070
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
47071
+ * `custom`. Must reference an audio asset owned by the organization (see
47072
+ * create-asset).
47073
+ */
47074
+ custom_on_hold_music_asset_id?: string;
47075
+
46877
47076
  /**
46878
47077
  * Whether to play an audio cue when bridging the call. Defaults to true.
46879
47078
  */
@@ -46886,9 +47085,10 @@ export namespace ConversationFlowUpdateParams {
46886
47085
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
46887
47086
 
46888
47087
  /**
46889
- * The music to play while the caller is being transferred.
47088
+ * The music to play while the caller is being transferred. Use `custom` together
47089
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
46890
47090
  */
46891
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
47091
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
46892
47092
 
46893
47093
  /**
46894
47094
  * If set to true, will not perform human detection for the transfer. Default to
@@ -46990,15 +47190,23 @@ export namespace ConversationFlowUpdateParams {
46990
47190
  */
46991
47191
  type: 'agentic_warm_transfer';
46992
47192
 
47193
+ /**
47194
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
47195
+ * `custom`. Must reference an audio asset owned by the organization (see
47196
+ * create-asset).
47197
+ */
47198
+ custom_on_hold_music_asset_id?: string;
47199
+
46993
47200
  /**
46994
47201
  * Whether to play an audio cue when bridging the call. Defaults to true.
46995
47202
  */
46996
47203
  enable_bridge_audio_cue?: boolean;
46997
47204
 
46998
47205
  /**
46999
- * The music to play while the caller is being transferred.
47206
+ * The music to play while the caller is being transferred. Use `custom` together
47207
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
47000
47208
  */
47001
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
47209
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
47002
47210
 
47003
47211
  /**
47004
47212
  * If set, when transfer is successful, will say the handoff message to both the
@@ -47302,7 +47510,6 @@ export namespace ConversationFlowUpdateParams {
47302
47510
  | 'claude-4.5-sonnet'
47303
47511
  | 'claude-4.6-sonnet'
47304
47512
  | 'claude-4.5-haiku'
47305
- | 'gemini-2.5-flash-lite'
47306
47513
  | 'gemini-3.0-flash'
47307
47514
  | 'gemini-3.1-flash-lite';
47308
47515
 
@@ -47745,7 +47952,6 @@ export namespace ConversationFlowUpdateParams {
47745
47952
  | 'claude-4.5-sonnet'
47746
47953
  | 'claude-4.6-sonnet'
47747
47954
  | 'claude-4.5-haiku'
47748
- | 'gemini-2.5-flash-lite'
47749
47955
  | 'gemini-3.0-flash'
47750
47956
  | 'gemini-3.1-flash-lite';
47751
47957
 
@@ -48169,7 +48375,6 @@ export namespace ConversationFlowUpdateParams {
48169
48375
  | 'claude-4.5-sonnet'
48170
48376
  | 'claude-4.6-sonnet'
48171
48377
  | 'claude-4.5-haiku'
48172
- | 'gemini-2.5-flash-lite'
48173
48378
  | 'gemini-3.0-flash'
48174
48379
  | 'gemini-3.1-flash-lite';
48175
48380
 
@@ -48606,7 +48811,6 @@ export namespace ConversationFlowUpdateParams {
48606
48811
  | 'claude-4.5-sonnet'
48607
48812
  | 'claude-4.6-sonnet'
48608
48813
  | 'claude-4.5-haiku'
48609
- | 'gemini-2.5-flash-lite'
48610
48814
  | 'gemini-3.0-flash'
48611
48815
  | 'gemini-3.1-flash-lite';
48612
48816
 
@@ -49172,7 +49376,6 @@ export namespace ConversationFlowUpdateParams {
49172
49376
  | 'claude-4.5-sonnet'
49173
49377
  | 'claude-4.6-sonnet'
49174
49378
  | 'claude-4.5-haiku'
49175
- | 'gemini-2.5-flash-lite'
49176
49379
  | 'gemini-3.0-flash'
49177
49380
  | 'gemini-3.1-flash-lite';
49178
49381
 
@@ -49556,7 +49759,6 @@ export namespace ConversationFlowUpdateParams {
49556
49759
  | 'claude-4.5-sonnet'
49557
49760
  | 'claude-4.6-sonnet'
49558
49761
  | 'claude-4.5-haiku'
49559
- | 'gemini-2.5-flash-lite'
49560
49762
  | 'gemini-3.0-flash'
49561
49763
  | 'gemini-3.1-flash-lite';
49562
49764
 
@@ -50040,7 +50242,6 @@ export namespace ConversationFlowUpdateParams {
50040
50242
  | 'claude-4.5-sonnet'
50041
50243
  | 'claude-4.6-sonnet'
50042
50244
  | 'claude-4.5-haiku'
50043
- | 'gemini-2.5-flash-lite'
50044
50245
  | 'gemini-3.0-flash'
50045
50246
  | 'gemini-3.1-flash-lite';
50046
50247
 
@@ -50721,7 +50922,6 @@ export namespace ConversationFlowUpdateParams {
50721
50922
  | 'claude-4.5-sonnet'
50722
50923
  | 'claude-4.6-sonnet'
50723
50924
  | 'claude-4.5-haiku'
50724
- | 'gemini-2.5-flash-lite'
50725
50925
  | 'gemini-3.0-flash'
50726
50926
  | 'gemini-3.1-flash-lite';
50727
50927
 
@@ -50993,7 +51193,6 @@ export namespace ConversationFlowUpdateParams {
50993
51193
  | 'claude-4.5-sonnet'
50994
51194
  | 'claude-4.6-sonnet'
50995
51195
  | 'claude-4.5-haiku'
50996
- | 'gemini-2.5-flash-lite'
50997
51196
  | 'gemini-3.0-flash'
50998
51197
  | 'gemini-3.1-flash-lite';
50999
51198
 
@@ -51113,6 +51312,14 @@ export namespace ConversationFlowUpdateParams {
51113
51312
  */
51114
51313
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
51115
51314
 
51315
+ /**
51316
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
51317
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
51318
+ * produce the same `parameters` schema; this does not change how the request body
51319
+ * is encoded (see `args_at_root`).
51320
+ */
51321
+ parameter_type?: 'json' | 'form';
51322
+
51116
51323
  /**
51117
51324
  * The parameters the functions accepts, described as a JSON Schema object. See
51118
51325
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for