|
16 | 16 | from ..types.asr_conversational_config import AsrConversationalConfig |
17 | 17 | from ..types.base_turn_config import BaseTurnConfig |
18 | 18 | from ..types.conversation_config_input import ConversationConfigInput |
19 | | -from ..types.create_speech_engine_response import CreateSpeechEngineResponse |
20 | 19 | from ..types.list_speech_engines_response import ListSpeechEnginesResponse |
21 | 20 | from ..types.privacy_config_input import PrivacyConfigInput |
22 | 21 | from ..types.sort_direction import SortDirection |
@@ -122,7 +121,7 @@ def create( |
122 | 121 | language: typing.Optional[str] = OMIT, |
123 | 122 | tags: typing.Optional[typing.Sequence[str]] = OMIT, |
124 | 123 | request_options: typing.Optional[RequestOptions] = None, |
125 | | - ) -> HttpResponse[CreateSpeechEngineResponse]: |
| 124 | + ) -> HttpResponse[SpeechEngineResponse]: |
126 | 125 | """ |
127 | 126 | Create a new Speech Engine resource |
128 | 127 |
|
@@ -163,7 +162,7 @@ def create( |
163 | 162 |
|
164 | 163 | Returns |
165 | 164 | ------- |
166 | | - HttpResponse[CreateSpeechEngineResponse] |
| 165 | + HttpResponse[SpeechEngineResponse] |
167 | 166 | Successful Response |
168 | 167 | """ |
169 | 168 | _response = self._client_wrapper.httpx_client.request( |
@@ -204,9 +203,9 @@ def create( |
204 | 203 | try: |
205 | 204 | if 200 <= _response.status_code < 300: |
206 | 205 | _data = typing.cast( |
207 | | - CreateSpeechEngineResponse, |
| 206 | + SpeechEngineResponse, |
208 | 207 | construct_type( |
209 | | - type_=CreateSpeechEngineResponse, # type: ignore |
| 208 | + type_=SpeechEngineResponse, # type: ignore |
210 | 209 | object_=_response.json(), |
211 | 210 | ), |
212 | 211 | ) |
@@ -527,7 +526,7 @@ async def create( |
527 | 526 | language: typing.Optional[str] = OMIT, |
528 | 527 | tags: typing.Optional[typing.Sequence[str]] = OMIT, |
529 | 528 | request_options: typing.Optional[RequestOptions] = None, |
530 | | - ) -> AsyncHttpResponse[CreateSpeechEngineResponse]: |
| 529 | + ) -> AsyncHttpResponse[SpeechEngineResponse]: |
531 | 530 | """ |
532 | 531 | Create a new Speech Engine resource |
533 | 532 |
|
@@ -568,7 +567,7 @@ async def create( |
568 | 567 |
|
569 | 568 | Returns |
570 | 569 | ------- |
571 | | - AsyncHttpResponse[CreateSpeechEngineResponse] |
| 570 | + AsyncHttpResponse[SpeechEngineResponse] |
572 | 571 | Successful Response |
573 | 572 | """ |
574 | 573 | _response = await self._client_wrapper.httpx_client.request( |
@@ -609,9 +608,9 @@ async def create( |
609 | 608 | try: |
610 | 609 | if 200 <= _response.status_code < 300: |
611 | 610 | _data = typing.cast( |
612 | | - CreateSpeechEngineResponse, |
| 611 | + SpeechEngineResponse, |
613 | 612 | construct_type( |
614 | | - type_=CreateSpeechEngineResponse, # type: ignore |
| 613 | + type_=SpeechEngineResponse, # type: ignore |
615 | 614 | object_=_response.json(), |
616 | 615 | ), |
617 | 616 | ) |
|
0 commit comments