diff --git a/dist/ovh-api-services.js b/dist/ovh-api-services.js index 1b514ed6..398aba11 100644 --- a/dist/ovh-api-services.js +++ b/dist/ovh-api-services.js @@ -1758,7 +1758,7 @@ angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBack } }; - var backup = $resource("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupName", { + var backup = $resource("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupId", { serviceName: "@serviceName", regionName: "@regionName" }, { diff --git a/dist/ovh-api-services.min.js b/dist/ovh-api-services.min.js index 9b4ec2ca..db707db8 100644 --- a/dist/ovh-api-services.min.js +++ b/dist/ovh-api-services.min.js @@ -1,5 +1,5 @@ -/*! ovh-api-services - 3.12.2 - 2018-08-31 */ -angular.module("ovh-api-services",[]),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},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"},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}})}]),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")},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")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectV6",["$resource","$q","OvhApiCloudProject",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.data}},e=a("/cloud/project/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},unleash:{url:"/cloud/project/:serviceName/unleash",method:"POST",interceptor:d},put:{url:"/cloud/project/:serviceName",method:"PUT",interceptor:d},"delete":{url:"/cloud/project/:serviceName/terminate",method:"POST",interceptor:d},cancelCreation:{url:"/cloud/project/:serviceName/cancel",method:"POST",interceptor:d},vrack:{url:"/cloud/project/:serviceName/vrack",method:"GET"}});return e.queryDetails=function(){return e.query().$promise.then(function(a){var c=[];return angular.forEach(a,function(a){c.push(e.get({serviceName:a}).$promise)}),b.all(c)})},e.resetAllCache=function(){c.resetCache()},e.resetCache=function(){c.resetCache()},e.resetQueryCache=function(){c.resetCache()},e}]),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");return 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:c,isArray:!0,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}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecastV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/forecast",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectImageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImageV6",["$resource","$cacheFactory",function(a,b){"use strict";function c(a,b){if(e[b]){for(var c=0,d=e[b].length;d>c;c++)if(e[b][c].regex.test(a))return e[b][c].name;return b+"_other"}return"unknown"}var d=b("OvhApiCloudProjectImageV6"),e={linux:[{name:"ubuntu",regex:/^Ubuntu/i},{name:"freebsd",regex:/^FreeBSD/i},{name:"coreos",regex:/^CoreOS/i},{name:"debian",regex:/^Debian/i},{name:"centos",regex:/^Cent[\s\-]?OS/i},{name:"fedora",regex:/^Fedora/i},{name:"dokku",regex:/^Dokku/i}],windows:[{name:"windows_server_2012",regex:/^Win[a-zA-Z\s\-]+2012/i},{name:"windows_server_2016",regex:/^Win[a-zA-Z\s\-]+2016/i}]};return a("/cloud/project/:serviceName/image/:imageId",{serviceName:"@serviceName",imageId:"@imageId"},{get:{method:"GET",cache:d,transformResponse:function(a,b,d){var e=a;return 200===d&&(e=angular.fromJson(e),e.nameGeneric=_.snakeCase(e.name),e.distribution=c(e.name,e.type)),e}},query:{method:"GET",cache:d,isArray:!0,transformResponse:function(a,b,d){var e=a;return 200===d?(e=angular.fromJson(e),angular.forEach(e,function(a){a.nameGeneric=_.snakeCase(a.name),a.distribution=c(a.name,a.type)}),_.sortBy(e,"name")):e}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceAapi",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c=a("/cloud/project/:projectId/instance/monitoring",{projectId:"@projectId"},{monitoring:{url:"/cloud/project/:projectId/instance/monitoring",cache:b.cache,method:"GET",serviceType:"aapi"},summary:{url:"/cloud/project/:projectId/instance/:instanceId/summary",cache:b.cache,method:"GET",serviceType:"aapi",params:{instanceId:"@instanceId"}}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstance",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstance");return{v6:function(){return a.get("OvhApiCloudProjectInstanceV6")},Aapi:function(){return a.get("OvhApiCloudProjectInstanceAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceV6",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/instance/:instanceId",{serviceName:"@serviceName",instanceId:"@instanceId"},{get:{method:"GET",cache:b.cache},query:{method:"GET",cache:b.cache,isArray:!0},save:{method:"POST",interceptor:c},remove:{method:"DELETE",interceptor:c},"delete":{method:"DELETE",interceptor:c},put:{method:"PUT",interceptor:c},backup:{url:"/cloud/project/:serviceName/instance/:instanceId/snapshot",method:"POST",isArray:!1,interceptor:c},reboot:{url:"/cloud/project/:serviceName/instance/:instanceId/reboot",method:"POST",interceptor:c},resume:{url:"/cloud/project/:serviceName/instance/:instanceId/resume",method:"POST",interceptor:c},activeMonthlyBilling:{url:"/cloud/project/:serviceName/instance/:instanceId/activeMonthlyBilling",method:"POST",interceptor:c},applicationAccess:{url:"/cloud/project/:serviceName/instance/:instanceId/applicationAccess",method:"POST",isArray:!0},resize:{url:"/cloud/project/:serviceName/instance/:instanceId/resize",method:"POST",interceptor:c},reinstall:{url:"/cloud/project/:serviceName/instance/:instanceId/reinstall",method:"POST",interceptor:c},rescueMode:{url:"/cloud/project/:serviceName/instance/:instanceId/rescueMode",method:"POST",interceptor:c},vnc:{url:"/cloud/project/:serviceName/instance/:instanceId/vnc",method:"POST"},bulk:{url:"/cloud/project/:serviceName/instance/bulk",method:"POST",interceptor:c,isArray:!0},monitoring:{url:"/cloud/project/:serviceName/instance/:instanceId/monitoring",cache:b.cache,method:"GET"}});return d.resetAllCache=function(){b.resetCache()},d.resetCache=function(){b.resetCache()},d.resetQueryCache=function(){b.resetCache()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIp",["OvhApiCloudProjectIpFailover",function(a){"use strict";return{failover:a}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpV6Query"),d=b("OvhApiCloudProjectIpV6"),e=a("/cloud/project/:serviceName/ip",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailover",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIpFailoverV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailoverV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpFailoverV6Query"),d=b("OvhApiCloudProjectIpFailoverV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/ip/failover/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},attach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/attach",interceptor:e},detach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/detach",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplb",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIplbV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplbV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIplbV6Query"),d=b("OvhApiCloudProjectIplbV6"),e=a("/cloud/project/:serviceName/ipLoadbalancing/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},post:{method:"POST"},validate:{method:"POST",url:"/cloud/project/:serviceName/ipLoadbalancing/:id/validate"},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("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("OvhApiCloudProjectRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionV6Query"),d=b("OvhApiCloudProjectRegionV6"),e=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}}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),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/:backupName",{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", +/*! ovh-api-services - 3.12.2 - 2018-09-12 */ +angular.module("ovh-api-services",[]),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},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"},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}})}]),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")},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")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectV6",["$resource","$q","OvhApiCloudProject",function(a,b,c){"use strict";var d={response:function(a){return c.resetCache(),a.data}},e=a("/cloud/project/:serviceName",{serviceName:"@serviceName"},{get:{method:"GET",cache:c.cache},unleash:{url:"/cloud/project/:serviceName/unleash",method:"POST",interceptor:d},put:{url:"/cloud/project/:serviceName",method:"PUT",interceptor:d},"delete":{url:"/cloud/project/:serviceName/terminate",method:"POST",interceptor:d},cancelCreation:{url:"/cloud/project/:serviceName/cancel",method:"POST",interceptor:d},vrack:{url:"/cloud/project/:serviceName/vrack",method:"GET"}});return e.queryDetails=function(){return e.query().$promise.then(function(a){var c=[];return angular.forEach(a,function(a){c.push(e.get({serviceName:a}).$promise)}),b.all(c)})},e.resetAllCache=function(){c.resetCache()},e.resetCache=function(){c.resetCache()},e.resetQueryCache=function(){c.resetCache()},e}]),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");return 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:c,isArray:!0,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}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectForecastV6",["$resource",function(a){"use strict";return a("/cloud/project/:serviceName/forecast",{serviceName:"@serviceName"})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectImageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectImageV6",["$resource","$cacheFactory",function(a,b){"use strict";function c(a,b){if(e[b]){for(var c=0,d=e[b].length;d>c;c++)if(e[b][c].regex.test(a))return e[b][c].name;return b+"_other"}return"unknown"}var d=b("OvhApiCloudProjectImageV6"),e={linux:[{name:"ubuntu",regex:/^Ubuntu/i},{name:"freebsd",regex:/^FreeBSD/i},{name:"coreos",regex:/^CoreOS/i},{name:"debian",regex:/^Debian/i},{name:"centos",regex:/^Cent[\s\-]?OS/i},{name:"fedora",regex:/^Fedora/i},{name:"dokku",regex:/^Dokku/i}],windows:[{name:"windows_server_2012",regex:/^Win[a-zA-Z\s\-]+2012/i},{name:"windows_server_2016",regex:/^Win[a-zA-Z\s\-]+2016/i}]};return a("/cloud/project/:serviceName/image/:imageId",{serviceName:"@serviceName",imageId:"@imageId"},{get:{method:"GET",cache:d,transformResponse:function(a,b,d){var e=a;return 200===d&&(e=angular.fromJson(e),e.nameGeneric=_.snakeCase(e.name),e.distribution=c(e.name,e.type)),e}},query:{method:"GET",cache:d,isArray:!0,transformResponse:function(a,b,d){var e=a;return 200===d?(e=angular.fromJson(e),angular.forEach(e,function(a){a.nameGeneric=_.snakeCase(a.name),a.distribution=c(a.name,a.type)}),_.sortBy(e,"name")):e}}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceAapi",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c=a("/cloud/project/:projectId/instance/monitoring",{projectId:"@projectId"},{monitoring:{url:"/cloud/project/:projectId/instance/monitoring",cache:b.cache,method:"GET",serviceType:"aapi"},summary:{url:"/cloud/project/:projectId/instance/:instanceId/summary",cache:b.cache,method:"GET",serviceType:"aapi",params:{instanceId:"@instanceId"}}});return c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstance",["$injector","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectInstance");return{v6:function(){return a.get("OvhApiCloudProjectInstanceV6")},Aapi:function(){return a.get("OvhApiCloudProjectInstanceAapi")},resetCache:c.removeAll,cache:c}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectInstanceV6",["$resource","OvhApiCloudProjectInstance",function(a,b){"use strict";var c={response:function(a){return b.resetCache(),a.data}},d=a("/cloud/project/:serviceName/instance/:instanceId",{serviceName:"@serviceName",instanceId:"@instanceId"},{get:{method:"GET",cache:b.cache},query:{method:"GET",cache:b.cache,isArray:!0},save:{method:"POST",interceptor:c},remove:{method:"DELETE",interceptor:c},"delete":{method:"DELETE",interceptor:c},put:{method:"PUT",interceptor:c},backup:{url:"/cloud/project/:serviceName/instance/:instanceId/snapshot",method:"POST",isArray:!1,interceptor:c},reboot:{url:"/cloud/project/:serviceName/instance/:instanceId/reboot",method:"POST",interceptor:c},resume:{url:"/cloud/project/:serviceName/instance/:instanceId/resume",method:"POST",interceptor:c},activeMonthlyBilling:{url:"/cloud/project/:serviceName/instance/:instanceId/activeMonthlyBilling",method:"POST",interceptor:c},applicationAccess:{url:"/cloud/project/:serviceName/instance/:instanceId/applicationAccess",method:"POST",isArray:!0},resize:{url:"/cloud/project/:serviceName/instance/:instanceId/resize",method:"POST",interceptor:c},reinstall:{url:"/cloud/project/:serviceName/instance/:instanceId/reinstall",method:"POST",interceptor:c},rescueMode:{url:"/cloud/project/:serviceName/instance/:instanceId/rescueMode",method:"POST",interceptor:c},vnc:{url:"/cloud/project/:serviceName/instance/:instanceId/vnc",method:"POST"},bulk:{url:"/cloud/project/:serviceName/instance/bulk",method:"POST",interceptor:c,isArray:!0},monitoring:{url:"/cloud/project/:serviceName/instance/:instanceId/monitoring",cache:b.cache,method:"GET"}});return d.resetAllCache=function(){b.resetCache()},d.resetCache=function(){b.resetCache()},d.resetQueryCache=function(){b.resetCache()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIp",["OvhApiCloudProjectIpFailover",function(a){"use strict";return{failover:a}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpV6Query"),d=b("OvhApiCloudProjectIpV6"),e=a("/cloud/project/:serviceName/ip",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailover",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIpFailoverV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailoverV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIpFailoverV6Query"),d=b("OvhApiCloudProjectIpFailoverV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/ip/failover/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},attach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/attach",interceptor:e},detach:{method:"POST",url:"/cloud/project/:serviceName/ip/failover/:id/detach",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplb",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectIplbV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectIplbV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectIplbV6Query"),d=b("OvhApiCloudProjectIplbV6"),e=a("/cloud/project/:serviceName/ipLoadbalancing/:id",{serviceName:"@serviceName",id:"@id"},{get:{method:"GET",cache:d},post:{method:"POST"},validate:{method:"POST",url:"/cloud/project/:serviceName/ipLoadbalancing/:id/validate"},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("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("OvhApiCloudProjectRegion",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionV6Query"),d=b("OvhApiCloudProjectRegionV6"),e=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}}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackup",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackupV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBackupV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectRegionWorkflowBackupV6Query"),d={response:function(a){return c.removeAll(),a.data}},e=a("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupId",{serviceName:"@serviceName",regionName:"@regionName"},{query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:d},"delete":{method:"DELETE",interceptor:d}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflow",["$injector",function(a){"use strict";return{Backup:function(){return a.get("OvhApiCloudProjectRegionWorkflowBackup")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfos",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectServiceInfosV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectServiceInfosV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectServiceInfosV6Query"),d=b("OvhApiCloudProjectServiceInfosV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/serviceInfos",{serviceName:"@serviceName"},{get:{method:"GET",cache:d},query:{method:"GET",cache:d,isArray:!0},put:{method:"PUT",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSnapshotV6Query"),d=b("OvhApiCloudProjectSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/snapshot/:snapshotId",{serviceName:"@serviceName",snapshotId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):d}},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKey",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectSshKeyV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectSshKeyV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectSshKeyV6Query"),d=b("OvhApiCloudProjectSshKeyV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/sshkey/:keyId",{serviceName:"@serviceName",keyId:"@keyId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0,transformResponse:function(a,b,c){var d=a;return 200===c?(d=angular.fromJson(d),_.sortBy(d,"name")):angular.fromJson(d)}},save:{method:"POST",interceptor:e},remove:{method:"DELETE", interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStack",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStackV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStackV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectStackV6Query"),d=b("OvhApiCloudProjectStackV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/stack/:stackId",{serviceName:"@serviceName",stackId:"@stackId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},availability:{url:"/cloud/project/:serviceName/stack/:stackId/availability",method:"GET",interceptor:e},client:{url:"/cloud/project/:serviceName/stack/:stackId/client",method:"POST",interceptor:e}});return f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorage",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectStorageV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectStorageV6",["$resource",function(a){"use strict";var b="/:basePath/cloud/project/:projectId/storage/:containerId";return a(b,{projectId:"@projectId",containerId:"@containerId"},{access:{method:"POST",url:"/:basePath/cloud/project/:projectId/storage/access"},cors:{method:"POST",url:b+"/cors"},getURL:{method:"POST",url:b+"/publicUrl"},"static":{method:"POST",url:b+"/static"}})}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsage",["$injector",function(a){"use strict";return{History:function(){return a.get("OvhApiCloudProjectUsageHistory")},Current:function(){return a.get("OvhApiCloudProjectUsageCurrent")},Forecast:function(){return a.get("OvhApiCloudProjectUsageForecast")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrent",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageCurrentV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageCurrentV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageCurrentV6"),d=a("/cloud/project/:serviceName/usage/current",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecast",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageForecastV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageForecastV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageForecastV6"),d=a("/cloud/project/:serviceName/usage/forecast",{serviceName:"@serviceName"},{get:{method:"GET",cache:c}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistory",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUsageHistoryV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUsageHistoryV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUsageHistoryV6Query"),d=b("OvhApiCloudProjectUsageHistoryV6"),e=a("/cloud/project/:serviceName/usage/history/:usageId",{serviceName:"@serviceName",usageId:"@usageId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0}});return e.resetCache=function(){d.removeAll()},e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserAapi",["$resource",function(a){"use strict";var b={openrc:{method:"GET",serviceType:"aapi",url:"/cloud/project/:serviceName/user/:userId/openrc"}},c=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},b);return c.services=b,c}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectUserV6")},Aapi:function(){return a.get("OvhApiCloudProjectUserAapi")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectUserV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectUserV6Query"),d=b("OvhApiCloudProjectUserV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f={rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},g=a("/cloud/project/:serviceName/user/:userId",{serviceName:"@serviceName",userId:"@userId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},remove:{method:"DELETE",interceptor:e},password:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/regeneratePassword"},token:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/token"},openrc:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/openrc"},ec2Credential:{method:"POST",url:"/cloud/project/:serviceName/user/:userId/ec2Credential"},rclone:{method:"GET",url:"/cloud/project/:serviceName/user/:userId/rclone"}},f);return g.services=f,g.resetCache=function(){d.removeAll()},g.resetQueryCache=function(){c.removeAll()},g}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolume",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeV6Query"),d=b("OvhApiCloudProjectVolumeV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/:volumeId",{serviceName:"@serviceName",volumeId:"@volumeId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},save:{method:"POST",interceptor:e},remove:{method:"DELETE",interceptor:e},"delete":{method:"DELETE",interceptor:e},put:{method:"PUT",interceptor:e},attach:{url:"/cloud/project/:serviceName/volume/:volumeId/attach",method:"POST",interceptor:e},detach:{url:"/cloud/project/:serviceName/volume/:volumeId/detach",method:"POST",interceptor:e},upsize:{url:"/cloud/project/:serviceName/volume/:volumeId/upsize",method:"POST",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshot",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiCloudProjectVolumeSnapshotV6")}}}]),angular.module("ovh-api-services").service("OvhApiCloudProjectVolumeSnapshotV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiCloudProjectVolumeSnapshotV6Query"),d=b("OvhApiCloudProjectVolumeSnapshotV6"),e={response:function(a){return d.remove(a.config.url),c.removeAll(),a.data}},f=a("/cloud/project/:serviceName/volume/snapshot/:snapshotId",{serviceName:"@serviceName",volumeId:"@snapshotId"},{get:{method:"GET",cache:d},query:{method:"GET",cache:c,isArray:!0},"delete":{method:"DELETE",interceptor:e},create:{url:"/cloud/project/:serviceName/volume/:volumeId/snapshot",method:"POST",param:{serviceName:"@serviceName",volumeId:"@volumeId"},interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){d.removeAll()},f.resetQueryCache=function(){c.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaas",["$injector",function(a){"use strict";return{Queue:function(){return a.get("OvhApiDbaasQueue")},Logs:function(){return a.get("OvhApiDbaasLogs")},Order:function(){return a.get("OvhApiDbaasOrder")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccountingAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAccountingAapi"),d=a("/dbaas/logs/:serviceName/accounting",{serviceName:"@serviceName"},{me:{method:"GET",url:"/dbaas/logs/:serviceName/accounting",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAccounting",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsAccountingAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlert",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsAlertV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlertV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAlertV6"),d=b("OvhApiDbaasLogsAlertV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/alert/:alertId",{serviceName:"@serviceName",streamId:"@streamId",alertId:"@alertId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasAapi",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/alias/:aliasId",{},{get:{method:"GET",serviceType:"aapi"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAlias",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsAliasAapi")},v6:function(){return a.get("OvhApiDbaasLogsAliasV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAliasV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId",{serviceName:"@serviceName"},{create:{method:"POST"},update:{method:"PUT"},remove:{method:"DELETE"},linkStream:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream"},unlinkStream:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/stream/:streamId"},linkIndex:{method:"POST",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index"},unlinkIndex:{method:"DELETE",url:"/dbaas/logs/:serviceName/output/elasticsearch/alias/:aliasId/index/:indexId"},query:{method:"GET",isArray:!0}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchive",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsArchiveV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsArchiveV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsArchiveV6Query"),d={response:function(a){return c.removeAll(),a}},e=a("/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId",{serviceName:"@serviceName",streamId:"@streamId",archiveId:"@archiveId",expirationInSeconds:"@expirationInSeconds"},{query:{method:"GET",isArray:!0,cache:c},get:{method:"GET"},url:{method:"POST",interceptor:d,url:"/dbaas/logs/:serviceName/output/graylog/stream/:streamId/archive/:archiveId/url"}});return e.resetQueryCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsCluster",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsClusterV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsClusterV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsClusterV6"),d=b("OvhApiDbaasLogsClusterV6Query"),e=a("/dbaas/logs/:serviceName/cluster/:clusterId",{serviceName:"@serviceName",clusterId:"@clusterId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContacts",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsContactsV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsContactsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsContactsV6"),d=a("/me/contact/:contactId",{contactId:"@contactId"},{query:{method:"GET",isArray:!0},get:{method:"GET",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardAapi"),d=a("/dbaas/logs/:serviceName/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboard",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsDashboardV6")},Aapi:function(){return a.get("OvhApiDbaasLogsDashboardAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDashboardV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDashboardV6"),d=b("OvhApiDbaasLogsDashboardV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId",{serviceName:"@serviceName",dashboardId:"@dashboardId"},{query:{method:"GET",isArray:!0,cache:d},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e},duplicate:{method:"POST",url:"/dbaas/logs/:serviceName/output/graylog/dashboard/:dashboardId/duplicate",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetailsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsDetailsAapi"),d=a("/dbaas/logs/:serviceName/home",{serviceName:"@serviceName"},{me:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsDetails",["$injector",function(a){"use strict";return{Aapi:function(){return a.get("OvhApiDbaasLogsDetailsAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexAapi"),d=b("OvhApiDbaasLogsIndexAapiQuery"),e=a("/dbaas/logs/:serviceName/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndex",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsIndexV6")},Aapi:function(){return a.get("OvhApiDbaasLogsIndexAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsIndexV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsIndexV6"),d=b("OvhApiDbaasLogsIndexV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/output/elasticsearch/index/:indexId",{serviceName:"@serviceName",indexId:"@indexId"},{query:{method:"GET",cache:d,isArray:!0},get:{method:"GET",cache:c},post:{method:"POST",interceptor:e},put:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputAapi"),d=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId"},{get:{method:"GET",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInput",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsInputV6")},Aapi:function(){return a.get("OvhApiDbaasLogsInputAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsInputV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsInputV6"),d=b("OvhApiDbaasLogsInputV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/input/:inputId",{serviceName:"@serviceName",inputId:"@inputId",allowedNetworkId:"@allowedNetworkId"},{query:{method:"GET",isArray:!0,cache:d},get:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},"delete":{method:"DELETE",interceptor:e},start:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/start"},restart:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/restart"},end:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/end"},logurl:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/logs/url"},test:{method:"POST",url:"/dbaas/logs/:serviceName/input/:inputId/configtest"},testResult:{method:"GET",url:"/dbaas/logs/:serviceName/input/:inputId/configtest/result"},updateLogstash:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/logstash"},updateFlowgger:{method:"PUT",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/configuration/flowgger"},trustNetwork:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork"},rejectNetwork:{method:"DELETE",interceptor:e,url:"/dbaas/logs/:serviceName/input/:inputId/allowedNetwork/:allowedNetworkId"}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsAapi"),d=a("/dbaas/logs/:serviceName/home",{},{home:{method:"GET",url:"/dbaas/logs/:serviceName/home",serviceType:"aapi",cache:c,isArray:!1}});return d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogs",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsV6")},Aapi:function(){return a.get("OvhApiDbaasLogsAapi")},Accounting:function(){return a.get("OvhApiDbaasLogsAccounting")},Cluster:function(){return a.get("OvhApiDbaasLogsCluster")},Contacts:function(){return a.get("OvhApiDbaasLogsContacts")},Details:function(){return a.get("OvhApiDbaasLogsDetails")},Stream:function(){return a.get("OvhApiDbaasLogsStream")},Offer:function(){return a.get("OvhApiDbaasLogsOffer")},Operation:function(){return a.get("OvhApiDbaasLogsOperation")},Alert:function(){return a.get("OvhApiDbaasLogsAlert")},Index:function(){return a.get("OvhApiDbaasLogsIndex")},Alias:function(){return a.get("OvhApiDbaasLogsAlias")},Archive:function(){return a.get("OvhApiDbaasLogsArchive")},Role:function(){return a.get("OvhApiDbaasLogsRole")},Input:function(){return a.get("OvhApiDbaasLogsInput")},Token:function(){return a.get("OvhApiDbaasLogsTokens")},Dashboard:function(){return a.get("OvhApiDbaasLogsDashboard")},User:function(){return a.get("OvhApiDbaasLogsUser")},Option:function(){return a.get("OvhApiDbaasLogsOption")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsV6"),d={response:function(a){return c.remove(a.config.url),a}},e=a("/dbaas/logs/:serviceName",{serviceName:"@serviceName"},{streams:{method:"GET",isArray:!0,url:"/dbaas/logs/:serviceName/output/graylog/stream",cache:c},logDetail:{method:"GET",cache:c},update:{method:"PUT",interceptor:d},serviceInfos:{method:"GET",url:"/dbaas/logs/:serviceName/serviceInfos",cache:c}});return e.resetAllCache=function(){e.resetCache()},e.resetCache=function(){c.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOffer",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOfferV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOfferV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsOfferV6"),d=b("OvhApiDbaasLogsOfferV6Query"),e=a("/dbaas/logs/:serviceName/offer",{serviceName:"@serviceName"},{get:{method:"GET",cache:c},offerDetail:{url:"/dbaas/logs/offer/:offerCode",method:"GET",cache:c}});return e.resetAllCache=function(){e.resetCache(),e.resetQueryCache()},e.resetCache=function(){c.removeAll()},e.resetQueryCache=function(){d.removeAll()},e}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperation",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOperationV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOperationV6",["$resource",function(a){"use strict";var b=a("/dbaas/logs/:serviceName/operation/:operationId",{serviceName:"@serviceName",operationId:"@operationId"},{get:{method:"GET",url:"/dbaas/logs/:serviceName/operation/:operationId"}});return b}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOption",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsOptionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsOptionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsOptionV6"),d=b("OvhApiDbaasLogsOptionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/option/{optionId}",{serviceName:"@serviceName",optionId:"@optionId"},{get:{method:"GET",cache:c},query:{method:"GET",isArray:!0,cache:d},terminate:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/option/:optionId/terminate"}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleMember",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleMemberV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleMemberV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleMemberV6"),d=b("OvhApiDbaasLogsRoleMemberV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId/member/:username",{serviceName:"@serviceName",roleId:"@roleId",username:"@username"},{query:{method:"GET",cache:d,isArray:!0},create:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/member"},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRolePermission",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRolePermissionV6")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRolePermissionV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRolePermissionV6"),d=b("OvhApiDbaasLogsRolePermissionV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId/permission/:permissionId",{serviceName:"@serviceName",roleId:"@roleId",permissionId:"@permissionId"},{query:{method:"GET",cache:d,isArray:!0},getPermissionDetail:{method:"GET",cache:c},addAlias:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/alias"},addIndex:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/index"},addDashboard:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/dashboard"},addStream:{method:"POST",interceptor:e,url:"/dbaas/logs/:serviceName/role/:roleId/permission/stream"},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleAapi"),d=a("/dbaas/logs/:serviceName/role/:roleId",{serviceName:"@serviceName",roleId:"@roleId"},{get:{method:"GET",serviceType:"aapi",cache:c}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRole",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsRoleV6")},Aapi:function(){return a.get("OvhApiDbaasLogsRoleAapi")},Member:function(){return a.get("OvhApiDbaasLogsRoleMember")},Permission:function(){return a.get("OvhApiDbaasLogsRolePermission")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsRoleV6",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsRoleV6"),d=b("OvhApiDbaasLogsRoleV6Query"),e={response:function(a){return c.remove(a.config.url),d.removeAll(),a}},f=a("/dbaas/logs/:serviceName/role/:roleId",{serviceName:"@serviceName",roleId:"@roleId"},{query:{method:"GET",cache:d,isArray:!0},getDetail:{method:"GET",cache:c},create:{method:"POST",interceptor:e},update:{method:"PUT",interceptor:e},remove:{method:"DELETE",interceptor:e}});return f.resetAllCache=function(){f.resetCache(),f.resetQueryCache()},f.resetCache=function(){c.removeAll()},f.resetQueryCache=function(){d.removeAll()},f}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStreamAapi",["$resource","$cacheFactory",function(a,b){"use strict";var c=b("OvhApiDbaasLogsStreamAapi"),d=a("/dbaas/logs/:serviceName/stream/:streamId",{serviceName:"@serviceName",streamId:"@streamId"},{get:{method:"GET",url:"/dbaas/logs/:serviceName/stream/:streamId",serviceType:"aapi",cache:c,isArray:!1}});return d.resetAllCache=function(){d.resetCache()},d.resetCache=function(){c.removeAll()},d}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStream",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsStreamV6")},Aapi:function(){return a.get("OvhApiDbaasLogsStreamAapi")}}}]),angular.module("ovh-api-services").service("OvhApiDbaasLogsStreamV6",["$resource","$cacheFactory",function(a,b){"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("OvhApiDbaasLogsTokens",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsTokensV6")}}}]),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("OvhApiDbaasLogsUser",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDbaasLogsUserV6")}}}]),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")}}}]),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("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")}}}]),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("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=a("/dedicatedCloud/:serviceName/vmEncryption/kms/:kmsId",{serviceName:"@serviceName",kmsId:"@kmsId"},{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("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("OvhApiDomain",["$injector",function(a){"use strict";return{v6:function(){return a.get("OvhApiDomainV6")},v7:function(){return a.get("OvhApiDomainV7")}}}]),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("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("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}},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", diff --git a/src/cloud/project/region/workflow/backup/cloud-project-region-workflow-backup.v6.service.js b/src/cloud/project/region/workflow/backup/cloud-project-region-workflow-backup.v6.service.js index baa593d2..426e696c 100644 --- a/src/cloud/project/region/workflow/backup/cloud-project-region-workflow-backup.v6.service.js +++ b/src/cloud/project/region/workflow/backup/cloud-project-region-workflow-backup.v6.service.js @@ -10,7 +10,7 @@ angular.module("ovh-api-services").service("OvhApiCloudProjectRegionWorkflowBack } }; - var backup = $resource("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupName", { + var backup = $resource("/cloud/project/:serviceName/region/:regionName/workflow/backup/:backupId", { serviceName: "@serviceName", regionName: "@regionName" }, {