retell-sdk 4.42.0 → 4.44.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.
@@ -13,7 +13,7 @@ export class ConversationFlow extends APIResource {
13
13
  * ```ts
14
14
  * const conversationFlowResponse =
15
15
  * await client.conversationFlow.create({
16
- * model_choice: { model: 'gpt-4o', type: 'cascading' },
16
+ * model_choice: { model: 'gpt-5', type: 'cascading' },
17
17
  * nodes: [
18
18
  * {
19
19
  * id: 'start',
@@ -159,6 +159,11 @@ export interface ConversationFlowResponse {
159
159
  */
160
160
  global_prompt?: string | null;
161
161
 
162
+ /**
163
+ * Knowledge base configuration for RAG retrieval.
164
+ */
165
+ kb_config?: ConversationFlowResponse.KBConfig;
166
+
162
167
  /**
163
168
  * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
164
169
  */
@@ -232,6 +237,21 @@ export namespace ConversationFlowResponse {
232
237
  y?: number;
233
238
  }
234
239
 
240
+ /**
241
+ * Knowledge base configuration for RAG retrieval.
242
+ */
243
+ export interface KBConfig {
244
+ /**
245
+ * Similarity threshold for filtering search results
246
+ */
247
+ filter_score?: number;
248
+
249
+ /**
250
+ * Max number of knowledge base chunks to retrieve
251
+ */
252
+ top_k?: number;
253
+ }
254
+
235
255
  export interface Mcp {
236
256
  name: string;
237
257
 
@@ -265,6 +285,9 @@ export namespace ConversationFlowResponse {
265
285
  * The LLM model to use
266
286
  */
267
287
  model:
288
+ | 'gpt-5'
289
+ | 'gpt-5-mini'
290
+ | 'gpt-5-nano'
268
291
  | 'gpt-4o'
269
292
  | 'gpt-4o-mini'
270
293
  | 'gpt-4.1'
@@ -273,7 +296,9 @@ export namespace ConversationFlowResponse {
273
296
  | 'claude-3.7-sonnet'
274
297
  | 'claude-3.5-haiku'
275
298
  | 'gemini-2.0-flash'
276
- | 'gemini-2.0-flash-lite';
299
+ | 'gemini-2.0-flash-lite'
300
+ | 'gemini-2.5-flash'
301
+ | 'gemini-2.5-flash-lite';
277
302
 
278
303
  /**
279
304
  * Type of model choice
@@ -314,6 +339,11 @@ export namespace ConversationFlowResponse {
314
339
 
315
340
  interruption_sensitivity?: number;
316
341
 
342
+ /**
343
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
344
+ */
345
+ knowledge_base_ids?: Array<string> | null;
346
+
317
347
  model_choice?: ConversationNode.ModelChoice;
318
348
 
319
349
  /**
@@ -397,12 +427,23 @@ export namespace ConversationFlowResponse {
397
427
  */
398
428
  left: string;
399
429
 
400
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
430
+ operator:
431
+ | '=='
432
+ | '!='
433
+ | '>'
434
+ | '>='
435
+ | '<'
436
+ | '<='
437
+ | 'contains'
438
+ | 'not_contains'
439
+ | 'exists'
440
+ | 'not_exist';
401
441
 
402
442
  /**
403
- * Right side of the equation
443
+ * Right side of the equation. The right side of the equation not required when
444
+ * "exists" or "not_exist" are selected.
404
445
  */
405
- right: string;
446
+ right?: string;
406
447
  }
407
448
  }
408
449
  }
@@ -594,6 +635,9 @@ export namespace ConversationFlowResponse {
594
635
  * The LLM model to use
595
636
  */
596
637
  model:
638
+ | 'gpt-5'
639
+ | 'gpt-5-mini'
640
+ | 'gpt-5-nano'
597
641
  | 'gpt-4o'
598
642
  | 'gpt-4o-mini'
599
643
  | 'gpt-4.1'
@@ -602,7 +646,9 @@ export namespace ConversationFlowResponse {
602
646
  | 'claude-3.7-sonnet'
603
647
  | 'claude-3.5-haiku'
604
648
  | 'gemini-2.0-flash'
605
- | 'gemini-2.0-flash-lite';
649
+ | 'gemini-2.0-flash-lite'
650
+ | 'gemini-2.5-flash'
651
+ | 'gemini-2.5-flash-lite';
606
652
 
607
653
  /**
608
654
  * Type of model choice
@@ -662,12 +708,23 @@ export namespace ConversationFlowResponse {
662
708
  */
663
709
  left: string;
664
710
 
665
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
711
+ operator:
712
+ | '=='
713
+ | '!='
714
+ | '>'
715
+ | '>='
716
+ | '<'
717
+ | '<='
718
+ | 'contains'
719
+ | 'not_contains'
720
+ | 'exists'
721
+ | 'not_exist';
666
722
 
667
723
  /**
668
- * Right side of the equation
724
+ * Right side of the equation. The right side of the equation not required when
725
+ * "exists" or "not_exist" are selected.
669
726
  */
670
- right: string;
727
+ right?: string;
671
728
  }
672
729
  }
673
730
 
@@ -913,12 +970,23 @@ export namespace ConversationFlowResponse {
913
970
  */
914
971
  left: string;
915
972
 
916
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
973
+ operator:
974
+ | '=='
975
+ | '!='
976
+ | '>'
977
+ | '>='
978
+ | '<'
979
+ | '<='
980
+ | 'contains'
981
+ | 'not_contains'
982
+ | 'exists'
983
+ | 'not_exist';
917
984
 
918
985
  /**
919
- * Right side of the equation
986
+ * Right side of the equation. The right side of the equation not required when
987
+ * "exists" or "not_exist" are selected.
920
988
  */
921
- right: string;
989
+ right?: string;
922
990
  }
923
991
  }
924
992
  }
@@ -1092,6 +1160,9 @@ export namespace ConversationFlowResponse {
1092
1160
  * The LLM model to use
1093
1161
  */
1094
1162
  model:
1163
+ | 'gpt-5'
1164
+ | 'gpt-5-mini'
1165
+ | 'gpt-5-nano'
1095
1166
  | 'gpt-4o'
1096
1167
  | 'gpt-4o-mini'
1097
1168
  | 'gpt-4.1'
@@ -1100,7 +1171,9 @@ export namespace ConversationFlowResponse {
1100
1171
  | 'claude-3.7-sonnet'
1101
1172
  | 'claude-3.5-haiku'
1102
1173
  | 'gemini-2.0-flash'
1103
- | 'gemini-2.0-flash-lite';
1174
+ | 'gemini-2.0-flash-lite'
1175
+ | 'gemini-2.5-flash'
1176
+ | 'gemini-2.5-flash-lite';
1104
1177
 
1105
1178
  /**
1106
1179
  * Type of model choice
@@ -1200,12 +1273,23 @@ export namespace ConversationFlowResponse {
1200
1273
  */
1201
1274
  left: string;
1202
1275
 
1203
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1276
+ operator:
1277
+ | '=='
1278
+ | '!='
1279
+ | '>'
1280
+ | '>='
1281
+ | '<'
1282
+ | '<='
1283
+ | 'contains'
1284
+ | 'not_contains'
1285
+ | 'exists'
1286
+ | 'not_exist';
1204
1287
 
1205
1288
  /**
1206
- * Right side of the equation
1289
+ * Right side of the equation. The right side of the equation not required when
1290
+ * "exists" or "not_exist" are selected.
1207
1291
  */
1208
- right: string;
1292
+ right?: string;
1209
1293
  }
1210
1294
  }
1211
1295
 
@@ -1230,6 +1314,12 @@ export namespace ConversationFlowResponse {
1230
1314
  * The type of transfer destination.
1231
1315
  */
1232
1316
  type: 'predefined';
1317
+
1318
+ /**
1319
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
1320
+ * digits, '\*', '#'.
1321
+ */
1322
+ extension?: string;
1233
1323
  }
1234
1324
 
1235
1325
  export interface TransferDestinationInferred {
@@ -1453,6 +1543,9 @@ export namespace ConversationFlowResponse {
1453
1543
  * The LLM model to use
1454
1544
  */
1455
1545
  model:
1546
+ | 'gpt-5'
1547
+ | 'gpt-5-mini'
1548
+ | 'gpt-5-nano'
1456
1549
  | 'gpt-4o'
1457
1550
  | 'gpt-4o-mini'
1458
1551
  | 'gpt-4.1'
@@ -1461,7 +1554,9 @@ export namespace ConversationFlowResponse {
1461
1554
  | 'claude-3.7-sonnet'
1462
1555
  | 'claude-3.5-haiku'
1463
1556
  | 'gemini-2.0-flash'
1464
- | 'gemini-2.0-flash-lite';
1557
+ | 'gemini-2.0-flash-lite'
1558
+ | 'gemini-2.5-flash'
1559
+ | 'gemini-2.5-flash-lite';
1465
1560
 
1466
1561
  /**
1467
1562
  * Type of model choice
@@ -1573,12 +1668,23 @@ export namespace ConversationFlowResponse {
1573
1668
  */
1574
1669
  left: string;
1575
1670
 
1576
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1671
+ operator:
1672
+ | '=='
1673
+ | '!='
1674
+ | '>'
1675
+ | '>='
1676
+ | '<'
1677
+ | '<='
1678
+ | 'contains'
1679
+ | 'not_contains'
1680
+ | 'exists'
1681
+ | 'not_exist';
1577
1682
 
1578
1683
  /**
1579
- * Right side of the equation
1684
+ * Right side of the equation. The right side of the equation not required when
1685
+ * "exists" or "not_exist" are selected.
1580
1686
  */
1581
- right: string;
1687
+ right?: string;
1582
1688
  }
1583
1689
  }
1584
1690
  }
@@ -1728,6 +1834,9 @@ export namespace ConversationFlowResponse {
1728
1834
  * The LLM model to use
1729
1835
  */
1730
1836
  model:
1837
+ | 'gpt-5'
1838
+ | 'gpt-5-mini'
1839
+ | 'gpt-5-nano'
1731
1840
  | 'gpt-4o'
1732
1841
  | 'gpt-4o-mini'
1733
1842
  | 'gpt-4.1'
@@ -1736,7 +1845,9 @@ export namespace ConversationFlowResponse {
1736
1845
  | 'claude-3.7-sonnet'
1737
1846
  | 'claude-3.5-haiku'
1738
1847
  | 'gemini-2.0-flash'
1739
- | 'gemini-2.0-flash-lite';
1848
+ | 'gemini-2.0-flash-lite'
1849
+ | 'gemini-2.5-flash'
1850
+ | 'gemini-2.5-flash-lite';
1740
1851
 
1741
1852
  /**
1742
1853
  * Type of model choice
@@ -1825,12 +1936,23 @@ export namespace ConversationFlowResponse {
1825
1936
  */
1826
1937
  left: string;
1827
1938
 
1828
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
1939
+ operator:
1940
+ | '=='
1941
+ | '!='
1942
+ | '>'
1943
+ | '>='
1944
+ | '<'
1945
+ | '<='
1946
+ | 'contains'
1947
+ | 'not_contains'
1948
+ | 'exists'
1949
+ | 'not_exist';
1829
1950
 
1830
1951
  /**
1831
- * Right side of the equation
1952
+ * Right side of the equation. The right side of the equation not required when
1953
+ * "exists" or "not_exist" are selected.
1832
1954
  */
1833
- right: string;
1955
+ right?: string;
1834
1956
  }
1835
1957
  }
1836
1958
 
@@ -1892,12 +2014,23 @@ export namespace ConversationFlowResponse {
1892
2014
  */
1893
2015
  left: string;
1894
2016
 
1895
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2017
+ operator:
2018
+ | '=='
2019
+ | '!='
2020
+ | '>'
2021
+ | '>='
2022
+ | '<'
2023
+ | '<='
2024
+ | 'contains'
2025
+ | 'not_contains'
2026
+ | 'exists'
2027
+ | 'not_exist';
1896
2028
 
1897
2029
  /**
1898
- * Right side of the equation
2030
+ * Right side of the equation. The right side of the equation not required when
2031
+ * "exists" or "not_exist" are selected.
1899
2032
  */
1900
- right: string;
2033
+ right?: string;
1901
2034
  }
1902
2035
  }
1903
2036
  }
@@ -2121,12 +2254,23 @@ export namespace ConversationFlowResponse {
2121
2254
  */
2122
2255
  left: string;
2123
2256
 
2124
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2257
+ operator:
2258
+ | '=='
2259
+ | '!='
2260
+ | '>'
2261
+ | '>='
2262
+ | '<'
2263
+ | '<='
2264
+ | 'contains'
2265
+ | 'not_contains'
2266
+ | 'exists'
2267
+ | 'not_exist';
2125
2268
 
2126
2269
  /**
2127
- * Right side of the equation
2270
+ * Right side of the equation. The right side of the equation not required when
2271
+ * "exists" or "not_exist" are selected.
2128
2272
  */
2129
- right: string;
2273
+ right?: string;
2130
2274
  }
2131
2275
  }
2132
2276
 
@@ -2211,12 +2355,23 @@ export namespace ConversationFlowResponse {
2211
2355
  */
2212
2356
  left: string;
2213
2357
 
2214
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2358
+ operator:
2359
+ | '=='
2360
+ | '!='
2361
+ | '>'
2362
+ | '>='
2363
+ | '<'
2364
+ | '<='
2365
+ | 'contains'
2366
+ | 'not_contains'
2367
+ | 'exists'
2368
+ | 'not_exist';
2215
2369
 
2216
2370
  /**
2217
- * Right side of the equation
2371
+ * Right side of the equation. The right side of the equation not required when
2372
+ * "exists" or "not_exist" are selected.
2218
2373
  */
2219
- right: string;
2374
+ right?: string;
2220
2375
  }
2221
2376
  }
2222
2377
 
@@ -2497,12 +2652,23 @@ export namespace ConversationFlowResponse {
2497
2652
  */
2498
2653
  left: string;
2499
2654
 
2500
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2655
+ operator:
2656
+ | '=='
2657
+ | '!='
2658
+ | '>'
2659
+ | '>='
2660
+ | '<'
2661
+ | '<='
2662
+ | 'contains'
2663
+ | 'not_contains'
2664
+ | 'exists'
2665
+ | 'not_exist';
2501
2666
 
2502
2667
  /**
2503
- * Right side of the equation
2668
+ * Right side of the equation. The right side of the equation not required when
2669
+ * "exists" or "not_exist" are selected.
2504
2670
  */
2505
- right: string;
2671
+ right?: string;
2506
2672
  }
2507
2673
  }
2508
2674
  }
@@ -2652,6 +2818,9 @@ export namespace ConversationFlowResponse {
2652
2818
  * The LLM model to use
2653
2819
  */
2654
2820
  model:
2821
+ | 'gpt-5'
2822
+ | 'gpt-5-mini'
2823
+ | 'gpt-5-nano'
2655
2824
  | 'gpt-4o'
2656
2825
  | 'gpt-4o-mini'
2657
2826
  | 'gpt-4.1'
@@ -2660,7 +2829,9 @@ export namespace ConversationFlowResponse {
2660
2829
  | 'claude-3.7-sonnet'
2661
2830
  | 'claude-3.5-haiku'
2662
2831
  | 'gemini-2.0-flash'
2663
- | 'gemini-2.0-flash-lite';
2832
+ | 'gemini-2.0-flash-lite'
2833
+ | 'gemini-2.5-flash'
2834
+ | 'gemini-2.5-flash-lite';
2664
2835
 
2665
2836
  /**
2666
2837
  * Type of model choice
@@ -2767,12 +2938,23 @@ export namespace ConversationFlowResponse {
2767
2938
  */
2768
2939
  left: string;
2769
2940
 
2770
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
2941
+ operator:
2942
+ | '=='
2943
+ | '!='
2944
+ | '>'
2945
+ | '>='
2946
+ | '<'
2947
+ | '<='
2948
+ | 'contains'
2949
+ | 'not_contains'
2950
+ | 'exists'
2951
+ | 'not_exist';
2771
2952
 
2772
2953
  /**
2773
- * Right side of the equation
2954
+ * Right side of the equation. The right side of the equation not required when
2955
+ * "exists" or "not_exist" are selected.
2774
2956
  */
2775
- right: string;
2957
+ right?: string;
2776
2958
  }
2777
2959
  }
2778
2960
 
@@ -2999,12 +3181,23 @@ export namespace ConversationFlowResponse {
2999
3181
  */
3000
3182
  left: string;
3001
3183
 
3002
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3184
+ operator:
3185
+ | '=='
3186
+ | '!='
3187
+ | '>'
3188
+ | '>='
3189
+ | '<'
3190
+ | '<='
3191
+ | 'contains'
3192
+ | 'not_contains'
3193
+ | 'exists'
3194
+ | 'not_exist';
3003
3195
 
3004
3196
  /**
3005
- * Right side of the equation
3197
+ * Right side of the equation. The right side of the equation not required when
3198
+ * "exists" or "not_exist" are selected.
3006
3199
  */
3007
- right: string;
3200
+ right?: string;
3008
3201
  }
3009
3202
  }
3010
3203
  }
@@ -3388,6 +3581,11 @@ export interface ConversationFlowCreateParams {
3388
3581
  */
3389
3582
  global_prompt?: string | null;
3390
3583
 
3584
+ /**
3585
+ * Knowledge base configuration for RAG retrieval.
3586
+ */
3587
+ kb_config?: ConversationFlowCreateParams.KBConfig;
3588
+
3391
3589
  /**
3392
3590
  * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
3393
3591
  */
@@ -3434,6 +3632,9 @@ export namespace ConversationFlowCreateParams {
3434
3632
  * The LLM model to use
3435
3633
  */
3436
3634
  model:
3635
+ | 'gpt-5'
3636
+ | 'gpt-5-mini'
3637
+ | 'gpt-5-nano'
3437
3638
  | 'gpt-4o'
3438
3639
  | 'gpt-4o-mini'
3439
3640
  | 'gpt-4.1'
@@ -3442,7 +3643,9 @@ export namespace ConversationFlowCreateParams {
3442
3643
  | 'claude-3.7-sonnet'
3443
3644
  | 'claude-3.5-haiku'
3444
3645
  | 'gemini-2.0-flash'
3445
- | 'gemini-2.0-flash-lite';
3646
+ | 'gemini-2.0-flash-lite'
3647
+ | 'gemini-2.5-flash'
3648
+ | 'gemini-2.5-flash-lite';
3446
3649
 
3447
3650
  /**
3448
3651
  * Type of model choice
@@ -3483,6 +3686,11 @@ export namespace ConversationFlowCreateParams {
3483
3686
 
3484
3687
  interruption_sensitivity?: number;
3485
3688
 
3689
+ /**
3690
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
3691
+ */
3692
+ knowledge_base_ids?: Array<string> | null;
3693
+
3486
3694
  model_choice?: ConversationNode.ModelChoice;
3487
3695
 
3488
3696
  /**
@@ -3566,12 +3774,23 @@ export namespace ConversationFlowCreateParams {
3566
3774
  */
3567
3775
  left: string;
3568
3776
 
3569
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
3777
+ operator:
3778
+ | '=='
3779
+ | '!='
3780
+ | '>'
3781
+ | '>='
3782
+ | '<'
3783
+ | '<='
3784
+ | 'contains'
3785
+ | 'not_contains'
3786
+ | 'exists'
3787
+ | 'not_exist';
3570
3788
 
3571
3789
  /**
3572
- * Right side of the equation
3790
+ * Right side of the equation. The right side of the equation not required when
3791
+ * "exists" or "not_exist" are selected.
3573
3792
  */
3574
- right: string;
3793
+ right?: string;
3575
3794
  }
3576
3795
  }
3577
3796
  }
@@ -3763,6 +3982,9 @@ export namespace ConversationFlowCreateParams {
3763
3982
  * The LLM model to use
3764
3983
  */
3765
3984
  model:
3985
+ | 'gpt-5'
3986
+ | 'gpt-5-mini'
3987
+ | 'gpt-5-nano'
3766
3988
  | 'gpt-4o'
3767
3989
  | 'gpt-4o-mini'
3768
3990
  | 'gpt-4.1'
@@ -3771,7 +3993,9 @@ export namespace ConversationFlowCreateParams {
3771
3993
  | 'claude-3.7-sonnet'
3772
3994
  | 'claude-3.5-haiku'
3773
3995
  | 'gemini-2.0-flash'
3774
- | 'gemini-2.0-flash-lite';
3996
+ | 'gemini-2.0-flash-lite'
3997
+ | 'gemini-2.5-flash'
3998
+ | 'gemini-2.5-flash-lite';
3775
3999
 
3776
4000
  /**
3777
4001
  * Type of model choice
@@ -3831,12 +4055,23 @@ export namespace ConversationFlowCreateParams {
3831
4055
  */
3832
4056
  left: string;
3833
4057
 
3834
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4058
+ operator:
4059
+ | '=='
4060
+ | '!='
4061
+ | '>'
4062
+ | '>='
4063
+ | '<'
4064
+ | '<='
4065
+ | 'contains'
4066
+ | 'not_contains'
4067
+ | 'exists'
4068
+ | 'not_exist';
3835
4069
 
3836
4070
  /**
3837
- * Right side of the equation
4071
+ * Right side of the equation. The right side of the equation not required when
4072
+ * "exists" or "not_exist" are selected.
3838
4073
  */
3839
- right: string;
4074
+ right?: string;
3840
4075
  }
3841
4076
  }
3842
4077
 
@@ -4082,12 +4317,23 @@ export namespace ConversationFlowCreateParams {
4082
4317
  */
4083
4318
  left: string;
4084
4319
 
4085
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4320
+ operator:
4321
+ | '=='
4322
+ | '!='
4323
+ | '>'
4324
+ | '>='
4325
+ | '<'
4326
+ | '<='
4327
+ | 'contains'
4328
+ | 'not_contains'
4329
+ | 'exists'
4330
+ | 'not_exist';
4086
4331
 
4087
4332
  /**
4088
- * Right side of the equation
4333
+ * Right side of the equation. The right side of the equation not required when
4334
+ * "exists" or "not_exist" are selected.
4089
4335
  */
4090
- right: string;
4336
+ right?: string;
4091
4337
  }
4092
4338
  }
4093
4339
  }
@@ -4261,6 +4507,9 @@ export namespace ConversationFlowCreateParams {
4261
4507
  * The LLM model to use
4262
4508
  */
4263
4509
  model:
4510
+ | 'gpt-5'
4511
+ | 'gpt-5-mini'
4512
+ | 'gpt-5-nano'
4264
4513
  | 'gpt-4o'
4265
4514
  | 'gpt-4o-mini'
4266
4515
  | 'gpt-4.1'
@@ -4269,7 +4518,9 @@ export namespace ConversationFlowCreateParams {
4269
4518
  | 'claude-3.7-sonnet'
4270
4519
  | 'claude-3.5-haiku'
4271
4520
  | 'gemini-2.0-flash'
4272
- | 'gemini-2.0-flash-lite';
4521
+ | 'gemini-2.0-flash-lite'
4522
+ | 'gemini-2.5-flash'
4523
+ | 'gemini-2.5-flash-lite';
4273
4524
 
4274
4525
  /**
4275
4526
  * Type of model choice
@@ -4369,12 +4620,23 @@ export namespace ConversationFlowCreateParams {
4369
4620
  */
4370
4621
  left: string;
4371
4622
 
4372
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
4623
+ operator:
4624
+ | '=='
4625
+ | '!='
4626
+ | '>'
4627
+ | '>='
4628
+ | '<'
4629
+ | '<='
4630
+ | 'contains'
4631
+ | 'not_contains'
4632
+ | 'exists'
4633
+ | 'not_exist';
4373
4634
 
4374
4635
  /**
4375
- * Right side of the equation
4636
+ * Right side of the equation. The right side of the equation not required when
4637
+ * "exists" or "not_exist" are selected.
4376
4638
  */
4377
- right: string;
4639
+ right?: string;
4378
4640
  }
4379
4641
  }
4380
4642
 
@@ -4399,6 +4661,12 @@ export namespace ConversationFlowCreateParams {
4399
4661
  * The type of transfer destination.
4400
4662
  */
4401
4663
  type: 'predefined';
4664
+
4665
+ /**
4666
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
4667
+ * digits, '\*', '#'.
4668
+ */
4669
+ extension?: string;
4402
4670
  }
4403
4671
 
4404
4672
  export interface TransferDestinationInferred {
@@ -4622,6 +4890,9 @@ export namespace ConversationFlowCreateParams {
4622
4890
  * The LLM model to use
4623
4891
  */
4624
4892
  model:
4893
+ | 'gpt-5'
4894
+ | 'gpt-5-mini'
4895
+ | 'gpt-5-nano'
4625
4896
  | 'gpt-4o'
4626
4897
  | 'gpt-4o-mini'
4627
4898
  | 'gpt-4.1'
@@ -4630,7 +4901,9 @@ export namespace ConversationFlowCreateParams {
4630
4901
  | 'claude-3.7-sonnet'
4631
4902
  | 'claude-3.5-haiku'
4632
4903
  | 'gemini-2.0-flash'
4633
- | 'gemini-2.0-flash-lite';
4904
+ | 'gemini-2.0-flash-lite'
4905
+ | 'gemini-2.5-flash'
4906
+ | 'gemini-2.5-flash-lite';
4634
4907
 
4635
4908
  /**
4636
4909
  * Type of model choice
@@ -4742,12 +5015,23 @@ export namespace ConversationFlowCreateParams {
4742
5015
  */
4743
5016
  left: string;
4744
5017
 
4745
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5018
+ operator:
5019
+ | '=='
5020
+ | '!='
5021
+ | '>'
5022
+ | '>='
5023
+ | '<'
5024
+ | '<='
5025
+ | 'contains'
5026
+ | 'not_contains'
5027
+ | 'exists'
5028
+ | 'not_exist';
4746
5029
 
4747
5030
  /**
4748
- * Right side of the equation
5031
+ * Right side of the equation. The right side of the equation not required when
5032
+ * "exists" or "not_exist" are selected.
4749
5033
  */
4750
- right: string;
5034
+ right?: string;
4751
5035
  }
4752
5036
  }
4753
5037
  }
@@ -4897,6 +5181,9 @@ export namespace ConversationFlowCreateParams {
4897
5181
  * The LLM model to use
4898
5182
  */
4899
5183
  model:
5184
+ | 'gpt-5'
5185
+ | 'gpt-5-mini'
5186
+ | 'gpt-5-nano'
4900
5187
  | 'gpt-4o'
4901
5188
  | 'gpt-4o-mini'
4902
5189
  | 'gpt-4.1'
@@ -4905,7 +5192,9 @@ export namespace ConversationFlowCreateParams {
4905
5192
  | 'claude-3.7-sonnet'
4906
5193
  | 'claude-3.5-haiku'
4907
5194
  | 'gemini-2.0-flash'
4908
- | 'gemini-2.0-flash-lite';
5195
+ | 'gemini-2.0-flash-lite'
5196
+ | 'gemini-2.5-flash'
5197
+ | 'gemini-2.5-flash-lite';
4909
5198
 
4910
5199
  /**
4911
5200
  * Type of model choice
@@ -4994,12 +5283,23 @@ export namespace ConversationFlowCreateParams {
4994
5283
  */
4995
5284
  left: string;
4996
5285
 
4997
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5286
+ operator:
5287
+ | '=='
5288
+ | '!='
5289
+ | '>'
5290
+ | '>='
5291
+ | '<'
5292
+ | '<='
5293
+ | 'contains'
5294
+ | 'not_contains'
5295
+ | 'exists'
5296
+ | 'not_exist';
4998
5297
 
4999
5298
  /**
5000
- * Right side of the equation
5299
+ * Right side of the equation. The right side of the equation not required when
5300
+ * "exists" or "not_exist" are selected.
5001
5301
  */
5002
- right: string;
5302
+ right?: string;
5003
5303
  }
5004
5304
  }
5005
5305
 
@@ -5061,12 +5361,23 @@ export namespace ConversationFlowCreateParams {
5061
5361
  */
5062
5362
  left: string;
5063
5363
 
5064
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5364
+ operator:
5365
+ | '=='
5366
+ | '!='
5367
+ | '>'
5368
+ | '>='
5369
+ | '<'
5370
+ | '<='
5371
+ | 'contains'
5372
+ | 'not_contains'
5373
+ | 'exists'
5374
+ | 'not_exist';
5065
5375
 
5066
5376
  /**
5067
- * Right side of the equation
5377
+ * Right side of the equation. The right side of the equation not required when
5378
+ * "exists" or "not_exist" are selected.
5068
5379
  */
5069
- right: string;
5380
+ right?: string;
5070
5381
  }
5071
5382
  }
5072
5383
  }
@@ -5290,12 +5601,23 @@ export namespace ConversationFlowCreateParams {
5290
5601
  */
5291
5602
  left: string;
5292
5603
 
5293
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5604
+ operator:
5605
+ | '=='
5606
+ | '!='
5607
+ | '>'
5608
+ | '>='
5609
+ | '<'
5610
+ | '<='
5611
+ | 'contains'
5612
+ | 'not_contains'
5613
+ | 'exists'
5614
+ | 'not_exist';
5294
5615
 
5295
5616
  /**
5296
- * Right side of the equation
5617
+ * Right side of the equation. The right side of the equation not required when
5618
+ * "exists" or "not_exist" are selected.
5297
5619
  */
5298
- right: string;
5620
+ right?: string;
5299
5621
  }
5300
5622
  }
5301
5623
 
@@ -5380,12 +5702,23 @@ export namespace ConversationFlowCreateParams {
5380
5702
  */
5381
5703
  left: string;
5382
5704
 
5383
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
5705
+ operator:
5706
+ | '=='
5707
+ | '!='
5708
+ | '>'
5709
+ | '>='
5710
+ | '<'
5711
+ | '<='
5712
+ | 'contains'
5713
+ | 'not_contains'
5714
+ | 'exists'
5715
+ | 'not_exist';
5384
5716
 
5385
5717
  /**
5386
- * Right side of the equation
5718
+ * Right side of the equation. The right side of the equation not required when
5719
+ * "exists" or "not_exist" are selected.
5387
5720
  */
5388
- right: string;
5721
+ right?: string;
5389
5722
  }
5390
5723
  }
5391
5724
 
@@ -5666,12 +5999,23 @@ export namespace ConversationFlowCreateParams {
5666
5999
  */
5667
6000
  left: string;
5668
6001
 
5669
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6002
+ operator:
6003
+ | '=='
6004
+ | '!='
6005
+ | '>'
6006
+ | '>='
6007
+ | '<'
6008
+ | '<='
6009
+ | 'contains'
6010
+ | 'not_contains'
6011
+ | 'exists'
6012
+ | 'not_exist';
5670
6013
 
5671
6014
  /**
5672
- * Right side of the equation
6015
+ * Right side of the equation. The right side of the equation not required when
6016
+ * "exists" or "not_exist" are selected.
5673
6017
  */
5674
- right: string;
6018
+ right?: string;
5675
6019
  }
5676
6020
  }
5677
6021
  }
@@ -5821,6 +6165,9 @@ export namespace ConversationFlowCreateParams {
5821
6165
  * The LLM model to use
5822
6166
  */
5823
6167
  model:
6168
+ | 'gpt-5'
6169
+ | 'gpt-5-mini'
6170
+ | 'gpt-5-nano'
5824
6171
  | 'gpt-4o'
5825
6172
  | 'gpt-4o-mini'
5826
6173
  | 'gpt-4.1'
@@ -5829,7 +6176,9 @@ export namespace ConversationFlowCreateParams {
5829
6176
  | 'claude-3.7-sonnet'
5830
6177
  | 'claude-3.5-haiku'
5831
6178
  | 'gemini-2.0-flash'
5832
- | 'gemini-2.0-flash-lite';
6179
+ | 'gemini-2.0-flash-lite'
6180
+ | 'gemini-2.5-flash'
6181
+ | 'gemini-2.5-flash-lite';
5833
6182
 
5834
6183
  /**
5835
6184
  * Type of model choice
@@ -5936,12 +6285,23 @@ export namespace ConversationFlowCreateParams {
5936
6285
  */
5937
6286
  left: string;
5938
6287
 
5939
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6288
+ operator:
6289
+ | '=='
6290
+ | '!='
6291
+ | '>'
6292
+ | '>='
6293
+ | '<'
6294
+ | '<='
6295
+ | 'contains'
6296
+ | 'not_contains'
6297
+ | 'exists'
6298
+ | 'not_exist';
5940
6299
 
5941
6300
  /**
5942
- * Right side of the equation
6301
+ * Right side of the equation. The right side of the equation not required when
6302
+ * "exists" or "not_exist" are selected.
5943
6303
  */
5944
- right: string;
6304
+ right?: string;
5945
6305
  }
5946
6306
  }
5947
6307
 
@@ -6168,12 +6528,23 @@ export namespace ConversationFlowCreateParams {
6168
6528
  */
6169
6529
  left: string;
6170
6530
 
6171
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
6531
+ operator:
6532
+ | '=='
6533
+ | '!='
6534
+ | '>'
6535
+ | '>='
6536
+ | '<'
6537
+ | '<='
6538
+ | 'contains'
6539
+ | 'not_contains'
6540
+ | 'exists'
6541
+ | 'not_exist';
6172
6542
 
6173
6543
  /**
6174
- * Right side of the equation
6544
+ * Right side of the equation. The right side of the equation not required when
6545
+ * "exists" or "not_exist" are selected.
6175
6546
  */
6176
- right: string;
6547
+ right?: string;
6177
6548
  }
6178
6549
  }
6179
6550
  }
@@ -6352,6 +6723,21 @@ export namespace ConversationFlowCreateParams {
6352
6723
  y?: number;
6353
6724
  }
6354
6725
 
6726
+ /**
6727
+ * Knowledge base configuration for RAG retrieval.
6728
+ */
6729
+ export interface KBConfig {
6730
+ /**
6731
+ * Similarity threshold for filtering search results
6732
+ */
6733
+ filter_score?: number;
6734
+
6735
+ /**
6736
+ * Max number of knowledge base chunks to retrieve
6737
+ */
6738
+ top_k?: number;
6739
+ }
6740
+
6355
6741
  export interface Mcp {
6356
6742
  name: string;
6357
6743
 
@@ -6572,6 +6958,11 @@ export interface ConversationFlowUpdateParams {
6572
6958
  */
6573
6959
  global_prompt?: string | null;
6574
6960
 
6961
+ /**
6962
+ * Body param: Knowledge base configuration for RAG retrieval.
6963
+ */
6964
+ kb_config?: ConversationFlowUpdateParams.KBConfig;
6965
+
6575
6966
  /**
6576
6967
  * Body param: Knowledge base IDs for RAG (Retrieval-Augmented Generation).
6577
6968
  */
@@ -6646,6 +7037,21 @@ export namespace ConversationFlowUpdateParams {
6646
7037
  y?: number;
6647
7038
  }
6648
7039
 
7040
+ /**
7041
+ * Knowledge base configuration for RAG retrieval.
7042
+ */
7043
+ export interface KBConfig {
7044
+ /**
7045
+ * Similarity threshold for filtering search results
7046
+ */
7047
+ filter_score?: number;
7048
+
7049
+ /**
7050
+ * Max number of knowledge base chunks to retrieve
7051
+ */
7052
+ top_k?: number;
7053
+ }
7054
+
6649
7055
  export interface Mcp {
6650
7056
  name: string;
6651
7057
 
@@ -6679,6 +7085,9 @@ export namespace ConversationFlowUpdateParams {
6679
7085
  * The LLM model to use
6680
7086
  */
6681
7087
  model:
7088
+ | 'gpt-5'
7089
+ | 'gpt-5-mini'
7090
+ | 'gpt-5-nano'
6682
7091
  | 'gpt-4o'
6683
7092
  | 'gpt-4o-mini'
6684
7093
  | 'gpt-4.1'
@@ -6687,7 +7096,9 @@ export namespace ConversationFlowUpdateParams {
6687
7096
  | 'claude-3.7-sonnet'
6688
7097
  | 'claude-3.5-haiku'
6689
7098
  | 'gemini-2.0-flash'
6690
- | 'gemini-2.0-flash-lite';
7099
+ | 'gemini-2.0-flash-lite'
7100
+ | 'gemini-2.5-flash'
7101
+ | 'gemini-2.5-flash-lite';
6691
7102
 
6692
7103
  /**
6693
7104
  * Type of model choice
@@ -6728,6 +7139,11 @@ export namespace ConversationFlowUpdateParams {
6728
7139
 
6729
7140
  interruption_sensitivity?: number;
6730
7141
 
7142
+ /**
7143
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
7144
+ */
7145
+ knowledge_base_ids?: Array<string> | null;
7146
+
6731
7147
  model_choice?: ConversationNode.ModelChoice;
6732
7148
 
6733
7149
  /**
@@ -6811,12 +7227,23 @@ export namespace ConversationFlowUpdateParams {
6811
7227
  */
6812
7228
  left: string;
6813
7229
 
6814
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
7230
+ operator:
7231
+ | '=='
7232
+ | '!='
7233
+ | '>'
7234
+ | '>='
7235
+ | '<'
7236
+ | '<='
7237
+ | 'contains'
7238
+ | 'not_contains'
7239
+ | 'exists'
7240
+ | 'not_exist';
6815
7241
 
6816
7242
  /**
6817
- * Right side of the equation
7243
+ * Right side of the equation. The right side of the equation not required when
7244
+ * "exists" or "not_exist" are selected.
6818
7245
  */
6819
- right: string;
7246
+ right?: string;
6820
7247
  }
6821
7248
  }
6822
7249
  }
@@ -7008,6 +7435,9 @@ export namespace ConversationFlowUpdateParams {
7008
7435
  * The LLM model to use
7009
7436
  */
7010
7437
  model:
7438
+ | 'gpt-5'
7439
+ | 'gpt-5-mini'
7440
+ | 'gpt-5-nano'
7011
7441
  | 'gpt-4o'
7012
7442
  | 'gpt-4o-mini'
7013
7443
  | 'gpt-4.1'
@@ -7016,7 +7446,9 @@ export namespace ConversationFlowUpdateParams {
7016
7446
  | 'claude-3.7-sonnet'
7017
7447
  | 'claude-3.5-haiku'
7018
7448
  | 'gemini-2.0-flash'
7019
- | 'gemini-2.0-flash-lite';
7449
+ | 'gemini-2.0-flash-lite'
7450
+ | 'gemini-2.5-flash'
7451
+ | 'gemini-2.5-flash-lite';
7020
7452
 
7021
7453
  /**
7022
7454
  * Type of model choice
@@ -7076,12 +7508,23 @@ export namespace ConversationFlowUpdateParams {
7076
7508
  */
7077
7509
  left: string;
7078
7510
 
7079
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
7511
+ operator:
7512
+ | '=='
7513
+ | '!='
7514
+ | '>'
7515
+ | '>='
7516
+ | '<'
7517
+ | '<='
7518
+ | 'contains'
7519
+ | 'not_contains'
7520
+ | 'exists'
7521
+ | 'not_exist';
7080
7522
 
7081
7523
  /**
7082
- * Right side of the equation
7524
+ * Right side of the equation. The right side of the equation not required when
7525
+ * "exists" or "not_exist" are selected.
7083
7526
  */
7084
- right: string;
7527
+ right?: string;
7085
7528
  }
7086
7529
  }
7087
7530
 
@@ -7327,12 +7770,23 @@ export namespace ConversationFlowUpdateParams {
7327
7770
  */
7328
7771
  left: string;
7329
7772
 
7330
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
7773
+ operator:
7774
+ | '=='
7775
+ | '!='
7776
+ | '>'
7777
+ | '>='
7778
+ | '<'
7779
+ | '<='
7780
+ | 'contains'
7781
+ | 'not_contains'
7782
+ | 'exists'
7783
+ | 'not_exist';
7331
7784
 
7332
7785
  /**
7333
- * Right side of the equation
7786
+ * Right side of the equation. The right side of the equation not required when
7787
+ * "exists" or "not_exist" are selected.
7334
7788
  */
7335
- right: string;
7789
+ right?: string;
7336
7790
  }
7337
7791
  }
7338
7792
  }
@@ -7506,6 +7960,9 @@ export namespace ConversationFlowUpdateParams {
7506
7960
  * The LLM model to use
7507
7961
  */
7508
7962
  model:
7963
+ | 'gpt-5'
7964
+ | 'gpt-5-mini'
7965
+ | 'gpt-5-nano'
7509
7966
  | 'gpt-4o'
7510
7967
  | 'gpt-4o-mini'
7511
7968
  | 'gpt-4.1'
@@ -7514,7 +7971,9 @@ export namespace ConversationFlowUpdateParams {
7514
7971
  | 'claude-3.7-sonnet'
7515
7972
  | 'claude-3.5-haiku'
7516
7973
  | 'gemini-2.0-flash'
7517
- | 'gemini-2.0-flash-lite';
7974
+ | 'gemini-2.0-flash-lite'
7975
+ | 'gemini-2.5-flash'
7976
+ | 'gemini-2.5-flash-lite';
7518
7977
 
7519
7978
  /**
7520
7979
  * Type of model choice
@@ -7614,12 +8073,23 @@ export namespace ConversationFlowUpdateParams {
7614
8073
  */
7615
8074
  left: string;
7616
8075
 
7617
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
8076
+ operator:
8077
+ | '=='
8078
+ | '!='
8079
+ | '>'
8080
+ | '>='
8081
+ | '<'
8082
+ | '<='
8083
+ | 'contains'
8084
+ | 'not_contains'
8085
+ | 'exists'
8086
+ | 'not_exist';
7618
8087
 
7619
8088
  /**
7620
- * Right side of the equation
8089
+ * Right side of the equation. The right side of the equation not required when
8090
+ * "exists" or "not_exist" are selected.
7621
8091
  */
7622
- right: string;
8092
+ right?: string;
7623
8093
  }
7624
8094
  }
7625
8095
 
@@ -7644,6 +8114,12 @@ export namespace ConversationFlowUpdateParams {
7644
8114
  * The type of transfer destination.
7645
8115
  */
7646
8116
  type: 'predefined';
8117
+
8118
+ /**
8119
+ * Extension digits to dial after the main number connects. Sent via DTMF. Allow
8120
+ * digits, '\*', '#'.
8121
+ */
8122
+ extension?: string;
7647
8123
  }
7648
8124
 
7649
8125
  export interface TransferDestinationInferred {
@@ -7867,6 +8343,9 @@ export namespace ConversationFlowUpdateParams {
7867
8343
  * The LLM model to use
7868
8344
  */
7869
8345
  model:
8346
+ | 'gpt-5'
8347
+ | 'gpt-5-mini'
8348
+ | 'gpt-5-nano'
7870
8349
  | 'gpt-4o'
7871
8350
  | 'gpt-4o-mini'
7872
8351
  | 'gpt-4.1'
@@ -7875,7 +8354,9 @@ export namespace ConversationFlowUpdateParams {
7875
8354
  | 'claude-3.7-sonnet'
7876
8355
  | 'claude-3.5-haiku'
7877
8356
  | 'gemini-2.0-flash'
7878
- | 'gemini-2.0-flash-lite';
8357
+ | 'gemini-2.0-flash-lite'
8358
+ | 'gemini-2.5-flash'
8359
+ | 'gemini-2.5-flash-lite';
7879
8360
 
7880
8361
  /**
7881
8362
  * Type of model choice
@@ -7987,12 +8468,23 @@ export namespace ConversationFlowUpdateParams {
7987
8468
  */
7988
8469
  left: string;
7989
8470
 
7990
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
8471
+ operator:
8472
+ | '=='
8473
+ | '!='
8474
+ | '>'
8475
+ | '>='
8476
+ | '<'
8477
+ | '<='
8478
+ | 'contains'
8479
+ | 'not_contains'
8480
+ | 'exists'
8481
+ | 'not_exist';
7991
8482
 
7992
8483
  /**
7993
- * Right side of the equation
8484
+ * Right side of the equation. The right side of the equation not required when
8485
+ * "exists" or "not_exist" are selected.
7994
8486
  */
7995
- right: string;
8487
+ right?: string;
7996
8488
  }
7997
8489
  }
7998
8490
  }
@@ -8142,6 +8634,9 @@ export namespace ConversationFlowUpdateParams {
8142
8634
  * The LLM model to use
8143
8635
  */
8144
8636
  model:
8637
+ | 'gpt-5'
8638
+ | 'gpt-5-mini'
8639
+ | 'gpt-5-nano'
8145
8640
  | 'gpt-4o'
8146
8641
  | 'gpt-4o-mini'
8147
8642
  | 'gpt-4.1'
@@ -8150,7 +8645,9 @@ export namespace ConversationFlowUpdateParams {
8150
8645
  | 'claude-3.7-sonnet'
8151
8646
  | 'claude-3.5-haiku'
8152
8647
  | 'gemini-2.0-flash'
8153
- | 'gemini-2.0-flash-lite';
8648
+ | 'gemini-2.0-flash-lite'
8649
+ | 'gemini-2.5-flash'
8650
+ | 'gemini-2.5-flash-lite';
8154
8651
 
8155
8652
  /**
8156
8653
  * Type of model choice
@@ -8239,12 +8736,23 @@ export namespace ConversationFlowUpdateParams {
8239
8736
  */
8240
8737
  left: string;
8241
8738
 
8242
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
8739
+ operator:
8740
+ | '=='
8741
+ | '!='
8742
+ | '>'
8743
+ | '>='
8744
+ | '<'
8745
+ | '<='
8746
+ | 'contains'
8747
+ | 'not_contains'
8748
+ | 'exists'
8749
+ | 'not_exist';
8243
8750
 
8244
8751
  /**
8245
- * Right side of the equation
8752
+ * Right side of the equation. The right side of the equation not required when
8753
+ * "exists" or "not_exist" are selected.
8246
8754
  */
8247
- right: string;
8755
+ right?: string;
8248
8756
  }
8249
8757
  }
8250
8758
 
@@ -8306,12 +8814,23 @@ export namespace ConversationFlowUpdateParams {
8306
8814
  */
8307
8815
  left: string;
8308
8816
 
8309
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
8817
+ operator:
8818
+ | '=='
8819
+ | '!='
8820
+ | '>'
8821
+ | '>='
8822
+ | '<'
8823
+ | '<='
8824
+ | 'contains'
8825
+ | 'not_contains'
8826
+ | 'exists'
8827
+ | 'not_exist';
8310
8828
 
8311
8829
  /**
8312
- * Right side of the equation
8830
+ * Right side of the equation. The right side of the equation not required when
8831
+ * "exists" or "not_exist" are selected.
8313
8832
  */
8314
- right: string;
8833
+ right?: string;
8315
8834
  }
8316
8835
  }
8317
8836
  }
@@ -8535,12 +9054,23 @@ export namespace ConversationFlowUpdateParams {
8535
9054
  */
8536
9055
  left: string;
8537
9056
 
8538
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
9057
+ operator:
9058
+ | '=='
9059
+ | '!='
9060
+ | '>'
9061
+ | '>='
9062
+ | '<'
9063
+ | '<='
9064
+ | 'contains'
9065
+ | 'not_contains'
9066
+ | 'exists'
9067
+ | 'not_exist';
8539
9068
 
8540
9069
  /**
8541
- * Right side of the equation
9070
+ * Right side of the equation. The right side of the equation not required when
9071
+ * "exists" or "not_exist" are selected.
8542
9072
  */
8543
- right: string;
9073
+ right?: string;
8544
9074
  }
8545
9075
  }
8546
9076
 
@@ -8625,12 +9155,23 @@ export namespace ConversationFlowUpdateParams {
8625
9155
  */
8626
9156
  left: string;
8627
9157
 
8628
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
9158
+ operator:
9159
+ | '=='
9160
+ | '!='
9161
+ | '>'
9162
+ | '>='
9163
+ | '<'
9164
+ | '<='
9165
+ | 'contains'
9166
+ | 'not_contains'
9167
+ | 'exists'
9168
+ | 'not_exist';
8629
9169
 
8630
9170
  /**
8631
- * Right side of the equation
9171
+ * Right side of the equation. The right side of the equation not required when
9172
+ * "exists" or "not_exist" are selected.
8632
9173
  */
8633
- right: string;
9174
+ right?: string;
8634
9175
  }
8635
9176
  }
8636
9177
 
@@ -8911,12 +9452,23 @@ export namespace ConversationFlowUpdateParams {
8911
9452
  */
8912
9453
  left: string;
8913
9454
 
8914
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
9455
+ operator:
9456
+ | '=='
9457
+ | '!='
9458
+ | '>'
9459
+ | '>='
9460
+ | '<'
9461
+ | '<='
9462
+ | 'contains'
9463
+ | 'not_contains'
9464
+ | 'exists'
9465
+ | 'not_exist';
8915
9466
 
8916
9467
  /**
8917
- * Right side of the equation
9468
+ * Right side of the equation. The right side of the equation not required when
9469
+ * "exists" or "not_exist" are selected.
8918
9470
  */
8919
- right: string;
9471
+ right?: string;
8920
9472
  }
8921
9473
  }
8922
9474
  }
@@ -9066,6 +9618,9 @@ export namespace ConversationFlowUpdateParams {
9066
9618
  * The LLM model to use
9067
9619
  */
9068
9620
  model:
9621
+ | 'gpt-5'
9622
+ | 'gpt-5-mini'
9623
+ | 'gpt-5-nano'
9069
9624
  | 'gpt-4o'
9070
9625
  | 'gpt-4o-mini'
9071
9626
  | 'gpt-4.1'
@@ -9074,7 +9629,9 @@ export namespace ConversationFlowUpdateParams {
9074
9629
  | 'claude-3.7-sonnet'
9075
9630
  | 'claude-3.5-haiku'
9076
9631
  | 'gemini-2.0-flash'
9077
- | 'gemini-2.0-flash-lite';
9632
+ | 'gemini-2.0-flash-lite'
9633
+ | 'gemini-2.5-flash'
9634
+ | 'gemini-2.5-flash-lite';
9078
9635
 
9079
9636
  /**
9080
9637
  * Type of model choice
@@ -9181,12 +9738,23 @@ export namespace ConversationFlowUpdateParams {
9181
9738
  */
9182
9739
  left: string;
9183
9740
 
9184
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
9741
+ operator:
9742
+ | '=='
9743
+ | '!='
9744
+ | '>'
9745
+ | '>='
9746
+ | '<'
9747
+ | '<='
9748
+ | 'contains'
9749
+ | 'not_contains'
9750
+ | 'exists'
9751
+ | 'not_exist';
9185
9752
 
9186
9753
  /**
9187
- * Right side of the equation
9754
+ * Right side of the equation. The right side of the equation not required when
9755
+ * "exists" or "not_exist" are selected.
9188
9756
  */
9189
- right: string;
9757
+ right?: string;
9190
9758
  }
9191
9759
  }
9192
9760
 
@@ -9413,12 +9981,23 @@ export namespace ConversationFlowUpdateParams {
9413
9981
  */
9414
9982
  left: string;
9415
9983
 
9416
- operator: '==' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'not_contains';
9984
+ operator:
9985
+ | '=='
9986
+ | '!='
9987
+ | '>'
9988
+ | '>='
9989
+ | '<'
9990
+ | '<='
9991
+ | 'contains'
9992
+ | 'not_contains'
9993
+ | 'exists'
9994
+ | 'not_exist';
9417
9995
 
9418
9996
  /**
9419
- * Right side of the equation
9997
+ * Right side of the equation. The right side of the equation not required when
9998
+ * "exists" or "not_exist" are selected.
9420
9999
  */
9421
- right: string;
10000
+ right?: string;
9422
10001
  }
9423
10002
  }
9424
10003
  }