@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
36 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommunitiesConfigAPI = void 0;
const crud_1 = require("../../../../utils/crud");
class CommunitiesConfigAPI {
_httpClient;
_baseUrl;
constructor(_httpClient, _baseUrl) {
this._httpClient = _httpClient;
this._baseUrl = _baseUrl;
}
agents() {
return new crud_1.CRUD(this._httpClient, {
basePath: `${this._baseUrl}/agents`,
methods: {
isCreateEnabled: false,
isUpdateEnabled: false,
isDeleteEnabled: false,
isReadEnabled: false,
},
});
}
roles() {
return new crud_1.CRUD(this._httpClient, {
basePath: `${this._baseUrl}/roles`,
methods: {
isCreateEnabled: false,
isUpdateEnabled: false,
isDeleteEnabled: false,
isReadEnabled: false,
},
});
}
}
exports.CommunitiesConfigAPI = CommunitiesConfigAPI;
//# sourceMappingURL=communities_config.js.map