Skip to content

Regenerate against the current API schema (major) - #98

Open
gh-workflow-token-generator[bot] wants to merge 1 commit into
mainfrom
schema/update
Open

gh-workflow-token-generator[bot] wants to merge 1 commit into
mainfrom
schema/update

Conversation

@gh-workflow-token-generator

@gh-workflow-token-generator gh-workflow-token-generator Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The scheduled schema update found changes. Review the generated changeset before merging.


Note

Medium Risk
Major breaking GraphQL client release (removed mutations/types and enum values); upgrade requires coordinated app changes, though changes are generated API parity rather than hand-written logic.

Overview
Major regeneration of @team-plain/graphql (and @team-plain/ui-components) from the latest Plain API schema.

Breaking removals: createDemoChannel and related demo-channel types are gone, and FeatureKey.DATA_IMPORTERS is removed (replaced in the enum surface by more specific importer flags such as HELP_CENTERS).

Sidekick & discussions: Thread discussion entries can include question cards (ThreadDiscussionQuestionEntryPayload) with new mutations answerSidekickQuestion and dismissSidekickQuestion. Workspace sidekickSettings gains preferredIntegrations; Cursor is listed among supported Sidekick services.

Broadcasts: New duplicateBroadcast and bulk importBroadcastRecipientUnsubscribes; send targets support includeUnsubscribed; per-delivery reactions; broader unsubscribe search (workspace name).

Data model & queries: interpolationVariables query for {{ key }} pickers; tenant/account reference field types and filter/sort enhancements (TenantsSort / AccountsSort, composable filters); workflow flag hasAiTriageActionSupport and AI-triage modes on apply_labels / set_priority.

Billing & credits: CreditSpendStatus.FREE_BETA, CreditSpendKind.AI_TRIAGE, and related credit-usage fields; updated role-change billing copy.

Consumers on the previous major must drop demo-channel usage and adopt regenerated types before upgrading.

Reviewed by Cursor Bugbot for commit 15a1f5c. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 15a1f5c. Configure here.

notFoundCount: Int!
ambiguousCount: Int!
invalidCount: Int!
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import result omits row details

High Severity

Generated documents skip rows on ImportBroadcastRecipientUnsubscribesResult because it is a list of objects. ImportBroadcastRecipientUnsubscribeRowResult is not a value object (unsubscribe and matches), so importBroadcastRecipientUnsubscribes returns the summary counts without per-row status, matches, or created unsubscribes.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 15a1f5c. Configure here.

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.

0 participants