import FullCountryInfo from '../definitions/FullCountryInfo'; import PagingResult from '../PagingResult'; import PathSegment from '../PathSegment'; export default class Country extends PathSegment { constructor(prv: PathSegment, id?: string, service?: any); /** * Get Country List */ list(query?: ListQuery): Promise>; /** * Get Country by ID */ get(): Promise; } export interface ListQuery { /** * Specifies whether login with the phone numbers of this country is enabled or not */ loginAllowed?: boolean; /** * Specifies if RingCentral sells phone numbers of this country */ numberSelling?: boolean; /** * Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' */ page?: number; /** * Indicates the page size (number of items). If not specified, the value is '100' by default */ perPage?: number; }