feat!: org role members endpoint, third-party client access & connection events#872
Merged
Conversation
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
Bot
force-pushed
the
fern-bot/2026-07-08_13-58-39_844
branch
from
July 8, 2026 15:02
873162c to
fba90da
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
ConnectionAttributeIdentifierremoved (no compatibility alias); split into three types. Theidentifierfield 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?}(nodefault_method).PhoneProviderProtectionBackoffStrategyEnum:Literal["exponential", "none"]→Literal["exponential", "default"]. Replace the value"none"with"default".ListRolesOffsetPaginatedResponseContent.start/.limit/.total:Optional[float] = None→ requiredfloat. Deserializing a role-list response missing any of these now raisespydantic.ValidationError.New Endpoints
organizations.roles.members.list(id=..., role_id=...)(sync + async) →GET /api/v2/organizations/{id}/roles/{role_id}/members. New sub-clientsorganizations.rolesandorganizations.roles.members; response typeListOrganizationRoleMembersResponseContent, item typeRoleMember.Type Changes
third_party_client_access: Optional[OrganizationThirdPartyClientAccessEnum](Literal["block", "allow"]) oncreate()/update()and all organization response types.ListOrganizationRoleMembersResponseContentandRoleMember(returned by the role-members endpoint above).UserGrant.organization_id: Optional[str](read-only), viaGET /grants.discovery_url/oidc_metadataextended tosamlpconnections (previously OIDC-only), via newConnectionsDiscoveryUrl/ConnectionsOidcMetadataonConnectionPropertiesOptionsandUpdateConnectionOptions.connection.created,connection.deleted,connection.updatedonEventStreamEventTypeEnum,EventStreamDeliveryEventTypeEnum,EventStreamSubscribeEventsEventTypeEnum,EventStreamTestEventTypeEnum; newEventStreamCloudEventConnection{Created,Deleted,Updated}*payload types; newEventStreamSubscribeEventsResponseContent.grants: Optional[List[TokenVaultPrivilegedAccessGrant]]on the privileged-access credential/public-key types.TokenVaultPrivilegedAccessGrant:{connection: str, scopes: List[str]}.NotFoundErrorBody/NotFoundErrorBodyError,TooManyRequestsErrorBody/TooManyRequestsErrorBodyError.specversion:str→EventStreamCloudEventSpecVersionEnum(Literal["1.0"]+Anyfallback) across group/org/user CloudEvent types.