retell-sdk 5.64.0 → 5.66.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 (129) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +29 -0
  3. package/client.d.mts +9 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +9 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/agent.d.mts +43 -13
  13. package/resources/agent.d.mts.map +1 -1
  14. package/resources/agent.d.ts +43 -13
  15. package/resources/agent.d.ts.map +1 -1
  16. package/resources/agent.js +21 -2
  17. package/resources/agent.js.map +1 -1
  18. package/resources/agent.mjs +21 -2
  19. package/resources/agent.mjs.map +1 -1
  20. package/resources/app.d.mts +28 -46
  21. package/resources/app.d.mts.map +1 -1
  22. package/resources/app.d.ts +28 -46
  23. package/resources/app.d.ts.map +1 -1
  24. package/resources/app.js +7 -5
  25. package/resources/app.js.map +1 -1
  26. package/resources/app.mjs +7 -5
  27. package/resources/app.mjs.map +1 -1
  28. package/resources/asset.d.mts +53 -0
  29. package/resources/asset.d.mts.map +1 -0
  30. package/resources/asset.d.ts +53 -0
  31. package/resources/asset.d.ts.map +1 -0
  32. package/resources/asset.js +20 -0
  33. package/resources/asset.js.map +1 -0
  34. package/resources/asset.mjs +16 -0
  35. package/resources/asset.mjs.map +1 -0
  36. package/resources/batch-call.d.mts +4 -2
  37. package/resources/batch-call.d.mts.map +1 -1
  38. package/resources/batch-call.d.ts +4 -2
  39. package/resources/batch-call.d.ts.map +1 -1
  40. package/resources/call.d.mts +155 -21
  41. package/resources/call.d.mts.map +1 -1
  42. package/resources/call.d.ts +155 -21
  43. package/resources/call.d.ts.map +1 -1
  44. package/resources/call.js +37 -5
  45. package/resources/call.js.map +1 -1
  46. package/resources/call.mjs +37 -5
  47. package/resources/call.mjs.map +1 -1
  48. package/resources/chat-agent.d.mts +2 -2
  49. package/resources/chat-agent.d.mts.map +1 -1
  50. package/resources/chat-agent.d.ts +2 -2
  51. package/resources/chat-agent.d.ts.map +1 -1
  52. package/resources/chat.d.mts +24 -11
  53. package/resources/chat.d.mts.map +1 -1
  54. package/resources/chat.d.ts +24 -11
  55. package/resources/chat.d.ts.map +1 -1
  56. package/resources/contact.d.mts +137 -26
  57. package/resources/contact.d.mts.map +1 -1
  58. package/resources/contact.d.ts +137 -26
  59. package/resources/contact.d.ts.map +1 -1
  60. package/resources/contact.js +23 -4
  61. package/resources/contact.js.map +1 -1
  62. package/resources/contact.mjs +23 -4
  63. package/resources/contact.mjs.map +1 -1
  64. package/resources/conversation-flow-component.d.mts +182 -2
  65. package/resources/conversation-flow-component.d.mts.map +1 -1
  66. package/resources/conversation-flow-component.d.ts +182 -2
  67. package/resources/conversation-flow-component.d.ts.map +1 -1
  68. package/resources/conversation-flow.d.mts +362 -2
  69. package/resources/conversation-flow.d.mts.map +1 -1
  70. package/resources/conversation-flow.d.ts +362 -2
  71. package/resources/conversation-flow.d.ts.map +1 -1
  72. package/resources/crm.d.mts +4 -0
  73. package/resources/crm.d.mts.map +1 -1
  74. package/resources/crm.d.ts +4 -0
  75. package/resources/crm.d.ts.map +1 -1
  76. package/resources/export-request.d.mts +2 -2
  77. package/resources/export-request.d.mts.map +1 -1
  78. package/resources/export-request.d.ts +2 -2
  79. package/resources/export-request.d.ts.map +1 -1
  80. package/resources/index.d.mts +4 -3
  81. package/resources/index.d.mts.map +1 -1
  82. package/resources/index.d.ts +4 -3
  83. package/resources/index.d.ts.map +1 -1
  84. package/resources/index.js +3 -1
  85. package/resources/index.js.map +1 -1
  86. package/resources/index.mjs +1 -0
  87. package/resources/index.mjs.map +1 -1
  88. package/resources/knowledge-base.d.mts +7 -7
  89. package/resources/knowledge-base.d.ts +7 -7
  90. package/resources/llm.d.mts +38 -2
  91. package/resources/llm.d.mts.map +1 -1
  92. package/resources/llm.d.ts +38 -2
  93. package/resources/llm.d.ts.map +1 -1
  94. package/resources/phone-number.d.mts +14 -8
  95. package/resources/phone-number.d.mts.map +1 -1
  96. package/resources/phone-number.d.ts +14 -8
  97. package/resources/phone-number.d.ts.map +1 -1
  98. package/resources/tests.d.mts +6 -6
  99. package/resources/tests.d.mts.map +1 -1
  100. package/resources/tests.d.ts +6 -6
  101. package/resources/tests.d.ts.map +1 -1
  102. package/resources/voice.d.mts +4 -4
  103. package/resources/voice.d.mts.map +1 -1
  104. package/resources/voice.d.ts +4 -4
  105. package/resources/voice.d.ts.map +1 -1
  106. package/src/client.ts +31 -0
  107. package/src/resources/agent.ts +60 -9
  108. package/src/resources/app.ts +29 -58
  109. package/src/resources/asset.ts +69 -0
  110. package/src/resources/batch-call.ts +6 -1
  111. package/src/resources/call.ts +196 -18
  112. package/src/resources/chat-agent.ts +2 -2
  113. package/src/resources/chat.ts +28 -11
  114. package/src/resources/contact.ts +187 -26
  115. package/src/resources/conversation-flow-component.ts +206 -2
  116. package/src/resources/conversation-flow.ts +410 -2
  117. package/src/resources/crm.ts +5 -0
  118. package/src/resources/export-request.ts +2 -2
  119. package/src/resources/index.ts +12 -0
  120. package/src/resources/knowledge-base.ts +7 -7
  121. package/src/resources/llm.ts +38 -2
  122. package/src/resources/phone-number.ts +14 -8
  123. package/src/resources/tests.ts +6 -6
  124. package/src/resources/voice.ts +4 -4
  125. package/src/version.ts +1 -1
  126. package/version.d.mts +1 -1
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
  129. package/version.mjs +1 -1
