import * as Users from '../users/interface'; export interface ICreateRequest { account: string; password: string; } export interface ICreateResponse { user: Users.IFindByAccountResponse; access_token: string; refresh_token: string; expiresInToken: number; expiresInRefreshToken: number; expired_password_change_limit: boolean; } export interface IRepository { create(data: ICreateRequest): Promise; } export interface IController { create(data: ICreateRequest, ip: string): Promise; }