retell-sdk 5.12.0 → 5.13.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.
Files changed (66) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/internal/utils/env.js +2 -2
  3. package/internal/utils/env.js.map +1 -1
  4. package/internal/utils/env.mjs +2 -2
  5. package/internal/utils/env.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/resources/agent.d.mts +22 -45
  8. package/resources/agent.d.mts.map +1 -1
  9. package/resources/agent.d.ts +22 -45
  10. package/resources/agent.d.ts.map +1 -1
  11. package/resources/batch-call.d.mts +8 -17
  12. package/resources/batch-call.d.mts.map +1 -1
  13. package/resources/batch-call.d.ts +8 -17
  14. package/resources/batch-call.d.ts.map +1 -1
  15. package/resources/call.d.mts +55 -54
  16. package/resources/call.d.mts.map +1 -1
  17. package/resources/call.d.ts +55 -54
  18. package/resources/call.d.ts.map +1 -1
  19. package/resources/chat-agent.d.mts +10 -6
  20. package/resources/chat-agent.d.mts.map +1 -1
  21. package/resources/chat-agent.d.ts +10 -6
  22. package/resources/chat-agent.d.ts.map +1 -1
  23. package/resources/chat.d.mts +90 -76
  24. package/resources/chat.d.mts.map +1 -1
  25. package/resources/chat.d.ts +90 -76
  26. package/resources/chat.d.ts.map +1 -1
  27. package/resources/conversation-flow-component.d.mts +207 -48
  28. package/resources/conversation-flow-component.d.mts.map +1 -1
  29. package/resources/conversation-flow-component.d.ts +207 -48
  30. package/resources/conversation-flow-component.d.ts.map +1 -1
  31. package/resources/conversation-flow.d.mts +417 -99
  32. package/resources/conversation-flow.d.mts.map +1 -1
  33. package/resources/conversation-flow.d.ts +417 -99
  34. package/resources/conversation-flow.d.ts.map +1 -1
  35. package/resources/llm.d.mts +153 -9
  36. package/resources/llm.d.mts.map +1 -1
  37. package/resources/llm.d.ts +153 -9
  38. package/resources/llm.d.ts.map +1 -1
  39. package/resources/phone-number.d.mts +22 -125
  40. package/resources/phone-number.d.mts.map +1 -1
  41. package/resources/phone-number.d.ts +22 -125
  42. package/resources/phone-number.d.ts.map +1 -1
  43. package/resources/phone-number.js +14 -2
  44. package/resources/phone-number.js.map +1 -1
  45. package/resources/phone-number.mjs +14 -2
  46. package/resources/phone-number.mjs.map +1 -1
  47. package/resources/tests.d.mts +4 -8
  48. package/resources/tests.d.mts.map +1 -1
  49. package/resources/tests.d.ts +4 -8
  50. package/resources/tests.d.ts.map +1 -1
  51. package/src/internal/utils/env.ts +2 -2
  52. package/src/resources/agent.ts +23 -42
  53. package/src/resources/batch-call.ts +9 -15
  54. package/src/resources/call.ts +64 -47
  55. package/src/resources/chat-agent.ts +11 -3
  56. package/src/resources/chat.ts +106 -90
  57. package/src/resources/conversation-flow-component.ts +300 -48
  58. package/src/resources/conversation-flow.ts +606 -99
  59. package/src/resources/llm.ts +201 -6
  60. package/src/resources/phone-number.ts +22 -141
  61. package/src/resources/tests.ts +7 -9
  62. package/src/version.ts +1 -1
  63. package/version.d.mts +1 -1
  64. package/version.d.ts +1 -1
  65. package/version.js +1 -1
  66. package/version.mjs +1 -1
@@ -795,7 +795,8 @@ export namespace ConversationFlowResponse {
795
795
  | 'claude-4.5-haiku'
796
796
  | 'gemini-2.5-flash'
797
797
  | 'gemini-2.5-flash-lite'
798
- | 'gemini-3.0-flash';
798
+ | 'gemini-3.0-flash'
799
+ | 'gemini-3.1-flash-lite';
799
800
 
800
801
  /**
801
802
  * Type of model choice
@@ -1395,7 +1396,8 @@ export namespace ConversationFlowResponse {
1395
1396
  | 'claude-4.5-haiku'
1396
1397
  | 'gemini-2.5-flash'
1397
1398
  | 'gemini-2.5-flash-lite'
1398
- | 'gemini-3.0-flash';
1399
+ | 'gemini-3.0-flash'
1400
+ | 'gemini-3.1-flash-lite';
1399
1401
 
1400
1402
  /**
1401
1403
  * Type of model choice
@@ -2039,7 +2041,10 @@ export namespace ConversationFlowResponse {
2039
2041
  */
2040
2042
  name: string;
2041
2043
 
2042
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
2044
+ sms_content:
2045
+ | SendSMSTool.SMSContentPredefined
2046
+ | SendSMSTool.SMSContentInferred
2047
+ | SendSMSTool.SMSContentTemplate;
2043
2048
 
2044
2049
  type: 'send_sms';
2045
2050
 
@@ -2090,6 +2095,16 @@ export namespace ConversationFlowResponse {
2090
2095
 
2091
2096
  type?: 'inferred';
2092
2097
  }
2098
+
2099
+ export interface SMSContentTemplate {
2100
+ /**
2101
+ * The template to use for the SMS content. "info_collection" sends a predefined
2102
+ * message requesting information from the user.
2103
+ */
2104
+ template: 'info_collection';
2105
+
2106
+ type: 'template';
2107
+ }
2093
2108
  }
2094
2109
 
