feat(generated)!: regenerate from spec (5 changes)#650
Merged
gjtorikian merged 6 commits intomainfrom May 7, 2026
Merged
Conversation
Resolves GHSA alerts for arbitrary file writes via cache filename (< 26.3.1) and ReDoS (< 24.3.0). black is pulled in transitively by pydoc-markdown -> docspec-python; pin it directly in the docs group with `~=26.3` so calver-year bumps don't sneak in unreviewed. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Re-run with the placement closure + BC re-exports landed in oagen-emitters. Removes the common/ → service/ back-edges that were causing import cycles (SlimRole → AddRolePermission, UserDeleted → User, Flag → FeatureFlag, SessionCreatedData → UserSessionsListItem, etc.) and re-exports relocated symbols from each natural service barrel so existing imports keep working. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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
feat(authorization)!: Refactor role assignment models and add list endpoints
RoleAssignmenttoUserRoleAssignmentandRoleAssignmentResourcetoUserRoleAssignmentResourcewith addedorganization_membership_idfieldlist_role_assignments_for_resource()andlist_role_assignments_for_resource_by_external_id()endpointsPaginationOrderclass replacing service-specific order enumsfeat(user_management): Add user API key management endpoints
list_user_api_keys()method to list API keys for a usercreate_user_api_key()method to create user API keysUserApiKey,UserApiKeyWithValue,CreateUserApiKeylist_jwt_template()endpoint to retrieve JWT templatefeat(api_keys)!: Restructure API key models for dual ownership
ApiKeyWithValuetoOrganizationApiKeyWithValueand created organization-specificOrganizationApiKeymodelApiKeymodel to support polymorphic owner (organization or user)OrganizationsApiKeysOrder, now usesPaginationOrderfeat(common)!: Add user API key event models and refactor BYOK key provider
VaultByokKeyDeletedandVaultByokKeyDeletedDataUserApiKeyCreatedDataOwner,UserApiKeyRevokedDataOwnerVaultByokKeyProvider(replaced service-specific enums)namefield to directory and user-related modelsfix(generated): Remove service-specific pagination order enums across SDK
AuthorizationOrder,PermissionsOrder,DirectoriesOrder) to singlePaginationOrderenumPaginationOrderquote()for path parameters across all servicesTriggered by workos/openapi-spec@a06e54d
BEGIN_COMMIT_OVERRIDE
feat(authorization)!: Refactor role assignment models and add list endpoints
feat(user_management): Add user API key management endpoints
feat(api_keys)!: Restructure API key models for dual ownership
feat(common)!: Add user API key event models and refactor BYOK key provider
fix(generated): Remove service-specific pagination order enums across SDK
END_COMMIT_OVERRIDE