import GetCountryInfoDictionaryResponse from "../definitions/GetCountryInfoDictionaryResponse";
import GetCountryListResponse from "../definitions/GetCountryListResponse";
import PathSegment from "../PathSegment";
export default class Country extends PathSegment {
constructor(prv: PathSegment, id?: string, service?: any);
/**
*
Since 1.0.10 (Release 6.2)
Returns all the countries available for calling.
Usage Plan Group
Light
*/
list(query?: ListQuery): Promise;
/**
* Since 1.0.10 (Release 6.2)
Returns all the countries available for calling.
Usage Plan Group
Light
* return {ApiResponse}
*/
listRaw(query?: ListQuery): Promise;
/**
* Since 1.0.10 (Release 6.2)
Returns the information on the required country.
Usage Plan Group
Light
*/
get(): Promise;
/**
* Since 1.0.10 (Release 6.2)
Returns the information on the required country.
Usage Plan Group
Light
* return {ApiResponse}
*/
getRaw(): Promise;
}
export interface ListQuery {
/**
* Specifies whether login with the phone numbers of this country is enabled or not
*/
loginAllowed?: boolean;
/**
* Indicates whether signup/billing is allowed for a country. If not specified all countries are returned (according to other filters specified if any)
*/
signupAllowed?: 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;
/**
* Specifies if free phone line for softphone is available for a country or not
*/
freeSoftphoneLine?: boolean;
}