Skip to content

feat(generated): AuditLogs (batch 56391ebd)#126

Merged
workos-sdk-automation[bot] merged 2 commits into
mainfrom
oagen/batch-56391ebd
Jul 20, 2026
Merged

feat(generated): AuditLogs (batch 56391ebd)#126
workos-sdk-automation[bot] merged 2 commits into
mainfrom
oagen/batch-56391ebd

Conversation

@workos-sdk-automation

Copy link
Copy Markdown
Contributor

Summary

Regenerated SDK from spec changes.

Triggered by workos/openapi-spec@be67bca

@greptile-apps

greptile-apps Bot commented Jul 20, 2026

Copy link
Copy Markdown

Greptile Summary

Auto-generated SDK regeneration syncing the Rust SDK with spec changes from workos/openapi-spec@be67bca7. The substantive change is the addition of expired to AuditLogExportState, along with manifest registration of two new user_management endpoints.

  • AuditLogExportState: The Expired variant was introduced in the enum with correct FromStr/Serialize/Deserialize wiring; the changelog entry documents this.
  • .oagen-manifest.json: Two new endpoint mappings added — GET /user_management/radar_challenges/{id}get_radar_challenge and DELETE /user_management/redirect_uris/{id}delete_redirect_uris; the latter uses a plural method name for a single-resource endpoint, which is inconsistent with REST conventions used elsewhere.
  • Test fixtures: audit_log_schema.json has cosmetic field reordering; audit_log_schema_actor.json simplifies metadata to an empty object — both are valid for their respective HashMap<String, serde_json::Value> field types.

Confidence Score: 4/5

Safe to merge — all changes are auto-generated with no hand-written logic altered.

The only substantive code impact is registering the new expired state and two manifest entries. The delete_redirect_uris method name is plural for a single-resource endpoint, which is a naming inconsistency but does not affect runtime behaviour. The fixture changes are cosmetic or simplification-only.

.oagen-manifest.json — worth confirming whether delete_redirect_uris (plural) is intentional or should be singular to match the pattern of other single-resource delete methods in the manifest.

Important Files Changed

Filename Overview
.changelog-pending/2026-07-20T17-46-19-be67bca7f0a48ba858376717a86d7809a41f9786.md New pending changelog entry documenting the addition of expired to AuditLogExportState; no issues.
.oagen-manifest.json Adds two new endpoint-to-SDK-method mappings; delete_redirect_uris is plural for a single-resource {id} endpoint, which is inconsistent with REST naming conventions used elsewhere in the manifest.
tests/fixtures/audit_log_schema.json JSON field reordering only (object and version moved before targets); no functional impact.
tests/fixtures/audit_log_schema_actor.json Metadata simplified from a concrete JSON Schema definition (type/properties/role) to an empty object {}; both forms deserialize correctly into HashMap<String, serde_json::Value>.
.last-synced-sha Routine SHA update tracking the latest synced spec commit.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[AuditLogExport] --> B[AuditLogExportState]
    B --> C[Pending]
    B --> D[Ready]
    B --> E[Error]
    B --> F[Expired - new]
    B --> G[Unknown]

    H[.oagen-manifest.json] --> I[GET /user_management/radar_challenges/id - get_radar_challenge]
    H --> J[DELETE /user_management/redirect_uris/id - delete_redirect_uris]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[AuditLogExport] --> B[AuditLogExportState]
    B --> C[Pending]
    B --> D[Ready]
    B --> E[Error]
    B --> F[Expired - new]
    B --> G[Unknown]

    H[.oagen-manifest.json] --> I[GET /user_management/radar_challenges/id - get_radar_challenge]
    H --> J[DELETE /user_management/redirect_uris/id - delete_redirect_uris]
Loading
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
.oagen-manifest.json:2083-2086
The SDK method name `delete_redirect_uris` (plural) is inconsistent with the single-resource endpoint `DELETE /user_management/redirect_uris/{id}`. Every other `DELETE /{resource}/{id}` method in the manifest uses the singular form — for example `delete_redirect_uri` would align with the pattern. Using the plural form here may be confusing for callers who expect the method to delete one resource by ID.

```suggestion
    "DELETE /user_management/redirect_uris/{id}": {
      "sdkMethod": "delete_redirect_uri",
      "service": "user_management"
    }
```

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

Comment thread .oagen-manifest.json
Comment on lines +2083 to 2086
"DELETE /user_management/redirect_uris/{id}": {
"sdkMethod": "delete_redirect_uris",
"service": "user_management"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 The SDK method name delete_redirect_uris (plural) is inconsistent with the single-resource endpoint DELETE /user_management/redirect_uris/{id}. Every other DELETE /{resource}/{id} method in the manifest uses the singular form — for example delete_redirect_uri would align with the pattern. Using the plural form here may be confusing for callers who expect the method to delete one resource by ID.

Suggested change
"DELETE /user_management/redirect_uris/{id}": {
"sdkMethod": "delete_redirect_uris",
"service": "user_management"
}
"DELETE /user_management/redirect_uris/{id}": {
"sdkMethod": "delete_redirect_uri",
"service": "user_management"
}
Prompt To Fix With AI
This is a comment left during a code review.
Path: .oagen-manifest.json
Line: 2083-2086

Comment:
The SDK method name `delete_redirect_uris` (plural) is inconsistent with the single-resource endpoint `DELETE /user_management/redirect_uris/{id}`. Every other `DELETE /{resource}/{id}` method in the manifest uses the singular form — for example `delete_redirect_uri` would align with the pattern. Using the plural form here may be confusing for callers who expect the method to delete one resource by ID.

```suggestion
    "DELETE /user_management/redirect_uris/{id}": {
      "sdkMethod": "delete_redirect_uri",
      "service": "user_management"
    }
```

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

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@workos-sdk-automation
workos-sdk-automation Bot merged commit 5cb1bba into main Jul 20, 2026
6 checks passed
@workos-sdk-automation
workos-sdk-automation Bot deleted the oagen/batch-56391ebd branch July 20, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants