Skip to content

Incorrect TypeScript types for Intercom.ConversationTeammates #462

@c-semaan

Description

@c-semaan

Hello, I am using Node.js version 6.0.0.

I currently have the following interface definition:

export interface ConversationTeammates {
    /** The type of the object - `admin.list`. */
    type: string;
    /** The list of teammates who participated in the conversation (wrote at least one conversation part). */
    teammates: Intercom.Reference[];
}

However, the API response returns teammates.admins instead of the expected teammates.teammates.

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