UNPKG

correios-webservice

Version:
21 lines 646 B
import { Postcode } from "./endpoints/postcode"; import { Price } from "./endpoints/price"; import { Time } from "./endpoints/time"; import { Country } from "./endpoints/country"; import { Tracking } from "./endpoints/tracking"; class CorreiosClient { preco; prazo; cep; pais; rastro; constructor(auth, config = {}) { this.preco = new Price(auth, config); this.prazo = new Time(auth, config); this.cep = new Postcode(auth, config); this.pais = new Country(auth, config); this.rastro = new Tracking(auth, config); } } export { CorreiosClient }; //# sourceMappingURL=client.js.map