import { ApiClientFactory } from '..'; import { QueryData, QueryParams } from '../model/EntrenceDetect.model'; export class EntrenceDetectService { constructor(private factory: ApiClientFactory) {} queryData(projectId: string, params: QueryParams) { return this.factory.surveillance.get('/people/counting/data/query', { projectId, ...params, }); } queryDictionary(projectId: string) { return this.factory.surveillance.get('/people/counting/data/configDict', { projectId, }); } }