retell-sdk 5.65.0 → 5.66.1
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.
- package/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/resources/contact.d.mts +0 -17
- package/resources/contact.d.mts.map +1 -1
- package/resources/contact.d.ts +0 -17
- package/resources/contact.d.ts.map +1 -1
- package/resources/contact.js +0 -4
- package/resources/contact.js.map +1 -1
- package/resources/contact.mjs +0 -4
- package/resources/contact.mjs.map +1 -1
- package/resources/conversation-flow-component.d.mts +144 -0
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +144 -0
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +288 -0
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +288 -0
- package/resources/conversation-flow.d.ts.map +1 -1
- package/src/resources/contact.ts +0 -17
- package/src/resources/conversation-flow-component.ts +168 -0
- package/src/resources/conversation-flow.ts +336 -0
- package/src/tsconfig.json +2 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- 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
|
*/
|
|
@@ -6305,6 +6353,10 @@ export declare namespace ConversationFlowResponse {
|
|
|
6305
6353
|
*/
|
|
6306
6354
|
allow_dtmf_interruption?: boolean | null;
|
|
6307
6355
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
6356
|
+
/**
|
|
6357
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
6358
|
+
*/
|
|
6359
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
6308
6360
|
/**
|
|
6309
6361
|
* Position for frontend display
|
|
6310
6362
|
*/
|
|
@@ -6341,6 +6393,12 @@ export declare namespace ConversationFlowResponse {
|
|
|
6341
6393
|
reminder_trigger_ms?: number | null;
|
|
6342
6394
|
responsiveness?: number | null;
|
|
6343
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;
|
|
6344
6402
|
voice_speed?: number | null;
|
|
6345
6403
|
}
|
|
6346
6404
|
namespace ConversationNode {
|
|
@@ -6414,6 +6472,20 @@ export declare namespace ConversationFlowResponse {
|
|
|
6414
6472
|
type: 'prompt';
|
|
6415
6473
|
}
|
|
6416
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
|
+
}
|
|
6417
6489
|
/**
|
|
6418
6490
|
* Position for frontend display
|
|
6419
6491
|
*/
|
|
@@ -6773,6 +6845,10 @@ export declare namespace ConversationFlowResponse {
|
|
|
6773
6845
|
*/
|
|
6774
6846
|
allow_dtmf_interruption?: boolean | null;
|
|
6775
6847
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
6848
|
+
/**
|
|
6849
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
6850
|
+
*/
|
|
6851
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
6776
6852
|
/**
|
|
6777
6853
|
* Position for frontend display
|
|
6778
6854
|
*/
|
|
@@ -6809,6 +6885,12 @@ export declare namespace ConversationFlowResponse {
|
|
|
6809
6885
|
reminder_trigger_ms?: number | null;
|
|
6810
6886
|
responsiveness?: number | null;
|
|
6811
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;
|
|
6812
6894
|
/**
|
|
6813
6895
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
6814
6896
|
* can be used in this subagent node.
|
|
@@ -6882,6 +6964,20 @@ export declare namespace ConversationFlowResponse {
|
|
|
6882
6964
|
type: 'prompt';
|
|
6883
6965
|
}
|
|
6884
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
|
+
}
|
|
6885
6981
|
/**
|
|
6886
6982
|
* Position for frontend display
|
|
6887
6983
|
*/
|
|
@@ -12411,6 +12507,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12411
12507
|
*/
|
|
12412
12508
|
allow_dtmf_interruption?: boolean | null;
|
|
12413
12509
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
12510
|
+
/**
|
|
12511
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
12512
|
+
*/
|
|
12513
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
12414
12514
|
/**
|
|
12415
12515
|
* Position for frontend display
|
|
12416
12516
|
*/
|
|
@@ -12447,6 +12547,12 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12447
12547
|
reminder_trigger_ms?: number | null;
|
|
12448
12548
|
responsiveness?: number | null;
|
|
12449
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;
|
|
12450
12556
|
voice_speed?: number | null;
|
|
12451
12557
|
}
|
|
12452
12558
|
namespace ConversationNode {
|
|
@@ -12520,6 +12626,20 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12520
12626
|
type: 'prompt';
|
|
12521
12627
|
}
|
|
12522
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
|
+
}
|
|
12523
12643
|
/**
|
|
12524
12644
|
* Position for frontend display
|
|
12525
12645
|
*/
|
|
@@ -12879,6 +12999,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12879
12999
|
*/
|
|
12880
13000
|
allow_dtmf_interruption?: boolean | null;
|
|
12881
13001
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
13002
|
+
/**
|
|
13003
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
13004
|
+
*/
|
|
13005
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
12882
13006
|
/**
|
|
12883
13007
|
* Position for frontend display
|
|
12884
13008
|
*/
|
|
@@ -12915,6 +13039,12 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12915
13039
|
reminder_trigger_ms?: number | null;
|
|
12916
13040
|
responsiveness?: number | null;
|
|
12917
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;
|
|
12918
13048
|
/**
|
|
12919
13049
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
12920
13050
|
* can be used in this subagent node.
|
|
@@ -12988,6 +13118,20 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
12988
13118
|
type: 'prompt';
|
|
12989
13119
|
}
|
|
12990
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
|
+
}
|
|
12991
13135
|
/**
|
|
12992
13136
|
* Position for frontend display
|
|
12993
13137
|
*/
|
|
@@ -18184,6 +18328,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18184
18328
|
*/
|
|
18185
18329
|
allow_dtmf_interruption?: boolean | null;
|
|
18186
18330
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
18331
|
+
/**
|
|
18332
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
18333
|
+
*/
|
|
18334
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
18187
18335
|
/**
|
|
18188
18336
|
* Position for frontend display
|
|
18189
18337
|
*/
|
|
@@ -18220,6 +18368,12 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18220
18368
|
reminder_trigger_ms?: number | null;
|
|
18221
18369
|
responsiveness?: number | null;
|
|
18222
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;
|
|
18223
18377
|
voice_speed?: number | null;
|
|
18224
18378
|
}
|
|
18225
18379
|
namespace ConversationNode {
|
|
@@ -18293,6 +18447,20 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18293
18447
|
type: 'prompt';
|
|
18294
18448
|
}
|
|
18295
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
|
+
}
|
|
18296
18464
|
/**
|
|
18297
18465
|
* Position for frontend display
|
|
18298
18466
|
*/
|
|
@@ -18652,6 +18820,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18652
18820
|
*/
|
|
18653
18821
|
allow_dtmf_interruption?: boolean | null;
|
|
18654
18822
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
18823
|
+
/**
|
|
18824
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
18825
|
+
*/
|
|
18826
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
18655
18827
|
/**
|
|
18656
18828
|
* Position for frontend display
|
|
18657
18829
|
*/
|
|
@@ -18688,6 +18860,12 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18688
18860
|
reminder_trigger_ms?: number | null;
|
|
18689
18861
|
responsiveness?: number | null;
|
|
18690
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;
|
|
18691
18869
|
/**
|
|
18692
18870
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
18693
18871
|
* can be used in this subagent node.
|
|
@@ -18761,6 +18939,20 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
18761
18939
|
type: 'prompt';
|
|
18762
18940
|
}
|
|
18763
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
|
+
}
|
|
18764
18956
|
/**
|
|
18765
18957
|
* Position for frontend display
|
|
18766
18958
|
*/
|
|
@@ -24647,6 +24839,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
24647
24839
|
*/
|
|
24648
24840
|
allow_dtmf_interruption?: boolean | null;
|
|
24649
24841
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
24842
|
+
/**
|
|
24843
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
24844
|
+
*/
|
|
24845
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
24650
24846
|
/**
|
|
24651
24847
|
* Position for frontend display
|
|
24652
24848
|
*/
|
|
@@ -24683,6 +24879,12 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
24683
24879
|
reminder_trigger_ms?: number | null;
|
|
24684
24880
|
responsiveness?: number | null;
|
|
24685
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;
|
|
24686
24888
|
voice_speed?: number | null;
|
|
24687
24889
|
}
|
|
24688
24890
|
namespace ConversationNode {
|
|
@@ -24756,6 +24958,20 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
24756
24958
|
type: 'prompt';
|
|
24757
24959
|
}
|
|
24758
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
|
+
}
|
|
24759
24975
|
/**
|
|
24760
24976
|
* Position for frontend display
|
|
24761
24977
|
*/
|
|
@@ -25115,6 +25331,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
25115
25331
|
*/
|
|
25116
25332
|
allow_dtmf_interruption?: boolean | null;
|
|
25117
25333
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
25334
|
+
/**
|
|
25335
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
25336
|
+
*/
|
|
25337
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
25118
25338
|
/**
|
|
25119
25339
|
* Position for frontend display
|
|
25120
25340
|
*/
|
|
@@ -25151,6 +25371,12 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
25151
25371
|
reminder_trigger_ms?: number | null;
|
|
25152
25372
|
responsiveness?: number | null;
|
|
25153
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;
|
|
25154
25380
|
/**
|
|
25155
25381
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
25156
25382
|
* can be used in this subagent node.
|
|
@@ -25224,6 +25450,20 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
25224
25450
|
type: 'prompt';
|
|
25225
25451
|
}
|
|
25226
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
|
+
}
|
|
25227
25467
|
/**
|
|
25228
25468
|
* Position for frontend display
|
|
25229
25469
|
*/
|
|
@@ -30725,6 +30965,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
30725
30965
|
*/
|
|
30726
30966
|
allow_dtmf_interruption?: boolean | null;
|
|
30727
30967
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
30968
|
+
/**
|
|
30969
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
30970
|
+
*/
|
|
30971
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
30728
30972
|
/**
|
|
30729
30973
|
* Position for frontend display
|
|
30730
30974
|
*/
|
|
@@ -30761,6 +31005,12 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
30761
31005
|
reminder_trigger_ms?: number | null;
|
|
30762
31006
|
responsiveness?: number | null;
|
|
30763
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;
|
|
30764
31014
|
voice_speed?: number | null;
|
|
30765
31015
|
}
|
|
30766
31016
|
namespace ConversationNode {
|
|
@@ -30834,6 +31084,20 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
30834
31084
|
type: 'prompt';
|
|
30835
31085
|
}
|
|
30836
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
|
+
}
|
|
30837
31101
|
/**
|
|
30838
31102
|
* Position for frontend display
|
|
30839
31103
|
*/
|
|
@@ -31193,6 +31457,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
31193
31457
|
*/
|
|
31194
31458
|
allow_dtmf_interruption?: boolean | null;
|
|
31195
31459
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
31460
|
+
/**
|
|
31461
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
31462
|
+
*/
|
|
31463
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
31196
31464
|
/**
|
|
31197
31465
|
* Position for frontend display
|
|
31198
31466
|
*/
|
|
@@ -31229,6 +31497,12 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
31229
31497
|
reminder_trigger_ms?: number | null;
|
|
31230
31498
|
responsiveness?: number | null;
|
|
31231
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;
|
|
31232
31506
|
/**
|
|
31233
31507
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
31234
31508
|
* can be used in this subagent node.
|
|
@@ -31302,6 +31576,20 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
31302
31576
|
type: 'prompt';
|
|
31303
31577
|
}
|
|
31304
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
|
+
}
|
|
31305
31593
|
/**
|
|
31306
31594
|
* Position for frontend display
|
|
31307
31595
|
*/
|