tempnumber-client
Version:
temp-number.org SMS Typescript client
12 lines (11 loc) • 679 B
TypeScript
import { Base } from '../base';
import { CountriesType, ServicesType, PricesByCountries, PricesByServices, ServicePriceType, CountryPriceType, PricesCount } from '../../types/catalog';
export declare class Catalog extends Base {
getCountries(): Promise<CountriesType>;
getServices(): Promise<ServicesType>;
getPricesByCountries(): Promise<PricesByCountries[]>;
getPricesByServices(): Promise<PricesByServices[]>;
getPricesInOneCountry(countryId: string): Promise<ServicePriceType[]>;
getPricesForOneService(serviceId: number): Promise<CountryPriceType[]>;
getPricesForServiceInOneCountry(serviceId: number, countryId: string): Promise<PricesCount>;
}