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
package/src/resources/contact.ts
CHANGED
|
@@ -52,10 +52,6 @@ export class Contact extends APIResource {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
/**
|
|
56
|
-
* Trigger a backfill job that re-applies analysis data mappings to contacts using
|
|
57
|
-
* historical call data. Only one backfill job can run per organization at a time.
|
|
58
|
-
*/
|
|
59
55
|
backfillAnalysisData(
|
|
60
56
|
body: ContactBackfillAnalysisDataParams,
|
|
61
57
|
options?: RequestOptions,
|
|
@@ -760,25 +756,12 @@ export namespace ContactListParams {
|
|
|
760
756
|
}
|
|
761
757
|
|
|
762
758
|
export interface ContactBackfillAnalysisDataParams {
|
|
763
|
-
/**
|
|
764
|
-
* Contact fields to recompute. Each one must still exist as a contact field and
|
|
765
|
-
* have an analysis data mapping configured, otherwise the request is rejected
|
|
766
|
-
* rather than running a job that writes nothing.
|
|
767
|
-
*/
|
|
768
759
|
backfill_attributes: Array<string>;
|
|
769
760
|
|
|
770
|
-
/**
|
|
771
|
-
* Optional call filter to scope which calls are processed. Supports agent and
|
|
772
|
-
* start_timestamp from the standard call filter.
|
|
773
|
-
*/
|
|
774
761
|
backfill_call_filter?: ContactBackfillAnalysisDataParams.BackfillCallFilter;
|
|
775
762
|
}
|
|
776
763
|
|
|
777
764
|
export namespace ContactBackfillAnalysisDataParams {
|
|
778
|
-
/**
|
|
779
|
-
* Optional call filter to scope which calls are processed. Supports agent and
|
|
780
|
-
* start_timestamp from the standard call filter.
|
|
781
|
-
*/
|
|
782
765
|
export interface BackfillCallFilter {
|
|
783
766
|
/**
|
|
784
767
|
* Filter calls by agent. Agents are OR-connected.
|
|
@@ -208,6 +208,11 @@ export namespace ConversationFlowComponentResponse {
|
|
|
208
208
|
|
|
209
209
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
210
210
|
|
|
211
|
+
/**
|
|
212
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
213
|
+
*/
|
|
214
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
215
|
+
|
|
211
216
|
/**
|
|
212
217
|
* Position for frontend display
|
|
213
218
|
*/
|
|
@@ -259,6 +264,13 @@ export namespace ConversationFlowComponentResponse {
|
|
|
259
264
|
|
|
260
265
|
skip_response_edge?: ConversationNode.SkipResponseEdge;
|
|
261
266
|
|
|
267
|
+
/**
|
|
268
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
269
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
270
|
+
* and custom uses custom_stt_config.
|
|
271
|
+
*/
|
|
272
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
273
|
+
|
|
262
274
|
voice_speed?: number | null;
|
|
263
275
|
}
|
|
264
276
|
|
|
@@ -364,6 +376,22 @@ export namespace ConversationFlowComponentResponse {
|
|
|
364
376
|
}
|
|
365
377
|
}
|
|
366
378
|
|
|
379
|
+
/**
|
|
380
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
381
|
+
*/
|
|
382
|
+
export interface CustomSttConfig {
|
|
383
|
+
/**
|
|
384
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
385
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
386
|
+
*/
|
|
387
|
+
endpointing_ms: number;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* ASR provider name.
|
|
391
|
+
*/
|
|
392
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
393
|
+
}
|
|
394
|
+
|
|
367
395
|
/**
|
|
368
396
|
* Position for frontend display
|
|
369
397
|
*/
|
|
@@ -915,6 +943,11 @@ export namespace ConversationFlowComponentResponse {
|
|
|
915
943
|
|
|
916
944
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
917
945
|
|
|
946
|
+
/**
|
|
947
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
948
|
+
*/
|
|
949
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
950
|
+
|
|
918
951
|
/**
|
|
919
952
|
* Position for frontend display
|
|
920
953
|
*/
|
|
@@ -966,6 +999,13 @@ export namespace ConversationFlowComponentResponse {
|
|
|
966
999
|
|
|
967
1000
|
skip_response_edge?: SubagentNode.SkipResponseEdge;
|
|
968
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
1004
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
1005
|
+
* and custom uses custom_stt_config.
|
|
1006
|
+
*/
|
|
1007
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
1008
|
+
|
|
969
1009
|
/**
|
|
970
1010
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
971
1011
|
* can be used in this subagent node.
|
|
@@ -1085,6 +1125,22 @@ export namespace ConversationFlowComponentResponse {
|
|
|
1085
1125
|
}
|
|
1086
1126
|
}
|
|
1087
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
1130
|
+
*/
|
|
1131
|
+
export interface CustomSttConfig {
|
|
1132
|
+
/**
|
|
1133
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
1134
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
1135
|
+
*/
|
|
1136
|
+
endpointing_ms: number;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* ASR provider name.
|
|
1140
|
+
*/
|
|
1141
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1088
1144
|
/**
|
|
1089
1145
|
* Position for frontend display
|
|
1090
1146
|
*/
|
|
@@ -8873,6 +8929,11 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
8873
8929
|
|
|
8874
8930
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
8875
8931
|
|
|
8932
|
+
/**
|
|
8933
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
8934
|
+
*/
|
|
8935
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
8936
|
+
|
|
8876
8937
|
/**
|
|
8877
8938
|
* Position for frontend display
|
|
8878
8939
|
*/
|
|
@@ -8924,6 +8985,13 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
8924
8985
|
|
|
8925
8986
|
skip_response_edge?: ConversationNode.SkipResponseEdge;
|
|
8926
8987
|
|
|
8988
|
+
/**
|
|
8989
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
8990
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
8991
|
+
* and custom uses custom_stt_config.
|
|
8992
|
+
*/
|
|
8993
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
8994
|
+
|
|
8927
8995
|
voice_speed?: number | null;
|
|
8928
8996
|
}
|
|
8929
8997
|
|
|
@@ -9029,6 +9097,22 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
9029
9097
|
}
|
|
9030
9098
|
}
|
|
9031
9099
|
|
|
9100
|
+
/**
|
|
9101
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
9102
|
+
*/
|
|
9103
|
+
export interface CustomSttConfig {
|
|
9104
|
+
/**
|
|
9105
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
9106
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
9107
|
+
*/
|
|
9108
|
+
endpointing_ms: number;
|
|
9109
|
+
|
|
9110
|
+
/**
|
|
9111
|
+
* ASR provider name.
|
|
9112
|
+
*/
|
|
9113
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
9114
|
+
}
|
|
9115
|
+
|
|
9032
9116
|
/**
|
|
9033
9117
|
* Position for frontend display
|
|
9034
9118
|
*/
|
|
@@ -9580,6 +9664,11 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
9580
9664
|
|
|
9581
9665
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
9582
9666
|
|
|
9667
|
+
/**
|
|
9668
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
9669
|
+
*/
|
|
9670
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
9671
|
+
|
|
9583
9672
|
/**
|
|
9584
9673
|
* Position for frontend display
|
|
9585
9674
|
*/
|
|
@@ -9631,6 +9720,13 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
9631
9720
|
|
|
9632
9721
|
skip_response_edge?: SubagentNode.SkipResponseEdge;
|
|
9633
9722
|
|
|
9723
|
+
/**
|
|
9724
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
9725
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
9726
|
+
* and custom uses custom_stt_config.
|
|
9727
|
+
*/
|
|
9728
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
9729
|
+
|
|
9634
9730
|
/**
|
|
9635
9731
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
9636
9732
|
* can be used in this subagent node.
|
|
@@ -9750,6 +9846,22 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
9750
9846
|
}
|
|
9751
9847
|
}
|
|
9752
9848
|
|
|
9849
|
+
/**
|
|
9850
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
9851
|
+
*/
|
|
9852
|
+
export interface CustomSttConfig {
|
|
9853
|
+
/**
|
|
9854
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
9855
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
9856
|
+
*/
|
|
9857
|
+
endpointing_ms: number;
|
|
9858
|
+
|
|
9859
|
+
/**
|
|
9860
|
+
* ASR provider name.
|
|
9861
|
+
*/
|
|
9862
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
9863
|
+
}
|
|
9864
|
+
|
|
9753
9865
|
/**
|
|
9754
9866
|
* Position for frontend display
|
|
9755
9867
|
*/
|
|
@@ -17558,6 +17670,11 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
17558
17670
|
|
|
17559
17671
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
17560
17672
|
|
|
17673
|
+
/**
|
|
17674
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
17675
|
+
*/
|
|
17676
|
+
custom_stt_config?: ConversationNode.CustomSttConfig | null;
|
|
17677
|
+
|
|
17561
17678
|
/**
|
|
17562
17679
|
* Position for frontend display
|
|
17563
17680
|
*/
|
|
@@ -17609,6 +17726,13 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
17609
17726
|
|
|
17610
17727
|
skip_response_edge?: ConversationNode.SkipResponseEdge;
|
|
17611
17728
|
|
|
17729
|
+
/**
|
|
17730
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
17731
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
17732
|
+
* and custom uses custom_stt_config.
|
|
17733
|
+
*/
|
|
17734
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
17735
|
+
|
|
17612
17736
|
voice_speed?: number | null;
|
|
17613
17737
|
}
|
|
17614
17738
|
|
|
@@ -17714,6 +17838,22 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
17714
17838
|
}
|
|
17715
17839
|
}
|
|
17716
17840
|
|
|
17841
|
+
/**
|
|
17842
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
17843
|
+
*/
|
|
17844
|
+
export interface CustomSttConfig {
|
|
17845
|
+
/**
|
|
17846
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
17847
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
17848
|
+
*/
|
|
17849
|
+
endpointing_ms: number;
|
|
17850
|
+
|
|
17851
|
+
/**
|
|
17852
|
+
* ASR provider name.
|
|
17853
|
+
*/
|
|
17854
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
17855
|
+
}
|
|
17856
|
+
|
|
17717
17857
|
/**
|
|
17718
17858
|
* Position for frontend display
|
|
17719
17859
|
*/
|
|
@@ -18265,6 +18405,11 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
18265
18405
|
|
|
18266
18406
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
18267
18407
|
|
|
18408
|
+
/**
|
|
18409
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
18410
|
+
*/
|
|
18411
|
+
custom_stt_config?: SubagentNode.CustomSttConfig | null;
|
|
18412
|
+
|
|
18268
18413
|
/**
|
|
18269
18414
|
* Position for frontend display
|
|
18270
18415
|
*/
|
|
@@ -18316,6 +18461,13 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
18316
18461
|
|
|
18317
18462
|
skip_response_edge?: SubagentNode.SkipResponseEdge;
|
|
18318
18463
|
|
|
18464
|
+
/**
|
|
18465
|
+
* Balance between speed and accuracy. Fast optimizes for speed using the provider
|
|
18466
|
+
* configuration, accurate optimizes for accuracy using the provider configuration,
|
|
18467
|
+
* and custom uses custom_stt_config.
|
|
18468
|
+
*/
|
|
18469
|
+
stt_mode?: 'fast' | 'accurate' | 'custom' | null;
|
|
18470
|
+
|
|
18319
18471
|
/**
|
|
18320
18472
|
* The tool ids of the tools defined in main conversation flow or component that
|
|
18321
18473
|
* can be used in this subagent node.
|
|
@@ -18435,6 +18587,22 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
18435
18587
|
}
|
|
18436
18588
|
}
|
|
18437
18589
|
|
|
18590
|
+
/**
|
|
18591
|
+
* Custom transcription settings. Required when stt_mode is custom.
|
|
18592
|
+
*/
|
|
18593
|
+
export interface CustomSttConfig {
|
|
18594
|
+
/**
|
|
18595
|
+
* Endpointing timeout in milliseconds. Minimum is 100 for Azure, 10 for Deepgram,
|
|
18596
|
+
* 500 for Soniox, and 100 for AssemblyAI.
|
|
18597
|
+
*/
|
|
18598
|
+
endpointing_ms: number;
|
|
18599
|
+
|
|
18600
|
+
/**
|
|
18601
|
+
* ASR provider name.
|
|
18602
|
+
*/
|
|
18603
|
+
provider: 'azure' | 'deepgram' | 'soniox' | 'assemblyai';
|
|
18604
|
+
}
|
|
18605
|
+
|
|
18438
18606
|
/**
|
|
18439
18607
|
* Position for frontend display
|
|
18440
18608
|
*/
|