feat: regenerate SDK from latest chat OpenAPI spec#269
Conversation
Regenerate the chat, common, feeds, moderation, and video clients and their models from the current chat OpenAPI spec. New endpoints: moderation.analyze, .bulk_action_appeals, .get_setup_session, .upsert_setup_session; feeds.get_or_create_follow, .get_or_create_unfollow, .get_user_interests; chat.create_segment, .update_segment, .add_segment_targets; common.cancel_import_v2_task; video.report_client_call_event. Plus the new moderation.image_analysis.complete and moderation.text_analysis.complete webhook events. Resolves an upstream OpenAPI name collision: FlagResponse now maps to the full flag record, and the moderation flag-action acknowledgement (item_id, duration) moves to the new FlagItemResponse, which moderation.flag() now returns. The /api/v2/moderation/flag wire response is unchanged. Matches the same changeset already shipped in getstream-php v7.4.0; released as a minor bump.
|
Warning Review limit reached
More reviews will be available in 45 minutes and 41 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Regenerates the chat, common, feeds, moderation, and video clients and their models from the current chat OpenAPI spec.
Versioning
Titled
feat:so the auto-release cuts a minor: latest tagv3.4.0->v3.5.0, matching theversion = "3.5.0"already inpyproject.toml. This is the same changeset already shipped ingetstream-phpv7.4.0, so a minor bump matches precedent.Added
moderation.analyze,.bulk_action_appeals,.get_setup_session,.upsert_setup_session;feeds.get_or_create_follow,.get_or_create_unfollow,.get_user_interests;chat.create_segment,.update_segment,.add_segment_targets;common.cancel_import_v2_task;video.report_client_call_event, plus the request/response models backing them.moderation.image_analysis.completeandmoderation.text_analysis.complete.Changed (compatibility note)
FlagResponsenow represents the full flag record (created_at,target_message,target_user,reason,details,custom, etc.). The moderation flag-action acknowledgement, carryingitem_idandduration, moved to the newFlagItemResponse, whichmoderation.flag()now returns. This resolves an upstream OpenAPI name collision where the acknowledgement was shadowing the rich record. The/api/v2/moderation/flagwire response is unchanged, so code readingitem_id/durationoff the parsed response is unaffected; only code referencing theFlagResponsetype for those fields needs to switch toFlagItemResponse.ChannelInput.config_overrides/ChannelDataUpdate.config_overridesare now typed asChannelConfigOverridesinstead ofChannelConfig.enabledonDeliveryReceiptsResponse,ReadReceiptsResponse,TypingIndicatorsResponseis now a requiredbool(wasOptional[bool]).LLMRule.description,TargetResolution.bitrate,TranslationSettings.languages/.enabledare now optional.Verification
modelsimport clean;getstream/tests/test_webhook.py: 282 passed (covers the 2 new events).ruff check+ruff format --checkon regenerated files: clean.