js-api-client icon indicating copy to clipboard operation
js-api-client copied to clipboard

Typeform API js client

Results 24 js-api-client issues
Sort by recently updated
recently updated
newest added

## Description - Add a `Typeform.API.Themes` namespace with a `List` interface that matches the returned type from the **GET** `/themes` endpoint. - Change the `themes.list()` method return type from `Promise`...

The current implementation hides the `details` field of the error. This PR fixes the limitation by building the error from `details` instead of `details.description`.

New question types have been added, but are not yet in the SDK

## Description I've received the below error without much detail when calling `forms.create`. ``` Error: The payload is invalid. > at /Users/fooboo/Deploy/Agentnoon/node_modules/@typeform/api-client/dist/index.cjs.js:3663:27 > at processTicksAndRejections (internal/process/task_queues.js:95:5) > at async /Users/fooboo/Deploy/Agentnoon/functions/node_modules/firebase-functions/lib/common/providers/https.js:385:26...

## Description Choice is defined as ``` choice?: { label?: string other?: string } ``` under Response. However the choice that comes back from the API contains an ID looking...

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...

I often need to change the state of a webhook. The `update` function forces you to pass the URL pointing to the webhook. `toggle` just turns on or off a...

enhancement

It'd be nice to have an API to automatically pull ALL responses, without needing to write code to query each page. See Stripe's API library that has a convenience function...

enhancement

Add a function to copy a form could be `copyForm({uid: formId})`