feat: add Organization Role Members, thirdPartyClientAccess, optional fields and contains breaking changes#893
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.6.3
tanya732
approved these changes
Jul 13, 2026
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.
Summary
Adds the Organization Role Members API and a full Connection event-stream family, plus several new optional fields. Includes three breaking changes that require a major version bump.
New Features
client.organizations().roles().members().list(orgId, roleId)returningSyncPagingIterable<RoleMember>(+ async, raw, andRequestOptionsoverloads).New types:
RoleMember,ListOrganizationRoleMembersRequestParameters,ListOrganizationRoleMembersResponseContent.TokenVaultPrivilegedAccessGrant,ConnectionsOidcMetadata,OrganizationThirdPartyClientAccessEnum.Minor / Backward-compatible Changes
thirdPartyClientAccessonOrganizationand theCreate/Update/Get Organization request & response types.
identifieronEmailAttribute,PhoneAttribute,UsernameAttribute.organizationIdonUserGrant.discoveryUrlandoidcMetadataonUpdateConnectionOptionsandConnectionPropertiesOptions.PartialGroupsEnum: addedCONFIRMATION.Role pagination fields are now non-optional primitives. In
ListRolesOffsetPaginatedResponseContent,start,limit, andtotalchange fromOptional<Double>to primitivedouble, and arenow required builder stages.
Connection attribute identifier is split by attribute type. The shared ConnectionAttributeIdentifier type is removed and replaced with dedicated EmailAttributeIdentifier, PhoneAttributeIdentifier,
and UsernameAttributeIdentifier types. The identifier field on EmailAttribute, PhoneAttribute, and UsernameAttribute changes type accordingly, and their getIdentifier() / builder identifier(...) signatures change.
Phone provider protection backoff strategy enum value changed. PhoneProviderProtectionBackoffStrategyEnum.NONE ("none", visitNone()) is removed and replaced by
PhoneProviderProtectionBackoffStrategyEnum.DEFAULT ("default", visitDefault()).
Test Plan
mvn verifypassesOrganizationsRolesMembersWireTestpasses