@clerk/types 4.93.0-canary.v20251010181655 → 4.93.0-canary.v20251010194042

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1461,6 +1461,10 @@ type EnterpriseSSOConfig = EnterpriseSSOFactor & {
1461
1461
  redirectUrl: string;
1462
1462
  actionCompleteRedirectUrl: string;
1463
1463
  oidcPrompt?: string;
1464
+ /**
1465
+ * @experimental
1466
+ */
1467
+ emailAddressId?: string;
1464
1468
  /**
1465
1469
  * @experimental
1466
1470
  */
@@ -1541,7 +1545,11 @@ type ReverificationConfig = SessionVerificationTypes | {
1541
1545
  */
1542
1546
  type SessionVerificationLevel = 'first_factor' | 'second_factor' | 'multi_factor';
1543
1547
  type SessionVerificationAfterMinutes = number;
1544
- type SessionVerificationFirstFactor = EmailCodeFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor;
1548
+ type SessionVerificationFirstFactor = EmailCodeFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor
1549
+ /**
1550
+ * @experimental
1551
+ */
1552
+ | EnterpriseSSOFactor;
1545
1553
  type SessionVerificationSecondFactor = PhoneCodeFactor | TOTPFactor | BackupCodeFactor;
1546
1554
 
1547
1555
  interface JWT {
@@ -2295,7 +2303,11 @@ type GetToken = (options?: GetTokenOptions) => Promise<string | null>;
2295
2303
  type SessionVerifyCreateParams = {
2296
2304
  level: SessionVerificationLevel;
2297
2305
  };
2298
- type SessionVerifyPrepareFirstFactorParams = EmailCodeConfig | PhoneCodeConfig | PassKeyConfig;
2306
+ type SessionVerifyPrepareFirstFactorParams = EmailCodeConfig | PhoneCodeConfig | PassKeyConfig
2307
+ /**
2308
+ * @experimental
2309
+ */
2310
+ | Omit<EnterpriseSSOConfig, 'actionCompleteRedirectUrl'>;
2299
2311
  type SessionVerifyAttemptFirstFactorParams = EmailCodeAttempt | PhoneCodeAttempt | PasswordAttempt | PasskeyAttempt;
2300
2312
  type SessionVerifyPrepareSecondFactorParams = PhoneCodeSecondFactorConfig;
2301
2313
  type SessionVerifyAttemptSecondFactorParams = PhoneCodeAttempt | TOTPAttempt | BackupCodeAttempt;
@@ -3681,6 +3693,7 @@ interface EnterpriseAccountJSON extends ClerkResourceJSON {
3681
3693
  provider_user_id: string | null;
3682
3694
  public_metadata: Record<string, unknown>;
3683
3695
  verification: VerificationJSON | null;
3696
+ last_authenticated_at: number | null;
3684
3697
  }
3685
3698
  interface EnterpriseAccountConnectionJSON extends ClerkResourceJSON {
3686
3699
  active: boolean;
@@ -3706,6 +3719,7 @@ interface SamlAccountJSON extends ClerkResourceJSON {
3706
3719
  last_name: string;
3707
3720
  verification?: VerificationJSON;
3708
3721
  saml_connection?: SamlAccountConnectionJSON;
3722
+ last_authenticated_at: number | null;
3709
3723
  }
3710
3724
  interface UserJSON extends ClerkResourceJSON {
3711
3725
  object: 'user';
package/dist/index.d.ts CHANGED
@@ -1461,6 +1461,10 @@ type EnterpriseSSOConfig = EnterpriseSSOFactor & {
1461
1461
  redirectUrl: string;
1462
1462
  actionCompleteRedirectUrl: string;
1463
1463
  oidcPrompt?: string;
1464
+ /**
1465
+ * @experimental
1466
+ */
1467
+ emailAddressId?: string;
1464
1468
  /**
1465
1469
  * @experimental
1466
1470
  */
@@ -1541,7 +1545,11 @@ type ReverificationConfig = SessionVerificationTypes | {
1541
1545
  */
1542
1546
  type SessionVerificationLevel = 'first_factor' | 'second_factor' | 'multi_factor';
1543
1547
  type SessionVerificationAfterMinutes = number;
1544
- type SessionVerificationFirstFactor = EmailCodeFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor;
1548
+ type SessionVerificationFirstFactor = EmailCodeFactor | PhoneCodeFactor | PasswordFactor | PasskeyFactor
1549
+ /**
1550
+ * @experimental
1551
+ */
1552
+ | EnterpriseSSOFactor;
1545
1553
  type SessionVerificationSecondFactor = PhoneCodeFactor | TOTPFactor | BackupCodeFactor;
1546
1554
 
1547
1555
  interface JWT {
@@ -2295,7 +2303,11 @@ type GetToken = (options?: GetTokenOptions) => Promise<string | null>;
2295
2303
  type SessionVerifyCreateParams = {
2296
2304
  level: SessionVerificationLevel;
2297
2305
  };
2298
- type SessionVerifyPrepareFirstFactorParams = EmailCodeConfig | PhoneCodeConfig | PassKeyConfig;
2306
+ type SessionVerifyPrepareFirstFactorParams = EmailCodeConfig | PhoneCodeConfig | PassKeyConfig
2307
+ /**
2308
+ * @experimental
2309
+ */
2310
+ | Omit<EnterpriseSSOConfig, 'actionCompleteRedirectUrl'>;
2299
2311
  type SessionVerifyAttemptFirstFactorParams = EmailCodeAttempt | PhoneCodeAttempt | PasswordAttempt | PasskeyAttempt;
2300
2312
  type SessionVerifyPrepareSecondFactorParams = PhoneCodeSecondFactorConfig;
2301
2313
  type SessionVerifyAttemptSecondFactorParams = PhoneCodeAttempt | TOTPAttempt | BackupCodeAttempt;
@@ -3681,6 +3693,7 @@ interface EnterpriseAccountJSON extends ClerkResourceJSON {
3681
3693
  provider_user_id: string | null;
3682
3694
  public_metadata: Record<string, unknown>;
3683
3695
  verification: VerificationJSON | null;
3696
+ last_authenticated_at: number | null;
3684
3697
  }
3685
3698
  interface EnterpriseAccountConnectionJSON extends ClerkResourceJSON {
3686
3699
  active: boolean;
@@ -3706,6 +3719,7 @@ interface SamlAccountJSON extends ClerkResourceJSON {
3706
3719
  last_name: string;
3707
3720
  verification?: VerificationJSON;
3708
3721
  saml_connection?: SamlAccountConnectionJSON;
3722
+ last_authenticated_at: number | null;
3709
3723
  }
3710
3724
  interface UserJSON extends ClerkResourceJSON {
3711
3725
  object: 'user';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.93.0-canary.v20251010181655",
3
+ "version": "4.93.0-canary.v20251010194042",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",