@effect-auth/core 0.1.0-alpha.16 → 0.1.0-alpha.19
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/LICENSE +21 -0
- package/README.md +307 -133
- package/dist/AbuseProtection.d.ts +100 -0
- package/dist/AbuseProtection.d.ts.map +1 -0
- package/dist/AbuseProtection.js +71 -0
- package/dist/AbuseProtection.js.map +1 -0
- package/dist/AccessGrant.d.ts +344 -0
- package/dist/AccessGrant.d.ts.map +1 -0
- package/dist/AccessGrant.js +687 -0
- package/dist/AccessGrant.js.map +1 -0
- package/dist/ApiKey.d.ts +0 -12
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +36 -27
- package/dist/ApiKey.js.map +1 -1
- package/dist/Assurance.d.ts +415 -0
- package/dist/Assurance.d.ts.map +1 -0
- package/dist/Assurance.js +764 -0
- package/dist/Assurance.js.map +1 -0
- package/dist/AtomicPlanExecutor.d.ts +28 -0
- package/dist/AtomicPlanExecutor.d.ts.map +1 -0
- package/dist/AtomicPlanExecutor.js +5 -0
- package/dist/AtomicPlanExecutor.js.map +1 -0
- package/dist/AuditLog.d.ts +2314 -52
- package/dist/AuditLog.d.ts.map +1 -1
- package/dist/AuditLog.js +511 -33
- package/dist/AuditLog.js.map +1 -1
- package/dist/AuthFlow.d.ts +128 -38
- package/dist/AuthFlow.d.ts.map +1 -1
- package/dist/AuthFlow.js +611 -263
- package/dist/AuthFlow.js.map +1 -1
- package/dist/AuthRateLimit.d.ts +96 -0
- package/dist/AuthRateLimit.d.ts.map +1 -0
- package/dist/AuthRateLimit.js +212 -0
- package/dist/AuthRateLimit.js.map +1 -0
- package/dist/Challenge.d.ts +0 -3
- package/dist/Challenge.d.ts.map +1 -1
- package/dist/Challenge.js +1 -4
- package/dist/Challenge.js.map +1 -1
- package/dist/Client.d.ts +205 -10
- package/dist/Client.d.ts.map +1 -1
- package/dist/Client.js +397 -16
- package/dist/Client.js.map +1 -1
- package/dist/CloudflareTurnstile.d.ts +28 -0
- package/dist/CloudflareTurnstile.d.ts.map +1 -0
- package/dist/CloudflareTurnstile.js +205 -0
- package/dist/CloudflareTurnstile.js.map +1 -0
- package/dist/Crypto.d.ts +0 -3
- package/dist/Crypto.d.ts.map +1 -1
- package/dist/Crypto.js +1 -4
- package/dist/Crypto.js.map +1 -1
- package/dist/DelegatedAccessStorageMigrations.d.ts +7 -0
- package/dist/DelegatedAccessStorageMigrations.d.ts.map +1 -0
- package/dist/DelegatedAccessStorageMigrations.js +159 -0
- package/dist/DelegatedAccessStorageMigrations.js.map +1 -0
- package/dist/DevEmail.d.ts +44 -0
- package/dist/DevEmail.d.ts.map +1 -0
- package/dist/DevEmail.js +115 -0
- package/dist/DevEmail.js.map +1 -0
- package/dist/DevelopmentSeed.d.ts +47 -0
- package/dist/DevelopmentSeed.d.ts.map +1 -0
- package/dist/DevelopmentSeed.js +337 -0
- package/dist/DevelopmentSeed.js.map +1 -0
- package/dist/DisposableEmailDomains.d.ts +19 -0
- package/dist/DisposableEmailDomains.d.ts.map +1 -0
- package/dist/DisposableEmailDomains.js +85 -0
- package/dist/DisposableEmailDomains.js.map +1 -0
- package/dist/DomainVerification.d.ts +0 -9
- package/dist/DomainVerification.d.ts.map +1 -1
- package/dist/DomainVerification.js +36 -22
- package/dist/DomainVerification.js.map +1 -1
- package/dist/DrizzleBunSqliteStorage.d.ts +18 -0
- package/dist/DrizzleBunSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleBunSqliteStorage.js +11 -0
- package/dist/DrizzleBunSqliteStorage.js.map +1 -0
- package/dist/DrizzleD1SqliteStorage.d.ts +4 -4
- package/dist/DrizzleD1SqliteStorage.d.ts.map +1 -1
- package/dist/DrizzleD1SqliteStorage.js +5 -5
- package/dist/DrizzleD1SqliteStorage.js.map +1 -1
- package/dist/DrizzleEffectSqliteStorage.d.ts +13 -4
- package/dist/DrizzleEffectSqliteStorage.d.ts.map +1 -1
- package/dist/DrizzleEffectSqliteStorage.js +71 -4
- package/dist/DrizzleEffectSqliteStorage.js.map +1 -1
- package/dist/DrizzleNodeSqliteStorage.d.ts +18 -0
- package/dist/DrizzleNodeSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleNodeSqliteStorage.js +11 -0
- package/dist/DrizzleNodeSqliteStorage.js.map +1 -0
- package/dist/DrizzlePostgresStorage.d.ts +26 -0
- package/dist/DrizzlePostgresStorage.d.ts.map +1 -0
- package/dist/DrizzlePostgresStorage.js +14 -0
- package/dist/DrizzlePostgresStorage.js.map +1 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.d.ts +34 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.d.ts.map +1 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.js +499 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.js.map +1 -0
- package/dist/EffectQbPostgresStorage.d.ts +178 -0
- package/dist/EffectQbPostgresStorage.d.ts.map +1 -0
- package/dist/EffectQbPostgresStorage.js +4637 -0
- package/dist/EffectQbPostgresStorage.js.map +1 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.d.ts +112 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.d.ts.map +1 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.js +602 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.js.map +1 -0
- package/dist/EffectQbSqliteStorage.d.ts +221 -23
- package/dist/EffectQbSqliteStorage.d.ts.map +1 -1
- package/dist/EffectQbSqliteStorage.js +2064 -135
- package/dist/EffectQbSqliteStorage.js.map +1 -1
- package/dist/EmailAuth.d.ts +65 -0
- package/dist/EmailAuth.d.ts.map +1 -0
- package/dist/EmailAuth.js +171 -0
- package/dist/EmailAuth.js.map +1 -0
- package/dist/EmailIdentityAuth.d.ts +30 -0
- package/dist/EmailIdentityAuth.d.ts.map +1 -0
- package/dist/EmailIdentityAuth.js +142 -0
- package/dist/EmailIdentityAuth.js.map +1 -0
- package/dist/EmailOtp.d.ts +10 -11
- package/dist/EmailOtp.d.ts.map +1 -1
- package/dist/EmailOtp.js +44 -81
- package/dist/EmailOtp.js.map +1 -1
- package/dist/EmailRisk.d.ts +48 -0
- package/dist/EmailRisk.d.ts.map +1 -0
- package/dist/EmailRisk.js +33 -0
- package/dist/EmailRisk.js.map +1 -0
- package/dist/EmailVerification.d.ts +10 -16
- package/dist/EmailVerification.d.ts.map +1 -1
- package/dist/EmailVerification.js +85 -42
- package/dist/EmailVerification.js.map +1 -1
- package/dist/Guard.d.ts +11 -0
- package/dist/Guard.d.ts.map +1 -0
- package/dist/Guard.js +11 -0
- package/dist/Guard.js.map +1 -0
- package/dist/HibpPwnedPasswords.d.ts +56 -0
- package/dist/HibpPwnedPasswords.d.ts.map +1 -0
- package/dist/HibpPwnedPasswords.js +232 -0
- package/dist/HibpPwnedPasswords.js.map +1 -0
- package/dist/HttpApi/AdminPermissionDefinition.d.ts +4 -0
- package/dist/HttpApi/AdminPermissionDefinition.d.ts.map +1 -0
- package/dist/HttpApi/AdminPermissionDefinition.js +4 -0
- package/dist/HttpApi/AdminPermissionDefinition.js.map +1 -0
- package/dist/HttpApi/AdminSecurityTimeline.d.ts +4 -0
- package/dist/HttpApi/AdminSecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/AdminSecurityTimeline.js +4 -0
- package/dist/HttpApi/AdminSecurityTimeline.js.map +1 -0
- package/dist/HttpApi/AdminSession.d.ts +4 -0
- package/dist/HttpApi/AdminSession.d.ts.map +1 -0
- package/dist/HttpApi/AdminSession.js +4 -0
- package/dist/HttpApi/AdminSession.js.map +1 -0
- package/dist/HttpApi/AdminTrustedDevice.d.ts +4 -0
- package/dist/HttpApi/AdminTrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/AdminTrustedDevice.js +4 -0
- package/dist/HttpApi/AdminTrustedDevice.js.map +1 -0
- package/dist/HttpApi/Api.d.ts +939 -884
- package/dist/HttpApi/Api.d.ts.map +1 -1
- package/dist/HttpApi/Api.js +2254 -940
- package/dist/HttpApi/Api.js.map +1 -1
- package/dist/HttpApi/ApiKey.d.ts +4 -0
- package/dist/HttpApi/ApiKey.d.ts.map +1 -0
- package/dist/HttpApi/ApiKey.js +4 -0
- package/dist/HttpApi/ApiKey.js.map +1 -0
- package/dist/HttpApi/Audit.d.ts +6 -0
- package/dist/HttpApi/Audit.d.ts.map +1 -0
- package/dist/HttpApi/Audit.js +10 -0
- package/dist/HttpApi/Audit.js.map +1 -0
- package/dist/HttpApi/ClientApi.d.ts +917 -0
- package/dist/HttpApi/ClientApi.d.ts.map +1 -0
- package/dist/HttpApi/ClientApi.js +101 -0
- package/dist/HttpApi/ClientApi.js.map +1 -0
- package/dist/HttpApi/EmailAuth.d.ts +6 -0
- package/dist/HttpApi/EmailAuth.d.ts.map +1 -0
- package/dist/HttpApi/EmailAuth.js +6 -0
- package/dist/HttpApi/EmailAuth.js.map +1 -0
- package/dist/HttpApi/EmailGuards.d.ts +115 -0
- package/dist/HttpApi/EmailGuards.d.ts.map +1 -0
- package/dist/HttpApi/EmailGuards.js +191 -0
- package/dist/HttpApi/EmailGuards.js.map +1 -0
- package/dist/HttpApi/EmailOtp.d.ts +6 -0
- package/dist/HttpApi/EmailOtp.d.ts.map +1 -0
- package/dist/HttpApi/EmailOtp.js +6 -0
- package/dist/HttpApi/EmailOtp.js.map +1 -0
- package/dist/HttpApi/EmailVerification.d.ts +6 -0
- package/dist/HttpApi/EmailVerification.d.ts.map +1 -0
- package/dist/HttpApi/EmailVerification.js +6 -0
- package/dist/HttpApi/EmailVerification.js.map +1 -0
- package/dist/HttpApi/Endpoints.d.ts +661 -301
- package/dist/HttpApi/Endpoints.d.ts.map +1 -1
- package/dist/HttpApi/Endpoints.js +207 -120
- package/dist/HttpApi/Endpoints.js.map +1 -1
- package/dist/HttpApi/Errors.d.ts +37 -10
- package/dist/HttpApi/Errors.d.ts.map +1 -1
- package/dist/HttpApi/Errors.js +42 -4
- package/dist/HttpApi/Errors.js.map +1 -1
- package/dist/HttpApi/Identity.d.ts +6 -0
- package/dist/HttpApi/Identity.d.ts.map +1 -0
- package/dist/HttpApi/Identity.js +6 -0
- package/dist/HttpApi/Identity.js.map +1 -0
- package/dist/HttpApi/IdentityGuards.d.ts +31 -0
- package/dist/HttpApi/IdentityGuards.d.ts.map +1 -0
- package/dist/HttpApi/IdentityGuards.js +33 -0
- package/dist/HttpApi/IdentityGuards.js.map +1 -0
- package/dist/HttpApi/Jwt.d.ts +4 -0
- package/dist/HttpApi/Jwt.d.ts.map +1 -0
- package/dist/HttpApi/Jwt.js +4 -0
- package/dist/HttpApi/Jwt.js.map +1 -0
- package/dist/HttpApi/JwtDiscovery.d.ts +4 -0
- package/dist/HttpApi/JwtDiscovery.d.ts.map +1 -0
- package/dist/HttpApi/JwtDiscovery.js +4 -0
- package/dist/HttpApi/JwtDiscovery.js.map +1 -0
- package/dist/HttpApi/LoginApproval.d.ts +5 -0
- package/dist/HttpApi/LoginApproval.d.ts.map +1 -0
- package/dist/HttpApi/LoginApproval.js +5 -0
- package/dist/HttpApi/LoginApproval.js.map +1 -0
- package/dist/HttpApi/LoginNotification.d.ts +5 -0
- package/dist/HttpApi/LoginNotification.d.ts.map +1 -0
- package/dist/HttpApi/LoginNotification.js +5 -0
- package/dist/HttpApi/LoginNotification.js.map +1 -0
- package/dist/HttpApi/MagicLink.d.ts +6 -0
- package/dist/HttpApi/MagicLink.d.ts.map +1 -0
- package/dist/HttpApi/MagicLink.js +6 -0
- package/dist/HttpApi/MagicLink.js.map +1 -0
- package/dist/HttpApi/Mfa.d.ts +5 -0
- package/dist/HttpApi/Mfa.d.ts.map +1 -0
- package/dist/HttpApi/Mfa.js +5 -0
- package/dist/HttpApi/Mfa.js.map +1 -0
- package/dist/HttpApi/Middleware.d.ts +26 -0
- package/dist/HttpApi/Middleware.d.ts.map +1 -0
- package/dist/HttpApi/Middleware.js +13 -0
- package/dist/HttpApi/Middleware.js.map +1 -0
- package/dist/HttpApi/OAuth.d.ts +4 -0
- package/dist/HttpApi/OAuth.d.ts.map +1 -0
- package/dist/HttpApi/OAuth.js +4 -0
- package/dist/HttpApi/OAuth.js.map +1 -0
- package/dist/HttpApi/OAuthDeviceAuthorization.d.ts +106 -0
- package/dist/HttpApi/OAuthDeviceAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/OAuthDeviceAuthorization.js +415 -0
- package/dist/HttpApi/OAuthDeviceAuthorization.js.map +1 -0
- package/dist/HttpApi/OAuthProviderAuthorization.d.ts +4 -0
- package/dist/HttpApi/OAuthProviderAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/OAuthProviderAuthorization.js +4 -0
- package/dist/HttpApi/OAuthProviderAuthorization.js.map +1 -0
- package/dist/HttpApi/OAuthToken.d.ts +4 -0
- package/dist/HttpApi/OAuthToken.d.ts.map +1 -0
- package/dist/HttpApi/OAuthToken.js +4 -0
- package/dist/HttpApi/OAuthToken.js.map +1 -0
- package/dist/HttpApi/OidcDiscovery.d.ts +4 -0
- package/dist/HttpApi/OidcDiscovery.d.ts.map +1 -0
- package/dist/HttpApi/OidcDiscovery.js +4 -0
- package/dist/HttpApi/OidcDiscovery.js.map +1 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.d.ts +28 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.d.ts.map +1 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.js +5 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.js.map +1 -0
- package/dist/HttpApi/Operations/AdminSession.d.ts +16 -0
- package/dist/HttpApi/Operations/AdminSession.d.ts.map +1 -0
- package/dist/HttpApi/Operations/AdminSession.js +5 -0
- package/dist/HttpApi/Operations/AdminSession.js.map +1 -0
- package/dist/HttpApi/Operations/ApiKey.d.ts +16 -0
- package/dist/HttpApi/Operations/ApiKey.d.ts.map +1 -0
- package/dist/HttpApi/Operations/ApiKey.js +5 -0
- package/dist/HttpApi/Operations/ApiKey.js.map +1 -0
- package/dist/HttpApi/Operations/Discovery.d.ts +19 -0
- package/dist/HttpApi/Operations/Discovery.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Discovery.js +7 -0
- package/dist/HttpApi/Operations/Discovery.js.map +1 -0
- package/dist/HttpApi/Operations/EmailAuth.d.ts +12 -0
- package/dist/HttpApi/Operations/EmailAuth.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailAuth.js +5 -0
- package/dist/HttpApi/Operations/EmailAuth.js.map +1 -0
- package/dist/HttpApi/Operations/EmailOtp.d.ts +14 -0
- package/dist/HttpApi/Operations/EmailOtp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailOtp.js +5 -0
- package/dist/HttpApi/Operations/EmailOtp.js.map +1 -0
- package/dist/HttpApi/Operations/EmailVerification.d.ts +14 -0
- package/dist/HttpApi/Operations/EmailVerification.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailVerification.js +5 -0
- package/dist/HttpApi/Operations/EmailVerification.js.map +1 -0
- package/dist/HttpApi/Operations/HttpOperation.d.ts +4 -0
- package/dist/HttpApi/Operations/HttpOperation.d.ts.map +1 -0
- package/dist/HttpApi/Operations/HttpOperation.js +2 -0
- package/dist/HttpApi/Operations/HttpOperation.js.map +1 -0
- package/dist/HttpApi/Operations/Identity.d.ts +22 -0
- package/dist/HttpApi/Operations/Identity.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Identity.js +5 -0
- package/dist/HttpApi/Operations/Identity.js.map +1 -0
- package/dist/HttpApi/Operations/Jwt.d.ts +14 -0
- package/dist/HttpApi/Operations/Jwt.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Jwt.js +5 -0
- package/dist/HttpApi/Operations/Jwt.js.map +1 -0
- package/dist/HttpApi/Operations/LoginApproval.d.ts +16 -0
- package/dist/HttpApi/Operations/LoginApproval.d.ts.map +1 -0
- package/dist/HttpApi/Operations/LoginApproval.js +5 -0
- package/dist/HttpApi/Operations/LoginApproval.js.map +1 -0
- package/dist/HttpApi/Operations/MagicLink.d.ts +14 -0
- package/dist/HttpApi/Operations/MagicLink.d.ts.map +1 -0
- package/dist/HttpApi/Operations/MagicLink.js +5 -0
- package/dist/HttpApi/Operations/MagicLink.js.map +1 -0
- package/dist/HttpApi/Operations/Mfa.d.ts +24 -0
- package/dist/HttpApi/Operations/Mfa.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Mfa.js +5 -0
- package/dist/HttpApi/Operations/Mfa.js.map +1 -0
- package/dist/HttpApi/Operations/OAuth.d.ts +20 -0
- package/dist/HttpApi/Operations/OAuth.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuth.js +5 -0
- package/dist/HttpApi/Operations/OAuth.js.map +1 -0
- package/dist/HttpApi/Operations/OAuthDeviceAuthorization.d.ts +23 -0
- package/dist/HttpApi/Operations/OAuthDeviceAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuthDeviceAuthorization.js +7 -0
- package/dist/HttpApi/Operations/OAuthDeviceAuthorization.js.map +1 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.d.ts +12 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.js +5 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.js.map +1 -0
- package/dist/HttpApi/Operations/OAuthToken.d.ts +26 -0
- package/dist/HttpApi/Operations/OAuthToken.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuthToken.js +9 -0
- package/dist/HttpApi/Operations/OAuthToken.js.map +1 -0
- package/dist/HttpApi/Operations/Passkey.d.ts +22 -0
- package/dist/HttpApi/Operations/Passkey.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Passkey.js +5 -0
- package/dist/HttpApi/Operations/Passkey.js.map +1 -0
- package/dist/HttpApi/Operations/Password.d.ts +22 -0
- package/dist/HttpApi/Operations/Password.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Password.js +5 -0
- package/dist/HttpApi/Operations/Password.js.map +1 -0
- package/dist/HttpApi/Operations/RecoveryCodes.d.ts +20 -0
- package/dist/HttpApi/Operations/RecoveryCodes.d.ts.map +1 -0
- package/dist/HttpApi/Operations/RecoveryCodes.js +5 -0
- package/dist/HttpApi/Operations/RecoveryCodes.js.map +1 -0
- package/dist/HttpApi/Operations/RefreshToken.d.ts +12 -0
- package/dist/HttpApi/Operations/RefreshToken.d.ts.map +1 -0
- package/dist/HttpApi/Operations/RefreshToken.js +5 -0
- package/dist/HttpApi/Operations/RefreshToken.js.map +1 -0
- package/dist/HttpApi/Operations/Security.d.ts +12 -0
- package/dist/HttpApi/Operations/Security.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Security.js +5 -0
- package/dist/HttpApi/Operations/Security.js.map +1 -0
- package/dist/HttpApi/Operations/SecurityTimeline.d.ts +19 -0
- package/dist/HttpApi/Operations/SecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/Operations/SecurityTimeline.js +7 -0
- package/dist/HttpApi/Operations/SecurityTimeline.js.map +1 -0
- package/dist/HttpApi/Operations/Session.d.ts +22 -0
- package/dist/HttpApi/Operations/Session.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Session.js +5 -0
- package/dist/HttpApi/Operations/Session.js.map +1 -0
- package/dist/HttpApi/Operations/StepUp.d.ts +22 -0
- package/dist/HttpApi/Operations/StepUp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/StepUp.js +5 -0
- package/dist/HttpApi/Operations/StepUp.js.map +1 -0
- package/dist/HttpApi/Operations/Totp.d.ts +20 -0
- package/dist/HttpApi/Operations/Totp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Totp.js +5 -0
- package/dist/HttpApi/Operations/Totp.js.map +1 -0
- package/dist/HttpApi/Operations/TrustedDevice.d.ts +23 -0
- package/dist/HttpApi/Operations/TrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/Operations/TrustedDevice.js +7 -0
- package/dist/HttpApi/Operations/TrustedDevice.js.map +1 -0
- package/dist/HttpApi/Operations/index.d.ts +28 -0
- package/dist/HttpApi/Operations/index.d.ts.map +1 -0
- package/dist/HttpApi/Operations/index.js +28 -0
- package/dist/HttpApi/Operations/index.js.map +1 -0
- package/dist/HttpApi/Passkey.d.ts +5 -0
- package/dist/HttpApi/Passkey.d.ts.map +1 -0
- package/dist/HttpApi/Passkey.js +5 -0
- package/dist/HttpApi/Passkey.js.map +1 -0
- package/dist/HttpApi/Password.d.ts +220 -0
- package/dist/HttpApi/Password.d.ts.map +1 -0
- package/dist/HttpApi/Password.js +237 -0
- package/dist/HttpApi/Password.js.map +1 -0
- package/dist/HttpApi/PasswordContract.d.ts +307 -0
- package/dist/HttpApi/PasswordContract.d.ts.map +1 -0
- package/dist/HttpApi/PasswordContract.js +63 -0
- package/dist/HttpApi/PasswordContract.js.map +1 -0
- package/dist/HttpApi/PasswordGuards.d.ts +82 -0
- package/dist/HttpApi/PasswordGuards.d.ts.map +1 -0
- package/dist/HttpApi/PasswordGuards.js +179 -0
- package/dist/HttpApi/PasswordGuards.js.map +1 -0
- package/dist/HttpApi/RecoveryCodes.d.ts +5 -0
- package/dist/HttpApi/RecoveryCodes.d.ts.map +1 -0
- package/dist/HttpApi/RecoveryCodes.js +5 -0
- package/dist/HttpApi/RecoveryCodes.js.map +1 -0
- package/dist/HttpApi/RefreshToken.d.ts +4 -0
- package/dist/HttpApi/RefreshToken.d.ts.map +1 -0
- package/dist/HttpApi/RefreshToken.js +4 -0
- package/dist/HttpApi/RefreshToken.js.map +1 -0
- package/dist/HttpApi/RequestGuards.d.ts +42 -0
- package/dist/HttpApi/RequestGuards.d.ts.map +1 -0
- package/dist/HttpApi/RequestGuards.js +194 -0
- package/dist/HttpApi/RequestGuards.js.map +1 -0
- package/dist/HttpApi/Schemas.d.ts +399 -84
- package/dist/HttpApi/Schemas.d.ts.map +1 -1
- package/dist/HttpApi/Schemas.js +225 -27
- package/dist/HttpApi/Schemas.js.map +1 -1
- package/dist/HttpApi/Security.d.ts +12 -93
- package/dist/HttpApi/Security.d.ts.map +1 -1
- package/dist/HttpApi/Security.js +65 -356
- package/dist/HttpApi/Security.js.map +1 -1
- package/dist/HttpApi/SecurityTimeline.d.ts +4 -0
- package/dist/HttpApi/SecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/SecurityTimeline.js +4 -0
- package/dist/HttpApi/SecurityTimeline.js.map +1 -0
- package/dist/HttpApi/Session.d.ts +5 -0
- package/dist/HttpApi/Session.d.ts.map +1 -0
- package/dist/HttpApi/Session.js +5 -0
- package/dist/HttpApi/Session.js.map +1 -0
- package/dist/HttpApi/SessionGuards.d.ts +15 -0
- package/dist/HttpApi/SessionGuards.d.ts.map +1 -0
- package/dist/HttpApi/SessionGuards.js +37 -0
- package/dist/HttpApi/SessionGuards.js.map +1 -0
- package/dist/HttpApi/StepUp.d.ts +5 -0
- package/dist/HttpApi/StepUp.d.ts.map +1 -0
- package/dist/HttpApi/StepUp.js +5 -0
- package/dist/HttpApi/StepUp.js.map +1 -0
- package/dist/HttpApi/Totp.d.ts +5 -0
- package/dist/HttpApi/Totp.d.ts.map +1 -0
- package/dist/HttpApi/Totp.js +5 -0
- package/dist/HttpApi/Totp.js.map +1 -0
- package/dist/HttpApi/Transport.d.ts +4 -6
- package/dist/HttpApi/Transport.d.ts.map +1 -1
- package/dist/HttpApi/Transport.js +62 -36
- package/dist/HttpApi/Transport.js.map +1 -1
- package/dist/HttpApi/TrustedDevice.d.ts +4 -0
- package/dist/HttpApi/TrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/TrustedDevice.js +4 -0
- package/dist/HttpApi/TrustedDevice.js.map +1 -0
- package/dist/HttpApi/index.d.ts +11 -3
- package/dist/HttpApi/index.d.ts.map +1 -1
- package/dist/HttpApi/index.js +10 -2
- package/dist/HttpApi/index.js.map +1 -1
- package/dist/Identity.d.ts +138 -0
- package/dist/Identity.d.ts.map +1 -0
- package/dist/Identity.js +105 -0
- package/dist/Identity.js.map +1 -0
- package/dist/IdentityManagement.d.ts +189 -0
- package/dist/IdentityManagement.d.ts.map +1 -0
- package/dist/IdentityManagement.js +317 -0
- package/dist/IdentityManagement.js.map +1 -0
- package/dist/IncidentAction.d.ts +1 -4
- package/dist/IncidentAction.d.ts.map +1 -1
- package/dist/IncidentAction.js +15 -9
- package/dist/IncidentAction.js.map +1 -1
- package/dist/Internal.d.ts +2 -0
- package/dist/Internal.d.ts.map +1 -1
- package/dist/Internal.js +30 -0
- package/dist/Internal.js.map +1 -1
- package/dist/Invitation.d.ts +362 -0
- package/dist/Invitation.d.ts.map +1 -0
- package/dist/Invitation.js +633 -0
- package/dist/Invitation.js.map +1 -0
- package/dist/IpQualityScore.d.ts +38 -0
- package/dist/IpQualityScore.d.ts.map +1 -0
- package/dist/IpQualityScore.js +215 -0
- package/dist/IpQualityScore.js.map +1 -0
- package/dist/Jwt.d.ts +8 -29
- package/dist/Jwt.d.ts.map +1 -1
- package/dist/Jwt.js +67 -56
- package/dist/Jwt.js.map +1 -1
- package/dist/LoginApproval.d.ts +15 -30
- package/dist/LoginApproval.d.ts.map +1 -1
- package/dist/LoginApproval.js +47 -41
- package/dist/LoginApproval.js.map +1 -1
- package/dist/LoginNotification.d.ts +7 -11
- package/dist/LoginNotification.d.ts.map +1 -1
- package/dist/LoginNotification.js +30 -17
- package/dist/LoginNotification.js.map +1 -1
- package/dist/LoginRisk.d.ts +11 -13
- package/dist/LoginRisk.d.ts.map +1 -1
- package/dist/LoginRisk.js +66 -26
- package/dist/LoginRisk.js.map +1 -1
- package/dist/LoginRiskEnrichment.d.ts +145 -0
- package/dist/LoginRiskEnrichment.d.ts.map +1 -0
- package/dist/LoginRiskEnrichment.js +220 -0
- package/dist/LoginRiskEnrichment.js.map +1 -0
- package/dist/MagicLink.d.ts +9 -8
- package/dist/MagicLink.d.ts.map +1 -1
- package/dist/MagicLink.js +40 -73
- package/dist/MagicLink.js.map +1 -1
- package/dist/Mailer.d.ts +19 -12
- package/dist/Mailer.d.ts.map +1 -1
- package/dist/Mailer.js +10 -12
- package/dist/Mailer.js.map +1 -1
- package/dist/OAuth.d.ts +138 -96
- package/dist/OAuth.d.ts.map +1 -1
- package/dist/OAuth.js +522 -221
- package/dist/OAuth.js.map +1 -1
- package/dist/OAuthDeviceAuthorization.d.ts +378 -0
- package/dist/OAuthDeviceAuthorization.d.ts.map +1 -0
- package/dist/OAuthDeviceAuthorization.js +860 -0
- package/dist/OAuthDeviceAuthorization.js.map +1 -0
- package/dist/OAuthDeviceClient.d.ts +76 -0
- package/dist/OAuthDeviceClient.d.ts.map +1 -0
- package/dist/OAuthDeviceClient.js +362 -0
- package/dist/OAuthDeviceClient.js.map +1 -0
- package/dist/Passkey.d.ts +15 -17
- package/dist/Passkey.d.ts.map +1 -1
- package/dist/Passkey.js +86 -39
- package/dist/Passkey.js.map +1 -1
- package/dist/PasskeyBrowser.d.ts +39 -0
- package/dist/PasskeyBrowser.d.ts.map +1 -0
- package/dist/PasskeyBrowser.js +206 -0
- package/dist/PasskeyBrowser.js.map +1 -0
- package/dist/PasskeySimpleWebAuthn.d.ts.map +1 -1
- package/dist/PasskeySimpleWebAuthn.js +19 -7
- package/dist/PasskeySimpleWebAuthn.js.map +1 -1
- package/dist/Password.d.ts +71 -37
- package/dist/Password.d.ts.map +1 -1
- package/dist/Password.js +295 -81
- package/dist/Password.js.map +1 -1
- package/dist/PasswordRisk.d.ts +63 -0
- package/dist/PasswordRisk.d.ts.map +1 -0
- package/dist/PasswordRisk.js +37 -0
- package/dist/PasswordRisk.js.map +1 -0
- package/dist/Permission.d.ts +308 -0
- package/dist/Permission.d.ts.map +1 -0
- package/dist/Permission.js +827 -0
- package/dist/Permission.js.map +1 -0
- package/dist/Policy.d.ts +31 -18
- package/dist/Policy.d.ts.map +1 -1
- package/dist/Policy.js +58 -14
- package/dist/Policy.js.map +1 -1
- package/dist/PostgresDelegatedAccessStorageMigrations.d.ts +7 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.d.ts.map +1 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.js +119 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.js.map +1 -0
- package/dist/PostgresStorageMigrations.d.ts +16 -0
- package/dist/PostgresStorageMigrations.d.ts.map +1 -0
- package/dist/PostgresStorageMigrations.js +674 -0
- package/dist/PostgresStorageMigrations.js.map +1 -0
- package/dist/Privacy.d.ts +0 -3
- package/dist/Privacy.d.ts.map +1 -1
- package/dist/Privacy.js +2 -5
- package/dist/Privacy.js.map +1 -1
- package/dist/RateLimiter.d.ts +0 -3
- package/dist/RateLimiter.d.ts.map +1 -1
- package/dist/RateLimiter.js +1 -4
- package/dist/RateLimiter.js.map +1 -1
- package/dist/RecoveryCode.d.ts +83 -11
- package/dist/RecoveryCode.d.ts.map +1 -1
- package/dist/RecoveryCode.js +273 -75
- package/dist/RecoveryCode.js.map +1 -1
- package/dist/RecoveryPolicy.d.ts +81 -0
- package/dist/RecoveryPolicy.d.ts.map +1 -0
- package/dist/RecoveryPolicy.js +119 -0
- package/dist/RecoveryPolicy.js.map +1 -0
- package/dist/RefreshToken.d.ts +0 -9
- package/dist/RefreshToken.d.ts.map +1 -1
- package/dist/RefreshToken.js +31 -22
- package/dist/RefreshToken.js.map +1 -1
- package/dist/Retention.d.ts +6 -1
- package/dist/Retention.d.ts.map +1 -1
- package/dist/Retention.js +49 -12
- package/dist/Retention.js.map +1 -1
- package/dist/SecurityTimeline.d.ts +1 -4
- package/dist/SecurityTimeline.d.ts.map +1 -1
- package/dist/SecurityTimeline.js +110 -17
- package/dist/SecurityTimeline.js.map +1 -1
- package/dist/Sessions.d.ts +124 -29
- package/dist/Sessions.d.ts.map +1 -1
- package/dist/Sessions.js +626 -94
- package/dist/Sessions.js.map +1 -1
- package/dist/SqliteStorageSchemaData.d.ts +2 -0
- package/dist/SqliteStorageSchemaData.d.ts.map +1 -0
- package/dist/SqliteStorageSchemaData.js +508 -0
- package/dist/SqliteStorageSchemaData.js.map +1 -0
- package/dist/StepUp.d.ts +132 -11
- package/dist/StepUp.d.ts.map +1 -1
- package/dist/StepUp.js +387 -19
- package/dist/StepUp.js.map +1 -1
- package/dist/Storage.d.ts +89 -23
- package/dist/Storage.d.ts.map +1 -1
- package/dist/Storage.js +10 -12
- package/dist/Storage.js.map +1 -1
- package/dist/StorageMigrations.d.ts +7 -1
- package/dist/StorageMigrations.d.ts.map +1 -1
- package/dist/StorageMigrations.js +256 -0
- package/dist/StorageMigrations.js.map +1 -1
- package/dist/StorageSchemaGenerator.d.ts +544 -0
- package/dist/StorageSchemaGenerator.d.ts.map +1 -0
- package/dist/StorageSchemaGenerator.js +1418 -0
- package/dist/StorageSchemaGenerator.js.map +1 -0
- package/dist/StrongFactor.d.ts +64 -0
- package/dist/StrongFactor.d.ts.map +1 -0
- package/dist/StrongFactor.js +100 -0
- package/dist/StrongFactor.js.map +1 -0
- package/dist/Testing.js +2 -2
- package/dist/Testing.js.map +1 -1
- package/dist/Totp.d.ts +88 -13
- package/dist/Totp.d.ts.map +1 -1
- package/dist/Totp.js +192 -34
- package/dist/Totp.js.map +1 -1
- package/dist/TrustedDevice.d.ts +0 -9
- package/dist/TrustedDevice.d.ts.map +1 -1
- package/dist/TrustedDevice.js +15 -17
- package/dist/TrustedDevice.js.map +1 -1
- package/dist/WaitUntil.d.ts +0 -3
- package/dist/WaitUntil.d.ts.map +1 -1
- package/dist/WaitUntil.js +1 -4
- package/dist/WaitUntil.js.map +1 -1
- package/dist/Webhook.d.ts +42 -12
- package/dist/Webhook.d.ts.map +1 -1
- package/dist/Webhook.js +165 -26
- package/dist/Webhook.js.map +1 -1
- package/dist/alchemy/cloudflare/Email.d.ts.map +1 -1
- package/dist/alchemy/cloudflare/Email.js +9 -4
- package/dist/alchemy/cloudflare/Email.js.map +1 -1
- package/dist/cloudflare/Email.js +1 -1
- package/dist/cloudflare/Email.js.map +1 -1
- package/dist/cloudflare/RequestMetadata.d.ts +49 -0
- package/dist/cloudflare/RequestMetadata.d.ts.map +1 -0
- package/dist/cloudflare/RequestMetadata.js +71 -0
- package/dist/cloudflare/RequestMetadata.js.map +1 -0
- package/dist/index.d.ts +0 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -35
- package/dist/index.js.map +1 -1
- package/dist/internal/AuthFlowFinalizer.d.ts +31 -0
- package/dist/internal/AuthFlowFinalizer.d.ts.map +1 -0
- package/dist/internal/AuthFlowFinalizer.js +182 -0
- package/dist/internal/AuthFlowFinalizer.js.map +1 -0
- package/migrations/0001_auth_storage.sql +1 -0
- package/migrations/0006_auth_totp_factor.sql +1 -0
- package/migrations/0024_auth_permission.sql +39 -0
- package/migrations/0025_auth_permission_definition.sql +19 -0
- package/migrations/0026_auth_user_identity.sql +59 -0
- package/migrations/0027_auth_audit_log_storage_order.sql +46 -0
- package/migrations/0028_auth_oauth_client_secret_key.sql +39 -0
- package/migrations/0029_auth_oauth_device_authorization.sql +28 -0
- package/migrations/delegated-access/0001_auth_delegated_access.sql +152 -0
- package/migrations/postgres/0001_auth_core.sql +77 -0
- package/migrations/postgres/0002_auth_security_oauth.sql +65 -0
- package/migrations/postgres/0003_auth_credentials_tokens.sql +43 -0
- package/migrations/postgres/0004_auth_security_history.sql +103 -0
- package/migrations/postgres/0005_auth_webhooks.sql +29 -0
- package/migrations/postgres/0006_auth_domain_timeline.sql +50 -0
- package/migrations/postgres/0007_auth_oauth_clients.sql +85 -0
- package/migrations/postgres/0008_auth_oauth_tokens.sql +63 -0
- package/migrations/postgres/0009_auth_permissions.sql +66 -0
- package/migrations/postgres/0010_auth_oauth_device_authorization.sql +50 -0
- package/migrations/postgres/delegated-access/0001_auth_delegated_access.sql +112 -0
- package/package.json +309 -2
|
@@ -1,24 +1,186 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
+
export declare const IdentityScopeHttpBody: Schema.Union<readonly [Schema.Struct<{
|
|
3
|
+
readonly type: Schema.Literal<"global">;
|
|
4
|
+
}>, Schema.Struct<{
|
|
5
|
+
readonly type: Schema.Literal<"tenant">;
|
|
6
|
+
readonly tenantId: Schema.String;
|
|
7
|
+
}>]>;
|
|
8
|
+
export declare const LoginIdentityHttpBody: Schema.Struct<{
|
|
9
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
10
|
+
readonly type: Schema.Literal<"global">;
|
|
11
|
+
}>, Schema.Struct<{
|
|
12
|
+
readonly type: Schema.Literal<"tenant">;
|
|
13
|
+
readonly tenantId: Schema.String;
|
|
14
|
+
}>]>;
|
|
15
|
+
readonly kind: Schema.String;
|
|
16
|
+
readonly value: Schema.String;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const BotChallengeHttpBody: Schema.Struct<{
|
|
19
|
+
readonly token: Schema.String;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const IdentityAvailabilityBody: Schema.Struct<{
|
|
22
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
23
|
+
readonly type: Schema.Literal<"global">;
|
|
24
|
+
}>, Schema.Struct<{
|
|
25
|
+
readonly type: Schema.Literal<"tenant">;
|
|
26
|
+
readonly tenantId: Schema.String;
|
|
27
|
+
}>]>;
|
|
28
|
+
readonly kind: Schema.String;
|
|
29
|
+
readonly value: Schema.String;
|
|
30
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
31
|
+
readonly token: Schema.String;
|
|
32
|
+
}>>;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const IdentityAvailabilityResultBody: Schema.Struct<{
|
|
35
|
+
readonly available: Schema.Boolean;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const IdentityHttpBody: Schema.Struct<{
|
|
38
|
+
readonly id: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
39
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
40
|
+
readonly type: Schema.Literal<"global">;
|
|
41
|
+
}>, Schema.Struct<{
|
|
42
|
+
readonly type: Schema.Literal<"tenant">;
|
|
43
|
+
readonly tenantId: Schema.String;
|
|
44
|
+
}>]>;
|
|
45
|
+
readonly kind: Schema.String;
|
|
46
|
+
readonly value: Schema.String;
|
|
47
|
+
readonly verified: Schema.Boolean;
|
|
48
|
+
readonly loginEligible: Schema.Boolean;
|
|
49
|
+
readonly isPrimaryLogin: Schema.Boolean;
|
|
50
|
+
readonly createdAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
51
|
+
readonly updatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
52
|
+
}>;
|
|
53
|
+
export declare const IdentitiesBody: Schema.Struct<{
|
|
54
|
+
readonly identities: Schema.$Array<Schema.Struct<{
|
|
55
|
+
readonly id: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
56
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
57
|
+
readonly type: Schema.Literal<"global">;
|
|
58
|
+
}>, Schema.Struct<{
|
|
59
|
+
readonly type: Schema.Literal<"tenant">;
|
|
60
|
+
readonly tenantId: Schema.String;
|
|
61
|
+
}>]>;
|
|
62
|
+
readonly kind: Schema.String;
|
|
63
|
+
readonly value: Schema.String;
|
|
64
|
+
readonly verified: Schema.Boolean;
|
|
65
|
+
readonly loginEligible: Schema.Boolean;
|
|
66
|
+
readonly isPrimaryLogin: Schema.Boolean;
|
|
67
|
+
readonly createdAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
68
|
+
readonly updatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
69
|
+
}>>;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const IdentityAddBody: Schema.Struct<{
|
|
72
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
73
|
+
readonly type: Schema.Literal<"global">;
|
|
74
|
+
}>, Schema.Struct<{
|
|
75
|
+
readonly type: Schema.Literal<"tenant">;
|
|
76
|
+
readonly tenantId: Schema.String;
|
|
77
|
+
}>]>;
|
|
78
|
+
readonly kind: Schema.String;
|
|
79
|
+
readonly value: Schema.String;
|
|
80
|
+
}>;
|
|
81
|
+
export declare const IdentityReplaceBody: Schema.Struct<{
|
|
82
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
83
|
+
readonly expectedUpdatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
84
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
85
|
+
readonly type: Schema.Literal<"global">;
|
|
86
|
+
}>, Schema.Struct<{
|
|
87
|
+
readonly type: Schema.Literal<"tenant">;
|
|
88
|
+
readonly tenantId: Schema.String;
|
|
89
|
+
}>]>;
|
|
90
|
+
readonly kind: Schema.String;
|
|
91
|
+
readonly value: Schema.String;
|
|
92
|
+
}>;
|
|
93
|
+
export declare const IdentityRevokeBody: Schema.Struct<{
|
|
94
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
95
|
+
readonly expectedUpdatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
96
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
97
|
+
}>;
|
|
98
|
+
export declare const IdentityPrimaryBody: Schema.Struct<{
|
|
99
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
100
|
+
readonly expectedUpdatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
101
|
+
}>;
|
|
102
|
+
export declare const LoginRiskDeviceFingerprintBody: Schema.Struct<{
|
|
103
|
+
readonly userAgentFamily: Schema.optional<Schema.String>;
|
|
104
|
+
readonly platform: Schema.optional<Schema.String>;
|
|
105
|
+
readonly timezone: Schema.optional<Schema.String>;
|
|
106
|
+
readonly locale: Schema.optional<Schema.String>;
|
|
107
|
+
readonly screenClass: Schema.optional<Schema.Literals<readonly ["small", "medium", "large"]>>;
|
|
108
|
+
readonly appDeviceId: Schema.optional<Schema.String>;
|
|
109
|
+
}>;
|
|
2
110
|
export declare const PasswordSignInBody: Schema.Struct<{
|
|
3
|
-
readonly
|
|
111
|
+
readonly identity: Schema.Struct<{
|
|
112
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
113
|
+
readonly type: Schema.Literal<"global">;
|
|
114
|
+
}>, Schema.Struct<{
|
|
115
|
+
readonly type: Schema.Literal<"tenant">;
|
|
116
|
+
readonly tenantId: Schema.String;
|
|
117
|
+
}>]>;
|
|
118
|
+
readonly kind: Schema.String;
|
|
119
|
+
readonly value: Schema.String;
|
|
120
|
+
}>;
|
|
4
121
|
readonly password: Schema.String;
|
|
122
|
+
readonly deviceFingerprint: Schema.optional<Schema.Struct<{
|
|
123
|
+
readonly userAgentFamily: Schema.optional<Schema.String>;
|
|
124
|
+
readonly platform: Schema.optional<Schema.String>;
|
|
125
|
+
readonly timezone: Schema.optional<Schema.String>;
|
|
126
|
+
readonly locale: Schema.optional<Schema.String>;
|
|
127
|
+
readonly screenClass: Schema.optional<Schema.Literals<readonly ["small", "medium", "large"]>>;
|
|
128
|
+
readonly appDeviceId: Schema.optional<Schema.String>;
|
|
129
|
+
}>>;
|
|
130
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
131
|
+
readonly token: Schema.String;
|
|
132
|
+
}>>;
|
|
5
133
|
}>;
|
|
6
134
|
export declare const PasswordSignUpBody: Schema.Struct<{
|
|
7
|
-
readonly
|
|
135
|
+
readonly identity: Schema.Struct<{
|
|
136
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
137
|
+
readonly type: Schema.Literal<"global">;
|
|
138
|
+
}>, Schema.Struct<{
|
|
139
|
+
readonly type: Schema.Literal<"tenant">;
|
|
140
|
+
readonly tenantId: Schema.String;
|
|
141
|
+
}>]>;
|
|
142
|
+
readonly kind: Schema.String;
|
|
143
|
+
readonly value: Schema.String;
|
|
144
|
+
}>;
|
|
8
145
|
readonly password: Schema.String;
|
|
9
|
-
readonly
|
|
146
|
+
readonly deviceFingerprint: Schema.optional<Schema.Struct<{
|
|
147
|
+
readonly userAgentFamily: Schema.optional<Schema.String>;
|
|
148
|
+
readonly platform: Schema.optional<Schema.String>;
|
|
149
|
+
readonly timezone: Schema.optional<Schema.String>;
|
|
150
|
+
readonly locale: Schema.optional<Schema.String>;
|
|
151
|
+
readonly screenClass: Schema.optional<Schema.Literals<readonly ["small", "medium", "large"]>>;
|
|
152
|
+
readonly appDeviceId: Schema.optional<Schema.String>;
|
|
153
|
+
}>>;
|
|
10
154
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
155
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
156
|
+
readonly token: Schema.String;
|
|
157
|
+
}>>;
|
|
11
158
|
}>;
|
|
12
159
|
export declare const PasswordResetStartBody: Schema.Struct<{
|
|
13
|
-
readonly
|
|
160
|
+
readonly identity: Schema.Struct<{
|
|
161
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
162
|
+
readonly type: Schema.Literal<"global">;
|
|
163
|
+
}>, Schema.Struct<{
|
|
164
|
+
readonly type: Schema.Literal<"tenant">;
|
|
165
|
+
readonly tenantId: Schema.String;
|
|
166
|
+
}>]>;
|
|
167
|
+
readonly kind: Schema.String;
|
|
168
|
+
readonly value: Schema.String;
|
|
169
|
+
}>;
|
|
14
170
|
readonly secret: Schema.optional<Schema.String>;
|
|
15
171
|
readonly locale: Schema.optional<Schema.String>;
|
|
16
172
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
173
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
174
|
+
readonly token: Schema.String;
|
|
175
|
+
}>>;
|
|
17
176
|
}>;
|
|
18
177
|
export declare const PasswordResetVerifyBody: Schema.Struct<{
|
|
19
178
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
20
179
|
readonly secret: Schema.String;
|
|
21
180
|
readonly password: Schema.String;
|
|
181
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
182
|
+
readonly token: Schema.String;
|
|
183
|
+
}>>;
|
|
22
184
|
}>;
|
|
23
185
|
export declare const PasswordSetBody: Schema.Struct<{
|
|
24
186
|
readonly password: Schema.String;
|
|
@@ -29,43 +191,131 @@ export declare const PasswordChangeBody: Schema.Struct<{
|
|
|
29
191
|
readonly newPassword: Schema.String;
|
|
30
192
|
}>;
|
|
31
193
|
export declare const EmailVerificationStartBody: Schema.Struct<{
|
|
32
|
-
readonly
|
|
33
|
-
readonly email: Schema.brand<Schema.String, "auth/Email">;
|
|
194
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
34
195
|
readonly secret: Schema.optional<Schema.String>;
|
|
35
196
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
197
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
198
|
+
readonly token: Schema.String;
|
|
199
|
+
}>>;
|
|
36
200
|
}>;
|
|
37
201
|
export declare const EmailVerificationVerifyBody: Schema.Struct<{
|
|
38
202
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
39
203
|
readonly secret: Schema.optional<Schema.String>;
|
|
40
204
|
}>;
|
|
41
205
|
export declare const EmailOtpStartBody: Schema.Struct<{
|
|
42
|
-
readonly
|
|
206
|
+
readonly identity: Schema.Struct<{
|
|
207
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
208
|
+
readonly type: Schema.Literal<"global">;
|
|
209
|
+
}>, Schema.Struct<{
|
|
210
|
+
readonly type: Schema.Literal<"tenant">;
|
|
211
|
+
readonly tenantId: Schema.String;
|
|
212
|
+
}>]>;
|
|
213
|
+
readonly kind: Schema.String;
|
|
214
|
+
readonly value: Schema.String;
|
|
215
|
+
}>;
|
|
43
216
|
readonly secret: Schema.optional<Schema.String>;
|
|
44
217
|
readonly locale: Schema.optional<Schema.String>;
|
|
45
218
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
219
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
220
|
+
readonly token: Schema.String;
|
|
221
|
+
}>>;
|
|
46
222
|
}>;
|
|
47
223
|
export declare const EmailOtpStartedBody: Schema.Struct<{
|
|
48
224
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
49
|
-
readonly
|
|
225
|
+
readonly identity: Schema.Struct<{
|
|
226
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
227
|
+
readonly type: Schema.Literal<"global">;
|
|
228
|
+
}>, Schema.Struct<{
|
|
229
|
+
readonly type: Schema.Literal<"tenant">;
|
|
230
|
+
readonly tenantId: Schema.String;
|
|
231
|
+
}>]>;
|
|
232
|
+
readonly kind: Schema.String;
|
|
233
|
+
readonly value: Schema.String;
|
|
234
|
+
}>;
|
|
50
235
|
readonly expiresAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
51
236
|
}>;
|
|
52
237
|
export declare const EmailOtpVerifyBody: Schema.Struct<{
|
|
53
238
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
54
239
|
readonly secret: Schema.String;
|
|
240
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
241
|
+
readonly token: Schema.String;
|
|
242
|
+
}>>;
|
|
243
|
+
}>;
|
|
244
|
+
export declare const EmailAuthStartBody: Schema.Struct<{
|
|
245
|
+
readonly identity: Schema.Struct<{
|
|
246
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
247
|
+
readonly type: Schema.Literal<"global">;
|
|
248
|
+
}>, Schema.Struct<{
|
|
249
|
+
readonly type: Schema.Literal<"tenant">;
|
|
250
|
+
readonly tenantId: Schema.String;
|
|
251
|
+
}>]>;
|
|
252
|
+
readonly kind: Schema.String;
|
|
253
|
+
readonly value: Schema.String;
|
|
254
|
+
}>;
|
|
255
|
+
readonly emailOtpSecret: Schema.optional<Schema.String>;
|
|
256
|
+
readonly magicLinkSecret: Schema.optional<Schema.String>;
|
|
257
|
+
readonly locale: Schema.optional<Schema.String>;
|
|
258
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
259
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
260
|
+
readonly token: Schema.String;
|
|
261
|
+
}>>;
|
|
262
|
+
}>;
|
|
263
|
+
export declare const EmailAuthStartedBody: Schema.Struct<{
|
|
264
|
+
readonly identity: Schema.Struct<{
|
|
265
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
266
|
+
readonly type: Schema.Literal<"global">;
|
|
267
|
+
}>, Schema.Struct<{
|
|
268
|
+
readonly type: Schema.Literal<"tenant">;
|
|
269
|
+
readonly tenantId: Schema.String;
|
|
270
|
+
}>]>;
|
|
271
|
+
readonly kind: Schema.String;
|
|
272
|
+
readonly value: Schema.String;
|
|
273
|
+
}>;
|
|
274
|
+
readonly emailOtp: Schema.Struct<{
|
|
275
|
+
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
276
|
+
readonly expiresAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
277
|
+
}>;
|
|
278
|
+
readonly magicLink: Schema.Struct<{
|
|
279
|
+
readonly expiresAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
280
|
+
}>;
|
|
55
281
|
}>;
|
|
56
282
|
export declare const MagicLinkStartBody: Schema.Struct<{
|
|
57
|
-
readonly
|
|
283
|
+
readonly identity: Schema.Struct<{
|
|
284
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
285
|
+
readonly type: Schema.Literal<"global">;
|
|
286
|
+
}>, Schema.Struct<{
|
|
287
|
+
readonly type: Schema.Literal<"tenant">;
|
|
288
|
+
readonly tenantId: Schema.String;
|
|
289
|
+
}>]>;
|
|
290
|
+
readonly kind: Schema.String;
|
|
291
|
+
readonly value: Schema.String;
|
|
292
|
+
}>;
|
|
58
293
|
readonly secret: Schema.optional<Schema.String>;
|
|
59
294
|
readonly locale: Schema.optional<Schema.String>;
|
|
60
295
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
296
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
297
|
+
readonly token: Schema.String;
|
|
298
|
+
}>>;
|
|
61
299
|
}>;
|
|
62
300
|
export declare const MagicLinkStartedBody: Schema.Struct<{
|
|
63
|
-
readonly
|
|
301
|
+
readonly identity: Schema.Struct<{
|
|
302
|
+
readonly scope: Schema.Union<readonly [Schema.Struct<{
|
|
303
|
+
readonly type: Schema.Literal<"global">;
|
|
304
|
+
}>, Schema.Struct<{
|
|
305
|
+
readonly type: Schema.Literal<"tenant">;
|
|
306
|
+
readonly tenantId: Schema.String;
|
|
307
|
+
}>]>;
|
|
308
|
+
readonly kind: Schema.String;
|
|
309
|
+
readonly value: Schema.String;
|
|
310
|
+
}>;
|
|
64
311
|
readonly expiresAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
65
312
|
}>;
|
|
66
313
|
export declare const MagicLinkVerifyBody: Schema.Struct<{
|
|
67
314
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
68
315
|
readonly secret: Schema.String;
|
|
316
|
+
readonly botChallenge: Schema.optional<Schema.Struct<{
|
|
317
|
+
readonly token: Schema.String;
|
|
318
|
+
}>>;
|
|
69
319
|
}>;
|
|
70
320
|
export declare const OAuthAuthorizationStartBody: Schema.Struct<{
|
|
71
321
|
readonly providerId: Schema.brand<Schema.String, "auth/OAuthProviderId">;
|
|
@@ -115,8 +365,45 @@ export declare const OAuthTokenRequestBody: Schema.Struct<{
|
|
|
115
365
|
readonly client_id: Schema.optional<Schema.String>;
|
|
116
366
|
readonly client_secret: Schema.optional<Schema.String>;
|
|
117
367
|
readonly code_verifier: Schema.optional<Schema.String>;
|
|
368
|
+
readonly device_code: Schema.optional<Schema.String>;
|
|
118
369
|
readonly scope: Schema.optional<Schema.String>;
|
|
119
370
|
}>;
|
|
371
|
+
export declare const OAuthDeviceAuthorizationResponseBody: Schema.Struct<{
|
|
372
|
+
readonly device_code: Schema.String;
|
|
373
|
+
readonly user_code: Schema.String;
|
|
374
|
+
readonly verification_uri: Schema.String;
|
|
375
|
+
readonly verification_uri_complete: Schema.optional<Schema.String>;
|
|
376
|
+
readonly expires_in: Schema.Number;
|
|
377
|
+
readonly interval: Schema.Number;
|
|
378
|
+
}>;
|
|
379
|
+
export declare const OAuthDeviceAuthorizationInspectBody: Schema.Struct<{
|
|
380
|
+
readonly userCode: Schema.String;
|
|
381
|
+
}>;
|
|
382
|
+
export declare const OAuthDeviceAuthorizationClientHttpBody: Schema.Struct<{
|
|
383
|
+
readonly id: Schema.brand<Schema.String, "auth/OAuthClientId">;
|
|
384
|
+
readonly name: Schema.optional<Schema.String>;
|
|
385
|
+
}>;
|
|
386
|
+
export declare const OAuthDeviceAuthorizationSafeHttpBody: Schema.Struct<{
|
|
387
|
+
readonly authorizationId: Schema.String;
|
|
388
|
+
readonly client: Schema.Struct<{
|
|
389
|
+
readonly id: Schema.brand<Schema.String, "auth/OAuthClientId">;
|
|
390
|
+
readonly name: Schema.optional<Schema.String>;
|
|
391
|
+
}>;
|
|
392
|
+
readonly requestedScopes: Schema.$Array<Schema.String>;
|
|
393
|
+
readonly expiresAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
394
|
+
readonly userCode: Schema.String;
|
|
395
|
+
}>;
|
|
396
|
+
export declare const OAuthDeviceAuthorizationApproveBody: Schema.Struct<{
|
|
397
|
+
readonly authorizationId: Schema.String;
|
|
398
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
399
|
+
readonly userId: Schema.optional<Schema.Never>;
|
|
400
|
+
readonly subject: Schema.optional<Schema.Never>;
|
|
401
|
+
}>;
|
|
402
|
+
export declare const OAuthDeviceAuthorizationDenyBody: Schema.Struct<{
|
|
403
|
+
readonly authorizationId: Schema.String;
|
|
404
|
+
readonly userId: Schema.optional<Schema.Never>;
|
|
405
|
+
readonly subject: Schema.optional<Schema.Never>;
|
|
406
|
+
}>;
|
|
120
407
|
export declare const OAuthTokenRevocationRequestBody: Schema.Struct<{
|
|
121
408
|
readonly token: Schema.String;
|
|
122
409
|
readonly token_type_hint: Schema.optional<Schema.String>;
|
|
@@ -344,15 +631,9 @@ export declare const PasskeyClientCredentialBody: Schema.Struct<{
|
|
|
344
631
|
readonly authenticatorAttachment: Schema.optional<Schema.String>;
|
|
345
632
|
readonly clientExtensionResults: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
346
633
|
}>;
|
|
347
|
-
export declare const PasskeyRegistrationStartBody: Schema.Struct<{
|
|
348
|
-
readonly userId: Schema.brand<Schema.String, "auth/UserId">;
|
|
349
|
-
readonly userName: Schema.String;
|
|
350
|
-
readonly userDisplayName: Schema.String;
|
|
351
|
-
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
352
|
-
}>;
|
|
634
|
+
export declare const PasskeyRegistrationStartBody: Schema.Struct<{}>;
|
|
353
635
|
export declare const PasskeyRegistrationFinishBody: Schema.Struct<{
|
|
354
636
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
355
|
-
readonly userId: Schema.brand<Schema.String, "auth/UserId">;
|
|
356
637
|
readonly credential: Schema.Struct<{
|
|
357
638
|
readonly id: Schema.String;
|
|
358
639
|
readonly rawId: Schema.optional<Schema.String>;
|
|
@@ -361,7 +642,6 @@ export declare const PasskeyRegistrationFinishBody: Schema.Struct<{
|
|
|
361
642
|
readonly authenticatorAttachment: Schema.optional<Schema.String>;
|
|
362
643
|
readonly clientExtensionResults: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
363
644
|
}>;
|
|
364
|
-
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
365
645
|
}>;
|
|
366
646
|
export declare const PasskeyAuthenticationStartBody: Schema.Struct<{
|
|
367
647
|
readonly userId: Schema.optional<Schema.brand<Schema.String, "auth/UserId">>;
|
|
@@ -586,6 +866,7 @@ export declare const TotpVerifyResultBody: Schema.Struct<{
|
|
|
586
866
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
587
867
|
}>>;
|
|
588
868
|
readonly delta: Schema.optional<Schema.Number>;
|
|
869
|
+
readonly acceptedCounter: Schema.optional<Schema.Number>;
|
|
589
870
|
}>;
|
|
590
871
|
export declare const TotpFactorsBody: Schema.Struct<{
|
|
591
872
|
readonly factors: Schema.$Array<Schema.Struct<{
|
|
@@ -603,6 +884,10 @@ export declare const TotpFactorsBody: Schema.Struct<{
|
|
|
603
884
|
export declare const RecoveryCodeGenerateBody: Schema.Struct<{
|
|
604
885
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
605
886
|
}>;
|
|
887
|
+
export declare const RecoveryCodeRegenerateBody: Schema.Struct<{
|
|
888
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
889
|
+
readonly revokeReason: Schema.optional<Schema.String>;
|
|
890
|
+
}>;
|
|
606
891
|
export declare const RecoveryCodeVerifyBody: Schema.Struct<{
|
|
607
892
|
readonly code: Schema.String;
|
|
608
893
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
@@ -740,6 +1025,7 @@ export declare const OidcDiscoveryMetadataBody: Schema.Struct<{
|
|
|
740
1025
|
readonly issuer: Schema.String;
|
|
741
1026
|
readonly authorization_endpoint: Schema.String;
|
|
742
1027
|
readonly token_endpoint: Schema.String;
|
|
1028
|
+
readonly device_authorization_endpoint: Schema.optional<Schema.String>;
|
|
743
1029
|
readonly jwks_uri: Schema.String;
|
|
744
1030
|
readonly response_types_supported: Schema.$Array<Schema.String>;
|
|
745
1031
|
readonly subject_types_supported: Schema.$Array<Schema.String>;
|
|
@@ -837,17 +1123,21 @@ export declare const MfaOptionsResultBody: Schema.Struct<{
|
|
|
837
1123
|
}>>;
|
|
838
1124
|
}>;
|
|
839
1125
|
export declare const StepUpFactorOptionBody: Schema.Struct<{
|
|
840
|
-
readonly type: Schema.Literals<readonly ["totp", "backup-code", "passkey"]>;
|
|
1126
|
+
readonly type: Schema.Literals<readonly ["password", "totp", "backup-code", "passkey"]>;
|
|
841
1127
|
}>;
|
|
842
1128
|
export declare const StepUpOptionsResultBody: Schema.Struct<{
|
|
843
1129
|
readonly factors: Schema.$Array<Schema.Struct<{
|
|
844
|
-
readonly type: Schema.Literals<readonly ["totp", "backup-code", "passkey"]>;
|
|
1130
|
+
readonly type: Schema.Literals<readonly ["password", "totp", "backup-code", "passkey"]>;
|
|
845
1131
|
}>>;
|
|
846
1132
|
}>;
|
|
847
1133
|
export declare const StepUpTotpVerifyBody: Schema.Struct<{
|
|
848
1134
|
readonly code: Schema.String;
|
|
849
1135
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
850
1136
|
}>;
|
|
1137
|
+
export declare const StepUpPasswordVerifyBody: Schema.Struct<{
|
|
1138
|
+
readonly password: Schema.String;
|
|
1139
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
1140
|
+
}>;
|
|
851
1141
|
export declare const StepUpRecoveryCodeVerifyBody: Schema.Struct<{
|
|
852
1142
|
readonly code: Schema.String;
|
|
853
1143
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
@@ -905,8 +1195,11 @@ export declare const LoginApprovalFinalizeBody: Schema.Struct<{
|
|
|
905
1195
|
readonly rememberDevice: Schema.optional<Schema.Boolean>;
|
|
906
1196
|
}>;
|
|
907
1197
|
export declare const SessionClaimsHttpBody: Schema.Struct<{
|
|
908
|
-
readonly
|
|
1198
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
909
1199
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1200
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1201
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1202
|
+
}>>;
|
|
910
1203
|
}>;
|
|
911
1204
|
export declare const AuthenticatedHttpBody: Schema.Struct<{
|
|
912
1205
|
readonly type: Schema.Literal<"authenticated">;
|
|
@@ -915,8 +1208,11 @@ export declare const AuthenticatedHttpBody: Schema.Struct<{
|
|
|
915
1208
|
readonly amr: Schema.$Array<Schema.String>;
|
|
916
1209
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
917
1210
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
918
|
-
readonly
|
|
1211
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
919
1212
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1213
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1214
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1215
|
+
}>>;
|
|
920
1216
|
}>>;
|
|
921
1217
|
}>;
|
|
922
1218
|
export declare const CurrentSessionHttpBody: Schema.Struct<{
|
|
@@ -929,8 +1225,11 @@ export declare const CurrentSessionHttpBody: Schema.Struct<{
|
|
|
929
1225
|
readonly amr: Schema.$Array<Schema.String>;
|
|
930
1226
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
931
1227
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
932
|
-
readonly
|
|
1228
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
933
1229
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1230
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1231
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1232
|
+
}>>;
|
|
934
1233
|
}>>;
|
|
935
1234
|
}>;
|
|
936
1235
|
export declare const ActiveSessionHttpBody: Schema.Struct<{
|
|
@@ -945,8 +1244,11 @@ export declare const ActiveSessionHttpBody: Schema.Struct<{
|
|
|
945
1244
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
946
1245
|
readonly current: Schema.Boolean;
|
|
947
1246
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
948
|
-
readonly
|
|
1247
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
949
1248
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1249
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1250
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1251
|
+
}>>;
|
|
950
1252
|
}>>;
|
|
951
1253
|
readonly ip: Schema.optional<Schema.String>;
|
|
952
1254
|
readonly userAgent: Schema.optional<Schema.String>;
|
|
@@ -970,8 +1272,11 @@ export declare const ActiveSessionsHttpBody: Schema.Struct<{
|
|
|
970
1272
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
971
1273
|
readonly current: Schema.Boolean;
|
|
972
1274
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
973
|
-
readonly
|
|
1275
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
974
1276
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1277
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1278
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1279
|
+
}>>;
|
|
975
1280
|
}>>;
|
|
976
1281
|
readonly ip: Schema.optional<Schema.String>;
|
|
977
1282
|
readonly userAgent: Schema.optional<Schema.String>;
|
|
@@ -1034,12 +1339,57 @@ export declare const AdminSessionRevokeBody: Schema.Struct<{
|
|
|
1034
1339
|
export declare const AdminSessionRevokeAllBody: Schema.Struct<{
|
|
1035
1340
|
readonly userId: Schema.brand<Schema.String, "auth/UserId">;
|
|
1036
1341
|
}>;
|
|
1342
|
+
export declare const AdminPermissionDefinitionHttpBody: Schema.Struct<{
|
|
1343
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1344
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1345
|
+
readonly scopeType: Schema.optional<Schema.String>;
|
|
1346
|
+
readonly createdAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1347
|
+
readonly updatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1348
|
+
readonly disabledAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1349
|
+
readonly deletedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1350
|
+
}>;
|
|
1351
|
+
export declare const AdminPermissionDefinitionsHttpBody: Schema.Struct<{
|
|
1352
|
+
readonly definitions: Schema.$Array<Schema.Struct<{
|
|
1353
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1354
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1355
|
+
readonly scopeType: Schema.optional<Schema.String>;
|
|
1356
|
+
readonly createdAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1357
|
+
readonly updatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1358
|
+
readonly disabledAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1359
|
+
readonly deletedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1360
|
+
}>>;
|
|
1361
|
+
readonly nextAfter: Schema.optional<Schema.brand<Schema.String, "auth/PermissionId">>;
|
|
1362
|
+
}>;
|
|
1363
|
+
export declare const AdminPermissionDefinitionCreateBody: Schema.Struct<{
|
|
1364
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1365
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1366
|
+
readonly scopeType: Schema.optional<Schema.String>;
|
|
1367
|
+
}>;
|
|
1368
|
+
export declare const AdminPermissionDefinitionGetQuery: Schema.Struct<{
|
|
1369
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1370
|
+
}>;
|
|
1371
|
+
export declare const AdminPermissionDefinitionListQuery: Schema.Struct<{
|
|
1372
|
+
readonly includeDisabled: Schema.optional<Schema.Union<readonly [Schema.Boolean, Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>]>>;
|
|
1373
|
+
readonly includeDeleted: Schema.optional<Schema.Union<readonly [Schema.Boolean, Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>]>>;
|
|
1374
|
+
readonly after: Schema.optional<Schema.brand<Schema.String, "auth/PermissionId">>;
|
|
1375
|
+
readonly limit: Schema.optional<Schema.Union<readonly [Schema.Number, Schema.NumberFromString]>>;
|
|
1376
|
+
}>;
|
|
1377
|
+
export declare const AdminPermissionDefinitionUpdateBody: Schema.Struct<{
|
|
1378
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1379
|
+
readonly expectedUpdatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1380
|
+
readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1381
|
+
readonly scopeType: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1382
|
+
}>;
|
|
1383
|
+
export declare const AdminPermissionDefinitionMutationBody: Schema.Struct<{
|
|
1384
|
+
readonly id: Schema.brand<Schema.String, "auth/PermissionId">;
|
|
1385
|
+
readonly expectedUpdatedAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1386
|
+
}>;
|
|
1037
1387
|
export declare const LoginNotificationReportBody: Schema.Struct<{
|
|
1038
1388
|
readonly challengeId: Schema.brand<Schema.String, "auth/ChallengeId">;
|
|
1039
1389
|
readonly secret: Schema.String;
|
|
1040
1390
|
}>;
|
|
1041
|
-
export declare const SecurityTimelineEventTypeBody: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.risk.assessed", "auth.policy.denied", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked"]>;
|
|
1042
|
-
export declare const SecurityTimelineEventCategoryBody: Schema.Literals<readonly ["api_key", "auth", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1391
|
+
export declare const SecurityTimelineEventTypeBody: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.session.assurance_changed", "auth.session.step_up_completed", "auth.session.primary_reauthenticated", "auth.session.recovery_remediation.entered", "auth.session.recovery_remediation.completed", "auth.risk.assessed", "auth.policy.denied", "auth.identity.added", "auth.identity.replaced", "auth.identity.revoked", "auth.identity.primary_changed", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked", "auth.permission_definition.created", "auth.permission_definition.updated", "auth.permission_definition.disabled", "auth.permission_definition.enabled", "auth.permission_definition.deleted", "auth.role_definition.created", "auth.role_definition.updated", "auth.role_definition.disabled", "auth.role_definition.enabled", "auth.role_definition.deleted", "auth.permission.granted", "auth.permission.revoked", "auth.role.granted", "auth.role.revoked", "auth.role_permission.assigned", "auth.role_permission.removed"]>;
|
|
1392
|
+
export declare const SecurityTimelineEventCategoryBody: Schema.Literals<readonly ["api_key", "auth", "authorization", "identity", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1043
1393
|
export declare const SecurityTimelineEventSeverityBody: Schema.Literals<readonly ["info", "warning", "critical"]>;
|
|
1044
1394
|
export declare const SecurityTimelineActorBody: Schema.Union<readonly [Schema.Struct<{
|
|
1045
1395
|
readonly type: Schema.Literal<"anonymous">;
|
|
@@ -1053,8 +1403,8 @@ export declare const SecurityTimelineRequestBody: Schema.Struct<{
|
|
|
1053
1403
|
}>;
|
|
1054
1404
|
export declare const SecurityTimelineEventBody: Schema.Struct<{
|
|
1055
1405
|
readonly eventId: Schema.String;
|
|
1056
|
-
readonly type: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.risk.assessed", "auth.policy.denied", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked"]>;
|
|
1057
|
-
readonly category: Schema.Literals<readonly ["api_key", "auth", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1406
|
+
readonly type: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.session.assurance_changed", "auth.session.step_up_completed", "auth.session.primary_reauthenticated", "auth.session.recovery_remediation.entered", "auth.session.recovery_remediation.completed", "auth.risk.assessed", "auth.policy.denied", "auth.identity.added", "auth.identity.replaced", "auth.identity.revoked", "auth.identity.primary_changed", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked", "auth.permission_definition.created", "auth.permission_definition.updated", "auth.permission_definition.disabled", "auth.permission_definition.enabled", "auth.permission_definition.deleted", "auth.role_definition.created", "auth.role_definition.updated", "auth.role_definition.disabled", "auth.role_definition.enabled", "auth.role_definition.deleted", "auth.permission.granted", "auth.permission.revoked", "auth.role.granted", "auth.role.revoked", "auth.role_permission.assigned", "auth.role_permission.removed"]>;
|
|
1407
|
+
readonly category: Schema.Literals<readonly ["api_key", "auth", "authorization", "identity", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1058
1408
|
readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
|
|
1059
1409
|
readonly occurredAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1060
1410
|
readonly summary: Schema.String;
|
|
@@ -1073,8 +1423,8 @@ export declare const SecurityTimelineEventBody: Schema.Struct<{
|
|
|
1073
1423
|
export declare const SecurityTimelineEventsBody: Schema.Struct<{
|
|
1074
1424
|
readonly events: Schema.$Array<Schema.Struct<{
|
|
1075
1425
|
readonly eventId: Schema.String;
|
|
1076
|
-
readonly type: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.risk.assessed", "auth.policy.denied", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked"]>;
|
|
1077
|
-
readonly category: Schema.Literals<readonly ["api_key", "auth", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1426
|
+
readonly type: Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.session.assurance_changed", "auth.session.step_up_completed", "auth.session.primary_reauthenticated", "auth.session.recovery_remediation.entered", "auth.session.recovery_remediation.completed", "auth.risk.assessed", "auth.policy.denied", "auth.identity.added", "auth.identity.replaced", "auth.identity.revoked", "auth.identity.primary_changed", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked", "auth.permission_definition.created", "auth.permission_definition.updated", "auth.permission_definition.disabled", "auth.permission_definition.enabled", "auth.permission_definition.deleted", "auth.role_definition.created", "auth.role_definition.updated", "auth.role_definition.disabled", "auth.role_definition.enabled", "auth.role_definition.deleted", "auth.permission.granted", "auth.permission.revoked", "auth.role.granted", "auth.role.revoked", "auth.role_permission.assigned", "auth.role_permission.removed"]>;
|
|
1427
|
+
readonly category: Schema.Literals<readonly ["api_key", "auth", "authorization", "identity", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>;
|
|
1078
1428
|
readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
|
|
1079
1429
|
readonly occurredAt: Schema.brand<Schema.Number, "auth/UnixMillis">;
|
|
1080
1430
|
readonly summary: Schema.String;
|
|
@@ -1094,15 +1444,15 @@ export declare const SecurityTimelineEventsBody: Schema.Struct<{
|
|
|
1094
1444
|
export declare const SecurityTimelineListQuery: Schema.Struct<{
|
|
1095
1445
|
readonly limit: Schema.optional<Schema.Number>;
|
|
1096
1446
|
readonly beforeOccurredAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1097
|
-
readonly types: Schema.optional<Schema.$Array<Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.risk.assessed", "auth.policy.denied", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked"]>>>;
|
|
1098
|
-
readonly categories: Schema.optional<Schema.$Array<Schema.Literals<readonly ["api_key", "auth", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>>>;
|
|
1447
|
+
readonly types: Schema.optional<Schema.$Array<Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.session.assurance_changed", "auth.session.step_up_completed", "auth.session.primary_reauthenticated", "auth.session.recovery_remediation.entered", "auth.session.recovery_remediation.completed", "auth.risk.assessed", "auth.policy.denied", "auth.identity.added", "auth.identity.replaced", "auth.identity.revoked", "auth.identity.primary_changed", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked", "auth.permission_definition.created", "auth.permission_definition.updated", "auth.permission_definition.disabled", "auth.permission_definition.enabled", "auth.permission_definition.deleted", "auth.role_definition.created", "auth.role_definition.updated", "auth.role_definition.disabled", "auth.role_definition.enabled", "auth.role_definition.deleted", "auth.permission.granted", "auth.permission.revoked", "auth.role.granted", "auth.role.revoked", "auth.role_permission.assigned", "auth.role_permission.removed"]>>>;
|
|
1448
|
+
readonly categories: Schema.optional<Schema.$Array<Schema.Literals<readonly ["api_key", "auth", "authorization", "identity", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>>>;
|
|
1099
1449
|
}>;
|
|
1100
1450
|
export declare const AdminSecurityTimelineListQuery: Schema.Struct<{
|
|
1101
1451
|
readonly userId: Schema.brand<Schema.String, "auth/UserId">;
|
|
1102
1452
|
readonly limit: Schema.optional<Schema.Number>;
|
|
1103
1453
|
readonly beforeOccurredAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1104
|
-
readonly types: Schema.optional<Schema.$Array<Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.risk.assessed", "auth.policy.denied", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked"]>>>;
|
|
1105
|
-
readonly categories: Schema.optional<Schema.$Array<Schema.Literals<readonly ["api_key", "auth", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>>>;
|
|
1454
|
+
readonly types: Schema.optional<Schema.$Array<Schema.Literals<readonly ["auth.login.succeeded", "auth.login.failed", "auth.session.revoked", "auth.session.assurance_changed", "auth.session.step_up_completed", "auth.session.primary_reauthenticated", "auth.session.recovery_remediation.entered", "auth.session.recovery_remediation.completed", "auth.risk.assessed", "auth.policy.denied", "auth.identity.added", "auth.identity.replaced", "auth.identity.revoked", "auth.identity.primary_changed", "auth.oauth.account.linked", "auth.oauth.account.unlinked", "auth.oauth.link_confirmation.started", "auth.oauth.link_confirmation.confirmed", "auth.oauth.provider_token.refreshed", "auth.oauth.provider_token.revoked", "auth.passkey.credential.revoked", "auth.totp.enrollment.started", "auth.totp.factor.confirmed", "auth.totp.factor.verified", "auth.totp.factor.revoked", "auth.recovery_code.generated", "auth.recovery_code.verified", "auth.recovery_code.revoked", "auth.api_key.created", "auth.api_key.verified", "auth.api_key.revoked", "auth.api_key.verification_failed", "auth.refresh_token.issued", "auth.refresh_token.rotated", "auth.refresh_token.reuse_detected", "auth.refresh_token.revoked", "auth.incident_action.executed", "auth.jwt.introspected", "auth.jwt.revoked", "auth.permission_definition.created", "auth.permission_definition.updated", "auth.permission_definition.disabled", "auth.permission_definition.enabled", "auth.permission_definition.deleted", "auth.role_definition.created", "auth.role_definition.updated", "auth.role_definition.disabled", "auth.role_definition.enabled", "auth.role_definition.deleted", "auth.permission.granted", "auth.permission.revoked", "auth.role.granted", "auth.role.revoked", "auth.role_permission.assigned", "auth.role_permission.removed"]>>>;
|
|
1455
|
+
readonly categories: Schema.optional<Schema.$Array<Schema.Literals<readonly ["api_key", "auth", "authorization", "identity", "incident", "jwt", "mfa", "oauth", "policy", "refresh_token", "risk", "session"]>>>;
|
|
1106
1456
|
}>;
|
|
1107
1457
|
export declare const TrustedDeviceHttpBody: Schema.Struct<{
|
|
1108
1458
|
readonly deviceId: Schema.String;
|
|
@@ -1134,12 +1484,13 @@ export declare const RequiresMfaHttpBody: Schema.Struct<{
|
|
|
1134
1484
|
readonly type: Schema.Literal<"requires_mfa">;
|
|
1135
1485
|
readonly flowId: Schema.String;
|
|
1136
1486
|
readonly factors: Schema.$Array<Schema.Struct<{
|
|
1137
|
-
readonly type: Schema.
|
|
1487
|
+
readonly type: Schema.Literals<readonly ["totp", "backup-code", "passkey"]>;
|
|
1138
1488
|
}>>;
|
|
1139
1489
|
}>;
|
|
1140
1490
|
export declare const RequiresEmailVerificationHttpBody: Schema.Struct<{
|
|
1141
1491
|
readonly type: Schema.Literal<"requires_email_verification">;
|
|
1142
1492
|
readonly flowId: Schema.String;
|
|
1493
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
1143
1494
|
}>;
|
|
1144
1495
|
export declare const RequiresLoginApprovalHttpBody: Schema.Struct<{
|
|
1145
1496
|
readonly type: Schema.Literal<"requires_login_approval">;
|
|
@@ -1158,56 +1509,19 @@ export declare const RequiresPasskeyEnrollmentHttpBody: Schema.Struct<{
|
|
|
1158
1509
|
readonly type: Schema.Literal<"requires_passkey_enrollment">;
|
|
1159
1510
|
readonly flowId: Schema.String;
|
|
1160
1511
|
}>;
|
|
1161
|
-
export declare const
|
|
1512
|
+
export declare const MfaAuthSuccess: Schema.Union<readonly [Schema.Struct<{
|
|
1162
1513
|
readonly type: Schema.Literal<"authenticated">;
|
|
1163
1514
|
readonly expiresAt: Schema.Number;
|
|
1164
1515
|
readonly aal: Schema.Literals<readonly ["aal1", "aal2", "aal3"]>;
|
|
1165
1516
|
readonly amr: Schema.$Array<Schema.String>;
|
|
1166
1517
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1167
1518
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
1168
|
-
readonly
|
|
1519
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1169
1520
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1521
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1522
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1523
|
+
}>>;
|
|
1170
1524
|
}>>;
|
|
1171
|
-
}>, Schema.Struct<{
|
|
1172
|
-
readonly type: Schema.Literal<"requires_mfa">;
|
|
1173
|
-
readonly flowId: Schema.String;
|
|
1174
|
-
readonly factors: Schema.$Array<Schema.Struct<{
|
|
1175
|
-
readonly type: Schema.String;
|
|
1176
|
-
}>>;
|
|
1177
|
-
}>, Schema.Struct<{
|
|
1178
|
-
readonly type: Schema.Literal<"requires_email_verification">;
|
|
1179
|
-
readonly flowId: Schema.String;
|
|
1180
|
-
}>, Schema.Struct<{
|
|
1181
|
-
readonly type: Schema.Literal<"requires_login_approval">;
|
|
1182
|
-
readonly flowId: Schema.String;
|
|
1183
|
-
readonly approvalChallengeId: Schema.String;
|
|
1184
|
-
readonly channel: Schema.String;
|
|
1185
|
-
readonly sessionBinding: Schema.Literals<readonly ["originating-device", "approval-device", "none"]>;
|
|
1186
|
-
readonly sameDeviceRequired: Schema.Boolean;
|
|
1187
|
-
readonly reason: Schema.String;
|
|
1188
|
-
}>, Schema.Struct<{
|
|
1189
|
-
readonly type: Schema.Literal<"requires_passkey_enrollment">;
|
|
1190
|
-
readonly flowId: Schema.String;
|
|
1191
|
-
}>]>;
|
|
1192
|
-
export declare const EmailOtpAuthSuccess: Schema.Union<readonly [Schema.Struct<{
|
|
1193
|
-
readonly type: Schema.Literal<"authenticated">;
|
|
1194
|
-
readonly expiresAt: Schema.Number;
|
|
1195
|
-
readonly aal: Schema.Literals<readonly ["aal1", "aal2", "aal3"]>;
|
|
1196
|
-
readonly amr: Schema.$Array<Schema.String>;
|
|
1197
|
-
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1198
|
-
readonly claims: Schema.optional<Schema.Struct<{
|
|
1199
|
-
readonly emailVerified: Schema.optional<Schema.Boolean>;
|
|
1200
|
-
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1201
|
-
}>>;
|
|
1202
|
-
}>, Schema.Struct<{
|
|
1203
|
-
readonly type: Schema.Literal<"requires_mfa">;
|
|
1204
|
-
readonly flowId: Schema.String;
|
|
1205
|
-
readonly factors: Schema.$Array<Schema.Struct<{
|
|
1206
|
-
readonly type: Schema.String;
|
|
1207
|
-
}>>;
|
|
1208
|
-
}>, Schema.Struct<{
|
|
1209
|
-
readonly type: Schema.Literal<"requires_email_verification">;
|
|
1210
|
-
readonly flowId: Schema.String;
|
|
1211
1525
|
}>, Schema.Struct<{
|
|
1212
1526
|
readonly type: Schema.Literal<"requires_login_approval">;
|
|
1213
1527
|
readonly flowId: Schema.String;
|
|
@@ -1216,29 +1530,30 @@ export declare const EmailOtpAuthSuccess: Schema.Union<readonly [Schema.Struct<{
|
|
|
1216
1530
|
readonly sessionBinding: Schema.Literals<readonly ["originating-device", "approval-device", "none"]>;
|
|
1217
1531
|
readonly sameDeviceRequired: Schema.Boolean;
|
|
1218
1532
|
readonly reason: Schema.String;
|
|
1219
|
-
}>, Schema.Struct<{
|
|
1220
|
-
readonly type: Schema.Literal<"requires_passkey_enrollment">;
|
|
1221
|
-
readonly flowId: Schema.String;
|
|
1222
1533
|
}>]>;
|
|
1223
|
-
export declare const
|
|
1534
|
+
export declare const PrimaryAuthSuccess: Schema.Union<readonly [Schema.Struct<{
|
|
1224
1535
|
readonly type: Schema.Literal<"authenticated">;
|
|
1225
1536
|
readonly expiresAt: Schema.Number;
|
|
1226
1537
|
readonly aal: Schema.Literals<readonly ["aal1", "aal2", "aal3"]>;
|
|
1227
1538
|
readonly amr: Schema.$Array<Schema.String>;
|
|
1228
1539
|
readonly mfaVerifiedAt: Schema.optional<Schema.brand<Schema.Number, "auth/UnixMillis">>;
|
|
1229
1540
|
readonly claims: Schema.optional<Schema.Struct<{
|
|
1230
|
-
readonly
|
|
1541
|
+
readonly verifiedIdentityKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1231
1542
|
readonly requirements: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1543
|
+
readonly recoveryEnrollment: Schema.optional<Schema.Struct<{
|
|
1544
|
+
readonly allowed: Schema.$Array<Schema.String>;
|
|
1545
|
+
}>>;
|
|
1232
1546
|
}>>;
|
|
1233
1547
|
}>, Schema.Struct<{
|
|
1234
1548
|
readonly type: Schema.Literal<"requires_mfa">;
|
|
1235
1549
|
readonly flowId: Schema.String;
|
|
1236
1550
|
readonly factors: Schema.$Array<Schema.Struct<{
|
|
1237
|
-
readonly type: Schema.
|
|
1551
|
+
readonly type: Schema.Literals<readonly ["totp", "backup-code", "passkey"]>;
|
|
1238
1552
|
}>>;
|
|
1239
1553
|
}>, Schema.Struct<{
|
|
1240
1554
|
readonly type: Schema.Literal<"requires_email_verification">;
|
|
1241
1555
|
readonly flowId: Schema.String;
|
|
1556
|
+
readonly identityId: Schema.brand<Schema.String, "auth/IdentityId">;
|
|
1242
1557
|
}>, Schema.Struct<{
|
|
1243
1558
|
readonly type: Schema.Literal<"requires_login_approval">;
|
|
1244
1559
|
readonly flowId: Schema.String;
|