@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
24 lines • 639 B
JavaScript
export class MeetingDebtorsAPI {
_httpClient;
_basePath;
constructor(_httpClient, _basePath) {
this._httpClient = _httpClient;
this._basePath = _basePath;
}
async create(data) {
return this._httpClient.post(this._basePath, {
body: data,
});
}
async update(debtorId, data) {
return this._httpClient.patch(`${this._basePath}/${debtorId}`, {
body: data,
});
}
async delete(propertyId) {
return this._httpClient.delete(this._basePath, {
query: { propertyId },
});
}
}
//# sourceMappingURL=debtors.js.map