Skip to content

feat: [CHA-6444] regenerate client from openapi-v240.2.1 - #122

Merged
mogita merged 1 commit into
mainfrom
feat/cha-6444-query-deleted-channels
Nov 3, 2026
Merged

mogita merged 1 commit into
mainfrom
feat/cha-6444-query-deleted-channels

Conversation

@mogita

@mogita mogita commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Ticket

CHA-6444

Problem

queryDeletedChannels (POST /api/v2/chat/channels/deleted) is live, but 11.0.0 was generated from openapi-v239.93.2, which predates it.

Solution

Regenerate from chat v240.2.1, whose spec is identical to protocol openapi-v240.2.1, with the Java empty-enum-constant fix from GetStream/chat#20015 applied to the generator. New methods: queryDeletedChannels, getHistoryWindowTeams, setHistoryWindowTeams, deleteHistoryWindowTeams, cancelExportFeeds. ExportFeedsAppRequest gains optional includeDeleted and types.

Additive only: no removed classes, no changed method signatures, SortParamType unchanged. This is a minor.

How to verify

  1. ./gradlew spotlessCheck build passes (295 unit tests).

Note

Low Risk
OpenAPI regeneration with only new APIs and optional model fields; no breaking signature changes in the published client.

Overview
Regenerates the SDK from openapi-v240.2.1, bringing the Java client in line with APIs that already exist on the server. The change set is additive: new request/response types and optional fields only; no removed types or altered existing method signatures.

Chat gains queryDeletedChannels (POST /api/v2/chat/channels/deleted) plus server-side history window team helpers: getHistoryWindowTeams, setHistoryWindowTeams, and deleteHistoryWindowTeams. Feeds adds cancelExportFeeds and expands export requests (include_deleted, types, activity_ids). Webhooks now deserialize feeds.export.error / feeds.export.success (including new AsyncExportFeedsSuccessEvent).

Generated models pick up moderation and product tweaks: multi-country country_codes (with country_code deprecated on analyze/check), moderation engine config, richer fork/channel and rule-triggered event fields, feed ranking viewer_location_radius_km, activity reasons / include_reasons, and related optional properties on existing DTOs.

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

BEGIN_COMMIT_OVERRIDE
feat: add cancelExportFeeds

feat: add deleteHistoryWindowTeams

feat: add getHistoryWindowTeams

feat: add queryDeletedChannels

feat: add setHistoryWindowTeams

feat: add webhook event AsyncExportFeedsSuccessEvent

feat: add ocr_severity_rules to AIImageConfig

feat: add reasons to ActivityResponse

feat: add viewer_location_radius_km to ActivitySelectorConfig

feat: add viewer_location_radius_km to ActivitySelectorConfigResponse

feat: add country_codes to AnalyzeRequest

feat: add explicit_urls_only to BlockListConfig

feat: add language, translated to CallTranscription

feat: add failed_reason, oldest_source_message_id, truncated to ChannelForkResponse

feat: add failed_reason, oldest_source_message_id, truncated to ChannelForkSummary

feat: add fork to ChannelResponse

feat: add country_codes to CheckRequest

feat: add engine to ConfigResponse

feat: add include_reasons to EnrichmentOptions

feat: add include_deleted, types to ExportFeedsAppRequest

feat: add activity_ids, include_deleted to ExportFeedsByTypeRequest

feat: add reason to MarkReviewedRequestPayload

feat: add country_codes to ModerationPayload

feat: add channel_cid, matched_labels, severity to ModerationRulesTriggeredEvent

feat: add reason to RestoreActionRequestPayload

feat: add country_codes to ReviewQueueItemResponse

feat: add engine to UpsertConfigRequest

END_COMMIT_OVERRIDE

@mogita
mogita merged commit f81c6da into main Nov 3, 2026
10 checks passed
@mogita
mogita deleted the feat/cha-6444-query-deleted-channels branch November 3, 2026 16:13
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