import { Observable } from 'rxjs/Rx'; import { Injectable } from '@angular/core'; import { Http, RequestOptions } from '@angular/http'; import { SeCurisResourceServices } from './base'; import { LocaleService } from '../common/i18n'; var user_example = { creation_timestamp: 1479898458000, email: 'rbouchair@curistec.com', first_name: 'Rym', lastLogin: 1488885433000, last_name: 'Bouchair', modificationTimestamp: 1479898458000, organizations_ids: [ 1, 2, 5, 6, 7, 8 ], roles: [ 1 ], username: 'rym' } @Injectable() export class UsersService extends SeCurisResourceServices { constructor(http: Http, $L: LocaleService) { super($L, http, 'user'); } }