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
Description
I'm trying to paginate through the output of
typeform.responses.list, but for some reason, theResponsetype does not include thetokenfield, that is required for thebeforeandafterparameters 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).tokenare 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