99from ..types .posted_config_prompt_spec import PostedConfigPromptSpec
1010from ..types .posted_ellm_model import PostedEllmModel
1111from ..types .posted_event_message_specs import PostedEventMessageSpecs
12+ from ..types .posted_interruption_spec import PostedInterruptionSpec
1213from ..types .posted_language_model import PostedLanguageModel
1314from ..types .posted_nudge_spec import PostedNudgeSpec
1415from ..types .posted_timeout_specs import PostedTimeoutSpecs
16+ from ..types .posted_turn_detection_spec import PostedTurnDetectionSpec
1517from ..types .posted_user_defined_tool_spec import PostedUserDefinedToolSpec
1618from ..types .posted_webhook_spec import PostedWebhookSpec
1719from ..types .return_config import ReturnConfig
@@ -111,11 +113,13 @@ def create_config(
111113 builtin_tools : typing .Optional [typing .Sequence [typing .Optional [PostedBuiltinTool ]]] = OMIT ,
112114 ellm_model : typing .Optional [PostedEllmModel ] = OMIT ,
113115 event_messages : typing .Optional [PostedEventMessageSpecs ] = OMIT ,
116+ interruption : typing .Optional [PostedInterruptionSpec ] = OMIT ,
114117 language_model : typing .Optional [PostedLanguageModel ] = OMIT ,
115118 nudges : typing .Optional [PostedNudgeSpec ] = OMIT ,
116119 prompt : typing .Optional [PostedConfigPromptSpec ] = OMIT ,
117120 timeouts : typing .Optional [PostedTimeoutSpecs ] = OMIT ,
118121 tools : typing .Optional [typing .Sequence [typing .Optional [PostedUserDefinedToolSpec ]]] = OMIT ,
122+ turn_detection : typing .Optional [PostedTurnDetectionSpec ] = OMIT ,
119123 version_description : typing .Optional [str ] = OMIT ,
120124 voice : typing .Optional [VoiceRef ] = OMIT ,
121125 webhooks : typing .Optional [typing .Sequence [typing .Optional [PostedWebhookSpec ]]] = OMIT ,
@@ -141,6 +145,8 @@ def create_config(
141145
142146 event_messages : typing.Optional[PostedEventMessageSpecs]
143147
148+ interruption : typing.Optional[PostedInterruptionSpec]
149+
144150 language_model : typing.Optional[PostedLanguageModel]
145151
146152 nudges : typing.Optional[PostedNudgeSpec]
@@ -152,6 +158,8 @@ def create_config(
152158 tools : typing.Optional[typing.Sequence[typing.Optional[PostedUserDefinedToolSpec]]]
153159 Tool specification for a Config.
154160
161+ turn_detection : typing.Optional[PostedTurnDetectionSpec]
162+
155163 version_description : typing.Optional[str]
156164 An optional description of the Config version.
157165
@@ -221,11 +229,13 @@ def create_config(
221229 builtin_tools = builtin_tools ,
222230 ellm_model = ellm_model ,
223231 event_messages = event_messages ,
232+ interruption = interruption ,
224233 language_model = language_model ,
225234 nudges = nudges ,
226235 prompt = prompt ,
227236 timeouts = timeouts ,
228237 tools = tools ,
238+ turn_detection = turn_detection ,
229239 version_description = version_description ,
230240 voice = voice ,
231241 webhooks = webhooks ,
@@ -305,11 +315,13 @@ def create_config_version(
305315 builtin_tools : typing .Optional [typing .Sequence [typing .Optional [PostedBuiltinTool ]]] = OMIT ,
306316 ellm_model : typing .Optional [PostedEllmModel ] = OMIT ,
307317 event_messages : typing .Optional [PostedEventMessageSpecs ] = OMIT ,
318+ interruption : typing .Optional [PostedInterruptionSpec ] = OMIT ,
308319 language_model : typing .Optional [PostedLanguageModel ] = OMIT ,
309320 nudges : typing .Optional [PostedNudgeSpec ] = OMIT ,
310321 prompt : typing .Optional [PostedConfigPromptSpec ] = OMIT ,
311322 timeouts : typing .Optional [PostedTimeoutSpecs ] = OMIT ,
312323 tools : typing .Optional [typing .Sequence [typing .Optional [PostedUserDefinedToolSpec ]]] = OMIT ,
324+ turn_detection : typing .Optional [PostedTurnDetectionSpec ] = OMIT ,
313325 version_description : typing .Optional [str ] = OMIT ,
314326 voice : typing .Optional [VoiceRef ] = OMIT ,
315327 webhooks : typing .Optional [typing .Sequence [typing .Optional [PostedWebhookSpec ]]] = OMIT ,
@@ -335,6 +347,8 @@ def create_config_version(
335347
336348 event_messages : typing.Optional[PostedEventMessageSpecs]
337349
350+ interruption : typing.Optional[PostedInterruptionSpec]
351+
338352 language_model : typing.Optional[PostedLanguageModel]
339353
340354 nudges : typing.Optional[PostedNudgeSpec]
@@ -346,6 +360,8 @@ def create_config_version(
346360 tools : typing.Optional[typing.Sequence[typing.Optional[PostedUserDefinedToolSpec]]]
347361 Tool specification for a Config.
348362
363+ turn_detection : typing.Optional[PostedTurnDetectionSpec]
364+
349365 version_description : typing.Optional[str]
350366 An optional description of the Config version.
351367
@@ -419,11 +435,13 @@ def create_config_version(
419435 builtin_tools = builtin_tools ,
420436 ellm_model = ellm_model ,
421437 event_messages = event_messages ,
438+ interruption = interruption ,
422439 language_model = language_model ,
423440 nudges = nudges ,
424441 prompt = prompt ,
425442 timeouts = timeouts ,
426443 tools = tools ,
444+ turn_detection = turn_detection ,
427445 version_description = version_description ,
428446 voice = voice ,
429447 webhooks = webhooks ,
@@ -737,11 +755,13 @@ async def create_config(
737755 builtin_tools : typing .Optional [typing .Sequence [typing .Optional [PostedBuiltinTool ]]] = OMIT ,
738756 ellm_model : typing .Optional [PostedEllmModel ] = OMIT ,
739757 event_messages : typing .Optional [PostedEventMessageSpecs ] = OMIT ,
758+ interruption : typing .Optional [PostedInterruptionSpec ] = OMIT ,
740759 language_model : typing .Optional [PostedLanguageModel ] = OMIT ,
741760 nudges : typing .Optional [PostedNudgeSpec ] = OMIT ,
742761 prompt : typing .Optional [PostedConfigPromptSpec ] = OMIT ,
743762 timeouts : typing .Optional [PostedTimeoutSpecs ] = OMIT ,
744763 tools : typing .Optional [typing .Sequence [typing .Optional [PostedUserDefinedToolSpec ]]] = OMIT ,
764+ turn_detection : typing .Optional [PostedTurnDetectionSpec ] = OMIT ,
745765 version_description : typing .Optional [str ] = OMIT ,
746766 voice : typing .Optional [VoiceRef ] = OMIT ,
747767 webhooks : typing .Optional [typing .Sequence [typing .Optional [PostedWebhookSpec ]]] = OMIT ,
@@ -767,6 +787,8 @@ async def create_config(
767787
768788 event_messages : typing.Optional[PostedEventMessageSpecs]
769789
790+ interruption : typing.Optional[PostedInterruptionSpec]
791+
770792 language_model : typing.Optional[PostedLanguageModel]
771793
772794 nudges : typing.Optional[PostedNudgeSpec]
@@ -778,6 +800,8 @@ async def create_config(
778800 tools : typing.Optional[typing.Sequence[typing.Optional[PostedUserDefinedToolSpec]]]
779801 Tool specification for a Config.
780802
803+ turn_detection : typing.Optional[PostedTurnDetectionSpec]
804+
781805 version_description : typing.Optional[str]
782806 An optional description of the Config version.
783807
@@ -855,11 +879,13 @@ async def main() -> None:
855879 builtin_tools = builtin_tools ,
856880 ellm_model = ellm_model ,
857881 event_messages = event_messages ,
882+ interruption = interruption ,
858883 language_model = language_model ,
859884 nudges = nudges ,
860885 prompt = prompt ,
861886 timeouts = timeouts ,
862887 tools = tools ,
888+ turn_detection = turn_detection ,
863889 version_description = version_description ,
864890 voice = voice ,
865891 webhooks = webhooks ,
@@ -948,11 +974,13 @@ async def create_config_version(
948974 builtin_tools : typing .Optional [typing .Sequence [typing .Optional [PostedBuiltinTool ]]] = OMIT ,
949975 ellm_model : typing .Optional [PostedEllmModel ] = OMIT ,
950976 event_messages : typing .Optional [PostedEventMessageSpecs ] = OMIT ,
977+ interruption : typing .Optional [PostedInterruptionSpec ] = OMIT ,
951978 language_model : typing .Optional [PostedLanguageModel ] = OMIT ,
952979 nudges : typing .Optional [PostedNudgeSpec ] = OMIT ,
953980 prompt : typing .Optional [PostedConfigPromptSpec ] = OMIT ,
954981 timeouts : typing .Optional [PostedTimeoutSpecs ] = OMIT ,
955982 tools : typing .Optional [typing .Sequence [typing .Optional [PostedUserDefinedToolSpec ]]] = OMIT ,
983+ turn_detection : typing .Optional [PostedTurnDetectionSpec ] = OMIT ,
956984 version_description : typing .Optional [str ] = OMIT ,
957985 voice : typing .Optional [VoiceRef ] = OMIT ,
958986 webhooks : typing .Optional [typing .Sequence [typing .Optional [PostedWebhookSpec ]]] = OMIT ,
@@ -978,6 +1006,8 @@ async def create_config_version(
9781006
9791007 event_messages : typing.Optional[PostedEventMessageSpecs]
9801008
1009+ interruption : typing.Optional[PostedInterruptionSpec]
1010+
9811011 language_model : typing.Optional[PostedLanguageModel]
9821012
9831013 nudges : typing.Optional[PostedNudgeSpec]
@@ -989,6 +1019,8 @@ async def create_config_version(
9891019 tools : typing.Optional[typing.Sequence[typing.Optional[PostedUserDefinedToolSpec]]]
9901020 Tool specification for a Config.
9911021
1022+ turn_detection : typing.Optional[PostedTurnDetectionSpec]
1023+
9921024 version_description : typing.Optional[str]
9931025 An optional description of the Config version.
9941026
@@ -1070,11 +1102,13 @@ async def main() -> None:
10701102 builtin_tools = builtin_tools ,
10711103 ellm_model = ellm_model ,
10721104 event_messages = event_messages ,
1105+ interruption = interruption ,
10731106 language_model = language_model ,
10741107 nudges = nudges ,
10751108 prompt = prompt ,
10761109 timeouts = timeouts ,
10771110 tools = tools ,
1111+ turn_detection = turn_detection ,
10781112 version_description = version_description ,
10791113 voice = voice ,
10801114 webhooks = webhooks ,
0 commit comments