retell-sdk 5.7.0 → 5.8.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 (59) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts.map +1 -1
  4. package/client.js +6 -5
  5. package/client.js.map +1 -1
  6. package/client.mjs +6 -5
  7. package/client.mjs.map +1 -1
  8. package/internal/uploads.js +12 -2
  9. package/internal/uploads.js.map +1 -1
  10. package/internal/uploads.mjs +12 -2
  11. package/internal/uploads.mjs.map +1 -1
  12. package/package.json +1 -1
  13. package/resources/agent.d.mts +72 -12
  14. package/resources/agent.d.mts.map +1 -1
  15. package/resources/agent.d.ts +72 -12
  16. package/resources/agent.d.ts.map +1 -1
  17. package/resources/batch-call.d.mts +26 -6
  18. package/resources/batch-call.d.mts.map +1 -1
  19. package/resources/batch-call.d.ts +26 -6
  20. package/resources/batch-call.d.ts.map +1 -1
  21. package/resources/call.d.mts +78 -18
  22. package/resources/call.d.mts.map +1 -1
  23. package/resources/call.d.ts +78 -18
  24. package/resources/call.d.ts.map +1 -1
  25. package/resources/chat-agent.d.mts +66 -6
  26. package/resources/chat-agent.d.mts.map +1 -1
  27. package/resources/chat-agent.d.ts +66 -6
  28. package/resources/chat-agent.d.ts.map +1 -1
  29. package/resources/conversation-flow-component.d.mts +225 -15
  30. package/resources/conversation-flow-component.d.mts.map +1 -1
  31. package/resources/conversation-flow-component.d.ts +225 -15
  32. package/resources/conversation-flow-component.d.ts.map +1 -1
  33. package/resources/conversation-flow.d.mts +453 -33
  34. package/resources/conversation-flow.d.mts.map +1 -1
  35. package/resources/conversation-flow.d.ts +453 -33
  36. package/resources/conversation-flow.d.ts.map +1 -1
  37. package/resources/llm.d.mts +213 -3
  38. package/resources/llm.d.mts.map +1 -1
  39. package/resources/llm.d.ts +213 -3
  40. package/resources/llm.d.ts.map +1 -1
  41. package/resources/tests.d.mts +3 -3
  42. package/resources/tests.d.mts.map +1 -1
  43. package/resources/tests.d.ts +3 -3
  44. package/resources/tests.d.ts.map +1 -1
  45. package/src/client.ts +6 -5
  46. package/src/internal/uploads.ts +12 -4
  47. package/src/resources/agent.ts +84 -6
  48. package/src/resources/batch-call.ts +30 -2
  49. package/src/resources/call.ts +90 -6
  50. package/src/resources/chat-agent.ts +78 -3
  51. package/src/resources/conversation-flow-component.ts +267 -0
  52. package/src/resources/conversation-flow.ts +537 -0
  53. package/src/resources/llm.ts +255 -0
  54. package/src/resources/tests.ts +3 -0
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -522,7 +522,7 @@ export declare namespace ConversationFlowResponse {
522
522
  /**
523
523
  * The LLM model to use
524
524
  */
525
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
525
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
526
526
  /**
527
527
  * Type of model choice
528
528
  */
@@ -706,6 +706,11 @@ export declare namespace ConversationFlowResponse {
706
706
  * id when using `sip refer` cold transfer mode.
707
707
  */
708
708
  show_transferee_as_caller?: boolean;
709
+ /**
710
+ * Override the ring duration for this specific transfer, in milliseconds. If not
711
+ * set, falls back to the agent-level `ring_duration_ms`.
712
+ */
713
+ transfer_ring_duration_ms?: number;
709
714
  }
710
715
  interface TransferOptionWarmTransfer {
711
716
  /**
@@ -757,6 +762,11 @@ export declare namespace ConversationFlowResponse {
757
762
  * Twilio numbers support this option.
758
763
  */
759
764
  show_transferee_as_caller?: boolean;
765
+ /**
766
+ * Override the ring duration for this specific transfer, in milliseconds. If not
767
+ * set, falls back to the agent-level `ring_duration_ms`.
768
+ */
769
+ transfer_ring_duration_ms?: number;
760
770
  }
761
771
  namespace TransferOptionWarmTransfer {
762
772
  /**
@@ -828,6 +838,11 @@ export declare namespace ConversationFlowResponse {
828
838
  * Twilio numbers support this option.
829
839
  */
830
840
  show_transferee_as_caller?: boolean;
841
+ /**
842
+ * Override the ring duration for this specific transfer, in milliseconds. If not
843
+ * set, falls back to the agent-level `ring_duration_ms`.
844
+ */
845
+ transfer_ring_duration_ms?: number;
831
846
  }
832
847
  namespace TransferOptionAgenticWarmTransfer {
833
848
  /**
@@ -1202,6 +1217,11 @@ export declare namespace ConversationFlowResponse {
1202
1217
  * Examples of the variable value to teach model the style and syntax.
1203
1218
  */
1204
1219
  examples?: Array<string>;
1220
+ /**
1221
+ * Whether this data is required. If true and the data is not extracted, the call
1222
+ * will be marked as unsuccessful.
1223
+ */
1224
+ required?: boolean;
1205
1225
  }
1206
1226
  interface EnumAnalysisData {
1207
1227
  /**
@@ -1220,6 +1240,11 @@ export declare namespace ConversationFlowResponse {
1220
1240
  * Type of the variable to extract.
1221
1241
  */
1222
1242
  type: 'enum';
1243
+ /**
1244
+ * Whether this data is required. If true and the data is not extracted, the call
1245
+ * will be marked as unsuccessful.
1246
+ */
1247
+ required?: boolean;
1223
1248
  }
1224
1249
  interface BooleanAnalysisData {
1225
1250
  /**
@@ -1234,6 +1259,11 @@ export declare namespace ConversationFlowResponse {
1234
1259
  * Type of the variable to extract.
1235
1260
  */
1236
1261
  type: 'boolean';
1262
+ /**
1263
+ * Whether this data is required. If true and the data is not extracted, the call
1264
+ * will be marked as unsuccessful.
1265
+ */
1266
+ required?: boolean;
1237
1267
  }
1238
1268
  interface NumberAnalysisData {
1239
1269
  /**
@@ -1248,6 +1278,11 @@ export declare namespace ConversationFlowResponse {
1248
1278
  * Type of the variable to extract.
1249
1279
  */
1250
1280
  type: 'number';
1281
+ /**
1282
+ * Whether this data is required. If true and the data is not extracted, the call
1283
+ * will be marked as unsuccessful.
1284
+ */
1285
+ required?: boolean;
1251
1286
  }
1252
1287
  }
