import { RequestApi, Session as SessionRequestModel } from '../requests'; import { ApiKeys } from '../types'; export class SessionModel { private _requestModel: any; constructor(requestApi: RequestApi) { this._requestModel = requestApi[ApiKeys.SESSIONS]; } async renew() { return (this._requestModel).renew(); } async del() { return (this._requestModel).del(); } } type SessionRelations = {}; export type SessionType = SessionModel & SessionRelations;