-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
The return type of client.ticketTypes.list()
is the interface TicketTypeList
:
export interface TicketTypeList {
/** String representing the object's type. Always has the value `ticket_type.list`. */
type: "ticket_type_attributes.list";
/** A list of ticket_types associated with a given workspace. */
ticket_types: Intercom.TicketType[];
}
but the actual response from the /ticket_types
endpoint looks like the following:
{
"type": "list",
"data": [
{
"type": "ticket_type",
"id": "2530225",
"name": "Tickets",
...
}
]
}
This seams to be an inaccuracy of the type definitions provided in this package.
Metadata
Metadata
Assignees
Labels
No labels