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
@@ -227,6 +227,10 @@ export declare namespace ConversationFlowResponse {
227
227
  */
228
228
  allow_dtmf_interruption?: boolean | null;
229
229
  always_edge?: ConversationNode.AlwaysEdge;
230
+ /**
231
+ * Custom transcription settings. Required when stt_mode is custom.
232
+ */
233
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
230
234
  /**
231
235
  * Position for frontend display
232
236
  */
@@ -263,6 +267,12 @@ export declare namespace ConversationFlowResponse {
263
267
  reminder_trigger_ms?: number | null;
264
268
  responsiveness?: number | null;
265
269
  skip_response_edge?: ConversationNode.SkipResponseEdge;
270
+ /**
271
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
272
+ * configuration, accurate optimizes for accuracy using the provider configuration,
273
+ * and custom uses custom_stt_config.
274
+ */
275
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
266
276
  voice_speed?: number | null;
267
277
  }
268
278
  namespace ConversationNode {
@@ -336,6 +346,20 @@ export declare namespace ConversationFlowResponse {
336
346
  type: 'prompt';
337
347
  }
338
348
  }
349
+ /**
350
+ * Custom transcription settings. Required when stt_mode is custom.
351
+ */
352
+ interface CustomSttConfig {
353
+ /**
354
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
355
+ * 500 for Soniox, and 100 for AssemblyAI.
356
+ */
357
+ endpointing_ms: number;
358
+ /**
359
+ * ASR provider name.
360
+ */
361
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
362
+ }
339
363
  /**
340
364
  * Position for frontend display
341
365
  */
@@ -695,6 +719,10 @@ export declare namespace ConversationFlowResponse {
695
719
  */
696
720
  allow_dtmf_interruption?: boolean | null;
697
721
  always_edge?: SubagentNode.AlwaysEdge;
722
+ /**
723
+ * Custom transcription settings. Required when stt_mode is custom.
724
+ */
725
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
698
726
  /**
699
727
  * Position for frontend display
700
728
  */
@@ -731,6 +759,12 @@ export declare namespace ConversationFlowResponse {
731
759
  reminder_trigger_ms?: number | null;
732
760
  responsiveness?: number | null;
733
761
  skip_response_edge?: SubagentNode.SkipResponseEdge;
762
+ /**
763
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
764
+ * configuration, accurate optimizes for accuracy using the provider configuration,
765
+ * and custom uses custom_stt_config.
766
+ */
767
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
734
768
  /**
735
769
  * The tool ids of the tools defined in main conversation flow or component that
736
770
  * can be used in this subagent node.
@@ -804,6 +838,20 @@ export declare namespace ConversationFlowResponse {
804
838
  type: 'prompt';
805
839
  }
806
840
  }
841
+ /**
842
+ * Custom transcription settings. Required when stt_mode is custom.
843
+ */
844
+ interface CustomSttConfig {
845
+ /**
846
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
847
+ * 500 for Soniox, and 100 for AssemblyAI.
848
+ */
849
+ endpointing_ms: number;
850
+ /**
851
+ * ASR provider name.
852
+ */
853
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
854
+ }
807
855
  /**
808
856
  * Position for frontend display
809
857
  */
@@ -1471,6 +1519,9 @@ export declare namespace ConversationFlowResponse {
1471
1519
  }
1472
1520
  }
1473
1521
  }
1522
+ /**
1523
+ * @deprecated
1524
+ */
1474
1525
  interface CheckAvailabilityCalTool {
1475
1526
  /**
1476
1527
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -1505,6 +1556,9 @@ export declare namespace ConversationFlowResponse {
1505
1556
  */
1506
1557
  timezone?: string;
1507
1558
  }
1559
+ /**
1560
+ * @deprecated
1561
+ */
1508
1562
  interface BookAppointmentCalTool {
1509
1563
  /**
1510
1564
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -6147,6 +6201,9 @@ export declare namespace ConversationFlowResponse {
6147
6201
  required?: Array<string>;
6148
6202
  }
6149
6203
  }
6204
+ /**
6205
+ * @deprecated
6206
+ */
6150
6207
  interface CheckAvailabilityCalTool {
6151
6208
  /**
6152
6209
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -6185,6 +6242,9 @@ export declare namespace ConversationFlowResponse {
6185
6242
  */
6186
6243
  tool_id?: string;
6187
6244
  }
6245
+ /**
6246
+ * @deprecated
6247
+ */
6188
6248
  interface BookAppointmentCalTool {
6189
6249
  /**
6190
6250
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -6293,6 +6353,10 @@ export declare namespace ConversationFlowResponse {
6293
6353
  */
6294
6354
  allow_dtmf_interruption?: boolean | null;
6295
6355
  always_edge?: ConversationNode.AlwaysEdge;
6356
+ /**
6357
+ * Custom transcription settings. Required when stt_mode is custom.
6358
+ */
6359
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
6296
6360
  /**
6297
6361
  * Position for frontend display
6298
6362
  */
@@ -6329,6 +6393,12 @@ export declare namespace ConversationFlowResponse {
6329
6393
  reminder_trigger_ms?: number | null;
6330
6394
  responsiveness?: number | null;
6331
6395
  skip_response_edge?: ConversationNode.SkipResponseEdge;
6396
+ /**
6397
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
6398
+ * configuration, accurate optimizes for accuracy using the provider configuration,
6399
+ * and custom uses custom_stt_config.
6400
+ */
6401
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
6332
6402
  voice_speed?: number | null;
6333
6403
  }
6334
6404
  namespace ConversationNode {
@@ -6402,6 +6472,20 @@ export declare namespace ConversationFlowResponse {
6402
6472
  type: 'prompt';
6403
6473
  }
6404
6474
  }
6475
+ /**
6476
+ * Custom transcription settings. Required when stt_mode is custom.
6477
+ */
6478
+ interface CustomSttConfig {
6479
+ /**
6480
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
6481
+ * 500 for Soniox, and 100 for AssemblyAI.
6482
+ */
6483
+ endpointing_ms: number;
6484
+ /**
6485
+ * ASR provider name.
6486
+ */
6487
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
6488
+ }
6405
6489
  /**
6406
6490
  * Position for frontend display
6407
6491
  */
@@ -6761,6 +6845,10 @@ export declare namespace ConversationFlowResponse {
6761
6845
  */
6762
6846
  allow_dtmf_interruption?: boolean | null;
6763
6847
  always_edge?: SubagentNode.AlwaysEdge;
6848
+ /**
6849
+ * Custom transcription settings. Required when stt_mode is custom.
6850
+ */
6851
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
6764
6852
  /**
6765
6853
  * Position for frontend display
6766
6854
  */
@@ -6797,6 +6885,12 @@ export declare namespace ConversationFlowResponse {
6797
6885
  reminder_trigger_ms?: number | null;
6798
6886
  responsiveness?: number | null;
6799
6887
  skip_response_edge?: SubagentNode.SkipResponseEdge;
6888
+ /**
6889
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
6890
+ * configuration, accurate optimizes for accuracy using the provider configuration,
6891
+ * and custom uses custom_stt_config.
6892
+ */
6893
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
6800
6894
  /**
6801
6895
  * The tool ids of the tools defined in main conversation flow or component that
6802
6896
  * can be used in this subagent node.
@@ -6870,6 +6964,20 @@ export declare namespace ConversationFlowResponse {
6870
6964
  type: 'prompt';
6871
6965
  }
6872
6966
  }
6967
+ /**
6968
+ * Custom transcription settings. Required when stt_mode is custom.
6969
+ */
6970
+ interface CustomSttConfig {
6971
+ /**
6972
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
6973
+ * 500 for Soniox, and 100 for AssemblyAI.
6974
+ */
6975
+ endpointing_ms: number;
6976
+ /**
6977
+ * ASR provider name.
6978
+ */
6979
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
6980
+ }
6873
6981
  /**
6874
6982
  * Position for frontend display
6875
6983
  */
@@ -7537,6 +7645,9 @@ export declare namespace ConversationFlowResponse {
7537
7645
  }
7538
7646
  }
7539
7647
  }
7648
+ /**
7649
+ * @deprecated
7650
+ */
7540
7651
  interface CheckAvailabilityCalTool {
7541
7652
  /**
7542
7653
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -7571,6 +7682,9 @@ export declare namespace ConversationFlowResponse {
7571
7682
  */
7572
7683
  timezone?: string;
7573
7684
  }
7685
+ /**
7686
+ * @deprecated
7687
+ */
7574
7688
  interface BookAppointmentCalTool {
7575
7689
  /**
7576
7690
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -12182,6 +12296,9 @@ export declare namespace ConversationFlowResponse {
12182
12296
  required?: Array<string>;
12183
12297
  }
12184
12298
  }
12299
+ /**
12300
+ * @deprecated
12301
+ */
12185
12302
  interface CheckAvailabilityCalTool {
12186
12303
  /**
12187
12304
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -12220,6 +12337,9 @@ export declare namespace ConversationFlowResponse {
12220
12337
  */
12221
12338
  tool_id?: string;
12222
12339
  }
12340
+ /**
12341
+ * @deprecated
12342
+ */
12223
12343
  interface BookAppointmentCalTool {
12224
12344
  /**
12225
12345
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -12263,8 +12383,8 @@ export interface ConversationFlowListResponse {
12263
12383
  /**
12264
12384
  * Whether more results are available.
12265
12385
  */
12266
- has_more?: boolean;
12267
- items?: Array<ConversationFlowResponse>;
12386
+ has_more: boolean;
12387
+ items: Array<ConversationFlowResponse>;
12268
12388
  /**
12269
12389
  * Pagination key for the next page.
12270
12390
  */
@@ -12387,6 +12507,10 @@ export declare namespace ConversationFlowCreateParams {
12387
12507
  */
12388
12508
  allow_dtmf_interruption?: boolean | null;
12389
12509
  always_edge?: ConversationNode.AlwaysEdge;
12510
+ /**
12511
+ * Custom transcription settings. Required when stt_mode is custom.
12512
+ */
12513
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
12390
12514
  /**
12391
12515
  * Position for frontend display
12392
12516
  */
@@ -12423,6 +12547,12 @@ export declare namespace ConversationFlowCreateParams {
12423
12547
  reminder_trigger_ms?: number | null;
12424
12548
  responsiveness?: number | null;
12425
12549
  skip_response_edge?: ConversationNode.SkipResponseEdge;
12550
+ /**
12551
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
12552
+ * configuration, accurate optimizes for accuracy using the provider configuration,
12553
+ * and custom uses custom_stt_config.
12554
+ */
12555
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
12426
12556
  voice_speed?: number | null;
12427
12557
  }
12428
12558
  namespace ConversationNode {
@@ -12496,6 +12626,20 @@ export declare namespace ConversationFlowCreateParams {
12496
12626
  type: 'prompt';
12497
12627
  }
12498
12628
  }
12629
+ /**
12630
+ * Custom transcription settings. Required when stt_mode is custom.
12631
+ */
12632
+ interface CustomSttConfig {
12633
+ /**
12634
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
12635
+ * 500 for Soniox, and 100 for AssemblyAI.
12636
+ */
12637
+ endpointing_ms: number;
12638
+ /**
12639
+ * ASR provider name.
12640
+ */
12641
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
12642
+ }
12499
12643
  /**
12500
12644
  * Position for frontend display
12501
12645
  */
@@ -12855,6 +12999,10 @@ export declare namespace ConversationFlowCreateParams {
12855
12999
  */
12856
13000
  allow_dtmf_interruption?: boolean | null;
12857
13001
  always_edge?: SubagentNode.AlwaysEdge;
13002
+ /**
13003
+ * Custom transcription settings. Required when stt_mode is custom.
13004
+ */
13005
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
12858
13006
  /**
12859
13007
  * Position for frontend display
12860
13008
  */
@@ -12891,6 +13039,12 @@ export declare namespace ConversationFlowCreateParams {
12891
13039
  reminder_trigger_ms?: number | null;
12892
13040
  responsiveness?: number | null;
12893
13041
  skip_response_edge?: SubagentNode.SkipResponseEdge;
13042
+ /**
13043
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
13044
+ * configuration, accurate optimizes for accuracy using the provider configuration,
13045
+ * and custom uses custom_stt_config.
13046
+ */
13047
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
12894
13048
  /**
12895
13049
  * The tool ids of the tools defined in main conversation flow or component that
12896
13050
  * can be used in this subagent node.
@@ -12964,6 +13118,20 @@ export declare namespace ConversationFlowCreateParams {
12964
13118
  type: 'prompt';
12965
13119
  }
12966
13120
  }
13121
+ /**
13122
+ * Custom transcription settings. Required when stt_mode is custom.
13123
+ */
13124
+ interface CustomSttConfig {
13125
+ /**
13126
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
13127
+ * 500 for Soniox, and 100 for AssemblyAI.
13128
+ */
13129
+ endpointing_ms: number;
13130
+ /**
13131
+ * ASR provider name.
13132
+ */
13133
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
13134
+ }
12967
13135
  /**
12968
13136
  * Position for frontend display
12969
13137
  */
@@ -13631,6 +13799,9 @@ export declare namespace ConversationFlowCreateParams {
13631
13799
  }
13632
13800
  }
13633
13801
  }
13802
+ /**
13803
+ * @deprecated
13804
+ */
13634
13805
  interface CheckAvailabilityCalTool {
13635
13806
  /**
13636
13807
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -13665,6 +13836,9 @@ export declare namespace ConversationFlowCreateParams {
13665
13836
  */
13666
13837
  timezone?: string;
13667
13838
  }
13839
+ /**
13840
+ * @deprecated
13841
+ */
13668
13842
  interface BookAppointmentCalTool {
13669
13843
  /**
13670
13844
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -18154,6 +18328,10 @@ export declare namespace ConversationFlowCreateParams {
18154
18328
  */
18155
18329
  allow_dtmf_interruption?: boolean | null;
18156
18330
  always_edge?: ConversationNode.AlwaysEdge;
18331
+ /**
18332
+ * Custom transcription settings. Required when stt_mode is custom.
18333
+ */
18334
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
18157
18335
  /**
18158
18336
  * Position for frontend display
18159
18337
  */
@@ -18190,6 +18368,12 @@ export declare namespace ConversationFlowCreateParams {
18190
18368
  reminder_trigger_ms?: number | null;
18191
18369
  responsiveness?: number | null;
18192
18370
  skip_response_edge?: ConversationNode.SkipResponseEdge;
18371
+ /**
18372
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
18373
+ * configuration, accurate optimizes for accuracy using the provider configuration,
18374
+ * and custom uses custom_stt_config.
18375
+ */
18376
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
18193
18377
  voice_speed?: number | null;
18194
18378
  }
18195
18379
  namespace ConversationNode {
@@ -18263,6 +18447,20 @@ export declare namespace ConversationFlowCreateParams {
18263
18447
  type: 'prompt';
18264
18448
  }
18265
18449
  }
18450
+ /**
18451
+ * Custom transcription settings. Required when stt_mode is custom.
18452
+ */
18453
+ interface CustomSttConfig {
18454
+ /**
18455
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
18456
+ * 500 for Soniox, and 100 for AssemblyAI.
18457
+ */
18458
+ endpointing_ms: number;
18459
+ /**
18460
+ * ASR provider name.
18461
+ */
18462
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
18463
+ }
18266
18464
  /**
18267
18465
  * Position for frontend display
18268
18466
  */
@@ -18622,6 +18820,10 @@ export declare namespace ConversationFlowCreateParams {
18622
18820
  */
18623
18821
  allow_dtmf_interruption?: boolean | null;
18624
18822
  always_edge?: SubagentNode.AlwaysEdge;
18823
+ /**
18824
+ * Custom transcription settings. Required when stt_mode is custom.
18825
+ */
18826
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
18625
18827
  /**
18626
18828
  * Position for frontend display
18627
18829
  */
@@ -18658,6 +18860,12 @@ export declare namespace ConversationFlowCreateParams {
18658
18860
  reminder_trigger_ms?: number | null;
18659
18861
  responsiveness?: number | null;
18660
18862
  skip_response_edge?: SubagentNode.SkipResponseEdge;
18863
+ /**
18864
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
18865
+ * configuration, accurate optimizes for accuracy using the provider configuration,
18866
+ * and custom uses custom_stt_config.
18867
+ */
18868
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
18661
18869
  /**
18662
18870
  * The tool ids of the tools defined in main conversation flow or component that
18663
18871
  * can be used in this subagent node.
@@ -18731,6 +18939,20 @@ export declare namespace ConversationFlowCreateParams {
18731
18939
  type: 'prompt';
18732
18940
  }
18733
18941
  }
18942
+ /**
18943
+ * Custom transcription settings. Required when stt_mode is custom.
18944
+ */
18945
+ interface CustomSttConfig {
18946
+ /**
18947
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
18948
+ * 500 for Soniox, and 100 for AssemblyAI.
18949
+ */
18950
+ endpointing_ms: number;
18951
+ /**
18952
+ * ASR provider name.
18953
+ */
18954
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
18955
+ }
18734
18956
  /**
18735
18957
  * Position for frontend display
18736
18958
  */
@@ -19398,6 +19620,9 @@ export declare namespace ConversationFlowCreateParams {
19398
19620
  }
19399
19621
  }
19400
19622
  }
19623
+ /**
19624
+ * @deprecated
19625
+ */
19401
19626
  interface CheckAvailabilityCalTool {
19402
19627
  /**
19403
19628
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19432,6 +19657,9 @@ export declare namespace ConversationFlowCreateParams {
19432
19657
  */
19433
19658
  timezone?: string;
19434
19659
  }
19660
+ /**
19661
+ * @deprecated
19662
+ */
19435
19663
  interface BookAppointmentCalTool {
19436
19664
  /**
19437
19665
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24074,6 +24302,9 @@ export declare namespace ConversationFlowCreateParams {
24074
24302
  required?: Array<string>;
24075
24303
  }
24076
24304
  }
24305
+ /**
24306
+ * @deprecated
24307
+ */
24077
24308
  interface CheckAvailabilityCalTool {
24078
24309
  /**
24079
24310
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24112,6 +24343,9 @@ export declare namespace ConversationFlowCreateParams {
24112
24343
  */
24113
24344
  tool_id?: string;
24114
24345
  }
24346
+ /**
24347
+ * @deprecated
24348
+ */
24115
24349
  interface BookAppointmentCalTool {
24116
24350
  /**
24117
24351
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24367,6 +24601,9 @@ export declare namespace ConversationFlowCreateParams {
24367
24601
  required?: Array<string>;
24368
24602
  }
24369
24603
  }
24604
+ /**
24605
+ * @deprecated
24606
+ */
24370
24607
  interface CheckAvailabilityCalTool {
24371
24608
  /**
24372
24609
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24405,6 +24642,9 @@ export declare namespace ConversationFlowCreateParams {
24405
24642
  */
24406
24643
  tool_id?: string;
24407
24644
  }
24645
+ /**
24646
+ * @deprecated
24647
+ */
24408
24648
  interface BookAppointmentCalTool {
24409
24649
  /**
24410
24650
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24599,6 +24839,10 @@ export declare namespace ConversationFlowUpdateParams {
24599
24839
  */
24600
24840
  allow_dtmf_interruption?: boolean | null;
24601
24841
  always_edge?: ConversationNode.AlwaysEdge;
24842
+ /**
24843
+ * Custom transcription settings. Required when stt_mode is custom.
24844
+ */
24845
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
24602
24846
  /**
24603
24847
  * Position for frontend display
24604
24848
  */
@@ -24635,6 +24879,12 @@ export declare namespace ConversationFlowUpdateParams {
24635
24879
  reminder_trigger_ms?: number | null;
24636
24880
  responsiveness?: number | null;
24637
24881
  skip_response_edge?: ConversationNode.SkipResponseEdge;
24882
+ /**
24883
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
24884
+ * configuration, accurate optimizes for accuracy using the provider configuration,
24885
+ * and custom uses custom_stt_config.
24886
+ */
24887
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
24638
24888
  voice_speed?: number | null;
24639
24889
  }
24640
24890
  namespace ConversationNode {
@@ -24708,6 +24958,20 @@ export declare namespace ConversationFlowUpdateParams {
24708
24958
  type: 'prompt';
24709
24959
  }
24710
24960
  }
24961
+ /**
24962
+ * Custom transcription settings. Required when stt_mode is custom.
24963
+ */
24964
+ interface CustomSttConfig {
24965
+ /**
24966
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
24967
+ * 500 for Soniox, and 100 for AssemblyAI.
24968
+ */
24969
+ endpointing_ms: number;
24970
+ /**
24971
+ * ASR provider name.
24972
+ */
24973
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
24974
+ }
24711
24975
  /**
24712
24976
  * Position for frontend display
24713
24977
  */
@@ -25067,6 +25331,10 @@ export declare namespace ConversationFlowUpdateParams {
25067
25331
  */
25068
25332
  allow_dtmf_interruption?: boolean | null;
25069
25333
  always_edge?: SubagentNode.AlwaysEdge;
25334
+ /**
25335
+ * Custom transcription settings. Required when stt_mode is custom.
25336
+ */
25337
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
25070
25338
  /**
25071
25339
  * Position for frontend display
25072
25340
  */
@@ -25103,6 +25371,12 @@ export declare namespace ConversationFlowUpdateParams {
25103
25371
  reminder_trigger_ms?: number | null;
25104
25372
  responsiveness?: number | null;
25105
25373
  skip_response_edge?: SubagentNode.SkipResponseEdge;
25374
+ /**
25375
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
25376
+ * configuration, accurate optimizes for accuracy using the provider configuration,
25377
+ * and custom uses custom_stt_config.
25378
+ */
25379
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
25106
25380
  /**
25107
25381
  * The tool ids of the tools defined in main conversation flow or component that
25108
25382
  * can be used in this subagent node.
@@ -25176,6 +25450,20 @@ export declare namespace ConversationFlowUpdateParams {
25176
25450
  type: 'prompt';
25177
25451
  }
25178
25452
  }
25453
+ /**
25454
+ * Custom transcription settings. Required when stt_mode is custom.
25455
+ */
25456
+ interface CustomSttConfig {
25457
+ /**
25458
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
25459
+ * 500 for Soniox, and 100 for AssemblyAI.
25460
+ */
25461
+ endpointing_ms: number;
25462
+ /**
25463
+ * ASR provider name.
25464
+ */
25465
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
25466
+ }
25179
25467
  /**
25180
25468
  * Position for frontend display
25181
25469
  */
@@ -25843,6 +26131,9 @@ export declare namespace ConversationFlowUpdateParams {
25843
26131
  }
25844
26132
  }
25845
26133
  }
26134
+ /**
26135
+ * @deprecated
26136
+ */
25846
26137
  interface CheckAvailabilityCalTool {
25847
26138
  /**
25848
26139
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -25877,6 +26168,9 @@ export declare namespace ConversationFlowUpdateParams {
25877
26168
  */
25878
26169
  timezone?: string;
25879
26170
  }
26171
+ /**
26172
+ * @deprecated
26173
+ */
25880
26174
  interface BookAppointmentCalTool {
25881
26175
  /**
25882
26176
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -30519,6 +30813,9 @@ export declare namespace ConversationFlowUpdateParams {
30519
30813
  required?: Array<string>;
30520
30814
  }
30521
30815
  }
30816
+ /**
30817
+ * @deprecated
30818
+ */
30522
30819
  interface CheckAvailabilityCalTool {
30523
30820
  /**
30524
30821
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -30557,6 +30854,9 @@ export declare namespace ConversationFlowUpdateParams {
30557
30854
  */
30558
30855
  tool_id?: string;
30559
30856
  }
30857
+ /**
30858
+ * @deprecated
30859
+ */
30560
30860
  interface BookAppointmentCalTool {
30561
30861
  /**
30562
30862
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -30665,6 +30965,10 @@ export declare namespace ConversationFlowUpdateParams {
30665
30965
  */
30666
30966
  allow_dtmf_interruption?: boolean | null;
30667
30967
  always_edge?: ConversationNode.AlwaysEdge;
30968
+ /**
30969
+ * Custom transcription settings. Required when stt_mode is custom.
30970
+ */
30971
+ custom_stt_config?: ConversationNode.CustomSttConfig | null;
30668
30972
  /**
30669
30973
  * Position for frontend display
30670
30974
  */
@@ -30701,6 +31005,12 @@ export declare namespace ConversationFlowUpdateParams {
30701
31005
  reminder_trigger_ms?: number | null;
30702
31006
  responsiveness?: number | null;
30703
31007
  skip_response_edge?: ConversationNode.SkipResponseEdge;
31008
+ /**
31009
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
31010
+ * configuration, accurate optimizes for accuracy using the provider configuration,
31011
+ * and custom uses custom_stt_config.
31012
+ */
31013
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
30704
31014
  voice_speed?: number | null;
30705
31015
  }
30706
31016
  namespace ConversationNode {
@@ -30774,6 +31084,20 @@ export declare namespace ConversationFlowUpdateParams {
30774
31084
  type: 'prompt';
30775
31085
  }
30776
31086
  }
31087
+ /**
31088
+ * Custom transcription settings. Required when stt_mode is custom.
31089
+ */
31090
+ interface CustomSttConfig {
31091
+ /**
31092
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
31093
+ * 500 for Soniox, and 100 for AssemblyAI.
31094
+ */
31095
+ endpointing_ms: number;
31096
+ /**
31097
+ * ASR provider name.
31098
+ */
31099
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
31100
+ }
30777
31101
  /**
30778
31102
  * Position for frontend display
30779
31103
  */
@@ -31133,6 +31457,10 @@ export declare namespace ConversationFlowUpdateParams {
31133
31457
  */
31134
31458
  allow_dtmf_interruption?: boolean | null;
31135
31459
  always_edge?: SubagentNode.AlwaysEdge;
31460
+ /**
31461
+ * Custom transcription settings. Required when stt_mode is custom.
31462
+ */
31463
+ custom_stt_config?: SubagentNode.CustomSttConfig | null;
31136
31464
  /**
31137
31465
  * Position for frontend display
31138
31466
  */
@@ -31169,6 +31497,12 @@ export declare namespace ConversationFlowUpdateParams {
31169
31497
  reminder_trigger_ms?: number | null;
31170
31498
  responsiveness?: number | null;
31171
31499
  skip_response_edge?: SubagentNode.SkipResponseEdge;
31500
+ /**
31501
+ * Balance between speed and accuracy. Fast optimizes for speed using the provider
31502
+ * configuration, accurate optimizes for accuracy using the provider configuration,
31503
+ * and custom uses custom_stt_config.
31504
+ */
31505
+ stt_mode?: 'fast' | 'accurate' | 'custom' | null;
31172
31506
  /**
31173
31507
  * The tool ids of the tools defined in main conversation flow or component that
31174
31508
  * can be used in this subagent node.
@@ -31242,6 +31576,20 @@ export declare namespace ConversationFlowUpdateParams {
31242
31576
  type: 'prompt';
31243
31577
  }
31244
31578
  }
31579
+ /**
31580
+ * Custom transcription settings. Required when stt_mode is custom.
31581
+ */
31582
+ interface CustomSttConfig {
31583
+ /**
31584
+ * Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
31585
+ * 500 for Soniox, and 100 for AssemblyAI.
31586
+ */
31587
+ endpointing_ms: number;
31588
+ /**
31589
+ * ASR provider name.
31590
+ */
31591
+ provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
31592
+ }
31245
31593
  /**
31246
31594
  * Position for frontend display
31247
31595
  */
@@ -31909,6 +32257,9 @@ export declare namespace ConversationFlowUpdateParams {
31909
32257
  }
31910
32258
  }
31911
32259
  }
32260
+ /**
32261
+ * @deprecated
32262
+ */
31912
32263
  interface CheckAvailabilityCalTool {
31913
32264
  /**
31914
32265
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -31943,6 +32294,9 @@ export declare namespace ConversationFlowUpdateParams {
31943
32294
  */
31944
32295
  timezone?: string;
31945
32296
  }
32297
+ /**
32298
+ * @deprecated
32299
+ */
31946
32300
  interface BookAppointmentCalTool {
31947
32301
  /**
31948
32302
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -36554,6 +36908,9 @@ export declare namespace ConversationFlowUpdateParams {
36554
36908
  required?: Array<string>;
36555
36909
  }
36556
36910
  }
36911
+ /**
36912
+ * @deprecated
36913
+ */
36557
36914
  interface CheckAvailabilityCalTool {
36558
36915
  /**
36559
36916
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -36592,6 +36949,9 @@ export declare namespace ConversationFlowUpdateParams {
36592
36949
  */
36593
36950
  tool_id?: string;
36594
36951
  }
36952
+ /**
36953
+ * @deprecated
36954
+ */
36595
36955
  interface BookAppointmentCalTool {
36596
36956
  /**
36597
36957
  * Cal.com Api key that have access to the cal.com event you want to book