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
@@ -122,7 +122,7 @@ export interface LlmResponse {
122
122
  /**
123
123
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
124
124
  */
125
- 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' | null;
125
+ 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' | null;
126
126
  /**
127
127
  * If set to true, will use high priority pool with more dedicated resource to
128
128
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -293,6 +293,11 @@ export declare namespace LlmResponse {
293
293
  * id when using `sip refer` cold transfer mode.
294
294
  */
295
295
  show_transferee_as_caller?: boolean;
296
+ /**
297
+ * Override the ring duration for this specific transfer, in milliseconds. If not
298
+ * set, falls back to the agent-level `ring_duration_ms`.
299
+ */
300
+ transfer_ring_duration_ms?: number;
296
301
  }
297
302
  interface TransferOptionWarmTransfer {
298
303
  /**
@@ -344,6 +349,11 @@ export declare namespace LlmResponse {
344
349
  * Twilio numbers support this option.
345
350
  */
346
351
  show_transferee_as_caller?: boolean;
352
+ /**
353
+ * Override the ring duration for this specific transfer, in milliseconds. If not
354
+ * set, falls back to the agent-level `ring_duration_ms`.
355
+ */
356
+ transfer_ring_duration_ms?: number;
347
357
  }
348
358
  namespace TransferOptionWarmTransfer {
349
359
  /**
@@ -415,6 +425,11 @@ export declare namespace LlmResponse {
415
425
  * Twilio numbers support this option.
416
426
  */
417
427
  show_transferee_as_caller?: boolean;
428
+ /**
429
+ * Override the ring duration for this specific transfer, in milliseconds. If not
430
+ * set, falls back to the agent-level `ring_duration_ms`.
431
+ */
432
+ transfer_ring_duration_ms?: number;
418
433
  }
419
434
  namespace TransferOptionAgenticWarmTransfer {
420
435
  /**
@@ -789,6 +804,11 @@ export declare namespace LlmResponse {
789
804
  * Examples of the variable value to teach model the style and syntax.
790
805
  */
791
806
  examples?: Array<string>;
807
+ /**
808
+ * Whether this data is required. If true and the data is not extracted, the call
809
+ * will be marked as unsuccessful.
810
+ */
811
+ required?: boolean;
792
812
  }
793
813
  interface EnumAnalysisData {
794
814
  /**
@@ -807,6 +827,11 @@ export declare namespace LlmResponse {
807
827
  * Type of the variable to extract.
808
828
  */
809
829
  type: 'enum';
830
+ /**
831
+ * Whether this data is required. If true and the data is not extracted, the call
832
+ * will be marked as unsuccessful.
833
+ */
834
+ required?: boolean;
810
835
  }
811
836
  interface BooleanAnalysisData {
812
837
  /**
@@ -821,6 +846,11 @@ export declare namespace LlmResponse {
821
846
  * Type of the variable to extract.
822
847
  */
823
848
  type: 'boolean';
849
+ /**
850
+ * Whether this data is required. If true and the data is not extracted, the call
851
+ * will be marked as unsuccessful.
852
+ */
853
+ required?: boolean;
824
854
  }
825
855
  interface NumberAnalysisData {
826
856
  /**
@@ -835,6 +865,11 @@ export declare namespace LlmResponse {
835
865
  * Type of the variable to extract.
836
866
  */
837
867
  type: 'number';
868
+ /**
869
+ * Whether this data is required. If true and the data is not extracted, the call
870
+ * will be marked as unsuccessful.
871
+ */
872
+ required?: boolean;
838
873
  }
839
874
  }
