@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
24 lines • 623 B
JavaScript
export 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 },
});
}
}
//# sourceMappingURL=notes.js.map