UNPKG

@edifice.io/client

Version:
13 lines (12 loc) 545 B
import { IOdeServices } from '../services/OdeServices'; import { IViewsService, ViewsCounters, ViewsDetails } from './interface'; export declare class ViewsService implements IViewsService { private context; private module; private resourceType; constructor(context: IOdeServices, module: string, resourceType: string); private get http(); getCounters(resourceIds: string[]): Promise<ViewsCounters>; getDetails(resourceId: string): Promise<ViewsDetails | undefined>; trigger(resourceId: string): Promise<void>; }