feat(llc)!: Regenerate API models and endpoints #56
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.
Fixes: #59
Description of the pull request
This PR regenerates the client-side API models and endpoints, incorporating numerous additions and breaking changes from a recent backend API update.
Breaking Changes
queryFollowSuggestions: The method signature and return type have changed. It now returns aResult<List<FeedSuggestionData>>instead ofResult<List<FeedData>>. The newFeedSuggestionDatamodel includes additional metadata likereason,recommendationScore, andalgorithmScores.FeedsReactionData.id: The logic for generating a reaction's unique ID has been updated to correctly include thecommentIdwhen present, ensuring proper identification for comment reactions.Features
CreateCollections,ReadCollections,UpdateCollections,DeleteCollections).ActivityDataEnhancements: Addedhiddenandpreviewboolean fields to theActivityDatamodel to support content hiding and previewing functionalities.FeedSuggestionDataModel: Introduced a newFeedSuggestionDatamodel to encapsulate feed suggestions, providing richer context with algorithmic scores and reasons.reasonfield to various deletion and moderation requests (DeleteActivityRequest,DeleteCommentRequest,DeleteReactionRequest,DeleteUserRequest,BlockActionRequest,ShadowBlockActionRequest) to provide context for moderation actions.Other Key Changes
ActivityRequestandUpdateActivityRequestnow includecollectionRefs,restrictReplies, andskipEnrichUrl.ActivityResponsenow includescollections,moderationAction,preview,hidden, andrestrictReplies.ChannelMemberResponseand related models have been significantly expanded with new fields likebanned,createdAt,custom,role, and more.ChannelResponseandChannelmodels now includefilterTags.ActivityFeedbackEventfor real-time feedback updates.muteUserandreportfromActivityFeedbackRequest.addCommentRequestin theaddCommentendpoint nullable.activitySelectorOptionsfromFeedQueryandGetOrCreateFeedRequest.queryFollowSuggestionsfunctionality to validate the handling ofFeedSuggestionData.