840
875
  interface BridgeTransferTool {
@@ -1167,6 +1202,11 @@ export declare namespace LlmResponse {
1167
1202
  * id when using `sip refer` cold transfer mode.
1168
1203
  */
1169
1204
  show_transferee_as_caller?: boolean;
1205
+ /**
1206
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1207
+ * set, falls back to the agent-level `ring_duration_ms`.
1208
+ */
1209
+ transfer_ring_duration_ms?: number;
1170
1210
  }
1171
1211
  interface TransferOptionWarmTransfer {
1172
1212
  /**
@@ -1218,6 +1258,11 @@ export declare namespace LlmResponse {
1218
1258
  * Twilio numbers support this option.
1219
1259
  */
1220
1260
  show_transferee_as_caller?: boolean;
1261
+ /**
1262
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1263
+ * set, falls back to the agent-level `ring_duration_ms`.
1264
+ */
1265
+ transfer_ring_duration_ms?: number;
1221
1266
  }
1222
1267
  namespace TransferOptionWarmTransfer {
1223
1268
  /**
@@ -1289,6 +1334,11 @@ export declare namespace LlmResponse {
1289
1334
  * Twilio numbers support this option.
1290
1335
  */
1291
1336
  show_transferee_as_caller?: boolean;
1337
+ /**
1338
+ * Override the ring duration for this specific transfer, in milliseconds. If not
1339
+ * set, falls back to the agent-level `ring_duration_ms`.
1340
+ */
1341
+ transfer_ring_duration_ms?: number;
1292
1342
  }
1293
1343
  namespace TransferOptionAgenticWarmTransfer {
1294
1344
  /**
@@ -1663,6 +1713,11 @@ export declare namespace LlmResponse {
1663
1713
  * Examples of the variable value to teach model the style and syntax.
1664
1714
  */
1665
1715
  examples?: Array<string>;
1716
+ /**
1717
+ * Whether this data is required. If true and the data is not extracted, the call
1718
+ * will be marked as unsuccessful.
1719
+ */
1720
+ required?: boolean;
1666
1721
  }
1667
1722
  interface EnumAnalysisData {
1668
1723
  /**
@@ -1681,6 +1736,11 @@ export declare namespace LlmResponse {
1681
1736
  * Type of the variable to extract.
1682
1737
  */
1683
1738
  type: 'enum';
1739
+ /**
1740
+ * Whether this data is required. If true and the data is not extracted, the call
1741
+ * will be marked as unsuccessful.
1742
+ */
1743
+ required?: boolean;
1684
1744
  }
1685
1745
  interface BooleanAnalysisData {
1686
1746
  /**
@@ -1695,6 +1755,11 @@ export declare namespace LlmResponse {
1695
1755
  * Type of the variable to extract.
1696
1756
  */
1697
1757
  type: 'boolean';
1758
+ /**
1759
+ * Whether this data is required. If true and the data is not extracted, the call
1760
+ * will be marked as unsuccessful.
1761
+ */
1762
+ required?: boolean;
1698
1763
  }
1699
1764
  interface NumberAnalysisData {
1700
1765
  /**
@@ -1709,6 +1774,11 @@ export declare namespace LlmResponse {
1709
1774
  * Type of the variable to extract.
1710
1775
  */
1711
1776
  type: 'number';
1777
+ /**
1778
+ * Whether this data is required. If true and the data is not extracted, the call
1779
+ * will be marked as unsuccessful.
1780
+ */
1781
+ required?: boolean;
1712
1782
  }
1713
1783
  }
1714
1784
  interface BridgeTransferTool {
@@ -1855,7 +1925,7 @@ export interface LlmCreateParams {
1855
1925
  /**
1856
1926
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
1857
1927
  */
1858
- 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' | null;
1928
+ 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' | null;
1859
1929
  /**
1860
1930
  * If set to true, will use high priority pool with more dedicated resource to
1861
1931
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -2026,6 +2096,11 @@ export declare namespace LlmCreateParams {
2026
2096
  * id when using `sip refer` cold transfer mode.
2027
2097
  */
2028
2098
  show_transferee_as_caller?: boolean;
2099
+ /**
2100
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2101
+ * set, falls back to the agent-level `ring_duration_ms`.
2102
+ */
2103
+ transfer_ring_duration_ms?: number;
2029
2104
  }
2030
2105
  interface TransferOptionWarmTransfer {
2031
2106
  /**
@@ -2077,6 +2152,11 @@ export declare namespace LlmCreateParams {
2077
2152
  * Twilio numbers support this option.
2078
2153
  */
2079
2154
  show_transferee_as_caller?: boolean;
2155
+ /**
2156
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2157
+ * set, falls back to the agent-level `ring_duration_ms`.
2158
+ */
2159
+ transfer_ring_duration_ms?: number;
2080
2160
  }
2081
2161
  namespace TransferOptionWarmTransfer {
2082
2162
  /**
@@ -2148,6 +2228,11 @@ export declare namespace LlmCreateParams {
2148
2228
  * Twilio numbers support this option.
2149
2229
  */
2150
2230
  show_transferee_as_caller?: boolean;
2231
+ /**
2232
+ * Override the ring duration for this specific transfer, in milliseconds. If not
2233
+ * set, falls back to the agent-level `ring_duration_ms`.
2234
+ */
2235
+ transfer_ring_duration_ms?: number;
2151
2236
  }
2152
2237
  namespace TransferOptionAgenticWarmTransfer {
2153
2238
  /**
@@ -2522,6 +2607,11 @@ export declare namespace LlmCreateParams {
2522
2607
  * Examples of the variable value to teach model the style and syntax.
2523
2608
  */
2524
2609
  examples?: Array<string>;
2610
+ /**
2611
+ * Whether this data is required. If true and the data is not extracted, the call
2612
+ * will be marked as unsuccessful.
2613
+ */
2614
+ required?: boolean;
2525
2615
  }
2526
2616
  interface EnumAnalysisData {
2527
2617
  /**
@@ -2540,6 +2630,11 @@ export declare namespace LlmCreateParams {
2540
2630
  * Type of the variable to extract.
2541
2631
  */
2542
2632
  type: 'enum';
2633
+ /**
2634
+ * Whether this data is required. If true and the data is not extracted, the call
2635
+ * will be marked as unsuccessful.
2636
+ */
2637
+ required?: boolean;
2543
2638
  }
2544
2639
  interface BooleanAnalysisData {
2545
2640
  /**
@@ -2554,6 +2649,11 @@ export declare namespace LlmCreateParams {
2554
2649
  * Type of the variable to extract.
2555
2650
  */
2556
2651
  type: 'boolean';
2652
+ /**
2653
+ * Whether this data is required. If true and the data is not extracted, the call
2654
+ * will be marked as unsuccessful.
2655
+ */
2656
+ required?: boolean;
2557
2657
  }
2558
2658
  interface NumberAnalysisData {
2559
2659
  /**
@@ -2568,6 +2668,11 @@ export declare namespace LlmCreateParams {
2568
2668
  * Type of the variable to extract.
2569
2669
  */
2570
2670
  type: 'number';
2671
+ /**
2672
+ * Whether this data is required. If true and the data is not extracted, the call
2673
+ * will be marked as unsuccessful.
2674
+ */
2675
+ required?: boolean;
2571
2676
  }
2572
2677
  }
