@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
25 lines • 690 B
JavaScript
import { CRUD } from '../../../../utils/crud';
export class CommonAreaReservesAPI extends CRUD {
_reserveId;
constructor(httpClient, baseUrl, _reserveId) {
super(httpClient, {
basePath: baseUrl,
id: _reserveId,
});
this._reserveId = _reserveId;
}
}
export 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);
}
}
//# sourceMappingURL=reserve.js.map