Repository navigation
Align translations on conversation, ticket and ticket reply parts in Preview - #739
Merged
Merged
Conversation
…Preview Declare the original key on every translations map, stop marking it as required (it is omitted when the source locale is unknown), note that the field is available from API version 2.16, and use French in every example. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
cathalging
approved these changes
Oct 21, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why?
The
translationsmap on Preview conversation parts, ticket parts and ticket replies requires anoriginalkey but never declares it, so the SDKs have no typed field for it. The descriptions also say the field is Preview-only and thatbodyalways stays in the source language, and neither is true.How?
All three maps now declare
originalas an optional string and share one corrected description, and every example uses the same locale.Notes for reviewers
originalis no longer required, because the API leaves it out when the source locale is unknown.translationsbecomes an object with an optionaloriginalplus extra string keys.fern check: 0 errors.Generated with Claude Code