#Exporting all types from @deepgram/sdk/src/lib/types/SyncPrerecordedResponse.ts in V3

1 messages · Page 1 of 1 (latest)

dreamy escarp
#

In the JS SDK v2, all types were exposed on the prerecorded transcription response. I'm upgrading to V3, and it looks like only the top level interface is exported. This is making it difficult to type out my code. I'm having to drill into the "SyncPrerecordedResponse" 5-7 levels deep to get the types that I need. Would be better if all types were exported from this file.

jovial scaffoldBOT
#

Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:

  • Provide the request_id if you've a question about a transcription response.
  • The options you used or the api.deepgram.com URL you sent your request to, including parameters.
  • Any code snippets you can include.
  • Any audio you can include, or if you can't share it here please email it to us at [email protected] and provide a link to this thread.