Skip to content

feat(generated)!: SDK surface change: Parameter type changed for "body" on "UserManagement.create_authenticate" (+2 more)#684

Closed
workos-sdk-automation[bot] wants to merge 5 commits into
mainfrom
oagen/batch-3e7992ec
Closed

feat(generated)!: SDK surface change: Parameter type changed for "body" on "UserManagement.create_authenticate" (+2 more)#684
workos-sdk-automation[bot] wants to merge 5 commits into
mainfrom
oagen/batch-3e7992ec

Conversation

@workos-sdk-automation

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

Copy link
Copy Markdown
Contributor

Summary

feat(user_management)!: SDK surface change: Parameter type changed for "body" on "UserManagement.create_authenticate"

  • SDK surface change: Parameter type changed for "body" on "UserManagement.create_authenticate".

feat(user_management): Add user management operations and models

  • Added model SendRadarSmsChallenge.
  • Added model SendRadarSmsChallengeResponse.
  • Added model UrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequest.
  • Added model UrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequest.
  • Added model MagicAuthSendMagicAuthCodeAndReturnResponse.
  • Added model UserCreateResponse.
  • Added ip_address to CreateMagicCodeAndReturn.
  • Added user_agent to CreateMagicCodeAndReturn.
  • Added radar_auth_attempt_id to CreateMagicCodeAndReturn.
  • Added signals_id to CreateMagicCodeAndReturn.
  • Added ip_address to CreateUser.
  • Added user_agent to CreateUser.
  • Added signals_id to CreateUser.
  • Added signals_id to AuthorizationCodeSessionAuthenticateRequest.
  • Added signals_id to PasswordSessionAuthenticateRequest.
  • Added radar_auth_attempt_id to PasswordSessionAuthenticateRequest.
  • Added radar_auth_attempt_id to UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequest.
  • Added endpoint POST /user_management/radar_challenges.

fix(user_management): Update user management API surface

  • Changed request body for UserManagementAuthentication.authenticate.
  • Changed response of UserManagementUsers.create from User to UserCreateResponse.
  • Changed response of UserManagementMagicAuth.sendMagicAuthCodeAndReturn from MagicAuth to MagicAuthSendMagicAuthCodeAndReturnResponse.

Triggered by workos/openapi-spec@e350eb0

BEGIN_COMMIT_OVERRIDE
feat(user_management)!: SDK surface change: Parameter type changed for "body" on "UserManagement.create_authenticate" (#684)
feat(user_management): Add user management operations and models (#684)
fix(user_management): Update user management API surface (#684)
END_COMMIT_OVERRIDE

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

greptile-apps Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the generated Python SDK surface for Radar-backed user management flows. The main changes are:

  • Adds create_radar_challenge for sync and async user management clients.
  • Adds Radar email and SMS challenge authentication request models.
  • Adds Radar correlation fields such as signals_id and radar_auth_attempt_id to existing request models.
  • Updates create user and magic auth responses to return the new Radar attempt response shape.
  • Refreshes fixtures and round-trip tests for the new generated models.

Confidence Score: 5/5

The generated SDK updates appear merge-safe with no code issues identified.

The changes are consistent generated model/resource updates with matching fixture and round-trip test coverage, and no blocking correctness concerns were found.

T-Rex T-Rex Logs

What T-Rex did

  • Captured a runtime proof by saving before/after logs that record the command, current working directory, checkout output, exit code, the captured fake HTTP status code and message, the request method, path, body, and model, the response class, and the serialized response data.

View all artifacts

T-Rex Ran code and verified through T-Rex

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

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