@@ -344,6 +344,11 @@ export namespace ConversationFlowResponse {
344
344
 
345
345
  always_edge?: ConversationNode.AlwaysEdge;
346
346
 
347
+ /**
348
+ * Custom transcription settings. Required when stt_mode is custom.
349
+ */
350
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
351
+
347
352
  /**
348
353
  * Position for frontend display
349
354
  */
@@ -395,6 +400,13 @@ export namespace ConversationFlowResponse {
395
400
 
396
401
  skip_response_edge?: ConversationNode.SkipResponseEdge;
397
402
 
403
+ /**
404
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
405
+ * configuration, accurate optimizes for accuracy using the provider configuration,
406
+ * and custom uses custom_stt_config.
407
+ */
408
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
409
+
398
410
  voice_speed?: number | null;
399
411
  }
400
412
 
@@ -500,6 +512,22 @@ export namespace ConversationFlowResponse {
500
512
  }
501
513
  }
502
514
 
515
+ /**
516
+ * Custom transcription settings. Required when stt_mode is custom.
517
+ */
518
+ export interface CustomSttConfig {
519
+ /**
520
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
521
+ * 500 for Soniox, and 100 for AssemblyAI.
522
+ */
523
+ endpointing_ms: number;
524
+
525
+ /**
526
+ * ASR provider name.
527
+ */
528
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
529
+ }
530
+
503
531
  /**
504
532
  * Position for frontend display
505
533
  */
