retell-sdk 5.18.0 → 5.20.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.
- package/CHANGELOG.md +32 -0
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +128 -15
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +128 -15
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +0 -17
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +0 -17
- package/resources/agent.mjs.map +1 -1
- package/resources/batch-call.d.mts +43 -4
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +43 -4
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +129 -12
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +129 -12
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +14 -18
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +14 -18
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +0 -17
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +0 -17
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +2 -2
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +2 -2
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +186 -48
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +186 -48
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +375 -99
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +375 -99
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +9 -9
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +9 -9
- package/resources/llm.d.ts.map +1 -1
- package/resources/phone-number.d.mts +108 -12
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +108 -12
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/agent.ts +145 -21
- package/src/resources/batch-call.ts +46 -4
- package/src/resources/call.ts +138 -12
- package/src/resources/chat-agent.ts +13 -24
- package/src/resources/chat.ts +2 -2
- package/src/resources/conversation-flow-component.ts +168 -48
- package/src/resources/conversation-flow.ts +336 -99
- package/src/resources/llm.ts +6 -9
- package/src/resources/phone-number.ts +108 -12
- package/src/resources/tests.ts +0 -3
- 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
|
@@ -120,6 +120,10 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
120
120
|
* Type of the node
|
|
121
121
|
*/
|
|
122
122
|
type: 'conversation';
|
|
123
|
+
/**
|
|
124
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
125
|
+
*/
|
|
126
|
+
allow_dtmf_interruption?: boolean | null;
|
|
123
127
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
124
128
|
/**
|
|
125
129
|
* Position for frontend display
|
|
@@ -130,6 +134,11 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
130
134
|
finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
|
|
131
135
|
global_node_setting?: ConversationNode.GlobalNodeSetting;
|
|
132
136
|
interruption_sensitivity?: number | null;
|
|
137
|
+
/**
|
|
138
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
139
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
140
|
+
*/
|
|
141
|
+
kb_config?: ConversationNode.KBConfig;
|
|
133
142
|
/**
|
|
134
143
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
135
144
|
*/
|
|
@@ -429,11 +438,25 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
429
438
|
}
|
|
430
439
|
}
|
|
431
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
443
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
444
|
+
*/
|
|
445
|
+
interface KBConfig {
|
|
446
|
+
/**
|
|
447
|
+
* Similarity threshold for filtering search results
|
|
448
|
+
*/
|
|
449
|
+
filter_score?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Max number of knowledge base chunks to retrieve
|
|
452
|
+
*/
|
|
453
|
+
top_k?: number;
|
|
454
|
+
}
|
|
432
455
|
interface ModelChoice {
|
|
433
456
|
/**
|
|
434
457
|
* The LLM model to use
|
|
435
458
|
*/
|
|
436
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
459
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
437
460
|
/**
|
|
438
461
|
* Type of model choice
|
|
439
462
|
*/
|
|
@@ -504,6 +527,10 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
504
527
|
* Type of the node
|
|
505
528
|
*/
|
|
506
529
|
type: 'subagent';
|
|
530
|
+
/**
|
|
531
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
532
|
+
*/
|
|
533
|
+
allow_dtmf_interruption?: boolean | null;
|
|
507
534
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
508
535
|
/**
|
|
509
536
|
* Position for frontend display
|
|
@@ -514,6 +541,11 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
514
541
|
finetune_transition_examples?: Array<SubagentNode.FinetuneTransitionExample>;
|
|
515
542
|
global_node_setting?: SubagentNode.GlobalNodeSetting;
|
|
516
543
|
interruption_sensitivity?: number | null;
|
|
544
|
+
/**
|
|
545
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
546
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
547
|
+
*/
|
|
548
|
+
kb_config?: SubagentNode.KBConfig;
|
|
517
549
|
/**
|
|
518
550
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
519
551
|
*/
|
|
@@ -813,11 +845,25 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
813
845
|
}
|
|
814
846
|
}
|
|
815
847
|
}
|
|
848
|
+
/**
|
|
849
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
850
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
851
|
+
*/
|
|
852
|
+
interface KBConfig {
|
|
853
|
+
/**
|
|
854
|
+
* Similarity threshold for filtering search results
|
|
855
|
+
*/
|
|
856
|
+
filter_score?: number;
|
|
857
|
+
/**
|
|
858
|
+
* Max number of knowledge base chunks to retrieve
|
|
859
|
+
*/
|
|
860
|
+
top_k?: number;
|
|
861
|
+
}
|
|
816
862
|
interface ModelChoice {
|
|
817
863
|
/**
|
|
818
864
|
* The LLM model to use
|
|
819
865
|
*/
|
|
820
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
866
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
821
867
|
/**
|
|
822
868
|
* Type of model choice
|
|
823
869
|
*/
|
|
@@ -1274,7 +1320,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
1274
1320
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
1275
1321
|
* version.
|
|
1276
1322
|
*/
|
|
1277
|
-
agent_version?: number;
|
|
1323
|
+
agent_version?: number | string;
|
|
1278
1324
|
/**
|
|
1279
1325
|
* Describes what the tool does, sometimes can also include information about when
|
|
1280
1326
|
* to call the tool.
|
|
@@ -1989,7 +2035,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
1989
2035
|
/**
|
|
1990
2036
|
* The LLM model to use
|
|
1991
2037
|
*/
|
|
1992
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
2038
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
1993
2039
|
/**
|
|
1994
2040
|
* Type of model choice
|
|
1995
2041
|
*/
|
|
@@ -2307,7 +2353,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
2307
2353
|
/**
|
|
2308
2354
|
* The LLM model to use
|
|
2309
2355
|
*/
|
|
2310
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
2356
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
2311
2357
|
/**
|
|
2312
2358
|
* Type of model choice
|
|
2313
2359
|
*/
|
|
@@ -2633,7 +2679,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
2633
2679
|
/**
|
|
2634
2680
|
* The LLM model to use
|
|
2635
2681
|
*/
|
|
2636
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
2682
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
2637
2683
|
/**
|
|
2638
2684
|
* Type of model choice
|
|
2639
2685
|
*/
|
|
@@ -3114,7 +3160,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
3114
3160
|
/**
|
|
3115
3161
|
* The LLM model to use
|
|
3116
3162
|
*/
|
|
3117
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
3163
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
3118
3164
|
/**
|
|
3119
3165
|
* Type of model choice
|
|
3120
3166
|
*/
|
|
@@ -3355,7 +3401,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
3355
3401
|
/**
|
|
3356
3402
|
* The LLM model to use
|
|
3357
3403
|
*/
|
|
3358
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
3404
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
3359
3405
|
/**
|
|
3360
3406
|
* Type of model choice
|
|
3361
3407
|
*/
|
|
@@ -3632,7 +3678,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
3632
3678
|
/**
|
|
3633
3679
|
* The LLM model to use
|
|
3634
3680
|
*/
|
|
3635
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
3681
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
3636
3682
|
/**
|
|
3637
3683
|
* Type of model choice
|
|
3638
3684
|
*/
|
|
@@ -3920,7 +3966,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
3920
3966
|
/**
|
|
3921
3967
|
* The LLM model to use
|
|
3922
3968
|
*/
|
|
3923
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
3969
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
3924
3970
|
/**
|
|
3925
3971
|
* Type of model choice
|
|
3926
3972
|
*/
|
|
@@ -4306,7 +4352,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
4306
4352
|
/**
|
|
4307
4353
|
* The LLM model to use
|
|
4308
4354
|
*/
|
|
4309
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
4355
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
4310
4356
|
/**
|
|
4311
4357
|
* Type of model choice
|
|
4312
4358
|
*/
|
|
@@ -4342,7 +4388,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
4342
4388
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
4343
4389
|
* version
|
|
4344
4390
|
*/
|
|
4345
|
-
agent_version?: number;
|
|
4391
|
+
agent_version?: number | string;
|
|
4346
4392
|
/**
|
|
4347
4393
|
* Position for frontend display
|
|
4348
4394
|
*/
|
|
@@ -4570,7 +4616,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
4570
4616
|
/**
|
|
4571
4617
|
* The LLM model to use
|
|
4572
4618
|
*/
|
|
4573
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
4619
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
4574
4620
|
/**
|
|
4575
4621
|
* Type of model choice
|
|
4576
4622
|
*/
|
|
@@ -4898,7 +4944,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
4898
4944
|
/**
|
|
4899
4945
|
* The LLM model to use
|
|
4900
4946
|
*/
|
|
4901
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
4947
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
4902
4948
|
/**
|
|
4903
4949
|
* Type of model choice
|
|
4904
4950
|
*/
|
|
@@ -5363,7 +5409,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
5363
5409
|
/**
|
|
5364
5410
|
* The LLM model to use
|
|
5365
5411
|
*/
|
|
5366
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
5412
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
5367
5413
|
/**
|
|
5368
5414
|
* Type of model choice
|
|
5369
5415
|
*/
|
|
@@ -5546,7 +5592,7 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
5546
5592
|
/**
|
|
5547
5593
|
* The LLM model to use
|
|
5548
5594
|
*/
|
|
5549
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
5595
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
5550
5596
|
/**
|
|
5551
5597
|
* Type of model choice
|
|
5552
5598
|
*/
|
|
@@ -5868,6 +5914,10 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
5868
5914
|
* Type of the node
|
|
5869
5915
|
*/
|
|
5870
5916
|
type: 'conversation';
|
|
5917
|
+
/**
|
|
5918
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
5919
|
+
*/
|
|
5920
|
+
allow_dtmf_interruption?: boolean | null;
|
|
5871
5921
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
5872
5922
|
/**
|
|
5873
5923
|
* Position for frontend display
|
|
@@ -5878,6 +5928,11 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
5878
5928
|
finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
|
|
5879
5929
|
global_node_setting?: ConversationNode.GlobalNodeSetting;
|
|
5880
5930
|
interruption_sensitivity?: number | null;
|
|
5931
|
+
/**
|
|
5932
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
5933
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
5934
|
+
*/
|
|
5935
|
+
kb_config?: ConversationNode.KBConfig;
|
|
5881
5936
|
/**
|
|
5882
5937
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
5883
5938
|
*/
|
|
@@ -6177,11 +6232,25 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
6177
6232
|
}
|
|
6178
6233
|
}
|
|
6179
6234
|
}
|
|
6235
|
+
/**
|
|
6236
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
6237
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
6238
|
+
*/
|
|
6239
|
+
interface KBConfig {
|
|
6240
|
+
/**
|
|
6241
|
+
* Similarity threshold for filtering search results
|
|
6242
|
+
*/
|
|
6243
|
+
filter_score?: number;
|
|
6244
|
+
/**
|
|
6245
|
+
* Max number of knowledge base chunks to retrieve
|
|
6246
|
+
*/
|
|
6247
|
+
top_k?: number;
|
|
6248
|
+
}
|
|
6180
6249
|
interface ModelChoice {
|
|
6181
6250
|
/**
|
|
6182
6251
|
* The LLM model to use
|
|
6183
6252
|
*/
|
|
6184
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
6253
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
6185
6254
|
/**
|
|
6186
6255
|
* Type of model choice
|
|
6187
6256
|
*/
|
|
@@ -6252,6 +6321,10 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
6252
6321
|
* Type of the node
|
|
6253
6322
|
*/
|
|
6254
6323
|
type: 'subagent';
|
|
6324
|
+
/**
|
|
6325
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
6326
|
+
*/
|
|
6327
|
+
allow_dtmf_interruption?: boolean | null;
|
|
6255
6328
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
6256
6329
|
/**
|
|
6257
6330
|
* Position for frontend display
|
|
@@ -6262,6 +6335,11 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
6262
6335
|
finetune_transition_examples?: Array<SubagentNode.FinetuneTransitionExample>;
|
|
6263
6336
|
global_node_setting?: SubagentNode.GlobalNodeSetting;
|
|
6264
6337
|
interruption_sensitivity?: number | null;
|
|
6338
|
+
/**
|
|
6339
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
6340
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
6341
|
+
*/
|
|
6342
|
+
kb_config?: SubagentNode.KBConfig;
|
|
6265
6343
|
/**
|
|
6266
6344
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
6267
6345
|
*/
|
|
@@ -6561,11 +6639,25 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
6561
6639
|
}
|
|
6562
6640
|
}
|
|
6563
6641
|
}
|
|
6642
|
+
/**
|
|
6643
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
6644
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
6645
|
+
*/
|
|
6646
|
+
interface KBConfig {
|
|
6647
|
+
/**
|
|
6648
|
+
* Similarity threshold for filtering search results
|
|
6649
|
+
*/
|
|
6650
|
+
filter_score?: number;
|
|
6651
|
+
/**
|
|
6652
|
+
* Max number of knowledge base chunks to retrieve
|
|
6653
|
+
*/
|
|
6654
|
+
top_k?: number;
|
|
6655
|
+
}
|
|
6564
6656
|
interface ModelChoice {
|
|
6565
6657
|
/**
|
|
6566
6658
|
* The LLM model to use
|
|
6567
6659
|
*/
|
|
6568
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
6660
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
6569
6661
|
/**
|
|
6570
6662
|
* Type of model choice
|
|
6571
6663
|
*/
|
|
@@ -7022,7 +7114,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
7022
7114
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
7023
7115
|
* version.
|
|
7024
7116
|
*/
|
|
7025
|
-
agent_version?: number;
|
|
7117
|
+
agent_version?: number | string;
|
|
7026
7118
|
/**
|
|
7027
7119
|
* Describes what the tool does, sometimes can also include information about when
|
|
7028
7120
|
* to call the tool.
|
|
@@ -7737,7 +7829,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
7737
7829
|
/**
|
|
7738
7830
|
* The LLM model to use
|
|
7739
7831
|
*/
|
|
7740
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
7832
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
7741
7833
|
/**
|
|
7742
7834
|
* Type of model choice
|
|
7743
7835
|
*/
|
|
@@ -8055,7 +8147,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
8055
8147
|
/**
|
|
8056
8148
|
* The LLM model to use
|
|
8057
8149
|
*/
|
|
8058
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
8150
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
8059
8151
|
/**
|
|
8060
8152
|
* Type of model choice
|
|
8061
8153
|
*/
|
|
@@ -8381,7 +8473,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
8381
8473
|
/**
|
|
8382
8474
|
* The LLM model to use
|
|
8383
8475
|
*/
|
|
8384
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
8476
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
8385
8477
|
/**
|
|
8386
8478
|
* Type of model choice
|
|
8387
8479
|
*/
|
|
@@ -8862,7 +8954,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
8862
8954
|
/**
|
|
8863
8955
|
* The LLM model to use
|
|
8864
8956
|
*/
|
|
8865
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
8957
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
8866
8958
|
/**
|
|
8867
8959
|
* Type of model choice
|
|
8868
8960
|
*/
|
|
@@ -9103,7 +9195,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
9103
9195
|
/**
|
|
9104
9196
|
* The LLM model to use
|
|
9105
9197
|
*/
|
|
9106
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
9198
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
9107
9199
|
/**
|
|
9108
9200
|
* Type of model choice
|
|
9109
9201
|
*/
|
|
@@ -9380,7 +9472,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
9380
9472
|
/**
|
|
9381
9473
|
* The LLM model to use
|
|
9382
9474
|
*/
|
|
9383
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
9475
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
9384
9476
|
/**
|
|
9385
9477
|
* Type of model choice
|
|
9386
9478
|
*/
|
|
@@ -9668,7 +9760,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
9668
9760
|
/**
|
|
9669
9761
|
* The LLM model to use
|
|
9670
9762
|
*/
|
|
9671
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
9763
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
9672
9764
|
/**
|
|
9673
9765
|
* Type of model choice
|
|
9674
9766
|
*/
|
|
@@ -10054,7 +10146,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
10054
10146
|
/**
|
|
10055
10147
|
* The LLM model to use
|
|
10056
10148
|
*/
|
|
10057
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
10149
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
10058
10150
|
/**
|
|
10059
10151
|
* Type of model choice
|
|
10060
10152
|
*/
|
|
@@ -10090,7 +10182,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
10090
10182
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
10091
10183
|
* version
|
|
10092
10184
|
*/
|
|
10093
|
-
agent_version?: number;
|
|
10185
|
+
agent_version?: number | string;
|
|
10094
10186
|
/**
|
|
10095
10187
|
* Position for frontend display
|
|
10096
10188
|
*/
|
|
@@ -10318,7 +10410,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
10318
10410
|
/**
|
|
10319
10411
|
* The LLM model to use
|
|
10320
10412
|
*/
|
|
10321
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
10413
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
10322
10414
|
/**
|
|
10323
10415
|
* Type of model choice
|
|
10324
10416
|
*/
|
|
@@ -10646,7 +10738,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
10646
10738
|
/**
|
|
10647
10739
|
* The LLM model to use
|
|
10648
10740
|
*/
|
|
10649
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
10741
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
10650
10742
|
/**
|
|
10651
10743
|
* Type of model choice
|
|
10652
10744
|
*/
|
|
@@ -11111,7 +11203,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
11111
11203
|
/**
|
|
11112
11204
|
* The LLM model to use
|
|
11113
11205
|
*/
|
|
11114
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
11206
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
11115
11207
|
/**
|
|
11116
11208
|
* Type of model choice
|
|
11117
11209
|
*/
|
|
@@ -11294,7 +11386,7 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
11294
11386
|
/**
|
|
11295
11387
|
* The LLM model to use
|
|
11296
11388
|
*/
|
|
11297
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
11389
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
11298
11390
|
/**
|
|
11299
11391
|
* Type of model choice
|
|
11300
11392
|
*/
|
|
@@ -11646,6 +11738,10 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
11646
11738
|
* Type of the node
|
|
11647
11739
|
*/
|
|
11648
11740
|
type: 'conversation';
|
|
11741
|
+
/**
|
|
11742
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
11743
|
+
*/
|
|
11744
|
+
allow_dtmf_interruption?: boolean | null;
|
|
11649
11745
|
always_edge?: ConversationNode.AlwaysEdge;
|
|
11650
11746
|
/**
|
|
11651
11747
|
* Position for frontend display
|
|
@@ -11656,6 +11752,11 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
11656
11752
|
finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
|
|
11657
11753
|
global_node_setting?: ConversationNode.GlobalNodeSetting;
|
|
11658
11754
|
interruption_sensitivity?: number | null;
|
|
11755
|
+
/**
|
|
11756
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
11757
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
11758
|
+
*/
|
|
11759
|
+
kb_config?: ConversationNode.KBConfig;
|
|
11659
11760
|
/**
|
|
11660
11761
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
11661
11762
|
*/
|
|
@@ -11955,11 +12056,25 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
11955
12056
|
}
|
|
11956
12057
|
}
|
|
11957
12058
|
}
|
|
12059
|
+
/**
|
|
12060
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
12061
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
12062
|
+
*/
|
|
12063
|
+
interface KBConfig {
|
|
12064
|
+
/**
|
|
12065
|
+
* Similarity threshold for filtering search results
|
|
12066
|
+
*/
|
|
12067
|
+
filter_score?: number;
|
|
12068
|
+
/**
|
|
12069
|
+
* Max number of knowledge base chunks to retrieve
|
|
12070
|
+
*/
|
|
12071
|
+
top_k?: number;
|
|
12072
|
+
}
|
|
11958
12073
|
interface ModelChoice {
|
|
11959
12074
|
/**
|
|
11960
12075
|
* The LLM model to use
|
|
11961
12076
|
*/
|
|
11962
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
12077
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
11963
12078
|
/**
|
|
11964
12079
|
* Type of model choice
|
|
11965
12080
|
*/
|
|
@@ -12030,6 +12145,10 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
12030
12145
|
* Type of the node
|
|
12031
12146
|
*/
|
|
12032
12147
|
type: 'subagent';
|
|
12148
|
+
/**
|
|
12149
|
+
* If set, overrides the agent-level allow_dtmf_interruption for this node only.
|
|
12150
|
+
*/
|
|
12151
|
+
allow_dtmf_interruption?: boolean | null;
|
|
12033
12152
|
always_edge?: SubagentNode.AlwaysEdge;
|
|
12034
12153
|
/**
|
|
12035
12154
|
* Position for frontend display
|
|
@@ -12040,6 +12159,11 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
12040
12159
|
finetune_transition_examples?: Array<SubagentNode.FinetuneTransitionExample>;
|
|
12041
12160
|
global_node_setting?: SubagentNode.GlobalNodeSetting;
|
|
12042
12161
|
interruption_sensitivity?: number | null;
|
|
12162
|
+
/**
|
|
12163
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
12164
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
12165
|
+
*/
|
|
12166
|
+
kb_config?: SubagentNode.KBConfig;
|
|
12043
12167
|
/**
|
|
12044
12168
|
* Knowledge base IDs for RAG (Retrieval-Augmented Generation).
|
|
12045
12169
|
*/
|
|
@@ -12339,11 +12463,25 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
12339
12463
|
}
|
|
12340
12464
|
}
|
|
12341
12465
|
}
|
|
12466
|
+
/**
|
|
12467
|
+
* Knowledge base configuration for RAG retrieval at the node level. If
|
|
12468
|
+
* kb_instruction is set here, it overrides the flow-level kb_instruction.
|
|
12469
|
+
*/
|
|
12470
|
+
interface KBConfig {
|
|
12471
|
+
/**
|
|
12472
|
+
* Similarity threshold for filtering search results
|
|
12473
|
+
*/
|
|
12474
|
+
filter_score?: number;
|
|
12475
|
+
/**
|
|
12476
|
+
* Max number of knowledge base chunks to retrieve
|
|
12477
|
+
*/
|
|
12478
|
+
top_k?: number;
|
|
12479
|
+
}
|
|
12342
12480
|
interface ModelChoice {
|
|
12343
12481
|
/**
|
|
12344
12482
|
* The LLM model to use
|
|
12345
12483
|
*/
|
|
12346
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
12484
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
12347
12485
|
/**
|
|
12348
12486
|
* Type of model choice
|
|
12349
12487
|
*/
|
|
@@ -12800,7 +12938,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
12800
12938
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
12801
12939
|
* version.
|
|
12802
12940
|
*/
|
|
12803
|
-
agent_version?: number;
|
|
12941
|
+
agent_version?: number | string;
|
|
12804
12942
|
/**
|
|
12805
12943
|
* Describes what the tool does, sometimes can also include information about when
|
|
12806
12944
|
* to call the tool.
|
|
@@ -13515,7 +13653,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
13515
13653
|
/**
|
|
13516
13654
|
* The LLM model to use
|
|
13517
13655
|
*/
|
|
13518
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
13656
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
13519
13657
|
/**
|
|
13520
13658
|
* Type of model choice
|
|
13521
13659
|
*/
|
|
@@ -13833,7 +13971,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
13833
13971
|
/**
|
|
13834
13972
|
* The LLM model to use
|
|
13835
13973
|
*/
|
|
13836
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
13974
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
13837
13975
|
/**
|
|
13838
13976
|
* Type of model choice
|
|
13839
13977
|
*/
|
|
@@ -14159,7 +14297,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
14159
14297
|
/**
|
|
14160
14298
|
* The LLM model to use
|
|
14161
14299
|
*/
|
|
14162
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
14300
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
14163
14301
|
/**
|
|
14164
14302
|
* Type of model choice
|
|
14165
14303
|
*/
|
|
@@ -14640,7 +14778,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
14640
14778
|
/**
|
|
14641
14779
|
* The LLM model to use
|
|
14642
14780
|
*/
|
|
14643
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
14781
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
14644
14782
|
/**
|
|
14645
14783
|
* Type of model choice
|
|
14646
14784
|
*/
|
|
@@ -14881,7 +15019,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
14881
15019
|
/**
|
|
14882
15020
|
* The LLM model to use
|
|
14883
15021
|
*/
|
|
14884
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
15022
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
14885
15023
|
/**
|
|
14886
15024
|
* Type of model choice
|
|
14887
15025
|
*/
|
|
@@ -15158,7 +15296,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
15158
15296
|
/**
|
|
15159
15297
|
* The LLM model to use
|
|
15160
15298
|
*/
|
|
15161
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
15299
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
15162
15300
|
/**
|
|
15163
15301
|
* Type of model choice
|
|
15164
15302
|
*/
|
|
@@ -15446,7 +15584,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
15446
15584
|
/**
|
|
15447
15585
|
* The LLM model to use
|
|
15448
15586
|
*/
|
|
15449
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
15587
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
15450
15588
|
/**
|
|
15451
15589
|
* Type of model choice
|
|
15452
15590
|
*/
|
|
@@ -15832,7 +15970,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
15832
15970
|
/**
|
|
15833
15971
|
* The LLM model to use
|
|
15834
15972
|
*/
|
|
15835
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
15973
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
15836
15974
|
/**
|
|
15837
15975
|
* Type of model choice
|
|
15838
15976
|
*/
|
|
@@ -15868,7 +16006,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
15868
16006
|
* The version of the agent to swap to. If not specified, will use the latest
|
|
15869
16007
|
* version
|
|
15870
16008
|
*/
|
|
15871
|
-
agent_version?: number;
|
|
16009
|
+
agent_version?: number | string;
|
|
15872
16010
|
/**
|
|
15873
16011
|
* Position for frontend display
|
|
15874
16012
|
*/
|
|
@@ -16096,7 +16234,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
16096
16234
|
/**
|
|
16097
16235
|
* The LLM model to use
|
|
16098
16236
|
*/
|
|
16099
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
16237
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
16100
16238
|
/**
|
|
16101
16239
|
* Type of model choice
|
|
16102
16240
|
*/
|
|
@@ -16424,7 +16562,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
16424
16562
|
/**
|
|
16425
16563
|
* The LLM model to use
|
|
16426
16564
|
*/
|
|
16427
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
16565
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
16428
16566
|
/**
|
|
16429
16567
|
* Type of model choice
|
|
16430
16568
|
*/
|
|
@@ -16889,7 +17027,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
16889
17027
|
/**
|
|
16890
17028
|
* The LLM model to use
|
|
16891
17029
|
*/
|
|
16892
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
17030
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
16893
17031
|
/**
|
|
16894
17032
|
* Type of model choice
|
|
16895
17033
|
*/
|
|
@@ -17072,7 +17210,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
17072
17210
|
/**
|
|
17073
17211
|
* The LLM model to use
|
|
17074
17212
|
*/
|
|
17075
|
-
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash
|
|
17213
|
+
model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite';
|
|
17076
17214
|
/**
|
|
17077
17215
|
* Type of model choice
|
|
17078
17216
|
*/
|