retell-sdk 4.43.0 → 4.45.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.
@@ -9,7 +9,7 @@ export declare class ConversationFlow extends APIResource {
9
9
  * ```ts
10
10
  * const conversationFlowResponse =
11
11
  * await client.conversationFlow.create({
12
- * model_choice: { model: 'gpt-4o', type: 'cascading' },
12
+ * model_choice: { model: 'gpt-5', type: 'cascading' },
13
13
  * nodes: [
14
14
  * {
15
15
  * id: 'start',
@@ -97,6 +97,10 @@ export interface ConversationFlowResponse {
97
97
  * Global prompt used in every node of the conversation flow.
98
98
  */
99
99
  global_prompt?: string | null;
100
+ /**
101
+ * Knowledge base configuration for RAG retrieval.
102
+ */
103
+ kb_config?: ConversationFlowResponse.KBConfig;
100
104
  /**
101
105
  * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
102
106
  */
@@ -144,6 +148,19 @@ export declare namespace ConversationFlowResponse {
144
148
  x?: number;
145
149
  y?: number;
146
150
  }
151
+ /**
152
+ * Knowledge base configuration for RAG retrieval.
153
+ */
154
+ interface KBConfig {
155
+ /**
156
+ * Similarity threshold for filtering search results
157
+ */
158
+ filter_score?: number;
159
+ /**
160
+ * Max number of knowledge base chunks to retrieve
161
+ */
162
+ top_k?: number;
163
+ }
147
164
  interface Mcp {
148
165
  name: string;
149
166
  /**
@@ -175,7 +192,7 @@ export declare namespace ConversationFlowResponse {
175
192
  /**
176
193
  * The LLM model to use
177
194
  */
178
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
195
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
179
196
  /**
180
197
  * Type of model choice
181
198
  */
@@ -204,6 +221,10 @@ export declare namespace ConversationFlowResponse {
204
221
  finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
205
222
  global_node_setting?: ConversationNode.GlobalNodeSetting;
206
223
  interruption_sensitivity?: number;
224
+ /**
225
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
226
+ */
227
+ knowledge_base_ids?: Array<string> | null;
207
228
  model_choice?: ConversationNode.ModelChoice;
208
229
  /**
209
230
  * Optional name for display purposes
@@ -269,11 +290,12 @@ export declare namespace ConversationFlowResponse {
269
290
  * Left side of the equation
270
291
  */
271
292
  left: string;
272
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
293
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
273
294
  /**
274
- * Right side of the equation
295
+ * Right side of the equation. The right side of the equation not required when
296
+ * "exists" or "not_exist" are selected.
275
297
  */
276
- right: string;
298
+ right?: string;
277
299
  }
278
300
  }
279
301
  }
@@ -401,7 +423,7 @@ export declare namespace ConversationFlowResponse {
401
423
  /**
402
424
  * The LLM model to use
403
425
  */
404
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
426
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
405
427
  /**
406
428
  * Type of model choice
407
429
  */
@@ -445,11 +467,12 @@ export declare namespace ConversationFlowResponse {
445
467
  * Left side of the equation
446
468
  */
447
469
  left: string;
448
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
470
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
449
471
  /**
450
- * Right side of the equation
472
+ * Right side of the equation. The right side of the equation not required when
473
+ * "exists" or "not_exist" are selected.
451
474
  */
452
- right: string;
475
+ right?: string;
453
476
  }
454
477
  }
455
478
  interface UnionMember2 {
@@ -629,11 +652,12 @@ export declare namespace ConversationFlowResponse {
629
652
  * Left side of the equation
630
653
  */
631
654
  left: string;
632
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
655
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
633
656
  /**
634
- * Right side of the equation
657
+ * Right side of the equation. The right side of the equation not required when
658
+ * "exists" or "not_exist" are selected.
635
659
  */
636
- right: string;
660
+ right?: string;
637
661
  }
638
662
  }
639
663
  }
@@ -754,7 +778,7 @@ export declare namespace ConversationFlowResponse {
754
778
  /**
755
779
  * The LLM model to use
756
780
  */
757
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
781
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
758
782
  /**
759
783
  * Type of model choice
760
784
  */
@@ -829,11 +853,12 @@ export declare namespace ConversationFlowResponse {
829
853
  * Left side of the equation
830
854
  */
831
855
  left: string;
832
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
856
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
833
857
  /**
834
- * Right side of the equation
858
+ * Right side of the equation. The right side of the equation not required when
859
+ * "exists" or "not_exist" are selected.
835
860
  */
836
- right: string;
861
+ right?: string;
837
862
  }
838
863
  }
839
864
  interface UnionMember2 {
@@ -854,6 +879,11 @@ export declare namespace ConversationFlowResponse {
854
879
  * The type of transfer destination.
855
880
  */
856
881
  type: 'predefined';
882
+ /**
883
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
884
+ * digits, '\*', '#'.
885
+ */
886
+ extension?: string;
857
887
  }
858
888
  interface TransferDestinationInferred {
859
889
  /**
@@ -1019,7 +1049,7 @@ export declare namespace ConversationFlowResponse {
1019
1049
  /**
1020
1050
  * The LLM model to use
1021
1051
  */
1022
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
1052
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
1023
1053
  /**
1024
1054
  * Type of model choice
1025
1055
  */
@@ -1105,11 +1135,12 @@ export declare namespace ConversationFlowResponse {
1105
1135
  * Left side of the equation
1106
1136
  */
1107
1137
  left: string;
1108
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1138
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1109
1139
  /**
1110
- * Right side of the equation
1140
+ * Right side of the equation. The right side of the equation not required when
1141
+ * "exists" or "not_exist" are selected.
1111
1142
  */
1112
- right: string;
1143
+ right?: string;
1113
1144
  }
1114
1145
  }
1115
1146
  }
@@ -1210,7 +1241,7 @@ export declare namespace ConversationFlowResponse {
1210
1241
  /**
1211
1242
  * The LLM model to use
1212
1243
  */
1213
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
1244
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
1214
1245
  /**
1215
1246
  * Type of model choice
1216
1247
  */
@@ -1278,11 +1309,12 @@ export declare namespace ConversationFlowResponse {
1278
1309
  * Left side of the equation
1279
1310
  */
1280
1311
  left: string;
1281
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1312
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1282
1313
  /**
1283
- * Right side of the equation
1314
+ * Right side of the equation. The right side of the equation not required when
1315
+ * "exists" or "not_exist" are selected.
1284
1316
  */
1285
- right: string;
1317
+ right?: string;
1286
1318
  }
1287
1319
  }
1288
1320
  interface UnionMember2 {
@@ -1330,11 +1362,12 @@ export declare namespace ConversationFlowResponse {
1330
1362
  * Left side of the equation
1331
1363
  */
1332
1364
  left: string;
1333
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1365
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1334
1366
  /**
1335
- * Right side of the equation
1367
+ * Right side of the equation. The right side of the equation not required when
1368
+ * "exists" or "not_exist" are selected.
1336
1369
  */
1337
- right: string;
1370
+ right?: string;
1338
1371
  }
1339
1372
  }
1340
1373
  }
@@ -1489,11 +1522,12 @@ export declare namespace ConversationFlowResponse {
1489
1522
  * Left side of the equation
1490
1523
  */
1491
1524
  left: string;
1492
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1525
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1493
1526
  /**
1494
- * Right side of the equation
1527
+ * Right side of the equation. The right side of the equation not required when
1528
+ * "exists" or "not_exist" are selected.
1495
1529
  */
1496
- right: string;
1530
+ right?: string;
1497
1531
  }
1498
1532
  }
1499
1533
  interface UnionMember2 {
@@ -1558,11 +1592,12 @@ export declare namespace ConversationFlowResponse {
1558
1592
  * Left side of the equation
1559
1593
  */
1560
1594
  left: string;
1561
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1595
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1562
1596
  /**
1563
- * Right side of the equation
1597
+ * Right side of the equation. The right side of the equation not required when
1598
+ * "exists" or "not_exist" are selected.
1564
1599
  */
1565
- right: string;
1600
+ right?: string;
1566
1601
  }
1567
1602
  }
1568
1603
  interface UnionMember2 {
@@ -1768,11 +1803,12 @@ export declare namespace ConversationFlowResponse {
1768
1803
  * Left side of the equation
1769
1804
  */
1770
1805
  left: string;
1771
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1806
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1772
1807
  /**
1773
- * Right side of the equation
1808
+ * Right side of the equation. The right side of the equation not required when
1809
+ * "exists" or "not_exist" are selected.
1774
1810
  */
1775
- right: string;
1811
+ right?: string;
1776
1812
  }
1777
1813
  }
1778
1814
  }
@@ -1873,7 +1909,7 @@ export declare namespace ConversationFlowResponse {
1873
1909
  /**
1874
1910
  * The LLM model to use
1875
1911
  */
1876
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
1912
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
1877
1913
  /**
1878
1914
  * Type of model choice
1879
1915
  */
@@ -1958,11 +1994,12 @@ export declare namespace ConversationFlowResponse {
1958
1994
  * Left side of the equation
1959
1995
  */
1960
1996
  left: string;
1961
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1997
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
1962
1998
  /**
1963
- * Right side of the equation
1999
+ * Right side of the equation. The right side of the equation not required when
2000
+ * "exists" or "not_exist" are selected.
1964
2001
  */
1965
- right: string;
2002
+ right?: string;
1966
2003
  }
1967
2004
  }
1968
2005
  interface UnionMember2 {
@@ -2130,11 +2167,12 @@ export declare namespace ConversationFlowResponse {
2130
2167
  * Left side of the equation
2131
2168
  */
2132
2169
  left: string;
2133
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2170
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
2134
2171
  /**
2135
- * Right side of the equation
2172
+ * Right side of the equation. The right side of the equation not required when
2173
+ * "exists" or "not_exist" are selected.
2136
2174
  */
2137
- right: string;
2175
+ right?: string;
2138
2176
  }
2139
2177
  }
2140
2178
  }
@@ -2430,6 +2468,10 @@ export interface ConversationFlowCreateParams {
2430
2468
  * Global prompt used in every node of the conversation flow.
2431
2469
  */
2432
2470
  global_prompt?: string | null;
2471
+ /**
2472
+ * Knowledge base configuration for RAG retrieval.
2473
+ */
2474
+ kb_config?: ConversationFlowCreateParams.KBConfig;
2433
2475
  /**
2434
2476
  * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
2435
2477
  */
@@ -2465,7 +2507,7 @@ export declare namespace ConversationFlowCreateParams {
2465
2507
  /**
2466
2508
  * The LLM model to use
2467
2509
  */
2468
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
2510
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
2469
2511
  /**
2470
2512
  * Type of model choice
2471
2513
  */
@@ -2494,6 +2536,10 @@ export declare namespace ConversationFlowCreateParams {
2494
2536
  finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
2495
2537
  global_node_setting?: ConversationNode.GlobalNodeSetting;
2496
2538
  interruption_sensitivity?: number;
2539
+ /**
2540
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
2541
+ */
2542
+ knowledge_base_ids?: Array<string> | null;
2497
2543
  model_choice?: ConversationNode.ModelChoice;
2498
2544
  /**
2499
2545
  * Optional name for display purposes
@@ -2559,11 +2605,12 @@ export declare namespace ConversationFlowCreateParams {
2559
2605
  * Left side of the equation
2560
2606
  */
2561
2607
  left: string;
2562
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2608
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
2563
2609
  /**
2564
- * Right side of the equation
2610
+ * Right side of the equation. The right side of the equation not required when
2611
+ * "exists" or "not_exist" are selected.
2565
2612
  */
2566
- right: string;
2613
+ right?: string;
2567
2614
  }
2568
2615
  }
2569
2616
  }
@@ -2691,7 +2738,7 @@ export declare namespace ConversationFlowCreateParams {
2691
2738
  /**
2692
2739
  * The LLM model to use
2693
2740
  */
2694
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
2741
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
2695
2742
  /**
2696
2743
  * Type of model choice
2697
2744
  */
@@ -2735,11 +2782,12 @@ export declare namespace ConversationFlowCreateParams {
2735
2782
  * Left side of the equation
2736
2783
  */
2737
2784
  left: string;
2738
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2785
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
2739
2786
  /**
2740
- * Right side of the equation
2787
+ * Right side of the equation. The right side of the equation not required when
2788
+ * "exists" or "not_exist" are selected.
2741
2789
  */
2742
- right: string;
2790
+ right?: string;
2743
2791
  }
2744
2792
  }
2745
2793
  interface UnionMember2 {
@@ -2919,11 +2967,12 @@ export declare namespace ConversationFlowCreateParams {
2919
2967
  * Left side of the equation
2920
2968
  */
2921
2969
  left: string;
2922
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2970
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
2923
2971
  /**
2924
- * Right side of the equation
2972
+ * Right side of the equation. The right side of the equation not required when
2973
+ * "exists" or "not_exist" are selected.
2925
2974
  */
2926
- right: string;
2975
+ right?: string;
2927
2976
  }
2928
2977
  }
2929
2978
  }
@@ -3044,7 +3093,7 @@ export declare namespace ConversationFlowCreateParams {
3044
3093
  /**
3045
3094
  * The LLM model to use
3046
3095
  */
3047
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
3096
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
3048
3097
  /**
3049
3098
  * Type of model choice
3050
3099
  */
@@ -3119,11 +3168,12 @@ export declare namespace ConversationFlowCreateParams {
3119
3168
  * Left side of the equation
3120
3169
  */
3121
3170
  left: string;
3122
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3171
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3123
3172
  /**
3124
- * Right side of the equation
3173
+ * Right side of the equation. The right side of the equation not required when
3174
+ * "exists" or "not_exist" are selected.
3125
3175
  */
3126
- right: string;
3176
+ right?: string;
3127
3177
  }
3128
3178
  }
3129
3179
  interface UnionMember2 {
@@ -3144,6 +3194,11 @@ export declare namespace ConversationFlowCreateParams {
3144
3194
  * The type of transfer destination.
3145
3195
  */
3146
3196
  type: 'predefined';
3197
+ /**
3198
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
3199
+ * digits, '\*', '#'.
3200
+ */
3201
+ extension?: string;
3147
3202
  }
3148
3203
  interface TransferDestinationInferred {
3149
3204
  /**
@@ -3309,7 +3364,7 @@ export declare namespace ConversationFlowCreateParams {
3309
3364
  /**
3310
3365
  * The LLM model to use
3311
3366
  */
3312
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
3367
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
3313
3368
  /**
3314
3369
  * Type of model choice
3315
3370
  */
@@ -3395,11 +3450,12 @@ export declare namespace ConversationFlowCreateParams {
3395
3450
  * Left side of the equation
3396
3451
  */
3397
3452
  left: string;
3398
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3453
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3399
3454
  /**
3400
- * Right side of the equation
3455
+ * Right side of the equation. The right side of the equation not required when
3456
+ * "exists" or "not_exist" are selected.
3401
3457
  */
3402
- right: string;
3458
+ right?: string;
3403
3459
  }
3404
3460
  }
3405
3461
  }
@@ -3500,7 +3556,7 @@ export declare namespace ConversationFlowCreateParams {
3500
3556
  /**
3501
3557
  * The LLM model to use
3502
3558
  */
3503
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
3559
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
3504
3560
  /**
3505
3561
  * Type of model choice
3506
3562
  */
@@ -3568,11 +3624,12 @@ export declare namespace ConversationFlowCreateParams {
3568
3624
  * Left side of the equation
3569
3625
  */
3570
3626
  left: string;
3571
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3627
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3572
3628
  /**
3573
- * Right side of the equation
3629
+ * Right side of the equation. The right side of the equation not required when
3630
+ * "exists" or "not_exist" are selected.
3574
3631
  */
3575
- right: string;
3632
+ right?: string;
3576
3633
  }
3577
3634
  }
3578
3635
  interface UnionMember2 {
@@ -3620,11 +3677,12 @@ export declare namespace ConversationFlowCreateParams {
3620
3677
  * Left side of the equation
3621
3678
  */
3622
3679
  left: string;
3623
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3680
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3624
3681
  /**
3625
- * Right side of the equation
3682
+ * Right side of the equation. The right side of the equation not required when
3683
+ * "exists" or "not_exist" are selected.
3626
3684
  */
3627
- right: string;
3685
+ right?: string;
3628
3686
  }
3629
3687
  }
3630
3688
  }
@@ -3779,11 +3837,12 @@ export declare namespace ConversationFlowCreateParams {
3779
3837
  * Left side of the equation
3780
3838
  */
3781
3839
  left: string;
3782
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3840
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3783
3841
  /**
3784
- * Right side of the equation
3842
+ * Right side of the equation. The right side of the equation not required when
3843
+ * "exists" or "not_exist" are selected.
3785
3844
  */
3786
- right: string;
3845
+ right?: string;
3787
3846
  }
3788
3847
  }
3789
3848
  interface UnionMember2 {
@@ -3848,11 +3907,12 @@ export declare namespace ConversationFlowCreateParams {
3848
3907
  * Left side of the equation
3849
3908
  */
3850
3909
  left: string;
3851
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3910
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
3852
3911
  /**
3853
- * Right side of the equation
3912
+ * Right side of the equation. The right side of the equation not required when
3913
+ * "exists" or "not_exist" are selected.
3854
3914
  */
3855
- right: string;
3915
+ right?: string;
3856
3916
  }
3857
3917
  }
3858
3918
  interface UnionMember2 {
@@ -4058,11 +4118,12 @@ export declare namespace ConversationFlowCreateParams {
4058
4118
  * Left side of the equation
4059
4119
  */
4060
4120
  left: string;
4061
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4121
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
4062
4122
  /**
4063
- * Right side of the equation
4123
+ * Right side of the equation. The right side of the equation not required when
4124
+ * "exists" or "not_exist" are selected.
4064
4125
  */
4065
- right: string;
4126
+ right?: string;
4066
4127
  }
4067
4128
  }
4068
4129
  }
@@ -4163,7 +4224,7 @@ export declare namespace ConversationFlowCreateParams {
4163
4224
  /**
4164
4225
  * The LLM model to use
4165
4226
  */
4166
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
4227
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
4167
4228
  /**
4168
4229
  * Type of model choice
4169
4230
  */
@@ -4248,11 +4309,12 @@ export declare namespace ConversationFlowCreateParams {
4248
4309
  * Left side of the equation
4249
4310
  */
4250
4311
  left: string;
4251
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4312
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
4252
4313
  /**
4253
- * Right side of the equation
4314
+ * Right side of the equation. The right side of the equation not required when
4315
+ * "exists" or "not_exist" are selected.
4254
4316
  */
4255
- right: string;
4317
+ right?: string;
4256
4318
  }
4257
4319
  }
4258
4320
  interface UnionMember2 {
@@ -4420,11 +4482,12 @@ export declare namespace ConversationFlowCreateParams {
4420
4482
  * Left side of the equation
4421
4483
  */
4422
4484
  left: string;
4423
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4485
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
4424
4486
  /**
4425
- * Right side of the equation
4487
+ * Right side of the equation. The right side of the equation not required when
4488
+ * "exists" or "not_exist" are selected.
4426
4489
  */
4427
- right: string;
4490
+ right?: string;
4428
4491
  }
4429
4492
  }
4430
4493
  }
@@ -4549,6 +4612,19 @@ export declare namespace ConversationFlowCreateParams {
4549
4612
  x?: number;
4550
4613
  y?: number;
4551
4614
  }
4615
+ /**
4616
+ * Knowledge base configuration for RAG retrieval.
4617
+ */
4618
+ interface KBConfig {
4619
+ /**
4620
+ * Similarity threshold for filtering search results
4621
+ */
4622
+ filter_score?: number;
4623
+ /**
4624
+ * Max number of knowledge base chunks to retrieve
4625
+ */
4626
+ top_k?: number;
4627
+ }
4552
4628
  interface Mcp {
4553
4629
  name: string;
4554
4630
  /**
@@ -4745,6 +4821,10 @@ export interface ConversationFlowUpdateParams {
4745
4821
  * Body param: Global prompt used in every node of the conversation flow.
4746
4822
  */
4747
4823
  global_prompt?: string | null;
4824
+ /**
4825
+ * Body param: Knowledge base configuration for RAG retrieval.
4826
+ */
4827
+ kb_config?: ConversationFlowUpdateParams.KBConfig;
4748
4828
  /**
4749
4829
  * Body param: Knowledge base IDs for RAG (Retrieval-Augmented Generation).
4750
4830
  */
@@ -4793,6 +4873,19 @@ export declare namespace ConversationFlowUpdateParams {
4793
4873
  x?: number;
4794
4874
  y?: number;
4795
4875
  }
4876
+ /**
4877
+ * Knowledge base configuration for RAG retrieval.
4878
+ */
4879
+ interface KBConfig {
4880
+ /**
4881
+ * Similarity threshold for filtering search results
4882
+ */
4883
+ filter_score?: number;
4884
+ /**
4885
+ * Max number of knowledge base chunks to retrieve
4886
+ */
4887
+ top_k?: number;
4888
+ }
4796
4889
  interface Mcp {
4797
4890
  name: string;
4798
4891
  /**
@@ -4824,7 +4917,7 @@ export declare namespace ConversationFlowUpdateParams {
4824
4917
  /**
4825
4918
  * The LLM model to use
4826
4919
  */
4827
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
4920
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
4828
4921
  /**
4829
4922
  * Type of model choice
4830
4923
  */
@@ -4853,6 +4946,10 @@ export declare namespace ConversationFlowUpdateParams {
4853
4946
  finetune_transition_examples?: Array<ConversationNode.FinetuneTransitionExample>;
4854
4947
  global_node_setting?: ConversationNode.GlobalNodeSetting;
4855
4948
  interruption_sensitivity?: number;
4949
+ /**
4950
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
4951
+ */
4952
+ knowledge_base_ids?: Array<string> | null;
4856
4953
  model_choice?: ConversationNode.ModelChoice;
4857
4954
  /**
4858
4955
  * Optional name for display purposes
@@ -4918,11 +5015,12 @@ export declare namespace ConversationFlowUpdateParams {
4918
5015
  * Left side of the equation
4919
5016
  */
4920
5017
  left: string;
4921
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5018
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
4922
5019
  /**
4923
- * Right side of the equation
5020
+ * Right side of the equation. The right side of the equation not required when
5021
+ * "exists" or "not_exist" are selected.
4924
5022
  */
4925
- right: string;
5023
+ right?: string;
4926
5024
  }
4927
5025
  }
4928
5026
  }
@@ -5050,7 +5148,7 @@ export declare namespace ConversationFlowUpdateParams {
5050
5148
  /**
5051
5149
  * The LLM model to use
5052
5150
  */
5053
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
5151
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
5054
5152
  /**
5055
5153
  * Type of model choice
5056
5154
  */
@@ -5094,11 +5192,12 @@ export declare namespace ConversationFlowUpdateParams {
5094
5192
  * Left side of the equation
5095
5193
  */
5096
5194
  left: string;
5097
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5195
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5098
5196
  /**
5099
- * Right side of the equation
5197
+ * Right side of the equation. The right side of the equation not required when
5198
+ * "exists" or "not_exist" are selected.
5100
5199
  */
5101
- right: string;
5200
+ right?: string;
5102
5201
  }
5103
5202
  }
5104
5203
  interface UnionMember2 {
@@ -5278,11 +5377,12 @@ export declare namespace ConversationFlowUpdateParams {
5278
5377
  * Left side of the equation
5279
5378
  */
5280
5379
  left: string;
5281
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5380
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5282
5381
  /**
5283
- * Right side of the equation
5382
+ * Right side of the equation. The right side of the equation not required when
5383
+ * "exists" or "not_exist" are selected.
5284
5384
  */
5285
- right: string;
5385
+ right?: string;
5286
5386
  }
5287
5387
  }
5288
5388
  }
@@ -5403,7 +5503,7 @@ export declare namespace ConversationFlowUpdateParams {
5403
5503
  /**
5404
5504
  * The LLM model to use
5405
5505
  */
5406
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
5506
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
5407
5507
  /**
5408
5508
  * Type of model choice
5409
5509
  */
@@ -5478,11 +5578,12 @@ export declare namespace ConversationFlowUpdateParams {
5478
5578
  * Left side of the equation
5479
5579
  */
5480
5580
  left: string;
5481
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5581
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5482
5582
  /**
5483
- * Right side of the equation
5583
+ * Right side of the equation. The right side of the equation not required when
5584
+ * "exists" or "not_exist" are selected.
5484
5585
  */
5485
- right: string;
5586
+ right?: string;
5486
5587
  }
5487
5588
  }
5488
5589
  interface UnionMember2 {
@@ -5503,6 +5604,11 @@ export declare namespace ConversationFlowUpdateParams {
5503
5604
  * The type of transfer destination.
5504
5605
  */
5505
5606
  type: 'predefined';
5607
+ /**
5608
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
5609
+ * digits, '\*', '#'.
5610
+ */
5611
+ extension?: string;
5506
5612
  }
5507
5613
  interface TransferDestinationInferred {
5508
5614
  /**
@@ -5668,7 +5774,7 @@ export declare namespace ConversationFlowUpdateParams {
5668
5774
  /**
5669
5775
  * The LLM model to use
5670
5776
  */
5671
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
5777
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
5672
5778
  /**
5673
5779
  * Type of model choice
5674
5780
  */
@@ -5754,11 +5860,12 @@ export declare namespace ConversationFlowUpdateParams {
5754
5860
  * Left side of the equation
5755
5861
  */
5756
5862
  left: string;
5757
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5863
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5758
5864
  /**
5759
- * Right side of the equation
5865
+ * Right side of the equation. The right side of the equation not required when
5866
+ * "exists" or "not_exist" are selected.
5760
5867
  */
5761
- right: string;
5868
+ right?: string;
5762
5869
  }
5763
5870
  }
5764
5871
  }
@@ -5859,7 +5966,7 @@ export declare namespace ConversationFlowUpdateParams {
5859
5966
  /**
5860
5967
  * The LLM model to use
5861
5968
  */
5862
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
5969
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
5863
5970
  /**
5864
5971
  * Type of model choice
5865
5972
  */
@@ -5927,11 +6034,12 @@ export declare namespace ConversationFlowUpdateParams {
5927
6034
  * Left side of the equation
5928
6035
  */
5929
6036
  left: string;
5930
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6037
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5931
6038
  /**
5932
- * Right side of the equation
6039
+ * Right side of the equation. The right side of the equation not required when
6040
+ * "exists" or "not_exist" are selected.
5933
6041
  */
5934
- right: string;
6042
+ right?: string;
5935
6043
  }
5936
6044
  }
5937
6045
  interface UnionMember2 {
@@ -5979,11 +6087,12 @@ export declare namespace ConversationFlowUpdateParams {
5979
6087
  * Left side of the equation
5980
6088
  */
5981
6089
  left: string;
5982
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6090
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
5983
6091
  /**
5984
- * Right side of the equation
6092
+ * Right side of the equation. The right side of the equation not required when
6093
+ * "exists" or "not_exist" are selected.
5985
6094
  */
5986
- right: string;
6095
+ right?: string;
5987
6096
  }
5988
6097
  }
5989
6098
  }
@@ -6138,11 +6247,12 @@ export declare namespace ConversationFlowUpdateParams {
6138
6247
  * Left side of the equation
6139
6248
  */
6140
6249
  left: string;
6141
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6250
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
6142
6251
  /**
6143
- * Right side of the equation
6252
+ * Right side of the equation. The right side of the equation not required when
6253
+ * "exists" or "not_exist" are selected.
6144
6254
  */
6145
- right: string;
6255
+ right?: string;
6146
6256
  }
6147
6257
  }
6148
6258
  interface UnionMember2 {
@@ -6207,11 +6317,12 @@ export declare namespace ConversationFlowUpdateParams {
6207
6317
  * Left side of the equation
6208
6318
  */
6209
6319
  left: string;
6210
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6320
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
6211
6321
  /**
6212
- * Right side of the equation
6322
+ * Right side of the equation. The right side of the equation not required when
6323
+ * "exists" or "not_exist" are selected.
6213
6324
  */
6214
- right: string;
6325
+ right?: string;
6215
6326
  }
6216
6327
  }
6217
6328
  interface UnionMember2 {
@@ -6417,11 +6528,12 @@ export declare namespace ConversationFlowUpdateParams {
6417
6528
  * Left side of the equation
6418
6529
  */
6419
6530
  left: string;
6420
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6531
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
6421
6532
  /**
6422
- * Right side of the equation
6533
+ * Right side of the equation. The right side of the equation not required when
6534
+ * "exists" or "not_exist" are selected.
6423
6535
  */
6424
- right: string;
6536
+ right?: string;
6425
6537
  }
6426
6538
  }
6427
6539
  }
@@ -6522,7 +6634,7 @@ export declare namespace ConversationFlowUpdateParams {
6522
6634
  /**
6523
6635
  * The LLM model to use
6524
6636
  */
6525
- model: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite';
6637
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
6526
6638
  /**
6527
6639
  * Type of model choice
6528
6640
  */
@@ -6607,11 +6719,12 @@ export declare namespace ConversationFlowUpdateParams {
6607
6719
  * Left side of the equation
6608
6720
  */
6609
6721
  left: string;
6610
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6722
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
6611
6723
  /**
6612
- * Right side of the equation
6724
+ * Right side of the equation. The right side of the equation not required when
6725
+ * "exists" or "not_exist" are selected.
6613
6726
  */
6614
- right: string;
6727
+ right?: string;
6615
6728
  }
6616
6729
  }
6617
6730
  interface UnionMember2 {
@@ -6779,11 +6892,12 @@ export declare namespace ConversationFlowUpdateParams {
6779
6892
  * Left side of the equation
6780
6893
  */
6781
6894
  left: string;
6782
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6895
+ operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains' | 'exists' | 'not_exist';
6783
6896
  /**
6784
- * Right side of the equation
6897
+ * Right side of the equation. The right side of the equation not required when
6898
+ * "exists" or "not_exist" are selected.
6785
6899
  */
6786
- right: string;
6900
+ right?: string;
6787
6901
  }
6788
6902
  }
6789
6903
  }