Repository navigation
Fix(PE-1558): regenerate both schemas and unblock the weekly schema update #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
plain-thinh-tran
merged 1 commit into
main
from
PE-1558/regenerate-both-schemas-and-unblock-the-weekly
Oct 23, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| --- | ||
| "@team-plain/graphql": major | ||
| "@team-plain/ui-components": major | ||
| --- | ||
|
|
||
| Regenerate against the current API schema. | ||
|
|
||
| **No longer in the generated result types** | ||
|
|
||
| - Field 'Customer.tenantMemberships' is deprecated | ||
| - Field 'Customer.company' is deprecated | ||
| - Field 'ThreadsDisplayOptions.hasCompany' is deprecated | ||
| - Field 'ThreadsDisplayOptions.hasTenants' is deprecated | ||
| - Field 'ThreadsDisplayOptions.hasTenantFieldExternalIds' is deprecated | ||
| - Field 'SavedThreadsViewNestedFilter.companies' is deprecated | ||
| - Field 'SavedThreadsViewNestedFilter.tenants' is deprecated | ||
| - Field 'SavedThreadsViewNestedFilter.tenantFields' is deprecated | ||
| - Field 'SavedThreadsViewFilter.companies' is deprecated | ||
| - Field 'SavedThreadsViewFilter.tenants' is deprecated | ||
| - Field 'SavedThreadsViewFilter.tenantFields' is deprecated | ||
| - Field 'Task.company' is deprecated | ||
| - Field 'Task.tenant' is deprecated | ||
| - Field 'BroadcastAudienceFilter.tenantIds' is deprecated | ||
| - Field 'BroadcastAudienceFilter.tenantFields' is deprecated | ||
| - Field 'ThreadLinkGroup.companyMetrics' is deprecated | ||
| - Field 'ThreadLinkGroup.tenantMetrics' is deprecated | ||
| - Field 'ThreadChannelAssociation.companyId' is deprecated | ||
| - Field 'ThreadChannelAssociation.tenantId' is deprecated | ||
| - Field 'ThreadChannelAssociation.tenantMembershipPolicy' is deprecated | ||
| - Field 'SlackThreadChannelAssociation.companyId' is deprecated | ||
| - Field 'SlackThreadChannelAssociation.tenantId' is deprecated | ||
| - Field 'SlackThreadChannelAssociation.tenantMembershipPolicy' is deprecated | ||
| - Field 'Thread.tenant' is deprecated | ||
| - Field 'HelpCenterAccessSettings.tenantIds' is deprecated | ||
| - Field 'HelpCenterAccessSettings.companyIds' is deprecated | ||
| - Field 'HelpCenterPortalSettingsThreadVisibility.customerCompany' is deprecated | ||
| - Field 'HelpCenterPortalSettingsThreadVisibility.overrideCustomerCompany' is deprecated | ||
| - Field 'HelpCenterPortalSettingsThreadVisibility.customerTenants' is deprecated | ||
| - Field 'HelpCenterPortalSettingsThreadVisibility.overrideCustomerTenants' is deprecated | ||
|
|
||
| **New values in returned enums** | ||
|
|
||
| - Enum value 'CONNECTION_PENDING' was added to enum 'ThreadDiscussionAgentStatus' | ||
| - Enum value 'NOTE' was added to enum 'WorkflowStepType' | ||
| - Enum value 'USER_SEATS' was added to enum 'FeatureKey' | ||
| - Enum value 'committed' was added to enum 'BillingCreditBalanceType' | ||
|
|
||
| **New methods** | ||
|
|
||
| - Field 'memberSeatCapCheck' was added to object type 'Query' | ||
| - Field 'threadTimelineEntry' was added to object type 'Query' | ||
| - Field 'oauthApp' was added to object type 'Query' | ||
| - Field 'oauthApps' was added to object type 'Query' | ||
| - Field 'importerAccountLists' was added to object type 'Query' | ||
| - Field 'businessHoursOverride' was added to object type 'Query' | ||
| - Field 'importBroadcastAudienceChannels' was added to object type 'Mutation' | ||
| - Field 'createOAuthApp' was added to object type 'Mutation' | ||
| - Field 'updateOAuthApp' was added to object type 'Mutation' | ||
| - Field 'enableOAuthApp' was added to object type 'Mutation' | ||
| - Field 'disableOAuthApp' was added to object type 'Mutation' | ||
| - Field 'deleteOAuthApp' was added to object type 'Mutation' | ||
| - Field 'importAccountFieldSchemasFromService' was added to object type 'Mutation' | ||
| - Field 'createBusinessHoursOverride' was added to object type 'Mutation' | ||
| - Field 'updateBusinessHoursOverride' was added to object type 'Mutation' | ||
| - Field 'deleteBusinessHoursOverride' was added to object type 'Mutation' | ||
| - Field 'importAccountFieldSchemas' was added to object type 'Mutation' | ||
| - Field 'importAccounts' was added to object type 'Mutation' | ||
|
|
||
| **Deprecated methods, still available** | ||
|
|
||
| - Field 'Query.companies' is deprecated | ||
| - Field 'Query.company' is deprecated | ||
| - Field 'Query.searchCompanies' is deprecated | ||
| - Field 'Query.tenants' is deprecated | ||
| - Field 'Query.tenant' is deprecated | ||
| - Field 'Query.tenantFieldSchemas' is deprecated | ||
| - Field 'Query.searchTenants' is deprecated | ||
| - Field 'Query.importerTenantLists' is deprecated | ||
| - Field 'Mutation.updateCustomerCompany' is deprecated | ||
| - Field 'Mutation.updateThreadTenant' is deprecated | ||
| - Field 'Mutation.createTenant' is deprecated | ||
| - Field 'Mutation.upsertTenant' is deprecated | ||
| - Field 'Mutation.deleteTenant' is deprecated | ||
| - Field 'Mutation.addCustomerToTenants' is deprecated | ||
| - Field 'Mutation.removeCustomerFromTenants' is deprecated | ||
| - Field 'Mutation.setCustomerTenants' is deprecated | ||
| - Field 'Mutation.upsertTenantFieldSchema' is deprecated | ||
| - Field 'Mutation.deleteTenantFieldSchema' is deprecated | ||
| - Field 'Mutation.upsertTenantField' is deprecated | ||
| - Field 'Mutation.deleteTenantField' is deprecated | ||
| - Field 'Mutation.setupTenantFieldSchemaMapping' is deprecated | ||
| - Field 'Mutation.removeTenantFieldSchemaMapping' is deprecated | ||
| - Field 'Mutation.upsertCompany' is deprecated | ||
| - Field 'Mutation.deleteCompany' is deprecated | ||
| - Field 'Mutation.importTenantFieldSchemasFromService' is deprecated | ||
| - Field 'Mutation.updateCompanyTier' is deprecated | ||
| - Field 'Mutation.updateTenantTier' is deprecated | ||
| - Field 'Mutation.updateThreadChannelAssociationTenantMembershipPolicy' is deprecated | ||
| - Field 'Mutation.importTenantFieldSchemas' is deprecated | ||
| - Field 'Mutation.importTenants' is deprecated | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| "@team-plain/webhooks": minor | ||
| --- | ||
|
|
||
| Update the webhook schema to `2026-10-06`, which adds accounts. Eight new events, nothing removed: | ||
|
|
||
| - `account.account_created`, `account.account_updated`, `account.account_deleted` | ||
| - `account.account_field_created`, `account.account_field_updated`, `account.account_field_deleted` | ||
| - `account.account_membership_changed` | ||
| - `discussion.turn_stop_requested` | ||
|
|
||
| Service level agreements gain two types, `FIRST_RESOLUTION_TIME` (with `firstResolutionTimeMinutes`) and `TOTAL_RESOLUTION_TIME` (with `totalResolutionTimeMinutes`), so handle them in any exhaustive switch on `type`. Every SLA type also gains optional `policy` and `businessHoursSchedules`; `useBusinessHoursOnly` stays but is deprecated in favour of `businessHoursSchedules`. | ||
|
|
||
| The package bundles one schema version at a time, so this release only parses payloads whose `webhookMetadata.webhookTargetVersion` is `2026-10-06`. Move your webhook target to `2026-10-06` when you upgrade, or `parsePlainWebhook` returns `PlainWebhookVersionMismatchError`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is wrong with how this changelog is generated as this has not been removed, just marked as deprecated which is quite different.
I'm going to be taking this over from @mpsq and can then fix this script plus the pending release.
If you want to have a look at this in the meantime, please be my guest!