2095
2110
  export interface CustomTool {
@@ -2120,6 +2135,13 @@ export namespace ConversationFlowResponse {
2120
2135
  */
2121
2136
  description?: string;
2122
2137
 
2138
+ /**
2139
+ * If true, play a typing sound on the agent audio track while this tool is
2140
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
2141
+ * silence on the call.
2142
+ */
2143
+ enable_typing_sound?: boolean;
2144
+
2123
2145
  /**
2124
2146
  * The description for the sentence agent say during execution. Only applicable
2125
2147
  * when speak_during_execution is true. Can write what to say or even provide
@@ -2239,6 +2261,12 @@ export namespace ConversationFlowResponse {
2239
2261
  */
2240
2262
  description?: string;
2241
2263
 
2264
+ /**
2265
+ * If true, play a typing sound on the agent audio track while this tool is
2266
+ * executing.
2267
+ */
2268
+ enable_typing_sound?: boolean;
2269
+
2242
2270
  /**
2243
2271
  * The description for the sentence agent say during execution. Only applicable
2244
2272
  * when speak_during_execution is true.
@@ -2529,6 +2557,12 @@ export namespace ConversationFlowResponse {
2529
2557
 
2530
2558
  type: 'mcp';
2531
2559
 
2560
+ /**
2561
+ * If true, play a typing sound on the agent audio track while this MCP tool is
2562
+ * executing.
2563
+ */
2564
+ enable_typing_sound?: boolean;
2565
+
2532
2566
  /**
2533
2567
  * The description for the sentence agent say during execution. Only applicable
2534
2568
  * when speak_during_execution is true. Can write what to say or even provide
@@ -2834,7 +2868,8 @@ export namespace ConversationFlowResponse {
2834
2868
  | 'claude-4.5-haiku'
2835
2869
  | 'gemini-2.5-flash'
2836
2870
  | 'gemini-2.5-flash-lite'
2837
- | 'gemini-3.0-flash';
2871
+ | 'gemini-3.0-flash'
2872
+ | 'gemini-3.1-flash-lite';
2838
2873
 
2839
2874
  /**
2840
2875
  * Type of model choice
@@ -2883,6 +2918,11 @@ export namespace ConversationFlowResponse {
2883
2918
 
2884
2919
  else_edge?: FunctionNode.ElseEdge;
2885
2920
 
2921
+ /**
2922
+ * If true, play a typing sound while this function executes.
2923
+ */
2924
+ enable_typing_sound?: boolean;
2925
+
2886
2926
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
2887
2927
 
2888
2928
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -3303,7 +3343,8 @@ export namespace ConversationFlowResponse {
3303
3343
  | 'claude-4.5-haiku'
3304
3344
  | 'gemini-2.5-flash'
3305
3345
  | 'gemini-2.5-flash-lite'
3306
- | 'gemini-3.0-flash';
3346
+ | 'gemini-3.0-flash'
3347
+ | 'gemini-3.1-flash-lite';
3307
3348
 
3308
3349
  /**
3309
3350
  * Type of model choice
@@ -3347,6 +3388,11 @@ export namespace ConversationFlowResponse {
3347
3388
 
3348
3389
  else_edge?: CodeNode.ElseEdge;
3349
3390
 
3391
+ /**
3392
+ * If true, play a typing sound while code executes.
3393
+ */
3394
+ enable_typing_sound?: boolean;
3395
+
3350
3396
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
3351
3397
 
3352
3398
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -3779,7 +3825,8 @@ export namespace ConversationFlowResponse {
3779
3825
  | 'claude-4.5-haiku'
3780
3826
  | 'gemini-2.5-flash'
3781
3827
  | 'gemini-2.5-flash-lite'
3782
- | 'gemini-3.0-flash';
3828
+ | 'gemini-3.0-flash'
3829
+ | 'gemini-3.1-flash-lite';
3783
3830
 
3784
3831
  /**
3785
3832
  * Type of model choice
@@ -4431,7 +4478,8 @@ export namespace ConversationFlowResponse {
4431
4478
  | 'claude-4.5-haiku'
4432
4479
  | 'gemini-2.5-flash'
4433
4480
  | 'gemini-2.5-flash-lite'
4434
- | 'gemini-3.0-flash';
4481
+ | 'gemini-3.0-flash'
4482
+ | 'gemini-3.1-flash-lite';
4435
4483
 
4436
4484
  /**
4437
4485
  * Type of model choice
@@ -4797,7 +4845,8 @@ export namespace ConversationFlowResponse {
4797
4845
  | 'claude-4.5-haiku'
4798
4846
  | 'gemini-2.5-flash'
4799
4847
  | 'gemini-2.5-flash-lite'
4800
- | 'gemini-3.0-flash';
4848
+ | 'gemini-3.0-flash'
4849
+ | 'gemini-3.1-flash-lite';
4801
4850
 
4802
4851
  /**
4803
4852
  * Type of model choice
@@ -5220,7 +5269,8 @@ export namespace ConversationFlowResponse {
5220
5269
  | 'claude-4.5-haiku'
5221
5270
  | 'gemini-2.5-flash'
5222
5271
  | 'gemini-2.5-flash-lite'
5223
- | 'gemini-3.0-flash';
5272
+ | 'gemini-3.0-flash'
5273
+ | 'gemini-3.1-flash-lite';
5224
5274
 
5225
5275
  /**
5226
5276
  * Type of model choice
@@ -5242,7 +5292,10 @@ export namespace ConversationFlowResponse {
5242
5292
 
5243
5293
  failed_edge: SMSNode.FailedEdge;
5244
5294
 
5245
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
5295
+ instruction:
5296
+ | SMSNode.NodeInstructionPrompt
5297
+ | SMSNode.NodeInstructionStaticText
5298
+ | SMSNode.SMSInstructionTemplate;
5246
5299
 
5247
5300
  success_edge: SMSNode.SuccessEdge;
5248
5301
 
@@ -5368,6 +5421,19 @@ export namespace ConversationFlowResponse {
5368
5421
  type: 'static_text';
5369
5422
  }
5370
5423
 
5424
+ export interface SMSInstructionTemplate {
5425
+ /**
5426
+ * The template to use for the instruction. "info_collection" sends a predefined
5427
+ * message requesting information from the user.
5428
+ */
5429
+ template: 'info_collection';
5430
+
5431
+ /**
5432
+ * Type of instruction
5433
+ */
5434
+ type: 'template';
5435
+ }
5436
+
5371
5437
  export interface SuccessEdge {
5372
5438
  /**
5373
5439
  * Unique identifier for the edge
@@ -5640,7 +5706,8 @@ export namespace ConversationFlowResponse {
5640
5706
  | 'claude-4.5-haiku'
5641
5707
  | 'gemini-2.5-flash'
5642
5708
  | 'gemini-2.5-flash-lite'
5643
- | 'gemini-3.0-flash';
5709
+ | 'gemini-3.0-flash'
5710
+ | 'gemini-3.1-flash-lite';
5644
5711
 
5645
5712
  /**
5646
5713
  * Type of model choice
@@ -6200,7 +6267,8 @@ export namespace ConversationFlowResponse {
6200
6267
  | 'claude-4.5-haiku'
6201
6268
  | 'gemini-2.5-flash'
6202
6269
  | 'gemini-2.5-flash-lite'
6203
- | 'gemini-3.0-flash';
6270
+ | 'gemini-3.0-flash'
6271
+ | 'gemini-3.1-flash-lite';
6204
6272
 
6205
6273
  /**
6206
6274
  * Type of model choice
@@ -6583,7 +6651,8 @@ export namespace ConversationFlowResponse {
6583
6651
  | 'claude-4.5-haiku'
6584
6652
  | 'gemini-2.5-flash'
6585
6653
  | 'gemini-2.5-flash-lite'
6586
- | 'gemini-3.0-flash';
6654
+ | 'gemini-3.0-flash'
6655
+ | 'gemini-3.1-flash-lite';
6587
6656
 
6588
6657
  /**
6589
6658
  * Type of model choice
@@ -6632,6 +6701,11 @@ export namespace ConversationFlowResponse {
6632
6701
 
6633
6702
  else_edge?: McpNode.ElseEdge;
6634
6703
 
6704
+ /**
6705
+ * If true, play a typing sound while MCP tool executes.
6706
+ */
6707
+ enable_typing_sound?: boolean;
6708
+
6635
6709
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
6636
6710
 
6637
6711
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -7061,7 +7135,8 @@ export namespace ConversationFlowResponse {
7061
7135
  | 'claude-4.5-haiku'
7062
7136
  | 'gemini-2.5-flash'
7063
7137
  | 'gemini-2.5-flash-lite'
7064
- | 'gemini-3.0-flash';
7138
+ | 'gemini-3.0-flash'
7139
+ | 'gemini-3.1-flash-lite';
7065
7140
 
7066
7141
  /**
7067
7142
  * Type of model choice
@@ -7741,7 +7816,8 @@ export namespace ConversationFlowResponse {
7741
7816
  | 'claude-4.5-haiku'
7742
7817
  | 'gemini-2.5-flash'
7743
7818
  | 'gemini-2.5-flash-lite'
7744
- | 'gemini-3.0-flash';
7819
+ | 'gemini-3.0-flash'
7820
+ | 'gemini-3.1-flash-lite';
7745
7821
 
7746
7822
  /**
7747
7823
  * Type of model choice
@@ -8012,7 +8088,8 @@ export namespace ConversationFlowResponse {
8012
8088
  | 'claude-4.5-haiku'
8013
8089
  | 'gemini-2.5-flash'
8014
8090
  | 'gemini-2.5-flash-lite'
8015
- | 'gemini-3.0-flash';
8091
+ | 'gemini-3.0-flash'
8092
+ | 'gemini-3.1-flash-lite';
8016
8093
 
8017
8094
  /**
8018
8095
  * Type of model choice
@@ -8131,6 +8208,13 @@ export namespace ConversationFlowResponse {
8131
8208
  */
8132
8209
  description?: string;
8133
8210
 
8211
+ /**
8212
+ * If true, play a typing sound on the agent audio track while this tool is
8213
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
8214
+ * silence on the call.
8215
+ */
8216
+ enable_typing_sound?: boolean;
8217
+
8134
8218
  /**
8135
8219
  * The description for the sentence agent say during execution. Only applicable
8136
8220
  * when speak_during_execution is true. Can write what to say or even provide
@@ -8389,7 +8473,8 @@ export namespace ConversationFlowResponse {
8389
8473
  | 'claude-4.5-haiku'
8390
8474
  | 'gemini-2.5-flash'
8391
8475
  | 'gemini-2.5-flash-lite'
8392
- | 'gemini-3.0-flash';
8476
+ | 'gemini-3.0-flash'
8477
+ | 'gemini-3.1-flash-lite';
8393
8478
 
8394
8479
  /**
8395
8480
  * Type of model choice
@@ -8897,7 +8982,8 @@ export namespace ConversationFlowResponse {
8897
8982
  | 'claude-4.5-haiku'
8898
8983
  | 'gemini-2.5-flash'
8899
8984
  | 'gemini-2.5-flash-lite'
8900
- | 'gemini-3.0-flash';
8985
+ | 'gemini-3.0-flash'
8986
+ | 'gemini-3.1-flash-lite';
8901
8987
 
8902
8988
  /**
8903
8989
  * Type of model choice
@@ -9497,7 +9583,8 @@ export namespace ConversationFlowResponse {
9497
9583
  | 'claude-4.5-haiku'
9498
9584
  | 'gemini-2.5-flash'
9499
9585
  | 'gemini-2.5-flash-lite'
9500
- | 'gemini-3.0-flash';
9586
+ | 'gemini-3.0-flash'
9587
+ | 'gemini-3.1-flash-lite';
9501
9588
 
9502
9589
  /**
9503
9590
  * Type of model choice
@@ -10141,7 +10228,10 @@ export namespace ConversationFlowResponse {
10141
10228
  */
10142
10229
  name: string;
10143
10230
 
10144
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
10231
+ sms_content:
10232
+ | SendSMSTool.SMSContentPredefined
10233
+ | SendSMSTool.SMSContentInferred
10234
+ | SendSMSTool.SMSContentTemplate;
10145
10235
 
10146
10236
  type: 'send_sms';
10147
10237
 
@@ -10192,6 +10282,16 @@ export namespace ConversationFlowResponse {
10192
10282
 
10193
10283
  type?: 'inferred';
10194
10284
  }
10285
+
10286
+ export interface SMSContentTemplate {
10287
+ /**
10288
+ * The template to use for the SMS content. "info_collection" sends a predefined
10289
+ * message requesting information from the user.
10290
+ */
10291
+ template: 'info_collection';
10292
+
10293
+ type: 'template';
10294
+ }
10195
10295
  }
10196
10296
 
10197
10297
  export interface CustomTool {
@@ -10222,6 +10322,13 @@ export namespace ConversationFlowResponse {
10222
10322
  */
10223
10323
  description?: string;
10224
10324
 
10325
+ /**
10326
+ * If true, play a typing sound on the agent audio track while this tool is
10327
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
10328
+ * silence on the call.
10329
+ */
10330
+ enable_typing_sound?: boolean;
10331
+
10225
10332
  /**
10226
10333
  * The description for the sentence agent say during execution. Only applicable
10227
10334
  * when speak_during_execution is true. Can write what to say or even provide
@@ -10341,6 +10448,12 @@ export namespace ConversationFlowResponse {
10341
10448
  */
10342
10449
  description?: string;
10343
10450
 
10451
+ /**
10452
+ * If true, play a typing sound on the agent audio track while this tool is
10453
+ * executing.
10454
+ */
10455
+ enable_typing_sound?: boolean;
10456
+
10344
10457
  /**
10345
10458
  * The description for the sentence agent say during execution. Only applicable
10346
10459
  * when speak_during_execution is true.
@@ -10631,6 +10744,12 @@ export namespace ConversationFlowResponse {
10631
10744
 
10632
10745
  type: 'mcp';
10633
10746
 
10747
+ /**
10748
+ * If true, play a typing sound on the agent audio track while this MCP tool is
10749
+ * executing.
10750
+ */
10751
+ enable_typing_sound?: boolean;
10752
+
10634
10753
  /**
10635
10754
  * The description for the sentence agent say during execution. Only applicable
10636
10755
  * when speak_during_execution is true. Can write what to say or even provide
@@ -10936,7 +11055,8 @@ export namespace ConversationFlowResponse {
10936
11055
  | 'claude-4.5-haiku'
10937
11056
  | 'gemini-2.5-flash'
10938
11057
  | 'gemini-2.5-flash-lite'
10939
- | 'gemini-3.0-flash';
11058
+ | 'gemini-3.0-flash'
11059
+ | 'gemini-3.1-flash-lite';
10940
11060
 
10941
11061
  /**
10942
11062
  * Type of model choice
@@ -10985,6 +11105,11 @@ export namespace ConversationFlowResponse {
10985
11105
 
10986
11106
  else_edge?: FunctionNode.ElseEdge;
10987
11107
 
11108
+ /**
11109
+ * If true, play a typing sound while this function executes.
11110
+ */
11111
+ enable_typing_sound?: boolean;
11112
+
10988
11113
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
10989
11114
 
10990
11115
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -11405,7 +11530,8 @@ export namespace ConversationFlowResponse {
11405
11530
  | 'claude-4.5-haiku'
11406
11531
  | 'gemini-2.5-flash'
11407
11532
  | 'gemini-2.5-flash-lite'
11408
- | 'gemini-3.0-flash';
11533
+ | 'gemini-3.0-flash'
11534
+ | 'gemini-3.1-flash-lite';
11409
11535
 
11410
11536
  /**
11411
11537
  * Type of model choice
@@ -11449,6 +11575,11 @@ export namespace ConversationFlowResponse {
11449
11575
 
11450
11576
  else_edge?: CodeNode.ElseEdge;
11451
11577
 
11578
+ /**
11579
+ * If true, play a typing sound while code executes.
11580
+ */
11581
+ enable_typing_sound?: boolean;
11582
+
11452
11583
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
11453
11584
 
11454
11585
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -11881,7 +12012,8 @@ export namespace ConversationFlowResponse {
11881
12012
  | 'claude-4.5-haiku'
11882
12013
  | 'gemini-2.5-flash'
11883
12014
  | 'gemini-2.5-flash-lite'
11884
- | 'gemini-3.0-flash';
12015
+ | 'gemini-3.0-flash'
12016
+ | 'gemini-3.1-flash-lite';
11885
12017
 
11886
12018
  /**
11887
12019
  * Type of model choice
@@ -12533,7 +12665,8 @@ export namespace ConversationFlowResponse {
12533
12665
  | 'claude-4.5-haiku'
12534
12666
  | 'gemini-2.5-flash'
12535
12667
  | 'gemini-2.5-flash-lite'
12536
- | 'gemini-3.0-flash';
12668
+ | 'gemini-3.0-flash'
12669
+ | 'gemini-3.1-flash-lite';
12537
12670
 
12538
12671
  /**
12539
12672
  * Type of model choice
@@ -12899,7 +13032,8 @@ export namespace ConversationFlowResponse {
12899
13032
  | 'claude-4.5-haiku'
12900
13033
  | 'gemini-2.5-flash'
12901
13034
  | 'gemini-2.5-flash-lite'
12902
- | 'gemini-3.0-flash';
13035
+ | 'gemini-3.0-flash'
13036
+ | 'gemini-3.1-flash-lite';
12903
13037
 
12904
13038
  /**
12905
13039
  * Type of model choice
@@ -13322,7 +13456,8 @@ export namespace ConversationFlowResponse {
13322
13456
  | 'claude-4.5-haiku'
13323
13457
  | 'gemini-2.5-flash'
13324
13458
  | 'gemini-2.5-flash-lite'
13325
- | 'gemini-3.0-flash';
13459
+ | 'gemini-3.0-flash'
13460
+ | 'gemini-3.1-flash-lite';
13326
13461
 
13327
13462
  /**
13328
13463
  * Type of model choice
@@ -13344,7 +13479,10 @@ export namespace ConversationFlowResponse {
13344
13479
 
13345
13480
  failed_edge: SMSNode.FailedEdge;
13346
13481
 
13347
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
13482
+ instruction:
13483
+ | SMSNode.NodeInstructionPrompt
13484
+ | SMSNode.NodeInstructionStaticText
13485
+ | SMSNode.SMSInstructionTemplate;
13348
13486
 
13349
13487
  success_edge: SMSNode.SuccessEdge;
13350
13488
 
@@ -13470,6 +13608,19 @@ export namespace ConversationFlowResponse {
13470
13608
  type: 'static_text';
13471
13609
  }
13472
13610
 
13611
+ export interface SMSInstructionTemplate {
13612
+ /**
13613
+ * The template to use for the instruction. "info_collection" sends a predefined
13614
+ * message requesting information from the user.
13615
+ */
13616
+ template: 'info_collection';
13617
+
13618
+ /**
13619
+ * Type of instruction
13620
+ */
13621
+ type: 'template';
13622
+ }
13623
+
13473
13624
  export interface SuccessEdge {
13474
13625
  /**
13475
13626
  * Unique identifier for the edge
@@ -13742,7 +13893,8 @@ export namespace ConversationFlowResponse {
13742
13893
  | 'claude-4.5-haiku'
13743
13894
  | 'gemini-2.5-flash'
13744
13895
  | 'gemini-2.5-flash-lite'
13745
- | 'gemini-3.0-flash';
13896
+ | 'gemini-3.0-flash'
13897
+ | 'gemini-3.1-flash-lite';
13746
13898
 
13747
13899
  /**
13748
13900
  * Type of model choice
@@ -14302,7 +14454,8 @@ export namespace ConversationFlowResponse {
14302
14454
  | 'claude-4.5-haiku'
14303
14455
  | 'gemini-2.5-flash'
14304
14456
  | 'gemini-2.5-flash-lite'
14305
- | 'gemini-3.0-flash';
14457
+ | 'gemini-3.0-flash'
14458
+ | 'gemini-3.1-flash-lite';
14306
14459
 
14307
14460
  /**
14308
14461
  * Type of model choice
@@ -14685,7 +14838,8 @@ export namespace ConversationFlowResponse {
14685
14838
  | 'claude-4.5-haiku'
14686
14839
  | 'gemini-2.5-flash'
14687
14840
  | 'gemini-2.5-flash-lite'
14688
- | 'gemini-3.0-flash';
14841
+ | 'gemini-3.0-flash'
14842
+ | 'gemini-3.1-flash-lite';
14689
14843
 
14690
14844
  /**
14691
14845
  * Type of model choice
@@ -14734,6 +14888,11 @@ export namespace ConversationFlowResponse {
14734
14888
 
14735
14889
  else_edge?: McpNode.ElseEdge;
14736
14890
 
14891
+ /**
14892
+ * If true, play a typing sound while MCP tool executes.
14893
+ */
14894
+ enable_typing_sound?: boolean;
14895
+
14737
14896
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
14738
14897
 
14739
14898
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -15163,7 +15322,8 @@ export namespace ConversationFlowResponse {
15163
15322
  | 'claude-4.5-haiku'
15164
15323
  | 'gemini-2.5-flash'
15165
15324
  | 'gemini-2.5-flash-lite'
15166
- | 'gemini-3.0-flash';
15325
+ | 'gemini-3.0-flash'
15326
+ | 'gemini-3.1-flash-lite';
15167
15327
 
15168
15328
  /**
15169
15329
  * Type of model choice
@@ -15843,7 +16003,8 @@ export namespace ConversationFlowResponse {
15843
16003
  | 'claude-4.5-haiku'
15844
16004
  | 'gemini-2.5-flash'
15845
16005
  | 'gemini-2.5-flash-lite'
15846
- | 'gemini-3.0-flash';
16006
+ | 'gemini-3.0-flash'
16007
+ | 'gemini-3.1-flash-lite';
15847
16008
 
15848
16009
  /**
15849
16010
  * Type of model choice
@@ -16114,7 +16275,8 @@ export namespace ConversationFlowResponse {
16114
16275
  | 'claude-4.5-haiku'
16115
16276
  | 'gemini-2.5-flash'
16116
16277
  | 'gemini-2.5-flash-lite'
16117
- | 'gemini-3.0-flash';
16278
+ | 'gemini-3.0-flash'
16279
+ | 'gemini-3.1-flash-lite';
16118
16280
 
16119
16281
  /**
16120
16282
  * Type of model choice
@@ -16199,6 +16361,13 @@ export namespace ConversationFlowResponse {
16199
16361
  */
16200
16362
  description?: string;
16201
16363
 
16364
+ /**
16365
+ * If true, play a typing sound on the agent audio track while this tool is
16366
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
16367
+ * silence on the call.
16368
+ */
16369
+ enable_typing_sound?: boolean;
16370
+
16202
16371
  /**
16203
16372
  * The description for the sentence agent say during execution. Only applicable
16204
16373
  * when speak_during_execution is true. Can write what to say or even provide
@@ -16533,7 +16702,8 @@ export namespace ConversationFlowCreateParams {
16533
16702
  | 'claude-4.5-haiku'
16534
16703
  | 'gemini-2.5-flash'
16535
16704
  | 'gemini-2.5-flash-lite'
16536
- | 'gemini-3.0-flash';
16705
+ | 'gemini-3.0-flash'
16706
+ | 'gemini-3.1-flash-lite';
16537
16707
 
16538
16708
  /**
16539
16709
  * Type of model choice
@@ -17041,7 +17211,8 @@ export namespace ConversationFlowCreateParams {
17041
17211
  | 'claude-4.5-haiku'
17042
17212
  | 'gemini-2.5-flash'
17043
17213
  | 'gemini-2.5-flash-lite'
17044
- | 'gemini-3.0-flash';
17214
+ | 'gemini-3.0-flash'
17215
+ | 'gemini-3.1-flash-lite';
17045
17216
 
17046
17217
  /**
17047
17218
  * Type of model choice
@@ -17641,7 +17812,8 @@ export namespace ConversationFlowCreateParams {
17641
17812
  | 'claude-4.5-haiku'
17642
17813
  | 'gemini-2.5-flash'
17643
17814
  | 'gemini-2.5-flash-lite'
17644
- | 'gemini-3.0-flash';
17815
+ | 'gemini-3.0-flash'
17816
+ | 'gemini-3.1-flash-lite';
17645
17817
 
17646
17818
  /**
17647
17819
  * Type of model choice
@@ -18285,7 +18457,10 @@ export namespace ConversationFlowCreateParams {
18285
18457
  */
18286
18458
  name: string;
18287
18459
 
18288
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
18460
+ sms_content:
18461
+ | SendSMSTool.SMSContentPredefined
18462
+ | SendSMSTool.SMSContentInferred
18463
+ | SendSMSTool.SMSContentTemplate;
18289
18464
 
18290
18465
  type: 'send_sms';
18291
18466
 
@@ -18336,6 +18511,16 @@ export namespace ConversationFlowCreateParams {
18336
18511
 
18337
18512
  type?: 'inferred';
18338
18513
  }
18514
+
18515
+ export interface SMSContentTemplate {
18516
+ /**
18517
+ * The template to use for the SMS content. "info_collection" sends a predefined
18518
+ * message requesting information from the user.
18519
+ */
18520
+ template: 'info_collection';
18521
+
18522
+ type: 'template';
18523
+ }
18339
18524
  }
18340
18525
 
18341
18526
  export interface CustomTool {
@@ -18366,6 +18551,13 @@ export namespace ConversationFlowCreateParams {
18366
18551
  */
18367
18552
  description?: string;
18368
18553
 
18554
+ /**
18555
+ * If true, play a typing sound on the agent audio track while this tool is
18556
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
18557
+ * silence on the call.
18558
+ */
18559
+ enable_typing_sound?: boolean;
18560
+
18369
18561
  /**
18370
18562
  * The description for the sentence agent say during execution. Only applicable
18371
18563
  * when speak_during_execution is true. Can write what to say or even provide
@@ -18485,6 +18677,12 @@ export namespace ConversationFlowCreateParams {
18485
18677
  */
18486
18678
  description?: string;
18487
18679
 
18680
+ /**
18681
+ * If true, play a typing sound on the agent audio track while this tool is
18682
+ * executing.
18683
+ */
18684
+ enable_typing_sound?: boolean;
18685
+
18488
18686
  /**
18489
18687
  * The description for the sentence agent say during execution. Only applicable
18490
18688
  * when speak_during_execution is true.
@@ -18775,6 +18973,12 @@ export namespace ConversationFlowCreateParams {
18775
18973
 
18776
18974
  type: 'mcp';
18777
18975
 
18976
+ /**
18977
+ * If true, play a typing sound on the agent audio track while this MCP tool is
18978
+ * executing.
18979
+ */
18980
+ enable_typing_sound?: boolean;
18981
+
18778
18982
  /**
18779
18983
  * The description for the sentence agent say during execution. Only applicable
18780
18984
  * when speak_during_execution is true. Can write what to say or even provide
@@ -19080,7 +19284,8 @@ export namespace ConversationFlowCreateParams {
19080
19284
  | 'claude-4.5-haiku'
19081
19285
  | 'gemini-2.5-flash'
19082
19286
  | 'gemini-2.5-flash-lite'
19083
- | 'gemini-3.0-flash';
19287
+ | 'gemini-3.0-flash'
19288
+ | 'gemini-3.1-flash-lite';
19084
19289
 
19085
19290
  /**
19086
19291
  * Type of model choice
@@ -19129,6 +19334,11 @@ export namespace ConversationFlowCreateParams {
19129
19334
 
19130
19335
  else_edge?: FunctionNode.ElseEdge;
19131
19336
 
19337
+ /**
19338
+ * If true, play a typing sound while this function executes.
19339
+ */
19340
+ enable_typing_sound?: boolean;
19341
+
19132
19342
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
19133
19343
 
19134
19344
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -19549,7 +19759,8 @@ export namespace ConversationFlowCreateParams {
19549
19759
  | 'claude-4.5-haiku'
19550
19760
  | 'gemini-2.5-flash'
19551
19761
  | 'gemini-2.5-flash-lite'
19552
- | 'gemini-3.0-flash';
19762
+ | 'gemini-3.0-flash'
19763
+ | 'gemini-3.1-flash-lite';
19553
19764
 
19554
19765
  /**
19555
19766
  * Type of model choice
@@ -19593,6 +19804,11 @@ export namespace ConversationFlowCreateParams {
19593
19804
 
19594
19805
  else_edge?: CodeNode.ElseEdge;
19595
19806
 
19807
+ /**
19808
+ * If true, play a typing sound while code executes.
19809
+ */
19810
+ enable_typing_sound?: boolean;
19811
+
19596
19812
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
19597
19813
 
19598
19814
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -20025,7 +20241,8 @@ export namespace ConversationFlowCreateParams {
20025
20241
  | 'claude-4.5-haiku'
20026
20242
  | 'gemini-2.5-flash'
20027
20243
  | 'gemini-2.5-flash-lite'
20028
- | 'gemini-3.0-flash';
20244
+ | 'gemini-3.0-flash'
20245
+ | 'gemini-3.1-flash-lite';
20029
20246
 
20030
20247
  /**
20031
20248
  * Type of model choice
@@ -20677,7 +20894,8 @@ export namespace ConversationFlowCreateParams {
20677
20894
  | 'claude-4.5-haiku'
20678
20895
  | 'gemini-2.5-flash'
20679
20896
  | 'gemini-2.5-flash-lite'
20680
- | 'gemini-3.0-flash';
20897
+ | 'gemini-3.0-flash'
20898
+ | 'gemini-3.1-flash-lite';
20681
20899
 
20682
20900
  /**
20683
20901
  * Type of model choice
@@ -21043,7 +21261,8 @@ export namespace ConversationFlowCreateParams {
21043
21261
  | 'claude-4.5-haiku'
21044
21262
  | 'gemini-2.5-flash'
21045
21263
  | 'gemini-2.5-flash-lite'
21046
- | 'gemini-3.0-flash';
21264
+ | 'gemini-3.0-flash'
21265
+ | 'gemini-3.1-flash-lite';
21047
21266
 
21048
21267
  /**
21049
21268
  * Type of model choice
@@ -21466,7 +21685,8 @@ export namespace ConversationFlowCreateParams {
21466
21685
  | 'claude-4.5-haiku'
21467
21686
  | 'gemini-2.5-flash'
21468
21687
  | 'gemini-2.5-flash-lite'
21469
- | 'gemini-3.0-flash';
21688
+ | 'gemini-3.0-flash'
21689
+ | 'gemini-3.1-flash-lite';
21470
21690
 
21471
21691
  /**
21472
21692
  * Type of model choice
@@ -21488,7 +21708,10 @@ export namespace ConversationFlowCreateParams {
21488
21708
 
21489
21709
  failed_edge: SMSNode.FailedEdge;
21490
21710
 
21491
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
21711
+ instruction:
21712
+ | SMSNode.NodeInstructionPrompt
21713
+ | SMSNode.NodeInstructionStaticText
21714
+ | SMSNode.SMSInstructionTemplate;
21492
21715
 
21493
21716
  success_edge: SMSNode.SuccessEdge;
21494
21717
 
@@ -21614,6 +21837,19 @@ export namespace ConversationFlowCreateParams {
21614
21837
  type: 'static_text';
21615
21838
  }
21616
21839
 
21840
+ export interface SMSInstructionTemplate {
21841
+ /**
21842
+ * The template to use for the instruction. "info_collection" sends a predefined
21843
+ * message requesting information from the user.
21844
+ */
21845
+ template: 'info_collection';
21846
+
21847
+ /**
21848
+ * Type of instruction
21849
+ */
21850
+ type: 'template';
21851
+ }
21852
+
21617
21853
  export interface SuccessEdge {
21618
21854
  /**
21619
21855
  * Unique identifier for the edge
@@ -21886,7 +22122,8 @@ export namespace ConversationFlowCreateParams {
21886
22122
  | 'claude-4.5-haiku'
21887
22123
  | 'gemini-2.5-flash'
21888
22124
  | 'gemini-2.5-flash-lite'
21889
- | 'gemini-3.0-flash';
22125
+ | 'gemini-3.0-flash'
22126
+ | 'gemini-3.1-flash-lite';
21890
22127
 
21891
22128
  /**
21892
22129
  * Type of model choice
@@ -22446,7 +22683,8 @@ export namespace ConversationFlowCreateParams {
22446
22683
  | 'claude-4.5-haiku'
22447
22684
  | 'gemini-2.5-flash'
22448
22685
  | 'gemini-2.5-flash-lite'
22449
- | 'gemini-3.0-flash';
22686
+ | 'gemini-3.0-flash'
22687
+ | 'gemini-3.1-flash-lite';
22450
22688
 
22451
22689
  /**
22452
22690
  * Type of model choice
@@ -22829,7 +23067,8 @@ export namespace ConversationFlowCreateParams {
22829
23067
  | 'claude-4.5-haiku'
22830
23068
  | 'gemini-2.5-flash'
22831
23069
  | 'gemini-2.5-flash-lite'
22832
- | 'gemini-3.0-flash';
23070
+ | 'gemini-3.0-flash'
23071
+ | 'gemini-3.1-flash-lite';
22833
23072
 
22834
23073
  /**
22835
23074
  * Type of model choice
@@ -22878,6 +23117,11 @@ export namespace ConversationFlowCreateParams {
22878
23117
 
22879
23118
  else_edge?: McpNode.ElseEdge;
22880
23119
 
23120
+ /**
23121
+ * If true, play a typing sound while MCP tool executes.
23122
+ */
23123
+ enable_typing_sound?: boolean;
23124
+
22881
23125
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
22882
23126
 
22883
23127
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -23307,7 +23551,8 @@ export namespace ConversationFlowCreateParams {
23307
23551
  | 'claude-4.5-haiku'
23308
23552
  | 'gemini-2.5-flash'
23309
23553
  | 'gemini-2.5-flash-lite'
23310
- | 'gemini-3.0-flash';
23554
+ | 'gemini-3.0-flash'
23555
+ | 'gemini-3.1-flash-lite';
23311
23556
 
23312
23557
  /**
23313
23558
  * Type of model choice
@@ -23987,7 +24232,8 @@ export namespace ConversationFlowCreateParams {
23987
24232
  | 'claude-4.5-haiku'
23988
24233
  | 'gemini-2.5-flash'
23989
24234
  | 'gemini-2.5-flash-lite'
23990
- | 'gemini-3.0-flash';
24235
+ | 'gemini-3.0-flash'
24236
+ | 'gemini-3.1-flash-lite';
23991
24237
 
23992
24238
  /**
23993
24239
  * Type of model choice
@@ -24258,7 +24504,8 @@ export namespace ConversationFlowCreateParams {
24258
24504
  | 'claude-4.5-haiku'
24259
24505
  | 'gemini-2.5-flash'
24260
24506
  | 'gemini-2.5-flash-lite'
24261
- | 'gemini-3.0-flash';
24507
+ | 'gemini-3.0-flash'
24508
+ | 'gemini-3.1-flash-lite';
24262
24509
 
24263
24510
  /**
24264
24511
  * Type of model choice
@@ -24832,7 +25079,8 @@ export namespace ConversationFlowCreateParams {
24832
25079
  | 'claude-4.5-haiku'
24833
25080
  | 'gemini-2.5-flash'
24834
25081
  | 'gemini-2.5-flash-lite'
24835
- | 'gemini-3.0-flash';
25082
+ | 'gemini-3.0-flash'
25083
+ | 'gemini-3.1-flash-lite';
24836
25084
 
24837
25085
  /**
24838
25086
  * Type of model choice
@@ -25432,7 +25680,8 @@ export namespace ConversationFlowCreateParams {
25432
25680
  | 'claude-4.5-haiku'
25433
25681
  | 'gemini-2.5-flash'
25434
25682
  | 'gemini-2.5-flash-lite'
25435
- | 'gemini-3.0-flash';
25683
+ | 'gemini-3.0-flash'
25684
+ | 'gemini-3.1-flash-lite';
25436
25685
 
25437
25686
  /**
25438
25687
  * Type of model choice
@@ -26076,7 +26325,10 @@ export namespace ConversationFlowCreateParams {
26076
26325
  */
26077
26326
  name: string;
26078
26327
 
26079
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
26328
+ sms_content:
26329
+ | SendSMSTool.SMSContentPredefined
26330
+ | SendSMSTool.SMSContentInferred
26331
+ | SendSMSTool.SMSContentTemplate;
26080
26332
 
26081
26333
  type: 'send_sms';
26082
26334
 
@@ -26127,6 +26379,16 @@ export namespace ConversationFlowCreateParams {
26127
26379
 
26128
26380
  type?: 'inferred';
26129
26381
  }
26382
+
26383
+ export interface SMSContentTemplate {
26384
+ /**
26385
+ * The template to use for the SMS content. "info_collection" sends a predefined
26386
+ * message requesting information from the user.
26387
+ */
26388
+ template: 'info_collection';
26389
+
26390
+ type: 'template';
26391
+ }
26130
26392
  }
26131
26393
 
26132
26394
  export interface CustomTool {
@@ -26157,6 +26419,13 @@ export namespace ConversationFlowCreateParams {
26157
26419
  */
26158
26420
  description?: string;
26159
26421
 
26422
+ /**
26423
+ * If true, play a typing sound on the agent audio track while this tool is
26424
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
26425
+ * silence on the call.
26426
+ */
26427
+ enable_typing_sound?: boolean;
26428
+
26160
26429
  /**
26161
26430
  * The description for the sentence agent say during execution. Only applicable
26162
26431
  * when speak_during_execution is true. Can write what to say or even provide
@@ -26276,6 +26545,12 @@ export namespace ConversationFlowCreateParams {
26276
26545
  */
26277
26546
  description?: string;
26278
26547
 
26548
+ /**
26549
+ * If true, play a typing sound on the agent audio track while this tool is
26550
+ * executing.
26551
+ */
26552
+ enable_typing_sound?: boolean;
26553
+
26279
26554
  /**
26280
26555
  * The description for the sentence agent say during execution. Only applicable
26281
26556
  * when speak_during_execution is true.
@@ -26566,6 +26841,12 @@ export namespace ConversationFlowCreateParams {
26566
26841
 
26567
26842
  type: 'mcp';
26568
26843
 
26844
+ /**
26845
+ * If true, play a typing sound on the agent audio track while this MCP tool is
26846
+ * executing.
26847
+ */
26848
+ enable_typing_sound?: boolean;
26849
+
26569
26850
  /**
26570
26851
  * The description for the sentence agent say during execution. Only applicable
26571
26852
  * when speak_during_execution is true. Can write what to say or even provide
@@ -26871,7 +27152,8 @@ export namespace ConversationFlowCreateParams {
26871
27152
  | 'claude-4.5-haiku'
26872
27153
  | 'gemini-2.5-flash'
26873
27154
  | 'gemini-2.5-flash-lite'
26874
- | 'gemini-3.0-flash';
27155
+ | 'gemini-3.0-flash'
27156
+ | 'gemini-3.1-flash-lite';
26875
27157
 
26876
27158
  /**
26877
27159
  * Type of model choice
@@ -26920,6 +27202,11 @@ export namespace ConversationFlowCreateParams {
26920
27202
 
26921
27203
  else_edge?: FunctionNode.ElseEdge;
26922
27204
 
27205
+ /**
27206
+ * If true, play a typing sound while this function executes.
27207
+ */
27208
+ enable_typing_sound?: boolean;
27209
+
26923
27210
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
26924
27211
 
26925
27212
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -27340,7 +27627,8 @@ export namespace ConversationFlowCreateParams {
27340
27627
  | 'claude-4.5-haiku'
27341
27628
  | 'gemini-2.5-flash'
27342
27629
  | 'gemini-2.5-flash-lite'
27343
- | 'gemini-3.0-flash';
27630
+ | 'gemini-3.0-flash'
27631
+ | 'gemini-3.1-flash-lite';
27344
27632
 
27345
27633
  /**
27346
27634
  * Type of model choice
@@ -27384,6 +27672,11 @@ export namespace ConversationFlowCreateParams {
27384
27672
 
27385
27673
  else_edge?: CodeNode.ElseEdge;
27386
27674
 
27675
+ /**
27676
+ * If true, play a typing sound while code executes.
27677
+ */
27678
+ enable_typing_sound?: boolean;
27679
+
27387
27680
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
27388
27681
 
27389
27682
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -27816,7 +28109,8 @@ export namespace ConversationFlowCreateParams {
27816
28109
  | 'claude-4.5-haiku'
27817
28110
  | 'gemini-2.5-flash'
27818
28111
  | 'gemini-2.5-flash-lite'
27819
- | 'gemini-3.0-flash';
28112
+ | 'gemini-3.0-flash'
28113
+ | 'gemini-3.1-flash-lite';
27820
28114
 
27821
28115
  /**
27822
28116
  * Type of model choice
@@ -28468,7 +28762,8 @@ export namespace ConversationFlowCreateParams {
28468
28762
  | 'claude-4.5-haiku'
28469
28763
  | 'gemini-2.5-flash'
28470
28764
  | 'gemini-2.5-flash-lite'
28471
- | 'gemini-3.0-flash';
28765
+ | 'gemini-3.0-flash'
28766
+ | 'gemini-3.1-flash-lite';
28472
28767
 
28473
28768
  /**
28474
28769
  * Type of model choice
@@ -28834,7 +29129,8 @@ export namespace ConversationFlowCreateParams {
28834
29129
  | 'claude-4.5-haiku'
28835
29130
  | 'gemini-2.5-flash'
28836
29131
  | 'gemini-2.5-flash-lite'
28837
- | 'gemini-3.0-flash';
29132
+ | 'gemini-3.0-flash'
29133
+ | 'gemini-3.1-flash-lite';
28838
29134
 
28839
29135
  /**
28840
29136
  * Type of model choice
@@ -29257,7 +29553,8 @@ export namespace ConversationFlowCreateParams {
29257
29553
  | 'claude-4.5-haiku'
29258
29554
  | 'gemini-2.5-flash'
29259
29555
  | 'gemini-2.5-flash-lite'
29260
- | 'gemini-3.0-flash';
29556
+ | 'gemini-3.0-flash'
29557
+ | 'gemini-3.1-flash-lite';
29261
29558
 
29262
29559
  /**
29263
29560
  * Type of model choice
@@ -29279,7 +29576,10 @@ export namespace ConversationFlowCreateParams {
29279
29576
 
29280
29577
  failed_edge: SMSNode.FailedEdge;
29281
29578
 
29282
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
29579
+ instruction:
29580
+ | SMSNode.NodeInstructionPrompt
29581
+ | SMSNode.NodeInstructionStaticText
29582
+ | SMSNode.SMSInstructionTemplate;
29283
29583
 
29284
29584
  success_edge: SMSNode.SuccessEdge;
29285
29585
 
@@ -29405,6 +29705,19 @@ export namespace ConversationFlowCreateParams {
29405
29705
  type: 'static_text';
29406
29706
  }
29407
29707
 
29708
+ export interface SMSInstructionTemplate {
29709
+ /**
29710
+ * The template to use for the instruction. "info_collection" sends a predefined
29711
+ * message requesting information from the user.
29712
+ */
29713
+ template: 'info_collection';
29714
+
29715
+ /**
29716
+ * Type of instruction
29717
+ */
29718
+ type: 'template';
29719
+ }
29720
+
29408
29721
  export interface SuccessEdge {
29409
29722
  /**
29410
29723
  * Unique identifier for the edge
@@ -29677,7 +29990,8 @@ export namespace ConversationFlowCreateParams {
29677
29990
  | 'claude-4.5-haiku'
29678
29991
  | 'gemini-2.5-flash'
29679
29992
  | 'gemini-2.5-flash-lite'
29680
- | 'gemini-3.0-flash';
29993
+ | 'gemini-3.0-flash'
29994
+ | 'gemini-3.1-flash-lite';
29681
29995
 
29682
29996
  /**
29683
29997
  * Type of model choice
@@ -30237,7 +30551,8 @@ export namespace ConversationFlowCreateParams {
30237
30551
  | 'claude-4.5-haiku'
30238
30552
  | 'gemini-2.5-flash'
30239
30553
  | 'gemini-2.5-flash-lite'
30240
- | 'gemini-3.0-flash';
30554
+ | 'gemini-3.0-flash'
30555
+ | 'gemini-3.1-flash-lite';
30241
30556
 
30242
30557
  /**
30243
30558
  * Type of model choice
@@ -30620,7 +30935,8 @@ export namespace ConversationFlowCreateParams {
30620
30935
  | 'claude-4.5-haiku'
30621
30936
  | 'gemini-2.5-flash'
30622
30937
  | 'gemini-2.5-flash-lite'
30623
- | 'gemini-3.0-flash';
30938
+ | 'gemini-3.0-flash'
30939
+ | 'gemini-3.1-flash-lite';
30624
30940
 
30625
30941
  /**
30626
30942
  * Type of model choice
@@ -30669,6 +30985,11 @@ export namespace ConversationFlowCreateParams {
30669
30985
 
30670
30986
  else_edge?: McpNode.ElseEdge;
30671
30987
 
30988
+ /**
30989
+ * If true, play a typing sound while MCP tool executes.
30990
+ */
30991
+ enable_typing_sound?: boolean;
30992
+
30672
30993
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
30673
30994
 
30674
30995
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -31098,7 +31419,8 @@ export namespace ConversationFlowCreateParams {
31098
31419
  | 'claude-4.5-haiku'
31099
31420
  | 'gemini-2.5-flash'
31100
31421
  | 'gemini-2.5-flash-lite'
31101
- | 'gemini-3.0-flash';
31422
+ | 'gemini-3.0-flash'
31423
+ | 'gemini-3.1-flash-lite';
31102
31424
 
31103
31425
  /**
31104
31426
  * Type of model choice
@@ -31778,7 +32100,8 @@ export namespace ConversationFlowCreateParams {
31778
32100
  | 'claude-4.5-haiku'
31779
32101
  | 'gemini-2.5-flash'
31780
32102
  | 'gemini-2.5-flash-lite'
31781
- | 'gemini-3.0-flash';
32103
+ | 'gemini-3.0-flash'
32104
+ | 'gemini-3.1-flash-lite';
31782
32105
 
31783
32106
  /**
31784
32107
  * Type of model choice
@@ -32049,7 +32372,8 @@ export namespace ConversationFlowCreateParams {
32049
32372
  | 'claude-4.5-haiku'
32050
32373
  | 'gemini-2.5-flash'
32051
32374
  | 'gemini-2.5-flash-lite'
32052
- | 'gemini-3.0-flash';
32375
+ | 'gemini-3.0-flash'
32376
+ | 'gemini-3.1-flash-lite';
32053
32377
 
32054
32378
  /**
32055
32379
  * Type of model choice
@@ -32168,6 +32492,13 @@ export namespace ConversationFlowCreateParams {
32168
32492
  */
32169
32493
  description?: string;
32170
32494
 
32495
+ /**
32496
+ * If true, play a typing sound on the agent audio track while this tool is
32497
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
32498
+ * silence on the call.
32499
+ */
32500
+ enable_typing_sound?: boolean;
32501
+
32171
32502
  /**
32172
32503
  * The description for the sentence agent say during execution. Only applicable
32173
32504
  * when speak_during_execution is true. Can write what to say or even provide
@@ -32473,6 +32804,13 @@ export namespace ConversationFlowCreateParams {
32473
32804
  */
32474
32805
  description?: string;
32475
32806
 
32807
+ /**
32808
+ * If true, play a typing sound on the agent audio track while this tool is
32809
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
32810
+ * silence on the call.
32811
+ */
32812
+ enable_typing_sound?: boolean;
32813
+
32476
32814
  /**
32477
32815
  * The description for the sentence agent say during execution. Only applicable
32478
32816
  * when speak_during_execution is true. Can write what to say or even provide
@@ -33356,7 +33694,8 @@ export namespace ConversationFlowUpdateParams {
33356
33694
  | 'claude-4.5-haiku'
33357
33695
  | 'gemini-2.5-flash'
33358
33696
  | 'gemini-2.5-flash-lite'
33359
- | 'gemini-3.0-flash';
33697
+ | 'gemini-3.0-flash'
33698
+ | 'gemini-3.1-flash-lite';
33360
33699
 
33361
33700
  /**
33362
33701
  * Type of model choice
@@ -33956,7 +34295,8 @@ export namespace ConversationFlowUpdateParams {
33956
34295
  | 'claude-4.5-haiku'
33957
34296
  | 'gemini-2.5-flash'
33958
34297
  | 'gemini-2.5-flash-lite'
33959
- | 'gemini-3.0-flash';
34298
+ | 'gemini-3.0-flash'
34299
+ | 'gemini-3.1-flash-lite';
33960
34300
 
33961
34301
  /**
33962
34302
  * Type of model choice
@@ -34600,7 +34940,10 @@ export namespace ConversationFlowUpdateParams {
34600
34940
  */
34601
34941
  name: string;
34602
34942
 
34603
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
34943
+ sms_content:
34944
+ | SendSMSTool.SMSContentPredefined
34945
+ | SendSMSTool.SMSContentInferred
34946
+ | SendSMSTool.SMSContentTemplate;
34604
34947
 
34605
34948
  type: 'send_sms';
34606
34949
 
@@ -34651,6 +34994,16 @@ export namespace ConversationFlowUpdateParams {
34651
34994
 
34652
34995
  type?: 'inferred';
34653
34996
  }
34997
+
34998
+ export interface SMSContentTemplate {
34999
+ /**
35000
+ * The template to use for the SMS content. "info_collection" sends a predefined
35001
+ * message requesting information from the user.
35002
+ */
35003
+ template: 'info_collection';
35004
+
35005
+ type: 'template';
35006
+ }
34654
35007
  }
34655
35008
 
34656
35009
  export interface CustomTool {
@@ -34681,6 +35034,13 @@ export namespace ConversationFlowUpdateParams {
34681
35034
  */
34682
35035
  description?: string;
34683
35036
 
35037
+ /**
35038
+ * If true, play a typing sound on the agent audio track while this tool is
35039
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
35040
+ * silence on the call.
35041
+ */
35042
+ enable_typing_sound?: boolean;
35043
+
34684
35044
  /**
34685
35045
  * The description for the sentence agent say during execution. Only applicable
34686
35046
  * when speak_during_execution is true. Can write what to say or even provide
@@ -34800,6 +35160,12 @@ export namespace ConversationFlowUpdateParams {
34800
35160
  */
34801
35161
  description?: string;
34802
35162
 
35163
+ /**
35164
+ * If true, play a typing sound on the agent audio track while this tool is
35165
+ * executing.
35166
+ */
35167
+ enable_typing_sound?: boolean;
35168
+
34803
35169
  /**
34804
35170
  * The description for the sentence agent say during execution. Only applicable
34805
35171
  * when speak_during_execution is true.
@@ -35090,6 +35456,12 @@ export namespace ConversationFlowUpdateParams {
35090
35456
 
35091
35457
  type: 'mcp';
35092
35458
 
35459
+ /**
35460
+ * If true, play a typing sound on the agent audio track while this MCP tool is
35461
+ * executing.
35462
+ */
35463
+ enable_typing_sound?: boolean;
35464
+
35093
35465
  /**
35094
35466
  * The description for the sentence agent say during execution. Only applicable
35095
35467
  * when speak_during_execution is true. Can write what to say or even provide
@@ -35395,7 +35767,8 @@ export namespace ConversationFlowUpdateParams {
35395
35767
  | 'claude-4.5-haiku'
35396
35768
  | 'gemini-2.5-flash'
35397
35769
  | 'gemini-2.5-flash-lite'
35398
- | 'gemini-3.0-flash';
35770
+ | 'gemini-3.0-flash'
35771
+ | 'gemini-3.1-flash-lite';
35399
35772
 
35400
35773
  /**
35401
35774
  * Type of model choice
@@ -35444,6 +35817,11 @@ export namespace ConversationFlowUpdateParams {
35444
35817
 
35445
35818
  else_edge?: FunctionNode.ElseEdge;
35446
35819
 
35820
+ /**
35821
+ * If true, play a typing sound while this function executes.
35822
+ */
35823
+ enable_typing_sound?: boolean;
35824
+
35447
35825
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
35448
35826
 
35449
35827
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -35864,7 +36242,8 @@ export namespace ConversationFlowUpdateParams {
35864
36242
  | 'claude-4.5-haiku'
35865
36243
  | 'gemini-2.5-flash'
35866
36244
  | 'gemini-2.5-flash-lite'
35867
- | 'gemini-3.0-flash';
36245
+ | 'gemini-3.0-flash'
36246
+ | 'gemini-3.1-flash-lite';
35868
36247
 
35869
36248
  /**
35870
36249
  * Type of model choice
@@ -35908,6 +36287,11 @@ export namespace ConversationFlowUpdateParams {
35908
36287
 
35909
36288
  else_edge?: CodeNode.ElseEdge;
35910
36289
 
36290
+ /**
36291
+ * If true, play a typing sound while code executes.
36292
+ */
36293
+ enable_typing_sound?: boolean;
36294
+
35911
36295
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
35912
36296
 
35913
36297
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -36340,7 +36724,8 @@ export namespace ConversationFlowUpdateParams {
36340
36724
  | 'claude-4.5-haiku'
36341
36725
  | 'gemini-2.5-flash'
36342
36726
  | 'gemini-2.5-flash-lite'
36343
- | 'gemini-3.0-flash';
36727
+ | 'gemini-3.0-flash'
36728
+ | 'gemini-3.1-flash-lite';
36344
36729
 
36345
36730
  /**
36346
36731
  * Type of model choice
@@ -36992,7 +37377,8 @@ export namespace ConversationFlowUpdateParams {
36992
37377
  | 'claude-4.5-haiku'
36993
37378
  | 'gemini-2.5-flash'
36994
37379
  | 'gemini-2.5-flash-lite'
36995
- | 'gemini-3.0-flash';
37380
+ | 'gemini-3.0-flash'
37381
+ | 'gemini-3.1-flash-lite';
36996
37382
 
36997
37383
  /**
36998
37384
  * Type of model choice
@@ -37358,7 +37744,8 @@ export namespace ConversationFlowUpdateParams {
37358
37744
  | 'claude-4.5-haiku'
37359
37745
  | 'gemini-2.5-flash'
37360
37746
  | 'gemini-2.5-flash-lite'
37361
- | 'gemini-3.0-flash';
37747
+ | 'gemini-3.0-flash'
37748
+ | 'gemini-3.1-flash-lite';
37362
37749
 
37363
37750
  /**
37364
37751
  * Type of model choice
@@ -37781,7 +38168,8 @@ export namespace ConversationFlowUpdateParams {
37781
38168
  | 'claude-4.5-haiku'
37782
38169
  | 'gemini-2.5-flash'
37783
38170
  | 'gemini-2.5-flash-lite'
37784
- | 'gemini-3.0-flash';
38171
+ | 'gemini-3.0-flash'
38172
+ | 'gemini-3.1-flash-lite';
37785
38173
 
37786
38174
  /**
37787
38175
  * Type of model choice
@@ -37803,7 +38191,10 @@ export namespace ConversationFlowUpdateParams {
37803
38191
 
37804
38192
  failed_edge: SMSNode.FailedEdge;
37805
38193
 
37806
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
38194
+ instruction:
38195
+ | SMSNode.NodeInstructionPrompt
38196
+ | SMSNode.NodeInstructionStaticText
38197
+ | SMSNode.SMSInstructionTemplate;
37807
38198
 
37808
38199
  success_edge: SMSNode.SuccessEdge;
37809
38200
 
@@ -37929,6 +38320,19 @@ export namespace ConversationFlowUpdateParams {
37929
38320
  type: 'static_text';
37930
38321
  }
37931
38322
 
38323
+ export interface SMSInstructionTemplate {
38324
+ /**
38325
+ * The template to use for the instruction. "info_collection" sends a predefined
38326
+ * message requesting information from the user.
38327
+ */
38328
+ template: 'info_collection';
38329
+
38330
+ /**
38331
+ * Type of instruction
38332
+ */
38333
+ type: 'template';
38334
+ }
38335
+
37932
38336
  export interface SuccessEdge {
37933
38337
  /**
37934
38338
  * Unique identifier for the edge
@@ -38201,7 +38605,8 @@ export namespace ConversationFlowUpdateParams {
38201
38605
  | 'claude-4.5-haiku'
38202
38606
  | 'gemini-2.5-flash'
38203
38607
  | 'gemini-2.5-flash-lite'
38204
- | 'gemini-3.0-flash';
38608
+ | 'gemini-3.0-flash'
38609
+ | 'gemini-3.1-flash-lite';
38205
38610
 
38206
38611
  /**
38207
38612
  * Type of model choice
@@ -38761,7 +39166,8 @@ export namespace ConversationFlowUpdateParams {
38761
39166
  | 'claude-4.5-haiku'
38762
39167
  | 'gemini-2.5-flash'
38763
39168
  | 'gemini-2.5-flash-lite'
38764
- | 'gemini-3.0-flash';
39169
+ | 'gemini-3.0-flash'
39170
+ | 'gemini-3.1-flash-lite';
38765
39171
 
38766
39172
  /**
38767
39173
  * Type of model choice
@@ -39144,7 +39550,8 @@ export namespace ConversationFlowUpdateParams {
39144
39550
  | 'claude-4.5-haiku'
39145
39551
  | 'gemini-2.5-flash'
39146
39552
  | 'gemini-2.5-flash-lite'
39147
- | 'gemini-3.0-flash';
39553
+ | 'gemini-3.0-flash'
39554
+ | 'gemini-3.1-flash-lite';
39148
39555
 
39149
39556
  /**
39150
39557
  * Type of model choice
@@ -39193,6 +39600,11 @@ export namespace ConversationFlowUpdateParams {
39193
39600
 
39194
39601
  else_edge?: McpNode.ElseEdge;
39195
39602
 
39603
+ /**
39604
+ * If true, play a typing sound while MCP tool executes.
39605
+ */
39606
+ enable_typing_sound?: boolean;
39607
+
39196
39608
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
39197
39609
 
39198
39610
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -39622,7 +40034,8 @@ export namespace ConversationFlowUpdateParams {
39622
40034
  | 'claude-4.5-haiku'
39623
40035
  | 'gemini-2.5-flash'
39624
40036
  | 'gemini-2.5-flash-lite'
39625
- | 'gemini-3.0-flash';
40037
+ | 'gemini-3.0-flash'
40038
+ | 'gemini-3.1-flash-lite';
39626
40039
 
39627
40040
  /**
39628
40041
  * Type of model choice
@@ -40302,7 +40715,8 @@ export namespace ConversationFlowUpdateParams {
40302
40715
  | 'claude-4.5-haiku'
40303
40716
  | 'gemini-2.5-flash'
40304
40717
  | 'gemini-2.5-flash-lite'
40305
- | 'gemini-3.0-flash';
40718
+ | 'gemini-3.0-flash'
40719
+ | 'gemini-3.1-flash-lite';
40306
40720
 
40307
40721
  /**
40308
40722
  * Type of model choice
@@ -40573,7 +40987,8 @@ export namespace ConversationFlowUpdateParams {
40573
40987
  | 'claude-4.5-haiku'
40574
40988
  | 'gemini-2.5-flash'
40575
40989
  | 'gemini-2.5-flash-lite'
40576
- | 'gemini-3.0-flash';
40990
+ | 'gemini-3.0-flash'
40991
+ | 'gemini-3.1-flash-lite';
40577
40992
 
40578
40993
  /**
40579
40994
  * Type of model choice
@@ -40692,6 +41107,13 @@ export namespace ConversationFlowUpdateParams {
40692
41107
  */
40693
41108
  description?: string;
40694
41109
 
41110
+ /**
41111
+ * If true, play a typing sound on the agent audio track while this tool is
41112
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
41113
+ * silence on the call.
41114
+ */
41115
+ enable_typing_sound?: boolean;
41116
+
40695
41117
  /**
40696
41118
  * The description for the sentence agent say during execution. Only applicable
40697
41119
  * when speak_during_execution is true. Can write what to say or even provide
@@ -40950,7 +41372,8 @@ export namespace ConversationFlowUpdateParams {
40950
41372
  | 'claude-4.5-haiku'
40951
41373
  | 'gemini-2.5-flash'
40952
41374
  | 'gemini-2.5-flash-lite'
40953
- | 'gemini-3.0-flash';
41375
+ | 'gemini-3.0-flash'
41376
+ | 'gemini-3.1-flash-lite';
40954
41377
 
40955
41378
  /**
40956
41379
  * Type of model choice
@@ -41458,7 +41881,8 @@ export namespace ConversationFlowUpdateParams {
41458
41881
  | 'claude-4.5-haiku'
41459
41882
  | 'gemini-2.5-flash'
41460
41883
  | 'gemini-2.5-flash-lite'
41461
- | 'gemini-3.0-flash';
41884
+ | 'gemini-3.0-flash'
41885
+ | 'gemini-3.1-flash-lite';
41462
41886
 
41463
41887
  /**
41464
41888
  * Type of model choice
@@ -42058,7 +42482,8 @@ export namespace ConversationFlowUpdateParams {
42058
42482
  | 'claude-4.5-haiku'
42059
42483
  | 'gemini-2.5-flash'
42060
42484
  | 'gemini-2.5-flash-lite'
42061
- | 'gemini-3.0-flash';
42485
+ | 'gemini-3.0-flash'
42486
+ | 'gemini-3.1-flash-lite';
42062
42487
 
42063
42488
  /**
42064
42489
  * Type of model choice
@@ -42702,7 +43127,10 @@ export namespace ConversationFlowUpdateParams {
42702
43127
  */
42703
43128
  name: string;
42704
43129
 
42705
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
43130
+ sms_content:
43131
+ | SendSMSTool.SMSContentPredefined
43132
+ | SendSMSTool.SMSContentInferred
43133
+ | SendSMSTool.SMSContentTemplate;
42706
43134
 
42707
43135
  type: 'send_sms';
42708
43136
 
@@ -42753,6 +43181,16 @@ export namespace ConversationFlowUpdateParams {
42753
43181
 
42754
43182
  type?: 'inferred';
42755
43183
  }
43184
+
43185
+ export interface SMSContentTemplate {
43186
+ /**
43187
+ * The template to use for the SMS content. "info_collection" sends a predefined
43188
+ * message requesting information from the user.
43189
+ */
43190
+ template: 'info_collection';
43191
+
43192
+ type: 'template';
43193
+ }
42756
43194
  }
42757
43195
 
42758
43196
  export interface CustomTool {
@@ -42783,6 +43221,13 @@ export namespace ConversationFlowUpdateParams {
42783
43221
  */
42784
43222
  description?: string;
42785
43223
 
43224
+ /**
43225
+ * If true, play a typing sound on the agent audio track while this tool is
43226
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
43227
+ * silence on the call.
43228
+ */
43229
+ enable_typing_sound?: boolean;
43230
+
42786
43231
  /**
42787
43232
  * The description for the sentence agent say during execution. Only applicable
42788
43233
  * when speak_during_execution is true. Can write what to say or even provide
@@ -42902,6 +43347,12 @@ export namespace ConversationFlowUpdateParams {
42902
43347
  */
42903
43348
  description?: string;
42904
43349
 
43350
+ /**
43351
+ * If true, play a typing sound on the agent audio track while this tool is
43352
+ * executing.
43353
+ */
43354
+ enable_typing_sound?: boolean;
43355
+
42905
43356
  /**
42906
43357
  * The description for the sentence agent say during execution. Only applicable
42907
43358
  * when speak_during_execution is true.
@@ -43192,6 +43643,12 @@ export namespace ConversationFlowUpdateParams {
43192
43643
 
43193
43644
  type: 'mcp';
43194
43645
 
43646
+ /**
43647
+ * If true, play a typing sound on the agent audio track while this MCP tool is
43648
+ * executing.
43649
+ */
43650
+ enable_typing_sound?: boolean;
43651
+
43195
43652
  /**
43196
43653
  * The description for the sentence agent say during execution. Only applicable
43197
43654
  * when speak_during_execution is true. Can write what to say or even provide
@@ -43497,7 +43954,8 @@ export namespace ConversationFlowUpdateParams {
43497
43954
  | 'claude-4.5-haiku'
43498
43955
  | 'gemini-2.5-flash'
43499
43956
  | 'gemini-2.5-flash-lite'
43500
- | 'gemini-3.0-flash';
43957
+ | 'gemini-3.0-flash'
43958
+ | 'gemini-3.1-flash-lite';
43501
43959
 
43502
43960
  /**
43503
43961
  * Type of model choice
@@ -43546,6 +44004,11 @@ export namespace ConversationFlowUpdateParams {
43546
44004
 
43547
44005
  else_edge?: FunctionNode.ElseEdge;
43548
44006
 
44007
+ /**
44008
+ * If true, play a typing sound while this function executes.
44009
+ */
44010
+ enable_typing_sound?: boolean;
44011
+
43549
44012
  finetune_transition_examples?: Array<FunctionNode.FinetuneTransitionExample>;
43550
44013
 
43551
44014
  global_node_setting?: FunctionNode.GlobalNodeSetting;
@@ -43966,7 +44429,8 @@ export namespace ConversationFlowUpdateParams {
43966
44429
  | 'claude-4.5-haiku'
43967
44430
  | 'gemini-2.5-flash'
43968
44431
  | 'gemini-2.5-flash-lite'
43969
- | 'gemini-3.0-flash';
44432
+ | 'gemini-3.0-flash'
44433
+ | 'gemini-3.1-flash-lite';
43970
44434
 
43971
44435
  /**
43972
44436
  * Type of model choice
@@ -44010,6 +44474,11 @@ export namespace ConversationFlowUpdateParams {
44010
44474
 
44011
44475
  else_edge?: CodeNode.ElseEdge;
44012
44476
 
44477
+ /**
44478
+ * If true, play a typing sound while code executes.
44479
+ */
44480
+ enable_typing_sound?: boolean;
44481
+
44013
44482
  finetune_transition_examples?: Array<CodeNode.FinetuneTransitionExample>;
44014
44483
 
44015
44484
  global_node_setting?: CodeNode.GlobalNodeSetting;
@@ -44442,7 +44911,8 @@ export namespace ConversationFlowUpdateParams {
44442
44911
  | 'claude-4.5-haiku'
44443
44912
  | 'gemini-2.5-flash'
44444
44913
  | 'gemini-2.5-flash-lite'
44445
- | 'gemini-3.0-flash';
44914
+ | 'gemini-3.0-flash'
44915
+ | 'gemini-3.1-flash-lite';
44446
44916
 
44447
44917
  /**
44448
44918
  * Type of model choice
@@ -45094,7 +45564,8 @@ export namespace ConversationFlowUpdateParams {
45094
45564
  | 'claude-4.5-haiku'
45095
45565
  | 'gemini-2.5-flash'
45096
45566
  | 'gemini-2.5-flash-lite'
45097
- | 'gemini-3.0-flash';
45567
+ | 'gemini-3.0-flash'
45568
+ | 'gemini-3.1-flash-lite';
45098
45569
 
45099
45570
  /**
45100
45571
  * Type of model choice
@@ -45460,7 +45931,8 @@ export namespace ConversationFlowUpdateParams {
45460
45931
  | 'claude-4.5-haiku'
45461
45932
  | 'gemini-2.5-flash'
45462
45933
  | 'gemini-2.5-flash-lite'
45463
- | 'gemini-3.0-flash';
45934
+ | 'gemini-3.0-flash'
45935
+ | 'gemini-3.1-flash-lite';
45464
45936
 
45465
45937
  /**
45466
45938
  * Type of model choice
@@ -45883,7 +46355,8 @@ export namespace ConversationFlowUpdateParams {
45883
46355
  | 'claude-4.5-haiku'
45884
46356
  | 'gemini-2.5-flash'
45885
46357
  | 'gemini-2.5-flash-lite'
45886
- | 'gemini-3.0-flash';
46358
+ | 'gemini-3.0-flash'
46359
+ | 'gemini-3.1-flash-lite';
45887
46360
 
45888
46361
  /**
45889
46362
  * Type of model choice
@@ -45905,7 +46378,10 @@ export namespace ConversationFlowUpdateParams {
45905
46378
 
45906
46379
  failed_edge: SMSNode.FailedEdge;
45907
46380
 
45908
- instruction: SMSNode.NodeInstructionPrompt | SMSNode.NodeInstructionStaticText;
46381
+ instruction:
46382
+ | SMSNode.NodeInstructionPrompt
46383
+ | SMSNode.NodeInstructionStaticText
46384
+ | SMSNode.SMSInstructionTemplate;
45909
46385
 
45910
46386
  success_edge: SMSNode.SuccessEdge;
45911
46387
 
@@ -46031,6 +46507,19 @@ export namespace ConversationFlowUpdateParams {
46031
46507
  type: 'static_text';
46032
46508
  }
46033
46509
 
46510
+ export interface SMSInstructionTemplate {
46511
+ /**
46512
+ * The template to use for the instruction. "info_collection" sends a predefined
46513
+ * message requesting information from the user.
46514
+ */
46515
+ template: 'info_collection';
46516
+
46517
+ /**
46518
+ * Type of instruction
46519
+ */
46520
+ type: 'template';
46521
+ }
46522
+
46034
46523
  export interface SuccessEdge {
46035
46524
  /**
46036
46525
  * Unique identifier for the edge
@@ -46303,7 +46792,8 @@ export namespace ConversationFlowUpdateParams {
46303
46792
  | 'claude-4.5-haiku'
46304
46793
  | 'gemini-2.5-flash'
46305
46794
  | 'gemini-2.5-flash-lite'
46306
- | 'gemini-3.0-flash';
46795
+ | 'gemini-3.0-flash'
46796
+ | 'gemini-3.1-flash-lite';
46307
46797
 
46308
46798
  /**
46309
46799
  * Type of model choice
@@ -46863,7 +47353,8 @@ export namespace ConversationFlowUpdateParams {
46863
47353
  | 'claude-4.5-haiku'
46864
47354
  | 'gemini-2.5-flash'
46865
47355
  | 'gemini-2.5-flash-lite'
46866
- | 'gemini-3.0-flash';
47356
+ | 'gemini-3.0-flash'
47357
+ | 'gemini-3.1-flash-lite';
46867
47358
 
46868
47359
  /**
46869
47360
  * Type of model choice
@@ -47246,7 +47737,8 @@ export namespace ConversationFlowUpdateParams {
47246
47737
  | 'claude-4.5-haiku'
47247
47738
  | 'gemini-2.5-flash'
47248
47739
  | 'gemini-2.5-flash-lite'
47249
- | 'gemini-3.0-flash';
47740
+ | 'gemini-3.0-flash'
47741
+ | 'gemini-3.1-flash-lite';
47250
47742
 
47251
47743
  /**
47252
47744
  * Type of model choice
@@ -47295,6 +47787,11 @@ export namespace ConversationFlowUpdateParams {
47295
47787
 
47296
47788
  else_edge?: McpNode.ElseEdge;
47297
47789
 
47790
+ /**
47791
+ * If true, play a typing sound while MCP tool executes.
47792
+ */
47793
+ enable_typing_sound?: boolean;
47794
+
47298
47795
  finetune_transition_examples?: Array<McpNode.FinetuneTransitionExample>;
47299
47796
 
47300
47797
  global_node_setting?: McpNode.GlobalNodeSetting;
@@ -47724,7 +48221,8 @@ export namespace ConversationFlowUpdateParams {
47724
48221
  | 'claude-4.5-haiku'
47725
48222
  | 'gemini-2.5-flash'
47726
48223
  | 'gemini-2.5-flash-lite'
47727
- | 'gemini-3.0-flash';
48224
+ | 'gemini-3.0-flash'
48225
+ | 'gemini-3.1-flash-lite';
47728
48226
 
47729
48227
  /**
47730
48228
  * Type of model choice
@@ -48404,7 +48902,8 @@ export namespace ConversationFlowUpdateParams {
48404
48902
  | 'claude-4.5-haiku'
48405
48903
  | 'gemini-2.5-flash'
48406
48904
  | 'gemini-2.5-flash-lite'
48407
- | 'gemini-3.0-flash';
48905
+ | 'gemini-3.0-flash'
48906
+ | 'gemini-3.1-flash-lite';
48408
48907
 
48409
48908
  /**
48410
48909
  * Type of model choice
@@ -48675,7 +49174,8 @@ export namespace ConversationFlowUpdateParams {
48675
49174
  | 'claude-4.5-haiku'
48676
49175
  | 'gemini-2.5-flash'
48677
49176
  | 'gemini-2.5-flash-lite'
48678
- | 'gemini-3.0-flash';
49177
+ | 'gemini-3.0-flash'
49178
+ | 'gemini-3.1-flash-lite';
48679
49179
 
48680
49180
  /**
48681
49181
  * Type of model choice
@@ -48760,6 +49260,13 @@ export namespace ConversationFlowUpdateParams {
48760
49260
  */
48761
49261
  description?: string;
48762
49262
 
49263
+ /**
49264
+ * If true, play a typing sound on the agent audio track while this tool is
49265
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
49266
+ * silence on the call.
49267
+ */
49268
+ enable_typing_sound?: boolean;
49269
+
48763
49270
  /**
48764
49271
  * The description for the sentence agent say during execution. Only applicable
48765
49272
  * when speak_during_execution is true. Can write what to say or even provide