UNPKG

@eleva-io/erp-sdk

Version:

SDK oficial para el ERP de Eleva

28 lines 792 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MeetingDebtorsAPI = void 0; 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 }, }); } } exports.MeetingDebtorsAPI = MeetingDebtorsAPI; //# sourceMappingURL=debtors.js.map