Skip to content

feat(generated)!: SDK surface change: Symbol "IntentOptions" was removed (+4 more)#698

Open
workos-sdk-automation[bot] wants to merge 7 commits into
mainfrom
oagen/batch-alltest
Open

feat(generated)!: SDK surface change: Symbol "IntentOptions" was removed (+4 more)#698
workos-sdk-automation[bot] wants to merge 7 commits into
mainfrom
oagen/batch-alltest

Conversation

@workos-sdk-automation

@workos-sdk-automation workos-sdk-automation Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

feat(admin_portal)!: SDK surface change: Symbol "IntentOptions" was removed

  • SDK surface change: Symbol "IntentOptions" was removed.

feat(connect)!: SDK surface change: Symbol "ConnectedAccountDto" was removed

  • SDK surface change: Symbol "ConnectedAccountDto" was removed.

feat(organization_domains)!: SDK surface change: Symbol "DomainVerificationIntentOptions" was removed

  • SDK surface change: Symbol "DomainVerificationIntentOptions" was removed.

feat(pipes)!: SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed

  • SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed.

feat(sso)!: SDK surface change: Symbol "SSOIntentOptions" was removed

  • SDK surface change: Symbol "SSOIntentOptions" was removed.

Triggered by workos/openapi-spec@eda9449

BEGIN_COMMIT_OVERRIDE
feat(admin_portal)!: SDK surface change: Symbol "IntentOptions" was removed (#698)
feat(connect)!: SDK surface change: Symbol "ConnectedAccountDto" was removed (#698)
feat(organization_domains)!: SDK surface change: Symbol "DomainVerificationIntentOptions" was removed (#698)
feat(pipes)!: SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed (#698)
feat(sso)!: SDK surface change: Symbol "SSOIntentOptions" was removed (#698)
END_COMMIT_OVERRIDE

@workos-sdk-automation
workos-sdk-automation Bot requested a review from a team as a code owner July 21, 2026 21:30
@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label Jul 21, 2026
@workos-sdk-automation
workos-sdk-automation Bot requested a review from a team as a code owner July 21, 2026 21:30
@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR regenerates the Python SDK from the updated OpenAPI specification. The main changes are:

  • Removes five generated models listed as breaking changes.
  • Consolidates several models onto shared replacements.
  • Updates generated exports, fixtures, tests, and the generator manifest.

Confidence Score: 4/5

Package-level model imports can fail after this update, and some additional removals are missing from the release notes.

  • Many still-defined common model names are no longer re-exported.
  • ConnectionOption and OrganizationDomainStandAlone are removed without migration guidance.
  • The inspected replacement models remain consistent with their current resource callers.

src/workos/common/models/init.py, src/workos/common/init.py, src/workos/sso/models/init.py, and src/workos/organization_domains/models/init.py

Important Files Changed

Filename Overview
src/workos/common/models/init.py Removes package-level exports for many models that remain present and are not listed among the announced breaking changes.
src/workos/common/init.py Removes the wildcard re-export that previously exposed common model names at the package level.
src/workos/pipes/models/init.py Moves ConnectedAccount to the equivalent shared model and exports the current input model names.
src/workos/sso/models/init.py Removes ConnectionOption without listing that public API break in the changelog.
src/workos/organization_domains/models/init.py Removes the stand-alone domain alias without documenting the replacement import.
.oagen-manifest.json Updates generated-file tracking and reorders existing operation entries.
Prompt To Fix All With AI
Fix the following 3 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 3
src/workos/common/models/__init__.py:109
**Existing Model Exports Disappear**

This removes package-level exports for dozens of models that still exist, including `DirectoryUserState`, `EventContextActorSource`, `PipeConnectedAccountState`, and `WaitlistUserState`. Applications importing these names from `workos.common.models` or `workos.common` will now fail at import time, although the release notes announce only five unrelated removals.

### Issue 2 of 3
src/workos/sso/models/__init__.py:4
**Undocumented ConnectionOption Removal**

Removing this export and deleting its module breaks applications that import `ConnectionOption` from `workos.sso.models` or `workos.types.sso`. The changelog announces only the removal of `SSOIntentOptions`, so affected callers receive no notice or replacement guidance for this additional breaking change.

### Issue 3 of 3
src/workos/organization_domains/models/__init__.py:6
**Undocumented Stand-Alone Alias Removal**

Removing `OrganizationDomainStandAlone` breaks existing imports from `workos.organization_domains.models` and `workos.types.organization_domains`. The changelog does not list this removal or direct callers to `OrganizationDomain`, so this additional breaking API change is missing from the release notes.

Reviews (1): Last reviewed commit: "chore(generated): add release notes frag..." | Re-trigger Greptile

@@ -109,7 +109,6 @@
from .authenticate_response_impersonator import (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Existing Model Exports Disappear

This removes package-level exports for dozens of models that still exist, including DirectoryUserState, EventContextActorSource, PipeConnectedAccountState, and WaitlistUserState. Applications importing these names from workos.common.models or workos.common will now fail at import time, although the release notes announce only five unrelated removals.

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/workos/common/models/__init__.py
Line: 109

Comment:
**Existing Model Exports Disappear**

This removes package-level exports for dozens of models that still exist, including `DirectoryUserState`, `EventContextActorSource`, `PipeConnectedAccountState`, and `WaitlistUserState`. Applications importing these names from `workos.common.models` or `workos.common` will now fail at import time, although the release notes announce only five unrelated removals.

How can I resolve this? If you propose a fix, please make it concise.


from .connection import Connection as Connection
from .connection_option import * # noqa: F401,F403
from .connection_domain import ConnectionDomain as ConnectionDomain

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Undocumented ConnectionOption Removal

Removing this export and deleting its module breaks applications that import ConnectionOption from workos.sso.models or workos.types.sso. The changelog announces only the removal of SSOIntentOptions, so affected callers receive no notice or replacement guidance for this additional breaking change.

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/workos/sso/models/__init__.py
Line: 4

Comment:
**Undocumented ConnectionOption Removal**

Removing this export and deleting its module breaks applications that import `ConnectionOption` from `workos.sso.models` or `workos.types.sso`. The changelog announces only the removal of `SSOIntentOptions`, so affected callers receive no notice or replacement guidance for this additional breaking change.

How can I resolve this? If you propose a fix, please make it concise.

CreateOrganizationDomain as CreateOrganizationDomain,
)
from .organization_domain_stand_alone import * # noqa: F401,F403
from workos.common.models.organization_domain import (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Undocumented Stand-Alone Alias Removal

Removing OrganizationDomainStandAlone breaks existing imports from workos.organization_domains.models and workos.types.organization_domains. The changelog does not list this removal or direct callers to OrganizationDomain, so this additional breaking API change is missing from the release notes.

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/workos/organization_domains/models/__init__.py
Line: 6

Comment:
**Undocumented Stand-Alone Alias Removal**

Removing `OrganizationDomainStandAlone` breaks existing imports from `workos.organization_domains.models` and `workos.types.organization_domains`. The changelog does not list this removal or direct callers to `OrganizationDomain`, so this additional breaking API change is missing from the release notes.

How can I resolve this? If you propose a fix, please make it concise.

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.

0 participants