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
@@ -799,6 +799,7 @@ export namespace ConversationFlowResponse {
799
799
  | 'gpt-5-mini'
800
800
  | 'gpt-5-nano'
801
801
  | 'claude-4.5-sonnet'
802
+ | 'claude-4.6-sonnet'
802
803
  | 'claude-4.5-haiku'
803
804
  | 'gemini-2.5-flash'
804
805
  | 'gemini-2.5-flash-lite'
@@ -1042,6 +1043,12 @@ export namespace ConversationFlowResponse {
1042
1043
  * id when using `sip refer` cold transfer mode.
1043
1044
  */
1044
1045
  show_transferee_as_caller?: boolean;
1046
+
1047
+ /**
1048
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1049
+ * set, falls back to the agent-level `ring_duration_ms`.
1050
+ */
1051
+ transfer_ring_duration_ms?: number;
1045
1052
  }
1046
1053
 
1047
1054
  export interface TransferOptionWarmTransfer {
@@ -1107,6 +1114,12 @@ export namespace ConversationFlowResponse {
1107
1114
  * Twilio numbers support this option.
1108
1115
  */
1109
1116
  show_transferee_as_caller?: boolean;
1117
+
1118
+ /**
1119
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1120
+ * set, falls back to the agent-level `ring_duration_ms`.
1121
+ */
1122
+ transfer_ring_duration_ms?: number;
1110
1123
  }
1111
1124
 
1112
1125
  export namespace TransferOptionWarmTransfer {
@@ -1196,6 +1209,12 @@ export namespace ConversationFlowResponse {
1196
1209
  * Twilio numbers support this option.
1197
1210
  */
1198
1211
  show_transferee_as_caller?: boolean;
1212
+
1213
+ /**
1214
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1215
+ * set, falls back to the agent-level `ring_duration_ms`.
1216
+ */
1217
+ transfer_ring_duration_ms?: number;
1199
1218
  }
1200
1219
 
1201
1220
  export namespace TransferOptionAgenticWarmTransfer {
@@ -1637,6 +1656,12 @@ export namespace ConversationFlowResponse {
1637
1656
  * Examples of the variable value to teach model the style and syntax.
1638
1657
  */
1639
1658
  examples?: Array<string>;
1659
+
1660
+ /**
1661
+ * Whether this data is required. If true and the data is not extracted, the call
1662
+ * will be marked as unsuccessful.
1663
+ */
1664
+ required?: boolean;
1640
1665
  }
1641
1666
 
1642
1667
  export interface EnumAnalysisData {
@@ -1659,6 +1684,12 @@ export namespace ConversationFlowResponse {
1659
1684
  * Type of the variable to extract.
1660
1685
  */
1661
1686
  type: 'enum';
1687
+
1688
+ /**
1689
+ * Whether this data is required. If true and the data is not extracted, the call
1690
+ * will be marked as unsuccessful.
1691
+ */
1692
+ required?: boolean;
1662
1693
  }
1663
1694
 
1664
1695
  export interface BooleanAnalysisData {
@@ -1676,6 +1707,12 @@ export namespace ConversationFlowResponse {
1676
1707
  * Type of the variable to extract.
1677
1708
  */
1678
1709
  type: 'boolean';
1710
+
1711
+ /**
1712
+ * Whether this data is required. If true and the data is not extracted, the call
1713
+ * will be marked as unsuccessful.
1714
+ */
1715
+ required?: boolean;
1679
1716
  }
1680
1717
 
1681
1718
  export interface NumberAnalysisData {
@@ -1693,6 +1730,12 @@ export namespace ConversationFlowResponse {
1693
1730
  * Type of the variable to extract.
1694
1731
  */
1695
1732
  type: 'number';
1733
+
1734
+ /**
1735
+ * Whether this data is required. If true and the data is not extracted, the call
1736
+ * will be marked as unsuccessful.
1737
+ */
1738
+ required?: boolean;
1696
1739
  }
1697
1740
  }
1698
1741
 
@@ -2486,6 +2529,7 @@ export namespace ConversationFlowResponse {
2486
2529
  | 'gpt-5-mini'
2487
2530
  | 'gpt-5-nano'
2488
2531
  | 'claude-4.5-sonnet'
2532
+ | 'claude-4.6-sonnet'
2489
2533
  | 'claude-4.5-haiku'
2490
2534
  | 'gemini-2.5-flash'
2491
2535
  | 'gemini-2.5-flash-lite'
@@ -2693,6 +2737,12 @@ export namespace ConversationFlowResponse {
2693
2737
  * id when using `sip refer` cold transfer mode.
2694
2738
  */
2695
2739
  show_transferee_as_caller?: boolean;
2740
+
2741
+ /**
2742
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2743
+ * set, falls back to the agent-level `ring_duration_ms`.
2744
+ */
2745
+ transfer_ring_duration_ms?: number;
2696
2746
  }
2697
2747
 
2698
2748
  export interface TransferOptionWarmTransfer {
@@ -2758,6 +2808,12 @@ export namespace ConversationFlowResponse {
2758
2808
  * Twilio numbers support this option.
2759
2809
  */
2760
2810
  show_transferee_as_caller?: boolean;
2811
+
2812
+ /**
2813
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2814
+ * set, falls back to the agent-level `ring_duration_ms`.
2815
+ */
2816
+ transfer_ring_duration_ms?: number;
2761
2817
  }
2762
2818
 
2763
2819
  export namespace TransferOptionWarmTransfer {
@@ -2847,6 +2903,12 @@ export namespace ConversationFlowResponse {
2847
2903
  * Twilio numbers support this option.
2848
2904
  */
2849
2905
  show_transferee_as_caller?: boolean;
2906
+
2907
+ /**
2908
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2909
+ * set, falls back to the agent-level `ring_duration_ms`.
2910
+ */
2911
+ transfer_ring_duration_ms?: number;
2850
2912
  }
2851
2913
 
2852
2914
  export namespace TransferOptionAgenticWarmTransfer {
@@ -3122,6 +3184,7 @@ export namespace ConversationFlowResponse {
3122
3184
  | 'gpt-5-mini'
3123
3185
  | 'gpt-5-nano'
3124
3186
  | 'claude-4.5-sonnet'
3187
+ | 'claude-4.6-sonnet'
3125
3188
  | 'claude-4.5-haiku'
3126
3189
  | 'gemini-2.5-flash'
3127
3190
  | 'gemini-2.5-flash-lite'
@@ -3484,6 +3547,7 @@ export namespace ConversationFlowResponse {
3484
3547
  | 'gpt-5-mini'
3485
3548
  | 'gpt-5-nano'
3486
3549
  | 'claude-4.5-sonnet'
3550
+ | 'claude-4.6-sonnet'
3487
3551
  | 'claude-4.5-haiku'
3488
3552
  | 'gemini-2.5-flash'
3489
3553
  | 'gemini-2.5-flash-lite'
@@ -4332,6 +4396,12 @@ export namespace ConversationFlowResponse {
4332
4396
  * Examples of the variable value to teach model the style and syntax.
4333
4397
  */
4334
4398
  examples?: Array<string>;
4399
+
4400
+ /**
4401
+ * Whether this data is required. If true and the data is not extracted, the call
4402
+ * will be marked as unsuccessful.
4403
+ */
4404
+ required?: boolean;
4335
4405
  }
4336
4406
 
4337
4407
  export interface EnumAnalysisData {
@@ -4354,6 +4424,12 @@ export namespace ConversationFlowResponse {
4354
4424
  * Type of the variable to extract.
4355
4425
  */
4356
4426
  type: 'enum';
4427
+
4428
+ /**
4429
+ * Whether this data is required. If true and the data is not extracted, the call
4430
+ * will be marked as unsuccessful.
4431
+ */
4432
+ required?: boolean;
4357
4433
  }
4358
4434
 
4359
4435
  export interface BooleanAnalysisData {
@@ -4371,6 +4447,12 @@ export namespace ConversationFlowResponse {
4371
4447
  * Type of the variable to extract.
4372
4448
  */
4373
4449
  type: 'boolean';
4450
+
4451
+ /**
4452
+ * Whether this data is required. If true and the data is not extracted, the call
4453
+ * will be marked as unsuccessful.
4454
+ */
4455
+ required?: boolean;
4374
4456
  }
4375
4457
 
4376
4458
  export interface NumberAnalysisData {
@@ -4388,6 +4470,12 @@ export namespace ConversationFlowResponse {
4388
4470
  * Type of the variable to extract.
4389
4471
  */
4390
4472
  type: 'number';
4473
+
4474
+ /**
4475
+ * Whether this data is required. If true and the data is not extracted, the call
4476
+ * will be marked as unsuccessful.
4477
+ */
4478
+ required?: boolean;
4391
4479
  }
4392
4480
 
4393
4481
  /**
@@ -4759,6 +4847,7 @@ export namespace ConversationFlowResponse {
4759
4847
  | 'gpt-5-mini'
4760
4848
  | 'gpt-5-nano'
4761
4849
  | 'claude-4.5-sonnet'
4850
+ | 'claude-4.6-sonnet'
4762
4851
  | 'claude-4.5-haiku'
4763
4852
  | 'gemini-2.5-flash'
4764
4853
  | 'gemini-2.5-flash-lite'
@@ -6639,6 +6728,7 @@ export namespace ConversationFlowResponse {
6639
6728
  | 'gpt-5-mini'
6640
6729
  | 'gpt-5-nano'
6641
6730
  | 'claude-4.5-sonnet'
6731
+ | 'claude-4.6-sonnet'
6642
6732
  | 'claude-4.5-haiku'
6643
6733
  | 'gemini-2.5-flash'
6644
6734
  | 'gemini-2.5-flash-lite'
@@ -7168,6 +7258,7 @@ export namespace ConversationFlowResponse {
7168
7258
  | 'gpt-5-mini'
7169
7259
  | 'gpt-5-nano'
7170
7260
  | 'claude-4.5-sonnet'
7261
+ | 'claude-4.6-sonnet'
7171
7262
  | 'claude-4.5-haiku'
7172
7263
  | 'gemini-2.5-flash'
7173
7264
  | 'gemini-2.5-flash-lite'
@@ -7411,6 +7502,12 @@ export namespace ConversationFlowResponse {
7411
7502
  * id when using `sip refer` cold transfer mode.
7412
7503
  */
7413
7504
  show_transferee_as_caller?: boolean;
7505
+
7506
+ /**
7507
+ * Override the ring duration for this specific transfer, in milliseconds. If not
7508
+ * set, falls back to the agent-level `ring_duration_ms`.
7509
+ */
7510
+ transfer_ring_duration_ms?: number;
7414
7511
  }
7415
7512
 
7416
7513
  export interface TransferOptionWarmTransfer {
@@ -7476,6 +7573,12 @@ export namespace ConversationFlowResponse {
7476
7573
  * Twilio numbers support this option.
7477
7574
  */
7478
7575
  show_transferee_as_caller?: boolean;
7576
+
7577
+ /**
7578
+ * Override the ring duration for this specific transfer, in milliseconds. If not
7579
+ * set, falls back to the agent-level `ring_duration_ms`.
7580
+ */
7581
+ transfer_ring_duration_ms?: number;
7479
7582
  }
7480
7583
 
7481
7584
  export namespace TransferOptionWarmTransfer {
@@ -7565,6 +7668,12 @@ export namespace ConversationFlowResponse {
7565
7668
  * Twilio numbers support this option.
7566
7669
  */
7567
7670
  show_transferee_as_caller?: boolean;
7671
+
7672
+ /**
7673
+ * Override the ring duration for this specific transfer, in milliseconds. If not
7674
+ * set, falls back to the agent-level `ring_duration_ms`.
7675
+ */
7676
+ transfer_ring_duration_ms?: number;
7568
7677
  }
7569
7678
 
7570
7679
  export namespace TransferOptionAgenticWarmTransfer {
@@ -8006,6 +8115,12 @@ export namespace ConversationFlowResponse {
8006
8115
  * Examples of the variable value to teach model the style and syntax.
8007
8116
  */
8008
8117
  examples?: Array<string>;
8118
+
8119
+ /**
8120
+ * Whether this data is required. If true and the data is not extracted, the call
8121
+ * will be marked as unsuccessful.
8122
+ */
8123
+ required?: boolean;
8009
8124
  }
8010
8125
 
8011
8126
  export interface EnumAnalysisData {
@@ -8028,6 +8143,12 @@ export namespace ConversationFlowResponse {
8028
8143
  * Type of the variable to extract.
8029
8144
  */
8030
8145
  type: 'enum';
8146
+
8147
+ /**
8148
+ * Whether this data is required. If true and the data is not extracted, the call
8149
+ * will be marked as unsuccessful.
8150
+ */
8151
+ required?: boolean;
8031
8152
  }
8032
8153
 
8033
8154
  export interface BooleanAnalysisData {
@@ -8045,6 +8166,12 @@ export namespace ConversationFlowResponse {
8045
8166
  * Type of the variable to extract.
8046
8167
  */
8047
8168
  type: 'boolean';
8169
+
8170
+ /**
8171
+ * Whether this data is required. If true and the data is not extracted, the call
8172
+ * will be marked as unsuccessful.
8173
+ */
8174
+ required?: boolean;
8048
8175
  }
8049
8176
 
8050
8177
  export interface NumberAnalysisData {
@@ -8062,6 +8189,12 @@ export namespace ConversationFlowResponse {
8062
8189
  * Type of the variable to extract.
8063
8190
  */
8064
8191
  type: 'number';
8192
+
8193
+ /**
8194
+ * Whether this data is required. If true and the data is not extracted, the call
8195
+ * will be marked as unsuccessful.
8196
+ */
8197
+ required?: boolean;
8065
8198
  }
8066
8199
  }
8067
8200
 
@@ -8855,6 +8988,7 @@ export namespace ConversationFlowResponse {
8855
8988
  | 'gpt-5-mini'
8856
8989
  | 'gpt-5-nano'
8857
8990
  | 'claude-4.5-sonnet'
8991
+ | 'claude-4.6-sonnet'
8858
8992
  | 'claude-4.5-haiku'
8859
8993
  | 'gemini-2.5-flash'
8860
8994
  | 'gemini-2.5-flash-lite'
@@ -9062,6 +9196,12 @@ export namespace ConversationFlowResponse {
9062
9196
  * id when using `sip refer` cold transfer mode.
9063
9197
  */
9064
9198
  show_transferee_as_caller?: boolean;
9199
+
9200
+ /**
9201
+ * Override the ring duration for this specific transfer, in milliseconds. If not
9202
+ * set, falls back to the agent-level `ring_duration_ms`.
9203
+ */
9204
+ transfer_ring_duration_ms?: number;
9065
9205
  }
9066
9206
 
9067
9207
  export interface TransferOptionWarmTransfer {
@@ -9127,6 +9267,12 @@ export namespace ConversationFlowResponse {
9127
9267
  * Twilio numbers support this option.
9128
9268
  */
9129
9269
  show_transferee_as_caller?: boolean;
9270
+
9271
+ /**
9272
+ * Override the ring duration for this specific transfer, in milliseconds. If not
9273
+ * set, falls back to the agent-level `ring_duration_ms`.
9274
+ */
9275
+ transfer_ring_duration_ms?: number;
9130
9276
  }
9131
9277
 
9132
9278
  export namespace TransferOptionWarmTransfer {
@@ -9216,6 +9362,12 @@ export namespace ConversationFlowResponse {
9216
9362
  * Twilio numbers support this option.
9217
9363
  */
9218
9364
  show_transferee_as_caller?: boolean;
9365
+
9366
+ /**
9367
+ * Override the ring duration for this specific transfer, in milliseconds. If not
9368
+ * set, falls back to the agent-level `ring_duration_ms`.
9369
+ */
9370
+ transfer_ring_duration_ms?: number;
9219
9371
  }
9220
9372
 
9221
9373
  export namespace TransferOptionAgenticWarmTransfer {
@@ -9491,6 +9643,7 @@ export namespace ConversationFlowResponse {
9491
9643
  | 'gpt-5-mini'
9492
9644
  | 'gpt-5-nano'
9493
9645
  | 'claude-4.5-sonnet'
9646
+ | 'claude-4.6-sonnet'
9494
9647
  | 'claude-4.5-haiku'
9495
9648
  | 'gemini-2.5-flash'
9496
9649
  | 'gemini-2.5-flash-lite'
@@ -9853,6 +10006,7 @@ export namespace ConversationFlowResponse {
9853
10006
  | 'gpt-5-mini'
9854
10007
  | 'gpt-5-nano'
9855
10008
  | 'claude-4.5-sonnet'
10009
+ | 'claude-4.6-sonnet'
9856
10010
  | 'claude-4.5-haiku'
9857
10011
  | 'gemini-2.5-flash'
9858
10012
  | 'gemini-2.5-flash-lite'
@@ -10701,6 +10855,12 @@ export namespace ConversationFlowResponse {
10701
10855
  * Examples of the variable value to teach model the style and syntax.
10702
10856
  */
10703
10857
  examples?: Array<string>;
10858
+
10859
+ /**
10860
+ * Whether this data is required. If true and the data is not extracted, the call
10861
+ * will be marked as unsuccessful.
10862
+ */
10863
+ required?: boolean;
10704
10864
  }
10705
10865
 
10706
10866
  export interface EnumAnalysisData {
@@ -10723,6 +10883,12 @@ export namespace ConversationFlowResponse {
10723
10883
  * Type of the variable to extract.
10724
10884
  */
10725
10885
  type: 'enum';
10886
+
10887
+ /**
10888
+ * Whether this data is required. If true and the data is not extracted, the call
10889
+ * will be marked as unsuccessful.
10890
+ */
10891
+ required?: boolean;
10726
10892
  }
10727
10893
 
10728
10894
  export interface BooleanAnalysisData {
@@ -10740,6 +10906,12 @@ export namespace ConversationFlowResponse {
10740
10906
  * Type of the variable to extract.
10741
10907
  */
10742
10908
  type: 'boolean';
10909
+
10910
+ /**
10911
+ * Whether this data is required. If true and the data is not extracted, the call
10912
+ * will be marked as unsuccessful.
10913
+ */
10914
+ required?: boolean;
10743
10915
  }
10744
10916
 
10745
10917
  export interface NumberAnalysisData {
@@ -10757,6 +10929,12 @@ export namespace ConversationFlowResponse {
10757
10929
  * Type of the variable to extract.
10758
10930
  */
10759
10931
  type: 'number';
10932
+
10933
+ /**
10934
+ * Whether this data is required. If true and the data is not extracted, the call
10935
+ * will be marked as unsuccessful.
10936
+ */
10937
+ required?: boolean;
10760
10938
  }
10761
10939
 
10762
10940
  /**
@@ -11128,6 +11306,7 @@ export namespace ConversationFlowResponse {
11128
11306
  | 'gpt-5-mini'
11129
11307
  | 'gpt-5-nano'
11130
11308
  | 'claude-4.5-sonnet'
11309
+ | 'claude-4.6-sonnet'
11131
11310
  | 'claude-4.5-haiku'
11132
11311
  | 'gemini-2.5-flash'
11133
11312
  | 'gemini-2.5-flash-lite'
@@ -13043,6 +13222,7 @@ export namespace ConversationFlowCreateParams {
13043
13222
  | 'gpt-5-mini'
13044
13223
  | 'gpt-5-nano'
13045
13224
  | 'claude-4.5-sonnet'
13225
+ | 'claude-4.6-sonnet'
13046
13226
  | 'claude-4.5-haiku'
13047
13227
  | 'gemini-2.5-flash'
13048
13228
  | 'gemini-2.5-flash-lite'
@@ -13572,6 +13752,7 @@ export namespace ConversationFlowCreateParams {
13572
13752
  | 'gpt-5-mini'
13573
13753
  | 'gpt-5-nano'
13574
13754
  | 'claude-4.5-sonnet'
13755
+ | 'claude-4.6-sonnet'
13575
13756
  | 'claude-4.5-haiku'
13576
13757
  | 'gemini-2.5-flash'
13577
13758
  | 'gemini-2.5-flash-lite'
@@ -13815,6 +13996,12 @@ export namespace ConversationFlowCreateParams {
13815
13996
  * id when using `sip refer` cold transfer mode.
13816
13997
  */
13817
13998
  show_transferee_as_caller?: boolean;
13999
+
14000
+ /**
14001
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14002
+ * set, falls back to the agent-level `ring_duration_ms`.
14003
+ */
14004
+ transfer_ring_duration_ms?: number;
13818
14005
  }
13819
14006
 
13820
14007
  export interface TransferOptionWarmTransfer {
@@ -13880,6 +14067,12 @@ export namespace ConversationFlowCreateParams {
13880
14067
  * Twilio numbers support this option.
13881
14068
  */
13882
14069
  show_transferee_as_caller?: boolean;
14070
+
14071
+ /**
14072
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14073
+ * set, falls back to the agent-level `ring_duration_ms`.
14074
+ */
14075
+ transfer_ring_duration_ms?: number;
13883
14076
  }
13884
14077
 
13885
14078
  export namespace TransferOptionWarmTransfer {
@@ -13969,6 +14162,12 @@ export namespace ConversationFlowCreateParams {
13969
14162
  * Twilio numbers support this option.
13970
14163
  */
13971
14164
  show_transferee_as_caller?: boolean;
14165
+
14166
+ /**
14167
+ * Override the ring duration for this specific transfer, in milliseconds. If not
14168
+ * set, falls back to the agent-level `ring_duration_ms`.
14169
+ */
14170
+ transfer_ring_duration_ms?: number;
13972
14171
  }
13973
14172
 
13974
14173
  export namespace TransferOptionAgenticWarmTransfer {
@@ -14410,6 +14609,12 @@ export namespace ConversationFlowCreateParams {
14410
14609
  * Examples of the variable value to teach model the style and syntax.
14411
14610
  */
14412
14611
  examples?: Array<string>;
14612
+
14613
+ /**
14614
+ * Whether this data is required. If true and the data is not extracted, the call
14615
+ * will be marked as unsuccessful.
14616
+ */
14617
+ required?: boolean;
14413
14618
  }
14414
14619
 
14415
14620
  export interface EnumAnalysisData {
@@ -14432,6 +14637,12 @@ export namespace ConversationFlowCreateParams {
14432
14637
  * Type of the variable to extract.
14433
14638
  */
14434
14639
  type: 'enum';
14640
+
14641
+ /**
14642
+ * Whether this data is required. If true and the data is not extracted, the call
14643
+ * will be marked as unsuccessful.
14644
+ */
14645
+ required?: boolean;
14435
14646
  }
14436
14647
 
14437
14648
  export interface BooleanAnalysisData {
@@ -14449,6 +14660,12 @@ export namespace ConversationFlowCreateParams {
14449
14660
  * Type of the variable to extract.
14450
14661
  */
14451
14662
  type: 'boolean';
14663
+
14664
+ /**
14665
+ * Whether this data is required. If true and the data is not extracted, the call
14666
+ * will be marked as unsuccessful.
14667
+ */
14668
+ required?: boolean;
14452
14669
  }
14453
14670
 
14454
14671
  export interface NumberAnalysisData {
@@ -14466,6 +14683,12 @@ export namespace ConversationFlowCreateParams {
14466
14683
  * Type of the variable to extract.
14467
14684
  */
14468
14685
  type: 'number';
14686
+
14687
+ /**
14688
+ * Whether this data is required. If true and the data is not extracted, the call
14689
+ * will be marked as unsuccessful.
14690
+ */
14691
+ required?: boolean;
14469
14692
  }
14470
14693
  }
14471
14694
 
@@ -15259,6 +15482,7 @@ export namespace ConversationFlowCreateParams {
15259
15482
  | 'gpt-5-mini'
15260
15483
  | 'gpt-5-nano'
15261
15484
  | 'claude-4.5-sonnet'
15485
+ | 'claude-4.6-sonnet'
15262
15486
  | 'claude-4.5-haiku'
15263
15487
  | 'gemini-2.5-flash'
15264
15488
  | 'gemini-2.5-flash-lite'
@@ -15466,6 +15690,12 @@ export namespace ConversationFlowCreateParams {
15466
15690
  * id when using `sip refer` cold transfer mode.
15467
15691
  */
15468
15692
  show_transferee_as_caller?: boolean;
15693
+
15694
+ /**
15695
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15696
+ * set, falls back to the agent-level `ring_duration_ms`.
15697
+ */
15698
+ transfer_ring_duration_ms?: number;
15469
15699
  }
15470
15700
 
15471
15701
  export interface TransferOptionWarmTransfer {
@@ -15531,6 +15761,12 @@ export namespace ConversationFlowCreateParams {
15531
15761
  * Twilio numbers support this option.
15532
15762
  */
15533
15763
  show_transferee_as_caller?: boolean;
15764
+
15765
+ /**
15766
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15767
+ * set, falls back to the agent-level `ring_duration_ms`.
15768
+ */
15769
+ transfer_ring_duration_ms?: number;
15534
15770
  }
15535
15771
 
15536
15772
  export namespace TransferOptionWarmTransfer {
@@ -15620,6 +15856,12 @@ export namespace ConversationFlowCreateParams {
15620
15856
  * Twilio numbers support this option.
15621
15857
  */
15622
15858
  show_transferee_as_caller?: boolean;
15859
+
15860
+ /**
15861
+ * Override the ring duration for this specific transfer, in milliseconds. If not
15862
+ * set, falls back to the agent-level `ring_duration_ms`.
15863
+ */
15864
+ transfer_ring_duration_ms?: number;
15623
15865
  }
15624
15866
 
15625
15867
  export namespace TransferOptionAgenticWarmTransfer {
@@ -15895,6 +16137,7 @@ export namespace ConversationFlowCreateParams {
15895
16137
  | 'gpt-5-mini'
15896
16138
  | 'gpt-5-nano'
15897
16139
  | 'claude-4.5-sonnet'
16140
+ | 'claude-4.6-sonnet'
15898
16141
  | 'claude-4.5-haiku'
15899
16142
  | 'gemini-2.5-flash'
15900
16143
  | 'gemini-2.5-flash-lite'
@@ -16257,6 +16500,7 @@ export namespace ConversationFlowCreateParams {
16257
16500
  | 'gpt-5-mini'
16258
16501
  | 'gpt-5-nano'
16259
16502
  | 'claude-4.5-sonnet'
16503
+ | 'claude-4.6-sonnet'
16260
16504
  | 'claude-4.5-haiku'
16261
16505
  | 'gemini-2.5-flash'
16262
16506
  | 'gemini-2.5-flash-lite'
@@ -17105,6 +17349,12 @@ export namespace ConversationFlowCreateParams {
17105
17349
  * Examples of the variable value to teach model the style and syntax.
17106
17350
  */
17107
17351
  examples?: Array<string>;
17352
+
17353
+ /**
17354
+ * Whether this data is required. If true and the data is not extracted, the call
17355
+ * will be marked as unsuccessful.
17356
+ */
17357
+ required?: boolean;
17108
17358
  }
17109
17359
 
17110
17360
  export interface EnumAnalysisData {
@@ -17127,6 +17377,12 @@ export namespace ConversationFlowCreateParams {
17127
17377
  * Type of the variable to extract.
17128
17378
  */
17129
17379
  type: 'enum';
17380
+
17381
+ /**
17382
+ * Whether this data is required. If true and the data is not extracted, the call
17383
+ * will be marked as unsuccessful.
17384
+ */
17385
+ required?: boolean;
17130
17386
  }
17131
17387
 
17132
17388
  export interface BooleanAnalysisData {
@@ -17144,6 +17400,12 @@ export namespace ConversationFlowCreateParams {
17144
17400
  * Type of the variable to extract.
17145
17401
  */
17146
17402
  type: 'boolean';
17403
+
17404
+ /**
17405
+ * Whether this data is required. If true and the data is not extracted, the call
17406
+ * will be marked as unsuccessful.
17407
+ */
17408
+ required?: boolean;
17147
17409
  }
17148
17410
 
17149
17411
  export interface NumberAnalysisData {
@@ -17161,6 +17423,12 @@ export namespace ConversationFlowCreateParams {
17161
17423
  * Type of the variable to extract.
17162
17424
  */
17163
17425
  type: 'number';
17426
+
17427
+ /**
17428
+ * Whether this data is required. If true and the data is not extracted, the call
17429
+ * will be marked as unsuccessful.
17430
+ */
17431
+ required?: boolean;
17164
17432
  }
17165
17433
 
17166
17434
  /**
@@ -17532,6 +17800,7 @@ export namespace ConversationFlowCreateParams {
17532
17800
  | 'gpt-5-mini'
17533
17801
  | 'gpt-5-nano'
17534
17802
  | 'claude-4.5-sonnet'
17803
+ | 'claude-4.6-sonnet'
17535
17804
  | 'claude-4.5-haiku'
17536
17805
  | 'gemini-2.5-flash'
17537
17806
  | 'gemini-2.5-flash-lite'
@@ -19670,6 +19939,7 @@ export namespace ConversationFlowCreateParams {
19670
19939
  | 'gpt-5-mini'
19671
19940
  | 'gpt-5-nano'
19672
19941
  | 'claude-4.5-sonnet'
19942
+ | 'claude-4.6-sonnet'
19673
19943
  | 'claude-4.5-haiku'
19674
19944
  | 'gemini-2.5-flash'
19675
19945
  | 'gemini-2.5-flash-lite'
@@ -19913,6 +20183,12 @@ export namespace ConversationFlowCreateParams {
19913
20183
  * id when using `sip refer` cold transfer mode.
19914
20184
  */
19915
20185
  show_transferee_as_caller?: boolean;
20186
+
20187
+ /**
20188
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20189
+ * set, falls back to the agent-level `ring_duration_ms`.
20190
+ */
20191
+ transfer_ring_duration_ms?: number;
19916
20192
  }
19917
20193
 
19918
20194
  export interface TransferOptionWarmTransfer {
@@ -19978,6 +20254,12 @@ export namespace ConversationFlowCreateParams {
19978
20254
  * Twilio numbers support this option.
19979
20255
  */
19980
20256
  show_transferee_as_caller?: boolean;
20257
+
20258
+ /**
20259
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20260
+ * set, falls back to the agent-level `ring_duration_ms`.
20261
+ */
20262
+ transfer_ring_duration_ms?: number;
19981
20263
  }
19982
20264
 
19983
20265
  export namespace TransferOptionWarmTransfer {
@@ -20067,6 +20349,12 @@ export namespace ConversationFlowCreateParams {
20067
20349
  * Twilio numbers support this option.
20068
20350
  */
20069
20351
  show_transferee_as_caller?: boolean;
20352
+
20353
+ /**
20354
+ * Override the ring duration for this specific transfer, in milliseconds. If not
20355
+ * set, falls back to the agent-level `ring_duration_ms`.
20356
+ */
20357
+ transfer_ring_duration_ms?: number;
20070
20358
  }
20071
20359
 
20072
20360
  export namespace TransferOptionAgenticWarmTransfer {
@@ -20508,6 +20796,12 @@ export namespace ConversationFlowCreateParams {
20508
20796
  * Examples of the variable value to teach model the style and syntax.
20509
20797
  */
20510
20798
  examples?: Array<string>;
20799
+
20800
+ /**
20801
+ * Whether this data is required. If true and the data is not extracted, the call
20802
+ * will be marked as unsuccessful.
20803
+ */
20804
+ required?: boolean;
20511
20805
  }
20512
20806
 
20513
20807
  export interface EnumAnalysisData {
@@ -20530,6 +20824,12 @@ export namespace ConversationFlowCreateParams {
20530
20824
  * Type of the variable to extract.
20531
20825
  */
20532
20826
  type: 'enum';
20827
+
20828
+ /**
20829
+ * Whether this data is required. If true and the data is not extracted, the call
20830
+ * will be marked as unsuccessful.
20831
+ */
20832
+ required?: boolean;
20533
20833
  }
20534
20834
 
20535
20835
  export interface BooleanAnalysisData {
@@ -20547,6 +20847,12 @@ export namespace ConversationFlowCreateParams {
20547
20847
  * Type of the variable to extract.
20548
20848
  */
20549
20849
  type: 'boolean';
20850
+
20851
+ /**
20852
+ * Whether this data is required. If true and the data is not extracted, the call
20853
+ * will be marked as unsuccessful.
20854
+ */
20855
+ required?: boolean;
20550
20856
  }
20551
20857
 
20552
20858
  export interface NumberAnalysisData {
@@ -20564,6 +20870,12 @@ export namespace ConversationFlowCreateParams {
20564
20870
  * Type of the variable to extract.
20565
20871
  */
20566
20872
  type: 'number';
20873
+
20874
+ /**
20875
+ * Whether this data is required. If true and the data is not extracted, the call
20876
+ * will be marked as unsuccessful.
20877
+ */
20878
+ required?: boolean;
20567
20879
  }
20568
20880
  }
20569
20881
 
@@ -21357,6 +21669,7 @@ export namespace ConversationFlowCreateParams {
21357
21669
  | 'gpt-5-mini'
21358
21670
  | 'gpt-5-nano'
21359
21671
  | 'claude-4.5-sonnet'
21672
+ | 'claude-4.6-sonnet'
21360
21673
  | 'claude-4.5-haiku'
21361
21674
  | 'gemini-2.5-flash'
21362
21675
  | 'gemini-2.5-flash-lite'
@@ -21564,6 +21877,12 @@ export namespace ConversationFlowCreateParams {
21564
21877
  * id when using `sip refer` cold transfer mode.
21565
21878
  */
21566
21879
  show_transferee_as_caller?: boolean;
21880
+
21881
+ /**
21882
+ * Override the ring duration for this specific transfer, in milliseconds. If not
21883
+ * set, falls back to the agent-level `ring_duration_ms`.
21884
+ */
21885
+ transfer_ring_duration_ms?: number;
21567
21886
  }
21568
21887
 
21569
21888
  export interface TransferOptionWarmTransfer {
@@ -21629,6 +21948,12 @@ export namespace ConversationFlowCreateParams {
21629
21948
  * Twilio numbers support this option.
21630
21949
  */
21631
21950
  show_transferee_as_caller?: boolean;
21951
+
21952
+ /**
21953
+ * Override the ring duration for this specific transfer, in milliseconds. If not
21954
+ * set, falls back to the agent-level `ring_duration_ms`.
21955
+ */
21956
+ transfer_ring_duration_ms?: number;
21632
21957
  }
21633
21958
 
21634
21959
  export namespace TransferOptionWarmTransfer {
@@ -21718,6 +22043,12 @@ export namespace ConversationFlowCreateParams {
21718
22043
  * Twilio numbers support this option.
21719
22044
  */
21720
22045
  show_transferee_as_caller?: boolean;
22046
+
22047
+ /**
22048
+ * Override the ring duration for this specific transfer, in milliseconds. If not
22049
+ * set, falls back to the agent-level `ring_duration_ms`.
22050
+ */
22051
+ transfer_ring_duration_ms?: number;
21721
22052
  }
21722
22053
 
21723
22054
  export namespace TransferOptionAgenticWarmTransfer {
@@ -21993,6 +22324,7 @@ export namespace ConversationFlowCreateParams {
21993
22324
  | 'gpt-5-mini'
21994
22325
  | 'gpt-5-nano'
21995
22326
  | 'claude-4.5-sonnet'
22327
+ | 'claude-4.6-sonnet'
21996
22328
  | 'claude-4.5-haiku'
21997
22329
  | 'gemini-2.5-flash'
21998
22330
  | 'gemini-2.5-flash-lite'
@@ -22355,6 +22687,7 @@ export namespace ConversationFlowCreateParams {
22355
22687
  | 'gpt-5-mini'
22356
22688
  | 'gpt-5-nano'
22357
22689
  | 'claude-4.5-sonnet'
22690
+ | 'claude-4.6-sonnet'
22358
22691
  | 'claude-4.5-haiku'
22359
22692
  | 'gemini-2.5-flash'
22360
22693
  | 'gemini-2.5-flash-lite'
@@ -23203,6 +23536,12 @@ export namespace ConversationFlowCreateParams {
23203
23536
  * Examples of the variable value to teach model the style and syntax.
23204
23537
  */
23205
23538
  examples?: Array<string>;
23539
+
23540
+ /**
23541
+ * Whether this data is required. If true and the data is not extracted, the call
23542
+ * will be marked as unsuccessful.
23543
+ */
23544
+ required?: boolean;
23206
23545
  }
23207
23546
 
23208
23547
  export interface EnumAnalysisData {
@@ -23225,6 +23564,12 @@ export namespace ConversationFlowCreateParams {
23225
23564
  * Type of the variable to extract.
23226
23565
  */
23227
23566
  type: 'enum';
23567
+
23568
+ /**
23569
+ * Whether this data is required. If true and the data is not extracted, the call
23570
+ * will be marked as unsuccessful.
23571
+ */
23572
+ required?: boolean;
23228
23573
  }
23229
23574
 
23230
23575
  export interface BooleanAnalysisData {
@@ -23242,6 +23587,12 @@ export namespace ConversationFlowCreateParams {
23242
23587
  * Type of the variable to extract.
23243
23588
  */
23244
23589
  type: 'boolean';
23590
+
23591
+ /**
23592
+ * Whether this data is required. If true and the data is not extracted, the call
23593
+ * will be marked as unsuccessful.
23594
+ */
23595
+ required?: boolean;
23245
23596
  }
23246
23597
 
23247
23598
  export interface NumberAnalysisData {
@@ -23259,6 +23610,12 @@ export namespace ConversationFlowCreateParams {
23259
23610
  * Type of the variable to extract.
23260
23611
  */
23261
23612
  type: 'number';
23613
+
23614
+ /**
23615
+ * Whether this data is required. If true and the data is not extracted, the call
23616
+ * will be marked as unsuccessful.
23617
+ */
23618
+ required?: boolean;
23262
23619
  }
23263
23620
 
23264
23621
  /**
@@ -23630,6 +23987,7 @@ export namespace ConversationFlowCreateParams {
23630
23987
  | 'gpt-5-mini'
23631
23988
  | 'gpt-5-nano'
23632
23989
  | 'claude-4.5-sonnet'
23990
+ | 'claude-4.6-sonnet'
23633
23991
  | 'claude-4.5-haiku'
23634
23992
  | 'gemini-2.5-flash'
23635
23993
  | 'gemini-2.5-flash-lite'
@@ -26408,6 +26766,7 @@ export namespace ConversationFlowUpdateParams {
26408
26766
  | 'gpt-5-mini'
26409
26767
  | 'gpt-5-nano'
26410
26768
  | 'claude-4.5-sonnet'
26769
+ | 'claude-4.6-sonnet'
26411
26770
  | 'claude-4.5-haiku'
26412
26771
  | 'gemini-2.5-flash'
26413
26772
  | 'gemini-2.5-flash-lite'
@@ -26651,6 +27010,12 @@ export namespace ConversationFlowUpdateParams {
26651
27010
  * id when using `sip refer` cold transfer mode.
26652
27011
  */
26653
27012
  show_transferee_as_caller?: boolean;
27013
+
27014
+ /**
27015
+ * Override the ring duration for this specific transfer, in milliseconds. If not
27016
+ * set, falls back to the agent-level `ring_duration_ms`.
27017
+ */
27018
+ transfer_ring_duration_ms?: number;
26654
27019
  }
26655
27020
 
26656
27021
  export interface TransferOptionWarmTransfer {
@@ -26716,6 +27081,12 @@ export namespace ConversationFlowUpdateParams {
26716
27081
  * Twilio numbers support this option.
26717
27082
  */
26718
27083
  show_transferee_as_caller?: boolean;
27084
+
27085
+ /**
27086
+ * Override the ring duration for this specific transfer, in milliseconds. If not
27087
+ * set, falls back to the agent-level `ring_duration_ms`.
27088
+ */
27089
+ transfer_ring_duration_ms?: number;
26719
27090
  }
26720
27091
 
26721
27092
  export namespace TransferOptionWarmTransfer {
@@ -26805,6 +27176,12 @@ export namespace ConversationFlowUpdateParams {
26805
27176
  * Twilio numbers support this option.
26806
27177
  */
26807
27178
  show_transferee_as_caller?: boolean;
27179
+
27180
+ /**
27181
+ * Override the ring duration for this specific transfer, in milliseconds. If not
27182
+ * set, falls back to the agent-level `ring_duration_ms`.
27183
+ */
27184
+ transfer_ring_duration_ms?: number;
26808
27185
  }
26809
27186
 
26810
27187
  export namespace TransferOptionAgenticWarmTransfer {
@@ -27246,6 +27623,12 @@ export namespace ConversationFlowUpdateParams {
27246
27623
  * Examples of the variable value to teach model the style and syntax.
27247
27624
  */
27248
27625
  examples?: Array<string>;
27626
+
27627
+ /**
27628
+ * Whether this data is required. If true and the data is not extracted, the call
27629
+ * will be marked as unsuccessful.
27630
+ */
27631
+ required?: boolean;
27249
27632
  }
27250
27633
 
27251
27634
  export interface EnumAnalysisData {
@@ -27268,6 +27651,12 @@ export namespace ConversationFlowUpdateParams {
27268
27651
  * Type of the variable to extract.
27269
27652
  */
27270
27653
  type: 'enum';
27654
+
27655
+ /**
27656
+ * Whether this data is required. If true and the data is not extracted, the call
27657
+ * will be marked as unsuccessful.
27658
+ */
27659
+ required?: boolean;
27271
27660
  }
27272
27661
 
27273
27662
  export interface BooleanAnalysisData {
@@ -27285,6 +27674,12 @@ export namespace ConversationFlowUpdateParams {
27285
27674
  * Type of the variable to extract.
27286
27675
  */
27287
27676
  type: 'boolean';
27677
+
27678
+ /**
27679
+ * Whether this data is required. If true and the data is not extracted, the call
27680
+ * will be marked as unsuccessful.
27681
+ */
27682
+ required?: boolean;
27288
27683
  }
27289
27684
 
27290
27685
  export interface NumberAnalysisData {
@@ -27302,6 +27697,12 @@ export namespace ConversationFlowUpdateParams {
27302
27697
  * Type of the variable to extract.
27303
27698
  */
27304
27699
  type: 'number';
27700
+
27701
+ /**
27702
+ * Whether this data is required. If true and the data is not extracted, the call
27703
+ * will be marked as unsuccessful.
27704
+ */
27705
+ required?: boolean;
27305
27706
  }
27306
27707
  }
27307
27708
 
@@ -28095,6 +28496,7 @@ export namespace ConversationFlowUpdateParams {
28095
28496
  | 'gpt-5-mini'
28096
28497
  | 'gpt-5-nano'
28097
28498
  | 'claude-4.5-sonnet'
28499
+ | 'claude-4.6-sonnet'
28098
28500
  | 'claude-4.5-haiku'
28099
28501
  | 'gemini-2.5-flash'
28100
28502
  | 'gemini-2.5-flash-lite'
@@ -28302,6 +28704,12 @@ export namespace ConversationFlowUpdateParams {
28302
28704
  * id when using `sip refer` cold transfer mode.
28303
28705
  */
28304
28706
  show_transferee_as_caller?: boolean;
28707
+
28708
+ /**
28709
+ * Override the ring duration for this specific transfer, in milliseconds. If not
28710
+ * set, falls back to the agent-level `ring_duration_ms`.
28711
+ */
28712
+ transfer_ring_duration_ms?: number;
28305
28713
  }
28306
28714
 
28307
28715
  export interface TransferOptionWarmTransfer {
@@ -28367,6 +28775,12 @@ export namespace ConversationFlowUpdateParams {
28367
28775
  * Twilio numbers support this option.
28368
28776
  */
28369
28777
  show_transferee_as_caller?: boolean;
28778
+
28779
+ /**
28780
+ * Override the ring duration for this specific transfer, in milliseconds. If not
28781
+ * set, falls back to the agent-level `ring_duration_ms`.
28782
+ */
28783
+ transfer_ring_duration_ms?: number;
28370
28784
  }
28371
28785
 
28372
28786
  export namespace TransferOptionWarmTransfer {
@@ -28456,6 +28870,12 @@ export namespace ConversationFlowUpdateParams {
28456
28870
  * Twilio numbers support this option.
28457
28871
  */
28458
28872
  show_transferee_as_caller?: boolean;
28873
+
28874
+ /**
28875
+ * Override the ring duration for this specific transfer, in milliseconds. If not
28876
+ * set, falls back to the agent-level `ring_duration_ms`.
28877
+ */
28878
+ transfer_ring_duration_ms?: number;
28459
28879
  }
28460
28880
 
28461
28881
  export namespace TransferOptionAgenticWarmTransfer {
@@ -28731,6 +29151,7 @@ export namespace ConversationFlowUpdateParams {
28731
29151
  | 'gpt-5-mini'
28732
29152
  | 'gpt-5-nano'
28733
29153
  | 'claude-4.5-sonnet'
29154
+ | 'claude-4.6-sonnet'
28734
29155
  | 'claude-4.5-haiku'
28735
29156
  | 'gemini-2.5-flash'
28736
29157
  | 'gemini-2.5-flash-lite'
@@ -29093,6 +29514,7 @@ export namespace ConversationFlowUpdateParams {
29093
29514
  | 'gpt-5-mini'
29094
29515
  | 'gpt-5-nano'
29095
29516
  | 'claude-4.5-sonnet'
29517
+ | 'claude-4.6-sonnet'
29096
29518
  | 'claude-4.5-haiku'
29097
29519
  | 'gemini-2.5-flash'
29098
29520
  | 'gemini-2.5-flash-lite'
@@ -29941,6 +30363,12 @@ export namespace ConversationFlowUpdateParams {
29941
30363
  * Examples of the variable value to teach model the style and syntax.
29942
30364
  */
29943
30365
  examples?: Array<string>;
30366
+
30367
+ /**
30368
+ * Whether this data is required. If true and the data is not extracted, the call
30369
+ * will be marked as unsuccessful.
30370
+ */
30371
+ required?: boolean;
29944
30372
  }
29945
30373
 
29946
30374
  export interface EnumAnalysisData {
@@ -29963,6 +30391,12 @@ export namespace ConversationFlowUpdateParams {
29963
30391
  * Type of the variable to extract.
29964
30392
  */
29965
30393
  type: 'enum';
30394
+
30395
+ /**
30396
+ * Whether this data is required. If true and the data is not extracted, the call
30397
+ * will be marked as unsuccessful.
30398
+ */
30399
+ required?: boolean;
29966
30400
  }
29967
30401
 
29968
30402
  export interface BooleanAnalysisData {
@@ -29980,6 +30414,12 @@ export namespace ConversationFlowUpdateParams {
29980
30414
  * Type of the variable to extract.
29981
30415
  */
29982
30416
  type: 'boolean';
30417
+
30418
+ /**
30419
+ * Whether this data is required. If true and the data is not extracted, the call
30420
+ * will be marked as unsuccessful.
30421
+ */
30422
+ required?: boolean;
29983
30423
  }
29984
30424
 
29985
30425
  export interface NumberAnalysisData {
@@ -29997,6 +30437,12 @@ export namespace ConversationFlowUpdateParams {
29997
30437
  * Type of the variable to extract.
29998
30438
  */
29999
30439
  type: 'number';
30440
+
30441
+ /**
30442
+ * Whether this data is required. If true and the data is not extracted, the call
30443
+ * will be marked as unsuccessful.
30444
+ */
30445
+ required?: boolean;
30000
30446
  }
30001
30447
 
30002
30448
  /**
@@ -30368,6 +30814,7 @@ export namespace ConversationFlowUpdateParams {
30368
30814
  | 'gpt-5-mini'
30369
30815
  | 'gpt-5-nano'
30370
30816
  | 'claude-4.5-sonnet'
30817
+ | 'claude-4.6-sonnet'
30371
30818
  | 'claude-4.5-haiku'
30372
30819
  | 'gemini-2.5-flash'
30373
30820
  | 'gemini-2.5-flash-lite'
@@ -32248,6 +32695,7 @@ export namespace ConversationFlowUpdateParams {
32248
32695
  | 'gpt-5-mini'
32249
32696
  | 'gpt-5-nano'
32250
32697
  | 'claude-4.5-sonnet'
32698
+ | 'claude-4.6-sonnet'
32251
32699
  | 'claude-4.5-haiku'
32252
32700
  | 'gemini-2.5-flash'
32253
32701
  | 'gemini-2.5-flash-lite'
@@ -32777,6 +33225,7 @@ export namespace ConversationFlowUpdateParams {
32777
33225
  | 'gpt-5-mini'
32778
33226
  | 'gpt-5-nano'
32779
33227
  | 'claude-4.5-sonnet'
33228
+ | 'claude-4.6-sonnet'
32780
33229
  | 'claude-4.5-haiku'
32781
33230
  | 'gemini-2.5-flash'
32782
33231
  | 'gemini-2.5-flash-lite'
@@ -33020,6 +33469,12 @@ export namespace ConversationFlowUpdateParams {
33020
33469
  * id when using `sip refer` cold transfer mode.
33021
33470
  */
33022
33471
  show_transferee_as_caller?: boolean;
33472
+
33473
+ /**
33474
+ * Override the ring duration for this specific transfer, in milliseconds. If not
33475
+ * set, falls back to the agent-level `ring_duration_ms`.
33476
+ */
33477
+ transfer_ring_duration_ms?: number;
33023
33478
  }
33024
33479
 
33025
33480
  export interface TransferOptionWarmTransfer {
@@ -33085,6 +33540,12 @@ export namespace ConversationFlowUpdateParams {
33085
33540
  * Twilio numbers support this option.
33086
33541
  */
33087
33542
  show_transferee_as_caller?: boolean;
33543
+
33544
+ /**
33545
+ * Override the ring duration for this specific transfer, in milliseconds. If not
33546
+ * set, falls back to the agent-level `ring_duration_ms`.
33547
+ */
33548
+ transfer_ring_duration_ms?: number;
33088
33549
  }
33089
33550
 
33090
33551
  export namespace TransferOptionWarmTransfer {
@@ -33174,6 +33635,12 @@ export namespace ConversationFlowUpdateParams {
33174
33635
  * Twilio numbers support this option.
33175
33636
  */
33176
33637
  show_transferee_as_caller?: boolean;
33638
+
33639
+ /**
33640
+ * Override the ring duration for this specific transfer, in milliseconds. If not
33641
+ * set, falls back to the agent-level `ring_duration_ms`.
33642
+ */
33643
+ transfer_ring_duration_ms?: number;
33177
33644
  }
33178
33645
 
33179
33646
  export namespace TransferOptionAgenticWarmTransfer {
@@ -33615,6 +34082,12 @@ export namespace ConversationFlowUpdateParams {
33615
34082
  * Examples of the variable value to teach model the style and syntax.
33616
34083
  */
33617
34084
  examples?: Array<string>;
34085
+
34086
+ /**
34087
+ * Whether this data is required. If true and the data is not extracted, the call
34088
+ * will be marked as unsuccessful.
34089
+ */
34090
+ required?: boolean;
33618
34091
  }
33619
34092
 
33620
34093
  export interface EnumAnalysisData {
@@ -33637,6 +34110,12 @@ export namespace ConversationFlowUpdateParams {
33637
34110
  * Type of the variable to extract.
33638
34111
  */
33639
34112
  type: 'enum';
34113
+
34114
+ /**
34115
+ * Whether this data is required. If true and the data is not extracted, the call
34116
+ * will be marked as unsuccessful.
34117
+ */
34118
+ required?: boolean;
33640
34119
  }
33641
34120
 
33642
34121
  export interface BooleanAnalysisData {
@@ -33654,6 +34133,12 @@ export namespace ConversationFlowUpdateParams {
33654
34133
  * Type of the variable to extract.
33655
34134
  */
33656
34135
  type: 'boolean';
34136
+
34137
+ /**
34138
+ * Whether this data is required. If true and the data is not extracted, the call
34139
+ * will be marked as unsuccessful.
34140
+ */
34141
+ required?: boolean;
33657
34142
  }
33658
34143
 
33659
34144
  export interface NumberAnalysisData {
@@ -33671,6 +34156,12 @@ export namespace ConversationFlowUpdateParams {
33671
34156
  * Type of the variable to extract.
33672
34157
  */
33673
34158
  type: 'number';
34159
+
34160
+ /**
34161
+ * Whether this data is required. If true and the data is not extracted, the call
34162
+ * will be marked as unsuccessful.
34163
+ */
34164
+ required?: boolean;
33674
34165
  }
33675
34166
  }
33676
34167
 
@@ -34464,6 +34955,7 @@ export namespace ConversationFlowUpdateParams {
34464
34955
  | 'gpt-5-mini'
34465
34956
  | 'gpt-5-nano'
34466
34957
  | 'claude-4.5-sonnet'
34958
+ | 'claude-4.6-sonnet'
34467
34959
  | 'claude-4.5-haiku'
34468
34960
  | 'gemini-2.5-flash'
34469
34961
  | 'gemini-2.5-flash-lite'
@@ -34671,6 +35163,12 @@ export namespace ConversationFlowUpdateParams {
34671
35163
  * id when using `sip refer` cold transfer mode.
34672
35164
  */
34673
35165
  show_transferee_as_caller?: boolean;
35166
+
35167
+ /**
35168
+ * Override the ring duration for this specific transfer, in milliseconds. If not
35169
+ * set, falls back to the agent-level `ring_duration_ms`.
35170
+ */
35171
+ transfer_ring_duration_ms?: number;
34674
35172
  }
34675
35173
 
34676
35174
  export interface TransferOptionWarmTransfer {
@@ -34736,6 +35234,12 @@ export namespace ConversationFlowUpdateParams {
34736
35234
  * Twilio numbers support this option.
34737
35235
  */
34738
35236
  show_transferee_as_caller?: boolean;
35237
+
35238
+ /**
35239
+ * Override the ring duration for this specific transfer, in milliseconds. If not
35240
+ * set, falls back to the agent-level `ring_duration_ms`.
35241
+ */
35242
+ transfer_ring_duration_ms?: number;
34739
35243
  }
34740
35244
 
34741
35245
  export namespace TransferOptionWarmTransfer {
@@ -34825,6 +35329,12 @@ export namespace ConversationFlowUpdateParams {
34825
35329
  * Twilio numbers support this option.
34826
35330
  */
34827
35331
  show_transferee_as_caller?: boolean;
35332
+
35333
+ /**
35334
+ * Override the ring duration for this specific transfer, in milliseconds. If not
35335
+ * set, falls back to the agent-level `ring_duration_ms`.
35336
+ */
35337
+ transfer_ring_duration_ms?: number;
34828
35338
  }
34829
35339
 
34830
35340
  export namespace TransferOptionAgenticWarmTransfer {
@@ -35100,6 +35610,7 @@ export namespace ConversationFlowUpdateParams {
35100
35610
  | 'gpt-5-mini'
35101
35611
  | 'gpt-5-nano'
35102
35612
  | 'claude-4.5-sonnet'
35613
+ | 'claude-4.6-sonnet'
35103
35614
  | 'claude-4.5-haiku'
35104
35615
  | 'gemini-2.5-flash'
35105
35616
  | 'gemini-2.5-flash-lite'
@@ -35462,6 +35973,7 @@ export namespace ConversationFlowUpdateParams {
35462
35973
  | 'gpt-5-mini'
35463
35974
  | 'gpt-5-nano'
35464
35975
  | 'claude-4.5-sonnet'
35976
+ | 'claude-4.6-sonnet'
35465
35977
  | 'claude-4.5-haiku'
35466
35978
  | 'gemini-2.5-flash'
35467
35979
  | 'gemini-2.5-flash-lite'
@@ -36310,6 +36822,12 @@ export namespace ConversationFlowUpdateParams {
36310
36822
  * Examples of the variable value to teach model the style and syntax.
36311
36823
  */
36312
36824
  examples?: Array<string>;
36825
+
36826
+ /**
36827
+ * Whether this data is required. If true and the data is not extracted, the call
36828
+ * will be marked as unsuccessful.
36829
+ */
36830
+ required?: boolean;
36313
36831
  }
36314
36832
 
36315
36833
  export interface EnumAnalysisData {
@@ -36332,6 +36850,12 @@ export namespace ConversationFlowUpdateParams {
36332
36850
  * Type of the variable to extract.
36333
36851
  */
36334
36852
  type: 'enum';
36853
+
36854
+ /**
36855
+ * Whether this data is required. If true and the data is not extracted, the call
36856
+ * will be marked as unsuccessful.
36857
+ */
36858
+ required?: boolean;
36335
36859
  }
36336
36860
 
36337
36861
  export interface BooleanAnalysisData {
@@ -36349,6 +36873,12 @@ export namespace ConversationFlowUpdateParams {
36349
36873
  * Type of the variable to extract.
36350
36874
  */
36351
36875
  type: 'boolean';
36876
+
36877
+ /**
36878
+ * Whether this data is required. If true and the data is not extracted, the call
36879
+ * will be marked as unsuccessful.
36880
+ */
36881
+ required?: boolean;
36352
36882
  }
36353
36883
 
36354
36884
  export interface NumberAnalysisData {
@@ -36366,6 +36896,12 @@ export namespace ConversationFlowUpdateParams {
36366
36896
  * Type of the variable to extract.
36367
36897
  */
36368
36898
  type: 'number';
36899
+
36900
+ /**
36901
+ * Whether this data is required. If true and the data is not extracted, the call
36902
+ * will be marked as unsuccessful.
36903
+ */
36904
+ required?: boolean;
36369
36905
  }
36370
36906
 
36371
36907
  /**
@@ -36737,6 +37273,7 @@ export namespace ConversationFlowUpdateParams {
36737
37273
  | 'gpt-5-mini'
36738
37274
  | 'gpt-5-nano'
36739
37275
  | 'claude-4.5-sonnet'
37276
+ | 'claude-4.6-sonnet'
36740
37277
  | 'claude-4.5-haiku'
36741
37278
  | 'gemini-2.5-flash'
36742
37279
  | 'gemini-2.5-flash-lite'