Skip to content

feat(generated)!: regenerate from spec (9 changes)#491

Merged
gjtorikian merged 18 commits into
mainfrom
oagen/spec-update-b0eb6fb50f020df713d0233e344a6be05739f59e
May 26, 2026
Merged

feat(generated)!: regenerate from spec (9 changes)#491
gjtorikian merged 18 commits into
mainfrom
oagen/spec-update-b0eb6fb50f020df713d0233e344a6be05739f59e

Conversation

@workos-sdk-automation
Copy link
Copy Markdown
Contributor

@workos-sdk-automation workos-sdk-automation Bot commented May 26, 2026

Summary

feat(organization_membership)!: Migrate organization membership to dedicated service

  • Moved organization membership methods from UserManagement to new OrganizationMembershipService class
  • Methods create_organization_membership, get_organization_membership, update_organization_membership, delete_organization_membership, deactivate_organization_membership, reactivate_organization_membership, list_organization_memberships, and list_organization_membership_groups now accessed via client.organization_membership instead of client.user_management
  • Removed UserManagement::RoleSingle and UserManagement::RoleMultiple data classes (moved to OrganizationMembershipService)

feat(api_keys)!: Add expires_at field to API key models

  • Added expires_at optional field to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, and UserApiKeyWithValue models
  • Added expires_at field to CreateOrganizationApiKey and CreateUserApiKey request models
  • Updated create_organization_api_key and create_user_api_key methods to accept expires_at parameter

feat(radar)!: Remove device_fingerprint and bot_score fields from Radar

  • Removed device_fingerprint and bot_score parameters from Radar.create_attempt method
  • Removed device_fingerprint and bot_score fields from RadarStandaloneAssessRequest model
  • Updated enum values in RadarStandaloneAssessRequestAction: removed LOGIN, SIGNUP, SIGN_UP_2, SIGN_IN_2, SIGN_IN_3, SIGN_UP_3; standardized to SIGN_UP and SIGN_IN
  • Removed CREDENTIAL_STUFFING and IP_SIGN_UP_RATE_LIMIT from RadarStandaloneResponseControl enum

feat(audit_logs)!: Refactor audit logs models and type names

  • Renamed AuditLogSchema to AuditLogSchemaDto
  • Renamed AuditLogActionJson to AuditLogAction (now extends BaseModel)
  • Renamed AuditLogExportJson to AuditLogExport (now extends BaseModel)
  • Renamed AuditLogsRetentionJson to AuditLogsRetention (now extends BaseModel)
  • Removed AuditLogExportJsonState type; replaced with AuditLogExportState
  • Updated list_actions method return type from AuditLogActionJson to AuditLogAction
  • Updated create_export and get_export method return types from AuditLogExportJson to AuditLogExport

feat(webhooks)!: Rename WebhookEndpointJson to WebhookEndpoint

  • Renamed WebhookEndpointJson to WebhookEndpoint
  • Updated list_webhook_endpoints, create_webhook_endpoint, and update_webhook_endpoint method return types
  • Removed standalone WebhookEndpointStatus class and WebhookEndpointJsonStatus alias (now uses UpdateWebhookEndpointStatus)
  • Updated WebhookEndpoint to extend BaseModel for consistency

feat(vault): Add new Vault service with key-value operations

  • Added new Vault service class with methods: create_data_key, create_decrypt, create_rekey, list_kv, create_kv, get_name, get_kv, update_kv, delete_kv, list_kv_metadata, list_kv_versions
  • Added vault model classes: Actor, CreateDataKeyRequest, CreateDataKeyResponse, CreateObjectRequest, DecryptRequest, DecryptResponse, DeleteObjectResponse, ObjectModel, ObjectMetadata, ObjectSummary, ObjectVersion, ObjectWithoutValue, RekeyRequest, UpdateObjectRequest
  • Added VaultOrder enum for sorting operations
  • Added client.vault accessor to access the new service

feat(pipes): Add Pipes connected account event models

  • Added PipeConnectedAccount model for representing connected accounts
  • Added three new event models: PipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeeded
  • Added PipeConnectedAccountState enum with CONNECTED and NEEDS_REAUTHORIZATION values
  • Added new webhook event types to CreateWebhookEndpointEvents and UpdateWebhookEndpointEvents

feat(authorization)!: Add filtering parameters to authorization list methods

  • Added resource_id, resource_external_id, resource_type_slug filter parameters to list_role_assignments method
  • Added role_slug filter parameter to list_role_assignments_for_resource_by_external_id and list_role_assignments_for_resource methods
  • Removed search parameter from list_resources method

feat(generated): Add Error and Actor shared models

  • Added Error model in shared module for error responses
  • Added Actor model in vault module representing user/actor information
  • Updated inflections to map 'object' to 'ObjectModel' to avoid conflicts

Triggered by workos/openapi-spec@b0eb6fb

BEGIN_COMMIT_OVERRIDE
feat(organization_membership)!: Migrate organization membership to dedicated service (#491)
feat(api_keys)!: Add expires_at field to API key models (#491)
feat(radar)!: Remove device_fingerprint and bot_score fields from Radar (#491)
feat(audit_logs)!: Refactor audit logs models and type names (#491)
feat(webhooks)!: Rename WebhookEndpointJson to WebhookEndpoint (#491)
feat(vault): Add new Vault service with key-value operations (#491)
feat(pipes): Add Pipes connected account event models (#491)
feat(authorization)!: Add filtering parameters to authorization list methods (#491)
feat(generated): Add Error and Actor shared models (#491)
END_COMMIT_OVERRIDE

@workos-sdk-automation workos-sdk-automation Bot requested review from a team as code owners May 26, 2026 13:23
@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label May 26, 2026
workos-sdk-automation Bot and others added 8 commits May 26, 2026 13:23
Replace inaccurate AuditLogSchemaDto reference with what actually
happened: AuditLogSchemaJson was merged into AuditLogSchema, and
sub-types were renamed from *Json* to *Input.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The release-please action's PR output has no `.version` field — it was
always null, causing the inline step to fail with
`Could not find '## [null]' heading`. Extract from `.title` instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…riptions

AuditLogActionJson was removed (not renamed), and WebhookEndpointStatus
was aliased to UpdateWebhookEndpointStatus (not removed).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gjtorikian gjtorikian merged commit 45093c0 into main May 26, 2026
7 checks passed
@gjtorikian gjtorikian deleted the oagen/spec-update-b0eb6fb50f020df713d0233e344a6be05739f59e branch May 26, 2026 19:58
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