@@ -48,6 +48,7 @@ def get_signed_url(
4848 agent_id : str ,
4949 include_conversation_id : typing .Optional [bool ] = None ,
5050 branch_id : typing .Optional [str ] = None ,
51+ environment : typing .Optional [str ] = None ,
5152 request_options : typing .Optional [RequestOptions ] = None ,
5253 ) -> ConversationSignedUrlResponseModel :
5354 """
@@ -64,6 +65,9 @@ def get_signed_url(
6465 branch_id : typing.Optional[str]
6566 The ID of the branch to use
6667
68+ environment : typing.Optional[str]
69+ The environment to use. Defaults to "production" on the server.
70+
6771 request_options : typing.Optional[RequestOptions]
6872 Request-specific configuration.
6973
@@ -89,6 +93,7 @@ def get_signed_url(
8993 agent_id = agent_id ,
9094 include_conversation_id = include_conversation_id ,
9195 branch_id = branch_id ,
96+ environment = environment ,
9297 request_options = request_options ,
9398 )
9499 return _response .data
@@ -99,6 +104,7 @@ def get_webrtc_token(
99104 agent_id : str ,
100105 participant_name : typing .Optional [str ] = None ,
101106 branch_id : typing .Optional [str ] = None ,
107+ environment : typing .Optional [str ] = None ,
102108 request_options : typing .Optional [RequestOptions ] = None ,
103109 ) -> TokenResponseModel :
104110 """
@@ -115,6 +121,9 @@ def get_webrtc_token(
115121 branch_id : typing.Optional[str]
116122 The ID of the branch to use
117123
124+ environment : typing.Optional[str]
125+ The environment to use. Defaults to "production" on the server.
126+
118127 request_options : typing.Optional[RequestOptions]
119128 Request-specific configuration.
120129
@@ -137,7 +146,7 @@ def get_webrtc_token(
137146 )
138147 """
139148 _response = self ._raw_client .get_webrtc_token (
140- agent_id = agent_id , participant_name = participant_name , branch_id = branch_id , request_options = request_options
149+ agent_id = agent_id , participant_name = participant_name , branch_id = branch_id , environment = environment , request_options = request_options
141150 )
142151 return _response .data
143152
@@ -412,6 +421,7 @@ async def get_signed_url(
412421 agent_id : str ,
413422 include_conversation_id : typing .Optional [bool ] = None ,
414423 branch_id : typing .Optional [str ] = None ,
424+ environment : typing .Optional [str ] = None ,
415425 request_options : typing .Optional [RequestOptions ] = None ,
416426 ) -> ConversationSignedUrlResponseModel :
417427 """
@@ -428,6 +438,9 @@ async def get_signed_url(
428438 branch_id : typing.Optional[str]
429439 The ID of the branch to use
430440
441+ environment : typing.Optional[str]
442+ The environment to use. Defaults to "production" on the server.
443+
431444 request_options : typing.Optional[RequestOptions]
432445 Request-specific configuration.
433446
@@ -461,6 +474,7 @@ async def main() -> None:
461474 agent_id = agent_id ,
462475 include_conversation_id = include_conversation_id ,
463476 branch_id = branch_id ,
477+ environment = environment ,
464478 request_options = request_options ,
465479 )
466480 return _response .data
@@ -471,6 +485,7 @@ async def get_webrtc_token(
471485 agent_id : str ,
472486 participant_name : typing .Optional [str ] = None ,
473487 branch_id : typing .Optional [str ] = None ,
488+ environment : typing .Optional [str ] = None ,
474489 request_options : typing .Optional [RequestOptions ] = None ,
475490 ) -> TokenResponseModel :
476491 """
@@ -487,6 +502,9 @@ async def get_webrtc_token(
487502 branch_id : typing.Optional[str]
488503 The ID of the branch to use
489504
505+ environment : typing.Optional[str]
506+ The environment to use. Defaults to "production" on the server.
507+
490508 request_options : typing.Optional[RequestOptions]
491509 Request-specific configuration.
492510
@@ -517,7 +535,7 @@ async def main() -> None:
517535 asyncio.run(main())
518536 """
519537 _response = await self ._raw_client .get_webrtc_token (
520- agent_id = agent_id , participant_name = participant_name , branch_id = branch_id , request_options = request_options
538+ agent_id = agent_id , participant_name = participant_name , branch_id = branch_id , environment = environment , request_options = request_options
521539 )
522540 return _response .data
523541
0 commit comments