@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
22 lines • 647 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IdpConfigurationAPI = void 0;
class IdpConfigurationAPI {
_httpClient;
_baseUrl;
constructor(_httpClient, _baseUrl) {
this._httpClient = _httpClient;
this._baseUrl = _baseUrl;
}
async find() {
return this._httpClient.get(this._baseUrl);
}
async create(data) {
return this._httpClient.post(this._baseUrl, data);
}
async update(data) {
return this._httpClient.patch(this._baseUrl, data);
}
}
exports.IdpConfigurationAPI = IdpConfigurationAPI;
//# sourceMappingURL=configuration.js.map