import {AbstractCall, BaseRequestPayload, BaseResponsePayload} from "../../src/AbstractCall"; import {Service} from "../../src/Service"; export class LoginCall extends AbstractCall{ getRequestName(): string { return LoginCall.NAME; } getService(): Service { return Service.USERMANAGMENT; } } export module LoginCall{ export const NAME = "LOGIN_CALL"; export interface RequestModel extends BaseRequestPayload{ email:string, password:any } export interface ResponseModel extends BaseResponsePayload{ token:any, user_id:any } }