Skip to content

feat!: [FLU-1105] regenerate client from openapi-v239.93.2 - #120

Merged
itsmeadi merged 3 commits into
mainfrom
feat/flu-1105-regenerate-client
Oct 29, 2026
Merged

itsmeadi merged 3 commits into
mainfrom
feat/flu-1105-regenerate-client

Conversation

@itsmeadi

@itsmeadi itsmeadi commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Regenerate from chat v239.93.2 / protocol openapi-v239.93.2 (same FLU-1105 enum/spec work as getstream-go v8).
  • Adds named String constant holder types (e.g. PushLevel, VotingVisibility); request/response fields remain String for wire compatibility (Java generator policy).
  • Adds MultipartRequest marker for multipart upload request models.
  • Webhook fixtures refreshed.

Related

Regen notes

Regenerated with SOURCE_PATH=../chat at tag v239.93.2 and a local generator fix for empty enum values (SortParamType → EMPTY constant). Follow-up: land the same Java.ConstantName("") fix in chat tools/openapi/generator/languages/java/java.go so future regens from the tag work without a patch.

Test plan

  • ./gradlew test (unit)
  • CI integration (on merge)

Release

After merge: feat! → next major via release workflow (11.0.0 expected).

Made with Cursor


Note

High Risk
Major version with widespread generated model and webhook dispatch changes; integrators must fix compile-time breaks around capabilities, campaigns, moderation check responses, and removed types despite unchanged HTTP JSON.

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

Regenerate from chat v239.93.2 (protocol openapi-v239.93.2). Adds named
enum constant classes; request fields stay String for wire compatibility.

Includes MultipartRequest marker for multipart upload request models.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e3b3542. Configure here.

public static final String POLL_UPDATED = "poll.updated";
public static final String POLL_VOTE_CASTED = "poll.vote_casted";
public static final String POLL_VOTE_CHANGED = "poll.vote_changed";
public static final String POLL_VOTE_REMOVED = "poll.vote_removed";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feeds poll webhook types unmapped

Medium Severity

New poll webhook mappings only register poll.* type strings, but poll operations also emit feeds.poll.* events and the new poll event models carry both chat (cid, message_id) and feeds (activity_id) fields. A feeds poll webhook therefore misses getEventClass, so parseWebhookEvent fails and parseEvent falls back to UnknownEvent instead of the typed poll payload.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e3b3542. Configure here.

public static final String REVIEW_QUEUE_ITEM_NEW = "review_queue_item.new";
public static final String REVIEW_QUEUE_ITEM_UPDATED = "review_queue_item.updated";
public static final String SCHEDULED_MESSAGE_FAILED = "scheduled_message.failed";
public static final String SCHEDULED_MESSAGE_SENT = "scheduled_message.sent";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scheduled message deleted event missing

Medium Severity

Scheduled-message support adds webhook types for scheduled_message.failed and scheduled_message.sent only. DeleteScheduledMessageRequest documents that cancel/remove sends scheduled_message.deleted, which has no constant or getEventClass case, so that webhook is treated as unknown.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e3b3542. Configure here.

itsmeadi and others added 2 commits October 29, 2026 15:54
Cover the compile breaks in the FLU-1105 regen: capability lists,
campaign response wrappers, retention policy types, and removed classes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Point the campaign example at chat().updateCampaign and record the
CheckResponse intent field move.

Co-authored-by: Cursor <cursoragent@cursor.com>
@itsmeadi
itsmeadi merged commit 52fe52d into main Oct 29, 2026
9 checks passed
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