From c2a4c07066dde5247d04ed56a8307816cf8ca3b3 Mon Sep 17 00:00:00 2001 From: Antoine Leblanc Date: Tue, 14 May 2019 10:44:25 +0200 Subject: [PATCH] fix(kube.publiccloud.project): remove isArray (#163) `/kube/{serviceName}/publiccloud/project` no more return an array that's why the isArray has been removed. ref: MBP-447 --- dist/ovh-api-services.js | 2 +- dist/ovh-api-services.min.js | 4 ++-- .../project/kube-publiccloud-project.v6.service.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index 81d6c41d..619dd6f7 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -9142,7 +9142,7 @@ angular.module("ovh-api-services").service("OvhApiKubePublicCloudProjectV6", ["$ var projectResource = $resource("/kube/:serviceName/publiccloud/project", { serviceName: "@serviceName" }, { - query: { method: "GET", isArray: true, cache: queryCache } + query: { method: "GET", cache: queryCache } }); projectResource.resetQueryCache = function () { diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 5db7c846..886962ce 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -1,4 +1,4 @@ -/*! ovh-api-services - 6.17.0 - 2019-05-13 */ +/*! ovh-api-services - 6.17.0 - 2019-05-14 */ 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")},Interface:function(){return a.get("OvhApiCloudProjectInstanceInterface")},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("OvhApiCloudProjectInstanceInterface",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstanceInterface");return{v6:function(){return a.get("OvhApiCloudProjectInstanceInterfaceV6")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceInterfaceV6",["$resource","OvhApiCloudProjectInstanceInterface",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/instance/:instanceId/interface/:interfaceId",{serviceName:"@serviceName",instanceId:"@instanceId",interfaceId:"@interfaceId"},{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}});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")},v6:function(){return a.get("OvhApiCloudProjectKubeV6")},Node:function(){return a.get("OvhApiCloudProjectKubeNode")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKubeV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiCloudProjectKubeV6"),d=a("OvhApiCloudProjectKubeV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=b("/cloud/project/:serviceName/kube/:kubeId",{serviceName:"@serviceName",kubeId:"@kubeId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e,params:{name:"@name"}},"delete":{method:"DELETE",interceptor:e},getRegions:{url:"/cloud/project/:serviceName/kube/regions",method:"GET",cache:c,isArray:!0},getKubeConfig:{url:"/cloud/project/:serviceName/kube/:kubeId/kubeconfig",method:"POST",cache:c,hasBody:!1},reset:{url:"/cloud/project/:serviceName/kube/:kubeId/reset",method:"POST",interceptor:e},updateVersion:{url:"/cloud/project/:serviceName/kube/:kubeId/update",method:"POST",interceptor:e},updatePolicy:{url:"/cloud/project/:serviceName/kube/:kubeId/updatePolicy",method:"PUT",interceptor:e},getSchema:{url:"/kube.json",method:"GET"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKubeNode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectKubeNodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectKubeNodeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectKubeNodeV6"),d=b("OvhApiCloudProjectKubeNodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/cloud/project/:serviceName/kube/:kubeId/node/:nodeId",{serviceName:"@serviceName",kubeId:"@kubeId",nodeId:"@nodeId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e,params:{flavorName:"@flavorName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),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("OvhApiCloudProjectStorageAapi",["$resource",function(a){"use strict";var b=a("/cloud/project/:serviceName/storages",{serviceName:"@serviceName"},{query:{method:"GET",serviceType:"aapi",archive:"@archive",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStorageV6")},Aapi:function(){return a.get("OvhApiCloudProjectStorageAapi")}}}]),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")},Search:function(){return a.get("OvhApiConnectivityEligibilitySearch")},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("OvhApiConnectivityEligibilitySearch",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiConnectivityEligibilitySearchV6")}}}]),angular.module("ovh-api-services").service("OvhApiConnectivityEligibilitySearchV6",["$resource",function(a){"use strict";return a("/connectivity/eligibility/search",{},{searchCities:{url:"/connectivity/eligibility/search/cities",method:"POST",isArray:!1,params:{zipCode:"@zipCode"}},searchStreets:{url:"/connectivity/eligibility/search/streets",method:"POST",isArray:!1,params:{inseeCode:"@inseeCode"}}})}]),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("OvhApiDbaasLogsAlertIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert/:alertId",{serviceName:"@serviceName",streamId:"@streamId",alertId:"@alertId"},{post:{method:"POST"},put:{method:"PUT"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlert",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAlertV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsAlertIceberg")}}}]),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("OvhApiDbaasLogsAliasIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId",{serviceName:"@serviceName"},{create:{method:"POST"},update:{method:"PUT"},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"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlias",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAliasV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsAliasIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsAliasAapi")}}}]),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("OvhApiDbaasLogsArchiveIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId",{serviceName:"@serviceName",streamId:"@streamId",archiveId:"@archiveId",expirationInSeconds:"@expirationInSeconds"},{url:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId/url"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchive",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsArchiveV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsArchiveIceberg")}}}]),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("OvhApiDbaasLogsClusterIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/cluster/:clusterId",{serviceName:"@serviceName",clusterId:"@clusterId"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsCluster",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsClusterV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsClusterIceberg")}}}]),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("OvhApiDbaasLogsDashboardIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{create:{method:"POST"},update:{method:"PUT"},duplicate:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId/duplicate"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsDashboardV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsDashboardIceberg")},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("OvhApiDbaasLogsIndexIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{post:{method:"POST"},put:{method:"PUT"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndex",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsIndexV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsIndexIceberg")},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("OvhApiDbaasLogsInputIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId",allowedNetworkId:"@allowedNetworkId"},{create:{method:"POST"},update:{method:"PUT"},start:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/start"},restart:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/restart"},end:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/end"},logurl:{method:"POST",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",url:"/dbaas/logs/:serviceName/input/:inputId/configuration/logstash"},updateFlowgger:{method:"PUT",url:"/dbaas/logs/:serviceName/input/:inputId/configuration/flowgger"},trustNetwork:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork"},rejectNetwork:{method:"DELETE",url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork/:allowedNetworkId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInput",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsInputV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsInputIceberg")},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(); @@ -6,7 +6,7 @@ return{v6:function(){return a.get("OvhApiCloudProjectNetworkPrivateSubnetV6")}}} },d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsIceberg")},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("OvhApiDbaasLogsOfferIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/offer",{serviceName:"@serviceName"},{offerDetail:{url:"/dbaas/logs/offer/:offerCode",method:"GET"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOfferV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsOfferIceberg")}}}]),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("OvhApiDbaasLogsOperationIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/operation/:operationId",{serviceName:"@serviceName",operationId:"@operationId"});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOperationV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsOperationIceberg")}}}]),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("OvhApiDbaasLogsOptionIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/option/{optionId}",{serviceName:"@serviceName",optionId:"@optionId"},{terminate:{method:"POST",url:"/dbaas/logs/:serviceName/option/:optionId/terminate"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOptionV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsOptionIceberg")}}}]),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("OvhApiDbaasLogsRoleMemberIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/role/:roleId/member/:username",{serviceName:"@serviceName",roleId:"@roleId",username:"@username"},{query:{method:"GET",isArray:!0},create:{method:"POST",url:"/dbaas/logs/:serviceName/role/:roleId/member"},update:{method:"PUT"},remove:{method:"DELETE"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleMember",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleMemberV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsRoleMemberIceberg")}}}]),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("OvhApiDbaasLogsRolePermissionIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/role/:roleId/permission/:permissionId",{serviceName:"@serviceName",roleId:"@roleId",permissionId:"@permissionId"},{query:{method:"GET",isArray:!0},getPermissionDetail:{method:"GET"},addAlias:{method:"POST",url:"/dbaas/logs/:serviceName/role/:roleId/permission/alias"},addIndex:{method:"POST",url:"/dbaas/logs/:serviceName/role/:roleId/permission/index"},addDashboard:{method:"POST",url:"/dbaas/logs/:serviceName/role/:roleId/permission/dashboard"},addStream:{method:"POST",url:"/dbaas/logs/:serviceName/role/:roleId/permission/stream"},update:{method:"PUT"},remove:{method:"DELETE"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRolePermission",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRolePermissionV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsRolePermissionIceberg")}}}]),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("OvhApiDbaasLogsRoleIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/role/:roleId",{serviceName:"@serviceName",roleId:"@roleId"},{getDetail:{method:"GET"},create:{method:"POST"},update:{method:"PUT"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRole",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsRoleIceberg")},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("OvhApiDbaasLogsStreamIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId",{serviceName:"@serviceName",streamId:"@streamId"},{create:{method:"POST"},update:{method:"PUT",url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId"},notifications:{method:"GET",url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStream",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsStreamV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsStreamIceberg")},Aapi:function(){return a.get("OvhApiDbaasLogsStreamAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStreamV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsStreamV6"),d=b("OvhApiDbaasLogsStreamV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId",{serviceName:"@serviceName",streamId:"@streamId"},{get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId"},"delete":{method:"DELETE",interceptor:e,url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId"},notifications:{method:"GET",url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert",cache:c,isArray:!0}});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("OvhApiDbaasLogsTokensIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/token/:tokenId",{serviceName:"@serviceName"},{create:{method:"POST"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsTokens",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsTokensV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsTokensIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsTokensV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsTokensV6"),d=b("OvhApiDbaasLogsTokensV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/token/:tokenId",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},query:{method:"GET",isArray:!0,cache:d}});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("OvhApiDbaasLogsUserIceberg",["iceberg",function(a){"use strict";var b=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"},{me:{method:"GET"},updateUser:{method:"PUT"},changePassword:{method:"POST",url:"/dbaas/logs/:serviceName/user/changePassword"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsUserV6")},Iceberg:function(){return a.get("OvhApiDbaasLogsUserIceberg")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsUserV6"),d=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"},{me:{method:"GET",cache:c},updateUser:{method:"PUT"},changePassword:{method:"POST",url:"/dbaas/logs/:serviceName/user/changePassword"}});return d.resetCache=function(){c.removeAll()},d.resetAllCache=function(){d.resetCache()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasOrder",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasOrderV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasOrderV6"),d=b("OvhApiDbaasOrderV6Query"),e=a("/order/upgrade/logs/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},saveOrder:{method:"POST",cache:c,url:"/order/upgrade/logs/:serviceName/:planCode"},getCatalog:{method:"GET",cache:c,url:"/order/catalog/formatted/logs"}});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("OvhApiDbaasQueueKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasQueueKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueKeyV6"),d=b("OvhApiDbaasQueueKeyV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/queue/:appId/key/:keyId",{appId:"@appId",keyId:"@keyId"},{create:{method:"POST",interceptor:e},get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",interceptor:e},changeSecret:{method:"POST",url:"/dbaas/queue/:appId/key/:keyId/changeSecret"},"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("OvhApiDbaasQueue",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasQueueV6")},Key:function(){return a.get("OvhApiDbaasQueueKey")},Region:function(){return a.get("OvhApiDbaasQueueRegion")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueV6"),d=b("OvhApiDbaasQueueV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/queue/:appId",{appId:"@appId"},{configure:{method:"POST",url:"/dbaas/queue/:appId/configure",interceptor:e},get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},update:{method:"PUT",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("OvhApiDbaasQueueRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasQueueRegionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasQueueRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasQueueRegionV6"),d=b("OvhApiDbaasQueueRegionV6Query"),e=a("/dbaas/queue/region",{regionId:"@regionId"},{get:{method:"GET",cache:c,url:"/dbaas/queue/region/:regionId"},query:{method:"GET",cache:d,isArray:!0}});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("OvhApiDBaasTs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsV6")},Region:function(){return a.get("OvhApiDBaasTsRegion")},Project:function(){return a.get("OvhApiDBaasTsProject")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsV6",["$resource",function(a){"use strict";return a("/dbaasts",{},{schema:{method:"GET",url:"/dbaasts.json"},createProject:{url:"/dbaas/timeseries/project",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectBilling",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsProjectBillingV6")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectBillingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsProjectBillingV6"),d=a("/dbaas/timeseries/:serviceName/consumption",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsProjectV6")},Key:function(){return a.get("OvhApiDBaasTsProjectKey")},Quota:function(){return a.get("OvhApiDBaasTsProjectQuota")},Billing:function(){return a.get("OvhApiDBaasTsProjectBilling")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectV6",["$resource","$q","$cacheFactory",function(a,b,c){"use strict";var d=c("OvhApiDBaasTsProjectV6Query"),e=c("OvhApiDBaasTsProjectV6"),f={response:function(a){return e.remove(a.config.url),d.removeAll(),a.data}},g=a("/dbaas/timeseries/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:e},update:{method:"PUT",interceptor:f},setup:{method:"POST",url:"/dbaas/timeseries/:serviceName/setup",interceptor:f}});return g.queryDetails=function(){var a=[];return g.query().$promise.then(function(c){return angular.forEach(c,function(b){a.push(g.get({serviceName:b}).$promise)}),b.allSettled(a).then(function(a){return a},function(a){for(var b=[],c=a.length-1;c>=0;c--){var d=a[c];d.serviceName&&b.push(d)}return b})})},g.resetAllCache=function(){g.resetCache(),g.resetQueryCache()},g.resetCache=function(){e.removeAll()},g.resetQueryCache=function(){d.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsProjectKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectKeyV6",["$resource","$q","$cacheFactory",function(a,b,c){"use strict";var d=c("OvhApiDBaasTsProjectKeyV6Query"),e=c("OvhApiDBaasTsProjectKeyV6"),f={response:function(a){return e.remove(a.config.url),d.removeAll(),a.data}},g=a("/dbaas/timeseries/:serviceName/key/:keyId",{serviceName:"@serviceName",keyId:"@keyId"},{get:{method:"GET",cache:e},query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:f},"delete":{method:"DELETE",interceptor:f},update:{method:"PUT",interceptor:f}});return g.queryDetails=function(a){var c=[];return g.query({serviceName:a}).$promise.then(function(d){return angular.forEach(d,function(b){c.push(g.get({serviceName:a,keyId:b}).$promise)}),b.all(c)})},g.resetAllCache=function(){g.resetCache(),g.resetQueryCache()},g.resetCache=function(){e.removeAll()},g.resetQueryCache=function(){d.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsProjectQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsProjectQuotaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsProjectQuotaV6Query"),d=b("OvhApiDBaasTsProjectQuotaV6"),e=a("/dbaas/timeseries/:serviceName/quota",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},enlarge:{method:"POST",url:"/dbaas/timeseries/:serviceName/quota/enlarge"}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDBaasTsRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDBaasTsRegionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDBaasTsRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDBaasTsRegionV6Query"),d=a("/dbaas/timeseries/region",{},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephAcl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephAclV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephAclV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephAclV6"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/acl/:aclId",{serviceName:"@serviceName",aclId:"@aclId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:d,url:"/dedicated/ceph/:serviceName/acl",params:{aclList:"@aclList"}},"delete":{method:"DELETE"}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCeph",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephV6")},User:function(){return a.get("OvhApiDedicatedCephUser")},Acl:function(){return a.get("OvhApiDedicatedCephAcl")},Pool:function(){return a.get("OvhApiDedicatedCephPool")},Task:function(){return a.get("OvhApiDedicatedCephTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephv6Schema"),d=b("OvhApiDedicatedCephV6Query"),e={response:function(a){return d.removeAll(),a}},f=a("/dedicated/ceph/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",cache:c,url:"/dedicated/ceph.json"},query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},put:{method:"PUT",interceptor:e},health:{url:"/dedicated/ceph/:serviceName/health",method:"GET"}});return f.resetAllCache=function(){f.resetSchemaCache(),f.resetQueryCache(),f.resetOtherCache()},f.resetSchemaCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephPool",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephPoolV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephPoolV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephPoolV6"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/pool/:poolName",{serviceName:"@serviceName",poolName:"@poolName"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:d,url:"/dedicated/ceph/:serviceName/pool",params:{poolName:"@poolName"}},"delete":{method:"DELETE",interceptor:d}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephTaskV6"),d=a("/dedicated/ceph/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:c}});return d.resetAllCache=function(){d.resetQueryCache()},d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephUserAapi"),d=a("/dedicated/ceph/:serviceName/user",{serviceName:"@serviceName"},{users:{url:"/dedicated/ceph/:serviceName/user",method:"GET",cache:c,serviceType:"aapi",isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephUserV6")},Pool:function(){return a.get("OvhApiDedicatedCephUserPool")},Aapi:function(){return a.get("OvhApiDedicatedCephUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserV6",["$resource","$cacheFactory","OvhApiDedicatedCephUserAapi",function(a,b,c){"use strict";var d=b("OvhApiDedicatedCephUserV6"),e={response:function(a){return d.removeAll(),a}},f=a("/dedicated/ceph/:serviceName/user/:userName",{serviceName:"@serviceName",userName:"@userName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:d},post:{method:"POST",interceptor:e,url:"/dedicated/ceph/:serviceName/user",params:{userName:"@userName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetQueryCache(),c.resetAllCache()},f.resetQueryCache=function(){d.removeAll(),c.resetCache()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserPool",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCephUserPoolV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCephUserPoolV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCephUserPoolV6"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/ceph/:serviceName/user/:userName/pool",{serviceName:"@serviceName",userName:"@userName"},{query:{method:"GET",cache:c,isArray:!0},post:{method:"POST",interceptor:d},put:{method:"PUT",interceptor:d}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedHousing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedHousingV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedHousingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedHousingV6"),d=b("OvhApiDedicatedHousingV6Query"),e=a("/dedicated/housing/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{url:"/dedicated/housing/:serviceName/serviceInfos",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNas",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNasV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNasV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNasV6"),d=b("OvhApiDedicatedNasV6Query"),e=a("/dedicated/nas/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},getServiceInfos:{url:"/dedicated/nas/:serviceName/serviceInfos",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaAapi"),d=a("/dedicated/nasha/:serviceName",{serviceName:"@serviceName"},{get:{url:"/dedicated/nasha/:serviceName",method:"GET",cache:c,serviceType:"aapi",isArray:!1},partitions:{url:"/dedicated/nasha/:serviceName/partitions",method:"GET",cache:c,serviceType:"aapi",isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedNasha",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDedicatedNashaAapi")},v6:function(){return a.get("OvhApiDedicatedNashaV6")},Partition:function(){return a.get("OvhApiDedicatedNashaPartition")},Task:function(){return a.get("OvhApiDedicatedNashaTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaV6"),d=b("OvhApiDedicatedNashav6Schema"),e=b("OvhApiDedicatedNashaV6Query"),f=a("/dedicated/nasha/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",cache:d,url:"/dedicated/nasha.json"},query:{method:"GET",cache:e,isArray:!0},get:{method:"GET",cache:e},getServiceInfos:{url:"/dedicated/nasha/:serviceName/serviceInfos",method:"GET",cache:c},use:{method:"GET",url:"/dedicated/nasha/:serviceName/use",cache:c,params:{type:"@type"}},updateDetail:{method:"PUT",url:"/dedicated/nasha/:serviceName",params:{customName:"@customName",monitored:"@monitored"}}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetSchemaCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetSchemaCache=function(){d.removeAll()},f.resetQueryCache=function(){e.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccessAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionAccessAapi"),d=a("/dedicated/nasha/:serviceName/partition/:partitionName",{serviceName:"@serviceName",partitionName:"@partitionName"},{authorizableIps:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableIps",isArray:!0,cache:c,method:"GET",serviceType:"aapi"}});return d}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccess",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionAccessV6"); },Aapi:function(){return a.get("OvhApiDedicatedNashaPartitionAccessAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionAccessV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionAccessV6"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/access/:ip",{serviceName:"@serviceName",partitionName:"@partitionName",ip:"@ip"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},add:{method:"POST",interceptor:d,url:"/dedicated/nasha/:serviceName/partition/:partitionName/access",params:{type:"@type"}},remove:{method:"DELETE",interceptor:d},getAuthorizableIps:{method:"GET",isArray:!0,url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableIps"},getAuthorizableIpBlocks:{method:"GET",isArray:!0,url:"/dedicated/nasha/:serviceName/partition/:partitionName/authorizableBlocks"}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionCustomSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionCustomSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionCustomSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionCustomSnapshotV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/customSnapshot/:name",{serviceName:"@serviceName",partitionName:"@partitionName",name:"@name"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},add:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/customSnapshot",method:"POST",interceptor:d,params:{name:"@name",expiration:"@expiration"}},remove:{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartition",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionV6")},CustomSnapshot:function(){return a.get("OvhApiDedicatedNashaPartitionCustomSnapshot")},Snapshot:function(){return a.get("OvhApiDedicatedNashaPartitionSnapshot")},Access:function(){return a.get("OvhApiDedicatedNashaPartitionAccess")},Options:function(){return a.get("OvhApiDedicatedNashaPartitionOptions")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName",{serviceName:"@serviceName",partitionName:"@partitionName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},use:{method:"GET",url:"/dedicated/nasha/:serviceName/partition/:partitionName/use",cache:c,params:{type:"@type"}},create:{method:"POST",interceptor:d,url:"/dedicated/nasha/:serviceName/partition",params:{partitionName:"@partitionName",protocol:"@protocol",size:"@size"}},update:{method:"PUT",interceptor:d,params:{partitionName:"@partitionName",size:"@size"}},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionOptions",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionOptionsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionOptionsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionOptionsV6"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/options",{serviceName:"@serviceName",partitionName:"@partitionName"},{get:{method:"GET",cache:c},save:{url:"/dedicated/nasha/:serviceName/partition/:partitionName/options",method:"POST",interceptor:d,params:{name:"@name",expiration:"@expiration"}}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaPartitionSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaPartitionSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaPartitionSnapshotV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dedicated/nasha/:serviceName/partition/:partitionName/snapshot",{serviceName:"@serviceName",partitionName:"@partitionName",snapshotType:"@snapshotType"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",url:"/dedicated/nasha/:serviceName/partition/:partitionName/snapshot/:snapshotType"},add:{method:"POST",interceptor:d,params:{snapshotType:"@snapshotType"}},remove:{method:"DELETE",interceptor:d,url:"/dedicated/nasha/:serviceName/partition/:partitionName/snapshot/:snapshotType"}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedNashaTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedNashaTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedNashaTaskV6Query"),d=a("/dedicated/nasha/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0,params:{operation:"@operation",status:"@status"}},get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedServerAapi"),d=a("/dedicated/server/:serverName",{serverName:"@serverName"},{get:{method:"GET",serviceType:"aapi",cache:c},rtm:{url:"/dedicated/server/rtm/:type/:period",method:"GET",serviceType:"aapi",isArray:!0},query:{url:"/dedicated/server/detail/all",method:"GET",serviceType:"aapi",cache:c,isArray:!0}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedServer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedServerV6")},Aapi:function(){return a.get("OvhApiDedicatedServerAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedServerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedServerV6"),d=b("OvhApiDedicatedServerV6Query"),e=a("/dedicated/server/:serverName",{serverName:"@serverName"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},getHardware:{url:"/dedicated/server/:serverName/specifications/hardware",method:"GET",cache:c},getNetwork:{url:"/dedicated/server/:serverName/specifications/network",method:"GET",cache:c},getBootInfo:{url:"/dedicated/server/:serverName/boot/:bootId",method:"GET",bootId:"@bootId",cache:c},getServiceInfos:{url:"/dedicated/server/:serverName/serviceInfos",method:"GET",cache:c},getMrtg:{url:"/dedicated/server/:serverName/mrtg",method:"GET",period:"@period",type:"@type",cache:c,isArray:!0},getStatisticsChart:{url:"/dedicated/server/:serverName/statistics/chart",method:"GET",period:"@period",type:"@type",cache:c},askHardDiskDriveReplacement:{url:"/dedicated/server/:serverName/support/replace/hardDiskDrive",method:"POST"},schema:{method:"GET",url:"/dedicated/server.json",cache:c}});return e.resetAllCache=function(){e.resetOtherCache(),e.resetQueryCache()},e.resetOtherCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudAllowedNetwork",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudAllowedNetworkV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudAllowedNetworkV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudAllowedNetworkV6Query"),d=b("OvhApiDedicatedCloudAllowedNetworkV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/allowedNetwork/:networkAccessId",{serviceName:"@serviceName",networkAccessId:"@networkAccessId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:e},save:{method:"POST",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("OvhApiDedicatedCloudDatacenterBackup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterBackupV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterBackupV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterBackupV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/datacenter/:datacenterId/backup",f=a(e,{serviceName:"@serviceName",datacenterId:"@datacenterId"},{get:{method:"GET",cache:c},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d},changeProperties:{url:e+"/changeProperties",method:"POST",interceptor:d}});return f.resetAllCache=function(){f.resetCache()},f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenter",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterV6")},Filer:function(){return a.get("OvhApiDedicatedCloudDatacenterFiler")},Host:function(){return a.get("OvhApiDedicatedCloudDatacenterHost")},DisasterRecovery:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecovery")},Backup:function(){return a.get("OvhApiDedicatedCloudDatacenterBackup")},Zerto:function(){return a.get("OvhApiDedicatedCloudDatacenterZerto")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterV6"),d=b("OvhApiDedicatedCloudDatacenterV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecovery",["$injector",function(a){"use strict";return{Zerto:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecoveryZerto")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecoveryZerto",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterDisasterRecoveryZertoV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto",f=a(e,{serviceName:"@serviceName",datacenterId:"@datacenterId"},{get:{url:e+"/state",method:"POST",cache:c,hasBody:!1},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d},generateZsspPassword:{url:e+"/generateZsspPassword",method:"POST",interceptor:d}});return f.resetAllCache=function(){f.resetCache()},f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterFiler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterFilerV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterFilerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterFilerV6Query"),d=b("OvhApiDedicatedCloudDatacenterFilerV6"),e=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId/filer/:filerId",{serviceName:"@serviceName",datacenterId:"@datacenterId",filerId:"@filerId"},{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("OvhApiDedicatedCloudDatacenterHost",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterHostV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterHostV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudDatacenterHostV6Query"),d=b("OvhApiDedicatedCloudDatacenterHostV6"),e=a("/dedicatedCloud/:serviceName/datacenter/:datacenterId/host/:hostId",{serviceName:"@serviceName",datacenterId:"@datacenterId",hostId:"@hostId"},{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("OvhApiDedicatedCloudDatacenterZerto",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoV6")},Single:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoSingle")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudDatacenterZertoV6"),d={response:function(a){return c.removeAll(),a}},e=b("/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{disable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/disable",method:"POST",interceptor:d},enable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/enable",method:"POST",interceptor:d},generateZsspPassword:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/generateZsspPassword",method:"POST",interceptor:d},state:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zerto/state",method:"POST",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoSingle",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudDatacenterZertoSingleV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudDatacenterZertoSingleV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudDatacenterZertoSingleV6"),d={response:function(a){return c.removeAll(),a}},e=b("/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle",{serviceName:"@serviceName",datacenterId:"@datacenterId"},{disable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle/disable",method:"POST",interceptor:d},enable:{url:"/dedicatedCloud/:serviceName/datacenter/:datacenterId/disasterRecovery/zertoSingle/enable",method:"POST",interceptor:d}});return e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloud",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudV6")},AllowedNetwork:function(){return a.get("OvhApiDedicatedCloudAllowedNetwork")},Datacenter:function(){return a.get("OvhApiDedicatedCloudDatacenter")},Federation:function(){return a.get("OvhApiDedicatedCloudFederation")},Filer:function(){return a.get("OvhApiDedicatedCloudFiler")},Ip:function(){return a.get("OvhApiDedicatedCloudIp")},Location:function(){return a.get("OvhApiDedicatedCloudLocation")},Option:function(){return a.get("OvhApiDedicatedCloudOption")},Task:function(){return a.get("OvhApiDedicatedCloudTask")},User:function(){return a.get("OvhApiDedicatedCloudUser")},Vlan:function(){return a.get("OvhApiDedicatedCloudVlan")},VMEncryption:function(){return a.get("OvhApiDedicatedCloudVMEncryption")},VRack:function(){return a.get("OvhApiDedicatedCloudVRack")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudV6"),d=b("OvhApiDedicatedCloudV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},getServiceInfos:{url:"/dedicatedCloud/:serviceName/serviceInfos",method:"GET",cache:c},terminate:{url:"/dedicatedCloud/:serviceName/terminate",method:"POST",interceptor:e},confirmTermination:{url:"/dedicatedCloud/:serviceName/confirmTermination",method:"POST",interceptor:e},hcx:{url:"/dedicatedCloud/:serviceName/hcx",method:"GET",cache:c},getGlobalTasks:{url:"/dedicatedCloud/:serviceName/globalTasks",method:"GET",isArray:!0,queryParams:{datacenterId:"@datacenterId","endDate.from":"@endDate.from","endDate.to":"@endDate.to","executionDate.from":"@executionDate.from","executionDate.to":"@executionDate.to",filerId:"@filerId",hostId:"@hostId","lastModificationDate.from":"@lastModificationDate.from","lastModificationDate.to":"@lastModificationDate.to",name:"@name",networkAccessId:"@networkAccessId",orderId:"@orderId",parentTaskId:"@parentTaskId",state:"@state",userId:"@userId",vlanId:"@vlanId"}}});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("OvhApiDedicatedCloudFederationActiveDirectory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFederationActiveDirectoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederationActiveDirectoryV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFederationActiveDirectoryV6Query"),d=b("OvhApiDedicatedCloudFederationActiveDirectoryV6"),e=a("/dedicatedCloud/:serviceName/federation/activeDirectory/:activeDirectoryId",{serviceName:"@serviceName",activeDirectoryId:"@activeDirectoryId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e.resetCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFederationV6")},ActiveDirectory:function(){return a.get("OvhApiDedicatedCloudFederationActiveDirectory")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFederationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFederationV6Query"),d=a("/dedicatedCloud/:serviceName/federation",{serviceName:"@serviceName"},{query:{method:"GET",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFiler",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudFilerV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudFilerV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudFilerV6Query"),d=b("OvhApiDedicatedCloudFilerV6"),e=a("/dedicatedCloud/:serviceName/filer/:filerId",{serviceName:"@serviceName",filerId:"@filerId"},{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("OvhApiDedicatedCloudIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudIpV6")},Details:function(){return a.get("OvhApiDedicatedCloudIpDetails")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudIpV6Query"),d=b("OvhApiDedicatedCloudIpV6"),e=a("/dedicatedCloud/:serviceName/ip/:network",{serviceName:"@serviceName",network:"@network"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e.resetCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpDetailsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiDedicatedCloudIpDetailsV6"),d=b("/dedicatedCloud/:serviceName/ip/:network/details",{serviceName:"@serviceName",network:"@network"},{get:{method:"GET",cache:c,isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudIpDetails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudIpDetailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationV6")},Stock:function(){return a.get("OvhApiDedicatedCloudLocationStock")},Hypervisor:function(){return a.get("OvhApiDedicatedCloudLocationHypervisor")},HostProfile:function(){return a.get("OvhApiDedicatedCloudLocationHostProfile")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationV6Query"),d=b("OvhApiDedicatedCloudLocationV6"),e=a("/dedicatedCloud/location/:pccZone",{pccZone:"@pccZone"},{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("OvhApiDedicatedCloudLocationHostProfile",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationHostProfileV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHostProfileV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationHostProfileV6Query"),d=b("OvhApiDedicatedCloudLocationHostProfileV6"),e=a("/dedicatedCloud/location/:pccZone/hostProfile/:id",{pccZone:"@pccZone",id:"@id"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHypervisor",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationHypervisorV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationHypervisorV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationHypervisorV6Query"),d=b("OvhApiDedicatedCloudLocationHypervisorV6"),e=a("/dedicatedCloud/location/:pccZone/hypervisor/:id",{pccZone:"@pccZone",id:"@id"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationStock",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudLocationStockV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudLocationStockV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudLocationStockV6Query"),d="/dedicatedCloud/location/:pccZone/stock",e=a(d,{pccZone:"@pccZone"},{queryPcc:{url:d+"/pcc",method:"GET",cache:c,isArray:!0},queryHost:{url:d+"/host",method:"GET",cache:c,isArray:!0,params:{minYear:"@minYear"}},queryZpool:{url:d+"/zpool",method:"GET",cache:c,isArray:!0,params:{profileFilter:"@profileFilter"}}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudOption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudOptionV6"),d={response:function(a){return c.remove(a.config.url),a.data}},e="/dedicatedCloud/:serviceName/:option",f=a(e,{serviceName:"@serviceName",option:"@option"},{get:{method:"GET",cache:c},canBeDisabled:{url:e+"/canBeDisabled",method:"GET",cache:c},canBeEnabled:{url:e+"/canBeEnabled",method:"GET",cache:c},disable:{url:e+"/disable",method:"POST",interceptor:d},enable:{url:e+"/enable",method:"POST",interceptor:d}});return f.resetCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudTaskV6Query"),d=b("OvhApiDedicatedCloudTaskV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f="/dedicatedCloud/:serviceName/task/:taskId",g=a(f,{serviceName:"@serviceName",taskId:"@taskId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name",state:"@state"}},changeMaintenanceExecutionDate:{url:f+"/changeMaintenanceExecutionDate",method:"POST",interceptor:e},resetTaskState:{url:f+"/resetTaskState",method:"POST",interceptor:e}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserV6")},ObjectRight:function(){return a.get("OvhApiDedicatedCloudUserObjectRight")},Right:function(){return a.get("OvhApiDedicatedCloudUserRight")},Task:function(){return a.get("OvhApiDedicatedCloudUserTask")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserV6Query"),d=b("OvhApiDedicatedCloudUserV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name"}},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},changeProperties:{url:"/dedicatedCloud/:serviceName/user/:userId/changeProperties",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserObjectRight",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserObjectRightV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserObjectRightV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserObjectRightV6Query"),d=b("OvhApiDedicatedCloudUserObjectRightV6"),e=a("/dedicatedCloud/:serviceName/user/:userId/objectRight/:objectRightId",{serviceName:"@serviceName",userId:"@userId",rightId:"@objectRightId"},{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("OvhApiDedicatedCloudUserRight",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserRightV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserRightV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserRightV6Query"),d=b("OvhApiDedicatedCloudUserRightV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/user/:userId/right/:rightId",{serviceName:"@serviceName",userId:"@userId",rightId:"@rightId"},{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("OvhApiDedicatedCloudUserTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudUserTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudUserTaskV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudUserTaskV6Query"),d=b("OvhApiDedicatedCloudUserTaskV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f="/dedicatedCloud/:serviceName/user/:userId/task/:taskId",g=a(f,{serviceName:"@serviceName",userId:"@userId",taskId:"@taskId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,params:{name:"@name",state:"@state"}},changeMaintenanceExecutionDate:{url:f+"/changeMaintenanceExecutionDate",method:"POST",interceptor:e},resetTaskState:{url:f+"/resetTaskState",method:"POST",interceptor:e}});return g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVlan",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVlanV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVlanV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVlanV6Query"),d=b("OvhApiDedicatedCloudVlanV6"),e=a("/dedicatedCloud/:serviceName/vlan/:vlanId",{serviceName:"@serviceName",vlandId:"@vlanId"},{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("OvhApiDedicatedCloudVMEncryption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVMEncryptionV6")},kms:function(){return a.get("OvhApiDedicatedCloudVMEncryptionKms")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVMEncryptionV6Query"),d=a("/dedicatedCloud/:serviceName/vmEncryption",{serviceName:"@serviceName"},{query:{method:"GET",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionKms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVMEncryptionKmsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVMEncryptionKmsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVMEncryptionKmsV6Query"),d=b("OvhApiDedicatedCloudVMEncryptionKmsV6"),e=function(a){return d.remove(a.config.url),c.removeAll(),a},f=a("/dedicatedCloud/:serviceName/vmEncryption/kms/:kmsId",{serviceName:"@serviceName",kmsId:"@kmsId"},{query:{method:"GET",cache:c,isArray:!0},get:{method:"GET",cache:d},create:{method:"POST",url:"/dedicatedCloud/:serviceName/vmEncryption/kms",params:{ip:"@ip",description:"@description",sslThumbprint:"@sslThumbprint"},interceptor:e},changeProperties:{method:"POST",url:"/dedicatedCloud/:serviceName/vmEncryption/kms/:kmsId/changeProperties", -params:{description:"@description",sslThumbprint:"@sslThumbprint"},interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetQueryCache=function(){c.removeAll()},f.resetCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVRackV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVRackV6Query"),d=b("OvhApiDedicatedCloudVRackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/vrack/:vrack",{serviceName:"@serviceName",vrack:"@vrack"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDeskaasService",["$injector","$cacheFactory","Poller",function(a,b,c){var d=b("deskaas");return{v6:function(){return a.get("OvhApiDeskaasV6")},resetCache:d.removeAll,cache:d,pollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");return a.$on("$destroy",function(){c.kill(function(a){return"deskaas_task"===a.namespace?!0:!1})}),c.poll(d,null,{namespace:"deskaas_task",scope:a.$id})},stopPollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");c.kill(function(a){return"deskaas_task"===a.namespace&&a.url===d?!0:!1})}}}]),angular.module("ovh-api-services").service("OvhApiDeskaasV6",["$resource","OvhApiDeskaasService",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/deskaas/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/deskaas.json"},query:{method:"GET",isArray:!0,cache:b.cache},getServices:{method:"GET",isArray:!0,cache:b.cache},getDetails:{method:"GET",url:"/deskaas/:serviceName",cache:b.cache},changeAlias:{method:"POST",url:"/deskaas/:serviceName/changeAlias",interceptor:c},changeUsername:{method:"POST",url:"/deskaas/:serviceName/changeUsername",interceptor:c},changeContact:{method:"POST",url:"/deskaas/:serviceName/changeContact",interceptor:c},getAuthToken:{method:"GET",url:"/deskaas/:serviceName/getAuthToken",cache:b.cache},getPwdPolicy:{method:"GET",url:"/deskaas/:serviceName/passwordPolicy",interceptor:c},rebootService:{method:"POST",url:"/deskaas/:serviceName/reboot"},restoreService:{method:"POST",url:"/deskaas/:serviceName/refresh",interceptor:c},serviceInfos:{method:"GET",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},putServiceInfos:{method:"PUT",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},getAllTasks:{method:"GET",url:"/deskaas/:serviceName/task",isArray:!0,interceptor:c},getTaskBatch:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",isArray:!0,interceptor:c,headers:{"X-Ovh-Batch":","}},getTask:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",interceptor:c},getDoneTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=done",isArray:!0,interceptor:c},getCanceledTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=canceled",isArray:!0,interceptor:c},deleteService:{method:"POST",url:"/deskaas/:serviceName/terminate",interceptor:c},upgradeService:{method:"POST",url:"/deskaas/:serviceName/upgrade",interceptor:c},getUser:{method:"GET",url:"/deskaas/:serviceName/user",interceptor:c},resetPassword:{method:"POST",url:"/deskaas/:serviceName/user/changePassword",interceptor:c},getUserTasks:{method:"GET",url:"/deskaas/:serviceName/user/task/",interceptor:c},getUserTask:{method:"GET",url:"/deskaas/:serviceName/user/task/:taskId",interceptor:c},confirmTerminate:{method:"POST",url:"/deskaas/:serviceName/confirmTermination",interceptor:c},console:{method:"POST",url:"/deskaas/:serviceName/console",interceptor:c},getProducts:{method:"GET",url:"/order/catalog/formatted/deskaas",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurations",["$injector",function(a){"use strict";return{ObfuscatedEmails:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmails")},Optin:function(){return a.get("OvhApiDomainConfigurationsOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmailsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsObfuscatedEmailsQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/obfuscatedEmails",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0},refresh:{method:"POST",url:"/domain/:serviceName/configurations/obfuscatedEmails/refresh",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsOptinQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainV6")},v7:function(){return a.get("OvhApiDomainV7")},Configurations:function(){return a.get("OvhApiDomainConfigurations")},Rules:function(){return a.get("OvhApiDomainRules")}}}]),angular.module("ovh-api-services").service("OvhApiDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainV6"),d=b("OvhApiDomainV6Query"),e=a("/domain/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainV7",["apiv7",function(a){"use strict";var b=a("/domain/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDomainRules",["$injector",function(a){"use strict";return{EmailsObfuscation:function(){return a.get("OvhApiDomainRulesEmailsObfuscation")},Optin:function(){return a.get("OvhApiDomainRulesOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesEmailsObfuscationV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesEmailsObfuscationQueryV6"),d=a("/domain/:serviceName/rules/emailsObfuscation",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesOptinQueryV6"),d=a("/domain/:serviceName/rules/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiEmailDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiEmailDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiEmailDomainV6"),d=a("/email/domain/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},serviceInfos:{method:"GET",url:"/email/domain/:serviceName/serviceInfos"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailExchange",["$injector",function(a){"use strict";return{service:function(){return a.get("OvhApiEmailExchangeService")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceAapi",["$resource",function(a){"use strict";return a("/sws/exchange/:organization/:exchange",{organization:"@organization",exchange:"@exchange"},{get:{serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeService",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiEmailExchangeServiceAapi")},v6:function(){return a.get("OvhApiEmailExchangeServiceV6")},v7:function(){return a.get("OvhApiEmailExchangeServiceV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV6",["$resource",function(a){"use strict";var b=a("/email/exchange/:organizationName/service/:exchangeService",{organizationName:"@organizationName",exchangeService:"@exchangeService"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV7",["apiv7",function(a){"use strict";var b=a("/email/exchange/:organizationName/service",{organizationName:"@organizationName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlan",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailMXPlanV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlanV7",["apiv7",function(a){"use strict";var b=a("/email/mxplan/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailPro",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailProV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailProV7",["apiv7",function(a){"use strict";var b=a("/email/pro/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiFreeFaxAapi",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/freefax/:serviceName",{serviceName:"@serviceName"},{notifications:{method:"GET",url:"/freefax/notifications/:serviceName",serviceType:"aapi",isArray:!0,cache:c.cache},notificationsUpdate:{method:"PUT",url:"/freefax/notifications/:serviceName/update",serviceType:"aapi",interceptor:d},details:{method:"GET",serviceType:"aapi",url:"/freefax/:serviceName/details",cache:c.cache}});return e}]),angular.module("ovh-api-services").service("OvhApiFreeFax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiFreeFax");return{v6:function(){return a.get("OvhApiFreeFaxV6")},Aapi:function(){return a.get("OvhApiFreeFaxAapi")},v7:function(){return a.get("OvhApiFreeFaxV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV6",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}};return a("/freefax/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/freefax.json"},query:{method:"GET",url:"/freefax",isArray:!0,cache:c.cache},getPrice:{method:"GET",url:"/order/freefax/new",cache:c.cache},orderCredits:{method:"POST",url:"/order/freefax/new",interceptor:d},voiceMailGet:{method:"GET",url:"/freefax/:serviceName/voicemail"},voiceMailGetRouting:{method:"GET",isArray:!1,url:"/freefax/:serviceName/voicemail/routing",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},voiceMailChangeRouting:{method:"POST",url:"/freefax/:serviceName/voicemail/changeRouting",interceptor:d},voiceMailPut:{method:"PUT",url:"/freefax/:serviceName/voicemail",interceptor:d},changePassword:{method:"POST",url:"/freefax/:serviceName/voicemail/changePassword"},resetPassword:{method:"POST",url:"/freefax/:serviceName/changePassword",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},saveConfiguration:{method:"PUT",url:"/freefax/:serviceName",interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV7",["apiv7",function(a){"use strict";var b=a("/freefax/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseV6")},Whitelist:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelist")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:d},availableOrderCapacities:{method:"GET",url:"/hosting/privateDatabase/availableOrderCapacities",params:{offer:"@offer"}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelist",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelistV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelistV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseWhitelistV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName/whitelist",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c,params:{ip:"@ip",service:"@service",sftp:"@sftp"}},post:{method:"POST",interceptor:d},getIp:{method:"GET",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},cache:c},putIp:{method:"PUT",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip",whitelist:"@whitelist"},interceptor:d},deleteIp:{method:"DELETE",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},interceptor:d}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingWebSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingWebSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingWebSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingWebSslv6Cache"),d={response:function(a){return c.removeAll(),a.data}},e=a("/hosting/web/:serviceName/ssl",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},post:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d},queryDomains:{url:"/hosting/web/:serviceName/ssl/domains",method:"GET",cache:c,isArray:!0},regenerate:{url:"/hosting/web/:serviceName/ssl/regenerate",method:"POST",interceptor:d},getReport:{url:"/hosting/web/:serviceName/ssl/report",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpV6")},Reverse:function(){return a.get("OvhApiIpReverse")}}}]),angular.module("ovh-api-services").service("OvhApiIpV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpV6"),d=b("OvhApiIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip",{ip:"@ip"},{schema:{method:"GET",url:"/ip.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},move:{method:"POST",url:"/ip/:ip/move"},park:{method:"POST",url:"/ip/:ip/park"},task:{method:"GET",isArray:!0,url:"/ip/:ip/task"},taskDetails:{method:"GET",url:"/ip/:ip/task/:taskId",params:{ip:"@ip",taskId:"@taskId"}},reverse:{method:"GET",url:"/ip/:ip/reverse/:ipReverse",params:{ip:"@ip",taskId:"@ipReverse"},cache:c}});return f.getPendingTask=function(a,b){return f.task({ip:a,"function":b,status:"todo"}).$promise.then(function(c){return c&&c.length?c[0]:f.task({ip:a,"function":b,status:"doing"}).$promise.then(function(a){return a&&a.length?a[0]:null})})},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpReverse",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpReverseV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpReverseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpReverseV6"),d=b("OvhApiIpReverseV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip/reverse/:ipReverse",{ip:"@ip",ipReverse:"@ipReverse"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/ip/:ip/reverse",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.getReverseDns=function(a,b){return f.query({ip:b||a}).$promise.then(function(c){return~c.indexOf(a)?f.get({ip:b||a,ipReverse:a}).$promise.then(function(a){return a.reverse}):null})},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"Server",["$injector",function(a){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+b+"ServerV6")}}}])}),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"ServerV6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6"),f=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId/server/:serverId",{serviceName:"@serviceName",farmId:"@farmId",serverId:"@serverId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){var d=_.capitalize(c);return b[d]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"V6")},Server:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"Server")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFarmV6")},b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarmV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingFarmV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFarms",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"V6"),f=d("OvhApiIpLoadBalancingFarm"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId",{serviceName:"@serviceName",farmId:"@farmId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){return b[_.capitalize(c)]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFrontend"+_.capitalize(c)+"V6")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFrontendV6")},b}]),function(){"use strict";angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontendV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpLoadBalancingFrontendV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFrontends",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFrontend"+b+"V6"),f=d("OvhApiIpLoadBalancingFrontend"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/frontend/:frontendId",{serviceName:"@serviceName",frontendId:"@frontendId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])})}(),angular.module("ovh-api-services").service("OvhApiIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingV6")},Farm:function(){return a.get("OvhApiIpLoadBalancingFarm")},Frontend:function(){return a.get("OvhApiIpLoadBalancingFrontend")},Ssl:function(){return a.get("OvhApiIpLoadBalancingSsl")},Task:function(){return a.get("OvhApiIpLoadBalancingTask")},Quota:function(){return a.get("OvhApiIpLoadBalancingQuota")},Vrack:function(){return a.get("OvhApiIpLoadBalancingVrack")},Zone:function(){return a.get("OvhApiIpLoadBalancingZone")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingV6"),d=b("OvhApiIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/ipLoadbalancing.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},availableZones:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableZones",cache:c},availableFarmProbes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmProbes",cache:c},availableFarmTypes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmType",cache:c},failoverIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/failover ",cache:c},natIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/natIp ",cache:c},pendingChanges:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/pendingChanges"},refresh:{method:"POST",url:"/ipLoadbalancing/:serviceName/refresh"},serviceInfos:{method:"GET",url:"/ipLoadbalancing/:serviceName/serviceInfos",cache:c},freeCertificate:{method:"POST",url:"/ipLoadbalancing/:serviceName/freeCertificate"},status:{method:"GET",url:"/ipLoadbalancing/:serviceName/status"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuotaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingQuotaV6"),d=b("OvhApiIpLoadBalancingQuotaV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/quota/:zoneName",{serviceName:"@serviceName",zoneName:"@zoneName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingSslV6"),d=b("OvhApiIpLoadBalancingSslV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/ssl/:sslId",{serviceName:"@serviceName",sslId:"@sslId"},{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.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTaskV6",["$resource",function(a){"use strict";var b=a("/ipLoadbalancing/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}});return b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingVrackV6"),d=b("OvhApiIpLoadBalancingVrackV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId",{serviceName:"@serviceName",vrackNetworkId:"@vrackNetworkId"},{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},getCreationRules:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/networkCreationRules"},getStatus:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/status"},updateFarmId:{interceptor:e,method:"POST",url:"/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId/updateFarmId "}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingZoneV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingZoneV6"),d=b("OvhApiIpLoadBalancingZoneV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/zone/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},cancelDelete:{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/cancelTermination",interceptor:e},"delete":{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/terminate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKube",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubeV6")},PublicCloud:function(){return a.get("OvhApiKubePublicCloud")}}}]),angular.module("ovh-api-services").service("OvhApiKubeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubeV6"),d=b("OvhApiKubeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},update:{method:"PUT",interceptor:e,params:{name:"@name"}},getKubeConfig:{url:"/kube/:serviceName/kubeconfig",method:"GET",cache:c},getServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"GET",cache:c},reset:{url:"/kube/:serviceName/reset",method:"POST",interceptor:e},updateServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"PUT",interceptor:e},updateVersion:{url:"/kube/:serviceName/update",method:"POST",interceptor:e},updatePolicy:{url:"/kube/:serviceName/updatePolicy",method:"PUT",interceptor:e},getSchema:{url:"/kube.json",method:"GET"},terminate:{url:"/kube/:serviceName/terminate",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloud",["$injector",function(a){"use strict";return{Node:function(){return a.get("OvhApiKubePublicCloudNode")},Project:function(){return a.get("OvhApiKubePublicCloudProject")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudNodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNodeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudNodeV6"),d=b("OvhApiKubePublicCloudNodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName/publiccloud/node/:nodeId",{serviceName:"@serviceName",nodeId:"@nodeId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e,params:{flavorName:"@flavorName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProjectV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudProjectV6Query"),d=a("/kube/:serviceName/publiccloud/project",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicenseAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseAapi"),d=a("/sws/license",{},{get:{method:"GET",url:"/sws/license?filterType",serviceType:"aapi",cache:c,isArray:!1,params:{count:"@count",offset:"@offset"}}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiLicenseOffice")},Aapi:function(){return a.get("OvhApiLicenseAapi")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomainV6",["$resource","$cacheFactory",function(a,b){ +params:{description:"@description",sslThumbprint:"@sslThumbprint"},interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetQueryCache=function(){c.removeAll()},f.resetCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDedicatedCloudVRackV6")}}}]),angular.module("ovh-api-services").service("OvhApiDedicatedCloudVRackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDedicatedCloudVRackV6Query"),d=b("OvhApiDedicatedCloudVRackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/dedicatedCloud/:serviceName/vrack/:vrack",{serviceName:"@serviceName",vrack:"@vrack"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDeskaasService",["$injector","$cacheFactory","Poller",function(a,b,c){var d=b("deskaas");return{v6:function(){return a.get("OvhApiDeskaasV6")},resetCache:d.removeAll,cache:d,pollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");return a.$on("$destroy",function(){c.kill(function(a){return"deskaas_task"===a.namespace?!0:!1})}),c.poll(d,null,{namespace:"deskaas_task",scope:a.$id})},stopPollTask:function(a,b){var d=["/deskaas/",b.serviceName,b.isUserTask?"/user":"","/task/",b.taskId].join("");c.kill(function(a){return"deskaas_task"===a.namespace&&a.url===d?!0:!1})}}}]),angular.module("ovh-api-services").service("OvhApiDeskaasV6",["$resource","OvhApiDeskaasService",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.resource}};return a("/deskaas/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/deskaas.json"},query:{method:"GET",isArray:!0,cache:b.cache},getServices:{method:"GET",isArray:!0,cache:b.cache},getDetails:{method:"GET",url:"/deskaas/:serviceName",cache:b.cache},changeAlias:{method:"POST",url:"/deskaas/:serviceName/changeAlias",interceptor:c},changeUsername:{method:"POST",url:"/deskaas/:serviceName/changeUsername",interceptor:c},changeContact:{method:"POST",url:"/deskaas/:serviceName/changeContact",interceptor:c},getAuthToken:{method:"GET",url:"/deskaas/:serviceName/getAuthToken",cache:b.cache},getPwdPolicy:{method:"GET",url:"/deskaas/:serviceName/passwordPolicy",interceptor:c},rebootService:{method:"POST",url:"/deskaas/:serviceName/reboot"},restoreService:{method:"POST",url:"/deskaas/:serviceName/refresh",interceptor:c},serviceInfos:{method:"GET",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},putServiceInfos:{method:"PUT",url:"/deskaas/:serviceName/serviceInfos",cache:b.cache},getAllTasks:{method:"GET",url:"/deskaas/:serviceName/task",isArray:!0,interceptor:c},getTaskBatch:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",isArray:!0,interceptor:c,headers:{"X-Ovh-Batch":","}},getTask:{method:"GET",url:"/deskaas/:serviceName/task/:taskId",interceptor:c},getDoneTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=done",isArray:!0,interceptor:c},getCanceledTasks:{method:"GET",url:"/deskaas/:serviceName/task?state=canceled",isArray:!0,interceptor:c},deleteService:{method:"POST",url:"/deskaas/:serviceName/terminate",interceptor:c},upgradeService:{method:"POST",url:"/deskaas/:serviceName/upgrade",interceptor:c},getUser:{method:"GET",url:"/deskaas/:serviceName/user",interceptor:c},resetPassword:{method:"POST",url:"/deskaas/:serviceName/user/changePassword",interceptor:c},getUserTasks:{method:"GET",url:"/deskaas/:serviceName/user/task/",interceptor:c},getUserTask:{method:"GET",url:"/deskaas/:serviceName/user/task/:taskId",interceptor:c},confirmTerminate:{method:"POST",url:"/deskaas/:serviceName/confirmTermination",interceptor:c},console:{method:"POST",url:"/deskaas/:serviceName/console",interceptor:c},getProducts:{method:"GET",url:"/order/catalog/formatted/deskaas",interceptor:c}})}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurations",["$injector",function(a){"use strict";return{ObfuscatedEmails:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmails")},Optin:function(){return a.get("OvhApiDomainConfigurationsOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsObfuscatedEmailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsObfuscatedEmailsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsObfuscatedEmailsQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/obfuscatedEmails",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0},refresh:{method:"POST",url:"/domain/:serviceName/configurations/obfuscatedEmails/refresh",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainConfigurationsOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainConfigurationsOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainConfigurationsOptinQueryV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/domain/:serviceName/configurations/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0},put:{method:"PUT",interceptor:d,isArray:!0}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainV6")},v7:function(){return a.get("OvhApiDomainV7")},Configurations:function(){return a.get("OvhApiDomainConfigurations")},Rules:function(){return a.get("OvhApiDomainRules")}}}]),angular.module("ovh-api-services").service("OvhApiDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainV6"),d=b("OvhApiDomainV6Query"),e=a("/domain/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDomainV7",["apiv7",function(a){"use strict";var b=a("/domain/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiDomainRules",["$injector",function(a){"use strict";return{EmailsObfuscation:function(){return a.get("OvhApiDomainRulesEmailsObfuscation")},Optin:function(){return a.get("OvhApiDomainRulesOptin")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesEmailsObfuscationV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesEmailsObfuscationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesEmailsObfuscationQueryV6"),d=a("/domain/:serviceName/rules/emailsObfuscation",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptin",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainRulesOptinV6")}}}]),angular.module("ovh-api-services").service("OvhApiDomainRulesOptinV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDomainRulesOptinQueryV6"),d=a("/domain/:serviceName/rules/optin",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiEmailDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiEmailDomainV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiEmailDomainV6"),d=a("/email/domain/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},serviceInfos:{method:"GET",url:"/email/domain/:serviceName/serviceInfos"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiEmailExchange",["$injector",function(a){"use strict";return{service:function(){return a.get("OvhApiEmailExchangeService")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceAapi",["$resource",function(a){"use strict";return a("/sws/exchange/:organization/:exchange",{organization:"@organization",exchange:"@exchange"},{get:{serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeService",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiEmailExchangeServiceAapi")},v6:function(){return a.get("OvhApiEmailExchangeServiceV6")},v7:function(){return a.get("OvhApiEmailExchangeServiceV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV6",["$resource",function(a){"use strict";var b=a("/email/exchange/:organizationName/service/:exchangeService",{organizationName:"@organizationName",exchangeService:"@exchangeService"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV7",["apiv7",function(a){"use strict";var b=a("/email/exchange/:organizationName/service",{organizationName:"@organizationName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlan",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailMXPlanV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailMXPlanV7",["apiv7",function(a){"use strict";var b=a("/email/mxplan/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiEmailPro",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiEmailProV7")}}}]),angular.module("ovh-api-services").service("OvhApiEmailProV7",["apiv7",function(a){"use strict";var b=a("/email/pro/:serviceName/",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiFreeFaxAapi",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}},e=a("/freefax/:serviceName",{serviceName:"@serviceName"},{notifications:{method:"GET",url:"/freefax/notifications/:serviceName",serviceType:"aapi",isArray:!0,cache:c.cache},notificationsUpdate:{method:"PUT",url:"/freefax/notifications/:serviceName/update",serviceType:"aapi",interceptor:d},details:{method:"GET",serviceType:"aapi",url:"/freefax/:serviceName/details",cache:c.cache}});return e}]),angular.module("ovh-api-services").service("OvhApiFreeFax",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiFreeFax");return{v6:function(){return a.get("OvhApiFreeFaxV6")},Aapi:function(){return a.get("OvhApiFreeFaxAapi")},v7:function(){return a.get("OvhApiFreeFaxV7")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV6",["$resource","$cacheFactory","OvhApiFreeFax",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.resource}};return a("/freefax/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/freefax.json"},query:{method:"GET",url:"/freefax",isArray:!0,cache:c.cache},getPrice:{method:"GET",url:"/order/freefax/new",cache:c.cache},orderCredits:{method:"POST",url:"/order/freefax/new",interceptor:d},voiceMailGet:{method:"GET",url:"/freefax/:serviceName/voicemail"},voiceMailGetRouting:{method:"GET",isArray:!1,url:"/freefax/:serviceName/voicemail/routing",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},voiceMailChangeRouting:{method:"POST",url:"/freefax/:serviceName/voicemail/changeRouting",interceptor:d},voiceMailPut:{method:"PUT",url:"/freefax/:serviceName/voicemail",interceptor:d},changePassword:{method:"POST",url:"/freefax/:serviceName/voicemail/changePassword"},resetPassword:{method:"POST",url:"/freefax/:serviceName/changePassword",transformResponse:function(a,b,c){var d=a;return 200===c&&(d={value:angular.fromJson(d)}),d}},saveConfiguration:{method:"PUT",url:"/freefax/:serviceName",interceptor:d}})}]),angular.module("ovh-api-services").service("OvhApiFreeFaxV7",["apiv7",function(a){"use strict";var b=a("/freefax/:serviceName",{serviceName:"@serviceName"});return b}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseV6")},Whitelist:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelist")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:d},availableOrderCapacities:{method:"GET",url:"/hosting/privateDatabase/availableOrderCapacities",params:{offer:"@offer"}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelist",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingPrivateDatabaseWhitelistV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingPrivateDatabaseWhitelistV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingPrivateDatabaseWhitelistV6Cache"),d={response:function(a){return c.removeAll(),a}},e=a("/hosting/privateDatabase/:serviceName/whitelist",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c,params:{ip:"@ip",service:"@service",sftp:"@sftp"}},post:{method:"POST",interceptor:d},getIp:{method:"GET",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},cache:c},putIp:{method:"PUT",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip",whitelist:"@whitelist"},interceptor:d},deleteIp:{method:"DELETE",url:"/hosting/privateDatabase/:serviceName/whitelist/:ip",params:{ip:"@ip"},interceptor:d}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiHostingWebSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiHostingWebSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiHostingWebSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiHostingWebSslv6Cache"),d={response:function(a){return c.removeAll(),a.data}},e=a("/hosting/web/:serviceName/ssl",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},post:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d},queryDomains:{url:"/hosting/web/:serviceName/ssl/domains",method:"GET",cache:c,isArray:!0},regenerate:{url:"/hosting/web/:serviceName/ssl/regenerate",method:"POST",interceptor:d},getReport:{url:"/hosting/web/:serviceName/ssl/report",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetQueryCache()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpV6")},Reverse:function(){return a.get("OvhApiIpReverse")}}}]),angular.module("ovh-api-services").service("OvhApiIpV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpV6"),d=b("OvhApiIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip",{ip:"@ip"},{schema:{method:"GET",url:"/ip.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},move:{method:"POST",url:"/ip/:ip/move"},park:{method:"POST",url:"/ip/:ip/park"},task:{method:"GET",isArray:!0,url:"/ip/:ip/task"},taskDetails:{method:"GET",url:"/ip/:ip/task/:taskId",params:{ip:"@ip",taskId:"@taskId"}},reverse:{method:"GET",url:"/ip/:ip/reverse/:ipReverse",params:{ip:"@ip",taskId:"@ipReverse"},cache:c}});return f.getPendingTask=function(a,b){return f.task({ip:a,"function":b,status:"todo"}).$promise.then(function(c){return c&&c.length?c[0]:f.task({ip:a,"function":b,status:"doing"}).$promise.then(function(a){return a&&a.length?a[0]:null})})},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpReverse",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpReverseV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpReverseV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpReverseV6"),d=b("OvhApiIpReverseV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ip/:ip/reverse/:ipReverse",{ip:"@ip",ipReverse:"@ipReverse"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/ip/:ip/reverse",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.getReverseDns=function(a,b){return f.query({ip:b||a}).$promise.then(function(c){return~c.indexOf(a)?f.get({ip:b||a,ipReverse:a}).$promise.then(function(a){return a.reverse}):null})},f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"Server",["$injector",function(a){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+b+"ServerV6")}}}])}),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"ServerV6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6"),f=d("OvhApiIpLoadBalancingFarm"+b+"ServerV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId/server/:serverId",{serviceName:"@serviceName",farmId:"@farmId",serverId:"@serverId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){var d=_.capitalize(c);return b[d]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"V6")},Server:function(){return a.get("OvhApiIpLoadBalancingFarm"+d+"Server")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFarmV6")},b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarmV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingFarmV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFarms",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){"use strict";var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFarm"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFarm"+b+"V6"),f=d("OvhApiIpLoadBalancingFarm"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/farm/:farmId",{serviceName:"@serviceName",farmId:"@farmId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])}),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend",["$injector",function(a){"use strict";var b=_.reduce(["tcp","udp","http"],function(b,c){return b[_.capitalize(c)]=function(){return{v6:function(){return a.get("OvhApiIpLoadBalancingFrontend"+_.capitalize(c)+"V6")}}},b},{});return b.v6=function(){return a.get("OvhApiIpLoadBalancingFrontendV6")},b}]),function(){"use strict";angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontendV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiIpLoadBalancingFrontendV6Query"),d=a("/ipLoadbalancing/:serviceName/definedFrontends",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),_.forEach(["tcp","udp","http"],function(a){var b=_.capitalize(a);angular.module("ovh-api-services").service("OvhApiIpLoadBalancingFrontend"+b+"V6",["$resource","$cacheFactory",function(c,d){var e=d("OvhApiIpLoadBalancingFrontend"+b+"V6"),f=d("OvhApiIpLoadBalancingFrontend"+b+"V6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=c("/ipLoadbalancing/:serviceName/"+a+"/frontend/:frontendId",{serviceName:"@serviceName",frontendId:"@frontendId"},{query:{method:"GET",isArray:!0,cache:f},get:{method:"GET",cache:e},post:{method:"POST",interceptor:g},put:{method:"PUT",interceptor:g},"delete":{method:"DELETE",interceptor:g}});return h.resetCache=function(){e.removeAll()},h.resetQueryCache=function(){f.removeAll()},h}])})}(),angular.module("ovh-api-services").service("OvhApiIpLoadBalancing",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingV6")},Farm:function(){return a.get("OvhApiIpLoadBalancingFarm")},Frontend:function(){return a.get("OvhApiIpLoadBalancingFrontend")},Ssl:function(){return a.get("OvhApiIpLoadBalancingSsl")},Task:function(){return a.get("OvhApiIpLoadBalancingTask")},Quota:function(){return a.get("OvhApiIpLoadBalancingQuota")},Vrack:function(){return a.get("OvhApiIpLoadBalancingVrack")},Zone:function(){return a.get("OvhApiIpLoadBalancingZone")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingV6"),d=b("OvhApiIpLoadBalancingV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/ipLoadbalancing.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e},availableZones:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableZones",cache:c},availableFarmProbes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmProbes",cache:c},availableFarmTypes:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/availableFarmType",cache:c},failoverIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/failover ",cache:c},natIp:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/natIp ",cache:c},pendingChanges:{method:"GET",isArray:!0,url:"/ipLoadbalancing/:serviceName/pendingChanges"},refresh:{method:"POST",url:"/ipLoadbalancing/:serviceName/refresh"},serviceInfos:{method:"GET",url:"/ipLoadbalancing/:serviceName/serviceInfos",cache:c},freeCertificate:{method:"POST",url:"/ipLoadbalancing/:serviceName/freeCertificate"},status:{method:"GET",url:"/ipLoadbalancing/:serviceName/status"}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuota",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingQuotaV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingQuotaV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingQuotaV6"),d=b("OvhApiIpLoadBalancingQuotaV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/quota/:zoneName",{serviceName:"@serviceName",zoneName:"@zoneName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSsl",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingSslV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingSslV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingSslV6"),d=b("OvhApiIpLoadBalancingSslV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/ssl/:sslId",{serviceName:"@serviceName",sslId:"@sslId"},{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.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTask",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingTaskV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingTaskV6",["$resource",function(a){"use strict";var b=a("/ipLoadbalancing/:serviceName/task/:taskId",{serviceName:"@serviceName",taskId:"@taskId"},{query:{method:"GET",isArray:!0},get:{method:"GET"}});return b}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingVrackV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingVrackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingVrackV6"),d=b("OvhApiIpLoadBalancingVrackV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId",{serviceName:"@serviceName",vrackNetworkId:"@vrackNetworkId"},{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},getCreationRules:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/networkCreationRules"},getStatus:{cache:c,method:"GET",url:"/ipLoadbalancing/:serviceName/vrack/status"},updateFarmId:{interceptor:e,method:"POST",url:"/ipLoadbalancing/:serviceName/vrack/network/:vrackNetworkId/updateFarmId "}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZone",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiIpLoadBalancingZoneV6")}}}]),angular.module("ovh-api-services").service("OvhApiIpLoadBalancingZoneV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiIpLoadBalancingZoneV6"),d=b("OvhApiIpLoadBalancingZoneV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.resource}},f=a("/ipLoadbalancing/:serviceName/zone/:name",{serviceName:"@serviceName",name:"@name"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},cancelDelete:{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/cancelTermination",interceptor:e},"delete":{method:"POST",url:"/ipLoadbalancing/:serviceName/zone/:name/terminate",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKube",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubeV6")},PublicCloud:function(){return a.get("OvhApiKubePublicCloud")}}}]),angular.module("ovh-api-services").service("OvhApiKubeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubeV6"),d=b("OvhApiKubeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},update:{method:"PUT",interceptor:e,params:{name:"@name"}},getKubeConfig:{url:"/kube/:serviceName/kubeconfig",method:"GET",cache:c},getServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"GET",cache:c},reset:{url:"/kube/:serviceName/reset",method:"POST",interceptor:e},updateServiceInfos:{url:"/kube/:serviceName/serviceInfos",method:"PUT",interceptor:e},updateVersion:{url:"/kube/:serviceName/update",method:"POST",interceptor:e},updatePolicy:{url:"/kube/:serviceName/updatePolicy",method:"PUT",interceptor:e},getSchema:{url:"/kube.json",method:"GET"},terminate:{url:"/kube/:serviceName/terminate",method:"POST",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloud",["$injector",function(a){"use strict";return{Node:function(){return a.get("OvhApiKubePublicCloudNode")},Project:function(){return a.get("OvhApiKubePublicCloudProject")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudNodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudNodeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudNodeV6"),d=b("OvhApiKubePublicCloudNodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/kube/:serviceName/publiccloud/node/:nodeId",{serviceName:"@serviceName",nodeId:"@nodeId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e,params:{flavorName:"@flavorName"}},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProject",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiKubePublicCloudProjectV6")}}}]),angular.module("ovh-api-services").service("OvhApiKubePublicCloudProjectV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiKubePublicCloudProjectV6Query"),d=a("/kube/:serviceName/publiccloud/project",{serviceName:"@serviceName"},{query:{method:"GET",cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicenseAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseAapi"),d=a("/sws/license",{},{get:{method:"GET",url:"/sws/license?filterType",serviceType:"aapi",cache:c,isArray:!1,params:{count:"@count",offset:"@offset"}}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiLicenseOffice")},Aapi:function(){return a.get("OvhApiLicenseAapi")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeDomainV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeDomainV6",["$resource","$cacheFactory",function(a,b){ "use strict";var c=b("OvhApiLicenseOfficeDomainV6"),d=b("OvhApiLicenseOfficeDomainV6Query"),e=a("/license/office/:serviceName/domain/:domainName",{serviceName:"@serviceName",domainName:"@domainName"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiLicenseOffice",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeV6")},Domain:function(){return a.get("OvhApiLicenseOfficeDomain")},Users:function(){return a.get("OvhApiLicenseOfficeUsers")},UsageStatistics:function(){return a.get("OvhApiLicenseOfficeUsageStatistics")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiLicenseOfficeV6"),d=b("OvhApiLicenseOfficeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/license/office/:serviceName",{serviceName:"@serviceName"},{schema:{method:"GET",url:"/license/office.json"},query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsageStatistics",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeUsageStatisticsV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsageStatisticsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsageStatisticsV6Query");return a("/license/office/:serviceName/usageStatistics",{serviceName:"@serviceName",from:"@from",to:"@to"},{query:{method:"GET",isArray:!0,cache:c}})}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsers",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiLicenseOfficeUsersV6")}}}]),angular.module("ovh-api-services").service("OvhApiLicenseOfficeUsersV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiLicenseOfficeUsersV6"),d=b("OvhApiLicenseOfficeUsersV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/license/office/:serviceName/user/:user",{serviceName:"@serviceName",user:"@user"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},save:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionBackupCode",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionBackupCodeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionBackupCodeV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionBackupCodeV6"),d=a("OvhApiMeAccessRestrictionBackupCodeV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/backupCode",{},{get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/backupCode/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/backupCode/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/backupCode/validate",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("OvhApiMeAccessRestrictionIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionIpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionIpV6"),d=a("OvhApiMeAccessRestrictionIpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/ip/:ip",{ip:"@ip"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/ip",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{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("OvhApiMeAccessRestriction",["$injector",function(a){"use strict";return{BackupCode:function(){return a.get("OvhApiMeAccessRestrictionBackupCode")},Ip:function(){return a.get("OvhApiMeAccessRestrictionIp")},v6:function(){return a.get("OvhApiMeAccessRestrictionV6")},Sms:function(){return a.get("OvhApiMeAccessRestrictionSms")},Totp:function(){return a.get("OvhApiMeAccessRestrictionTotp")},U2f:function(){return a.get("OvhApiMeAccessRestrictionU2f")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionV6",["$resource",function(a){"use strict";return a("/me/accessRestriction",{},{developerMode:{url:"/me/accessRestriction/developerMode",method:"GET"},updateDeveloperMode:{url:"/me/accessRestriction/developerMode",method:"PUT"},ipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"GET"},updateipDefaultRule:{url:"/me/accessRestriction/ipDefaultRule",method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSms",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionSmsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionSmsV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionSmsV6"),d=a("OvhApiMeAccessRestrictionSmsV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/sms/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/sms",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/sms/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/sms/:id/enable",interceptor:e},sendCode:{method:"POST",url:"/me/accessRestriction/sms/:id/sendCode",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/sms/:id/validate",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("OvhApiMeAccessRestrictionTotp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionTotpV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionTotpV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionTotpV6"),d=a("OvhApiMeAccessRestrictionTotpV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/totp/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/totp",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/totp/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/totp/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/totp/:id/validate",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("OvhApiMeAccessRestrictionU2f",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAccessRestrictionU2fV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAccessRestrictionU2fV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeAccessRestrictionU2fV6"),d=a("OvhApiMeAccessRestrictionU2fV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=b("/me/accessRestriction/u2f/:id",{id:"@id"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",url:"/me/accessRestriction/u2f",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},challenge:{method:"POST",url:"/me/accessRestriction/u2f/:id/challenge",interceptor:e},disable:{method:"POST",url:"/me/accessRestriction/u2f/:id/disable",interceptor:e},enable:{method:"POST",url:"/me/accessRestriction/u2f/:id/enable",interceptor:e},validate:{method:"POST",url:"/me/accessRestriction/u2f/:id/validate",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("OvhApiMeAgreements",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAgreementsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAgreementsV6",["$resource",function(a){"use strict";return a("/me/agreements/:id",{id:"@id"},{accept:{url:"/me/agreements/:id/accept",method:"POST"},contract:{url:"/me/agreements/:id/contract",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlertsAapi",["$resource",function(a){"use strict";return a("/me/alerts",{},{query:{method:"GET",isArray:!0,url:"/me/alerts",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeAlerts",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeAlertsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplication",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiApplicationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiApplicationV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiApplicationV6Query"),d=a("OvhApiMeApiApplicationV6"),e=a("OvhApiMeApiApplicationV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/application/:applicationId",{applicationId:"@applicationId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"POST",interceptor:f}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApiCredential",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeApiCredentialV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeApiCredentialV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeApiCredentialV6Query"),d=a("OvhApiMeApiCredentialV6"),e=a("OvhApiMeApiCredentialV6Batch"),f={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},g=b("/me/api/credential/:credentialId",{credentialId:"@credentialId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d},getBatch:{method:"GET",isArray:!0,cache:e,headers:{"X-Ovh-Batch":","}},"delete":{method:"DELETE",interceptor:f},application:{method:"GET",url:"/me/api/credential/:credentialId/application",cache:d,params:{credentialId:"@credentialId"}}});return g.resetQueryCache=function(){c.removeAll()},g.resetCache=function(){d.removeAll()},g.resetBatchCache=function(){e.removeAll()},g.resetAllCache=function(){this.resetQueryCache(),this.resetCache(),this.resetBatchCache()},g}]),angular.module("ovh-api-services").service("OvhApiMeApi",["$injector",function(a){"use strict";return{Application:function(){return a.get("OvhApiMeApiApplication")},Credential:function(){return a.get("OvhApiMeApiCredential")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeans",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeansV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeAvailableAutomaticPaymentMeansV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeAvailableAutomaticPaymentMeansV6");return a("/me/availableAutomaticPaymentMeans",{},{get:{method:"GET",cache:c,isArray:!1}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtV6")},Operation:function(){return a.get("OvhApiMeBillDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt",{billId:"@billId"},{pay:{url:"/me/bill/:billId/debt/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDebtOperationV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/debt/operation/:operationId",{billId:"@billId",operationId:"@operationId"},{associatedObject:{url:"/me/bill/:billId/debt/operation/:operationId/associatedObject",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillDetails",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillDetailsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillDetailsV6",["$resource",function(a){"use strict";return a("/me/bill/:billId/details/:billDetailId",{billId:"@billId",billDetailId:"@billDetailId"})}]),angular.module("ovh-api-services").service("OvhApiMeBillAapi",["$resource",function(a){"use strict";return a("/me/bill",{},{last:{method:"GET",url:"/me/bill/last",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeBill",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeBillAapi")},v6:function(){return a.get("OvhApiMeBillV6")},v7:function(){return a.get("OvhApiMeBillV7")},Details:function(){return a.get("OvhApiMeBillDetails")},Debt:function(){return a.get("OvhApiMeBillDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeBillV6"),d=a("/me/bill/:billId",{billId:"@billId"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillV7",["apiv7",function(a){"use strict";return a("/me/bill/:billId",{billId:"@billId"},{debt:{url:"/me/bill/:billId/debt",method:"GET"}})}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacities",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingCapacitiesV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingCapacitiesV6",["$cacheFactory","$resource",function(a,b){"use strict";var c=a("OvhApiMeBillingCapacitiesQueryV6"),d=b("/me/billing/capacities",{},{query:{method:"GET",isArray:!1,cache:c}});return d.resetQueryCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMail",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeBillingInvoicesByPostalMailV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeBillingInvoicesByPostalMailV6",["$resource",function(a){"use strict";return a("/me/billing/invoicesByPostalMail",{},{get:{method:"GET",isArray:!1,transformResponse:function(a){return{data:angular.fromJson(a)}}},post:{method:"POST",params:{enable:"@enable"}}})}]),angular.module("ovh-api-services").service("OvhApiMeBilling",["$injector",function(a){"use strict";return{Capacities:function(){return a.get("OvhApiMeBillingCapacities")},InvoicesByPostalMail:function(){return a.get("OvhApiMeBillingInvoicesByPostalMail")}}}]),angular.module("ovh-api-services").service("OvhApiMeContact",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeContactV6")},v7:function(){return a.get("OvhApiMeContactV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeContactV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeContactQueryV6"),d=b("OvhApiMeContactV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}};return a("/me/contact/:contactId",{contactId:"@contactId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},create:{method:"POST",interceptor:e},save:{method:"PUT",interceptor:e}})}]),angular.module("ovh-api-services").service("OvhApiMeContactV7",["$resource","$cacheFactory","apiv7",function(a,b,c){"use strict";var d=b("OvhApiMeContactv7Query"),e=b("OvhApiMeContactV7"),f=c("/me/contact/:contactId",{contactId:"@contactId"},{query:{url:"/me/contact",method:"GET",cache:d,isArray:!0,serviceType:"apiV7"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){e.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtV6"),d=b("OvhApiMeDebtAccountDebtQueryV6"),e={response:function(a){return c.remove(a.config.url),a}},f=a("/me/debtAccount/debt/:debtId",{debtId:"@debtId"},{get:{method:"GET",cache:c},pay:{url:"/me/debtAccount/debt/:debtId/pay",method:"POST",interceptor:e},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d}});return f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f.resetAllCache=function(){c.removeAll(),d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebt",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtV6")},Operation:function(){return a.get("OvhApiMeDebtAccountDebtOperation")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeDebtAccountDebtOperationV6"),d=b("OvhApiMeDebtAccountDebtOperationQueryV6"),e=a("/me/debtAccount/debt/:debtId/operation/:operationId",{debtId:"@debtId",operationId:"@operationId"},{get:{method:"GET",cache:c},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","},cache:d},associatedObject:{url:"/me/debtAccount/debt/:debtId/operation/:operationId/associatedObject",method:"GET",cache:c}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e.resetAllCache=function(){c.removeAll(),d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountDebtOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountDebtOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccountV6",["$resource",function(a){"use strict";return a("/me/debtAccount",{},{pay:{url:"/me/debtAccount/pay",method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeDebtAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDebtAccountV6")},Debt:function(){return a.get("OvhApiMeDebtAccountDebt")}}}]),angular.module("ovh-api-services").service("OvhApiMeDeposit",["$injector",function(a){"use strict";return{v7:function(){return a.get("OvhApiMeDepositV7")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositV7",["apiv7",function(a){"use strict";var b=a("/me/deposit/:depositId",{depositId:"@depositId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequest",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDepositRequestV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDepositRequestV6",["$resource",function(a){"use strict";return a("/me/depositRequest/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeDocument",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeDocumentV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeDocumentV6",["$resource","$cacheFactory","$window","$http",function(a,b,c,d){"use strict";var e=b("OvhApiMeDocumentV6"),f=b("OvhApiMeDocumentV6Query"),g={response:function(a){return e.remove(a.config.url),f.removeAll(),a.resource}},h=a("/me/document/:id",{id:"@id"},{get:{method:"GET",cache:e},query:{method:"GET",cache:f,isArray:!0},create:{method:"POST",interceptor:g},"delete":{method:"DELETE",interceptor:g},cors:{method:"POST",url:"/me/document/cors"}});return h.resetQueryCache=function(){f.removeAll()},h.resetCache=function(){e.removeAll()},h.resetAllCache=function(){this.resetQueryCache(),this.resetCache()},h.upload=function(a,b){return h.create({},{name:a}).$promise.then(function(a){return h.cors({},{origin:c.location.origin}).$promise.then(function(){return d.put(a.putUrl,b,{serviceType:"storage",headers:{"Content-type":"multipart/form-data"}}).then(function(){return h.get({id:a.id}).$promise})})})},h}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomains",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFaxCustomDomainsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFaxCustomDomainsV6",["$resource",function(a){"use strict";return a("/me/fax/customDomains/:id",{id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST"},remove:{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeFax",["$injector",function(a){"use strict";return{CustomDomains:function(){return a.get("OvhApiMeFaxCustomDomains")}}}]),angular.module("ovh-api-services").service("OvhApiMeFeedbackAapi",["$resource",function(a){"use strict";return a("/me",{},{feedback:{method:"POST",url:"/me/feedback",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeFidelityAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeFidelityAccountV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeFidelityAccountV6"),d=a("/me/fidelityAccount",{},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityGroupV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityGroupV6",["$resource",function(a){"use strict";return a("/me/identity/group/:group",{group:"@group"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/group"},update:{method:"PUT"},"delete":{method:"DELETE"}})}]),angular.module("ovh-api-services").service("OvhApiMeIdentity",["$injector",function(a){"use strict";return{Group:function(){return a.get("OvhApiMeIdentityGroup")},User:function(){return a.get("OvhApiMeIdentityUser")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeIdentityUserV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeIdentityUserV6",["$resource",function(a){"use strict";return a("/me/identity/user/:user",{user:"@user"},{query:{method:"GET",isArray:!0},get:{method:"GET"},create:{method:"POST",url:"/me/identity/user"},update:{method:"PUT"},"delete":{method:"DELETE"},disable:{method:"POST",url:"/me/identity/user/:user/disable"},enable:{method:"POST",url:"/me/identity/user/:user/enable"}})}]),angular.module("ovh-api-services").service("OvhApiMe",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeV6")},Api:function(){return a.get("OvhApiMeApi")},AccessRestriction:function(){return a.get("OvhApiMeAccessRestriction")},Agreements:function(){return a.get("OvhApiMeAgreements")},SshKey:function(){return a.get("OvhApiMeSshKey")},Bill:function(){return a.get("OvhApiMeBill")},Billing:function(){return a.get("OvhApiMeBilling")},Order:function(){return a.get("OvhApiMeOrder")},OvhAccount:function(){return a.get("OvhApiMeOvhAccount")},FidelityAccount:function(){return a.get("OvhApiMeFidelityAccount")},PaymentMean:function(){return a.get("OvhApiMePaymentMean")},PaymentMethod:function(){return a.get("OvhApiMePaymentMethod")},AvailableAutomaticPaymentMeans:function(){return a.get("OvhApiMeAvailableAutomaticPaymentMeans")},Document:function(){return a.get("OvhApiMeDocument")},Contact:function(){return a.get("OvhApiMeContact")},Task:function(){return a.get("OvhApiMeTask")},Telephony:function(){return a.get("OvhApiMeTelephony")},Fax:function(){return a.get("OvhApiMeFax")},DepositRequest:function(){return a.get("OvhApiMeDepositRequest")},DebtAccount:function(){return a.get("OvhApiMeDebtAccount")},Identity:function(){return a.get("OvhApiMeIdentity")},Notification:function(){return a.get("OvhApiMeNotification")},Deposit:function(){return a.get("OvhApiMeDeposit")},Payment:function(){return a.get("OvhApiMePayment")},VoucherAccount:function(){return a.get("OvhApiMeVoucherAccount")}}}]),angular.module("ovh-api-services").service("OvhApiMeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/me",{},{get:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},schema:{method:"GET",url:"/me.json"},consumption:{method:"GET",url:"/me/consumption/usage/current",isArray:!0},consumptionHistory:{method:"GET",url:"/me/consumption/usage/history",isArray:!0}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeNotificationEmailHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmailHistoryV6",["$resource",function(a){"use strict";return a("/me/notification/email/history/:id",{id:"@id"})}]),angular.module("ovh-api-services").service("OvhApiMeNotificationEmail",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiMeNotificationEmailHistory")}}}]),angular.module("ovh-api-services").service("OvhApiMeNotification",["$injector",function(a){"use strict";return{Email:function(){return a.get("OvhApiMeNotificationEmail")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrder",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeOrderV6")},v7:function(){return a.get("OvhApiMeOrderV7")},PayRegisteredPaymentMean:function(){return a.get("OvhApiMeOrderPayRegisteredPaymentMean")}}}]),angular.module("ovh-api-services").service("OvhApiMeOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeOrderV6"),d=b("OvhApiMeOrderV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/me/order/:orderId",{orderId:"@orderId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},getStatus:{url:"/me/order/:orderId/status",method:"GET",transformResponse:function(a,b,c){return 200===c?{status:angular.fromJson(a)}:a}},getDetails:{method:"GET",url:"/me/order/:orderId/details",cache:d,isArray:!0},getDetail:{method:"GET",url:"/me/order/:orderId/details/:detailId",params:{orderId:"@orderId",detailId:"@detailId"},cache:d},payRegisteredPaymentMean:{method:"POST",url:"/me/order/:orderId/payWithRegisteredPaymentMean",interceptor:e},associatedObject:{method:"GET",url:"/me/order/:orderId/associatedObject"}});return f.resetAllCache=function(){f.resetOtherCache(),f.resetQueryCache()},f.resetOtherCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMeOrderV7",["apiv7",function(a){"use strict";var b=a("/me/order/:orderId",{orderId:"@orderId"});return b}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountAapi",["$resource",function(a){"use strict";return a("/me/ovhAccount/all",{},{info:{method:"GET",serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccount",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMeOvhAccountAapi")},v6:function(){return a.get("OvhApiMeOvhAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeOvhAccountV6",["$resource","$cacheFactory","OvhApiMev6",function(a,b,c){"use strict";var d=b("OvhApiMeOvhAccountV6"),e=b("OvhApiMeOvhAccountV6Query"),f=a("/me/ovhAccount/:ovhAccountId",{ovhAccountId:"@ovhAccountId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:e,isArray:!0}});return f.getBalance=function(){return c.get().$promise.then(function(a){return f.get({ovhAccountId:a.ovhSubsidiary}).$promise}).then(function(a){return a.balance})},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){e.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiMePayment",["$injector",function(a){"use strict";return{Method:function(){return a.get("OvhApiMePayMethod")},Transaction:function(){return a.get("OvhApiMePaymentTransaction")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePayMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePayMethodV6",["$resource",function(a){"use strict";return a("/me/payment/method/:paymentMethodId",{paymentMethodId:"@paymentMethodId"},{availableMethods:{method:"GET",url:"/me/payment/availableMethods",isArray:!0},finalize:{method:"POST",url:"/me/payment/method/:paymentMethodId/finalize"},edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransaction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentTransactionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentTransactionV6",["$resource",function(a){"use strict";return a("/me/payment/transaction/:transactionId",{transactionId:"@transactionId"})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanBankAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanBankAccountV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/bankAccount/:id",{id:"@id",state:"@state"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/bankAccount/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query({state:"valid"}).$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanCreditCardV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanCreditCardV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/creditCard/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/creditCard/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)})); }),b.all(e).then(function(){return a})})},c.getCreditCards=function(){return c.query().$promise.then(function(a){var d=[];return angular.forEach(a,function(a){d.push(c.get({id:a}).$promise)}),b.all(d)})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanDeferredPaymentAccountV6",["$resource",function(a){"use strict";return a("/me/paymentMean/deferredPaymentAccount/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/deferredPaymentAccount/:id/chooseAsDefaultPaymentMean"}})}]),angular.module("ovh-api-services").service("OvhApiMePaymentMean",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanV6")},BankAccount:function(){return a.get("OvhApiMePaymentMeanBankAccount")},CreditCard:function(){return a.get("OvhApiMePaymentMeanCreditCard")},DeferredPaymentAccount:function(){return a.get("OvhApiMePaymentMeanDeferredPaymentAccount")},Paypal:function(){return a.get("OvhApiMePaymentMeanPaypal")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanV6",["OvhApiMePaymentMeanBankAccount","OvhApiMePaymentMeanCreditCard","OvhApiMePaymentMeanPaypal",function(a,b,c){"use strict";return{getDefaultPaymentMean:function(){return b.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="creditCard",b):c.v6().getDefaultPaymentMean().then(function(b){return b?(b.paymentType="paypal",b):a.v6().getDefaultPaymentMean().then(function(a){return a?(a.paymentType="bankAccount",a):null})})})}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypal",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMeanPaypalV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMeanPaypalV6",["$resource","$q",function(a,b){"use strict";var c=a("/me/paymentMean/paypal/:id",{id:"@id"},{edit:{method:"PUT"},chooseAsDefaultPaymentMean:{method:"POST",url:"/me/paymentMean/paypal/:id/chooseAsDefaultPaymentMean"}});return c.getDefaultPaymentMean=function(){var a;return c.query().$promise.then(function(d){var e=[];return angular.forEach(d,function(b){e.push(c.get({id:b}).$promise.then(function(b){b.defaultPaymentMean&&(a=b)}))}),b.all(e).then(function(){return a})})},c}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethod",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMePaymentMethodV6")}}}]),angular.module("ovh-api-services").service("OvhApiMePaymentMethodV6",["$resource",function(a){"use strict";return a("/me/paymentMethod/:id",{id:"@id"},{edit:{method:"PUT"}})}]),angular.module("ovh-api-services").service("OvhApiMeSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeSshKeyV6"),d=b("OvhApiMeSshKeyV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/sshKey/:keyName",{keyName:"@keyName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},edit:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});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("OvhApiMeTaskContactChange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTaskContactChangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTaskContactChangeV6",["$resource",function(a){"use strict";return a("/me/task/contactChange/:id",{id:"@id"},{query:{method:"GET",isArray:!0},get:{method:"GET"},getBatch:{method:"GET",isArray:!0,headers:{"X-Ovh-Batch":","}},accept:{method:"POST",url:"/me/task/contactChange/:id/accept"},refuse:{method:"POST",url:"/me/task/contactChange/:id/refuse"},resendEmail:{method:"POST",url:"/me/task/contactChange/:id/resendEmail"}})}]),angular.module("ovh-api-services").service("OvhApiMeTask",["$injector",function(a){"use strict";return{ContactChange:function(){return a.get("OvhApiMeTaskContactChange")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestriction",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonyDefaultIpRestrictionV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonyDefaultIpRestrictionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMeTelephonyDefaultIpRestrictionV6"),d=b("OvhApiMeTelephonyDefaultIpRestrictionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/me/telephony/defaultIpRestriction/:id",{id:"@id"},{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},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("OvhApiMeTelephony",["$injector",function(a){"use strict";return{DefaultIpRestriction:function(){return a.get("OvhApiMeTelephonyDefaultIpRestriction")},Settings:function(){return a.get("OvhApiMeTelephonySettings")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettings",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeTelephonySettingsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeTelephonySettingsV6",["$resource",function(a){"use strict";return a("/me/telephony/settings",{},{get:{method:"GET"},change:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiMeVipStatus",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVipStatusV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeVipStatusV6",["$injector","$resource",function(a,b){"use strict";var c=b("/me/vipStatus");return c}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVoucherAccountV6")},Movements:function(){return a.get("OvhApiMeVoucherAccountMovements")}}}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountV6",["$resource",function(a){"use strict";return a("/me/voucherAccount/:voucherAccountId",{voucherAccountId:"@voucherAccountId"})}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovements",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiMeVoucherAccountMovementsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMeVoucherAccountMovementsV6",["$resource",function(a){"use strict";return a("/me/voucherAccount/:voucherAccountId/movements/:movementId",{voucherAccountId:"@voucherAccountId",movementId:"@movementId"})}]),angular.module("ovh-api-services").service("OvhApiMetrics",["$injector",function(a){return{Token:function(){return a.get("OvhApiMetricsToken")},v6:function(){return a.get("OvhApiMetricsV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMetricsV6"),d=b("OvhApiMetricsV6Query"),e={response:function(a){return c.removeAll(),d.removeAll(),a.data}},f=a("/metrics/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},edit:{method:"PUT",interceptor:e},getServiceInfos:{url:"/metrics/:serviceName/serviceInfos",method:"GET",cache:c},getConsumption:{url:"/metrics/:serviceName/consumption",method:"GET"},setQuota:{url:"/metrics/:serviceName/quota",method:"PUT",interceptor:e}});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("OvhApiMetricsToken",["$injector",function(a){return{v6:function(){return a.get("OvhApiMetricsTokenV6")}}}]),angular.module("ovh-api-services").service("OvhApiMetricsTokenV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMetricsTokenV6"),d=b("OvhApiMetricsTokenV6Query"),e={response:function(a){return c.removeAll(),a.data}},f=a("/metrics/:serviceName/token/:tokenID",{serviceName:"@serviceName",tokenID:"@tokenID"},{get:{method:"GET",cache:c},query:{method:"GET",cache:d,isArray:!0},"delete":{method:"DELETE",interceptor:e},edit:{method:"PUT",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("OvhApiMsServicesAccount",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesAccountV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesAccountV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesAccountV6"),d=a("/msServices/:serviceName/account/:userPrincipalName",{serviceName:"@serviceName",userPrincipalName:"@userPrincipalName"},{getExchange:{method:"GET",cache:c,isArray:!1,url:"/msServices/:serviceName/account/:userPrincipalName/exchange"}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchange",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesExchangeV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesExchangeV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/exchange",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/exchange/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{serviceUsesAgora:"TRUE"===(""+a).toUpperCase()}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMsServices",["$injector",function(a){return{Account:function(){return a.get("OvhApiMsServicesAccount")},Exchange:function(){return a.get("OvhApiMsServicesExchange")},Sharepoint:function(){return a.get("OvhApiMsServicesSharepoint")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiMsServicesV6"),d=b("OvhApiMsServicesV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a.resource}},f=a("/msServices/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",cache:c,isArray:!0,url:"/msServices"},get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,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("OvhApiMsServicesSharepoint",["$injector",function(a){return{v6:function(){return a.get("OvhApiMsServicesSharepointV6")}}}]),angular.module("ovh-api-services").service("OvhApiMsServicesSharepointV6",["$resource","$cacheFactory",function(a,b){var c=b("OvhApiMsServicesSharepointV6"),d={response:function(a){return c.removeAll(),a.data}},e=a("/msServices/:serviceName/sharepoint",{serviceName:"@serviceName"},{get:{method:"GET",cache:c,isArray:!1},edit:{method:"PUT",cache:c,isArray:!1,interceptor:d},doesServiceUseAgora:{url:"/msServices/:serviceName/sharepoint/billingMigrated ",method:"GET",cache:c,isArray:!1,transformResponse:function(a,b,c){return 200===c?{billingMigrated:angular.fromJson(a)}:a}}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiMyIpAapi",["$resource",function(a){"use strict";return a("/myIp",{},{get:{serviceType:"aapi",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiMyIp",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiMyIpAapi")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRules",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountCreationRulesV6");return{v6:function(){return a.get("OvhApiNewAccountCreationRulesV6")},cache:c,resetCache:c.removeAll}}]),angular.module("ovh-api-services").service("OvhApiNewAccountCreationRulesV6",["$resource","OvhApiNewAccountCreationRules",function(a,b){"use strict";return a("/newAccount/creationRules",{country:"@country",legalform:"@legalform",ovhCompany:"@ovhCompany",ovhSubsidiary:"@ovhSubsidiary"},{get:{method:"GET",cache:b.cache}})}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalForm",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountLegalFormV6")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountLegalFormV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiNewAccountLegalFormV6"),d=b("OvhApiNewAccountLegalFormV6Query"),e=a("/newAccount/legalform",{country:"@country"},{get:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiNewAccount",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiNewAccountV6")},LegalForm:function(){return a.get("OvhApiNewAccountLegalForm")},CreationRules:function(){return a.get("OvhApiNewAccountCreationRules")}}}]),angular.module("ovh-api-services").service("OvhApiNewAccountV6",["$resource",function(a){"use strict";return a("/newAccount",{},{rules:{method:"POST",url:"/newAccount/rules",isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiNotificationAapi",["$resource",function(a){"use strict";return a("/notification",{},{query:{method:"GET",isArray:!0,url:"/notification",serviceType:"aapi"},post:{method:"POST",isArray:!0,url:"/notification",serviceType:"aapi"}})}]),angular.module("ovh-api-services").service("OvhApiNotification",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhNotificationAapi")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfiguration",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartItemConfigurationV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemConfigurationV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemConfigurationV6Query"),d=b("OvhApiOrderCartItemConfigurationV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId/configuration/:configurationId",{cartId:"@cartId",itemId:"@itemId",configurationId:"@configurationId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartItem",["$injector",function(a){"use strict";return{Configuration:function(){return a.get("OvhApiOrderCartItemConfiguration")},v6:function(){return a.get("OvhApiOrderCartItemV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartItemV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartItemV6Query"),d=b("OvhApiOrderCartItemV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/item/:itemId",{cartId:"@cartId",itemId:"@itemId"},{query:{method:"GET",cache:c},get:{method:"GET",cache:d},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartMicrosoftV6"),d={response:function(a){return e.resetCache(),a.data}},e=a("/order/cart/:cartId/microsoft",{cartId:"@cartId"},{get:{method:"GET",cache:c,isArray:!0},post:{method:"POST",interceptor:d},getOptions:{url:"/order/cart/:cartId/microsoft/options",method:"GET",cache:c,isArray:!0,queryParams:{planCode:"@planCode"}},postOptions:{url:"/order/cart/:cartId/microsoft/options",method:"POST",interceptor:d}});return e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderCart",["$injector",function(a){"use strict";return{Item:function(){return a.get("OvhApiOrderCartItem")},Microsoft:function(){return a.get("OvhApiOrderCartMicrosoft")},Product:function(){return a.get("OvhApiOrderCartProduct")},ServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},v6:function(){return a.get("OvhApiOrderCartV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartV6Query"),d=b("OvhApiOrderCartV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId",{cartId:"@cartId"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},post:{method:"POST",interceptor:e,url:"/order/cart"},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},assign:{method:"POST",url:"/order/cart/:cartId/assign"},checkout:{method:"POST",url:"/order/cart/:cartId/checkout"},getCheckout:{method:"GET",url:"/order/cart/:cartId/checkout"},summary:{method:"GET",url:"/order/cart/:cartId/summary"}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartProduct",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartProductV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartProductV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartProductV6Query"),d=b("OvhApiOrderCartProductV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cart/:cartId/:productName",{cartId:"@cartId",productName:"@productName"},{get:{method:"GET",cache:d,isArray:!0},getOptions:{url:"/order/cart/:cartId/:productName/options",method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e},postOptions:{url:"/order/cart/:cartId/:productName/options",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoft",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoft/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",isArray:!0,cache:d},getAvailableServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoft"},post:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});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("OvhApiOrderCartServiceOptionMicrosoftExchange",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchangeV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionMicrosoftExchangeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6Query"),d=b("OvhApiOrderCartServiceOptionMicrosoftExchangeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/order/cartServiceOption/microsoftExchange/:serviceName",{serviceName:"@serviceName"},{getAvailableOffers:{method:"GET",isArray:!0,cache:d},getServices:{method:"GET",isArray:!0,cache:d,url:"/order/cartServiceOption/microsoftExchange"},orderOptions:{method:"POST",cache:c,interceptor:e,params:{cartId:"@cartId",duration:"@duration",planCode:"@planCode",pricingMode:"@pricingMode",quantity:"@quantity"}}});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("OvhApiOrderCartServiceOption",["$injector",function(a){"use strict";return{Microsoft:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoft")},MicrosoftExchange:function(){return a.get("OvhApiOrderCartServiceOptionMicrosoftExchange")},Vps:function(){return a.get("OvhApiOrderCartServiceOptionVps")},v6:function(){return a.get("OvhApiOrderCartServiceOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCartServiceOptionV6Query"),d=b("OvhApiOrderCartServiceOptionV6"),e={response:function(a){return f.resetQueryCache(),a.data}},f=a("/order/cartServiceOption/:productName/:serviceName",{productName:"@productName",serviceName:"@serviceName"},{get:{method:"GET",cache:d,isArray:!0},post:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVps",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCartServiceOptionVpsV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCartServiceOptionVpsV6",["$resource",function(a){"use strict";return a("/order/cartServiceOption/vps/:serviceName",{serviceName:"@serviceName"},{get:{isArray:!0}})}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormatted",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCatalogFormattedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCatalogFormattedV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderCatalogFormattedV6"),d=a("/order/catalog/formatted/:catalogName",{catalogName:"@catalogName"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0,cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackend",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCdnDedicatedBackendV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedBackendV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName/backend/:duration",{serviceName:"@serviceName",duration:"@duration"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicated",["$injector",function(a){"use strict";return{Backend:function(){return a.get("OvhApiOrderCdnDedicatedBackend")},v6:function(){return a.get("OvhApiOrderCdnDedicatedV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCdnDedicatedV6",["$resource",function(a){"use strict";return a("/order/cdn/dedicated/:serviceName",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiOrderCdn",["$injector",function(a){"use strict";return{Dedicated:function(){return a.get("OvhApiOrderCdnDedicated")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCredit",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectCreditV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectCreditV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/credit",{serviceName:"@serviceName",amount:"@amount"},{get:{method:"GET"},query:{method:"GET",isArray:!0},save:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIp",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderCloudProjectIpV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderCloudProjectIpV6",["$resource",function(a){"use strict";return a("/order/cloud/project/:serviceName/ip",{serviceName:"@serviceName",country:"@country",instanceId:"@instanceId",quantity:"@quantity"},{get:{method:"GET"},buy:{method:"POST"}})}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderDedicatedNashaNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNashaNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderDedicatedNashaNewV6Query"),d=b("OvhApiOrderDedicatedNashaNewV6"),e={response:function(a){return c.removeAll(),a.data}},f=a("/order/dedicated/nasha/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c,params:{datacenter:"@datacenter",model:"@model"}},get:{method:"GET",cache:d,isArray:!1,params:{datacenter:"@datacenter",model:"@model"}},create:{method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiOrderDedicatedNasha",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderDedicatedNashaNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefax",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderFreefaxV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderFreefaxV6",["$resource",function(a){"use strict";return a("/order/freefax/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/freefax/:serviceName/new"},orderNew:{method:"POST",url:"/order/freefax/:serviceName/new"},getConvertToVoicefax:{method:"GET",url:"/order/freefax/:serviceName/convertToVoicefax"},orderConvertToVoicefax:{method:"POST",url:"/order/freefax/:serviceName/convertToVoicefax"}})}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabase",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderPrivateDatabaseV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderPrivateDatabaseV6",["$resource",function(a){"use strict";return a("/order/hosting/privateDatabase/:serviceName",{serviceName:"@serviceName"},{query:{method:"GET",isArray:!0},get:{method:"GET",isArray:!0},getNew:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new",isArray:!0,params:{datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},getNewDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration",datacenter:"@datacenter",offer:"@offer",ram:"@ram",version:"@version"}},orderNew:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/new/:duration",params:{duration:"@duration"}},getRam:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram",isArray:!0,params:{ram:"@ram"}},getRamDetails:{method:"GET",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration",ram:"@ram"}},orderRam:{method:"POST",url:"/order/hosting/privateDatabase/:serviceName/ram/:duration",params:{duration:"@duration"}}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderLicenseOfficeNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOfficeNewV6",["$resource","$cacheFactory","OvhApiLicense",function(a,b,c){"use strict";var d=b("OvhApiOrderLicenseOfficeNewV6Query"),e=b("OvhApiOrderLicenseOfficeNewV6"),f={response:function(a){return c.Office().v6().resetQueryCache(),a}};return a("/order/license/office/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderLicenseOffice",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderLicenseOfficeNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderLicense",["$injector",function(a){"use strict";return{Office:function(){return a.get("OvhApiOrderLicenseOffice")},v6:angular.noop}}]),angular.module("ovh-api-services").service("OvhApiOrder",["$injector",function(a){"use strict";return{Cart:function(){return a.get("OvhApiOrderCart")},CartServiceOption:function(){return a.get("OvhApiOrderCartServiceOption")},CatalogFormatted:function(){return a.get("OvhApiOrderCatalogFormatted")},DedicatedNasha:function(){return a.get("OvhApiOrderDedicatedNasha")},Freefax:function(){return a.get("OvhApiOrderFreefax")},License:function(){return a.get("OvhApiOrderLicense")},Router:function(){return a.get("OvhApiOrderRouter")},Sms:function(){return a.get("OvhApiOrderSms")},Telephony:function(){return a.get("OvhApiOrderTelephony")},Vrack:function(){return a.get("OvhApiOrderVrack")},Upgrade:function(){return a.get("OvhApiOrderUpgrade")},v6:function(){return a.get("OvhApiOrderV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderv6Schema"),d=a("/order",{},{schema:{method:"GET",cache:c,url:"/order.json"}});return d.resetSchemaCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderOverTheBoxNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBoxNewV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiOrderOverTheBoxNewV6Query"),d=b("OvhApiOrderOverTheBoxNewV6"),e=a("/order/overTheBox/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET",cache:d,isArray:!1},save:{method:"POST",interceptor:f}}),f={response:function(a){return e.resetQueryCache(),a.data}};return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiOrderOverTheBox",["$injector",function(a){"use strict";return{v6:angular.noop,New:function(){return a.get("OvhApiOrderOverTheBoxNew")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNew",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiOrderRouterNewV6")}}}]),angular.module("ovh-api-services").service("OvhApiOrderRouterNewV6",["$resource","$cacheFactory","OvhApiRouter",function(a,b,c){"use strict";var d=b("OvhApiOrderRouterNewV6Query"),e=b("OvhApiOrderRouterNewV6"),f={response:function(a){return c.v6().resetQueryCache(),a}};return a("/order/router/new/:duration",{duration:"@duration"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:e},save:{method:"POST",interceptor:f}})}]),angular.module("ovh-api-services").service("OvhApiOrderRouter",["$injector",function(a){"use strict";return{v6:angular.noop, diff --git a/src/kube/publiccloud/project/kube-publiccloud-project.v6.service.js b/src/kube/publiccloud/project/kube-publiccloud-project.v6.service.js index 4414ea7f..236f98f8 100644 --- a/src/kube/publiccloud/project/kube-publiccloud-project.v6.service.js +++ b/src/kube/publiccloud/project/kube-publiccloud-project.v6.service.js @@ -6,7 +6,7 @@ angular.module("ovh-api-services").service("OvhApiKubePublicCloudProjectV6", fun var projectResource = $resource("/kube/:serviceName/publiccloud/project", { serviceName: "@serviceName" }, { - query: { method: "GET", isArray: true, cache: queryCache } + query: { method: "GET", cache: queryCache } }); projectResource.resetQueryCache = function () {