feat(generated): Sync with spec: agents, SSO connections, and more - #435
Merged
Conversation
…ys" renamed to "retention" on "AuditLogs.updateOrganizationAuditLogsRetention"
…"SSO.getProfileAndToken"
…iKeys, AuditLogs, Authorization, ClientApi, Connect, DirectorySync, Events, FeatureFlags, Groups, MultiFactorAuth, OrganizationDomains, OrganizationMembership, Organizations, Pipes, PipesProvider, PlatformTeams, Radar, SSO, UserManagement, Vault, Webhooks, Widgets
Contributor
|
Too many files changed for review (197 files, 100 file limit). Bypass the limit by tagging |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This regeneration brings the SDK in sync with several OpenAPI spec releases, so it contains far more than the auto-generated summary suggested. What's actually included:
Added
Agentsservice (AgentBlueprint,AgentInstance,AgentInstanceSession,AgentToken, and related request models/enums). The changelog's "Removed serviceAgents" is a tag reorganization in the spec — no agent endpoints or methods were removed; the existing registration/claim methods are unchanged.POST /connections,PATCH /connections/{id}) and SAML certificate endpoints (IdP signing certs, SP encryption certs, SP signing cert).Team,CreateTeam).email-completiongrant forPOST /user_management/authenticate(EmailCompletionSessionAuthenticateRequest) plus theemail_completion_requirederror response, and waitlist endpoints.retention_periodmonth/year enum option on the update-retention endpoint (see breaking changes below for the parameter shape).agent.instance.*andagent.blueprint.*event types.Removed
DiscordOAuth,GrokOAuth, andXOAuthvalues from the connection type / profile connection type / authentication method enums. These are true removals.Moved or reorganized (listed as "removed" in the changelog, but not actually gone)
Agents" + "Added serviceAgentsBlueprints/AgentsInstances/..." entries reflect the spec re-tagging agent endpoints under sub-resource tags — the endpoints themselves were added or kept, not removed.TokenBody/TokenQueryremoved-then-added entries are churn from the SSO token endpoint's request moving between body and query representations; the endpoint's surface is intact.Breaking changes in this SDK
AuditLogs.updateOrganizationAuditLogsRetention: theretentionPeriodInDaysparameter was replaced byretention, a union accepting either the old days-based value (now deprecated upstream) or the new month/year retention period enum. The days-based option moved into the union rather than being removed.SSO.getProfileAndToken:codeis now optional, since the token endpoint supports additional grant types (e.g. PKCE) where it isn't required.DiscordOAuth,GrokOAuth, andXOAuthwere removed from the connection type / profile connection type / authentication method enums.Triggered by workos/openapi-spec@6676276
BEGIN_COMMIT_OVERRIDE
feat(agents): Add blueprint, instance, and session endpoints (#435)
feat(sso): Add connection management and SAML certificate endpoints (#435)
feat(organizations): Add IT contacts endpoints (#435)
feat(platform_teams): Add Platform Teams service (#435)
feat(user_management): Add email-completion grant and waitlist endpoints (#435)
feat(audit_logs): Replace retentionPeriodInDays param with retention union supporting retention periods (#435)
feat(sso): Make code optional on getProfileAndToken (#435)
feat(webhooks): Add agent instance and blueprint webhook event types (#435)
fix(sso): Remove DiscordOAuth, GrokOAuth, and XOAuth from connection type enums (#435)
END_COMMIT_OVERRIDE
Link to Devin session: https://app.devin.ai/sessions/151cadc0bb534027a325939c3c68c0d3
Open in Devin Desktop: https://app.devin.ai/desktop/session/151cadc0bb534027a325939c3c68c0d3?variant=devin
Requested by: @m0tzy