correios-webservice
Version:
Cliente NodeJS para consumir a api nova dos Correios (CWS)
21 lines • 646 B
JavaScript
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