Skip to content

feat!: org role members endpoint, third-party client access & connection events#872

Merged
rmad17 merged 3 commits into
masterfrom
fern-bot/2026-07-08_13-58-39_844
Jul 13, 2026
Merged

feat!: org role members endpoint, third-party client access & connection events#872
rmad17 merged 3 commits into
masterfrom
fern-bot/2026-07-08_13-58-39_844

Conversation

@fern-api

@fern-api fern-api Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Changes

⚠️ Breaking Changes

  • ConnectionAttributeIdentifier removed (no compatibility alias); split into three types. The identifier field on each attribute now points to its own type:
    • EmailAttribute.identifier: EmailAttributeIdentifier{active?, default_method?: DefaultMethodEmailIdentifierEnum} (same shape as the old type; use this as the drop-in replacement).
    • PhoneAttribute.identifier: PhoneAttributeIdentifier{active?, default_method?: DefaultMethodPhoneNumberIdentifierEnum}.
    • UsernameAttribute.identifier: UsernameAttributeIdentifier{active?} (no default_method).
  • PhoneProviderProtectionBackoffStrategyEnum: Literal["exponential", "none"]Literal["exponential", "default"]. Replace the value "none" with "default".
  • ListRolesOffsetPaginatedResponseContent.start / .limit / .total: Optional[float] = None → required float. Deserializing a role-list response missing any of these now raises pydantic.ValidationError.

New Endpoints

  • organizations.roles.members.list(id=..., role_id=...) (sync + async) → GET /api/v2/organizations/{id}/roles/{role_id}/members. New sub-clients organizations.roles and organizations.roles.members; response type ListOrganizationRoleMembersResponseContent, item type RoleMember.

Type Changes

  • Organizations: third_party_client_access: Optional[OrganizationThirdPartyClientAccessEnum] (Literal["block", "allow"]) on create()/update() and all organization response types.
  • Organizations: new types ListOrganizationRoleMembersResponseContent and RoleMember (returned by the role-members endpoint above).
  • Grants: new UserGrant.organization_id: Optional[str] (read-only), via GET /grants.
  • Connections: discovery_url / oidc_metadata extended to samlp connections (previously OIDC-only), via new ConnectionsDiscoveryUrl / ConnectionsOidcMetadata on ConnectionPropertiesOptions and UpdateConnectionOptions.
  • Event Streams: new event-type values connection.created, connection.deleted, connection.updated on EventStreamEventTypeEnum, EventStreamDeliveryEventTypeEnum, EventStreamSubscribeEventsEventTypeEnum, EventStreamTestEventTypeEnum; new EventStreamCloudEventConnection{Created,Deleted,Updated}* payload types; new EventStreamSubscribeEventsResponseContent.
  • Token Vault: new grants: Optional[List[TokenVaultPrivilegedAccessGrant]] on the privileged-access credential/public-key types. TokenVaultPrivilegedAccessGrant: {connection: str, scopes: List[str]}.
  • New error body types: NotFoundErrorBody/NotFoundErrorBodyError, TooManyRequestsErrorBody/TooManyRequestsErrorBodyError.
  • CloudEvent specversion: strEventStreamCloudEventSpecVersionEnum (Literal["1.0"] + Any fallback) across group/org/user CloudEvent types.

@fern-api
fern-api Bot requested a review from a team as a code owner July 8, 2026 13:58
fern-api Bot added 2 commits July 8, 2026 15:02
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.17.0
Patches applied (2):
  - patch-c04f0b4d: Fix for incorrect return type and missing __all__ type
  - patch-95211006: Restore Auth0 telemetry and custom client wiring after regeneration

Patches with unresolved conflicts (2):
  - patch-4894603d: chore: Restore custom wiring in management/__init__.py
  - patch-7271f157: Revert wrapper file to preserve Auth0 telemetry customizations
    Run `fern-replay resolve` to apply these customizations.
@fern-api
fern-api Bot force-pushed the fern-bot/2026-07-08_13-58-39_844 branch from 873162c to fba90da Compare July 8, 2026 15:02
Patches replayed:
  - patch-4894603d: chore: Restore custom wiring in management/__init__.py
  - patch-7271f157: Revert wrapper file to preserve Auth0 telemetry customizations
  - patch-c04f0b4d: Fix for incorrect return type and missing __all__ type
  - patch-95211006: Restore Auth0 telemetry and custom client wiring after regeneration
@rmad17 rmad17 changed the title SDK regeneration feat!: org role members endpoint, third-party client access & connection events Jul 13, 2026

@kishore7snehil kishore7snehil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@rmad17
rmad17 merged commit 232583d into master Jul 13, 2026
9 checks passed
@rmad17
rmad17 deleted the fern-bot/2026-07-08_13-58-39_844 branch July 13, 2026 09:55
Sign up for free to 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