diff --git a/bower.json b/bower.json index d98f309a..836f9242 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "ovh-api-services", "description": "Contains all angular $resource for OVH API.", - "version": "6.7.0", + "version": "6.8.0", "main": "./dist/ovh-api-services.min.js", "repository": { "type": "git", diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index c440ad46..2636248a 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -22481,6 +22481,37 @@ angular.module("ovh-api-services").service("OvhApiTelephonyVxmlV6", ["$resource" }); }]); +angular.module("ovh-api-services").service("OvhApiUniversesAapi", ["$resource", "$cacheFactory", function ($resource, $cacheFactory) { + "use strict"; + + var cache = $cacheFactory("OvhApiUniversesAapi"); + + var universesResource = $resource("/universes", { + }, { + query: { + method: "GET", + isArray: true, + serviceType: "aapi", + cache: cache + } + }); + + universesResource.resetCache = function () { + cache.removeAll(); + }; + + return universesResource; +}]); + +angular.module("ovh-api-services").service("OvhApiUniverses", ["$injector", function ($injector) { + "use strict"; + return { + Aapi: function () { + return $injector.get("OvhApiUniversesAapi"); + } + }; +}]); + angular.module("ovh-api-services").service("OvhApiValidateAapi", ["$resource", function ($resource) { "use strict"; diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 5916e3f3..570df9a1 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -1,4 +1,4 @@ -/*! ovh-api-services - 6.7.0 - 2019-03-29 */ +/*! ovh-api-services - 6.8.0 - 2019-04-05 */ angular.module("ovh-api-services",["ngOvhApiWrappers","ngOvhSwimmingPoll"]),angular.module("ovh-api-services").service("OvhApiAnalytics",["$injector",function(a){"use strict";return{Platforms:function(){return a.get("OvhApiAnalyticsPlatforms")},Capabilities:function(){return a.get("OvhApiAnalyticsCapabilities")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsCapabilities",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAnalyticsCapabilitiesV6")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsCapabilitiesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiAnalyticsCapabilitiesV6Query"),d=a("/analytics/capabilities/platforms",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiAnalyticsPlatforms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAnalyticsPlatformsV6")}}}]),angular.module("ovh-api-services").service("OvhApiAnalyticsPlatformsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiAnalyticsPlatformsV6"),d=b("OvhApiAnalyticsPlatformsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/analytics/platforms/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},deploy:{method:"POST",interceptor:e},getActivity:{url:"/analytics/platforms/{serviceName}/activity",method:"GET",cache:c},getNodes:{url:"/analytics/platforms/{serviceName}/nodes",method:"GET",cache:c},getStatus:{url:"/analytics/platforms/{serviceName}/status",method:"GET",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiAuth",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiAuthV6")}}}]),angular.module("ovh-api-services").service("OvhApiAuthV6",["$resource","$http",function(a,b){"use strict";return a("/auth",{},{logout:{url:"/auth/logout",method:"POST",isArray:!1},time:{url:"/auth/time",method:"GET",isArray:!1,transformResponse:b.defaults.transformResponse.concat(function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d})}})}]),angular.module("ovh-api-services").service("OvhApiCdn",["$injector",function(a){"use strict";return{Dedicated:function(){return a.get("OvhApiCdnDedicated")},Website:function(){return a.get("OvhApiCdnWebsite")},Webstorage:function(){return a.get("OvhApiCdnWebstorage")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicated",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnDedicated");return{v6:function(){return a.get("OvhApiCdnDedicatedV6")},Domains:function(){return a.get("OvhApiCdnDedicatedDomains")},Ssl:function(){return a.get("OvhApiCdnDedicatedSsl")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedV6",["$resource","$q","OvhApiCdnDedicated",function(a,b,c){"use strict";return a("/cdn/dedicated/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache},quota:{method:"GET",url:"/cdn/dedicated/:serviceName/quota",isArray:!0},logs:{method:"POST",url:"/cdn/dedicated/:serviceName/logs"},swsGetStatistics:{method:"GET",url:"/sws/dedicated/cdn/:serviceName/statistics",serviceType:"aapi",isArray:!1},swsGetAllBackends:{method:"GET",url:"/sws/dedicated/cdn/:serviceName/backends",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsBackends",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsBackendsV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsBackendsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain/backends/:ip",{serviceName:"@serviceName",domain:"@domain",ip:"@ip"},{add:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/backends",params:{ip:"@ip"}}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsCacheRules",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsCacheRulesV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain/cacheRules/:cacheRuleId",{serviceName:"@serviceName",domain:"@domain",cacheRuleId:"@cacheRuleId"},{flush:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/cacheRules/:cacheRuleId/flush"}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomains",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedDomainsV6")},Backends:function(){return a.get("OvhApiCdnDedicatedDomainsBackends")},CacheRules:function(){return a.get("OvhApiCdnDedicatedDomainsCacheRules")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedDomainsV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/domains/:domain",{serviceName:"@serviceName",domain:"@domain"},{add:{method:"POST",url:"/cdn/dedicated/:serviceName/domains",params:{domain:"@domain"}},flush:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/flush"},logs:{method:"POST",url:"/cdn/dedicated/:serviceName/domains/:domain/logs"},statistics:{method:"GET",url:"/cdn/dedicated/:serviceName/domains/:domain/statistics"},update:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCdnDedicatedSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiCdnDedicatedSslV6",["$resource",function(a){"use strict";return a("/cdn/dedicated/:serviceName/ssl",{serviceName:"@serviceName"},{update:{method:"POST",url:"/cdn/dedicated/:serviceName/ssl/update"}})}]),angular.module("ovh-api-services").service("OvhApiCdnWebsite",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebsite");return{v6:function(){return a.get("OvhApiCdnWebsiteV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebsiteV6",["$resource","$q","OvhApiCdnWebsite",function(a,b,c){"use strict";return a("/cdn/website/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache}})}]),angular.module("ovh-api-services").service("OvhApiCdnWebstorage",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCdnWebstorage");return{v6:function(){return a.get("OvhApiCdnWebstorageV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCdnWebstorageV6",["$resource","$q","OvhApiCdnWebstorage",function(a,b,c){"use strict";return a("/cdn/webstorage/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},query:{method:"GET",isArray:!0,cache:c.cache}})}]),angular.module("ovh-api-services").service("OvhApiChangelogAapi",["$resource",function(a){"use strict";return a("/changelog",{},{query:{serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiChangelog",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiChangelogAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudAapiQuery"),d=a("/cloud/instances",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudV6")},Aapi:function(){return a.get("OvhApiCloudAapi")},Price:function(){return a.get("OvhApiCloudPrice")},Project:function(){return a.get("OvhApiCloudProject")},PCA:function(){return a.get("OvhApiCloudPCA")}}}]),angular.module("ovh-api-services").service("OvhApiCloudV6",["$resource","OvhApiCloudProjectV6","OvhApiVrack",function(a,b,c){var d={response:function(a){return b.resetAllCache(),c.v6().resetCache(),c.Aapi().resetCache(),a.data}};return a("/cloud",{},{query:{method:"GET",isArray:!0},schema:{method:"GET",url:"/cloud.json"},createProject:{url:"/cloud/createProject",method:"POST",interceptor:d},createProjectInfo:{url:"/cloud/createProjectInfo",method:"GET"},order:{url:"/cloud/order",method:"GET",isArray:!0},subsidiaryPrice:{url:"/cloud/subsidiaryPrice",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiCloudPCA",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudPCAV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudPCAV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPCAv6Query"),d=b("OvhApiCloudPCAV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/:serviceName/pca/:pcaServiceName",{serviceName:"@serviceName",pcaServiceName:"@pcaServiceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},transferState:{url:"/cloud/:serviceName/pca/:pcaServiceName/transferState",method:"GET",cache:d},transfer:{url:"/cloud/:serviceName/pca/:pcaServiceName/transfer",method:"POST",interceptor:e},download:{url:"/cloud/:serviceName/pca/:pcaServiceName/download",method:"POST",interceptor:e},deleteData:{url:"/cloud/:serviceName/pca/:pcaServiceName/deleteData",method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudPrice",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudPriceV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudPriceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudPriceV6");return a("/cloud/price",{flavorId:"@flavorId",region:"@region"},{get:{method:"GET",cache:c},query:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAcl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAclV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAclV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAclV6Query"),d=b("OvhApiCloudProjectAclV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/acl/:accountId",{serviceName:"@serviceName",accountId:"@accountId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},remove:{method:"DELETE",interceptor:e},add:{url:"/cloud/project/:serviceName/acl",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAggregateAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAggregateAapi"),d=a("/cloud/project/:serviceName/aggregate",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAggregate",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiCloudProjectAggregateAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAlerting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAlertingV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAlertingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAlertingV6Query"),d=b("OvhApiCloudProjectAlertingV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/alerting/:alertId",{serviceName:"@serviceName",alertId:"@alertId"},{getIds:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},alert:{url:"/cloud/project/:serviceName/alerting/:alertId/alert",method:"GET",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBill",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectBillV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectBillV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/bill",{serviceName:"@serviceName",from:"@from",to:"@to"})}]),angular.module("ovh-api-services").service("OvhApiCloudProject",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("CloudProject");return{v6:function(){return a.get("OvhApiCloudProjectV6")},resetCache:c.removeAll,cache:c,Acl:function(){return a.get("OvhApiCloudProjectAcl")},Flavor:function(){return a.get("OvhApiCloudProjectFlavor")},Image:function(){return a.get("OvhApiCloudProjectImage")},Instance:function(){return a.get("OvhApiCloudProjectInstance")},Ip:function(){return a.get("OvhApiCloudProjectIp")},Kube:function(){return a.get("OvhApiCloudProjectKube")},Region:function(){return a.get("OvhApiCloudProjectRegion")},Snapshot:function(){return a.get("OvhApiCloudProjectSnapshot")},SshKey:function(){return a.get("OvhApiCloudProjectSshKey")},Credit:function(){return a.get("OvhApiCloudProjectCredit")},User:function(){return a.get("OvhApiCloudProjectUser")},ServiceInfos:function(){return a.get("OvhApiCloudProjectServiceInfos")},Alerting:function(){return a.get("OvhApiCloudProjectAlerting")},Bill:function(){return a.get("OvhApiCloudProjectBill")},Migration:function(){return a.get("OvhApiCloudProjectMigration")},Stack:function(){return a.get("OvhApiCloudProjectStack")},Volume:function(){return a.get("OvhApiCloudProjectVolume")},Network:function(){return a.get("OvhApiCloudProjectNetwork")},Quota:function(){return a.get("OvhApiCloudProjectQuota")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectV6",["$cacheFactory","$resource","$q","OvhApiCloudProject",function(a,b,c,d){"use strict";var e=a("OvhApiCloudProjectV6Query"),f={response:function(a){return d.resetCache(),a.data}},g=b("/cloud/project/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d.cache},unleash:{url:"/cloud/project/:serviceName/unleash",method:"POST",interceptor:f},put:{url:"/cloud/project/:serviceName",method:"PUT",interceptor:f},"delete":{url:"/cloud/project/:serviceName/terminate",method:"POST",interceptor:f},cancelCreation:{url:"/cloud/project/:serviceName/cancel",method:"POST",interceptor:f},vrack:{url:"/cloud/project/:serviceName/vrack",method:"GET"},createVrack:{url:"/cloud/project/:serviceName/vrack",method:"POST",hasBody:!1},operations:{method:"GET",isArray:!0,url:"/cloud/project/:serviceName/operation"},getOperation:{method:"GET",url:"/cloud/project/:serviceName/operation/:operationId"}});return g.queryDetails=function(){return g.query().$promise.then(function(a){var b=[];return angular.forEach(a,function(a){b.push(g.get({serviceName:a}).$promise)}),c.all(b)})},g.resetAllCache=function(){d.resetCache()},g.resetCache=function(){d.resetCache()},g.resetQueryCache=function(){d.resetCache()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiCloudProjectConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectConsumptionV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/consumption",{serviceName:"@serviceName"},{query:{method:"GET"},current:{url:"/cloud/project/:serviceName/usage/current",method:"GET"},bills:{url:"/cloud/project/:serviceName/usage/history",params:{serviceName:"@serviceName"},queryParams:{from:"@from",to:"@to"},method:"GET",isArray:!0},bill:{url:"/cloud/project/:serviceName/usage/history/:usageId",params:{usageId:"@usageId"},method:"GET"}});return b.getConsumption=function(a,c){if(c.startOf("month").isSame(moment().startOf("month")))return this.current({serviceName:a}).$promise;var d=c.startOf("month").subtract(1,"day").toISOString(),e=c.endOf("month").toISOString();return b.bills({serviceName:a,from:d,to:e}).$promise.then(function(a){return _.map(a,"id")}).then(function(c){return _.any(c)?b.bill({serviceName:a,usageId:_.first(c)}).$promise:null})},b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCreditAapi",["$resource","OvhApiCloudProjectCredit",function(a,b){"use strict";var c=a("/cloud/project/:serviceName/credit",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",cache:b.cache.aapi.query,isArray:!0}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCredit",["$injector","$cacheFactory",function(a,b){"use strict";var c={v6:{query:b("OvhApiCloudProjectCreditV6Query"),get:b("OvhApiCloudProjectCreditV6")},aapi:{query:b("OvhApiCloudProjectCreditAapiQuery")}};return{v6:function(){return a.get("OvhApiCloudProjectCreditV6")},Aapi:function(){return a.get("OvhApiCloudProjectCreditAapi")},resetCache:function(){c.v6.query.removeAll(),c.v6.get.removeAll(),c.aapi.query.removeAll()},cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectCreditV6",["$resource","OvhApiCloudProjectCredit",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/credit/:creditId",{serviceName:"@serviceName",creditId:"@creditId"},{get:{method:"GET",cache:b.cache.v6.get},query:{method:"GET",cache:b.cache.v6.query,isArray:!0},save:{method:"POST",interceptor:c}});return d.resetCache=function(){b.cache.v6.get.removeAll()},d.resetQueryCache=function(){b.cache.v6.query.removeAll(),b.cache.aapi.query.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavor",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectFlavorV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectFlavorV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectFlavorV6"),d=b("OvhApiCloudProjectFlavorV6Query"),e=a("/cloud/project/:serviceName/flavor/:flavorId",{serviceName:"@serviceName",flavorId:"@flavorId"},{get:{method:"GET",cache:c,transformResponse:function(a,b,c){var d=a;return 200===c&&(d=angular.fromJson(d),d.typeGeneric=_.snakeCase(d.type),d.groupName=d.name.replace(/^win\-/,"")),d}},query:{method:"GET",cache:d,isArray:!0,queryParams:{region:"@region"},transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),angular.forEach(d,function(a){a.typeGeneric=_.snakeCase(a.type),a.groupName=a.name.replace(/^win\-/,"")}),_.sortBy(d,function(a){return/(\d+)/.test(a.name)?parseInt(a.name.match(/(\d+)/)[0],10):a.name})):d}}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecastV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/forecast",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectImageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImageV6",["$resource","$cacheFactory",function(a,b){"use strict";function c(a,b){if(e[b]){for(var c=0,d=e[b].length;d>c;c++)if(e[b][c].regex.test(a))return e[b][c].name;return b+"_other"}return"unknown"}var d=b("OvhApiCloudProjectImageV6"),e={linux:[{name:"ubuntu",regex:/^Ubuntu/i},{name:"freebsd",regex:/^FreeBSD/i},{name:"coreos",regex:/^CoreOS/i},{name:"debian",regex:/^Debian/i},{name:"centos",regex:/^Cent[\s\-]?OS/i},{name:"fedora",regex:/^Fedora/i},{name:"dokku",regex:/^Dokku/i}],windows:[{name:"windows_server_2012",regex:/^Win[a-zA-Z\s\-]+2012/i},{name:"windows_server_2016",regex:/^Win[a-zA-Z\s\-]+2016/i}]};return a("/cloud/project/:serviceName/image/:imageId",{serviceName:"@serviceName",imageId:"@imageId"},{get:{method:"GET",cache:d,transformResponse:function(a,b,d){var e=a;return 200===d&&(e=angular.fromJson(e),e.nameGeneric=_.snakeCase(e.name),e.distribution=c(e.name,e.type)),e}},query:{method:"GET",cache:d,isArray:!0,transformResponse:function(a,b,d){var e=a;return 200===d?(e=angular.fromJson(e),angular.forEach(e,function(a){a.nameGeneric=_.snakeCase(a.name),a.distribution=c(a.name,a.type)}),_.sortBy(e,"name")):e}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceAapi",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c=a("/cloud/project/:projectId/instance/monitoring",{projectId:"@projectId"},{monitoring:{url:"/cloud/project/:projectId/instance/monitoring",cache:b.cache,method:"GET",serviceType:"aapi"},summary:{url:"/cloud/project/:projectId/instance/:instanceId/summary",cache:b.cache,method:"GET",serviceType:"aapi",params:{instanceId:"@instanceId"}}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstance",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstance");return{v6:function(){return a.get("OvhApiCloudProjectInstanceV6")},Aapi:function(){return a.get("OvhApiCloudProjectInstanceAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceV6",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/instance/:instanceId",{serviceName:"@serviceName",instanceId:"@instanceId"},{get:{method:"GET",cache:b.cache},query:{method:"GET",cache:b.cache,isArray:!0},save:{method:"POST",interceptor:c},remove:{method:"DELETE",interceptor:c},"delete":{method:"DELETE",interceptor:c},put:{method:"PUT",interceptor:c},backup:{url:"/cloud/project/:serviceName/instance/:instanceId/snapshot",method:"POST",isArray:!1,interceptor:c},reboot:{url:"/cloud/project/:serviceName/instance/:instanceId/reboot",method:"POST",interceptor:c},resume:{url:"/cloud/project/:serviceName/instance/:instanceId/resume",method:"POST",interceptor:c},activeMonthlyBilling:{url:"/cloud/project/:serviceName/instance/:instanceId/activeMonthlyBilling",method:"POST",interceptor:c},applicationAccess:{url:"/cloud/project/:serviceName/instance/:instanceId/applicationAccess",method:"POST",isArray:!0},resize:{url:"/cloud/project/:serviceName/instance/:instanceId/resize",method:"POST",interceptor:c},reinstall:{url:"/cloud/project/:serviceName/instance/:instanceId/reinstall",method:"POST",interceptor:c},rescueMode:{url:"/cloud/project/:serviceName/instance/:instanceId/rescueMode",method:"POST",interceptor:c},vnc:{url:"/cloud/project/:serviceName/instance/:instanceId/vnc",method:"POST"},bulk:{url:"/cloud/project/:serviceName/instance/bulk",method:"POST",interceptor:c,isArray:!0},monitoring:{url:"/cloud/project/:serviceName/instance/:instanceId/monitoring",cache:b.cache,method:"GET"}});return d.resetAllCache=function(){b.resetCache()},d.resetCache=function(){b.resetCache()},d.resetQueryCache=function(){b.resetCache()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIp",["OvhApiCloudProjectIpFailover",function(a){"use strict";return{failover:a}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpV6Query"),d=b("OvhApiCloudProjectIpV6"),e=a("/cloud/project/:serviceName/ip",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailover",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIpFailoverV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailoverV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpFailoverV6Query"),d=b("OvhApiCloudProjectIpFailoverV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/ip/failover/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},attach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/attach",interceptor:e},detach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/detach",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplb",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIplbV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplbV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIplbV6Query"),d=b("OvhApiCloudProjectIplbV6"),e=a("/cloud/project/:serviceName/ipLoadbalancing/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},post:{method:"POST"},validate:{method:"POST",url:"/cloud/project/:serviceName/ipLoadbalancing/:id/validate"},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKubeAapi",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiCloudProjectKubeAapi"),d=b("/cloud/project/:serviceName/kube",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKube",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiCloudProjectKubeAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectMigration",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectMigrationV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectMigrationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectMigrationV6Query"),d=b("OvhApiCloudProjectMigrationV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/migration/:migrationId",{serviceName:"@serviceName",migrationId:"@migrationId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetwork",["$injector",function(a){"use strict";return{Private:function(){return a.get("OvhApiCloudProjectNetworkPrivate")},Public:function(){return a.get("OvhApiCloudProjectNetworkPublic")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivate",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPrivateV6")},Subnet:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnet")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateV6Query"),d=b("OvhApiCloudProjectNetworkPrivateV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/network/private/:networkId",{serviceName:"@serviceName",networkId:"@networkId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateSubnet",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnetV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPrivateSubnetV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPrivateSubnetV6Query"),d=b("OvhApiCloudProjectNetworkPrivateSubnetV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/network/private/:networkId/subnet/:subnetId",{serviceName:"@serviceName",networkId:"@networkId",subnetId:"@subnetId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPublic",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectNetworkPublicV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectNetworkPublicV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectNetworkPublicV6Query"),d=a("/cloud/project/:serviceName/network/public/:networkId",{serviceName:"@serviceName",networkId:"@networkId"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetQueryCache()},d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectOpenstackClient",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectOpenstackClientV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectOpenstackClientV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/openstackClient",{serviceName:"@serviceName"},{post:{method:"POST"}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectQuotaV6",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/quota",{serviceName:"@serviceName"},{get:{method:"GET"},query:{method:"GET",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAvailableRegions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectAvailableRegionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectAvailableRegionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectAvailableRegionsV6Query"),d=b("OvhApiCloudProjectAvailableRegionsV6"),e=a("/cloud/project/:serviceName/regionAvailable",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),d.sort()):d}}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionV6")},Workflow:function(){return a.get("OvhApiCloudProjectRegionWorkflow"); },AvailableRegions:function(){return a.get("OvhApiCloudProjectAvailableRegions")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionV6Query"),d=b("OvhApiCloudProjectRegionV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/region/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),d.sort()):d}},addRegion:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackupV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackupV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionWorkflowBackupV6Query"),d={response:function(a){return c.removeAll(),a.data}},e=a("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupId",{serviceName:"@serviceName",regionName:"@regionName"},{query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflow",["$injector",function(a){"use strict";return{Backup:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackup")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfos",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectServiceInfosV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfosV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectServiceInfosV6Query"),d=b("OvhApiCloudProjectServiceInfosV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/serviceInfos",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSnapshotV6Query"),d=b("OvhApiCloudProjectSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/snapshot/:snapshotId",{serviceName:"@serviceName",snapshotId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):d}},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSshKeyV6Query"),d=b("OvhApiCloudProjectSshKeyV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/sshkey/:keyId",{serviceName:"@serviceName",keyId:"@keyId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):angular.fromJson(d)}},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStackV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectStackV6Query"),d=b("OvhApiCloudProjectStackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/stack/:stackId",{serviceName:"@serviceName",stackId:"@stackId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},availability:{url:"/cloud/project/:serviceName/stack/:stackId/availability",method:"GET",interceptor:e},client:{url:"/cloud/project/:serviceName/stack/:stackId/client",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStorageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorageV6",["$resource",function(a){"use strict";var b="/:basePath/cloud/project/:projectId/storage/:containerId";return a(b,{projectId:"@projectId",containerId:"@containerId"},{access:{method:"POST",url:"/:basePath/cloud/project/:projectId/storage/access"},cors:{method:"POST",url:b+"/cors"},getURL:{method:"POST",url:b+"/publicUrl"},"static":{method:"POST",url:b+"/static"}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsage",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiCloudProjectUsageHistory")},Current:function(){return a.get("OvhApiCloudProjectUsageCurrent")},Forecast:function(){return a.get("OvhApiCloudProjectUsageForecast")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageCurrentV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageCurrentV6"),d=a("/cloud/project/:serviceName/usage/current",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecastV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageForecastV6"),d=a("/cloud/project/:serviceName/usage/forecast",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistoryV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageHistoryV6Query"),d=b("OvhApiCloudProjectUsageHistoryV6"),e=a("/cloud/project/:serviceName/usage/history/:usageId",{serviceName:"@serviceName",usageId:"@usageId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserAapi",["$resource",function(a){"use strict";var b={openrc:{method:"GET",serviceType:"aapi",url:"/cloud/project/:serviceName/user/:userId/openrc"}},c=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},b);return c.services=b,c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUserV6")},Aapi:function(){return a.get("OvhApiCloudProjectUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUserV6Query"),d=b("OvhApiCloudProjectUserV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f={rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},g=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},remove:{method:"DELETE",interceptor:e},password:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/regeneratePassword"},token:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/token"},openrc:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/openrc"},ec2Credential:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/ec2Credential"},rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},f);return g.services=f,g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolume",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeV6Query"),d=b("OvhApiCloudProjectVolumeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/:volumeId",{serviceName:"@serviceName",volumeId:"@volumeId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e},put:{method:"PUT",interceptor:e},attach:{url:"/cloud/project/:serviceName/volume/:volumeId/attach",method:"POST",interceptor:e},detach:{url:"/cloud/project/:serviceName/volume/:volumeId/detach",method:"POST",interceptor:e},upsize:{url:"/cloud/project/:serviceName/volume/:volumeId/upsize",method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeSnapshotV6Query"),d=b("OvhApiCloudProjectVolumeSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/snapshot/:snapshotId",{serviceName:"@serviceName",volumeId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e},create:{url:"/cloud/project/:serviceName/volume/:volumeId/snapshot",method:"POST",param:{serviceName:"@serviceName",volumeId:"@volumeId"},interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiConnectivityEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiConnectivityEligibility");return{v6:function(){return a.get("OvhApiConnectivityEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiConnectivityEligibilityV6",["$resource","OvhApiConnectivityEligibility",function(a,b){"use strict";return a("/connectivity/eligibility/search/buildingDetails ",{},{buildingDetails:{method:"POST",isArray:!1,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiDbaas",["$injector",function(a){"use strict";return{Queue:function(){return a.get("OvhApiDbaasQueue")},Logs:function(){return a.get("OvhApiDbaasLogs")},Order:function(){return a.get("OvhApiDbaasOrder")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccountingAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAccountingAapi"),d=a("/dbaas/logs/:serviceName/accounting",{serviceName:"@serviceName"},{me:{method:"GET",url:"/dbaas/logs/:serviceName/accounting",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccounting",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsAccountingAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlert",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAlertV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlertV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAlertV6"),d=b("OvhApiDbaasLogsAlertV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert/:alertId",{serviceName:"@serviceName",streamId:"@streamId",alertId:"@alertId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasAapi",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/alias/:aliasId",{},{get:{method:"GET",serviceType:"aapi"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlias",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsAliasAapi")},v6:function(){return a.get("OvhApiDbaasLogsAliasV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId",{serviceName:"@serviceName"},{create:{method:"POST"},update:{method:"PUT"},remove:{method:"DELETE"},linkStream:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream"},unlinkStream:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream/:streamId"},linkIndex:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index"},unlinkIndex:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index/:indexId"},query:{method:"GET",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchive",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsArchiveV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchiveV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsArchiveV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId",{serviceName:"@serviceName",streamId:"@streamId",archiveId:"@archiveId",expirationInSeconds:"@expirationInSeconds"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET"},url:{method:"POST",interceptor:d,url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId/url"}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsCluster",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsClusterV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsClusterV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsClusterV6"),d=b("OvhApiDbaasLogsClusterV6Query"),e=a("/dbaas/logs/:serviceName/cluster/:clusterId",{serviceName:"@serviceName",clusterId:"@clusterId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContacts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsContactsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContactsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsContactsV6"),d=a("/me/contact/:contactId",{contactId:"@contactId"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardAapi"),d=a("/dbaas/logs/:serviceName/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsDashboardV6")},Aapi:function(){return a.get("OvhApiDbaasLogsDashboardAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardV6"),d=b("OvhApiDbaasLogsDashboardV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{query:{method:"GET",isArray:!0,cache:d},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},duplicate:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId/duplicate",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetailsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDetailsAapi"),d=a("/dbaas/logs/:serviceName/home",{serviceName:"@serviceName"},{me:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetails",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsDetailsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexAapi"),d=b("OvhApiDbaasLogsIndexAapiQuery"),e=a("/dbaas/logs/:serviceName/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndex",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsIndexV6")},Aapi:function(){return a.get("OvhApiDbaasLogsIndexAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexV6"),d=b("OvhApiDbaasLogsIndexV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/elasticsearch/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputAapi"),d=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInput",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsInputV6")},Aapi:function(){return a.get("OvhApiDbaasLogsInputAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputV6"),d=b("OvhApiDbaasLogsInputV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId",allowedNetworkId:"@allowedNetworkId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},start:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/start"},restart:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/restart"},end:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/end"},logurl:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/logs/url"},test:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/configtest"},testResult:{method:"GET",url:"/dbaas/logs/:serviceName/input/:inputId/configtest/result"},updateLogstash:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/logstash"},updateFlowgger:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/flowgger"},trustNetwork:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork"},rejectNetwork:{method:"DELETE",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork/:allowedNetworkId"}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAapi"),d=a("/dbaas/logs/:serviceName/home",{},{home:{method:"GET",url:"/dbaas/logs/:serviceName/home",serviceType:"aapi",cache:c,isArray:!1}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsV6")},Aapi:function(){return a.get("OvhApiDbaasLogsAapi")},Accounting:function(){return a.get("OvhApiDbaasLogsAccounting")},Cluster:function(){return a.get("OvhApiDbaasLogsCluster")},Contacts:function(){return a.get("OvhApiDbaasLogsContacts")},Details:function(){return a.get("OvhApiDbaasLogsDetails")},Stream:function(){return a.get("OvhApiDbaasLogsStream")},Offer:function(){return a.get("OvhApiDbaasLogsOffer")},Operation:function(){return a.get("OvhApiDbaasLogsOperation")},Alert:function(){return a.get("OvhApiDbaasLogsAlert")},Index:function(){return a.get("OvhApiDbaasLogsIndex")},Alias:function(){return a.get("OvhApiDbaasLogsAlias")},Archive:function(){return a.get("OvhApiDbaasLogsArchive")},Role:function(){return a.get("OvhApiDbaasLogsRole")},Input:function(){return a.get("OvhApiDbaasLogsInput")},Token:function(){return a.get("OvhApiDbaasLogsTokens")},Dashboard:function(){return a.get("OvhApiDbaasLogsDashboard")},User:function(){return a.get("OvhApiDbaasLogsUser")},Option:function(){return a.get("OvhApiDbaasLogsOption")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"},{streams:{method:"GET",isArray:!0,url:"/dbaas/logs/:serviceName/output/graylog/stream",cache:c},logDetail:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},serviceInfos:{method:"GET",url:"/dbaas/logs/:serviceName/serviceInfos",cache:c}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOfferV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOfferV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsOfferV6"),d=b("OvhApiDbaasLogsOfferV6Query"),e=a("/dbaas/logs/:serviceName/offer",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},offerDetail:{url:"/dbaas/logs/offer/:offerCode",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperationV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/operation/:operationId",{serviceName:"@serviceName",operationId:"@operationId"},{get:{method:"GET",url:"/dbaas/logs/:serviceName/operation/:operationId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsOptionV6"),d=b("OvhApiDbaasLogsOptionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/option/{optionId}",{serviceName:"@serviceName",optionId:"@optionId"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0,cache:d},terminate:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/option/:optionId/terminate"}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleMember",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleMemberV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleMemberV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleMemberV6"),d=b("OvhApiDbaasLogsRoleMemberV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId/member/:username",{serviceName:"@serviceName",roleId:"@roleId",username:"@username"},{query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/member"},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRolePermission",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRolePermissionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRolePermissionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRolePermissionV6"),d=b("OvhApiDbaasLogsRolePermissionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId/permission/:permissionId",{serviceName:"@serviceName",roleId:"@roleId",permissionId:"@permissionId"},{query:{method:"GET",cache:d,isArray:!0},getPermissionDetail:{method:"GET",cache:c},addAlias:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/alias"},addIndex:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/index"},addDashboard:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/dashboard"},addStream:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/stream"},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleAapi"),d=a("/dbaas/logs/:serviceName/role/:roleId",{serviceName:"@serviceName",roleId:"@roleId"},{get:{method:"GET",serviceType:"aapi",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRole",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleV6")},Aapi:function(){return a.get("OvhApiDbaasLogsRoleAapi")},Member:function(){return a.get("OvhApiDbaasLogsRoleMember")},Permission:function(){return a.get("OvhApiDbaasLogsRolePermission")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleV6"),d=b("OvhApiDbaasLogsRoleV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId",{serviceName:"@serviceName",roleId:"@roleId"},{query:{method:"GET",cache:d,isArray:!0},getDetail:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStreamAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsStreamAapi"),d=a("/dbaas/logs/:serviceName/stream/:streamId",{serviceName:"@serviceName",streamId:"@streamId"},{get:{method:"GET",url:"/dbaas/logs/:serviceName/stream/:streamId",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStream",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsStreamV6")},Aapi:function(){return a.get("OvhApiDbaasLogsStreamAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStreamV6",["$resource","$cacheFactory",function(a,b){ @@ -13,6 +13,7 @@ isArray:!0,cache:c},isEmailAvailable:{method:"GET",url:"/pack/xdsl/:packName/ema "use strict";var c=b("OvhApiTelephonyEasyHuntingHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyEasyHuntingRecordsV6"),d=a("OvhApiTelephonyEasyHuntingRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/easyHunting/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6"),d=b("OvhApiTelephonyEasyHuntingScreenListConditionsConditionsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions/conditions",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingScreenListConditionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingScreenListConditionsV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/easyHunting/:serviceName/screenListConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{query:{method:"GET",isArray:!0},get:{method:"GET"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingV6")},Sound:function(){return a.get("OvhApiTelephonyEasyHuntingSound")},Hunting:function(){return a.get("OvhApiTelephonyEasyHuntingHunting")},ScreenListConditions:function(){return a.get("OvhApiTelephonyEasyHuntingScreenListConditions")},TimeConditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditions")},Records:function(){return a.get("OvhApiTelephonyEasyHuntingRecords")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyHuntingV6"),d=b("OvhApiTelephonyEasyHuntingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/easyHunting/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},change:{method:"PUT",interceptor:e},soundUpload:{method:"POST",url:"/telephony/:billingAccount/easyHunting/:serviceName/soundUpload"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions/conditions/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsV6")},Conditions:function(){return a.get("OvhApiTelephonyEasyHuntingTimeConditionsConditions")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyHuntingTimeConditionsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyHunting/:serviceName/timeConditions",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{save:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEasyPabx");return{v6:function(){return a.get("OvhApiTelephonyEasyPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEasyPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/easyPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/easyPabx/:serviceName/hunting/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtoken",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyEventtokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyEventtokenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyEventtokenV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/telephony/:billingAccount/eventToken",{billingAccount:"@billingAccount"},{query:{method:"GET",cache:c},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaigns",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxCampaignsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxCampaignsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxCampaignsV6"),d=a("OvhApiTelephonyFaxCampaignsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName/campaigns/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns",interceptor:e},getDetail:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/detail",cache:c},start:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/start",interceptor:e},stop:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/campaigns/:id/stop",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxAapi",["$resource",function(a){"use strict";var b=a("/fax",{},{getServices:{method:"GET",url:"/fax",serviceType:"aapi",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyFax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyFaxV6")},Aapi:function(){return a.get("OvhApiTelephonyFaxAapi")},v7:function(){return a.get("OvhApiTelephonyFaxV7")},Campaigns:function(){return a.get("OvhApiTelephonyFaxCampaigns")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyFaxV6"),d=a("OvhApiTelephonyFaxV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},edit:{method:"PUT",interceptor:e},getSettings:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/settings",cache:c},setSettings:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/settings",interceptor:e},changePassword:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/changePassword",interceptor:e},sendFax:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/settings/sendFax",interceptor:e},getScreenLists:{method:"GET",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},createScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},updateScreenLists:{method:"PUT",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},deleteScreenLists:{method:"DELETE",url:"/telephony/:billingAccount/fax/:serviceName/screenLists"},resetScreenLists:{method:"POST",url:"/telephony/:billingAccount/fax/:serviceName/screenLists/reset"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyFaxV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/fax/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryConsumptionV6");return a("/telephony/:billingAccount/historyConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getFile:{method:"GET",url:"/telephony/:billingAccount/historyConsumption/:date/file"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryRepaymentConsumptionV6");return a("/telephony/:billingAccount/historyRepaymentConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/historyRepaymentConsumption"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyRepaymentConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyHistoryTollfreeConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyHistoryTollfreeConsumptionV6");return a("/telephony/:billingAccount/historyTollfreeConsumption/:date",{billingAccount:"@billingAccount",date:"@date"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},getDocument:{method:"GET",url:"/telephony/:billingAccount/historyTollfreeConsumption/:date/document"},resetCache:function(){c.removeAll()}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberAapi",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",serviceType:"aapi",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAbbreviatedNumber");return{v6:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumberAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAbbreviatedNumberV6",["$resource","OvhApiTelephonyLineAbbreviatedNumber",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber",cache:b.cache},detail:{method:"GET",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",cache:b.cache},remove:{method:"DELETE",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},update:{method:"PUT",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c},insert:{method:"POST",isArray:!1,url:"/telephony/:billingAccount/line/:serviceName/abbreviatedNumber/:abbreviatedNumber",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAllAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAllAapi"),d=a("/telephony/line/all",{},{query:{method:"GET",serviceType:"aapi",isArray:!0,cache:c},detail:{url:"/telephony/line/detail",method:"GET",serviceType:"aapi",isArray:!0,cache:c},byGroup:{url:"/telephony/line/group",method:"GET",serviceType:"aapi",isArray:!1},byGroupDetail:{url:"/telephony/line/groupDetail",method:"GET",serviceType:"aapi",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAll",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyLineAllAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2Call",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineClick2CallV6")},User:function(){return a.get("OvhApiTelephonyLineClick2CallUser")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/line/:serviceName/click2Call",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{post:{method:"POST",params:{calledNumber:"@calledNumber"}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUser",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiTelephonyLineClick2CallUser");return{v6:function(){return b.get("OvhApiTelephonyLineClick2CallUserV6")},Aapi:angular.noop,resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineClick2CallUserV6",["$resource","$cacheFactory","OvhApiTelephonyLineClick2CallUser",function(a,b,c){"use strict";var d={response:function(a){return c.cache.remove(a.config.url),a.data}};return a("/telephony/:billingAccount/line/:serviceName/click2CallUser/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:c.cache},post:{method:"POST",interceptor:d},get:{method:"GET",cache:c.cache,isArray:!1},"delete":{method:"DELETE",interceptor:d},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/changePassword",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d},click2Call:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/click2CallUser/:id/click2Call",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineOffersV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOffersV6",["$resource",function(a){"use strict";return a("/telephony/line/offers",null,{phones:{url:"/telephony/line/offer/phones",method:"GET",isArray:!0},query:{method:"GET",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptions",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineOptions");return{v6:function(){return a.get("OvhApiTelephonyLineOptionsV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineOptionsV6",["$resource","OvhApiTelephonyLineOptions",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/options",{billingAccountId:"@billingAccountId",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:b.cache},update:{method:"PUT",isArray:!1,interceptor:c},availableCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/availableCodecs",method:"GET",isArray:!0,cache:b.cache},defaultCodecs:{url:"/telephony/:billingAccount/line/:serviceName/options/defaultCodecs",method:"GET",isArray:!1,cache:b.cache,transformResponse:function(a){return{codecs:angular.fromJson(a)}}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineFunctionPhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneFunctionV7")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneFunctionV6"),d={response:function(a){return c.removeAll(),a.data}};return a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},save:{method:"PUT",interceptor:d},availableFunctions:{url:"/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum/availableFunction",params:{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"},method:"GET",isArray:!0,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneFunctionV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone/functionKey/:keyNum",{billingAccount:"@billingAccount",serviceName:"@serviceName",keyNum:"@keyNum"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6"),d=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyLinePhonePhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhonePhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyLinePhonePhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhonePhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhonePhonebookV6"),d=b("OvhApiTelephonyLinePhonePhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey",{billingAccount:"@billingAccount",serviceName:"@serviceName",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMA",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneRMAV6")},Aapi:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneRMAV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneRMAv6Cache"),d=b("OvhApiTelephonyLinePhoneRMAV6QueryCache"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}};return a("/telephony/:billingAccount/line/:serviceName/phone/rma/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c,isArray:!1},post:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},cancel:{method:"DELETE",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinePhoneV6")},v7:function(){return a.get("OvhApiTelephonyLinePhoneV7")},Aapi:angular.noop,FunctionKey:function(){return a.get("OvhApiTelephonyLineFunctionPhone")},Phonebook:function(){return a.get("OvhApiTelephonyLinePhonePhonebook")},RMA:function(){return a.get("OvhApiTelephonyLinePhoneRMA")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLinePhoneV6"),d={response:function(a){return c.remove(a.config.url.replace("/changePhoneConfiguration","")),a.data}},e=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:d},changePhoneConfiguration:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/changePhoneConfiguration",interceptor:d},getMerchandiseAvailable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/merchandiseAvailable",isArray:!0},reboot:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/reboot"},resetConfig:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/phone/resetConfig"},supportsPhonebook:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phone/supportsPhonebook",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:null}}});return e.resetAllCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinePhoneV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName/phone",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyLineAapi"),d=a("/telephony/line",{},{get:{method:"GET",serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyLine",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLineV6")},Aapi:function(){return a.get("OvhApiTelephonyLineAapi")},v7:function(){return a.get("OvhApiTelephonyLineV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyLineAbbreviatedNumber")},Phone:function(){return a.get("OvhApiTelephonyLinePhone")},Options:function(){return a.get("OvhApiTelephonyLineOptions")},Click2Call:function(){return a.get("OvhApiTelephonyLineClick2Call")},Offers:function(){return a.get("OvhApiTelephonyLineOffers")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV6",["$cacheFactory","$resource","$q","$http",function(a,b,c,d){"use strict";var e=a("OvhApiTelephonyLineV6"),f=a("OvhApiTelephonyLineV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=b("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:f},getBatch:{method:"GET",isArray:!0,cache:f,headers:{"X-Ovh-Batch":","}},terminate:{method:"DELETE",url:"/telephony/:billingAccount/service/:serviceName",params:{reason:"@reason",details:"@details"},isArray:!1},cancelTermination:{method:"POST"},edit:{method:"PUT",interceptor:g},getOptions:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/options",cache:e},setOptions:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/options",interceptor:g},changePassword:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/changePassword",interceptor:g},canChangePassword:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/canChangePassword",isArray:!1,transformResponse:d.defaults.transformResponse.concat(function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d}),interceptor:{responseError:function(a){return 403===a.status?a.data:c.reject(a)}}},convertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/convertToNumber",preventLogout:!0},cancelConvertToNumber:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/cancelConvertToNumber",preventLogout:!0},offer:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/offer",isArray:!1,cache:e},getTones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/tones"},changeTones:{method:"PUT",url:"/telephony/:billingAccount/line/:serviceName/tones",interceptor:g},toneUpload:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/tones/toneUpload"},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:e},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:e},lastRegistrations:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/lastRegistrations",isArray:!0,cache:e},phoneCanBeAssociable:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/phoneCanBeAssociable",isArray:!0},listAssociablePhones:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/listAssociablePhones",isArray:!0},associateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/associateDevice"},dissociateDevice:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/dissociateDevice"},maximumAvailableSimultaneousLines:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/maximumAvailableSimultaneousLines",isArray:!1,transformResponse:function(a,b,c){return 200===c?{maximum:angular.fromJson(a)}:a}},removeSimultaneousLine:{method:"POST",url:"/telephony/:billingAccount/line/:serviceName/removeSimultaneousLines",isArray:!1},simultaneousChannelsDetails:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/simultaneousChannelsDetails",isArray:!1}});return h.resetCache=function(){e.removeAll(); },h.resetQueryCache=function(){f.removeAll()},h.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyLineV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/line/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyLines",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyLinesV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyLinesV6",["$resource",function(a){"use strict";return a("/telephony/lines/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},changeContact:{method:"POST",url:"/telephony/lines/:serviceName/changeContact",isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/lines/:serviceName/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/lines/:serviceName/serviceInfos"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyMiniPabx");return{v6:function(){return a.get("OvhApiTelephonyMiniPabxV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyMiniPabxV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/miniPabx/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1},getHunting:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},updateHunting:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting"},queryAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!0},getAgent:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",params:{agentNumber:"@agentNumber"}},createAgent:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent",isArray:!1},saveAgent:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},deleteAgent:{method:"DELETE",url:"/telephony/:billingAccount/miniPabx/:serviceName/hunting/agent/:agentNumber",isArray:!1,params:{agentNumber:"@agentNumber"}},getTones:{method:"GET",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},saveTones:{method:"PUT",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones",isArray:!1},uploadTones:{method:"POST",url:"/telephony/:billingAccount/miniPabx/:serviceName/tones/toneUpload",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberAapi",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache,serviceType:"aapi"},all:{method:"GET",url:"/telephony/numbers/all",isArray:!0,cache:b.cache,serviceType:"aapi"},prices:{method:"GET",url:"/telephony/:billingAccount/number/:country/prices",isArray:!0,cache:b.cache,serviceType:"aapi"},orderableByRange:{method:"GET",url:"/telephony/:country/:billingAccount/number/:type/range/:range",isArray:!1,serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumber",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyNumber");return{Aapi:function(){return a.get("OvhApiTelephonyNumberAapi")},v6:function(){return a.get("OvhApiTelephonyNumberV6")},v7:function(){return a.get("OvhApiTelephonyNumberV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV6",["$resource","OvhApiTelephonyNumber",function(a,b){"use strict";return a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:b.cache},getZones:{method:"GET",url:"/telephony/number/zones",isArray:!0,cache:b.cache},getDetailedZones:{method:"GET",url:"/telephony/number/detailedZones",isArray:!0,cache:b.cache},getRanges:{method:"GET",url:"/telephony/number/ranges",isArray:!0,cache:b.cache},getSpecificNumbers:{method:"GET",url:"/telephony/number/specificNumbers",isArray:!0,cache:b.cache},edit:{method:"PUT"},changeFeatureType:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/changeFeatureType",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},isArray:!1},convertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/convertToLine"},cancelConvertToLine:{method:"POST",url:"/telephony/:billingAccount/number/:serviceName/cancelConvertToLine"},convertToLineAvailableOffers:{method:"GET",url:"/telephony/:billingAccount/number/:serviceName/convertToLineAvailableOffers"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyNumberV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/number/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/offerTask/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenListV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionScreenList/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionConditionTimeV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/conditionTime/:conditionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",conditionId:"@conditionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRule",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionRuleV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId/rule/:ruleId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId",ruleId:"@ruleId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtension",["$injector",function(a){"use strict";return{Rule:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionRule")},ConditionScreenList:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionScreenList")},ConditionTime:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionConditionTime")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtensionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanExtensionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId/extension/:extensionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId",extensionId:"@extensionId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplan",["$injector",function(a){"use strict";return{Extension:function(){return a.get("OvhApiTelephonyOvhPabxDialplanExtension")},v6:function(){return a.get("OvhApiTelephonyOvhPabxDialplanV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxDialplanV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/dialplan/:dialplanId",{billingAccount:"@billingAccount",serviceName:"@serviceName",dialplanId:"@dialplanId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueueV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgentQueue")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},create:{method:"POST",interceptor:e},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},addToQueue:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgentV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueAgentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueAgentV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",agentId:"@agentId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},change:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatus:{url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId/liveStatus",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueLiveCallsV6",["$resource",function(a){"use strict";var b=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},eavesdrop:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/eavesdrop"},hangup:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hangup"},hold:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/hold"},intercept:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/intercept"},transfer:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/transfer"},whisper:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveCalls/:id/whisper"}});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueV6")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueAgent")},LiveCalls:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueueLiveCalls")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingQueueV6"),d=b("OvhApiTelephonyOvhPabxHuntingQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",{billingAccount:"@billingAccount",serviceName:"@serviceName",queueId:"@queueId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:e},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},getLiveStatistics:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/liveStatistics"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHunting",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxHuntingV6")},Queue:function(){return a.get("OvhApiTelephonyOvhPabxHuntingQueue")},Agent:function(){return a.get("OvhApiTelephonyOvhPabxHuntingAgent")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxHuntingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabxHuntingV6"),d={response:function(a){return c.remove(a.config.url),a.resource}},e=a("/telephony/:billingAccount/ovhPabx/:serviceName/hunting",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},change:{method:"PUT",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntry",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntryV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuEntryV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId/entry/:entryId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId",entryId:"@entryId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenu",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxMenuV6")},Entry:function(){return a.get("OvhApiTelephonyOvhPabxMenuEntry")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxMenuV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/menu/:menuId",{billingAccount:"@billingAccount",serviceName:"@serviceName",menuId:"@menuId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecords",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxRecordsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxRecordsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiTelephonyOvhPabxRecordsV6"),d=a("OvhApiTelephonyOvhPabxRecordsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/telephony/:billingAccount/ovhPabx/:serviceName/records/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSound",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxSoundV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxSoundV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/sound/:soundId",{billingAccount:"@billingAccount",serviceName:"@serviceName",soundId:"@soundId"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabx",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyOvhPabx");return{v6:function(){return a.get("OvhApiTelephonyOvhPabxV6")},Dialplan:function(){return a.get("OvhApiTelephonyOvhPabxDialplan")},Sound:function(){return a.get("OvhApiTelephonyOvhPabxSound")},Menu:function(){return a.get("OvhApiTelephonyOvhPabxMenu")},Hunting:function(){return a.get("OvhApiTelephonyOvhPabxHunting")},Records:function(){return a.get("OvhApiTelephonyOvhPabxRecords")},Tts:function(){return a.get("OvhApiTelephonyOvhPabxTts")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxV6",["$resource","OvhApiTelephonyOvhPabx",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}},d=a("/telephony/:billingAccount/ovhPabx",{billingAccount:"@billingAccount"},{query:{method:"GET",isArray:!0,cache:b.cache},get:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName",cache:b.cache},getHunting:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting",cache:b.cache},queryAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent",isArray:!0,cache:b.cache},getAgent:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId",cache:b.cache},queryQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue",isArray:!0,cache:b.cache},getQueue:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",cache:b.cache},updateQueue:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId",interceptor:c},queryTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent",isArray:!0,cache:b.cache},getTier:{method:"GET",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",cache:b.cache},updateTier:{method:"PUT",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},addTier:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/agent/:agentId/queue",interceptor:c},deleteTier:{method:"DELETE",url:"/telephony/:billingAccount/ovhPabx/:serviceName/hunting/queue/:queueId/agent/:agentId",interceptor:c},soundUpload:{method:"POST",url:"/telephony/:billingAccount/ovhPabx/:serviceName/soundUpload"}});return d}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyOvhPabxTtsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyOvhPabxTtsV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/ovhPabx/:serviceName/tts/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT",isArray:!1},create:{method:"POST",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContactV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookPhonebookContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookPhonebookContactV6"),d=b("OvhApiTelephonyPhonebookPhonebookContactV6Query"),e=b("OvhApiTelephonyPhonebookPhonebookContactv6Batch"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),e.remove(a.config.url),a.resource}},g=a("/telephony/:billingAccount/phonebook/:bookKey/phonebookContact/:id",{billingAccount:"@billingAccount",bookKey:"@bookKey",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:e},create:{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/phonebookContact",interceptor:f},update:{method:"PUT",interceptor:f},remove:{method:"DELETE",interceptor:f}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebook",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPhonebookV6")},PhonebookContact:function(){return a.get("OvhApiTelephonyPhonebookPhonebookContact")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPhonebookV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyPhonebookV6"),d=b("OvhApiTelephonyPhonebookV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/phonebook/:bookKey",{billingAccount:"@billingAccount",bookKey:"@bookKey"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/telephony/:billingAccount/phonebook",interceptor:e,transformResponse:function(a,b,c){return 200===c?{bookKey:angular.fromJson(a)}:null}},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},getExport:{method:"GET",url:"/telephony/:billingAccount/phonebook/:bookKey/export"},"import":{method:"POST",url:"/telephony/:billingAccount/phonebook/:bookKey/import",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortability",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyPortabilityV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyPortabilityV6",["$resource","$http",function(a,b){"use strict";var c=function(a,b,c){var d={};return 403===c?(d.value=!1,d.message=a.message):d.value=a,d};return a("/telephony/:billingAccount/portability/:id",{billingAccount:"@billingAccount",id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getStatus:{method:"GET",url:"/telephony/:billingAccount/portability/:id/status",isArray:!0},canBeCancelled:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeCancelled",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},cancel:{method:"POST",url:"/telephony/:billingAccount/portability/:id/cancel",isArray:!1},canBeExecuted:{method:"GET",url:"/telephony/:billingAccount/portability/:id/canBeExecuted",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},execute:{method:"POST",url:"/telephony/:billingAccount/portability/:id/execute",isArray:!1},dateCanBeChanged:{method:"GET",url:"/telephony/:billingAccount/portability/:id/dateCanBeChanged",isArray:!1,transformResponse:b.defaults.transformResponse.concat(c)},changeDate:{method:"POST",url:"/telephony/:billingAccount/portability/:id/changeDate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRedirectV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRedirectV6",["$resource",function(a){return a("/telephony/:billingAccount/:featureType/:serviceName",{billingAccount:"@billingAccount",featureType:"@featureType",serviceName:"@serviceName"},{change:{method:"POST",url:"/telephony/:billingAccount/:featureType/:serviceName/changeDestination ",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsva",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyRsvaV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyRsvaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyRsvaV6"),d=function(a){return c.removeAll(),a.data},e=a("/telephony/:billingAccount/rsva/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},edit:{method:"PUT",interceptor:d},getAllowedRateCodes:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/allowedRateCodes",cache:c,isArray:!0},getCurrentRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/currentRateCode",cache:c},getScheduledRateCode:{method:"GET",url:"/telephony/:billingAccount/rsva/:serviceName/scheduledRateCode",cache:c},scheduleRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/scheduleRateCode",interceptor:d},cancelScheduledRateCode:{method:"POST",url:"/telephony/:billingAccount/rsva/:serviceName/cancelScheduledRateCode",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEvents",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerEventsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerEventsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerEventsV6"),d=b("OvhApiTelephonySchedulerEventsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName/events/:uid",{billingAccount:"@billingAccount",serviceName:"@serviceName",uid:"@uid"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},create:{url:"/telephony/:billingAccount/scheduler/:serviceName/events",params:{billingAccount:"@billingAccount",serviceName:"@serviceName"},method:"POST",interceptor:e},save:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScheduler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonySchedulerV6")},Events:function(){return a.get("OvhApiTelephonySchedulerEvents")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonySchedulerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonySchedulerV6"),d=b("OvhApiTelephonySchedulerV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/scheduler/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",isArray:!1,cache:c},query:{method:"GET",isArray:!0,cache:d},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},save:{method:"PUT",interceptor:e},importIcsCalendar:{method:"POST",url:"/telephony/:billingAccount/scheduler/:serviceName/importIcsCalendar",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenLists",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenListsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenListsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenListsV6"),d=b("OvhApiTelephonyScreenListsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName/screenLists/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreen",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyScreenV6")},ScreenLists:function(){return a.get("OvhApiTelephonyScreenLists")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyScreenV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyScreenV6"),d=b("OvhApiTelephonyScreenV6Query"),e={ -response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},change:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceFaxConsumptionV6"),d=b("OvhApiTelephonyServiceFaxConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/offerTask/:taskId",{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionAapi",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{repayment:{method:"GET",url:"/telephony/:billingAccount/repayment",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumption",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionAapi")},v6:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceRepaymentConsumptionV6"),d=b("OvhApiTelephonyServiceRepaymentConsumptionV6Query"),e=b("OvhApiTelephonyServiceRepaymentConsumptionv6Batch"),f=a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",headers:{"X-Ovh-Batch":","},cache:e,isArray:!0}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetBatchCache=function(){e.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/telephony/:billingAccount/service/:serviceName/task/:taskId",d=a(c,{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{get:{url:c,method:"GET",isArray:!1},query:{url:"/telephony/:billingAccount/service/:serviceName/task",method:"GET",isArray:!0}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:1e3})},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyService",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceV6")},v7:function(){return a.get("OvhApiTelephonyServiceV7")},VoiceConsumption:function(){return a.get("OvhApiTelephonyServiceVoiceConsumption")},FaxConsumption:function(){return a.get("OvhApiTelephonyServiceFaxConsumption")},Task:function(){return a.get("OvhApiTelephonyServiceTask")},OfferTask:function(){return a.get("OvhApiTelephonyServiceOfferTask")},RepaymentConsumption:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumption")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceV6"),d=b("OvhApiTelephonyServiceV6Query"),e=b("OvhApiTelephonyServiceOfferV6Query"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},g=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/cancelTermination",interceptor:f},changeOfBillingAccount:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/changeOfBillingAccount",interceptor:f,preventLogout:!0},offerChanges:{url:"/telephony/:billingAccount/service/:serviceName/offerChanges",method:"GET",isArray:!0,cache:e},offerChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"GET",isArray:!1},cancelOfferChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"DELETE"},changeOffer:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"POST",isArray:!1},diagnosticReports:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/diagnosticReports",isArray:!0},directory:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory"},changeDirectory:{method:"PUT",url:"/telephony/:billingAccount/service/:serviceName/directory"},getDirectoryServiceCode:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getDirectoryServiceCode",isArray:!0},getDirectoryWayTypes:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getWayTypes",isArray:!0},fetchDirectoryEntrepriseInformations:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/directory/fetchEntrepriseInformations"}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll(),e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionAapi");return a("/telephony/:billingAccount/consumption",{billingAccount:"@billingAccount"},{get:{serviceType:"aapi",isArray:!1,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV7")},Aapi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionV6"),d=b("OvhApiTelephonyServiceVoiceConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0},callDiagnostics:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId/callDiagnostics",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/task/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAapi",["$resource",function(a){"use strict";return a("/telephony",{},{query:{method:"GET",serviceType:"aapi",isArray:!0},count:{method:"GET",url:"/telephony/count",serviceType:"aapi",isArray:!1},infra:{method:"GET",url:"/telephony/infra/:billingAccount",serviceType:"aapi",isArray:!1},aliasAll:{method:"GET",url:"/telephony/alias/all",serviceType:"aapi",isArray:!0},billingAccounts:{method:"GET",url:"/telephony/all",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephony",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyV6")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},v7:function(){return a.get("OvhApiTelephonyV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyAbbreviatedNumber")},Eventtoken:function(){return a.get("OvhApiTelephonyEventtoken")},Fax:function(){return a.get("OvhApiTelephonyFax")},OfferTask:function(){return a.get("OvhApiTelephonyOfferTask")},Line:function(){return a.get("OvhApiTelephonyLine")},Lines:function(){return a.get("OvhApiTelephonyLines")},Number:function(){return a.get("OvhApiTelephonyNumber")},Redirect:function(){return a.get("OvhApiTelephonyRedirect")},Voicemail:function(){return a.get("OvhApiTelephonyVoicemail")},Service:function(){return a.get("OvhApiTelephonyService")},TimeCondition:function(){return a.get("OvhApiTelephonyTimeCondition")},HistoryConsumption:function(){return a.get("OvhApiTelephonyHistoryConsumption")},HistoryRepaymentConsumption:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumption")},HistoryTollfreeConsumption:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumption")},Screen:function(){return a.get("OvhApiTelephonyScreen")},Portability:function(){return a.get("OvhApiTelephonyPortability")},Scheduler:function(){return a.get("OvhApiTelephonyScheduler")},Aliases:function(){return a.get("OvhApiTelephonyAliases")},Phonebook:function(){return a.get("OvhApiTelephonyPhonebook")},EasyHunting:function(){return a.get("OvhApiTelephonyEasyHunting")},Rsva:function(){return a.get("OvhApiTelephonyRsva")},Conference:function(){return a.get("OvhApiTelephonyConference")},Vxml:function(){return a.get("OvhApiTelephonyVxml")},Trunks:function(){return a.get("OvhApiTelephonyTrunks")},Trunk:function(){return a.get("OvhApiTelephonyTrunk")},OvhPabx:function(){return a.get("OvhApiTelephonyOvhPabx")},Task:function(){return a.get("OvhApiTelephonyTask")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyV6",["$resource","$cacheFactory","OvhApiTelephonyLineAllAapi",function(a,b,c){var d=b("OvhApiTelephonyV6"),e=b("OvhApiTelephonyv6Schema"),f=b("OvhApiTelephonyV6Query"),g={response:function(a){return d.remove(a.config.url),f.removeAll(),c.resetCache(),a.resource}},h=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",cache:d},query:{method:"GET",cache:f,isArray:!0},edit:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g},schema:{method:"GET",url:"/telephony.json",cache:e},billingAccounts:{method:"GET",url:"/telephony",isArray:!0},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:d},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:d},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/cancelTermination"},allowedCreditThreshold:{method:"GET",url:"/telephony/:billingAccount/allowedCreditThreshold",isArray:!0,cache:d},accessories:{method:"GET",isArray:!0,url:"/telephony/accessories",params:{country:"@country"},cache:d},transferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/transferSecurityDeposit"},getServiceInfos:{method:"GET",url:"/telephony/:billingAccount/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/:billingAccount/serviceInfos"},changeContact:{method:"POST",url:"/telephony/:billingAccount/changeContact",isArray:!0},availableDefaultSipDomains:{method:"GET",url:"/telephony/availableDefaultSipDomains",isArray:!0},setDefaultSipDomain:{method:"POST",url:"/telephony/setDefaultSipDomain"},getAmountSecurityDeposit:{method:"GET",url:"/telephony/:billingAccount/amountSecurityDeposit",isArray:!0},getCurrentOrderIds:{method:"GET",url:"/telephony/currentOrderIds",isArray:!0},canTransferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/canTransferSecurityDeposit",isArray:!1,transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:"true"===d.toLowerCase()}),d}},getLineOfferPhones:{method:"GET",url:"/telephony/line/offer/phones",isArray:!0},searchService:{method:"GET",url:"/telephony/searchServices",isArray:!0}});return h.resetCache=function(){d.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTimeConditionConditionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionConditionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionAapi",["$resource","OvhApiTelephonyTimeCondition",function(a,b){"use strict";return a("/telephony/:billingAccount/timeCondition",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getConditions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition",method:"GET",serviceType:"aapi",cache:b.cache,isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{v6:function(){return a.get("OvhApiTelephonyTimeConditionV6")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionV6",["$resource","OvhApiTelephonyTimeCondition",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/timeCondition/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"GET",cache:b.cache,isArray:!1},setOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"PUT",interceptor:c,isArray:!1},addCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"POST",interceptor:c,isArray:!1},updateCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"PUT",interceptor:c,isArray:!1},deleteCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"DELETE",interceptor:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number",{billingAccount:"@billingAccount",serviceName:"@serviceName",number:"@number"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber",isArray:!1},validate:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number/validate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkV6")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getChannelsPacksRepartition:{method:"GET",url:"/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunksV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksV6"),d=b("OvhApiTelephonyTrunksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/trunks/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/trunks/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/trunks/:serviceName/serviceInfos",interceptor:e},changeContact:{method:"POST",url:"/telephony/trunks/:serviceName/changeContact",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV6")},v7:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesV6"),d=b("OvhApiTelephonyVoicemailDirectoriesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailGreetingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsV6"),d=b("OvhApiTelephonyVoicemailGreetingsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/greetings/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailV6")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailV6",["$resource","$cacheFactory","$http",function(a,b,c){"use strict";var d=b("OvhApiTelephonyVoicemailV6"),e=b("OvhApiTelephonyVoicemailV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),a.resource}},g=a("/telephony/:billingAccount/voicemail/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:e,isArray:!0},getSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",cache:d},setSettings:{method:"PUT",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",interceptor:f},changePassword:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword",interceptor:f},getNumbersSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"},routing:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/routing",transformResponse:c.defaults.transformResponse.concat(function(a,b,c){return 200===c?{data:a}:null})},changeRouting:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVxmlV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlV6",["$resource",function(a){return a("/telephony/:billingAccount/vxml/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{settings:{method:"GET",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1},save:{method:"PUT",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiValidateAapi",["$resource",function(a){"use strict";return a("/validate",{},{phone:{url:"/validate/phone/:regionCode/:phoneNumber",method:"GET",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiVeeam",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamV6"),d=b("OvhApiVeeamV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeamCloudConnect/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},getDetails:{method:"GET",cache:c},getServiceInfos:{url:"/veeamCloudConnect/:serviceName/serviceInfos",method:"GET",cache:c},getInventories:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"GET",isArray:!0,cache:c},addInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"POST",interceptor:e},getOrderableOffers:{url:"/veeamCloudConnect/:serviceName/orderableUpgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurations:{url:"/order/veeamCloudConnect/:serviceName/upgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurationsPrices:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"GET",cache:c,params:{duration:"@duration"}},createUpgradeOrder:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"POST",interceptor:e,params:{duration:"@duration"}},getInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName",method:"GET",cache:c,params:{inventoryName:"@inventoryName"}},upgradeQuota:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName/upgradeQuota",method:"POST",interceptor:e,params:{inventoryName:"@inventoryName"}},capabilities:{url:"/veeamCloudConnect/:serviceName/capabilities",method:"GET",cache:c},tasks:{url:"/veeamCloudConnect/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeamCloudConnect/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterprise",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamEnterpriseV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterpriseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamEnterpriseV6"),d=b("OvhApiVeeamEnterpriseV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeam/veeamEnterprise/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getServiceInfos:{url:"/veeam/veeamEnterprise/:serviceName/serviceInfos",method:"GET",cache:c},register:{url:"/veeam/veeamEnterprise/:serviceName/register",method:"POST",interceptor:e},update:{url:"/veeam/veeamEnterprise/:serviceName/update",method:"POST",interceptor:e},terminate:{url:"/veeam/veeamEnterprise/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/veeam/veeamEnterprise/:serviceName/confirmTermination",method:"POST",interceptor:e},tasks:{url:"/veeam/veeamEnterprise/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeam/veeamEnterprise/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVpsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsAapi"),d=a("/vps/:serviceName",{serviceName:"@serviceName"},{summary:{url:"/vps/:serviceName/summary",method:"GET",cache:c,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVpsV6")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVpsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsV6"),d=b("OvhApiVpsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vps/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getMonitoring:{url:"/vps/:serviceName/monitoring",method:"GET",period:"@period",type:"@type",cache:c},availableUpgrade:{url:"/vps/:serviceName/availableUpgrade",method:"GET",isArray:!0},version:{url:"/vps/:serviceName/version",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectV6"),d=b("OvhApiVrackCloudProjectV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/cloudProject/:project",{},{query:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},isArray:!0,cache:d},get:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},cache:c},edit:{method:"PUT",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},"delete":{method:"DELETE",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/cloudProject",params:{serviceName:"@serviceName"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudV6"),d=b("OvhApiVrackDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/dedicatedCloud/:dedicatedCloud",{serviceName:"@serviceName",dedicatedCloud:"@dedicatedCloud"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/dedicatedCloud",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedCloudDatacenterV6"),e={response:function(a){return d.remove(a.config.url),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter",{serviceName:"@serviceName",datacenter:"@datacenter"},{allowedVrack:{method:"GET",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/allowedVrack", -cache:d,isArray:!0},move:{method:"POST",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/move",interceptor:e}});return f.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedConnectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectV6"),e=b("OvhApiVrackDedicatedConnectV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedConnect/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedConnect",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedServerV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerV6"),e=b("OvhApiVrackDedicatedServerV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedServer/:dedicatedServer",{serviceName:"@serviceName",dedicatedServer:"@dedicatedServer"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedServer",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerInterfaceV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceV6Query"),e={response:function(a){return d.removeAll(),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedServerInterface/:dedicatedServerInterface",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},details:{method:"GET",cache:d,url:"/vrack/:serviceName/dedicatedServerInterfaceDetails",params:{serviceName:"@serviceName"},isArray:!0},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/vrack/:serviceName/dedicatedServerInterface"},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.Aapi().resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpV6"),e=b("OvhApiVrackIpV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/ip/:ip",{serviceName:"@serviceName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/ip",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpLoadBalancingV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackIpLoadBalancingV6"),d=b("OvhApiVrackIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/ipLoadbalancing/:ipLoadbalancing",{serviceName:"@serviceName",ipLoadbalancing:"@ipLoadbalancing"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/ipLoadbalancing",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackLegacyVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackV6"),e=b("OvhApiVrackLegacyVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/legacyVrack/:legacyVrack",{serviceName:"@serviceName",legacyVrack:"@legacyVrack"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/legacyVrack",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackNasha",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackNashaV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaV6"),e=b("OvhApiVrackNashaV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/nasha/:zpool",{serviceName:"@serviceName",zpool:"@zpool"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/nasha",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{v6:function(){return a.get("OvhApiVrackPublicCloudV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","OvhApiVrackPublicCloud","OvhApiCloudProject","OvhApiVrack",function(a,b,c,d){var e={response:function(a){return b.resetCache(),c.resetCache(),d.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName",{serviceName:"@serviceName"},{project:{method:"GET",url:"/vrack/:serviceName/cloudProject/:projectId ",cache:b.cache},projects:{method:"GET",url:"/vrack/:serviceName/cloudProject",isArray:!0,cache:b.cache},addProject:{method:"POST",url:"/vrack/:serviceName/cloudProject",interceptor:e},removeProject:{method:"DELETE",url:"/vrack/:serviceName/cloudProject/:projectId ",interceptor:e}});return f}]),angular.module("ovh-api-services").service("OvhApiVrackAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackAapi"),d=a("/vrack/:serviceName",{serviceName:"@serviceName"},{query:{url:"/vracks",method:"GET",cache:c,serviceType:"aapi",isArray:!0},allowedServices:{url:"/vrack/:serviceName/allowedServices",method:"GET",cache:c,serviceType:"aapi",isArray:!1},services:{url:"/vrack/:serviceName/services",method:"GET",cache:c,serviceType:"aapi",isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},v6:function(){return a.get("OvhApiVrackV6")},CloudProject:function(){return a.get("OvhApiVrackCloudProject")},DedicatedCloud:function(){return a.get("OvhApiVrackDedicatedCloud")},DedicatedServer:function(){return a.get("OvhApiVrackDedicatedServer")},DedicatedServerInterface:function(){return a.get("OvhApiDedicatedServerInterface")},DedicatedConnect:function(){return a.get("OvhApiVrackDedicatedConnect")},Ip:function(){return a.get("OvhApiVrackIp")},LegacyVrack:function(){return a.get("OvhApiVrackLegacyVrack")},Nasha:function(){return a.get("OvhApiVrackNasha")},IpLoadBalancing:function(){return a.get("OvhApiVrackIpLoadBalancing")}}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackV6"),e=b("OvhApiVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.resetCache(),a}},g=a("/vrack/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/vrack.json"},query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},allowedServices:{method:"GET",url:"/vrack/:serviceName/allowedServices",cache:d},tasks:{method:"GET",isArray:!0,url:"/vrack/:serviceName/task"},task:{method:"GET",url:"/vrack/:serviceName/task/:taskId"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiWorkingStatusAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiWorkingStatusAapi"),d=a("/working-status/:product",{product:"@product"},{get:{method:"GET",url:"/working-status/:product",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiWorkingStatus",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiWorkingStatusAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslDeconsolidationV6")},Aapi:function(){return angular.noop}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationV6");return a("/xdsl/:xdslId",{serviceName:"@serviceName"},{terms:{method:"GET",cache:c,url:"/xdsl/:serviceName/totalDeconsolidationTerms"},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:serviceName/requestTotalDeconsolidation"}})}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnosticLines");return{v6:function(){return a.get("OvhApiXdslDiagnosticLinesV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLinesV6",["$resource","Poller","OvhApiXdslDiagnosticLines",function(a,b,c){"use strict";var d={base:"/xdsl/:serviceName/lines/:number/diagnostic",cancel:"/xdsl/:serviceName/lines/:number/diagnostic/cancel",run:"/xdsl/:serviceName/lines/:number/diagnostic/run"},e=function(a){return c.resetCache(),a},f=a(d.base,{serviceName:"@serviceName",number:"@number"},{cancelDiagnostic:{url:d.cancel,method:"POST",isArray:!1,interceptor:e}});return f.runDiagnostic=function(a){var c=d.run.replace(/\/:(\w*)\//g,function(b,c){return"/"+a[c]+"/"});return b.poll(c,{cache:!1},{method:"post",postData:_.omit(a,["serviceName","number"]),interval:3e4,successRule:function(a){return"problem"!==a.status?!0:_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},errorRule:function(a){return _.isEqual(a.status,"problem")&&!_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},namespace:"xdsl_diagnostic_run"})},f.killPollerDiagnostic=function(){return b.kill({namespace:"xdsl_diagnostic_run"})},f}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticAapi",["$resource","Poller",function(a,b){"use strict";var c="/xdsl/:xdslId/diagnostic",d=a(c,{xdslId:"@xdslId"});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)\//g,function(a,b){return"/"+d[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,lastResult:404})},d}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{v6:function(){return a.get("OvhApiXdslDiagnosticV6")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},Lines:function(){return a.get("OvhApiXdslDiagnosticLines")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticV6",["$resource",function(a){"use strict";var b="/xdsl/:xdslId/diagnostic",c=a(b,{xdslId:"@xdslId"},{launchDiagnostic:{method:"POST",isArray:!1}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{v6:function(){return a.get("OvhApiXdslEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityV6",["$resource","OvhApiXdslEligibility",function(a,b){"use strict";return a("/xdsl/eligibility",{},{getCities:{method:"GET",isArray:!0,url:"/xdsl/eligibility/cities",cache:b.cache},getStreets:{method:"GET",isArray:!0,url:"/xdsl/eligibility/streets",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEmailProV6"),d=b("OvhApiXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/xdsl/email/pro/:email",{email:"@email"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changePassword:{method:"POST",interceptor:e,url:"/xdsl/email/pro/:email/changePassword"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiXdslEmail",["$injector",function(a){"use strict";return{Pro:function(){return a.get("OvhApiXdslEmailPro")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsAapi",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c=a("/xdsl/:xdslId/ips",{xdslId:"@xdslId",ipBlock:"@ipBlock"},{ips:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},reverse:{method:"GET",isArray:!0,serviceType:"aapi",url:"/xdsl/reverseDns/:ipBlock",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{v6:function(){return a.get("OvhApiXdslIpsV6")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsV6",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/ipv6",{xdslId:"@xdslId",ipBlock:"@ipBlock",ipReverse:"@ipReverse",ip:"@ip",reverse:"@reverse",ipRange:"@ipRange"},{setIpv6:{method:"POST",interceptor:c},order:{method:"POST",url:"/xdsl/:xdslId/ips",interceptor:c},price:{method:"GET",url:"/price/xdsl/options/ipv4/:ipRange",cache:b.cache},unOrder:{method:"DELETE",url:"/xdsl/:xdslId/ips/:ip",interceptor:c},deleteReverse:{method:"DELETE",url:"/ip/:ipBlock/reverse/:ipReverse",interceptor:c},createReverse:{method:"POST",url:"/ip/:ipBlock/reverse",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortAapi",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c=a("/xdsl/:xdslId/lines/:number/dslamPort",{xdslId:"@xdslId",number:"@number"},{getProfiles:{method:"GET",url:"/xdsl/:xdslId/lines/:number/dslamPort/availableProfiles",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},v6:function(){return a.get("OvhApiXdslLinesDslamPortV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortV6",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c="/:basePath/xdsl/:xdslId/lines/:number/dslamPort",d={response:function(a){return b.resetCache(),a.resource}},e=a(c,{xdslId:"@xdslId",number:"@number"},{changeProfile:{method:"POST",url:c+"/changeProfile",interceptor:d},reset:{method:"POST",url:c+"/reset",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{v6:function(){return a.get("OvhApiXdslLinesV6")},v7:function(){return a.get("OvhApiXdslLinesV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV6",["$resource","OvhApiXdslLines",function(a,b){"use strict";return a("/xdsl/:xdslId/lines/:number",{xdslId:"@xdslId",number:"@number"},{getStatistics:{method:"GET",url:"/xdsl/:xdslId/lines/:number/statistics",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannel",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemAvailableWLANChannel");return{v6:function(){return a.get("OvhApiXdslModemAvailableWLANChannelV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannelV6",["$resource","OvhApiXdslModemAvailableWLANChannel",function(a,b){"use strict";return a("/xdsl/:xdslId/modem/availableWLANChannel",{xdslId:"@xdslId"},{get:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemBlocIp");return{v6:function(){return b.get("OvhApiXdslModemBlocIpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIpV6",["$resource","OvhApiXdslModemBlocIp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/blocIp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaiting",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemCallWaiting");return{v6:function(){return b.get("OvhApiXdslModemCallWaitingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaitingV6",["$resource","OvhApiXdslModemCallWaiting",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/callWaiting",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevicesAapi",["$resource","OvhApiXdslModemDevices",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/connectedDevices",{xdslId:"@xdslId"},{query:{method:"GET",url:"/xdsl/:xdslId/modem/connectedDevices",isArray:!0,serviceType:"aapi",cache:b.cache},refresh:{method:"POST",url:"/xdsl/:xdslId/modem/connectedDevices/refresh",serviceType:"aapi",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevices",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemDevices");return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharing",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemContentSharing");return{v6:function(){return b.get("OvhApiXdslModemContentSharingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharingV6",["$resource","OvhApiXdslModemContentSharing",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/contentSharing",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmware",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemFirmware");return{v6:function(){return a.get("OvhApiXdslModemFirmwareV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmwareV6",["$resource","OvhApiXdslModemFirmware",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/firmware",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c},available:{method:"GET",url:"/xdsl/:xdslId/modem/firmwareAvailable",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemFtp");return{v6:function(){return b.get("OvhApiXdslModemFtpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtpV6",["$resource","OvhApiXdslModemFtp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ftp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemIpsecAlg");return{v6:function(){return b.get("OvhApiXdslModemIpsecAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlgV6",["$resource","OvhApiXdslModemIpsecAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ipsecAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses/:MACAddress",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName",MACAddress:"@MACAddress"},{update:{method:"PUT"},post:{method:"POST",url:"/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLanDhcpAapi"),d=a("/xdsl/:xdslId/modem/lan/dhcp",{xdslId:"@xdslId"},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpV6")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpV6",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpV6"),e={response:function(a){return c.resetCache(),d.removeAll(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanAapi",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/lan/details",{xdslId:"@xdslId"},{getLanDetails:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{v6:function(){return a.get("OvhApiXdslModemLanV6")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanV6",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName",{xdslId:"@xdslId",lanName:"@lanName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPortAapi"),d=a("/xdsl/:xdslId/modem/portMappings",{xdslId:"@xdslId"},{query:{serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{v6:function(){return a.get("OvhApiXdslModemPortV6")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortV6",["$resource","OvhApiXdslModemPort",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/portMappings/:name",{xdslId:"@xdslId",name:"@name"},{get:{method:"GET",cache:b.cache},query:{method:"GET",isArray:!0,cache:b.cache},update:{method:"PUT",interceptor:c},post:{method:"POST",url:"/xdsl/:xdslId/modem/portMappings",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{v6:function(){return a.get("OvhApiXdslModemRebootV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{v6:function(){return a.get("OvhApiXdslModemResetV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"},{reset:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemSipAlg");return{v6:function(){return b.get("OvhApiXdslModemSipAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlgV6",["$resource","OvhApiXdslModemSipAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/sipAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemUpnp");return{v6:function(){return b.get("OvhApiXdslModemUpnpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnpV6",["$resource","OvhApiXdslModemUpnp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/upnp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiAapi",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/wifi/details",{xdslId:"@xdslId"},{getWifiDetails:{method:"GET",url:"/xdsl/:xdslId/modem/wifi/details",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{v6:function(){return a.get("OvhApiXdslModemWifiV6")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiV6",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/wifi/:wifiName",{xdslId:"@xdslId",wifiName:"@wifiName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemAapi",["$resource","Poller","OvhApiXdslModem",function(a,b,c){"use strict";var d=a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:c.cache},query:{method:"GET",cache:c.cache,isArray:!0}});return d.poll=function(a,c){var d=["/xdsl/",c.xdslId,"/modem/tasks"].join("");return a&&a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},namespace:c.namespace})},d}]),angular.module("ovh-api-services").service("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{v6:function(){return a.get("OvhApiXdslModemV6")},Aapi:function(){return a.get("OvhApiXdslModemAapi")},resetCache:function(){c.removeAll()},ConnectedDevices:function(){return a.get("OvhApiXdslModemDevices")},Lan:function(){return a.get("OvhApiXdslModemLan")},Port:function(){return a.get("OvhApiXdslModemPort")},Reboot:function(){return a.get("OvhApiXdslModemReboot")},Reset:function(){return a.get("OvhApiXdslModemReset")},Wifi:function(){return a.get("OvhApiXdslModemWifi")},AvailableWLANChannel:function(){return a.get("OvhApiXdslModemAvailableWLANChannel")},Firmware:function(){return a.get("OvhApiXdslModemFirmware")},BlocIp:function(){return a.get("OvhApiXdslModemBlocIp")},CallWaiting:function(){ -return a.get("OvhApiXdslModemCallWaiting")},ContentSharing:function(){return a.get("OvhApiXdslModemContentSharing")},Ftp:function(){return a.get("OvhApiXdslModemFtp")},IpsecAlg:function(){return a.get("OvhApiXdslModemIpsecAlg")},SipAlg:function(){return a.get("OvhApiXdslModemSipAlg")},Upnp:function(){return a.get("OvhApiXdslModemUpnp")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemV6",["$resource","OvhApiXdslModem",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsAapi",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c=a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId"},{list:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{v6:function(){return a.get("OvhApiXdslNotificationsV6")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsV6",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId",id:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},add:{method:"POST",interceptor:c},remove:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"DELETE",interceptor:c},update:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowupAapi",["$resource","OvhApiXdslOrderFollowup",function(a,b){"use strict";return a("/xdsl/orderFollowup",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowup",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslOrderFollowup");return{Aapi:function(){return a.get("OvhApiXdslOrderFollowupAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationAapi",["$resource","OvhApiXdslResiliation",function(a,b){"use strict";return a("/xdsl/canCancelResiliation/all",{},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},v6:function(){return a.get("OvhApiXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationV6",["$resource",function(a){"use strict";return a("/xdsl/:serviceName/canCancelResiliation",{serviceName:"@serviceName"},{canCancelResiliation:{url:"/xdsl/:serviceName/canCancelResiliation",method:"GET",transformResponse:function(a){return{value:"true"===a}}},followUp:{url:"/xdsl/:serviceName/resiliationFollowup",method:"GET",isArray:!1},cancelResiliation:{url:"/xdsl/:serviceName/cancelResiliation",method:"POST"},resiliate:{url:"/xdsl/:serviceName/resiliate",method:"POST"},resiliationTerms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrentAapi",["$resource","Poller","OvhApiXdslTasksCurrent",function(a,b,c){"use strict";var d="/xdsl/:xdslId/tasks/current",e=a(d,{xdslId:"@xdslId"},{query:{method:"GET",cache:c.cache,isArray:!0}});return e.poll=function(a,c){return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d.replace(":xdslId",c.xdslId),{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},e}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrent",["$injector",function(a){"use strict";return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslTasksCurrentAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslAapi",["$resource","OvhApiXdsl",function(a,b){"use strict";var c=a("/xdsl/:serviceName/statistics/:type/period/:period",{xdslId:"@xdslId",type:"@type",period:"@period"},{statistics:{method:"GET",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{v6:function(){return a.get("OvhApiXdslV6")},Aapi:function(){return a.get("OvhApiXdslAapi")},v7:function(){return a.get("OvhApiXdslV7")},Email:function(){return a.get("OvhApiXdslEmail")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslV6",["$resource","OvhApiXdsl","OvhApiTelecomSidebar",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),b.resetCache(),a.resource}};return a("/xdsl/:xdslId",{xdslId:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},put:{method:"PUT",url:"/xdsl/:xdslId",interceptor:d},getOrder:{method:"GET",url:"/xdsl/:xdslId/orderFollowup",isArray:!0,cache:b.cache},incidents:{method:"GET",cache:b.cache},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:xdslId/requestTotalDeconsolidation",interceptor:d},statistics:{method:"GET",url:"/xdsl/:xdslId/statistics",cache:b.cache},lines:{method:"GET",url:"/xdsl/:xdslId/lines",isArray:!0,cache:b.cache},eligibilityCities:{method:"GET",url:"/xdsl/eligibility/cities",isArray:!0,cancellable:!0},eligibilityStreets:{method:"GET",url:"/xdsl/eligibility/streets",isArray:!0,cancellable:!0},requestPPPLoginMail:{method:"POST",url:"/xdsl/:xdslId/requestPPPLoginMail",interceptor:d},updateInvalidOrMissingRio:{method:"POST",url:"/xdsl/:xdslId/updateInvalidOrMissingRio",interceptor:d},getTasks:{method:"GET",url:"/xdsl/:xdslId/tasks",isArray:!0},getTask:{method:"GET",url:"/xdsl/:xdslId/tasks/:taskId"}})}]),angular.module("ovh-api-services").service("OvhApiXdslV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]); \ No newline at end of file +response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/screen/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:c},change:{method:"PUT",interceptor:e}});return f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceFaxConsumptionV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceFaxConsumptionV6"),d=b("OvhApiTelephonyServiceFaxConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceFaxConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/faxConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceOfferTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceOfferTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/offerTask/:taskId",{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionAapi",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{repayment:{method:"GET",url:"/telephony/:billingAccount/repayment",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumption",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionAapi")},v6:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceRepaymentConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceRepaymentConsumptionV6"),d=b("OvhApiTelephonyServiceRepaymentConsumptionV6Query"),e=b("OvhApiTelephonyServiceRepaymentConsumptionv6Batch"),f=a("/telephony/:billingAccount/service/:serviceName/repaymentConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getBatch:{method:"GET",headers:{"X-Ovh-Batch":","},cache:e,isArray:!0}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetBatchCache=function(){e.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache(),this.resetBatchCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceTaskV6",["$resource","Poller",function(a,b){"use strict";var c="/telephony/:billingAccount/service/:serviceName/task/:taskId",d=a(c,{billingAccount:"@billingAccount",serviceName:"@serviceName",taskId:"@taskId"},{get:{url:c,method:"GET",isArray:!1},query:{url:"/telephony/:billingAccount/service/:serviceName/task",method:"GET",isArray:!0}});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)/g,function(a,b){return"/"+d[b]});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{cache:!1},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,interval:1e3})},d}]),angular.module("ovh-api-services").service("OvhApiTelephonyService",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceV6")},v7:function(){return a.get("OvhApiTelephonyServiceV7")},VoiceConsumption:function(){return a.get("OvhApiTelephonyServiceVoiceConsumption")},FaxConsumption:function(){return a.get("OvhApiTelephonyServiceFaxConsumption")},Task:function(){return a.get("OvhApiTelephonyServiceTask")},OfferTask:function(){return a.get("OvhApiTelephonyServiceOfferTask")},RepaymentConsumption:function(){return a.get("OvhApiTelephonyServiceRepaymentConsumption")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceV6"),d=b("OvhApiTelephonyServiceV6Query"),e=b("OvhApiTelephonyServiceOfferV6Query"),f={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},g=a("/telephony/:billingAccount/service/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},change:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/cancelTermination",interceptor:f},changeOfBillingAccount:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/changeOfBillingAccount",interceptor:f,preventLogout:!0},offerChanges:{url:"/telephony/:billingAccount/service/:serviceName/offerChanges",method:"GET",isArray:!0,cache:e},offerChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"GET",isArray:!1},cancelOfferChange:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"DELETE"},changeOffer:{url:"/telephony/:billingAccount/service/:serviceName/offerChange",method:"POST",isArray:!1},diagnosticReports:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/diagnosticReports",isArray:!0},directory:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory"},changeDirectory:{method:"PUT",url:"/telephony/:billingAccount/service/:serviceName/directory"},getDirectoryServiceCode:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getDirectoryServiceCode",isArray:!0},getDirectoryWayTypes:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/directory/getWayTypes",isArray:!0},fetchDirectoryEntrepriseInformations:{method:"POST",url:"/telephony/:billingAccount/service/:serviceName/directory/fetchEntrepriseInformations"}});return g.resetCache=function(){c.removeAll()},g.resetQueryCache=function(){d.removeAll(),e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionAapi");return a("/telephony/:billingAccount/consumption",{billingAccount:"@billingAccount"},{get:{serviceType:"aapi",isArray:!1,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV6")},v7:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionV7")},Aapi:function(){return a.get("OvhApiTelephonyServiceVoiceConsumptionAapi")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyServiceVoiceConsumptionV6"),d=b("OvhApiTelephonyServiceVoiceConsumptionV6Query"),e=a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,cache:d,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:d,isArray:!0},callDiagnostics:{method:"GET",url:"/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId/callDiagnostics",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiTelephonyServiceVoiceConsumptionV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/service/:serviceName/voiceConsumption/:consumptionId",{billingAccount:"@billingAccount",serviceName:"@serviceName",consumptionId:"@consumptionId"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTaskV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/task/:taskId",{billingAccount:"@billingAccount",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyAapi",["$resource",function(a){"use strict";return a("/telephony",{},{query:{method:"GET",serviceType:"aapi",isArray:!0},count:{method:"GET",url:"/telephony/count",serviceType:"aapi",isArray:!1},infra:{method:"GET",url:"/telephony/infra/:billingAccount",serviceType:"aapi",isArray:!1},aliasAll:{method:"GET",url:"/telephony/alias/all",serviceType:"aapi",isArray:!0},billingAccounts:{method:"GET",url:"/telephony/all",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephony",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyV6")},Aapi:function(){return a.get("OvhApiTelephonyAapi")},v7:function(){return a.get("OvhApiTelephonyV7")},AbbreviatedNumber:function(){return a.get("OvhApiTelephonyAbbreviatedNumber")},Eventtoken:function(){return a.get("OvhApiTelephonyEventtoken")},Fax:function(){return a.get("OvhApiTelephonyFax")},OfferTask:function(){return a.get("OvhApiTelephonyOfferTask")},Line:function(){return a.get("OvhApiTelephonyLine")},Lines:function(){return a.get("OvhApiTelephonyLines")},Number:function(){return a.get("OvhApiTelephonyNumber")},Redirect:function(){return a.get("OvhApiTelephonyRedirect")},Voicemail:function(){return a.get("OvhApiTelephonyVoicemail")},Service:function(){return a.get("OvhApiTelephonyService")},TimeCondition:function(){return a.get("OvhApiTelephonyTimeCondition")},HistoryConsumption:function(){return a.get("OvhApiTelephonyHistoryConsumption")},HistoryRepaymentConsumption:function(){return a.get("OvhApiTelephonyHistoryRepaymentConsumption")},HistoryTollfreeConsumption:function(){return a.get("OvhApiTelephonyHistoryTollfreeConsumption")},Screen:function(){return a.get("OvhApiTelephonyScreen")},Portability:function(){return a.get("OvhApiTelephonyPortability")},Scheduler:function(){return a.get("OvhApiTelephonyScheduler")},Aliases:function(){return a.get("OvhApiTelephonyAliases")},Phonebook:function(){return a.get("OvhApiTelephonyPhonebook")},EasyHunting:function(){return a.get("OvhApiTelephonyEasyHunting")},Rsva:function(){return a.get("OvhApiTelephonyRsva")},Conference:function(){return a.get("OvhApiTelephonyConference")},Vxml:function(){return a.get("OvhApiTelephonyVxml")},Trunks:function(){return a.get("OvhApiTelephonyTrunks")},Trunk:function(){return a.get("OvhApiTelephonyTrunk")},OvhPabx:function(){return a.get("OvhApiTelephonyOvhPabx")},Task:function(){return a.get("OvhApiTelephonyTask")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyV6",["$resource","$cacheFactory","OvhApiTelephonyLineAllAapi",function(a,b,c){var d=b("OvhApiTelephonyV6"),e=b("OvhApiTelephonyv6Schema"),f=b("OvhApiTelephonyV6Query"),g={response:function(a){return d.remove(a.config.url),f.removeAll(),c.resetCache(),a.resource}},h=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"},{get:{method:"GET",cache:d},query:{method:"GET",cache:f,isArray:!0},edit:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g},schema:{method:"GET",url:"/telephony.json",cache:e},billingAccounts:{method:"GET",url:"/telephony",isArray:!0},ips:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/ips",isArray:!0,cache:d},sipDomains:{method:"GET",url:"/telephony/:billingAccount/line/:serviceName/availableSipDomains",isArray:!0,cache:d},cancelTermination:{method:"POST",url:"/telephony/:billingAccount/cancelTermination"},allowedCreditThreshold:{method:"GET",url:"/telephony/:billingAccount/allowedCreditThreshold",isArray:!0,cache:d},accessories:{method:"GET",isArray:!0,url:"/telephony/accessories",params:{country:"@country"},cache:d},transferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/transferSecurityDeposit"},getServiceInfos:{method:"GET",url:"/telephony/:billingAccount/serviceInfos"},setServiceInfos:{method:"PUT",url:"/telephony/:billingAccount/serviceInfos"},changeContact:{method:"POST",url:"/telephony/:billingAccount/changeContact",isArray:!0},availableDefaultSipDomains:{method:"GET",url:"/telephony/availableDefaultSipDomains",isArray:!0},setDefaultSipDomain:{method:"POST",url:"/telephony/setDefaultSipDomain"},getAmountSecurityDeposit:{method:"GET",url:"/telephony/:billingAccount/amountSecurityDeposit",isArray:!0},getCurrentOrderIds:{method:"GET",url:"/telephony/currentOrderIds",isArray:!0},canTransferSecurityDeposit:{method:"POST",url:"/telephony/:billingAccount/canTransferSecurityDeposit",isArray:!1,transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:"true"===d.toLowerCase()}),d}},getLineOfferPhones:{method:"GET",url:"/telephony/line/offer/phones",isArray:!0},searchService:{method:"GET",url:"/telephony/searchServices",isArray:!0}});return h.resetCache=function(){d.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}]),angular.module("ovh-api-services").service("OvhApiTelephonyV7",["apiv7",function(a){"use strict";var b=a("/telephony/:billingAccount",{billingAccount:"@billingAccount"});return b}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionCondition",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTimeConditionConditionV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionConditionV6",["$resource",function(a){"use strict";return a("/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"PUT"},create:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionAapi",["$resource","OvhApiTelephonyTimeCondition",function(a,b){"use strict";return a("/telephony/:billingAccount/timeCondition",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getConditions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition",method:"GET",serviceType:"aapi",cache:b.cache,isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeCondition",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiTelephonyTimeCondition");return{v6:function(){return a.get("OvhApiTelephonyTimeConditionV6")},Aapi:function(){return a.get("OvhApiTelephonyTimeConditionAapi")},Condition:function(){return a.get("OvhApiTelephonyTimeConditionCondition")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTimeConditionV6",["$resource","OvhApiTelephonyTimeCondition",function(a,b){var c={response:function(a){return b.resetCache(),a.resource}};return a("/telephony/:billingAccount/timeCondition/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"GET",cache:b.cache,isArray:!1},setOptions:{url:"/telephony/:billingAccount/timeCondition/:serviceName/options",method:"PUT",interceptor:c,isArray:!1},addCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"POST",interceptor:c,isArray:!1},updateCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"PUT",interceptor:c,isArray:!1},deleteCondition:{url:"/telephony/:billingAccount/timeCondition/:serviceName/condition/:id",method:"DELETE",interceptor:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumber",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumberV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkExternalDisplayedNumberV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number",{billingAccount:"@billingAccount",serviceName:"@serviceName",number:"@number"},{getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},save:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber",isArray:!1},validate:{method:"POST",url:"/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number/validate",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunk",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunkV6")},ExternalDisplayedNumber:function(){return a.get("OvhApiTelephonyTrunkExternalDisplayedNumber")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunkV6",["$resource",function(a){return a("/telephony/:billingAccount/trunk/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{getChannelsPacksRepartition:{method:"GET",url:"/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunks",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyTrunksV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyTrunksV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyTrunksV6"),d=b("OvhApiTelephonyTrunksV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/trunks/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{method:"GET",url:"/telephony/trunks/:serviceName/serviceInfos",cache:c},setServiceInfos:{method:"PUT",url:"/telephony/trunks/:serviceName/serviceInfos",interceptor:e},changeContact:{method:"POST",url:"/telephony/trunks/:serviceName/changeContact",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){this.resetCache(),this.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectories",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV6")},v7:function(){return a.get("OvhApiTelephonyVoicemailDirectoriesV7")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailDirectoriesV6"),d=b("OvhApiTelephonyVoicemailDirectoriesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/directories/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailDirectoriesV7",["apiv7",function(a){"use strict";return a("/telephony/:billingAccount/voicemail/:serviceName/directories/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailGreetingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailGreetingsV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiTelephonyVoicemailGreetingsV6"),d=b("OvhApiTelephonyVoicemailGreetingsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/telephony/:billingAccount/voicemail/:serviceName/greetings/:id",{billingAccount:"@billingAccount",serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},download:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/download",cache:c},move:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/greetings/:id/move",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVoicemailV6")},Greetings:function(){return a.get("OvhApiTelephonyVoicemailGreetings")},Directories:function(){return a.get("OvhApiTelephonyVoicemailDirectories")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVoicemailV6",["$resource","$cacheFactory","$http",function(a,b,c){"use strict";var d=b("OvhApiTelephonyVoicemailV6"),e=b("OvhApiTelephonyVoicemailV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),a.resource}},g=a("/telephony/:billingAccount/voicemail/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},query:{method:"GET",cache:e,isArray:!0},getSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",cache:d},setSettings:{method:"PUT",url:"/telephony/:billingAccount/voicemail/:serviceName/settings",interceptor:f},changePassword:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changePassword",interceptor:f},getNumbersSettings:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/voicemailNumbers"},routing:{method:"GET",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/routing",transformResponse:c.defaults.transformResponse.concat(function(a,b,c){return 200===c?{data:a}:null})},changeRouting:{method:"POST",url:"/telephony/:billingAccount/voicemail/:serviceName/settings/changeRouting"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxml",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiTelephonyVxmlV6")}}}]),angular.module("ovh-api-services").service("OvhApiTelephonyVxmlV6",["$resource",function(a){return a("/telephony/:billingAccount/vxml/:serviceName",{billingAccount:"@billingAccount",serviceName:"@serviceName"},{settings:{method:"GET",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1},save:{method:"PUT",url:"/telephony/:billingAccount/vxml/:serviceName/settings",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiUniversesAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiUniversesAapi"),d=a("/universes",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiUniverses",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiUniversesAapi")}}}]),angular.module("ovh-api-services").service("OvhApiValidateAapi",["$resource",function(a){"use strict";return a("/validate",{},{phone:{url:"/validate/phone/:regionCode/:phoneNumber",method:"GET",serviceType:"aapi",isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiVeeam",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamV6"),d=b("OvhApiVeeamV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeamCloudConnect/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},getDetails:{method:"GET",cache:c},getServiceInfos:{url:"/veeamCloudConnect/:serviceName/serviceInfos",method:"GET",cache:c},getInventories:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"GET",isArray:!0,cache:c},addInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository",method:"POST",interceptor:e},getOrderableOffers:{url:"/veeamCloudConnect/:serviceName/orderableUpgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurations:{url:"/order/veeamCloudConnect/:serviceName/upgrade",isArray:!0,method:"GET",cache:c},getOrderUpgradeDurationsPrices:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"GET",cache:c,params:{duration:"@duration"}},createUpgradeOrder:{url:"/order/veeamCloudConnect/:serviceName/upgrade/:duration",method:"POST",interceptor:e,params:{duration:"@duration"}},getInventory:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName",method:"GET",cache:c,params:{inventoryName:"@inventoryName"}},upgradeQuota:{url:"/veeamCloudConnect/:serviceName/backupRepository/:inventoryName/upgradeQuota",method:"POST",interceptor:e,params:{inventoryName:"@inventoryName"}},capabilities:{url:"/veeamCloudConnect/:serviceName/capabilities",method:"GET",cache:c},tasks:{url:"/veeamCloudConnect/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeamCloudConnect/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterprise",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVeeamEnterpriseV6")}}}]),angular.module("ovh-api-services").service("OvhApiVeeamEnterpriseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVeeamEnterpriseV6"),d=b("OvhApiVeeamEnterpriseV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/veeam/veeamEnterprise/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},getServiceInfos:{url:"/veeam/veeamEnterprise/:serviceName/serviceInfos",method:"GET",cache:c},register:{url:"/veeam/veeamEnterprise/:serviceName/register",method:"POST",interceptor:e},update:{url:"/veeam/veeamEnterprise/:serviceName/update",method:"POST",interceptor:e},terminate:{url:"/veeam/veeamEnterprise/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/veeam/veeamEnterprise/:serviceName/confirmTermination",method:"POST",interceptor:e},tasks:{url:"/veeam/veeamEnterprise/:serviceName/task",method:"GET",isArray:!0},task:{url:"/veeam/veeamEnterprise/:serviceName/task/:taskId",method:"GET",params:{taskId:"@taskId"}}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVpsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsAapi"),d=a("/vps/:serviceName",{serviceName:"@serviceName"},{summary:{url:"/vps/:serviceName/summary",method:"GET",cache:c,serviceType:"aapi"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVpsV6")},Aapi:function(){return a.get("OvhApiVpsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiVpsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVpsV6"),d=b("OvhApiVpsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vps/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getMonitoring:{url:"/vps/:serviceName/monitoring",method:"GET",period:"@period",type:"@type",cache:c},availableUpgrade:{url:"/vps/:serviceName/availableUpgrade",method:"GET",isArray:!0},version:{url:"/vps/:serviceName/version",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackCloudProjectV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackCloudProjectV6"),d=b("OvhApiVrackCloudProjectV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/cloudProject/:project",{},{query:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},isArray:!0,cache:d},get:{method:"GET",params:{serviceName:"@serviceName",project:"@project"},cache:c},edit:{method:"PUT",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},"delete":{method:"DELETE",params:{serviceName:"@serviceName",project:"@project"},interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/cloudProject",params:{serviceName:"@serviceName"},interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackDedicatedCloudV6"),d=b("OvhApiVrackDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/dedicatedCloud/:dedicatedCloud",{serviceName:"@serviceName",dedicatedCloud:"@dedicatedCloud"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/dedicatedCloud",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedCloudDatacenterV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedCloudDatacenterV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){ +var d=b("OvhApiVrackDedicatedCloudDatacenterV6"),e={response:function(a){return d.remove(a.config.url),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter",{serviceName:"@serviceName",datacenter:"@datacenter"},{allowedVrack:{method:"GET",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/allowedVrack",cache:d,isArray:!0},move:{method:"POST",url:"/vrack/:serviceName/dedicatedCloudDatacenter/:datacenter/move",interceptor:e}});return f.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnect",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedConnectV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedConnectV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedConnectV6"),e=b("OvhApiVrackDedicatedConnectV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedConnect/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedConnect",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackDedicatedServerV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackDedicatedServerV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackDedicatedServerV6"),e=b("OvhApiVrackDedicatedServerV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/dedicatedServer/:dedicatedServer",{serviceName:"@serviceName",dedicatedServer:"@dedicatedServer"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/dedicatedServer",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterface",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerInterfaceV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerInterfaceV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){"use strict";var d=b("OvhApiDedicatedServerInterfaceV6Query"),e={response:function(a){return d.removeAll(),c.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName/dedicatedServerInterface/:dedicatedServerInterface",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},details:{method:"GET",cache:d,url:"/vrack/:serviceName/dedicatedServerInterfaceDetails",params:{serviceName:"@serviceName"},isArray:!0},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/vrack/:serviceName/dedicatedServerInterface"},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.Aapi().resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.Aapi().resetAllCache()},f}]),angular.module("ovh-api-services").service("OvhApiVrackIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackIpV6"),e=b("OvhApiVrackIpV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/ip/:ip",{serviceName:"@serviceName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/ip",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackIpLoadBalancingV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiVrackIpLoadBalancingV6"),d=b("OvhApiVrackIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/vrack/:serviceName/ipLoadbalancing/:ipLoadbalancing",{serviceName:"@serviceName",ipLoadbalancing:"@ipLoadbalancing"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},create:{method:"POST",url:"/vrack/:serviceName/ipLoadbalancing",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackLegacyVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackLegacyVrackV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackLegacyVrackV6"),e=b("OvhApiVrackLegacyVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/legacyVrack/:legacyVrack",{serviceName:"@serviceName",legacyVrack:"@legacyVrack"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/legacyVrack",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackNasha",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiVrackNashaV6")}}}]),angular.module("ovh-api-services").service("OvhApiVrackNashaV6",["$resource","$cacheFactory","OvhApiVrack",function(a,b,c){var d=b("OvhApiVrackNashaV6"),e=b("OvhApiVrackNashaV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.Aapi().resetAllCache(),a}},g=a("/vrack/:serviceName/nasha/:zpool",{serviceName:"@serviceName",zpool:"@zpool"},{query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},"delete":{method:"DELETE",interceptor:f},create:{method:"POST",url:"/vrack/:serviceName/nasha",interceptor:f}});return g.resetCache=function(){d.removeAll(),c.Aapi().resetAllCache()},g.resetQueryCache=function(){e.removeAll(),c.Aapi().resetAllCache()},g}]),angular.module("ovh-api-services").service("OvhApiVrackPublicCloud",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackPublicCloud");return{v6:function(){return a.get("OvhApiVrackPublicCloudV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","OvhApiVrackPublicCloud","OvhApiCloudProject","OvhApiVrack",function(a,b,c,d){var e={response:function(a){return b.resetCache(),c.resetCache(),d.Aapi().resetAllCache(),a}},f=a("/vrack/:serviceName",{serviceName:"@serviceName"},{project:{method:"GET",url:"/vrack/:serviceName/cloudProject/:projectId ",cache:b.cache},projects:{method:"GET",url:"/vrack/:serviceName/cloudProject",isArray:!0,cache:b.cache},addProject:{method:"POST",url:"/vrack/:serviceName/cloudProject",interceptor:e},removeProject:{method:"DELETE",url:"/vrack/:serviceName/cloudProject/:projectId ",interceptor:e}});return f}]),angular.module("ovh-api-services").service("OvhApiVrackAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiVrackAapi"),d=a("/vrack/:serviceName",{serviceName:"@serviceName"},{query:{url:"/vracks",method:"GET",cache:c,serviceType:"aapi",isArray:!0},allowedServices:{url:"/vrack/:serviceName/allowedServices",method:"GET",cache:c,serviceType:"aapi",isArray:!1},services:{url:"/vrack/:serviceName/services",method:"GET",cache:c,serviceType:"aapi",isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiVrack",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiVrackAapi")},v6:function(){return a.get("OvhApiVrackV6")},CloudProject:function(){return a.get("OvhApiVrackCloudProject")},DedicatedCloud:function(){return a.get("OvhApiVrackDedicatedCloud")},DedicatedServer:function(){return a.get("OvhApiVrackDedicatedServer")},DedicatedServerInterface:function(){return a.get("OvhApiDedicatedServerInterface")},DedicatedConnect:function(){return a.get("OvhApiVrackDedicatedConnect")},Ip:function(){return a.get("OvhApiVrackIp")},LegacyVrack:function(){return a.get("OvhApiVrackLegacyVrack")},Nasha:function(){return a.get("OvhApiVrackNasha")},IpLoadBalancing:function(){return a.get("OvhApiVrackIpLoadBalancing")}}}]),angular.module("ovh-api-services").service("OvhApiVrackV6",["$resource","$cacheFactory","OvhApiVrackAapi",function(a,b,c){var d=b("OvhApiVrackV6"),e=b("OvhApiVrackV6Query"),f={response:function(a){return d.remove(a.config.url),e.removeAll(),c.resetCache(),a}},g=a("/vrack/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/vrack.json"},query:{method:"GET",isArray:!0,cache:e},get:{method:"GET",cache:d},edit:{method:"PUT",interceptor:f},allowedServices:{method:"GET",url:"/vrack/:serviceName/allowedServices",cache:d},tasks:{method:"GET",isArray:!0,url:"/vrack/:serviceName/task"},task:{method:"GET",url:"/vrack/:serviceName/task/:taskId"}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){e.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiWorkingStatusAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiWorkingStatusAapi"),d=a("/working-status/:product",{product:"@product"},{get:{method:"GET",url:"/working-status/:product",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiWorkingStatus",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiWorkingStatusAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslDeconsolidationV6")},Aapi:function(){return angular.noop}}}]),angular.module("ovh-api-services").service("OvhApiXdslDeconsolidationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApixdslDeconsolidationV6");return a("/xdsl/:xdslId",{serviceName:"@serviceName"},{terms:{method:"GET",cache:c,url:"/xdsl/:serviceName/totalDeconsolidationTerms"},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:serviceName/requestTotalDeconsolidation"}})}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnosticLines");return{v6:function(){return a.get("OvhApiXdslDiagnosticLinesV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticLinesV6",["$resource","Poller","OvhApiXdslDiagnosticLines",function(a,b,c){"use strict";var d={base:"/xdsl/:serviceName/lines/:number/diagnostic",cancel:"/xdsl/:serviceName/lines/:number/diagnostic/cancel",run:"/xdsl/:serviceName/lines/:number/diagnostic/run"},e=function(a){return c.resetCache(),a},f=a(d.base,{serviceName:"@serviceName",number:"@number"},{cancelDiagnostic:{url:d.cancel,method:"POST",isArray:!1,interceptor:e}});return f.runDiagnostic=function(a){var c=d.run.replace(/\/:(\w*)\//g,function(b,c){return"/"+a[c]+"/"});return b.poll(c,{cache:!1},{method:"post",postData:_.omit(a,["serviceName","number"]),interval:3e4,successRule:function(a){return"problem"!==a.status?!0:_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},errorRule:function(a){return _.isEqual(a.status,"problem")&&!_.isEqual(_.get(a,"data.error",""),"monitoringTodoAlreadyExists")},namespace:"xdsl_diagnostic_run"})},f.killPollerDiagnostic=function(){return b.kill({namespace:"xdsl_diagnostic_run"})},f}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticAapi",["$resource","Poller",function(a,b){"use strict";var c="/xdsl/:xdslId/diagnostic",d=a(c,{xdslId:"@xdslId"});return d.poll=function(a,d){var e=c.replace(/\/:(\w*)\//g,function(a,b){return"/"+d[b]+"/"});return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(e,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id,lastResult:404})},d}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnostic",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslDiagnostic");return{v6:function(){return a.get("OvhApiXdslDiagnosticV6")},Aapi:function(){return a.get("OvhApiXdslDiagnosticAapi")},Lines:function(){return a.get("OvhApiXdslDiagnosticLines")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslDiagnosticV6",["$resource",function(a){"use strict";var b="/xdsl/:xdslId/diagnostic",c=a(b,{xdslId:"@xdslId"},{launchDiagnostic:{method:"POST",isArray:!1}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslEligibility",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEligibility");return{v6:function(){return a.get("OvhApiXdslEligibilityV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslEligibilityV6",["$resource","OvhApiXdslEligibility",function(a,b){"use strict";return a("/xdsl/eligibility",{},{getCities:{method:"GET",isArray:!0,url:"/xdsl/eligibility/cities",cache:b.cache},getStreets:{method:"GET",isArray:!0,url:"/xdsl/eligibility/streets",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslEmailPro",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslEmailProV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslEmailProV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslEmailProV6"),d=b("OvhApiXdslEmailProV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/xdsl/email/pro/:email",{email:"@email"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changePassword:{method:"POST",interceptor:e,url:"/xdsl/email/pro/:email/changePassword"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f}]),angular.module("ovh-api-services").service("OvhApiXdslEmail",["$injector",function(a){"use strict";return{Pro:function(){return a.get("OvhApiXdslEmailPro")}}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsAapi",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c=a("/xdsl/:xdslId/ips",{xdslId:"@xdslId",ipBlock:"@ipBlock"},{ips:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},reverse:{method:"GET",isArray:!0,serviceType:"aapi",url:"/xdsl/reverseDns/:ipBlock",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslIps",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslIps");return{v6:function(){return a.get("OvhApiXdslIpsV6")},Aapi:function(){return a.get("OvhApiXdslIpsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslIpsV6",["$resource","OvhApiXdslIps",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/ipv6",{xdslId:"@xdslId",ipBlock:"@ipBlock",ipReverse:"@ipReverse",ip:"@ip",reverse:"@reverse",ipRange:"@ipRange"},{setIpv6:{method:"POST",interceptor:c},order:{method:"POST",url:"/xdsl/:xdslId/ips",interceptor:c},price:{method:"GET",url:"/price/xdsl/options/ipv4/:ipRange",cache:b.cache},unOrder:{method:"DELETE",url:"/xdsl/:xdslId/ips/:ip",interceptor:c},deleteReverse:{method:"DELETE",url:"/ip/:ipBlock/reverse/:ipReverse",interceptor:c},createReverse:{method:"POST",url:"/ip/:ipBlock/reverse",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortAapi",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c=a("/xdsl/:xdslId/lines/:number/dslamPort",{xdslId:"@xdslId",number:"@number"},{getProfiles:{method:"GET",url:"/xdsl/:xdslId/lines/:number/dslamPort/availableProfiles",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLinesDslamPort");return{Aapi:function(){return a.get("OvhApiXdslLinesDslamPortAapi")},v6:function(){return a.get("OvhApiXdslLinesDslamPortV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesDslamPortV6",["$resource","OvhApiXdslLinesDslamPort",function(a,b){"use strict";var c="/:basePath/xdsl/:xdslId/lines/:number/dslamPort",d={response:function(a){return b.resetCache(),a.resource}},e=a(c,{xdslId:"@xdslId",number:"@number"},{changeProfile:{method:"POST",url:c+"/changeProfile",interceptor:d},reset:{method:"POST",url:c+"/reset",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiXdslLines",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslLines");return{v6:function(){return a.get("OvhApiXdslLinesV6")},v7:function(){return a.get("OvhApiXdslLinesV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV6",["$resource","OvhApiXdslLines",function(a,b){"use strict";return a("/xdsl/:xdslId/lines/:number",{xdslId:"@xdslId",number:"@number"},{getStatistics:{method:"GET",url:"/xdsl/:xdslId/lines/:number/statistics",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslLinesV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName/lines/:number",{serviceName:"@serviceName",number:"@number"});return b}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannel",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemAvailableWLANChannel");return{v6:function(){return a.get("OvhApiXdslModemAvailableWLANChannelV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemAvailableWLANChannelV6",["$resource","OvhApiXdslModemAvailableWLANChannel",function(a,b){"use strict";return a("/xdsl/:xdslId/modem/availableWLANChannel",{xdslId:"@xdslId"},{get:{method:"GET",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemBlocIp");return{v6:function(){return b.get("OvhApiXdslModemBlocIpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemBlocIpV6",["$resource","OvhApiXdslModemBlocIp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/blocIp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaiting",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemCallWaiting");return{v6:function(){return b.get("OvhApiXdslModemCallWaitingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemCallWaitingV6",["$resource","OvhApiXdslModemCallWaiting",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/callWaiting",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevicesAapi",["$resource","OvhApiXdslModemDevices",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/connectedDevices",{xdslId:"@xdslId"},{query:{method:"GET",url:"/xdsl/:xdslId/modem/connectedDevices",isArray:!0,serviceType:"aapi",cache:b.cache},refresh:{method:"POST",url:"/xdsl/:xdslId/modem/connectedDevices/refresh",serviceType:"aapi",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemDevices",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemDevices");return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslModemDevicesAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharing",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemContentSharing");return{v6:function(){return b.get("OvhApiXdslModemContentSharingV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemContentSharingV6",["$resource","OvhApiXdslModemContentSharing",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/contentSharing",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmware",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemFirmware");return{v6:function(){return a.get("OvhApiXdslModemFirmwareV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFirmwareV6",["$resource","OvhApiXdslModemFirmware",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/firmware",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c},available:{method:"GET",url:"/xdsl/:xdslId/modem/firmwareAvailable",isArray:!0,cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemFtp");return{v6:function(){return b.get("OvhApiXdslModemFtpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemFtpV6",["$resource","OvhApiXdslModemFtp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ftp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemIpsecAlg");return{v6:function(){return b.get("OvhApiXdslModemIpsecAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemIpsecAlgV6",["$resource","OvhApiXdslModemIpsecAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/ipsecAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddresses",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpDHCPStaticAddressesV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses/:MACAddress",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName",MACAddress:"@MACAddress"},{update:{method:"PUT"},post:{method:"POST",url:"/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName/DHCPStaticAddresses"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLanDhcpAapi"),d=a("/xdsl/:xdslId/modem/lan/dhcp",{xdslId:"@xdslId"},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiXdslModemLanDhcpV6")},Aapi:function(){return a.get("OvhApiXdslModemLanDhcpAapi")},DHCPStaticAddress:function(){return a.get("OvhApiXdslModemLanDhcpDHCPStaticAddresses")}}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanDhcpV6",["$resource","$cacheFactory","OvhApiXdslModemLanDhcpAapi",function(a,b,c){"use strict";var d=b("OvhApiXdslModemLanDhcpV6"),e={response:function(a){return c.resetCache(),d.removeAll(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName/dhcp/:dhcpName",{xdslId:"@xdslId",lanName:"@lanName",dhcpName:"@dhcpName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanAapi",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/lan/details",{xdslId:"@xdslId"},{getLanDetails:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemLan",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemLan");return{v6:function(){return a.get("OvhApiXdslModemLanV6")},Aapi:function(){return a.get("OvhApiXdslModemLanAapi")},Dhcp:function(){return a.get("OvhApiXdslModemLanDhcp")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemLanV6",["$resource","OvhApiXdslModemLan",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/lan/:lanName",{xdslId:"@xdslId",lanName:"@lanName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPortAapi"),d=a("/xdsl/:xdslId/modem/portMappings",{xdslId:"@xdslId"},{query:{serviceType:"aapi",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiXdslModemPort",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemPort");return{v6:function(){return a.get("OvhApiXdslModemPortV6")},Aapi:function(){return a.get("OvhApiXdslModemPortAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemPortV6",["$resource","OvhApiXdslModemPort",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/portMappings/:name",{xdslId:"@xdslId",name:"@name"},{get:{method:"GET",cache:b.cache},query:{method:"GET",isArray:!0,cache:b.cache},update:{method:"PUT",interceptor:c},post:{method:"POST",url:"/xdsl/:xdslId/modem/portMappings",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReboot",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReboot");return{v6:function(){return a.get("OvhApiXdslModemRebootV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemRebootV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reboot",{xdslId:"@xdslId"})}]),angular.module("ovh-api-services").service("OvhApiXdslModemReset",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemReset");return{v6:function(){return a.get("OvhApiXdslModemResetV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemResetV6",["$resource",function(a){"use strict";return a("/xdsl/:xdslId/modem/reset",{xdslId:"@xdslId"},{reset:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlg",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemSipAlg");return{v6:function(){return b.get("OvhApiXdslModemSipAlgV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemSipAlgV6",["$resource","OvhApiXdslModemSipAlg",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/sipAlg",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnp",["$cacheFactory","$injector",function(a,b){"use strict";var c=a("OvhApiXdslModemUpnp");return{v6:function(){return b.get("OvhApiXdslModemUpnpV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemUpnpV6",["$resource","OvhApiXdslModemUpnp",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/upnp",{xdslId:"@xdslId"},{get:{method:"GET",transformResponse:function(a,b,c){return 200===c?{data:angular.fromJson(a)}:a}},post:{method:"POST",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiAapi",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c=a("/xdsl/:xdslId/modem/wifi/details",{xdslId:"@xdslId"},{getWifiDetails:{method:"GET",url:"/xdsl/:xdslId/modem/wifi/details",isArray:!0,serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifi",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModemWifi");return{v6:function(){return a.get("OvhApiXdslModemWifiV6")},Aapi:function(){return a.get("OvhApiXdslModemWifiAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemWifiV6",["$resource","OvhApiXdslModemWifi",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem/wifi/:wifiName",{xdslId:"@xdslId",wifiName:"@wifiName"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslModemAapi",["$resource","Poller","OvhApiXdslModem",function(a,b,c){"use strict";var d=a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:c.cache},query:{method:"GET",cache:c.cache,isArray:!0}});return d.poll=function(a,c){var d=["/xdsl/",c.xdslId,"/modem/tasks"].join("");return a&&a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d,{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},namespace:c.namespace})},d}]),angular.module("ovh-api-services").service("OvhApiXdslModem",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslModem");return{v6:function(){return a.get("OvhApiXdslModemV6")},Aapi:function(){return a.get("OvhApiXdslModemAapi")},resetCache:function(){c.removeAll()},ConnectedDevices:function(){return a.get("OvhApiXdslModemDevices")},Lan:function(){return a.get("OvhApiXdslModemLan")},Port:function(){return a.get("OvhApiXdslModemPort")},Reboot:function(){return a.get("OvhApiXdslModemReboot"); + +},Reset:function(){return a.get("OvhApiXdslModemReset")},Wifi:function(){return a.get("OvhApiXdslModemWifi")},AvailableWLANChannel:function(){return a.get("OvhApiXdslModemAvailableWLANChannel")},Firmware:function(){return a.get("OvhApiXdslModemFirmware")},BlocIp:function(){return a.get("OvhApiXdslModemBlocIp")},CallWaiting:function(){return a.get("OvhApiXdslModemCallWaiting")},ContentSharing:function(){return a.get("OvhApiXdslModemContentSharing")},Ftp:function(){return a.get("OvhApiXdslModemFtp")},IpsecAlg:function(){return a.get("OvhApiXdslModemIpsecAlg")},SipAlg:function(){return a.get("OvhApiXdslModemSipAlg")},Upnp:function(){return a.get("OvhApiXdslModemUpnp")},cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslModemV6",["$resource","OvhApiXdslModem",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/modem",{xdslId:"@xdslId"},{get:{method:"GET",cache:b.cache},update:{method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsAapi",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c=a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId"},{list:{method:"GET",serviceType:"aapi",isArray:!0,cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdslNotifications",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslNotifications");return{v6:function(){return a.get("OvhApiXdslNotificationsV6")},Aapi:function(){return a.get("OvhApiXdslNotificationsAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslNotificationsV6",["$resource","OvhApiXdslNotifications",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/xdsl/:xdslId/monitoringNotifications",{xdslId:"@xdslId",id:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},add:{method:"POST",interceptor:c},remove:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"DELETE",interceptor:c},update:{url:"/xdsl/:xdslId/monitoringNotifications/:id",method:"PUT",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowupAapi",["$resource","OvhApiXdslOrderFollowup",function(a,b){"use strict";return a("/xdsl/orderFollowup",{},{query:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslOrderFollowup",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslOrderFollowup");return{Aapi:function(){return a.get("OvhApiXdslOrderFollowupAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationAapi",["$resource","OvhApiXdslResiliation",function(a,b){"use strict";return a("/xdsl/canCancelResiliation/all",{},{canCancelAll:{method:"GET",isArray:!0,serviceType:"aapi",cache:b.cache},terms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET",isArray:!1,serviceType:"aapi",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiXdslResiliation",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdslResiliation");return{Aapi:function(){return a.get("OvhApiXdslResiliationAapi")},v6:function(){return a.get("OvhApiXdslResiliationV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslResiliationV6",["$resource",function(a){"use strict";return a("/xdsl/:serviceName/canCancelResiliation",{serviceName:"@serviceName"},{canCancelResiliation:{url:"/xdsl/:serviceName/canCancelResiliation",method:"GET",transformResponse:function(a){return{value:"true"===a}}},followUp:{url:"/xdsl/:serviceName/resiliationFollowup",method:"GET",isArray:!1},cancelResiliation:{url:"/xdsl/:serviceName/cancelResiliation",method:"POST"},resiliate:{url:"/xdsl/:serviceName/resiliate",method:"POST"},resiliationTerms:{url:"/xdsl/:serviceName/resiliationTerms",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrentAapi",["$resource","Poller","OvhApiXdslTasksCurrent",function(a,b,c){"use strict";var d="/xdsl/:xdslId/tasks/current",e=a(d,{xdslId:"@xdslId"},{query:{method:"GET",cache:c.cache,isArray:!0}});return e.poll=function(a,c){return a.$on("$destroy",function(){b.kill({scope:a.$id})}),b.poll(d.replace(":xdslId",c.xdslId),{serviceType:"aapi"},{successRule:{status:"ok"},errorRule:{status:"error"},scope:a.$id})},e}]),angular.module("ovh-api-services").service("OvhApiXdslTasksCurrent",["$injector",function(a){"use strict";return{v6:angular.noop,Aapi:function(){return a.get("OvhApiXdslTasksCurrentAapi")}}}]),angular.module("ovh-api-services").service("OvhApiXdslAapi",["$resource","OvhApiXdsl",function(a,b){"use strict";var c=a("/xdsl/:serviceName/statistics/:type/period/:period",{xdslId:"@xdslId",type:"@type",period:"@period"},{statistics:{method:"GET",serviceType:"aapi",cache:b.cache}});return c}]),angular.module("ovh-api-services").service("OvhApiXdsl",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiXdsl");return{v6:function(){return a.get("OvhApiXdslV6")},Aapi:function(){return a.get("OvhApiXdslAapi")},v7:function(){return a.get("OvhApiXdslV7")},Email:function(){return a.get("OvhApiXdslEmail")},Lines:function(){return a.get("OvhApiXdslLines")},Modem:function(){return a.get("OvhApiXdslModem")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiXdslV6",["$resource","OvhApiXdsl","OvhApiTelecomSidebar",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),b.resetCache(),a.resource}};return a("/xdsl/:xdslId",{xdslId:"@id"},{query:{method:"GET",isArray:!0,cache:b.cache},put:{method:"PUT",url:"/xdsl/:xdslId",interceptor:d},getOrder:{method:"GET",url:"/xdsl/:xdslId/orderFollowup",isArray:!0,cache:b.cache},incidents:{method:"GET",cache:b.cache},requestTotalDeconsolidation:{method:"POST",url:"/xdsl/:xdslId/requestTotalDeconsolidation",interceptor:d},statistics:{method:"GET",url:"/xdsl/:xdslId/statistics",cache:b.cache},lines:{method:"GET",url:"/xdsl/:xdslId/lines",isArray:!0,cache:b.cache},eligibilityCities:{method:"GET",url:"/xdsl/eligibility/cities",isArray:!0,cancellable:!0},eligibilityStreets:{method:"GET",url:"/xdsl/eligibility/streets",isArray:!0,cancellable:!0},requestPPPLoginMail:{method:"POST",url:"/xdsl/:xdslId/requestPPPLoginMail",interceptor:d},updateInvalidOrMissingRio:{method:"POST",url:"/xdsl/:xdslId/updateInvalidOrMissingRio",interceptor:d},getTasks:{method:"GET",url:"/xdsl/:xdslId/tasks",isArray:!0},getTask:{method:"GET",url:"/xdsl/:xdslId/tasks/:taskId"}})}]),angular.module("ovh-api-services").service("OvhApiXdslV7",["apiv7",function(a){"use strict";var b=a("/xdsl/:serviceName",{serviceName:"@serviceName"});return b}]); \ No newline at end of file diff --git a/package.json b/package.json index a8b3d861..b9147bbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ovh-api-services", - "version": "6.7.0", + "version": "6.8.0", "description": "Contains all angular $resource for OVH API.", "main": "./dist/ovh-api-services.min.js", "repository": "ovh-ux/ovh-api-services",