Skip to content

feat: consent non-repudiation, Experiment Center EA, OIDC client support; remove Organization Templates - #1413

Merged
developerkunal merged 2 commits into
masterfrom
fern-bot/2026-09-29_06-03-10_428
Sep 30, 2026
Merged

developerkunal merged 2 commits into
masterfrom
fern-bot/2026-09-29_06-03-10_428

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Automated SDK regeneration adding Consent Non-Repudiation for Resource Servers, a major expansion of the Experimentation API (Feature Flags, Variations, and Segments resources plus full CRUD/lifecycle operations on Experiments), OIDC support configuration on client creation, SHA-384 certificate thumbprints for enterprise connections, and a new my-account async-approval notification channel.
This regeneration also removes the Organization Templates resource.

Changes

Resource Servers — Consent Non-Repudiation (EA)

  • Add require_consent_non_repudiation (boolean) to POST /api/v2/resource-servers and PATCH /api/v2/resource-servers/{id} request bodies, and to all resource-server response models
  • Affected types: CreateResourceServerRequestContent, UpdateResourceServerRequestContent (requests.ts); CreateResourceServerResponseContent, GetResourceServerResponseContent, UpdateResourceServerResponseContent, ResourceServer, ResourceServerSearchResponse (types.ts)

Experimentation API (expanded resource)

  • Add experimentation.experiments operations — list(), create(), get(id),update(id), delete(id), updateStatus(id), validate(id)
    • GET/POST /api/v2/experimentation/experiments
    • GET/PATCH/DELETE /api/v2/experimentation/experiments/{id}
    • POST /api/v2/experimentation/experiments/{id}/status
    • POST /api/v2/experimentation/experiments/{id}/validate
    • (Note: experiments.advanceRamp() and its types already existed)
    • New types: CreateExperimentResponseContent, GetExperimentResponseContent,
      UpdateExperimentResponseContent, UpdateExperimentStatusResponseContent,
      ValidateExperimentResponseContent, ListExperimentsResponseContent,ExperimentListItem, ExperimentValidationError, AllocationItem, AllocationRequestItem (types.ts); ListExperimentsRequestParameters,CreateExperimentRequestContent, UpdateExperimentRequestParameters,
      UpdateExperimentStatusRequestContent (requests.ts)
    • New enums: AllocationStrategyEnum, AuthenticationFlowEnum, DefaultConfigEnum,
      ExperimentStatusEnum, ExperimentTransitionStatusEnum
  • Add experimentation.featureFlags resource — list(), create(), get(id),
    update(id), delete(id), updateStatus(id)
    • GET/POST /api/v2/experimentation/feature-flags
    • GET/PATCH/DELETE /api/v2/experimentation/feature-flags/{id}
    • POST /api/v2/experimentation/feature-flags/{id}/status
    • New types: FeatureFlag, FeatureFlagConfigParam, Create/Get/Update/UpdateStatus FeatureFlagResponseContent, ListFeatureFlagsResponseContent,
      FeatureFlagConfigParams, Create/UpdateFeatureFlagParameters (types.ts);
      List/Create/Update/UpdateStatus FeatureFlag*RequestContent/Parameters (requests.ts)
    • New enums: FeatureFlagTypeEnum, FeatureFlagStatusEnum, FeatureFlagConfigParamTypeEnum
  • Add experimentation.featureFlags.variations resource — list(), create(),
    get(vid), update(vid), delete(vid)
    • GET/POST /api/v2/experimentation/feature-flags/{id}/variations
    • GET/PATCH/DELETE /api/v2/experimentation/feature-flags/{id}/variations/{vid}
    • New types: Variation, Create/Get/Update VariationResponseContent,
      ListVariationsResponseContent, VariationOverridesMap, UpdateVariationOverridesMap(types.ts); Create/UpdateVariationRequestContent (requests.ts)
  • Add experimentation.segments resource — list(), create(), get(id),
    update(id), delete(id)
    • GET/POST /api/v2/experimentation/segments
    • GET/PATCH/DELETE /api/v2/experimentation/segments/{id}
    • New types: Segment, SegmentRule, SegmentMatchConditions,
      SegmentNotMatchConditions, SegmentMatchExpression, Segment{Contains,StartsWith, EndsWith,Exists}Expression, Create/Get/Update SegmentResponseContent,
      ListSegmentsResponseContent (types.ts); List/Create/UpdateSegment* (requests.ts)
    • New enums: SegmentTypeEnum, SegmentTypeFilterEnum
  • Add OauthScope values: create:experimentation, read:experimentation,
    delete:experimentation (update:experimentation already existed)

Clients — OIDC support

  • Add oidc_support to CreateClientRequestContent
    • New types: ClientOidcSupportPost (is_allowed, allow_all_scopes, allowed_scopes),
      ClientOidcSupportAllowedScopesEnum (profile | email | address | phone)
  • Add profile-changed value to ClientOidcBackchannelLogoutInitiatorsEnum
  • Add my-account value to AsyncApprovalNotificationsChannelsEnum

