feat: Agents client, Organization Clients & Role Groups, Directory Provisioning sync groups, Guardian factor settings & paginated Event Stream Deliveries - #909
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.11.1
tanya732
approved these changes
Aug 5, 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
It adds support for the following initiatives:
include_totalsvalue on list endpointsAgents (New)
Introduces a new top-level
agents()client (sync, async, and raw-response variants) with full CRUD support.agents().list(...)agents().create(CreateAgentRequestContent)agents().read(id)agents().update(id, PatchAgentRequestParameters)agents().delete(id)New scopes
create:agentsread:agentsupdate:agentsdelete:agentsNew models
AgentResponseContentCreateAgentRequestContentPatchAgentRequestParametersListAgentsRequestParametersListAgentsResponseContentOrganization-to-Application Entitlement
New
organizations().clients()sub-clientSupports organization-to-application associations
list(orgId, ...)create(orgId, CreateOrganizationClientsRequestContent)get(orgId, clientId)update(orgId, clientId, UpdateOrganizationClientRequestContent)delete(orgId, DeleteOrganizationClientsRequestContent)New scopes
create:organization_clientsread:organization_clientsupdate:organization_clientsdelete:organization_clientsNew models
OrganizationClientOrganizationClientAssociationOrganizationClientMetadataOrganizationClientMetadataOrganizationUsageEnumCreateOrganizationClientRequestItemCreateOrganizationClientsRequestContentDeleteOrganizationClientsRequestContentUpdateOrganizationClientRequestContentGetOrganizationClientResponseContentUpdateOrganizationClientResponseContentListOrganizationClientsRequestParametersListOrganizationClientsResponseContentOrganization entitlement fields
Added
is_app_entitlement_active(Boolean) to:OrganizationCreateOrganizationRequestContentUpdateOrganizationRequestContentListOrganizationsRequestParametersnow supports:include_client_association_forGoogle Workspace Inbound Groups Directory Provisioning
Synchronized group selection management
Added new operations to
connections().directoryProvisioning():addSynchronizedGroupSelections(id, AddSynchronizedGroupsRequestContent)deleteSynchronizedGroupSelections(id, DeleteSynchronizedGroupsRequestContent)New models
AddSynchronizedGroupsRequestContentDeleteSynchronizedGroupsRequestContentSynchronizedGroupSelectionIdUpdated:
SynchronizedGroupPayloadListSynchronizedGroupsRequestParametersSelf-Service Profiles
SelfServiceProfileSsoTicketGoogleWorkspaceConfignow exposes an optionalsync_groups(Boolean) property alongsidesync_users, enabling delegated Google directory group provisioning during self-service flows.Organization-Level Roles
Role type & ownership
Added the following fields to:
RoleCreateRoleRequestContentNew fields:
type(RoleTypeEnum) —tenantororganization(defaults totenant)owner_id(String) — Organization ID for organization-level rolesListRolesRequestParametersnow supports:typeownerIdOrganization Role Groups
Added a new
organizations().roles().groups()sub-client.New operation
list(organizationId, roleId, ...)— Retrieve all groups assigned to a role in the context of an organization.Organization Role Members
Added a new
organizations().roles(). members()sub-client.New operation
list(organizationId, roleId, ...)— Retrieve all organization members that are assigned to a role in the context of an organization.New models
RoleGroupListOrganizationRoleGroupsRequestParametersListOrganizationRoleGroupsResponseContentGuardian
GuardianFactornow exposes an optionalsettingsobject (GuardianFactorSettings) containing:otp_lengthotp_expiration_timeAPI Fixes / Behavioral Changes
include_totalsnow defaults totrueNumerous list endpoints that previously omitted
include_totalsnow sendinclude_totals=trueby default, including:Additionally, the parameter type changed from:
Optional<Boolean>→OptionalNullable<Boolean>Event Stream Deliveries - Checkpoint Pagination (Breaking)
deliveries().list(...)now returns:SyncPagingIterable<EventStreamDelivery>instead of:
List<EventStreamDelivery>This aligns the SDK with the checkpoint-paginated API response containing a next cursor
Miscellaneous
country_codestoAculContextEnum.NotFoundSchema/NotFoundSchemaErrorConflictSchema/ConflictSchemaErrorTesting
Automated
AgentsWireTestOrganizationsClientsWireTestOrganizationsRolesGroupsWireTestConnectionsDirectoryProvisioningWireTestGuardianFactorsWireTestEventStreamsDeliveriesWireTestRolesWireTestOrganizationsWireTestManual
Validated:
typeandowner_id