Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
87cdab2
feat(user_management)!: Remove organization membership methods, move …
workos-sdk-automation[bot] May 26, 2026
17c9664
feat(organization_membership)!: Add new OrganizationMembershipService…
workos-sdk-automation[bot] May 26, 2026
d23e7a9
feat(vault)!: Add new Vault service with encryption and object storag…
workos-sdk-automation[bot] May 26, 2026
cbf361a
feat(radar)!: Remove device_fingerprint and bot_score parameters from…
workos-sdk-automation[bot] May 26, 2026
fea7047
feat(authorization)!: Remove search parameter and add resource/role f…
workos-sdk-automation[bot] May 26, 2026
deb9ac4
feat(api_keys)!: Add expires_at field to API key models
workos-sdk-automation[bot] May 26, 2026
381a634
feat(audit_logs)!: Rename audit log models and update service references
workos-sdk-automation[bot] May 26, 2026
07ff221
feat(webhooks)!: Rename WebhookEndpointJson to WebhookEndpoint
workos-sdk-automation[bot] May 26, 2026
904e987
feat(common): Add new models for pipes events and enhancements
workos-sdk-automation[bot] May 26, 2026
dbeab78
chore(generated): Regenerate SDK for oagen spec updates
workos-sdk-automation[bot] May 26, 2026
e0be92b
chore(generated): shared regenerated files
workos-sdk-automation[bot] May 26, 2026
8bab093
chore(generated): add release notes fragment
workos-sdk-automation[bot] May 26, 2026
be0fdd5
regenerate
gjtorikian May 26, 2026
37137b7
regenerate
gjtorikian May 26, 2026
dd530f5
whatre yall doing there
gjtorikian May 26, 2026
ef40f31
regen 2
gjtorikian May 26, 2026
7c33abd
restore previous vault behavior
gjtorikian May 26, 2026
5c25a54
corrections
gjtorikian May 26, 2026
95e9733
fix changelog: correct inaccuracies and add missing breaking changes
gjtorikian May 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
* [#662](https://github.com/workos/workos-python/pull/662) feat(generated)!: regenerate from spec (10 changes)

**⚠️ Breaking**
* **user_management:** Remove organization membership methods, move to new service
* Removed `list_organization_memberships`, `create_organization_membership`, `get_organization_membership`, `update_organization_membership`, `delete_organization_membership`, `deactivate_organization_membership`, and `reactivate_organization_membership` methods from UserManagement.
* Removed `RoleSingle` and `RoleMultiple` dataclasses from UserManagement.
* Organization membership management is now handled by the new `OrganizationMembershipService`.
* Client accessor renamed from `client.user_management_organization_membership_groups` to `client.organization_membership`.
* **organization_membership:** Add new OrganizationMembershipService with membership and group operations
* Created new `OrganizationMembershipService` with `list_organization_memberships`, `create_organization_membership`, `get_organization_membership`, `update_organization_membership`, `delete_organization_membership`, `deactivate_organization_membership`, `reactivate_organization_membership`, and `list_organization_membership_groups` methods.
* Added `RoleSingle` and `RoleMultiple` dataclasses to support role assignment.
* Added `AsyncOrganizationMembershipService` for async operations.
* **vault:** Replace hand-maintained Vault module with generated Vault service
* The old `workos.vault` module (`vault.py`) has been replaced by a generated `vault/_resource.py` service. Method renames:
* `read_object` → `get_kv`
* `read_object_by_name` → `get_name`
* `get_object_metadata` → removed (no direct equivalent)
* `list_objects` → `list_kv`
* `list_object_versions` → `list_kv_versions`
* `create_object` → `create_kv`
* `update_object` → `update_kv`
* `delete_object` → `delete_kv`
* `create_data_key(key_context=...)` → `create_data_key(context=...)`
* `decrypt_data_key` → `create_decrypt`
* Removed types: `DataKey`, `DataKeyPair`, `ObjectDigest`, `ObjectUpdateBy`. Replaced by new generated models (`CreateDataKeyResponse`, `DecryptResponse`, `ObjectMetadata`, `ObjectSummary`, `ObjectWithoutValue`, `VaultObject`, etc.).
* Added new methods: `create_rekey`, `list_kv_metadata`.
* Added `AsyncVault` for async operations.
* Client-side `encrypt`/`decrypt` (AES-GCM) methods are preserved with the same signatures.
* **connect:** `ConnectApplication` is now a discriminated union
* `ConnectApplication` was a single dataclass; it is now a discriminated union dispatcher based on `application_type`.
* All Connect methods (`list_applications`, `create_application`, `get_application`, `update_application`) now return `ConnectApplicationVariant` (a union of `ConnectApplicationM2M`, `ConnectApplicationOAuth`, or `ConnectApplicationUnknown`).
* Code using `isinstance(x, ConnectApplication)` or accessing type-specific fields without checking the variant will need updating.
* **radar:** Remove device_fingerprint and bot_score parameters from assess request
* Removed `device_fingerprint` and `bot_score` optional parameters from `Radar.create_attempt` and `AsyncRadar.create_attempt` methods.
* Removed these fields from `RadarStandaloneAssessRequest` model.
* **radar:** Rename radar list/action enums and remove enum values
* Renamed `RadarAction` to `RadarListAction` and `RadarType` to `RadarListType` (affects `add_list_entry` and `remove_list_entry` method signatures).
* `RadarStandaloneResponseBlocklistType` is now a lazy re-export alias of `RadarListType`.
* Removed `credential_stuffing` and `ip_sign_up_rate_limit` values from `RadarStandaloneResponseControl` enum.
* Removed `login`, `signup`, `sign_up`, and `sign_in` values from `RadarStandaloneAssessRequestAction` enum; only `sign-up` and `sign-in` remain.
* **authorization:** Remove search parameter and add resource/role filtering
* Removed `search` parameter from `Authorization.list_resources` and `AsyncAuthorization.list_resources`.
* Added `resource_id`, `resource_external_id`, `resource_type_slug` parameters to `list_role_assignments` method.
* Added `role_slug` parameter to `list_role_assignments_for_resource_by_external_id` and `list_role_assignments_for_resource` methods.
* **api_keys:** Add expires_at field to API key models
* Added `expires_at` optional field to `CreateOrganizationApiKey` model.
* Added `expires_at` optional field to `CreateUserApiKey` model.
* Added `expires_at` to organizational and user API key models (OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue).
* Added `expires_at` parameter to `create_organization_api_key` and `create_user_api_key` methods.
* **audit_logs:** Rename audit log models and update service references
* Renamed `AuditLogActionJson` to `AuditLogAction`.
* Renamed `AuditLogExportJson` to `AuditLogExport`.
* Renamed `AuditLogSchemaJson` to `AuditLogSchema`.
* Renamed `AuditLogSchemaJsonActor` to `AuditLogSchemaActorInput` and `AuditLogSchemaJsonTarget` to `AuditLogSchemaTargetInput`.
* Added new `AuditLogSchemaInput` model (used for schema creation payloads).
* Renamed `AuditLogsRetentionJson` to `AuditLogsRetention`.
* Updated all service methods to use new model names.
* **webhooks:** Rename WebhookEndpointJson to WebhookEndpoint
* Renamed `WebhookEndpointJson` model to `WebhookEndpoint`.
* Updated all service methods to use the new model name.
* Updated webhook endpoint status references.

**Features**
* **common:** Add new models for pipes events and enhancements
* Added `Actor` model representing the user or API key that performed an action.
* Added `Error` model for error response bodies.
* Added `PipeConnectedAccount` model with state enumeration.
* Added pipe event models: `PipesConnectedAccountConnected`, `PipesConnectedAccountDisconnected`, `PipesConnectedAccountReauthorizationNeeded`.
* Added webhook event enum values for pipes connected account events.
* Renamed `AuditLogExportJsonState` to `AuditLogExportState`.
* Renamed `WebhookEndpointJsonStatus` to `WebhookEndpointStatus`.
* Updated `UserManagementAuthenticationScreenHint` to use `RadarStandaloneAssessRequestAction` type alias.
2 changes: 1 addition & 1 deletion .last-synced-sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a10d9ecb766d2dd996aecb19aa9c801d78bb7c26
cb6857d51b453e3cbdb5bf3647d3ca229dd8af65
Loading