Connections — SHA-384 thumbprints

  • Add thumbprints_sha384 to AD, ADFS, Azure AD, SAML, generic, and update connection
    options (ConnectionOptionsAd, ConnectionOptionsAdfs, ConnectionOptionsAzureAd,
    ConnectionOptionsCommonSaml, ConnectionPropertiesOptions, UpdateConnectionOptions)
  • New types: ConnectionThumbprintsSha384, ConnectionThumbprintsSha384Ad,
    ConnectionThumbprintsSha384Saml
  • ConnectionThumbprints doc narrowed to SHA-128 hashes only
  • Also add plain thumbprints to ConnectionPropertiesOptions and UpdateConnectionOptions

⚠️ Breaking Changes

  1. organizations.organizationTemplate removed

    The Organization Templates sub-resource has been deleted from the Organizations client:

    • client.organizations.organizationTemplate.get(id) — GET /api/v2/organizations/{id}/organization-templates
    • client.organizations.organizationTemplate.assignOrganizationTemplate(id, templateId) — PUT /api/v2/organizations/{id}/organization-templates/{template_id}
    • client.organizations.organizationTemplate.unassignOrganizationTemplate(id, templateId) — DELETE /api/v2/organizations/{id}/organization-templates/{template_id}
    • OauthScope value removed: read:organization_templates
    • ./organizations/organizationTemplate sub-package export removed from package.json

    Removed types: OrganizationTemplate, OrganizationTemplateAllowedStrategyEnum,
    OrganizationTemplateRoleVisibilityEnum, OrganizationTemplateRoleVisibilityOverride,
    OrganizationTemplateRoleVisibilityPolicy, OrganizationTemplateUseForOrganizationDiscovery,
    OrganizationDeletionBehaviorEnum, ConnectionDeletionBehaviorEnum

Testing

  • Wire tests added for experimentation/experiments — list/create/get/update/delete/status/validate coverage
  • Wire tests added for experimentation/featureFlags — CRUD + status coverage
  • Wire tests added for experimentation/featureFlags/variations — CRUD coverage
  • Wire tests added for experimentation/segments — CRUD coverage
  • Wire tests updated for resourceServers — require_consent_non_repudiation field coverage
  • Wire tests for organizationTemplate deleted (resource removed)

Checklist

fern-api Bot added 2 commits September 29, 2026 06:03
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-typescript-sdk: 3.72.5
Patches applied (5):
  - 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)
  - patch-b942f5d6: docs: add Authentication API migration guide (auth0-auth-js / auth0-server-js) (#1395)
  - patch-842d2f51: docs: add v7 migration guide (v6 → v7) (#1396)

Patches with unresolved conflicts (8):
  - patch-490e5634: feat(management): add sub-package exports and management auth helper (#1373)
  - patch-74170bb0: Release v6.1.0 (#1381)
  - patch-4fcb39a4: Release v6.2.0 (#1389)
  - patch-f9d64134: Release v6.3.0 (#1393)
  - patch-4d450aa4: Release v6.4.0 (#1401)
  - patch-d4614ec0: Release v7.0.0 (#1402)
  - patch-e1e90b89: Release v7.1.0 (#1405)
  - patch-567042f4: Release v7.2.0 (#1409)
    Run `fern-replay resolve` to apply these customizations.
@fern-api
fern-api Bot requested a review from a team as a code owner September 29, 2026 06:03
@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.86311% with 96 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.39%. Comparing base (23d31ac) to head (c26637b).

Files with missing lines Patch % Lines
...rimentation/resources/experiments/client/Client.ts 88.35% 29 Missing ⚠️
...imentation/resources/featureFlags/client/Client.ts 88.68% 25 Missing ⚠️
...featureFlags/resources/variations/client/Client.ts 88.39% 21 Missing ⚠️
...xperimentation/resources/segments/client/Client.ts 88.82% 21 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1413      +/-   ##
==========================================
- Coverage   89.41%   89.39%   -0.03%     
==========================================
  Files         439      444       +5     
  Lines       21082    21833     +751     
  Branches    10327    10414      +87     
==========================================
+ Hits        18851    19518     +667     
- Misses       2231     2315      +84     
Flag Coverage Δ
alltests 89.39% <88.86%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
...ent/api/resources/experimentation/client/Client.ts 100.00% <100.00%> (ø)
...es/experimentation/resources/featureFlags/index.ts 100.00% <100.00%> (ø)
...entation/resources/featureFlags/resources/index.ts 100.00% <100.00%> (ø)
...sources/featureFlags/resources/variations/index.ts 100.00% <ø> (ø)
...t/api/resources/experimentation/resources/index.ts 100.00% <100.00%> (ø)
...ources/experimentation/resources/segments/index.ts 100.00% <100.00%> (ø)
...ement/api/resources/organizations/client/Client.ts 90.06% <ø> (-0.11%) ⬇️
...ent/api/resources/organizations/resources/index.ts 100.00% <ø> (ø)
...rc/management/api/resources/users/client/Client.ts 89.94% <ø> (ø)
src/management/api/types/types.ts 100.00% <100.00%> (ø)
... and 4 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.

@ankita10119 ankita10119 changed the title SDK regeneration feat: consent non-repudiation, Experiment Center EA, OIDC client support; remove Organization Templates Sep 30, 2026

@developerkunal developerkunal 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

@developerkunal
developerkunal merged commit 4494240 into master Sep 30, 2026
11 checks passed
@developerkunal
developerkunal deleted the fern-bot/2026-09-29_06-03-10_428 branch September 30, 2026 12:49
@ankita10119 ankita10119 mentioned this pull request Sep 30, 2026
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.

2 participants