- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
20 lines
673 B
TypeScript
20 lines
673 B
TypeScript
import { AuthService } from './auth.service';
|
|
import { RegisterDto, LoginDto, RefreshTokenDto } from './dto/register.dto';
|
|
export declare class AuthController {
|
|
private readonly authService;
|
|
constructor(authService: AuthService);
|
|
register(dto: RegisterDto): Promise<import("./auth.service").AuthResponse>;
|
|
login(dto: LoginDto): Promise<import("./auth.service").AuthResponse>;
|
|
refreshToken(dto: RefreshTokenDto): Promise<import("./auth.service").AuthResponse>;
|
|
changePin(req: {
|
|
user: {
|
|
sub: string;
|
|
};
|
|
}, body: {
|
|
currentPin: string;
|
|
newPin: string;
|
|
}): Promise<{
|
|
message: string;
|
|
}>;
|
|
}
|