angular.module("c8y.core").factory("c8yStatistics",["c8yBase","$http",function(r,e){var n="tenant/statistics";return{getSummary:function(t){var a=r.url("".concat(n,"/summary"));return e.get(a,{params:t})},list:function(t){var a=r.url("".concat(n,"/allTenantsSummary")),t={params:r.timeOrderFilter(r.pageSizeNoTotalFilter(t))};return e.get(a,t).then(r.getResData)}}}]);