-
Notifications
You must be signed in to change notification settings - Fork 33
feat(generated)!: Changes to user_management #718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
40dfee3
feat(user_management)!: SDK surface change: Parameter type changed fo…
workos-sdk-automation[bot] 8944fe8
feat(user_management): Add model `EmailCompletionSessionAuthenticateR…
workos-sdk-automation[bot] 00aeadc
fix(user_management): Update user management API surface
workos-sdk-automation[bot] d071da6
chore(generated): regenerate shared files for UserManagement
workos-sdk-automation[bot] ff05bc1
chore(generated): add release notes fragment
workos-sdk-automation[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
.changelog-pending/2026-09-01T16-10-03-667627615ba0a9db28194f68afd773d08ce9cbe7.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| * [#718](https://github.com/workos/workos-python/pull/718) feat(generated)!: regenerate from spec (3 changes) | ||
|
|
||
| **Features** | ||
| * **[user_management](https://workos.com/docs/reference/authkit/user)**: | ||
| * Added model `EmailCompletionSessionAuthenticateRequest` | ||
| * Added model `CreateWaitlistEntry` | ||
| * Added model `Waitlist` | ||
| * Added model `WaitlistEntry` | ||
| * Added enum `WaitlistEntryState` | ||
| * Added enum `UserManagementWaitlistsState` | ||
| * Added service `UserManagementWaitlists` | ||
|
|
||
| **Fixes** | ||
| * **[user_management](https://workos.com/docs/reference/authkit/user)**: | ||
| * Changed request body for `UserManagementAuthentication.authenticate` | ||
| * Changed errors for endpoint `POST /user_management/authenticate` | ||
| * Removed `DiscordOAuth` from `AuthenticateResponseAuthenticationMethod` | ||
| * Removed `GrokOAuth` from `AuthenticateResponseAuthenticationMethod` | ||
| * Removed `XOAuth` from `AuthenticateResponseAuthenticationMethod` | ||
| * Removed `DiscordOAuth` from `UserIdentitiesGetItemProvider` | ||
| * Removed `GrokOAuth` from `UserIdentitiesGetItemProvider` | ||
| * Removed `XOAuth` from `UserIdentitiesGetItemProvider` | ||
| * Changed errors for endpoint `DELETE /user_management/users/{id}` |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| a07d8e7988d035c2d727787f18f64d71b4b89a84 | ||
| d61348070f219d16b6285f205986c2d332bf6e9c |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| # This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| from ._resource import AuditLogs as AuditLogs, AsyncAuditLogs as AsyncAuditLogs | ||
| from ._resource import AsyncAuditLogs as AsyncAuditLogs | ||
| from ._resource import AuditLogs as AuditLogs | ||
| from ._resource import RetentionPeriod as RetentionPeriod | ||
| from ._resource import RetentionPeriodInDays as RetentionPeriodInDays | ||
| from .models import * |
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| # This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| from typing import TypeAlias | ||
| from .session_created_data_status import SessionCreatedDataStatus | ||
|
|
||
| UserSessionsStatus: TypeAlias = SessionCreatedDataStatus | ||
| from .agent_instance_session_status import AgentInstanceSessionStatus | ||
|
|
||
| UserSessionsStatus: TypeAlias = AgentInstanceSessionStatus | ||
| __all__ = ["UserSessionsStatus"] | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| from typing import TYPE_CHECKING | ||
|
|
||
| if TYPE_CHECKING: | ||
| from workos.user_management.models.user_management_waitlists_state import ( | ||
| UserManagementWaitlistsState as WaitlistEntryState, | ||
| ) | ||
| else: | ||
|
|
||
| def __getattr__(name: str): | ||
| if name == "WaitlistEntryState": | ||
| from workos.user_management.models.user_management_waitlists_state import ( | ||
| UserManagementWaitlistsState, | ||
| ) | ||
|
|
||
| return UserManagementWaitlistsState | ||
| raise AttributeError(f"module {__name__!r} has no attribute {name!r}") | ||
|
|
||
|
|
||
| __all__ = ["WaitlistEntryState"] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| # This file is auto-generated by oagen. Do not edit. | ||
|
|
||
| from ._resource import SSO as SSO, AsyncSSO as AsyncSSO | ||
| from ._resource import SSO as SSO | ||
| from ._resource import AsyncSSO as AsyncSSO | ||
| from ._resource import CreateProtocolOptionsOIDC as CreateProtocolOptionsOIDC | ||
| from ._resource import CreateProtocolOptionsSAML as CreateProtocolOptionsSAML | ||
| from ._resource import PatchProtocolOptionsOIDC as PatchProtocolOptionsOIDC | ||
| from ._resource import PatchProtocolOptionsSAML as PatchProtocolOptionsSAML | ||
| from .models import * |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
workos.common.modelsis imported, its eager user-session exports load the nonexistentagent_instance_session_statusmodule, causingModuleNotFoundErrorand preventing the common models package from loading.Knowledge Base Used: User management
Prompt To Fix With AI