Skip to content

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

Merged
workos-sdk-automation[bot] merged 5 commits into
mainfrom
oagen/batch-a7de29ef
Jul 2, 2026
Merged

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

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@71b13e0

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

@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 review from a team as code owners July 2, 2026 17:30
@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 merged commit c18fd60 into main Jul 2, 2026
10 checks passed
@workos-sdk-automation workos-sdk-automation Bot deleted the oagen/batch-a7de29ef branch July 2, 2026 17:34
@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 User Management and Radar. The main changes are:

  • Adds Radar SMS challenge request and response models.
  • Adds create_radar_challenge methods for sync and async User Management clients.
  • Adds Radar challenge authentication request models to create_authenticate.
  • Adds Radar correlation fields such as signals_id and radar_auth_attempt_id to related request models.
  • Updates create-user and magic-auth send operations to use the new generated response shapes.

Confidence Score: 5/5

The generated SDK surface changes are straightforward model and endpoint updates with matching fixture and round-trip test coverage.

No correctness issues were identified in the reviewed changes, and the updates appear internally consistent with the described API surface changes.

T-Rex T-Rex Logs

What T-Rex did

  • Implemented Radar challenge model classes and extended authentication request handling to serialize signals_id and radar_auth_attempt_id; the head now records a POST to user_management/authenticate with AuthenticateResponse and Radar grant bodies.
  • Validated the Radar flow end-to-end, including three SDK requests captured with expected method/path/body/model values and a successful model round-trip; the after artifact shows a CALL 3 with POST to user_management/radar_challenges and a SendRadarSmsChallengeResponse with all required fields present.
  • Enabled signals_id handling in Radar attempts: the system now accepts and serializes signals_id, posts to radar/attempts with signals_id: sig_123, and omits the field when signals_id is not present.

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