feat: SDK regeneration - MFA Advanced Factor Configuration (GA), Anonymous Sessions, Experimentation API, and Search endpoint - #1404
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.72.5
Patches applied (6): - 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-5adf10d8: [BREAKING] feat!: remove Authentication layer (#1390) - 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 (7): - 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-42fd927d: chore(v7): remove dead exports and unreachable telemetry middleware (#1397) - patch-d4614ec0: Release v7.0.0 (#1402) Run `fern-replay resolve` to apply these customizations.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1404 +/- ##
==========================================
+ Coverage 89.67% 89.68% +0.01%
==========================================
Files 433 439 +6
Lines 20911 21080 +169
Branches 10245 9990 -255
==========================================
+ Hits 18751 18905 +154
- Misses 2160 2175 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Merged
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
Automated SDK regeneration adding support for MFA Advanced Factor Configuration (GA) with Guardian Settings and Email/Phone Factor Settings endpoints, Anonymous Sessions management API fields across clients/tenants/resource servers, a new Experimentation API resource, search endpoints for Organizations and Resource Servers, and a new GatewayTimeoutError (504) type.
Changes
MFA Advanced Factor Configuration (GA)
guardian.get()/guardian.set()-GET/PUT /api/v2/guardian/settingsdisplay_remember_me_checkbox,remember_me_default_value,mfa_session_inactivity_timeout,mfa_session_overall_timeoutGetGuardianSettingsResponseContent,SetGuardianSettingsResponseContent(types.ts),SetGuardianSettingsRequestContent(requests.ts)guardian.factors.email.get()/guardian.factors.email.set()-GET/PUT /api/v2/guardian/factors/email/settingsotp_length,otp_expiration_timeGetEmailFactorSettingsResponseContent,SetEmailFactorSettingsResponseContent(types.ts),SetEmailFactorSettingsRequestContent(requests.ts)guardian.factors.phone.get()/guardian.factors.phone.set()-GET/PUT /api/v2/guardian/factors/phone/settings- (Note: phone factor client was an existing resource,get()/set()settings methods were added to it)otp_length,otp_expiration_timeGetPhoneFactorSettingsResponseContent,SetPhoneFactorSettingsResponseContent(types.ts),SetPhoneFactorSettingsRequestContent(requests.ts)Anonymous Sessions (Management API fields)
anonymous_sessions.activetoClient,CreateClientRequestContent,UpdateClientRequestContentand all client response typesAnonymousSessions,CreateAnonymousSessions,UpdateAnonymousSessionssessions.anonymous.lifetime_in_minutesandsessions.anonymous.activate_cookieto tenant settingsTenantSettingsSessionsAnonymoussubject_type_authorization.anonymous_user.policy(deny_all|require_client_grant) andtoken_lifetime_for_anonymous_access_tokensto resource server typesResourceServerSubjectTypeAuthorizationAnonymousUser,ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnumExperimentation API (new resource)
client.experimentationresourceexperimentation.experiments.advanceRamp(id, request)-POST /api/v2/experimentation/experiments/{id}/advance-rampUpdateExperimentation: "update:experimentation"toOauthScopeAdvanceRampResponseContent(types.ts),AdvanceRampRequestContent(requests.ts)Search Endpoints
organizations.search(request)- GET /api/v2/organizations/searchSearchOrganizationsRequestParameters(requests.ts),SearchOrganization,SearchOrganizationsPaginatedResponseContent,OrganizationSortFieldEnum,SearchParserEnum(types.ts)resourceServers.search(request)-GET /api/v2/resource-servers/searchSearchResourceServersRequestParameters(requests.ts),ResourceServerSearchResponse,SearchResourceServersResponseContent,ResourceServerSortFieldEnum(types.ts)SearchParserEnumwithorganizations.search()Error Handling
GatewayTimeoutError (504)to error exports - now surfaced inorganizations.search()andresourceServers.search()client.organizationTemplatesremovedThe entire organizationTemplates resource has been deleted from the Management client:
client.organizationTemplates.list()client.organizationTemplates.create()client.organizationTemplates.get(id)client.organizationTemplates.update(id)client.organizationTemplates.listOrganizations(id)OauthScopevalues removed:CreateOrganizationTemplates: "create:organization_templates",UpdateOrganizationTemplates: "update:organization_templates"Removed types:
ListOrganizationTemplatesPaginatedResponseContent,OrganizationTemplateAssignedOrganization,ListTemplateOrganizationsPaginatedResponseContentEnum values renamed/removed in
ConnectionIdentityProviderEnumandConnectionStrategyEnumRenamed (key and string value both changed):
Removed:
Testing
GET/PUTcoverageGET/PUTcoverageGET/PUTcoverageChecklist