Skip to content

Support all chat integration origins in generated API types - #63

Open
thedogwiththedataonit wants to merge 2 commits into
mainfrom
codex/chat-channel-origin-types
Open

thedogwiththedataonit wants to merge 2 commits into
mainfrom
codex/chat-channel-origin-types

Conversation

@thedogwiththedataonit

@thedogwiththedataonit thedogwiththedataonit commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The public chat-origin types currently describe Slack only. Regenerate the OpenAPI mirror and TypeScript declarations so chat responses can report any supported chat integration, including Teams, Telegram and WhatsApp.

Pin the complete 39-origin nullable union in the chat-list type assertion so removal of an origin or widening to string fails typecheck. The negative control failed as expected, and the complete contract passes. Synchronize the current canonical consent and Figma import contracts. No package version or release changes.

Validation: full TypeScript check; chat-list and Figma tests (9 passed); focused ESLint and formatting checks. Final review fix: TypeScript, ESLint, Prettier and all 7 chat-list tests pass. The automated review thread is resolved.

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the previous test gap is fixed and no new blocking issue was found.

Summary

Expands chat-origin types in the OpenAPI mirror and generated TypeScript declarations.

  • Chat rows can name every supported integration origin.
  • Contact consent records can name integration syncs as their source.

No new actionable issues were found in the changes since the previous review.

Reviews (2) · Last reviewed commit: "test: pin complete chat origin contract" · Reviewed by Greptile

@thedogwiththedataonit
thedogwiththedataonit marked this pull request as ready for review October 13, 2026 08:18
Comment thread tests/resources/chats/list.test.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant