angular.module("c8y.core").factory("c8yStorageLimitation",["$routeParams","$q","c8ySettings",function(t,a,i){return{getStorageLimitationEmailData:function(){return i.detail({category:"storage.limitation"})},saveStorageLimitationEmailData:function(t){return i.updateOption(_.defaults({category:"storage.limitation"},t))},hasStorageLimitationEnabled:function(){return i.detail({category:"storage.limitation"}).then(function(t){return!!t.data["group.name"]})}}}]);