Response wrapped in IResult
Example
const rule: IRule = {id: '1', enabledSources: ['2', '3'],...};
const entityOrIdList: IdReference[] = ['2'];
(async () => {
const {data, res} = await smartRulesService.bulkDeactivateEnabledSources(rule, entityOrIdList);
})();
Response wrapped in IResult
Example
const id: string = '1';
(async () => {
const {data, res} = await smartRulesService.listByContext(id);
})();
Generated using TypeDoc