import BaseRequest from './BaseRequest' ; class Login extends BaseRequest { method : string = 'login' ; constructor ( login , passwd , login_token , sessionid , userVariables = { } ) { super ( ) ; const params = { login , passwd , login_token , userVariables , loginParams : { } , } ; if ( sessionid ) { params . sessid = sessionid ; } this . buildRequest ( { method : this . method , params } ) ; } } export { Login } ;