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

Response type is missing pagination data #123

Open
jangxx opened this issue Jun 4, 2024 · 0 comments
Open

Response type is missing pagination data #123

jangxx opened this issue Jun 4, 2024 · 0 comments

Comments

@jangxx
Copy link

jangxx commented Jun 4, 2024

Description

I'm trying to paginate through the output of typeform.responses.list, but for some reason, the Response type does not include the token field, that is required for the before and after parameters of list endpoint.

Expected Behavior

The typings match the return values of the API.

Current Behavior

The typings are incomplete and hacks like (response as any).token are necessary to access the data we need.

Possible Solution

Correct the typings to match the API.

Steps to Reproduce

n/a

Screenshots

n/a

Your Environment

  • Client Version: 2.4.1
  • Node.js Version: v18.16.1
  • NPM Version: 9.5.1
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

1 participant