Fix Intercom types for conversation_part.tag.* events#20
Conversation
Greptile SummaryThis PR fixes TypeScript type inference for Intercom webhook events whose topics have two dots (e.g. Confidence Score: 5/5
Important Files Changed
Reviews (1): Last reviewed commit: "update intercom docs link" | Re-trigger Greptile |
There was a problem hiding this comment.
Code Review
This pull request improves the type inference for Intercom webhook events by introducing a more sophisticated mapping system. It adds support for subtopics (e.g., 'conversation_part.tag'), ensures the 'type' property on event payloads is correctly narrowed, and includes the new IntercomConversationPartTag interface. The changes are accompanied by updated type tests and exports. I have no feedback to provide.
No description provided.