2573
2678
  interface BridgeTransferTool {
@@ -2900,6 +3005,11 @@ export declare namespace LlmCreateParams {
2900
3005
  * id when using `sip refer` cold transfer mode.
2901
3006
  */
2902
3007
  show_transferee_as_caller?: boolean;
3008
+ /**
3009
+ * Override the ring duration for this specific transfer, in milliseconds. If not
3010
+ * set, falls back to the agent-level `ring_duration_ms`.
3011
+ */
3012
+ transfer_ring_duration_ms?: number;
2903
3013
  }
2904
3014
  interface TransferOptionWarmTransfer {
2905
3015
  /**
@@ -2951,6 +3061,11 @@ export declare namespace LlmCreateParams {
2951
3061
  * Twilio numbers support this option.
2952
3062
  */
2953
3063
  show_transferee_as_caller?: boolean;
3064
+ /**
3065
+ * Override the ring duration for this specific transfer, in milliseconds. If not
3066
+ * set, falls back to the agent-level `ring_duration_ms`.
3067
+ */
3068
+ transfer_ring_duration_ms?: number;
2954
3069
  }
2955
3070
  namespace TransferOptionWarmTransfer {
2956
3071
  /**
@@ -3022,6 +3137,11 @@ export declare namespace LlmCreateParams {
3022
3137
  * Twilio numbers support this option.
3023
3138
  */
3024
3139
  show_transferee_as_caller?: boolean;
3140
+ /**
3141
+ * Override the ring duration for this specific transfer, in milliseconds. If not
3142
+ * set, falls back to the agent-level `ring_duration_ms`.
3143
+ */
3144
+ transfer_ring_duration_ms?: number;
3025
3145
  }
3026
3146
  namespace TransferOptionAgenticWarmTransfer {
3027
3147
  /**
@@ -3396,6 +3516,11 @@ export declare namespace LlmCreateParams {
3396
3516
  * Examples of the variable value to teach model the style and syntax.
3397
3517
  */
3398
3518
  examples?: Array<string>;
3519
+ /**
3520
+ * Whether this data is required. If true and the data is not extracted, the call
3521
+ * will be marked as unsuccessful.
3522
+ */
3523
+ required?: boolean;
3399
3524
  }
3400
3525
  interface EnumAnalysisData {
3401
3526
  /**
@@ -3414,6 +3539,11 @@ export declare namespace LlmCreateParams {
3414
3539
  * Type of the variable to extract.
3415
3540
  */
3416
3541
  type: 'enum';
3542
+ /**
3543
+ * Whether this data is required. If true and the data is not extracted, the call
3544
+ * will be marked as unsuccessful.
3545
+ */
3546
+ required?: boolean;
3417
3547
  }
3418
3548
  interface BooleanAnalysisData {
3419
3549
  /**
@@ -3428,6 +3558,11 @@ export declare namespace LlmCreateParams {
3428
3558
  * Type of the variable to extract.
3429
3559
  */
3430
3560
  type: 'boolean';
3561
+ /**
3562
+ * Whether this data is required. If true and the data is not extracted, the call
3563
+ * will be marked as unsuccessful.
3564
+ */
3565
+ required?: boolean;
3431
3566
  }
3432
3567
  interface NumberAnalysisData {
3433
3568
  /**
@@ -3442,6 +3577,11 @@ export declare namespace LlmCreateParams {
3442
3577
  * Type of the variable to extract.
3443
3578
  */
3444
3579
  type: 'number';
3580
+ /**
3581
+ * Whether this data is required. If true and the data is not extracted, the call
3582
+ * will be marked as unsuccessful.
3583
+ */
3584
+ required?: boolean;
3445
3585
  }
3446
3586
  }
