We're currently using intercom-client 6 and create ticket using this code:
const intercomTicket = await intercomClient.tickets.create({
ticket_type_id: ticketType,
contacts: [
{
id: contact.id,
},
],
ticket_attributes: {
_default_title_: ticket.title ?? 'N/A',
_default_description_: ticket.description,
},
});
After upgrading to v7, the type definition no longer includes ticket_attributes in Intercom.CreateTicketRequest, preventing us from setting title and description when creating new ticket.