Skip to content

feat: add org role members, third-party client access, passwordless type fixes, and OIDC connection updates - #1363

Merged
ankita10119 merged 3 commits into
masterfrom
fern-bot/2026-07-07T09-56-39Z
Jul 10, 2026
Merged

feat: add org role members, third-party client access, passwordless type fixes, and OIDC connection updates#1363
ankita10119 merged 3 commits into
masterfrom
fern-bot/2026-07-07T09-56-39Z

Conversation

@fern-api

@fern-apifern-apiBot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Changes

This SDK regeneration introduces new endpoints, new fields, type correctness fixes, and two breaking changes.

New Features

  • client.organizations.roles.members.list(orgId, roleId)- new endpoint to list members assigned a specific role within an organization (GET /api/v2/organizations/{id}/roles/{role_id}/members). Supports checkpoint pagination.
  • third_party_client_access (allow | block) - new field on organization create/update/get/list. Controls whether third-party clients can perform standard user flows within the context of an organization. Defaults to block.
  • organization_id - new read-only field on the grant entity.
  • discovery_url and oidc_metadata - added to ConnectionPropertiesOptions.
  • grants - new field on ClientTokenVaultPrivilegedAccessWithCredentialId and ClientTokenVaultPrivilegedAccessWithPublicKey.
  • NotFoundErrorBody and TooManyRequestsErrorBody - explicit error body types added.

Type Fixes

  • ConnectionAttributeIdentifier split ⚠️ BREAKING - removed and replaced with three identifier-specific types to correctly type default_method per identifier:
    • EmailAttributeIdentifier - default_method: "password" | "email_otp"
    • PhoneAttributeIdentifier - default_method: "password" | "phone_otp"
    • UsernameAttributeIdentifier - no default_method
  • PhoneProviderProtectionBackoffStrategyEnum⚠️ BREAKING - None: "none" renamed to Default: "default" to match the updated Auth0 API.

Other

  • Event stream test example updated from group.created to connection.created.

Testing

Wire tests added/updated for all new endpoints and modified resources.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@fern-api
fern-apiBot requested a review from a team as a code ownerJuly 7, 2026 09:56
@codecov

codecovBot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.20290% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.72%. Comparing base (ec645b1) to head (476bba8).

Files with missing linesPatch %Lines
...resources/roles/resources/members/client/Client.ts92.59%4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@ Coverage Diff @@## master #1363 +/- ##
==========================================
+ Coverage 89.62% 89.72% +0.09% 
==========================================
Files 428 433 +5 Lines 19886 20115 +229 Branches 9400 9786 +386 ==========================================
+ Hits 17823 18048 +225 - Misses 2063 2067 +4 
FlagCoverage Δ
alltests89.72% <94.20%> (+0.09%)⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing linesCoverage Δ
...gement/api/resources/eventStreams/client/Client.ts88.42% <ø> (ø)
...ement/api/resources/organizations/client/Client.ts89.66% <100.00%> (+0.12%)⬆️
...ent/api/resources/organizations/resources/index.ts100.00% <100.00%> (ø)
...ces/organizations/resources/roles/client/Client.ts100.00% <100.00%> (ø)
...i/resources/organizations/resources/roles/index.ts100.00% <100.00%> (ø)
...s/organizations/resources/roles/resources/index.ts100.00% <100.00%> (ø)
...zations/resources/roles/resources/members/index.ts100.00% <100.00%> (ø)
src/management/api/types/types.ts100.00% <ø> (ø)
...resources/roles/resources/members/client/Client.ts92.59% <92.59%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ankita10119ankita10119 changed the title 🌿 Fern Regeneration -- July 7, 2026feat: add org role members, third-party client access, passwordless type fixes, and OIDC connection updatesJul 10, 2026
@ankita10119
ankita10119 merged commit 279fd80 into masterJul 10, 2026
11 checks passed
@ankita10119
ankita10119 deleted the fern-bot/2026-07-07T09-56-39Z branch July 10, 2026 11:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ankita10119@harshithRai@amitsingh05667