3447
3587
  interface BridgeTransferTool {
@@ -3601,7 +3741,7 @@ export interface LlmUpdateParams {
3601
3741
  * Body param: Select the underlying text LLM. If not set, would default to
3602
3742
  * gpt-4.1.
3603
3743
  */
3604
- 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' | null;
3744
+ 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' | null;
3605
3745
  /**
3606
3746
  * Body param: If set to true, will use high priority pool with more dedicated
3607
3747
  * resource to ensure lower and more consistent latency, default to false. This
@@ -3772,6 +3912,11 @@ export declare namespace LlmUpdateParams {
3772
3912
  * id when using `sip refer` cold transfer mode.
3773
3913
  */
3774
3914
  show_transferee_as_caller?: boolean;
3915
+ /**
3916
+ * Override the ring duration for this specific transfer, in milliseconds. If not
3917
+ * set, falls back to the agent-level `ring_duration_ms`.
3918
+ */
3919
+ transfer_ring_duration_ms?: number;
3775
3920
  }
3776
3921
  interface TransferOptionWarmTransfer {
3777
3922
  /**
@@ -3823,6 +3968,11 @@ export declare namespace LlmUpdateParams {
3823
3968
  * Twilio numbers support this option.
3824
3969
  */
3825
3970
  show_transferee_as_caller?: boolean;
3971
+ /**
3972
+ * Override the ring duration for this specific transfer, in milliseconds. If not
3973
+ * set, falls back to the agent-level `ring_duration_ms`.
3974
+ */
3975
+ transfer_ring_duration_ms?: number;
3826
3976
  }
3827
3977
  namespace TransferOptionWarmTransfer {
3828
3978
  /**
@@ -3894,6 +4044,11 @@ export declare namespace LlmUpdateParams {
3894
4044
  * Twilio numbers support this option.
3895
4045
  */
3896
4046
  show_transferee_as_caller?: boolean;
4047
+ /**
4048
+ * Override the ring duration for this specific transfer, in milliseconds. If not
4049
+ * set, falls back to the agent-level `ring_duration_ms`.
4050
+ */
4051
+ transfer_ring_duration_ms?: number;
3897
4052
  }
3898
4053
  namespace TransferOptionAgenticWarmTransfer {
3899
4054
  /**
@@ -4268,6 +4423,11 @@ export declare namespace LlmUpdateParams {
4268
4423
  * Examples of the variable value to teach model the style and syntax.
4269
4424
  */
4270
4425
  examples?: Array<string>;
4426
+ /**
4427
+ * Whether this data is required. If true and the data is not extracted, the call
4428
+ * will be marked as unsuccessful.
4429
+ */
4430
+ required?: boolean;
4271
4431
  }
4272
4432
  interface EnumAnalysisData {
4273
4433
  /**
@@ -4286,6 +4446,11 @@ export declare namespace LlmUpdateParams {
4286
4446
  * Type of the variable to extract.
4287
4447
  */
4288
4448
  type: 'enum';
4449
+ /**
4450
+ * Whether this data is required. If true and the data is not extracted, the call
4451
+ * will be marked as unsuccessful.
4452
+ */
4453
+ required?: boolean;
4289
4454
  }
4290
4455
  interface BooleanAnalysisData {
4291
4456
  /**
@@ -4300,6 +4465,11 @@ export declare namespace LlmUpdateParams {
4300
4465
  * Type of the variable to extract.
4301
4466
  */
4302
4467
  type: 'boolean';
4468
+ /**
4469
+ * Whether this data is required. If true and the data is not extracted, the call
4470
+ * will be marked as unsuccessful.
4471
+ */
4472
+ required?: boolean;
4303
4473
  }
4304
4474
  interface NumberAnalysisData {
4305
4475
  /**
@@ -4314,6 +4484,11 @@ export declare namespace LlmUpdateParams {
4314
4484
  * Type of the variable to extract.
4315
4485
  */
4316
4486
  type: 'number';
4487
+ /**
4488
+ * Whether this data is required. If true and the data is not extracted, the call
4489
+ * will be marked as unsuccessful.
4490
+ */
4491
+ required?: boolean;
4317
4492
  }
4318
4493
  }
