Commit Graph

2 Commits

Author SHA1 Message Date
jkomyno eb6564924e fix(py): address python comments 2026-02-06 20:32:18 +04:00
jkomyno b6aa489d45 feat(core): add typed schema for connection expired webhook events
Add Zod schema (TypeScript) and TypedDict (Python) for typed handling
of `composio.connected_account.expired` webhook events.

Schemas:
- ConnectionExpiredEventSchema: Full webhook event envelope validation
- SingleConnectedAccountDetailedResponseSchema: Matches GET API response
- WebhookConnectionMetadataSchema: Project and org ID metadata

This builds on PR #2553 which loosened V3 detection to accept any
composio.* event type. Users can now type-safely parse connection
expiration events in their webhook handlers.

Linear: PLEN-1398
2026-02-02 23:44:18 +04:00