UNPKG

@eleva-io/erp-sdk

Version:

SDK oficial para el ERP de Eleva

33 lines 983 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MeetingActionPointsAPI = void 0; class MeetingActionPointsAPI { _httpClient; _basePath; constructor(_httpClient, _basePath) { this._httpClient = _httpClient; this._basePath = _basePath; } async create(data) { return this._httpClient.post(this._basePath, { body: data, }); } async update(actionPointId, data) { return this._httpClient.patch(`${this._basePath}/${actionPointId}`, { body: data, }); } async updatePriority(items) { return this._httpClient.patch(`${this._basePath}/repriorize`, { body: items, }); } async delete(actionPointId) { return this._httpClient.delete(this._basePath, { query: { actionPointId }, }); } } exports.MeetingActionPointsAPI = MeetingActionPointsAPI; //# sourceMappingURL=action_points.js.map