diff --git a/index.d.ts b/index.d.ts index aeb6a1c..6b0df18 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2541,6 +2541,18 @@ declare global { policy: "off" | "optional" | "required" } + /** Body of the first-factor-only password reset request. */ + export interface AdminPasswordResetRequest { + username: string + } + + /** Completes a password reset; the server never returns a session here. */ + export interface AdminPasswordResetConfirm { + username: string + code: string + password: string + } + /** One browser that skips the login challenge. */ export interface AdminTrustedDevice { id: string