UNPKG

pd-api

Version:
23 lines (22 loc) 569 B
import { Observable } from 'rxjs/Observable'; import { User } from '../user/user-api.service'; /** * Global Country model */ export interface Country { id: string; name: string; timezone: string; } export declare class CountryService { countryNames: any; static isEqual(country_1: Country, country_2: Country): boolean; constructor(); getCountriesForUser(user: User): Observable<Country>; /** * Get Country By id * @param id: 'MX' * @return {{id: string, name, timezone}} */ countryById(id: string): Country; }