Repository navigation
feat!: [FLU-1105] regenerate client from openapi-v239.93.2 - #120
Conversation
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>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ 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"; |
There was a problem hiding this comment.
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)
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"; |
There was a problem hiding this comment.
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)
Reviewed by Cursor Bugbot for commit e3b3542. Configure here.
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>


Summary
openapi-v239.93.2(same FLU-1105 enum/spec work as getstream-go v8).PushLevel,VotingVisibility); request/response fields remainStringfor wire compatibility (Java generator policy).MultipartRequestmarker for multipart upload request models.Related
Regen notes
Regenerated with
SOURCE_PATH=../chatat tagv239.93.2and a local generator fix for empty enum values (SortParamType→EMPTYconstant). Follow-up: land the sameJava.ConstantName("")fix in chattools/openapi/generator/languages/java/java.goso future regens from the tag work without a patch.Test plan
./gradlew test(unit)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.