(function(){"use strict";u8.Crm.KPIs=function(e){$.extend(this,e)};$.extend(u8.Crm.KPIs.prototype,{getFieldsAllowedForKPIDefinition:function(e,n){u8.request("KPIChannel.GetFieldIdsAllowedForKPIDefinition",{infoAreaId:e},function(e,i){if(i.error){return}n(i.response.fieldIds)})},getInfoAreasAllowedForKPIDefinition:function(e){u8.request("KPIChannel.GetInfoAreasAllowedForKPIDefinition",{},function(n,i){if(i.error){return}e(i.response.infoAreaIds)})}});u8.services.add("kpis",u8.Crm.KPIs)})();