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
@@ -515,7 +515,7 @@ export declare namespace ConversationFlowComponentResponse {
515
515
  /**
516
516
  * The LLM model to use
517
517
  */
518
- 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';
518
+ 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';
519
519
  /**
520
520
  * Type of model choice
521
521
  */
@@ -973,7 +973,7 @@ export declare namespace ConversationFlowComponentResponse {
973
973
  /**
974
974
  * The LLM model to use
975
975
  */
976
- 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';
976
+ 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';
977
977
  /**
978
978
  * Type of model choice
979
979
  */
@@ -1172,6 +1172,12 @@ export declare namespace ConversationFlowComponentResponse {
1172
1172
  * The time to wait before considering transfer fails.
1173
1173
  */
1174
1174
  agent_detection_timeout_ms?: number;
1175
+ /**
1176
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
1177
+ * `custom`. Must reference an audio asset owned by the organization (see
1178
+ * create-asset).
1179
+ */
1180
+ custom_on_hold_music_asset_id?: string;
1175
1181
  /**
1176
1182
  * Whether to play an audio cue when bridging the call. Defaults to true.
1177
1183
  */
@@ -1182,9 +1188,10 @@ export declare namespace ConversationFlowComponentResponse {
1182
1188
  */
1183
1189
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
1184
1190
  /**
1185
- * The music to play while the caller is being transferred.
1191
+ * The music to play while the caller is being transferred. Use `custom` together
1192
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1186
1193
  */
1187
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
1194
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
1188
1195
  /**
1189
1196
  * If set to true, will not perform human detection for the transfer. Default to
1190
1197
  * false.
@@ -1264,14 +1271,21 @@ export declare namespace ConversationFlowComponentResponse {
1264
1271
  * The type of the transfer.
1265
1272
  */
1266
1273
  type: 'agentic_warm_transfer';
1274
+ /**
1275
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
1276
+ * `custom`. Must reference an audio asset owned by the organization (see
1277
+ * create-asset).
1278
+ */
1279
+ custom_on_hold_music_asset_id?: string;
1267
1280
  /**
1268
1281
  * Whether to play an audio cue when bridging the call. Defaults to true.
1269
1282
  */
1270
1283
  enable_bridge_audio_cue?: boolean;
1271
1284
  /**
1272
- * The music to play while the caller is being transferred.
1285
+ * The music to play while the caller is being transferred. Use `custom` together
1286
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
1273
1287
  */
1274
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
1288
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
1275
1289
  /**
1276
1290
  * If set, when transfer is successful, will say the handoff message to both the
1277
1291
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -1592,6 +1606,13 @@ export declare namespace ConversationFlowComponentResponse {
1592
1606
  * Method to use for the request, default to POST.
1593
1607
  */
1594
1608
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
1609
+ /**
1610
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
1611
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
1612
+ * produce the same `parameters` schema; this does not change how the request body
1613
+ * is encoded (see `args_at_root`).
1614
+ */
1615
+ parameter_type?: 'json' | 'form';
1595
1616
  /**
1596
1617
  * The parameters the functions accepts, described as a JSON Schema object. See
1597
1618
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -2148,7 +2169,7 @@ export declare namespace ConversationFlowComponentResponse {
2148
2169
  /**
2149
2170
  * The LLM model to use
2150
2171
  */
2151
- 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';
2172
+ 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';
2152
2173
  /**
2153
2174
  * Type of model choice
2154
2175
  */
@@ -2466,7 +2487,7 @@ export declare namespace ConversationFlowComponentResponse {
2466
2487
  /**
2467
2488
  * The LLM model to use
2468
2489
  */
2469
- 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';
2490
+ 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';
2470
2491
  /**
2471
2492
  * Type of model choice
2472
2493
  */
@@ -2792,7 +2813,7 @@ export declare namespace ConversationFlowComponentResponse {
2792
2813
  /**
2793
2814
  * The LLM model to use
2794
2815
  */
2795
- 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';
2816
+ 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';
2796
2817
  /**
2797
2818
  * Type of model choice
2798
2819
  */
@@ -2961,6 +2982,12 @@ export declare namespace ConversationFlowComponentResponse {
2961
2982
  * The time to wait before considering transfer fails.
2962
2983
  */
2963
2984
  agent_detection_timeout_ms?: number;
2985
+ /**
2986
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
2987
+ * `custom`. Must reference an audio asset owned by the organization (see
2988
+ * create-asset).
2989
+ */
2990
+ custom_on_hold_music_asset_id?: string;
2964
2991
  /**
2965
2992
  * Whether to play an audio cue when bridging the call. Defaults to true.
2966
2993
  */
@@ -2971,9 +2998,10 @@ export declare namespace ConversationFlowComponentResponse {
2971
2998
  */
2972
2999
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
2973
3000
  /**
2974
- * The music to play while the caller is being transferred.
3001
+ * The music to play while the caller is being transferred. Use `custom` together
3002
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
2975
3003
  */
2976
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
3004
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
2977
3005
  /**
2978
3006
  * If set to true, will not perform human detection for the transfer. Default to
2979
3007
  * false.
@@ -3053,14 +3081,21 @@ export declare namespace ConversationFlowComponentResponse {
3053
3081
  * The type of the transfer.
3054
3082
  */
3055
3083
  type: 'agentic_warm_transfer';
3084
+ /**
3085
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
3086
+ * `custom`. Must reference an audio asset owned by the organization (see
3087
+ * create-asset).
3088
+ */
3089
+ custom_on_hold_music_asset_id?: string;
3056
3090
  /**
3057
3091
  * Whether to play an audio cue when bridging the call. Defaults to true.
3058
3092
  */
3059
3093
  enable_bridge_audio_cue?: boolean;
3060
3094
  /**
3061
- * The music to play while the caller is being transferred.
3095
+ * The music to play while the caller is being transferred. Use `custom` together
3096
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
3062
3097
  */
3063
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
3098
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
3064
3099
  /**
3065
3100
  * If set, when transfer is successful, will say the handoff message to both the
3066
3101
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -3273,7 +3308,7 @@ export declare namespace ConversationFlowComponentResponse {
3273
3308
  /**
3274
3309
  * The LLM model to use
3275
3310
  */
3276
- 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';
3311
+ 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';
3277
3312
  /**
3278
3313
  * Type of model choice
3279
3314
  */
@@ -3565,7 +3600,7 @@ export declare namespace ConversationFlowComponentResponse {
3565
3600
  /**
3566
3601
  * The LLM model to use
3567
3602
  */
3568
- 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';
3603
+ 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';
3569
3604
  /**
3570
3605
  * Type of model choice
3571
3606
  */
@@ -3842,7 +3877,7 @@ export declare namespace ConversationFlowComponentResponse {
3842
3877
  /**
3843
3878
  * The LLM model to use
3844
3879
  */
3845
- 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';
3880
+ 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';
3846
3881
  /**
3847
3882
  * Type of model choice
3848
3883
  */
@@ -4130,7 +4165,7 @@ export declare namespace ConversationFlowComponentResponse {
4130
4165
  /**
4131
4166
  * The LLM model to use
4132
4167
  */
4133
- 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';
4168
+ 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';
4134
4169
  /**
4135
4170
  * Type of model choice
4136
4171
  */
@@ -4520,7 +4555,7 @@ export declare namespace ConversationFlowComponentResponse {
4520
4555
  /**
4521
4556
  * The LLM model to use
4522
4557
  */
4523
- 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';
4558
+ 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';
4524
4559
  /**
4525
4560
  * Type of model choice
4526
4561
  */
@@ -4784,7 +4819,7 @@ export declare namespace ConversationFlowComponentResponse {
4784
4819
  /**
4785
4820
  * The LLM model to use
4786
4821
  */
4787
- 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';
4822
+ 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';
4788
4823
  /**
4789
4824
  * Type of model choice
4790
4825
  */
@@ -5112,7 +5147,7 @@ export declare namespace ConversationFlowComponentResponse {
5112
5147
  /**
5113
5148
  * The LLM model to use
5114
5149
  */
5115
- 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';
5150
+ 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';
5116
5151
  /**
5117
5152
  * Type of model choice
5118
5153
  */
@@ -5577,7 +5612,7 @@ export declare namespace ConversationFlowComponentResponse {
5577
5612
  /**
5578
5613
  * The LLM model to use
5579
5614
  */
5580
- 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';
5615
+ 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';
5581
5616
  /**
5582
5617
  * Type of model choice
5583
5618
  */
@@ -5760,7 +5795,7 @@ export declare namespace ConversationFlowComponentResponse {
5760
5795
  /**
5761
5796
  * The LLM model to use
5762
5797
  */
5763
- 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';
5798
+ 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';
5764
5799
  /**
5765
5800
  * Type of model choice
5766
5801
  */
@@ -5890,6 +5925,13 @@ export declare namespace ConversationFlowComponentResponse {
5890
5925
  * Method to use for the request, default to POST.
5891
5926
  */
5892
5927
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
5928
+ /**
5929
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
5930
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
5931
+ * produce the same `parameters` schema; this does not change how the request body
5932
+ * is encoded (see `args_at_root`).
5933
+ */
5934
+ parameter_type?: 'json' | 'form';
5893
5935
  /**
5894
5936
  * The parameters the functions accepts, described as a JSON Schema object. See
5895
5937
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -6481,7 +6523,7 @@ export declare namespace ConversationFlowComponentCreateParams {
6481
6523
  /**
6482
6524
  * The LLM model to use
6483
6525
  */
6484
- 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';
6526
+ 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';
6485
6527
  /**
6486
6528
  * Type of model choice
6487
6529
  */
@@ -6939,7 +6981,7 @@ export declare namespace ConversationFlowComponentCreateParams {
6939
6981
  /**
6940
6982
  * The LLM model to use
6941
6983
  */
6942
- 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';
6984
+ 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';
6943
6985
  /**
6944
6986
  * Type of model choice
6945
6987
  */
@@ -7138,6 +7180,12 @@ export declare namespace ConversationFlowComponentCreateParams {
7138
7180
  * The time to wait before considering transfer fails.
7139
7181
  */
7140
7182
  agent_detection_timeout_ms?: number;
7183
+ /**
7184
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
7185
+ * `custom`. Must reference an audio asset owned by the organization (see
7186
+ * create-asset).
7187
+ */
7188
+ custom_on_hold_music_asset_id?: string;
7141
7189
  /**
7142
7190
  * Whether to play an audio cue when bridging the call. Defaults to true.
7143
7191
  */
@@ -7148,9 +7196,10 @@ export declare namespace ConversationFlowComponentCreateParams {
7148
7196
  */
7149
7197
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
7150
7198
  /**
7151
- * The music to play while the caller is being transferred.
7199
+ * The music to play while the caller is being transferred. Use `custom` together
7200
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
7152
7201
  */
7153
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
7202
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
7154
7203
  /**
7155
7204
  * If set to true, will not perform human detection for the transfer. Default to
7156
7205
  * false.
@@ -7230,14 +7279,21 @@ export declare namespace ConversationFlowComponentCreateParams {
7230
7279
  * The type of the transfer.
7231
7280
  */
7232
7281
  type: 'agentic_warm_transfer';
7282
+ /**
7283
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
7284
+ * `custom`. Must reference an audio asset owned by the organization (see
7285
+ * create-asset).
7286
+ */
7287
+ custom_on_hold_music_asset_id?: string;
7233
7288
  /**
7234
7289
  * Whether to play an audio cue when bridging the call. Defaults to true.
7235
7290
  */
7236
7291
  enable_bridge_audio_cue?: boolean;
7237
7292
  /**
7238
- * The music to play while the caller is being transferred.
7293
+ * The music to play while the caller is being transferred. Use `custom` together
7294
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
7239
7295
  */
7240
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
7296
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
7241
7297
  /**
7242
7298
  * If set, when transfer is successful, will say the handoff message to both the
7243
7299
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -7558,6 +7614,13 @@ export declare namespace ConversationFlowComponentCreateParams {
7558
7614
  * Method to use for the request, default to POST.
7559
7615
  */
7560
7616
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
7617
+ /**
7618
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
7619
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
7620
+ * produce the same `parameters` schema; this does not change how the request body
7621
+ * is encoded (see `args_at_root`).
7622
+ */
7623
+ parameter_type?: 'json' | 'form';
7561
7624
  /**
7562
7625
  * The parameters the functions accepts, described as a JSON Schema object. See
7563
7626
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -8114,7 +8177,7 @@ export declare namespace ConversationFlowComponentCreateParams {
8114
8177
  /**
8115
8178
  * The LLM model to use
8116
8179
  */
8117
- 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';
8180
+ 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';
8118
8181
  /**
8119
8182
  * Type of model choice
8120
8183
  */
@@ -8432,7 +8495,7 @@ export declare namespace ConversationFlowComponentCreateParams {
8432
8495
  /**
8433
8496
  * The LLM model to use
8434
8497
  */
8435
- 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';
8498
+ 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';
8436
8499
  /**
8437
8500
  * Type of model choice
8438
8501
  */
@@ -8758,7 +8821,7 @@ export declare namespace ConversationFlowComponentCreateParams {
8758
8821
  /**
8759
8822
  * The LLM model to use
8760
8823
  */
8761
- 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';
8824
+ 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';
8762
8825
  /**
8763
8826
  * Type of model choice
8764
8827
  */
@@ -8927,6 +8990,12 @@ export declare namespace ConversationFlowComponentCreateParams {
8927
8990
  * The time to wait before considering transfer fails.
8928
8991
  */
8929
8992
  agent_detection_timeout_ms?: number;
8993
+ /**
8994
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
8995
+ * `custom`. Must reference an audio asset owned by the organization (see
8996
+ * create-asset).
8997
+ */
8998
+ custom_on_hold_music_asset_id?: string;
8930
8999
  /**
8931
9000
  * Whether to play an audio cue when bridging the call. Defaults to true.
8932
9001
  */
@@ -8937,9 +9006,10 @@ export declare namespace ConversationFlowComponentCreateParams {
8937
9006
  */
8938
9007
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
8939
9008
  /**
8940
- * The music to play while the caller is being transferred.
9009
+ * The music to play while the caller is being transferred. Use `custom` together
9010
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
8941
9011
  */
8942
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
9012
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
8943
9013
  /**
8944
9014
  * If set to true, will not perform human detection for the transfer. Default to
8945
9015
  * false.
@@ -9019,14 +9089,21 @@ export declare namespace ConversationFlowComponentCreateParams {
9019
9089
  * The type of the transfer.
9020
9090
  */
9021
9091
  type: 'agentic_warm_transfer';
9092
+ /**
9093
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
9094
+ * `custom`. Must reference an audio asset owned by the organization (see
9095
+ * create-asset).
9096
+ */
9097
+ custom_on_hold_music_asset_id?: string;
9022
9098
  /**
9023
9099
  * Whether to play an audio cue when bridging the call. Defaults to true.
9024
9100
  */
9025
9101
  enable_bridge_audio_cue?: boolean;
9026
9102
  /**
9027
- * The music to play while the caller is being transferred.
9103
+ * The music to play while the caller is being transferred. Use `custom` together
9104
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
9028
9105
  */
9029
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
9106
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
9030
9107
  /**
9031
9108
  * If set, when transfer is successful, will say the handoff message to both the
9032
9109
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -9239,7 +9316,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9239
9316
  /**
9240
9317
  * The LLM model to use
9241
9318
  */
9242
- 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';
9319
+ 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';
9243
9320
  /**
9244
9321
  * Type of model choice
9245
9322
  */
@@ -9531,7 +9608,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9531
9608
  /**
9532
9609
  * The LLM model to use
9533
9610
  */
9534
- 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';
9611
+ 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';
9535
9612
  /**
9536
9613
  * Type of model choice
9537
9614
  */
@@ -9808,7 +9885,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9808
9885
  /**
9809
9886
  * The LLM model to use
9810
9887
  */
9811
- 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';
9888
+ 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';
9812
9889
  /**
9813
9890
  * Type of model choice
9814
9891
  */
@@ -10096,7 +10173,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10096
10173
  /**
10097
10174
  * The LLM model to use
10098
10175
  */
10099
- 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';
10176
+ 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';
10100
10177
  /**
10101
10178
  * Type of model choice
10102
10179
  */
@@ -10486,7 +10563,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10486
10563
  /**
10487
10564
  * The LLM model to use
10488
10565
  */
10489
- 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';
10566
+ 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';
10490
10567
  /**
10491
10568
  * Type of model choice
10492
10569
  */
@@ -10750,7 +10827,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10750
10827
  /**
10751
10828
  * The LLM model to use
10752
10829
  */
10753
- 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';
10830
+ 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';
10754
10831
  /**
10755
10832
  * Type of model choice
10756
10833
  */
@@ -11078,7 +11155,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11078
11155
  /**
11079
11156
  * The LLM model to use
11080
11157
  */
11081
- 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';
11158
+ 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';
11082
11159
  /**
11083
11160
  * Type of model choice
11084
11161
  */
@@ -11543,7 +11620,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11543
11620
  /**
11544
11621
  * The LLM model to use
11545
11622
  */
11546
- 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';
11623
+ 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';
11547
11624
  /**
11548
11625
  * Type of model choice
11549
11626
  */
@@ -11726,7 +11803,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11726
11803
  /**
11727
11804
  * The LLM model to use
11728
11805
  */
11729
- 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';
11806
+ 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';
11730
11807
  /**
11731
11808
  * Type of model choice
11732
11809
  */
@@ -11856,6 +11933,13 @@ export declare namespace ConversationFlowComponentCreateParams {
11856
11933
  * Method to use for the request, default to POST.
11857
11934
  */
11858
11935
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
11936
+ /**
11937
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
11938
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
11939
+ * produce the same `parameters` schema; this does not change how the request body
11940
+ * is encoded (see `args_at_root`).
11941
+ */
11942
+ parameter_type?: 'json' | 'form';
11859
11943
  /**
11860
11944
  * The parameters the functions accepts, described as a JSON Schema object. See
11861
11945
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -12481,7 +12565,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
12481
12565
  /**
12482
12566
  * The LLM model to use
12483
12567
  */
12484
- 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';
12568
+ 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';
12485
12569
  /**
12486
12570
  * Type of model choice
12487
12571
  */
@@ -12939,7 +13023,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
12939
13023
  /**
12940
13024
  * The LLM model to use
12941
13025
  */
12942
- 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';
13026
+ 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';
12943
13027
  /**
12944
13028
  * Type of model choice
12945
13029
  */
@@ -13138,6 +13222,12 @@ export declare namespace ConversationFlowComponentUpdateParams {
13138
13222
  * The time to wait before considering transfer fails.
13139
13223
  */
13140
13224
  agent_detection_timeout_ms?: number;
13225
+ /**
13226
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
13227
+ * `custom`. Must reference an audio asset owned by the organization (see
13228
+ * create-asset).
13229
+ */
13230
+ custom_on_hold_music_asset_id?: string;
13141
13231
  /**
13142
13232
  * Whether to play an audio cue when bridging the call. Defaults to true.
13143
13233
  */
@@ -13148,9 +13238,10 @@ export declare namespace ConversationFlowComponentUpdateParams {
13148
13238
  */
13149
13239
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
13150
13240
  /**
13151
- * The music to play while the caller is being transferred.
13241
+ * The music to play while the caller is being transferred. Use `custom` together
13242
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
13152
13243
  */
13153
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
13244
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
13154
13245
  /**
13155
13246
  * If set to true, will not perform human detection for the transfer. Default to
13156
13247
  * false.
@@ -13230,14 +13321,21 @@ export declare namespace ConversationFlowComponentUpdateParams {
13230
13321
  * The type of the transfer.
13231
13322
  */
13232
13323
  type: 'agentic_warm_transfer';
13324
+ /**
13325
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
13326
+ * `custom`. Must reference an audio asset owned by the organization (see
13327
+ * create-asset).
13328
+ */
13329
+ custom_on_hold_music_asset_id?: string;
13233
13330
  /**
13234
13331
  * Whether to play an audio cue when bridging the call. Defaults to true.
13235
13332
  */
13236
13333
  enable_bridge_audio_cue?: boolean;
13237
13334
  /**
13238
- * The music to play while the caller is being transferred.
13335
+ * The music to play while the caller is being transferred. Use `custom` together
13336
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
13239
13337
  */
13240
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
13338
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
13241
13339
  /**
13242
13340
  * If set, when transfer is successful, will say the handoff message to both the
13243
13341
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -13558,6 +13656,13 @@ export declare namespace ConversationFlowComponentUpdateParams {
13558
13656
  * Method to use for the request, default to POST.
13559
13657
  */
13560
13658
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
13659
+ /**
13660
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
13661
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
13662
+ * produce the same `parameters` schema; this does not change how the request body
13663
+ * is encoded (see `args_at_root`).
13664
+ */
13665
+ parameter_type?: 'json' | 'form';
13561
13666
  /**
13562
13667
  * The parameters the functions accepts, described as a JSON Schema object. See
13563
13668
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -14114,7 +14219,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
14114
14219
  /**
14115
14220
  * The LLM model to use
14116
14221
  */
14117
- 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';
14222
+ 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';
14118
14223
  /**
14119
14224
  * Type of model choice
14120
14225
  */
@@ -14432,7 +14537,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
14432
14537
  /**
14433
14538
  * The LLM model to use
14434
14539
  */
14435
- 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';
14540
+ 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';
14436
14541
  /**
14437
14542
  * Type of model choice
14438
14543
  */
@@ -14758,7 +14863,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
14758
14863
  /**
14759
14864
  * The LLM model to use
14760
14865
  */
14761
- 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';
14866
+ 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';
14762
14867
  /**
14763
14868
  * Type of model choice
14764
14869
  */
@@ -14927,6 +15032,12 @@ export declare namespace ConversationFlowComponentUpdateParams {
14927
15032
  * The time to wait before considering transfer fails.
14928
15033
  */
14929
15034
  agent_detection_timeout_ms?: number;
15035
+ /**
15036
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
15037
+ * `custom`. Must reference an audio asset owned by the organization (see
15038
+ * create-asset).
15039
+ */
15040
+ custom_on_hold_music_asset_id?: string;
14930
15041
  /**
14931
15042
  * Whether to play an audio cue when bridging the call. Defaults to true.
14932
15043
  */
@@ -14937,9 +15048,10 @@ export declare namespace ConversationFlowComponentUpdateParams {
14937
15048
  */
14938
15049
  ivr_option?: TransferOptionWarmTransfer.IvrOption;
14939
15050
  /**
14940
- * The music to play while the caller is being transferred.
15051
+ * The music to play while the caller is being transferred. Use `custom` together
15052
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
14941
15053
  */
14942
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
15054
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
14943
15055
  /**
14944
15056
  * If set to true, will not perform human detection for the transfer. Default to
14945
15057
  * false.
@@ -15019,14 +15131,21 @@ export declare namespace ConversationFlowComponentUpdateParams {
15019
15131
  * The type of the transfer.
15020
15132
  */
15021
15133
  type: 'agentic_warm_transfer';
15134
+ /**
15135
+ * Asset ID of the uploaded hold music to play. Required when `on_hold_music` is
15136
+ * `custom`. Must reference an audio asset owned by the organization (see
15137
+ * create-asset).
15138
+ */
15139
+ custom_on_hold_music_asset_id?: string;
15022
15140
  /**
15023
15141
  * Whether to play an audio cue when bridging the call. Defaults to true.
15024
15142
  */
15025
15143
  enable_bridge_audio_cue?: boolean;
15026
15144
  /**
15027
- * The music to play while the caller is being transferred.
15145
+ * The music to play while the caller is being transferred. Use `custom` together
15146
+ * with `custom_on_hold_music_asset_id` to play an uploaded audio asset.
15028
15147
  */
15029
- on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone';
15148
+ on_hold_music?: 'none' | 'relaxing_sound' | 'uplifting_beats' | 'ringtone' | 'custom';
15030
15149
  /**
15031
15150
  * If set, when transfer is successful, will say the handoff message to both the
15032
15151
  * transferee and the agent receiving the transfer. Can leave either a static
@@ -15239,7 +15358,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15239
15358
  /**
15240
15359
  * The LLM model to use
15241
15360
  */
15242
- 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';
15361
+ 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';
15243
15362
  /**
15244
15363
  * Type of model choice
15245
15364
  */
@@ -15531,7 +15650,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15531
15650
  /**
15532
15651
  * The LLM model to use
15533
15652
  */
15534
- 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';
15653
+ 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';
15535
15654
  /**
15536
15655
  * Type of model choice
15537
15656
  */
@@ -15808,7 +15927,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15808
15927
  /**
15809
15928
  * The LLM model to use
15810
15929
  */
15811
- 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';
15930
+ 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';
15812
15931
  /**
15813
15932
  * Type of model choice
15814
15933
  */
@@ -16096,7 +16215,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16096
16215
  /**
16097
16216
  * The LLM model to use
16098
16217
  */
16099
- 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';
16218
+ 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';
16100
16219
  /**
16101
16220
  * Type of model choice
16102
16221
  */
@@ -16486,7 +16605,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16486
16605
  /**
16487
16606
  * The LLM model to use
16488
16607
  */
16489
- 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';
16608
+ 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';
16490
16609
  /**
16491
16610
  * Type of model choice
16492
16611
  */
@@ -16750,7 +16869,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16750
16869
  /**
16751
16870
  * The LLM model to use
16752
16871
  */
16753
- 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';
16872
+ 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';
16754
16873
  /**
16755
16874
  * Type of model choice
16756
16875
  */
@@ -17078,7 +17197,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17078
17197
  /**
17079
17198
  * The LLM model to use
17080
17199
  */
17081
- 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';
17200
+ 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';
17082
17201
  /**
17083
17202
  * Type of model choice
17084
17203
  */
@@ -17543,7 +17662,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17543
17662
  /**
17544
17663
  * The LLM model to use
17545
17664
  */
17546
- 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';
17665
+ 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';
17547
17666
  /**
17548
17667
  * Type of model choice
17549
17668
  */
@@ -17726,7 +17845,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17726
17845
  /**
17727
17846
  * The LLM model to use
17728
17847
  */
17729
- 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';
17848
+ 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';
17730
17849
  /**
17731
17850
  * Type of model choice
17732
17851
  */
@@ -17825,6 +17944,13 @@ export declare namespace ConversationFlowComponentUpdateParams {
17825
17944
  * Method to use for the request, default to POST.
17826
17945
  */
17827
17946
  method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
17947
+ /**
17948
+ * How the tool's `parameters` are authored and shown in the dashboard editor —
17949
+ * "form" for the visual parameter builder, "json" for a raw JSON Schema. Both
17950
+ * produce the same `parameters` schema; this does not change how the request body
17951
+ * is encoded (see `args_at_root`).
17952
+ */
17953
+ parameter_type?: 'json' | 'form';
17828
17954
  /**
17829
17955
  * The parameters the functions accepts, described as a JSON Schema object. See
17830
17956
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for