Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Mismatch callControlCreateWebCall #64

Open
mckmadeline opened this issue Sep 17, 2024 · 4 comments
Open

Type Mismatch callControlCreateWebCall #64

mckmadeline opened this issue Sep 17, 2024 · 4 comments

Comments

@mckmadeline
Copy link

vapi.ts:152:27 - error TS2551: Property 'callControllerCreateWebCall' does not exist on type '{ callControllerCreate: (data: CreateCallDTO, params?: RequestParams) => Promise<HttpResponse<Call, any>>; callControllerFindAll: (query?: { ...; } | undefined, params?: RequestParams) => Promise<...>; callControllerFindOne: (id: string, params?: RequestParams) => Promise<...>; callControllerUpdate: (id: string, dat...'. Did you mean 'callControllerCreate'?

152         await client.call.callControllerCreateWebCall({
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~

  api.ts:10434:5
    10434     callControllerCreate: (data: CreateCallDTO, params: RequestParams = {}) =>
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    10435       this.request<Call, any>({
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ...
    10442         ...params,
          ~~~~~~~~~~~~~~~~~~
    10443       }),
          ~~~~~~~~
    'callControllerCreate' is declared here.


Found 1 error in vapi.ts:152
@aliciachen10
Copy link

I'm having the same issue - thanks for posting this

I can see the reference to callControllerCreateWebCall here but it doesn't seem to be in the main branch - https://github.com/VapiAI/web/blob/2d8415d7856f4295ae0b1e49c55d37a11cd4d434/api.ts#L7891
did it get removed by accident or is there a new way I should call this?

@sagar-vapi
Copy link
Collaborator

@mckmadeline / @aliciachen10 Are you both on the latest version 2.1.4? If not could you upgrade to this version.

@aliciachen10
Copy link

Hi @sagar-vapi I'm on 2.1.4; I just checked

@HamChowderr
Copy link

Just booted up and the error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants