Skip to content

feat: add org-level roles, Google Workspace groups GA, org-to-app entitlement, and agents support - #1385

Merged
ankita10119 merged 2 commits into
masterfrom
fern-bot/2026-08-04_06-36-00_455
Aug 5, 2026
Merged

feat: add org-level roles, Google Workspace groups GA, org-to-app entitlement, and agents support #1385
ankita10119 merged 2 commits into
masterfrom
fern-bot/2026-08-04_06-36-00_455

Conversation

@fern-api

@fern-apifern-apiBot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Automated SDK regeneration adding support for Organization-Level Roles, Google Workspace Groups Directory Sync (GA), Org-to-Application Entitlement, and a new Agents management resource.

Changes

Organization-Level Roles (EA)

  • Add type ("tenant" | "organization") and owner_id to Role types across GET/POST/PATCH /api/v2/roles and GET /api/v2/roles/{id}
  • Add type, owner_id filter params and checkpoint pagination (from,take) to GET /api/v2/roles
  • Add GET /organizations/{id}/roles/{role_id}/members - list members assigned to a role in an organization context
  • Add GET /organizations/{id}/roles/{role_id}/groups - list groups assigned to a role in an organization context

Google Workspace Groups (GA)

  • Add POST /connections/{id}/directory-provisioning/synchronized-groups- incrementally add groups to the sync selection set
  • Add DELETE /connections/{id}/directory-provisioning/synchronized-groups - incrementally remove groups from the sync selection set
  • Add q Lucene search param to GET /connections/{id}/directory-provisioning/synchronized-groups
  • Extend SynchronizedGroup object with name, email,direct_members_count fields
  • Add sync_groups?: boolean to SelfServiceProfileSsoTicketGoogleWorkspaceConfig for self-service
    provisioning flows

Org-to-Application Entitlement (EA)

  • Add is_app_entitlement_active: boolean to Organization types across GET/POST/PATCH /api/v2/organizations
  • Add include_client_association_for query param to GET /api/v2/organizations
  • Add new /api/v2/organizations/{id}/clients resource: list, create (batch), get, patch, delete (batch)

Agents Management

  • Add new Agents resource: list, create, get, delete
    (GET/POST /api/v2/agents, GET/DELETE /api/v2/agents/{id})

Breaking Changes

Event Stream Deliveries

  • Fix eventStreams.deliveries.list() to correctly support cursor-based
    pagination — return type changed from HttpResponsePromise<EventStreamDelivery[]>
    to Page<EventStreamDelivery, ListEventStreamDeliveriesResponseContent>
  • Callers iterating directly over the result must update to the paginated API:
// Beforeconstdeliveries=awaitclient.eventStreams.deliveries.list();// Afterconstpage=awaitclient.eventStreams.deliveries.list();constdeliveries=page.data;// Or iterate through all pagesforawait(constdeliveryofpage){console.log(delivery);}

Testing

  • Wire tests added for agents, organizations/clients, organizations/roles/groups, and updated directory provisioning endpoints
  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

fern-apiBot added 2 commits August 4, 2026 06:36
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-typescript-sdk: 3.72.5
Patches applied (3):
- patch-066ff9e0: docs: add v6 migration guide for breaking changes in v6.0.0 (#1368)
- patch-d8faf7a2: docs: update v6 migration guide with federatedConnectionsTokensets and federated_connections_access_tokens breaking changes (#1370)
- patch-0f7baa6f: fix: auto-stamp SDK_VERSION from package.json during build (#1382)
Patches with unresolved conflicts (2):
- patch-490e5634: feat(management): add sub-package exports and management auth helper (#1373)
- patch-74170bb0: Release v6.1.0 (#1381)
Run `fern-replay resolve` to apply these customizations.
@fern-api
fern-apiBot requested a review from a team as a code ownerAugust 4, 2026 06:36
@codecov

codecovBot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.05146% with 58 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.72%. Comparing base (0f7baa6) to head (8b76a4a).

Files with missing linesPatch %Lines
...c/management/api/resources/agents/client/Client.ts88.52%21 Missing ⚠️
...s/organizations/resources/clients/client/Client.ts89.06%21 Missing ⚠️
...s/resources/directoryProvisioning/client/Client.ts88.05%8 Missing ⚠️
...eventStreams/resources/deliveries/client/Client.ts90.47%4 Missing ⚠️
.../resources/roles/resources/groups/client/Client.ts92.59%4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@ Coverage Diff @@## master #1385 +/- ##
========================================
Coverage 89.71% 89.72% ========================================
Files 433 439 +6 Lines 20134 20668 +534 Branches 9457 9742 +285 ========================================
+ Hits 18063 18544 +481 - Misses 2071 2124 +53 
FlagCoverage Δ
alltests89.72% <90.05%> (+<0.01%)⬆️

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

Files with missing linesCoverage Δ
src/management/Client.ts97.27% <100.00%> (+0.05%)⬆️
src/management/api/resources/agents/index.ts100.00% <100.00%> (ø)
...gement/api/resources/clientGrants/client/Client.ts88.94% <100.00%> (+0.05%)⬆️
...entGrants/resources/organizations/client/Client.ts92.59% <100.00%> (ø)
...agement/api/resources/connections/client/Client.ts89.11% <100.00%> (+0.08%)⬆️
...ources/flows/resources/executions/client/Client.ts89.25% <100.00%> (ø)
...c/management/api/resources/groups/client/Client.ts90.24% <100.00%> (+0.07%)⬆️
src/management/api/resources/index.ts100.00% <100.00%> (ø)
...ement/api/resources/organizations/client/Client.ts89.87% <100.00%> (+0.20%)⬆️
...resources/organizations/resources/clients/index.ts100.00% <100.00%> (ø)
... and 21 more
🚀 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 SDK regeneration feat: add org-level roles, Google Workspace groups GA, org-to-app entitlement, and agents support Aug 4, 2026
@ankita10119
ankita10119 merged commit 967f69f into masterAug 5, 2026
11 checks passed
@ankita10119
ankita10119 deleted the fern-bot/2026-08-04_06-36-00_455 branch August 5, 2026 12:17
@ankita10119ankita10119 mentioned this pull request Aug 5, 2026
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.

2 participants

@tusharpandey13@ankita10119