Skip to content

Response type is missing pagination data #123

@jangxx

Description

@jangxx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions