@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
28 lines • 770 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MeetingNotesAPI = void 0;
class MeetingNotesAPI {
_httpClient;
_basePath;
constructor(_httpClient, _basePath) {
this._httpClient = _httpClient;
this._basePath = _basePath;
}
async create(data) {
return this._httpClient.post(this._basePath, {
body: data,
});
}
async update(noteId, data) {
return this._httpClient.patch(`${this._basePath}/${noteId}`, {
body: data,
});
}
async delete(noteId) {
return this._httpClient.delete(this._basePath, {
query: { noteId },
});
}
}
exports.MeetingNotesAPI = MeetingNotesAPI;
//# sourceMappingURL=notes.js.map