@@ -1051,6 +1079,11 @@ export namespace ConversationFlowResponse {
1051
1079
 
1052
1080
  always_edge?: SubagentNode.AlwaysEdge;
1053
1081
 
1082
+ /**
1083
+ * Custom transcription settings. Required when stt_mode is custom.
1084
+ */
1085
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
1086
+
1054
1087
  /**
1055
1088
  * Position for frontend display
1056
1089
  */
@@ -1102,6 +1135,13 @@ export namespace ConversationFlowResponse {
1102
1135
 
1103
1136
  skip_response_edge?: SubagentNode.SkipResponseEdge;
1104
1137
 
1138
+ /**
1139
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
1140
+ * configuration, accurate optimizes for accuracy using the provider configuration,
1141
+ * and custom uses custom_stt_config.
1142
+ */
1143
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
1144
+
1105
1145
  /**
1106
1146
  * The tool ids of the tools defined in main conversation flow or component that
1107
1147
  * can be used in this subagent node.
@@ -1221,6 +1261,22 @@ export namespace ConversationFlowResponse {
1221
1261
  }
1222
1262
  }
1223
1263
 
1264
+ /**
1265
+ * Custom transcription settings. Required when stt_mode is custom.
1266
+ */
1267
+ export interface CustomSttConfig {
1268
+ /**
1269
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
1270
+ * 500 for Soniox, and 100 for AssemblyAI.
1271
+ */
1272
+ endpointing_ms: number;
1273
+
1274
+ /**
1275
+ * ASR provider name.
1276
+ */
1277
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
1278
+ }
1279
+
1224
1280
  /**
1225
1281
  * Position for frontend display
1226
1282
  */
@@ -2147,6 +2203,9 @@ export namespace ConversationFlowResponse {
2147
2203
  }
2148
2204
  }
2149
2205
 
2206
+ /**
2207
+ * @deprecated
2208
+ */
2150
2209
  export interface CheckAvailabilityCalTool {
2151
2210
  /**
2152
2211
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -2187,6 +2246,9 @@ export namespace ConversationFlowResponse {
2187
2246
  timezone?: string;
2188
2247
  }
2189
2248
 
2249
+ /**
2250
+ * @deprecated
2251
+ */
2190
2252
  export interface BookAppointmentCalTool {
2191
2253
  /**
2192
2254
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -8809,6 +8871,9 @@ export namespace ConversationFlowResponse {
8809
8871
  }
8810
8872
  }
8811
8873
 
8874
+ /**
8875
+ * @deprecated
8876
+ */
8812
8877
  export interface CheckAvailabilityCalTool {
8813
8878
  /**
8814
8879
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -8854,6 +8919,9 @@ export namespace ConversationFlowResponse {
8854
8919
  tool_id?: string;
8855
8920
  }
8856
8921
 
8922
+ /**
8923
+ * @deprecated
8924
+ */
8857
8925
  export interface BookAppointmentCalTool {
8858
8926
  /**
8859
8927
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -9003,6 +9071,11 @@ export namespace ConversationFlowResponse {
9003
9071
 
9004
9072
  always_edge?: ConversationNode.AlwaysEdge;
9005
9073
 
9074
+ /**
9075
+ * Custom transcription settings. Required when stt_mode is custom.
9076
+ */
9077
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
9078
+
9006
9079
  /**
9007
9080
  * Position for frontend display
9008
9081
  */
@@ -9054,6 +9127,13 @@ export namespace ConversationFlowResponse {
9054
9127
 
9055
9128
  skip_response_edge?: ConversationNode.SkipResponseEdge;
9056
9129
 
9130
+ /**
9131
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
9132
+ * configuration, accurate optimizes for accuracy using the provider configuration,
9133
+ * and custom uses custom_stt_config.
9134
+ */
9135
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
9136
+
9057
9137
  voice_speed?: number | null;
9058
9138
  }
9059
9139
 
@@ -9159,6 +9239,22 @@ export namespace ConversationFlowResponse {
9159
9239
  }
9160
9240
  }
9161
9241
 
9242
+ /**
9243
+ * Custom transcription settings. Required when stt_mode is custom.
9244
+ */
9245
+ export interface CustomSttConfig {
9246
+ /**
9247
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
9248
+ * 500 for Soniox, and 100 for AssemblyAI.
9249
+ */
9250
+ endpointing_ms: number;
9251
+
9252
+ /**
9253
+ * ASR provider name.
9254
+ */
9255
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
9256
+ }
9257
+
9162
9258
  /**
9163
9259
  * Position for frontend display
9164
9260
  */
@@ -9710,6 +9806,11 @@ export namespace ConversationFlowResponse {
9710
9806
 
9711
9807
  always_edge?: SubagentNode.AlwaysEdge;
9712
9808
 
9809
+ /**
9810
+ * Custom transcription settings. Required when stt_mode is custom.
9811
+ */
9812
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
9813
+
9713
9814
  /**
9714
9815
  * Position for frontend display
9715
9816
  */
@@ -9761,6 +9862,13 @@ export namespace ConversationFlowResponse {
9761
9862
 
9762
9863
  skip_response_edge?: SubagentNode.SkipResponseEdge;
9763
9864
 
9865
+ /**
9866
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
9867
+ * configuration, accurate optimizes for accuracy using the provider configuration,
9868
+ * and custom uses custom_stt_config.
9869
+ */
9870
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
9871
+
9764
9872
  /**
9765
9873
  * The tool ids of the tools defined in main conversation flow or component that
9766
9874
  * can be used in this subagent node.
@@ -9880,6 +9988,22 @@ export namespace ConversationFlowResponse {
9880
9988
  }
9881
9989
  }
9882
9990
 
9991
+ /**
9992
+ * Custom transcription settings. Required when stt_mode is custom.
9993
+ */
9994
+ export interface CustomSttConfig {
9995
+ /**
9996
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
9997
+ * 500 for Soniox, and 100 for AssemblyAI.
9998
+ */
9999
+ endpointing_ms: number;
10000
+
10001
+ /**
10002
+ * ASR provider name.
10003
+ */
10004
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
10005
+ }
10006
+
9883
10007
  /**
9884
10008
  * Position for frontend display
9885
10009
  */
@@ -10806,6 +10930,9 @@ export namespace ConversationFlowResponse {
10806
10930
  }
10807
10931
  }
10808
10932
 
10933
+ /**
10934
+ * @deprecated
10935
+ */
10809
10936
  export interface CheckAvailabilityCalTool {
10810
10937
  /**
10811
10938
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -10846,6 +10973,9 @@ export namespace ConversationFlowResponse {
10846
10973
  timezone?: string;
10847
10974
  }
10848
10975
 
10976
+ /**
10977
+ * @deprecated
10978
+ */
10849
10979
  export interface BookAppointmentCalTool {
10850
10980
  /**
10851
10981
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -17434,6 +17564,9 @@ export namespace ConversationFlowResponse {
17434
17564
  }
17435
17565
  }
17436
17566
 
17567
+ /**
17568
+ * @deprecated
17569
+ */
17437
17570
  export interface CheckAvailabilityCalTool {
17438
17571
  /**
17439
17572
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -17479,6 +17612,9 @@ export namespace ConversationFlowResponse {
17479
17612
  tool_id?: string;
17480
17613
  }
17481
17614
 
17615
+ /**
17616
+ * @deprecated
17617
+ */
17482
17618
  export interface BookAppointmentCalTool {
17483
17619
  /**
17484
17620
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -17529,9 +17665,9 @@ export interface ConversationFlowListResponse {
17529
17665
  /**
17530
17666
  * Whether more results are available.
17531
17667
  */
17532
- has_more?: boolean;
17668
+ has_more: boolean;
17533
17669
 
17534
- items?: Array<ConversationFlowResponse>;
17670
+ items: Array<ConversationFlowResponse>;
17535
17671
 
17536
17672
  /**
17537
17673
  * Pagination key for the next page.
@@ -17723,6 +17859,11 @@ export namespace ConversationFlowCreateParams {
17723
17859
 
17724
17860
  always_edge?: ConversationNode.AlwaysEdge;
17725
17861
 
17862
+ /**
17863
+ * Custom transcription settings. Required when stt_mode is custom.
17864
+ */
17865
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
17866
+
17726
17867
  /**
17727
17868
  * Position for frontend display
17728
17869
  */
@@ -17774,6 +17915,13 @@ export namespace ConversationFlowCreateParams {
17774
17915
 
17775
17916
  skip_response_edge?: ConversationNode.SkipResponseEdge;
17776
17917
 
17918
+ /**
17919
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
17920
+ * configuration, accurate optimizes for accuracy using the provider configuration,
17921
+ * and custom uses custom_stt_config.
17922
+ */
17923
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
17924
+
17777
17925
  voice_speed?: number | null;
17778
17926
  }
17779
17927
 
@@ -17879,6 +18027,22 @@ export namespace ConversationFlowCreateParams {
17879
18027
  }
17880
18028
  }
17881
18029
 
18030
+ /**
18031
+ * Custom transcription settings. Required when stt_mode is custom.
18032
+ */
18033
+ export interface CustomSttConfig {
18034
+ /**
18035
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
18036
+ * 500 for Soniox, and 100 for AssemblyAI.
18037
+ */
18038
+ endpointing_ms: number;
18039
+
18040
+ /**
18041
+ * ASR provider name.
18042
+ */
18043
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
18044
+ }
18045
+
17882
18046
  /**
17883
18047
  * Position for frontend display
17884
18048
  */
@@ -18430,6 +18594,11 @@ export namespace ConversationFlowCreateParams {
18430
18594
 
18431
18595
  always_edge?: SubagentNode.AlwaysEdge;
18432
18596
 
18597
+ /**
18598
+ * Custom transcription settings. Required when stt_mode is custom.
18599
+ */
18600
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
18601
+
18433
18602
  /**
18434
18603
  * Position for frontend display
18435
18604
  */
@@ -18481,6 +18650,13 @@ export namespace ConversationFlowCreateParams {
18481
18650
 
18482
18651
  skip_response_edge?: SubagentNode.SkipResponseEdge;
18483
18652
 
18653
+ /**
18654
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
18655
+ * configuration, accurate optimizes for accuracy using the provider configuration,
18656
+ * and custom uses custom_stt_config.
18657
+ */
18658
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
18659
+
18484
18660
  /**
18485
18661
  * The tool ids of the tools defined in main conversation flow or component that
18486
18662
  * can be used in this subagent node.
@@ -18600,6 +18776,22 @@ export namespace ConversationFlowCreateParams {
18600
18776
  }
18601
18777
  }
18602
18778
 
18779
+ /**
18780
+ * Custom transcription settings. Required when stt_mode is custom.
18781
+ */
18782
+ export interface CustomSttConfig {
18783
+ /**
18784
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
18785
+ * 500 for Soniox, and 100 for AssemblyAI.
18786
+ */
18787
+ endpointing_ms: number;
18788
+
18789
+ /**
18790
+ * ASR provider name.
18791
+ */
18792
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
18793
+ }
18794
+
18603
18795
  /**
18604
18796
  * Position for frontend display
18605
18797
  */
@@ -19526,6 +19718,9 @@ export namespace ConversationFlowCreateParams {
19526
19718
  }
19527
19719
  }
19528
19720
 
19721
+ /**
19722
+ * @deprecated
19723
+ */
19529
19724
  export interface CheckAvailabilityCalTool {
19530
19725
  /**
19531
19726
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19566,6 +19761,9 @@ export namespace ConversationFlowCreateParams {
19566
19761
  timezone?: string;
19567
19762
  }
19568
19763
 
19764
+ /**
19765
+ * @deprecated
19766
+ */
19569
19767
  export interface BookAppointmentCalTool {
19570
19768
  /**
19571
19769
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -26041,6 +26239,11 @@ export namespace ConversationFlowCreateParams {
26041
26239
 
26042
26240
  always_edge?: ConversationNode.AlwaysEdge;
26043
26241
 
26242
+ /**
26243
+ * Custom transcription settings. Required when stt_mode is custom.
26244
+ */
26245
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
26246
+
26044
26247
  /**
26045
26248
  * Position for frontend display
26046
26249
  */
@@ -26092,6 +26295,13 @@ export namespace ConversationFlowCreateParams {
26092
26295
 
26093
26296
  skip_response_edge?: ConversationNode.SkipResponseEdge;
26094
26297
 
26298
+ /**
26299
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
26300
+ * configuration, accurate optimizes for accuracy using the provider configuration,
26301
+ * and custom uses custom_stt_config.
26302
+ */
26303
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
26304
+
26095
26305
  voice_speed?: number | null;
26096
26306
  }
26097
26307
 
@@ -26197,6 +26407,22 @@ export namespace ConversationFlowCreateParams {
26197
26407
  }
26198
26408
  }
26199
26409
 
26410
+ /**
26411
+ * Custom transcription settings. Required when stt_mode is custom.
26412
+ */
26413
+ export interface CustomSttConfig {
26414
+ /**
26415
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
26416
+ * 500 for Soniox, and 100 for AssemblyAI.
26417
+ */
26418
+ endpointing_ms: number;
26419
+
26420
+ /**
26421
+ * ASR provider name.
26422
+ */
26423
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
26424
+ }
26425
+
26200
26426
  /**
26201
26427
  * Position for frontend display
26202
26428
  */
@@ -26748,6 +26974,11 @@ export namespace ConversationFlowCreateParams {
26748
26974
 
26749
26975
  always_edge?: SubagentNode.AlwaysEdge;
26750
26976
 
26977
+ /**
26978
+ * Custom transcription settings. Required when stt_mode is custom.
26979
+ */
26980
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
26981
+
26751
26982
  /**
26752
26983
  * Position for frontend display
26753
26984
  */
@@ -26799,6 +27030,13 @@ export namespace ConversationFlowCreateParams {
26799
27030
 
26800
27031
  skip_response_edge?: SubagentNode.SkipResponseEdge;
26801
27032
 
27033
+ /**
27034
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
27035
+ * configuration, accurate optimizes for accuracy using the provider configuration,
27036
+ * and custom uses custom_stt_config.
27037
+ */
27038
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
27039
+
26802
27040
  /**
26803
27041
  * The tool ids of the tools defined in main conversation flow or component that
26804
27042
  * can be used in this subagent node.
@@ -26918,6 +27156,22 @@ export namespace ConversationFlowCreateParams {
26918
27156
  }
26919
27157
  }
26920
27158
 
27159
+ /**
27160
+ * Custom transcription settings. Required when stt_mode is custom.
27161
+ */
27162
+ export interface CustomSttConfig {
27163
+ /**
27164
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
27165
+ * 500 for Soniox, and 100 for AssemblyAI.
27166
+ */
27167
+ endpointing_ms: number;
27168
+
27169
+ /**
27170
+ * ASR provider name.
27171
+ */
27172
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
27173
+ }
27174
+
26921
27175
  /**
26922
27176
  * Position for frontend display
26923
27177
  */
@@ -27844,6 +28098,9 @@ export namespace ConversationFlowCreateParams {
27844
28098
  }
27845
28099
  }
27846
28100
 
28101
+ /**
28102
+ * @deprecated
28103
+ */
27847
28104
  export interface CheckAvailabilityCalTool {
27848
28105
  /**
27849
28106
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -27884,6 +28141,9 @@ export namespace ConversationFlowCreateParams {
27884
28141
  timezone?: string;
27885
28142
  }
27886
28143
 
28144
+ /**
28145
+ * @deprecated
28146
+ */
27887
28147
  export interface BookAppointmentCalTool {
27888
28148
  /**
27889
28149
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -34506,6 +34766,9 @@ export namespace ConversationFlowCreateParams {
34506
34766
  }
34507
34767
  }
34508
34768
 
34769
+ /**
34770
+ * @deprecated
34771
+ */
34509
34772
  export interface CheckAvailabilityCalTool {
34510
34773
  /**
34511
34774
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -34551,6 +34814,9 @@ export namespace ConversationFlowCreateParams {
34551
34814
  tool_id?: string;
34552
34815
  }
34553
34816
 
34817
+ /**
34818
+ * @deprecated
34819
+ */
34554
34820
  export interface BookAppointmentCalTool {
34555
34821
  /**
34556
34822
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -34840,6 +35106,9 @@ export namespace ConversationFlowCreateParams {
34840
35106
  }
34841
35107
  }
34842
35108
 
35109
+ /**
35110
+ * @deprecated
35111
+ */
34843
35112
  export interface CheckAvailabilityCalTool {
34844
35113
  /**
34845
35114
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -34885,6 +35154,9 @@ export namespace ConversationFlowCreateParams {
34885
35154
  tool_id?: string;
34886
35155
  }
34887
35156
 
35157
+ /**
35158
+ * @deprecated
35159
+ */
34888
35160
  export interface BookAppointmentCalTool {
34889
35161
  /**
34890
35162
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -35157,6 +35429,11 @@ export namespace ConversationFlowUpdateParams {
35157
35429
 
35158
35430
  always_edge?: ConversationNode.AlwaysEdge;
35159
35431
 
35432
+ /**
35433
+ * Custom transcription settings. Required when stt_mode is custom.
35434
+ */
35435
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
35436
+
35160
35437
  /**
35161
35438
  * Position for frontend display
35162
35439
  */
@@ -35208,6 +35485,13 @@ export namespace ConversationFlowUpdateParams {
35208
35485
 
35209
35486
  skip_response_edge?: ConversationNode.SkipResponseEdge;
35210
35487
 
35488
+ /**
35489
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
35490
+ * configuration, accurate optimizes for accuracy using the provider configuration,
35491
+ * and custom uses custom_stt_config.
35492
+ */
35493
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
35494
+
35211
35495
  voice_speed?: number | null;
35212
35496
  }
35213
35497
 
@@ -35313,6 +35597,22 @@ export namespace ConversationFlowUpdateParams {
35313
35597
  }
35314
35598
  }
35315
35599
 
35600
+ /**
35601
+ * Custom transcription settings. Required when stt_mode is custom.
35602
+ */
35603
+ export interface CustomSttConfig {
35604
+ /**
35605
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
35606
+ * 500 for Soniox, and 100 for AssemblyAI.
35607
+ */
35608
+ endpointing_ms: number;
35609
+
35610
+ /**
35611
+ * ASR provider name.
35612
+ */
35613
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
35614
+ }
35615
+
35316
35616
  /**
35317
35617
  * Position for frontend display
35318
35618
  */
@@ -35864,6 +36164,11 @@ export namespace ConversationFlowUpdateParams {
35864
36164
 
35865
36165
  always_edge?: SubagentNode.AlwaysEdge;
35866
36166
 
36167
+ /**
36168
+ * Custom transcription settings. Required when stt_mode is custom.
36169
+ */
36170
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
36171
+
35867
36172
  /**
35868
36173
  * Position for frontend display
35869
36174
  */
@@ -35915,6 +36220,13 @@ export namespace ConversationFlowUpdateParams {
35915
36220
 
35916
36221
  skip_response_edge?: SubagentNode.SkipResponseEdge;
35917
36222
 
36223
+ /**
36224
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
36225
+ * configuration, accurate optimizes for accuracy using the provider configuration,
36226
+ * and custom uses custom_stt_config.
36227
+ */
36228
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
36229
+
35918
36230
  /**
35919
36231
  * The tool ids of the tools defined in main conversation flow or component that
35920
36232
  * can be used in this subagent node.
@@ -36034,6 +36346,22 @@ export namespace ConversationFlowUpdateParams {
36034
36346
  }
36035
36347
  }
36036
36348
 
36349
+ /**
36350
+ * Custom transcription settings. Required when stt_mode is custom.
36351
+ */
36352
+ export interface CustomSttConfig {
36353
+ /**
36354
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
36355
+ * 500 for Soniox, and 100 for AssemblyAI.
36356
+ */
36357
+ endpointing_ms: number;
36358
+
36359
+ /**
36360
+ * ASR provider name.
36361
+ */
36362
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
36363
+ }
36364
+
36037
36365
  /**
36038
36366
  * Position for frontend display
36039
36367
  */
@@ -36960,6 +37288,9 @@ export namespace ConversationFlowUpdateParams {
36960
37288
  }
36961
37289
  }
36962
37290
 
37291
+ /**
37292
+ * @deprecated
37293
+ */
36963
37294
  export interface CheckAvailabilityCalTool {
36964
37295
  /**
36965
37296
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -37000,6 +37331,9 @@ export namespace ConversationFlowUpdateParams {
37000
37331
  timezone?: string;
37001
37332
  }
37002
37333
 
37334
+ /**
37335
+ * @deprecated
37336
+ */
37003
37337
  export interface BookAppointmentCalTool {
37004
37338
  /**
37005
37339
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -43622,6 +43956,9 @@ export namespace ConversationFlowUpdateParams {
43622
43956
  }
43623
43957
  }
43624
43958
 
43959
+ /**
43960
+ * @deprecated
43961
+ */
43625
43962
  export interface CheckAvailabilityCalTool {
43626
43963
  /**
43627
43964
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -43667,6 +44004,9 @@ export namespace ConversationFlowUpdateParams {
43667
44004
  tool_id?: string;
43668
44005
  }
43669
44006
 
44007
+ /**
44008
+ * @deprecated
44009
+ */
43670
44010
  export interface BookAppointmentCalTool {
43671
44011
  /**
43672
44012
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -43816,6 +44156,11 @@ export namespace ConversationFlowUpdateParams {
43816
44156
 
43817
44157
  always_edge?: ConversationNode.AlwaysEdge;
43818
44158
 
44159
+ /**
44160
+ * Custom transcription settings. Required when stt_mode is custom.
44161
+ */
44162
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
44163
+
43819
44164
  /**
43820
44165
  * Position for frontend display
43821
44166
  */
@@ -43867,6 +44212,13 @@ export namespace ConversationFlowUpdateParams {
43867
44212
 
43868
44213
  skip_response_edge?: ConversationNode.SkipResponseEdge;
43869
44214
 
44215
+ /**
44216
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
44217
+ * configuration, accurate optimizes for accuracy using the provider configuration,
44218
+ * and custom uses custom_stt_config.
44219
+ */
44220
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
44221
+
43870
44222
  voice_speed?: number | null;
43871
44223
  }
43872
44224
 
@@ -43972,6 +44324,22 @@ export namespace ConversationFlowUpdateParams {
43972
44324
  }
43973
44325
  }
43974
44326
 
44327
+ /**
44328
+ * Custom transcription settings. Required when stt_mode is custom.
44329
+ */
44330
+ export interface CustomSttConfig {
44331
+ /**
44332
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
44333
+ * 500 for Soniox, and 100 for AssemblyAI.
44334
+ */
44335
+ endpointing_ms: number;
44336
+
44337
+ /**
44338
+ * ASR provider name.
44339
+ */
44340
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
44341
+ }
44342
+
43975
44343
  /**
43976
44344
  * Position for frontend display
43977
44345
  */
@@ -44523,6 +44891,11 @@ export namespace ConversationFlowUpdateParams {
44523
44891
 
44524
44892
  always_edge?: SubagentNode.AlwaysEdge;
44525
44893
 
44894
+ /**
44895
+ * Custom transcription settings. Required when stt_mode is custom.
44896
+ */
44897
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
44898
+
44526
44899
  /**
44527
44900
  * Position for frontend display
44528
44901
  */
@@ -44574,6 +44947,13 @@ export namespace ConversationFlowUpdateParams {
44574
44947
 
44575
44948
  skip_response_edge?: SubagentNode.SkipResponseEdge;
44576
44949
 
44950
+ /**
44951
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
44952
+ * configuration, accurate optimizes for accuracy using the provider configuration,
44953
+ * and custom uses custom_stt_config.
44954
+ */
44955
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
44956
+
44577
44957
  /**
44578
44958
  * The tool ids of the tools defined in main conversation flow or component that
44579
44959
  * can be used in this subagent node.
@@ -44693,6 +45073,22 @@ export namespace ConversationFlowUpdateParams {
44693
45073
  }
44694
45074
  }
44695
45075
 
45076
+ /**
45077
+ * Custom transcription settings. Required when stt_mode is custom.
45078
+ */
45079
+ export interface CustomSttConfig {
45080
+ /**
45081
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
45082
+ * 500 for Soniox, and 100 for AssemblyAI.
45083
+ */
45084
+ endpointing_ms: number;
45085
+
45086
+ /**
45087
+ * ASR provider name.
45088
+ */
45089
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
45090
+ }
45091
+
44696
45092
  /**
44697
45093
  * Position for frontend display
44698
45094
  */
@@ -45619,6 +46015,9 @@ export namespace ConversationFlowUpdateParams {
45619
46015
  }
45620
46016
  }
45621
46017
 
46018
+ /**
46019
+ * @deprecated
46020
+ */
45622
46021
  export interface CheckAvailabilityCalTool {
45623
46022
  /**
45624
46023
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -45659,6 +46058,9 @@ export namespace ConversationFlowUpdateParams {
45659
46058
  timezone?: string;
45660
46059
  }
45661
46060
 
46061
+ /**
46062
+ * @deprecated
46063
+ */
45662
46064
  export interface BookAppointmentCalTool {
45663
46065
  /**
45664
46066
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -52247,6 +52649,9 @@ export namespace ConversationFlowUpdateParams {
52247
52649
  }
52248
52650
  }
52249
52651
 
52652
+ /**
52653
+ * @deprecated
52654
+ */
52250
52655
  export interface CheckAvailabilityCalTool {
52251
52656
  /**
52252
52657
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -52292,6 +52697,9 @@ export namespace ConversationFlowUpdateParams {
52292
52697
  tool_id?: string;
52293
52698
  }
52294
52699
 
52700
+ /**
52701
+ * @deprecated
52702
+ */
52295
52703
  export interface BookAppointmentCalTool {
52296
52704
  /**
52297
52705
  * Cal.com Api key that have access to the cal.com event you want to book