@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
30 lines • 945 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertiesReservesAPI = exports.CommonAreaReservesAPI = void 0;
const crud_1 = require("../../../../utils/crud");
class CommonAreaReservesAPI extends crud_1.CRUD {
_reserveId;
constructor(httpClient, baseUrl, _reserveId) {
super(httpClient, {
basePath: baseUrl,
id: _reserveId,
});
this._reserveId = _reserveId;
}
}
exports.CommonAreaReservesAPI = CommonAreaReservesAPI;
class PropertiesReservesAPI {
_httpClient;
_baseUrl;
_reserveId;
constructor(_httpClient, _baseUrl, _reserveId) {
this._httpClient = _httpClient;
this._baseUrl = _baseUrl;
this._reserveId = _reserveId;
}
async find(query) {
return this._httpClient.get(this._baseUrl, query);
}
}
exports.PropertiesReservesAPI = PropertiesReservesAPI;
//# sourceMappingURL=reserve.js.map