1253
1288
  interface BridgeTransferTool {
@@ -1813,7 +1848,7 @@ export declare namespace ConversationFlowResponse {
1813
1848
  /**
1814
1849
  * The LLM model to use
1815
1850
  */
1816
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
1851
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
1817
1852
  /**
1818
1853
  * Type of model choice
1819
1854
  */
@@ -1967,6 +2002,11 @@ export declare namespace ConversationFlowResponse {
1967
2002
  * id when using `sip refer` cold transfer mode.
1968
2003
  */
1969
2004
  show_transferee_as_caller?: boolean;
2005
+ /**
2006
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2007
+ * set, falls back to the agent-level `ring_duration_ms`.
2008
+ */
2009
+ transfer_ring_duration_ms?: number;
1970
2010
  }
1971
2011
  interface TransferOptionWarmTransfer {
1972
2012
  /**
@@ -2018,6 +2058,11 @@ export declare namespace ConversationFlowResponse {
2018
2058
  * Twilio numbers support this option.
2019
2059
  */
2020
2060
  show_transferee_as_caller?: boolean;
2061
+ /**
2062
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2063
+ * set, falls back to the agent-level `ring_duration_ms`.
2064
+ */
2065
+ transfer_ring_duration_ms?: number;
2021
2066
  }
2022
2067
  namespace TransferOptionWarmTransfer {
2023
2068
  /**
@@ -2089,6 +2134,11 @@ export declare namespace ConversationFlowResponse {
2089
2134
  * Twilio numbers support this option.
2090
2135
  */
2091
2136
  show_transferee_as_caller?: boolean;
2137
+ /**
2138
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2139
+ * set, falls back to the agent-level `ring_duration_ms`.
2140
+ */
2141
+ transfer_ring_duration_ms?: number;
2092
2142
  }
2093
2143
  namespace TransferOptionAgenticWarmTransfer {
2094
2144
  /**
@@ -2284,7 +2334,7 @@ export declare namespace ConversationFlowResponse {
2284
2334
  /**
2285
2335
  * The LLM model to use
2286
2336
  */
2287
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
2337
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
2288
2338
  /**
2289
2339
  * Type of model choice
2290
2340
  */
@@ -2525,7 +2575,7 @@ export declare namespace ConversationFlowResponse {
2525
2575
  /**
2526
2576
  * The LLM model to use
2527
2577
  */
2528
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
2578
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
2529
2579
  /**
2530
2580
  * Type of model choice
2531
2581
  */
@@ -3102,6 +3152,11 @@ export declare namespace ConversationFlowResponse {
3102
3152
  * Examples of the variable value to teach model the style and syntax.
3103
3153
  */
3104
3154
  examples?: Array<string>;
3155
+ /**
3156
+ * Whether this data is required. If true and the data is not extracted, the call
3157
+ * will be marked as unsuccessful.
3158
+ */
3159
+ required?: boolean;
3105
3160
  }
3106
3161
  interface EnumAnalysisData {
3107
3162
  /**
@@ -3120,6 +3175,11 @@ export declare namespace ConversationFlowResponse {
3120
3175
  * Type of the variable to extract.
3121
3176
  */
3122
3177
  type: 'enum';
3178
+ /**
3179
+ * Whether this data is required. If true and the data is not extracted, the call
3180
+ * will be marked as unsuccessful.
3181
+ */
3182
+ required?: boolean;
3123
3183
  }
3124
3184
  interface BooleanAnalysisData {
3125
3185
  /**
@@ -3134,6 +3194,11 @@ export declare namespace ConversationFlowResponse {
3134
3194
  * Type of the variable to extract.
3135
3195
  */
3136
3196
  type: 'boolean';
3197
+ /**
3198
+ * Whether this data is required. If true and the data is not extracted, the call
3199
+ * will be marked as unsuccessful.
3200
+ */
3201
+ required?: boolean;
3137
3202
  }
3138
3203
  interface NumberAnalysisData {
3139
3204
  /**
@@ -3148,6 +3213,11 @@ export declare namespace ConversationFlowResponse {
3148
3213
  * Type of the variable to extract.
3149
3214
  */
3150
3215
  type: 'number';
3216
+ /**
3217
+ * Whether this data is required. If true and the data is not extracted, the call
3218
+ * will be marked as unsuccessful.
3219
+ */
3220
+ required?: boolean;
3151
3221
  }
3152
3222
  /**
3153
3223
  * Position for frontend display
@@ -3391,7 +3461,7 @@ export declare namespace ConversationFlowResponse {
3391
3461
  /**
3392
3462
  * The LLM model to use
3393
3463
  */
3394
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
3464
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
3395
3465
  /**
3396
3466
  * Type of model choice
3397
3467
  */
@@ -4759,7 +4829,7 @@ export declare namespace ConversationFlowResponse {
4759
4829
  /**
4760
4830
  * The LLM model to use
4761
4831
  */
4762
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
4832
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
4763
4833
  /**
4764
4834
  * Type of model choice
4765
4835
  */
@@ -5102,7 +5172,7 @@ export declare namespace ConversationFlowResponse {
5102
5172
  /**
5103
5173
  * The LLM model to use
5104
5174
  */
5105
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
5175
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
5106
5176
  /**
5107
5177
  * Type of model choice
5108
5178
  */
@@ -5286,6 +5356,11 @@ export declare namespace ConversationFlowResponse {
5286
5356
  * id when using `sip refer` cold transfer mode.
5287
5357
  */
5288
5358
  show_transferee_as_caller?: boolean;
5359
+ /**
5360
+ * Override the ring duration for this specific transfer, in milliseconds. If not
5361
+ * set, falls back to the agent-level `ring_duration_ms`.
5362
+ */
5363
+ transfer_ring_duration_ms?: number;
5289
5364
  }
5290
5365
  interface TransferOptionWarmTransfer {
5291
5366
  /**
@@ -5337,6 +5412,11 @@ export declare namespace ConversationFlowResponse {
5337
5412
  * Twilio numbers support this option.
5338
5413
  */
5339
5414
  show_transferee_as_caller?: boolean;
5415
+ /**
5416
+ * Override the ring duration for this specific transfer, in milliseconds. If not
5417
+ * set, falls back to the agent-level `ring_duration_ms`.
5418
+ */
5419
+ transfer_ring_duration_ms?: number;
5340
5420
  }
5341
5421
  namespace TransferOptionWarmTransfer {
5342
5422
  /**
@@ -5408,6 +5488,11 @@ export declare namespace ConversationFlowResponse {
5408
5488
  * Twilio numbers support this option.
5409
5489
  */
5410
5490
  show_transferee_as_caller?: boolean;
5491
+ /**
5492
+ * Override the ring duration for this specific transfer, in milliseconds. If not
5493
+ * set, falls back to the agent-level `ring_duration_ms`.
5494
+ */
5495
+ transfer_ring_duration_ms?: number;
5411
5496
  }
5412
5497
  namespace TransferOptionAgenticWarmTransfer {
5413
5498
  /**
@@ -5782,6 +5867,11 @@ export declare namespace ConversationFlowResponse {
5782
5867
  * Examples of the variable value to teach model the style and syntax.
5783
5868
  */
5784
5869
  examples?: Array<string>;
5870
+ /**
5871
+ * Whether this data is required. If true and the data is not extracted, the call
5872
+ * will be marked as unsuccessful.
5873
+ */
5874
+ required?: boolean;
5785
5875
  }
5786
5876
  interface EnumAnalysisData {
5787
5877
  /**
@@ -5800,6 +5890,11 @@ export declare namespace ConversationFlowResponse {
5800
5890
  * Type of the variable to extract.
5801
5891
  */
5802
5892
  type: 'enum';
5893
+ /**
5894
+ * Whether this data is required. If true and the data is not extracted, the call
5895
+ * will be marked as unsuccessful.
5896
+ */
5897
+ required?: boolean;
5803
5898
  }
5804
5899
  interface BooleanAnalysisData {
5805
5900
  /**
@@ -5814,6 +5909,11 @@ export declare namespace ConversationFlowResponse {
5814
5909
  * Type of the variable to extract.
5815
5910
  */
5816
5911
  type: 'boolean';
5912
+ /**
5913
+ * Whether this data is required. If true and the data is not extracted, the call
5914
+ * will be marked as unsuccessful.
5915
+ */
5916
+ required?: boolean;
5817
5917
  }
5818
5918
  interface NumberAnalysisData {
5819
5919
  /**
@@ -5828,6 +5928,11 @@ export declare namespace ConversationFlowResponse {
5828
5928
  * Type of the variable to extract.
5829
5929
  */
5830
5930
  type: 'number';
5931
+ /**
5932
+ * Whether this data is required. If true and the data is not extracted, the call
5933
+ * will be marked as unsuccessful.
5934
+ */
5935
+ required?: boolean;
5831
5936
  }
5832
5937
  }
5833
5938
  interface BridgeTransferTool {
@@ -6393,7 +6498,7 @@ export declare namespace ConversationFlowResponse {
6393
6498
  /**
6394
6499
  * The LLM model to use
6395
6500
  */
6396
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
6501
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
6397
6502
  /**
6398
6503
  * Type of model choice
6399
6504
  */
@@ -6547,6 +6652,11 @@ export declare namespace ConversationFlowResponse {
6547
6652
  * id when using `sip refer` cold transfer mode.
6548
6653
  */
6549
6654
  show_transferee_as_caller?: boolean;
6655
+ /**
6656
+ * Override the ring duration for this specific transfer, in milliseconds. If not
6657
+ * set, falls back to the agent-level `ring_duration_ms`.
6658
+ */
6659
+ transfer_ring_duration_ms?: number;
6550
6660
  }
6551
6661
  interface TransferOptionWarmTransfer {
6552
6662
  /**
@@ -6598,6 +6708,11 @@ export declare namespace ConversationFlowResponse {
6598
6708
  * Twilio numbers support this option.
6599
6709
  */
6600
6710
  show_transferee_as_caller?: boolean;
6711
+ /**
6712
+ * Override the ring duration for this specific transfer, in milliseconds. If not
6713
+ * set, falls back to the agent-level `ring_duration_ms`.
6714
+ */
6715
+ transfer_ring_duration_ms?: number;
6601
6716
  }
6602
6717
  namespace TransferOptionWarmTransfer {
6603
6718
  /**
@@ -6669,6 +6784,11 @@ export declare namespace ConversationFlowResponse {
6669
6784
  * Twilio numbers support this option.
6670
6785
  */
6671
6786
  show_transferee_as_caller?: boolean;
6787
+ /**
6788
+ * Override the ring duration for this specific transfer, in milliseconds. If not
6789
+ * set, falls back to the agent-level `ring_duration_ms`.
6790
+ */
6791
+ transfer_ring_duration_ms?: number;
6672
6792
  }
6673
6793
  namespace TransferOptionAgenticWarmTransfer {
6674
6794
  /**
@@ -6864,7 +6984,7 @@ export declare namespace ConversationFlowResponse {
6864
6984
  /**
6865
6985
  * The LLM model to use
6866
6986
  */
6867
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
6987
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
6868
6988
  /**
6869
6989
  * Type of model choice
6870
6990
  */
@@ -7105,7 +7225,7 @@ export declare namespace ConversationFlowResponse {
7105
7225
  /**
7106
7226
  * The LLM model to use
7107
7227
  */
7108
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
7228
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
7109
7229
  /**
7110
7230
  * Type of model choice
7111
7231
  */
@@ -7682,6 +7802,11 @@ export declare namespace ConversationFlowResponse {
7682
7802
  * Examples of the variable value to teach model the style and syntax.
7683
7803
  */
7684
7804
  examples?: Array<string>;
7805
+ /**
7806
+ * Whether this data is required. If true and the data is not extracted, the call
7807
+ * will be marked as unsuccessful.
7808
+ */
7809
+ required?: boolean;
7685
7810
  }
7686
7811
  interface EnumAnalysisData {
7687
7812
  /**
@@ -7700,6 +7825,11 @@ export declare namespace ConversationFlowResponse {
7700
7825
  * Type of the variable to extract.
7701
7826
  */
7702
7827
  type: 'enum';
7828
+ /**
7829
+ * Whether this data is required. If true and the data is not extracted, the call
7830
+ * will be marked as unsuccessful.
7831
+ */
7832
+ required?: boolean;
7703
7833
  }
7704
7834
  interface BooleanAnalysisData {
7705
7835
  /**
@@ -7714,6 +7844,11 @@ export declare namespace ConversationFlowResponse {
7714
7844
  * Type of the variable to extract.
7715
7845
  */
7716
7846
  type: 'boolean';
7847
+ /**
7848
+ * Whether this data is required. If true and the data is not extracted, the call
7849
+ * will be marked as unsuccessful.
7850
+ */
7851
+ required?: boolean;
7717
7852
  }
7718
7853
  interface NumberAnalysisData {
7719
7854
  /**
@@ -7728,6 +7863,11 @@ export declare namespace ConversationFlowResponse {
7728
7863
  * Type of the variable to extract.
7729
7864
  */
7730
7865
  type: 'number';
7866
+ /**
7867
+ * Whether this data is required. If true and the data is not extracted, the call
7868
+ * will be marked as unsuccessful.
7869
+ */
7870
+ required?: boolean;
7731
7871
  }
7732
7872
  /**
7733
7873
  * Position for frontend display
@@ -7971,7 +8111,7 @@ export declare namespace ConversationFlowResponse {
7971
8111
  /**
7972
8112
  * The LLM model to use
7973
8113
  */
7974
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
8114
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
7975
8115
  /**
7976
8116
  * Type of model choice
7977
8117
  */
@@ -9347,7 +9487,7 @@ export declare namespace ConversationFlowCreateParams {
9347
9487
  /**
9348
9488
  * The LLM model to use
9349
9489
  */
9350
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
9490
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
9351
9491
  /**
9352
9492
  * Type of model choice
9353
9493
  */
@@ -9690,7 +9830,7 @@ export declare namespace ConversationFlowCreateParams {
9690
9830
  /**
9691
9831
  * The LLM model to use
9692
9832
  */
9693
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
9833
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
9694
9834
  /**
9695
9835
  * Type of model choice
9696
9836
  */
@@ -9874,6 +10014,11 @@ export declare namespace ConversationFlowCreateParams {
9874
10014
  * id when using `sip refer` cold transfer mode.
9875
10015
  */
9876
10016
  show_transferee_as_caller?: boolean;
10017
+ /**
10018
+ * Override the ring duration for this specific transfer, in milliseconds. If not
10019
+ * set, falls back to the agent-level `ring_duration_ms`.
10020
+ */
10021
+ transfer_ring_duration_ms?: number;
9877
10022
  }
9878
10023
  interface TransferOptionWarmTransfer {
9879
10024
  /**
@@ -9925,6 +10070,11 @@ export declare namespace ConversationFlowCreateParams {
9925
10070
  * Twilio numbers support this option.
9926
10071
  */
9927
10072
  show_transferee_as_caller?: boolean;
10073
+ /**
10074
+ * Override the ring duration for this specific transfer, in milliseconds. If not
10075
+ * set, falls back to the agent-level `ring_duration_ms`.
10076
+ */
10077
+ transfer_ring_duration_ms?: number;
9928
10078
  }
9929
10079
  namespace TransferOptionWarmTransfer {
9930
10080
  /**
@@ -9996,6 +10146,11 @@ export declare namespace ConversationFlowCreateParams {
9996
10146
  * Twilio numbers support this option.
9997
10147
  */
9998
10148
  show_transferee_as_caller?: boolean;
10149
+ /**
10150
+ * Override the ring duration for this specific transfer, in milliseconds. If not
10151
+ * set, falls back to the agent-level `ring_duration_ms`.
10152
+ */
10153
+ transfer_ring_duration_ms?: number;
9999
10154
  }
10000
10155
  namespace TransferOptionAgenticWarmTransfer {
10001
10156
  /**
@@ -10370,6 +10525,11 @@ export declare namespace ConversationFlowCreateParams {
10370
10525
  * Examples of the variable value to teach model the style and syntax.
10371
10526
  */
10372
10527
  examples?: Array<string>;
10528
+ /**
10529
+ * Whether this data is required. If true and the data is not extracted, the call
10530
+ * will be marked as unsuccessful.
10531
+ */
10532
+ required?: boolean;
10373
10533
  }
10374
10534
  interface EnumAnalysisData {
10375
10535
  /**
@@ -10388,6 +10548,11 @@ export declare namespace ConversationFlowCreateParams {
10388
10548
  * Type of the variable to extract.
10389
10549
  */
10390
10550
  type: 'enum';
10551
+ /**
10552
+ * Whether this data is required. If true and the data is not extracted, the call
10553
+ * will be marked as unsuccessful.
10554
+ */
10555
+ required?: boolean;
10391
10556
  }
10392
10557
  interface BooleanAnalysisData {
10393
10558
  /**
@@ -10402,6 +10567,11 @@ export declare namespace ConversationFlowCreateParams {
10402
10567
  * Type of the variable to extract.
10403
10568
  */
10404
10569
  type: 'boolean';
10570
+ /**
10571
+ * Whether this data is required. If true and the data is not extracted, the call
10572
+ * will be marked as unsuccessful.
10573
+ */
10574
+ required?: boolean;
10405
10575
  }
10406
10576
  interface NumberAnalysisData {
10407
10577
  /**
@@ -10416,6 +10586,11 @@ export declare namespace ConversationFlowCreateParams {
10416
10586
  * Type of the variable to extract.
10417
10587
  */
10418
10588
  type: 'number';
10589
+ /**
10590
+ * Whether this data is required. If true and the data is not extracted, the call
10591
+ * will be marked as unsuccessful.
10592
+ */
10593
+ required?: boolean;
10419
10594
  }
10420
10595
  }
10421
10596
  interface BridgeTransferTool {
@@ -10981,7 +11156,7 @@ export declare namespace ConversationFlowCreateParams {
10981
11156
  /**
10982
11157
  * The LLM model to use
10983
11158
  */
10984
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
11159
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
10985
11160
  /**
10986
11161
  * Type of model choice
10987
11162
  */
@@ -11135,6 +11310,11 @@ export declare namespace ConversationFlowCreateParams {
11135
11310
  * id when using `sip refer` cold transfer mode.
11136
11311
  */
11137
11312
  show_transferee_as_caller?: boolean;
11313
+ /**
11314
+ * Override the ring duration for this specific transfer, in milliseconds. If not
11315
+ * set, falls back to the agent-level `ring_duration_ms`.
11316
+ */
11317
+ transfer_ring_duration_ms?: number;
11138
11318
  }
11139
11319
  interface TransferOptionWarmTransfer {
11140
11320
  /**
@@ -11186,6 +11366,11 @@ export declare namespace ConversationFlowCreateParams {
11186
11366
  * Twilio numbers support this option.
11187
11367
  */
11188
11368
  show_transferee_as_caller?: boolean;
11369
+ /**
11370
+ * Override the ring duration for this specific transfer, in milliseconds. If not
11371
+ * set, falls back to the agent-level `ring_duration_ms`.
11372
+ */
11373
+ transfer_ring_duration_ms?: number;
11189
11374
  }
11190
11375
  namespace TransferOptionWarmTransfer {
11191
11376
  /**
@@ -11257,6 +11442,11 @@ export declare namespace ConversationFlowCreateParams {
11257
11442
  * Twilio numbers support this option.
11258
11443
  */
11259
11444
  show_transferee_as_caller?: boolean;
11445
+ /**
11446
+ * Override the ring duration for this specific transfer, in milliseconds. If not
11447
+ * set, falls back to the agent-level `ring_duration_ms`.
11448
+ */
11449
+ transfer_ring_duration_ms?: number;
11260
11450
  }
11261
11451
  namespace TransferOptionAgenticWarmTransfer {
11262
11452
  /**
@@ -11452,7 +11642,7 @@ export declare namespace ConversationFlowCreateParams {
11452
11642
  /**
11453
11643
  * The LLM model to use
11454
11644
  */
11455
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
11645
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
11456
11646
  /**
11457
11647
  * Type of model choice
11458
11648
  */
@@ -11693,7 +11883,7 @@ export declare namespace ConversationFlowCreateParams {
11693
11883
  /**
11694
11884
  * The LLM model to use
11695
11885
  */
11696
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
11886
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
11697
11887
  /**
11698
11888
  * Type of model choice
11699
11889
  */
@@ -12270,6 +12460,11 @@ export declare namespace ConversationFlowCreateParams {
12270
12460
  * Examples of the variable value to teach model the style and syntax.
12271
12461
  */
12272
12462
  examples?: Array<string>;
12463
+ /**
12464
+ * Whether this data is required. If true and the data is not extracted, the call
12465
+ * will be marked as unsuccessful.
12466
+ */
12467
+ required?: boolean;
12273
12468
  }
12274
12469
  interface EnumAnalysisData {
12275
12470
  /**
@@ -12288,6 +12483,11 @@ export declare namespace ConversationFlowCreateParams {
12288
12483
  * Type of the variable to extract.
12289
12484
  */
12290
12485
  type: 'enum';
12486
+ /**
12487
+ * Whether this data is required. If true and the data is not extracted, the call
12488
+ * will be marked as unsuccessful.
12489
+ */
12490
+ required?: boolean;
12291
12491
  }
12292
12492
  interface BooleanAnalysisData {
12293
12493
  /**
@@ -12302,6 +12502,11 @@ export declare namespace ConversationFlowCreateParams {
12302
12502
  * Type of the variable to extract.
12303
12503
  */
12304
12504
  type: 'boolean';
12505
+ /**
12506
+ * Whether this data is required. If true and the data is not extracted, the call
12507
+ * will be marked as unsuccessful.
12508
+ */
12509
+ required?: boolean;
12305
12510
  }
12306
12511
  interface NumberAnalysisData {
12307
12512
  /**
@@ -12316,6 +12521,11 @@ export declare namespace ConversationFlowCreateParams {
12316
12521
  * Type of the variable to extract.
12317
12522
  */
12318
12523
  type: 'number';
12524
+ /**
12525
+ * Whether this data is required. If true and the data is not extracted, the call
12526
+ * will be marked as unsuccessful.
12527
+ */
12528
+ required?: boolean;
12319
12529
  }
12320
12530
  /**
12321
12531
  * Position for frontend display
@@ -12559,7 +12769,7 @@ export declare namespace ConversationFlowCreateParams {
12559
12769
  /**
12560
12770
  * The LLM model to use
12561
12771
  */
12562
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
12772
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
12563
12773
  /**
12564
12774
  * Type of model choice
12565
12775
  */
@@ -14022,7 +14232,7 @@ export declare namespace ConversationFlowCreateParams {
14022
14232
  /**
14023
14233
  * The LLM model to use
14024
14234
  */
14025
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
14235
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
14026
14236
  /**
14027
14237
  * Type of model choice
14028
14238
  */
@@ -14206,6 +14416,11 @@ export declare namespace ConversationFlowCreateParams {
14206
14416
  * id when using `sip refer` cold transfer mode.
14207
14417
  */
14208
14418
  show_transferee_as_caller?: boolean;
14419
+ /**
14420
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14421
+ * set, falls back to the agent-level `ring_duration_ms`.
14422
+ */
14423
+ transfer_ring_duration_ms?: number;
14209
14424
  }
14210
14425
  interface TransferOptionWarmTransfer {
14211
14426
  /**
@@ -14257,6 +14472,11 @@ export declare namespace ConversationFlowCreateParams {
14257
14472
  * Twilio numbers support this option.
14258
14473
  */
14259
14474
  show_transferee_as_caller?: boolean;
14475
+ /**
14476
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14477
+ * set, falls back to the agent-level `ring_duration_ms`.
14478
+ */
14479
+ transfer_ring_duration_ms?: number;
14260
14480
  }
14261
14481
  namespace TransferOptionWarmTransfer {
14262
14482
  /**
@@ -14328,6 +14548,11 @@ export declare namespace ConversationFlowCreateParams {
14328
14548
  * Twilio numbers support this option.
14329
14549
  */
14330
14550
  show_transferee_as_caller?: boolean;
14551
+ /**
14552
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14553
+ * set, falls back to the agent-level `ring_duration_ms`.
14554
+ */
14555
+ transfer_ring_duration_ms?: number;
14331
14556
  }
14332
14557
  namespace TransferOptionAgenticWarmTransfer {
14333
14558
  /**
@@ -14702,6 +14927,11 @@ export declare namespace ConversationFlowCreateParams {
14702
14927
  * Examples of the variable value to teach model the style and syntax.
14703
14928
  */
14704
14929
  examples?: Array<string>;
14930
+ /**
14931
+ * Whether this data is required. If true and the data is not extracted, the call
14932
+ * will be marked as unsuccessful.
14933
+ */
14934
+ required?: boolean;
14705
14935
  }
14706
14936
  interface EnumAnalysisData {
14707
14937
  /**
@@ -14720,6 +14950,11 @@ export declare namespace ConversationFlowCreateParams {
14720
14950
  * Type of the variable to extract.
14721
14951
  */
14722
14952
  type: 'enum';
14953
+ /**
14954
+ * Whether this data is required. If true and the data is not extracted, the call
14955
+ * will be marked as unsuccessful.
14956
+ */
14957
+ required?: boolean;
14723
14958
  }
14724
14959
  interface BooleanAnalysisData {
14725
14960
  /**
@@ -14734,6 +14969,11 @@ export declare namespace ConversationFlowCreateParams {
14734
14969
  * Type of the variable to extract.
14735
14970
  */
14736
14971
  type: 'boolean';
14972
+ /**
14973
+ * Whether this data is required. If true and the data is not extracted, the call
14974
+ * will be marked as unsuccessful.
14975
+ */
14976
+ required?: boolean;
14737
14977
  }
14738
14978
  interface NumberAnalysisData {
14739
14979
  /**
@@ -14748,6 +14988,11 @@ export declare namespace ConversationFlowCreateParams {
14748
14988
  * Type of the variable to extract.
14749
14989
  */
14750
14990
  type: 'number';
14991
+ /**
14992
+ * Whether this data is required. If true and the data is not extracted, the call
14993
+ * will be marked as unsuccessful.
14994
+ */
14995
+ required?: boolean;
14751
14996
  }
14752
14997
  }
14753
14998
  interface BridgeTransferTool {
@@ -15313,7 +15558,7 @@ export declare namespace ConversationFlowCreateParams {
15313
15558
  /**
15314
15559
  * The LLM model to use
15315
15560
  */
15316
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
15561
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
15317
15562
  /**
15318
15563
  * Type of model choice
15319
15564
  */
@@ -15467,6 +15712,11 @@ export declare namespace ConversationFlowCreateParams {
15467
15712
  * id when using `sip refer` cold transfer mode.
15468
15713
  */
15469
15714
  show_transferee_as_caller?: boolean;
15715
+ /**
15716
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15717
+ * set, falls back to the agent-level `ring_duration_ms`.
15718
+ */
15719
+ transfer_ring_duration_ms?: number;
15470
15720
  }
15471
15721
  interface TransferOptionWarmTransfer {
15472
15722
  /**
@@ -15518,6 +15768,11 @@ export declare namespace ConversationFlowCreateParams {
15518
15768
  * Twilio numbers support this option.
15519
15769
  */
15520
15770
  show_transferee_as_caller?: boolean;
15771
+ /**
15772
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15773
+ * set, falls back to the agent-level `ring_duration_ms`.
15774
+ */
15775
+ transfer_ring_duration_ms?: number;
15521
15776
  }
15522
15777
  namespace TransferOptionWarmTransfer {
15523
15778
  /**
@@ -15589,6 +15844,11 @@ export declare namespace ConversationFlowCreateParams {
15589
15844
  * Twilio numbers support this option.
15590
15845
  */
15591
15846
  show_transferee_as_caller?: boolean;
15847
+ /**
15848
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15849
+ * set, falls back to the agent-level `ring_duration_ms`.
15850
+ */
15851
+ transfer_ring_duration_ms?: number;
15592
15852
  }
15593
15853
  namespace TransferOptionAgenticWarmTransfer {
15594
15854
  /**
@@ -15784,7 +16044,7 @@ export declare namespace ConversationFlowCreateParams {
15784
16044
  /**
15785
16045
  * The LLM model to use
15786
16046
  */
15787
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
16047
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
15788
16048
  /**
15789
16049
  * Type of model choice
15790
16050
  */
@@ -16025,7 +16285,7 @@ export declare namespace ConversationFlowCreateParams {
16025
16285
  /**
16026
16286
  * The LLM model to use
16027
16287
  */
16028
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
16288
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
16029
16289
  /**
16030
16290
  * Type of model choice
16031
16291
  */
@@ -16602,6 +16862,11 @@ export declare namespace ConversationFlowCreateParams {
16602
16862
  * Examples of the variable value to teach model the style and syntax.
16603
16863
  */
16604
16864
  examples?: Array<string>;
16865
+ /**
16866
+ * Whether this data is required. If true and the data is not extracted, the call
16867
+ * will be marked as unsuccessful.
16868
+ */
16869
+ required?: boolean;
16605
16870
  }
16606
16871
  interface EnumAnalysisData {
16607
16872
  /**
@@ -16620,6 +16885,11 @@ export declare namespace ConversationFlowCreateParams {
16620
16885
  * Type of the variable to extract.
16621
16886
  */
16622
16887
  type: 'enum';
16888
+ /**
16889
+ * Whether this data is required. If true and the data is not extracted, the call
16890
+ * will be marked as unsuccessful.
16891
+ */
16892
+ required?: boolean;
16623
16893
  }
16624
16894
  interface BooleanAnalysisData {
16625
16895
  /**
@@ -16634,6 +16904,11 @@ export declare namespace ConversationFlowCreateParams {
16634
16904
  * Type of the variable to extract.
16635
16905
  */
16636
16906
  type: 'boolean';
16907
+ /**
16908
+ * Whether this data is required. If true and the data is not extracted, the call
16909
+ * will be marked as unsuccessful.
16910
+ */
16911
+ required?: boolean;
16637
16912
  }
16638
16913
  interface NumberAnalysisData {
16639
16914
  /**
@@ -16648,6 +16923,11 @@ export declare namespace ConversationFlowCreateParams {
16648
16923
  * Type of the variable to extract.
16649
16924
  */
16650
16925
  type: 'number';
16926
+ /**
16927
+ * Whether this data is required. If true and the data is not extracted, the call
16928
+ * will be marked as unsuccessful.
16929
+ */
16930
+ required?: boolean;
16651
16931
  }
16652
16932
  /**
16653
16933
  * Position for frontend display
@@ -16891,7 +17171,7 @@ export declare namespace ConversationFlowCreateParams {
16891
17171
  /**
16892
17172
  * The LLM model to use
16893
17173
  */
16894
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
17174
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
16895
17175
  /**
16896
17176
  * Type of model choice
16897
17177
  */
@@ -18904,7 +19184,7 @@ export declare namespace ConversationFlowUpdateParams {
18904
19184
  /**
18905
19185
  * The LLM model to use
18906
19186
  */
18907
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
19187
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
18908
19188
  /**
18909
19189
  * Type of model choice
18910
19190
  */
@@ -19088,6 +19368,11 @@ export declare namespace ConversationFlowUpdateParams {
19088
19368
  * id when using `sip refer` cold transfer mode.
19089
19369
  */
19090
19370
  show_transferee_as_caller?: boolean;
19371
+ /**
19372
+ * Override the ring duration for this specific transfer, in milliseconds. If not
19373
+ * set, falls back to the agent-level `ring_duration_ms`.
19374
+ */
19375
+ transfer_ring_duration_ms?: number;
19091
19376
  }
19092
19377
  interface TransferOptionWarmTransfer {
19093
19378
  /**
@@ -19139,6 +19424,11 @@ export declare namespace ConversationFlowUpdateParams {
19139
19424
  * Twilio numbers support this option.
19140
19425
  */
19141
19426
  show_transferee_as_caller?: boolean;
19427
+ /**
19428
+ * Override the ring duration for this specific transfer, in milliseconds. If not
19429
+ * set, falls back to the agent-level `ring_duration_ms`.
19430
+ */
19431
+ transfer_ring_duration_ms?: number;
19142
19432
  }
19143
19433
  namespace TransferOptionWarmTransfer {
19144
19434
  /**
@@ -19210,6 +19500,11 @@ export declare namespace ConversationFlowUpdateParams {
19210
19500
  * Twilio numbers support this option.
19211
19501
  */
19212
19502
  show_transferee_as_caller?: boolean;
19503
+ /**
19504
+ * Override the ring duration for this specific transfer, in milliseconds. If not
19505
+ * set, falls back to the agent-level `ring_duration_ms`.
19506
+ */
19507
+ transfer_ring_duration_ms?: number;
19213
19508
  }
19214
19509
  namespace TransferOptionAgenticWarmTransfer {
19215
19510
  /**
@@ -19584,6 +19879,11 @@ export declare namespace ConversationFlowUpdateParams {
19584
19879
  * Examples of the variable value to teach model the style and syntax.
19585
19880
  */
19586
19881
  examples?: Array<string>;
19882
+ /**
19883
+ * Whether this data is required. If true and the data is not extracted, the call
19884
+ * will be marked as unsuccessful.
19885
+ */
19886
+ required?: boolean;
19587
19887
  }
19588
19888
  interface EnumAnalysisData {
19589
19889
  /**
@@ -19602,6 +19902,11 @@ export declare namespace ConversationFlowUpdateParams {
19602
19902
  * Type of the variable to extract.
19603
19903
  */
19604
19904
  type: 'enum';
19905
+ /**
19906
+ * Whether this data is required. If true and the data is not extracted, the call
19907
+ * will be marked as unsuccessful.
19908
+ */
19909
+ required?: boolean;
19605
19910
  }
19606
19911
  interface BooleanAnalysisData {
19607
19912
  /**
@@ -19616,6 +19921,11 @@ export declare namespace ConversationFlowUpdateParams {
19616
19921
  * Type of the variable to extract.
19617
19922
  */
19618
19923
  type: 'boolean';
19924
+ /**
19925
+ * Whether this data is required. If true and the data is not extracted, the call
19926
+ * will be marked as unsuccessful.
19927
+ */
19928
+ required?: boolean;
19619
19929
  }
19620
19930
  interface NumberAnalysisData {
19621
19931
  /**
@@ -19630,6 +19940,11 @@ export declare namespace ConversationFlowUpdateParams {
19630
19940
  * Type of the variable to extract.
19631
19941
  */
19632
19942
  type: 'number';
19943
+ /**
19944
+ * Whether this data is required. If true and the data is not extracted, the call
19945
+ * will be marked as unsuccessful.
19946
+ */
19947
+ required?: boolean;
19633
19948
  }
19634
19949
  }
19635
19950
  interface BridgeTransferTool {
@@ -20195,7 +20510,7 @@ export declare namespace ConversationFlowUpdateParams {
20195
20510
  /**
20196
20511
  * The LLM model to use
20197
20512
  */
20198
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
20513
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
20199
20514
  /**
20200
20515
  * Type of model choice
20201
20516
  */
@@ -20349,6 +20664,11 @@ export declare namespace ConversationFlowUpdateParams {
20349
20664
  * id when using `sip refer` cold transfer mode.
20350
20665
  */
20351
20666
  show_transferee_as_caller?: boolean;
20667
+ /**
20668
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20669
+ * set, falls back to the agent-level `ring_duration_ms`.
20670
+ */
20671
+ transfer_ring_duration_ms?: number;
20352
20672
  }
20353
20673
  interface TransferOptionWarmTransfer {
20354
20674
  /**
@@ -20400,6 +20720,11 @@ export declare namespace ConversationFlowUpdateParams {
20400
20720
  * Twilio numbers support this option.
20401
20721
  */
20402
20722
  show_transferee_as_caller?: boolean;
20723
+ /**
20724
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20725
+ * set, falls back to the agent-level `ring_duration_ms`.
20726
+ */
20727
+ transfer_ring_duration_ms?: number;
20403
20728
  }
20404
20729
  namespace TransferOptionWarmTransfer {
20405
20730
  /**
@@ -20471,6 +20796,11 @@ export declare namespace ConversationFlowUpdateParams {
20471
20796
  * Twilio numbers support this option.
20472
20797
  */
20473
20798
  show_transferee_as_caller?: boolean;
20799
+ /**
20800
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20801
+ * set, falls back to the agent-level `ring_duration_ms`.
20802
+ */
20803
+ transfer_ring_duration_ms?: number;
20474
20804
  }
20475
20805
  namespace TransferOptionAgenticWarmTransfer {
20476
20806
  /**
@@ -20666,7 +20996,7 @@ export declare namespace ConversationFlowUpdateParams {
20666
20996
  /**
20667
20997
  * The LLM model to use
20668
20998
  */
20669
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
20999
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
20670
21000
  /**
20671
21001
  * Type of model choice
20672
21002
  */
@@ -20907,7 +21237,7 @@ export declare namespace ConversationFlowUpdateParams {
20907
21237
  /**
20908
21238
  * The LLM model to use
20909
21239
  */
20910
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
21240
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
20911
21241
  /**
20912
21242
  * Type of model choice
20913
21243
  */
@@ -21484,6 +21814,11 @@ export declare namespace ConversationFlowUpdateParams {
21484
21814
  * Examples of the variable value to teach model the style and syntax.
21485
21815
  */
21486
21816
  examples?: Array<string>;
21817
+ /**
21818
+ * Whether this data is required. If true and the data is not extracted, the call
21819
+ * will be marked as unsuccessful.
21820
+ */
21821
+ required?: boolean;
21487
21822
  }
21488
21823
  interface EnumAnalysisData {
21489
21824
  /**
@@ -21502,6 +21837,11 @@ export declare namespace ConversationFlowUpdateParams {
21502
21837
  * Type of the variable to extract.
21503
21838
  */
21504
21839
  type: 'enum';
21840
+ /**
21841
+ * Whether this data is required. If true and the data is not extracted, the call
21842
+ * will be marked as unsuccessful.
21843
+ */
21844
+ required?: boolean;
21505
21845
  }
21506
21846
  interface BooleanAnalysisData {
21507
21847
  /**
@@ -21516,6 +21856,11 @@ export declare namespace ConversationFlowUpdateParams {
21516
21856
  * Type of the variable to extract.
21517
21857
  */
21518
21858
  type: 'boolean';
21859
+ /**
21860
+ * Whether this data is required. If true and the data is not extracted, the call
21861
+ * will be marked as unsuccessful.
21862
+ */
21863
+ required?: boolean;
21519
21864
  }
21520
21865
  interface NumberAnalysisData {
21521
21866
  /**
@@ -21530,6 +21875,11 @@ export declare namespace ConversationFlowUpdateParams {
21530
21875
  * Type of the variable to extract.
21531
21876
  */
21532
21877
  type: 'number';
21878
+ /**
21879
+ * Whether this data is required. If true and the data is not extracted, the call
21880
+ * will be marked as unsuccessful.
21881
+ */
21882
+ required?: boolean;
21533
21883
  }
21534
21884
  /**
21535
21885
  * Position for frontend display
@@ -21773,7 +22123,7 @@ export declare namespace ConversationFlowUpdateParams {
21773
22123
  /**
21774
22124
  * The LLM model to use
21775
22125
  */
21776
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
22126
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
21777
22127
  /**
21778
22128
  * Type of model choice
21779
22129
  */
@@ -23141,7 +23491,7 @@ export declare namespace ConversationFlowUpdateParams {
23141
23491
  /**
23142
23492
  * The LLM model to use
23143
23493
  */
23144
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
23494
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
23145
23495
  /**
23146
23496
  * Type of model choice
23147
23497
  */
@@ -23484,7 +23834,7 @@ export declare namespace ConversationFlowUpdateParams {
23484
23834
  /**
23485
23835
  * The LLM model to use
23486
23836
  */
23487
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
23837
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
23488
23838
  /**
23489
23839
  * Type of model choice
23490
23840
  */
@@ -23668,6 +24018,11 @@ export declare namespace ConversationFlowUpdateParams {
23668
24018
  * id when using `sip refer` cold transfer mode.
23669
24019
  */
23670
24020
  show_transferee_as_caller?: boolean;
24021
+ /**
24022
+ * Override the ring duration for this specific transfer, in milliseconds. If not
24023
+ * set, falls back to the agent-level `ring_duration_ms`.
24024
+ */
24025
+ transfer_ring_duration_ms?: number;
23671
24026
  }
23672
24027
  interface TransferOptionWarmTransfer {
23673
24028
  /**
@@ -23719,6 +24074,11 @@ export declare namespace ConversationFlowUpdateParams {
23719
24074
  * Twilio numbers support this option.
23720
24075
  */
23721
24076
  show_transferee_as_caller?: boolean;
24077
+ /**
24078
+ * Override the ring duration for this specific transfer, in milliseconds. If not
24079
+ * set, falls back to the agent-level `ring_duration_ms`.
24080
+ */
24081
+ transfer_ring_duration_ms?: number;
23722
24082
  }
23723
24083
  namespace TransferOptionWarmTransfer {
23724
24084
  /**
@@ -23790,6 +24150,11 @@ export declare namespace ConversationFlowUpdateParams {
23790
24150
  * Twilio numbers support this option.
23791
24151
  */
23792
24152
  show_transferee_as_caller?: boolean;
24153
+ /**
24154
+ * Override the ring duration for this specific transfer, in milliseconds. If not
24155
+ * set, falls back to the agent-level `ring_duration_ms`.
24156
+ */
24157
+ transfer_ring_duration_ms?: number;
23793
24158
  }
23794
24159
  namespace TransferOptionAgenticWarmTransfer {
23795
24160
  /**
@@ -24164,6 +24529,11 @@ export declare namespace ConversationFlowUpdateParams {
24164
24529
  * Examples of the variable value to teach model the style and syntax.
24165
24530
  */
24166
24531
  examples?: Array<string>;
24532
+ /**
24533
+ * Whether this data is required. If true and the data is not extracted, the call
24534
+ * will be marked as unsuccessful.
24535
+ */
24536
+ required?: boolean;
24167
24537
  }
24168
24538
  interface EnumAnalysisData {
24169
24539
  /**
@@ -24182,6 +24552,11 @@ export declare namespace ConversationFlowUpdateParams {
24182
24552
  * Type of the variable to extract.
24183
24553
  */
24184
24554
  type: 'enum';
24555
+ /**
24556
+ * Whether this data is required. If true and the data is not extracted, the call
24557
+ * will be marked as unsuccessful.
24558
+ */
24559
+ required?: boolean;
24185
24560
  }
24186
24561
  interface BooleanAnalysisData {
24187
24562
  /**
@@ -24196,6 +24571,11 @@ export declare namespace ConversationFlowUpdateParams {
24196
24571
  * Type of the variable to extract.
24197
24572
  */
24198
24573
  type: 'boolean';
24574
+ /**
24575
+ * Whether this data is required. If true and the data is not extracted, the call
24576
+ * will be marked as unsuccessful.
24577
+ */
24578
+ required?: boolean;
24199
24579
  }
24200
24580
  interface NumberAnalysisData {
24201
24581
  /**
@@ -24210,6 +24590,11 @@ export declare namespace ConversationFlowUpdateParams {
24210
24590
  * Type of the variable to extract.
24211
24591
  */
24212
24592
  type: 'number';
24593
+ /**
24594
+ * Whether this data is required. If true and the data is not extracted, the call
24595
+ * will be marked as unsuccessful.
24596
+ */
24597
+ required?: boolean;
24213
24598
  }
24214
24599
  }
24215
24600
  interface BridgeTransferTool {
@@ -24775,7 +25160,7 @@ export declare namespace ConversationFlowUpdateParams {
24775
25160
  /**
24776
25161
  * The LLM model to use
24777
25162
  */
24778
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
25163
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
24779
25164
  /**
24780
25165
  * Type of model choice
24781
25166
  */
@@ -24929,6 +25314,11 @@ export declare namespace ConversationFlowUpdateParams {
24929
25314
  * id when using `sip refer` cold transfer mode.
24930
25315
  */
24931
25316
  show_transferee_as_caller?: boolean;
25317
+ /**
25318
+ * Override the ring duration for this specific transfer, in milliseconds. If not
25319
+ * set, falls back to the agent-level `ring_duration_ms`.
25320
+ */
25321
+ transfer_ring_duration_ms?: number;
24932
25322
  }
24933
25323
  interface TransferOptionWarmTransfer {
24934
25324
  /**
@@ -24980,6 +25370,11 @@ export declare namespace ConversationFlowUpdateParams {
24980
25370
  * Twilio numbers support this option.
24981
25371
  */
24982
25372
  show_transferee_as_caller?: boolean;
25373
+ /**
25374
+ * Override the ring duration for this specific transfer, in milliseconds. If not
25375
+ * set, falls back to the agent-level `ring_duration_ms`.
25376
+ */
25377
+ transfer_ring_duration_ms?: number;
24983
25378
  }
24984
25379
  namespace TransferOptionWarmTransfer {
24985
25380
  /**
@@ -25051,6 +25446,11 @@ export declare namespace ConversationFlowUpdateParams {
25051
25446
  * Twilio numbers support this option.
25052
25447
  */
25053
25448
  show_transferee_as_caller?: boolean;
25449
+ /**
25450
+ * Override the ring duration for this specific transfer, in milliseconds. If not
25451
+ * set, falls back to the agent-level `ring_duration_ms`.
25452
+ */
25453
+ transfer_ring_duration_ms?: number;
25054
25454
  }
25055
25455
  namespace TransferOptionAgenticWarmTransfer {
25056
25456
  /**
@@ -25246,7 +25646,7 @@ export declare namespace ConversationFlowUpdateParams {
25246
25646
  /**
25247
25647
  * The LLM model to use
25248
25648
  */
25249
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
25649
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
25250
25650
  /**
25251
25651
  * Type of model choice
25252
25652
  */
@@ -25487,7 +25887,7 @@ export declare namespace ConversationFlowUpdateParams {
25487
25887
  /**
25488
25888
  * The LLM model to use
25489
25889
  */
25490
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
25890
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
25491
25891
  /**
25492
25892
  * Type of model choice
25493
25893
  */
@@ -26064,6 +26464,11 @@ export declare namespace ConversationFlowUpdateParams {
26064
26464
  * Examples of the variable value to teach model the style and syntax.
26065
26465
  */
26066
26466
  examples?: Array<string>;
26467
+ /**
26468
+ * Whether this data is required. If true and the data is not extracted, the call
26469
+ * will be marked as unsuccessful.
26470
+ */
26471
+ required?: boolean;
26067
26472
  }
26068
26473
  interface EnumAnalysisData {
26069
26474
  /**
@@ -26082,6 +26487,11 @@ export declare namespace ConversationFlowUpdateParams {
26082
26487
  * Type of the variable to extract.
26083
26488
  */
26084
26489
  type: 'enum';
26490
+ /**
26491
+ * Whether this data is required. If true and the data is not extracted, the call
26492
+ * will be marked as unsuccessful.
26493
+ */
26494
+ required?: boolean;
26085
26495
  }
26086
26496
  interface BooleanAnalysisData {
26087
26497
  /**
@@ -26096,6 +26506,11 @@ export declare namespace ConversationFlowUpdateParams {
26096
26506
  * Type of the variable to extract.
26097
26507
  */
26098
26508
  type: 'boolean';
26509
+ /**
26510
+ * Whether this data is required. If true and the data is not extracted, the call
26511
+ * will be marked as unsuccessful.
26512
+ */
26513
+ required?: boolean;
26099
26514
  }
26100
26515
  interface NumberAnalysisData {
26101
26516
  /**
@@ -26110,6 +26525,11 @@ export declare namespace ConversationFlowUpdateParams {
26110
26525
  * Type of the variable to extract.
26111
26526
  */
26112
26527
  type: 'number';
26528
+ /**
26529
+ * Whether this data is required. If true and the data is not extracted, the call
26530
+ * will be marked as unsuccessful.
26531
+ */
26532
+ required?: boolean;
26113
26533
  }
26114
26534
  /**
26115
26535
  * Position for frontend display
@@ -26353,7 +26773,7 @@ export declare namespace ConversationFlowUpdateParams {
26353
26773
  /**
26354
26774
  * The LLM model to use
26355
26775
  */
26356
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
26776
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash';
26357
26777
  /**
26358
26778
  * Type of model choice
26359
26779
  */