import { AuthenticationClient } from "../../clients" ; import { ResetRequest as Request } from "../../common" ; import { handler } from "../_" ; import schema = require ( "../../common/events/reset/index.json" ) ; param event return export const post = handler < { } , Request > ( schema , async ( { body : { username } } ) => { const auth = new AuthenticationClient ( ) ; await auth . forgotPassword ( username ) ; } ) ;