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

listAttachedTags Method has wrong return type #407

Open
skamarnath-dh opened this issue Jun 4, 2024 · 1 comment
Open

listAttachedTags Method has wrong return type #407

skamarnath-dh opened this issue Jun 4, 2024 · 1 comment

Comments

@skamarnath-dh
Copy link

Please use the following template to submit your issue. Following this template will allow us to quickly investigate and help you with your issue. Please be aware that issues which do not conform to this template may be closed.

For feature requests please contact us at [email protected]

Version info

  • intercom-node version: 5.0.0
  • Node version: 20.11.1

Expected behavior

Data type returned from the method client.contacts.listAttachedTags should be [API DOC]

{
  type: "list"
  data: TagObject[]
}

Actual behavior

It instead is

{
  type: "list"
  tags: TagObject[]
}

Steps to reproduce

  1. instantiate a intercome-client
  2. call method contacts.listAttachedTags with passing a valid contact who has some tags
  3. the result will have tags list in data not in tags

Logs

@Eclairemoy
Copy link

Hey @skamarnath-dh -

Thanks for submitting this issue. We're running a pilot with a new TypeScript SDK. We'd love for you to try it out and let us know what you think. Here are the details:

Please feel free to share any feedback that you have with us here or send me a message at [email protected]

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

2 participants