Skip to content

feat: add phone provider protection, token vault access, and cross-app connection support - #1359

Merged
ankita10119 merged 1 commit into
masterfrom
fern-bot/2026-06-23T04-56-19Z
Jun 24, 2026
Merged

feat: add phone provider protection, token vault access, and cross-app connection support #1359
ankita10119 merged 1 commit into
masterfrom
fern-bot/2026-06-23T04-56-19Z

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This PR regenerates code to match the latest API Definition.

Summary

This PR regenerates the SDK from the latest Auth0 Management API definition (Fern codegen, June 23, 2026). It introduces new resources, expands existing client models, fixes error handling, and corrects type definitions.

New Resources

  • attackProtection.phoneProviderProtection - New sub-resource with get and patch operations for managing the tenant-level phone provider protection configuration.

New Types

  • GetPhoneProviderProtectionResponseContent / PatchPhoneProviderProtectionResponseContent / PhoneProviderProtectionBackoffStrategyEnum
  • ClientTokenVaultPrivilegedAccessWithCredentialId / ClientTokenVaultPrivilegedAccessWithPublicKey / TokenVaultPrivilegedAccessIpAllowlistEntry - Settings for Token Vault Privileged Access on clients
  • CrossAppAccessRequestingApp - Marks a connection as a Requesting Application for Cross App Access
  • NativeSocialLoginPatch / NativeSocialLoginApplePatch / NativeSocialLoginFacebookPatch / NativeSocialLoginGooglePatch - Patch variants for native social login config
  • FedCmLoginPatch / FedCmLoginGooglePatch — Patch variant for FedCM login config

Client Updates

Resource: clients
Change: Added token_vault_privileged_access field to create/update/response types; native_social_login and fedcm_login in UpdateClientRequestContent now use Patch types and accept null; added NotFoundError (404) handling
────────────────────────────────────────
Resource: connections
Change: Added cross_app_access_requesting_app to create, update, list, and response types (OIDC, Okta, base)
────────────────────────────────────────
Resource: emailTemplates
Change: Added auth_email_by_code as a supported template name in all relevant JSDoc
────────────────────────────────────────
Resource: keys/signing
Change: Added NotFoundError (404) handling
────────────────────────────────────────
Resource: users/connectedAccounts
Change: Added NotFoundError (404) handling

Bug Fixes / Type Corrections

  • CreateUserResponseContent: created_at, updated_at, multifactor_last_modified, last_login, last_password_reset corrected from UserDateSchema to string

Tests

  • Added wire tests for attackProtection/phoneProviderProtection, clients/connections, keys/signing, and users/connectedAccounts
  • Updated reference.md with new endpoint and type documentation

@fern-api
fern-api Bot requested a review from a team as a code owner June 23, 2026 04:56
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.24390% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.62%. Comparing base (824070e) to head (966c3f9).

Files with missing lines Patch % Lines
...resources/phoneProviderProtection/client/Client.ts 88.57% 8 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1359   +/-   ##
=======================================
  Coverage   89.62%   89.62%           
=======================================
  Files         426      428    +2     
  Lines       19804    19886   +82     
  Branches     9716     9757   +41     
=======================================
+ Hits        17749    17823   +74     
- Misses       2055     2063    +8     
Flag Coverage Δ
alltests 89.62% <90.24%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
...nt/api/resources/attackProtection/client/Client.ts 100.00% <100.00%> (ø)
.../api/resources/attackProtection/resources/index.ts 100.00% <100.00%> (ø)
...tection/resources/phoneProviderProtection/index.ts 100.00% <100.00%> (ø)
.../management/api/resources/clients/client/Client.ts 88.77% <100.00%> (+0.07%) ⬆️
...ment/api/resources/emailTemplates/client/Client.ts 88.19% <ø> (ø)
.../resources/keys/resources/signing/client/Client.ts 88.05% <100.00%> (+0.18%) ⬆️
...users/resources/connectedAccounts/client/Client.ts 92.59% <100.00%> (+0.28%) ⬆️
src/management/api/types/types.ts 100.00% <100.00%> (ø)
...resources/phoneProviderProtection/client/Client.ts 88.57% <88.57%> (ø)
🚀 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 enabled auto-merge (squash) June 24, 2026 07:30
@ankita10119
ankita10119 disabled auto-merge June 24, 2026 07:30
@ankita10119 ankita10119 changed the title 🌿 Fern Regeneration -- June 23, 2026 feat: add phone provider protection, token vault access, and cross-app connection support Jun 24, 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

@ankita10119
ankita10119 merged commit f303d5c into master Jun 24, 2026
10 checks passed
@ankita10119
ankita10119 deleted the fern-bot/2026-06-23T04-56-19Z branch June 24, 2026 07:45
@ankita10119 ankita10119 mentioned this pull request Jun 24, 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