Add sub-events endpoints and regenerate SDK from latest spec - #9
Open
jantinnerezo wants to merge 1 commit into
Open
Add sub-events endpoints and regenerate SDK from latest spec#9jantinnerezo wants to merge 1 commit into
jantinnerezo wants to merge 1 commit into
Conversation
- New SubEvents resource: getSubEvents (list with quota state) and assignGuestToSubEvents (batch assignment, invited/waitlisted statuses) - Regenerate build/ from the latest OpenAPI spec: picks up resources added since the last regeneration (Checkins, ExtendedFields, GuestGroups, GuestImport, Orders, Tracking) and new requests on existing resources - Fix ConnectorGenerator emitting a Nette Dumper artifact for baseUrl: crescat's ApiSpecification::baseUrl is a BaseUrl object, unwrap ->url - Rector/cs-fixer normalization on src/ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jantinnerezo
force-pushed
the
feature/sub-events
branch
from
August 14, 2026 10:02
c27a1e4 to
3005596
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SubEventsresource from the upcoming API spec (not yet on prod):getSubEvents($eventUuid)—GET /api/events/{EventUuid}/sub-events, lists sub-events with quota stateassignGuestToSubEvents($eventUuid, $guestCode, $subEventIds)—POST /api/events/{EventUuid}/guests/{GuestCode}/sub-events, transactional batch assignment; participations come back asinvitedorwaitlistedwhen the quota is exhaustedbuild/from the latest spec. The committed build was stale, so this also picks up resources added since the last regeneration: Checkins, ExtendedFields, GuestGroups, GuestImport, Orders, Tracking, plus new requests on existing resources (e.g.UpdateContact,SendEmailTemplate,UpdateGuests).ConnectorGeneratorpassed crescat'sApiSpecification::$baseUrl(aBaseUrlobject in the locked generator version) straight to Nette, which emitted aDumper::createObject(...)artifact intoCoreApi.phpand failed phpstan. Now unwraps->url.src/(CI would auto-commit these anyway).Notes
openapi.yml(sub-events not yet deployed tohttps://airlst.app/openapi.yml). Once deployed,composer buildreproduces this output.Test plan
composer rector/composer cs-fixer/composer phpstan— cleancomposer test— passing🤖 Generated with Claude Code