@tinyrack/issuary-server 0.31.0 → 0.32.2
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/entities/auth-budget.entity.d.ts +20 -0
- package/dist/entities/auth-budget.entity.d.ts.map +1 -0
- package/dist/entities/auth-budget.entity.js +11 -0
- package/dist/entities/auth-budget.entity.js.map +1 -0
- package/dist/entities/browser-session.entity.d.ts +32 -0
- package/dist/entities/browser-session.entity.d.ts.map +1 -0
- package/dist/entities/browser-session.entity.js +12 -0
- package/dist/entities/browser-session.entity.js.map +1 -0
- package/dist/entities/email-verification.entity.d.ts +18 -0
- package/dist/entities/email-verification.entity.d.ts.map +1 -1
- package/dist/entities/email-verification.entity.js +2 -0
- package/dist/entities/email-verification.entity.js.map +1 -1
- package/dist/entities/oauth-client.entity.d.ts +120 -0
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +120 -0
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.js +3 -0
- package/dist/entities/oauth-code.entity.js.map +1 -1
- package/dist/entities/oauth-device-code.entity.d.ts +120 -0
- package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.js +3 -0
- package/dist/entities/oauth-device-code.entity.js.map +1 -1
- package/dist/entities/oauth-grant.entity.d.ts +52 -0
- package/dist/entities/oauth-grant.entity.d.ts.map +1 -0
- package/dist/entities/oauth-grant.entity.js +19 -0
- package/dist/entities/oauth-grant.entity.js.map +1 -0
- package/dist/entities/password-reset.entity.d.ts +18 -0
- package/dist/entities/password-reset.entity.d.ts.map +1 -1
- package/dist/entities/password-reset.entity.js +2 -0
- package/dist/entities/password-reset.entity.js.map +1 -1
- package/dist/entities/pending-oauth-registration.entity.d.ts +9 -0
- package/dist/entities/pending-oauth-registration.entity.d.ts.map +1 -1
- package/dist/entities/pending-oauth-registration.entity.js +1 -0
- package/dist/entities/pending-oauth-registration.entity.js.map +1 -1
- package/dist/entities/revoked-token.entity.d.ts +120 -0
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/terms-content.entity.d.ts +36 -0
- package/dist/entities/terms-content.entity.d.ts.map +1 -1
- package/dist/entities/terms.entity.d.ts +36 -0
- package/dist/entities/terms.entity.d.ts.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +120 -0
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-terms-consent.entity.d.ts +36 -0
- package/dist/entities/user-terms-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-totp-recovery-code.entity.d.ts +36 -0
- package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.d.ts +36 -0
- package/dist/entities/user-totp.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.js +1 -0
- package/dist/entities/user-totp.entity.js.map +1 -1
- package/dist/entities/user.entity.d.ts +36 -0
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.js +3 -0
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entrypoints/app.d.ts +448 -437
- package/dist/entrypoints/app.d.ts.map +1 -1
- package/dist/entrypoints/app.js +78 -6
- package/dist/entrypoints/app.js.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts +326 -200
- package/dist/entrypoints/database/postgres/compiled-functions.js +1849 -518
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +326 -200
- package/dist/entrypoints/database/sqlite/compiled-functions.js +1849 -518
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/sqlite.d.ts.map +1 -1
- package/dist/entrypoints/database/sqlite/sqlite.js +1 -0
- package/dist/entrypoints/database/sqlite/sqlite.js.map +1 -1
- package/dist/entrypoints/scheduler/database.d.ts +3 -1
- package/dist/entrypoints/scheduler/database.d.ts.map +1 -1
- package/dist/entrypoints/scheduler/database.js +13 -2
- package/dist/entrypoints/scheduler/database.js.map +1 -1
- package/dist/entrypoints/scheduler/distributed-runner.d.ts +4 -0
- package/dist/entrypoints/scheduler/distributed-runner.d.ts.map +1 -1
- package/dist/entrypoints/scheduler/distributed-runner.js +26 -1
- package/dist/entrypoints/scheduler/distributed-runner.js.map +1 -1
- package/dist/lib/config/email.d.ts +1 -0
- package/dist/lib/config/email.d.ts.map +1 -1
- package/dist/lib/config/email.js.map +1 -1
- package/dist/lib/database/entities.d.ts.map +1 -1
- package/dist/lib/database/entities.js +6 -0
- package/dist/lib/database/entities.js.map +1 -1
- package/dist/lib/openapi.d.ts +2 -0
- package/dist/lib/openapi.d.ts.map +1 -1
- package/dist/lib/openapi.js +36 -1
- package/dist/lib/openapi.js.map +1 -1
- package/dist/lib/request-ip.d.ts +4 -0
- package/dist/lib/request-ip.d.ts.map +1 -0
- package/dist/lib/request-ip.js +39 -0
- package/dist/lib/request-ip.js.map +1 -0
- package/dist/middleware/auth-budget.d.ts +3 -0
- package/dist/middleware/auth-budget.d.ts.map +1 -0
- package/dist/middleware/auth-budget.js +80 -0
- package/dist/middleware/auth-budget.js.map +1 -0
- package/dist/middleware/session.d.ts +23 -5
- package/dist/middleware/session.d.ts.map +1 -1
- package/dist/middleware/session.js +152 -12
- package/dist/middleware/session.js.map +1 -1
- package/dist/middleware/strict-input.d.ts +4 -0
- package/dist/middleware/strict-input.d.ts.map +1 -0
- package/dist/middleware/strict-input.js +144 -0
- package/dist/middleware/strict-input.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.js +20 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.js +23 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.js +28 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.js +19 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.js.map +1 -0
- package/dist/migrations/postgres/index.d.ts.map +1 -1
- package/dist/migrations/postgres/index.js +8 -0
- package/dist/migrations/postgres/index.js.map +1 -1
- package/dist/migrations/sqlite/Migration20260910120000_api_security.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.js +20 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.js +23 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.d.ts +8 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.js +72 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.js +19 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.js.map +1 -0
- package/dist/migrations/sqlite/index.d.ts.map +1 -1
- package/dist/migrations/sqlite/index.js +8 -0
- package/dist/migrations/sqlite/index.js.map +1 -1
- package/dist/repositories/email-verification.repository.d.ts +1 -0
- package/dist/repositories/email-verification.repository.d.ts.map +1 -1
- package/dist/repositories/email-verification.repository.js +8 -17
- package/dist/repositories/email-verification.repository.js.map +1 -1
- package/dist/repositories/oauth-code.repository.d.ts +2 -0
- package/dist/repositories/oauth-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-code.repository.js +8 -0
- package/dist/repositories/oauth-code.repository.js.map +1 -1
- package/dist/repositories/oauth-device-code.repository.d.ts +3 -0
- package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-device-code.repository.js +64 -29
- package/dist/repositories/oauth-device-code.repository.js.map +1 -1
- package/dist/repositories/password-reset.repository.d.ts +1 -0
- package/dist/repositories/password-reset.repository.d.ts.map +1 -1
- package/dist/repositories/password-reset.repository.js +6 -19
- package/dist/repositories/password-reset.repository.js.map +1 -1
- package/dist/repositories/pending-oauth-registration.repository.d.ts +2 -0
- package/dist/repositories/pending-oauth-registration.repository.d.ts.map +1 -1
- package/dist/repositories/pending-oauth-registration.repository.js +16 -2
- package/dist/repositories/pending-oauth-registration.repository.js.map +1 -1
- package/dist/repositories/terms.repository.d.ts.map +1 -1
- package/dist/repositories/terms.repository.js +1 -0
- package/dist/repositories/terms.repository.js.map +1 -1
- package/dist/repositories/user-consent.repository.d.ts.map +1 -1
- package/dist/repositories/user-consent.repository.js +1 -1
- package/dist/repositories/user-consent.repository.js.map +1 -1
- package/dist/repositories/user-terms-consent.repository.d.ts.map +1 -1
- package/dist/repositories/user-terms-consent.repository.js +2 -0
- package/dist/repositories/user-terms-consent.repository.js.map +1 -1
- package/dist/repositories/user-totp-recovery-code.repository.d.ts +24 -0
- package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -1
- package/dist/repositories/user-totp.repository.d.ts +36 -0
- package/dist/repositories/user-totp.repository.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.js +5 -1
- package/dist/routes/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/api/admin/console/index.d.ts.map +1 -1
- package/dist/routes/api/admin/console/index.js +29 -14
- package/dist/routes/api/admin/console/index.js.map +1 -1
- package/dist/routes/api/admin/me/get.js +2 -3
- package/dist/routes/api/admin/me/get.js.map +1 -1
- package/dist/routes/api/admin/users/index.d.ts.map +1 -1
- package/dist/routes/api/admin/users/index.js +59 -52
- package/dist/routes/api/admin/users/index.js.map +1 -1
- package/dist/routes/api/auth/accounts/remove.post.d.ts +5 -5
- package/dist/routes/api/auth/email/resend/post.d.ts.map +1 -1
- package/dist/routes/api/auth/email/resend/post.js +3 -24
- package/dist/routes/api/auth/email/resend/post.js.map +1 -1
- package/dist/routes/api/auth/email/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/email/verify/post.js +29 -12
- package/dist/routes/api/auth/email/verify/post.js.map +1 -1
- package/dist/routes/api/auth/login/post.d.ts.map +1 -1
- package/dist/routes/api/auth/login/post.js +4 -3
- package/dist/routes/api/auth/login/post.js.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.js +25 -11
- package/dist/routes/api/auth/passkey/verify/post.js.map +1 -1
- package/dist/routes/api/auth/password/forgot/post.d.ts.map +1 -1
- package/dist/routes/api/auth/password/forgot/post.js +2 -19
- package/dist/routes/api/auth/password/forgot/post.js.map +1 -1
- package/dist/routes/api/auth/register/post.d.ts.map +1 -1
- package/dist/routes/api/auth/register/post.js +4 -3
- package/dist/routes/api/auth/register/post.js.map +1 -1
- package/dist/routes/api/auth/totp/recovery/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/recovery/verify/post.js +7 -5
- package/dist/routes/api/auth/totp/recovery/verify/post.js.map +1 -1
- package/dist/routes/api/auth/totp/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/verify/post.js +7 -5
- package/dist/routes/api/auth/totp/verify/post.js.map +1 -1
- package/dist/routes/api/consent/post.d.ts.map +1 -1
- package/dist/routes/api/consent/post.js +141 -120
- package/dist/routes/api/consent/post.js.map +1 -1
- package/dist/routes/api/docs/get.d.ts.map +1 -1
- package/dist/routes/api/docs/get.js +8 -1
- package/dist/routes/api/docs/get.js.map +1 -1
- package/dist/routes/api/index.d.ts +379 -379
- package/dist/routes/api/oauth/_provider/authorize/get.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/authorize/get.js +5 -1
- package/dist/routes/api/oauth/_provider/authorize/get.js.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/get.d.ts +9 -9
- package/dist/routes/api/oauth/_provider/callback/get.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/get.js +30 -6
- package/dist/routes/api/oauth/_provider/callback/get.js.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/post.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/post.js +31 -31
- package/dist/routes/api/oauth/_provider/callback/post.js.map +1 -1
- package/dist/routes/api/oauth/_provider/delete.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/delete.js +14 -11
- package/dist/routes/api/oauth/_provider/delete.js.map +1 -1
- package/dist/routes/api/oauth/index.d.ts +18 -18
- package/dist/routes/api/terms/consent/post.d.ts.map +1 -1
- package/dist/routes/api/terms/consent/post.js +59 -43
- package/dist/routes/api/terms/consent/post.js.map +1 -1
- package/dist/routes/api/user/delete.d.ts.map +1 -1
- package/dist/routes/api/user/delete.js +8 -8
- package/dist/routes/api/user/delete.js.map +1 -1
- package/dist/routes/api/user/passkeys/_id/delete.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/_id/delete.js +17 -29
- package/dist/routes/api/user/passkeys/_id/delete.js.map +1 -1
- package/dist/routes/api/user/passkeys/_id/patch.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/_id/patch.js +16 -13
- package/dist/routes/api/user/passkeys/_id/patch.js.map +1 -1
- package/dist/routes/api/user/passkeys/register/verify/post.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/register/verify/post.js +27 -19
- package/dist/routes/api/user/passkeys/register/verify/post.js.map +1 -1
- package/dist/routes/api/user/password/delete.d.ts.map +1 -1
- package/dist/routes/api/user/password/delete.js +13 -10
- package/dist/routes/api/user/password/delete.js.map +1 -1
- package/dist/routes/api/user/password/post.d.ts.map +1 -1
- package/dist/routes/api/user/password/post.js +13 -10
- package/dist/routes/api/user/password/post.js.map +1 -1
- package/dist/routes/api/user/password/put.d.ts.map +1 -1
- package/dist/routes/api/user/password/put.js +13 -10
- package/dist/routes/api/user/password/put.js.map +1 -1
- package/dist/routes/api/user/totp/confirm/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/confirm/post.js +33 -18
- package/dist/routes/api/user/totp/confirm/post.js.map +1 -1
- package/dist/routes/api/user/totp/delete.d.ts.map +1 -1
- package/dist/routes/api/user/totp/delete.js +13 -18
- package/dist/routes/api/user/totp/delete.js.map +1 -1
- package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/recovery/regenerate/post.js +13 -10
- package/dist/routes/api/user/totp/recovery/regenerate/post.js.map +1 -1
- package/dist/routes/api/user/totp/setup/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/setup/post.js +13 -8
- package/dist/routes/api/user/totp/setup/post.js.map +1 -1
- package/dist/routes/api/user/totp/verify/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/verify/post.js +23 -12
- package/dist/routes/api/user/totp/verify/post.js.map +1 -1
- package/dist/routes/index.d.ts +252 -242
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.js +12 -4
- package/dist/routes/oauth/authorize/get.js.map +1 -1
- package/dist/routes/oauth/device/get-post.d.ts +10 -0
- package/dist/routes/oauth/device/get-post.d.ts.map +1 -1
- package/dist/routes/oauth/device/get-post.js +32 -3
- package/dist/routes/oauth/device/get-post.js.map +1 -1
- package/dist/routes/oauth/device-authorization/post.d.ts.map +1 -1
- package/dist/routes/oauth/device-authorization/post.js +13 -7
- package/dist/routes/oauth/device-authorization/post.js.map +1 -1
- package/dist/routes/oauth/end-session/get.d.ts.map +1 -1
- package/dist/routes/oauth/end-session/get.js +2 -3
- package/dist/routes/oauth/end-session/get.js.map +1 -1
- package/dist/routes/oauth/index.d.ts +10 -0
- package/dist/routes/oauth/index.d.ts.map +1 -1
- package/dist/routes/oauth/revoke/post.d.ts.map +1 -1
- package/dist/routes/oauth/revoke/post.js +10 -2
- package/dist/routes/oauth/revoke/post.js.map +1 -1
- package/dist/routes/oauth/token/post.d.ts.map +1 -1
- package/dist/routes/oauth/token/post.js +69 -57
- package/dist/routes/oauth/token/post.js.map +1 -1
- package/dist/schemas/error.d.ts +75 -0
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +3 -0
- package/dist/schemas/error.js.map +1 -1
- package/dist/schemas/field.d.ts.map +1 -1
- package/dist/schemas/field.js +3 -0
- package/dist/schemas/field.js.map +1 -1
- package/dist/seeders/config.seeder.d.ts +1 -1
- package/dist/seeders/config.seeder.d.ts.map +1 -1
- package/dist/seeders/config.seeder.js +100 -36
- package/dist/seeders/config.seeder.js.map +1 -1
- package/dist/services/admin-console.service.d.ts.map +1 -1
- package/dist/services/admin-console.service.js +137 -100
- package/dist/services/admin-console.service.js.map +1 -1
- package/dist/services/auth-budget.service.d.ts +6 -0
- package/dist/services/auth-budget.service.d.ts.map +1 -0
- package/dist/services/auth-budget.service.js +30 -0
- package/dist/services/auth-budget.service.js.map +1 -0
- package/dist/services/authentication-epoch.d.ts +5 -0
- package/dist/services/authentication-epoch.d.ts.map +1 -0
- package/dist/services/authentication-epoch.js +22 -0
- package/dist/services/authentication-epoch.js.map +1 -0
- package/dist/services/authorization-browser.service.d.ts +18 -0
- package/dist/services/authorization-browser.service.d.ts.map +1 -0
- package/dist/services/authorization-browser.service.js +28 -0
- package/dist/services/authorization-browser.service.js.map +1 -0
- package/dist/services/browser-security.service.d.ts +14 -0
- package/dist/services/browser-security.service.d.ts.map +1 -0
- package/dist/services/browser-security.service.js +85 -0
- package/dist/services/browser-security.service.js.map +1 -0
- package/dist/services/browser-session.service.d.ts +25 -0
- package/dist/services/browser-session.service.d.ts.map +1 -0
- package/dist/services/browser-session.service.js +102 -0
- package/dist/services/browser-session.service.js.map +1 -0
- package/dist/services/cleanup.service.d.ts +1 -0
- package/dist/services/cleanup.service.d.ts.map +1 -1
- package/dist/services/cleanup.service.js +31 -0
- package/dist/services/cleanup.service.js.map +1 -1
- package/dist/services/client-security.d.ts +641 -0
- package/dist/services/client-security.d.ts.map +1 -0
- package/dist/services/client-security.js +10 -0
- package/dist/services/client-security.js.map +1 -0
- package/dist/services/container.d.ts +2 -0
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/container.js +6 -2
- package/dist/services/container.js.map +1 -1
- package/dist/services/email.service.d.ts +2 -14
- package/dist/services/email.service.d.ts.map +1 -1
- package/dist/services/email.service.js +35 -29
- package/dist/services/email.service.js.map +1 -1
- package/dist/services/jwt.service.d.ts +1 -0
- package/dist/services/jwt.service.d.ts.map +1 -1
- package/dist/services/jwt.service.js +13 -1
- package/dist/services/jwt.service.js.map +1 -1
- package/dist/services/mail-queue.service.d.ts +24 -0
- package/dist/services/mail-queue.service.d.ts.map +1 -0
- package/dist/services/mail-queue.service.js +223 -0
- package/dist/services/mail-queue.service.js.map +1 -0
- package/dist/services/mikro.service.d.ts.map +1 -1
- package/dist/services/mikro.service.js +2 -0
- package/dist/services/mikro.service.js.map +1 -1
- package/dist/services/oauth-authorize.service.d.ts +3 -0
- package/dist/services/oauth-authorize.service.d.ts.map +1 -1
- package/dist/services/oauth-authorize.service.js +131 -101
- package/dist/services/oauth-authorize.service.js.map +1 -1
- package/dist/services/oauth-browser-security.service.d.ts +7 -0
- package/dist/services/oauth-browser-security.service.d.ts.map +1 -0
- package/dist/services/oauth-browser-security.service.js +67 -0
- package/dist/services/oauth-browser-security.service.js.map +1 -0
- package/dist/services/oauth-client.service.d.ts +24 -1
- package/dist/services/oauth-client.service.d.ts.map +1 -1
- package/dist/services/oauth-client.service.js +52 -13
- package/dist/services/oauth-client.service.js.map +1 -1
- package/dist/services/oauth-connect.service.d.ts +37 -3
- package/dist/services/oauth-connect.service.d.ts.map +1 -1
- package/dist/services/oauth-connect.service.js +236 -212
- package/dist/services/oauth-connect.service.js.map +1 -1
- package/dist/services/oauth-token.service.d.ts +6 -4
- package/dist/services/oauth-token.service.d.ts.map +1 -1
- package/dist/services/oauth-token.service.js +295 -209
- package/dist/services/oauth-token.service.js.map +1 -1
- package/dist/services/passkey.service.d.ts +26 -7
- package/dist/services/passkey.service.d.ts.map +1 -1
- package/dist/services/passkey.service.js +71 -42
- package/dist/services/passkey.service.js.map +1 -1
- package/dist/services/password-auth.service.d.ts +5 -1
- package/dist/services/password-auth.service.d.ts.map +1 -1
- package/dist/services/password-auth.service.js +79 -52
- package/dist/services/password-auth.service.js.map +1 -1
- package/dist/services/password-reset.service.d.ts.map +1 -1
- package/dist/services/password-reset.service.js +34 -15
- package/dist/services/password-reset.service.js.map +1 -1
- package/dist/services/security.service.d.ts +3 -1
- package/dist/services/security.service.d.ts.map +1 -1
- package/dist/services/security.service.js +11 -2
- package/dist/services/security.service.js.map +1 -1
- package/dist/services/terms-policy.service.d.ts +7 -0
- package/dist/services/terms-policy.service.d.ts.map +1 -0
- package/dist/services/terms-policy.service.js +26 -0
- package/dist/services/terms-policy.service.js.map +1 -0
- package/dist/services/totp.service.d.ts +4 -5
- package/dist/services/totp.service.d.ts.map +1 -1
- package/dist/services/totp.service.js +116 -86
- package/dist/services/totp.service.js.map +1 -1
- package/dist/services/user-security.service.d.ts +15 -0
- package/dist/services/user-security.service.d.ts.map +1 -0
- package/dist/services/user-security.service.js +57 -0
- package/dist/services/user-security.service.js.map +1 -0
- package/dist/services/user.service.d.ts +6 -4
- package/dist/services/user.service.d.ts.map +1 -1
- package/dist/services/user.service.js +143 -121
- package/dist/services/user.service.js.map +1 -1
- package/frontend/client/assets/{auth-layout-BedWIZ7L.js → auth-layout-sea6nww4.js} +1 -1
- package/frontend/client/assets/{auth-page-header-C6Z6Air-.js → auth-page-header-CV85AJLW.js} +1 -1
- package/frontend/client/assets/document-navigation-FZbb5ldf.js +1 -0
- package/frontend/client/assets/i18n-vfKY-byx.js +1 -0
- package/frontend/client/assets/{language-selector-CeLHnp1n.js → language-selector-Jso2cQNI.js} +1 -1
- package/frontend/client/assets/manifest-90703545.js +1 -0
- package/frontend/client/assets/{passkey-Bkqvhjwb.js → passkey-CJhT-7yO.js} +1 -1
- package/frontend/client/assets/{promise-CepnkPDw.js → promise-BP9iSIs-.js} +1 -1
- package/frontend/client/assets/{root-CM8lJbh5.js → root-BkavuloG.js} +1 -1
- package/frontend/client/assets/{route-Y1_yJKhW.js → route-B0udr9eT.js} +1 -1
- package/frontend/client/assets/{route-CdPHVY9W.js → route-B3Uv9aTa.js} +1 -1
- package/frontend/client/assets/{route-CF1S7UUy.js → route-B6hIfgxz.js} +1 -1
- package/frontend/client/assets/{route-BcXtt6V2.js → route-BEWds2g-.js} +1 -1
- package/frontend/client/assets/route-Bm9LsorH.js +1 -0
- package/frontend/client/assets/route-Btv5Y69z.js +1 -0
- package/frontend/client/assets/route-BvyDzziE.js +1 -0
- package/frontend/client/assets/route-C6kG9u7j.js +1 -0
- package/frontend/client/assets/{route-1rid8j-3.js → route-C7C3Z0vI.js} +1 -1
- package/frontend/client/assets/{route-DphbGk_G.js → route-CVyefM3x.js} +1 -1
- package/frontend/client/assets/{route-DZvCkU11.js → route-CXth2Wqz.js} +1 -1
- package/frontend/client/assets/route-D0IqOurp.js +1 -0
- package/frontend/client/assets/route-DHmYUnJR.js +1 -0
- package/frontend/client/assets/route-DTjZQ_Fl.js +1 -0
- package/frontend/client/assets/route-D_dTeu1b.js +1 -0
- package/frontend/client/assets/{route-DkoXJmYM.js → route-Dj8gVemC.js} +1 -1
- package/frontend/client/assets/{route-DrtpzI6u.js → route-DnhPlHOi.js} +1 -1
- package/frontend/client/assets/route-FY92YQhF.js +1 -0
- package/frontend/client/assets/{route-CKiun7AR.js → route-PcLpZHbT.js} +1 -1
- package/frontend/client/assets/{route-BwhQptmx.js → route-qpE7i22X.js} +1 -1
- package/frontend/client/assets/{route-HA9dma-h.js → route-wK89gmoS.js} +1 -1
- package/frontend/client/assets/security-error-message-CMsTsiWf.js +1 -0
- package/frontend/client/assets/{shell-header-bar-CjPlfRKT.js → shell-header-bar-DRx10tE5.js} +1 -1
- package/frontend/client/assets/{terms-BGJD_l_i.js → terms-Bu9Itxxs.js} +1 -1
- package/frontend/client/assets/{use-totp-setup-Cwuds2tR.js → use-totp-setup-CoOXWOcT.js} +1 -1
- package/frontend/server/assets/{hydration-B63_G0fd.js → hydration-DWMjpNav.js} +1 -1
- package/frontend/server/assets/{root-loader.server-DUIBlg_3.js → root-loader.server-B4OqoLGG.js} +3 -3
- package/frontend/server/assets/{route-runtime.server-DiqwWb8W.js → route-runtime.server-03_pjVDT.js} +1 -1
- package/frontend/server/assets/{session-BaAt7WMI.js → session-sJkmzJie.js} +36 -24
- package/frontend/server/index.js +239 -193
- package/package.json +1 -1
- package/frontend/client/assets/document-navigation-Cnp3Alf0.js +0 -1
- package/frontend/client/assets/i18n-Dzv9HKFm.js +0 -1
- package/frontend/client/assets/manifest-71025d92.js +0 -1
- package/frontend/client/assets/route-B4jDMFTW.js +0 -1
- package/frontend/client/assets/route-C-DecXPL.js +0 -1
- package/frontend/client/assets/route-CGTMMDiX.js +0 -1
- package/frontend/client/assets/route-CMJbXiDe.js +0 -1
- package/frontend/client/assets/route-DBpAiakW.js +0 -1
- package/frontend/client/assets/route-DS92RKs5.js +0 -1
- package/frontend/client/assets/route-Dc6G2aDX.js +0 -1
- package/frontend/client/assets/route-DqAmRSJE.js +0 -1
- package/frontend/client/assets/route-Ezzcj26w.js +0 -1
|
@@ -9,7 +9,7 @@ export type CreateAppRuntimeOptions = InitializeServicesOptions & {
|
|
|
9
9
|
reactRouter?: ReactRouterRuntimeOptions | undefined;
|
|
10
10
|
};
|
|
11
11
|
export declare function createApp(options: CreateAppOptions, runtimeOptions?: CreateAppRuntimeOptions): Promise<{
|
|
12
|
-
app: import("hono/hono-base").HonoBase<import("../middleware/logger.ts").LoggerEnv & import("../middleware/session.ts").SessionEnv & import("../
|
|
12
|
+
app: import("hono/hono-base").HonoBase<import("../middleware/logger.ts").LoggerEnv & import("../middleware/services.ts").ServicesEnv & import("../middleware/session.ts").SessionEnv & import("../lib/app-env.ts").AppEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
13
13
|
"/openid-configuration": {
|
|
14
14
|
$get: {
|
|
15
15
|
output: {
|
|
@@ -46,6 +46,42 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
}, "/">, "/.well-known"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
49
|
+
"/.well-known/openid-configuration": {
|
|
50
|
+
$get: {
|
|
51
|
+
output: {
|
|
52
|
+
issuer: string;
|
|
53
|
+
authorization_endpoint: string;
|
|
54
|
+
token_endpoint: string;
|
|
55
|
+
jwks_uri: string;
|
|
56
|
+
response_types_supported: string[];
|
|
57
|
+
response_modes_supported: string[];
|
|
58
|
+
subject_types_supported: string[];
|
|
59
|
+
id_token_signing_alg_values_supported: string[];
|
|
60
|
+
userinfo_signing_alg_values_supported: string[];
|
|
61
|
+
userinfo_endpoint: string;
|
|
62
|
+
scopes_supported: string[];
|
|
63
|
+
claims_supported: string[];
|
|
64
|
+
prompt_values_supported: string[];
|
|
65
|
+
grant_types_supported: string[];
|
|
66
|
+
token_endpoint_auth_methods_supported: string[];
|
|
67
|
+
introspection_endpoint_auth_methods_supported: string[];
|
|
68
|
+
revocation_endpoint_auth_methods_supported: string[];
|
|
69
|
+
code_challenge_methods_supported: string[];
|
|
70
|
+
introspection_endpoint: string;
|
|
71
|
+
revocation_endpoint: string;
|
|
72
|
+
end_session_endpoint: string;
|
|
73
|
+
device_authorization_endpoint: string;
|
|
74
|
+
ui_locales_supported: ("en" | "ja" | "ko")[];
|
|
75
|
+
request_parameter_supported: boolean;
|
|
76
|
+
request_uri_parameter_supported: boolean;
|
|
77
|
+
claims_parameter_supported: boolean;
|
|
78
|
+
};
|
|
79
|
+
outputFormat: "json";
|
|
80
|
+
status: 200;
|
|
81
|
+
input: {};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
49
85
|
"/end_session": {
|
|
50
86
|
$get: {
|
|
51
87
|
output: undefined;
|
|
@@ -220,42 +256,6 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
220
256
|
input: {};
|
|
221
257
|
};
|
|
222
258
|
};
|
|
223
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
224
|
-
"/.well-known/openid-configuration": {
|
|
225
|
-
$get: {
|
|
226
|
-
output: {
|
|
227
|
-
issuer: string;
|
|
228
|
-
authorization_endpoint: string;
|
|
229
|
-
token_endpoint: string;
|
|
230
|
-
jwks_uri: string;
|
|
231
|
-
response_types_supported: string[];
|
|
232
|
-
response_modes_supported: string[];
|
|
233
|
-
subject_types_supported: string[];
|
|
234
|
-
id_token_signing_alg_values_supported: string[];
|
|
235
|
-
userinfo_signing_alg_values_supported: string[];
|
|
236
|
-
userinfo_endpoint: string;
|
|
237
|
-
scopes_supported: string[];
|
|
238
|
-
claims_supported: string[];
|
|
239
|
-
prompt_values_supported: string[];
|
|
240
|
-
grant_types_supported: string[];
|
|
241
|
-
token_endpoint_auth_methods_supported: string[];
|
|
242
|
-
introspection_endpoint_auth_methods_supported: string[];
|
|
243
|
-
revocation_endpoint_auth_methods_supported: string[];
|
|
244
|
-
code_challenge_methods_supported: string[];
|
|
245
|
-
introspection_endpoint: string;
|
|
246
|
-
revocation_endpoint: string;
|
|
247
|
-
end_session_endpoint: string;
|
|
248
|
-
device_authorization_endpoint: string;
|
|
249
|
-
ui_locales_supported: ("en" | "ja" | "ko")[];
|
|
250
|
-
request_parameter_supported: boolean;
|
|
251
|
-
request_uri_parameter_supported: boolean;
|
|
252
|
-
claims_parameter_supported: boolean;
|
|
253
|
-
};
|
|
254
|
-
outputFormat: "json";
|
|
255
|
-
status: 200;
|
|
256
|
-
input: {};
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
259
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
260
260
|
"/device": {
|
|
261
261
|
$get: {
|
|
@@ -268,6 +268,16 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
268
268
|
} & {
|
|
269
269
|
"/device": {
|
|
270
270
|
$post: {
|
|
271
|
+
output: undefined;
|
|
272
|
+
outputFormat: "redirect";
|
|
273
|
+
status: 303;
|
|
274
|
+
input: {
|
|
275
|
+
form: {
|
|
276
|
+
user_code: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue;
|
|
277
|
+
decision?: "approve" | "deny" | undefined;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
} | {
|
|
271
281
|
output: {
|
|
272
282
|
status: string;
|
|
273
283
|
client_id: string;
|
|
@@ -315,22 +325,10 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
315
325
|
};
|
|
316
326
|
};
|
|
317
327
|
}, "/">, "/oauth"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
318
|
-
"/
|
|
328
|
+
"/auth/2fa/methods": {
|
|
319
329
|
$get: {
|
|
320
330
|
output: {
|
|
321
|
-
|
|
322
|
-
managed_by: "config" | "database";
|
|
323
|
-
sub: string;
|
|
324
|
-
email: string;
|
|
325
|
-
role: "admin" | "user";
|
|
326
|
-
email_verified: boolean;
|
|
327
|
-
email_verification_required: boolean;
|
|
328
|
-
has_password: boolean;
|
|
329
|
-
totp_registered: boolean;
|
|
330
|
-
totp_recovery_codes_missing: boolean;
|
|
331
|
-
second_factor_required: boolean;
|
|
332
|
-
passkey_count: number;
|
|
333
|
-
};
|
|
331
|
+
methods: ("passkey" | "totp")[];
|
|
334
332
|
};
|
|
335
333
|
outputFormat: "json";
|
|
336
334
|
status: 200;
|
|
@@ -338,235 +336,39 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
338
336
|
};
|
|
339
337
|
};
|
|
340
338
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
341
|
-
"/auth/
|
|
339
|
+
"/auth/email/resend": {
|
|
342
340
|
$post: {
|
|
343
341
|
output: {
|
|
344
|
-
code: string;
|
|
345
342
|
message: string;
|
|
346
343
|
};
|
|
347
344
|
outputFormat: "json";
|
|
348
|
-
status: 400;
|
|
349
|
-
input: {
|
|
350
|
-
json: {
|
|
351
|
-
sub: string;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
} | {
|
|
355
|
-
output: {
|
|
356
|
-
ok: true;
|
|
357
|
-
active_sub: string;
|
|
358
|
-
};
|
|
359
|
-
outputFormat: "json";
|
|
360
345
|
status: 200;
|
|
361
346
|
input: {
|
|
362
|
-
|
|
363
|
-
|
|
347
|
+
header: {
|
|
348
|
+
'accept-language'?: string | undefined;
|
|
364
349
|
};
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
369
|
-
"/auth/logout": {
|
|
370
|
-
$post: {
|
|
371
|
-
output: {
|
|
372
|
-
ok: true;
|
|
373
|
-
};
|
|
374
|
-
outputFormat: "json";
|
|
375
|
-
status: 200;
|
|
376
|
-
input: {};
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
380
|
-
"/auth/password/reset": {
|
|
381
|
-
$post: {
|
|
382
|
-
output: {
|
|
383
|
-
message: string;
|
|
384
|
-
};
|
|
385
|
-
outputFormat: "json";
|
|
386
|
-
status: 200;
|
|
387
|
-
input: {
|
|
350
|
+
} & {
|
|
388
351
|
json: {
|
|
389
|
-
token: string;
|
|
390
|
-
password: string;
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
396
|
-
"/auth/totp/verify": {
|
|
397
|
-
$post: {
|
|
398
|
-
output: {
|
|
399
|
-
user: {
|
|
400
|
-
managed_by: "config" | "database";
|
|
401
|
-
sub: string;
|
|
402
352
|
email: string;
|
|
403
|
-
role: "admin" | "user";
|
|
404
|
-
email_verified: boolean;
|
|
405
|
-
email_verification_required: boolean;
|
|
406
|
-
has_password: boolean;
|
|
407
|
-
totp_registered: boolean;
|
|
408
|
-
totp_recovery_codes_missing: boolean;
|
|
409
|
-
second_factor_required: boolean;
|
|
410
|
-
passkey_count: number;
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
outputFormat: "json";
|
|
414
|
-
status: 200;
|
|
415
|
-
input: {
|
|
416
|
-
json: {
|
|
417
|
-
code: string;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
423
|
-
"/docs": {
|
|
424
|
-
$get: {
|
|
425
|
-
output: {};
|
|
426
|
-
outputFormat: string;
|
|
427
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
428
|
-
input: {};
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
432
|
-
"/health/ready": {
|
|
433
|
-
$get: {
|
|
434
|
-
output: {
|
|
435
|
-
status: 'ok';
|
|
436
|
-
checks: {
|
|
437
|
-
database: 'ok';
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
outputFormat: "json";
|
|
441
|
-
status: 200;
|
|
442
|
-
input: {};
|
|
443
|
-
} | {
|
|
444
|
-
output: {
|
|
445
|
-
status: 'error';
|
|
446
|
-
checks: {
|
|
447
|
-
database: "error";
|
|
448
|
-
};
|
|
449
|
-
error: string | undefined;
|
|
450
|
-
};
|
|
451
|
-
outputFormat: "json";
|
|
452
|
-
status: 503;
|
|
453
|
-
input: {};
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
457
|
-
"/oauth/:provider/callback": {
|
|
458
|
-
$post: {
|
|
459
|
-
output: undefined;
|
|
460
|
-
outputFormat: "redirect";
|
|
461
|
-
status: 302;
|
|
462
|
-
input: {
|
|
463
|
-
param: {
|
|
464
|
-
provider: string;
|
|
465
|
-
};
|
|
466
|
-
} & {
|
|
467
|
-
form: {
|
|
468
|
-
code?: string | undefined;
|
|
469
|
-
state?: string | undefined;
|
|
470
|
-
error?: string | undefined;
|
|
471
|
-
error_description?: string | undefined;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
} | {
|
|
475
|
-
output: {
|
|
476
|
-
code: any;
|
|
477
|
-
message: any;
|
|
478
|
-
};
|
|
479
|
-
outputFormat: "json";
|
|
480
|
-
status: any;
|
|
481
|
-
input: {
|
|
482
|
-
param: {
|
|
483
|
-
provider: string;
|
|
484
|
-
};
|
|
485
|
-
} & {
|
|
486
|
-
form: {
|
|
487
|
-
code?: string | undefined;
|
|
488
|
-
state?: string | undefined;
|
|
489
|
-
error?: string | undefined;
|
|
490
|
-
error_description?: string | undefined;
|
|
491
353
|
};
|
|
492
354
|
};
|
|
493
355
|
};
|
|
494
356
|
};
|
|
495
357
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
496
|
-
"/
|
|
497
|
-
$post: {
|
|
498
|
-
output: {
|
|
499
|
-
ok: true;
|
|
500
|
-
recorded: number;
|
|
501
|
-
};
|
|
502
|
-
outputFormat: "json";
|
|
503
|
-
status: 200;
|
|
504
|
-
input: {
|
|
505
|
-
json: {
|
|
506
|
-
consents: {
|
|
507
|
-
termsId: string;
|
|
508
|
-
agreed: boolean;
|
|
509
|
-
consentType?: "explicit" | "implicit" | undefined;
|
|
510
|
-
}[];
|
|
511
|
-
registrationToken?: string | undefined;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
517
|
-
"/user/oauth-accounts": {
|
|
518
|
-
$get: {
|
|
519
|
-
output: {
|
|
520
|
-
accounts: {
|
|
521
|
-
provider_name: string;
|
|
522
|
-
linked_at: string;
|
|
523
|
-
}[];
|
|
524
|
-
available_providers: {
|
|
525
|
-
id: string;
|
|
526
|
-
display_name: string;
|
|
527
|
-
icon_url: string | undefined;
|
|
528
|
-
linked: boolean;
|
|
529
|
-
}[];
|
|
530
|
-
};
|
|
531
|
-
outputFormat: "json";
|
|
532
|
-
status: 200;
|
|
533
|
-
input: {};
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
537
|
-
"/user/passkeys/register/options": {
|
|
358
|
+
"/auth/passkey/options": {
|
|
538
359
|
$post: {
|
|
539
360
|
output: {
|
|
540
361
|
options: {
|
|
541
|
-
rp: {
|
|
542
|
-
id?: string;
|
|
543
|
-
name: string;
|
|
544
|
-
};
|
|
545
|
-
user: {
|
|
546
|
-
id: string;
|
|
547
|
-
name: string;
|
|
548
|
-
displayName: string;
|
|
549
|
-
};
|
|
550
362
|
challenge: import("@simplewebauthn/server").Base64URLString;
|
|
551
|
-
pubKeyCredParams: {
|
|
552
|
-
alg: import("@simplewebauthn/server").COSEAlgorithmIdentifier;
|
|
553
|
-
type: import("@simplewebauthn/server").PublicKeyCredentialType;
|
|
554
|
-
}[];
|
|
555
363
|
timeout?: number;
|
|
556
|
-
|
|
364
|
+
rpId?: string;
|
|
365
|
+
allowCredentials?: {
|
|
557
366
|
id: import("@simplewebauthn/server").Base64URLString;
|
|
558
367
|
transports?: string[];
|
|
559
368
|
type: string;
|
|
560
369
|
}[] | undefined;
|
|
561
|
-
|
|
562
|
-
authenticatorAttachment?: import("@simplewebauthn/server").AuthenticatorAttachment;
|
|
563
|
-
requireResidentKey?: boolean;
|
|
564
|
-
residentKey?: import("@simplewebauthn/server").ResidentKeyRequirement;
|
|
565
|
-
userVerification?: import("@simplewebauthn/server").UserVerificationRequirement;
|
|
566
|
-
} | undefined;
|
|
370
|
+
userVerification?: import("@simplewebauthn/server").UserVerificationRequirement;
|
|
567
371
|
hints?: import("@simplewebauthn/server").PublicKeyCredentialHint[];
|
|
568
|
-
attestation?: import("@simplewebauthn/server").AttestationConveyancePreference;
|
|
569
|
-
attestationFormats?: import("@simplewebauthn/server").AttestationFormat[];
|
|
570
372
|
extensions?: {
|
|
571
373
|
appid?: string;
|
|
572
374
|
credProps?: boolean;
|
|
@@ -704,37 +506,6 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
704
506
|
input: {};
|
|
705
507
|
};
|
|
706
508
|
};
|
|
707
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
708
|
-
"/user/password": {
|
|
709
|
-
$put: {
|
|
710
|
-
output: {
|
|
711
|
-
ok: true;
|
|
712
|
-
};
|
|
713
|
-
outputFormat: "json";
|
|
714
|
-
status: 200;
|
|
715
|
-
input: {
|
|
716
|
-
json: {
|
|
717
|
-
current_password: string;
|
|
718
|
-
new_password: string;
|
|
719
|
-
};
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
724
|
-
"/user/totp/recovery/regenerate": {
|
|
725
|
-
$post: {
|
|
726
|
-
output: {
|
|
727
|
-
recovery_codes: string[];
|
|
728
|
-
};
|
|
729
|
-
outputFormat: "json";
|
|
730
|
-
status: 200;
|
|
731
|
-
input: {
|
|
732
|
-
json: {
|
|
733
|
-
code: string;
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
509
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
739
510
|
"/auth/accounts": {
|
|
740
511
|
$get: {
|
|
@@ -761,7 +532,7 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
761
532
|
};
|
|
762
533
|
};
|
|
763
534
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
764
|
-
"/auth/accounts/
|
|
535
|
+
"/auth/accounts/select": {
|
|
765
536
|
$post: {
|
|
766
537
|
output: {
|
|
767
538
|
code: string;
|
|
@@ -777,6 +548,7 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
777
548
|
} | {
|
|
778
549
|
output: {
|
|
779
550
|
ok: true;
|
|
551
|
+
active_sub: string;
|
|
780
552
|
};
|
|
781
553
|
outputFormat: "json";
|
|
782
554
|
status: 200;
|
|
@@ -788,14 +560,30 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
788
560
|
};
|
|
789
561
|
};
|
|
790
562
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
791
|
-
"/auth/
|
|
792
|
-
$
|
|
563
|
+
"/auth/accounts/remove": {
|
|
564
|
+
$post: {
|
|
793
565
|
output: {
|
|
794
|
-
|
|
566
|
+
code: string;
|
|
567
|
+
message: string;
|
|
568
|
+
};
|
|
569
|
+
outputFormat: "json";
|
|
570
|
+
status: 400;
|
|
571
|
+
input: {
|
|
572
|
+
json: {
|
|
573
|
+
sub: string;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
} | {
|
|
577
|
+
output: {
|
|
578
|
+
ok: true;
|
|
795
579
|
};
|
|
796
580
|
outputFormat: "json";
|
|
797
581
|
status: 200;
|
|
798
|
-
input: {
|
|
582
|
+
input: {
|
|
583
|
+
json: {
|
|
584
|
+
sub: string;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
799
587
|
};
|
|
800
588
|
};
|
|
801
589
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
@@ -826,6 +614,17 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
826
614
|
};
|
|
827
615
|
};
|
|
828
616
|
};
|
|
617
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
618
|
+
"/auth/logout": {
|
|
619
|
+
$post: {
|
|
620
|
+
output: {
|
|
621
|
+
ok: true;
|
|
622
|
+
};
|
|
623
|
+
outputFormat: "json";
|
|
624
|
+
status: 200;
|
|
625
|
+
input: {};
|
|
626
|
+
};
|
|
627
|
+
};
|
|
829
628
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
830
629
|
"/auth/register": {
|
|
831
630
|
$post: {
|
|
@@ -864,112 +663,377 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
864
663
|
};
|
|
865
664
|
};
|
|
866
665
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
867
|
-
"/auth/password/forgot": {
|
|
868
|
-
$post: {
|
|
666
|
+
"/auth/password/forgot": {
|
|
667
|
+
$post: {
|
|
668
|
+
output: {
|
|
669
|
+
ok: true;
|
|
670
|
+
};
|
|
671
|
+
outputFormat: "json";
|
|
672
|
+
status: 200;
|
|
673
|
+
input: {
|
|
674
|
+
header: {
|
|
675
|
+
'accept-language'?: string | undefined;
|
|
676
|
+
};
|
|
677
|
+
} & {
|
|
678
|
+
json: {
|
|
679
|
+
email: string;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
685
|
+
"/auth/password/reset": {
|
|
686
|
+
$post: {
|
|
687
|
+
output: {
|
|
688
|
+
message: string;
|
|
689
|
+
};
|
|
690
|
+
outputFormat: "json";
|
|
691
|
+
status: 200;
|
|
692
|
+
input: {
|
|
693
|
+
json: {
|
|
694
|
+
token: string;
|
|
695
|
+
password: string;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
701
|
+
"/auth/email/verify": {
|
|
702
|
+
$post: {
|
|
703
|
+
output: {
|
|
704
|
+
user: {
|
|
705
|
+
managed_by: "config" | "database";
|
|
706
|
+
sub: string;
|
|
707
|
+
email: string;
|
|
708
|
+
role: "admin" | "user";
|
|
709
|
+
email_verified: boolean;
|
|
710
|
+
email_verification_required: boolean;
|
|
711
|
+
has_password: boolean;
|
|
712
|
+
totp_registered: boolean;
|
|
713
|
+
totp_recovery_codes_missing: boolean;
|
|
714
|
+
second_factor_required: boolean;
|
|
715
|
+
passkey_count: number;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
outputFormat: "json";
|
|
719
|
+
status: 200;
|
|
720
|
+
input: {
|
|
721
|
+
json: {
|
|
722
|
+
token: string;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
728
|
+
"/auth/totp/verify": {
|
|
729
|
+
$post: {
|
|
730
|
+
output: {
|
|
731
|
+
user: {
|
|
732
|
+
managed_by: "config" | "database";
|
|
733
|
+
sub: string;
|
|
734
|
+
email: string;
|
|
735
|
+
role: "admin" | "user";
|
|
736
|
+
email_verified: boolean;
|
|
737
|
+
email_verification_required: boolean;
|
|
738
|
+
has_password: boolean;
|
|
739
|
+
totp_registered: boolean;
|
|
740
|
+
totp_recovery_codes_missing: boolean;
|
|
741
|
+
second_factor_required: boolean;
|
|
742
|
+
passkey_count: number;
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
outputFormat: "json";
|
|
746
|
+
status: 200;
|
|
747
|
+
input: {
|
|
748
|
+
json: {
|
|
749
|
+
code: string;
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
755
|
+
"/auth/totp/recovery/verify": {
|
|
756
|
+
$post: {
|
|
757
|
+
output: {
|
|
758
|
+
user: {
|
|
759
|
+
managed_by: "config" | "database";
|
|
760
|
+
sub: string;
|
|
761
|
+
email: string;
|
|
762
|
+
role: "admin" | "user";
|
|
763
|
+
email_verified: boolean;
|
|
764
|
+
email_verification_required: boolean;
|
|
765
|
+
has_password: boolean;
|
|
766
|
+
totp_registered: boolean;
|
|
767
|
+
totp_recovery_codes_missing: boolean;
|
|
768
|
+
second_factor_required: boolean;
|
|
769
|
+
passkey_count: number;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
outputFormat: "json";
|
|
773
|
+
status: 200;
|
|
774
|
+
input: {
|
|
775
|
+
json: {
|
|
776
|
+
code: string;
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
782
|
+
"/auth/passkey/verify": {
|
|
783
|
+
$post: {
|
|
784
|
+
output: {
|
|
785
|
+
user: {
|
|
786
|
+
managed_by: "config" | "database";
|
|
787
|
+
sub: string;
|
|
788
|
+
email: string;
|
|
789
|
+
role: "admin" | "user";
|
|
790
|
+
email_verified: boolean;
|
|
791
|
+
email_verification_required: boolean;
|
|
792
|
+
has_password: boolean;
|
|
793
|
+
totp_registered: boolean;
|
|
794
|
+
totp_recovery_codes_missing: boolean;
|
|
795
|
+
second_factor_required: boolean;
|
|
796
|
+
passkey_count: number;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
outputFormat: "json";
|
|
800
|
+
status: 200;
|
|
801
|
+
input: {
|
|
802
|
+
json: {
|
|
803
|
+
response: {
|
|
804
|
+
id: string;
|
|
805
|
+
rawId: string;
|
|
806
|
+
response: {
|
|
807
|
+
clientDataJSON: string;
|
|
808
|
+
authenticatorData: string;
|
|
809
|
+
signature: string;
|
|
810
|
+
userHandle?: string | undefined;
|
|
811
|
+
};
|
|
812
|
+
authenticatorAttachment?: "cross-platform" | "platform" | undefined;
|
|
813
|
+
clientExtensionResults: Record<string, unknown>;
|
|
814
|
+
type: "public-key";
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
821
|
+
"/consent": {
|
|
822
|
+
$get: {
|
|
823
|
+
output: {
|
|
824
|
+
client: {
|
|
825
|
+
id: string;
|
|
826
|
+
clientId: string;
|
|
827
|
+
name: string;
|
|
828
|
+
};
|
|
829
|
+
scopes: {
|
|
830
|
+
name: string;
|
|
831
|
+
description: string;
|
|
832
|
+
}[];
|
|
833
|
+
user: {
|
|
834
|
+
sub: import("@mikro-orm/core").Opt<string>;
|
|
835
|
+
email: string;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
outputFormat: "json";
|
|
839
|
+
status: 200;
|
|
840
|
+
input: {
|
|
841
|
+
query: {
|
|
842
|
+
client_id: string | string[];
|
|
843
|
+
redirect_uri: string | string[];
|
|
844
|
+
response_type: string | string[];
|
|
845
|
+
prompt?: string | undefined;
|
|
846
|
+
scope?: string | undefined;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
852
|
+
"/docs": {
|
|
853
|
+
$get: {
|
|
854
|
+
output: {};
|
|
855
|
+
outputFormat: string;
|
|
856
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
857
|
+
input: {};
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
861
|
+
"/health": {
|
|
862
|
+
$get: {
|
|
863
|
+
output: {
|
|
864
|
+
status: 'ok';
|
|
865
|
+
uptime: number;
|
|
866
|
+
checks: {
|
|
867
|
+
database: 'ok';
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
outputFormat: "json";
|
|
871
|
+
status: 200;
|
|
872
|
+
input: {};
|
|
873
|
+
} | {
|
|
874
|
+
output: {
|
|
875
|
+
status: 'error';
|
|
876
|
+
uptime: number;
|
|
877
|
+
checks: {
|
|
878
|
+
database: "error";
|
|
879
|
+
};
|
|
880
|
+
error: string | undefined;
|
|
881
|
+
};
|
|
882
|
+
outputFormat: "json";
|
|
883
|
+
status: 503;
|
|
884
|
+
input: {};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
888
|
+
"/health/ready": {
|
|
889
|
+
$get: {
|
|
890
|
+
output: {
|
|
891
|
+
status: 'ok';
|
|
892
|
+
checks: {
|
|
893
|
+
database: 'ok';
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
outputFormat: "json";
|
|
897
|
+
status: 200;
|
|
898
|
+
input: {};
|
|
899
|
+
} | {
|
|
900
|
+
output: {
|
|
901
|
+
status: 'error';
|
|
902
|
+
checks: {
|
|
903
|
+
database: "error";
|
|
904
|
+
};
|
|
905
|
+
error: string | undefined;
|
|
906
|
+
};
|
|
907
|
+
outputFormat: "json";
|
|
908
|
+
status: 503;
|
|
909
|
+
input: {};
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
913
|
+
"/health/live": {
|
|
914
|
+
$get: {
|
|
869
915
|
output: {
|
|
870
|
-
|
|
916
|
+
status: 'ok';
|
|
871
917
|
};
|
|
872
918
|
outputFormat: "json";
|
|
873
919
|
status: 200;
|
|
920
|
+
input: {};
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
924
|
+
"/oauth/:provider/callback": {
|
|
925
|
+
$post: {
|
|
926
|
+
output: undefined;
|
|
927
|
+
outputFormat: "redirect";
|
|
928
|
+
status: 302;
|
|
874
929
|
input: {
|
|
875
|
-
|
|
876
|
-
|
|
930
|
+
param: {
|
|
931
|
+
provider: string;
|
|
877
932
|
};
|
|
878
933
|
} & {
|
|
879
|
-
|
|
880
|
-
|
|
934
|
+
form: {
|
|
935
|
+
code?: string | undefined;
|
|
936
|
+
state?: string | undefined;
|
|
937
|
+
error?: string | undefined;
|
|
938
|
+
error_description?: string | undefined;
|
|
881
939
|
};
|
|
882
940
|
};
|
|
883
|
-
}
|
|
884
|
-
};
|
|
885
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
886
|
-
"/auth/email/verify": {
|
|
887
|
-
$post: {
|
|
941
|
+
} | {
|
|
888
942
|
output: {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
sub: string;
|
|
892
|
-
email: string;
|
|
893
|
-
role: "admin" | "user";
|
|
894
|
-
email_verified: boolean;
|
|
895
|
-
email_verification_required: boolean;
|
|
896
|
-
has_password: boolean;
|
|
897
|
-
totp_registered: boolean;
|
|
898
|
-
totp_recovery_codes_missing: boolean;
|
|
899
|
-
second_factor_required: boolean;
|
|
900
|
-
passkey_count: number;
|
|
901
|
-
};
|
|
943
|
+
code: any;
|
|
944
|
+
message: any;
|
|
902
945
|
};
|
|
903
946
|
outputFormat: "json";
|
|
904
|
-
status:
|
|
947
|
+
status: any;
|
|
905
948
|
input: {
|
|
906
|
-
|
|
907
|
-
|
|
949
|
+
param: {
|
|
950
|
+
provider: string;
|
|
951
|
+
};
|
|
952
|
+
} & {
|
|
953
|
+
form: {
|
|
954
|
+
code?: string | undefined;
|
|
955
|
+
state?: string | undefined;
|
|
956
|
+
error?: string | undefined;
|
|
957
|
+
error_description?: string | undefined;
|
|
908
958
|
};
|
|
909
959
|
};
|
|
910
960
|
};
|
|
911
961
|
};
|
|
912
962
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
913
|
-
"/
|
|
963
|
+
"/terms/consent": {
|
|
914
964
|
$post: {
|
|
915
965
|
output: {
|
|
916
|
-
|
|
966
|
+
ok: true;
|
|
967
|
+
recorded: number;
|
|
917
968
|
};
|
|
918
969
|
outputFormat: "json";
|
|
919
970
|
status: 200;
|
|
920
971
|
input: {
|
|
921
|
-
header: {
|
|
922
|
-
'accept-language'?: string | undefined;
|
|
923
|
-
};
|
|
924
|
-
} & {
|
|
925
972
|
json: {
|
|
926
|
-
|
|
973
|
+
consents: {
|
|
974
|
+
termsId: string;
|
|
975
|
+
agreed: boolean;
|
|
976
|
+
consentType?: "explicit" | "implicit" | undefined;
|
|
977
|
+
}[];
|
|
978
|
+
registrationToken?: string | undefined;
|
|
927
979
|
};
|
|
928
980
|
};
|
|
929
981
|
};
|
|
930
982
|
};
|
|
931
983
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
932
|
-
"/
|
|
933
|
-
$
|
|
984
|
+
"/user/oauth-accounts": {
|
|
985
|
+
$get: {
|
|
934
986
|
output: {
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
second_factor_required: boolean;
|
|
946
|
-
passkey_count: number;
|
|
947
|
-
};
|
|
987
|
+
accounts: {
|
|
988
|
+
provider_name: string;
|
|
989
|
+
linked_at: string;
|
|
990
|
+
}[];
|
|
991
|
+
available_providers: {
|
|
992
|
+
id: string;
|
|
993
|
+
display_name: string;
|
|
994
|
+
icon_url: string | undefined;
|
|
995
|
+
linked: boolean;
|
|
996
|
+
}[];
|
|
948
997
|
};
|
|
949
998
|
outputFormat: "json";
|
|
950
999
|
status: 200;
|
|
951
|
-
input: {
|
|
952
|
-
json: {
|
|
953
|
-
code: string;
|
|
954
|
-
};
|
|
955
|
-
};
|
|
1000
|
+
input: {};
|
|
956
1001
|
};
|
|
957
1002
|
};
|
|
958
1003
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
959
|
-
"/
|
|
1004
|
+
"/user/passkeys/register/options": {
|
|
960
1005
|
$post: {
|
|
961
1006
|
output: {
|
|
962
1007
|
options: {
|
|
1008
|
+
rp: {
|
|
1009
|
+
id?: string;
|
|
1010
|
+
name: string;
|
|
1011
|
+
};
|
|
1012
|
+
user: {
|
|
1013
|
+
id: string;
|
|
1014
|
+
name: string;
|
|
1015
|
+
displayName: string;
|
|
1016
|
+
};
|
|
963
1017
|
challenge: import("@simplewebauthn/server").Base64URLString;
|
|
1018
|
+
pubKeyCredParams: {
|
|
1019
|
+
alg: import("@simplewebauthn/server").COSEAlgorithmIdentifier;
|
|
1020
|
+
type: import("@simplewebauthn/server").PublicKeyCredentialType;
|
|
1021
|
+
}[];
|
|
964
1022
|
timeout?: number;
|
|
965
|
-
|
|
966
|
-
allowCredentials?: {
|
|
1023
|
+
excludeCredentials?: {
|
|
967
1024
|
id: import("@simplewebauthn/server").Base64URLString;
|
|
968
1025
|
transports?: string[];
|
|
969
1026
|
type: string;
|
|
970
1027
|
}[] | undefined;
|
|
971
|
-
|
|
1028
|
+
authenticatorSelection?: {
|
|
1029
|
+
authenticatorAttachment?: import("@simplewebauthn/server").AuthenticatorAttachment;
|
|
1030
|
+
requireResidentKey?: boolean;
|
|
1031
|
+
residentKey?: import("@simplewebauthn/server").ResidentKeyRequirement;
|
|
1032
|
+
userVerification?: import("@simplewebauthn/server").UserVerificationRequirement;
|
|
1033
|
+
} | undefined;
|
|
972
1034
|
hints?: import("@simplewebauthn/server").PublicKeyCredentialHint[];
|
|
1035
|
+
attestation?: import("@simplewebauthn/server").AttestationConveyancePreference;
|
|
1036
|
+
attestationFormats?: import("@simplewebauthn/server").AttestationFormat[];
|
|
973
1037
|
extensions?: {
|
|
974
1038
|
appid?: string;
|
|
975
1039
|
credProps?: boolean;
|
|
@@ -1108,8 +1172,39 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
1108
1172
|
};
|
|
1109
1173
|
};
|
|
1110
1174
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1111
|
-
"/
|
|
1175
|
+
"/user/password": {
|
|
1176
|
+
$put: {
|
|
1177
|
+
output: {
|
|
1178
|
+
ok: true;
|
|
1179
|
+
};
|
|
1180
|
+
outputFormat: "json";
|
|
1181
|
+
status: 200;
|
|
1182
|
+
input: {
|
|
1183
|
+
json: {
|
|
1184
|
+
current_password: string;
|
|
1185
|
+
new_password: string;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1191
|
+
"/user/totp/recovery/regenerate": {
|
|
1112
1192
|
$post: {
|
|
1193
|
+
output: {
|
|
1194
|
+
recovery_codes: string[];
|
|
1195
|
+
};
|
|
1196
|
+
outputFormat: "json";
|
|
1197
|
+
status: 200;
|
|
1198
|
+
input: {
|
|
1199
|
+
json: {
|
|
1200
|
+
code: string;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1206
|
+
"/admin/me": {
|
|
1207
|
+
$get: {
|
|
1113
1208
|
output: {
|
|
1114
1209
|
user: {
|
|
1115
1210
|
managed_by: "config" | "database";
|
|
@@ -1127,23 +1222,7 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
1127
1222
|
};
|
|
1128
1223
|
outputFormat: "json";
|
|
1129
1224
|
status: 200;
|
|
1130
|
-
input: {
|
|
1131
|
-
json: {
|
|
1132
|
-
response: {
|
|
1133
|
-
id: string;
|
|
1134
|
-
rawId: string;
|
|
1135
|
-
response: {
|
|
1136
|
-
clientDataJSON: string;
|
|
1137
|
-
authenticatorData: string;
|
|
1138
|
-
signature: string;
|
|
1139
|
-
userHandle?: string | undefined;
|
|
1140
|
-
};
|
|
1141
|
-
authenticatorAttachment?: "cross-platform" | "platform" | undefined;
|
|
1142
|
-
clientExtensionResults: Record<string, unknown>;
|
|
1143
|
-
type: "public-key";
|
|
1144
|
-
};
|
|
1145
|
-
};
|
|
1146
|
-
};
|
|
1225
|
+
input: {};
|
|
1147
1226
|
};
|
|
1148
1227
|
};
|
|
1149
1228
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
@@ -1222,37 +1301,6 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
1222
1301
|
input: {};
|
|
1223
1302
|
};
|
|
1224
1303
|
};
|
|
1225
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1226
|
-
"/consent": {
|
|
1227
|
-
$get: {
|
|
1228
|
-
output: {
|
|
1229
|
-
client: {
|
|
1230
|
-
id: string;
|
|
1231
|
-
clientId: string;
|
|
1232
|
-
name: string;
|
|
1233
|
-
};
|
|
1234
|
-
scopes: {
|
|
1235
|
-
name: string;
|
|
1236
|
-
description: string;
|
|
1237
|
-
}[];
|
|
1238
|
-
user: {
|
|
1239
|
-
sub: import("@mikro-orm/core").Opt<string>;
|
|
1240
|
-
email: string;
|
|
1241
|
-
};
|
|
1242
|
-
};
|
|
1243
|
-
outputFormat: "json";
|
|
1244
|
-
status: 200;
|
|
1245
|
-
input: {
|
|
1246
|
-
query: {
|
|
1247
|
-
client_id: string | string[];
|
|
1248
|
-
redirect_uri: string | string[];
|
|
1249
|
-
response_type: string | string[];
|
|
1250
|
-
prompt?: string | undefined;
|
|
1251
|
-
scope?: string | undefined;
|
|
1252
|
-
};
|
|
1253
|
-
};
|
|
1254
|
-
};
|
|
1255
|
-
};
|
|
1256
1304
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1257
1305
|
"/consent": {
|
|
1258
1306
|
$post: {
|
|
@@ -1287,44 +1335,6 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
1287
1335
|
};
|
|
1288
1336
|
};
|
|
1289
1337
|
};
|
|
1290
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1291
|
-
"/health": {
|
|
1292
|
-
$get: {
|
|
1293
|
-
output: {
|
|
1294
|
-
status: 'ok';
|
|
1295
|
-
uptime: number;
|
|
1296
|
-
checks: {
|
|
1297
|
-
database: 'ok';
|
|
1298
|
-
};
|
|
1299
|
-
};
|
|
1300
|
-
outputFormat: "json";
|
|
1301
|
-
status: 200;
|
|
1302
|
-
input: {};
|
|
1303
|
-
} | {
|
|
1304
|
-
output: {
|
|
1305
|
-
status: 'error';
|
|
1306
|
-
uptime: number;
|
|
1307
|
-
checks: {
|
|
1308
|
-
database: "error";
|
|
1309
|
-
};
|
|
1310
|
-
error: string | undefined;
|
|
1311
|
-
};
|
|
1312
|
-
outputFormat: "json";
|
|
1313
|
-
status: 503;
|
|
1314
|
-
input: {};
|
|
1315
|
-
};
|
|
1316
|
-
};
|
|
1317
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1318
|
-
"/health/live": {
|
|
1319
|
-
$get: {
|
|
1320
|
-
output: {
|
|
1321
|
-
status: 'ok';
|
|
1322
|
-
};
|
|
1323
|
-
outputFormat: "json";
|
|
1324
|
-
status: 200;
|
|
1325
|
-
input: {};
|
|
1326
|
-
};
|
|
1327
|
-
};
|
|
1328
1338
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1329
1339
|
"/terms": {
|
|
1330
1340
|
$get: {
|
|
@@ -2716,6 +2726,7 @@ export declare function createApp(options: CreateAppOptions, runtimeOptions?: Cr
|
|
|
2716
2726
|
mikro: import("../services/mikro.service.ts").MikroService;
|
|
2717
2727
|
scheduler: import("../services/scheduler.service.ts").SchedulerService;
|
|
2718
2728
|
emailService: import("../services/email.service.ts").EmailService;
|
|
2729
|
+
mailQueue: import("../services/mail-queue.service.ts").MailQueueService;
|
|
2719
2730
|
jwtService: import("../services/jwt.service.ts").JwtService;
|
|
2720
2731
|
passwordAuthService: import("../services/password-auth.service.ts").PasswordAuthService;
|
|
2721
2732
|
passwordResetService: import("../services/password-reset.service.ts").PasswordResetService;
|