Skip to content

feat: update to latest API spec - #353

Merged
oliverlaz merged 1 commit into
mainfrom
feat/api-spec-update
Sep 23, 2026
Merged

oliverlaz merged 1 commit into
mainfrom
feat/api-spec-update

Conversation

@oliverlaz

Copy link
Copy Markdown
Member

Regenerates src/gen from the latest server-side OpenAPI spec.

API changes

  • Video: RingCallRequest.custom (sent by ringCall), RingCallResponse.ring_id, CallRingEvent.ring_id
  • Moderation: country_code on AnalyzeRequest, CheckRequest and ModerationPayload (sent by analyze / check); FilterConfigResponse.rule_names; AppealItemResponse.appeal_reason_language and languages
  • Polls: CreatePollRequest.team (sent by createPoll); i18n maps name_i18n / description_i18n on PollResponseData, text_i18n on PollOptionResponseData, answer_text_i18n on PollVoteResponseData
  • Feeds: AggregationConfig.group_size
  • Webhooks: EventHook.sqs_event_based_message_group_id_enabled
  • Removed the ClientEvent decoder (the type is no longer in the spec)

Note on the diff size

Most of the ~6.9k deleted lines in src/gen/models/index.ts are blank lines between interface fields. The TypeScript models.tpl template in the chat repo was reworked (GetStream/chat#17356) and no longer emits them. Only ~40 lines in that file are real changes; review with "Hide whitespace" or git diff --ignore-blank-lines.

@oliverlaz
oliverlaz requested a review from szuperaz as a code owner September 22, 2026 21:01
@oliverlaz
oliverlaz merged commit 0897638 into main Sep 23, 2026
9 of 10 checks passed
@oliverlaz
oliverlaz deleted the feat/api-spec-update branch September 23, 2026 08:10
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.

2 participants