feat(generated): update generated SDK from spec changes#533
feat(generated): update generated SDK from spec changes#533workos-sdk-automation[bot] wants to merge 1 commit into
Conversation
Greptile SummaryThis is an auto-generated SDK update that adds new Groups and WaitlistUser APIs, expands SSO/auth providers, introduces
Confidence Score: 3/5Not safe to merge without explicitly acknowledging the breaking API changes and communicating them to SDK consumers. Three separate P1 findings: a public field rename (AdminEmails→ItContactEmails), 11 exported method/struct renames in AuthorizationService, and removal of four exported types — all undocumented as breaking in the PR metadata. The new Groups/WaitlistUser additions are clean, but the unacknowledged breakage warrants a score below the P1 ceiling. authorization.go (11 method/struct renames), admin_portal.go and models.go (AdminEmails→ItContactEmails rename), models.go and enums.go (removal of EventSchema* types) Important Files Changed
Class Diagram%%{init: {'theme': 'neutral'}}%%
classDiagram
class Client {
+Groups() GroupService
+UserManagementOrganizationMembershipGroups() UMOMGroupService
}
class GroupService {
+ListOrganizationGroups()
+CreateOrganizationGroup()
+GetOrganizationGroup()
+UpdateOrganizationGroup()
+DeleteOrganizationGroup()
+ListOrganizationMemberships()
+CreateOrganizationMembership()
+DeleteOrganizationMembership()
}
class UMOMGroupService {
+ListOrganizationMembershipGroups()
}
class AuthorizationService {
+ListResourcesForMembership() [renamed]
+ListEffectivePermissions() [renamed]
+ListRoleAssignments() [renamed]
+RemoveRoleAssignment() [renamed]
+AddOrganizationRolePermission() [renamed]
+SetOrganizationRolePermissions() [renamed]
+GetResourceByExternalID() [renamed]
+DeleteResourceByExternalID() [renamed]
+ListMembershipsForResourceByExternalID() [renamed]
}
Client --> GroupService
Client --> UMOMGroupService
Client --> AuthorizationService
|
| @@ -5431,27 +5530,6 @@ type ConnectApplicationRedirectURI struct { | |||
| Default bool `json:"default"` | |||
| } | |||
There was a problem hiding this comment.
Removed public types are a breaking change
This PR removes the following exported types: EventSchemaData, EventSchemaContextActor, EventSchemaContext (models.go) and EventSchemaContextActorSource (enums.go). Any SDK consumer that referenced these types will get compile errors after upgrading. These removals should be flagged as breaking changes in the PR metadata.
Summary
update generated SDK from spec changes
Spec Diff
Triggered by openapi-spec commit: 9998aeaecba4f3635f8beda2e3248f5a24b7e93f