4319
4494
  interface BridgeTransferTool {
@@ -4646,6 +4821,11 @@ export declare namespace LlmUpdateParams {
4646
4821
  * id when using `sip refer` cold transfer mode.
4647
4822
  */
4648
4823
  show_transferee_as_caller?: boolean;
4824
+ /**
4825
+ * Override the ring duration for this specific transfer, in milliseconds. If not
4826
+ * set, falls back to the agent-level `ring_duration_ms`.
4827
+ */
4828
+ transfer_ring_duration_ms?: number;
4649
4829
  }
4650
4830
  interface TransferOptionWarmTransfer {
4651
4831
  /**
@@ -4697,6 +4877,11 @@ export declare namespace LlmUpdateParams {
4697
4877
  * Twilio numbers support this option.
4698
4878
  */
4699
4879
  show_transferee_as_caller?: boolean;
4880
+ /**
4881
+ * Override the ring duration for this specific transfer, in milliseconds. If not
4882
+ * set, falls back to the agent-level `ring_duration_ms`.
4883
+ */
4884
+ transfer_ring_duration_ms?: number;
4700
4885
  }
4701
4886
  namespace TransferOptionWarmTransfer {
4702
4887
  /**
@@ -4768,6 +4953,11 @@ export declare namespace LlmUpdateParams {
4768
4953
  * Twilio numbers support this option.
4769
4954
  */
4770
4955
  show_transferee_as_caller?: boolean;
4956
+ /**
4957
+ * Override the ring duration for this specific transfer, in milliseconds. If not
4958
+ * set, falls back to the agent-level `ring_duration_ms`.
4959
+ */
4960
+ transfer_ring_duration_ms?: number;
4771
4961
  }
4772
4962
  namespace TransferOptionAgenticWarmTransfer {
4773
4963
  /**
@@ -5142,6 +5332,11 @@ export declare namespace LlmUpdateParams {
5142
5332
  * Examples of the variable value to teach model the style and syntax.
5143
5333
  */
5144
5334
  examples?: Array<string>;
5335
+ /**
5336
+ * Whether this data is required. If true and the data is not extracted, the call
5337
+ * will be marked as unsuccessful.
5338
+ */
5339
+ required?: boolean;
5145
5340
  }
5146
5341
  interface EnumAnalysisData {
5147
5342
  /**
@@ -5160,6 +5355,11 @@ export declare namespace LlmUpdateParams {
5160
5355
  * Type of the variable to extract.
5161
5356
  */
5162
5357
  type: 'enum';
5358
+ /**
5359
+ * Whether this data is required. If true and the data is not extracted, the call
5360
+ * will be marked as unsuccessful.
5361
+ */
5362
+ required?: boolean;
5163
5363
  }
5164
5364
  interface BooleanAnalysisData {
5165
5365
  /**
@@ -5174,6 +5374,11 @@ export declare namespace LlmUpdateParams {
5174
5374
  * Type of the variable to extract.
5175
5375
  */
5176
5376
  type: 'boolean';
5377
+ /**
5378
+ * Whether this data is required. If true and the data is not extracted, the call
5379
+ * will be marked as unsuccessful.
5380
+ */
5381
+ required?: boolean;
5177
5382
  }
5178
5383
  interface NumberAnalysisData {
5179
5384
  /**
@@ -5188,6 +5393,11 @@ export declare namespace LlmUpdateParams {
5188
5393
  * Type of the variable to extract.
5189
5394
  */
5190
5395
  type: 'number';
5396
+ /**
5397
+ * Whether this data is required. If true and the data is not extracted, the call
5398
+ * will be marked as unsuccessful.
5399
+ */
5400
+ required?: boolean;
5191
5401
  }
5192
5402
  }
5193
5403
  interface BridgeTransferTool {