VapiAI/server-sdk-typescript

Export types for vapiClient.tools, vapiClient.assistants

Closed this issue · 3 comments

Hi there,

I need to extend instances of types returned from vapiClient.tools and vapiClient.assistants
But types Tools and Assistants are not exported from VAPI library.

Would it be possible to export them?

thanks

@constfilin they should be exported as Vapi.Tools and Vapi.Assistants. You'll just need to import the Vapi namespace.

They do not appear to be:

Image

And I have already upgrade to the latest version of @vapi-ai/server-sdk

There are no types Assistants or Tools -- if you can provide us a link to the file, we can show you how to use the exported type. Will close the issue for now till you reopen!