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
@@ -77,6 +77,11 @@ export interface ConversationFlowResponse {
77
77
  * Unique identifier for the conversation flow
78
78
  */
79
79
  conversation_flow_id: string;
80
+ /**
81
+ * Last modification timestamp (milliseconds since epoch). Either the time of last
82
+ * update or creation if no updates available.
83
+ */
84
+ last_modification_timestamp: number;
80
85
  /**
81
86
  * Version number of the conversation flow
82
87
  */
@@ -603,7 +608,7 @@ export declare namespace ConversationFlowResponse {
603
608
  /**
604
609
  * The LLM model to use
605
610
  */
606
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
611
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
607
612
  /**
608
613
  * Type of model choice
609
614
  */
@@ -1061,7 +1066,7 @@ export declare namespace ConversationFlowResponse {
1061
1066
  /**
1062
1067
  * The LLM model to use
1063
1068
  */
1064
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
1069
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
1065
1070
  /**
1066
1071
  * Type of model choice
1067
1072
  */
@@ -1260,6 +1265,12 @@ export declare namespace ConversationFlowResponse {
1260
1265
  * The time to wait before considering transfer fails.
1261
1266
  */
1262
1267
  agent_detection_timeout_ms?: number;
1268
+ /**
1269
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
1270
+ * `custom`. Must reference an audio asset owned by the organization (see
1271
+ * create-asset).
1272
+ */
1273
+ custom_on_hold_music_asset_id?: string;
1263
1274
  /**
1264
1275
  * Whether to play an audio cue when bridging the call. Defaults to true.
1265
1276
  */
@@ -1270,9 +1281,10 @@ export declare namespace ConversationFlowResponse {
1270
1281
  */
1271
1282
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
1272
1283
  /**
1273
- * The music to play while the caller is being transferred.
1284
+ * The music to play while the caller is being transferred. Use `custom` together
1285
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1274
1286
  */
1275
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
1287
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
1276
1288
  /**
1277
1289
  * If set to true, will not perform human detection for the transfer. Default to
1278
1290
  * false.
@@ -1352,14 +1364,21 @@ export declare namespace ConversationFlowResponse {
1352
1364
  * The type of the transfer.
1353
1365
  */
1354
1366
  type: 'agentic_warm_transfer';
1367
+ /**
1368
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
1369
+ * `custom`. Must reference an audio asset owned by the organization (see
1370
+ * create-asset).
1371
+ */
1372
+ custom_on_hold_music_asset_id?: string;
1355
1373
  /**
1356
1374
  * Whether to play an audio cue when bridging the call. Defaults to true.
1357
1375
  */
1358
1376
  enable_bridge_audio_cue?: boolean;
1359
1377
  /**
1360
- * The music to play while the caller is being transferred.
1378
+ * The music to play while the caller is being transferred. Use `custom` together
1379
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1361
1380
  */
1362
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
1381
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
1363
1382
  /**
1364
1383
  * If set, when transfer is successful, will say the handoff message to both the
1365
1384
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -1680,6 +1699,13 @@ export declare namespace ConversationFlowResponse {
1680
1699
  * Method to use for the request, default to POST.
1681
1700
  */
1682
1701
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
1702
+ /**
1703
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
1704
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
1705
+ * produce the same `parameters` schema; this does not change how the request body
1706
+ * is encoded (see `args_at_root`).
1707
+ */
1708
+ parameter_type?: 'json' | 'form';
1683
1709
  /**
1684
1710
  * The parameters the functions accepts, described as a JSON Schema object. See
1685
1711
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -2236,7 +2262,7 @@ export declare namespace ConversationFlowResponse {
2236
2262
  /**
2237
2263
  * The LLM model to use
2238
2264
  */
2239
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2265
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2240
2266
  /**
2241
2267
  * Type of model choice
2242
2268
  */
@@ -2554,7 +2580,7 @@ export declare namespace ConversationFlowResponse {
2554
2580
  /**
2555
2581
  * The LLM model to use
2556
2582
  */
2557
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2583
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2558
2584
  /**
2559
2585
  * Type of model choice
2560
2586
  */
@@ -2880,7 +2906,7 @@ export declare namespace ConversationFlowResponse {
2880
2906
  /**
2881
2907
  * The LLM model to use
2882
2908
  */
2883
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2909
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
2884
2910
  /**
2885
2911
  * Type of model choice
2886
2912
  */
@@ -3049,6 +3075,12 @@ export declare namespace ConversationFlowResponse {
3049
3075
  * The time to wait before considering transfer fails.
3050
3076
  */
3051
3077
  agent_detection_timeout_ms?: number;
3078
+ /**
3079
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
3080
+ * `custom`. Must reference an audio asset owned by the organization (see
3081
+ * create-asset).
3082
+ */
3083
+ custom_on_hold_music_asset_id?: string;
3052
3084
  /**
3053
3085
  * Whether to play an audio cue when bridging the call. Defaults to true.
3054
3086
  */
@@ -3059,9 +3091,10 @@ export declare namespace ConversationFlowResponse {
3059
3091
  */
3060
3092
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
3061
3093
  /**
3062
- * The music to play while the caller is being transferred.
3094
+ * The music to play while the caller is being transferred. Use `custom` together
3095
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
3063
3096
  */
3064
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
3097
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
3065
3098
  /**
3066
3099
  * If set to true, will not perform human detection for the transfer. Default to
3067
3100
  * false.
@@ -3141,14 +3174,21 @@ export declare namespace ConversationFlowResponse {
3141
3174
  * The type of the transfer.
3142
3175
  */
3143
3176
  type: 'agentic_warm_transfer';
3177
+ /**
3178
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
3179
+ * `custom`. Must reference an audio asset owned by the organization (see
3180
+ * create-asset).
3181
+ */
3182
+ custom_on_hold_music_asset_id?: string;
3144
3183
  /**
3145
3184
  * Whether to play an audio cue when bridging the call. Defaults to true.
3146
3185
  */
3147
3186
  enable_bridge_audio_cue?: boolean;
3148
3187
  /**
3149
- * The music to play while the caller is being transferred.
3188
+ * The music to play while the caller is being transferred. Use `custom` together
3189
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
3150
3190
  */
3151
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
3191
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
3152
3192
  /**
3153
3193
  * If set, when transfer is successful, will say the handoff message to both the
3154
3194
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -3361,7 +3401,7 @@ export declare namespace ConversationFlowResponse {
3361
3401
  /**
3362
3402
  * The LLM model to use
3363
3403
  */
3364
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3404
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3365
3405
  /**
3366
3406
  * Type of model choice
3367
3407
  */
@@ -3653,7 +3693,7 @@ export declare namespace ConversationFlowResponse {
3653
3693
  /**
3654
3694
  * The LLM model to use
3655
3695
  */
3656
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3696
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3657
3697
  /**
3658
3698
  * Type of model choice
3659
3699
  */
@@ -3930,7 +3970,7 @@ export declare namespace ConversationFlowResponse {
3930
3970
  /**
3931
3971
  * The LLM model to use
3932
3972
  */
3933
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3973
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
3934
3974
  /**
3935
3975
  * Type of model choice
3936
3976
  */
@@ -4218,7 +4258,7 @@ export declare namespace ConversationFlowResponse {
4218
4258
  /**
4219
4259
  * The LLM model to use
4220
4260
  */
4221
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4261
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4222
4262
  /**
4223
4263
  * Type of model choice
4224
4264
  */
@@ -4608,7 +4648,7 @@ export declare namespace ConversationFlowResponse {
4608
4648
  /**
4609
4649
  * The LLM model to use
4610
4650
  */
4611
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4651
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4612
4652
  /**
4613
4653
  * Type of model choice
4614
4654
  */
@@ -4872,7 +4912,7 @@ export declare namespace ConversationFlowResponse {
4872
4912
  /**
4873
4913
  * The LLM model to use
4874
4914
  */
4875
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4915
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
4876
4916
  /**
4877
4917
  * Type of model choice
4878
4918
  */
@@ -5200,7 +5240,7 @@ export declare namespace ConversationFlowResponse {
5200
5240
  /**
5201
5241
  * The LLM model to use
5202
5242
  */
5203
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5243
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5204
5244
  /**
5205
5245
  * Type of model choice
5206
5246
  */
@@ -5665,7 +5705,7 @@ export declare namespace ConversationFlowResponse {
5665
5705
  /**
5666
5706
  * The LLM model to use
5667
5707
  */
5668
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5708
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5669
5709
  /**
5670
5710
  * Type of model choice
5671
5711
  */
@@ -5848,7 +5888,7 @@ export declare namespace ConversationFlowResponse {
5848
5888
  /**
5849
5889
  * The LLM model to use
5850
5890
  */
5851
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5891
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
5852
5892
  /**
5853
5893
  * Type of model choice
5854
5894
  */
@@ -5978,6 +6018,13 @@ export declare namespace ConversationFlowResponse {
5978
6018
  * Method to use for the request, default to POST.
5979
6019
  */
5980
6020
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
6021
+ /**
6022
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
6023
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
6024
+ * produce the same `parameters` schema; this does not change how the request body
6025
+ * is encoded (see `args_at_root`).
6026
+ */
6027
+ parameter_type?: 'json' | 'form';
5981
6028
  /**
5982
6029
  * The parameters the functions accepts, described as a JSON Schema object. See
5983
6030
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -6170,7 +6217,7 @@ export declare namespace ConversationFlowResponse {
6170
6217
  /**
6171
6218
  * The LLM model to use
6172
6219
  */
6173
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
6220
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
6174
6221
  /**
6175
6222
  * Type of model choice
6176
6223
  */
@@ -6577,7 +6624,7 @@ export declare namespace ConversationFlowResponse {
6577
6624
  /**
6578
6625
  * The LLM model to use
6579
6626
  */
6580
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
6627
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
6581
6628
  /**
6582
6629
  * Type of model choice
6583
6630
  */
@@ -7035,7 +7082,7 @@ export declare namespace ConversationFlowResponse {
7035
7082
  /**
7036
7083
  * The LLM model to use
7037
7084
  */
7038
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
7085
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
7039
7086
  /**
7040
7087
  * Type of model choice
7041
7088
  */
@@ -7234,6 +7281,12 @@ export declare namespace ConversationFlowResponse {
7234
7281
  * The time to wait before considering transfer fails.
7235
7282
  */
7236
7283
  agent_detection_timeout_ms?: number;
7284
+ /**
7285
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
7286
+ * `custom`. Must reference an audio asset owned by the organization (see
7287
+ * create-asset).
7288
+ */
7289
+ custom_on_hold_music_asset_id?: string;
7237
7290
  /**
7238
7291
  * Whether to play an audio cue when bridging the call. Defaults to true.
7239
7292
  */
@@ -7244,9 +7297,10 @@ export declare namespace ConversationFlowResponse {
7244
7297
  */
7245
7298
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
7246
7299
  /**
7247
- * The music to play while the caller is being transferred.
7300
+ * The music to play while the caller is being transferred. Use `custom` together
7301
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
7248
7302
  */
7249
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
7303
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
7250
7304
  /**
7251
7305
  * If set to true, will not perform human detection for the transfer. Default to
7252
7306
  * false.
@@ -7326,14 +7380,21 @@ export declare namespace ConversationFlowResponse {
7326
7380
  * The type of the transfer.
7327
7381
  */
7328
7382
  type: 'agentic_warm_transfer';
7383
+ /**
7384
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
7385
+ * `custom`. Must reference an audio asset owned by the organization (see
7386
+ * create-asset).
7387
+ */
7388
+ custom_on_hold_music_asset_id?: string;
7329
7389
  /**
7330
7390
  * Whether to play an audio cue when bridging the call. Defaults to true.
7331
7391
  */
7332
7392
  enable_bridge_audio_cue?: boolean;
7333
7393
  /**
7334
- * The music to play while the caller is being transferred.
7394
+ * The music to play while the caller is being transferred. Use `custom` together
7395
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
7335
7396
  */
7336
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
7397
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
7337
7398
  /**
7338
7399
  * If set, when transfer is successful, will say the handoff message to both the
7339
7400
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -7654,6 +7715,13 @@ export declare namespace ConversationFlowResponse {
7654
7715
  * Method to use for the request, default to POST.
7655
7716
  */
7656
7717
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
7718
+ /**
7719
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
7720
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
7721
+ * produce the same `parameters` schema; this does not change how the request body
7722
+ * is encoded (see `args_at_root`).
7723
+ */
7724
+ parameter_type?: 'json' | 'form';
7657
7725
  /**
7658
7726
  * The parameters the functions accepts, described as a JSON Schema object. See
7659
7727
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -8210,7 +8278,7 @@ export declare namespace ConversationFlowResponse {
8210
8278
  /**
8211
8279
  * The LLM model to use
8212
8280
  */
8213
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8281
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8214
8282
  /**
8215
8283
  * Type of model choice
8216
8284
  */
@@ -8528,7 +8596,7 @@ export declare namespace ConversationFlowResponse {
8528
8596
  /**
8529
8597
  * The LLM model to use
8530
8598
  */
8531
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8599
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8532
8600
  /**
8533
8601
  * Type of model choice
8534
8602
  */
@@ -8854,7 +8922,7 @@ export declare namespace ConversationFlowResponse {
8854
8922
  /**
8855
8923
  * The LLM model to use
8856
8924
  */
8857
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8925
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
8858
8926
  /**
8859
8927
  * Type of model choice
8860
8928
  */
@@ -9023,6 +9091,12 @@ export declare namespace ConversationFlowResponse {
9023
9091
  * The time to wait before considering transfer fails.
9024
9092
  */
9025
9093
  agent_detection_timeout_ms?: number;
9094
+ /**
9095
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
9096
+ * `custom`. Must reference an audio asset owned by the organization (see
9097
+ * create-asset).
9098
+ */
9099
+ custom_on_hold_music_asset_id?: string;
9026
9100
  /**
9027
9101
  * Whether to play an audio cue when bridging the call. Defaults to true.
9028
9102
  */
@@ -9033,9 +9107,10 @@ export declare namespace ConversationFlowResponse {
9033
9107
  */
9034
9108
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
9035
9109
  /**
9036
- * The music to play while the caller is being transferred.
9110
+ * The music to play while the caller is being transferred. Use `custom` together
9111
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
9037
9112
  */
9038
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
9113
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
9039
9114
  /**
9040
9115
  * If set to true, will not perform human detection for the transfer. Default to
9041
9116
  * false.
@@ -9115,14 +9190,21 @@ export declare namespace ConversationFlowResponse {
9115
9190
  * The type of the transfer.
9116
9191
  */
9117
9192
  type: 'agentic_warm_transfer';
9193
+ /**
9194
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
9195
+ * `custom`. Must reference an audio asset owned by the organization (see
9196
+ * create-asset).
9197
+ */
9198
+ custom_on_hold_music_asset_id?: string;
9118
9199
  /**
9119
9200
  * Whether to play an audio cue when bridging the call. Defaults to true.
9120
9201
  */
9121
9202
  enable_bridge_audio_cue?: boolean;
9122
9203
  /**
9123
- * The music to play while the caller is being transferred.
9204
+ * The music to play while the caller is being transferred. Use `custom` together
9205
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
9124
9206
  */
9125
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
9207
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
9126
9208
  /**
9127
9209
  * If set, when transfer is successful, will say the handoff message to both the
9128
9210
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -9335,7 +9417,7 @@ export declare namespace ConversationFlowResponse {
9335
9417
  /**
9336
9418
  * The LLM model to use
9337
9419
  */
9338
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9420
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9339
9421
  /**
9340
9422
  * Type of model choice
9341
9423
  */
@@ -9627,7 +9709,7 @@ export declare namespace ConversationFlowResponse {
9627
9709
  /**
9628
9710
  * The LLM model to use
9629
9711
  */
9630
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9712
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9631
9713
  /**
9632
9714
  * Type of model choice
9633
9715
  */
@@ -9904,7 +9986,7 @@ export declare namespace ConversationFlowResponse {
9904
9986
  /**
9905
9987
  * The LLM model to use
9906
9988
  */
9907
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9989
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
9908
9990
  /**
9909
9991
  * Type of model choice
9910
9992
  */
@@ -10192,7 +10274,7 @@ export declare namespace ConversationFlowResponse {
10192
10274
  /**
10193
10275
  * The LLM model to use
10194
10276
  */
10195
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10277
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10196
10278
  /**
10197
10279
  * Type of model choice
10198
10280
  */
@@ -10582,7 +10664,7 @@ export declare namespace ConversationFlowResponse {
10582
10664
  /**
10583
10665
  * The LLM model to use
10584
10666
  */
10585
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10667
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10586
10668
  /**
10587
10669
  * Type of model choice
10588
10670
  */
@@ -10846,7 +10928,7 @@ export declare namespace ConversationFlowResponse {
10846
10928
  /**
10847
10929
  * The LLM model to use
10848
10930
  */
10849
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10931
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
10850
10932
  /**
10851
10933
  * Type of model choice
10852
10934
  */
@@ -11174,7 +11256,7 @@ export declare namespace ConversationFlowResponse {
11174
11256
  /**
11175
11257
  * The LLM model to use
11176
11258
  */
11177
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11259
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11178
11260
  /**
11179
11261
  * Type of model choice
11180
11262
  */
@@ -11639,7 +11721,7 @@ export declare namespace ConversationFlowResponse {
11639
11721
  /**
11640
11722
  * The LLM model to use
11641
11723
  */
11642
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11724
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11643
11725
  /**
11644
11726
  * Type of model choice
11645
11727
  */
@@ -11822,7 +11904,7 @@ export declare namespace ConversationFlowResponse {
11822
11904
  /**
11823
11905
  * The LLM model to use
11824
11906
  */
11825
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11907
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
11826
11908
  /**
11827
11909
  * Type of model choice
11828
11910
  */
@@ -11921,6 +12003,13 @@ export declare namespace ConversationFlowResponse {
11921
12003
  * Method to use for the request, default to POST.
11922
12004
  */
11923
12005
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
12006
+ /**
12007
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
12008
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
12009
+ * produce the same `parameters` schema; this does not change how the request body
12010
+ * is encoded (see `args_at_root`).
12011
+ */
12012
+ parameter_type?: 'json' | 'form';
11924
12013
  /**
11925
12014
  * The parameters the functions accepts, described as a JSON Schema object. See
11926
12015
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -12171,7 +12260,7 @@ export declare namespace ConversationFlowCreateParams {
12171
12260
  /**
12172
12261
  * The LLM model to use
12173
12262
  */
12174
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
12263
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
12175
12264
  /**
12176
12265
  * Type of model choice
12177
12266
  */
@@ -12578,7 +12667,7 @@ export declare namespace ConversationFlowCreateParams {
12578
12667
  /**
12579
12668
  * The LLM model to use
12580
12669
  */
12581
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
12670
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
12582
12671
  /**
12583
12672
  * Type of model choice
12584
12673
  */
@@ -13036,7 +13125,7 @@ export declare namespace ConversationFlowCreateParams {
13036
13125
  /**
13037
13126
  * The LLM model to use
13038
13127
  */
13039
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
13128
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
13040
13129
  /**
13041
13130
  * Type of model choice
13042
13131
  */
@@ -13235,6 +13324,12 @@ export declare namespace ConversationFlowCreateParams {
13235
13324
  * The time to wait before considering transfer fails.
13236
13325
  */
13237
13326
  agent_detection_timeout_ms?: number;
13327
+ /**
13328
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
13329
+ * `custom`. Must reference an audio asset owned by the organization (see
13330
+ * create-asset).
13331
+ */
13332
+ custom_on_hold_music_asset_id?: string;
13238
13333
  /**
13239
13334
  * Whether to play an audio cue when bridging the call. Defaults to true.
13240
13335
  */
@@ -13245,9 +13340,10 @@ export declare namespace ConversationFlowCreateParams {
13245
13340
  */
13246
13341
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
13247
13342
  /**
13248
- * The music to play while the caller is being transferred.
13343
+ * The music to play while the caller is being transferred. Use `custom` together
13344
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
13249
13345
  */
13250
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
13346
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
13251
13347
  /**
13252
13348
  * If set to true, will not perform human detection for the transfer. Default to
13253
13349
  * false.
@@ -13327,14 +13423,21 @@ export declare namespace ConversationFlowCreateParams {
13327
13423
  * The type of the transfer.
13328
13424
  */
13329
13425
  type: 'agentic_warm_transfer';
13426
+ /**
13427
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
13428
+ * `custom`. Must reference an audio asset owned by the organization (see
13429
+ * create-asset).
13430
+ */
13431
+ custom_on_hold_music_asset_id?: string;
13330
13432
  /**
13331
13433
  * Whether to play an audio cue when bridging the call. Defaults to true.
13332
13434
  */
13333
13435
  enable_bridge_audio_cue?: boolean;
13334
13436
  /**
13335
- * The music to play while the caller is being transferred.
13437
+ * The music to play while the caller is being transferred. Use `custom` together
13438
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
13336
13439
  */
13337
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
13440
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
13338
13441
  /**
13339
13442
  * If set, when transfer is successful, will say the handoff message to both the
13340
13443
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -13655,6 +13758,13 @@ export declare namespace ConversationFlowCreateParams {
13655
13758
  * Method to use for the request, default to POST.
13656
13759
  */
13657
13760
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
13761
+ /**
13762
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
13763
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
13764
+ * produce the same `parameters` schema; this does not change how the request body
13765
+ * is encoded (see `args_at_root`).
13766
+ */
13767
+ parameter_type?: 'json' | 'form';
13658
13768
  /**
13659
13769
  * The parameters the functions accepts, described as a JSON Schema object. See
13660
13770
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -14211,7 +14321,7 @@ export declare namespace ConversationFlowCreateParams {
14211
14321
  /**
14212
14322
  * The LLM model to use
14213
14323
  */
14214
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14324
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14215
14325
  /**
14216
14326
  * Type of model choice
14217
14327
  */
@@ -14529,7 +14639,7 @@ export declare namespace ConversationFlowCreateParams {
14529
14639
  /**
14530
14640
  * The LLM model to use
14531
14641
  */
14532
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14642
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14533
14643
  /**
14534
14644
  * Type of model choice
14535
14645
  */
@@ -14855,7 +14965,7 @@ export declare namespace ConversationFlowCreateParams {
14855
14965
  /**
14856
14966
  * The LLM model to use
14857
14967
  */
14858
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14968
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
14859
14969
  /**
14860
14970
  * Type of model choice
14861
14971
  */
@@ -15024,6 +15134,12 @@ export declare namespace ConversationFlowCreateParams {
15024
15134
  * The time to wait before considering transfer fails.
15025
15135
  */
15026
15136
  agent_detection_timeout_ms?: number;
15137
+ /**
15138
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
15139
+ * `custom`. Must reference an audio asset owned by the organization (see
15140
+ * create-asset).
15141
+ */
15142
+ custom_on_hold_music_asset_id?: string;
15027
15143
  /**
15028
15144
  * Whether to play an audio cue when bridging the call. Defaults to true.
15029
15145
  */
@@ -15034,9 +15150,10 @@ export declare namespace ConversationFlowCreateParams {
15034
15150
  */
15035
15151
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
15036
15152
  /**
15037
- * The music to play while the caller is being transferred.
15153
+ * The music to play while the caller is being transferred. Use `custom` together
15154
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
15038
15155
  */
15039
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
15156
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
15040
15157
  /**
15041
15158
  * If set to true, will not perform human detection for the transfer. Default to
15042
15159
  * false.
@@ -15116,14 +15233,21 @@ export declare namespace ConversationFlowCreateParams {
15116
15233
  * The type of the transfer.
15117
15234
  */
15118
15235
  type: 'agentic_warm_transfer';
15236
+ /**
15237
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
15238
+ * `custom`. Must reference an audio asset owned by the organization (see
15239
+ * create-asset).
15240
+ */
15241
+ custom_on_hold_music_asset_id?: string;
15119
15242
  /**
15120
15243
  * Whether to play an audio cue when bridging the call. Defaults to true.
15121
15244
  */
15122
15245
  enable_bridge_audio_cue?: boolean;
15123
15246
  /**
15124
- * The music to play while the caller is being transferred.
15247
+ * The music to play while the caller is being transferred. Use `custom` together
15248
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
15125
15249
  */
15126
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
15250
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
15127
15251
  /**
15128
15252
  * If set, when transfer is successful, will say the handoff message to both the
15129
15253
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -15336,7 +15460,7 @@ export declare namespace ConversationFlowCreateParams {
15336
15460
  /**
15337
15461
  * The LLM model to use
15338
15462
  */
15339
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
15463
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
15340
15464
  /**
15341
15465
  * Type of model choice
15342
15466
  */
@@ -15628,7 +15752,7 @@ export declare namespace ConversationFlowCreateParams {
15628
15752
  /**
15629
15753
  * The LLM model to use
15630
15754
  */
15631
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
15755
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
15632
15756
  /**
15633
15757
  * Type of model choice
15634
15758
  */
@@ -15905,7 +16029,7 @@ export declare namespace ConversationFlowCreateParams {
15905
16029
  /**
15906
16030
  * The LLM model to use
15907
16031
  */
15908
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16032
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
15909
16033
  /**
15910
16034
  * Type of model choice
15911
16035
  */
@@ -16193,7 +16317,7 @@ export declare namespace ConversationFlowCreateParams {
16193
16317
  /**
16194
16318
  * The LLM model to use
16195
16319
  */
16196
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16320
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16197
16321
  /**
16198
16322
  * Type of model choice
16199
16323
  */
@@ -16583,7 +16707,7 @@ export declare namespace ConversationFlowCreateParams {
16583
16707
  /**
16584
16708
  * The LLM model to use
16585
16709
  */
16586
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16710
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16587
16711
  /**
16588
16712
  * Type of model choice
16589
16713
  */
@@ -16847,7 +16971,7 @@ export declare namespace ConversationFlowCreateParams {
16847
16971
  /**
16848
16972
  * The LLM model to use
16849
16973
  */
16850
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16974
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
16851
16975
  /**
16852
16976
  * Type of model choice
16853
16977
  */
@@ -17175,7 +17299,7 @@ export declare namespace ConversationFlowCreateParams {
17175
17299
  /**
17176
17300
  * The LLM model to use
17177
17301
  */
17178
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17302
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17179
17303
  /**
17180
17304
  * Type of model choice
17181
17305
  */
@@ -17640,7 +17764,7 @@ export declare namespace ConversationFlowCreateParams {
17640
17764
  /**
17641
17765
  * The LLM model to use
17642
17766
  */
17643
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17767
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17644
17768
  /**
17645
17769
  * Type of model choice
17646
17770
  */
@@ -17823,7 +17947,7 @@ export declare namespace ConversationFlowCreateParams {
17823
17947
  /**
17824
17948
  * The LLM model to use
17825
17949
  */
17826
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17950
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
17827
17951
  /**
17828
17952
  * Type of model choice
17829
17953
  */
@@ -18273,7 +18397,7 @@ export declare namespace ConversationFlowCreateParams {
18273
18397
  /**
18274
18398
  * The LLM model to use
18275
18399
  */
18276
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
18400
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
18277
18401
  /**
18278
18402
  * Type of model choice
18279
18403
  */
@@ -18731,7 +18855,7 @@ export declare namespace ConversationFlowCreateParams {
18731
18855
  /**
18732
18856
  * The LLM model to use
18733
18857
  */
18734
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
18858
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
18735
18859
  /**
18736
18860
  * Type of model choice
18737
18861
  */
@@ -18930,6 +19054,12 @@ export declare namespace ConversationFlowCreateParams {
18930
19054
  * The time to wait before considering transfer fails.
18931
19055
  */
18932
19056
  agent_detection_timeout_ms?: number;
19057
+ /**
19058
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
19059
+ * `custom`. Must reference an audio asset owned by the organization (see
19060
+ * create-asset).
19061
+ */
19062
+ custom_on_hold_music_asset_id?: string;
18933
19063
  /**
18934
19064
  * Whether to play an audio cue when bridging the call. Defaults to true.
18935
19065
  */
@@ -18940,9 +19070,10 @@ export declare namespace ConversationFlowCreateParams {
18940
19070
  */
18941
19071
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
18942
19072
  /**
18943
- * The music to play while the caller is being transferred.
19073
+ * The music to play while the caller is being transferred. Use `custom` together
19074
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
18944
19075
  */
18945
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
19076
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
18946
19077
  /**
18947
19078
  * If set to true, will not perform human detection for the transfer. Default to
18948
19079
  * false.
@@ -19022,14 +19153,21 @@ export declare namespace ConversationFlowCreateParams {
19022
19153
  * The type of the transfer.
19023
19154
  */
19024
19155
  type: 'agentic_warm_transfer';
19156
+ /**
19157
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
19158
+ * `custom`. Must reference an audio asset owned by the organization (see
19159
+ * create-asset).
19160
+ */
19161
+ custom_on_hold_music_asset_id?: string;
19025
19162
  /**
19026
19163
  * Whether to play an audio cue when bridging the call. Defaults to true.
19027
19164
  */
19028
19165
  enable_bridge_audio_cue?: boolean;
19029
19166
  /**
19030
- * The music to play while the caller is being transferred.
19167
+ * The music to play while the caller is being transferred. Use `custom` together
19168
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
19031
19169
  */
19032
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
19170
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
19033
19171
  /**
19034
19172
  * If set, when transfer is successful, will say the handoff message to both the
19035
19173
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -19350,6 +19488,13 @@ export declare namespace ConversationFlowCreateParams {
19350
19488
  * Method to use for the request, default to POST.
19351
19489
  */
19352
19490
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
19491
+ /**
19492
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
19493
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
19494
+ * produce the same `parameters` schema; this does not change how the request body
19495
+ * is encoded (see `args_at_root`).
19496
+ */
19497
+ parameter_type?: 'json' | 'form';
19353
19498
  /**
19354
19499
  * The parameters the functions accepts, described as a JSON Schema object. See
19355
19500
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -19906,7 +20051,7 @@ export declare namespace ConversationFlowCreateParams {
19906
20051
  /**
19907
20052
  * The LLM model to use
19908
20053
  */
19909
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
20054
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
19910
20055
  /**
19911
20056
  * Type of model choice
19912
20057
  */
@@ -20224,7 +20369,7 @@ export declare namespace ConversationFlowCreateParams {
20224
20369
  /**
20225
20370
  * The LLM model to use
20226
20371
  */
20227
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
20372
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
20228
20373
  /**
20229
20374
  * Type of model choice
20230
20375
  */
@@ -20550,7 +20695,7 @@ export declare namespace ConversationFlowCreateParams {
20550
20695
  /**
20551
20696
  * The LLM model to use
20552
20697
  */
20553
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
20698
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
20554
20699
  /**
20555
20700
  * Type of model choice
20556
20701
  */
@@ -20719,6 +20864,12 @@ export declare namespace ConversationFlowCreateParams {
20719
20864
  * The time to wait before considering transfer fails.
20720
20865
  */
20721
20866
  agent_detection_timeout_ms?: number;
20867
+ /**
20868
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
20869
+ * `custom`. Must reference an audio asset owned by the organization (see
20870
+ * create-asset).
20871
+ */
20872
+ custom_on_hold_music_asset_id?: string;
20722
20873
  /**
20723
20874
  * Whether to play an audio cue when bridging the call. Defaults to true.
20724
20875
  */
@@ -20729,9 +20880,10 @@ export declare namespace ConversationFlowCreateParams {
20729
20880
  */
20730
20881
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
20731
20882
  /**
20732
- * The music to play while the caller is being transferred.
20883
+ * The music to play while the caller is being transferred. Use `custom` together
20884
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
20733
20885
  */
20734
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
20886
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
20735
20887
  /**
20736
20888
  * If set to true, will not perform human detection for the transfer. Default to
20737
20889
  * false.
@@ -20811,14 +20963,21 @@ export declare namespace ConversationFlowCreateParams {
20811
20963
  * The type of the transfer.
20812
20964
  */
20813
20965
  type: 'agentic_warm_transfer';
20966
+ /**
20967
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
20968
+ * `custom`. Must reference an audio asset owned by the organization (see
20969
+ * create-asset).
20970
+ */
20971
+ custom_on_hold_music_asset_id?: string;
20814
20972
  /**
20815
20973
  * Whether to play an audio cue when bridging the call. Defaults to true.
20816
20974
  */
20817
20975
  enable_bridge_audio_cue?: boolean;
20818
20976
  /**
20819
- * The music to play while the caller is being transferred.
20977
+ * The music to play while the caller is being transferred. Use `custom` together
20978
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
20820
20979
  */
20821
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
20980
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
20822
20981
  /**
20823
20982
  * If set, when transfer is successful, will say the handoff message to both the
20824
20983
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -21031,7 +21190,7 @@ export declare namespace ConversationFlowCreateParams {
21031
21190
  /**
21032
21191
  * The LLM model to use
21033
21192
  */
21034
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21193
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21035
21194
  /**
21036
21195
  * Type of model choice
21037
21196
  */
@@ -21323,7 +21482,7 @@ export declare namespace ConversationFlowCreateParams {
21323
21482
  /**
21324
21483
  * The LLM model to use
21325
21484
  */
21326
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21485
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21327
21486
  /**
21328
21487
  * Type of model choice
21329
21488
  */
@@ -21600,7 +21759,7 @@ export declare namespace ConversationFlowCreateParams {
21600
21759
  /**
21601
21760
  * The LLM model to use
21602
21761
  */
21603
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21762
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21604
21763
  /**
21605
21764
  * Type of model choice
21606
21765
  */
@@ -21888,7 +22047,7 @@ export declare namespace ConversationFlowCreateParams {
21888
22047
  /**
21889
22048
  * The LLM model to use
21890
22049
  */
21891
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22050
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
21892
22051
  /**
21893
22052
  * Type of model choice
21894
22053
  */
@@ -22278,7 +22437,7 @@ export declare namespace ConversationFlowCreateParams {
22278
22437
  /**
22279
22438
  * The LLM model to use
22280
22439
  */
22281
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22440
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22282
22441
  /**
22283
22442
  * Type of model choice
22284
22443
  */
@@ -22542,7 +22701,7 @@ export declare namespace ConversationFlowCreateParams {
22542
22701
  /**
22543
22702
  * The LLM model to use
22544
22703
  */
22545
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22704
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22546
22705
  /**
22547
22706
  * Type of model choice
22548
22707
  */
@@ -22870,7 +23029,7 @@ export declare namespace ConversationFlowCreateParams {
22870
23029
  /**
22871
23030
  * The LLM model to use
22872
23031
  */
22873
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
23032
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
22874
23033
  /**
22875
23034
  * Type of model choice
22876
23035
  */
@@ -23335,7 +23494,7 @@ export declare namespace ConversationFlowCreateParams {
23335
23494
  /**
23336
23495
  * The LLM model to use
23337
23496
  */
23338
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
23497
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
23339
23498
  /**
23340
23499
  * Type of model choice
23341
23500
  */
@@ -23518,7 +23677,7 @@ export declare namespace ConversationFlowCreateParams {
23518
23677
  /**
23519
23678
  * The LLM model to use
23520
23679
  */
23521
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
23680
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
23522
23681
  /**
23523
23682
  * Type of model choice
23524
23683
  */
@@ -23648,6 +23807,13 @@ export declare namespace ConversationFlowCreateParams {
23648
23807
  * Method to use for the request, default to POST.
23649
23808
  */
23650
23809
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
23810
+ /**
23811
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
23812
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
23813
+ * produce the same `parameters` schema; this does not change how the request body
23814
+ * is encoded (see `args_at_root`).
23815
+ */
23816
+ parameter_type?: 'json' | 'form';
23651
23817
  /**
23652
23818
  * The parameters the functions accepts, described as a JSON Schema object. See
23653
23819
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -23921,6 +24087,13 @@ export declare namespace ConversationFlowCreateParams {
23921
24087
  * Method to use for the request, default to POST.
23922
24088
  */
23923
24089
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
24090
+ /**
24091
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
24092
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
24093
+ * produce the same `parameters` schema; this does not change how the request body
24094
+ * is encoded (see `args_at_root`).
24095
+ */
24096
+ parameter_type?: 'json' | 'form';
23924
24097
  /**
23925
24098
  * The parameters the functions accepts, described as a JSON Schema object. See
23926
24099
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -24619,7 +24792,7 @@ export declare namespace ConversationFlowUpdateParams {
24619
24792
  /**
24620
24793
  * The LLM model to use
24621
24794
  */
24622
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
24795
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
24623
24796
  /**
24624
24797
  * Type of model choice
24625
24798
  */
@@ -25077,7 +25250,7 @@ export declare namespace ConversationFlowUpdateParams {
25077
25250
  /**
25078
25251
  * The LLM model to use
25079
25252
  */
25080
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
25253
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
25081
25254
  /**
25082
25255
  * Type of model choice
25083
25256
  */
@@ -25276,6 +25449,12 @@ export declare namespace ConversationFlowUpdateParams {
25276
25449
  * The time to wait before considering transfer fails.
25277
25450
  */
25278
25451
  agent_detection_timeout_ms?: number;
25452
+ /**
25453
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
25454
+ * `custom`. Must reference an audio asset owned by the organization (see
25455
+ * create-asset).
25456
+ */
25457
+ custom_on_hold_music_asset_id?: string;
25279
25458
  /**
25280
25459
  * Whether to play an audio cue when bridging the call. Defaults to true.
25281
25460
  */
@@ -25286,9 +25465,10 @@ export declare namespace ConversationFlowUpdateParams {
25286
25465
  */
25287
25466
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
25288
25467
  /**
25289
- * The music to play while the caller is being transferred.
25468
+ * The music to play while the caller is being transferred. Use `custom` together
25469
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
25290
25470
  */
25291
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
25471
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
25292
25472
  /**
25293
25473
  * If set to true, will not perform human detection for the transfer. Default to
25294
25474
  * false.
@@ -25368,14 +25548,21 @@ export declare namespace ConversationFlowUpdateParams {
25368
25548
  * The type of the transfer.
25369
25549
  */
25370
25550
  type: 'agentic_warm_transfer';
25551
+ /**
25552
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
25553
+ * `custom`. Must reference an audio asset owned by the organization (see
25554
+ * create-asset).
25555
+ */
25556
+ custom_on_hold_music_asset_id?: string;
25371
25557
  /**
25372
25558
  * Whether to play an audio cue when bridging the call. Defaults to true.
25373
25559
  */
25374
25560
  enable_bridge_audio_cue?: boolean;
25375
25561
  /**
25376
- * The music to play while the caller is being transferred.
25562
+ * The music to play while the caller is being transferred. Use `custom` together
25563
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
25377
25564
  */
25378
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
25565
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
25379
25566
  /**
25380
25567
  * If set, when transfer is successful, will say the handoff message to both the
25381
25568
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -25696,6 +25883,13 @@ export declare namespace ConversationFlowUpdateParams {
25696
25883
  * Method to use for the request, default to POST.
25697
25884
  */
25698
25885
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
25886
+ /**
25887
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
25888
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
25889
+ * produce the same `parameters` schema; this does not change how the request body
25890
+ * is encoded (see `args_at_root`).
25891
+ */
25892
+ parameter_type?: 'json' | 'form';
25699
25893
  /**
25700
25894
  * The parameters the functions accepts, described as a JSON Schema object. See
25701
25895
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -26252,7 +26446,7 @@ export declare namespace ConversationFlowUpdateParams {
26252
26446
  /**
26253
26447
  * The LLM model to use
26254
26448
  */
26255
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
26449
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
26256
26450
  /**
26257
26451
  * Type of model choice
26258
26452
  */
@@ -26570,7 +26764,7 @@ export declare namespace ConversationFlowUpdateParams {
26570
26764
  /**
26571
26765
  * The LLM model to use
26572
26766
  */
26573
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
26767
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
26574
26768
  /**
26575
26769
  * Type of model choice
26576
26770
  */
@@ -26896,7 +27090,7 @@ export declare namespace ConversationFlowUpdateParams {
26896
27090
  /**
26897
27091
  * The LLM model to use
26898
27092
  */
26899
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27093
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
26900
27094
  /**
26901
27095
  * Type of model choice
26902
27096
  */
@@ -27065,6 +27259,12 @@ export declare namespace ConversationFlowUpdateParams {
27065
27259
  * The time to wait before considering transfer fails.
27066
27260
  */
27067
27261
  agent_detection_timeout_ms?: number;
27262
+ /**
27263
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
27264
+ * `custom`. Must reference an audio asset owned by the organization (see
27265
+ * create-asset).
27266
+ */
27267
+ custom_on_hold_music_asset_id?: string;
27068
27268
  /**
27069
27269
  * Whether to play an audio cue when bridging the call. Defaults to true.
27070
27270
  */
@@ -27075,9 +27275,10 @@ export declare namespace ConversationFlowUpdateParams {
27075
27275
  */
27076
27276
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
27077
27277
  /**
27078
- * The music to play while the caller is being transferred.
27278
+ * The music to play while the caller is being transferred. Use `custom` together
27279
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
27079
27280
  */
27080
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
27281
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
27081
27282
  /**
27082
27283
  * If set to true, will not perform human detection for the transfer. Default to
27083
27284
  * false.
@@ -27157,14 +27358,21 @@ export declare namespace ConversationFlowUpdateParams {
27157
27358
  * The type of the transfer.
27158
27359
  */
27159
27360
  type: 'agentic_warm_transfer';
27361
+ /**
27362
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
27363
+ * `custom`. Must reference an audio asset owned by the organization (see
27364
+ * create-asset).
27365
+ */
27366
+ custom_on_hold_music_asset_id?: string;
27160
27367
  /**
27161
27368
  * Whether to play an audio cue when bridging the call. Defaults to true.
27162
27369
  */
27163
27370
  enable_bridge_audio_cue?: boolean;
27164
27371
  /**
27165
- * The music to play while the caller is being transferred.
27372
+ * The music to play while the caller is being transferred. Use `custom` together
27373
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
27166
27374
  */
27167
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
27375
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
27168
27376
  /**
27169
27377
  * If set, when transfer is successful, will say the handoff message to both the
27170
27378
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -27377,7 +27585,7 @@ export declare namespace ConversationFlowUpdateParams {
27377
27585
  /**
27378
27586
  * The LLM model to use
27379
27587
  */
27380
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27588
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27381
27589
  /**
27382
27590
  * Type of model choice
27383
27591
  */
@@ -27669,7 +27877,7 @@ export declare namespace ConversationFlowUpdateParams {
27669
27877
  /**
27670
27878
  * The LLM model to use
27671
27879
  */
27672
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27880
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27673
27881
  /**
27674
27882
  * Type of model choice
27675
27883
  */
@@ -27946,7 +28154,7 @@ export declare namespace ConversationFlowUpdateParams {
27946
28154
  /**
27947
28155
  * The LLM model to use
27948
28156
  */
27949
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28157
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
27950
28158
  /**
27951
28159
  * Type of model choice
27952
28160
  */
@@ -28234,7 +28442,7 @@ export declare namespace ConversationFlowUpdateParams {
28234
28442
  /**
28235
28443
  * The LLM model to use
28236
28444
  */
28237
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28445
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28238
28446
  /**
28239
28447
  * Type of model choice
28240
28448
  */
@@ -28624,7 +28832,7 @@ export declare namespace ConversationFlowUpdateParams {
28624
28832
  /**
28625
28833
  * The LLM model to use
28626
28834
  */
28627
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28835
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28628
28836
  /**
28629
28837
  * Type of model choice
28630
28838
  */
@@ -28888,7 +29096,7 @@ export declare namespace ConversationFlowUpdateParams {
28888
29096
  /**
28889
29097
  * The LLM model to use
28890
29098
  */
28891
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29099
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
28892
29100
  /**
28893
29101
  * Type of model choice
28894
29102
  */
@@ -29216,7 +29424,7 @@ export declare namespace ConversationFlowUpdateParams {
29216
29424
  /**
29217
29425
  * The LLM model to use
29218
29426
  */
29219
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29427
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29220
29428
  /**
29221
29429
  * Type of model choice
29222
29430
  */
@@ -29681,7 +29889,7 @@ export declare namespace ConversationFlowUpdateParams {
29681
29889
  /**
29682
29890
  * The LLM model to use
29683
29891
  */
29684
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29892
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29685
29893
  /**
29686
29894
  * Type of model choice
29687
29895
  */
@@ -29864,7 +30072,7 @@ export declare namespace ConversationFlowUpdateParams {
29864
30072
  /**
29865
30073
  * The LLM model to use
29866
30074
  */
29867
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
30075
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
29868
30076
  /**
29869
30077
  * Type of model choice
29870
30078
  */
@@ -29994,6 +30202,13 @@ export declare namespace ConversationFlowUpdateParams {
29994
30202
  * Method to use for the request, default to POST.
29995
30203
  */
29996
30204
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
30205
+ /**
30206
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
30207
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
30208
+ * produce the same `parameters` schema; this does not change how the request body
30209
+ * is encoded (see `args_at_root`).
30210
+ */
30211
+ parameter_type?: 'json' | 'form';
29997
30212
  /**
29998
30213
  * The parameters the functions accepts, described as a JSON Schema object. See
29999
30214
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -30186,7 +30401,7 @@ export declare namespace ConversationFlowUpdateParams {
30186
30401
  /**
30187
30402
  * The LLM model to use
30188
30403
  */
30189
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
30404
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
30190
30405
  /**
30191
30406
  * Type of model choice
30192
30407
  */
@@ -30593,7 +30808,7 @@ export declare namespace ConversationFlowUpdateParams {
30593
30808
  /**
30594
30809
  * The LLM model to use
30595
30810
  */
30596
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
30811
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
30597
30812
  /**
30598
30813
  * Type of model choice
30599
30814
  */
@@ -31051,7 +31266,7 @@ export declare namespace ConversationFlowUpdateParams {
31051
31266
  /**
31052
31267
  * The LLM model to use
31053
31268
  */
31054
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
31269
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
31055
31270
  /**
31056
31271
  * Type of model choice
31057
31272
  */
@@ -31250,6 +31465,12 @@ export declare namespace ConversationFlowUpdateParams {
31250
31465
  * The time to wait before considering transfer fails.
31251
31466
  */
31252
31467
  agent_detection_timeout_ms?: number;
31468
+ /**
31469
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
31470
+ * `custom`. Must reference an audio asset owned by the organization (see
31471
+ * create-asset).
31472
+ */
31473
+ custom_on_hold_music_asset_id?: string;
31253
31474
  /**
31254
31475
  * Whether to play an audio cue when bridging the call. Defaults to true.
31255
31476
  */
@@ -31260,9 +31481,10 @@ export declare namespace ConversationFlowUpdateParams {
31260
31481
  */
31261
31482
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
31262
31483
  /**
31263
- * The music to play while the caller is being transferred.
31484
+ * The music to play while the caller is being transferred. Use `custom` together
31485
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
31264
31486
  */
31265
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
31487
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
31266
31488
  /**
31267
31489
  * If set to true, will not perform human detection for the transfer. Default to
31268
31490
  * false.
@@ -31342,14 +31564,21 @@ export declare namespace ConversationFlowUpdateParams {
31342
31564
  * The type of the transfer.
31343
31565
  */
31344
31566
  type: 'agentic_warm_transfer';
31567
+ /**
31568
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
31569
+ * `custom`. Must reference an audio asset owned by the organization (see
31570
+ * create-asset).
31571
+ */
31572
+ custom_on_hold_music_asset_id?: string;
31345
31573
  /**
31346
31574
  * Whether to play an audio cue when bridging the call. Defaults to true.
31347
31575
  */
31348
31576
  enable_bridge_audio_cue?: boolean;
31349
31577
  /**
31350
- * The music to play while the caller is being transferred.
31578
+ * The music to play while the caller is being transferred. Use `custom` together
31579
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
31351
31580
  */
31352
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
31581
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
31353
31582
  /**
31354
31583
  * If set, when transfer is successful, will say the handoff message to both the
31355
31584
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -31670,6 +31899,13 @@ export declare namespace ConversationFlowUpdateParams {
31670
31899
  * Method to use for the request, default to POST.
31671
31900
  */
31672
31901
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
31902
+ /**
31903
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
31904
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
31905
+ * produce the same `parameters` schema; this does not change how the request body
31906
+ * is encoded (see `args_at_root`).
31907
+ */
31908
+ parameter_type?: 'json' | 'form';
31673
31909
  /**
31674
31910
  * The parameters the functions accepts, described as a JSON Schema object. See
31675
31911
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -32226,7 +32462,7 @@ export declare namespace ConversationFlowUpdateParams {
32226
32462
  /**
32227
32463
  * The LLM model to use
32228
32464
  */
32229
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
32465
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
32230
32466
  /**
32231
32467
  * Type of model choice
32232
32468
  */
@@ -32544,7 +32780,7 @@ export declare namespace ConversationFlowUpdateParams {
32544
32780
  /**
32545
32781
  * The LLM model to use
32546
32782
  */
32547
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
32783
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
32548
32784
  /**
32549
32785
  * Type of model choice
32550
32786
  */
@@ -32870,7 +33106,7 @@ export declare namespace ConversationFlowUpdateParams {
32870
33106
  /**
32871
33107
  * The LLM model to use
32872
33108
  */
32873
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33109
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
32874
33110
  /**
32875
33111
  * Type of model choice
32876
33112
  */
@@ -33039,6 +33275,12 @@ export declare namespace ConversationFlowUpdateParams {
33039
33275
  * The time to wait before considering transfer fails.
33040
33276
  */
33041
33277
  agent_detection_timeout_ms?: number;
33278
+ /**
33279
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
33280
+ * `custom`. Must reference an audio asset owned by the organization (see
33281
+ * create-asset).
33282
+ */
33283
+ custom_on_hold_music_asset_id?: string;
33042
33284
  /**
33043
33285
  * Whether to play an audio cue when bridging the call. Defaults to true.
33044
33286
  */
@@ -33049,9 +33291,10 @@ export declare namespace ConversationFlowUpdateParams {
33049
33291
  */
33050
33292
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
33051
33293
  /**
33052
- * The music to play while the caller is being transferred.
33294
+ * The music to play while the caller is being transferred. Use `custom` together
33295
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
33053
33296
  */
33054
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
33297
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
33055
33298
  /**
33056
33299
  * If set to true, will not perform human detection for the transfer. Default to
33057
33300
  * false.
@@ -33131,14 +33374,21 @@ export declare namespace ConversationFlowUpdateParams {
33131
33374
  * The type of the transfer.
33132
33375
  */
33133
33376
  type: 'agentic_warm_transfer';
33377
+ /**
33378
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
33379
+ * `custom`. Must reference an audio asset owned by the organization (see
33380
+ * create-asset).
33381
+ */
33382
+ custom_on_hold_music_asset_id?: string;
33134
33383
  /**
33135
33384
  * Whether to play an audio cue when bridging the call. Defaults to true.
33136
33385
  */
33137
33386
  enable_bridge_audio_cue?: boolean;
33138
33387
  /**
33139
- * The music to play while the caller is being transferred.
33388
+ * The music to play while the caller is being transferred. Use `custom` together
33389
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
33140
33390
  */
33141
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
33391
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
33142
33392
  /**
33143
33393
  * If set, when transfer is successful, will say the handoff message to both the
33144
33394
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -33351,7 +33601,7 @@ export declare namespace ConversationFlowUpdateParams {
33351
33601
  /**
33352
33602
  * The LLM model to use
33353
33603
  */
33354
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33604
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33355
33605
  /**
33356
33606
  * Type of model choice
33357
33607
  */
@@ -33643,7 +33893,7 @@ export declare namespace ConversationFlowUpdateParams {
33643
33893
  /**
33644
33894
  * The LLM model to use
33645
33895
  */
33646
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33896
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33647
33897
  /**
33648
33898
  * Type of model choice
33649
33899
  */
@@ -33920,7 +34170,7 @@ export declare namespace ConversationFlowUpdateParams {
33920
34170
  /**
33921
34171
  * The LLM model to use
33922
34172
  */
33923
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34173
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
33924
34174
  /**
33925
34175
  * Type of model choice
33926
34176
  */
@@ -34208,7 +34458,7 @@ export declare namespace ConversationFlowUpdateParams {
34208
34458
  /**
34209
34459
  * The LLM model to use
34210
34460
  */
34211
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34461
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34212
34462
  /**
34213
34463
  * Type of model choice
34214
34464
  */
@@ -34598,7 +34848,7 @@ export declare namespace ConversationFlowUpdateParams {
34598
34848
  /**
34599
34849
  * The LLM model to use
34600
34850
  */
34601
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34851
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34602
34852
  /**
34603
34853
  * Type of model choice
34604
34854
  */
@@ -34862,7 +35112,7 @@ export declare namespace ConversationFlowUpdateParams {
34862
35112
  /**
34863
35113
  * The LLM model to use
34864
35114
  */
34865
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35115
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
34866
35116
  /**
34867
35117
  * Type of model choice
34868
35118
  */
@@ -35190,7 +35440,7 @@ export declare namespace ConversationFlowUpdateParams {
35190
35440
  /**
35191
35441
  * The LLM model to use
35192
35442
  */
35193
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35443
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35194
35444
  /**
35195
35445
  * Type of model choice
35196
35446
  */
@@ -35655,7 +35905,7 @@ export declare namespace ConversationFlowUpdateParams {
35655
35905
  /**
35656
35906
  * The LLM model to use
35657
35907
  */
35658
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35908
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35659
35909
  /**
35660
35910
  * Type of model choice
35661
35911
  */
@@ -35838,7 +36088,7 @@ export declare namespace ConversationFlowUpdateParams {
35838
36088
  /**
35839
36089
  * The LLM model to use
35840
36090
  */
35841
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
36091
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
35842
36092
  /**
35843
36093
  * Type of model choice
35844
36094
  */
@@ -35937,6 +36187,13 @@ export declare namespace ConversationFlowUpdateParams {
35937
36187
  * Method to use for the request, default to POST.
35938
36188
  */
35939
36189
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
36190
+ /**
36191
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
36192
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
36193
+ * produce the same `parameters` schema; this does not change how the request body
36194
+ * is encoded (see `args_at_root`).
36195
+ */
36196
+ parameter_type?: 'json' | 'form';
35940
36197
  /**
35941
36198
  * The parameters the functions accepts, described as a JSON Schema object. See
35942
36199
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for