Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(generated)!: regenerate from spec (5 changes)#650

Merged
gjtorikian merged 6 commits intomainfrom
oagen/spec-update-a06e54de8fcaa3eeabc79adada417e2d2a81a042
May 7, 2026
Merged

feat(generated)!: regenerate from spec (5 changes)#650
gjtorikian merged 6 commits intomainfrom
oagen/spec-update-a06e54de8fcaa3eeabc79adada417e2d2a81a042

Conversation

@workos-sdk-automation
Copy link
Copy Markdown
Contributor

Summary

feat(authorization)!: Refactor role assignment models and add list endpoints

  • Renamed RoleAssignment to UserRoleAssignment and RoleAssignmentResource to UserRoleAssignmentResource with added organization_membership_id field
  • Added list_role_assignments_for_resource() and list_role_assignments_for_resource_by_external_id() endpoints
  • Consolidated pagination order enums to single PaginationOrder class replacing service-specific order enums

feat(user_management): Add user API key management endpoints

  • New list_user_api_keys() method to list API keys for a user
  • New create_user_api_key() method to create user API keys
  • New models: UserApiKey, UserApiKeyWithValue, CreateUserApiKey
  • New list_jwt_template() endpoint to retrieve JWT template

feat(api_keys)!: Restructure API key models for dual ownership

  • Renamed ApiKeyWithValue to OrganizationApiKeyWithValue and created organization-specific OrganizationApiKey model
  • Updated ApiKey model to support polymorphic owner (organization or user)
  • Removed service-specific order enum OrganizationsApiKeysOrder, now uses PaginationOrder

feat(common)!: Add user API key event models and refactor BYOK key provider

  • New event models: VaultByokKeyDeleted and VaultByokKeyDeletedData
  • New models: UserApiKeyCreatedDataOwner, UserApiKeyRevokedDataOwner
  • Consolidated BYOK key provider enum to shared VaultByokKeyProvider (replaced service-specific enums)
  • Added name field to directory and user-related models

fix(generated): Remove service-specific pagination order enums across SDK

  • Consolidated 14+ service-specific order enums (e.g., AuthorizationOrder, PermissionsOrder, DirectoriesOrder) to single PaginationOrder enum
  • Updated all list operations to use centralized PaginationOrder
  • Added URL encoding via quote() for path parameters across all services

Triggered 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

@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label May 6, 2026
@workos-sdk-automation workos-sdk-automation Bot requested review from a team as code owners May 6, 2026 01:54
@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label May 6, 2026
gjtorikian and others added 5 commits May 6, 2026 15:33
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) <noreply@anthropic.com>
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) <noreply@anthropic.com>
@gjtorikian gjtorikian merged commit 8b5e91d into main May 7, 2026
10 checks passed
@gjtorikian gjtorikian deleted the oagen/spec-update-a06e54de8fcaa3eeabc79adada417e2d2a81a042 branch May 7, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autogenerated Autogenerated code or content

Development

Successfully merging this pull request may close these issues.

1 participant